cecon-interfaces 1.6.45 → 1.6.47
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/esm2022/envelope/interfaces/factory-envelope-array-pag.functions.mjs +1 -1
- package/dist/esm2022/envelope/interfaces/factory-envelope-array.functions.mjs +1 -1
- package/dist/esm2022/envelope/interfaces/factory-envelope.functions.mjs +1 -1
- package/dist/esm2022/payio/index.mjs +2 -1
- package/dist/esm2022/payio/payload/entities/payload-subscription.entity.mjs +2 -1
- package/dist/esm2022/payio/payload/interfaces/i-payload-subscription.mjs +1 -1
- package/dist/esm2022/payio/trials/entities/index.mjs +2 -0
- package/dist/esm2022/payio/trials/entities/trial.entity.mjs +24 -0
- package/dist/esm2022/payio/trials/index.mjs +3 -0
- package/dist/esm2022/payio/trials/interfaces/i-trial.mjs +2 -0
- package/dist/esm2022/payio/trials/interfaces/index.mjs +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +26 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/payio/index.d.ts +1 -0
- package/dist/payio/index.js +1 -0
- package/dist/payio/payload/entities/payload-subscription.entity.d.ts +1 -0
- package/dist/payio/payload/entities/payload-subscription.entity.js +1 -0
- package/dist/payio/payload/interfaces/i-payload-subscription.d.ts +1 -0
- package/dist/payio/trials/entities/index.d.ts +1 -0
- package/dist/payio/trials/entities/index.js +5 -0
- package/dist/payio/trials/entities/trial.entity.d.ts +13 -0
- package/dist/payio/trials/entities/trial.entity.js +28 -0
- package/dist/payio/trials/index.d.ts +2 -0
- package/dist/payio/trials/index.js +18 -0
- package/dist/payio/trials/interfaces/i-trial.d.ts +11 -0
- package/dist/payio/trials/interfaces/i-trial.js +2 -0
- package/dist/payio/trials/interfaces/index.d.ts +1 -0
- package/dist/payio/trials/interfaces/index.js +2 -0
- package/package.json +1 -1
package/dist/package.json
CHANGED
package/dist/payio/index.d.ts
CHANGED
package/dist/payio/index.js
CHANGED
@@ -10,6 +10,7 @@ var PayioJwtPayloadSubscriptionEntity = /** @class */ (function () {
|
|
10
10
|
this.expiresAt = 0;
|
11
11
|
this.id = '';
|
12
12
|
this.status = general_1.ESubsStatus.PENDING;
|
13
|
+
this.usedTrial = false;
|
13
14
|
if (data) {
|
14
15
|
for (var key in data) {
|
15
16
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -0,0 +1 @@
|
|
1
|
+
export { PayioTrialEntity } from './trial.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioTrialEntity = void 0;
|
4
|
+
var trial_entity_1 = require("./trial.entity");
|
5
|
+
Object.defineProperty(exports, "PayioTrialEntity", { enumerable: true, get: function () { return trial_entity_1.PayioTrialEntity; } });
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { IPayioTrial } from '../interfaces/i-trial';
|
2
|
+
export declare class PayioTrialEntity implements IPayioTrial {
|
3
|
+
companyId: string;
|
4
|
+
createdAt: Date;
|
5
|
+
id: string;
|
6
|
+
planId: string;
|
7
|
+
subscriptionId: string;
|
8
|
+
trialEndAt: Date;
|
9
|
+
trialStartAt: Date;
|
10
|
+
updatedAt: Date;
|
11
|
+
userId: string;
|
12
|
+
constructor(data?: Partial<PayioTrialEntity>);
|
13
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioTrialEntity = void 0;
|
4
|
+
var PayioTrialEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (9)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PayioTrialEntity(data) {
|
8
|
+
// #region Properties (9)
|
9
|
+
this.companyId = '';
|
10
|
+
this.createdAt = new Date();
|
11
|
+
this.id = '';
|
12
|
+
this.planId = '';
|
13
|
+
this.subscriptionId = '';
|
14
|
+
this.trialEndAt = new Date();
|
15
|
+
this.trialStartAt = new Date();
|
16
|
+
this.updatedAt = new Date();
|
17
|
+
this.userId = '';
|
18
|
+
if (data) {
|
19
|
+
for (var key in data) {
|
20
|
+
if (data.hasOwnProperty(key) && key in this) {
|
21
|
+
this[key] = data[key];
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
return PayioTrialEntity;
|
27
|
+
}());
|
28
|
+
exports.PayioTrialEntity = PayioTrialEntity;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./interfaces"), exports);
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IPayioTrial } from './i-trial';
|