taxtank-core 0.33.8 → 0.33.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. package/esm2022/public-api.mjs +1 -6
  2. package/esm2022/src/lib/collections/holding/holding.collection.mjs +8 -1
  3. package/esm2022/src/lib/db/Enums/{client-details-medicare-exemption.enum.mjs → client/client-details-medicare-exemption.enum.mjs} +1 -1
  4. package/esm2022/src/lib/db/Enums/{client-details-work-depreciation-calculation.enum.mjs → client/client-details-work-depreciation-calculation.enum.mjs} +1 -1
  5. package/esm2022/src/lib/db/Enums/{client-details-working-holiday-maker.enum.mjs → client/client-details-working-holiday-maker.enum.mjs} +1 -1
  6. package/esm2022/src/lib/db/Enums/client/client-invite-status.enum.mjs +6 -0
  7. package/esm2022/src/lib/db/Enums/client/client-invite-type.enum.mjs +6 -0
  8. package/esm2022/src/lib/db/Enums/client/index.mjs +7 -0
  9. package/esm2022/src/lib/db/Enums/client/timezone.enum.mjs +9 -0
  10. package/esm2022/src/lib/db/Enums/index.mjs +2 -1
  11. package/esm2022/src/lib/db/Models/bank/bank-account.mjs +1 -1
  12. package/esm2022/src/lib/db/Models/client/client-details.mjs +1 -1
  13. package/esm2022/src/lib/db/Models/firm/client-invite.mjs +1 -1
  14. package/esm2022/src/lib/forms/user/client-details.form.mjs +2 -1
  15. package/esm2022/src/lib/models/client/client-invite.mjs +2 -3
  16. package/esm2022/src/lib/models/sole/sole-business-loss.mjs +2 -2
  17. package/fesm2022/taxtank-core.mjs +50 -33
  18. package/fesm2022/taxtank-core.mjs.map +1 -1
  19. package/package.json +1 -1
  20. package/public-api.d.ts +0 -5
  21. package/src/lib/collections/holding/holding.collection.d.ts +1 -0
  22. package/src/lib/db/Enums/client/index.d.ts +6 -0
  23. package/src/lib/db/Enums/client/timezone.enum.d.ts +7 -0
  24. package/src/lib/db/Enums/index.d.ts +1 -0
  25. package/src/lib/db/Models/bank/bank-account.d.ts +1 -0
  26. package/src/lib/db/Models/client/client-details.d.ts +2 -3
  27. package/src/lib/db/Models/firm/client-invite.d.ts +1 -2
  28. package/esm2022/src/lib/db/Enums/client-invite-status.enum.mjs +0 -6
  29. package/esm2022/src/lib/db/Enums/client-invite-type.enum.mjs +0 -6
  30. /package/src/lib/db/Enums/{client-details-medicare-exemption.enum.d.ts → client/client-details-medicare-exemption.enum.d.ts} +0 -0
  31. /package/src/lib/db/Enums/{client-details-work-depreciation-calculation.enum.d.ts → client/client-details-work-depreciation-calculation.enum.d.ts} +0 -0
  32. /package/src/lib/db/Enums/{client-details-working-holiday-maker.enum.d.ts → client/client-details-working-holiday-maker.enum.d.ts} +0 -0
  33. /package/src/lib/db/Enums/{client-invite-status.enum.d.ts → client/client-invite-status.enum.d.ts} +0 -0
  34. /package/src/lib/db/Enums/{client-invite-type.enum.d.ts → client/client-invite-type.enum.d.ts} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.33.8",
3
+ "version": "0.33.10",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^17.0.0",
package/public-api.d.ts CHANGED
@@ -30,11 +30,6 @@ export * from './src/lib/db/Enums/chart-accounts/chart-accounts-meta-field-list.
30
30
  export * from './src/lib/db/Enums/chart-accounts/chart-accounts-meta-field-type.enum';
31
31
  export * from './src/lib/db/Enums/chart-accounts/chart-accounts-type.enum';
32
32
  export * from './src/lib/db/Enums/chat-status.enum';
33
- export * from './src/lib/db/Enums/client-details-medicare-exemption.enum';
34
- export * from './src/lib/db/Enums/client-details-work-depreciation-calculation.enum';
35
- export * from './src/lib/db/Enums/client-details-working-holiday-maker.enum';
36
- export * from './src/lib/db/Enums/client-invite-status.enum';
37
- export * from './src/lib/db/Enums/client-invite-type.enum';
38
33
  export * from './src/lib/db/Enums/depreciation-calculation.enum';
39
34
  export * from './src/lib/db/Enums/depreciation-calculation-percent.enum';
40
35
  export * from './src/lib/db/Enums/depreciation-type.enum';
@@ -10,6 +10,7 @@ export declare class HoldingCollection extends ExportableCollection<Holding> {
10
10
  getOthers(): this;
11
11
  getPurchaseValue(): number;
12
12
  get marketValue(): number;
13
+ get sharedMarketValue(): number;
13
14
  getGrowthCoefficient(): number;
14
15
  getUnsold(): this;
15
16
  }
