Limit idempotencyKey to payments
This commit is contained in:
parent
3ba92a1718
commit
9b84205716
|
|
@ -56,7 +56,6 @@ abstract class BankAccountEntity extends Object
|
||||||
factory BankAccountEntity({String id, AppState state}) {
|
factory BankAccountEntity({String id, AppState state}) {
|
||||||
return _$BankAccountEntity._(
|
return _$BankAccountEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
isDeleted: false,
|
isDeleted: false,
|
||||||
createdAt: 0,
|
createdAt: 0,
|
||||||
|
|
|
||||||
|
|
@ -177,13 +177,6 @@ class _$BankAccountEntitySerializer
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -251,10 +244,6 @@ class _$BankAccountEntitySerializer
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -484,8 +473,6 @@ class _$BankAccountEntity extends BankAccountEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$BankAccountEntity(
|
factory _$BankAccountEntity(
|
||||||
|
|
@ -506,7 +493,6 @@ class _$BankAccountEntity extends BankAccountEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(name, 'BankAccountEntity', 'name');
|
BuiltValueNullFieldError.checkNotNull(name, 'BankAccountEntity', 'name');
|
||||||
|
|
@ -553,7 +539,6 @@ class _$BankAccountEntity extends BankAccountEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -572,23 +557,19 @@ class _$BankAccountEntity extends BankAccountEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc($jc(0, name.hashCode),
|
||||||
$jc(
|
status.hashCode),
|
||||||
$jc(0,
|
type.hashCode),
|
||||||
name.hashCode),
|
provider.hashCode),
|
||||||
status.hashCode),
|
balance.hashCode),
|
||||||
type.hashCode),
|
currency.hashCode),
|
||||||
provider.hashCode),
|
isChanged.hashCode),
|
||||||
balance.hashCode),
|
createdAt.hashCode),
|
||||||
currency.hashCode),
|
updatedAt.hashCode),
|
||||||
isChanged.hashCode),
|
archivedAt.hashCode),
|
||||||
createdAt.hashCode),
|
isDeleted.hashCode),
|
||||||
updatedAt.hashCode),
|
createdUserId.hashCode),
|
||||||
archivedAt.hashCode),
|
assignedUserId.hashCode),
|
||||||
isDeleted.hashCode),
|
|
||||||
createdUserId.hashCode),
|
|
||||||
assignedUserId.hashCode),
|
|
||||||
idempotencyKey.hashCode),
|
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -608,7 +589,6 @@ class _$BankAccountEntity extends BankAccountEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -672,11 +652,6 @@ class BankAccountEntityBuilder
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -699,7 +674,6 @@ class BankAccountEntityBuilder
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -743,7 +717,6 @@ class BankAccountEntityBuilder
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'BankAccountEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'BankAccountEntity', 'id'));
|
||||||
replace(_$result);
|
replace(_$result);
|
||||||
return _$result;
|
return _$result;
|
||||||
|
|
|
||||||
|
|
@ -115,7 +115,6 @@ abstract class ClientEntity extends Object
|
||||||
}) {
|
}) {
|
||||||
return _$ClientEntity._(
|
return _$ClientEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
settings: SettingsEntity(),
|
settings: SettingsEntity(),
|
||||||
name: '',
|
name: '',
|
||||||
|
|
@ -179,7 +178,6 @@ abstract class ClientEntity extends Object
|
||||||
|
|
||||||
ClientEntity get clone => rebuild((b) => b
|
ClientEntity get clone => rebuild((b) => b
|
||||||
..id = BaseEntity.nextId
|
..id = BaseEntity.nextId
|
||||||
..idempotencyKey = BaseEntity.nextIdempotencyKey
|
|
||||||
..idNumber = ''
|
..idNumber = ''
|
||||||
..documents.clear()
|
..documents.clear()
|
||||||
..isChanged = false
|
..isChanged = false
|
||||||
|
|
@ -778,7 +776,6 @@ abstract class ClientContactEntity extends Object
|
||||||
factory ClientContactEntity() {
|
factory ClientContactEntity() {
|
||||||
return _$ClientContactEntity._(
|
return _$ClientContactEntity._(
|
||||||
id: BaseEntity.nextId,
|
id: BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
firstName: '',
|
firstName: '',
|
||||||
lastName: '',
|
lastName: '',
|
||||||
|
|
|
||||||
|
|
@ -283,13 +283,6 @@ class _$ClientEntitySerializer implements StructuredSerializer<ClientEntity> {
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -508,10 +501,6 @@ class _$ClientEntitySerializer implements StructuredSerializer<ClientEntity> {
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -620,13 +609,6 @@ class _$ClientContactEntitySerializer
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -726,10 +708,6 @@ class _$ClientContactEntitySerializer
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -1024,8 +1002,6 @@ class _$ClientEntity extends ClientEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$ClientEntity([void Function(ClientEntityBuilder) updates]) =>
|
factory _$ClientEntity([void Function(ClientEntityBuilder) updates]) =>
|
||||||
|
|
@ -1080,7 +1056,6 @@ class _$ClientEntity extends ClientEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(groupId, 'ClientEntity', 'groupId');
|
BuiltValueNullFieldError.checkNotNull(groupId, 'ClientEntity', 'groupId');
|
||||||
|
|
@ -1215,7 +1190,6 @@ class _$ClientEntity extends ClientEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1240,25 +1214,25 @@ class _$ClientEntity extends ClientEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, groupId.hashCode), name.hashCode), displayName.hashCode), balance.hashCode), creditBalance.hashCode), paidToDate.hashCode), clientHash.hashCode), address1.hashCode), address2.hashCode), city.hashCode), state.hashCode), postalCode.hashCode), countryId.hashCode), phone.hashCode), privateNotes.hashCode), publicNotes.hashCode), website.hashCode), industryId.hashCode), sizeId.hashCode), vatNumber.hashCode), idNumber.hashCode), number.hashCode), shippingAddress1.hashCode), shippingAddress2.hashCode), shippingCity.hashCode), shippingState.hashCode), shippingPostalCode.hashCode), shippingCountryId.hashCode), settings.hashCode), lastLogin.hashCode),
|
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, groupId.hashCode), name.hashCode), displayName.hashCode), balance.hashCode), creditBalance.hashCode), paidToDate.hashCode), clientHash.hashCode), address1.hashCode), address2.hashCode), city.hashCode), state.hashCode), postalCode.hashCode), countryId.hashCode), phone.hashCode), privateNotes.hashCode), publicNotes.hashCode), website.hashCode), industryId.hashCode), sizeId.hashCode), vatNumber.hashCode), idNumber.hashCode), number.hashCode), shippingAddress1.hashCode), shippingAddress2.hashCode), shippingCity.hashCode), shippingState.hashCode), shippingPostalCode.hashCode), shippingCountryId.hashCode), settings.hashCode),
|
||||||
customValue1.hashCode),
|
lastLogin.hashCode),
|
||||||
customValue2.hashCode),
|
customValue1.hashCode),
|
||||||
customValue3.hashCode),
|
customValue2.hashCode),
|
||||||
customValue4.hashCode),
|
customValue3.hashCode),
|
||||||
contacts.hashCode),
|
customValue4.hashCode),
|
||||||
activities.hashCode),
|
contacts.hashCode),
|
||||||
ledger.hashCode),
|
activities.hashCode),
|
||||||
gatewayTokens.hashCode),
|
ledger.hashCode),
|
||||||
documents.hashCode),
|
gatewayTokens.hashCode),
|
||||||
systemLogs.hashCode),
|
documents.hashCode),
|
||||||
isChanged.hashCode),
|
systemLogs.hashCode),
|
||||||
createdAt.hashCode),
|
isChanged.hashCode),
|
||||||
updatedAt.hashCode),
|
createdAt.hashCode),
|
||||||
archivedAt.hashCode),
|
updatedAt.hashCode),
|
||||||
isDeleted.hashCode),
|
archivedAt.hashCode),
|
||||||
createdUserId.hashCode),
|
isDeleted.hashCode),
|
||||||
assignedUserId.hashCode),
|
createdUserId.hashCode),
|
||||||
idempotencyKey.hashCode),
|
assignedUserId.hashCode),
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1313,7 +1287,6 @@ class _$ClientEntity extends ClientEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -1535,11 +1508,6 @@ class ClientEntityBuilder
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -1599,7 +1567,6 @@ class ClientEntityBuilder
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -1680,7 +1647,6 @@ class ClientEntityBuilder
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'ClientEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'ClientEntity', 'id'));
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
String _$failedField;
|
String _$failedField;
|
||||||
|
|
@ -1755,8 +1721,6 @@ class _$ClientContactEntity extends ClientContactEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$ClientContactEntity(
|
factory _$ClientContactEntity(
|
||||||
|
|
@ -1785,7 +1749,6 @@ class _$ClientContactEntity extends ClientContactEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(
|
BuiltValueNullFieldError.checkNotNull(
|
||||||
|
|
@ -1858,7 +1821,6 @@ class _$ClientContactEntity extends ClientContactEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1883,25 +1845,25 @@ class _$ClientContactEntity extends ClientContactEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc($jc($jc($jc($jc(0, firstName.hashCode), lastName.hashCode), email.hashCode), password.hashCode),
|
$jc($jc($jc($jc(0, firstName.hashCode), lastName.hashCode), email.hashCode),
|
||||||
phone.hashCode),
|
password.hashCode),
|
||||||
contactKey.hashCode),
|
phone.hashCode),
|
||||||
isPrimary.hashCode),
|
contactKey.hashCode),
|
||||||
sendEmail.hashCode),
|
isPrimary.hashCode),
|
||||||
customValue1.hashCode),
|
sendEmail.hashCode),
|
||||||
customValue2.hashCode),
|
customValue1.hashCode),
|
||||||
customValue3.hashCode),
|
customValue2.hashCode),
|
||||||
customValue4.hashCode),
|
customValue3.hashCode),
|
||||||
lastLogin.hashCode),
|
customValue4.hashCode),
|
||||||
link.hashCode),
|
lastLogin.hashCode),
|
||||||
isChanged.hashCode),
|
link.hashCode),
|
||||||
createdAt.hashCode),
|
isChanged.hashCode),
|
||||||
updatedAt.hashCode),
|
createdAt.hashCode),
|
||||||
archivedAt.hashCode),
|
updatedAt.hashCode),
|
||||||
isDeleted.hashCode),
|
archivedAt.hashCode),
|
||||||
createdUserId.hashCode),
|
isDeleted.hashCode),
|
||||||
assignedUserId.hashCode),
|
createdUserId.hashCode),
|
||||||
idempotencyKey.hashCode),
|
assignedUserId.hashCode),
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1929,7 +1891,6 @@ class _$ClientContactEntity extends ClientContactEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -2025,11 +1986,6 @@ class ClientContactEntityBuilder
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -2060,7 +2016,6 @@ class ClientContactEntityBuilder
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -2112,7 +2067,6 @@ class ClientContactEntityBuilder
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'ClientContactEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'ClientContactEntity', 'id'));
|
||||||
replace(_$result);
|
replace(_$result);
|
||||||
return _$result;
|
return _$result;
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,6 @@ abstract class CompanyGatewayEntity extends Object
|
||||||
factory CompanyGatewayEntity({String id, AppState state}) {
|
factory CompanyGatewayEntity({String id, AppState state}) {
|
||||||
return _$CompanyGatewayEntity._(
|
return _$CompanyGatewayEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
isDeleted: false,
|
isDeleted: false,
|
||||||
gatewayId: '',
|
gatewayId: '',
|
||||||
|
|
|
||||||
|
|
@ -244,13 +244,6 @@ class _$CompanyGatewayEntitySerializer
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -387,10 +380,6 @@ class _$CompanyGatewayEntitySerializer
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -782,8 +771,6 @@ class _$CompanyGatewayEntity extends CompanyGatewayEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$CompanyGatewayEntity(
|
factory _$CompanyGatewayEntity(
|
||||||
|
|
@ -820,7 +807,6 @@ class _$CompanyGatewayEntity extends CompanyGatewayEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(
|
BuiltValueNullFieldError.checkNotNull(
|
||||||
|
|
@ -913,7 +899,6 @@ class _$CompanyGatewayEntity extends CompanyGatewayEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -938,25 +923,25 @@ class _$CompanyGatewayEntity extends CompanyGatewayEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, gatewayId.hashCode), acceptedCreditCards.hashCode), requireShippingAddress.hashCode), requireBillingAddress.hashCode), requireClientName.hashCode), requirePostalCode.hashCode), requireClientPhone.hashCode), requireContactName.hashCode), requireContactEmail.hashCode), requireCvv.hashCode), updateDetails.hashCode),
|
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, gatewayId.hashCode), acceptedCreditCards.hashCode), requireShippingAddress.hashCode), requireBillingAddress.hashCode), requireClientName.hashCode), requirePostalCode.hashCode), requireClientPhone.hashCode), requireContactName.hashCode), requireContactEmail.hashCode), requireCvv.hashCode),
|
||||||
feesAndLimitsMap.hashCode),
|
updateDetails.hashCode),
|
||||||
systemLogs.hashCode),
|
feesAndLimitsMap.hashCode),
|
||||||
customValue1.hashCode),
|
systemLogs.hashCode),
|
||||||
customValue2.hashCode),
|
customValue1.hashCode),
|
||||||
customValue3.hashCode),
|
customValue2.hashCode),
|
||||||
customValue4.hashCode),
|
customValue3.hashCode),
|
||||||
config.hashCode),
|
customValue4.hashCode),
|
||||||
tokenBilling.hashCode),
|
config.hashCode),
|
||||||
isTestMode.hashCode),
|
tokenBilling.hashCode),
|
||||||
label.hashCode),
|
isTestMode.hashCode),
|
||||||
isChanged.hashCode),
|
label.hashCode),
|
||||||
createdAt.hashCode),
|
isChanged.hashCode),
|
||||||
updatedAt.hashCode),
|
createdAt.hashCode),
|
||||||
archivedAt.hashCode),
|
updatedAt.hashCode),
|
||||||
isDeleted.hashCode),
|
archivedAt.hashCode),
|
||||||
createdUserId.hashCode),
|
isDeleted.hashCode),
|
||||||
assignedUserId.hashCode),
|
createdUserId.hashCode),
|
||||||
idempotencyKey.hashCode),
|
assignedUserId.hashCode),
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -992,7 +977,6 @@ class _$CompanyGatewayEntity extends CompanyGatewayEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -1135,11 +1119,6 @@ class CompanyGatewayEntityBuilder
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -1178,7 +1157,6 @@ class CompanyGatewayEntityBuilder
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -1238,7 +1216,6 @@ class CompanyGatewayEntityBuilder
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'CompanyGatewayEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'CompanyGatewayEntity', 'id'));
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
String _$failedField;
|
String _$failedField;
|
||||||
|
|
|
||||||
|
|
@ -390,13 +390,6 @@ class _$CompanyEntitySerializer implements StructuredSerializer<CompanyEntity> {
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(EntityType)));
|
specifiedType: const FullType(EntityType)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -872,10 +865,6 @@ class _$CompanyEntitySerializer implements StructuredSerializer<CompanyEntity> {
|
||||||
result.entityType = serializers.deserialize(value,
|
result.entityType = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(EntityType)) as EntityType;
|
specifiedType: const FullType(EntityType)) as EntityType;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -1738,8 +1727,6 @@ class _$CompanyEntity extends CompanyEntity {
|
||||||
@override
|
@override
|
||||||
final EntityType entityType;
|
final EntityType entityType;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$CompanyEntity([void Function(CompanyEntityBuilder) updates]) =>
|
factory _$CompanyEntity([void Function(CompanyEntityBuilder) updates]) =>
|
||||||
|
|
@ -1845,7 +1832,6 @@ class _$CompanyEntity extends CompanyEntity {
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.entityType,
|
this.entityType,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(enableCustomSurchargeTaxes1,
|
BuiltValueNullFieldError.checkNotNull(enableCustomSurchargeTaxes1,
|
||||||
|
|
@ -2138,7 +2124,6 @@ class _$CompanyEntity extends CompanyEntity {
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
entityType == other.entityType &&
|
entityType == other.entityType &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2163,25 +2148,25 @@ class _$CompanyEntity extends CompanyEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, enableCustomSurchargeTaxes1.hashCode), enableCustomSurchargeTaxes2.hashCode), enableCustomSurchargeTaxes3.hashCode), enableCustomSurchargeTaxes4.hashCode), sizeId.hashCode), industryId.hashCode), subdomain.hashCode), portalMode.hashCode), portalDomain.hashCode), updateProducts.hashCode), convertProductExchangeRate.hashCode), convertRateToClient.hashCode), fillProducts.hashCode), enableProductCost.hashCode), enableProductQuantity.hashCode), enableProductDiscount.hashCode), defaultTaskIsDateBased.hashCode), defaultQuantity.hashCode), showProductDetails.hashCode), clientCanRegister.hashCode), isLarge.hashCode), isDisabled.hashCode), enableShopApi.hashCode), companyKey.hashCode), firstDayOfWeek.hashCode), firstMonthOfYear.hashCode), numberOfInvoiceTaxRates.hashCode), numberOfItemTaxRates.hashCode), numberOfExpenseTaxRates.hashCode), expenseInclusiveTaxes.hashCode), sessionTimeout.hashCode), passwordTimeout.hashCode), oauthPasswordRequired.hashCode), markdownEnabled.hashCode), markdownEmailEnabled.hashCode), useCommaAsDecimalPlace.hashCode), reportIncludeDrafts.hashCode), reportIncludeDeleted.hashCode), useQuoteTermsOnConversion.hashCode), enableApplyingPayments.hashCode), trackInventory.hashCode), stockNotificationThreshold.hashCode), stockNotification.hashCode), groups.hashCode), activities.hashCode), taxRates.hashCode), taskStatuses.hashCode), taskStatusMap.hashCode), companyGateways.hashCode), expenseCategories.hashCode), users.hashCode), clients.hashCode), products.hashCode), invoices.hashCode), recurringInvoices.hashCode), recurringExpenses.hashCode), payments.hashCode), quotes.hashCode), credits.hashCode), purchaseOrders.hashCode), bankAccounts.hashCode), transactions.hashCode), tasks.hashCode), projects.hashCode), expenses.hashCode), vendors.hashCode), designs.hashCode), documents.hashCode), tokens.hashCode), webhooks.hashCode), subscriptions.hashCode), paymentTerms.hashCode), systemLogs.hashCode), clientRegistrationFields.hashCode), customFields.hashCode), slackWebhookUrl.hashCode), googleAnalyticsKey.hashCode), markExpensesInvoiceable.hashCode), markExpensesPaid.hashCode), invoiceExpenseDocuments.hashCode), invoiceTaskDocuments.hashCode), invoiceTaskTimelog.hashCode),
|
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, enableCustomSurchargeTaxes1.hashCode), enableCustomSurchargeTaxes2.hashCode), enableCustomSurchargeTaxes3.hashCode), enableCustomSurchargeTaxes4.hashCode), sizeId.hashCode), industryId.hashCode), subdomain.hashCode), portalMode.hashCode), portalDomain.hashCode), updateProducts.hashCode), convertProductExchangeRate.hashCode), convertRateToClient.hashCode), fillProducts.hashCode), enableProductCost.hashCode), enableProductQuantity.hashCode), enableProductDiscount.hashCode), defaultTaskIsDateBased.hashCode), defaultQuantity.hashCode), showProductDetails.hashCode), clientCanRegister.hashCode), isLarge.hashCode), isDisabled.hashCode), enableShopApi.hashCode), companyKey.hashCode), firstDayOfWeek.hashCode), firstMonthOfYear.hashCode), numberOfInvoiceTaxRates.hashCode), numberOfItemTaxRates.hashCode), numberOfExpenseTaxRates.hashCode), expenseInclusiveTaxes.hashCode), sessionTimeout.hashCode), passwordTimeout.hashCode), oauthPasswordRequired.hashCode), markdownEnabled.hashCode), markdownEmailEnabled.hashCode), useCommaAsDecimalPlace.hashCode), reportIncludeDrafts.hashCode), reportIncludeDeleted.hashCode), useQuoteTermsOnConversion.hashCode), enableApplyingPayments.hashCode), trackInventory.hashCode), stockNotificationThreshold.hashCode), stockNotification.hashCode), groups.hashCode), activities.hashCode), taxRates.hashCode), taskStatuses.hashCode), taskStatusMap.hashCode), companyGateways.hashCode), expenseCategories.hashCode), users.hashCode), clients.hashCode), products.hashCode), invoices.hashCode), recurringInvoices.hashCode), recurringExpenses.hashCode), payments.hashCode), quotes.hashCode), credits.hashCode), purchaseOrders.hashCode), bankAccounts.hashCode), transactions.hashCode), tasks.hashCode), projects.hashCode), expenses.hashCode), vendors.hashCode), designs.hashCode), documents.hashCode), tokens.hashCode), webhooks.hashCode), subscriptions.hashCode), paymentTerms.hashCode), systemLogs.hashCode), clientRegistrationFields.hashCode), customFields.hashCode), slackWebhookUrl.hashCode), googleAnalyticsKey.hashCode), markExpensesInvoiceable.hashCode), markExpensesPaid.hashCode), invoiceExpenseDocuments.hashCode), invoiceTaskDocuments.hashCode),
|
||||||
invoiceTaskDatelog.hashCode),
|
invoiceTaskTimelog.hashCode),
|
||||||
invoiceTaskProject.hashCode),
|
invoiceTaskDatelog.hashCode),
|
||||||
autoStartTasks.hashCode),
|
invoiceTaskProject.hashCode),
|
||||||
showTasksTable.hashCode),
|
autoStartTasks.hashCode),
|
||||||
showTaskEndDate.hashCode),
|
showTasksTable.hashCode),
|
||||||
settings.hashCode),
|
showTaskEndDate.hashCode),
|
||||||
enabledModules.hashCode),
|
settings.hashCode),
|
||||||
calculateExpenseTaxByAmount.hashCode),
|
enabledModules.hashCode),
|
||||||
stopOnUnpaidRecurring.hashCode),
|
calculateExpenseTaxByAmount.hashCode),
|
||||||
isChanged.hashCode),
|
stopOnUnpaidRecurring.hashCode),
|
||||||
createdAt.hashCode),
|
isChanged.hashCode),
|
||||||
updatedAt.hashCode),
|
createdAt.hashCode),
|
||||||
archivedAt.hashCode),
|
updatedAt.hashCode),
|
||||||
isDeleted.hashCode),
|
archivedAt.hashCode),
|
||||||
createdUserId.hashCode),
|
isDeleted.hashCode),
|
||||||
assignedUserId.hashCode),
|
createdUserId.hashCode),
|
||||||
entityType.hashCode),
|
assignedUserId.hashCode),
|
||||||
idempotencyKey.hashCode),
|
entityType.hashCode),
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2287,7 +2272,6 @@ class _$CompanyEntity extends CompanyEntity {
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('entityType', entityType)
|
..add('entityType', entityType)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -2802,11 +2786,6 @@ class CompanyEntityBuilder
|
||||||
EntityType get entityType => _$this._entityType;
|
EntityType get entityType => _$this._entityType;
|
||||||
set entityType(EntityType entityType) => _$this._entityType = entityType;
|
set entityType(EntityType entityType) => _$this._entityType = entityType;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -2917,7 +2896,6 @@ class CompanyEntityBuilder
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_entityType = $v.entityType;
|
_entityType = $v.entityType;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -3054,7 +3032,6 @@ class CompanyEntityBuilder
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
entityType: entityType,
|
entityType: entityType,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'CompanyEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'CompanyEntity', 'id'));
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
String _$failedField;
|
String _$failedField;
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,6 @@ abstract class DesignEntity extends Object
|
||||||
|
|
||||||
return _$DesignEntity._(
|
return _$DesignEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
createdAt: 0,
|
createdAt: 0,
|
||||||
updatedAt: 0,
|
updatedAt: 0,
|
||||||
archivedAt: 0,
|
archivedAt: 0,
|
||||||
|
|
@ -137,7 +136,6 @@ abstract class DesignEntity extends Object
|
||||||
|
|
||||||
DesignEntity get clone => rebuild((b) => b
|
DesignEntity get clone => rebuild((b) => b
|
||||||
..id = BaseEntity.nextId
|
..id = BaseEntity.nextId
|
||||||
..idempotencyKey = BaseEntity.nextIdempotencyKey
|
|
||||||
..isChanged = false
|
..isChanged = false
|
||||||
..isDeleted = false);
|
..isDeleted = false);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -224,13 +224,6 @@ class _$DesignEntitySerializer implements StructuredSerializer<DesignEntity> {
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -290,10 +283,6 @@ class _$DesignEntitySerializer implements StructuredSerializer<DesignEntity> {
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -639,8 +628,6 @@ class _$DesignEntity extends DesignEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$DesignEntity([void Function(DesignEntityBuilder) updates]) =>
|
factory _$DesignEntity([void Function(DesignEntityBuilder) updates]) =>
|
||||||
|
|
@ -658,7 +645,6 @@ class _$DesignEntity extends DesignEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(name, 'DesignEntity', 'name');
|
BuiltValueNullFieldError.checkNotNull(name, 'DesignEntity', 'name');
|
||||||
|
|
@ -696,7 +682,6 @@ class _$DesignEntity extends DesignEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -713,19 +698,17 @@ class _$DesignEntity extends DesignEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc($jc(0, name.hashCode),
|
||||||
$jc($jc(0, name.hashCode),
|
design.hashCode),
|
||||||
design.hashCode),
|
isCustom.hashCode),
|
||||||
isCustom.hashCode),
|
isFree.hashCode),
|
||||||
isFree.hashCode),
|
isChanged.hashCode),
|
||||||
isChanged.hashCode),
|
createdAt.hashCode),
|
||||||
createdAt.hashCode),
|
updatedAt.hashCode),
|
||||||
updatedAt.hashCode),
|
archivedAt.hashCode),
|
||||||
archivedAt.hashCode),
|
isDeleted.hashCode),
|
||||||
isDeleted.hashCode),
|
createdUserId.hashCode),
|
||||||
createdUserId.hashCode),
|
assignedUserId.hashCode),
|
||||||
assignedUserId.hashCode),
|
|
||||||
idempotencyKey.hashCode),
|
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -743,7 +726,6 @@ class _$DesignEntity extends DesignEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -800,11 +782,6 @@ class DesignEntityBuilder
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -827,7 +804,6 @@ class DesignEntityBuilder
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -868,7 +844,6 @@ class DesignEntityBuilder
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(
|
id: BuiltValueNullFieldError.checkNotNull(
|
||||||
id, 'DesignEntity', 'id'));
|
id, 'DesignEntity', 'id'));
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,6 @@ abstract class DocumentEntity extends Object
|
||||||
factory DocumentEntity({String id}) {
|
factory DocumentEntity({String id}) {
|
||||||
return _$DocumentEntity._(
|
return _$DocumentEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
name: '',
|
name: '',
|
||||||
url: '',
|
url: '',
|
||||||
|
|
@ -120,7 +119,6 @@ abstract class DocumentEntity extends Object
|
||||||
|
|
||||||
DocumentEntity get clone => rebuild((b) => b
|
DocumentEntity get clone => rebuild((b) => b
|
||||||
..id = BaseEntity.nextId
|
..id = BaseEntity.nextId
|
||||||
..idempotencyKey = BaseEntity.nextIdempotencyKey
|
|
||||||
..isChanged = false
|
..isChanged = false
|
||||||
..isDeleted = false);
|
..isDeleted = false);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -180,13 +180,6 @@ class _$DocumentEntitySerializer
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -266,10 +259,6 @@ class _$DocumentEntitySerializer
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -501,8 +490,6 @@ class _$DocumentEntity extends DocumentEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$DocumentEntity([void Function(DocumentEntityBuilder) updates]) =>
|
factory _$DocumentEntity([void Function(DocumentEntityBuilder) updates]) =>
|
||||||
|
|
@ -525,7 +512,6 @@ class _$DocumentEntity extends DocumentEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(name, 'DocumentEntity', 'name');
|
BuiltValueNullFieldError.checkNotNull(name, 'DocumentEntity', 'name');
|
||||||
|
|
@ -575,7 +561,6 @@ class _$DocumentEntity extends DocumentEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -598,25 +583,23 @@ class _$DocumentEntity extends DocumentEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(0,
|
||||||
$jc(0,
|
name.hashCode),
|
||||||
name.hashCode),
|
hash.hashCode),
|
||||||
hash.hashCode),
|
type.hashCode),
|
||||||
type.hashCode),
|
url.hashCode),
|
||||||
url.hashCode),
|
width.hashCode),
|
||||||
width.hashCode),
|
height.hashCode),
|
||||||
height.hashCode),
|
size.hashCode),
|
||||||
size.hashCode),
|
preview.hashCode),
|
||||||
preview.hashCode),
|
isDefault.hashCode),
|
||||||
isDefault.hashCode),
|
isChanged.hashCode),
|
||||||
isChanged.hashCode),
|
createdAt.hashCode),
|
||||||
createdAt.hashCode),
|
updatedAt.hashCode),
|
||||||
updatedAt.hashCode),
|
archivedAt.hashCode),
|
||||||
archivedAt.hashCode),
|
isDeleted.hashCode),
|
||||||
isDeleted.hashCode),
|
createdUserId.hashCode),
|
||||||
createdUserId.hashCode),
|
assignedUserId.hashCode),
|
||||||
assignedUserId.hashCode),
|
|
||||||
idempotencyKey.hashCode),
|
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -639,7 +622,6 @@ class _$DocumentEntity extends DocumentEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -715,11 +697,6 @@ class DocumentEntityBuilder
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -745,7 +722,6 @@ class DocumentEntityBuilder
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -795,7 +771,6 @@ class DocumentEntityBuilder
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'DocumentEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'DocumentEntity', 'id'));
|
||||||
replace(_$result);
|
replace(_$result);
|
||||||
return _$result;
|
return _$result;
|
||||||
|
|
|
||||||
|
|
@ -375,10 +375,6 @@ abstract class BaseEntity implements SelectableEntity {
|
||||||
@BuiltValueField(wireName: 'entity_type')
|
@BuiltValueField(wireName: 'entity_type')
|
||||||
EntityType get entityType;
|
EntityType get entityType;
|
||||||
|
|
||||||
@nullable
|
|
||||||
@BuiltValueField(wireName: 'idempotency_key')
|
|
||||||
String get idempotencyKey;
|
|
||||||
|
|
||||||
String get entityKey => '__${entityType}__${id}__';
|
String get entityKey => '__${entityType}__${id}__';
|
||||||
|
|
||||||
bool get isNew => (id ?? '').isEmpty || (int.tryParse(id) ?? 0) < 0;
|
bool get isNew => (id ?? '').isEmpty || (int.tryParse(id) ?? 0) < 0;
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,6 @@ abstract class ExpenseCategoryEntity extends Object
|
||||||
factory ExpenseCategoryEntity({String id, AppState state}) {
|
factory ExpenseCategoryEntity({String id, AppState state}) {
|
||||||
return _$ExpenseCategoryEntity._(
|
return _$ExpenseCategoryEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
name: '',
|
name: '',
|
||||||
color: '',
|
color: '',
|
||||||
|
|
|
||||||
|
|
@ -172,13 +172,6 @@ class _$ExpenseCategoryEntitySerializer
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -230,10 +223,6 @@ class _$ExpenseCategoryEntitySerializer
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -457,8 +446,6 @@ class _$ExpenseCategoryEntity extends ExpenseCategoryEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$ExpenseCategoryEntity(
|
factory _$ExpenseCategoryEntity(
|
||||||
|
|
@ -475,7 +462,6 @@ class _$ExpenseCategoryEntity extends ExpenseCategoryEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(
|
BuiltValueNullFieldError.checkNotNull(
|
||||||
|
|
@ -513,7 +499,6 @@ class _$ExpenseCategoryEntity extends ExpenseCategoryEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -527,18 +512,14 @@ class _$ExpenseCategoryEntity extends ExpenseCategoryEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc($jc($jc(0, name.hashCode), color.hashCode),
|
||||||
$jc(
|
isChanged.hashCode),
|
||||||
$jc($jc(0, name.hashCode),
|
createdAt.hashCode),
|
||||||
color.hashCode),
|
updatedAt.hashCode),
|
||||||
isChanged.hashCode),
|
archivedAt.hashCode),
|
||||||
createdAt.hashCode),
|
isDeleted.hashCode),
|
||||||
updatedAt.hashCode),
|
createdUserId.hashCode),
|
||||||
archivedAt.hashCode),
|
assignedUserId.hashCode),
|
||||||
isDeleted.hashCode),
|
|
||||||
createdUserId.hashCode),
|
|
||||||
assignedUserId.hashCode),
|
|
||||||
idempotencyKey.hashCode),
|
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -554,7 +535,6 @@ class _$ExpenseCategoryEntity extends ExpenseCategoryEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -602,11 +582,6 @@ class ExpenseCategoryEntityBuilder
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -627,7 +602,6 @@ class ExpenseCategoryEntityBuilder
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -663,7 +637,6 @@ class ExpenseCategoryEntityBuilder
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(
|
id: BuiltValueNullFieldError.checkNotNull(
|
||||||
id, 'ExpenseCategoryEntity', 'id'));
|
id, 'ExpenseCategoryEntity', 'id'));
|
||||||
replace(_$result);
|
replace(_$result);
|
||||||
|
|
|
||||||
|
|
@ -111,7 +111,6 @@ abstract class ExpenseEntity extends Object
|
||||||
final company = state?.company;
|
final company = state?.company;
|
||||||
return _$ExpenseEntity._(
|
return _$ExpenseEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
entityType: entityType ?? EntityType.expense,
|
entityType: entityType ?? EntityType.expense,
|
||||||
number: '',
|
number: '',
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
|
|
@ -178,7 +177,6 @@ abstract class ExpenseEntity extends Object
|
||||||
|
|
||||||
ExpenseEntity get clone => rebuild((b) => b
|
ExpenseEntity get clone => rebuild((b) => b
|
||||||
..id = BaseEntity.nextId
|
..id = BaseEntity.nextId
|
||||||
..idempotencyKey = BaseEntity.nextIdempotencyKey
|
|
||||||
..number = ''
|
..number = ''
|
||||||
..isChanged = false
|
..isChanged = false
|
||||||
..isDeleted = false
|
..isDeleted = false
|
||||||
|
|
|
||||||
|
|
@ -343,13 +343,6 @@ class _$ExpenseEntitySerializer implements StructuredSerializer<ExpenseEntity> {
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(EntityType)));
|
specifiedType: const FullType(EntityType)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -577,10 +570,6 @@ class _$ExpenseEntitySerializer implements StructuredSerializer<ExpenseEntity> {
|
||||||
result.entityType = serializers.deserialize(value,
|
result.entityType = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(EntityType)) as EntityType;
|
specifiedType: const FullType(EntityType)) as EntityType;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -980,8 +969,6 @@ class _$ExpenseEntity extends ExpenseEntity {
|
||||||
@override
|
@override
|
||||||
final EntityType entityType;
|
final EntityType entityType;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$ExpenseEntity([void Function(ExpenseEntityBuilder) updates]) =>
|
factory _$ExpenseEntity([void Function(ExpenseEntityBuilder) updates]) =>
|
||||||
|
|
@ -1040,7 +1027,6 @@ class _$ExpenseEntity extends ExpenseEntity {
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.entityType,
|
this.entityType,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(
|
BuiltValueNullFieldError.checkNotNull(
|
||||||
|
|
@ -1179,7 +1165,6 @@ class _$ExpenseEntity extends ExpenseEntity {
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
entityType == other.entityType &&
|
entityType == other.entityType &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1204,25 +1189,25 @@ class _$ExpenseEntity extends ExpenseEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, privateNotes.hashCode), publicNotes.hashCode), shouldBeInvoiced.hashCode), invoiceDocuments.hashCode), transactionId.hashCode), transactionReference.hashCode), bankId.hashCode), currencyId.hashCode), categoryId.hashCode), amount.hashCode), date.hashCode), paymentDate.hashCode), exchangeRate.hashCode), invoiceCurrencyId.hashCode), paymentTypeId.hashCode), taxName1.hashCode), taxName2.hashCode), taxRate1.hashCode), taxRate2.hashCode), taxName3.hashCode), taxRate3.hashCode), clientId.hashCode), invoiceId.hashCode), vendorId.hashCode), projectId.hashCode), statusId.hashCode), customValue1.hashCode), customValue2.hashCode), customValue3.hashCode), customValue4.hashCode), taxAmount1.hashCode), taxAmount2.hashCode), taxAmount3.hashCode), usesInclusiveTaxes.hashCode),
|
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, privateNotes.hashCode), publicNotes.hashCode), shouldBeInvoiced.hashCode), invoiceDocuments.hashCode), transactionId.hashCode), transactionReference.hashCode), bankId.hashCode), currencyId.hashCode), categoryId.hashCode), amount.hashCode), date.hashCode), paymentDate.hashCode), exchangeRate.hashCode), invoiceCurrencyId.hashCode), paymentTypeId.hashCode), taxName1.hashCode), taxName2.hashCode), taxRate1.hashCode), taxRate2.hashCode), taxName3.hashCode), taxRate3.hashCode), clientId.hashCode), invoiceId.hashCode), vendorId.hashCode), projectId.hashCode), statusId.hashCode), customValue1.hashCode), customValue2.hashCode), customValue3.hashCode), customValue4.hashCode), taxAmount1.hashCode), taxAmount2.hashCode), taxAmount3.hashCode),
|
||||||
calculateTaxByAmount.hashCode),
|
usesInclusiveTaxes.hashCode),
|
||||||
documents.hashCode),
|
calculateTaxByAmount.hashCode),
|
||||||
number.hashCode),
|
documents.hashCode),
|
||||||
recurringId.hashCode),
|
number.hashCode),
|
||||||
frequencyId.hashCode),
|
recurringId.hashCode),
|
||||||
lastSentDate.hashCode),
|
frequencyId.hashCode),
|
||||||
nextSendDate.hashCode),
|
lastSentDate.hashCode),
|
||||||
remainingCycles.hashCode),
|
nextSendDate.hashCode),
|
||||||
recurringDates.hashCode),
|
remainingCycles.hashCode),
|
||||||
isChanged.hashCode),
|
recurringDates.hashCode),
|
||||||
createdAt.hashCode),
|
isChanged.hashCode),
|
||||||
updatedAt.hashCode),
|
createdAt.hashCode),
|
||||||
archivedAt.hashCode),
|
updatedAt.hashCode),
|
||||||
isDeleted.hashCode),
|
archivedAt.hashCode),
|
||||||
createdUserId.hashCode),
|
isDeleted.hashCode),
|
||||||
assignedUserId.hashCode),
|
createdUserId.hashCode),
|
||||||
entityType.hashCode),
|
assignedUserId.hashCode),
|
||||||
idempotencyKey.hashCode),
|
entityType.hashCode),
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1281,7 +1266,6 @@ class _$ExpenseEntity extends ExpenseEntity {
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('entityType', entityType)
|
..add('entityType', entityType)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -1514,11 +1498,6 @@ class ExpenseEntityBuilder
|
||||||
EntityType get entityType => _$this._entityType;
|
EntityType get entityType => _$this._entityType;
|
||||||
set entityType(EntityType entityType) => _$this._entityType = entityType;
|
set entityType(EntityType entityType) => _$this._entityType = entityType;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -1582,7 +1561,6 @@ class ExpenseEntityBuilder
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_entityType = $v.entityType;
|
_entityType = $v.entityType;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -1665,7 +1643,6 @@ class ExpenseEntityBuilder
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
entityType: entityType,
|
entityType: entityType,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'ExpenseEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'ExpenseEntity', 'id'));
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
String _$failedField;
|
String _$failedField;
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,6 @@ abstract class GatewayTokenEntity extends Object
|
||||||
factory GatewayTokenEntity({String id}) {
|
factory GatewayTokenEntity({String id}) {
|
||||||
return _$GatewayTokenEntity._(
|
return _$GatewayTokenEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
token: '',
|
token: '',
|
||||||
customerReference: '',
|
customerReference: '',
|
||||||
|
|
|
||||||
|
|
@ -181,13 +181,6 @@ class _$GatewayTokenEntitySerializer
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -256,10 +249,6 @@ class _$GatewayTokenEntitySerializer
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -581,8 +570,6 @@ class _$GatewayTokenEntity extends GatewayTokenEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$GatewayTokenEntity(
|
factory _$GatewayTokenEntity(
|
||||||
|
|
@ -603,7 +590,6 @@ class _$GatewayTokenEntity extends GatewayTokenEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(token, 'GatewayTokenEntity', 'token');
|
BuiltValueNullFieldError.checkNotNull(token, 'GatewayTokenEntity', 'token');
|
||||||
|
|
@ -651,7 +637,6 @@ class _$GatewayTokenEntity extends GatewayTokenEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -671,24 +656,20 @@ class _$GatewayTokenEntity extends GatewayTokenEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(0, token.hashCode),
|
||||||
$jc(0,
|
customerReference
|
||||||
token.hashCode),
|
|
||||||
customerReference
|
|
||||||
.hashCode),
|
|
||||||
companyGatewayId
|
|
||||||
.hashCode),
|
.hashCode),
|
||||||
gatewayTypeId.hashCode),
|
companyGatewayId.hashCode),
|
||||||
isDefault.hashCode),
|
gatewayTypeId.hashCode),
|
||||||
meta.hashCode),
|
isDefault.hashCode),
|
||||||
isChanged.hashCode),
|
meta.hashCode),
|
||||||
createdAt.hashCode),
|
isChanged.hashCode),
|
||||||
updatedAt.hashCode),
|
createdAt.hashCode),
|
||||||
archivedAt.hashCode),
|
updatedAt.hashCode),
|
||||||
isDeleted.hashCode),
|
archivedAt.hashCode),
|
||||||
createdUserId.hashCode),
|
isDeleted.hashCode),
|
||||||
assignedUserId.hashCode),
|
createdUserId.hashCode),
|
||||||
idempotencyKey.hashCode),
|
assignedUserId.hashCode),
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -708,7 +689,6 @@ class _$GatewayTokenEntity extends GatewayTokenEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -776,11 +756,6 @@ class GatewayTokenEntityBuilder
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -803,7 +778,6 @@ class GatewayTokenEntityBuilder
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -848,7 +822,6 @@ class GatewayTokenEntityBuilder
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'GatewayTokenEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'GatewayTokenEntity', 'id'));
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
String _$failedField;
|
String _$failedField;
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,6 @@ abstract class GroupEntity extends Object
|
||||||
factory GroupEntity({String id, AppState state}) {
|
factory GroupEntity({String id, AppState state}) {
|
||||||
return _$GroupEntity._(
|
return _$GroupEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
name: '',
|
name: '',
|
||||||
settings: SettingsEntity(),
|
settings: SettingsEntity(),
|
||||||
|
|
|
||||||
|
|
@ -159,13 +159,6 @@ class _$GroupEntitySerializer implements StructuredSerializer<GroupEntity> {
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -222,10 +215,6 @@ class _$GroupEntitySerializer implements StructuredSerializer<GroupEntity> {
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -440,8 +429,6 @@ class _$GroupEntity extends GroupEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$GroupEntity([void Function(GroupEntityBuilder) updates]) =>
|
factory _$GroupEntity([void Function(GroupEntityBuilder) updates]) =>
|
||||||
|
|
@ -458,7 +445,6 @@ class _$GroupEntity extends GroupEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(name, 'GroupEntity', 'name');
|
BuiltValueNullFieldError.checkNotNull(name, 'GroupEntity', 'name');
|
||||||
|
|
@ -495,7 +481,6 @@ class _$GroupEntity extends GroupEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -511,18 +496,16 @@ class _$GroupEntity extends GroupEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc($jc(0, name.hashCode),
|
||||||
$jc($jc(0, name.hashCode),
|
settings.hashCode),
|
||||||
settings.hashCode),
|
documents.hashCode),
|
||||||
documents.hashCode),
|
isChanged.hashCode),
|
||||||
isChanged.hashCode),
|
createdAt.hashCode),
|
||||||
createdAt.hashCode),
|
updatedAt.hashCode),
|
||||||
updatedAt.hashCode),
|
archivedAt.hashCode),
|
||||||
archivedAt.hashCode),
|
isDeleted.hashCode),
|
||||||
isDeleted.hashCode),
|
createdUserId.hashCode),
|
||||||
createdUserId.hashCode),
|
assignedUserId.hashCode),
|
||||||
assignedUserId.hashCode),
|
|
||||||
idempotencyKey.hashCode),
|
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -539,7 +522,6 @@ class _$GroupEntity extends GroupEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -593,11 +575,6 @@ class GroupEntityBuilder implements Builder<GroupEntity, GroupEntityBuilder> {
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -619,7 +596,6 @@ class GroupEntityBuilder implements Builder<GroupEntity, GroupEntityBuilder> {
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -657,7 +633,6 @@ class GroupEntityBuilder implements Builder<GroupEntity, GroupEntityBuilder> {
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(
|
id: BuiltValueNullFieldError.checkNotNull(
|
||||||
id, 'GroupEntity', 'id'));
|
id, 'GroupEntity', 'id'));
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
|
|
|
||||||
|
|
@ -152,7 +152,6 @@ abstract class InvoiceEntity extends Object
|
||||||
}
|
}
|
||||||
return _$InvoiceEntity._(
|
return _$InvoiceEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
entityType: entityType ?? EntityType.invoice,
|
entityType: entityType ?? EntityType.invoice,
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
amount: 0,
|
amount: 0,
|
||||||
|
|
@ -288,7 +287,6 @@ abstract class InvoiceEntity extends Object
|
||||||
return rebuild(
|
return rebuild(
|
||||||
(b) => b
|
(b) => b
|
||||||
..id = BaseEntity.nextId
|
..id = BaseEntity.nextId
|
||||||
..idempotencyKey = BaseEntity.nextIdempotencyKey
|
|
||||||
..isChanged = false
|
..isChanged = false
|
||||||
..isDeleted = false
|
..isDeleted = false
|
||||||
..statusId = kInvoiceStatusDraft
|
..statusId = kInvoiceStatusDraft
|
||||||
|
|
@ -1728,7 +1726,6 @@ abstract class InvitationEntity extends Object
|
||||||
}) {
|
}) {
|
||||||
return _$InvitationEntity._(
|
return _$InvitationEntity._(
|
||||||
id: BaseEntity.nextId,
|
id: BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
clientContactId: clientContactId ?? '',
|
clientContactId: clientContactId ?? '',
|
||||||
vendorContactId: vendorContactId ?? '',
|
vendorContactId: vendorContactId ?? '',
|
||||||
|
|
|
||||||
|
|
@ -417,13 +417,6 @@ class _$InvoiceEntitySerializer implements StructuredSerializer<InvoiceEntity> {
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(EntityType)));
|
specifiedType: const FullType(EntityType)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -733,10 +726,6 @@ class _$InvoiceEntitySerializer implements StructuredSerializer<InvoiceEntity> {
|
||||||
result.entityType = serializers.deserialize(value,
|
result.entityType = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(EntityType)) as EntityType;
|
specifiedType: const FullType(EntityType)) as EntityType;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -1022,13 +1011,6 @@ class _$InvitationEntitySerializer
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(EntityType)));
|
specifiedType: const FullType(EntityType)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1108,10 +1090,6 @@ class _$InvitationEntitySerializer
|
||||||
result.entityType = serializers.deserialize(value,
|
result.entityType = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(EntityType)) as EntityType;
|
specifiedType: const FullType(EntityType)) as EntityType;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -1571,8 +1549,6 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
@override
|
@override
|
||||||
final EntityType entityType;
|
final EntityType entityType;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$InvoiceEntity([void Function(InvoiceEntityBuilder) updates]) =>
|
factory _$InvoiceEntity([void Function(InvoiceEntityBuilder) updates]) =>
|
||||||
|
|
@ -1650,7 +1626,6 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.entityType,
|
this.entityType,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(amount, 'InvoiceEntity', 'amount');
|
BuiltValueNullFieldError.checkNotNull(amount, 'InvoiceEntity', 'amount');
|
||||||
|
|
@ -1834,7 +1809,6 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
entityType == other.entityType &&
|
entityType == other.entityType &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1859,25 +1833,25 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, amount.hashCode), balance.hashCode), paidToDate.hashCode), clientId.hashCode), projectId.hashCode), expenseId.hashCode), vendorId.hashCode), subscriptionId.hashCode), statusId.hashCode), number.hashCode), discount.hashCode), poNumber.hashCode), date.hashCode), dueDate.hashCode), publicNotes.hashCode), privateNotes.hashCode), terms.hashCode), footer.hashCode), designId.hashCode), usesInclusiveTaxes.hashCode), taxName1.hashCode), taxRate1.hashCode), taxName2.hashCode), taxRate2.hashCode), taxName3.hashCode), taxRate3.hashCode), isAmountDiscount.hashCode), partial.hashCode), taxAmount.hashCode), partialDueDate.hashCode), autoBill.hashCode), customValue1.hashCode), customValue2.hashCode), customValue3.hashCode), customValue4.hashCode), customSurcharge1.hashCode), customSurcharge2.hashCode), customSurcharge3.hashCode), customSurcharge4.hashCode), customTaxes1.hashCode), customTaxes2.hashCode), customTaxes3.hashCode), customTaxes4.hashCode), exchangeRate.hashCode), reminder1Sent.hashCode), reminder2Sent.hashCode), reminder3Sent.hashCode), reminderLastSent.hashCode), frequencyId.hashCode), lastSentDate.hashCode), nextSendDate.hashCode), remainingCycles.hashCode),
|
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, amount.hashCode), balance.hashCode), paidToDate.hashCode), clientId.hashCode), projectId.hashCode), expenseId.hashCode), vendorId.hashCode), subscriptionId.hashCode), statusId.hashCode), number.hashCode), discount.hashCode), poNumber.hashCode), date.hashCode), dueDate.hashCode), publicNotes.hashCode), privateNotes.hashCode), terms.hashCode), footer.hashCode), designId.hashCode), usesInclusiveTaxes.hashCode), taxName1.hashCode), taxRate1.hashCode), taxName2.hashCode), taxRate2.hashCode), taxName3.hashCode), taxRate3.hashCode), isAmountDiscount.hashCode), partial.hashCode), taxAmount.hashCode), partialDueDate.hashCode), autoBill.hashCode), customValue1.hashCode), customValue2.hashCode), customValue3.hashCode), customValue4.hashCode), customSurcharge1.hashCode), customSurcharge2.hashCode), customSurcharge3.hashCode), customSurcharge4.hashCode), customTaxes1.hashCode), customTaxes2.hashCode), customTaxes3.hashCode), customTaxes4.hashCode), exchangeRate.hashCode), reminder1Sent.hashCode), reminder2Sent.hashCode), reminder3Sent.hashCode), reminderLastSent.hashCode), frequencyId.hashCode), lastSentDate.hashCode), nextSendDate.hashCode),
|
||||||
dueDateDays.hashCode),
|
remainingCycles.hashCode),
|
||||||
invoiceId.hashCode),
|
dueDateDays.hashCode),
|
||||||
recurringId.hashCode),
|
invoiceId.hashCode),
|
||||||
autoBillEnabled.hashCode),
|
recurringId.hashCode),
|
||||||
filename.hashCode),
|
autoBillEnabled.hashCode),
|
||||||
recurringDates.hashCode),
|
filename.hashCode),
|
||||||
lineItems.hashCode),
|
recurringDates.hashCode),
|
||||||
invitations.hashCode),
|
lineItems.hashCode),
|
||||||
documents.hashCode),
|
invitations.hashCode),
|
||||||
isChanged.hashCode),
|
documents.hashCode),
|
||||||
createdAt.hashCode),
|
isChanged.hashCode),
|
||||||
updatedAt.hashCode),
|
createdAt.hashCode),
|
||||||
archivedAt.hashCode),
|
updatedAt.hashCode),
|
||||||
isDeleted.hashCode),
|
archivedAt.hashCode),
|
||||||
createdUserId.hashCode),
|
isDeleted.hashCode),
|
||||||
assignedUserId.hashCode),
|
createdUserId.hashCode),
|
||||||
entityType.hashCode),
|
assignedUserId.hashCode),
|
||||||
idempotencyKey.hashCode),
|
entityType.hashCode),
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1955,7 +1929,6 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('entityType', entityType)
|
..add('entityType', entityType)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -2275,11 +2248,6 @@ class InvoiceEntityBuilder
|
||||||
EntityType get entityType => _$this._entityType;
|
EntityType get entityType => _$this._entityType;
|
||||||
set entityType(EntityType entityType) => _$this._entityType = entityType;
|
set entityType(EntityType entityType) => _$this._entityType = entityType;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -2362,7 +2330,6 @@ class InvoiceEntityBuilder
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_entityType = $v.entityType;
|
_entityType = $v.entityType;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -2466,7 +2433,6 @@ class InvoiceEntityBuilder
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
entityType: entityType,
|
entityType: entityType,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'InvoiceEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'InvoiceEntity', 'id'));
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
String _$failedField;
|
String _$failedField;
|
||||||
|
|
@ -2895,8 +2861,6 @@ class _$InvitationEntity extends InvitationEntity {
|
||||||
@override
|
@override
|
||||||
final EntityType entityType;
|
final EntityType entityType;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$InvitationEntity(
|
factory _$InvitationEntity(
|
||||||
|
|
@ -2920,7 +2884,6 @@ class _$InvitationEntity extends InvitationEntity {
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.entityType,
|
this.entityType,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(key, 'InvitationEntity', 'key');
|
BuiltValueNullFieldError.checkNotNull(key, 'InvitationEntity', 'key');
|
||||||
|
|
@ -2968,7 +2931,6 @@ class _$InvitationEntity extends InvitationEntity {
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
entityType == other.entityType &&
|
entityType == other.entityType &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2986,20 +2948,18 @@ class _$InvitationEntity extends InvitationEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc($jc(0, key.hashCode),
|
||||||
$jc($jc(0, key.hashCode),
|
link.hashCode),
|
||||||
link.hashCode),
|
clientContactId.hashCode),
|
||||||
clientContactId.hashCode),
|
vendorContactId.hashCode),
|
||||||
vendorContactId.hashCode),
|
isChanged.hashCode),
|
||||||
isChanged.hashCode),
|
createdAt.hashCode),
|
||||||
createdAt.hashCode),
|
updatedAt.hashCode),
|
||||||
updatedAt.hashCode),
|
archivedAt.hashCode),
|
||||||
archivedAt.hashCode),
|
isDeleted.hashCode),
|
||||||
isDeleted.hashCode),
|
createdUserId.hashCode),
|
||||||
createdUserId.hashCode),
|
assignedUserId.hashCode),
|
||||||
assignedUserId.hashCode),
|
entityType.hashCode),
|
||||||
entityType.hashCode),
|
|
||||||
idempotencyKey.hashCode),
|
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -3022,7 +2982,6 @@ class _$InvitationEntity extends InvitationEntity {
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('entityType', entityType)
|
..add('entityType', entityType)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -3100,11 +3059,6 @@ class InvitationEntityBuilder
|
||||||
EntityType get entityType => _$this._entityType;
|
EntityType get entityType => _$this._entityType;
|
||||||
set entityType(EntityType entityType) => _$this._entityType = entityType;
|
set entityType(EntityType entityType) => _$this._entityType = entityType;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -3132,7 +3086,6 @@ class InvitationEntityBuilder
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_entityType = $v.entityType;
|
_entityType = $v.entityType;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -3179,7 +3132,6 @@ class InvitationEntityBuilder
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
entityType: entityType,
|
entityType: entityType,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'InvitationEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'InvitationEntity', 'id'));
|
||||||
replace(_$result);
|
replace(_$result);
|
||||||
return _$result;
|
return _$result;
|
||||||
|
|
|
||||||
|
|
@ -138,6 +138,10 @@ abstract class PaymentEntity extends Object
|
||||||
|
|
||||||
String get number;
|
String get number;
|
||||||
|
|
||||||
|
@nullable
|
||||||
|
@BuiltValueField(wireName: 'idempotency_key')
|
||||||
|
String get idempotencyKey;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
@BuiltValueField(wireName: 'client_id')
|
@BuiltValueField(wireName: 'client_id')
|
||||||
String get clientId;
|
String get clientId;
|
||||||
|
|
|
||||||
|
|
@ -213,6 +213,13 @@ class _$PaymentEntitySerializer implements StructuredSerializer<PaymentEntity> {
|
||||||
serializers.serialize(object.id, specifiedType: const FullType(String)),
|
serializers.serialize(object.id, specifiedType: const FullType(String)),
|
||||||
];
|
];
|
||||||
Object value;
|
Object value;
|
||||||
|
value = object.idempotencyKey;
|
||||||
|
if (value != null) {
|
||||||
|
result
|
||||||
|
..add('idempotency_key')
|
||||||
|
..add(serializers.serialize(value,
|
||||||
|
specifiedType: const FullType(String)));
|
||||||
|
}
|
||||||
value = object.isApplying;
|
value = object.isApplying;
|
||||||
if (value != null) {
|
if (value != null) {
|
||||||
result
|
result
|
||||||
|
|
@ -262,13 +269,6 @@ class _$PaymentEntitySerializer implements StructuredSerializer<PaymentEntity> {
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -300,6 +300,10 @@ class _$PaymentEntitySerializer implements StructuredSerializer<PaymentEntity> {
|
||||||
result.number = serializers.deserialize(value,
|
result.number = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
|
case 'idempotency_key':
|
||||||
|
result.idempotencyKey = serializers.deserialize(value,
|
||||||
|
specifiedType: const FullType(String)) as String;
|
||||||
|
break;
|
||||||
case 'client_id':
|
case 'client_id':
|
||||||
result.clientId = serializers.deserialize(value,
|
result.clientId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -434,10 +438,6 @@ class _$PaymentEntitySerializer implements StructuredSerializer<PaymentEntity> {
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -734,6 +734,8 @@ class _$PaymentEntity extends PaymentEntity {
|
||||||
@override
|
@override
|
||||||
final String number;
|
final String number;
|
||||||
@override
|
@override
|
||||||
|
final String idempotencyKey;
|
||||||
|
@override
|
||||||
final String clientId;
|
final String clientId;
|
||||||
@override
|
@override
|
||||||
final String statusId;
|
final String statusId;
|
||||||
|
|
@ -798,8 +800,6 @@ class _$PaymentEntity extends PaymentEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$PaymentEntity([void Function(PaymentEntityBuilder) updates]) =>
|
factory _$PaymentEntity([void Function(PaymentEntityBuilder) updates]) =>
|
||||||
|
|
@ -810,6 +810,7 @@ class _$PaymentEntity extends PaymentEntity {
|
||||||
this.applied,
|
this.applied,
|
||||||
this.refunded,
|
this.refunded,
|
||||||
this.number,
|
this.number,
|
||||||
|
this.idempotencyKey,
|
||||||
this.clientId,
|
this.clientId,
|
||||||
this.statusId,
|
this.statusId,
|
||||||
this.transactionReference,
|
this.transactionReference,
|
||||||
|
|
@ -842,7 +843,6 @@ class _$PaymentEntity extends PaymentEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(amount, 'PaymentEntity', 'amount');
|
BuiltValueNullFieldError.checkNotNull(amount, 'PaymentEntity', 'amount');
|
||||||
|
|
@ -915,6 +915,7 @@ class _$PaymentEntity extends PaymentEntity {
|
||||||
applied == other.applied &&
|
applied == other.applied &&
|
||||||
refunded == other.refunded &&
|
refunded == other.refunded &&
|
||||||
number == other.number &&
|
number == other.number &&
|
||||||
|
idempotencyKey == other.idempotencyKey &&
|
||||||
clientId == other.clientId &&
|
clientId == other.clientId &&
|
||||||
statusId == other.statusId &&
|
statusId == other.statusId &&
|
||||||
transactionReference == other.transactionReference &&
|
transactionReference == other.transactionReference &&
|
||||||
|
|
@ -947,7 +948,6 @@ class _$PaymentEntity extends PaymentEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -972,25 +972,25 @@ class _$PaymentEntity extends PaymentEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, amount.hashCode), applied.hashCode), refunded.hashCode), number.hashCode), clientId.hashCode), statusId.hashCode), transactionReference.hashCode), date.hashCode), typeId.hashCode), privateNotes.hashCode), customValue1.hashCode), customValue2.hashCode), customValue3.hashCode), customValue4.hashCode), exchangeRate.hashCode), exchangeCurrencyId.hashCode), isManual.hashCode), projectId.hashCode), vendorId.hashCode),
|
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, amount.hashCode), applied.hashCode), refunded.hashCode), number.hashCode), idempotencyKey.hashCode), clientId.hashCode), statusId.hashCode), transactionReference.hashCode), date.hashCode), typeId.hashCode), privateNotes.hashCode), customValue1.hashCode), customValue2.hashCode), customValue3.hashCode), customValue4.hashCode), exchangeRate.hashCode), exchangeCurrencyId.hashCode), isManual.hashCode), projectId.hashCode),
|
||||||
invitationId.hashCode),
|
vendorId.hashCode),
|
||||||
clientContactId.hashCode),
|
invitationId.hashCode),
|
||||||
companyGatewayId.hashCode),
|
clientContactId.hashCode),
|
||||||
currencyId.hashCode),
|
companyGatewayId.hashCode),
|
||||||
isApplying.hashCode),
|
currencyId.hashCode),
|
||||||
sendEmail.hashCode),
|
isApplying.hashCode),
|
||||||
gatewayRefund.hashCode),
|
sendEmail.hashCode),
|
||||||
paymentables.hashCode),
|
gatewayRefund.hashCode),
|
||||||
invoices.hashCode),
|
paymentables.hashCode),
|
||||||
credits.hashCode),
|
invoices.hashCode),
|
||||||
isChanged.hashCode),
|
credits.hashCode),
|
||||||
createdAt.hashCode),
|
isChanged.hashCode),
|
||||||
updatedAt.hashCode),
|
createdAt.hashCode),
|
||||||
archivedAt.hashCode),
|
updatedAt.hashCode),
|
||||||
isDeleted.hashCode),
|
archivedAt.hashCode),
|
||||||
createdUserId.hashCode),
|
isDeleted.hashCode),
|
||||||
assignedUserId.hashCode),
|
createdUserId.hashCode),
|
||||||
idempotencyKey.hashCode),
|
assignedUserId.hashCode),
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1001,6 +1001,7 @@ class _$PaymentEntity extends PaymentEntity {
|
||||||
..add('applied', applied)
|
..add('applied', applied)
|
||||||
..add('refunded', refunded)
|
..add('refunded', refunded)
|
||||||
..add('number', number)
|
..add('number', number)
|
||||||
|
..add('idempotencyKey', idempotencyKey)
|
||||||
..add('clientId', clientId)
|
..add('clientId', clientId)
|
||||||
..add('statusId', statusId)
|
..add('statusId', statusId)
|
||||||
..add('transactionReference', transactionReference)
|
..add('transactionReference', transactionReference)
|
||||||
|
|
@ -1033,7 +1034,6 @@ class _$PaymentEntity extends PaymentEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -1059,6 +1059,11 @@ class PaymentEntityBuilder
|
||||||
String get number => _$this._number;
|
String get number => _$this._number;
|
||||||
set number(String number) => _$this._number = number;
|
set number(String number) => _$this._number = number;
|
||||||
|
|
||||||
|
String _idempotencyKey;
|
||||||
|
String get idempotencyKey => _$this._idempotencyKey;
|
||||||
|
set idempotencyKey(String idempotencyKey) =>
|
||||||
|
_$this._idempotencyKey = idempotencyKey;
|
||||||
|
|
||||||
String _clientId;
|
String _clientId;
|
||||||
String get clientId => _$this._clientId;
|
String get clientId => _$this._clientId;
|
||||||
set clientId(String clientId) => _$this._clientId = clientId;
|
set clientId(String clientId) => _$this._clientId = clientId;
|
||||||
|
|
@ -1200,11 +1205,6 @@ class PaymentEntityBuilder
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -1218,6 +1218,7 @@ class PaymentEntityBuilder
|
||||||
_applied = $v.applied;
|
_applied = $v.applied;
|
||||||
_refunded = $v.refunded;
|
_refunded = $v.refunded;
|
||||||
_number = $v.number;
|
_number = $v.number;
|
||||||
|
_idempotencyKey = $v.idempotencyKey;
|
||||||
_clientId = $v.clientId;
|
_clientId = $v.clientId;
|
||||||
_statusId = $v.statusId;
|
_statusId = $v.statusId;
|
||||||
_transactionReference = $v.transactionReference;
|
_transactionReference = $v.transactionReference;
|
||||||
|
|
@ -1250,7 +1251,6 @@ class PaymentEntityBuilder
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -1282,6 +1282,7 @@ class PaymentEntityBuilder
|
||||||
refunded, 'PaymentEntity', 'refunded'),
|
refunded, 'PaymentEntity', 'refunded'),
|
||||||
number: BuiltValueNullFieldError.checkNotNull(
|
number: BuiltValueNullFieldError.checkNotNull(
|
||||||
number, 'PaymentEntity', 'number'),
|
number, 'PaymentEntity', 'number'),
|
||||||
|
idempotencyKey: idempotencyKey,
|
||||||
clientId: BuiltValueNullFieldError.checkNotNull(
|
clientId: BuiltValueNullFieldError.checkNotNull(
|
||||||
clientId, 'PaymentEntity', 'clientId'),
|
clientId, 'PaymentEntity', 'clientId'),
|
||||||
statusId: BuiltValueNullFieldError.checkNotNull(
|
statusId: BuiltValueNullFieldError.checkNotNull(
|
||||||
|
|
@ -1319,7 +1320,6 @@ class PaymentEntityBuilder
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'PaymentEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'PaymentEntity', 'id'));
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
String _$failedField;
|
String _$failedField;
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,6 @@ abstract class PaymentTermEntity extends Object
|
||||||
factory PaymentTermEntity({String id, AppState state}) {
|
factory PaymentTermEntity({String id, AppState state}) {
|
||||||
return _$PaymentTermEntity._(
|
return _$PaymentTermEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
isDeleted: false,
|
isDeleted: false,
|
||||||
archivedAt: 0,
|
archivedAt: 0,
|
||||||
|
|
|
||||||
|
|
@ -165,13 +165,6 @@ class _$PaymentTermEntitySerializer
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -223,10 +216,6 @@ class _$PaymentTermEntitySerializer
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -448,8 +437,6 @@ class _$PaymentTermEntity extends PaymentTermEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$PaymentTermEntity(
|
factory _$PaymentTermEntity(
|
||||||
|
|
@ -466,7 +453,6 @@ class _$PaymentTermEntity extends PaymentTermEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(name, 'PaymentTermEntity', 'name');
|
BuiltValueNullFieldError.checkNotNull(name, 'PaymentTermEntity', 'name');
|
||||||
|
|
@ -502,7 +488,6 @@ class _$PaymentTermEntity extends PaymentTermEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -517,17 +502,15 @@ class _$PaymentTermEntity extends PaymentTermEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc($jc(0, name.hashCode),
|
||||||
$jc($jc(0, name.hashCode),
|
numDays.hashCode),
|
||||||
numDays.hashCode),
|
isChanged.hashCode),
|
||||||
isChanged.hashCode),
|
createdAt.hashCode),
|
||||||
createdAt.hashCode),
|
updatedAt.hashCode),
|
||||||
updatedAt.hashCode),
|
archivedAt.hashCode),
|
||||||
archivedAt.hashCode),
|
isDeleted.hashCode),
|
||||||
isDeleted.hashCode),
|
createdUserId.hashCode),
|
||||||
createdUserId.hashCode),
|
assignedUserId.hashCode),
|
||||||
assignedUserId.hashCode),
|
|
||||||
idempotencyKey.hashCode),
|
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -543,7 +526,6 @@ class _$PaymentTermEntity extends PaymentTermEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -591,11 +573,6 @@ class PaymentTermEntityBuilder
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -614,7 +591,6 @@ class PaymentTermEntityBuilder
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -650,7 +626,6 @@ class PaymentTermEntityBuilder
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(
|
id: BuiltValueNullFieldError.checkNotNull(
|
||||||
id, 'PaymentTermEntity', 'id'));
|
id, 'PaymentTermEntity', 'id'));
|
||||||
replace(_$result);
|
replace(_$result);
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,6 @@ abstract class ProductEntity extends Object
|
||||||
factory ProductEntity({String id, AppState state}) {
|
factory ProductEntity({String id, AppState state}) {
|
||||||
return _$ProductEntity._(
|
return _$ProductEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
productKey: '',
|
productKey: '',
|
||||||
notes: '',
|
notes: '',
|
||||||
|
|
@ -113,7 +112,6 @@ abstract class ProductEntity extends Object
|
||||||
|
|
||||||
ProductEntity get clone => rebuild((b) => b
|
ProductEntity get clone => rebuild((b) => b
|
||||||
..id = BaseEntity.nextId
|
..id = BaseEntity.nextId
|
||||||
..idempotencyKey = BaseEntity.nextIdempotencyKey
|
|
||||||
..documents.clear()
|
..documents.clear()
|
||||||
..isChanged = false
|
..isChanged = false
|
||||||
..isDeleted = false);
|
..isDeleted = false);
|
||||||
|
|
|
||||||
|
|
@ -216,13 +216,6 @@ class _$ProductEntitySerializer implements StructuredSerializer<ProductEntity> {
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -344,10 +337,6 @@ class _$ProductEntitySerializer implements StructuredSerializer<ProductEntity> {
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -598,8 +587,6 @@ class _$ProductEntity extends ProductEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$ProductEntity([void Function(ProductEntityBuilder) updates]) =>
|
factory _$ProductEntity([void Function(ProductEntityBuilder) updates]) =>
|
||||||
|
|
@ -632,7 +619,6 @@ class _$ProductEntity extends ProductEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(
|
BuiltValueNullFieldError.checkNotNull(
|
||||||
|
|
@ -716,7 +702,6 @@ class _$ProductEntity extends ProductEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -741,25 +726,25 @@ class _$ProductEntity extends ProductEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, productKey.hashCode), notes.hashCode), cost.hashCode), price.hashCode), quantity.hashCode), taxName1.hashCode), taxRate1.hashCode), taxName2.hashCode), taxRate2.hashCode),
|
$jc($jc($jc($jc($jc($jc($jc($jc($jc(0, productKey.hashCode), notes.hashCode), cost.hashCode), price.hashCode), quantity.hashCode), taxName1.hashCode), taxRate1.hashCode), taxName2.hashCode),
|
||||||
taxName3.hashCode),
|
taxRate2.hashCode),
|
||||||
taxRate3.hashCode),
|
taxName3.hashCode),
|
||||||
customValue1.hashCode),
|
taxRate3.hashCode),
|
||||||
customValue2.hashCode),
|
customValue1.hashCode),
|
||||||
customValue3.hashCode),
|
customValue2.hashCode),
|
||||||
customValue4.hashCode),
|
customValue3.hashCode),
|
||||||
stockQuantity.hashCode),
|
customValue4.hashCode),
|
||||||
stockNotificationThreshold.hashCode),
|
stockQuantity.hashCode),
|
||||||
stockNotification.hashCode),
|
stockNotificationThreshold.hashCode),
|
||||||
documents.hashCode),
|
stockNotification.hashCode),
|
||||||
isChanged.hashCode),
|
documents.hashCode),
|
||||||
createdAt.hashCode),
|
isChanged.hashCode),
|
||||||
updatedAt.hashCode),
|
createdAt.hashCode),
|
||||||
archivedAt.hashCode),
|
updatedAt.hashCode),
|
||||||
isDeleted.hashCode),
|
archivedAt.hashCode),
|
||||||
createdUserId.hashCode),
|
isDeleted.hashCode),
|
||||||
assignedUserId.hashCode),
|
createdUserId.hashCode),
|
||||||
idempotencyKey.hashCode),
|
assignedUserId.hashCode),
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -792,7 +777,6 @@ class _$ProductEntity extends ProductEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -912,11 +896,6 @@ class ProductEntityBuilder
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -954,7 +933,6 @@ class ProductEntityBuilder
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -1014,7 +992,6 @@ class ProductEntityBuilder
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'ProductEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'ProductEntity', 'id'));
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
String _$failedField;
|
String _$failedField;
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,6 @@ abstract class ProjectEntity extends Object
|
||||||
}) {
|
}) {
|
||||||
return _$ProjectEntity._(
|
return _$ProjectEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
number: '',
|
number: '',
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
name: '',
|
name: '',
|
||||||
|
|
@ -112,7 +111,6 @@ abstract class ProjectEntity extends Object
|
||||||
|
|
||||||
ProjectEntity get clone => rebuild((b) => b
|
ProjectEntity get clone => rebuild((b) => b
|
||||||
..id = BaseEntity.nextId
|
..id = BaseEntity.nextId
|
||||||
..idempotencyKey = BaseEntity.nextIdempotencyKey
|
|
||||||
..number = ''
|
..number = ''
|
||||||
..documents.clear()
|
..documents.clear()
|
||||||
..isChanged = false
|
..isChanged = false
|
||||||
|
|
|
||||||
|
|
@ -201,13 +201,6 @@ class _$ProjectEntitySerializer implements StructuredSerializer<ProjectEntity> {
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -309,10 +302,6 @@ class _$ProjectEntitySerializer implements StructuredSerializer<ProjectEntity> {
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -553,8 +542,6 @@ class _$ProjectEntity extends ProjectEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$ProjectEntity([void Function(ProjectEntityBuilder) updates]) =>
|
factory _$ProjectEntity([void Function(ProjectEntityBuilder) updates]) =>
|
||||||
|
|
@ -582,7 +569,6 @@ class _$ProjectEntity extends ProjectEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(name, 'ProjectEntity', 'name');
|
BuiltValueNullFieldError.checkNotNull(name, 'ProjectEntity', 'name');
|
||||||
|
|
@ -650,7 +636,6 @@ class _$ProjectEntity extends ProjectEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -675,25 +660,25 @@ class _$ProjectEntity extends ProjectEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc($jc($jc($jc($jc(0, name.hashCode), color.hashCode), clientId.hashCode), taskRate.hashCode),
|
$jc($jc($jc($jc(0, name.hashCode), color.hashCode), clientId.hashCode),
|
||||||
dueDate.hashCode),
|
taskRate.hashCode),
|
||||||
privateNotes.hashCode),
|
dueDate.hashCode),
|
||||||
publicNotes.hashCode),
|
privateNotes.hashCode),
|
||||||
budgetedHours.hashCode),
|
publicNotes.hashCode),
|
||||||
customValue1.hashCode),
|
budgetedHours.hashCode),
|
||||||
customValue2.hashCode),
|
customValue1.hashCode),
|
||||||
customValue3.hashCode),
|
customValue2.hashCode),
|
||||||
customValue4.hashCode),
|
customValue3.hashCode),
|
||||||
number.hashCode),
|
customValue4.hashCode),
|
||||||
documents.hashCode),
|
number.hashCode),
|
||||||
isChanged.hashCode),
|
documents.hashCode),
|
||||||
createdAt.hashCode),
|
isChanged.hashCode),
|
||||||
updatedAt.hashCode),
|
createdAt.hashCode),
|
||||||
archivedAt.hashCode),
|
updatedAt.hashCode),
|
||||||
isDeleted.hashCode),
|
archivedAt.hashCode),
|
||||||
createdUserId.hashCode),
|
isDeleted.hashCode),
|
||||||
assignedUserId.hashCode),
|
createdUserId.hashCode),
|
||||||
idempotencyKey.hashCode),
|
assignedUserId.hashCode),
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -721,7 +706,6 @@ class _$ProjectEntity extends ProjectEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -820,11 +804,6 @@ class ProjectEntityBuilder
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -857,7 +836,6 @@ class ProjectEntityBuilder
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -911,7 +889,6 @@ class ProjectEntityBuilder
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'ProjectEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'ProjectEntity', 'id'));
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
String _$failedField;
|
String _$failedField;
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,6 @@ abstract class SubscriptionEntity extends Object
|
||||||
factory SubscriptionEntity({String id, AppState state}) {
|
factory SubscriptionEntity({String id, AppState state}) {
|
||||||
return _$SubscriptionEntity._(
|
return _$SubscriptionEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
name: '',
|
name: '',
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
isDeleted: false,
|
isDeleted: false,
|
||||||
|
|
|
||||||
|
|
@ -222,13 +222,6 @@ class _$SubscriptionEntitySerializer
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -353,10 +346,6 @@ class _$SubscriptionEntitySerializer
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -690,8 +679,6 @@ class _$SubscriptionEntity extends SubscriptionEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$SubscriptionEntity(
|
factory _$SubscriptionEntity(
|
||||||
|
|
@ -726,7 +713,6 @@ class _$SubscriptionEntity extends SubscriptionEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(name, 'SubscriptionEntity', 'name');
|
BuiltValueNullFieldError.checkNotNull(name, 'SubscriptionEntity', 'name');
|
||||||
|
|
@ -816,7 +802,6 @@ class _$SubscriptionEntity extends SubscriptionEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -841,25 +826,25 @@ class _$SubscriptionEntity extends SubscriptionEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, name.hashCode), groupId.hashCode), productIds.hashCode), recurringProductIds.hashCode), frequencyId.hashCode), autoBill.hashCode), promoCode.hashCode), promoDiscount.hashCode), price.hashCode), isAmountDiscount.hashCode),
|
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, name.hashCode), groupId.hashCode), productIds.hashCode), recurringProductIds.hashCode), frequencyId.hashCode), autoBill.hashCode), promoCode.hashCode), promoDiscount.hashCode), price.hashCode),
|
||||||
allowCancellation.hashCode),
|
isAmountDiscount.hashCode),
|
||||||
perSeatEnabled.hashCode),
|
allowCancellation.hashCode),
|
||||||
maxSeatsLimit.hashCode),
|
perSeatEnabled.hashCode),
|
||||||
trialEnabled.hashCode),
|
maxSeatsLimit.hashCode),
|
||||||
trialDuration.hashCode),
|
trialEnabled.hashCode),
|
||||||
allowQueryOverrides.hashCode),
|
trialDuration.hashCode),
|
||||||
allowPlanChanges.hashCode),
|
allowQueryOverrides.hashCode),
|
||||||
refundPeriod.hashCode),
|
allowPlanChanges.hashCode),
|
||||||
webhookConfiguration.hashCode),
|
refundPeriod.hashCode),
|
||||||
purchasePage.hashCode),
|
webhookConfiguration.hashCode),
|
||||||
isChanged.hashCode),
|
purchasePage.hashCode),
|
||||||
createdAt.hashCode),
|
isChanged.hashCode),
|
||||||
updatedAt.hashCode),
|
createdAt.hashCode),
|
||||||
archivedAt.hashCode),
|
updatedAt.hashCode),
|
||||||
isDeleted.hashCode),
|
archivedAt.hashCode),
|
||||||
createdUserId.hashCode),
|
isDeleted.hashCode),
|
||||||
assignedUserId.hashCode),
|
createdUserId.hashCode),
|
||||||
idempotencyKey.hashCode),
|
assignedUserId.hashCode),
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -893,7 +878,6 @@ class _$SubscriptionEntity extends SubscriptionEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -1023,11 +1007,6 @@ class SubscriptionEntityBuilder
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -1064,7 +1043,6 @@ class SubscriptionEntityBuilder
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -1123,7 +1101,6 @@ class SubscriptionEntityBuilder
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'SubscriptionEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'SubscriptionEntity', 'id'));
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
String _$failedField;
|
String _$failedField;
|
||||||
|
|
|
||||||
|
|
@ -260,7 +260,6 @@ abstract class TaskEntity extends Object
|
||||||
|
|
||||||
return _$TaskEntity._(
|
return _$TaskEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
number: '',
|
number: '',
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
description: '',
|
description: '',
|
||||||
|
|
@ -296,7 +295,6 @@ abstract class TaskEntity extends Object
|
||||||
|
|
||||||
TaskEntity get clone => rebuild((b) => b
|
TaskEntity get clone => rebuild((b) => b
|
||||||
..id = BaseEntity.nextId
|
..id = BaseEntity.nextId
|
||||||
..idempotencyKey = BaseEntity.nextIdempotencyKey
|
|
||||||
..number = ''
|
..number = ''
|
||||||
..isChanged = false
|
..isChanged = false
|
||||||
..isDeleted = false
|
..isDeleted = false
|
||||||
|
|
|
||||||
|
|
@ -253,13 +253,6 @@ class _$TaskEntitySerializer implements StructuredSerializer<TaskEntity> {
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -364,10 +357,6 @@ class _$TaskEntitySerializer implements StructuredSerializer<TaskEntity> {
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -691,8 +680,6 @@ class _$TaskEntity extends TaskEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$TaskEntity([void Function(TaskEntityBuilder) updates]) =>
|
factory _$TaskEntity([void Function(TaskEntityBuilder) updates]) =>
|
||||||
|
|
@ -721,7 +708,6 @@ class _$TaskEntity extends TaskEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(
|
BuiltValueNullFieldError.checkNotNull(
|
||||||
|
|
@ -783,7 +769,6 @@ class _$TaskEntity extends TaskEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -808,25 +793,25 @@ class _$TaskEntity extends TaskEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc($jc($jc($jc($jc($jc(0, description.hashCode), number.hashCode), duration.hashCode), invoiceId.hashCode), clientId.hashCode),
|
$jc($jc($jc($jc($jc(0, description.hashCode), number.hashCode), duration.hashCode), invoiceId.hashCode),
|
||||||
rate.hashCode),
|
clientId.hashCode),
|
||||||
projectId.hashCode),
|
rate.hashCode),
|
||||||
timeLog.hashCode),
|
projectId.hashCode),
|
||||||
customValue1.hashCode),
|
timeLog.hashCode),
|
||||||
customValue2.hashCode),
|
customValue1.hashCode),
|
||||||
customValue3.hashCode),
|
customValue2.hashCode),
|
||||||
customValue4.hashCode),
|
customValue3.hashCode),
|
||||||
statusId.hashCode),
|
customValue4.hashCode),
|
||||||
statusOrder.hashCode),
|
statusId.hashCode),
|
||||||
documents.hashCode),
|
statusOrder.hashCode),
|
||||||
isChanged.hashCode),
|
documents.hashCode),
|
||||||
createdAt.hashCode),
|
isChanged.hashCode),
|
||||||
updatedAt.hashCode),
|
createdAt.hashCode),
|
||||||
archivedAt.hashCode),
|
updatedAt.hashCode),
|
||||||
isDeleted.hashCode),
|
archivedAt.hashCode),
|
||||||
createdUserId.hashCode),
|
isDeleted.hashCode),
|
||||||
assignedUserId.hashCode),
|
createdUserId.hashCode),
|
||||||
idempotencyKey.hashCode),
|
assignedUserId.hashCode),
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -855,7 +840,6 @@ class _$TaskEntity extends TaskEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -956,11 +940,6 @@ class TaskEntityBuilder implements Builder<TaskEntity, TaskEntityBuilder> {
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -992,7 +971,6 @@ class TaskEntityBuilder implements Builder<TaskEntity, TaskEntityBuilder> {
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -1047,7 +1025,6 @@ class TaskEntityBuilder implements Builder<TaskEntity, TaskEntityBuilder> {
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'TaskEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'TaskEntity', 'id'));
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
String _$failedField;
|
String _$failedField;
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,6 @@ abstract class TaskStatusEntity extends Object
|
||||||
factory TaskStatusEntity({String id, AppState state}) {
|
factory TaskStatusEntity({String id, AppState state}) {
|
||||||
return _$TaskStatusEntity._(
|
return _$TaskStatusEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
name: '',
|
name: '',
|
||||||
color: '',
|
color: '',
|
||||||
createdUserId: '',
|
createdUserId: '',
|
||||||
|
|
|
||||||
|
|
@ -172,13 +172,6 @@ class _$TaskStatusEntitySerializer
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -234,10 +227,6 @@ class _$TaskStatusEntitySerializer
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -459,8 +448,6 @@ class _$TaskStatusEntity extends TaskStatusEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$TaskStatusEntity(
|
factory _$TaskStatusEntity(
|
||||||
|
|
@ -478,7 +465,6 @@ class _$TaskStatusEntity extends TaskStatusEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(name, 'TaskStatusEntity', 'name');
|
BuiltValueNullFieldError.checkNotNull(name, 'TaskStatusEntity', 'name');
|
||||||
|
|
@ -514,7 +500,6 @@ class _$TaskStatusEntity extends TaskStatusEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -530,18 +515,16 @@ class _$TaskStatusEntity extends TaskStatusEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc($jc(0, name.hashCode),
|
||||||
$jc($jc(0, name.hashCode),
|
color.hashCode),
|
||||||
color.hashCode),
|
statusOrder.hashCode),
|
||||||
statusOrder.hashCode),
|
isChanged.hashCode),
|
||||||
isChanged.hashCode),
|
createdAt.hashCode),
|
||||||
createdAt.hashCode),
|
updatedAt.hashCode),
|
||||||
updatedAt.hashCode),
|
archivedAt.hashCode),
|
||||||
archivedAt.hashCode),
|
isDeleted.hashCode),
|
||||||
isDeleted.hashCode),
|
createdUserId.hashCode),
|
||||||
createdUserId.hashCode),
|
assignedUserId.hashCode),
|
||||||
assignedUserId.hashCode),
|
|
||||||
idempotencyKey.hashCode),
|
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -558,7 +541,6 @@ class _$TaskStatusEntity extends TaskStatusEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -610,11 +592,6 @@ class TaskStatusEntityBuilder
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -636,7 +613,6 @@ class TaskStatusEntityBuilder
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -673,7 +649,6 @@ class TaskStatusEntityBuilder
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(
|
id: BuiltValueNullFieldError.checkNotNull(
|
||||||
id, 'TaskStatusEntity', 'id'));
|
id, 'TaskStatusEntity', 'id'));
|
||||||
replace(_$result);
|
replace(_$result);
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,6 @@ abstract class TaxRateEntity extends Object
|
||||||
factory TaxRateEntity({String id, String name, double rate, AppState state}) {
|
factory TaxRateEntity({String id, String name, double rate, AppState state}) {
|
||||||
return _$TaxRateEntity._(
|
return _$TaxRateEntity._(
|
||||||
id: BaseEntity.nextId,
|
id: BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
name: name ?? '',
|
name: name ?? '',
|
||||||
rate: rate ?? 0.0,
|
rate: rate ?? 0.0,
|
||||||
|
|
|
||||||
|
|
@ -163,13 +163,6 @@ class _$TaxRateEntitySerializer implements StructuredSerializer<TaxRateEntity> {
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -221,10 +214,6 @@ class _$TaxRateEntitySerializer implements StructuredSerializer<TaxRateEntity> {
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -441,8 +430,6 @@ class _$TaxRateEntity extends TaxRateEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$TaxRateEntity([void Function(TaxRateEntityBuilder) updates]) =>
|
factory _$TaxRateEntity([void Function(TaxRateEntityBuilder) updates]) =>
|
||||||
|
|
@ -458,7 +445,6 @@ class _$TaxRateEntity extends TaxRateEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(name, 'TaxRateEntity', 'name');
|
BuiltValueNullFieldError.checkNotNull(name, 'TaxRateEntity', 'name');
|
||||||
|
|
@ -492,7 +478,6 @@ class _$TaxRateEntity extends TaxRateEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -506,18 +491,14 @@ class _$TaxRateEntity extends TaxRateEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc($jc($jc(0, name.hashCode), rate.hashCode),
|
||||||
$jc(
|
isChanged.hashCode),
|
||||||
$jc($jc(0, name.hashCode),
|
createdAt.hashCode),
|
||||||
rate.hashCode),
|
updatedAt.hashCode),
|
||||||
isChanged.hashCode),
|
archivedAt.hashCode),
|
||||||
createdAt.hashCode),
|
isDeleted.hashCode),
|
||||||
updatedAt.hashCode),
|
createdUserId.hashCode),
|
||||||
archivedAt.hashCode),
|
assignedUserId.hashCode),
|
||||||
isDeleted.hashCode),
|
|
||||||
createdUserId.hashCode),
|
|
||||||
assignedUserId.hashCode),
|
|
||||||
idempotencyKey.hashCode),
|
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -533,7 +514,6 @@ class _$TaxRateEntity extends TaxRateEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -581,11 +561,6 @@ class TaxRateEntityBuilder
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -604,7 +579,6 @@ class TaxRateEntityBuilder
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -640,7 +614,6 @@ class TaxRateEntityBuilder
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(
|
id: BuiltValueNullFieldError.checkNotNull(
|
||||||
id, 'TaxRateEntity', 'id'));
|
id, 'TaxRateEntity', 'id'));
|
||||||
replace(_$result);
|
replace(_$result);
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,6 @@ abstract class TokenEntity extends Object
|
||||||
factory TokenEntity({String id, AppState state}) {
|
factory TokenEntity({String id, AppState state}) {
|
||||||
return _$TokenEntity._(
|
return _$TokenEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
name: '',
|
name: '',
|
||||||
token: '',
|
token: '',
|
||||||
|
|
|
||||||
|
|
@ -158,13 +158,6 @@ class _$TokenEntitySerializer implements StructuredSerializer<TokenEntity> {
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -219,10 +212,6 @@ class _$TokenEntitySerializer implements StructuredSerializer<TokenEntity> {
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -437,8 +426,6 @@ class _$TokenEntity extends TokenEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$TokenEntity([void Function(TokenEntityBuilder) updates]) =>
|
factory _$TokenEntity([void Function(TokenEntityBuilder) updates]) =>
|
||||||
|
|
@ -455,7 +442,6 @@ class _$TokenEntity extends TokenEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(isSystem, 'TokenEntity', 'isSystem');
|
BuiltValueNullFieldError.checkNotNull(isSystem, 'TokenEntity', 'isSystem');
|
||||||
|
|
@ -491,7 +477,6 @@ class _$TokenEntity extends TokenEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -507,18 +492,16 @@ class _$TokenEntity extends TokenEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc($jc(0, isSystem.hashCode),
|
||||||
$jc($jc(0, isSystem.hashCode),
|
token.hashCode),
|
||||||
token.hashCode),
|
name.hashCode),
|
||||||
name.hashCode),
|
isChanged.hashCode),
|
||||||
isChanged.hashCode),
|
createdAt.hashCode),
|
||||||
createdAt.hashCode),
|
updatedAt.hashCode),
|
||||||
updatedAt.hashCode),
|
archivedAt.hashCode),
|
||||||
archivedAt.hashCode),
|
isDeleted.hashCode),
|
||||||
isDeleted.hashCode),
|
createdUserId.hashCode),
|
||||||
createdUserId.hashCode),
|
assignedUserId.hashCode),
|
||||||
assignedUserId.hashCode),
|
|
||||||
idempotencyKey.hashCode),
|
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -535,7 +518,6 @@ class _$TokenEntity extends TokenEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -586,11 +568,6 @@ class TokenEntityBuilder implements Builder<TokenEntity, TokenEntityBuilder> {
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -610,7 +587,6 @@ class TokenEntityBuilder implements Builder<TokenEntity, TokenEntityBuilder> {
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -648,7 +624,6 @@ class TokenEntityBuilder implements Builder<TokenEntity, TokenEntityBuilder> {
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'TokenEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'TokenEntity', 'id'));
|
||||||
replace(_$result);
|
replace(_$result);
|
||||||
return _$result;
|
return _$result;
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,6 @@ abstract class TransactionEntity extends Object
|
||||||
factory TransactionEntity({String id, AppState state}) {
|
factory TransactionEntity({String id, AppState state}) {
|
||||||
return _$TransactionEntity._(
|
return _$TransactionEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
isDeleted: false,
|
isDeleted: false,
|
||||||
createdAt: 0,
|
createdAt: 0,
|
||||||
|
|
|
||||||
|
|
@ -201,13 +201,6 @@ class _$TransactionEntitySerializer
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -303,10 +296,6 @@ class _$TransactionEntitySerializer
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -601,8 +590,6 @@ class _$TransactionEntity extends TransactionEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$TransactionEntity(
|
factory _$TransactionEntity(
|
||||||
|
|
@ -630,7 +617,6 @@ class _$TransactionEntity extends TransactionEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(
|
BuiltValueNullFieldError.checkNotNull(
|
||||||
|
|
@ -699,7 +685,6 @@ class _$TransactionEntity extends TransactionEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -724,25 +709,25 @@ class _$TransactionEntity extends TransactionEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc($jc($jc($jc(0, amount.hashCode), currencyId.hashCode), category.hashCode),
|
$jc($jc($jc(0, amount.hashCode), currencyId.hashCode),
|
||||||
baseType.hashCode),
|
category.hashCode),
|
||||||
date.hashCode),
|
baseType.hashCode),
|
||||||
bankAccountId.hashCode),
|
date.hashCode),
|
||||||
description.hashCode),
|
bankAccountId.hashCode),
|
||||||
statusId.hashCode),
|
description.hashCode),
|
||||||
categoryId.hashCode),
|
statusId.hashCode),
|
||||||
invoiceIds.hashCode),
|
categoryId.hashCode),
|
||||||
expenseId.hashCode),
|
invoiceIds.hashCode),
|
||||||
vendorId.hashCode),
|
expenseId.hashCode),
|
||||||
transactionId.hashCode),
|
vendorId.hashCode),
|
||||||
isChanged.hashCode),
|
transactionId.hashCode),
|
||||||
createdAt.hashCode),
|
isChanged.hashCode),
|
||||||
updatedAt.hashCode),
|
createdAt.hashCode),
|
||||||
archivedAt.hashCode),
|
updatedAt.hashCode),
|
||||||
isDeleted.hashCode),
|
archivedAt.hashCode),
|
||||||
createdUserId.hashCode),
|
isDeleted.hashCode),
|
||||||
assignedUserId.hashCode),
|
createdUserId.hashCode),
|
||||||
idempotencyKey.hashCode),
|
assignedUserId.hashCode),
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -769,7 +754,6 @@ class _$TransactionEntity extends TransactionEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -862,11 +846,6 @@ class TransactionEntityBuilder
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -898,7 +877,6 @@ class TransactionEntityBuilder
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -949,7 +927,6 @@ class TransactionEntityBuilder
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'TransactionEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'TransactionEntity', 'id'));
|
||||||
replace(_$result);
|
replace(_$result);
|
||||||
return _$result;
|
return _$result;
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,6 @@ abstract class UserEntity extends Object
|
||||||
{String id, AppState state, UserCompanyEntity userCompany}) {
|
{String id, AppState state, UserCompanyEntity userCompany}) {
|
||||||
return _$UserEntity._(
|
return _$UserEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
createdUserId: '',
|
createdUserId: '',
|
||||||
createdAt: 0,
|
createdAt: 0,
|
||||||
|
|
|
||||||
|
|
@ -354,13 +354,6 @@ class _$UserEntitySerializer implements StructuredSerializer<UserEntity> {
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -468,10 +461,6 @@ class _$UserEntitySerializer implements StructuredSerializer<UserEntity> {
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -997,8 +986,6 @@ class _$UserEntity extends UserEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$UserEntity([void Function(UserEntityBuilder) updates]) =>
|
factory _$UserEntity([void Function(UserEntityBuilder) updates]) =>
|
||||||
|
|
@ -1028,7 +1015,6 @@ class _$UserEntity extends UserEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(firstName, 'UserEntity', 'firstName');
|
BuiltValueNullFieldError.checkNotNull(firstName, 'UserEntity', 'firstName');
|
||||||
|
|
@ -1095,7 +1081,6 @@ class _$UserEntity extends UserEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1120,25 +1105,25 @@ class _$UserEntity extends UserEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc($jc($jc($jc($jc($jc($jc(0, firstName.hashCode), lastName.hashCode), email.hashCode), phone.hashCode), password.hashCode), emailVerifiedAt.hashCode),
|
$jc($jc($jc($jc($jc($jc(0, firstName.hashCode), lastName.hashCode), email.hashCode), phone.hashCode), password.hashCode),
|
||||||
customValue1.hashCode),
|
emailVerifiedAt.hashCode),
|
||||||
customValue2.hashCode),
|
customValue1.hashCode),
|
||||||
customValue3.hashCode),
|
customValue2.hashCode),
|
||||||
customValue4.hashCode),
|
customValue3.hashCode),
|
||||||
isTwoFactorEnabled.hashCode),
|
customValue4.hashCode),
|
||||||
hasPassword.hashCode),
|
isTwoFactorEnabled.hashCode),
|
||||||
lastEmailAddress.hashCode),
|
hasPassword.hashCode),
|
||||||
oauthUserToken.hashCode),
|
lastEmailAddress.hashCode),
|
||||||
userCompany.hashCode),
|
oauthUserToken.hashCode),
|
||||||
oauthProvider.hashCode),
|
userCompany.hashCode),
|
||||||
isChanged.hashCode),
|
oauthProvider.hashCode),
|
||||||
createdAt.hashCode),
|
isChanged.hashCode),
|
||||||
updatedAt.hashCode),
|
createdAt.hashCode),
|
||||||
archivedAt.hashCode),
|
updatedAt.hashCode),
|
||||||
isDeleted.hashCode),
|
archivedAt.hashCode),
|
||||||
createdUserId.hashCode),
|
isDeleted.hashCode),
|
||||||
assignedUserId.hashCode),
|
createdUserId.hashCode),
|
||||||
idempotencyKey.hashCode),
|
assignedUserId.hashCode),
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1168,7 +1153,6 @@ class _$UserEntity extends UserEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -1278,11 +1262,6 @@ class UserEntityBuilder implements Builder<UserEntity, UserEntityBuilder> {
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -1317,7 +1296,6 @@ class UserEntityBuilder implements Builder<UserEntity, UserEntityBuilder> {
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -1374,7 +1352,6 @@ class UserEntityBuilder implements Builder<UserEntity, UserEntityBuilder> {
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'UserEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'UserEntity', 'id'));
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
String _$failedField;
|
String _$failedField;
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,6 @@ abstract class VendorEntity extends Object
|
||||||
factory VendorEntity({String id, AppState state, UserEntity user}) {
|
factory VendorEntity({String id, AppState state, UserEntity user}) {
|
||||||
return _$VendorEntity._(
|
return _$VendorEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
number: '',
|
number: '',
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
name: '',
|
name: '',
|
||||||
|
|
@ -130,7 +129,6 @@ abstract class VendorEntity extends Object
|
||||||
|
|
||||||
VendorEntity get clone => rebuild((b) => b
|
VendorEntity get clone => rebuild((b) => b
|
||||||
..id = BaseEntity.nextId
|
..id = BaseEntity.nextId
|
||||||
..idempotencyKey = BaseEntity.nextIdempotencyKey
|
|
||||||
..number = ''
|
..number = ''
|
||||||
..documents.clear()
|
..documents.clear()
|
||||||
..isChanged = false
|
..isChanged = false
|
||||||
|
|
@ -490,7 +488,6 @@ abstract class VendorContactEntity extends Object
|
||||||
factory VendorContactEntity() {
|
factory VendorContactEntity() {
|
||||||
return _$VendorContactEntity._(
|
return _$VendorContactEntity._(
|
||||||
id: BaseEntity.nextId,
|
id: BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
firstName: '',
|
firstName: '',
|
||||||
lastName: '',
|
lastName: '',
|
||||||
|
|
|
||||||
|
|
@ -220,13 +220,6 @@ class _$VendorEntitySerializer implements StructuredSerializer<VendorEntity> {
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -363,10 +356,6 @@ class _$VendorEntitySerializer implements StructuredSerializer<VendorEntity> {
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -463,13 +452,6 @@ class _$VendorContactEntitySerializer
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -553,10 +535,6 @@ class _$VendorContactEntitySerializer
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -813,8 +791,6 @@ class _$VendorEntity extends VendorEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$VendorEntity([void Function(VendorEntityBuilder) updates]) =>
|
factory _$VendorEntity([void Function(VendorEntityBuilder) updates]) =>
|
||||||
|
|
@ -850,7 +826,6 @@ class _$VendorEntity extends VendorEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(name, 'VendorEntity', 'name');
|
BuiltValueNullFieldError.checkNotNull(name, 'VendorEntity', 'name');
|
||||||
|
|
@ -936,7 +911,6 @@ class _$VendorEntity extends VendorEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -961,25 +935,25 @@ class _$VendorEntity extends VendorEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, name.hashCode), address1.hashCode), address2.hashCode), city.hashCode), state.hashCode), postalCode.hashCode), countryId.hashCode), phone.hashCode), privateNotes.hashCode), publicNotes.hashCode), website.hashCode), number.hashCode),
|
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, name.hashCode), address1.hashCode), address2.hashCode), city.hashCode), state.hashCode), postalCode.hashCode), countryId.hashCode), phone.hashCode), privateNotes.hashCode), publicNotes.hashCode), website.hashCode),
|
||||||
vatNumber.hashCode),
|
number.hashCode),
|
||||||
idNumber.hashCode),
|
vatNumber.hashCode),
|
||||||
currencyId.hashCode),
|
idNumber.hashCode),
|
||||||
customValue1.hashCode),
|
currencyId.hashCode),
|
||||||
customValue2.hashCode),
|
customValue1.hashCode),
|
||||||
customValue3.hashCode),
|
customValue2.hashCode),
|
||||||
customValue4.hashCode),
|
customValue3.hashCode),
|
||||||
contacts.hashCode),
|
customValue4.hashCode),
|
||||||
activities.hashCode),
|
contacts.hashCode),
|
||||||
documents.hashCode),
|
activities.hashCode),
|
||||||
isChanged.hashCode),
|
documents.hashCode),
|
||||||
createdAt.hashCode),
|
isChanged.hashCode),
|
||||||
updatedAt.hashCode),
|
createdAt.hashCode),
|
||||||
archivedAt.hashCode),
|
updatedAt.hashCode),
|
||||||
isDeleted.hashCode),
|
archivedAt.hashCode),
|
||||||
createdUserId.hashCode),
|
isDeleted.hashCode),
|
||||||
assignedUserId.hashCode),
|
createdUserId.hashCode),
|
||||||
idempotencyKey.hashCode),
|
assignedUserId.hashCode),
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1015,7 +989,6 @@ class _$VendorEntity extends VendorEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -1149,11 +1122,6 @@ class VendorEntityBuilder
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -1194,7 +1162,6 @@ class VendorEntityBuilder
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -1257,7 +1224,6 @@ class VendorEntityBuilder
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'VendorEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'VendorEntity', 'id'));
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
String _$failedField;
|
String _$failedField;
|
||||||
|
|
@ -1315,8 +1281,6 @@ class _$VendorContactEntity extends VendorContactEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$VendorContactEntity(
|
factory _$VendorContactEntity(
|
||||||
|
|
@ -1341,7 +1305,6 @@ class _$VendorContactEntity extends VendorContactEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(
|
BuiltValueNullFieldError.checkNotNull(
|
||||||
|
|
@ -1402,7 +1365,6 @@ class _$VendorContactEntity extends VendorContactEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1427,31 +1389,28 @@ class _$VendorContactEntity extends VendorContactEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
0,
|
||||||
0,
|
firstName
|
||||||
firstName
|
|
||||||
.hashCode),
|
|
||||||
lastName
|
|
||||||
.hashCode),
|
.hashCode),
|
||||||
email
|
lastName
|
||||||
.hashCode),
|
.hashCode),
|
||||||
isPrimary
|
email
|
||||||
.hashCode),
|
.hashCode),
|
||||||
phone.hashCode),
|
isPrimary
|
||||||
customValue1
|
.hashCode),
|
||||||
.hashCode),
|
phone.hashCode),
|
||||||
customValue2.hashCode),
|
customValue1.hashCode),
|
||||||
customValue3.hashCode),
|
customValue2.hashCode),
|
||||||
customValue4.hashCode),
|
customValue3.hashCode),
|
||||||
link.hashCode),
|
customValue4.hashCode),
|
||||||
isChanged.hashCode),
|
link.hashCode),
|
||||||
createdAt.hashCode),
|
isChanged.hashCode),
|
||||||
updatedAt.hashCode),
|
createdAt.hashCode),
|
||||||
archivedAt.hashCode),
|
updatedAt.hashCode),
|
||||||
isDeleted.hashCode),
|
archivedAt.hashCode),
|
||||||
createdUserId.hashCode),
|
isDeleted.hashCode),
|
||||||
assignedUserId.hashCode),
|
createdUserId.hashCode),
|
||||||
idempotencyKey.hashCode),
|
assignedUserId.hashCode),
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1475,7 +1434,6 @@ class _$VendorContactEntity extends VendorContactEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -1555,11 +1513,6 @@ class VendorContactEntityBuilder
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -1588,7 +1541,6 @@ class VendorContactEntityBuilder
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -1636,7 +1588,6 @@ class VendorContactEntityBuilder
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(id, 'VendorContactEntity', 'id'));
|
id: BuiltValueNullFieldError.checkNotNull(id, 'VendorContactEntity', 'id'));
|
||||||
replace(_$result);
|
replace(_$result);
|
||||||
return _$result;
|
return _$result;
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,6 @@ abstract class WebhookEntity extends Object
|
||||||
factory WebhookEntity({String id, AppState state}) {
|
factory WebhookEntity({String id, AppState state}) {
|
||||||
return _$WebhookEntity._(
|
return _$WebhookEntity._(
|
||||||
id: id ?? BaseEntity.nextId,
|
id: id ?? BaseEntity.nextId,
|
||||||
idempotencyKey: BaseEntity.nextIdempotencyKey,
|
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
eventId: '',
|
eventId: '',
|
||||||
format: 'JSON',
|
format: 'JSON',
|
||||||
|
|
|
||||||
|
|
@ -175,13 +175,6 @@ class _$WebhookEntitySerializer implements StructuredSerializer<WebhookEntity> {
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(String)));
|
specifiedType: const FullType(String)));
|
||||||
}
|
}
|
||||||
value = object.idempotencyKey;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('idempotency_key')
|
|
||||||
..add(serializers.serialize(value,
|
|
||||||
specifiedType: const FullType(String)));
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -246,10 +239,6 @@ class _$WebhookEntitySerializer implements StructuredSerializer<WebhookEntity> {
|
||||||
result.assignedUserId = serializers.deserialize(value,
|
result.assignedUserId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'idempotency_key':
|
|
||||||
result.idempotencyKey = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(String)) as String;
|
|
||||||
break;
|
|
||||||
case 'id':
|
case 'id':
|
||||||
result.id = serializers.deserialize(value,
|
result.id = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -472,8 +461,6 @@ class _$WebhookEntity extends WebhookEntity {
|
||||||
@override
|
@override
|
||||||
final String assignedUserId;
|
final String assignedUserId;
|
||||||
@override
|
@override
|
||||||
final String idempotencyKey;
|
|
||||||
@override
|
|
||||||
final String id;
|
final String id;
|
||||||
|
|
||||||
factory _$WebhookEntity([void Function(WebhookEntityBuilder) updates]) =>
|
factory _$WebhookEntity([void Function(WebhookEntityBuilder) updates]) =>
|
||||||
|
|
@ -492,7 +479,6 @@ class _$WebhookEntity extends WebhookEntity {
|
||||||
this.isDeleted,
|
this.isDeleted,
|
||||||
this.createdUserId,
|
this.createdUserId,
|
||||||
this.assignedUserId,
|
this.assignedUserId,
|
||||||
this.idempotencyKey,
|
|
||||||
this.id})
|
this.id})
|
||||||
: super._() {
|
: super._() {
|
||||||
BuiltValueNullFieldError.checkNotNull(eventId, 'WebhookEntity', 'eventId');
|
BuiltValueNullFieldError.checkNotNull(eventId, 'WebhookEntity', 'eventId');
|
||||||
|
|
@ -534,7 +520,6 @@ class _$WebhookEntity extends WebhookEntity {
|
||||||
isDeleted == other.isDeleted &&
|
isDeleted == other.isDeleted &&
|
||||||
createdUserId == other.createdUserId &&
|
createdUserId == other.createdUserId &&
|
||||||
assignedUserId == other.assignedUserId &&
|
assignedUserId == other.assignedUserId &&
|
||||||
idempotencyKey == other.idempotencyKey &&
|
|
||||||
id == other.id;
|
id == other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -552,22 +537,18 @@ class _$WebhookEntity extends WebhookEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc($jc(0, eventId.hashCode),
|
||||||
$jc(
|
targetUrl.hashCode),
|
||||||
$jc(0,
|
format.hashCode),
|
||||||
eventId.hashCode),
|
restMethod.hashCode),
|
||||||
targetUrl.hashCode),
|
headers.hashCode),
|
||||||
format.hashCode),
|
isChanged.hashCode),
|
||||||
restMethod.hashCode),
|
createdAt.hashCode),
|
||||||
headers.hashCode),
|
updatedAt.hashCode),
|
||||||
isChanged.hashCode),
|
archivedAt.hashCode),
|
||||||
createdAt.hashCode),
|
isDeleted.hashCode),
|
||||||
updatedAt.hashCode),
|
createdUserId.hashCode),
|
||||||
archivedAt.hashCode),
|
assignedUserId.hashCode),
|
||||||
isDeleted.hashCode),
|
|
||||||
createdUserId.hashCode),
|
|
||||||
assignedUserId.hashCode),
|
|
||||||
idempotencyKey.hashCode),
|
|
||||||
id.hashCode));
|
id.hashCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -586,7 +567,6 @@ class _$WebhookEntity extends WebhookEntity {
|
||||||
..add('isDeleted', isDeleted)
|
..add('isDeleted', isDeleted)
|
||||||
..add('createdUserId', createdUserId)
|
..add('createdUserId', createdUserId)
|
||||||
..add('assignedUserId', assignedUserId)
|
..add('assignedUserId', assignedUserId)
|
||||||
..add('idempotencyKey', idempotencyKey)
|
|
||||||
..add('id', id))
|
..add('id', id))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -647,11 +627,6 @@ class WebhookEntityBuilder
|
||||||
set assignedUserId(String assignedUserId) =>
|
set assignedUserId(String assignedUserId) =>
|
||||||
_$this._assignedUserId = assignedUserId;
|
_$this._assignedUserId = assignedUserId;
|
||||||
|
|
||||||
String _idempotencyKey;
|
|
||||||
String get idempotencyKey => _$this._idempotencyKey;
|
|
||||||
set idempotencyKey(String idempotencyKey) =>
|
|
||||||
_$this._idempotencyKey = idempotencyKey;
|
|
||||||
|
|
||||||
String _id;
|
String _id;
|
||||||
String get id => _$this._id;
|
String get id => _$this._id;
|
||||||
set id(String id) => _$this._id = id;
|
set id(String id) => _$this._id = id;
|
||||||
|
|
@ -675,7 +650,6 @@ class WebhookEntityBuilder
|
||||||
_isDeleted = $v.isDeleted;
|
_isDeleted = $v.isDeleted;
|
||||||
_createdUserId = $v.createdUserId;
|
_createdUserId = $v.createdUserId;
|
||||||
_assignedUserId = $v.assignedUserId;
|
_assignedUserId = $v.assignedUserId;
|
||||||
_idempotencyKey = $v.idempotencyKey;
|
|
||||||
_id = $v.id;
|
_id = $v.id;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -718,7 +692,6 @@ class WebhookEntityBuilder
|
||||||
isDeleted: isDeleted,
|
isDeleted: isDeleted,
|
||||||
createdUserId: createdUserId,
|
createdUserId: createdUserId,
|
||||||
assignedUserId: assignedUserId,
|
assignedUserId: assignedUserId,
|
||||||
idempotencyKey: idempotencyKey,
|
|
||||||
id: BuiltValueNullFieldError.checkNotNull(
|
id: BuiltValueNullFieldError.checkNotNull(
|
||||||
id, 'WebhookEntity', 'id'));
|
id, 'WebhookEntity', 'id'));
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
|
|
|
||||||
|
|
@ -285,7 +285,7 @@ class _UpgradeDialogState extends State<UpgradeDialog> {
|
||||||
_purchasePending = false;
|
_purchasePending = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
final navigator = Navigator.of(context);
|
//final navigator = Navigator.of(context);
|
||||||
final store = StoreProvider.of<AppState>(context);
|
final store = StoreProvider.of<AppState>(context);
|
||||||
final state = store.state;
|
final state = store.state;
|
||||||
final url = (state.isStaging ? kAppStagingUrl : kAppProductionUrl) +
|
final url = (state.isStaging ? kAppStagingUrl : kAppProductionUrl) +
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue