taxtank-core 0.33.45 → 0.33.47

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. package/esm2022/src/lib/collections/chart-accounts/chart-accounts-value.collection.mjs +20 -0
  2. package/esm2022/src/lib/collections/chart-accounts/index.mjs +2 -0
  3. package/esm2022/src/lib/collections/chart-accounts.collection.mjs +2 -2
  4. package/esm2022/src/lib/collections/collection.mjs +2 -2
  5. package/esm2022/src/lib/collections/index.mjs +2 -1
  6. package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +3 -3
  7. package/esm2022/src/lib/db/Enums/{allocation-rule-condition-comparison-operator.enum.mjs → bank/allocation-rule/allocation-rule-condition-comparison-operator.enum.mjs} +1 -1
  8. package/esm2022/src/lib/db/Enums/{allocation-rule-condition-field.enum.mjs → bank/allocation-rule/allocation-rule-condition-field.enum.mjs} +1 -1
  9. package/esm2022/src/lib/db/Enums/{allocation-rule-condition-operator.enum.mjs → bank/allocation-rule/allocation-rule-condition-operator.enum.mjs} +1 -1
  10. package/esm2022/src/lib/db/Enums/bank/allocation-rule/allocation-rule-type.enum.mjs +7 -0
  11. package/esm2022/src/lib/db/Enums/bank/allocation-rule/index.mjs +5 -0
  12. package/esm2022/src/lib/db/Enums/bank/index.mjs +2 -1
  13. package/esm2022/src/lib/db/Enums/chart-accounts/business-chart-accounts.enum.mjs +39 -0
  14. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +20 -66
  15. package/esm2022/src/lib/db/Enums/chart-accounts/home-office-chart-accounts.enum.mjs +18 -0
  16. package/esm2022/src/lib/db/Enums/chart-accounts/index.mjs +3 -3
  17. package/esm2022/src/lib/db/Enums/home-office/home-office-claim-method.enum.mjs +7 -0
  18. package/esm2022/src/lib/db/Enums/home-office/index.mjs +2 -0
  19. package/esm2022/src/lib/db/Enums/index.mjs +2 -6
  20. package/esm2022/src/lib/db/Models/bank/bank-transaction.mjs +2 -2
  21. package/esm2022/src/lib/db/Models/depreciation/depreciation.mjs +1 -2
  22. package/esm2022/src/lib/db/Models/sole/sole-business.mjs +2 -1
  23. package/esm2022/src/lib/db/Models/sole/sole-details.mjs +2 -1
  24. package/esm2022/src/lib/db/Models/user/user.mjs +1 -1
  25. package/esm2022/src/lib/db/Models/vehicle/vehicle-claim.mjs +2 -1
  26. package/esm2022/src/lib/forms/abstract.form.mjs +34 -2
  27. package/esm2022/src/lib/forms/address/address.form.mjs +1 -1
  28. package/esm2022/src/lib/forms/firm/employee-invite.form.mjs +1 -1
  29. package/esm2022/src/lib/forms/home-office/home-office-claim.form.mjs +47 -0
  30. package/esm2022/src/lib/forms/home-office/home-office-log.form.mjs +15 -0
  31. package/esm2022/src/lib/forms/home-office/index.mjs +3 -0
  32. package/esm2022/src/lib/forms/index.mjs +2 -1
  33. package/esm2022/src/lib/forms/transaction/allocation-rule-transaction.form.mjs +4 -2
  34. package/esm2022/src/lib/forms/transaction/allocation-rule.form.mjs +13 -13
  35. package/esm2022/src/lib/models/chart-accounts/chart-accounts.mjs +17 -11
  36. package/esm2022/src/lib/models/endpoint/endpoint.mjs +1 -1
  37. package/esm2022/src/lib/models/endpoint/endpoints.const.mjs +4 -1
  38. package/esm2022/src/lib/models/home-office/home-office-claim.interface.mjs +2 -0
  39. package/esm2022/src/lib/models/home-office/home-office-claim.mjs +26 -0
  40. package/esm2022/src/lib/models/home-office/home-office-log.interface.mjs +2 -0
  41. package/esm2022/src/lib/models/home-office/home-office-log.mjs +14 -0
  42. package/esm2022/src/lib/models/home-office/index.mjs +5 -0
  43. package/esm2022/src/lib/models/index.mjs +2 -1
  44. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.mjs +14 -14
  45. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.mjs +18 -18
  46. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.mjs +12 -12
  47. package/esm2022/src/lib/models/sole/sole-invoice-item.mjs +25 -2
  48. package/esm2022/src/lib/models/transaction/transaction.mjs +6 -3
  49. package/esm2022/src/lib/services/http/home-office/home-office-claim-messages.enum.mjs +8 -0
  50. package/esm2022/src/lib/services/http/home-office/home-office-claim.service.mjs +23 -0
  51. package/esm2022/src/lib/services/http/home-office/home-office-log-messages.enum.mjs +8 -0
  52. package/esm2022/src/lib/services/http/home-office/home-office-log.service.mjs +23 -0
  53. package/esm2022/src/lib/services/http/home-office/index.mjs +5 -0
  54. package/esm2022/src/lib/services/http/index.mjs +3 -1
  55. package/esm2022/src/lib/services/http/rest-messages.enum.mjs +7 -0
  56. package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +11 -7
  57. package/esm2022/src/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +4 -12
  58. package/fesm2022/taxtank-core.mjs +383 -175
  59. package/fesm2022/taxtank-core.mjs.map +1 -1
  60. package/package.json +1 -1
  61. package/src/lib/collections/chart-accounts/chart-accounts-value.collection.d.ts +12 -0
  62. package/src/lib/collections/chart-accounts/index.d.ts +1 -0
  63. package/src/lib/collections/collection.d.ts +1 -1
  64. package/src/lib/collections/index.d.ts +1 -0
  65. package/src/lib/db/Enums/bank/allocation-rule/index.d.ts +4 -0
  66. package/src/lib/db/Enums/bank/index.d.ts +1 -0
  67. package/src/lib/db/Enums/chart-accounts/business-chart-accounts.enum.d.ts +37 -0
  68. package/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts +20 -66
  69. package/src/lib/db/Enums/chart-accounts/home-office-chart-accounts.enum.d.ts +16 -0
  70. package/src/lib/db/Enums/chart-accounts/index.d.ts +2 -2
  71. package/src/lib/db/Enums/home-office/home-office-claim-method.enum.d.ts +5 -0
  72. package/src/lib/db/Enums/home-office/index.d.ts +1 -0
  73. package/src/lib/db/Enums/index.d.ts +1 -4
  74. package/src/lib/db/Models/depreciation/depreciation.d.ts +0 -1
  75. package/src/lib/db/Models/sole/sole-business.d.ts +1 -0
  76. package/src/lib/db/Models/sole/sole-details.d.ts +1 -0
  77. package/src/lib/db/Models/user/user.d.ts +1 -1
  78. package/src/lib/db/Models/vehicle/vehicle-claim.d.ts +1 -0
  79. package/src/lib/forms/abstract.form.d.ts +10 -0
  80. package/src/lib/forms/home-office/home-office-claim.form.d.ts +12 -0
  81. package/src/lib/forms/home-office/home-office-log.form.d.ts +5 -0
  82. package/src/lib/forms/home-office/index.d.ts +2 -0
  83. package/src/lib/forms/index.d.ts +1 -0
  84. package/src/lib/forms/transaction/allocation-rule.form.d.ts +5 -4
  85. package/src/lib/models/chart-accounts/chart-accounts.d.ts +3 -1
  86. package/src/lib/models/home-office/home-office-claim.d.ts +22 -0
  87. package/src/lib/models/home-office/home-office-claim.interface.d.ts +17 -0
  88. package/src/lib/models/home-office/home-office-log.d.ts +11 -0
  89. package/src/lib/models/home-office/home-office-log.interface.d.ts +9 -0
  90. package/src/lib/models/home-office/index.d.ts +4 -0
  91. package/src/lib/models/index.d.ts +1 -0
  92. package/src/lib/models/sole/sole-invoice-item.d.ts +2 -1
  93. package/src/lib/models/transaction/transaction.d.ts +1 -0
  94. package/src/lib/services/http/home-office/home-office-claim-messages.enum.d.ts +6 -0
  95. package/src/lib/services/http/home-office/home-office-claim.service.d.ts +12 -0
  96. package/src/lib/services/http/home-office/home-office-log-messages.enum.d.ts +6 -0
  97. package/src/lib/services/http/home-office/home-office-log.service.d.ts +12 -0
  98. package/src/lib/services/http/home-office/index.d.ts +4 -0
  99. package/src/lib/services/http/index.d.ts +2 -0
  100. package/src/lib/services/http/rest-messages.enum.d.ts +5 -0
  101. package/src/lib/services/http/transaction/transaction.service.d.ts +2 -1
  102. package/src/lib/services/json/chart-accounts/chart-accounts-value.service.d.ts +3 -7
  103. package/esm2022/src/lib/db/Enums/allocation-rule-type.enum.mjs +0 -7
  104. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-invoice.enum.mjs +0 -25
  105. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.mjs +0 -6
  106. package/esm2022/src/lib/validators/address-corelogic.validator.mjs +0 -19
  107. package/src/lib/db/Enums/chart-accounts/chart-accounts-invoice.enum.d.ts +0 -23
  108. package/src/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.d.ts +0 -4
  109. package/src/lib/validators/address-corelogic.validator.d.ts +0 -6
  110. /package/src/lib/db/Enums/{allocation-rule-condition-comparison-operator.enum.d.ts → bank/allocation-rule/allocation-rule-condition-comparison-operator.enum.d.ts} +0 -0
  111. /package/src/lib/db/Enums/{allocation-rule-condition-field.enum.d.ts → bank/allocation-rule/allocation-rule-condition-field.enum.d.ts} +0 -0
  112. /package/src/lib/db/Enums/{allocation-rule-condition-operator.enum.d.ts → bank/allocation-rule/allocation-rule-condition-operator.enum.d.ts} +0 -0
  113. /package/src/lib/db/Enums/{allocation-rule-type.enum.d.ts → bank/allocation-rule/allocation-rule-type.enum.d.ts} +0 -0
