taxtank-core 0.32.72 → 0.32.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/esm2022/lib/db/Models/transaction/transaction-base.mjs +4 -1
  2. package/esm2022/lib/forms/transaction/transaction.form.mjs +1 -3
  3. package/esm2022/lib/models/transaction/allocation-rule-transaction.mjs +18 -17
  4. package/esm2022/lib/models/transaction/allocation-rule.mjs +5 -2
  5. package/esm2022/lib/models/transaction/transaction.mjs +10 -1
  6. package/esm2022/lib/services/http/bank/bank-connection/bank-connection.service.mjs +2 -2
  7. package/esm2022/lib/services/http/chat/message.service.mjs +2 -2
  8. package/esm2022/lib/services/http/firm/client-invite/client-invite.service.mjs +2 -2
  9. package/esm2022/lib/services/http/firm/client-movement/client-movement.service.mjs +2 -2
  10. package/esm2022/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +2 -2
  11. package/esm2022/lib/services/http/subscription/service-subscription/subscription.service.mjs +2 -2
  12. package/fesm2022/taxtank-core.mjs +189 -174
  13. package/fesm2022/taxtank-core.mjs.map +1 -1
  14. package/lib/db/Models/transaction/transaction-base.d.ts +1 -0
  15. package/lib/models/transaction/allocation-rule-transaction.d.ts +1 -1
  16. package/lib/models/transaction/transaction.d.ts +1 -0
  17. package/lib/services/http/bank/bank-connection/bank-connection.service.d.ts +1 -0
  18. package/lib/services/http/chat/message.service.d.ts +1 -0
  19. package/lib/services/http/firm/client-invite/client-invite.service.d.ts +1 -0
  20. package/lib/services/http/firm/client-movement/client-movement.service.d.ts +1 -0
  21. package/lib/services/http/subscription/service-payment-method/service-payment-method.service.d.ts +1 -0
  22. package/lib/services/http/subscription/service-subscription/subscription.service.d.ts +1 -0
  23. package/package.json +1 -1
@@ -18,6 +18,7 @@ export declare abstract class TransactionBase extends ObservableModel {
18
18
  isGST?: boolean;
19
19
  claimPercent?: number;
20
20
  sharedClaimPercent?: number;
21
+ get gstCoefficient(): number;
21
22
  get claimRatio(): number;
22
23
  get tankType(): TankTypeEnum;
23
24
  /**
@@ -24,5 +24,5 @@ export declare class AllocationRuleTransaction extends AllocationRuleTransaction
24
24
  /**
25
25
  * Create Transaction instance based on passed bank transaction and rule transaction
26
26
  */
27
- toTransaction(bankTransaction: BankTransaction): Transaction;
27
+ toTransaction(bankTransaction?: BankTransaction): Transaction;
28
28
  }
@@ -97,4 +97,5 @@ export declare class Transaction extends TransactionBase implements Expense {
97
97
  * user's choice and transform amount, but there are exceptions like advance (negative or positive amount)
98
98
  */
99
99
  ignoreSign(): boolean;
100
+ setParent(transaction: Transaction): void;
100
101
  }
@@ -15,6 +15,7 @@ export declare class BankConnectionService extends RestService<BankConnectionBas
15
15
  collectionClass: typeof Collection;
16
16
  endpointUri: string;
17
17
  disabledMethods: RestMethod[];
18
+ mercureTopic: string;
18
19
  constructor(environment: any);
19
20
  listenEvents(): void;
20
21
  /**
@@ -13,6 +13,7 @@ export declare class MessageService extends RestService<MessageBase, Message, Me
13
13
  collectionClass: typeof MessageCollection;
14
14
  endpointUri: string;
15
15
  disabledMethods: RestMethod[];
16
+ mercureTopic: string;
16
17
  constructor(environment: any);
17
18
  listenEvents(): void;
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, never>;
@@ -10,6 +10,7 @@ export declare class ClientInviteService extends RestService<ClientInviteBase, C
10
10
  protected endpointUri: string;
11
11
  collectionClass: typeof ClientInviteCollection;
12
12
  modelClass: typeof ClientInvite;
13
+ mercureTopic: string;
13
14
  constructor(environment: any);
14
15
  listenEvents(): void;
15
16
  getFirmInvites(): Observable<ClientInviteCollection>;
@@ -13,6 +13,7 @@ export declare class ClientMovementService extends RestService<ClientMovementBas
13
13
  collectionClass: typeof ClientMovementCollection;
14
14
  modelClass: typeof ClientMovement;
15
15
  disabledMethods: RestMethod[];
16
+ mercureTopic: string;
16
17
  constructor(environment: any);
17
18
  listenEvents(): void;
18
19
  getActive(): Observable<ClientMovementCollection>;
@@ -10,6 +10,7 @@ export declare class ServicePaymentMethodService extends RestService<ServicePaym
10
10
  protected endpointUri: string;
11
11
  collectionClass: typeof Collection;
12
12
  modelClass: typeof ServicePaymentMethod;
13
+ mercureTopic: string;
13
14
  constructor(environment: any);
14
15
  listenEvents(): void;
15
16
  /**
@@ -16,6 +16,7 @@ export declare class SubscriptionService extends RestService<ServiceSubscription
16
16
  modelClass: typeof ServiceSubscription;
17
17
  collectionClass: typeof ServiceSubscriptionCollection;
18
18
  disabledMethods: RestMethod[];
19
+ mercureTopic: string;
19
20
  constructor(http: HttpClient, environment: any);
20
21
  listenEvents(): void;
21
22
  startTrial(subscription: ServiceSubscription): Observable<ServiceSubscription>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.32.72",
3
+ "version": "0.32.73",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/compiler": "^16.2.12",