diff --git a/public/main.profile.dart.js b/public/main.profile.dart.js index 2f16a9472ff9..ae703e5c8224 100644 --- a/public/main.profile.dart.js +++ b/public/main.profile.dart.js @@ -56319,10 +56319,10 @@ t1 = "" + t1; } else t1 = id; - return A._$BankAccountEntity$_(0, "", 0, 0, "", "", t1, A.getRandomString(), false, false, "", "", "", "", 0); + return A._$BankAccountEntity$_(0, "", 0, 0, "", "", t1, false, false, "", "", "", "", 0); }, - _$BankAccountEntity$_(archivedAt, assignedUserId, balance, createdAt, createdUserId, currency, id, idempotencyKey, isChanged, isDeleted, $name, provider, $status, type, updatedAt) { - return new A._$BankAccountEntity($name, $status, type, provider, balance, currency, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + _$BankAccountEntity$_(archivedAt, assignedUserId, balance, createdAt, createdUserId, currency, id, isChanged, isDeleted, $name, provider, $status, type, updatedAt) { + return new A._$BankAccountEntity($name, $status, type, provider, balance, currency, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, BankAccountListResponse: function BankAccountListResponse() { }, @@ -56350,7 +56350,7 @@ BankAccountItemResponseBuilder: function BankAccountItemResponseBuilder() { this._bank_account_model$_data = this._bank_account_model$_$v = null; }, - _$BankAccountEntity: function _$BankAccountEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + _$BankAccountEntity: function _$BankAccountEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.name = t0; _.status = t1; @@ -56365,45 +56365,43 @@ _.isDeleted = t10; _.createdUserId = t11; _.assignedUserId = t12; - _.idempotencyKey = t13; - _.id = t14; + _.id = t13; _._bank_account_model$__hashCode = null; }, BankAccountEntityBuilder: function BankAccountEntityBuilder() { var _ = this; - _._bank_account_model$_id = _._bank_account_model$_idempotencyKey = _._bank_account_model$_assignedUserId = _._bank_account_model$_createdUserId = _._bank_account_model$_isDeleted = _._bank_account_model$_archivedAt = _._bank_account_model$_updatedAt = _._bank_account_model$_createdAt = _._bank_account_model$_isChanged = _._currency = _._bank_account_model$_balance = _._provider = _._bank_account_model$_type = _._status = _._bank_account_model$_name = _._bank_account_model$_$v = null; + _._bank_account_model$_id = _._bank_account_model$_assignedUserId = _._bank_account_model$_createdUserId = _._bank_account_model$_isDeleted = _._bank_account_model$_archivedAt = _._bank_account_model$_updatedAt = _._bank_account_model$_createdAt = _._bank_account_model$_isChanged = _._currency = _._bank_account_model$_balance = _._provider = _._bank_account_model$_type = _._status = _._bank_account_model$_name = _._bank_account_model$_$v = null; }, _BankAccountEntity_Object_BaseEntity: function _BankAccountEntity_Object_BaseEntity() { }, ClientEntity_ClientEntity(group, id, state, user) { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, _null = null; + var t1, t2, t3, t4, t5, t6, t7, t8, t9, _null = null; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; - t2 = A.getRandomString(); - t3 = A.SettingsEntity_SettingsEntity(_null, _null, _null); - t4 = group == null ? _null : group.id; - if (t4 == null) - t4 = ""; - t5 = A.BuiltList_BuiltList$from(A._setArrayType([A.ClientContactEntity_ClientContactEntity().rebuild$1(new A.ClientEntity_ClientEntity_closure())], type$.JSArray_legacy_ClientContactEntity), type$.legacy_ClientContactEntity); - t6 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_ActivityEntity); - t7 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_LedgerEntity); - t8 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_GatewayTokenEntity); - t9 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_SystemLogEntity); - t10 = user == null ? _null : user.id; - if (t10 == null) - t10 = ""; - return A._$ClientEntity$_(t6, "", "", 0, t10, 0, "", "", t5, "", 0, "", 0, "", "", "", "", "", A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_DocumentEntity), t8, t4, t1, "", t2, "", false, false, 0, t7, 0, "", "", 0, "", "", "", "", t3, "", "", "", "", "", "", "", "", t9, 0, "", ""); + t2 = A.SettingsEntity_SettingsEntity(_null, _null, _null); + t3 = group == null ? _null : group.id; + if (t3 == null) + t3 = ""; + t4 = A.BuiltList_BuiltList$from(A._setArrayType([A.ClientContactEntity_ClientContactEntity().rebuild$1(new A.ClientEntity_ClientEntity_closure())], type$.JSArray_legacy_ClientContactEntity), type$.legacy_ClientContactEntity); + t5 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_ActivityEntity); + t6 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_LedgerEntity); + t7 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_GatewayTokenEntity); + t8 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_SystemLogEntity); + t9 = user == null ? _null : user.id; + if (t9 == null) + t9 = ""; + return A._$ClientEntity$_(t5, "", "", 0, t9, 0, "", "", t4, "", 0, "", 0, "", "", "", "", "", A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_DocumentEntity), t7, t3, t1, "", "", false, false, 0, t6, 0, "", "", 0, "", "", "", "", t2, "", "", "", "", "", "", "", "", t8, 0, "", ""); }, ClientContactEntity_ClientContactEntity() { var t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; - return A._$ClientContactEntity$_(0, "", "", 0, "", "", "", "", "", "", "", "" + t1, A.getRandomString(), false, false, false, 0, "", "", "", "", true, 0); + return A._$ClientContactEntity$_(0, "", "", 0, "", "", "", "", "", "", "", "" + t1, false, false, false, 0, "", "", "", "", true, 0); }, - _$ClientEntity$_(activities, address1, address2, archivedAt, assignedUserId, balance, city, clientHash, contacts, countryId, createdAt, createdUserId, creditBalance, customValue1, customValue2, customValue3, customValue4, displayName, documents, gatewayTokens, groupId, id, idNumber, idempotencyKey, industryId, isChanged, isDeleted, lastLogin, ledger, loadedAt, $name, number, paidToDate, phone, postalCode, privateNotes, publicNotes, settings, shippingAddress1, shippingAddress2, shippingCity, shippingCountryId, shippingPostalCode, shippingState, sizeId, state, systemLogs, updatedAt, vatNumber, website) { + _$ClientEntity$_(activities, address1, address2, archivedAt, assignedUserId, balance, city, clientHash, contacts, countryId, createdAt, createdUserId, creditBalance, customValue1, customValue2, customValue3, customValue4, displayName, documents, gatewayTokens, groupId, id, idNumber, industryId, isChanged, isDeleted, lastLogin, ledger, loadedAt, $name, number, paidToDate, phone, postalCode, privateNotes, publicNotes, settings, shippingAddress1, shippingAddress2, shippingCity, shippingCountryId, shippingPostalCode, shippingState, sizeId, state, systemLogs, updatedAt, vatNumber, website) { var _s12_ = "ClientEntity"; if (settings == null) A.throwExpression(A.BuiltValueNullFieldError$(_s12_, "settings")); @@ -56419,10 +56417,10 @@ A.throwExpression(A.BuiltValueNullFieldError$(_s12_, "documents")); if (systemLogs == null) A.throwExpression(A.BuiltValueNullFieldError$(_s12_, "systemLogs")); - return new A._$ClientEntity(groupId, loadedAt, $name, displayName, balance, creditBalance, paidToDate, clientHash, address1, address2, city, state, postalCode, countryId, phone, privateNotes, publicNotes, website, industryId, sizeId, vatNumber, idNumber, number, shippingAddress1, shippingAddress2, shippingCity, shippingState, shippingPostalCode, shippingCountryId, settings, lastLogin, customValue1, customValue2, customValue3, customValue4, contacts, activities, ledger, gatewayTokens, documents, systemLogs, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + return new A._$ClientEntity(groupId, loadedAt, $name, displayName, balance, creditBalance, paidToDate, clientHash, address1, address2, city, state, postalCode, countryId, phone, privateNotes, publicNotes, website, industryId, sizeId, vatNumber, idNumber, number, shippingAddress1, shippingAddress2, shippingCity, shippingState, shippingPostalCode, shippingCountryId, settings, lastLogin, customValue1, customValue2, customValue3, customValue4, contacts, activities, ledger, gatewayTokens, documents, systemLogs, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, - _$ClientContactEntity$_(archivedAt, assignedUserId, contactKey, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, email, firstName, id, idempotencyKey, isChanged, isDeleted, isPrimary, lastLogin, lastName, link, password, phone, sendEmail, updatedAt) { - return new A._$ClientContactEntity(firstName, lastName, email, password, phone, contactKey, isPrimary, sendEmail, customValue1, customValue2, customValue3, customValue4, lastLogin, link, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + _$ClientContactEntity$_(archivedAt, assignedUserId, contactKey, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, email, firstName, id, isChanged, isDeleted, isPrimary, lastLogin, lastName, link, password, phone, sendEmail, updatedAt) { + return new A._$ClientContactEntity(firstName, lastName, email, password, phone, contactKey, isPrimary, sendEmail, customValue1, customValue2, customValue3, customValue4, lastLogin, link, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, ClientListResponse: function ClientListResponse() { }, @@ -56469,7 +56467,7 @@ ClientItemResponseBuilder: function ClientItemResponseBuilder() { this._client_model$_data = this._client_model$_$v = null; }, - _$ClientEntity: function _$ClientEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49) { + _$ClientEntity: function _$ClientEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48) { var _ = this; _.groupId = t0; _.loadedAt = t1; @@ -56519,16 +56517,15 @@ _.isDeleted = t45; _.createdUserId = t46; _.assignedUserId = t47; - _.idempotencyKey = t48; - _.id = t49; + _.id = t48; _._client_model$__hashCode = null; }, ClientEntityBuilder: function ClientEntityBuilder() { var _ = this; _._shippingCountryId = _._shippingPostalCode = _._shippingState = _._shippingCity = _._shippingAddress2 = _._shippingAddress1 = _._number = _._idNumber = _._vatNumber = _._sizeId = _._industryId = _._website = _._publicNotes = _._privateNotes = _._client_model$_phone = _._countryId = _._postalCode = _._client_model$_state = _._city = _._address2 = _._address1 = _._clientHash = _._paidToDate = _._creditBalance = _._balance = _._displayName = _._client_model$_name = _._loadedAt = _._groupId = _._client_model$_$v = null; - _._client_model$_id = _._client_model$_idempotencyKey = _._client_model$_assignedUserId = _._client_model$_createdUserId = _._client_model$_isDeleted = _._client_model$_archivedAt = _._client_model$_updatedAt = _._client_model$_createdAt = _._client_model$_isChanged = _._systemLogs = _._client_model$_documents = _._gatewayTokens = _._ledger = _._activities = _._contacts = _._client_model$_customValue4 = _._client_model$_customValue3 = _._client_model$_customValue2 = _._client_model$_customValue1 = _._lastLogin = _._client_model$_settings = null; + _._client_model$_id = _._client_model$_assignedUserId = _._client_model$_createdUserId = _._client_model$_isDeleted = _._client_model$_archivedAt = _._client_model$_updatedAt = _._client_model$_createdAt = _._client_model$_isChanged = _._systemLogs = _._client_model$_documents = _._gatewayTokens = _._ledger = _._activities = _._contacts = _._client_model$_customValue4 = _._client_model$_customValue3 = _._client_model$_customValue2 = _._client_model$_customValue1 = _._lastLogin = _._client_model$_settings = null; }, - _$ClientContactEntity: function _$ClientContactEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22) { + _$ClientContactEntity: function _$ClientContactEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21) { var _ = this; _.firstName = t0; _.lastName = t1; @@ -56551,13 +56548,12 @@ _.isDeleted = t18; _.createdUserId = t19; _.assignedUserId = t20; - _.idempotencyKey = t21; - _.id = t22; + _.id = t21; _._client_model$__hashCode = null; }, ClientContactEntityBuilder: function ClientContactEntityBuilder() { var _ = this; - _._client_model$_id = _._client_model$_idempotencyKey = _._client_model$_assignedUserId = _._client_model$_createdUserId = _._client_model$_isDeleted = _._client_model$_archivedAt = _._client_model$_updatedAt = _._client_model$_createdAt = _._client_model$_isChanged = _._client_model$_link = _._lastLogin = _._client_model$_customValue4 = _._client_model$_customValue3 = _._client_model$_customValue2 = _._client_model$_customValue1 = _._client_model$_sendEmail = _._client_model$_isPrimary = _._contactKey = _._client_model$_phone = _._client_model$_password = _._client_model$_email = _._client_model$_lastName = _._client_model$_firstName = _._client_model$_$v = null; + _._client_model$_id = _._client_model$_assignedUserId = _._client_model$_createdUserId = _._client_model$_isDeleted = _._client_model$_archivedAt = _._client_model$_updatedAt = _._client_model$_createdAt = _._client_model$_isChanged = _._client_model$_link = _._lastLogin = _._client_model$_customValue4 = _._client_model$_customValue3 = _._client_model$_customValue2 = _._client_model$_customValue1 = _._client_model$_sendEmail = _._client_model$_isPrimary = _._contactKey = _._client_model$_phone = _._client_model$_password = _._client_model$_email = _._client_model$_lastName = _._client_model$_firstName = _._client_model$_$v = null; }, _ClientContactEntity_Object_BaseEntity: function _ClientContactEntity_Object_BaseEntity() { }, @@ -56570,26 +56566,25 @@ _ClientEntity_Object_BaseEntity_SelectableEntity_HasActivities: function _ClientEntity_Object_BaseEntity_SelectableEntity_HasActivities() { }, CompanyGatewayEntity_CompanyGatewayEntity(id, state) { - var t1, t2; + var t1; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; - t2 = A.getRandomString(); - return A._$CompanyGatewayEntity$_(0, 0, "", "", 0, "", "", "", "", "", A.BuiltMap_BuiltMap(B.Map_empty0, type$.legacy_String, type$.legacy_FeesAndLimitsSettings), "", t1, t2, false, false, false, "", null, false, false, false, true, false, false, true, false, A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_SystemLogEntity), "always", true, 0); + return A._$CompanyGatewayEntity$_(0, 0, "", "", 0, "", "", "", "", "", A.BuiltMap_BuiltMap(B.Map_empty0, type$.legacy_String, type$.legacy_FeesAndLimitsSettings), "", t1, false, false, false, "", null, false, false, false, true, false, false, true, false, A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_SystemLogEntity), "always", true, 0); }, FeesAndLimitsSettings_FeesAndLimitsSettings(isEnabled) { return A._$FeesAndLimitsSettings$_(false, 0, 0, 0, isEnabled === true, -1, -1, "", "", "", 0, 0, 0); }, - _$CompanyGatewayEntity$_(acceptedCreditCards, archivedAt, assignedUserId, config, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, feesAndLimitsMap, gatewayId, id, idempotencyKey, isChanged, isDeleted, isTestMode, label, loadedAt, requireBillingAddress, requireClientName, requireClientPhone, requireContactEmail, requireContactName, requireCvv, requirePostalCode, requireShippingAddress, systemLogs, tokenBilling, updateDetails, updatedAt) { + _$CompanyGatewayEntity$_(acceptedCreditCards, archivedAt, assignedUserId, config, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, feesAndLimitsMap, gatewayId, id, isChanged, isDeleted, isTestMode, label, loadedAt, requireBillingAddress, requireClientName, requireClientPhone, requireContactEmail, requireContactName, requireCvv, requirePostalCode, requireShippingAddress, systemLogs, tokenBilling, updateDetails, updatedAt) { var _s20_ = "CompanyGatewayEntity"; if (feesAndLimitsMap == null) A.throwExpression(A.BuiltValueNullFieldError$(_s20_, "feesAndLimitsMap")); if (systemLogs == null) A.throwExpression(A.BuiltValueNullFieldError$(_s20_, "systemLogs")); - return new A._$CompanyGatewayEntity(loadedAt, gatewayId, acceptedCreditCards, requireShippingAddress, requireBillingAddress, requireClientName, requirePostalCode, requireClientPhone, requireContactName, requireContactEmail, requireCvv, updateDetails, feesAndLimitsMap, systemLogs, customValue1, customValue2, customValue3, customValue4, config, tokenBilling, isTestMode, label, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + return new A._$CompanyGatewayEntity(loadedAt, gatewayId, acceptedCreditCards, requireShippingAddress, requireBillingAddress, requireClientName, requirePostalCode, requireClientPhone, requireContactName, requireContactEmail, requireCvv, updateDetails, feesAndLimitsMap, systemLogs, customValue1, customValue2, customValue3, customValue4, config, tokenBilling, isTestMode, label, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, _$FeesAndLimitsSettings$_(adjustFeePercent, feeAmount, feeCap, feePercent, isEnabled, maxLimit, minLimit, taxName1, taxName2, taxName3, taxRate1, taxRate2, taxRate3) { return new A._$FeesAndLimitsSettings(minLimit, maxLimit, feeAmount, feePercent, feeCap, taxRate1, taxName1, taxRate2, taxName2, taxRate3, taxName3, adjustFeePercent, isEnabled); @@ -56627,7 +56622,7 @@ CompanyGatewayItemResponseBuilder: function CompanyGatewayItemResponseBuilder() { this._company_gateway_model$_data = this._company_gateway_model$_$v = null; }, - _$CompanyGatewayEntity: function _$CompanyGatewayEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30) { + _$CompanyGatewayEntity: function _$CompanyGatewayEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29) { var _ = this; _.loadedAt = t0; _.gatewayId = t1; @@ -56658,14 +56653,13 @@ _.isDeleted = t26; _.createdUserId = t27; _.assignedUserId = t28; - _.idempotencyKey = t29; - _.id = t30; + _.id = t29; _._company_gateway_model$__hashCode = null; }, CompanyGatewayEntityBuilder: function CompanyGatewayEntityBuilder() { var _ = this; _._company_gateway_model$_assignedUserId = _._company_gateway_model$_createdUserId = _._company_gateway_model$_isDeleted = _._company_gateway_model$_archivedAt = _._company_gateway_model$_updatedAt = _._company_gateway_model$_createdAt = _._company_gateway_model$_isChanged = _._label = _._isTestMode = _._tokenBilling = _._config = _._company_gateway_model$_customValue4 = _._company_gateway_model$_customValue3 = _._company_gateway_model$_customValue2 = _._company_gateway_model$_customValue1 = _._company_gateway_model$_systemLogs = _._feesAndLimitsMap = _._updateDetails = _._requireCvv = _._requireContactEmail = _._requireContactName = _._requireClientPhone = _._requirePostalCode = _._requireClientName = _._requireBillingAddress = _._requireShippingAddress = _._acceptedCreditCards = _._gatewayId = _._company_gateway_model$_loadedAt = _._company_gateway_model$_$v = null; - _._company_gateway_model$_id = _._company_gateway_model$_idempotencyKey = null; + _._company_gateway_model$_id = null; }, _$FeesAndLimitsSettings: function _$FeesAndLimitsSettings(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; @@ -56693,8 +56687,8 @@ _CompanyGatewayEntity_Object_BaseEntity_SelectableEntity: function _CompanyGatewayEntity_Object_BaseEntity_SelectableEntity() { }, CompanyEntity_CompanyEntity() { - var t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, _null = null, - t1 = A.SettingsEntity_SettingsEntity(_null, _null, _null), + var t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, + t1 = A.SettingsEntity_SettingsEntity(null, null, null), t2 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_GroupEntity), t3 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_TaxRateEntity), t4 = type$.legacy_TaskStatusEntity, @@ -56729,7 +56723,7 @@ t30 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_SystemLogEntity); t31 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_RegistrationFieldEntity); t13 = A.BuiltList_BuiltList$from(B.List_empty, t13); - return A._$CompanyEntity$_(t10, 0, "", false, A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_BankAccountEntity), false, true, t31, t11, t7, "", false, true, 0, "", t20, t6, true, false, t24, t28, false, false, false, false, false, false, false, true, false, 0, B.EntityType_company, t8, false, t16, true, "0", "0", "", t2, "", _null, "", false, true, false, false, true, t14, false, false, false, false, false, false, true, true, 0, 0, 0, false, 1800000, t25, t18, "", "subdomain", t12, t22, t13, t19, t17, t15, false, false, 0, t1, true, false, false, "", "", true, 0, false, "", t29, t30, t4, t5, t21, t3, t26, false, A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_TransactionEntity), true, 0, false, false, t9, t23, t27); + return A._$CompanyEntity$_(t10, 0, "", false, A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_BankAccountEntity), false, true, t31, t11, t7, "", false, true, 0, "", t20, t6, true, false, t24, t28, false, false, false, false, false, false, false, true, false, 0, B.EntityType_company, t8, false, t16, true, "0", "0", "", t2, "", "", false, true, false, false, true, t14, false, false, false, false, false, false, true, true, 0, 0, 0, false, 1800000, t25, t18, "", "subdomain", t12, t22, t13, t19, t17, t15, false, false, 0, t1, true, false, false, "", "", true, 0, false, "", t29, t30, t4, t5, t21, t3, t26, false, A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_TransactionEntity), true, 0, false, false, t9, t23, t27); }, CompanyEntity__initializeBuilder(builder) { var t1; @@ -56847,7 +56841,7 @@ t2 = period == null ? "" : period; return A._$DashboardField$_(t1, t2, "sum"); }, - _$CompanyEntity$_(activities, archivedAt, assignedUserId, autoStartTasks, bankAccounts, calculateExpenseTaxByAmount, clientCanRegister, clientRegistrationFields, clients, companyGateways, companyKey, convertProductExchangeRate, convertRateToClient, createdAt, createdUserId, credits, customFields, defaultQuantity, defaultTaskIsDateBased, designs, documents, enableApplyingPayments, enableCustomSurchargeTaxes1, enableCustomSurchargeTaxes2, enableCustomSurchargeTaxes3, enableCustomSurchargeTaxes4, enableProductCost, enableProductDiscount, enableProductQuantity, enableShopApi, enabledModules, entityType, expenseCategories, expenseInclusiveTaxes, expenses, fillProducts, firstDayOfWeek, firstMonthOfYear, googleAnalyticsKey, groups, id, idempotencyKey, industryId, invoiceExpenseDocuments, invoiceTaskDatelog, invoiceTaskDocuments, invoiceTaskProject, invoiceTaskTimelog, invoices, isChanged, isDeleted, isDisabled, isLarge, markExpensesInvoiceable, markExpensesPaid, markdownEmailEnabled, markdownEnabled, numberOfExpenseTaxRates, numberOfInvoiceTaxRates, numberOfItemTaxRates, oauthPasswordRequired, passwordTimeout, paymentTerms, payments, portalDomain, portalMode, products, projects, purchaseOrders, quotes, recurringExpenses, recurringInvoices, reportIncludeDeleted, reportIncludeDrafts, sessionTimeout, settings, showProductDetails, showTaskEndDate, showTasksTable, sizeId, slackWebhookUrl, stockNotification, stockNotificationThreshold, stopOnUnpaidRecurring, subdomain, subscriptions, systemLogs, taskStatusMap, taskStatuses, tasks, taxRates, tokens, trackInventory, transactions, updateProducts, updatedAt, useCommaAsDecimalPlace, useQuoteTermsOnConversion, users, vendors, webhooks) { + _$CompanyEntity$_(activities, archivedAt, assignedUserId, autoStartTasks, bankAccounts, calculateExpenseTaxByAmount, clientCanRegister, clientRegistrationFields, clients, companyGateways, companyKey, convertProductExchangeRate, convertRateToClient, createdAt, createdUserId, credits, customFields, defaultQuantity, defaultTaskIsDateBased, designs, documents, enableApplyingPayments, enableCustomSurchargeTaxes1, enableCustomSurchargeTaxes2, enableCustomSurchargeTaxes3, enableCustomSurchargeTaxes4, enableProductCost, enableProductDiscount, enableProductQuantity, enableShopApi, enabledModules, entityType, expenseCategories, expenseInclusiveTaxes, expenses, fillProducts, firstDayOfWeek, firstMonthOfYear, googleAnalyticsKey, groups, id, industryId, invoiceExpenseDocuments, invoiceTaskDatelog, invoiceTaskDocuments, invoiceTaskProject, invoiceTaskTimelog, invoices, isChanged, isDeleted, isDisabled, isLarge, markExpensesInvoiceable, markExpensesPaid, markdownEmailEnabled, markdownEnabled, numberOfExpenseTaxRates, numberOfInvoiceTaxRates, numberOfItemTaxRates, oauthPasswordRequired, passwordTimeout, paymentTerms, payments, portalDomain, portalMode, products, projects, purchaseOrders, quotes, recurringExpenses, recurringInvoices, reportIncludeDeleted, reportIncludeDrafts, sessionTimeout, settings, showProductDetails, showTaskEndDate, showTasksTable, sizeId, slackWebhookUrl, stockNotification, stockNotificationThreshold, stopOnUnpaidRecurring, subdomain, subscriptions, systemLogs, taskStatusMap, taskStatuses, tasks, taxRates, tokens, trackInventory, transactions, updateProducts, updatedAt, useCommaAsDecimalPlace, useQuoteTermsOnConversion, users, vendors, webhooks) { var _s13_ = "CompanyEntity"; if (groups == null) A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "groups")); @@ -56915,7 +56909,7 @@ A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "customFields")); if (settings == null) A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "settings")); - return new A._$CompanyEntity(enableCustomSurchargeTaxes1, enableCustomSurchargeTaxes2, enableCustomSurchargeTaxes3, enableCustomSurchargeTaxes4, sizeId, industryId, subdomain, portalMode, portalDomain, updateProducts, convertProductExchangeRate, convertRateToClient, fillProducts, enableProductCost, enableProductQuantity, enableProductDiscount, defaultTaskIsDateBased, defaultQuantity, showProductDetails, clientCanRegister, isLarge, isDisabled, enableShopApi, companyKey, firstDayOfWeek, firstMonthOfYear, numberOfInvoiceTaxRates, numberOfItemTaxRates, numberOfExpenseTaxRates, expenseInclusiveTaxes, sessionTimeout, passwordTimeout, oauthPasswordRequired, markdownEnabled, markdownEmailEnabled, useCommaAsDecimalPlace, reportIncludeDrafts, reportIncludeDeleted, useQuoteTermsOnConversion, enableApplyingPayments, trackInventory, stockNotificationThreshold, stockNotification, groups, activities, taxRates, taskStatuses, taskStatusMap, companyGateways, expenseCategories, users, clients, products, invoices, recurringInvoices, recurringExpenses, payments, quotes, credits, purchaseOrders, bankAccounts, transactions, tasks, projects, expenses, vendors, designs, documents, tokens, webhooks, subscriptions, paymentTerms, systemLogs, clientRegistrationFields, customFields, slackWebhookUrl, googleAnalyticsKey, markExpensesInvoiceable, markExpensesPaid, invoiceExpenseDocuments, invoiceTaskDocuments, invoiceTaskTimelog, invoiceTaskDatelog, invoiceTaskProject, autoStartTasks, showTasksTable, showTaskEndDate, settings, enabledModules, calculateExpenseTaxByAmount, stopOnUnpaidRecurring, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, entityType, idempotencyKey, id); + return new A._$CompanyEntity(enableCustomSurchargeTaxes1, enableCustomSurchargeTaxes2, enableCustomSurchargeTaxes3, enableCustomSurchargeTaxes4, sizeId, industryId, subdomain, portalMode, portalDomain, updateProducts, convertProductExchangeRate, convertRateToClient, fillProducts, enableProductCost, enableProductQuantity, enableProductDiscount, defaultTaskIsDateBased, defaultQuantity, showProductDetails, clientCanRegister, isLarge, isDisabled, enableShopApi, companyKey, firstDayOfWeek, firstMonthOfYear, numberOfInvoiceTaxRates, numberOfItemTaxRates, numberOfExpenseTaxRates, expenseInclusiveTaxes, sessionTimeout, passwordTimeout, oauthPasswordRequired, markdownEnabled, markdownEmailEnabled, useCommaAsDecimalPlace, reportIncludeDrafts, reportIncludeDeleted, useQuoteTermsOnConversion, enableApplyingPayments, trackInventory, stockNotificationThreshold, stockNotification, groups, activities, taxRates, taskStatuses, taskStatusMap, companyGateways, expenseCategories, users, clients, products, invoices, recurringInvoices, recurringExpenses, payments, quotes, credits, purchaseOrders, bankAccounts, transactions, tasks, projects, expenses, vendors, designs, documents, tokens, webhooks, subscriptions, paymentTerms, systemLogs, clientRegistrationFields, customFields, slackWebhookUrl, googleAnalyticsKey, markExpensesInvoiceable, markExpensesPaid, invoiceExpenseDocuments, invoiceTaskDocuments, invoiceTaskTimelog, invoiceTaskDatelog, invoiceTaskProject, autoStartTasks, showTasksTable, showTaskEndDate, settings, enabledModules, calculateExpenseTaxByAmount, stopOnUnpaidRecurring, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, entityType, id); }, _$GatewayEntity$_(defaultGatewayTypeId, fields, id, isOffsite, isVisible, $name, options, siteUrl, sortOrder) { if (options == null) @@ -56996,7 +56990,7 @@ }, _$DashboardFieldSerializer: function _$DashboardFieldSerializer() { }, - _$CompanyEntity: function _$CompanyEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57, t58, t59, t60, t61, t62, t63, t64, t65, t66, t67, t68, t69, t70, t71, t72, t73, t74, t75, t76, t77, t78, t79, t80, t81, t82, t83, t84, t85, t86, t87, t88, t89, t90, t91, t92, t93, t94, t95, t96, t97, t98, t99, t100) { + _$CompanyEntity: function _$CompanyEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57, t58, t59, t60, t61, t62, t63, t64, t65, t66, t67, t68, t69, t70, t71, t72, t73, t74, t75, t76, t77, t78, t79, t80, t81, t82, t83, t84, t85, t86, t87, t88, t89, t90, t91, t92, t93, t94, t95, t96, t97, t98, t99) { var _ = this; _.enableCustomSurchargeTaxes1 = t0; _.enableCustomSurchargeTaxes2 = t1; @@ -57097,8 +57091,7 @@ _.createdUserId = t96; _.assignedUserId = t97; _.entityType = t98; - _.idempotencyKey = t99; - _.id = t100; + _.id = t99; _._company_model$__hashCode = null; }, CompanyEntityBuilder: function CompanyEntityBuilder() { @@ -57106,7 +57099,7 @@ _._numberOfExpenseTaxRates = _._numberOfItemTaxRates = _._numberOfInvoiceTaxRates = _._firstMonthOfYear = _._firstDayOfWeek = _._companyKey = _._enableShopApi = _._isDisabled = _._isLarge = _._clientCanRegister = _._showProductDetails = _._defaultQuantity = _._defaultTaskIsDateBased = _._enableProductDiscount = _._enableProductQuantity = _._enableProductCost = _._fillProducts = _._convertRateToClient = _._convertProductExchangeRate = _._updateProducts = _._portalDomain = _._portalMode = _._subdomain = _._company_model$_industryId = _._company_model$_sizeId = _._enableCustomSurchargeTaxes4 = _._enableCustomSurchargeTaxes3 = _._enableCustomSurchargeTaxes2 = _._enableCustomSurchargeTaxes1 = _._company_model$_$v = null; _._credits = _._quotes = _._payments = _._recurringExpenses = _._recurringInvoices = _._invoices = _._products = _._clients = _._users = _._expenseCategories = _._companyGateways = _._taskStatusMap = _._taskStatuses = _._taxRates = _._company_model$_activities = _._groups = _._stockNotification = _._stockNotificationThreshold = _._trackInventory = _._enableApplyingPayments = _._useQuoteTermsOnConversion = _._reportIncludeDeleted = _._reportIncludeDrafts = _._useCommaAsDecimalPlace = _._markdownEmailEnabled = _._markdownEnabled = _._oauthPasswordRequired = _._passwordTimeout = _._sessionTimeout = _._expenseInclusiveTaxes = null; _._enabledModules = _._settings = _._showTaskEndDate = _._showTasksTable = _._autoStartTasks = _._invoiceTaskProject = _._invoiceTaskDatelog = _._invoiceTaskTimelog = _._invoiceTaskDocuments = _._invoiceExpenseDocuments = _._markExpensesPaid = _._markExpensesInvoiceable = _._googleAnalyticsKey = _._slackWebhookUrl = _._customFields = _._clientRegistrationFields = _._company_model$_systemLogs = _._paymentTerms = _._subscriptions = _._webhooks = _._tokens = _._company_model$_documents = _._designs = _._vendors = _._expenses = _._projects = _._tasks = _._transactions = _._bankAccounts = _._purchaseOrders = null; - _._company_model$_id = _._company_model$_idempotencyKey = _._company_model$_entityType = _._company_model$_assignedUserId = _._company_model$_createdUserId = _._company_model$_isDeleted = _._company_model$_archivedAt = _._company_model$_updatedAt = _._company_model$_createdAt = _._company_model$_isChanged = _._stopOnUnpaidRecurring = _._calculateExpenseTaxByAmount = null; + _._company_model$_id = _._company_model$_entityType = _._company_model$_assignedUserId = _._company_model$_createdUserId = _._company_model$_isDeleted = _._company_model$_archivedAt = _._company_model$_updatedAt = _._company_model$_createdAt = _._company_model$_isChanged = _._stopOnUnpaidRecurring = _._calculateExpenseTaxByAmount = null; }, _$GatewayEntity: function _$GatewayEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; @@ -57299,7 +57292,7 @@ _$DateRangeComparisonSerializer: function _$DateRangeComparisonSerializer() { }, DesignEntity_DesignEntity(design, id, state) { - var t1, t2, designMap, t3; + var t1, t2, designMap; if (design == null && state != null) { t1 = state.userCompanyStates; t2 = state.uiState.selectedCompanyIndex; @@ -57315,23 +57308,22 @@ t1 = "" + t1; } else t1 = id; - t2 = A.getRandomString(); if (design == null) { - t3 = type$.legacy_String; - t3 = A.BuiltMap_BuiltMap(A.LinkedHashMap_LinkedHashMap$_literal(["header", "", "body", "", "footer", "", "product", "", "task", "", "includes", ""], t3, t3), t3, t3); + t2 = type$.legacy_String; + t2 = A.BuiltMap_BuiltMap(A.LinkedHashMap_LinkedHashMap$_literal(["header", "", "body", "", "footer", "", "product", "", "task", "", "includes", ""], t2, t2), t2, t2); } else - t3 = design; - return A._$DesignEntity$_(0, null, 0, null, t3, t1, t2, false, true, false, true, "", 0); + t2 = design; + return A._$DesignEntity$_(0, null, 0, null, t2, t1, false, true, false, true, "", 0); }, _$DesignPreviewRequest$_(design, entityId, entityType) { if (design == null) A.throwExpression(A.BuiltValueNullFieldError$("DesignPreviewRequest", "design")); return new A._$DesignPreviewRequest(entityType, entityId, design); }, - _$DesignEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, design, id, idempotencyKey, isChanged, isCustom, isDeleted, isFree, $name, updatedAt) { + _$DesignEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, design, id, isChanged, isCustom, isDeleted, isFree, $name, updatedAt) { if (design == null) A.throwExpression(A.BuiltValueNullFieldError$("DesignEntity", "design")); - return new A._$DesignEntity($name, design, isCustom, isFree, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + return new A._$DesignEntity($name, design, isCustom, isFree, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, DesignListResponse: function DesignListResponse() { }, @@ -57376,7 +57368,7 @@ var _ = this; _._design = _._entityId = _._design_model$_entityType = _._design_model$_$v = null; }, - _$DesignEntity: function _$DesignEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { + _$DesignEntity: function _$DesignEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.name = t0; _.design = t1; @@ -57389,13 +57381,12 @@ _.isDeleted = t8; _.createdUserId = t9; _.assignedUserId = t10; - _.idempotencyKey = t11; - _.id = t12; + _.id = t11; _._design_model$__hashCode = null; }, DesignEntityBuilder: function DesignEntityBuilder() { var _ = this; - _._design_model$_id = _._design_model$_idempotencyKey = _._design_model$_assignedUserId = _._design_model$_createdUserId = _._design_model$_isDeleted = _._design_model$_archivedAt = _._design_model$_updatedAt = _._design_model$_createdAt = _._design_model$_isChanged = _._isFree = _._isCustom = _._design = _._design_model$_name = _._design_model$_$v = null; + _._design_model$_id = _._design_model$_assignedUserId = _._design_model$_createdUserId = _._design_model$_isDeleted = _._design_model$_archivedAt = _._design_model$_updatedAt = _._design_model$_createdAt = _._design_model$_isChanged = _._isFree = _._isCustom = _._design = _._design_model$_name = _._design_model$_$v = null; }, _DesignEntity_Object_BaseEntity: function _DesignEntity_Object_BaseEntity() { }, @@ -57407,10 +57398,10 @@ t1 = "" + t1; } else t1 = id; - return A._$DocumentEntity$_(0, "", 0, "", "", 0, t1, A.getRandomString(), false, false, false, "", "", 0, "", 0, "", 0); + return A._$DocumentEntity$_(0, "", 0, "", "", 0, t1, false, false, false, "", "", 0, "", 0, "", 0); }, - _$DocumentEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, hash, height, id, idempotencyKey, isChanged, isDefault, isDeleted, $name, preview, size, type, updatedAt, url, width) { - return new A._$DocumentEntity($name, hash, type, url, width, height, size, preview, isDefault, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + _$DocumentEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, hash, height, id, isChanged, isDefault, isDeleted, $name, preview, size, type, updatedAt, url, width) { + return new A._$DocumentEntity($name, hash, type, url, width, height, size, preview, isDefault, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, DocumentListResponse: function DocumentListResponse() { }, @@ -57438,7 +57429,7 @@ DocumentItemResponseBuilder: function DocumentItemResponseBuilder() { this._document_model$_data = this._document_model$_$v = null; }, - _$DocumentEntity: function _$DocumentEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { + _$DocumentEntity: function _$DocumentEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _.name = t0; _.hash = t1; @@ -57456,13 +57447,12 @@ _.isDeleted = t13; _.createdUserId = t14; _.assignedUserId = t15; - _.idempotencyKey = t16; - _.id = t17; + _.id = t16; _._document_model$__hashCode = null; }, DocumentEntityBuilder: function DocumentEntityBuilder() { var _ = this; - _._document_model$_id = _._document_model$_idempotencyKey = _._document_model$_assignedUserId = _._document_model$_createdUserId = _._document_model$_isDeleted = _._document_model$_archivedAt = _._document_model$_updatedAt = _._document_model$_createdAt = _._document_model$_isChanged = _._isDefault = _._preview = _._size = _._document_model$_height = _._document_model$_width = _._url = _._type = _._hash = _._document_model$_name = _._document_model$_$v = null; + _._document_model$_id = _._document_model$_assignedUserId = _._document_model$_createdUserId = _._document_model$_isDeleted = _._document_model$_archivedAt = _._document_model$_updatedAt = _._document_model$_createdAt = _._document_model$_isChanged = _._isDefault = _._preview = _._size = _._document_model$_height = _._document_model$_width = _._url = _._type = _._hash = _._document_model$_name = _._document_model$_$v = null; }, _DocumentEntity_Object_BaseEntity: function _DocumentEntity_Object_BaseEntity() { }, @@ -57723,10 +57713,10 @@ t1 = "" + t1; } else t1 = id; - return A._$ExpenseCategoryEntity$_(0, "", "", 0, "", t1, A.getRandomString(), false, false, "", 0); + return A._$ExpenseCategoryEntity$_(0, "", "", 0, "", t1, false, false, "", 0); }, - _$ExpenseCategoryEntity$_(archivedAt, assignedUserId, color, createdAt, createdUserId, id, idempotencyKey, isChanged, isDeleted, $name, updatedAt) { - return new A._$ExpenseCategoryEntity($name, color, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + _$ExpenseCategoryEntity$_(archivedAt, assignedUserId, color, createdAt, createdUserId, id, isChanged, isDeleted, $name, updatedAt) { + return new A._$ExpenseCategoryEntity($name, color, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, ExpenseCategoryListResponse: function ExpenseCategoryListResponse() { }, @@ -57754,7 +57744,7 @@ ExpenseCategoryItemResponseBuilder: function ExpenseCategoryItemResponseBuilder() { this._expense_category_model$_data = this._expense_category_model$_$v = null; }, - _$ExpenseCategoryEntity: function _$ExpenseCategoryEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + _$ExpenseCategoryEntity: function _$ExpenseCategoryEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.name = t0; _.color = t1; @@ -57765,20 +57755,19 @@ _.isDeleted = t6; _.createdUserId = t7; _.assignedUserId = t8; - _.idempotencyKey = t9; - _.id = t10; + _.id = t9; _._expense_category_model$__hashCode = null; }, ExpenseCategoryEntityBuilder: function ExpenseCategoryEntityBuilder() { var _ = this; - _._expense_category_model$_id = _._expense_category_model$_idempotencyKey = _._expense_category_model$_assignedUserId = _._expense_category_model$_createdUserId = _._expense_category_model$_isDeleted = _._expense_category_model$_archivedAt = _._expense_category_model$_updatedAt = _._expense_category_model$_createdAt = _._expense_category_model$_isChanged = _._expense_category_model$_color = _._expense_category_model$_name = _._expense_category_model$_$v = null; + _._expense_category_model$_id = _._expense_category_model$_assignedUserId = _._expense_category_model$_createdUserId = _._expense_category_model$_isDeleted = _._expense_category_model$_archivedAt = _._expense_category_model$_updatedAt = _._expense_category_model$_createdAt = _._expense_category_model$_isChanged = _._expense_category_model$_color = _._expense_category_model$_name = _._expense_category_model$_$v = null; }, _ExpenseCategoryEntity_Object_BaseEntity: function _ExpenseCategoryEntity_Object_BaseEntity() { }, _ExpenseCategoryEntity_Object_BaseEntity_SelectableEntity: function _ExpenseCategoryEntity_Object_BaseEntity_SelectableEntity() { }, ExpenseEntity_ExpenseEntity(client, entityType, id, project, state, user, vendor) { - var company, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, _null = null, + var company, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, _null = null, t1 = state == null; if (t1) company = _null; @@ -57793,51 +57782,50 @@ t2 = "" + t2; } else t2 = id; - t3 = A.getRandomString(); - t4 = entityType == null ? B.EntityType_expense : entityType; - t5 = company == null; - t6 = t5 ? _null : company.markExpensesInvoiceable; - t7 = t5 ? _null : company.invoiceExpenseDocuments; - t8 = A.convertDateTimeToSqlDate(_null); - t9 = t5 ? _null : company.markExpensesPaid; - t9 = t9 === true ? A.convertDateTimeToSqlDate(_null) : ""; - t10 = vendor == null; - if (!t10) - t11 = vendor.currencyId.length !== 0; + t3 = entityType == null ? B.EntityType_expense : entityType; + t4 = company == null; + t5 = t4 ? _null : company.markExpensesInvoiceable; + t6 = t4 ? _null : company.invoiceExpenseDocuments; + t7 = A.convertDateTimeToSqlDate(_null); + t8 = t4 ? _null : company.markExpensesPaid; + t8 = t8 === true ? A.convertDateTimeToSqlDate(_null) : ""; + t9 = vendor == null; + if (!t9) + t10 = vendor.currencyId.length !== 0; else - t11 = false; - if (t11) - t11 = vendor.currencyId; + t10 = false; + if (t10) + t10 = vendor.currencyId; else { if (t1) - t11 = _null; + t10 = _null; else { - t11 = state.userCompanyStates; - t12 = state.uiState.selectedCompanyIndex; - t12 = t11._list[t12].userCompany.company; - t11 = t12; + t10 = state.userCompanyStates; + t11 = state.uiState.selectedCompanyIndex; + t11 = t10._list[t11].userCompany.company; + t10 = t11; } - if (t11 == null) - t11 = _null; + if (t10 == null) + t10 = _null; else { - t11 = t11.settings.currencyId; - if (t11 == null) - t11 = "1"; + t10 = t10.settings.currencyId; + if (t10 == null) + t10 = "1"; } - if (t11 == null) - t11 = "1"; + if (t10 == null) + t10 = "1"; } - t12 = client == null; - if (!t12 && client.get$hasCurrency()) + t11 = client == null; + if (!t11 && client.get$hasCurrency()) t1 = client.settings.currencyId; else { if (t1) t1 = _null; else { t1 = state.userCompanyStates; - t13 = state.uiState.selectedCompanyIndex; - t13 = t1._list[t13].userCompany.company; - t1 = t13; + t12 = state.uiState.selectedCompanyIndex; + t12 = t1._list[t12].userCompany.company; + t1 = t12; } if (t1 == null) t1 = _null; @@ -57849,21 +57837,21 @@ if (t1 == null) t1 = "1"; } - t13 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_DocumentEntity); - t14 = t5 ? _null : company.expenseInclusiveTaxes; - t5 = t5 ? _null : company.calculateExpenseTaxByAmount; - t15 = project == null; - t16 = t15 ? _null : project.clientId; - if (t16 == null) - t12 = t12 ? _null : client.id; + t12 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_DocumentEntity); + t13 = t4 ? _null : company.expenseInclusiveTaxes; + t4 = t4 ? _null : company.calculateExpenseTaxByAmount; + t14 = project == null; + t15 = t14 ? _null : project.clientId; + if (t15 == null) + t11 = t11 ? _null : client.id; else - t12 = t16; - t10 = t10 ? _null : vendor.id; - t15 = t15 ? _null : project.id; - t16 = user == null ? _null : user.id; - if (t16 == null) - t16 = ""; - return A._$ExpenseEntity$_(0, 0, t16, "", t5 === true, "", t12, 0, "", t11, "", "", "", "", t8, t13, t4, 1, "5", t2, t3, t1, t7 === true, "", false, false, "", _null, A.convertDateTimeToSqlDate(_null), "", t9, "", "", t15, "", A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_ExpenseScheduleEntity), _null, -1, t6 === true, _null, 0, 0, 0, "", "", "", 0, 0, 0, "", "", 0, t14 === true, t10); + t11 = t15; + t9 = t9 ? _null : vendor.id; + t14 = t14 ? _null : project.id; + t15 = user == null ? _null : user.id; + if (t15 == null) + t15 = ""; + return A._$ExpenseEntity$_(0, 0, t15, "", t4 === true, "", t11, 0, "", t10, "", "", "", "", t7, t12, t3, 1, "5", t2, t1, t6 === true, "", false, false, "", _null, A.convertDateTimeToSqlDate(_null), "", t8, "", "", t14, "", A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_ExpenseScheduleEntity), _null, -1, t5 === true, _null, 0, 0, 0, "", "", "", 0, 0, 0, "", "", 0, t13 === true, t9); }, ExpenseEntity__initializeBuilder(builder) { builder.get$_expense_model$_$this()._expense_model$_entityType = B.EntityType_expense; @@ -57873,7 +57861,7 @@ builder.get$_expense_model$_$this()._expense_model$_remainingCycles = -1; return builder; }, - _$ExpenseEntity$_(amount, archivedAt, assignedUserId, bankId, calculateTaxByAmount, categoryId, clientId, createdAt, createdUserId, currencyId, customValue1, customValue2, customValue3, customValue4, date, documents, entityType, exchangeRate, frequencyId, id, idempotencyKey, invoiceCurrencyId, invoiceDocuments, invoiceId, isChanged, isDeleted, lastSentDate, loadedAt, nextSendDate, number, paymentDate, paymentTypeId, privateNotes, projectId, publicNotes, recurringDates, recurringId, remainingCycles, shouldBeInvoiced, statusId, taxAmount1, taxAmount2, taxAmount3, taxName1, taxName2, taxName3, taxRate1, taxRate2, taxRate3, transactionId, transactionReference, updatedAt, usesInclusiveTaxes, vendorId) { + _$ExpenseEntity$_(amount, archivedAt, assignedUserId, bankId, calculateTaxByAmount, categoryId, clientId, createdAt, createdUserId, currencyId, customValue1, customValue2, customValue3, customValue4, date, documents, entityType, exchangeRate, frequencyId, id, invoiceCurrencyId, invoiceDocuments, invoiceId, isChanged, isDeleted, lastSentDate, loadedAt, nextSendDate, number, paymentDate, paymentTypeId, privateNotes, projectId, publicNotes, recurringDates, recurringId, remainingCycles, shouldBeInvoiced, statusId, taxAmount1, taxAmount2, taxAmount3, taxName1, taxName2, taxName3, taxRate1, taxRate2, taxRate3, transactionId, transactionReference, updatedAt, usesInclusiveTaxes, vendorId) { var _s13_ = "ExpenseEntity"; if (paymentDate == null) A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "paymentDate")); @@ -57883,7 +57871,7 @@ A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "documents")); if (nextSendDate == null) A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "nextSendDate")); - return new A._$ExpenseEntity(privateNotes, publicNotes, shouldBeInvoiced, invoiceDocuments, transactionId, transactionReference, bankId, currencyId, categoryId, amount, date, paymentDate, exchangeRate, invoiceCurrencyId, paymentTypeId, taxName1, taxName2, taxRate1, taxRate2, taxName3, taxRate3, clientId, invoiceId, vendorId, projectId, statusId, customValue1, customValue2, customValue3, customValue4, taxAmount1, taxAmount2, taxAmount3, usesInclusiveTaxes, calculateTaxByAmount, documents, number, recurringId, frequencyId, lastSentDate, nextSendDate, remainingCycles, recurringDates, loadedAt, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, entityType, idempotencyKey, id); + return new A._$ExpenseEntity(privateNotes, publicNotes, shouldBeInvoiced, invoiceDocuments, transactionId, transactionReference, bankId, currencyId, categoryId, amount, date, paymentDate, exchangeRate, invoiceCurrencyId, paymentTypeId, taxName1, taxName2, taxRate1, taxRate2, taxName3, taxRate3, clientId, invoiceId, vendorId, projectId, statusId, customValue1, customValue2, customValue3, customValue4, taxAmount1, taxAmount2, taxAmount3, usesInclusiveTaxes, calculateTaxByAmount, documents, number, recurringId, frequencyId, lastSentDate, nextSendDate, remainingCycles, recurringDates, loadedAt, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, entityType, id); }, _$ExpenseStatusEntity$_(id, $name) { return new A._$ExpenseStatusEntity(id, $name); @@ -57924,7 +57912,7 @@ ExpenseItemResponseBuilder: function ExpenseItemResponseBuilder() { this._expense_model$_data = this._expense_model$_$v = null; }, - _$ExpenseEntity: function _$ExpenseEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53) { + _$ExpenseEntity: function _$ExpenseEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52) { var _ = this; _.privateNotes = t0; _.publicNotes = t1; @@ -57978,14 +57966,13 @@ _.createdUserId = t49; _.assignedUserId = t50; _.entityType = t51; - _.idempotencyKey = t52; - _.id = t53; + _.id = t52; _._expense_model$__hashCode = null; }, ExpenseEntityBuilder: function ExpenseEntityBuilder() { var _ = this; _._expense_model$_customValue3 = _._expense_model$_customValue2 = _._expense_model$_customValue1 = _._expense_model$_statusId = _._expense_model$_projectId = _._expense_model$_vendorId = _._expense_model$_invoiceId = _._expense_model$_clientId = _._expense_model$_taxRate3 = _._expense_model$_taxName3 = _._expense_model$_taxRate2 = _._expense_model$_taxRate1 = _._expense_model$_taxName2 = _._expense_model$_taxName1 = _._paymentTypeId = _._invoiceCurrencyId = _._expense_model$_exchangeRate = _._paymentDate = _._expense_model$_date = _._expense_model$_amount = _._categoryId = _._expense_model$_currencyId = _._bankId = _._expense_model$_transactionReference = _._transactionId = _._invoiceDocuments = _._shouldBeInvoiced = _._expense_model$_publicNotes = _._expense_model$_privateNotes = _._expense_model$_$v = null; - _._expense_model$_id = _._expense_model$_idempotencyKey = _._expense_model$_entityType = _._expense_model$_assignedUserId = _._expense_model$_createdUserId = _._expense_model$_isDeleted = _._expense_model$_archivedAt = _._expense_model$_updatedAt = _._expense_model$_createdAt = _._expense_model$_isChanged = _._expense_model$_loadedAt = _._expense_model$_recurringDates = _._expense_model$_remainingCycles = _._expense_model$_nextSendDate = _._expense_model$_lastSentDate = _._expense_model$_frequencyId = _._expense_model$_recurringId = _._expense_model$_number = _._expense_model$_documents = _._calculateTaxByAmount = _._expense_model$_usesInclusiveTaxes = _._taxAmount3 = _._taxAmount2 = _._taxAmount1 = _._expense_model$_customValue4 = null; + _._expense_model$_id = _._expense_model$_entityType = _._expense_model$_assignedUserId = _._expense_model$_createdUserId = _._expense_model$_isDeleted = _._expense_model$_archivedAt = _._expense_model$_updatedAt = _._expense_model$_createdAt = _._expense_model$_isChanged = _._expense_model$_loadedAt = _._expense_model$_recurringDates = _._expense_model$_remainingCycles = _._expense_model$_nextSendDate = _._expense_model$_lastSentDate = _._expense_model$_frequencyId = _._expense_model$_recurringId = _._expense_model$_number = _._expense_model$_documents = _._calculateTaxByAmount = _._expense_model$_usesInclusiveTaxes = _._taxAmount3 = _._taxAmount2 = _._taxAmount1 = _._expense_model$_customValue4 = null; }, _$ExpenseScheduleEntity: function _$ExpenseScheduleEntity(t0) { this.sendDate = t0; @@ -58042,7 +58029,7 @@ GatewayTokenItemResponseBuilder: function GatewayTokenItemResponseBuilder() { this._gateway_token_model$_data = this._gateway_token_model$_$v = null; }, - _$GatewayTokenEntity: function _$GatewayTokenEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + _$GatewayTokenEntity: function _$GatewayTokenEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.token = t0; _.customerReference = t1; @@ -58057,13 +58044,12 @@ _.isDeleted = t10; _.createdUserId = t11; _.assignedUserId = t12; - _.idempotencyKey = t13; - _.id = t14; + _.id = t13; _._gateway_token_model$__hashCode = null; }, GatewayTokenEntityBuilder: function GatewayTokenEntityBuilder() { var _ = this; - _._gateway_token_model$_id = _._gateway_token_model$_idempotencyKey = _._gateway_token_model$_assignedUserId = _._gateway_token_model$_createdUserId = _._gateway_token_model$_isDeleted = _._gateway_token_model$_archivedAt = _._gateway_token_model$_updatedAt = _._gateway_token_model$_createdAt = _._gateway_token_model$_isChanged = _._meta = _._gateway_token_model$_isDefault = _._gatewayTypeId = _._gateway_token_model$_companyGatewayId = _._customerReference = _._gateway_token_model$_token = _._gateway_token_model$_$v = null; + _._gateway_token_model$_id = _._gateway_token_model$_assignedUserId = _._gateway_token_model$_createdUserId = _._gateway_token_model$_isDeleted = _._gateway_token_model$_archivedAt = _._gateway_token_model$_updatedAt = _._gateway_token_model$_createdAt = _._gateway_token_model$_isChanged = _._meta = _._gateway_token_model$_isDefault = _._gatewayTypeId = _._gateway_token_model$_companyGatewayId = _._customerReference = _._gateway_token_model$_token = _._gateway_token_model$_$v = null; }, _$GatewayTokenMetaEntity: function _$GatewayTokenMetaEntity(t0, t1, t2, t3, t4) { var _ = this; @@ -58083,28 +58069,27 @@ _GatewayTokenEntity_Object_BaseEntity_SelectableEntity: function _GatewayTokenEntity_Object_BaseEntity_SelectableEntity() { }, GroupEntity_GroupEntity(id, state) { - var t1, t2, t3; + var t1, t2; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; - t2 = A.getRandomString(); - t3 = A.SettingsEntity_SettingsEntity(null, null, null); - return A._$GroupEntity$_(0, "", 0, "", A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_DocumentEntity), t1, t2, false, false, "", t3, 0); + t2 = A.SettingsEntity_SettingsEntity(null, null, null); + return A._$GroupEntity$_(0, "", 0, "", A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_DocumentEntity), t1, false, false, "", t2, 0); }, GroupEntity__initializeBuilder(builder) { builder.get$documents().replace$1(0, A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_DocumentEntity)); return builder; }, - _$GroupEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, documents, id, idempotencyKey, isChanged, isDeleted, $name, settings, updatedAt) { + _$GroupEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, documents, id, isChanged, isDeleted, $name, settings, updatedAt) { var _s11_ = "GroupEntity"; if (settings == null) A.throwExpression(A.BuiltValueNullFieldError$(_s11_, "settings")); if (documents == null) A.throwExpression(A.BuiltValueNullFieldError$(_s11_, "documents")); - return new A._$GroupEntity($name, settings, documents, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + return new A._$GroupEntity($name, settings, documents, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, GroupListResponse: function GroupListResponse() { }, @@ -58132,7 +58117,7 @@ GroupItemResponseBuilder: function GroupItemResponseBuilder() { this._group_model$_data = this._group_model$_$v = null; }, - _$GroupEntity: function _$GroupEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { + _$GroupEntity: function _$GroupEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.name = t0; _.settings = t1; @@ -58144,13 +58129,12 @@ _.isDeleted = t7; _.createdUserId = t8; _.assignedUserId = t9; - _.idempotencyKey = t10; - _.id = t11; + _.id = t10; _._group_model$__hashCode = null; }, GroupEntityBuilder: function GroupEntityBuilder() { var _ = this; - _._group_model$_id = _._group_model$_idempotencyKey = _._group_model$_assignedUserId = _._group_model$_createdUserId = _._group_model$_isDeleted = _._group_model$_archivedAt = _._group_model$_updatedAt = _._group_model$_createdAt = _._group_model$_isChanged = _._documents = _._group_model$_settings = _._group_model$_name = _._group_model$_$v = null; + _._group_model$_id = _._group_model$_assignedUserId = _._group_model$_createdUserId = _._group_model$_isDeleted = _._group_model$_archivedAt = _._group_model$_updatedAt = _._group_model$_createdAt = _._group_model$_isChanged = _._documents = _._group_model$_settings = _._group_model$_name = _._group_model$_$v = null; }, _GroupEntity_Object_BaseEntity: function _GroupEntity_Object_BaseEntity() { }, @@ -58265,7 +58249,7 @@ this._mapping = this._import_model$_$v = null; }, InvoiceEntity_InvoiceEntity(client, entityType, id, state, user, vendor) { - var company, t1, t2, settings, t3, t4, exchangeRate, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, _null = null; + var company, t1, t2, settings, t3, t4, exchangeRate, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, _null = null; if (state == null) company = _null; else { @@ -58291,87 +58275,86 @@ t2 = "" + t2; } else t2 = id; - t3 = A.getRandomString(); - t4 = entityType == null ? B.EntityType_invoice : entityType; - t5 = t1 ? _null : client.id; - if (t5 == null) - t5 = ""; - t6 = vendor == null; - t7 = t6 ? _null : vendor.id; - if (t7 == null) - t7 = ""; - t8 = A.convertDateTimeToSqlDate(_null); - t9 = company == null; - t10 = t9 ? _null : company.numberOfInvoiceTaxRates; + t3 = entityType == null ? B.EntityType_invoice : entityType; + t4 = t1 ? _null : client.id; + if (t4 == null) + t4 = ""; + t5 = vendor == null; + t6 = t5 ? _null : vendor.id; + if (t6 == null) + t6 = ""; + t7 = A.convertDateTimeToSqlDate(_null); + t8 = company == null; + t9 = t8 ? _null : company.numberOfInvoiceTaxRates; + if ((t9 == null ? 0 : t9) >= 1) { + t9 = settings.defaultTaxName1; + if (t9 == null) + t9 = ""; + } else + t9 = ""; + t10 = t8 ? _null : company.numberOfInvoiceTaxRates; if ((t10 == null ? 0 : t10) >= 1) { - t10 = settings.defaultTaxName1; + t10 = settings.defaultTaxRate1; if (t10 == null) - t10 = ""; + t10 = 0; } else - t10 = ""; - t11 = t9 ? _null : company.numberOfInvoiceTaxRates; - if ((t11 == null ? 0 : t11) >= 1) { - t11 = settings.defaultTaxRate1; + t10 = 0; + t11 = t8 ? _null : company.numberOfInvoiceTaxRates; + if ((t11 == null ? 0 : t11) >= 2) { + t11 = settings.defaultTaxName2; if (t11 == null) - t11 = 0; + t11 = ""; } else - t11 = 0; - t12 = t9 ? _null : company.numberOfInvoiceTaxRates; + t11 = ""; + t12 = t8 ? _null : company.numberOfInvoiceTaxRates; if ((t12 == null ? 0 : t12) >= 2) { - t12 = settings.defaultTaxName2; + t12 = settings.defaultTaxRate2; if (t12 == null) - t12 = ""; + t12 = 0; } else - t12 = ""; - t13 = t9 ? _null : company.numberOfInvoiceTaxRates; - if ((t13 == null ? 0 : t13) >= 2) { - t13 = settings.defaultTaxRate2; + t12 = 0; + t13 = t8 ? _null : company.numberOfInvoiceTaxRates; + if ((t13 == null ? 0 : t13) >= 3) { + t13 = settings.defaultTaxName3; if (t13 == null) - t13 = 0; + t13 = ""; } else - t13 = 0; - t14 = t9 ? _null : company.numberOfInvoiceTaxRates; + t13 = ""; + t14 = t8 ? _null : company.numberOfInvoiceTaxRates; if ((t14 == null ? 0 : t14) >= 3) { - t14 = settings.defaultTaxName3; + t14 = settings.defaultTaxRate3; if (t14 == null) - t14 = ""; + t14 = 0; } else - t14 = ""; - t15 = t9 ? _null : company.numberOfInvoiceTaxRates; - if ((t15 == null ? 0 : t15) >= 3) { - t15 = settings.defaultTaxRate3; - if (t15 == null) - t15 = 0; - } else - t15 = 0; - t16 = t9 ? _null : company.enableCustomSurchargeTaxes1; - t17 = t9 ? _null : company.enableCustomSurchargeTaxes2; - t18 = t9 ? _null : company.enableCustomSurchargeTaxes3; - t19 = t9 ? _null : company.enableCustomSurchargeTaxes4; - t20 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_InvoiceScheduleEntity); - t21 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_InvoiceItemEntity); - t9 = t9 ? _null : company.settings; - t9 = t9 == null ? _null : t9.enableInclusiveTaxes; - t22 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_DocumentEntity); - t23 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_ActivityEntity); + t14 = 0; + t15 = t8 ? _null : company.enableCustomSurchargeTaxes1; + t16 = t8 ? _null : company.enableCustomSurchargeTaxes2; + t17 = t8 ? _null : company.enableCustomSurchargeTaxes3; + t18 = t8 ? _null : company.enableCustomSurchargeTaxes4; + t19 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_InvoiceScheduleEntity); + t20 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_InvoiceItemEntity); + t8 = t8 ? _null : company.settings; + t8 = t8 == null ? _null : t8.enableInclusiveTaxes; + t21 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_DocumentEntity); + t22 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_ActivityEntity); if (!t1) { t1 = client.get$emailContacts(); - t6 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,InvitationEntity*>"); - t6 = A.BuiltList_BuiltList$from(A.List_List$of(new A.MappedListIterable(t1, new A.InvoiceEntity_InvoiceEntity_closure(), t6), true, t6._eval$1("ListIterable.E")), type$.legacy_InvitationEntity); - t1 = t6; + t5 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,InvitationEntity*>"); + t5 = A.BuiltList_BuiltList$from(A.List_List$of(new A.MappedListIterable(t1, new A.InvoiceEntity_InvoiceEntity_closure(), t5), true, t5._eval$1("ListIterable.E")), type$.legacy_InvitationEntity); + t1 = t5; } else { t1 = type$.legacy_InvitationEntity; - if (!t6) { - t6 = vendor.get$emailContacts(); - t24 = A._arrayInstanceType(t6)._eval$1("MappedListIterable<1,InvitationEntity*>"); - t1 = A.BuiltList_BuiltList$from(A.List_List$of(new A.MappedListIterable(t6, new A.InvoiceEntity_InvoiceEntity_closure0(), t24), true, t24._eval$1("ListIterable.E")), t1); + if (!t5) { + t5 = vendor.get$emailContacts(); + t23 = A._arrayInstanceType(t5)._eval$1("MappedListIterable<1,InvitationEntity*>"); + t1 = A.BuiltList_BuiltList$from(A.List_List$of(new A.MappedListIterable(t5, new A.InvoiceEntity_InvoiceEntity_closure0(), t23), true, t23._eval$1("ListIterable.E")), t1); } else t1 = A.BuiltList_BuiltList$from(B.List_empty, t1); } - t6 = user == null ? _null : user.id; - if (t6 == null) - t6 = ""; - return A._$InvoiceEntity$_(t23, 0, 0, t6, _null, false, 0, t5, 0, "", 0, 0, 0, 0, t16 === true, t17 === true, t18 === true, t19 === true, "", "", "", "", t8, "", 0, t22, "", "terms", t4, exchangeRate, "", "", "", "5", t2, t3, t1, "", false, false, false, "", t21, 0, A.convertDateTimeToSqlDate(_null), "", 0, 0, "", "", "", "", "", t20, _null, -1, "", "", "", "", "1", "", 0, t10, t12, t14, t11, t13, t15, "", 0, t9 === true, t7); + t5 = user == null ? _null : user.id; + if (t5 == null) + t5 = ""; + return A._$InvoiceEntity$_(t22, 0, 0, t5, _null, false, 0, t4, 0, "", 0, 0, 0, 0, t15 === true, t16 === true, t17 === true, t18 === true, "", "", "", "", t7, "", 0, t21, "", "terms", t3, exchangeRate, "", "", "", "5", t2, t1, "", false, false, false, "", t20, 0, A.convertDateTimeToSqlDate(_null), "", 0, 0, "", "", "", "", "", t19, _null, -1, "", "", "", "", "1", "", 0, t9, t11, t13, t10, t12, t14, "", 0, t8 === true, t6); }, InvoiceEntity__initializeBuilder(builder) { builder.get$activities().replace$1(0, A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_ActivityEntity)); @@ -58389,15 +58372,14 @@ return A._$InvoiceItemEntity$_(0, 1000 * Date.now(), "", "", "", "", 0, null, "", 0, t1, t2, null, "", "", "", 0, 0, 0, "1"); }, InvitationEntity_InvitationEntity(clientContactId, vendorContactId) { - var t2, t3, t4, _null = null, + var t2, t3, _null = null, t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; - t2 = A.getRandomString(); - t3 = clientContactId == null ? "" : clientContactId; - t4 = vendorContactId == null ? "" : vendorContactId; - return A._$InvitationEntity$_(0, _null, t3, 0, _null, _null, _null, "" + t1, t2, false, false, "", "", "", "", 0, t4, ""); + t2 = clientContactId == null ? "" : clientContactId; + t3 = vendorContactId == null ? "" : vendorContactId; + return A._$InvitationEntity$_(0, _null, t2, 0, _null, _null, _null, "" + t1, false, false, "", "", "", "", 0, t3, ""); }, - _$InvoiceEntity$_(activities, amount, archivedAt, assignedUserId, autoBill, autoBillEnabled, balance, clientId, createdAt, createdUserId, customSurcharge1, customSurcharge2, customSurcharge3, customSurcharge4, customTaxes1, customTaxes2, customTaxes3, customTaxes4, customValue1, customValue2, customValue3, customValue4, date, designId, discount, documents, dueDate, dueDateDays, entityType, exchangeRate, expenseId, filename, footer, frequencyId, id, idempotencyKey, invitations, invoiceId, isAmountDiscount, isChanged, isDeleted, lastSentDate, lineItems, loadedAt, nextSendDate, number, paidToDate, partial, partialDueDate, poNumber, privateNotes, projectId, publicNotes, recurringDates, recurringId, remainingCycles, reminder1Sent, reminder2Sent, reminder3Sent, reminderLastSent, statusId, subscriptionId, taxAmount, taxName1, taxName2, taxName3, taxRate1, taxRate2, taxRate3, terms, updatedAt, usesInclusiveTaxes, vendorId) { + _$InvoiceEntity$_(activities, amount, archivedAt, assignedUserId, autoBill, autoBillEnabled, balance, clientId, createdAt, createdUserId, customSurcharge1, customSurcharge2, customSurcharge3, customSurcharge4, customTaxes1, customTaxes2, customTaxes3, customTaxes4, customValue1, customValue2, customValue3, customValue4, date, designId, discount, documents, dueDate, dueDateDays, entityType, exchangeRate, expenseId, filename, footer, frequencyId, id, invitations, invoiceId, isAmountDiscount, isChanged, isDeleted, lastSentDate, lineItems, loadedAt, nextSendDate, number, paidToDate, partial, partialDueDate, poNumber, privateNotes, projectId, publicNotes, recurringDates, recurringId, remainingCycles, reminder1Sent, reminder2Sent, reminder3Sent, reminderLastSent, statusId, subscriptionId, taxAmount, taxName1, taxName2, taxName3, taxRate1, taxRate2, taxRate3, terms, updatedAt, usesInclusiveTaxes, vendorId) { var _s13_ = "InvoiceEntity"; if (date == null) A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "date")); @@ -58411,13 +58393,13 @@ A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "documents")); if (activities == null) A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "activities")); - return new A._$InvoiceEntity(amount, balance, paidToDate, clientId, projectId, expenseId, vendorId, subscriptionId, statusId, number, discount, poNumber, date, dueDate, publicNotes, privateNotes, terms, footer, designId, usesInclusiveTaxes, taxName1, taxRate1, taxName2, taxRate2, taxName3, taxRate3, isAmountDiscount, partial, taxAmount, partialDueDate, autoBill, customValue1, customValue2, customValue3, customValue4, customSurcharge1, customSurcharge2, customSurcharge3, customSurcharge4, customTaxes1, customTaxes2, customTaxes3, customTaxes4, exchangeRate, reminder1Sent, reminder2Sent, reminder3Sent, reminderLastSent, frequencyId, lastSentDate, nextSendDate, remainingCycles, dueDateDays, invoiceId, recurringId, autoBillEnabled, filename, recurringDates, lineItems, invitations, documents, activities, loadedAt, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, entityType, idempotencyKey, id); + return new A._$InvoiceEntity(amount, balance, paidToDate, clientId, projectId, expenseId, vendorId, subscriptionId, statusId, number, discount, poNumber, date, dueDate, publicNotes, privateNotes, terms, footer, designId, usesInclusiveTaxes, taxName1, taxRate1, taxName2, taxRate2, taxName3, taxRate3, isAmountDiscount, partial, taxAmount, partialDueDate, autoBill, customValue1, customValue2, customValue3, customValue4, customSurcharge1, customSurcharge2, customSurcharge3, customSurcharge4, customTaxes1, customTaxes2, customTaxes3, customTaxes4, exchangeRate, reminder1Sent, reminder2Sent, reminder3Sent, reminderLastSent, frequencyId, lastSentDate, nextSendDate, remainingCycles, dueDateDays, invoiceId, recurringId, autoBillEnabled, filename, recurringDates, lineItems, invitations, documents, activities, loadedAt, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, entityType, id); }, _$InvoiceItemEntity$_(cost, createdAt, customValue1, customValue2, customValue3, customValue4, discount, expenseId, notes, productCost, productKey, quantity, taskId, taxName1, taxName2, taxName3, taxRate1, taxRate2, taxRate3, typeId) { return new A._$InvoiceItemEntity(productKey, notes, cost, productCost, quantity, taxName1, taxRate1, taxName2, taxRate2, taxName3, taxRate3, typeId, customValue1, customValue2, customValue3, customValue4, discount, taskId, expenseId, createdAt); }, - _$InvitationEntity$_(archivedAt, assignedUserId, clientContactId, createdAt, createdUserId, emailStatus, entityType, id, idempotencyKey, isChanged, isDeleted, key, link, openedDate, sentDate, updatedAt, vendorContactId, viewedDate) { - return new A._$InvitationEntity(key, link, clientContactId, vendorContactId, sentDate, viewedDate, openedDate, emailStatus, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, entityType, idempotencyKey, id); + _$InvitationEntity$_(archivedAt, assignedUserId, clientContactId, createdAt, createdUserId, emailStatus, entityType, id, isChanged, isDeleted, key, link, openedDate, sentDate, updatedAt, vendorContactId, viewedDate) { + return new A._$InvitationEntity(key, link, clientContactId, vendorContactId, sentDate, viewedDate, openedDate, emailStatus, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, entityType, id); }, InvoiceListResponse: function InvoiceListResponse() { }, @@ -58556,7 +58538,7 @@ InvoiceItemResponseBuilder: function InvoiceItemResponseBuilder() { this._invoice_model$_data = this._invoice_model$_$v = null; }, - _$InvoiceEntity: function _$InvoiceEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57, t58, t59, t60, t61, t62, t63, t64, t65, t66, t67, t68, t69, t70, t71, t72) { + _$InvoiceEntity: function _$InvoiceEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57, t58, t59, t60, t61, t62, t63, t64, t65, t66, t67, t68, t69, t70, t71) { var _ = this; _.amount = t0; _.balance = t1; @@ -58629,15 +58611,14 @@ _.createdUserId = t68; _.assignedUserId = t69; _.entityType = t70; - _.idempotencyKey = t71; - _.id = t72; + _.id = t71; _._invoice_model$__hashCode = null; }, InvoiceEntityBuilder: function InvoiceEntityBuilder() { var _ = this; _._taxAmount = _._partial = _._isAmountDiscount = _._taxRate3 = _._taxName3 = _._taxRate2 = _._taxName2 = _._taxRate1 = _._taxName1 = _._usesInclusiveTaxes = _._designId = _._footer = _._terms = _._invoice_model$_privateNotes = _._invoice_model$_publicNotes = _._dueDate = _._date = _._poNumber = _._discount = _._invoice_model$_number = _._statusId = _._subscriptionId = _._vendorId = _._expenseId = _._projectId = _._clientId = _._invoice_model$_paidToDate = _._invoice_model$_balance = _._amount = _._invoice_model$_$v = null; _._lineItems = _._recurringDates = _._filename = _._autoBillEnabled = _._recurringId = _._invoiceId = _._dueDateDays = _._remainingCycles = _._nextSendDate = _._lastSentDate = _._frequencyId = _._reminderLastSent = _._reminder3Sent = _._reminder2Sent = _._reminder1Sent = _._exchangeRate = _._customTaxes4 = _._customTaxes3 = _._customTaxes2 = _._customTaxes1 = _._customSurcharge4 = _._customSurcharge3 = _._customSurcharge2 = _._customSurcharge1 = _._invoice_model$_customValue4 = _._invoice_model$_customValue3 = _._invoice_model$_customValue2 = _._invoice_model$_customValue1 = _._invoice_model$_autoBill = _._partialDueDate = null; - _._invoice_model$_id = _._invoice_model$_idempotencyKey = _._invoice_model$_entityType = _._invoice_model$_assignedUserId = _._invoice_model$_createdUserId = _._invoice_model$_isDeleted = _._invoice_model$_archivedAt = _._invoice_model$_updatedAt = _._invoice_model$_createdAt = _._invoice_model$_isChanged = _._invoice_model$_loadedAt = _._invoice_model$_activities = _._invoice_model$_documents = _._invitations = null; + _._invoice_model$_id = _._invoice_model$_entityType = _._invoice_model$_assignedUserId = _._invoice_model$_createdUserId = _._invoice_model$_isDeleted = _._invoice_model$_archivedAt = _._invoice_model$_updatedAt = _._invoice_model$_createdAt = _._invoice_model$_isChanged = _._invoice_model$_loadedAt = _._invoice_model$_activities = _._invoice_model$_documents = _._invitations = null; }, _$InvoiceItemEntity: function _$InvoiceItemEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) { var _ = this; @@ -58667,7 +58648,7 @@ var _ = this; _._invoice_model$_createdAt = _._expenseId = _._taskId = _._discount = _._invoice_model$_customValue4 = _._invoice_model$_customValue3 = _._invoice_model$_customValue2 = _._invoice_model$_customValue1 = _._invoice_model$_typeId = _._taxRate3 = _._taxName3 = _._taxRate2 = _._taxName2 = _._taxRate1 = _._taxName1 = _._invoice_model$_quantity = _._productCost = _._invoice_model$_cost = _._invoice_model$_notes = _._invoice_model$_productKey = _._invoice_model$_$v = null; }, - _$InvitationEntity: function _$InvitationEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { + _$InvitationEntity: function _$InvitationEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _.key = t0; _.link = t1; @@ -58685,13 +58666,12 @@ _.createdUserId = t13; _.assignedUserId = t14; _.entityType = t15; - _.idempotencyKey = t16; - _.id = t17; + _.id = t16; _._invoice_model$__hashCode = null; }, InvitationEntityBuilder: function InvitationEntityBuilder() { var _ = this; - _._invoice_model$_id = _._invoice_model$_idempotencyKey = _._invoice_model$_entityType = _._invoice_model$_assignedUserId = _._invoice_model$_createdUserId = _._invoice_model$_isDeleted = _._invoice_model$_archivedAt = _._invoice_model$_updatedAt = _._invoice_model$_createdAt = _._invoice_model$_isChanged = _._emailStatus = _._openedDate = _._viewedDate = _._sentDate = _._vendorContactId = _._invoice_model$_clientContactId = _._invoice_model$_link = _._invoice_model$_key = _._invoice_model$_$v = null; + _._invoice_model$_id = _._invoice_model$_entityType = _._invoice_model$_assignedUserId = _._invoice_model$_createdUserId = _._invoice_model$_isDeleted = _._invoice_model$_archivedAt = _._invoice_model$_updatedAt = _._invoice_model$_createdAt = _._invoice_model$_isChanged = _._emailStatus = _._openedDate = _._viewedDate = _._sentDate = _._vendorContactId = _._invoice_model$_clientContactId = _._invoice_model$_link = _._invoice_model$_key = _._invoice_model$_$v = null; }, _$InvoiceScheduleEntity: function _$InvoiceScheduleEntity(t0, t1) { this.sendDate = t0; @@ -58883,7 +58863,7 @@ A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "invoices")); if (credits == null) A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "credits")); - return new A._$PaymentEntity(amount, applied, refunded, number, clientId, statusId, transactionReference, date, typeId, privateNotes, customValue1, customValue2, customValue3, customValue4, exchangeRate, exchangeCurrencyId, isManual, projectId, vendorId, invitationId, clientContactId, companyGatewayId, currencyId, isApplying, sendEmail, gatewayRefund, paymentables, invoices, credits, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + return new A._$PaymentEntity(amount, applied, refunded, number, idempotencyKey, clientId, statusId, transactionReference, date, typeId, privateNotes, customValue1, customValue2, customValue3, customValue4, exchangeRate, exchangeCurrencyId, isManual, projectId, vendorId, invitationId, clientContactId, companyGatewayId, currencyId, isApplying, sendEmail, gatewayRefund, paymentables, invoices, credits, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, _$PaymentableEntity$_(amount, createdAt, creditId, id, invoiceId, updatedAt) { return new A._$PaymentableEntity(createdAt, updatedAt, invoiceId, creditId, amount, id); @@ -58932,46 +58912,46 @@ _.applied = t1; _.refunded = t2; _.number = t3; - _.clientId = t4; - _.statusId = t5; - _.transactionReference = t6; - _.date = t7; - _.typeId = t8; - _.privateNotes = t9; - _.customValue1 = t10; - _.customValue2 = t11; - _.customValue3 = t12; - _.customValue4 = t13; - _.exchangeRate = t14; - _.exchangeCurrencyId = t15; - _.isManual = t16; - _.projectId = t17; - _.vendorId = t18; - _.invitationId = t19; - _.clientContactId = t20; - _.companyGatewayId = t21; - _.currencyId = t22; - _.isApplying = t23; - _.sendEmail = t24; - _.gatewayRefund = t25; - _.paymentables = t26; - _.invoices = t27; - _.credits = t28; - _.isChanged = t29; - _.createdAt = t30; - _.updatedAt = t31; - _.archivedAt = t32; - _.isDeleted = t33; - _.createdUserId = t34; - _.assignedUserId = t35; - _.idempotencyKey = t36; + _.idempotencyKey = t4; + _.clientId = t5; + _.statusId = t6; + _.transactionReference = t7; + _.date = t8; + _.typeId = t9; + _.privateNotes = t10; + _.customValue1 = t11; + _.customValue2 = t12; + _.customValue3 = t13; + _.customValue4 = t14; + _.exchangeRate = t15; + _.exchangeCurrencyId = t16; + _.isManual = t17; + _.projectId = t18; + _.vendorId = t19; + _.invitationId = t20; + _.clientContactId = t21; + _.companyGatewayId = t22; + _.currencyId = t23; + _.isApplying = t24; + _.sendEmail = t25; + _.gatewayRefund = t26; + _.paymentables = t27; + _.invoices = t28; + _.credits = t29; + _.isChanged = t30; + _.createdAt = t31; + _.updatedAt = t32; + _.archivedAt = t33; + _.isDeleted = t34; + _.createdUserId = t35; + _.assignedUserId = t36; _.id = t37; _._payment_model$__hashCode = null; }, PaymentEntityBuilder: function PaymentEntityBuilder() { var _ = this; - _._payment_model$_credits = _._payment_model$_invoices = _._paymentables = _._gatewayRefund = _._sendEmail = _._isApplying = _._payment_model$_currencyId = _._companyGatewayId = _._clientContactId = _._invitationId = _._payment_model$_vendorId = _._payment_model$_projectId = _._isManual = _._exchangeCurrencyId = _._payment_model$_exchangeRate = _._payment_model$_customValue4 = _._payment_model$_customValue3 = _._payment_model$_customValue2 = _._payment_model$_customValue1 = _._payment_model$_privateNotes = _._typeId = _._payment_model$_date = _._transactionReference = _._payment_model$_statusId = _._payment_model$_clientId = _._payment_model$_number = _._refunded = _._applied = _._payment_model$_amount = _._payment_model$_$v = null; - _._payment_model$_id = _._payment_model$_idempotencyKey = _._payment_model$_assignedUserId = _._payment_model$_createdUserId = _._payment_model$_isDeleted = _._payment_model$_archivedAt = _._payment_model$_updatedAt = _._payment_model$_createdAt = _._payment_model$_isChanged = null; + _._payment_model$_invoices = _._paymentables = _._gatewayRefund = _._sendEmail = _._isApplying = _._payment_model$_currencyId = _._companyGatewayId = _._clientContactId = _._invitationId = _._payment_model$_vendorId = _._payment_model$_projectId = _._isManual = _._exchangeCurrencyId = _._payment_model$_exchangeRate = _._payment_model$_customValue4 = _._payment_model$_customValue3 = _._payment_model$_customValue2 = _._payment_model$_customValue1 = _._payment_model$_privateNotes = _._typeId = _._payment_model$_date = _._transactionReference = _._payment_model$_statusId = _._payment_model$_clientId = _._idempotencyKey = _._payment_model$_number = _._refunded = _._applied = _._payment_model$_amount = _._payment_model$_$v = null; + _._payment_model$_id = _._payment_model$_assignedUserId = _._payment_model$_createdUserId = _._payment_model$_isDeleted = _._payment_model$_archivedAt = _._payment_model$_updatedAt = _._payment_model$_createdAt = _._payment_model$_isChanged = _._payment_model$_credits = null; }, _$PaymentableEntity: function _$PaymentableEntity(t0, t1, t2, t3, t4, t5) { var _ = this; @@ -59003,10 +58983,10 @@ t1 = "" + t1; } else t1 = id; - return A._$PaymentTermEntity$_(0, null, 0, null, t1, A.getRandomString(), false, false, "", 0, 0); + return A._$PaymentTermEntity$_(0, null, 0, null, t1, false, false, "", 0, 0); }, - _$PaymentTermEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, id, idempotencyKey, isChanged, isDeleted, $name, numDays, updatedAt) { - return new A._$PaymentTermEntity($name, numDays, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + _$PaymentTermEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, id, isChanged, isDeleted, $name, numDays, updatedAt) { + return new A._$PaymentTermEntity($name, numDays, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, PaymentTermListResponse: function PaymentTermListResponse() { }, @@ -59034,7 +59014,7 @@ PaymentTermItemResponseBuilder: function PaymentTermItemResponseBuilder() { this._payment_term_model$_data = this._payment_term_model$_$v = null; }, - _$PaymentTermEntity: function _$PaymentTermEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + _$PaymentTermEntity: function _$PaymentTermEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.name = t0; _.numDays = t1; @@ -59045,28 +59025,26 @@ _.isDeleted = t6; _.createdUserId = t7; _.assignedUserId = t8; - _.idempotencyKey = t9; - _.id = t10; + _.id = t9; _._payment_term_model$__hashCode = null; }, PaymentTermEntityBuilder: function PaymentTermEntityBuilder() { var _ = this; - _._payment_term_model$_id = _._payment_term_model$_idempotencyKey = _._payment_term_model$_assignedUserId = _._payment_term_model$_createdUserId = _._payment_term_model$_isDeleted = _._payment_term_model$_archivedAt = _._payment_term_model$_updatedAt = _._payment_term_model$_createdAt = _._payment_term_model$_isChanged = _._numDays = _._payment_term_model$_name = _._payment_term_model$_$v = null; + _._payment_term_model$_id = _._payment_term_model$_assignedUserId = _._payment_term_model$_createdUserId = _._payment_term_model$_isDeleted = _._payment_term_model$_archivedAt = _._payment_term_model$_updatedAt = _._payment_term_model$_createdAt = _._payment_term_model$_isChanged = _._numDays = _._payment_term_model$_name = _._payment_term_model$_$v = null; }, _PaymentTermEntity_Object_BaseEntity: function _PaymentTermEntity_Object_BaseEntity() { }, _PaymentTermEntity_Object_BaseEntity_SelectableEntity: function _PaymentTermEntity_Object_BaseEntity_SelectableEntity() { }, ProductEntity_ProductEntity(id, state) { - var t1, t2; + var t1; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; - t2 = A.getRandomString(); - return A._$ProductEntity$_(0, "", 0, 0, "", "", "", "", "", A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_DocumentEntity), t1, t2, false, false, "", 0, "", 1, true, 0, 0, "", "", "", 0, 0, 0, 0); + return A._$ProductEntity$_(0, "", 0, 0, "", "", "", "", "", A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_DocumentEntity), t1, false, false, "", 0, "", 1, true, 0, 0, "", "", "", 0, 0, 0, 0); }, ProductEntity__initializeBuilder(builder) { builder.get$_product_model$_$this()._stockQuantity = 0; @@ -59074,10 +59052,10 @@ builder.get$_product_model$_$this()._product_model$_stockNotificationThreshold = 0; return builder; }, - _$ProductEntity$_(archivedAt, assignedUserId, cost, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, documents, id, idempotencyKey, isChanged, isDeleted, notes, price, productKey, quantity, stockNotification, stockNotificationThreshold, stockQuantity, taxName1, taxName2, taxName3, taxRate1, taxRate2, taxRate3, updatedAt) { + _$ProductEntity$_(archivedAt, assignedUserId, cost, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, documents, id, isChanged, isDeleted, notes, price, productKey, quantity, stockNotification, stockNotificationThreshold, stockQuantity, taxName1, taxName2, taxName3, taxRate1, taxRate2, taxRate3, updatedAt) { if (documents == null) A.throwExpression(A.BuiltValueNullFieldError$("ProductEntity", "documents")); - return new A._$ProductEntity(productKey, notes, cost, price, quantity, taxName1, taxRate1, taxName2, taxRate2, taxName3, taxRate3, customValue1, customValue2, customValue3, customValue4, stockQuantity, stockNotificationThreshold, stockNotification, documents, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + return new A._$ProductEntity(productKey, notes, cost, price, quantity, taxName1, taxRate1, taxName2, taxRate2, taxName3, taxRate3, customValue1, customValue2, customValue3, customValue4, stockQuantity, stockNotificationThreshold, stockNotification, documents, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, ProductListResponse: function ProductListResponse() { }, @@ -59107,7 +59085,7 @@ ProductItemResponseBuilder: function ProductItemResponseBuilder() { this._product_model$_data = this._product_model$_$v = null; }, - _$ProductEntity: function _$ProductEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27) { + _$ProductEntity: function _$ProductEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26) { var _ = this; _.productKey = t0; _.notes = t1; @@ -59135,39 +59113,37 @@ _.isDeleted = t23; _.createdUserId = t24; _.assignedUserId = t25; - _.idempotencyKey = t26; - _.id = t27; + _.id = t26; _._product_model$__hashCode = null; }, ProductEntityBuilder: function ProductEntityBuilder() { var _ = this; - _._product_model$_id = _._product_model$_idempotencyKey = _._product_model$_assignedUserId = _._product_model$_createdUserId = _._product_model$_isDeleted = _._product_model$_archivedAt = _._product_model$_updatedAt = _._product_model$_createdAt = _._product_model$_isChanged = _._product_model$_documents = _._product_model$_stockNotification = _._product_model$_stockNotificationThreshold = _._stockQuantity = _._product_model$_customValue4 = _._product_model$_customValue3 = _._product_model$_customValue2 = _._product_model$_customValue1 = _._product_model$_taxRate3 = _._product_model$_taxName3 = _._product_model$_taxRate2 = _._product_model$_taxName2 = _._product_model$_taxRate1 = _._product_model$_taxName1 = _._quantity = _._product_model$_price = _._cost = _._notes = _._productKey = _._product_model$_$v = null; + _._product_model$_id = _._product_model$_assignedUserId = _._product_model$_createdUserId = _._product_model$_isDeleted = _._product_model$_archivedAt = _._product_model$_updatedAt = _._product_model$_createdAt = _._product_model$_isChanged = _._product_model$_documents = _._product_model$_stockNotification = _._product_model$_stockNotificationThreshold = _._stockQuantity = _._product_model$_customValue4 = _._product_model$_customValue3 = _._product_model$_customValue2 = _._product_model$_customValue1 = _._product_model$_taxRate3 = _._product_model$_taxName3 = _._product_model$_taxRate2 = _._product_model$_taxName2 = _._product_model$_taxRate1 = _._product_model$_taxName1 = _._quantity = _._product_model$_price = _._cost = _._notes = _._productKey = _._product_model$_$v = null; }, _ProductEntity_Object_BaseEntity: function _ProductEntity_Object_BaseEntity() { }, _ProductEntity_Object_BaseEntity_SelectableEntity: function _ProductEntity_Object_BaseEntity_SelectableEntity() { }, ProjectEntity_ProjectEntity(client, id, state, user) { - var t1, t2, t3, t4; + var t1, t2, t3; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; - t2 = A.getRandomString(); - t3 = client == null ? null : client.id; + t2 = client == null ? null : client.id; + if (t2 == null) + t2 = ""; + t3 = user == null ? null : user.id; if (t3 == null) t3 = ""; - t4 = user == null ? null : user.id; - if (t4 == null) - t4 = ""; - return A._$ProjectEntity$_(0, t4, 0, t3, "", 0, "", "", "", "", "", A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_DocumentEntity), "", t1, t2, false, false, "", "", "", "", 0, 0); + return A._$ProjectEntity$_(0, t3, 0, t2, "", 0, "", "", "", "", "", A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_DocumentEntity), "", t1, false, false, "", "", "", "", 0, 0); }, - _$ProjectEntity$_(archivedAt, assignedUserId, budgetedHours, clientId, color, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, documents, dueDate, id, idempotencyKey, isChanged, isDeleted, $name, number, privateNotes, publicNotes, taskRate, updatedAt) { + _$ProjectEntity$_(archivedAt, assignedUserId, budgetedHours, clientId, color, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, documents, dueDate, id, isChanged, isDeleted, $name, number, privateNotes, publicNotes, taskRate, updatedAt) { if (documents == null) A.throwExpression(A.BuiltValueNullFieldError$("ProjectEntity", "documents")); - return new A._$ProjectEntity($name, color, clientId, taskRate, dueDate, privateNotes, publicNotes, budgetedHours, customValue1, customValue2, customValue3, customValue4, number, documents, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + return new A._$ProjectEntity($name, color, clientId, taskRate, dueDate, privateNotes, publicNotes, budgetedHours, customValue1, customValue2, customValue3, customValue4, number, documents, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, ProjectListResponse: function ProjectListResponse() { }, @@ -59197,7 +59173,7 @@ ProjectItemResponseBuilder: function ProjectItemResponseBuilder() { this._project_model$_data = this._project_model$_$v = null; }, - _$ProjectEntity: function _$ProjectEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22) { + _$ProjectEntity: function _$ProjectEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21) { var _ = this; _.name = t0; _.color = t1; @@ -59220,13 +59196,12 @@ _.isDeleted = t18; _.createdUserId = t19; _.assignedUserId = t20; - _.idempotencyKey = t21; - _.id = t22; + _.id = t21; _._project_model$__hashCode = null; }, ProjectEntityBuilder: function ProjectEntityBuilder() { var _ = this; - _._project_model$_id = _._project_model$_idempotencyKey = _._project_model$_assignedUserId = _._project_model$_createdUserId = _._project_model$_isDeleted = _._project_model$_archivedAt = _._project_model$_updatedAt = _._project_model$_createdAt = _._project_model$_isChanged = _._project_model$_documents = _._project_model$_number = _._project_model$_customValue4 = _._project_model$_customValue3 = _._project_model$_customValue2 = _._project_model$_customValue1 = _._budgetedHours = _._project_model$_publicNotes = _._project_model$_privateNotes = _._project_model$_dueDate = _._taskRate = _._project_model$_clientId = _._color = _._project_model$_name = _._project_model$_$v = null; + _._project_model$_id = _._project_model$_assignedUserId = _._project_model$_createdUserId = _._project_model$_isDeleted = _._project_model$_archivedAt = _._project_model$_updatedAt = _._project_model$_createdAt = _._project_model$_isChanged = _._project_model$_documents = _._project_model$_number = _._project_model$_customValue4 = _._project_model$_customValue3 = _._project_model$_customValue2 = _._project_model$_customValue1 = _._budgetedHours = _._project_model$_publicNotes = _._project_model$_privateNotes = _._project_model$_dueDate = _._taskRate = _._project_model$_clientId = _._color = _._project_model$_name = _._project_model$_$v = null; }, _ProjectEntity_Object_BaseEntity: function _ProjectEntity_Object_BaseEntity() { }, @@ -60451,7 +60426,7 @@ } else t1 = id; t2 = type$.legacy_String; - return A._$SubscriptionEntity$_(false, false, false, 0, "", "", 0, "", "", "", t1, A.getRandomString(), true, false, false, 0, "", false, 0, "", "", 0, "", "", 0, 0, false, 0, A._$WebhookConfigurationEntity$_("", A.BuiltMap_BuiltMap(B.Map_empty0, t2, t2), "", "", "")); + return A._$SubscriptionEntity$_(false, false, false, 0, "", "", 0, "", "", "", t1, true, false, false, 0, "", false, 0, "", "", 0, "", "", 0, 0, false, 0, A._$WebhookConfigurationEntity$_("", A.BuiltMap_BuiltMap(B.Map_empty0, t2, t2), "", "", "")); }, WebhookConfigurationEntity__initializeBuilder(builder) { var t1; @@ -60463,10 +60438,10 @@ builder.get$_subscription_model$_$this()._postPurchaseUrl = ""; return builder; }, - _$SubscriptionEntity$_(allowCancellation, allowPlanChanges, allowQueryOverrides, archivedAt, assignedUserId, autoBill, createdAt, createdUserId, frequencyId, groupId, id, idempotencyKey, isAmountDiscount, isChanged, isDeleted, maxSeatsLimit, $name, perSeatEnabled, price, productIds, promoCode, promoDiscount, purchasePage, recurringProductIds, refundPeriod, trialDuration, trialEnabled, updatedAt, webhookConfiguration) { + _$SubscriptionEntity$_(allowCancellation, allowPlanChanges, allowQueryOverrides, archivedAt, assignedUserId, autoBill, createdAt, createdUserId, frequencyId, groupId, id, isAmountDiscount, isChanged, isDeleted, maxSeatsLimit, $name, perSeatEnabled, price, productIds, promoCode, promoDiscount, purchasePage, recurringProductIds, refundPeriod, trialDuration, trialEnabled, updatedAt, webhookConfiguration) { if (webhookConfiguration == null) A.throwExpression(A.BuiltValueNullFieldError$("SubscriptionEntity", "webhookConfiguration")); - return new A._$SubscriptionEntity($name, groupId, productIds, recurringProductIds, frequencyId, autoBill, promoCode, promoDiscount, price, isAmountDiscount, allowCancellation, perSeatEnabled, maxSeatsLimit, trialEnabled, trialDuration, allowQueryOverrides, allowPlanChanges, refundPeriod, webhookConfiguration, purchasePage, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + return new A._$SubscriptionEntity($name, groupId, productIds, recurringProductIds, frequencyId, autoBill, promoCode, promoDiscount, price, isAmountDiscount, allowCancellation, perSeatEnabled, maxSeatsLimit, trialEnabled, trialDuration, allowQueryOverrides, allowPlanChanges, refundPeriod, webhookConfiguration, purchasePage, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, _$WebhookConfigurationEntity$_(postPurchaseBody, postPurchaseHeaders, postPurchaseRestMethod, postPurchaseUrl, returnUrl) { if (postPurchaseHeaders == null) @@ -60503,7 +60478,7 @@ SubscriptionItemResponseBuilder: function SubscriptionItemResponseBuilder() { this._subscription_model$_data = this._subscription_model$_$v = null; }, - _$SubscriptionEntity: function _$SubscriptionEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28) { + _$SubscriptionEntity: function _$SubscriptionEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27) { var _ = this; _.name = t0; _.groupId = t1; @@ -60532,13 +60507,12 @@ _.isDeleted = t24; _.createdUserId = t25; _.assignedUserId = t26; - _.idempotencyKey = t27; - _.id = t28; + _.id = t27; _._subscription_model$__hashCode = null; }, SubscriptionEntityBuilder: function SubscriptionEntityBuilder() { var _ = this; - _._subscription_model$_id = _._subscription_model$_idempotencyKey = _._subscription_model$_assignedUserId = _._subscription_model$_createdUserId = _._subscription_model$_isDeleted = _._subscription_model$_archivedAt = _._subscription_model$_updatedAt = _._subscription_model$_createdAt = _._subscription_model$_isChanged = _._purchasePage = _._webhookConfiguration = _._refundPeriod = _._allowPlanChanges = _._allowQueryOverrides = _._trialDuration = _._trialEnabled = _._maxSeatsLimit = _._perSeatEnabled = _._allowCancellation = _._subscription_model$_isAmountDiscount = _._price = _._promoDiscount = _._promoCode = _._subscription_model$_autoBill = _._subscription_model$_frequencyId = _._recurringProductIds = _._productIds = _._subscription_model$_groupId = _._subscription_model$_name = _._subscription_model$_$v = null; + _._subscription_model$_id = _._subscription_model$_assignedUserId = _._subscription_model$_createdUserId = _._subscription_model$_isDeleted = _._subscription_model$_archivedAt = _._subscription_model$_updatedAt = _._subscription_model$_createdAt = _._subscription_model$_isChanged = _._purchasePage = _._webhookConfiguration = _._refundPeriod = _._allowPlanChanges = _._allowQueryOverrides = _._trialDuration = _._trialEnabled = _._maxSeatsLimit = _._perSeatEnabled = _._allowCancellation = _._subscription_model$_isAmountDiscount = _._price = _._promoDiscount = _._promoCode = _._subscription_model$_autoBill = _._subscription_model$_frequencyId = _._recurringProductIds = _._productIds = _._subscription_model$_groupId = _._subscription_model$_name = _._subscription_model$_$v = null; }, _$WebhookConfigurationEntity: function _$WebhookConfigurationEntity(t0, t1, t2, t3, t4) { var _ = this; @@ -60580,7 +60554,7 @@ return new A._$TaskTime(startDate == null ? A.DateTime$fromMillisecondsSinceEpoch(B.JSNumber_methods.floor$0(Date.now() / 1000) * 1000, true) : startDate, endDate); }, TaskEntity_TaskEntity(client, id, project, state, user) { - var t2, t3, t4, t5, t6, t7, t8, _null = null, + var t2, t3, t4, t5, t6, t7, _null = null, t1 = state == null; if (t1) t2 = _null; @@ -60597,39 +60571,38 @@ t3 = "" + t3; } else t3 = id; - t4 = A.getRandomString(); - t5 = project == null; - t6 = t5 ? _null : project.clientId; - if (t6 == null) - t6 = client == null ? _null : client.id; - if (t6 == null) - t6 = ""; - t5 = t5 ? _null : project.id; + t4 = project == null; + t5 = t4 ? _null : project.clientId; + if (t5 == null) + t5 = client == null ? _null : client.id; if (t5 == null) t5 = ""; + t4 = t4 ? _null : project.id; + if (t4 == null) + t4 = ""; t2 = t2 === true ? "[[" + B.JSNumber_methods.floor$0(Date.now() / 1000) + ",0]]" : "[]"; - t7 = user == null ? _null : user.id; - if (t7 == null) - t7 = ""; + t6 = user == null ? _null : user.id; + if (t6 == null) + t6 = ""; if (t1) t1 = _null; else { t1 = state.userCompanyStates; - t8 = state.uiState.selectedCompanyIndex; - t8 = t1._list[t8].taskStatusState; - t1 = t8; + t7 = state.uiState.selectedCompanyIndex; + t7 = t1._list[t7].taskStatusState; + t1 = t7; } t1 = t1 == null ? _null : t1.map; t1 = A.defaultTaskStatusId(t1 == null ? A.BuiltMap_BuiltMap(B.Map_empty0, type$.legacy_String, type$.legacy_TaskStatusEntity) : t1); - return A._$TaskEntity$_(0, t7, t6, 0, "", "", "", "", "", "", A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_DocumentEntity), 0, t3, t4, "", false, false, "", t5, 0, t1, _null, t2, 0); + return A._$TaskEntity$_(0, t6, t5, 0, "", "", "", "", "", "", A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_DocumentEntity), 0, t3, "", false, false, "", t4, 0, t1, _null, t2, 0); }, - _$TaskEntity$_(archivedAt, assignedUserId, clientId, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, description, documents, duration, id, idempotencyKey, invoiceId, isChanged, isDeleted, number, projectId, rate, statusId, statusOrder, timeLog, updatedAt) { + _$TaskEntity$_(archivedAt, assignedUserId, clientId, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, description, documents, duration, id, invoiceId, isChanged, isDeleted, number, projectId, rate, statusId, statusOrder, timeLog, updatedAt) { var _s10_ = "TaskEntity"; if (statusId == null) A.throwExpression(A.BuiltValueNullFieldError$(_s10_, "statusId")); if (documents == null) A.throwExpression(A.BuiltValueNullFieldError$(_s10_, "documents")); - return new A._$TaskEntity(description, number, duration, invoiceId, clientId, rate, projectId, timeLog, customValue1, customValue2, customValue3, customValue4, statusId, statusOrder, documents, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + return new A._$TaskEntity(description, number, duration, invoiceId, clientId, rate, projectId, timeLog, customValue1, customValue2, customValue3, customValue4, statusId, statusOrder, documents, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, TaskListResponse: function TaskListResponse() { }, @@ -60697,7 +60670,7 @@ TaskTimeBuilder: function TaskTimeBuilder() { this._endDate = this._startDate = this._task_model$_$v = null; }, - _$TaskEntity: function _$TaskEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23) { + _$TaskEntity: function _$TaskEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22) { var _ = this; _.description = t0; _.number = t1; @@ -60721,13 +60694,12 @@ _.isDeleted = t19; _.createdUserId = t20; _.assignedUserId = t21; - _.idempotencyKey = t22; - _.id = t23; + _.id = t22; _._task_model$__hashCode = null; }, TaskEntityBuilder: function TaskEntityBuilder() { var _ = this; - _._task_model$_id = _._task_model$_idempotencyKey = _._task_model$_assignedUserId = _._task_model$_createdUserId = _._task_model$_isDeleted = _._task_model$_archivedAt = _._task_model$_updatedAt = _._task_model$_createdAt = _._task_model$_isChanged = _._task_model$_documents = _._statusOrder = _._task_model$_statusId = _._task_model$_customValue4 = _._task_model$_customValue3 = _._task_model$_customValue2 = _._task_model$_customValue1 = _._timeLog = _._task_model$_projectId = _._rate = _._task_model$_clientId = _._task_model$_invoiceId = _._task_model$_duration = _._task_model$_number = _._description = _._task_model$_$v = null; + _._task_model$_id = _._task_model$_assignedUserId = _._task_model$_createdUserId = _._task_model$_isDeleted = _._task_model$_archivedAt = _._task_model$_updatedAt = _._task_model$_createdAt = _._task_model$_isChanged = _._task_model$_documents = _._statusOrder = _._task_model$_statusId = _._task_model$_customValue4 = _._task_model$_customValue3 = _._task_model$_customValue2 = _._task_model$_customValue1 = _._timeLog = _._task_model$_projectId = _._rate = _._task_model$_clientId = _._task_model$_invoiceId = _._task_model$_duration = _._task_model$_number = _._description = _._task_model$_$v = null; }, _TaskEntity_Object_BaseEntity: function _TaskEntity_Object_BaseEntity() { }, @@ -60743,10 +60715,10 @@ t1 = "" + t1; } else t1 = id; - return A._$TaskStatusEntity$_(0, "", "", 0, "", t1, A.getRandomString(), false, false, "", null, 0); + return A._$TaskStatusEntity$_(0, "", "", 0, "", t1, false, false, "", null, 0); }, - _$TaskStatusEntity$_(archivedAt, assignedUserId, color, createdAt, createdUserId, id, idempotencyKey, isChanged, isDeleted, $name, statusOrder, updatedAt) { - return new A._$TaskStatusEntity($name, color, statusOrder, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + _$TaskStatusEntity$_(archivedAt, assignedUserId, color, createdAt, createdUserId, id, isChanged, isDeleted, $name, statusOrder, updatedAt) { + return new A._$TaskStatusEntity($name, color, statusOrder, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, TaskStatusListResponse: function TaskStatusListResponse() { }, @@ -60774,7 +60746,7 @@ TaskStatusItemResponseBuilder: function TaskStatusItemResponseBuilder() { this._task_status_model$_data = this._task_status_model$_$v = null; }, - _$TaskStatusEntity: function _$TaskStatusEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { + _$TaskStatusEntity: function _$TaskStatusEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.name = t0; _.color = t1; @@ -60786,13 +60758,12 @@ _.isDeleted = t7; _.createdUserId = t8; _.assignedUserId = t9; - _.idempotencyKey = t10; - _.id = t11; + _.id = t10; _._task_status_model$__hashCode = null; }, TaskStatusEntityBuilder: function TaskStatusEntityBuilder() { var _ = this; - _._task_status_model$_id = _._task_status_model$_idempotencyKey = _._task_status_model$_assignedUserId = _._task_status_model$_createdUserId = _._task_status_model$_isDeleted = _._task_status_model$_archivedAt = _._task_status_model$_updatedAt = _._task_status_model$_createdAt = _._task_status_model$_isChanged = _._task_status_model$_statusOrder = _._task_status_model$_color = _._task_status_model$_name = _._task_status_model$_$v = null; + _._task_status_model$_id = _._task_status_model$_assignedUserId = _._task_status_model$_createdUserId = _._task_status_model$_isDeleted = _._task_status_model$_archivedAt = _._task_status_model$_updatedAt = _._task_status_model$_createdAt = _._task_status_model$_isChanged = _._task_status_model$_statusOrder = _._task_status_model$_color = _._task_status_model$_name = _._task_status_model$_$v = null; }, _TaskStatusEntity_Object_BaseEntity: function _TaskStatusEntity_Object_BaseEntity() { }, @@ -60801,16 +60772,15 @@ _TaskStatusEntity_Object_BaseEntity_SelectableEntity_EntityStatus: function _TaskStatusEntity_Object_BaseEntity_SelectableEntity_EntityStatus() { }, TaxRateEntity_TaxRateEntity(id, $name, rate, state) { - var t2, t3, t4, + var t2, t3, t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; - t2 = A.getRandomString(); - t3 = $name == null ? "" : $name; - t4 = rate == null ? 0 : rate; - return A._$TaxRateEntity$_(0, "", 0, "", "" + t1, t2, false, false, t3, t4, 0); + t2 = $name == null ? "" : $name; + t3 = rate == null ? 0 : rate; + return A._$TaxRateEntity$_(0, "", 0, "", "" + t1, false, false, t2, t3, 0); }, - _$TaxRateEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, id, idempotencyKey, isChanged, isDeleted, $name, rate, updatedAt) { - return new A._$TaxRateEntity($name, rate, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + _$TaxRateEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, id, isChanged, isDeleted, $name, rate, updatedAt) { + return new A._$TaxRateEntity($name, rate, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, TaxRateListResponse: function TaxRateListResponse() { }, @@ -60838,7 +60808,7 @@ TaxRateItemResponseBuilder: function TaxRateItemResponseBuilder() { this._tax_rate_model$_data = this._tax_rate_model$_$v = null; }, - _$TaxRateEntity: function _$TaxRateEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + _$TaxRateEntity: function _$TaxRateEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.name = t0; _.rate = t1; @@ -60849,13 +60819,12 @@ _.isDeleted = t6; _.createdUserId = t7; _.assignedUserId = t8; - _.idempotencyKey = t9; - _.id = t10; + _.id = t9; _._tax_rate_model$__hashCode = null; }, TaxRateEntityBuilder: function TaxRateEntityBuilder() { var _ = this; - _._tax_rate_model$_id = _._tax_rate_model$_idempotencyKey = _._tax_rate_model$_assignedUserId = _._tax_rate_model$_createdUserId = _._tax_rate_model$_isDeleted = _._tax_rate_model$_archivedAt = _._tax_rate_model$_updatedAt = _._tax_rate_model$_createdAt = _._tax_rate_model$_isChanged = _._tax_rate_model$_rate = _._tax_rate_model$_name = _._tax_rate_model$_$v = null; + _._tax_rate_model$_id = _._tax_rate_model$_assignedUserId = _._tax_rate_model$_createdUserId = _._tax_rate_model$_isDeleted = _._tax_rate_model$_archivedAt = _._tax_rate_model$_updatedAt = _._tax_rate_model$_createdAt = _._tax_rate_model$_isChanged = _._tax_rate_model$_rate = _._tax_rate_model$_name = _._tax_rate_model$_$v = null; }, _TaxRateEntity_Object_BaseEntity: function _TaxRateEntity_Object_BaseEntity() { }, @@ -60869,15 +60838,15 @@ t1 = "" + t1; } else t1 = id; - return A._$TokenEntity$_(0, "", 0, "", t1, A.getRandomString(), false, false, false, "", "", 0); + return A._$TokenEntity$_(0, "", 0, "", t1, false, false, false, "", "", 0); }, TokenEntity_unobscureToken(value) { if (value == null || value.length === 0) return null; return B.C_Utf8Codec.decode$1(0, B.C_Base64Decoder.convert$1(value)); }, - _$TokenEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, id, idempotencyKey, isChanged, isDeleted, isSystem, $name, token, updatedAt) { - return new A._$TokenEntity(isSystem, token, $name, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + _$TokenEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, id, isChanged, isDeleted, isSystem, $name, token, updatedAt) { + return new A._$TokenEntity(isSystem, token, $name, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, TokenListResponse: function TokenListResponse() { }, @@ -60905,7 +60874,7 @@ TokenItemResponseBuilder: function TokenItemResponseBuilder() { this._token_model$_data = this._token_model$_$v = null; }, - _$TokenEntity: function _$TokenEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { + _$TokenEntity: function _$TokenEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.isSystem = t0; _.token = t1; @@ -60917,45 +60886,43 @@ _.isDeleted = t7; _.createdUserId = t8; _.assignedUserId = t9; - _.idempotencyKey = t10; - _.id = t11; + _.id = t10; _._token_model$__hashCode = null; }, TokenEntityBuilder: function TokenEntityBuilder() { var _ = this; - _._token_model$_id = _._token_model$_idempotencyKey = _._token_model$_assignedUserId = _._token_model$_createdUserId = _._token_model$_isDeleted = _._token_model$_archivedAt = _._token_model$_updatedAt = _._token_model$_createdAt = _._token_model$_isChanged = _._token_model$_name = _._token_model$_token = _._isSystem = _._token_model$_$v = null; + _._token_model$_id = _._token_model$_assignedUserId = _._token_model$_createdUserId = _._token_model$_isDeleted = _._token_model$_archivedAt = _._token_model$_updatedAt = _._token_model$_createdAt = _._token_model$_isChanged = _._token_model$_name = _._token_model$_token = _._isSystem = _._token_model$_$v = null; }, _TokenEntity_Object_BaseEntity: function _TokenEntity_Object_BaseEntity() { }, _TokenEntity_Object_BaseEntity_SelectableEntity: function _TokenEntity_Object_BaseEntity_SelectableEntity() { }, TransactionEntity_TransactionEntity(id, state) { - var t1, t2, t3, t4; + var t1, t2, t3; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; - t2 = A.getRandomString(); if (state == null) - t3 = null; + t2 = null; else { - t3 = state.userCompanyStates; - t4 = state.uiState.selectedCompanyIndex; - t4 = t3._list[t4].userCompany.company; - t3 = t4; + t2 = state.userCompanyStates; + t3 = state.uiState.selectedCompanyIndex; + t3 = t2._list[t3].userCompany.company; + t2 = t3; } - if (t3 == null) - t3 = null; + if (t2 == null) + t2 = null; else { - t3 = t3.settings.currencyId; - if (t3 == null) - t3 = "1"; + t2 = t2.settings.currencyId; + if (t2 == null) + t2 = "1"; } - if (t3 == null) - t3 = "1"; - return A._$TransactionEntity$_(0, 0, "", "", "CREDIT", "", "", 0, "", t3, A.convertDateTimeToSqlDate(null), "", "", t1, t2, "", false, false, "", 0, 0, ""); + if (t2 == null) + t2 = "1"; + return A._$TransactionEntity$_(0, 0, "", "", "CREDIT", "", "", 0, "", t2, A.convertDateTimeToSqlDate(null), "", "", t1, "", false, false, "", 0, 0, ""); }, TransactionEntity__initializeBuilder(builder) { builder.get$_transaction_model$_$this()._baseType = ""; @@ -60963,10 +60930,10 @@ builder.get$_transaction_model$_$this()._transaction_model$_currencyId = ""; return builder; }, - _$TransactionEntity$_(amount, archivedAt, assignedUserId, bankAccountId, baseType, category, categoryId, createdAt, createdUserId, currencyId, date, description, expenseId, id, idempotencyKey, invoiceIds, isChanged, isDeleted, statusId, transactionId, updatedAt, vendorId) { + _$TransactionEntity$_(amount, archivedAt, assignedUserId, bankAccountId, baseType, category, categoryId, createdAt, createdUserId, currencyId, date, description, expenseId, id, invoiceIds, isChanged, isDeleted, statusId, transactionId, updatedAt, vendorId) { if (date == null) A.throwExpression(A.BuiltValueNullFieldError$("TransactionEntity", "date")); - return new A._$TransactionEntity(amount, currencyId, category, baseType, date, bankAccountId, description, statusId, categoryId, invoiceIds, expenseId, vendorId, transactionId, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + return new A._$TransactionEntity(amount, currencyId, category, baseType, date, bankAccountId, description, statusId, categoryId, invoiceIds, expenseId, vendorId, transactionId, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, _$TransactionStatusEntity$_(id, $name) { return new A._$TransactionStatusEntity(id, $name); @@ -60999,7 +60966,7 @@ TransactionItemResponseBuilder: function TransactionItemResponseBuilder() { this._transaction_model$_data = this._transaction_model$_$v = null; }, - _$TransactionEntity: function _$TransactionEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21) { + _$TransactionEntity: function _$TransactionEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { var _ = this; _.amount = t0; _.currencyId = t1; @@ -61021,13 +60988,12 @@ _.isDeleted = t17; _.createdUserId = t18; _.assignedUserId = t19; - _.idempotencyKey = t20; - _.id = t21; + _.id = t20; _._transaction_model$__hashCode = null; }, TransactionEntityBuilder: function TransactionEntityBuilder() { var _ = this; - _._transaction_model$_id = _._transaction_model$_idempotencyKey = _._transaction_model$_assignedUserId = _._transaction_model$_createdUserId = _._transaction_model$_isDeleted = _._transaction_model$_archivedAt = _._transaction_model$_updatedAt = _._transaction_model$_createdAt = _._transaction_model$_isChanged = _._transaction_model$_transactionId = _._transaction_model$_vendorId = _._transaction_model$_expenseId = _._invoiceIds = _._transaction_model$_categoryId = _._transaction_model$_statusId = _._transaction_model$_description = _._bankAccountId = _._transaction_model$_date = _._baseType = _._category = _._transaction_model$_currencyId = _._transaction_model$_amount = _._transaction_model$_$v = null; + _._transaction_model$_id = _._transaction_model$_assignedUserId = _._transaction_model$_createdUserId = _._transaction_model$_isDeleted = _._transaction_model$_archivedAt = _._transaction_model$_updatedAt = _._transaction_model$_createdAt = _._transaction_model$_isChanged = _._transaction_model$_transactionId = _._transaction_model$_vendorId = _._transaction_model$_expenseId = _._invoiceIds = _._transaction_model$_categoryId = _._transaction_model$_statusId = _._transaction_model$_description = _._bankAccountId = _._transaction_model$_date = _._baseType = _._category = _._transaction_model$_currencyId = _._transaction_model$_amount = _._transaction_model$_$v = null; }, _$TransactionStatusEntity: function _$TransactionStatusEntity(t0, t1) { this.id = t0; @@ -61051,7 +61017,7 @@ t1 = "" + t1; } else t1 = id; - return A._$UserEntity$_(0, "", 0, "", "", "", "", "", "", null, "", false, t1, A.getRandomString(), false, false, false, "", "", "", "", "", "", 0, userCompany); + return A._$UserEntity$_(0, "", 0, "", "", "", "", "", "", null, "", false, t1, false, false, false, "", "", "", "", "", "", 0, userCompany); }, UserEntity__initializeBuilder(builder) { builder.get$_user_model$_$this()._isTwoFactorEnabled = false; @@ -61061,8 +61027,8 @@ builder.get$_user_model$_$this()._oauthUserToken = ""; return builder; }, - _$UserEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, email, emailVerifiedAt, firstName, hasPassword, id, idempotencyKey, isChanged, isDeleted, isTwoFactorEnabled, lastEmailAddress, lastName, oauthProvider, oauthUserToken, password, phone, updatedAt, userCompany) { - return new A._$UserEntity(firstName, lastName, email, phone, password, emailVerifiedAt, customValue1, customValue2, customValue3, customValue4, isTwoFactorEnabled, hasPassword, lastEmailAddress, oauthUserToken, userCompany, oauthProvider, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + _$UserEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, email, emailVerifiedAt, firstName, hasPassword, id, isChanged, isDeleted, isTwoFactorEnabled, lastEmailAddress, lastName, oauthProvider, oauthUserToken, password, phone, updatedAt, userCompany) { + return new A._$UserEntity(firstName, lastName, email, phone, password, emailVerifiedAt, customValue1, customValue2, customValue3, customValue4, isTwoFactorEnabled, hasPassword, lastEmailAddress, oauthUserToken, userCompany, oauthProvider, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, UserListResponse: function UserListResponse() { }, @@ -61124,7 +61090,7 @@ UserCompanyItemResponseBuilder: function UserCompanyItemResponseBuilder() { this._user_model$_data = this._user_model$_$v = null; }, - _$UserEntity: function _$UserEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24) { + _$UserEntity: function _$UserEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23) { var _ = this; _.firstName = t0; _.lastName = t1; @@ -61149,33 +61115,31 @@ _.isDeleted = t20; _.createdUserId = t21; _.assignedUserId = t22; - _.idempotencyKey = t23; - _.id = t24; + _.id = t23; _._user_model$__hashCode = null; }, UserEntityBuilder: function UserEntityBuilder() { var _ = this; - _._id = _._idempotencyKey = _._assignedUserId = _._createdUserId = _._isDeleted = _._archivedAt = _._user_model$_updatedAt = _._createdAt = _._user_model$_isChanged = _._oauthProvider = _._userCompany = _._oauthUserToken = _._lastEmailAddress = _._hasPassword = _._isTwoFactorEnabled = _._customValue4 = _._customValue3 = _._customValue2 = _._customValue1 = _._emailVerifiedAt = _._password = _._phone = _._email = _._lastName = _._firstName = _._user_model$_$v = null; + _._id = _._assignedUserId = _._createdUserId = _._isDeleted = _._archivedAt = _._user_model$_updatedAt = _._createdAt = _._user_model$_isChanged = _._oauthProvider = _._userCompany = _._oauthUserToken = _._lastEmailAddress = _._hasPassword = _._isTwoFactorEnabled = _._customValue4 = _._customValue3 = _._customValue2 = _._customValue1 = _._emailVerifiedAt = _._password = _._phone = _._email = _._lastName = _._firstName = _._user_model$_$v = null; }, _UserEntity_Object_BaseEntity: function _UserEntity_Object_BaseEntity() { }, _UserEntity_Object_BaseEntity_SelectableEntity: function _UserEntity_Object_BaseEntity_SelectableEntity() { }, VendorEntity_VendorEntity(id, state, user) { - var t1, t2, t3, t4, t5; + var t1, t2, t3, t4; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; - t2 = A.getRandomString(); - t3 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_ActivityEntity); - t4 = A.BuiltList_BuiltList$from(A._setArrayType([A.VendorContactEntity_VendorContactEntity().rebuild$1(new A.VendorEntity_VendorEntity_closure())], type$.JSArray_legacy_VendorContactEntity), type$.legacy_VendorContactEntity); - t5 = user == null ? null : user.id; - if (t5 == null) - t5 = ""; - return A._$VendorEntity$_(t3, "", "", 0, t5, "", t4, "", 0, "", "", "", "", "", "", A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_DocumentEntity), t1, "", t2, false, false, "", "", "", "", "", "", "", 0, "", ""); + t2 = A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_ActivityEntity); + t3 = A.BuiltList_BuiltList$from(A._setArrayType([A.VendorContactEntity_VendorContactEntity().rebuild$1(new A.VendorEntity_VendorEntity_closure())], type$.JSArray_legacy_VendorContactEntity), type$.legacy_VendorContactEntity); + t4 = user == null ? null : user.id; + if (t4 == null) + t4 = ""; + return A._$VendorEntity$_(t2, "", "", 0, t4, "", t3, "", 0, "", "", "", "", "", "", A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_DocumentEntity), t1, "", false, false, "", "", "", "", "", "", "", 0, "", ""); }, VendorEntity__initializeBuilder(builder) { builder.get$activities().replace$1(0, A.BuiltList_BuiltList$from(B.List_empty, type$.legacy_ActivityEntity)); @@ -61184,7 +61148,7 @@ VendorContactEntity_VendorContactEntity() { var t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; - return A._$VendorContactEntity$_(0, "", 0, "", "", "", "", "", "", "", "" + t1, A.getRandomString(), false, false, false, "", "", "", 0); + return A._$VendorContactEntity$_(0, "", 0, "", "", "", "", "", "", "", "" + t1, false, false, false, "", "", "", 0); }, VendorContactEntity__initializeBuilder(builder) { builder.get$_vendor_model$_$this()._link = ""; @@ -61194,7 +61158,7 @@ builder.get$_vendor_model$_$this()._vendor_model$_customValue4 = ""; return builder; }, - _$VendorEntity$_(activities, address1, address2, archivedAt, assignedUserId, city, contacts, countryId, createdAt, createdUserId, currencyId, customValue1, customValue2, customValue3, customValue4, documents, id, idNumber, idempotencyKey, isChanged, isDeleted, $name, number, phone, postalCode, privateNotes, publicNotes, state, updatedAt, vatNumber, website) { + _$VendorEntity$_(activities, address1, address2, archivedAt, assignedUserId, city, contacts, countryId, createdAt, createdUserId, currencyId, customValue1, customValue2, customValue3, customValue4, documents, id, idNumber, isChanged, isDeleted, $name, number, phone, postalCode, privateNotes, publicNotes, state, updatedAt, vatNumber, website) { var _s12_ = "VendorEntity"; if (contacts == null) A.throwExpression(A.BuiltValueNullFieldError$(_s12_, "contacts")); @@ -61202,10 +61166,10 @@ A.throwExpression(A.BuiltValueNullFieldError$(_s12_, "activities")); if (documents == null) A.throwExpression(A.BuiltValueNullFieldError$(_s12_, "documents")); - return new A._$VendorEntity($name, address1, address2, city, state, postalCode, countryId, phone, privateNotes, publicNotes, website, number, vatNumber, idNumber, currencyId, customValue1, customValue2, customValue3, customValue4, contacts, activities, documents, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + return new A._$VendorEntity($name, address1, address2, city, state, postalCode, countryId, phone, privateNotes, publicNotes, website, number, vatNumber, idNumber, currencyId, customValue1, customValue2, customValue3, customValue4, contacts, activities, documents, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, - _$VendorContactEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, email, firstName, id, idempotencyKey, isChanged, isDeleted, isPrimary, lastName, link, phone, updatedAt) { - return new A._$VendorContactEntity(firstName, lastName, email, isPrimary, phone, customValue1, customValue2, customValue3, customValue4, link, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + _$VendorContactEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, email, firstName, id, isChanged, isDeleted, isPrimary, lastName, link, phone, updatedAt) { + return new A._$VendorContactEntity(firstName, lastName, email, isPrimary, phone, customValue1, customValue2, customValue3, customValue4, link, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, VendorListResponse: function VendorListResponse() { }, @@ -61252,7 +61216,7 @@ VendorItemResponseBuilder: function VendorItemResponseBuilder() { this._vendor_model$_data = this._vendor_model$_$v = null; }, - _$VendorEntity: function _$VendorEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30) { + _$VendorEntity: function _$VendorEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29) { var _ = this; _.name = t0; _.address1 = t1; @@ -61283,16 +61247,15 @@ _.isDeleted = t26; _.createdUserId = t27; _.assignedUserId = t28; - _.idempotencyKey = t29; - _.id = t30; + _.id = t29; _._vendor_model$__hashCode = null; }, VendorEntityBuilder: function VendorEntityBuilder() { var _ = this; _._vendor_model$_assignedUserId = _._vendor_model$_createdUserId = _._vendor_model$_isDeleted = _._vendor_model$_archivedAt = _._vendor_model$_updatedAt = _._vendor_model$_createdAt = _._vendor_model$_isChanged = _._vendor_model$_documents = _._vendor_model$_activities = _._vendor_model$_contacts = _._vendor_model$_customValue4 = _._vendor_model$_customValue3 = _._vendor_model$_customValue2 = _._vendor_model$_customValue1 = _._vendor_model$_currencyId = _._vendor_model$_idNumber = _._vendor_model$_vatNumber = _._vendor_model$_number = _._vendor_model$_website = _._vendor_model$_publicNotes = _._vendor_model$_privateNotes = _._vendor_model$_phone = _._vendor_model$_countryId = _._vendor_model$_postalCode = _._vendor_model$_state = _._vendor_model$_city = _._vendor_model$_address2 = _._vendor_model$_address1 = _._vendor_model$_name = _._vendor_model$_$v = null; - _._vendor_model$_id = _._vendor_model$_idempotencyKey = null; + _._vendor_model$_id = null; }, - _$VendorContactEntity: function _$VendorContactEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { + _$VendorContactEntity: function _$VendorContactEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; _.firstName = t0; _.lastName = t1; @@ -61311,13 +61274,12 @@ _.isDeleted = t14; _.createdUserId = t15; _.assignedUserId = t16; - _.idempotencyKey = t17; - _.id = t18; + _.id = t17; _._vendor_model$__hashCode = null; }, VendorContactEntityBuilder: function VendorContactEntityBuilder() { var _ = this; - _._vendor_model$_id = _._vendor_model$_idempotencyKey = _._vendor_model$_assignedUserId = _._vendor_model$_createdUserId = _._vendor_model$_isDeleted = _._vendor_model$_archivedAt = _._vendor_model$_updatedAt = _._vendor_model$_createdAt = _._vendor_model$_isChanged = _._link = _._vendor_model$_customValue4 = _._vendor_model$_customValue3 = _._vendor_model$_customValue2 = _._vendor_model$_customValue1 = _._vendor_model$_phone = _._isPrimary = _._vendor_model$_email = _._vendor_model$_lastName = _._vendor_model$_firstName = _._vendor_model$_$v = null; + _._vendor_model$_id = _._vendor_model$_assignedUserId = _._vendor_model$_createdUserId = _._vendor_model$_isDeleted = _._vendor_model$_archivedAt = _._vendor_model$_updatedAt = _._vendor_model$_createdAt = _._vendor_model$_isChanged = _._link = _._vendor_model$_customValue4 = _._vendor_model$_customValue3 = _._vendor_model$_customValue2 = _._vendor_model$_customValue1 = _._vendor_model$_phone = _._isPrimary = _._vendor_model$_email = _._vendor_model$_lastName = _._vendor_model$_firstName = _._vendor_model$_$v = null; }, _VendorContactEntity_Object_BaseEntity: function _VendorContactEntity_Object_BaseEntity() { }, @@ -61328,16 +61290,15 @@ _VendorEntity_Object_BaseEntity_SelectableEntity_HasActivities: function _VendorEntity_Object_BaseEntity_SelectableEntity_HasActivities() { }, WebhookEntity_WebhookEntity(id, state) { - var t1, t2, t3; + var t1, t2; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; - t2 = A.getRandomString(); - t3 = type$.legacy_String; - return A._$WebhookEntity$_(0, "", 0, "", "", "JSON", A.BuiltMap_BuiltMap(B.Map_empty0, t3, t3), t1, t2, false, false, "", "", 0); + t2 = type$.legacy_String; + return A._$WebhookEntity$_(0, "", 0, "", "", "JSON", A.BuiltMap_BuiltMap(B.Map_empty0, t2, t2), t1, false, false, "", "", 0); }, WebhookEntity__initializeBuilder(builder) { var t1 = type$.legacy_String; @@ -61345,10 +61306,10 @@ builder.get$_webhook_model$_$this()._restMethod = ""; return builder; }, - _$WebhookEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, eventId, format, headers, id, idempotencyKey, isChanged, isDeleted, restMethod, targetUrl, updatedAt) { + _$WebhookEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, eventId, format, headers, id, isChanged, isDeleted, restMethod, targetUrl, updatedAt) { if (headers == null) A.throwExpression(A.BuiltValueNullFieldError$("WebhookEntity", "headers")); - return new A._$WebhookEntity(eventId, targetUrl, format, restMethod, headers, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, idempotencyKey, id); + return new A._$WebhookEntity(eventId, targetUrl, format, restMethod, headers, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, WebhookListResponse: function WebhookListResponse() { }, @@ -61376,7 +61337,7 @@ WebhookItemResponseBuilder: function WebhookItemResponseBuilder() { this._webhook_model$_data = this._webhook_model$_$v = null; }, - _$WebhookEntity: function _$WebhookEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { + _$WebhookEntity: function _$WebhookEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.eventId = t0; _.targetUrl = t1; @@ -61390,13 +61351,12 @@ _.isDeleted = t9; _.createdUserId = t10; _.assignedUserId = t11; - _.idempotencyKey = t12; - _.id = t13; + _.id = t12; _._webhook_model$__hashCode = null; }, WebhookEntityBuilder: function WebhookEntityBuilder() { var _ = this; - _._webhook_model$_id = _._webhook_model$_idempotencyKey = _._webhook_model$_assignedUserId = _._webhook_model$_createdUserId = _._webhook_model$_isDeleted = _._webhook_model$_archivedAt = _._webhook_model$_updatedAt = _._webhook_model$_createdAt = _._webhook_model$_isChanged = _._headers = _._restMethod = _._format = _._targetUrl = _._eventId = _._webhook_model$_$v = null; + _._webhook_model$_id = _._webhook_model$_assignedUserId = _._webhook_model$_createdUserId = _._webhook_model$_isDeleted = _._webhook_model$_archivedAt = _._webhook_model$_updatedAt = _._webhook_model$_createdAt = _._webhook_model$_isChanged = _._headers = _._restMethod = _._format = _._targetUrl = _._eventId = _._webhook_model$_$v = null; }, _WebhookEntity_Object_BaseEntity: function _WebhookEntity_Object_BaseEntity() { }, @@ -313793,11 +313753,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -313864,10 +313819,6 @@ t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_bank_account_model$_$this()._bank_account_model$_assignedUserId = t1; break; - case "idempotency_key": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_bank_account_model$_$this()._bank_account_model$_idempotencyKey = t1; - break; case "id": t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_bank_account_model$_$this()._bank_account_model$_id = t1; @@ -314028,12 +313979,12 @@ return false; if (other === _this) return true; - return other instanceof A.BankAccountEntity && _this.name === other.name && _this.status === other.status && _this.type === other.type && _this.provider === other.provider && _this.balance === other.balance && _this.currency === other.currency && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.BankAccountEntity && _this.name === other.name && _this.status === other.status && _this.type === other.type && _this.provider === other.provider && _this.balance === other.balance && _this.currency === other.currency && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._bank_account_model$__hashCode; - return t1 == null ? _this._bank_account_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSString_methods.get$hashCode(_this.status)), B.JSString_methods.get$hashCode(_this.type)), B.JSString_methods.get$hashCode(_this.provider)), B.JSNumber_methods.get$hashCode(_this.balance)), B.JSString_methods.get$hashCode(_this.currency)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._bank_account_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSString_methods.get$hashCode(_this.status)), B.JSString_methods.get$hashCode(_this.type)), B.JSString_methods.get$hashCode(_this.provider)), B.JSNumber_methods.get$hashCode(_this.balance)), B.JSString_methods.get$hashCode(_this.currency)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -314052,7 +314003,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -314099,14 +314049,13 @@ _this._bank_account_model$_isDeleted = $$v.isDeleted; _this._bank_account_model$_createdUserId = $$v.createdUserId; _this._bank_account_model$_assignedUserId = $$v.assignedUserId; - _this._bank_account_model$_idempotencyKey = $$v.idempotencyKey; _this._bank_account_model$_id = $$v.id; _this._bank_account_model$_$v = null; } return _this; }, build$0() { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, _this = this, + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, _this = this, _s17_ = "BankAccountEntity", _$result = _this._bank_account_model$_$v; if (_$result == null) { @@ -314141,11 +314090,10 @@ t11 = _this.get$_bank_account_model$_$this()._bank_account_model$_isDeleted; t12 = _this.get$_bank_account_model$_$this()._bank_account_model$_createdUserId; t13 = _this.get$_bank_account_model$_$this()._bank_account_model$_assignedUserId; - t14 = _this.get$_bank_account_model$_$this()._bank_account_model$_idempotencyKey; - t15 = _this.get$_bank_account_model$_$this()._bank_account_model$_id; - if (t15 == null) + t14 = _this.get$_bank_account_model$_$this()._bank_account_model$_id; + if (t14 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s17_, "id")); - _$result = A._$BankAccountEntity$_(t10, t13, t5, t8, t12, t6, t15, t14, t7, t11, t1, t4, t2, t3, t9); + _$result = A._$BankAccountEntity$_(t10, t13, t5, t8, t12, t6, t14, t7, t11, t1, t4, t2, t3, t9); } A.ArgumentError_checkNotNull(_$result, "other"); return _this._bank_account_model$_$v = _$result; @@ -314706,11 +314654,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -315019,10 +314962,6 @@ t15 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_client_model$_$this()._client_model$_assignedUserId = t15; break; - case "idempotency_key": - t15 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_client_model$_$this()._client_model$_idempotencyKey = t15; - break; case "id": t15 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_client_model$_$this()._client_model$_id = t15; @@ -315066,11 +315005,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -315169,10 +315103,6 @@ t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_client_model$_$this()._client_model$_assignedUserId = t1; break; - case "idempotency_key": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_client_model$_$this()._client_model$_idempotencyKey = t1; - break; case "id": t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_client_model$_$this()._client_model$_id = t1; @@ -315343,12 +315273,12 @@ return false; if (other === _this) return true; - return other instanceof A.ClientEntity && _this.groupId === other.groupId && _this.name === other.name && _this.displayName === other.displayName && _this.balance === other.balance && _this.creditBalance === other.creditBalance && _this.paidToDate === other.paidToDate && _this.clientHash === other.clientHash && _this.address1 === other.address1 && _this.address2 === other.address2 && _this.city === other.city && _this.state === other.state && _this.postalCode === other.postalCode && _this.countryId === other.countryId && _this.phone === other.phone && _this.privateNotes === other.privateNotes && _this.publicNotes === other.publicNotes && _this.website === other.website && _this.industryId === other.industryId && _this.sizeId === other.sizeId && _this.vatNumber === other.vatNumber && _this.idNumber === other.idNumber && _this.number === other.number && _this.shippingAddress1 === other.shippingAddress1 && _this.shippingAddress2 === other.shippingAddress2 && _this.shippingCity === other.shippingCity && _this.shippingState === other.shippingState && _this.shippingPostalCode === other.shippingPostalCode && _this.shippingCountryId === other.shippingCountryId && J.$eq$(_this.settings, other.settings) && _this.lastLogin === other.lastLogin && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && J.$eq$(_this.contacts, other.contacts) && J.$eq$(_this.activities, other.activities) && J.$eq$(_this.ledger, other.ledger) && J.$eq$(_this.gatewayTokens, other.gatewayTokens) && J.$eq$(_this.documents, other.documents) && J.$eq$(_this.systemLogs, other.systemLogs) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.ClientEntity && _this.groupId === other.groupId && _this.name === other.name && _this.displayName === other.displayName && _this.balance === other.balance && _this.creditBalance === other.creditBalance && _this.paidToDate === other.paidToDate && _this.clientHash === other.clientHash && _this.address1 === other.address1 && _this.address2 === other.address2 && _this.city === other.city && _this.state === other.state && _this.postalCode === other.postalCode && _this.countryId === other.countryId && _this.phone === other.phone && _this.privateNotes === other.privateNotes && _this.publicNotes === other.publicNotes && _this.website === other.website && _this.industryId === other.industryId && _this.sizeId === other.sizeId && _this.vatNumber === other.vatNumber && _this.idNumber === other.idNumber && _this.number === other.number && _this.shippingAddress1 === other.shippingAddress1 && _this.shippingAddress2 === other.shippingAddress2 && _this.shippingCity === other.shippingCity && _this.shippingState === other.shippingState && _this.shippingPostalCode === other.shippingPostalCode && _this.shippingCountryId === other.shippingCountryId && J.$eq$(_this.settings, other.settings) && _this.lastLogin === other.lastLogin && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && J.$eq$(_this.contacts, other.contacts) && J.$eq$(_this.activities, other.activities) && J.$eq$(_this.ledger, other.ledger) && J.$eq$(_this.gatewayTokens, other.gatewayTokens) && J.$eq$(_this.documents, other.documents) && J.$eq$(_this.systemLogs, other.systemLogs) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._client_model$__hashCode; - return t1 == null ? _this._client_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.groupId)), B.JSString_methods.get$hashCode(_this.name)), B.JSString_methods.get$hashCode(_this.displayName)), B.JSNumber_methods.get$hashCode(_this.balance)), B.JSNumber_methods.get$hashCode(_this.creditBalance)), B.JSNumber_methods.get$hashCode(_this.paidToDate)), B.JSString_methods.get$hashCode(_this.clientHash)), B.JSString_methods.get$hashCode(_this.address1)), B.JSString_methods.get$hashCode(_this.address2)), B.JSString_methods.get$hashCode(_this.city)), B.JSString_methods.get$hashCode(_this.state)), B.JSString_methods.get$hashCode(_this.postalCode)), B.JSString_methods.get$hashCode(_this.countryId)), B.JSString_methods.get$hashCode(_this.phone)), B.JSString_methods.get$hashCode(_this.privateNotes)), B.JSString_methods.get$hashCode(_this.publicNotes)), B.JSString_methods.get$hashCode(_this.website)), B.JSString_methods.get$hashCode(_this.industryId)), B.JSString_methods.get$hashCode(_this.sizeId)), B.JSString_methods.get$hashCode(_this.vatNumber)), B.JSString_methods.get$hashCode(_this.idNumber)), B.JSString_methods.get$hashCode(_this.number)), B.JSString_methods.get$hashCode(_this.shippingAddress1)), B.JSString_methods.get$hashCode(_this.shippingAddress2)), B.JSString_methods.get$hashCode(_this.shippingCity)), B.JSString_methods.get$hashCode(_this.shippingState)), B.JSString_methods.get$hashCode(_this.shippingPostalCode)), B.JSString_methods.get$hashCode(_this.shippingCountryId)), J.get$hashCode$(_this.settings)), B.JSInt_methods.get$hashCode(_this.lastLogin)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), J.get$hashCode$(_this.contacts)), J.get$hashCode$(_this.activities)), J.get$hashCode$(_this.ledger)), J.get$hashCode$(_this.gatewayTokens)), J.get$hashCode$(_this.documents)), J.get$hashCode$(_this.systemLogs)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._client_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.groupId)), B.JSString_methods.get$hashCode(_this.name)), B.JSString_methods.get$hashCode(_this.displayName)), B.JSNumber_methods.get$hashCode(_this.balance)), B.JSNumber_methods.get$hashCode(_this.creditBalance)), B.JSNumber_methods.get$hashCode(_this.paidToDate)), B.JSString_methods.get$hashCode(_this.clientHash)), B.JSString_methods.get$hashCode(_this.address1)), B.JSString_methods.get$hashCode(_this.address2)), B.JSString_methods.get$hashCode(_this.city)), B.JSString_methods.get$hashCode(_this.state)), B.JSString_methods.get$hashCode(_this.postalCode)), B.JSString_methods.get$hashCode(_this.countryId)), B.JSString_methods.get$hashCode(_this.phone)), B.JSString_methods.get$hashCode(_this.privateNotes)), B.JSString_methods.get$hashCode(_this.publicNotes)), B.JSString_methods.get$hashCode(_this.website)), B.JSString_methods.get$hashCode(_this.industryId)), B.JSString_methods.get$hashCode(_this.sizeId)), B.JSString_methods.get$hashCode(_this.vatNumber)), B.JSString_methods.get$hashCode(_this.idNumber)), B.JSString_methods.get$hashCode(_this.number)), B.JSString_methods.get$hashCode(_this.shippingAddress1)), B.JSString_methods.get$hashCode(_this.shippingAddress2)), B.JSString_methods.get$hashCode(_this.shippingCity)), B.JSString_methods.get$hashCode(_this.shippingState)), B.JSString_methods.get$hashCode(_this.shippingPostalCode)), B.JSString_methods.get$hashCode(_this.shippingCountryId)), J.get$hashCode$(_this.settings)), B.JSInt_methods.get$hashCode(_this.lastLogin)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), J.get$hashCode$(_this.contacts)), J.get$hashCode$(_this.activities)), J.get$hashCode$(_this.ledger)), J.get$hashCode$(_this.gatewayTokens)), J.get$hashCode$(_this.documents)), J.get$hashCode$(_this.systemLogs)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -315402,7 +315332,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -315575,14 +315504,13 @@ _this._client_model$_isDeleted = $$v.isDeleted; _this._client_model$_createdUserId = $$v.createdUserId; _this._client_model$_assignedUserId = $$v.assignedUserId; - _this._client_model$_idempotencyKey = $$v.idempotencyKey; _this._client_model$_id = $$v.id; _this._client_model$_$v = null; } return _this; }, build$0() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, exception, _this = this, + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, exception, _this = this, _s12_ = "ClientEntity", _$result = null; try { @@ -315708,11 +315636,10 @@ t46 = _this.get$_client_model$_$this()._client_model$_isDeleted; t47 = _this.get$_client_model$_$this()._client_model$_createdUserId; t48 = _this.get$_client_model$_$this()._client_model$_assignedUserId; - t49 = _this.get$_client_model$_$this()._client_model$_idempotencyKey; - t50 = _this.get$_client_model$_$this()._client_model$_id; - if (t50 == null) + t49 = _this.get$_client_model$_$this()._client_model$_id; + if (t49 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s12_, "id")); - _$result0 = A._$ClientEntity$_(t37, t9, t10, t45, t48, t5, t11, t8, t36, t14, t43, t47, t6, t32, t33, t34, t35, t4, t40, t39, t1, t50, t22, t49, t19, t42, t46, t31, t38, t2, t3, t23, t7, t15, t13, t16, t17, t30, t24, t25, t26, t29, t28, t27, t20, t12, t41, t44, t21, t18); + _$result0 = A._$ClientEntity$_(t37, t9, t10, t45, t48, t5, t11, t8, t36, t14, t43, t47, t6, t32, t33, t34, t35, t4, t40, t39, t1, t49, t22, t19, t42, t46, t31, t38, t2, t3, t23, t7, t15, t13, t16, t17, t30, t24, t25, t26, t29, t28, t27, t20, t12, t41, t44, t21, t18); } _$result = _$result0; } catch (exception) { @@ -315759,12 +315686,12 @@ return false; if (other === _this) return true; - return other instanceof A.ClientContactEntity && _this.firstName === other.firstName && _this.lastName === other.lastName && _this.email === other.email && _this.password === other.password && _this.phone === other.phone && _this.contactKey === other.contactKey && _this.isPrimary === other.isPrimary && _this.sendEmail === other.sendEmail && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.lastLogin === other.lastLogin && _this.link === other.link && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.ClientContactEntity && _this.firstName === other.firstName && _this.lastName === other.lastName && _this.email === other.email && _this.password === other.password && _this.phone === other.phone && _this.contactKey === other.contactKey && _this.isPrimary === other.isPrimary && _this.sendEmail === other.sendEmail && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.lastLogin === other.lastLogin && _this.link === other.link && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._client_model$__hashCode; - return t1 == null ? _this._client_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.firstName)), B.JSString_methods.get$hashCode(_this.lastName)), B.JSString_methods.get$hashCode(_this.email)), B.JSString_methods.get$hashCode(_this.password)), B.JSString_methods.get$hashCode(_this.phone)), B.JSString_methods.get$hashCode(_this.contactKey)), B.JSBool_methods.get$hashCode(_this.isPrimary)), B.JSBool_methods.get$hashCode(_this.sendEmail)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), B.JSInt_methods.get$hashCode(_this.lastLogin)), B.JSString_methods.get$hashCode(_this.link)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._client_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.firstName)), B.JSString_methods.get$hashCode(_this.lastName)), B.JSString_methods.get$hashCode(_this.email)), B.JSString_methods.get$hashCode(_this.password)), B.JSString_methods.get$hashCode(_this.phone)), B.JSString_methods.get$hashCode(_this.contactKey)), B.JSBool_methods.get$hashCode(_this.isPrimary)), B.JSBool_methods.get$hashCode(_this.sendEmail)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), B.JSInt_methods.get$hashCode(_this.lastLogin)), B.JSString_methods.get$hashCode(_this.link)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -315791,7 +315718,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -315846,14 +315772,13 @@ _this._client_model$_isDeleted = $$v.isDeleted; _this._client_model$_createdUserId = $$v.createdUserId; _this._client_model$_assignedUserId = $$v.assignedUserId; - _this._client_model$_idempotencyKey = $$v.idempotencyKey; _this._client_model$_id = $$v.id; _this._client_model$_$v = null; } return _this; }, build$0() { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, _this = this, + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, _this = this, _s19_ = "ClientContactEntity", _$result = _this._client_model$_$v; if (_$result == null) { @@ -315912,11 +315837,10 @@ t19 = _this.get$_client_model$_$this()._client_model$_isDeleted; t20 = _this.get$_client_model$_$this()._client_model$_createdUserId; t21 = _this.get$_client_model$_$this()._client_model$_assignedUserId; - t22 = _this.get$_client_model$_$this()._client_model$_idempotencyKey; - t23 = _this.get$_client_model$_$this()._client_model$_id; - if (t23 == null) + t22 = _this.get$_client_model$_$this()._client_model$_id; + if (t22 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s19_, "id")); - _$result = A._$ClientContactEntity$_(t18, t21, t6, t16, t20, t9, t10, t11, t12, t3, t1, t23, t22, t15, t19, t7, t13, t2, t14, t4, t5, t8, t17); + _$result = A._$ClientContactEntity$_(t18, t21, t6, t16, t20, t9, t10, t11, t12, t3, t1, t22, t15, t19, t7, t13, t2, t14, t4, t5, t8, t17); } A.ArgumentError_checkNotNull(_$result, "other"); return _this._client_model$_$v = _$result; @@ -316167,11 +316091,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -316326,10 +316245,6 @@ t5 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_company_gateway_model$_$this()._company_gateway_model$_assignedUserId = t5; break; - case "idempotency_key": - t5 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_company_gateway_model$_$this()._company_gateway_model$_idempotencyKey = t5; - break; case "id": t5 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_company_gateway_model$_$this()._company_gateway_model$_id = t5; @@ -316578,12 +316493,12 @@ return false; if (other === _this) return true; - return other instanceof A.CompanyGatewayEntity && _this.gatewayId === other.gatewayId && _this.acceptedCreditCards === other.acceptedCreditCards && _this.requireShippingAddress === other.requireShippingAddress && _this.requireBillingAddress === other.requireBillingAddress && _this.requireClientName === other.requireClientName && _this.requirePostalCode == other.requirePostalCode && _this.requireClientPhone === other.requireClientPhone && _this.requireContactName === other.requireContactName && _this.requireContactEmail === other.requireContactEmail && _this.requireCvv === other.requireCvv && _this.updateDetails === other.updateDetails && J.$eq$(_this.feesAndLimitsMap, other.feesAndLimitsMap) && J.$eq$(_this.systemLogs, other.systemLogs) && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.config === other.config && _this.tokenBilling === other.tokenBilling && _this.isTestMode === other.isTestMode && _this.label === other.label && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.CompanyGatewayEntity && _this.gatewayId === other.gatewayId && _this.acceptedCreditCards === other.acceptedCreditCards && _this.requireShippingAddress === other.requireShippingAddress && _this.requireBillingAddress === other.requireBillingAddress && _this.requireClientName === other.requireClientName && _this.requirePostalCode == other.requirePostalCode && _this.requireClientPhone === other.requireClientPhone && _this.requireContactName === other.requireContactName && _this.requireContactEmail === other.requireContactEmail && _this.requireCvv === other.requireCvv && _this.updateDetails === other.updateDetails && J.$eq$(_this.feesAndLimitsMap, other.feesAndLimitsMap) && J.$eq$(_this.systemLogs, other.systemLogs) && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.config === other.config && _this.tokenBilling === other.tokenBilling && _this.isTestMode === other.isTestMode && _this.label === other.label && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._company_gateway_model$__hashCode; - return t1 == null ? _this._company_gateway_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.gatewayId)), B.JSInt_methods.get$hashCode(_this.acceptedCreditCards)), B.JSBool_methods.get$hashCode(_this.requireShippingAddress)), B.JSBool_methods.get$hashCode(_this.requireBillingAddress)), B.JSBool_methods.get$hashCode(_this.requireClientName)), J.get$hashCode$(_this.requirePostalCode)), B.JSBool_methods.get$hashCode(_this.requireClientPhone)), B.JSBool_methods.get$hashCode(_this.requireContactName)), B.JSBool_methods.get$hashCode(_this.requireContactEmail)), B.JSBool_methods.get$hashCode(_this.requireCvv)), B.JSBool_methods.get$hashCode(_this.updateDetails)), J.get$hashCode$(_this.feesAndLimitsMap)), J.get$hashCode$(_this.systemLogs)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), B.JSString_methods.get$hashCode(_this.config)), B.JSString_methods.get$hashCode(_this.tokenBilling)), B.JSBool_methods.get$hashCode(_this.isTestMode)), B.JSString_methods.get$hashCode(_this.label)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._company_gateway_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.gatewayId)), B.JSInt_methods.get$hashCode(_this.acceptedCreditCards)), B.JSBool_methods.get$hashCode(_this.requireShippingAddress)), B.JSBool_methods.get$hashCode(_this.requireBillingAddress)), B.JSBool_methods.get$hashCode(_this.requireClientName)), J.get$hashCode$(_this.requirePostalCode)), B.JSBool_methods.get$hashCode(_this.requireClientPhone)), B.JSBool_methods.get$hashCode(_this.requireContactName)), B.JSBool_methods.get$hashCode(_this.requireContactEmail)), B.JSBool_methods.get$hashCode(_this.requireCvv)), B.JSBool_methods.get$hashCode(_this.updateDetails)), J.get$hashCode$(_this.feesAndLimitsMap)), J.get$hashCode$(_this.systemLogs)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), B.JSString_methods.get$hashCode(_this.config)), B.JSString_methods.get$hashCode(_this.tokenBilling)), B.JSBool_methods.get$hashCode(_this.isTestMode)), B.JSString_methods.get$hashCode(_this.label)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -316618,7 +316533,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -316697,14 +316611,13 @@ _this._company_gateway_model$_isDeleted = $$v.isDeleted; _this._company_gateway_model$_createdUserId = $$v.createdUserId; _this._company_gateway_model$_assignedUserId = $$v.assignedUserId; - _this._company_gateway_model$_idempotencyKey = $$v.idempotencyKey; _this._company_gateway_model$_id = $$v.id; _this._company_gateway_model$_$v = null; } return _this; }, build$0() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, exception, _this = this, + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, exception, _this = this, _s20_ = "CompanyGatewayEntity", _$result = null; try { @@ -316781,11 +316694,10 @@ t27 = _this.get$_company_gateway_model$_$this()._company_gateway_model$_isDeleted; t28 = _this.get$_company_gateway_model$_$this()._company_gateway_model$_createdUserId; t29 = _this.get$_company_gateway_model$_$this()._company_gateway_model$_assignedUserId; - t30 = _this.get$_company_gateway_model$_$this()._company_gateway_model$_idempotencyKey; - t31 = _this.get$_company_gateway_model$_$this()._company_gateway_model$_id; - if (t31 == null) + t30 = _this.get$_company_gateway_model$_$this()._company_gateway_model$_id; + if (t30 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s20_, "id")); - _$result0 = A._$CompanyGatewayEntity$_(t3, t26, t29, t19, t24, t28, t15, t16, t17, t18, t13, t2, t31, t30, t23, t27, t21, t22, t1, t5, t6, t8, t10, t9, t11, t7, t4, t14, t20, t12, t25); + _$result0 = A._$CompanyGatewayEntity$_(t3, t26, t29, t19, t24, t28, t15, t16, t17, t18, t13, t2, t30, t23, t27, t21, t22, t1, t5, t6, t8, t10, t9, t11, t7, t4, t14, t20, t12, t25); } _$result = _$result0; } catch (exception) { @@ -317320,11 +317232,6 @@ result.push("entity_type"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_qBb)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -318237,10 +318144,6 @@ t56 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_qBb)); result.get$_company_model$_$this()._company_model$_entityType = t56; break; - case "idempotency_key": - t56 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_company_model$_$this()._company_model$_idempotencyKey = t56; - break; case "id": t56 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_company_model$_$this()._company_model$_id = t56; @@ -318926,12 +318829,12 @@ return false; if (other === _this) return true; - return other instanceof A.CompanyEntity && _this.enableCustomSurchargeTaxes1 === other.enableCustomSurchargeTaxes1 && _this.enableCustomSurchargeTaxes2 === other.enableCustomSurchargeTaxes2 && _this.enableCustomSurchargeTaxes3 === other.enableCustomSurchargeTaxes3 && _this.enableCustomSurchargeTaxes4 === other.enableCustomSurchargeTaxes4 && _this.sizeId === other.sizeId && _this.industryId === other.industryId && _this.subdomain === other.subdomain && _this.portalMode === other.portalMode && _this.portalDomain === other.portalDomain && _this.updateProducts === other.updateProducts && _this.convertProductExchangeRate === other.convertProductExchangeRate && _this.convertRateToClient === other.convertRateToClient && _this.fillProducts === other.fillProducts && _this.enableProductCost === other.enableProductCost && _this.enableProductQuantity === other.enableProductQuantity && _this.enableProductDiscount === other.enableProductDiscount && _this.defaultTaskIsDateBased === other.defaultTaskIsDateBased && _this.defaultQuantity === other.defaultQuantity && _this.showProductDetails === other.showProductDetails && _this.clientCanRegister === other.clientCanRegister && _this.isLarge === other.isLarge && _this.isDisabled === other.isDisabled && _this.enableShopApi === other.enableShopApi && _this.companyKey === other.companyKey && _this.firstDayOfWeek === other.firstDayOfWeek && _this.firstMonthOfYear === other.firstMonthOfYear && _this.numberOfInvoiceTaxRates === other.numberOfInvoiceTaxRates && _this.numberOfItemTaxRates === other.numberOfItemTaxRates && _this.numberOfExpenseTaxRates === other.numberOfExpenseTaxRates && _this.expenseInclusiveTaxes === other.expenseInclusiveTaxes && _this.sessionTimeout === other.sessionTimeout && _this.passwordTimeout === other.passwordTimeout && _this.oauthPasswordRequired === other.oauthPasswordRequired && _this.markdownEnabled === other.markdownEnabled && _this.markdownEmailEnabled === other.markdownEmailEnabled && _this.useCommaAsDecimalPlace === other.useCommaAsDecimalPlace && _this.reportIncludeDrafts === other.reportIncludeDrafts && _this.reportIncludeDeleted === other.reportIncludeDeleted && _this.useQuoteTermsOnConversion === other.useQuoteTermsOnConversion && _this.enableApplyingPayments === other.enableApplyingPayments && _this.trackInventory === other.trackInventory && _this.stockNotificationThreshold === other.stockNotificationThreshold && _this.stockNotification === other.stockNotification && J.$eq$(_this.groups, other.groups) && J.$eq$(_this.activities, other.activities) && J.$eq$(_this.taxRates, other.taxRates) && J.$eq$(_this.taskStatuses, other.taskStatuses) && J.$eq$(_this.taskStatusMap, other.taskStatusMap) && J.$eq$(_this.companyGateways, other.companyGateways) && J.$eq$(_this.expenseCategories, other.expenseCategories) && J.$eq$(_this.users, other.users) && J.$eq$(_this.clients, other.clients) && J.$eq$(_this.products, other.products) && J.$eq$(_this.invoices, other.invoices) && J.$eq$(_this.recurringInvoices, other.recurringInvoices) && J.$eq$(_this.recurringExpenses, other.recurringExpenses) && J.$eq$(_this.payments, other.payments) && J.$eq$(_this.quotes, other.quotes) && J.$eq$(_this.credits, other.credits) && J.$eq$(_this.purchaseOrders, other.purchaseOrders) && J.$eq$(_this.bankAccounts, other.bankAccounts) && J.$eq$(_this.transactions, other.transactions) && J.$eq$(_this.tasks, other.tasks) && J.$eq$(_this.projects, other.projects) && J.$eq$(_this.expenses, other.expenses) && J.$eq$(_this.vendors, other.vendors) && J.$eq$(_this.designs, other.designs) && J.$eq$(_this.documents, other.documents) && J.$eq$(_this.tokens, other.tokens) && J.$eq$(_this.webhooks, other.webhooks) && J.$eq$(_this.subscriptions, other.subscriptions) && J.$eq$(_this.paymentTerms, other.paymentTerms) && J.$eq$(_this.systemLogs, other.systemLogs) && J.$eq$(_this.clientRegistrationFields, other.clientRegistrationFields) && J.$eq$(_this.customFields, other.customFields) && _this.slackWebhookUrl === other.slackWebhookUrl && _this.googleAnalyticsKey === other.googleAnalyticsKey && _this.markExpensesInvoiceable === other.markExpensesInvoiceable && _this.markExpensesPaid === other.markExpensesPaid && _this.invoiceExpenseDocuments === other.invoiceExpenseDocuments && _this.invoiceTaskDocuments === other.invoiceTaskDocuments && _this.invoiceTaskTimelog === other.invoiceTaskTimelog && _this.invoiceTaskDatelog === other.invoiceTaskDatelog && _this.invoiceTaskProject === other.invoiceTaskProject && _this.autoStartTasks === other.autoStartTasks && _this.showTasksTable === other.showTasksTable && _this.showTaskEndDate === other.showTaskEndDate && J.$eq$(_this.settings, other.settings) && _this.enabledModules === other.enabledModules && _this.calculateExpenseTaxByAmount === other.calculateExpenseTaxByAmount && _this.stopOnUnpaidRecurring === other.stopOnUnpaidRecurring && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.entityType == other.entityType && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.CompanyEntity && _this.enableCustomSurchargeTaxes1 === other.enableCustomSurchargeTaxes1 && _this.enableCustomSurchargeTaxes2 === other.enableCustomSurchargeTaxes2 && _this.enableCustomSurchargeTaxes3 === other.enableCustomSurchargeTaxes3 && _this.enableCustomSurchargeTaxes4 === other.enableCustomSurchargeTaxes4 && _this.sizeId === other.sizeId && _this.industryId === other.industryId && _this.subdomain === other.subdomain && _this.portalMode === other.portalMode && _this.portalDomain === other.portalDomain && _this.updateProducts === other.updateProducts && _this.convertProductExchangeRate === other.convertProductExchangeRate && _this.convertRateToClient === other.convertRateToClient && _this.fillProducts === other.fillProducts && _this.enableProductCost === other.enableProductCost && _this.enableProductQuantity === other.enableProductQuantity && _this.enableProductDiscount === other.enableProductDiscount && _this.defaultTaskIsDateBased === other.defaultTaskIsDateBased && _this.defaultQuantity === other.defaultQuantity && _this.showProductDetails === other.showProductDetails && _this.clientCanRegister === other.clientCanRegister && _this.isLarge === other.isLarge && _this.isDisabled === other.isDisabled && _this.enableShopApi === other.enableShopApi && _this.companyKey === other.companyKey && _this.firstDayOfWeek === other.firstDayOfWeek && _this.firstMonthOfYear === other.firstMonthOfYear && _this.numberOfInvoiceTaxRates === other.numberOfInvoiceTaxRates && _this.numberOfItemTaxRates === other.numberOfItemTaxRates && _this.numberOfExpenseTaxRates === other.numberOfExpenseTaxRates && _this.expenseInclusiveTaxes === other.expenseInclusiveTaxes && _this.sessionTimeout === other.sessionTimeout && _this.passwordTimeout === other.passwordTimeout && _this.oauthPasswordRequired === other.oauthPasswordRequired && _this.markdownEnabled === other.markdownEnabled && _this.markdownEmailEnabled === other.markdownEmailEnabled && _this.useCommaAsDecimalPlace === other.useCommaAsDecimalPlace && _this.reportIncludeDrafts === other.reportIncludeDrafts && _this.reportIncludeDeleted === other.reportIncludeDeleted && _this.useQuoteTermsOnConversion === other.useQuoteTermsOnConversion && _this.enableApplyingPayments === other.enableApplyingPayments && _this.trackInventory === other.trackInventory && _this.stockNotificationThreshold === other.stockNotificationThreshold && _this.stockNotification === other.stockNotification && J.$eq$(_this.groups, other.groups) && J.$eq$(_this.activities, other.activities) && J.$eq$(_this.taxRates, other.taxRates) && J.$eq$(_this.taskStatuses, other.taskStatuses) && J.$eq$(_this.taskStatusMap, other.taskStatusMap) && J.$eq$(_this.companyGateways, other.companyGateways) && J.$eq$(_this.expenseCategories, other.expenseCategories) && J.$eq$(_this.users, other.users) && J.$eq$(_this.clients, other.clients) && J.$eq$(_this.products, other.products) && J.$eq$(_this.invoices, other.invoices) && J.$eq$(_this.recurringInvoices, other.recurringInvoices) && J.$eq$(_this.recurringExpenses, other.recurringExpenses) && J.$eq$(_this.payments, other.payments) && J.$eq$(_this.quotes, other.quotes) && J.$eq$(_this.credits, other.credits) && J.$eq$(_this.purchaseOrders, other.purchaseOrders) && J.$eq$(_this.bankAccounts, other.bankAccounts) && J.$eq$(_this.transactions, other.transactions) && J.$eq$(_this.tasks, other.tasks) && J.$eq$(_this.projects, other.projects) && J.$eq$(_this.expenses, other.expenses) && J.$eq$(_this.vendors, other.vendors) && J.$eq$(_this.designs, other.designs) && J.$eq$(_this.documents, other.documents) && J.$eq$(_this.tokens, other.tokens) && J.$eq$(_this.webhooks, other.webhooks) && J.$eq$(_this.subscriptions, other.subscriptions) && J.$eq$(_this.paymentTerms, other.paymentTerms) && J.$eq$(_this.systemLogs, other.systemLogs) && J.$eq$(_this.clientRegistrationFields, other.clientRegistrationFields) && J.$eq$(_this.customFields, other.customFields) && _this.slackWebhookUrl === other.slackWebhookUrl && _this.googleAnalyticsKey === other.googleAnalyticsKey && _this.markExpensesInvoiceable === other.markExpensesInvoiceable && _this.markExpensesPaid === other.markExpensesPaid && _this.invoiceExpenseDocuments === other.invoiceExpenseDocuments && _this.invoiceTaskDocuments === other.invoiceTaskDocuments && _this.invoiceTaskTimelog === other.invoiceTaskTimelog && _this.invoiceTaskDatelog === other.invoiceTaskDatelog && _this.invoiceTaskProject === other.invoiceTaskProject && _this.autoStartTasks === other.autoStartTasks && _this.showTasksTable === other.showTasksTable && _this.showTaskEndDate === other.showTaskEndDate && J.$eq$(_this.settings, other.settings) && _this.enabledModules === other.enabledModules && _this.calculateExpenseTaxByAmount === other.calculateExpenseTaxByAmount && _this.stopOnUnpaidRecurring === other.stopOnUnpaidRecurring && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.entityType == other.entityType && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._company_model$__hashCode; - return t1 == null ? _this._company_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSBool_methods.get$hashCode(_this.enableCustomSurchargeTaxes1)), B.JSBool_methods.get$hashCode(_this.enableCustomSurchargeTaxes2)), B.JSBool_methods.get$hashCode(_this.enableCustomSurchargeTaxes3)), B.JSBool_methods.get$hashCode(_this.enableCustomSurchargeTaxes4)), B.JSString_methods.get$hashCode(_this.sizeId)), B.JSString_methods.get$hashCode(_this.industryId)), B.JSString_methods.get$hashCode(_this.subdomain)), B.JSString_methods.get$hashCode(_this.portalMode)), B.JSString_methods.get$hashCode(_this.portalDomain)), B.JSBool_methods.get$hashCode(_this.updateProducts)), B.JSBool_methods.get$hashCode(_this.convertProductExchangeRate)), B.JSBool_methods.get$hashCode(_this.convertRateToClient)), B.JSBool_methods.get$hashCode(_this.fillProducts)), B.JSBool_methods.get$hashCode(_this.enableProductCost)), B.JSBool_methods.get$hashCode(_this.enableProductQuantity)), B.JSBool_methods.get$hashCode(_this.enableProductDiscount)), B.JSBool_methods.get$hashCode(_this.defaultTaskIsDateBased)), B.JSBool_methods.get$hashCode(_this.defaultQuantity)), B.JSBool_methods.get$hashCode(_this.showProductDetails)), B.JSBool_methods.get$hashCode(_this.clientCanRegister)), B.JSBool_methods.get$hashCode(_this.isLarge)), B.JSBool_methods.get$hashCode(_this.isDisabled)), B.JSBool_methods.get$hashCode(_this.enableShopApi)), B.JSString_methods.get$hashCode(_this.companyKey)), B.JSString_methods.get$hashCode(_this.firstDayOfWeek)), B.JSString_methods.get$hashCode(_this.firstMonthOfYear)), B.JSInt_methods.get$hashCode(_this.numberOfInvoiceTaxRates)), B.JSInt_methods.get$hashCode(_this.numberOfItemTaxRates)), B.JSInt_methods.get$hashCode(_this.numberOfExpenseTaxRates)), B.JSBool_methods.get$hashCode(_this.expenseInclusiveTaxes)), B.JSInt_methods.get$hashCode(_this.sessionTimeout)), B.JSInt_methods.get$hashCode(_this.passwordTimeout)), B.JSBool_methods.get$hashCode(_this.oauthPasswordRequired)), B.JSBool_methods.get$hashCode(_this.markdownEnabled)), B.JSBool_methods.get$hashCode(_this.markdownEmailEnabled)), B.JSBool_methods.get$hashCode(_this.useCommaAsDecimalPlace)), B.JSBool_methods.get$hashCode(_this.reportIncludeDrafts)), B.JSBool_methods.get$hashCode(_this.reportIncludeDeleted)), B.JSBool_methods.get$hashCode(_this.useQuoteTermsOnConversion)), B.JSBool_methods.get$hashCode(_this.enableApplyingPayments)), B.JSBool_methods.get$hashCode(_this.trackInventory)), B.JSInt_methods.get$hashCode(_this.stockNotificationThreshold)), B.JSBool_methods.get$hashCode(_this.stockNotification)), J.get$hashCode$(_this.groups)), J.get$hashCode$(_this.activities)), J.get$hashCode$(_this.taxRates)), J.get$hashCode$(_this.taskStatuses)), J.get$hashCode$(_this.taskStatusMap)), J.get$hashCode$(_this.companyGateways)), J.get$hashCode$(_this.expenseCategories)), J.get$hashCode$(_this.users)), J.get$hashCode$(_this.clients)), J.get$hashCode$(_this.products)), J.get$hashCode$(_this.invoices)), J.get$hashCode$(_this.recurringInvoices)), J.get$hashCode$(_this.recurringExpenses)), J.get$hashCode$(_this.payments)), J.get$hashCode$(_this.quotes)), J.get$hashCode$(_this.credits)), J.get$hashCode$(_this.purchaseOrders)), J.get$hashCode$(_this.bankAccounts)), J.get$hashCode$(_this.transactions)), J.get$hashCode$(_this.tasks)), J.get$hashCode$(_this.projects)), J.get$hashCode$(_this.expenses)), J.get$hashCode$(_this.vendors)), J.get$hashCode$(_this.designs)), J.get$hashCode$(_this.documents)), J.get$hashCode$(_this.tokens)), J.get$hashCode$(_this.webhooks)), J.get$hashCode$(_this.subscriptions)), J.get$hashCode$(_this.paymentTerms)), J.get$hashCode$(_this.systemLogs)), J.get$hashCode$(_this.clientRegistrationFields)), J.get$hashCode$(_this.customFields)), B.JSString_methods.get$hashCode(_this.slackWebhookUrl)), B.JSString_methods.get$hashCode(_this.googleAnalyticsKey)), B.JSBool_methods.get$hashCode(_this.markExpensesInvoiceable)), B.JSBool_methods.get$hashCode(_this.markExpensesPaid)), B.JSBool_methods.get$hashCode(_this.invoiceExpenseDocuments)), B.JSBool_methods.get$hashCode(_this.invoiceTaskDocuments)), B.JSBool_methods.get$hashCode(_this.invoiceTaskTimelog)), B.JSBool_methods.get$hashCode(_this.invoiceTaskDatelog)), B.JSBool_methods.get$hashCode(_this.invoiceTaskProject)), B.JSBool_methods.get$hashCode(_this.autoStartTasks)), B.JSBool_methods.get$hashCode(_this.showTasksTable)), B.JSBool_methods.get$hashCode(_this.showTaskEndDate)), J.get$hashCode$(_this.settings)), B.JSInt_methods.get$hashCode(_this.enabledModules)), B.JSBool_methods.get$hashCode(_this.calculateExpenseTaxByAmount)), B.JSBool_methods.get$hashCode(_this.stopOnUnpaidRecurring)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.entityType)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._company_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSBool_methods.get$hashCode(_this.enableCustomSurchargeTaxes1)), B.JSBool_methods.get$hashCode(_this.enableCustomSurchargeTaxes2)), B.JSBool_methods.get$hashCode(_this.enableCustomSurchargeTaxes3)), B.JSBool_methods.get$hashCode(_this.enableCustomSurchargeTaxes4)), B.JSString_methods.get$hashCode(_this.sizeId)), B.JSString_methods.get$hashCode(_this.industryId)), B.JSString_methods.get$hashCode(_this.subdomain)), B.JSString_methods.get$hashCode(_this.portalMode)), B.JSString_methods.get$hashCode(_this.portalDomain)), B.JSBool_methods.get$hashCode(_this.updateProducts)), B.JSBool_methods.get$hashCode(_this.convertProductExchangeRate)), B.JSBool_methods.get$hashCode(_this.convertRateToClient)), B.JSBool_methods.get$hashCode(_this.fillProducts)), B.JSBool_methods.get$hashCode(_this.enableProductCost)), B.JSBool_methods.get$hashCode(_this.enableProductQuantity)), B.JSBool_methods.get$hashCode(_this.enableProductDiscount)), B.JSBool_methods.get$hashCode(_this.defaultTaskIsDateBased)), B.JSBool_methods.get$hashCode(_this.defaultQuantity)), B.JSBool_methods.get$hashCode(_this.showProductDetails)), B.JSBool_methods.get$hashCode(_this.clientCanRegister)), B.JSBool_methods.get$hashCode(_this.isLarge)), B.JSBool_methods.get$hashCode(_this.isDisabled)), B.JSBool_methods.get$hashCode(_this.enableShopApi)), B.JSString_methods.get$hashCode(_this.companyKey)), B.JSString_methods.get$hashCode(_this.firstDayOfWeek)), B.JSString_methods.get$hashCode(_this.firstMonthOfYear)), B.JSInt_methods.get$hashCode(_this.numberOfInvoiceTaxRates)), B.JSInt_methods.get$hashCode(_this.numberOfItemTaxRates)), B.JSInt_methods.get$hashCode(_this.numberOfExpenseTaxRates)), B.JSBool_methods.get$hashCode(_this.expenseInclusiveTaxes)), B.JSInt_methods.get$hashCode(_this.sessionTimeout)), B.JSInt_methods.get$hashCode(_this.passwordTimeout)), B.JSBool_methods.get$hashCode(_this.oauthPasswordRequired)), B.JSBool_methods.get$hashCode(_this.markdownEnabled)), B.JSBool_methods.get$hashCode(_this.markdownEmailEnabled)), B.JSBool_methods.get$hashCode(_this.useCommaAsDecimalPlace)), B.JSBool_methods.get$hashCode(_this.reportIncludeDrafts)), B.JSBool_methods.get$hashCode(_this.reportIncludeDeleted)), B.JSBool_methods.get$hashCode(_this.useQuoteTermsOnConversion)), B.JSBool_methods.get$hashCode(_this.enableApplyingPayments)), B.JSBool_methods.get$hashCode(_this.trackInventory)), B.JSInt_methods.get$hashCode(_this.stockNotificationThreshold)), B.JSBool_methods.get$hashCode(_this.stockNotification)), J.get$hashCode$(_this.groups)), J.get$hashCode$(_this.activities)), J.get$hashCode$(_this.taxRates)), J.get$hashCode$(_this.taskStatuses)), J.get$hashCode$(_this.taskStatusMap)), J.get$hashCode$(_this.companyGateways)), J.get$hashCode$(_this.expenseCategories)), J.get$hashCode$(_this.users)), J.get$hashCode$(_this.clients)), J.get$hashCode$(_this.products)), J.get$hashCode$(_this.invoices)), J.get$hashCode$(_this.recurringInvoices)), J.get$hashCode$(_this.recurringExpenses)), J.get$hashCode$(_this.payments)), J.get$hashCode$(_this.quotes)), J.get$hashCode$(_this.credits)), J.get$hashCode$(_this.purchaseOrders)), J.get$hashCode$(_this.bankAccounts)), J.get$hashCode$(_this.transactions)), J.get$hashCode$(_this.tasks)), J.get$hashCode$(_this.projects)), J.get$hashCode$(_this.expenses)), J.get$hashCode$(_this.vendors)), J.get$hashCode$(_this.designs)), J.get$hashCode$(_this.documents)), J.get$hashCode$(_this.tokens)), J.get$hashCode$(_this.webhooks)), J.get$hashCode$(_this.subscriptions)), J.get$hashCode$(_this.paymentTerms)), J.get$hashCode$(_this.systemLogs)), J.get$hashCode$(_this.clientRegistrationFields)), J.get$hashCode$(_this.customFields)), B.JSString_methods.get$hashCode(_this.slackWebhookUrl)), B.JSString_methods.get$hashCode(_this.googleAnalyticsKey)), B.JSBool_methods.get$hashCode(_this.markExpensesInvoiceable)), B.JSBool_methods.get$hashCode(_this.markExpensesPaid)), B.JSBool_methods.get$hashCode(_this.invoiceExpenseDocuments)), B.JSBool_methods.get$hashCode(_this.invoiceTaskDocuments)), B.JSBool_methods.get$hashCode(_this.invoiceTaskTimelog)), B.JSBool_methods.get$hashCode(_this.invoiceTaskDatelog)), B.JSBool_methods.get$hashCode(_this.invoiceTaskProject)), B.JSBool_methods.get$hashCode(_this.autoStartTasks)), B.JSBool_methods.get$hashCode(_this.showTasksTable)), B.JSBool_methods.get$hashCode(_this.showTaskEndDate)), J.get$hashCode$(_this.settings)), B.JSInt_methods.get$hashCode(_this.enabledModules)), B.JSBool_methods.get$hashCode(_this.calculateExpenseTaxByAmount)), B.JSBool_methods.get$hashCode(_this.stopOnUnpaidRecurring)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.entityType)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -319036,7 +318939,6 @@ t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); t2.add$2(t1, "entityType", _this.entityType); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -319416,14 +319318,13 @@ _this._company_model$_createdUserId = $$v.createdUserId; _this._company_model$_assignedUserId = $$v.assignedUserId; _this._company_model$_entityType = $$v.entityType; - _this._company_model$_idempotencyKey = $$v.idempotencyKey; _this._company_model$_id = $$v.id; _this._company_model$_$v = null; } return _this; }, build$0() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57, t58, t59, t60, t61, t62, t63, t64, t65, t66, t67, t68, t69, t70, t71, t72, t73, t74, t75, t76, t77, t78, t79, t80, t81, t82, t83, t84, t85, t86, t87, t88, t89, t90, t91, t92, t93, t94, t95, t96, t97, t98, t99, t100, t101, exception, _this = this, + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57, t58, t59, t60, t61, t62, t63, t64, t65, t66, t67, t68, t69, t70, t71, t72, t73, t74, t75, t76, t77, t78, t79, t80, t81, t82, t83, t84, t85, t86, t87, t88, t89, t90, t91, t92, t93, t94, t95, t96, t97, t98, t99, t100, exception, _this = this, _s13_ = "CompanyEntity", _$result = null; try { @@ -319650,11 +319551,10 @@ t97 = _this.get$_company_model$_$this()._company_model$_createdUserId; t98 = _this.get$_company_model$_$this()._company_model$_assignedUserId; t99 = _this.get$_company_model$_$this()._company_model$_entityType; - t100 = _this.get$_company_model$_$this()._company_model$_idempotencyKey; - t101 = _this.get$_company_model$_$this()._company_model$_id; - if (t101 == null) + t100 = _this.get$_company_model$_$this()._company_model$_id; + if (t100 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "id")); - _$result0 = A._$CompanyEntity$_(t45, t95, t98, t85, t61, t90, t20, t74, t52, t49, t24, t11, t12, t93, t97, t59, t75, t18, t17, t67, t68, t40, t1, t2, t3, t4, t14, t16, t15, t23, t89, t99, t50, t30, t65, t13, t25, t26, t77, t44, t101, t100, t6, t80, t83, t81, t84, t82, t54, t92, t96, t22, t21, t78, t79, t35, t34, t29, t27, t28, t33, t32, t72, t57, t9, t8, t53, t64, t60, t58, t56, t55, t38, t37, t31, t88, t19, t87, t86, t5, t76, t43, t42, t91, t7, t71, t73, t48, t47, t63, t46, t69, t41, t62, t10, t94, t36, t39, t51, t66, t70); + _$result0 = A._$CompanyEntity$_(t45, t95, t98, t85, t61, t90, t20, t74, t52, t49, t24, t11, t12, t93, t97, t59, t75, t18, t17, t67, t68, t40, t1, t2, t3, t4, t14, t16, t15, t23, t89, t99, t50, t30, t65, t13, t25, t26, t77, t44, t100, t6, t80, t83, t81, t84, t82, t54, t92, t96, t22, t21, t78, t79, t35, t34, t29, t27, t28, t33, t32, t72, t57, t9, t8, t53, t64, t60, t58, t56, t55, t38, t37, t31, t88, t19, t87, t86, t5, t76, t43, t42, t91, t7, t71, t73, t48, t47, t63, t46, t69, t41, t62, t10, t94, t36, t39, t51, t66, t70); } _$result = _$result0; } catch (exception) { @@ -320941,8 +320841,6 @@ var t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; b.get$_design_model$_$this()._design_model$_id = "" + t1; - t1 = A.getRandomString(); - b.get$_design_model$_$this()._design_model$_idempotencyKey = t1; b.get$_design_model$_$this()._design_model$_isChanged = false; b.get$_design_model$_$this()._design_model$_isDeleted = false; return b; @@ -321144,11 +321042,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -321216,10 +321109,6 @@ t2 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_design_model$_$this()._design_model$_assignedUserId = t2; break; - case "idempotency_key": - t2 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_design_model$_$this()._design_model$_idempotencyKey = t2; - break; case "id": t2 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_design_model$_$this()._design_model$_id = t2; @@ -321480,12 +321369,12 @@ return false; if (other === _this) return true; - return other instanceof A.DesignEntity && _this.name === other.name && J.$eq$(_this.design, other.design) && _this.isCustom === other.isCustom && _this.isFree === other.isFree && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.DesignEntity && _this.name === other.name && J.$eq$(_this.design, other.design) && _this.isCustom === other.isCustom && _this.isFree === other.isFree && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._design_model$__hashCode; - return t1 == null ? _this._design_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), J.get$hashCode$(_this.design)), B.JSBool_methods.get$hashCode(_this.isCustom)), B.JSBool_methods.get$hashCode(_this.isFree)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._design_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), J.get$hashCode$(_this.design)), B.JSBool_methods.get$hashCode(_this.isCustom)), B.JSBool_methods.get$hashCode(_this.isFree)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -321502,7 +321391,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -321565,14 +321453,13 @@ _this._design_model$_isDeleted = $$v.isDeleted; _this._design_model$_createdUserId = $$v.createdUserId; _this._design_model$_assignedUserId = $$v.assignedUserId; - _this._design_model$_idempotencyKey = $$v.idempotencyKey; _this._design_model$_id = $$v.id; _this._design_model$_$v = null; } return _this; }, build$0() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, exception, _this = this, + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, exception, _this = this, _s12_ = "DesignEntity", _$result = null; try { @@ -321601,11 +321488,10 @@ t9 = _this.get$_design_model$_$this()._design_model$_isDeleted; t10 = _this.get$_design_model$_$this()._design_model$_createdUserId; t11 = _this.get$_design_model$_$this()._design_model$_assignedUserId; - t12 = _this.get$_design_model$_$this()._design_model$_idempotencyKey; - t13 = _this.get$_design_model$_$this()._design_model$_id; - if (t13 == null) + t12 = _this.get$_design_model$_$this()._design_model$_id; + if (t12 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s12_, "id")); - _$result0 = A._$DesignEntity$_(t8, t11, t6, t10, t2, t13, t12, t5, t3, t9, t4, t1, t7); + _$result0 = A._$DesignEntity$_(t8, t11, t6, t10, t2, t12, t5, t3, t9, t4, t1, t7); } _$result = _$result0; } catch (exception) { @@ -321832,11 +321718,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -321915,10 +321796,6 @@ t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_document_model$_$this()._document_model$_assignedUserId = t1; break; - case "idempotency_key": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_document_model$_$this()._document_model$_idempotencyKey = t1; - break; case "id": t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_document_model$_$this()._document_model$_id = t1; @@ -322079,12 +321956,12 @@ return false; if (other === _this) return true; - return other instanceof A.DocumentEntity && _this.name === other.name && _this.hash === other.hash && _this.type === other.type && _this.url === other.url && _this.width === other.width && _this.height === other.height && _this.size === other.size && _this.preview === other.preview && _this.isDefault === other.isDefault && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.DocumentEntity && _this.name === other.name && _this.hash === other.hash && _this.type === other.type && _this.url === other.url && _this.width === other.width && _this.height === other.height && _this.size === other.size && _this.preview === other.preview && _this.isDefault === other.isDefault && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._document_model$__hashCode; - return t1 == null ? _this._document_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSString_methods.get$hashCode(_this.hash)), B.JSString_methods.get$hashCode(_this.type)), B.JSString_methods.get$hashCode(_this.url)), B.JSInt_methods.get$hashCode(_this.width)), B.JSInt_methods.get$hashCode(_this.height)), B.JSInt_methods.get$hashCode(_this.size)), B.JSString_methods.get$hashCode(_this.preview)), B.JSBool_methods.get$hashCode(_this.isDefault)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._document_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSString_methods.get$hashCode(_this.hash)), B.JSString_methods.get$hashCode(_this.type)), B.JSString_methods.get$hashCode(_this.url)), B.JSInt_methods.get$hashCode(_this.width)), B.JSInt_methods.get$hashCode(_this.height)), B.JSInt_methods.get$hashCode(_this.size)), B.JSString_methods.get$hashCode(_this.preview)), B.JSBool_methods.get$hashCode(_this.isDefault)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -322106,7 +321983,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -322156,14 +322032,13 @@ _this._document_model$_isDeleted = $$v.isDeleted; _this._document_model$_createdUserId = $$v.createdUserId; _this._document_model$_assignedUserId = $$v.assignedUserId; - _this._document_model$_idempotencyKey = $$v.idempotencyKey; _this._document_model$_id = $$v.id; _this._document_model$_$v = null; } return _this; }, build$0() { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, _this = this, + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, _this = this, _s14_ = "DocumentEntity", _$result = _this._document_model$_$v; if (_$result == null) { @@ -322207,11 +322082,10 @@ t14 = _this.get$_document_model$_$this()._document_model$_isDeleted; t15 = _this.get$_document_model$_$this()._document_model$_createdUserId; t16 = _this.get$_document_model$_$this()._document_model$_assignedUserId; - t17 = _this.get$_document_model$_$this()._document_model$_idempotencyKey; - t18 = _this.get$_document_model$_$this()._document_model$_id; - if (t18 == null) + t17 = _this.get$_document_model$_$this()._document_model$_id; + if (t17 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s14_, "id")); - _$result = A._$DocumentEntity$_(t13, t16, t11, t15, t2, t6, t18, t17, t10, t9, t14, t1, t8, t7, t3, t12, t4, t5); + _$result = A._$DocumentEntity$_(t13, t16, t11, t15, t2, t6, t17, t10, t9, t14, t1, t8, t7, t3, t12, t4, t5); } A.ArgumentError_checkNotNull(_$result, "other"); return _this._document_model$_$v = _$result; @@ -323387,11 +323261,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -323443,10 +323312,6 @@ t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_expense_category_model$_$this()._expense_category_model$_assignedUserId = t1; break; - case "idempotency_key": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_expense_category_model$_$this()._expense_category_model$_idempotencyKey = t1; - break; case "id": t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_expense_category_model$_$this()._expense_category_model$_id = t1; @@ -323614,12 +323479,12 @@ return false; if (other === _this) return true; - return other instanceof A.ExpenseCategoryEntity && _this.name === other.name && _this.color === other.color && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.ExpenseCategoryEntity && _this.name === other.name && _this.color === other.color && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._expense_category_model$__hashCode; - return t1 == null ? _this._expense_category_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSString_methods.get$hashCode(_this.color)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._expense_category_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSString_methods.get$hashCode(_this.color)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -323634,7 +323499,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -323677,14 +323541,13 @@ _this._expense_category_model$_isDeleted = $$v.isDeleted; _this._expense_category_model$_createdUserId = $$v.createdUserId; _this._expense_category_model$_assignedUserId = $$v.assignedUserId; - _this._expense_category_model$_idempotencyKey = $$v.idempotencyKey; _this._expense_category_model$_id = $$v.id; _this._expense_category_model$_$v = null; } return _this; }, build$0() { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, _this = this, _s21_ = "ExpenseCategoryEntity", _$result = _this._expense_category_model$_$v; if (_$result == null) { @@ -323707,11 +323570,10 @@ t7 = _this.get$_expense_category_model$_$this()._expense_category_model$_isDeleted; t8 = _this.get$_expense_category_model$_$this()._expense_category_model$_createdUserId; t9 = _this.get$_expense_category_model$_$this()._expense_category_model$_assignedUserId; - t10 = _this.get$_expense_category_model$_$this()._expense_category_model$_idempotencyKey; - t11 = _this.get$_expense_category_model$_$this()._expense_category_model$_id; - if (t11 == null) + t10 = _this.get$_expense_category_model$_$this()._expense_category_model$_id; + if (t10 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s21_, "id")); - _$result = A._$ExpenseCategoryEntity$_(t6, t9, t2, t4, t8, t11, t10, t3, t7, t1, t5); + _$result = A._$ExpenseCategoryEntity$_(t6, t9, t2, t4, t8, t10, t3, t7, t1, t5); } A.ArgumentError_checkNotNull(_$result, "other"); return _this._expense_category_model$_$v = _$result; @@ -324162,8 +324024,6 @@ var t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; b.get$_expense_model$_$this()._expense_model$_id = "" + t1; - t1 = A.getRandomString(); - b.get$_expense_model$_$this()._expense_model$_idempotencyKey = t1; b.get$_expense_model$_$this()._expense_model$_number = ""; b.get$_expense_model$_$this()._expense_model$_isChanged = false; b.get$_expense_model$_$this()._expense_model$_isDeleted = false; @@ -324388,11 +324248,6 @@ result.push("entity_type"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_qBb)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -324648,10 +324503,6 @@ t7 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_qBb)); result.get$_expense_model$_$this()._expense_model$_entityType = t7; break; - case "idempotency_key": - t7 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_expense_model$_$this()._expense_model$_idempotencyKey = t7; - break; case "id": t7 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_expense_model$_$this()._expense_model$_id = t7; @@ -324923,12 +324774,12 @@ return false; if (other === _this) return true; - return other instanceof A.ExpenseEntity && _this.privateNotes === other.privateNotes && _this.publicNotes === other.publicNotes && _this.shouldBeInvoiced === other.shouldBeInvoiced && _this.invoiceDocuments === other.invoiceDocuments && _this.transactionId === other.transactionId && _this.transactionReference === other.transactionReference && _this.bankId === other.bankId && _this.currencyId === other.currencyId && _this.categoryId === other.categoryId && _this.amount === other.amount && _this.date == other.date && _this.paymentDate == other.paymentDate && _this.exchangeRate === other.exchangeRate && _this.invoiceCurrencyId == other.invoiceCurrencyId && _this.paymentTypeId === other.paymentTypeId && _this.taxName1 === other.taxName1 && _this.taxName2 === other.taxName2 && _this.taxRate1 === other.taxRate1 && _this.taxRate2 === other.taxRate2 && _this.taxName3 === other.taxName3 && _this.taxRate3 === other.taxRate3 && _this.clientId == other.clientId && _this.invoiceId == other.invoiceId && _this.vendorId == other.vendorId && _this.projectId == other.projectId && _this.statusId == other.statusId && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.taxAmount1 === other.taxAmount1 && _this.taxAmount2 === other.taxAmount2 && _this.taxAmount3 === other.taxAmount3 && _this.usesInclusiveTaxes === other.usesInclusiveTaxes && _this.calculateTaxByAmount == other.calculateTaxByAmount && J.$eq$(_this.documents, other.documents) && _this.number === other.number && _this.recurringId == other.recurringId && _this.frequencyId === other.frequencyId && _this.lastSentDate === other.lastSentDate && _this.nextSendDate == other.nextSendDate && _this.remainingCycles === other.remainingCycles && J.$eq$(_this.recurringDates, other.recurringDates) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.entityType == other.entityType && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.ExpenseEntity && _this.privateNotes === other.privateNotes && _this.publicNotes === other.publicNotes && _this.shouldBeInvoiced === other.shouldBeInvoiced && _this.invoiceDocuments === other.invoiceDocuments && _this.transactionId === other.transactionId && _this.transactionReference === other.transactionReference && _this.bankId === other.bankId && _this.currencyId === other.currencyId && _this.categoryId === other.categoryId && _this.amount === other.amount && _this.date == other.date && _this.paymentDate == other.paymentDate && _this.exchangeRate === other.exchangeRate && _this.invoiceCurrencyId == other.invoiceCurrencyId && _this.paymentTypeId === other.paymentTypeId && _this.taxName1 === other.taxName1 && _this.taxName2 === other.taxName2 && _this.taxRate1 === other.taxRate1 && _this.taxRate2 === other.taxRate2 && _this.taxName3 === other.taxName3 && _this.taxRate3 === other.taxRate3 && _this.clientId == other.clientId && _this.invoiceId == other.invoiceId && _this.vendorId == other.vendorId && _this.projectId == other.projectId && _this.statusId == other.statusId && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.taxAmount1 === other.taxAmount1 && _this.taxAmount2 === other.taxAmount2 && _this.taxAmount3 === other.taxAmount3 && _this.usesInclusiveTaxes === other.usesInclusiveTaxes && _this.calculateTaxByAmount == other.calculateTaxByAmount && J.$eq$(_this.documents, other.documents) && _this.number === other.number && _this.recurringId == other.recurringId && _this.frequencyId === other.frequencyId && _this.lastSentDate === other.lastSentDate && _this.nextSendDate == other.nextSendDate && _this.remainingCycles === other.remainingCycles && J.$eq$(_this.recurringDates, other.recurringDates) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.entityType == other.entityType && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._expense_model$__hashCode; - return t1 == null ? _this._expense_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.privateNotes)), B.JSString_methods.get$hashCode(_this.publicNotes)), B.JSBool_methods.get$hashCode(_this.shouldBeInvoiced)), B.JSBool_methods.get$hashCode(_this.invoiceDocuments)), B.JSString_methods.get$hashCode(_this.transactionId)), B.JSString_methods.get$hashCode(_this.transactionReference)), B.JSString_methods.get$hashCode(_this.bankId)), B.JSString_methods.get$hashCode(_this.currencyId)), B.JSString_methods.get$hashCode(_this.categoryId)), B.JSNumber_methods.get$hashCode(_this.amount)), J.get$hashCode$(_this.date)), J.get$hashCode$(_this.paymentDate)), B.JSNumber_methods.get$hashCode(_this.exchangeRate)), J.get$hashCode$(_this.invoiceCurrencyId)), B.JSString_methods.get$hashCode(_this.paymentTypeId)), B.JSString_methods.get$hashCode(_this.taxName1)), B.JSString_methods.get$hashCode(_this.taxName2)), B.JSNumber_methods.get$hashCode(_this.taxRate1)), B.JSNumber_methods.get$hashCode(_this.taxRate2)), B.JSString_methods.get$hashCode(_this.taxName3)), B.JSNumber_methods.get$hashCode(_this.taxRate3)), J.get$hashCode$(_this.clientId)), J.get$hashCode$(_this.invoiceId)), J.get$hashCode$(_this.vendorId)), J.get$hashCode$(_this.projectId)), J.get$hashCode$(_this.statusId)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), B.JSNumber_methods.get$hashCode(_this.taxAmount1)), B.JSNumber_methods.get$hashCode(_this.taxAmount2)), B.JSNumber_methods.get$hashCode(_this.taxAmount3)), B.JSBool_methods.get$hashCode(_this.usesInclusiveTaxes)), J.get$hashCode$(_this.calculateTaxByAmount)), J.get$hashCode$(_this.documents)), B.JSString_methods.get$hashCode(_this.number)), J.get$hashCode$(_this.recurringId)), B.JSString_methods.get$hashCode(_this.frequencyId)), B.JSString_methods.get$hashCode(_this.lastSentDate)), J.get$hashCode$(_this.nextSendDate)), B.JSInt_methods.get$hashCode(_this.remainingCycles)), J.get$hashCode$(_this.recurringDates)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.entityType)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._expense_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.privateNotes)), B.JSString_methods.get$hashCode(_this.publicNotes)), B.JSBool_methods.get$hashCode(_this.shouldBeInvoiced)), B.JSBool_methods.get$hashCode(_this.invoiceDocuments)), B.JSString_methods.get$hashCode(_this.transactionId)), B.JSString_methods.get$hashCode(_this.transactionReference)), B.JSString_methods.get$hashCode(_this.bankId)), B.JSString_methods.get$hashCode(_this.currencyId)), B.JSString_methods.get$hashCode(_this.categoryId)), B.JSNumber_methods.get$hashCode(_this.amount)), J.get$hashCode$(_this.date)), J.get$hashCode$(_this.paymentDate)), B.JSNumber_methods.get$hashCode(_this.exchangeRate)), J.get$hashCode$(_this.invoiceCurrencyId)), B.JSString_methods.get$hashCode(_this.paymentTypeId)), B.JSString_methods.get$hashCode(_this.taxName1)), B.JSString_methods.get$hashCode(_this.taxName2)), B.JSNumber_methods.get$hashCode(_this.taxRate1)), B.JSNumber_methods.get$hashCode(_this.taxRate2)), B.JSString_methods.get$hashCode(_this.taxName3)), B.JSNumber_methods.get$hashCode(_this.taxRate3)), J.get$hashCode$(_this.clientId)), J.get$hashCode$(_this.invoiceId)), J.get$hashCode$(_this.vendorId)), J.get$hashCode$(_this.projectId)), J.get$hashCode$(_this.statusId)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), B.JSNumber_methods.get$hashCode(_this.taxAmount1)), B.JSNumber_methods.get$hashCode(_this.taxAmount2)), B.JSNumber_methods.get$hashCode(_this.taxAmount3)), B.JSBool_methods.get$hashCode(_this.usesInclusiveTaxes)), J.get$hashCode$(_this.calculateTaxByAmount)), J.get$hashCode$(_this.documents)), B.JSString_methods.get$hashCode(_this.number)), J.get$hashCode$(_this.recurringId)), B.JSString_methods.get$hashCode(_this.frequencyId)), B.JSString_methods.get$hashCode(_this.lastSentDate)), J.get$hashCode$(_this.nextSendDate)), B.JSInt_methods.get$hashCode(_this.remainingCycles)), J.get$hashCode$(_this.recurringDates)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.entityType)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -324986,7 +324837,6 @@ t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); t2.add$2(t1, "entityType", _this.entityType); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -325104,14 +324954,13 @@ _this._expense_model$_createdUserId = $$v.createdUserId; _this._expense_model$_assignedUserId = $$v.assignedUserId; _this._expense_model$_entityType = $$v.entityType; - _this._expense_model$_idempotencyKey = $$v.idempotencyKey; _this._expense_model$_id = $$v.id; _this._expense_model$_$v = null; } return _this; }, build$0() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, exception, _this = this, + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, exception, _this = this, _s13_ = "ExpenseEntity", _$result = null; try { @@ -325242,11 +325091,10 @@ t50 = _this.get$_expense_model$_$this()._expense_model$_createdUserId; t51 = _this.get$_expense_model$_$this()._expense_model$_assignedUserId; t52 = _this.get$_expense_model$_$this()._expense_model$_entityType; - t53 = _this.get$_expense_model$_$this()._expense_model$_idempotencyKey; - t54 = _this.get$_expense_model$_$this()._expense_model$_id; - if (t54 == null) + t53 = _this.get$_expense_model$_$this()._expense_model$_id; + if (t53 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "id")); - _$result0 = A._$ExpenseEntity$_(t10, t48, t51, t7, t35, t9, t22, t46, t50, t8, t27, t28, t29, t30, t11, t36, t52, t13, t39, t54, t53, t14, t4, t23, t45, t49, t40, t44, t41, t37, t12, t15, t1, t25, t2, t43, t38, t42, t3, t26, t31, t32, t33, t16, t17, t20, t18, t19, t21, t5, t6, t47, t34, t24); + _$result0 = A._$ExpenseEntity$_(t10, t48, t51, t7, t35, t9, t22, t46, t50, t8, t27, t28, t29, t30, t11, t36, t52, t13, t39, t53, t14, t4, t23, t45, t49, t40, t44, t41, t37, t12, t15, t1, t25, t2, t43, t38, t42, t3, t26, t31, t32, t33, t16, t17, t20, t18, t19, t21, t5, t6, t47, t34, t24); } _$result = _$result0; } catch (exception) { @@ -325552,11 +325400,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -325628,10 +325471,6 @@ t2 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_gateway_token_model$_$this()._gateway_token_model$_assignedUserId = t2; break; - case "idempotency_key": - t2 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_gateway_token_model$_$this()._gateway_token_model$_idempotencyKey = t2; - break; case "id": t2 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_gateway_token_model$_$this()._gateway_token_model$_id = t2; @@ -325866,14 +325705,14 @@ return false; if (other === _this) return true; - return other instanceof A.GatewayTokenEntity && _this.token === other.token && _this.customerReference === other.customerReference && _this.companyGatewayId === other.companyGatewayId && _this.gatewayTypeId === other.gatewayTypeId && _this.isDefault === other.isDefault && _this.meta.$eq(0, other.meta) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.GatewayTokenEntity && _this.token === other.token && _this.customerReference === other.customerReference && _this.companyGatewayId === other.companyGatewayId && _this.gatewayTypeId === other.gatewayTypeId && _this.isDefault === other.isDefault && _this.meta.$eq(0, other.meta) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._gateway_token_model$__hashCode; if (t1 == null) { t1 = _this.meta; - t1 = _this._gateway_token_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.token)), B.JSString_methods.get$hashCode(_this.customerReference)), B.JSString_methods.get$hashCode(_this.companyGatewayId)), B.JSString_methods.get$hashCode(_this.gatewayTypeId)), B.JSBool_methods.get$hashCode(_this.isDefault)), t1.get$hashCode(t1)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))); + t1 = _this._gateway_token_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.token)), B.JSString_methods.get$hashCode(_this.customerReference)), B.JSString_methods.get$hashCode(_this.companyGatewayId)), B.JSString_methods.get$hashCode(_this.gatewayTypeId)), B.JSBool_methods.get$hashCode(_this.isDefault)), t1.get$hashCode(t1)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))); } return t1; }, @@ -325894,7 +325733,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -325956,14 +325794,13 @@ _this._gateway_token_model$_isDeleted = $$v.isDeleted; _this._gateway_token_model$_createdUserId = $$v.createdUserId; _this._gateway_token_model$_assignedUserId = $$v.assignedUserId; - _this._gateway_token_model$_idempotencyKey = $$v.idempotencyKey; _this._gateway_token_model$_id = $$v.id; _this._gateway_token_model$_$v = null; } return _this; }, build$0() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, exception, _this = this, + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, exception, _this = this, _s18_ = "GatewayTokenEntity", _$result = null; try { @@ -325998,11 +325835,10 @@ t11 = _this.get$_gateway_token_model$_$this()._gateway_token_model$_isDeleted; t12 = _this.get$_gateway_token_model$_$this()._gateway_token_model$_createdUserId; t13 = _this.get$_gateway_token_model$_$this()._gateway_token_model$_assignedUserId; - t14 = _this.get$_gateway_token_model$_$this()._gateway_token_model$_idempotencyKey; - t15 = _this.get$_gateway_token_model$_$this()._gateway_token_model$_id; - if (t15 == null) + t14 = _this.get$_gateway_token_model$_$this()._gateway_token_model$_id; + if (t14 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s18_, "id")); - _$result0 = new A._$GatewayTokenEntity(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15); + _$result0 = new A._$GatewayTokenEntity(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14); } _$result = _$result0; } catch (exception) { @@ -326302,11 +326138,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -326383,10 +326214,6 @@ t5 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_group_model$_$this()._group_model$_assignedUserId = t5; break; - case "idempotency_key": - t5 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_group_model$_$this()._group_model$_idempotencyKey = t5; - break; case "id": t5 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_group_model$_$this()._group_model$_id = t5; @@ -326557,12 +326384,12 @@ return false; if (other === _this) return true; - return other instanceof A.GroupEntity && _this.name === other.name && J.$eq$(_this.settings, other.settings) && J.$eq$(_this.documents, other.documents) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.GroupEntity && _this.name === other.name && J.$eq$(_this.settings, other.settings) && J.$eq$(_this.documents, other.documents) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._group_model$__hashCode; - return t1 == null ? _this._group_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), J.get$hashCode$(_this.settings)), J.get$hashCode$(_this.documents)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._group_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), J.get$hashCode$(_this.settings)), J.get$hashCode$(_this.documents)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -326578,7 +326405,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -326639,14 +326465,13 @@ _this._group_model$_isDeleted = $$v.isDeleted; _this._group_model$_createdUserId = $$v.createdUserId; _this._group_model$_assignedUserId = $$v.assignedUserId; - _this._group_model$_idempotencyKey = $$v.idempotencyKey; _this._group_model$_id = $$v.id; _this._group_model$_$v = null; } return _this; }, build$0() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, exception, _this = this, + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, exception, _this = this, _s11_ = "GroupEntity", _$result = null; try { @@ -326670,11 +326495,10 @@ t8 = _this.get$_group_model$_$this()._group_model$_isDeleted; t9 = _this.get$_group_model$_$this()._group_model$_createdUserId; t10 = _this.get$_group_model$_$this()._group_model$_assignedUserId; - t11 = _this.get$_group_model$_$this()._group_model$_idempotencyKey; - t12 = _this.get$_group_model$_$this()._group_model$_id; - if (t12 == null) + t11 = _this.get$_group_model$_$this()._group_model$_id; + if (t11 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s11_, "id")); - _$result0 = A._$GroupEntity$_(t7, t10, t5, t9, t3, t12, t11, t4, t8, t1, t2, t6); + _$result0 = A._$GroupEntity$_(t7, t10, t5, t9, t3, t11, t4, t8, t1, t2, t6); } _$result = _$result0; } catch (exception) { @@ -328445,8 +328269,6 @@ t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; b.get$_invoice_model$_$this()._invoice_model$_id = "" + t1; - t1 = A.getRandomString(); - b.get$_invoice_model$_$this()._invoice_model$_idempotencyKey = t1; b.get$_invoice_model$_$this()._invoice_model$_isChanged = false; b.get$_invoice_model$_$this()._invoice_model$_isDeleted = false; b.get$_invoice_model$_$this()._statusId = "1"; @@ -329051,11 +328873,6 @@ result.push("entity_type"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_qBb)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -329435,10 +329252,6 @@ t13 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_qBb)); result.get$_invoice_model$_$this()._invoice_model$_entityType = t13; break; - case "idempotency_key": - t13 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_invoice_model$_$this()._invoice_model$_idempotencyKey = t13; - break; case "id": t13 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_invoice_model$_$this()._invoice_model$_id = t13; @@ -329626,18 +329439,13 @@ result.push("entity_type"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_qBb)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - var iterator, t1, key, value, t2, _$result, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, + var iterator, t1, key, value, t2, _$result, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, _s16_ = "InvitationEntity", result = new A.InvitationEntityBuilder(); result.get$_invoice_model$_$this()._invoice_model$_clientContactId = ""; @@ -329712,10 +329520,6 @@ t2 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_qBb)); result.get$_invoice_model$_$this()._invoice_model$_entityType = t2; break; - case "idempotency_key": - t2 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_invoice_model$_$this()._invoice_model$_idempotencyKey = t2; - break; case "id": t2 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_invoice_model$_$this()._invoice_model$_id = t2; @@ -329760,11 +329564,10 @@ t14 = result.get$_invoice_model$_$this()._invoice_model$_createdUserId; t15 = result.get$_invoice_model$_$this()._invoice_model$_assignedUserId; t16 = result.get$_invoice_model$_$this()._invoice_model$_entityType; - t17 = result.get$_invoice_model$_$this()._invoice_model$_idempotencyKey; - t18 = result.get$_invoice_model$_$this()._invoice_model$_id; - if (t18 == null) + t17 = result.get$_invoice_model$_$this()._invoice_model$_id; + if (t17 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s16_, "id")); - _$result = A._$InvitationEntity$_(t12, t15, t3, t10, t14, t8, t16, t18, t17, t9, t13, t1, t2, t7, t5, t11, t4, t6); + _$result = A._$InvitationEntity$_(t12, t15, t3, t10, t14, t8, t16, t17, t9, t13, t1, t2, t7, t5, t11, t4, t6); } A.ArgumentError_checkNotNull(_$result, "other"); return result._invoice_model$_$v = _$result; @@ -330043,12 +329846,12 @@ return false; if (other === _this) return true; - return other instanceof A.InvoiceEntity && _this.amount === other.amount && _this.balance === other.balance && _this.paidToDate === other.paidToDate && _this.clientId === other.clientId && _this.projectId === other.projectId && _this.expenseId === other.expenseId && _this.vendorId === other.vendorId && _this.subscriptionId === other.subscriptionId && _this.statusId === other.statusId && _this.number === other.number && _this.discount === other.discount && _this.poNumber === other.poNumber && _this.date == other.date && _this.dueDate === other.dueDate && _this.publicNotes === other.publicNotes && _this.privateNotes === other.privateNotes && _this.terms === other.terms && _this.footer === other.footer && _this.designId === other.designId && _this.usesInclusiveTaxes === other.usesInclusiveTaxes && _this.taxName1 === other.taxName1 && _this.taxRate1 === other.taxRate1 && _this.taxName2 === other.taxName2 && _this.taxRate2 === other.taxRate2 && _this.taxName3 === other.taxName3 && _this.taxRate3 === other.taxRate3 && _this.isAmountDiscount === other.isAmountDiscount && _this.partial === other.partial && _this.taxAmount === other.taxAmount && _this.partialDueDate === other.partialDueDate && _this.autoBill == other.autoBill && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.customSurcharge1 === other.customSurcharge1 && _this.customSurcharge2 === other.customSurcharge2 && _this.customSurcharge3 === other.customSurcharge3 && _this.customSurcharge4 === other.customSurcharge4 && _this.customTaxes1 === other.customTaxes1 && _this.customTaxes2 === other.customTaxes2 && _this.customTaxes3 === other.customTaxes3 && _this.customTaxes4 === other.customTaxes4 && _this.exchangeRate === other.exchangeRate && _this.reminder1Sent == other.reminder1Sent && _this.reminder2Sent == other.reminder2Sent && _this.reminder3Sent == other.reminder3Sent && _this.reminderLastSent == other.reminderLastSent && _this.frequencyId == other.frequencyId && _this.lastSentDate === other.lastSentDate && _this.nextSendDate == other.nextSendDate && _this.remainingCycles == other.remainingCycles && _this.dueDateDays == other.dueDateDays && _this.invoiceId == other.invoiceId && _this.recurringId == other.recurringId && _this.autoBillEnabled === other.autoBillEnabled && _this.filename == other.filename && J.$eq$(_this.recurringDates, other.recurringDates) && J.$eq$(_this.lineItems, other.lineItems) && J.$eq$(_this.invitations, other.invitations) && J.$eq$(_this.documents, other.documents) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.entityType == other.entityType && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.InvoiceEntity && _this.amount === other.amount && _this.balance === other.balance && _this.paidToDate === other.paidToDate && _this.clientId === other.clientId && _this.projectId === other.projectId && _this.expenseId === other.expenseId && _this.vendorId === other.vendorId && _this.subscriptionId === other.subscriptionId && _this.statusId === other.statusId && _this.number === other.number && _this.discount === other.discount && _this.poNumber === other.poNumber && _this.date == other.date && _this.dueDate === other.dueDate && _this.publicNotes === other.publicNotes && _this.privateNotes === other.privateNotes && _this.terms === other.terms && _this.footer === other.footer && _this.designId === other.designId && _this.usesInclusiveTaxes === other.usesInclusiveTaxes && _this.taxName1 === other.taxName1 && _this.taxRate1 === other.taxRate1 && _this.taxName2 === other.taxName2 && _this.taxRate2 === other.taxRate2 && _this.taxName3 === other.taxName3 && _this.taxRate3 === other.taxRate3 && _this.isAmountDiscount === other.isAmountDiscount && _this.partial === other.partial && _this.taxAmount === other.taxAmount && _this.partialDueDate === other.partialDueDate && _this.autoBill == other.autoBill && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.customSurcharge1 === other.customSurcharge1 && _this.customSurcharge2 === other.customSurcharge2 && _this.customSurcharge3 === other.customSurcharge3 && _this.customSurcharge4 === other.customSurcharge4 && _this.customTaxes1 === other.customTaxes1 && _this.customTaxes2 === other.customTaxes2 && _this.customTaxes3 === other.customTaxes3 && _this.customTaxes4 === other.customTaxes4 && _this.exchangeRate === other.exchangeRate && _this.reminder1Sent == other.reminder1Sent && _this.reminder2Sent == other.reminder2Sent && _this.reminder3Sent == other.reminder3Sent && _this.reminderLastSent == other.reminderLastSent && _this.frequencyId == other.frequencyId && _this.lastSentDate === other.lastSentDate && _this.nextSendDate == other.nextSendDate && _this.remainingCycles == other.remainingCycles && _this.dueDateDays == other.dueDateDays && _this.invoiceId == other.invoiceId && _this.recurringId == other.recurringId && _this.autoBillEnabled === other.autoBillEnabled && _this.filename == other.filename && J.$eq$(_this.recurringDates, other.recurringDates) && J.$eq$(_this.lineItems, other.lineItems) && J.$eq$(_this.invitations, other.invitations) && J.$eq$(_this.documents, other.documents) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.entityType == other.entityType && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._invoice_model$__hashCode; - return t1 == null ? _this._invoice_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSNumber_methods.get$hashCode(_this.amount)), B.JSNumber_methods.get$hashCode(_this.balance)), B.JSNumber_methods.get$hashCode(_this.paidToDate)), B.JSString_methods.get$hashCode(_this.clientId)), B.JSString_methods.get$hashCode(_this.projectId)), B.JSString_methods.get$hashCode(_this.expenseId)), B.JSString_methods.get$hashCode(_this.vendorId)), B.JSString_methods.get$hashCode(_this.subscriptionId)), B.JSString_methods.get$hashCode(_this.statusId)), B.JSString_methods.get$hashCode(_this.number)), B.JSNumber_methods.get$hashCode(_this.discount)), B.JSString_methods.get$hashCode(_this.poNumber)), J.get$hashCode$(_this.date)), B.JSString_methods.get$hashCode(_this.dueDate)), B.JSString_methods.get$hashCode(_this.publicNotes)), B.JSString_methods.get$hashCode(_this.privateNotes)), B.JSString_methods.get$hashCode(_this.terms)), B.JSString_methods.get$hashCode(_this.footer)), B.JSString_methods.get$hashCode(_this.designId)), B.JSBool_methods.get$hashCode(_this.usesInclusiveTaxes)), B.JSString_methods.get$hashCode(_this.taxName1)), B.JSNumber_methods.get$hashCode(_this.taxRate1)), B.JSString_methods.get$hashCode(_this.taxName2)), B.JSNumber_methods.get$hashCode(_this.taxRate2)), B.JSString_methods.get$hashCode(_this.taxName3)), B.JSNumber_methods.get$hashCode(_this.taxRate3)), B.JSBool_methods.get$hashCode(_this.isAmountDiscount)), B.JSNumber_methods.get$hashCode(_this.partial)), B.JSNumber_methods.get$hashCode(_this.taxAmount)), B.JSString_methods.get$hashCode(_this.partialDueDate)), J.get$hashCode$(_this.autoBill)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), B.JSNumber_methods.get$hashCode(_this.customSurcharge1)), B.JSNumber_methods.get$hashCode(_this.customSurcharge2)), B.JSNumber_methods.get$hashCode(_this.customSurcharge3)), B.JSNumber_methods.get$hashCode(_this.customSurcharge4)), B.JSBool_methods.get$hashCode(_this.customTaxes1)), B.JSBool_methods.get$hashCode(_this.customTaxes2)), B.JSBool_methods.get$hashCode(_this.customTaxes3)), B.JSBool_methods.get$hashCode(_this.customTaxes4)), B.JSNumber_methods.get$hashCode(_this.exchangeRate)), J.get$hashCode$(_this.reminder1Sent)), J.get$hashCode$(_this.reminder2Sent)), J.get$hashCode$(_this.reminder3Sent)), J.get$hashCode$(_this.reminderLastSent)), J.get$hashCode$(_this.frequencyId)), B.JSString_methods.get$hashCode(_this.lastSentDate)), J.get$hashCode$(_this.nextSendDate)), J.get$hashCode$(_this.remainingCycles)), J.get$hashCode$(_this.dueDateDays)), J.get$hashCode$(_this.invoiceId)), J.get$hashCode$(_this.recurringId)), B.JSBool_methods.get$hashCode(_this.autoBillEnabled)), J.get$hashCode$(_this.filename)), J.get$hashCode$(_this.recurringDates)), J.get$hashCode$(_this.lineItems)), J.get$hashCode$(_this.invitations)), J.get$hashCode$(_this.documents)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.entityType)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._invoice_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSNumber_methods.get$hashCode(_this.amount)), B.JSNumber_methods.get$hashCode(_this.balance)), B.JSNumber_methods.get$hashCode(_this.paidToDate)), B.JSString_methods.get$hashCode(_this.clientId)), B.JSString_methods.get$hashCode(_this.projectId)), B.JSString_methods.get$hashCode(_this.expenseId)), B.JSString_methods.get$hashCode(_this.vendorId)), B.JSString_methods.get$hashCode(_this.subscriptionId)), B.JSString_methods.get$hashCode(_this.statusId)), B.JSString_methods.get$hashCode(_this.number)), B.JSNumber_methods.get$hashCode(_this.discount)), B.JSString_methods.get$hashCode(_this.poNumber)), J.get$hashCode$(_this.date)), B.JSString_methods.get$hashCode(_this.dueDate)), B.JSString_methods.get$hashCode(_this.publicNotes)), B.JSString_methods.get$hashCode(_this.privateNotes)), B.JSString_methods.get$hashCode(_this.terms)), B.JSString_methods.get$hashCode(_this.footer)), B.JSString_methods.get$hashCode(_this.designId)), B.JSBool_methods.get$hashCode(_this.usesInclusiveTaxes)), B.JSString_methods.get$hashCode(_this.taxName1)), B.JSNumber_methods.get$hashCode(_this.taxRate1)), B.JSString_methods.get$hashCode(_this.taxName2)), B.JSNumber_methods.get$hashCode(_this.taxRate2)), B.JSString_methods.get$hashCode(_this.taxName3)), B.JSNumber_methods.get$hashCode(_this.taxRate3)), B.JSBool_methods.get$hashCode(_this.isAmountDiscount)), B.JSNumber_methods.get$hashCode(_this.partial)), B.JSNumber_methods.get$hashCode(_this.taxAmount)), B.JSString_methods.get$hashCode(_this.partialDueDate)), J.get$hashCode$(_this.autoBill)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), B.JSNumber_methods.get$hashCode(_this.customSurcharge1)), B.JSNumber_methods.get$hashCode(_this.customSurcharge2)), B.JSNumber_methods.get$hashCode(_this.customSurcharge3)), B.JSNumber_methods.get$hashCode(_this.customSurcharge4)), B.JSBool_methods.get$hashCode(_this.customTaxes1)), B.JSBool_methods.get$hashCode(_this.customTaxes2)), B.JSBool_methods.get$hashCode(_this.customTaxes3)), B.JSBool_methods.get$hashCode(_this.customTaxes4)), B.JSNumber_methods.get$hashCode(_this.exchangeRate)), J.get$hashCode$(_this.reminder1Sent)), J.get$hashCode$(_this.reminder2Sent)), J.get$hashCode$(_this.reminder3Sent)), J.get$hashCode$(_this.reminderLastSent)), J.get$hashCode$(_this.frequencyId)), B.JSString_methods.get$hashCode(_this.lastSentDate)), J.get$hashCode$(_this.nextSendDate)), J.get$hashCode$(_this.remainingCycles)), J.get$hashCode$(_this.dueDateDays)), J.get$hashCode$(_this.invoiceId)), J.get$hashCode$(_this.recurringId)), B.JSBool_methods.get$hashCode(_this.autoBillEnabled)), J.get$hashCode$(_this.filename)), J.get$hashCode$(_this.recurringDates)), J.get$hashCode$(_this.lineItems)), J.get$hashCode$(_this.invitations)), J.get$hashCode$(_this.documents)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.entityType)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -330125,7 +329928,6 @@ t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); t2.add$2(t1, "entityType", _this.entityType); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -330289,14 +330091,13 @@ _this._invoice_model$_createdUserId = $$v.createdUserId; _this._invoice_model$_assignedUserId = $$v.assignedUserId; _this._invoice_model$_entityType = $$v.entityType; - _this._invoice_model$_idempotencyKey = $$v.idempotencyKey; _this._invoice_model$_id = $$v.id; _this._invoice_model$_$v = null; } return _this; }, build$0() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57, t58, t59, t60, t61, t62, t63, t64, t65, t66, t67, t68, t69, t70, t71, t72, t73, exception, _this = this, + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57, t58, t59, t60, t61, t62, t63, t64, t65, t66, t67, t68, t69, t70, t71, t72, exception, _this = this, _s13_ = "InvoiceEntity", _$result = null; try { @@ -330472,11 +330273,10 @@ t69 = _this.get$_invoice_model$_$this()._invoice_model$_createdUserId; t70 = _this.get$_invoice_model$_$this()._invoice_model$_assignedUserId; t71 = _this.get$_invoice_model$_$this()._invoice_model$_entityType; - t72 = _this.get$_invoice_model$_$this()._invoice_model$_idempotencyKey; - t73 = _this.get$_invoice_model$_$this()._invoice_model$_id; - if (t73 == null) + t72 = _this.get$_invoice_model$_$this()._invoice_model$_id; + if (t72 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "id")); - _$result0 = A._$InvoiceEntity$_(t62, t1, t67, t70, t31, t56, t2, t4, t65, t69, t36, t37, t38, t39, t40, t41, t42, t43, t32, t33, t34, t35, t13, t19, t11, t61, t14, t53, t71, t44, t6, t57, t18, t49, t73, t72, t60, t54, t27, t64, t68, t50, t59, t63, t51, t10, t3, t28, t30, t12, t16, t5, t15, t58, t55, t52, t45, t46, t47, t48, t9, t8, t29, t21, t23, t25, t22, t24, t26, t17, t66, t20, t7); + _$result0 = A._$InvoiceEntity$_(t62, t1, t67, t70, t31, t56, t2, t4, t65, t69, t36, t37, t38, t39, t40, t41, t42, t43, t32, t33, t34, t35, t13, t19, t11, t61, t14, t53, t71, t44, t6, t57, t18, t49, t72, t60, t54, t27, t64, t68, t50, t59, t63, t51, t10, t3, t28, t30, t12, t16, t5, t15, t58, t55, t52, t45, t46, t47, t48, t9, t8, t29, t21, t23, t25, t22, t24, t26, t17, t66, t20, t7); } _$result = _$result0; } catch (exception) { @@ -330654,12 +330454,12 @@ return false; if (other === _this) return true; - return other instanceof A.InvitationEntity && _this.key === other.key && _this.link === other.link && _this.clientContactId === other.clientContactId && _this.vendorContactId === other.vendorContactId && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.entityType == other.entityType && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.InvitationEntity && _this.key === other.key && _this.link === other.link && _this.clientContactId === other.clientContactId && _this.vendorContactId === other.vendorContactId && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.entityType == other.entityType && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._invoice_model$__hashCode; - return t1 == null ? _this._invoice_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.key)), B.JSString_methods.get$hashCode(_this.link)), B.JSString_methods.get$hashCode(_this.clientContactId)), B.JSString_methods.get$hashCode(_this.vendorContactId)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.entityType)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._invoice_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.key)), B.JSString_methods.get$hashCode(_this.link)), B.JSString_methods.get$hashCode(_this.clientContactId)), B.JSString_methods.get$hashCode(_this.vendorContactId)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.entityType)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -330681,7 +330481,6 @@ t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); t2.add$2(t1, "entityType", _this.entityType); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -330734,7 +330533,6 @@ _this._invoice_model$_createdUserId = $$v.createdUserId; _this._invoice_model$_assignedUserId = $$v.assignedUserId; _this._invoice_model$_entityType = $$v.entityType; - _this._invoice_model$_idempotencyKey = $$v.idempotencyKey; _this._invoice_model$_id = $$v.id; _this._invoice_model$_$v = null; } @@ -331569,7 +331367,12 @@ A._$PaymentEntitySerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { var result = A._setArrayType(["amount", serializers.serialize$2$specifiedType(object.amount, B.FullType_MME), "applied", serializers.serialize$2$specifiedType(object.applied, B.FullType_MME), "refunded", serializers.serialize$2$specifiedType(object.refunded, B.FullType_MME), "number", serializers.serialize$2$specifiedType(object.number, B.FullType_h8g), "client_id", serializers.serialize$2$specifiedType(object.clientId, B.FullType_h8g), "status_id", serializers.serialize$2$specifiedType(object.statusId, B.FullType_h8g), "transaction_reference", serializers.serialize$2$specifiedType(object.transactionReference, B.FullType_h8g), "date", serializers.serialize$2$specifiedType(object.date, B.FullType_h8g), "type_id", serializers.serialize$2$specifiedType(object.typeId, B.FullType_h8g), "private_notes", serializers.serialize$2$specifiedType(object.privateNotes, B.FullType_h8g), "custom_value1", serializers.serialize$2$specifiedType(object.customValue1, B.FullType_h8g), "custom_value2", serializers.serialize$2$specifiedType(object.customValue2, B.FullType_h8g), "custom_value3", serializers.serialize$2$specifiedType(object.customValue3, B.FullType_h8g), "custom_value4", serializers.serialize$2$specifiedType(object.customValue4, B.FullType_h8g), "exchange_rate", serializers.serialize$2$specifiedType(object.exchangeRate, B.FullType_MME), "exchange_currency_id", serializers.serialize$2$specifiedType(object.exchangeCurrencyId, B.FullType_h8g), "is_manual", serializers.serialize$2$specifiedType(object.isManual, B.FullType_MtR), "project_id", serializers.serialize$2$specifiedType(object.projectId, B.FullType_h8g), "vendor_id", serializers.serialize$2$specifiedType(object.vendorId, B.FullType_h8g), "invitation_id", serializers.serialize$2$specifiedType(object.invitationId, B.FullType_h8g), "client_contact_id", serializers.serialize$2$specifiedType(object.clientContactId, B.FullType_h8g), "company_gateway_id", serializers.serialize$2$specifiedType(object.companyGatewayId, B.FullType_h8g), "currency_id", serializers.serialize$2$specifiedType(object.currencyId, B.FullType_h8g), "paymentables", serializers.serialize$2$specifiedType(object.paymentables, B.FullType_U06), "invoices", serializers.serialize$2$specifiedType(object.invoices, B.FullType_U06), "credits", serializers.serialize$2$specifiedType(object.credits, B.FullType_U06), "created_at", serializers.serialize$2$specifiedType(object.createdAt, B.FullType_kjq), "updated_at", serializers.serialize$2$specifiedType(object.updatedAt, B.FullType_kjq), "archived_at", serializers.serialize$2$specifiedType(object.archivedAt, B.FullType_kjq), "id", serializers.serialize$2$specifiedType(object.id, B.FullType_h8g)], type$.JSArray_legacy_Object), - value = object.isApplying; + value = object.idempotencyKey; + if (value != null) { + result.push("idempotency_key"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + } + value = object.isApplying; if (value != null) { result.push("isApplying"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_MtR)); @@ -331604,11 +331407,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -331639,6 +331437,10 @@ t4 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_payment_model$_$this()._payment_model$_number = t4; break; + case "idempotency_key": + t4 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_payment_model$_$this()._idempotencyKey = t4; + break; case "client_id": t4 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_payment_model$_$this()._payment_model$_clientId = t4; @@ -331815,10 +331617,6 @@ t4 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_payment_model$_$this()._payment_model$_assignedUserId = t4; break; - case "idempotency_key": - t4 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_payment_model$_$this()._payment_model$_idempotencyKey = t4; - break; case "id": t4 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_payment_model$_$this()._payment_model$_id = t4; @@ -332059,12 +331857,12 @@ return false; if (other === _this) return true; - return other instanceof A.PaymentEntity && _this.amount === other.amount && _this.applied === other.applied && _this.refunded === other.refunded && _this.number === other.number && _this.clientId === other.clientId && _this.statusId === other.statusId && _this.transactionReference === other.transactionReference && _this.date == other.date && _this.typeId === other.typeId && _this.privateNotes === other.privateNotes && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.exchangeRate === other.exchangeRate && _this.exchangeCurrencyId === other.exchangeCurrencyId && _this.isManual === other.isManual && _this.projectId === other.projectId && _this.vendorId === other.vendorId && _this.invitationId === other.invitationId && _this.clientContactId === other.clientContactId && _this.companyGatewayId === other.companyGatewayId && _this.currencyId === other.currencyId && _this.isApplying == other.isApplying && _this.sendEmail == other.sendEmail && _this.gatewayRefund == other.gatewayRefund && J.$eq$(_this.paymentables, other.paymentables) && J.$eq$(_this.invoices, other.invoices) && J.$eq$(_this.credits, other.credits) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.PaymentEntity && _this.amount === other.amount && _this.applied === other.applied && _this.refunded === other.refunded && _this.number === other.number && _this.idempotencyKey == other.idempotencyKey && _this.clientId === other.clientId && _this.statusId === other.statusId && _this.transactionReference === other.transactionReference && _this.date == other.date && _this.typeId === other.typeId && _this.privateNotes === other.privateNotes && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.exchangeRate === other.exchangeRate && _this.exchangeCurrencyId === other.exchangeCurrencyId && _this.isManual === other.isManual && _this.projectId === other.projectId && _this.vendorId === other.vendorId && _this.invitationId === other.invitationId && _this.clientContactId === other.clientContactId && _this.companyGatewayId === other.companyGatewayId && _this.currencyId === other.currencyId && _this.isApplying == other.isApplying && _this.sendEmail == other.sendEmail && _this.gatewayRefund == other.gatewayRefund && J.$eq$(_this.paymentables, other.paymentables) && J.$eq$(_this.invoices, other.invoices) && J.$eq$(_this.credits, other.credits) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._payment_model$__hashCode; - return t1 == null ? _this._payment_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSNumber_methods.get$hashCode(_this.amount)), B.JSNumber_methods.get$hashCode(_this.applied)), B.JSNumber_methods.get$hashCode(_this.refunded)), B.JSString_methods.get$hashCode(_this.number)), B.JSString_methods.get$hashCode(_this.clientId)), B.JSString_methods.get$hashCode(_this.statusId)), B.JSString_methods.get$hashCode(_this.transactionReference)), J.get$hashCode$(_this.date)), B.JSString_methods.get$hashCode(_this.typeId)), B.JSString_methods.get$hashCode(_this.privateNotes)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), B.JSNumber_methods.get$hashCode(_this.exchangeRate)), B.JSString_methods.get$hashCode(_this.exchangeCurrencyId)), B.JSBool_methods.get$hashCode(_this.isManual)), B.JSString_methods.get$hashCode(_this.projectId)), B.JSString_methods.get$hashCode(_this.vendorId)), B.JSString_methods.get$hashCode(_this.invitationId)), B.JSString_methods.get$hashCode(_this.clientContactId)), B.JSString_methods.get$hashCode(_this.companyGatewayId)), B.JSString_methods.get$hashCode(_this.currencyId)), J.get$hashCode$(_this.isApplying)), J.get$hashCode$(_this.sendEmail)), J.get$hashCode$(_this.gatewayRefund)), J.get$hashCode$(_this.paymentables)), J.get$hashCode$(_this.invoices)), J.get$hashCode$(_this.credits)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._payment_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSNumber_methods.get$hashCode(_this.amount)), B.JSNumber_methods.get$hashCode(_this.applied)), B.JSNumber_methods.get$hashCode(_this.refunded)), B.JSString_methods.get$hashCode(_this.number)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.clientId)), B.JSString_methods.get$hashCode(_this.statusId)), B.JSString_methods.get$hashCode(_this.transactionReference)), J.get$hashCode$(_this.date)), B.JSString_methods.get$hashCode(_this.typeId)), B.JSString_methods.get$hashCode(_this.privateNotes)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), B.JSNumber_methods.get$hashCode(_this.exchangeRate)), B.JSString_methods.get$hashCode(_this.exchangeCurrencyId)), B.JSBool_methods.get$hashCode(_this.isManual)), B.JSString_methods.get$hashCode(_this.projectId)), B.JSString_methods.get$hashCode(_this.vendorId)), B.JSString_methods.get$hashCode(_this.invitationId)), B.JSString_methods.get$hashCode(_this.clientContactId)), B.JSString_methods.get$hashCode(_this.companyGatewayId)), B.JSString_methods.get$hashCode(_this.currencyId)), J.get$hashCode$(_this.isApplying)), J.get$hashCode$(_this.sendEmail)), J.get$hashCode$(_this.gatewayRefund)), J.get$hashCode$(_this.paymentables)), J.get$hashCode$(_this.invoices)), J.get$hashCode$(_this.credits)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -332074,6 +331872,7 @@ t2.add$2(t1, "applied", _this.applied); t2.add$2(t1, "refunded", _this.refunded); t2.add$2(t1, "number", _this.number); + t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "clientId", _this.clientId); t2.add$2(t1, "statusId", _this.statusId); t2.add$2(t1, "transactionReference", _this.transactionReference); @@ -332106,7 +331905,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -332174,6 +331972,7 @@ _this._applied = $$v.applied; _this._refunded = $$v.refunded; _this._payment_model$_number = $$v.number; + _this._idempotencyKey = $$v.idempotencyKey; _this._payment_model$_clientId = $$v.clientId; _this._payment_model$_statusId = $$v.statusId; _this._transactionReference = $$v.transactionReference; @@ -332212,7 +332011,6 @@ _this._payment_model$_isDeleted = $$v.isDeleted; _this._payment_model$_createdUserId = $$v.createdUserId; _this._payment_model$_assignedUserId = $$v.assignedUserId; - _this._payment_model$_idempotencyKey = $$v.idempotencyKey; _this._payment_model$_id = $$v.id; _this._payment_model$_$v = null; } @@ -332237,87 +332035,87 @@ t4 = _this.get$_payment_model$_$this()._payment_model$_number; if (t4 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "number")); - t5 = _this.get$_payment_model$_$this()._payment_model$_clientId; - if (t5 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "clientId")); - t6 = _this.get$_payment_model$_$this()._payment_model$_statusId; + t5 = _this.get$_payment_model$_$this()._idempotencyKey; + t6 = _this.get$_payment_model$_$this()._payment_model$_clientId; if (t6 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "statusId")); - t7 = _this.get$_payment_model$_$this()._transactionReference; + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "clientId")); + t7 = _this.get$_payment_model$_$this()._payment_model$_statusId; if (t7 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "transactionReference")); - t8 = _this.get$_payment_model$_$this()._payment_model$_date; + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "statusId")); + t8 = _this.get$_payment_model$_$this()._transactionReference; if (t8 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "date")); - t9 = _this.get$_payment_model$_$this()._typeId; + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "transactionReference")); + t9 = _this.get$_payment_model$_$this()._payment_model$_date; if (t9 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "typeId")); - t10 = _this.get$_payment_model$_$this()._payment_model$_privateNotes; + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "date")); + t10 = _this.get$_payment_model$_$this()._typeId; if (t10 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "privateNotes")); - t11 = _this.get$_payment_model$_$this()._payment_model$_customValue1; + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "typeId")); + t11 = _this.get$_payment_model$_$this()._payment_model$_privateNotes; if (t11 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "customValue1")); - t12 = _this.get$_payment_model$_$this()._payment_model$_customValue2; + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "privateNotes")); + t12 = _this.get$_payment_model$_$this()._payment_model$_customValue1; if (t12 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "customValue2")); - t13 = _this.get$_payment_model$_$this()._payment_model$_customValue3; + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "customValue1")); + t13 = _this.get$_payment_model$_$this()._payment_model$_customValue2; if (t13 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "customValue3")); - t14 = _this.get$_payment_model$_$this()._payment_model$_customValue4; + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "customValue2")); + t14 = _this.get$_payment_model$_$this()._payment_model$_customValue3; if (t14 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "customValue4")); - t15 = _this.get$_payment_model$_$this()._payment_model$_exchangeRate; + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "customValue3")); + t15 = _this.get$_payment_model$_$this()._payment_model$_customValue4; if (t15 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "exchangeRate")); - t16 = _this.get$_payment_model$_$this()._exchangeCurrencyId; + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "customValue4")); + t16 = _this.get$_payment_model$_$this()._payment_model$_exchangeRate; if (t16 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "exchangeCurrencyId")); - t17 = _this.get$_payment_model$_$this()._isManual; + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "exchangeRate")); + t17 = _this.get$_payment_model$_$this()._exchangeCurrencyId; if (t17 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "isManual")); - t18 = _this.get$_payment_model$_$this()._payment_model$_projectId; + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "exchangeCurrencyId")); + t18 = _this.get$_payment_model$_$this()._isManual; if (t18 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "projectId")); - t19 = _this.get$_payment_model$_$this()._payment_model$_vendorId; + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "isManual")); + t19 = _this.get$_payment_model$_$this()._payment_model$_projectId; if (t19 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "vendorId")); - t20 = _this.get$_payment_model$_$this()._invitationId; + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "projectId")); + t20 = _this.get$_payment_model$_$this()._payment_model$_vendorId; if (t20 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "invitationId")); - t21 = _this.get$_payment_model$_$this()._clientContactId; + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "vendorId")); + t21 = _this.get$_payment_model$_$this()._invitationId; if (t21 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "clientContactId")); - t22 = _this.get$_payment_model$_$this()._companyGatewayId; + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "invitationId")); + t22 = _this.get$_payment_model$_$this()._clientContactId; if (t22 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "companyGatewayId")); - t23 = _this.get$_payment_model$_$this()._payment_model$_currencyId; + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "clientContactId")); + t23 = _this.get$_payment_model$_$this()._companyGatewayId; if (t23 == null) + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "companyGatewayId")); + t24 = _this.get$_payment_model$_$this()._payment_model$_currencyId; + if (t24 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "currencyId")); - t24 = _this.get$_payment_model$_$this()._isApplying; - t25 = _this.get$_payment_model$_$this()._sendEmail; - t26 = _this.get$_payment_model$_$this()._gatewayRefund; - t27 = _this.get$paymentables().build$0(); - t28 = _this.get$invoices().build$0(); - t29 = _this.get$credits().build$0(); - t30 = _this.get$_payment_model$_$this()._payment_model$_isChanged; - t31 = _this.get$_payment_model$_$this()._payment_model$_createdAt; - if (t31 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "createdAt")); - t32 = _this.get$_payment_model$_$this()._payment_model$_updatedAt; + t25 = _this.get$_payment_model$_$this()._isApplying; + t26 = _this.get$_payment_model$_$this()._sendEmail; + t27 = _this.get$_payment_model$_$this()._gatewayRefund; + t28 = _this.get$paymentables().build$0(); + t29 = _this.get$invoices().build$0(); + t30 = _this.get$credits().build$0(); + t31 = _this.get$_payment_model$_$this()._payment_model$_isChanged; + t32 = _this.get$_payment_model$_$this()._payment_model$_createdAt; if (t32 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "updatedAt")); - t33 = _this.get$_payment_model$_$this()._payment_model$_archivedAt; + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "createdAt")); + t33 = _this.get$_payment_model$_$this()._payment_model$_updatedAt; if (t33 == null) + A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "updatedAt")); + t34 = _this.get$_payment_model$_$this()._payment_model$_archivedAt; + if (t34 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "archivedAt")); - t34 = _this.get$_payment_model$_$this()._payment_model$_isDeleted; - t35 = _this.get$_payment_model$_$this()._payment_model$_createdUserId; - t36 = _this.get$_payment_model$_$this()._payment_model$_assignedUserId; - t37 = _this.get$_payment_model$_$this()._payment_model$_idempotencyKey; + t35 = _this.get$_payment_model$_$this()._payment_model$_isDeleted; + t36 = _this.get$_payment_model$_$this()._payment_model$_createdUserId; + t37 = _this.get$_payment_model$_$this()._payment_model$_assignedUserId; t38 = _this.get$_payment_model$_$this()._payment_model$_id; if (t38 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "id")); - _$result0 = A._$PaymentEntity$_(t1, t2, t33, t36, t21, t5, t22, t31, t35, t29, t23, t11, t12, t13, t14, t8, t16, t15, t26, t38, t37, t20, t28, t24, t30, t34, t17, t4, t27, t10, t18, t3, t25, t6, t7, t9, t32, t19); + _$result0 = A._$PaymentEntity$_(t1, t2, t34, t37, t22, t6, t23, t32, t36, t30, t24, t12, t13, t14, t15, t9, t17, t16, t27, t38, t5, t21, t29, t25, t31, t35, t18, t4, t28, t11, t19, t3, t26, t7, t8, t10, t33, t20); } _$result = _$result0; } catch (exception) { @@ -332579,11 +332377,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -332634,10 +332427,6 @@ t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_payment_term_model$_$this()._payment_term_model$_assignedUserId = t1; break; - case "idempotency_key": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_payment_term_model$_$this()._payment_term_model$_idempotencyKey = t1; - break; case "id": t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_payment_term_model$_$this()._payment_term_model$_id = t1; @@ -332798,12 +332587,12 @@ return false; if (other === _this) return true; - return other instanceof A.PaymentTermEntity && _this.name === other.name && _this.numDays === other.numDays && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.PaymentTermEntity && _this.name === other.name && _this.numDays === other.numDays && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._payment_term_model$__hashCode; - return t1 == null ? _this._payment_term_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSInt_methods.get$hashCode(_this.numDays)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._payment_term_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSInt_methods.get$hashCode(_this.numDays)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -332818,7 +332607,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -332861,14 +332649,13 @@ _this._payment_term_model$_isDeleted = $$v.isDeleted; _this._payment_term_model$_createdUserId = $$v.createdUserId; _this._payment_term_model$_assignedUserId = $$v.assignedUserId; - _this._payment_term_model$_idempotencyKey = $$v.idempotencyKey; _this._payment_term_model$_id = $$v.id; _this._payment_term_model$_$v = null; } return _this; }, build$0() { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, _this = this, _s17_ = "PaymentTermEntity", _$result = _this._payment_term_model$_$v; if (_$result == null) { @@ -332891,11 +332678,10 @@ t7 = _this.get$_payment_term_model$_$this()._payment_term_model$_isDeleted; t8 = _this.get$_payment_term_model$_$this()._payment_term_model$_createdUserId; t9 = _this.get$_payment_term_model$_$this()._payment_term_model$_assignedUserId; - t10 = _this.get$_payment_term_model$_$this()._payment_term_model$_idempotencyKey; - t11 = _this.get$_payment_term_model$_$this()._payment_term_model$_id; - if (t11 == null) + t10 = _this.get$_payment_term_model$_$this()._payment_term_model$_id; + if (t10 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s17_, "id")); - _$result = A._$PaymentTermEntity$_(t6, t9, t4, t8, t11, t10, t3, t7, t1, t2, t5); + _$result = A._$PaymentTermEntity$_(t6, t9, t4, t8, t10, t3, t7, t1, t2, t5); } A.ArgumentError_checkNotNull(_$result, "other"); return _this._payment_term_model$_$v = _$result; @@ -333061,8 +332847,6 @@ var t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; b.get$_product_model$_$this()._product_model$_id = "" + t1; - t1 = A.getRandomString(); - b.get$_product_model$_$this()._product_model$_idempotencyKey = t1; B.JSArray_methods.clear$0(b.get$documents().get$_safeList()); b.get$_product_model$_$this()._product_model$_isChanged = false; b.get$_product_model$_$this()._product_model$_isDeleted = false; @@ -333214,11 +332998,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -333354,10 +333133,6 @@ t4 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_product_model$_$this()._product_model$_assignedUserId = t4; break; - case "idempotency_key": - t4 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_product_model$_$this()._product_model$_idempotencyKey = t4; - break; case "id": t4 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_product_model$_$this()._product_model$_id = t4; @@ -333528,12 +333303,12 @@ return false; if (other === _this) return true; - return other instanceof A.ProductEntity && _this.productKey === other.productKey && _this.notes === other.notes && _this.cost === other.cost && _this.price === other.price && _this.quantity === other.quantity && _this.taxName1 === other.taxName1 && _this.taxRate1 === other.taxRate1 && _this.taxName2 === other.taxName2 && _this.taxRate2 === other.taxRate2 && _this.taxName3 === other.taxName3 && _this.taxRate3 === other.taxRate3 && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.stockQuantity === other.stockQuantity && _this.stockNotificationThreshold === other.stockNotificationThreshold && _this.stockNotification === other.stockNotification && J.$eq$(_this.documents, other.documents) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.ProductEntity && _this.productKey === other.productKey && _this.notes === other.notes && _this.cost === other.cost && _this.price === other.price && _this.quantity === other.quantity && _this.taxName1 === other.taxName1 && _this.taxRate1 === other.taxRate1 && _this.taxName2 === other.taxName2 && _this.taxRate2 === other.taxRate2 && _this.taxName3 === other.taxName3 && _this.taxRate3 === other.taxRate3 && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.stockQuantity === other.stockQuantity && _this.stockNotificationThreshold === other.stockNotificationThreshold && _this.stockNotification === other.stockNotification && J.$eq$(_this.documents, other.documents) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._product_model$__hashCode; - return t1 == null ? _this._product_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.productKey)), B.JSString_methods.get$hashCode(_this.notes)), B.JSNumber_methods.get$hashCode(_this.cost)), B.JSNumber_methods.get$hashCode(_this.price)), B.JSNumber_methods.get$hashCode(_this.quantity)), B.JSString_methods.get$hashCode(_this.taxName1)), B.JSNumber_methods.get$hashCode(_this.taxRate1)), B.JSString_methods.get$hashCode(_this.taxName2)), B.JSNumber_methods.get$hashCode(_this.taxRate2)), B.JSString_methods.get$hashCode(_this.taxName3)), B.JSNumber_methods.get$hashCode(_this.taxRate3)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), B.JSInt_methods.get$hashCode(_this.stockQuantity)), B.JSInt_methods.get$hashCode(_this.stockNotificationThreshold)), B.JSBool_methods.get$hashCode(_this.stockNotification)), J.get$hashCode$(_this.documents)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._product_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.productKey)), B.JSString_methods.get$hashCode(_this.notes)), B.JSNumber_methods.get$hashCode(_this.cost)), B.JSNumber_methods.get$hashCode(_this.price)), B.JSNumber_methods.get$hashCode(_this.quantity)), B.JSString_methods.get$hashCode(_this.taxName1)), B.JSNumber_methods.get$hashCode(_this.taxRate1)), B.JSString_methods.get$hashCode(_this.taxName2)), B.JSNumber_methods.get$hashCode(_this.taxRate2)), B.JSString_methods.get$hashCode(_this.taxName3)), B.JSNumber_methods.get$hashCode(_this.taxRate3)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), B.JSInt_methods.get$hashCode(_this.stockQuantity)), B.JSInt_methods.get$hashCode(_this.stockNotificationThreshold)), B.JSBool_methods.get$hashCode(_this.stockNotification)), J.get$hashCode$(_this.documents)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -333565,7 +333340,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -333632,14 +333406,13 @@ _this._product_model$_isDeleted = $$v.isDeleted; _this._product_model$_createdUserId = $$v.createdUserId; _this._product_model$_assignedUserId = $$v.assignedUserId; - _this._product_model$_idempotencyKey = $$v.idempotencyKey; _this._product_model$_id = $$v.id; _this._product_model$_$v = null; } return _this; }, build$0() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, exception, _this = this, + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, exception, _this = this, _s13_ = "ProductEntity", _$result = null; try { @@ -333713,11 +333486,10 @@ t24 = _this.get$_product_model$_$this()._product_model$_isDeleted; t25 = _this.get$_product_model$_$this()._product_model$_createdUserId; t26 = _this.get$_product_model$_$this()._product_model$_assignedUserId; - t27 = _this.get$_product_model$_$this()._product_model$_idempotencyKey; - t28 = _this.get$_product_model$_$this()._product_model$_id; - if (t28 == null) + t27 = _this.get$_product_model$_$this()._product_model$_id; + if (t27 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "id")); - _$result0 = A._$ProductEntity$_(t23, t26, t3, t21, t25, t12, t13, t14, t15, t19, t28, t27, t20, t24, t2, t4, t1, t5, t18, t17, t16, t6, t8, t10, t7, t9, t11, t22); + _$result0 = A._$ProductEntity$_(t23, t26, t3, t21, t25, t12, t13, t14, t15, t19, t27, t20, t24, t2, t4, t1, t5, t18, t17, t16, t6, t8, t10, t7, t9, t11, t22); } _$result = _$result0; } catch (exception) { @@ -333940,8 +333712,6 @@ var t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; b.get$_project_model$_$this()._project_model$_id = "" + t1; - t1 = A.getRandomString(); - b.get$_project_model$_$this()._project_model$_idempotencyKey = t1; b.get$_project_model$_$this()._project_model$_number = ""; B.JSArray_methods.clear$0(b.get$documents().get$_safeList()); b.get$_project_model$_$this()._project_model$_isChanged = false; @@ -334090,11 +333860,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -334210,10 +333975,6 @@ t4 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_project_model$_$this()._project_model$_assignedUserId = t4; break; - case "idempotency_key": - t4 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_project_model$_$this()._project_model$_idempotencyKey = t4; - break; case "id": t4 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_project_model$_$this()._project_model$_id = t4; @@ -334384,12 +334145,12 @@ return false; if (other === _this) return true; - return other instanceof A.ProjectEntity && _this.name === other.name && _this.color === other.color && _this.clientId === other.clientId && _this.taskRate === other.taskRate && _this.dueDate === other.dueDate && _this.privateNotes === other.privateNotes && _this.publicNotes === other.publicNotes && _this.budgetedHours === other.budgetedHours && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.number === other.number && J.$eq$(_this.documents, other.documents) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.ProjectEntity && _this.name === other.name && _this.color === other.color && _this.clientId === other.clientId && _this.taskRate === other.taskRate && _this.dueDate === other.dueDate && _this.privateNotes === other.privateNotes && _this.publicNotes === other.publicNotes && _this.budgetedHours === other.budgetedHours && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.number === other.number && J.$eq$(_this.documents, other.documents) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._project_model$__hashCode; - return t1 == null ? _this._project_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSString_methods.get$hashCode(_this.color)), B.JSString_methods.get$hashCode(_this.clientId)), B.JSNumber_methods.get$hashCode(_this.taskRate)), B.JSString_methods.get$hashCode(_this.dueDate)), B.JSString_methods.get$hashCode(_this.privateNotes)), B.JSString_methods.get$hashCode(_this.publicNotes)), B.JSNumber_methods.get$hashCode(_this.budgetedHours)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), B.JSString_methods.get$hashCode(_this.number)), J.get$hashCode$(_this.documents)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._project_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSString_methods.get$hashCode(_this.color)), B.JSString_methods.get$hashCode(_this.clientId)), B.JSNumber_methods.get$hashCode(_this.taskRate)), B.JSString_methods.get$hashCode(_this.dueDate)), B.JSString_methods.get$hashCode(_this.privateNotes)), B.JSString_methods.get$hashCode(_this.publicNotes)), B.JSNumber_methods.get$hashCode(_this.budgetedHours)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), B.JSString_methods.get$hashCode(_this.number)), J.get$hashCode$(_this.documents)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -334416,7 +334177,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -334481,14 +334241,13 @@ _this._project_model$_isDeleted = $$v.isDeleted; _this._project_model$_createdUserId = $$v.createdUserId; _this._project_model$_assignedUserId = $$v.assignedUserId; - _this._project_model$_idempotencyKey = $$v.idempotencyKey; _this._project_model$_id = $$v.id; _this._project_model$_$v = null; } return _this; }, build$0() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, exception, _this = this, + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, exception, _this = this, _s13_ = "ProjectEntity", _$result = null; try { @@ -334547,11 +334306,10 @@ t19 = _this.get$_project_model$_$this()._project_model$_isDeleted; t20 = _this.get$_project_model$_$this()._project_model$_createdUserId; t21 = _this.get$_project_model$_$this()._project_model$_assignedUserId; - t22 = _this.get$_project_model$_$this()._project_model$_idempotencyKey; - t23 = _this.get$_project_model$_$this()._project_model$_id; - if (t23 == null) + t22 = _this.get$_project_model$_$this()._project_model$_id; + if (t22 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "id")); - _$result0 = A._$ProjectEntity$_(t18, t21, t8, t3, t2, t16, t20, t9, t10, t11, t12, t14, t5, t23, t22, t15, t19, t1, t13, t6, t7, t4, t17); + _$result0 = A._$ProjectEntity$_(t18, t21, t8, t3, t2, t16, t20, t9, t10, t11, t12, t14, t5, t22, t15, t19, t1, t13, t6, t7, t4, t17); } _$result = _$result0; } catch (exception) { @@ -343001,11 +342759,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -343139,10 +342892,6 @@ t2 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_subscription_model$_$this()._subscription_model$_assignedUserId = t2; break; - case "idempotency_key": - t2 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_subscription_model$_$this()._subscription_model$_idempotencyKey = t2; - break; case "id": t2 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_subscription_model$_$this()._subscription_model$_id = t2; @@ -343367,12 +343116,12 @@ return false; if (other === _this) return true; - return other instanceof A.SubscriptionEntity && _this.name === other.name && _this.groupId === other.groupId && _this.productIds === other.productIds && _this.recurringProductIds === other.recurringProductIds && _this.frequencyId === other.frequencyId && _this.autoBill === other.autoBill && _this.promoCode === other.promoCode && _this.promoDiscount === other.promoDiscount && _this.price === other.price && _this.isAmountDiscount === other.isAmountDiscount && _this.allowCancellation === other.allowCancellation && _this.perSeatEnabled === other.perSeatEnabled && _this.maxSeatsLimit === other.maxSeatsLimit && _this.trialEnabled === other.trialEnabled && _this.trialDuration === other.trialDuration && _this.allowQueryOverrides === other.allowQueryOverrides && _this.allowPlanChanges === other.allowPlanChanges && _this.refundPeriod === other.refundPeriod && J.$eq$(_this.webhookConfiguration, other.webhookConfiguration) && _this.purchasePage === other.purchasePage && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.SubscriptionEntity && _this.name === other.name && _this.groupId === other.groupId && _this.productIds === other.productIds && _this.recurringProductIds === other.recurringProductIds && _this.frequencyId === other.frequencyId && _this.autoBill === other.autoBill && _this.promoCode === other.promoCode && _this.promoDiscount === other.promoDiscount && _this.price === other.price && _this.isAmountDiscount === other.isAmountDiscount && _this.allowCancellation === other.allowCancellation && _this.perSeatEnabled === other.perSeatEnabled && _this.maxSeatsLimit === other.maxSeatsLimit && _this.trialEnabled === other.trialEnabled && _this.trialDuration === other.trialDuration && _this.allowQueryOverrides === other.allowQueryOverrides && _this.allowPlanChanges === other.allowPlanChanges && _this.refundPeriod === other.refundPeriod && J.$eq$(_this.webhookConfiguration, other.webhookConfiguration) && _this.purchasePage === other.purchasePage && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._subscription_model$__hashCode; - return t1 == null ? _this._subscription_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSString_methods.get$hashCode(_this.groupId)), B.JSString_methods.get$hashCode(_this.productIds)), B.JSString_methods.get$hashCode(_this.recurringProductIds)), B.JSString_methods.get$hashCode(_this.frequencyId)), B.JSString_methods.get$hashCode(_this.autoBill)), B.JSString_methods.get$hashCode(_this.promoCode)), B.JSNumber_methods.get$hashCode(_this.promoDiscount)), B.JSNumber_methods.get$hashCode(_this.price)), B.JSBool_methods.get$hashCode(_this.isAmountDiscount)), B.JSBool_methods.get$hashCode(_this.allowCancellation)), B.JSBool_methods.get$hashCode(_this.perSeatEnabled)), B.JSInt_methods.get$hashCode(_this.maxSeatsLimit)), B.JSBool_methods.get$hashCode(_this.trialEnabled)), B.JSInt_methods.get$hashCode(_this.trialDuration)), B.JSBool_methods.get$hashCode(_this.allowQueryOverrides)), B.JSBool_methods.get$hashCode(_this.allowPlanChanges)), B.JSInt_methods.get$hashCode(_this.refundPeriod)), J.get$hashCode$(_this.webhookConfiguration)), B.JSString_methods.get$hashCode(_this.purchasePage)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._subscription_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSString_methods.get$hashCode(_this.groupId)), B.JSString_methods.get$hashCode(_this.productIds)), B.JSString_methods.get$hashCode(_this.recurringProductIds)), B.JSString_methods.get$hashCode(_this.frequencyId)), B.JSString_methods.get$hashCode(_this.autoBill)), B.JSString_methods.get$hashCode(_this.promoCode)), B.JSNumber_methods.get$hashCode(_this.promoDiscount)), B.JSNumber_methods.get$hashCode(_this.price)), B.JSBool_methods.get$hashCode(_this.isAmountDiscount)), B.JSBool_methods.get$hashCode(_this.allowCancellation)), B.JSBool_methods.get$hashCode(_this.perSeatEnabled)), B.JSInt_methods.get$hashCode(_this.maxSeatsLimit)), B.JSBool_methods.get$hashCode(_this.trialEnabled)), B.JSInt_methods.get$hashCode(_this.trialDuration)), B.JSBool_methods.get$hashCode(_this.allowQueryOverrides)), B.JSBool_methods.get$hashCode(_this.allowPlanChanges)), B.JSInt_methods.get$hashCode(_this.refundPeriod)), J.get$hashCode$(_this.webhookConfiguration)), B.JSString_methods.get$hashCode(_this.purchasePage)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -343405,7 +343154,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -343484,14 +343232,13 @@ _this._subscription_model$_isDeleted = $$v.isDeleted; _this._subscription_model$_createdUserId = $$v.createdUserId; _this._subscription_model$_assignedUserId = $$v.assignedUserId; - _this._subscription_model$_idempotencyKey = $$v.idempotencyKey; _this._subscription_model$_id = $$v.id; _this._subscription_model$_$v = null; } return _this; }, build$0() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, exception, _this = this, + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, exception, _this = this, _s18_ = "SubscriptionEntity", _$result = null; try { @@ -343568,11 +343315,10 @@ t25 = _this.get$_subscription_model$_$this()._subscription_model$_isDeleted; t26 = _this.get$_subscription_model$_$this()._subscription_model$_createdUserId; t27 = _this.get$_subscription_model$_$this()._subscription_model$_assignedUserId; - t28 = _this.get$_subscription_model$_$this()._subscription_model$_idempotencyKey; - t29 = _this.get$_subscription_model$_$this()._subscription_model$_id; - if (t29 == null) + t28 = _this.get$_subscription_model$_$this()._subscription_model$_id; + if (t28 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s18_, "id")); - _$result0 = A._$SubscriptionEntity$_(t11, t17, t16, t24, t27, t6, t22, t26, t5, t2, t29, t28, t10, t21, t25, t13, t1, t12, t9, t3, t7, t8, t20, t4, t18, t15, t14, t23, t19); + _$result0 = A._$SubscriptionEntity$_(t11, t17, t16, t24, t27, t6, t22, t26, t5, t2, t28, t10, t21, t25, t13, t1, t12, t9, t3, t7, t8, t20, t4, t18, t15, t14, t23, t19); } _$result = _$result0; } catch (exception) { @@ -344515,8 +344261,6 @@ var t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; b.get$_task_model$_$this()._task_model$_id = "" + t1; - t1 = A.getRandomString(); - b.get$_task_model$_$this()._task_model$_idempotencyKey = t1; b.get$_task_model$_$this()._task_model$_number = ""; b.get$_task_model$_$this()._task_model$_isChanged = false; b.get$_task_model$_$this()._task_model$_isDeleted = false; @@ -344785,11 +344529,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -344908,10 +344647,6 @@ t4 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_task_model$_$this()._task_model$_assignedUserId = t4; break; - case "idempotency_key": - t4 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_task_model$_$this()._task_model$_idempotencyKey = t4; - break; case "id": t4 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_task_model$_$this()._task_model$_id = t4; @@ -345120,12 +344855,12 @@ return false; if (other === _this) return true; - return other instanceof A.TaskEntity && _this.description === other.description && _this.number === other.number && _this.duration === other.duration && _this.invoiceId === other.invoiceId && _this.clientId === other.clientId && _this.rate === other.rate && _this.projectId === other.projectId && _this.timeLog === other.timeLog && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.statusId == other.statusId && _this.statusOrder == other.statusOrder && J.$eq$(_this.documents, other.documents) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.TaskEntity && _this.description === other.description && _this.number === other.number && _this.duration === other.duration && _this.invoiceId === other.invoiceId && _this.clientId === other.clientId && _this.rate === other.rate && _this.projectId === other.projectId && _this.timeLog === other.timeLog && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.statusId == other.statusId && _this.statusOrder == other.statusOrder && J.$eq$(_this.documents, other.documents) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._task_model$__hashCode; - return t1 == null ? _this._task_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.description)), B.JSString_methods.get$hashCode(_this.number)), B.JSInt_methods.get$hashCode(_this.duration)), B.JSString_methods.get$hashCode(_this.invoiceId)), B.JSString_methods.get$hashCode(_this.clientId)), B.JSNumber_methods.get$hashCode(_this.rate)), B.JSString_methods.get$hashCode(_this.projectId)), B.JSString_methods.get$hashCode(_this.timeLog)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), J.get$hashCode$(_this.statusId)), J.get$hashCode$(_this.statusOrder)), J.get$hashCode$(_this.documents)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._task_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.description)), B.JSString_methods.get$hashCode(_this.number)), B.JSInt_methods.get$hashCode(_this.duration)), B.JSString_methods.get$hashCode(_this.invoiceId)), B.JSString_methods.get$hashCode(_this.clientId)), B.JSNumber_methods.get$hashCode(_this.rate)), B.JSString_methods.get$hashCode(_this.projectId)), B.JSString_methods.get$hashCode(_this.timeLog)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), J.get$hashCode$(_this.statusId)), J.get$hashCode$(_this.statusOrder)), J.get$hashCode$(_this.documents)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -345153,7 +344888,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -345219,14 +344953,13 @@ _this._task_model$_isDeleted = $$v.isDeleted; _this._task_model$_createdUserId = $$v.createdUserId; _this._task_model$_assignedUserId = $$v.assignedUserId; - _this._task_model$_idempotencyKey = $$v.idempotencyKey; _this._task_model$_id = $$v.id; _this._task_model$_$v = null; } return _this; }, build$0() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, exception, _this = this, + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, exception, _this = this, _s10_ = "TaskEntity", _$result = null; try { @@ -345286,11 +345019,10 @@ t20 = _this.get$_task_model$_$this()._task_model$_isDeleted; t21 = _this.get$_task_model$_$this()._task_model$_createdUserId; t22 = _this.get$_task_model$_$this()._task_model$_assignedUserId; - t23 = _this.get$_task_model$_$this()._task_model$_idempotencyKey; - t24 = _this.get$_task_model$_$this()._task_model$_id; - if (t24 == null) + t23 = _this.get$_task_model$_$this()._task_model$_id; + if (t23 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s10_, "id")); - _$result0 = A._$TaskEntity$_(t19, t22, t5, t17, t21, t9, t10, t11, t12, t1, t15, t3, t24, t23, t4, t16, t20, t2, t7, t6, t13, t14, t8, t18); + _$result0 = A._$TaskEntity$_(t19, t22, t5, t17, t21, t9, t10, t11, t12, t1, t15, t3, t23, t4, t16, t20, t2, t7, t6, t13, t14, t8, t18); } _$result = _$result0; } catch (exception) { @@ -345520,11 +345252,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -345580,10 +345307,6 @@ t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_task_status_model$_$this()._task_status_model$_assignedUserId = t1; break; - case "idempotency_key": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_task_status_model$_$this()._task_status_model$_idempotencyKey = t1; - break; case "id": t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_task_status_model$_$this()._task_status_model$_id = t1; @@ -345751,12 +345474,12 @@ return false; if (other === _this) return true; - return other instanceof A.TaskStatusEntity && _this.name === other.name && _this.color === other.color && _this.statusOrder == other.statusOrder && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.TaskStatusEntity && _this.name === other.name && _this.color === other.color && _this.statusOrder == other.statusOrder && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._task_status_model$__hashCode; - return t1 == null ? _this._task_status_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSString_methods.get$hashCode(_this.color)), J.get$hashCode$(_this.statusOrder)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._task_status_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSString_methods.get$hashCode(_this.color)), J.get$hashCode$(_this.statusOrder)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -345772,7 +345495,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -345819,14 +345541,13 @@ _this._task_status_model$_isDeleted = $$v.isDeleted; _this._task_status_model$_createdUserId = $$v.createdUserId; _this._task_status_model$_assignedUserId = $$v.assignedUserId; - _this._task_status_model$_idempotencyKey = $$v.idempotencyKey; _this._task_status_model$_id = $$v.id; _this._task_status_model$_$v = null; } return _this; }, build$0() { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _this = this, + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, _s16_ = "TaskStatusEntity", _$result = _this._task_status_model$_$v; if (_$result == null) { @@ -345850,11 +345571,10 @@ t8 = _this.get$_task_status_model$_$this()._task_status_model$_isDeleted; t9 = _this.get$_task_status_model$_$this()._task_status_model$_createdUserId; t10 = _this.get$_task_status_model$_$this()._task_status_model$_assignedUserId; - t11 = _this.get$_task_status_model$_$this()._task_status_model$_idempotencyKey; - t12 = _this.get$_task_status_model$_$this()._task_status_model$_id; - if (t12 == null) + t11 = _this.get$_task_status_model$_$this()._task_status_model$_id; + if (t11 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s16_, "id")); - _$result = A._$TaskStatusEntity$_(t7, t10, t2, t5, t9, t12, t11, t4, t8, t1, t3, t6); + _$result = A._$TaskStatusEntity$_(t7, t10, t2, t5, t9, t11, t4, t8, t1, t3, t6); } A.ArgumentError_checkNotNull(_$result, "other"); return _this._task_status_model$_$v = _$result; @@ -346045,11 +345765,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -346100,10 +345815,6 @@ t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_tax_rate_model$_$this()._tax_rate_model$_assignedUserId = t1; break; - case "idempotency_key": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_tax_rate_model$_$this()._tax_rate_model$_idempotencyKey = t1; - break; case "id": t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_tax_rate_model$_$this()._tax_rate_model$_id = t1; @@ -346264,12 +345975,12 @@ return false; if (other === _this) return true; - return other instanceof A.TaxRateEntity && _this.name === other.name && _this.rate === other.rate && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.TaxRateEntity && _this.name === other.name && _this.rate === other.rate && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._tax_rate_model$__hashCode; - return t1 == null ? _this._tax_rate_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSNumber_methods.get$hashCode(_this.rate)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._tax_rate_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSNumber_methods.get$hashCode(_this.rate)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -346284,7 +345995,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -346327,14 +346037,13 @@ _this._tax_rate_model$_isDeleted = $$v.isDeleted; _this._tax_rate_model$_createdUserId = $$v.createdUserId; _this._tax_rate_model$_assignedUserId = $$v.assignedUserId; - _this._tax_rate_model$_idempotencyKey = $$v.idempotencyKey; _this._tax_rate_model$_id = $$v.id; _this._tax_rate_model$_$v = null; } return _this; }, build$0() { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, _this = this, _s13_ = "TaxRateEntity", _$result = _this._tax_rate_model$_$v; if (_$result == null) { @@ -346357,11 +346066,10 @@ t7 = _this.get$_tax_rate_model$_$this()._tax_rate_model$_isDeleted; t8 = _this.get$_tax_rate_model$_$this()._tax_rate_model$_createdUserId; t9 = _this.get$_tax_rate_model$_$this()._tax_rate_model$_assignedUserId; - t10 = _this.get$_tax_rate_model$_$this()._tax_rate_model$_idempotencyKey; - t11 = _this.get$_tax_rate_model$_$this()._tax_rate_model$_id; - if (t11 == null) + t10 = _this.get$_tax_rate_model$_$this()._tax_rate_model$_id; + if (t10 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "id")); - _$result = A._$TaxRateEntity$_(t6, t9, t4, t8, t11, t10, t3, t7, t1, t2, t5); + _$result = A._$TaxRateEntity$_(t6, t9, t4, t8, t10, t3, t7, t1, t2, t5); } A.ArgumentError_checkNotNull(_$result, "other"); return _this._tax_rate_model$_$v = _$result; @@ -346551,11 +346259,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -346610,10 +346313,6 @@ t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_token_model$_$this()._token_model$_assignedUserId = t1; break; - case "idempotency_key": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_token_model$_$this()._token_model$_idempotencyKey = t1; - break; case "id": t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_token_model$_$this()._token_model$_id = t1; @@ -346774,12 +346473,12 @@ return false; if (other === _this) return true; - return other instanceof A.TokenEntity && _this.isSystem === other.isSystem && _this.token === other.token && _this.name === other.name && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.TokenEntity && _this.isSystem === other.isSystem && _this.token === other.token && _this.name === other.name && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._token_model$__hashCode; - return t1 == null ? _this._token_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSBool_methods.get$hashCode(_this.isSystem)), B.JSString_methods.get$hashCode(_this.token)), B.JSString_methods.get$hashCode(_this.name)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._token_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSBool_methods.get$hashCode(_this.isSystem)), B.JSString_methods.get$hashCode(_this.token)), B.JSString_methods.get$hashCode(_this.name)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -346795,7 +346494,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -346845,14 +346543,13 @@ _this._token_model$_isDeleted = $$v.isDeleted; _this._token_model$_createdUserId = $$v.createdUserId; _this._token_model$_assignedUserId = $$v.assignedUserId; - _this._token_model$_idempotencyKey = $$v.idempotencyKey; _this._token_model$_id = $$v.id; _this._token_model$_$v = null; } return _this; }, build$0() { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _this = this, + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, _s11_ = "TokenEntity", _$result = _this._token_model$_$v; if (_$result == null) { @@ -346878,11 +346575,10 @@ t8 = _this.get$_token_model$_$this()._token_model$_isDeleted; t9 = _this.get$_token_model$_$this()._token_model$_createdUserId; t10 = _this.get$_token_model$_$this()._token_model$_assignedUserId; - t11 = _this.get$_token_model$_$this()._token_model$_idempotencyKey; - t12 = _this.get$_token_model$_$this()._token_model$_id; - if (t12 == null) + t11 = _this.get$_token_model$_$this()._token_model$_id; + if (t11 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s11_, "id")); - _$result = A._$TokenEntity$_(t7, t10, t5, t9, t12, t11, t4, t8, t1, t3, t2, t6); + _$result = A._$TokenEntity$_(t7, t10, t5, t9, t11, t4, t8, t1, t3, t2, t6); } A.ArgumentError_checkNotNull(_$result, "other"); return _this._token_model$_$v = _$result; @@ -347204,11 +346900,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -347304,10 +346995,6 @@ t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_transaction_model$_$this()._transaction_model$_assignedUserId = t1; break; - case "idempotency_key": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_transaction_model$_$this()._transaction_model$_idempotencyKey = t1; - break; case "id": t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_transaction_model$_$this()._transaction_model$_id = t1; @@ -347475,12 +347162,12 @@ return false; if (other === _this) return true; - return other instanceof A.TransactionEntity && _this.amount === other.amount && _this.currencyId === other.currencyId && _this.category === other.category && _this.baseType === other.baseType && _this.date == other.date && _this.bankAccountId === other.bankAccountId && _this.description === other.description && _this.statusId === other.statusId && _this.categoryId === other.categoryId && _this.invoiceIds === other.invoiceIds && _this.expenseId === other.expenseId && _this.vendorId === other.vendorId && _this.transactionId === other.transactionId && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.TransactionEntity && _this.amount === other.amount && _this.currencyId === other.currencyId && _this.category === other.category && _this.baseType === other.baseType && _this.date == other.date && _this.bankAccountId === other.bankAccountId && _this.description === other.description && _this.statusId === other.statusId && _this.categoryId === other.categoryId && _this.invoiceIds === other.invoiceIds && _this.expenseId === other.expenseId && _this.vendorId === other.vendorId && _this.transactionId === other.transactionId && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._transaction_model$__hashCode; - return t1 == null ? _this._transaction_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSNumber_methods.get$hashCode(_this.amount)), B.JSString_methods.get$hashCode(_this.currencyId)), B.JSString_methods.get$hashCode(_this.category)), B.JSString_methods.get$hashCode(_this.baseType)), J.get$hashCode$(_this.date)), B.JSString_methods.get$hashCode(_this.bankAccountId)), B.JSString_methods.get$hashCode(_this.description)), B.JSString_methods.get$hashCode(_this.statusId)), B.JSString_methods.get$hashCode(_this.categoryId)), B.JSString_methods.get$hashCode(_this.invoiceIds)), B.JSString_methods.get$hashCode(_this.expenseId)), B.JSString_methods.get$hashCode(_this.vendorId)), B.JSInt_methods.get$hashCode(_this.transactionId)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._transaction_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSNumber_methods.get$hashCode(_this.amount)), B.JSString_methods.get$hashCode(_this.currencyId)), B.JSString_methods.get$hashCode(_this.category)), B.JSString_methods.get$hashCode(_this.baseType)), J.get$hashCode$(_this.date)), B.JSString_methods.get$hashCode(_this.bankAccountId)), B.JSString_methods.get$hashCode(_this.description)), B.JSString_methods.get$hashCode(_this.statusId)), B.JSString_methods.get$hashCode(_this.categoryId)), B.JSString_methods.get$hashCode(_this.invoiceIds)), B.JSString_methods.get$hashCode(_this.expenseId)), B.JSString_methods.get$hashCode(_this.vendorId)), B.JSInt_methods.get$hashCode(_this.transactionId)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -347506,7 +347193,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -347584,14 +347270,13 @@ _this._transaction_model$_isDeleted = $$v.isDeleted; _this._transaction_model$_createdUserId = $$v.createdUserId; _this._transaction_model$_assignedUserId = $$v.assignedUserId; - _this._transaction_model$_idempotencyKey = $$v.idempotencyKey; _this._transaction_model$_id = $$v.id; _this._transaction_model$_$v = null; } return _this; }, build$0() { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, _this = this, + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, _this = this, _s17_ = "TransactionEntity", _$result = _this._transaction_model$_$v; if (_$result == null) { @@ -347647,11 +347332,10 @@ t18 = _this.get$_transaction_model$_$this()._transaction_model$_isDeleted; t19 = _this.get$_transaction_model$_$this()._transaction_model$_createdUserId; t20 = _this.get$_transaction_model$_$this()._transaction_model$_assignedUserId; - t21 = _this.get$_transaction_model$_$this()._transaction_model$_idempotencyKey; - t22 = _this.get$_transaction_model$_$this()._transaction_model$_id; - if (t22 == null) + t21 = _this.get$_transaction_model$_$this()._transaction_model$_id; + if (t21 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s17_, "id")); - _$result = A._$TransactionEntity$_(t1, t17, t20, t6, t4, t3, t9, t15, t19, t2, t5, t7, t11, t22, t21, t10, t14, t18, t8, t13, t16, t12); + _$result = A._$TransactionEntity$_(t1, t17, t20, t6, t4, t3, t9, t15, t19, t2, t5, t7, t11, t21, t10, t14, t18, t8, t13, t16, t12); } A.ArgumentError_checkNotNull(_$result, "other"); return _this._transaction_model$_$v = _$result; @@ -348093,11 +347777,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -348216,10 +347895,6 @@ t2 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_user_model$_$this()._assignedUserId = t2; break; - case "idempotency_key": - t2 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_user_model$_$this()._idempotencyKey = t2; - break; case "id": t2 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_user_model$_$this()._id = t2; @@ -348574,12 +348249,12 @@ return false; if (other === _this) return true; - return other instanceof A.UserEntity && _this.firstName === other.firstName && _this.lastName === other.lastName && _this.email === other.email && _this.phone === other.phone && _this.password === other.password && _this.emailVerifiedAt == other.emailVerifiedAt && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.isTwoFactorEnabled === other.isTwoFactorEnabled && _this.hasPassword === other.hasPassword && _this.lastEmailAddress === other.lastEmailAddress && _this.oauthUserToken === other.oauthUserToken && J.$eq$(_this.userCompany, other.userCompany) && _this.oauthProvider === other.oauthProvider && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.UserEntity && _this.firstName === other.firstName && _this.lastName === other.lastName && _this.email === other.email && _this.phone === other.phone && _this.password === other.password && _this.emailVerifiedAt == other.emailVerifiedAt && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.isTwoFactorEnabled === other.isTwoFactorEnabled && _this.hasPassword === other.hasPassword && _this.lastEmailAddress === other.lastEmailAddress && _this.oauthUserToken === other.oauthUserToken && J.$eq$(_this.userCompany, other.userCompany) && _this.oauthProvider === other.oauthProvider && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._user_model$__hashCode; - return t1 == null ? _this._user_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.firstName)), B.JSString_methods.get$hashCode(_this.lastName)), B.JSString_methods.get$hashCode(_this.email)), B.JSString_methods.get$hashCode(_this.phone)), B.JSString_methods.get$hashCode(_this.password)), J.get$hashCode$(_this.emailVerifiedAt)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), B.JSBool_methods.get$hashCode(_this.isTwoFactorEnabled)), B.JSBool_methods.get$hashCode(_this.hasPassword)), B.JSString_methods.get$hashCode(_this.lastEmailAddress)), B.JSString_methods.get$hashCode(_this.oauthUserToken)), J.get$hashCode$(_this.userCompany)), B.JSString_methods.get$hashCode(_this.oauthProvider)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._user_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.firstName)), B.JSString_methods.get$hashCode(_this.lastName)), B.JSString_methods.get$hashCode(_this.email)), B.JSString_methods.get$hashCode(_this.phone)), B.JSString_methods.get$hashCode(_this.password)), J.get$hashCode$(_this.emailVerifiedAt)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), B.JSBool_methods.get$hashCode(_this.isTwoFactorEnabled)), B.JSBool_methods.get$hashCode(_this.hasPassword)), B.JSString_methods.get$hashCode(_this.lastEmailAddress)), B.JSString_methods.get$hashCode(_this.oauthUserToken)), J.get$hashCode$(_this.userCompany)), B.JSString_methods.get$hashCode(_this.oauthProvider)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -348608,7 +348283,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -348687,14 +348361,13 @@ _this._isDeleted = $$v.isDeleted; _this._createdUserId = $$v.createdUserId; _this._assignedUserId = $$v.assignedUserId; - _this._idempotencyKey = $$v.idempotencyKey; _this._id = $$v.id; _this._user_model$_$v = null; } return _this; }, build$0() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, exception, _this = this, + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, exception, _this = this, _s10_ = "UserEntity", _$result = null; try { @@ -348758,11 +348431,10 @@ t21 = _this.get$_user_model$_$this()._isDeleted; t22 = _this.get$_user_model$_$this()._createdUserId; t23 = _this.get$_user_model$_$this()._assignedUserId; - t24 = _this.get$_user_model$_$this()._idempotencyKey; - t25 = _this.get$_user_model$_$this()._id; - if (t25 == null) + t24 = _this.get$_user_model$_$this()._id; + if (t24 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s10_, "id")); - _$result0 = A._$UserEntity$_(t20, t23, t18, t22, t7, t8, t9, t10, t3, t6, t1, t12, t25, t24, t17, t21, t11, t13, t2, t16, t14, t5, t4, t19, t15); + _$result0 = A._$UserEntity$_(t20, t23, t18, t22, t7, t8, t9, t10, t3, t6, t1, t12, t24, t17, t21, t11, t13, t2, t16, t14, t5, t4, t19, t15); } _$result = _$result0; } catch (exception) { @@ -349270,11 +348942,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -349454,10 +349121,6 @@ t8 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_vendor_model$_$this()._vendor_model$_assignedUserId = t8; break; - case "idempotency_key": - t8 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_vendor_model$_$this()._vendor_model$_idempotencyKey = t8; - break; case "id": t8 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_vendor_model$_$this()._vendor_model$_id = t8; @@ -349501,11 +349164,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -349589,10 +349247,6 @@ t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_vendor_model$_$this()._vendor_model$_assignedUserId = t1; break; - case "idempotency_key": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_vendor_model$_$this()._vendor_model$_idempotencyKey = t1; - break; case "id": t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_vendor_model$_$this()._vendor_model$_id = t1; @@ -349763,12 +349417,12 @@ return false; if (other === _this) return true; - return other instanceof A.VendorEntity && _this.name === other.name && _this.address1 === other.address1 && _this.address2 === other.address2 && _this.city === other.city && _this.state === other.state && _this.postalCode === other.postalCode && _this.countryId === other.countryId && _this.phone === other.phone && _this.privateNotes === other.privateNotes && _this.publicNotes === other.publicNotes && _this.website === other.website && _this.number === other.number && _this.vatNumber === other.vatNumber && _this.idNumber === other.idNumber && _this.currencyId === other.currencyId && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && J.$eq$(_this.contacts, other.contacts) && J.$eq$(_this.activities, other.activities) && J.$eq$(_this.documents, other.documents) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.VendorEntity && _this.name === other.name && _this.address1 === other.address1 && _this.address2 === other.address2 && _this.city === other.city && _this.state === other.state && _this.postalCode === other.postalCode && _this.countryId === other.countryId && _this.phone === other.phone && _this.privateNotes === other.privateNotes && _this.publicNotes === other.publicNotes && _this.website === other.website && _this.number === other.number && _this.vatNumber === other.vatNumber && _this.idNumber === other.idNumber && _this.currencyId === other.currencyId && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && J.$eq$(_this.contacts, other.contacts) && J.$eq$(_this.activities, other.activities) && J.$eq$(_this.documents, other.documents) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._vendor_model$__hashCode; - return t1 == null ? _this._vendor_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSString_methods.get$hashCode(_this.address1)), B.JSString_methods.get$hashCode(_this.address2)), B.JSString_methods.get$hashCode(_this.city)), B.JSString_methods.get$hashCode(_this.state)), B.JSString_methods.get$hashCode(_this.postalCode)), B.JSString_methods.get$hashCode(_this.countryId)), B.JSString_methods.get$hashCode(_this.phone)), B.JSString_methods.get$hashCode(_this.privateNotes)), B.JSString_methods.get$hashCode(_this.publicNotes)), B.JSString_methods.get$hashCode(_this.website)), B.JSString_methods.get$hashCode(_this.number)), B.JSString_methods.get$hashCode(_this.vatNumber)), B.JSString_methods.get$hashCode(_this.idNumber)), B.JSString_methods.get$hashCode(_this.currencyId)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), J.get$hashCode$(_this.contacts)), J.get$hashCode$(_this.activities)), J.get$hashCode$(_this.documents)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._vendor_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSString_methods.get$hashCode(_this.address1)), B.JSString_methods.get$hashCode(_this.address2)), B.JSString_methods.get$hashCode(_this.city)), B.JSString_methods.get$hashCode(_this.state)), B.JSString_methods.get$hashCode(_this.postalCode)), B.JSString_methods.get$hashCode(_this.countryId)), B.JSString_methods.get$hashCode(_this.phone)), B.JSString_methods.get$hashCode(_this.privateNotes)), B.JSString_methods.get$hashCode(_this.publicNotes)), B.JSString_methods.get$hashCode(_this.website)), B.JSString_methods.get$hashCode(_this.number)), B.JSString_methods.get$hashCode(_this.vatNumber)), B.JSString_methods.get$hashCode(_this.idNumber)), B.JSString_methods.get$hashCode(_this.currencyId)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), J.get$hashCode$(_this.contacts)), J.get$hashCode$(_this.activities)), J.get$hashCode$(_this.documents)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -349803,7 +349457,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -349908,14 +349561,13 @@ _this._vendor_model$_isDeleted = $$v.isDeleted; _this._vendor_model$_createdUserId = $$v.createdUserId; _this._vendor_model$_assignedUserId = $$v.assignedUserId; - _this._vendor_model$_idempotencyKey = $$v.idempotencyKey; _this._vendor_model$_id = $$v.id; _this._vendor_model$_$v = null; } return _this; }, build$0() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, exception, _this = this, + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, exception, _this = this, _s12_ = "VendorEntity", _$result = null; try { @@ -349994,11 +349646,10 @@ t27 = _this.get$_vendor_model$_$this()._vendor_model$_isDeleted; t28 = _this.get$_vendor_model$_$this()._vendor_model$_createdUserId; t29 = _this.get$_vendor_model$_$this()._vendor_model$_assignedUserId; - t30 = _this.get$_vendor_model$_$this()._vendor_model$_idempotencyKey; - t31 = _this.get$_vendor_model$_$this()._vendor_model$_id; - if (t31 == null) + t30 = _this.get$_vendor_model$_$this()._vendor_model$_id; + if (t30 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s12_, "id")); - _$result0 = A._$VendorEntity$_(t21, t2, t3, t26, t29, t4, t20, t7, t24, t28, t15, t16, t17, t18, t19, t22, t31, t14, t30, t23, t27, t1, t12, t8, t6, t9, t10, t5, t25, t13, t11); + _$result0 = A._$VendorEntity$_(t21, t2, t3, t26, t29, t4, t20, t7, t24, t28, t15, t16, t17, t18, t19, t22, t30, t14, t23, t27, t1, t12, t8, t6, t9, t10, t5, t25, t13, t11); } _$result = _$result0; } catch (exception) { @@ -350038,12 +349689,12 @@ return false; if (other === _this) return true; - return other instanceof A.VendorContactEntity && _this.firstName === other.firstName && _this.lastName === other.lastName && _this.email === other.email && _this.isPrimary === other.isPrimary && _this.phone === other.phone && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.link === other.link && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.VendorContactEntity && _this.firstName === other.firstName && _this.lastName === other.lastName && _this.email === other.email && _this.isPrimary === other.isPrimary && _this.phone === other.phone && _this.customValue1 === other.customValue1 && _this.customValue2 === other.customValue2 && _this.customValue3 === other.customValue3 && _this.customValue4 === other.customValue4 && _this.link === other.link && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._vendor_model$__hashCode; - return t1 == null ? _this._vendor_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.firstName)), B.JSString_methods.get$hashCode(_this.lastName)), B.JSString_methods.get$hashCode(_this.email)), B.JSBool_methods.get$hashCode(_this.isPrimary)), B.JSString_methods.get$hashCode(_this.phone)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), B.JSString_methods.get$hashCode(_this.link)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._vendor_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.firstName)), B.JSString_methods.get$hashCode(_this.lastName)), B.JSString_methods.get$hashCode(_this.email)), B.JSBool_methods.get$hashCode(_this.isPrimary)), B.JSString_methods.get$hashCode(_this.phone)), B.JSString_methods.get$hashCode(_this.customValue1)), B.JSString_methods.get$hashCode(_this.customValue2)), B.JSString_methods.get$hashCode(_this.customValue3)), B.JSString_methods.get$hashCode(_this.customValue4)), B.JSString_methods.get$hashCode(_this.link)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -350066,7 +349717,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -350117,14 +349767,13 @@ _this._vendor_model$_isDeleted = $$v.isDeleted; _this._vendor_model$_createdUserId = $$v.createdUserId; _this._vendor_model$_assignedUserId = $$v.assignedUserId; - _this._vendor_model$_idempotencyKey = $$v.idempotencyKey; _this._vendor_model$_id = $$v.id; _this._vendor_model$_$v = null; } return _this; }, build$0() { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, _this = this, + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, _this = this, _s19_ = "VendorContactEntity", _$result = _this._vendor_model$_$v; if (_$result == null) { @@ -350171,11 +349820,10 @@ t15 = _this.get$_vendor_model$_$this()._vendor_model$_isDeleted; t16 = _this.get$_vendor_model$_$this()._vendor_model$_createdUserId; t17 = _this.get$_vendor_model$_$this()._vendor_model$_assignedUserId; - t18 = _this.get$_vendor_model$_$this()._vendor_model$_idempotencyKey; - t19 = _this.get$_vendor_model$_$this()._vendor_model$_id; - if (t19 == null) + t18 = _this.get$_vendor_model$_$this()._vendor_model$_id; + if (t18 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s19_, "id")); - _$result = A._$VendorContactEntity$_(t14, t17, t12, t16, t6, t7, t8, t9, t3, t1, t19, t18, t11, t15, t4, t2, t10, t5, t13); + _$result = A._$VendorContactEntity$_(t14, t17, t12, t16, t6, t7, t8, t9, t3, t1, t18, t11, t15, t4, t2, t10, t5, t13); } A.ArgumentError_checkNotNull(_$result, "other"); return _this._vendor_model$_$v = _$result; @@ -350389,11 +350037,6 @@ result.push("assigned_user_id"); result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.idempotencyKey; - if (value != null) { - result.push("idempotency_key"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); - } return result; }, serialize$2(serializers, object) { @@ -350465,10 +350108,6 @@ t2 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_webhook_model$_$this()._webhook_model$_assignedUserId = t2; break; - case "idempotency_key": - t2 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); - result.get$_webhook_model$_$this()._webhook_model$_idempotencyKey = t2; - break; case "id": t2 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_webhook_model$_$this()._webhook_model$_id = t2; @@ -350639,12 +350278,12 @@ return false; if (other === _this) return true; - return other instanceof A.WebhookEntity && _this.eventId === other.eventId && _this.targetUrl === other.targetUrl && _this.format === other.format && _this.restMethod === other.restMethod && J.$eq$(_this.headers, other.headers) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.idempotencyKey == other.idempotencyKey && _this.id === other.id; + return other instanceof A.WebhookEntity && _this.eventId === other.eventId && _this.targetUrl === other.targetUrl && _this.format === other.format && _this.restMethod === other.restMethod && J.$eq$(_this.headers, other.headers) && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id; }, get$hashCode(_) { var _this = this, t1 = _this._webhook_model$__hashCode; - return t1 == null ? _this._webhook_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.eventId)), B.JSString_methods.get$hashCode(_this.targetUrl)), B.JSString_methods.get$hashCode(_this.format)), B.JSString_methods.get$hashCode(_this.restMethod)), J.get$hashCode$(_this.headers)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), J.get$hashCode$(_this.idempotencyKey)), B.JSString_methods.get$hashCode(_this.id))) : t1; + return t1 == null ? _this._webhook_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.eventId)), B.JSString_methods.get$hashCode(_this.targetUrl)), B.JSString_methods.get$hashCode(_this.format)), B.JSString_methods.get$hashCode(_this.restMethod)), J.get$hashCode$(_this.headers)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1; }, toString$0(_) { var _this = this, @@ -350662,7 +350301,6 @@ t2.add$2(t1, "isDeleted", _this.isDeleted); t2.add$2(t1, "createdUserId", _this.createdUserId); t2.add$2(t1, "assignedUserId", _this.assignedUserId); - t2.add$2(t1, "idempotencyKey", _this.idempotencyKey); t2.add$2(t1, "id", _this.id); return t2.toString$0(t1); }, @@ -350723,14 +350361,13 @@ _this._webhook_model$_isDeleted = $$v.isDeleted; _this._webhook_model$_createdUserId = $$v.createdUserId; _this._webhook_model$_assignedUserId = $$v.assignedUserId; - _this._webhook_model$_idempotencyKey = $$v.idempotencyKey; _this._webhook_model$_id = $$v.id; _this._webhook_model$_$v = null; } return _this; }, build$0() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, exception, _this = this, + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, exception, _this = this, _s13_ = "WebhookEntity", _$result = null; try { @@ -350762,11 +350399,10 @@ t10 = _this.get$_webhook_model$_$this()._webhook_model$_isDeleted; t11 = _this.get$_webhook_model$_$this()._webhook_model$_createdUserId; t12 = _this.get$_webhook_model$_$this()._webhook_model$_assignedUserId; - t13 = _this.get$_webhook_model$_$this()._webhook_model$_idempotencyKey; - t14 = _this.get$_webhook_model$_$this()._webhook_model$_id; - if (t14 == null) + t13 = _this.get$_webhook_model$_$this()._webhook_model$_id; + if (t13 == null) A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "id")); - _$result0 = A._$WebhookEntity$_(t9, t12, t7, t11, t1, t3, t5, t14, t13, t6, t10, t4, t2, t8); + _$result0 = A._$WebhookEntity$_(t9, t12, t7, t11, t1, t3, t5, t13, t6, t10, t4, t2, t8); } _$result = _$result0; } catch (exception) { @@ -427510,7 +427146,6 @@ $async$self.setState$1(new A._UpgradeDialogState_deliverProduct_closure($async$self, purchaseDetails)); t1 = $async$self._framework$_element; t1.toString; - A.Navigator_of(t1, false); store = A.StoreProvider_of(t1, type$.legacy_AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); @@ -481581,7 +481216,7 @@ t2 = t4.get$current(t4); t10 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t10; - t10 = A._$TaskStatusEntity$_(0, "", "", 0, "", "" + t10, A.getRandomString(), false, false, "", _null, 0); + t10 = A._$TaskStatusEntity$_(0, "", "", 0, "", "" + t10, false, false, "", _null, 0); t11 = new A.TaskStatusEntityBuilder(); t11.get$_task_status_model$_$this()._task_status_model$_color = ""; t11._task_status_model$_$v = t10;