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.
- package/bundles/taxtank-core.umd.js +32 -40
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/models/chart-accounts/chart-accounts-categories.const.js +3 -7
- package/esm2015/lib/models/service-subscription/service-subscription.js +11 -4
- package/esm2015/lib/services/http/transaction/transaction.service.js +1 -5
- package/fesm2015/taxtank-core.js +32 -40
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/models/service-subscription/service-subscription.d.ts +5 -2
- package/package.json +1 -1
- package/esm2015/lib/services/http/transaction/messages.enum.js +0 -7
- package/lib/services/http/transaction/messages.enum.d.ts +0 -5
|
@@ -22,8 +22,7 @@ export declare class ServiceSubscription extends ServiceSubscriptionBase {
|
|
|
22
22
|
*/
|
|
23
23
|
get description(): string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
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,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=
|