@royalinvest/dto 0.49.5 → 0.49.6
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 +4 -4
- package/dist/enum/index.d.ts +0 -2
- package/dist/enum/index.js +0 -2
- 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,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PaymentIntervalType } from "./payment";
|
|
2
2
|
export interface ICheckout {
|
|
3
3
|
contract_id?: string;
|
|
4
4
|
template_variant_id?: string;
|
|
@@ -22,12 +22,12 @@ export type ICheckoutItem = {
|
|
|
22
22
|
export interface IBulkPurchase {
|
|
23
23
|
feature_id: string;
|
|
24
24
|
source_type: BulkPurchaseSourceTypeEnum;
|
|
25
|
-
source_id
|
|
26
|
-
expires_at
|
|
25
|
+
source_id?: string | null;
|
|
26
|
+
expires_at?: Date | null;
|
|
27
27
|
}
|
|
28
28
|
export interface ISubscribe {
|
|
29
29
|
plan_id: string;
|
|
30
|
-
interval:
|
|
30
|
+
interval: PaymentIntervalType;
|
|
31
31
|
}
|
|
32
32
|
export declare enum BulkPurchaseSourceTypeEnum {
|
|
33
33
|
SYSTEM = "system",
|
package/dist/enum/index.d.ts
CHANGED
package/dist/enum/index.js
CHANGED
|
@@ -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 = {}));
|
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