taxtank-core 0.23.6 → 0.23.9

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.
@@ -22,8 +22,7 @@ export declare class ServiceSubscription extends ServiceSubscriptionBase {
22
22
  */
23
23
  get description(): string;
24
24
  /**
25
- * This check on getIsActive need for firm. Accountant has a endDate, but user has not endDate
26
- * and for user we add check for endDate
25
+ * A subscription is considered active if the end date has not yet arrived and its status is "Active" or "Past due"
27
26
  */
28
27
  get isActive(): boolean;
29
28
  get daysRemain(): number;
@@ -62,4 +61,8 @@ export declare class ServiceSubscription extends ServiceSubscriptionBase {
62
61
  * impossible to update, only prolong or buy new
63
62
  */
64
63
  isArchived(): boolean;
64
+ /**
65
+ * Case when payment was failed, but user has a time to update payment method
66
+ */
67
+ isPastDue(): boolean;
65
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.23.6",
3
+ "version": "0.23.9",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",
@@ -1,7 +0,0 @@
1
- export var MessagesEnum;
2
- (function (MessagesEnum) {
3
- MessagesEnum["DELETED_MESSAGE"] = "Transaction deleted";
4
- MessagesEnum["UPDATED_MESSAGE"] = "Transaction updated";
5
- MessagesEnum["CREATED_MESSAGE"] = "Transaction(s) created";
6
- })(MessagesEnum || (MessagesEnum = {}));
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZXMuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9zZXJ2aWNlcy9odHRwL3RyYW5zYWN0aW9uL21lc3NhZ2VzLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksWUFJWDtBQUpELFdBQVksWUFBWTtJQUN0Qix1REFBdUMsQ0FBQTtJQUN2Qyx1REFBdUMsQ0FBQTtJQUN2QywwREFBMEMsQ0FBQTtBQUM1QyxDQUFDLEVBSlcsWUFBWSxLQUFaLFlBQVksUUFJdkIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBNZXNzYWdlc0VudW0ge1xuICBERUxFVEVEX01FU1NBR0UgPSAnVHJhbnNhY3Rpb24gZGVsZXRlZCcsXG4gIFVQREFURURfTUVTU0FHRSA9ICdUcmFuc2FjdGlvbiB1cGRhdGVkJyxcbiAgQ1JFQVRFRF9NRVNTQUdFID0gJ1RyYW5zYWN0aW9uKHMpIGNyZWF0ZWQnXG59XG4iXX0=
@@ -1,5 +0,0 @@
1
- export declare enum MessagesEnum {
2
- DELETED_MESSAGE = "Transaction deleted",
3
- UPDATED_MESSAGE = "Transaction updated",
4
- CREATED_MESSAGE = "Transaction(s) created"
5
- }