@@ -1,25 +0,0 @@
1
- export var ChartAccountsInvoiceEnum;
2
- (function (ChartAccountsInvoiceEnum) {
3
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["PSI_ABN_NOT_QUOTED_N"] = 294] = "PSI_ABN_NOT_QUOTED_N";
4
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["PSI_LABOUR_HIRE_OR_OTHER_O"] = 295] = "PSI_LABOUR_HIRE_OR_OTHER_O";
5
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["PSI_VOLUNTARY_AGREEMENT_M"] = 296] = "PSI_VOLUNTARY_AGREEMENT_M";
6
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["SALES"] = 665] = "SALES";
7
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["LABOUR"] = 666] = "LABOUR";
8
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["UBER_INCOME"] = 667] = "UBER_INCOME";
9
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["COMMISSION"] = 668] = "COMMISSION";
10
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["PARTS_CONSUMABLES"] = 669] = "PARTS_CONSUMABLES";
11
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["OTHER_BUSINESS_INCOME"] = 670] = "OTHER_BUSINESS_INCOME";
12
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["ASSESSIBLE_GOVERNMENT_PAYMENTS"] = 671] = "ASSESSIBLE_GOVERNMENT_PAYMENTS";
13
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["GROSS_PAYMENTS_NO_ABN_GIVEN"] = 672] = "GROSS_PAYMENTS_NO_ABN_GIVEN";
14
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["GROSS_PAYMENTS_VOLUNTARY_AGREEMENT"] = 673] = "GROSS_PAYMENTS_VOLUNTARY_AGREEMENT";
15
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["GROSS_PAYMENTS_LABOUR_HIRE_OR_OTHER_SPECIFIED_PAYMENTS"] = 674] = "GROSS_PAYMENTS_LABOUR_HIRE_OR_OTHER_SPECIFIED_PAYMENTS";
16
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["PSI_OTHER_J"] = 858] = "PSI_OTHER_J";
17
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["OTHER_ASSESSABLE_PAYMENTS"] = 861] = "OTHER_ASSESSABLE_PAYMENTS";
18
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["JOBKEEPER"] = 862] = "JOBKEEPER";
19
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["GST_REFUND"] = 864] = "GST_REFUND";
20
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["INTEREST_EARNED"] = 879] = "INTEREST_EARNED";
21
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["PAYG_INSTALLMENTS"] = 878] = "PAYG_INSTALLMENTS";
22
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["CONTRACTORS_COMMISSION"] = 676] = "CONTRACTORS_COMMISSION";
23
- ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["SUPPERANNUATION"] = 677] = "SUPPERANNUATION";
24
- })(ChartAccountsInvoiceEnum || (ChartAccountsInvoiceEnum = {}));
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhcnQtYWNjb3VudHMtaW52b2ljZS5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2RiL0VudW1zL2NoYXJ0LWFjY291bnRzL2NoYXJ0LWFjY291bnRzLWludm9pY2UuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSx3QkFzQlg7QUF0QkQsV0FBWSx3QkFBd0I7SUFDbEMseUdBQTBCLENBQUE7SUFDMUIscUhBQWdDLENBQUE7SUFDaEMsbUhBQStCLENBQUE7SUFDL0IsMkVBQVcsQ0FBQTtJQUNYLDZFQUFZLENBQUE7SUFDWix1RkFBaUIsQ0FBQTtJQUNqQixxRkFBZ0IsQ0FBQTtJQUNoQixtR0FBdUIsQ0FBQTtJQUN2QiwyR0FBMkIsQ0FBQTtJQUMzQiw2SEFBb0MsQ0FBQTtJQUNwQyx1SEFBaUMsQ0FBQTtJQUNqQyxxSUFBd0MsQ0FBQTtJQUN4Qyw2S0FBNEQsQ0FBQTtJQUM1RCx1RkFBaUIsQ0FBQTtJQUNqQixtSEFBK0IsQ0FBQTtJQUMvQixtRkFBZSxDQUFBO0lBQ2YscUZBQWdCLENBQUE7SUFDaEIsK0ZBQXFCLENBQUE7SUFDckIsbUdBQXVCLENBQUE7SUFDdkIsNkdBQTRCLENBQUE7SUFDNUIsK0ZBQXFCLENBQUE7QUFDdkIsQ0FBQyxFQXRCVyx3QkFBd0IsS0FBeEIsd0JBQXdCLFFBc0JuQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIENoYXJ0QWNjb3VudHNJbnZvaWNlRW51bSB7XG4gIFBTSV9BQk5fTk9UX1FVT1RFRF9OID0gMjk0LFxuICBQU0lfTEFCT1VSX0hJUkVfT1JfT1RIRVJfTyA9IDI5NSxcbiAgUFNJX1ZPTFVOVEFSWV9BR1JFRU1FTlRfTSA9IDI5NixcbiAgU0FMRVMgPSA2NjUsXG4gIExBQk9VUiA9IDY2NixcbiAgVUJFUl9JTkNPTUUgPSA2NjcsXG4gIENPTU1JU1NJT04gPSA2NjgsXG4gIFBBUlRTX0NPTlNVTUFCTEVTID0gNjY5LFxuICBPVEhFUl9CVVNJTkVTU19JTkNPTUUgPSA2NzAsXG4gIEFTU0VTU0lCTEVfR09WRVJOTUVOVF9QQVlNRU5UUyA9IDY3MSxcbiAgR1JPU1NfUEFZTUVOVFNfTk9fQUJOX0dJVkVOID0gNjcyLFxuICBHUk9TU19QQVlNRU5UU19WT0xVTlRBUllfQUdSRUVNRU5UID0gNjczLFxuICBHUk9TU19QQVlNRU5UU19MQUJPVVJfSElSRV9PUl9PVEhFUl9TUEVDSUZJRURfUEFZTUVOVFMgPSA2NzQsXG4gIFBTSV9PVEhFUl9KID0gODU4LFxuICBPVEhFUl9BU1NFU1NBQkxFX1BBWU1FTlRTID0gODYxLFxuICBKT0JLRUVQRVIgPSA4NjIsXG4gIEdTVF9SRUZVTkQgPSA4NjQsXG4gIElOVEVSRVNUX0VBUk5FRCA9IDg3OSxcbiAgUEFZR19JTlNUQUxMTUVOVFMgPSA4NzgsXG4gIENPTlRSQUNUT1JTX0NPTU1JU1NJT04gPSA2NzYsXG4gIFNVUFBFUkFOTlVBVElPTiA9IDY3Nyxcbn1cbiJdfQ==
@@ -1,6 +0,0 @@
1
- export var ChartAccountsUnallocatableListEnum;
2
- (function (ChartAccountsUnallocatableListEnum) {
3
- ChartAccountsUnallocatableListEnum[ChartAccountsUnallocatableListEnum["HOME_OFFICE_WORK_HOURS"] = 103] = "HOME_OFFICE_WORK_HOURS";
4
- ChartAccountsUnallocatableListEnum[ChartAccountsUnallocatableListEnum["HOME_OFFICE_SOLE_HOURS"] = 888] = "HOME_OFFICE_SOLE_HOURS";
5
- })(ChartAccountsUnallocatableListEnum || (ChartAccountsUnallocatableListEnum = {}));
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhcnQtYWNjb3VudHMtdW5hbGxvY2F0YWJsZS1saXN0LmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZGIvRW51bXMvY2hhcnQtYWNjb3VudHMvY2hhcnQtYWNjb3VudHMtdW5hbGxvY2F0YWJsZS1saXN0LmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksa0NBR1g7QUFIRCxXQUFZLGtDQUFrQztJQUM1QyxpSUFBNEIsQ0FBQTtJQUM1QixpSUFBNEIsQ0FBQTtBQUM5QixDQUFDLEVBSFcsa0NBQWtDLEtBQWxDLGtDQUFrQyxRQUc3QyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIENoYXJ0QWNjb3VudHNVbmFsbG9jYXRhYmxlTGlzdEVudW0ge1xuICBIT01FX09GRklDRV9XT1JLX0hPVVJTID0gMTAzLFxuICBIT01FX09GRklDRV9TT0xFX0hPVVJTID0gODg4LFxufVxuIl19
@@ -1,19 +0,0 @@
1
- /**
2
- * @TODO not used temporary, waiting for corelogic support response why it can't find some suburbs (like Hamilton Island)
3
- * Validator for address, check if corelogic suggestion selected correctly
4
- */
5
- export function addressCorelogicValidator() {
6
- return (form) => {
7
- // we are interested in corelogic ids only for Australian addresses
8
- if (!form.isAustraliaSelected()) {
9
- return null;
10
- }
11
- // we need at least corelogic locality id to get growth percent
12
- const locIdControl = form.get('corelogicLocId');
13
- if (locIdControl.enabled && locIdControl.hasError('required')) {
14
- return { address: 'City, state or postal code not specified' };
15
- }
16
- return null;
17
- };
18
- }
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkcmVzcy1jb3JlbG9naWMudmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3ZhbGlkYXRvcnMvYWRkcmVzcy1jb3JlbG9naWMudmFsaWRhdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBOzs7R0FHRztBQUNILE1BQU0sVUFBVSx5QkFBeUI7SUFDdkMsT0FBTyxDQUFDLElBQWlCLEVBQW9CLEVBQUU7UUFDN0MsbUVBQW1FO1FBQ25FLElBQUksQ0FBQyxJQUFJLENBQUMsbUJBQW1CLEVBQUUsRUFBRTtZQUMvQixPQUFPLElBQUksQ0FBQztTQUNiO1FBRUQsK0RBQStEO1FBQy9ELE1BQU0sWUFBWSxHQUFnQixJQUFJLENBQUMsR0FBRyxDQUFDLGdCQUFnQixDQUFnQixDQUFDO1FBRTVFLElBQUksWUFBWSxDQUFDLE9BQU8sSUFBSSxZQUFZLENBQUMsUUFBUSxDQUFDLFVBQVUsQ0FBQyxFQUFFO1lBQzdELE9BQU8sRUFBRSxPQUFPLEVBQUUsMENBQTBDLEVBQUUsQ0FBQztTQUNoRTtRQUVELE9BQU8sSUFBSSxDQUFDO0lBQ2QsQ0FBQyxDQUFDO0FBQ0osQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZvcm1Db250cm9sLCBWYWxpZGF0aW9uRXJyb3JzLCBWYWxpZGF0b3JGbiB9IGZyb20gJ0Bhbmd1bGFyL2Zvcm1zJztcbmltcG9ydCB7IEFkZHJlc3NGb3JtIH0gZnJvbSAnLi4vZm9ybXMnO1xuXG4vKipcbiAqIEBUT0RPIG5vdCB1c2VkIHRlbXBvcmFyeSwgd2FpdGluZyBmb3IgY29yZWxvZ2ljIHN1cHBvcnQgcmVzcG9uc2Ugd2h5IGl0IGNhbid0IGZpbmQgc29tZSBzdWJ1cmJzIChsaWtlIEhhbWlsdG9uIElzbGFuZClcbiAqIFZhbGlkYXRvciBmb3IgYWRkcmVzcywgY2hlY2sgaWYgY29yZWxvZ2ljIHN1Z2dlc3Rpb24gc2VsZWN0ZWQgY29ycmVjdGx5XG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBhZGRyZXNzQ29yZWxvZ2ljVmFsaWRhdG9yKCk6IFZhbGlkYXRvckZuIHtcbiAgcmV0dXJuIChmb3JtOiBBZGRyZXNzRm9ybSk6IFZhbGlkYXRpb25FcnJvcnMgPT4ge1xuICAgIC8vIHdlIGFyZSBpbnRlcmVzdGVkIGluIGNvcmVsb2dpYyBpZHMgb25seSBmb3IgQXVzdHJhbGlhbiBhZGRyZXNzZXNcbiAgICBpZiAoIWZvcm0uaXNBdXN0cmFsaWFTZWxlY3RlZCgpKSB7XG4gICAgICByZXR1cm4gbnVsbDtcbiAgICB9XG5cbiAgICAvLyB3ZSBuZWVkIGF0IGxlYXN0IGNvcmVsb2dpYyBsb2NhbGl0eSBpZCB0byBnZXQgZ3Jvd3RoIHBlcmNlbnRcbiAgICBjb25zdCBsb2NJZENvbnRyb2w6IEZvcm1Db250cm9sID0gZm9ybS5nZXQoJ2NvcmVsb2dpY0xvY0lkJykgYXMgRm9ybUNvbnRyb2w7XG5cbiAgICBpZiAobG9jSWRDb250cm9sLmVuYWJsZWQgJiYgbG9jSWRDb250cm9sLmhhc0Vycm9yKCdyZXF1aXJlZCcpKSB7XG4gICAgICByZXR1cm4geyBhZGRyZXNzOiAnQ2l0eSwgc3RhdGUgb3IgcG9zdGFsIGNvZGUgbm90IHNwZWNpZmllZCcgfTtcbiAgICB9XG5cbiAgICByZXR1cm4gbnVsbDtcbiAgfTtcbn1cbiJdfQ==
@@ -1,23 +0,0 @@
1
- export declare enum ChartAccountsInvoiceEnum {
2
- PSI_ABN_NOT_QUOTED_N = 294,
3
- PSI_LABOUR_HIRE_OR_OTHER_O = 295,
4
- PSI_VOLUNTARY_AGREEMENT_M = 296,
5
- SALES = 665,
6
- LABOUR = 666,
7
- UBER_INCOME = 667,
8
- COMMISSION = 668,
9
- PARTS_CONSUMABLES = 669,
10
- OTHER_BUSINESS_INCOME = 670,
11
- ASSESSIBLE_GOVERNMENT_PAYMENTS = 671,
12
- GROSS_PAYMENTS_NO_ABN_GIVEN = 672,
13
- GROSS_PAYMENTS_VOLUNTARY_AGREEMENT = 673,
14
- GROSS_PAYMENTS_LABOUR_HIRE_OR_OTHER_SPECIFIED_PAYMENTS = 674,
15
- PSI_OTHER_J = 858,
16
- OTHER_ASSESSABLE_PAYMENTS = 861,
17
- JOBKEEPER = 862,
18
- GST_REFUND = 864,
19
- INTEREST_EARNED = 879,
20
- PAYG_INSTALLMENTS = 878,
21
- CONTRACTORS_COMMISSION = 676,
22
- SUPPERANNUATION = 677
23
- }
@@ -1,4 +0,0 @@
1
- export declare enum ChartAccountsUnallocatableListEnum {
2
- HOME_OFFICE_WORK_HOURS = 103,
3
- HOME_OFFICE_SOLE_HOURS = 888
4
- }
@@ -1,6 +0,0 @@
1
- import { ValidatorFn } from '@angular/forms';
2
- /**
3
- * @TODO not used temporary, waiting for corelogic support response why it can't find some suburbs (like Hamilton Island)
4
- * Validator for address, check if corelogic suggestion selected correctly
5
- */
6
- export declare function addressCorelogicValidator(): ValidatorFn;