@royalinvest/dto 0.49.5 → 0.49.7
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/dist/checkout.d.ts +5 -10
- package/dist/checkout.js +0 -8
- package/dist/enum/index.d.ts +6 -2
- package/dist/enum/index.js +8 -3
- package/dist/payment.d.ts +1 -4
- package/dist/payment.js +0 -6
- package/package.json +1 -1
package/dist/checkout.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BulkPurchaseSourceTypeEnum } from "./enum";
|
|
2
|
+
import { PaymentIntervalType } from "./payment";
|
|
2
3
|
export interface ICheckout {
|
|
3
4
|
contract_id?: string;
|
|
4
5
|
template_variant_id?: string;
|
|
@@ -22,16 +23,10 @@ export type ICheckoutItem = {
|
|
|
22
23
|
export interface IBulkPurchase {
|
|
23
24
|
feature_id: string;
|
|
24
25
|
source_type: BulkPurchaseSourceTypeEnum;
|
|
25
|
-
source_id
|
|
26
|
-
expires_at
|
|
26
|
+
source_id?: string | null;
|
|
27
|
+
expires_at?: Date | null;
|
|
27
28
|
}
|
|
28
29
|
export interface ISubscribe {
|
|
29
30
|
plan_id: string;
|
|
30
|
-
interval:
|
|
31
|
-
}
|
|
32
|
-
export declare enum BulkPurchaseSourceTypeEnum {
|
|
33
|
-
SYSTEM = "system",
|
|
34
|
-
USER = "user",
|
|
35
|
-
PROMOTION = "promotion",
|
|
36
|
-
REFERRAL = "referral"
|
|
31
|
+
interval: PaymentIntervalType;
|
|
37
32
|
}
|
package/dist/checkout.js
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BulkPurchaseSourceTypeEnum = void 0;
|
|
4
|
-
var BulkPurchaseSourceTypeEnum;
|
|
5
|
-
(function (BulkPurchaseSourceTypeEnum) {
|
|
6
|
-
BulkPurchaseSourceTypeEnum["SYSTEM"] = "system";
|
|
7
|
-
BulkPurchaseSourceTypeEnum["USER"] = "user";
|
|
8
|
-
BulkPurchaseSourceTypeEnum["PROMOTION"] = "promotion";
|
|
9
|
-
BulkPurchaseSourceTypeEnum["REFERRAL"] = "referral";
|
|
10
|
-
})(BulkPurchaseSourceTypeEnum || (exports.BulkPurchaseSourceTypeEnum = BulkPurchaseSourceTypeEnum = {}));
|
package/dist/enum/index.d.ts
CHANGED
|
@@ -62,8 +62,6 @@ export declare enum LeaseTypeEnum {
|
|
|
62
62
|
export declare enum LeaseCategoryEnum {
|
|
63
63
|
Draft = "draft",
|
|
64
64
|
Active = "active",
|
|
65
|
-
Deleted = "deleted",
|
|
66
|
-
Archived = "archived",
|
|
67
65
|
Other = "other",
|
|
68
66
|
Default = "default"
|
|
69
67
|
}
|
|
@@ -93,3 +91,9 @@ export declare enum TextAlignmentEnum {
|
|
|
93
91
|
left = "left",
|
|
94
92
|
center = "center"
|
|
95
93
|
}
|
|
94
|
+
export declare enum BulkPurchaseSourceTypeEnum {
|
|
95
|
+
SYSTEM = "system",
|
|
96
|
+
USER = "user",
|
|
97
|
+
PROMOTION = "promotion",
|
|
98
|
+
REFERRAL = "referral"
|
|
99
|
+
}
|
package/dist/enum/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TextAlignmentEnum = exports.LeaseDurationEnum = exports.LeaseTermTypeEnum = exports.LeaseCategoryEnum = exports.LeaseTypeEnum = exports.LeaseNoticeTypeEnum = exports.SignatureDateTypeEnum = exports.SignActionEnum = exports.NotificationTypeEnum = exports.SignStatusEnum = exports.SignatureType = exports.LeaseStatusEnum = exports.RentTypeEnum = exports.PartyTypeEnum = void 0;
|
|
3
|
+
exports.BulkPurchaseSourceTypeEnum = exports.TextAlignmentEnum = exports.LeaseDurationEnum = exports.LeaseTermTypeEnum = exports.LeaseCategoryEnum = exports.LeaseTypeEnum = exports.LeaseNoticeTypeEnum = exports.SignatureDateTypeEnum = exports.SignActionEnum = exports.NotificationTypeEnum = exports.SignStatusEnum = exports.SignatureType = exports.LeaseStatusEnum = exports.RentTypeEnum = exports.PartyTypeEnum = void 0;
|
|
4
4
|
var PartyTypeEnum;
|
|
5
5
|
(function (PartyTypeEnum) {
|
|
6
6
|
PartyTypeEnum["default"] = "";
|
|
@@ -76,8 +76,6 @@ var LeaseCategoryEnum;
|
|
|
76
76
|
(function (LeaseCategoryEnum) {
|
|
77
77
|
LeaseCategoryEnum["Draft"] = "draft";
|
|
78
78
|
LeaseCategoryEnum["Active"] = "active";
|
|
79
|
-
LeaseCategoryEnum["Deleted"] = "deleted";
|
|
80
|
-
LeaseCategoryEnum["Archived"] = "archived";
|
|
81
79
|
LeaseCategoryEnum["Other"] = "other";
|
|
82
80
|
LeaseCategoryEnum["Default"] = "default";
|
|
83
81
|
})(LeaseCategoryEnum || (exports.LeaseCategoryEnum = LeaseCategoryEnum = {}));
|
|
@@ -100,3 +98,10 @@ var TextAlignmentEnum;
|
|
|
100
98
|
TextAlignmentEnum["left"] = "left";
|
|
101
99
|
TextAlignmentEnum["center"] = "center";
|
|
102
100
|
})(TextAlignmentEnum || (exports.TextAlignmentEnum = TextAlignmentEnum = {}));
|
|
101
|
+
var BulkPurchaseSourceTypeEnum;
|
|
102
|
+
(function (BulkPurchaseSourceTypeEnum) {
|
|
103
|
+
BulkPurchaseSourceTypeEnum["SYSTEM"] = "system";
|
|
104
|
+
BulkPurchaseSourceTypeEnum["USER"] = "user";
|
|
105
|
+
BulkPurchaseSourceTypeEnum["PROMOTION"] = "promotion";
|
|
106
|
+
BulkPurchaseSourceTypeEnum["REFERRAL"] = "referral";
|
|
107
|
+
})(BulkPurchaseSourceTypeEnum || (exports.BulkPurchaseSourceTypeEnum = BulkPurchaseSourceTypeEnum = {}));
|
package/dist/payment.d.ts
CHANGED
package/dist/payment.js
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PaymentIntervalEnum = void 0;
|
|
4
|
-
var PaymentIntervalEnum;
|
|
5
|
-
(function (PaymentIntervalEnum) {
|
|
6
|
-
PaymentIntervalEnum["MONTH"] = "month";
|
|
7
|
-
PaymentIntervalEnum["YEAR"] = "year";
|
|
8
|
-
})(PaymentIntervalEnum || (exports.PaymentIntervalEnum = PaymentIntervalEnum = {}));
|
package/package.json
CHANGED