cecon-interfaces 1.6.46 → 1.6.48
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/payio/app/entities/app.entity.mjs +3 -2
- package/dist/esm2022/payio/app/enums/app-slug.enum.mjs +7 -0
- package/dist/esm2022/payio/app/enums/index.mjs +2 -0
- package/dist/esm2022/payio/app/index.mjs +2 -1
- package/dist/esm2022/payio/app/interfaces/i-app.mjs +1 -1
- package/dist/esm2022/payio/index.mjs +2 -1
- package/dist/esm2022/payio/orders/entities/order.entity.mjs +6 -3
- package/dist/esm2022/payio/orders/interfaces/i-order.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 +37 -4
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/payio/app/entities/app.entity.d.ts +2 -1
- package/dist/payio/app/entities/app.entity.js +2 -1
- package/dist/payio/app/enums/app-slug.enum.d.ts +5 -0
- package/dist/payio/app/enums/app-slug.enum.js +9 -0
- package/dist/payio/app/enums/index.d.ts +1 -0
- package/dist/payio/app/enums/index.js +5 -0
- package/dist/payio/app/index.d.ts +1 -0
- package/dist/payio/app/index.js +1 -0
- package/dist/payio/app/interfaces/i-app.d.ts +2 -1
- package/dist/payio/index.d.ts +1 -0
- package/dist/payio/index.js +1 -0
- package/dist/payio/orders/entities/order.entity.d.ts +3 -0
- package/dist/payio/orders/entities/order.entity.js +5 -2
- package/dist/payio/orders/interfaces/i-order.d.ts +3 -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
@@ -1,3 +1,4 @@
|
|
1
|
+
import { EPayuioAppSlug } from '../enums';
|
1
2
|
import { IPayioApp } from '../interfaces/i-app';
|
2
3
|
export declare class PayioAppEntity implements IPayioApp {
|
3
4
|
active: boolean;
|
@@ -8,7 +9,7 @@ export declare class PayioAppEntity implements IPayioApp {
|
|
8
9
|
name: string;
|
9
10
|
price: number;
|
10
11
|
secrets: string;
|
11
|
-
slug:
|
12
|
+
slug: EPayuioAppSlug;
|
12
13
|
tags: string[];
|
13
14
|
constructor(data?: Partial<PayioAppEntity>);
|
14
15
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PayioAppEntity = void 0;
|
4
|
+
var enums_1 = require("../enums");
|
4
5
|
var PayioAppEntity = /** @class */ (function () {
|
5
6
|
// #endregion Properties (11)
|
6
7
|
// #region Constructors (1)
|
@@ -14,7 +15,7 @@ var PayioAppEntity = /** @class */ (function () {
|
|
14
15
|
this.name = '';
|
15
16
|
this.price = 0;
|
16
17
|
this.secrets = '';
|
17
|
-
this.slug =
|
18
|
+
this.slug = enums_1.EPayuioAppSlug.none;
|
18
19
|
this.tags = [];
|
19
20
|
if (data) {
|
20
21
|
for (var key in data) {
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EPayuioAppSlug = void 0;
|
4
|
+
var EPayuioAppSlug;
|
5
|
+
(function (EPayuioAppSlug) {
|
6
|
+
EPayuioAppSlug["payio_cash"] = "payio-cash";
|
7
|
+
EPayuioAppSlug["payio_chef"] = "payio-chef";
|
8
|
+
EPayuioAppSlug["none"] = "none";
|
9
|
+
})(EPayuioAppSlug || (exports.EPayuioAppSlug = EPayuioAppSlug = {}));
|
@@ -0,0 +1 @@
|
|
1
|
+
export { EPayuioAppSlug } from './app-slug.enum';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EPayuioAppSlug = void 0;
|
4
|
+
var app_slug_enum_1 = require("./app-slug.enum");
|
5
|
+
Object.defineProperty(exports, "EPayuioAppSlug", { enumerable: true, get: function () { return app_slug_enum_1.EPayuioAppSlug; } });
|
package/dist/payio/app/index.js
CHANGED
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./enums"), exports);
|
18
19
|
__exportStar(require("./interfaces"), exports);
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { EPayuioAppSlug } from "../enums";
|
1
2
|
export interface IPayioApp {
|
2
3
|
active: boolean;
|
3
4
|
description: string;
|
@@ -5,7 +6,7 @@ export interface IPayioApp {
|
|
5
6
|
features: string[];
|
6
7
|
id: string;
|
7
8
|
name: string;
|
8
|
-
slug:
|
9
|
+
slug: EPayuioAppSlug;
|
9
10
|
price: number;
|
10
11
|
secrets: string;
|
11
12
|
tags: string[];
|
package/dist/payio/index.d.ts
CHANGED
package/dist/payio/index.js
CHANGED
@@ -1,7 +1,10 @@
|
|
1
1
|
import { OrderEntity } from '../../../order';
|
2
|
+
import { EPayuioAppSlug } from '../../app';
|
2
3
|
import { IPayioOrder } from '../interfaces';
|
3
4
|
import { PayioOrderIndoorEntity } from './indoor.entity';
|
4
5
|
export declare class PayioOrderEntity extends OrderEntity implements IPayioOrder {
|
6
|
+
appId: string | null;
|
7
|
+
appSlug: EPayuioAppSlug;
|
5
8
|
deviceId: string | null;
|
6
9
|
indoor: PayioOrderIndoorEntity | null;
|
7
10
|
constructor(data?: Partial<PayioOrderEntity>);
|
@@ -17,13 +17,16 @@ var __extends = (this && this.__extends) || (function () {
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
18
18
|
exports.PayioOrderEntity = void 0;
|
19
19
|
var order_1 = require("../../../order");
|
20
|
+
var app_1 = require("../../app");
|
20
21
|
var PayioOrderEntity = /** @class */ (function (_super) {
|
21
22
|
__extends(PayioOrderEntity, _super);
|
22
|
-
// #endregion Properties (
|
23
|
+
// #endregion Properties (4)
|
23
24
|
// #region Constructors (1)
|
24
25
|
function PayioOrderEntity(data) {
|
25
26
|
var _this = _super.call(this) || this;
|
26
|
-
// #region Properties (
|
27
|
+
// #region Properties (4)
|
28
|
+
_this.appId = null;
|
29
|
+
_this.appSlug = app_1.EPayuioAppSlug.none;
|
27
30
|
_this.deviceId = null;
|
28
31
|
_this.indoor = null;
|
29
32
|
if (data) {
|
@@ -1,6 +1,9 @@
|
|
1
1
|
import { IOrder } from '../../../order';
|
2
|
+
import { EPayuioAppSlug } from '../../app';
|
2
3
|
import { IPayioOrderIndoor } from './i-order-indoor';
|
3
4
|
export interface IPayioOrder extends IOrder {
|
4
5
|
indoor: IPayioOrderIndoor | null;
|
5
6
|
deviceId: string | null;
|
7
|
+
appId: string | null;
|
8
|
+
appSlug: EPayuioAppSlug;
|
6
9
|
}
|
@@ -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';
|