@@ -0,0 +1,6 @@
1
+ export * from './client-details-medicare-exemption.enum';
2
+ export * from './client-details-work-depreciation-calculation.enum';
3
+ export * from './client-details-working-holiday-maker.enum';
4
+ export * from './client-invite-status.enum';
5
+ export * from './client-invite-type.enum';
6
+ export * from './timezone.enum';
@@ -0,0 +1,7 @@
1
+ export declare enum TimezoneEnum {
2
+ PERTH = "Australia/Perth",
3
+ EUCLA = "Australia/Eucla",
4
+ ADELAIDE = "Australia/Adelaide",
5
+ SYDNEY = "Australia/Sydney",
6
+ LORD_HOWE = "Australia/Lord_Howe"
7
+ }
@@ -4,6 +4,7 @@ export * from './allocation-rule-condition-operator.enum';
4
4
  export * from './allocation-rule-type.enum';
5
5
  export * from './bank';
6
6
  export * from './firm';
7
+ export * from './client';
7
8
  export * from './annual-frequency.enum';
8
9
  export * from './chart-accounts';
9
10
  export * from './document-type.enum';
@@ -15,6 +15,7 @@ export declare class BankAccount extends ObservableModel {
15
15
  nickname?: string;
16
16
  accountNumber?: string;
17
17
  currentBalance?: number;
18
+ closeBalance?: number;
18
19
  currency?: string;
19
20
  migrateFrom?: Date;
20
21
  migrateTo?: Date;
@@ -1,6 +1,4 @@
1
- import { ClientDetailsWorkDepreciationCalculationEnum } from '../../Enums/client-details-work-depreciation-calculation.enum';
2
- import { ClientDetailsMedicareExemptionEnum } from '../../Enums/client-details-medicare-exemption.enum';
3
- import { ClientDetailsWorkingHolidayMakerEnum } from '../../Enums/client-details-working-holiday-maker.enum';
1
+ import { ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum } from '../../Enums';
4
2
  import { User } from '../user/user';
5
3
  import { Occupation } from './occupation';
6
4
  import { Address } from '../address';
@@ -24,4 +22,5 @@ export declare class ClientDetails extends AbstractModel {
24
22
  occupation?: Occupation;
25
23
  addresses?: Address[];
26
24
  phones?: Phone[];
25
+ timezone: string;
27
26
  }
@@ -1,5 +1,4 @@
1
- import { ClientInviteTypeEnum } from '../../Enums/client-invite-type.enum';
2
- import { ClientInviteStatusEnum } from '../../Enums/client-invite-status.enum';
1
+ import { ClientInviteStatusEnum, ClientInviteTypeEnum } from '../../Enums';
3
2
  import { User } from '../user/user';
4
3
  import { RegistrationInvite } from '../user/registration-invite';
5
4
  import { ObservableModel } from '../observable-model';
@@ -1,6 +0,0 @@
1
- export var ClientInviteStatusEnum;
2
- (function (ClientInviteStatusEnum) {
3
- ClientInviteStatusEnum[ClientInviteStatusEnum["PENDING"] = 1] = "PENDING";
4
- ClientInviteStatusEnum[ClientInviteStatusEnum["REJECTED"] = 2] = "REJECTED";
5
- })(ClientInviteStatusEnum || (ClientInviteStatusEnum = {}));
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpZW50LWludml0ZS1zdGF0dXMuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9kYi9FbnVtcy9jbGllbnQtaW52aXRlLXN0YXR1cy5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLHNCQUdYO0FBSEQsV0FBWSxzQkFBc0I7SUFDakMseUVBQVcsQ0FBQTtJQUNYLDJFQUFZLENBQUE7QUFDYixDQUFDLEVBSFcsc0JBQXNCLEtBQXRCLHNCQUFzQixRQUdqQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIENsaWVudEludml0ZVN0YXR1c0VudW0ge1xuXHRQRU5ESU5HID0gMSxcblx0UkVKRUNURUQgPSAyLFxufVxuIl19
@@ -1,6 +0,0 @@
1
- export var ClientInviteTypeEnum;
2
- (function (ClientInviteTypeEnum) {
3
- ClientInviteTypeEnum[ClientInviteTypeEnum["FROM_CLIENT"] = 1] = "FROM_CLIENT";
4
- ClientInviteTypeEnum[ClientInviteTypeEnum["FROM_EMPLOYEE"] = 2] = "FROM_EMPLOYEE";
5
- })(ClientInviteTypeEnum || (ClientInviteTypeEnum = {}));
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpZW50LWludml0ZS10eXBlLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZGIvRW51bXMvY2xpZW50LWludml0ZS10eXBlLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksb0JBR1g7QUFIRCxXQUFZLG9CQUFvQjtJQUM5Qiw2RUFBZSxDQUFBO0lBQ2YsaUZBQWlCLENBQUE7QUFDbkIsQ0FBQyxFQUhXLG9CQUFvQixLQUFwQixvQkFBb0IsUUFHL0IiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBDbGllbnRJbnZpdGVUeXBlRW51bSB7XG4gIEZST01fQ0xJRU5UID0gMSxcbiAgRlJPTV9FTVBMT1lFRSA9IDIsXG59XG4iXX0=