cecon-interfaces 1.6.57 → 1.6.59
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/index.mjs +1 -1
- package/dist/esm2022/payio/activation-key/entities/activation-key.entity.mjs +27 -0
- package/dist/esm2022/payio/activation-key/entities/index.mjs +2 -0
- package/dist/esm2022/payio/activation-key/index.mjs +3 -0
- package/dist/esm2022/payio/activation-key/interfaces/i-activation-key.mjs +2 -0
- package/dist/esm2022/payio/activation-key/interfaces/index.mjs +2 -0
- package/dist/esm2022/payio/distributors/entities/distributor.entity.mjs +36 -0
- package/dist/esm2022/payio/distributors/entities/index.mjs +2 -0
- package/dist/esm2022/payio/distributors/index.mjs +3 -0
- package/dist/esm2022/payio/distributors/interfaces/i-distributor.mjs +2 -0
- package/dist/esm2022/payio/distributors/interfaces/index.mjs +2 -0
- package/dist/esm2022/payio/index.mjs +3 -1
- package/dist/esm2022/payio/payload/entities/index.mjs +2 -1
- package/dist/esm2022/payio/payload/entities/payload-schedule.entity.mjs +17 -0
- package/dist/esm2022/payio/payload/entities/payload.entity.mjs +4 -3
- package/dist/esm2022/payio/payload/interfaces/i-payload-schedule.mjs +2 -0
- package/dist/esm2022/payio/payload/interfaces/i-payload.mjs +1 -1
- package/dist/esm2022/payio/payload/interfaces/index.mjs +1 -1
- package/dist/esm2022/payio/schedules/entities/index.mjs +3 -1
- package/dist/esm2022/payio/schedules/entities/schedule-day.entity.mjs +17 -0
- package/dist/esm2022/payio/schedules/entities/schedule-product.entity.mjs +24 -0
- package/dist/esm2022/payio/schedules/entities/schedule-slot.entity.mjs +2 -2
- package/dist/esm2022/payio/schedules/entities/schedule.entity.mjs +7 -5
- package/dist/esm2022/payio/schedules/interfaces/i-schedule-day.mjs +2 -0
- package/dist/esm2022/payio/schedules/interfaces/i-schedule-product.mjs +2 -0
- package/dist/esm2022/payio/schedules/interfaces/i-schedule-slots.mjs +2 -0
- package/dist/esm2022/payio/schedules/interfaces/i-schedule.mjs +1 -1
- package/dist/esm2022/payio/schedules/interfaces/index.mjs +1 -1
- package/dist/esm2022/payio/subscriptions/entities/subscription.entity.mjs +2 -1
- package/dist/esm2022/payio/subscriptions/interfaces/i-subscription.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +131 -8
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/payio/activation-key/entities/activation-key.entity.d.ts +16 -0
- package/dist/payio/activation-key/entities/activation-key.entity.js +31 -0
- package/dist/payio/activation-key/entities/index.d.ts +1 -0
- package/dist/payio/activation-key/entities/index.js +5 -0
- package/dist/payio/activation-key/index.d.ts +2 -0
- package/dist/payio/activation-key/index.js +18 -0
- package/dist/payio/activation-key/interfaces/i-activation-key.d.ts +14 -0
- package/dist/payio/activation-key/interfaces/index.d.ts +1 -0
- package/dist/payio/activation-key/interfaces/index.js +2 -0
- package/dist/payio/distributors/entities/distributor.entity.d.ts +25 -0
- package/dist/payio/distributors/entities/distributor.entity.js +40 -0
- package/dist/payio/distributors/entities/index.d.ts +1 -0
- package/dist/payio/distributors/entities/index.js +5 -0
- package/dist/payio/distributors/index.d.ts +2 -0
- package/dist/payio/distributors/index.js +18 -0
- package/dist/payio/distributors/interfaces/i-distributor.d.ts +24 -0
- package/dist/payio/distributors/interfaces/i-distributor.js +2 -0
- package/dist/payio/distributors/interfaces/index.d.ts +1 -0
- package/dist/payio/distributors/interfaces/index.js +2 -0
- package/dist/payio/index.d.ts +2 -0
- package/dist/payio/index.js +2 -0
- package/dist/payio/payload/entities/index.d.ts +1 -0
- package/dist/payio/payload/entities/index.js +3 -1
- package/dist/payio/payload/entities/payload-schedule.entity.d.ts +6 -0
- package/dist/payio/payload/entities/payload-schedule.entity.js +21 -0
- package/dist/payio/payload/entities/payload.entity.d.ts +2 -0
- package/dist/payio/payload/entities/payload.entity.js +3 -2
- package/dist/payio/payload/interfaces/i-payload-schedule.d.ts +4 -0
- package/dist/payio/payload/interfaces/i-payload-schedule.js +2 -0
- package/dist/payio/payload/interfaces/i-payload.d.ts +2 -0
- package/dist/payio/payload/interfaces/index.d.ts +1 -0
- package/dist/payio/schedules/entities/index.d.ts +2 -0
- package/dist/payio/schedules/entities/index.js +5 -1
- package/dist/payio/schedules/entities/schedule-day.entity.d.ts +7 -0
- package/dist/payio/schedules/entities/schedule-day.entity.js +21 -0
- package/dist/payio/schedules/entities/schedule-product.entity.d.ts +13 -0
- package/dist/payio/schedules/entities/schedule-product.entity.js +28 -0
- package/dist/payio/schedules/entities/schedule-slot.entity.d.ts +1 -1
- package/dist/payio/schedules/entities/schedule-slot.entity.js +1 -1
- package/dist/payio/schedules/entities/schedule.entity.d.ts +4 -3
- package/dist/payio/schedules/entities/schedule.entity.js +6 -4
- package/dist/payio/schedules/interfaces/i-schedule-day.d.ts +5 -0
- package/dist/payio/schedules/interfaces/i-schedule-day.js +2 -0
- package/dist/payio/schedules/interfaces/i-schedule-product.d.ts +11 -0
- package/dist/payio/schedules/interfaces/i-schedule-product.js +2 -0
- package/dist/payio/schedules/interfaces/{i-schedule-slot.d.ts → i-schedule-slots.d.ts} +1 -1
- package/dist/payio/schedules/interfaces/i-schedule-slots.js +2 -0
- package/dist/payio/schedules/interfaces/i-schedule.d.ts +5 -2
- package/dist/payio/schedules/interfaces/index.d.ts +3 -1
- package/dist/payio/subscriptions/entities/subscription.entity.d.ts +1 -0
- package/dist/payio/subscriptions/entities/subscription.entity.js +1 -0
- package/dist/payio/subscriptions/interfaces/i-subscription.d.ts +1 -0
- package/package.json +1 -1
- package/dist/esm2022/payio/schedules/interfaces/i-schedule-slot.mjs +0 -2
- /package/dist/payio/{schedules/interfaces/i-schedule-slot.js → activation-key/interfaces/i-activation-key.js} +0 -0
package/dist/package.json
CHANGED
@@ -0,0 +1,16 @@
|
|
1
|
+
import { IPayioActivationKey } from '../interfaces/i-activation-key';
|
2
|
+
export declare class PayioActivationKeyEntity implements IPayioActivationKey {
|
3
|
+
activationDate: Date | null;
|
4
|
+
createdAt: Date;
|
5
|
+
createdBy: string | null;
|
6
|
+
distributorId: string | null;
|
7
|
+
expirationDate: Date | null;
|
8
|
+
id: string;
|
9
|
+
key: string;
|
10
|
+
planId: string | null;
|
11
|
+
status: 'active' | 'used' | 'expired';
|
12
|
+
subscriptionId: string | null;
|
13
|
+
usageLimit: number;
|
14
|
+
usedCount: number;
|
15
|
+
constructor(data?: Partial<PayioActivationKeyEntity>);
|
16
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioActivationKeyEntity = void 0;
|
4
|
+
var PayioActivationKeyEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (12)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PayioActivationKeyEntity(data) {
|
8
|
+
// #region Properties (12)
|
9
|
+
this.activationDate = null;
|
10
|
+
this.createdAt = new Date();
|
11
|
+
this.createdBy = null;
|
12
|
+
this.distributorId = null;
|
13
|
+
this.expirationDate = null;
|
14
|
+
this.id = '';
|
15
|
+
this.key = '';
|
16
|
+
this.planId = null;
|
17
|
+
this.status = 'active';
|
18
|
+
this.subscriptionId = null;
|
19
|
+
this.usageLimit = 0;
|
20
|
+
this.usedCount = 0;
|
21
|
+
if (data) {
|
22
|
+
for (var key in data) {
|
23
|
+
if (data.hasOwnProperty(key) && key in this) {
|
24
|
+
this[key] = data[key];
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
return PayioActivationKeyEntity;
|
30
|
+
}());
|
31
|
+
exports.PayioActivationKeyEntity = PayioActivationKeyEntity;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { PayioActivationKeyEntity } from './activation-key.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioActivationKeyEntity = void 0;
|
4
|
+
var activation_key_entity_1 = require("./activation-key.entity");
|
5
|
+
Object.defineProperty(exports, "PayioActivationKeyEntity", { enumerable: true, get: function () { return activation_key_entity_1.PayioActivationKeyEntity; } });
|
@@ -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,14 @@
|
|
1
|
+
export interface IPayioActivationKey {
|
2
|
+
activationDate: Date | null;
|
3
|
+
createdAt: Date;
|
4
|
+
createdBy: string | null;
|
5
|
+
distributorId: string | null;
|
6
|
+
expirationDate: Date | null;
|
7
|
+
id: string;
|
8
|
+
key: string;
|
9
|
+
planId: string | null;
|
10
|
+
subscriptionId: string | null;
|
11
|
+
status: 'active' | 'used' | 'expired';
|
12
|
+
usageLimit: number;
|
13
|
+
usedCount: number;
|
14
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IPayioActivationKey } from './i-activation-key';
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { EDocType, IPaymentProvider } from '../../../general';
|
2
|
+
import { PayioAddressEntity } from '../../company';
|
3
|
+
import { IPayioDistributor } from '../interfaces/i-distributor';
|
4
|
+
export declare class PayioDistributorEntity implements IPayioDistributor {
|
5
|
+
active: boolean;
|
6
|
+
address: PayioAddressEntity;
|
7
|
+
containerId: string;
|
8
|
+
createdAt: Date;
|
9
|
+
doc: string;
|
10
|
+
docType: EDocType;
|
11
|
+
email: string;
|
12
|
+
fullName: string;
|
13
|
+
id: string;
|
14
|
+
imageUrl: string | null;
|
15
|
+
internationalCode: string;
|
16
|
+
logoUrl: string | null;
|
17
|
+
name: string;
|
18
|
+
paymentProvider: IPaymentProvider | null;
|
19
|
+
phoneNumber: string;
|
20
|
+
sandbox: boolean;
|
21
|
+
tags: string[];
|
22
|
+
updatedAt: Date;
|
23
|
+
version: string;
|
24
|
+
constructor(data?: Partial<PayioDistributorEntity>);
|
25
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioDistributorEntity = void 0;
|
4
|
+
var general_1 = require("../../../general");
|
5
|
+
var company_1 = require("../../company");
|
6
|
+
var PayioDistributorEntity = /** @class */ (function () {
|
7
|
+
// #endregion Properties (19)
|
8
|
+
// #region Constructors (1)
|
9
|
+
function PayioDistributorEntity(data) {
|
10
|
+
// #region Properties (19)
|
11
|
+
this.active = false;
|
12
|
+
this.address = new company_1.PayioAddressEntity();
|
13
|
+
this.containerId = '';
|
14
|
+
this.createdAt = new Date();
|
15
|
+
this.doc = '';
|
16
|
+
this.docType = general_1.EDocType.CNPJ;
|
17
|
+
this.email = '';
|
18
|
+
this.fullName = '';
|
19
|
+
this.id = '';
|
20
|
+
this.imageUrl = null;
|
21
|
+
this.internationalCode = '55';
|
22
|
+
this.logoUrl = null;
|
23
|
+
this.name = '';
|
24
|
+
this.paymentProvider = null;
|
25
|
+
this.phoneNumber = '';
|
26
|
+
this.sandbox = false;
|
27
|
+
this.tags = [];
|
28
|
+
this.updatedAt = new Date();
|
29
|
+
this.version = '';
|
30
|
+
if (data) {
|
31
|
+
for (var key in data) {
|
32
|
+
if (data.hasOwnProperty(key) && key in this) {
|
33
|
+
this[key] = data[key];
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
return PayioDistributorEntity;
|
39
|
+
}());
|
40
|
+
exports.PayioDistributorEntity = PayioDistributorEntity;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { PayioDistributorEntity } from './distributor.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioDistributorEntity = void 0;
|
4
|
+
var distributor_entity_1 = require("./distributor.entity");
|
5
|
+
Object.defineProperty(exports, "PayioDistributorEntity", { enumerable: true, get: function () { return distributor_entity_1.PayioDistributorEntity; } });
|
@@ -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,24 @@
|
|
1
|
+
import { EDocType } from '../../../general/enums/doc-type.enum';
|
2
|
+
import { IPaymentProvider } from '../../../general/interfaces/i-payment-provider';
|
3
|
+
import { IPayioAddress } from '../../company';
|
4
|
+
export interface IPayioDistributor {
|
5
|
+
active: boolean;
|
6
|
+
address: IPayioAddress;
|
7
|
+
containerId: string;
|
8
|
+
createdAt: Date;
|
9
|
+
doc: string;
|
10
|
+
docType: EDocType;
|
11
|
+
email: string;
|
12
|
+
fullName: string;
|
13
|
+
id: string;
|
14
|
+
imageUrl: string | null;
|
15
|
+
internationalCode: string;
|
16
|
+
logoUrl: string | null;
|
17
|
+
name: string;
|
18
|
+
paymentProvider: IPaymentProvider | null;
|
19
|
+
phoneNumber: string;
|
20
|
+
sandbox: boolean;
|
21
|
+
tags: string[];
|
22
|
+
updatedAt: Date;
|
23
|
+
version: string;
|
24
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IPayioDistributor } from './i-distributor';
|
package/dist/payio/index.d.ts
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
+
export * from './activation-key';
|
1
2
|
export * from './app';
|
2
3
|
export * from './chef-config';
|
3
4
|
export * from './company';
|
4
5
|
export * from './device';
|
6
|
+
export * from './distributors';
|
5
7
|
export * from './features';
|
6
8
|
export * from './global-products';
|
7
9
|
export * from './orders';
|
package/dist/payio/index.js
CHANGED
@@ -14,10 +14,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./activation-key"), exports);
|
17
18
|
__exportStar(require("./app"), exports);
|
18
19
|
__exportStar(require("./chef-config"), exports);
|
19
20
|
__exportStar(require("./company"), exports);
|
20
21
|
__exportStar(require("./device"), exports);
|
22
|
+
__exportStar(require("./distributors"), exports);
|
21
23
|
__exportStar(require("./features"), exports);
|
22
24
|
__exportStar(require("./global-products"), exports);
|
23
25
|
__exportStar(require("./orders"), exports);
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export { PayioJwtPayloadAppEntity } from './payload-app.entity';
|
2
2
|
export { PayioJwtPayloadDeviceEntity } from './payload-device.entity';
|
3
3
|
export { PayioJwtPayloadInfoEntity } from './payload-info.entity';
|
4
|
+
export { PayioJwtPayloadScheduleEntity } from './payload-schedule.entity';
|
4
5
|
export { PayioJwtPayloadSubscriptionEntity } from './payload-subscription.entity';
|
5
6
|
export { PayioJwtPayloadUserEntity } from './payload-user.entity';
|
6
7
|
export { PayioJwtPayloadEntity } from './payload.entity';
|
@@ -1,12 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PayioJwtPayloadEntity = exports.PayioJwtPayloadUserEntity = exports.PayioJwtPayloadSubscriptionEntity = exports.PayioJwtPayloadInfoEntity = exports.PayioJwtPayloadDeviceEntity = exports.PayioJwtPayloadAppEntity = void 0;
|
3
|
+
exports.PayioJwtPayloadEntity = exports.PayioJwtPayloadUserEntity = exports.PayioJwtPayloadSubscriptionEntity = exports.PayioJwtPayloadScheduleEntity = exports.PayioJwtPayloadInfoEntity = exports.PayioJwtPayloadDeviceEntity = exports.PayioJwtPayloadAppEntity = void 0;
|
4
4
|
var payload_app_entity_1 = require("./payload-app.entity");
|
5
5
|
Object.defineProperty(exports, "PayioJwtPayloadAppEntity", { enumerable: true, get: function () { return payload_app_entity_1.PayioJwtPayloadAppEntity; } });
|
6
6
|
var payload_device_entity_1 = require("./payload-device.entity");
|
7
7
|
Object.defineProperty(exports, "PayioJwtPayloadDeviceEntity", { enumerable: true, get: function () { return payload_device_entity_1.PayioJwtPayloadDeviceEntity; } });
|
8
8
|
var payload_info_entity_1 = require("./payload-info.entity");
|
9
9
|
Object.defineProperty(exports, "PayioJwtPayloadInfoEntity", { enumerable: true, get: function () { return payload_info_entity_1.PayioJwtPayloadInfoEntity; } });
|
10
|
+
var payload_schedule_entity_1 = require("./payload-schedule.entity");
|
11
|
+
Object.defineProperty(exports, "PayioJwtPayloadScheduleEntity", { enumerable: true, get: function () { return payload_schedule_entity_1.PayioJwtPayloadScheduleEntity; } });
|
10
12
|
var payload_subscription_entity_1 = require("./payload-subscription.entity");
|
11
13
|
Object.defineProperty(exports, "PayioJwtPayloadSubscriptionEntity", { enumerable: true, get: function () { return payload_subscription_entity_1.PayioJwtPayloadSubscriptionEntity; } });
|
12
14
|
var payload_user_entity_1 = require("./payload-user.entity");
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioJwtPayloadScheduleEntity = void 0;
|
4
|
+
var PayioJwtPayloadScheduleEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (3)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PayioJwtPayloadScheduleEntity(data) {
|
8
|
+
// #region Properties (3)
|
9
|
+
this.id = '';
|
10
|
+
this.name = '';
|
11
|
+
if (data) {
|
12
|
+
for (var key in data) {
|
13
|
+
if (data.hasOwnProperty(key) && key in this) {
|
14
|
+
this[key] = data[key];
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
return PayioJwtPayloadScheduleEntity;
|
20
|
+
}());
|
21
|
+
exports.PayioJwtPayloadScheduleEntity = PayioJwtPayloadScheduleEntity;
|
@@ -3,6 +3,7 @@ import { IPayioJwtPayload } from '../interfaces/i-payload';
|
|
3
3
|
import { IPayioJwtPayloadApp } from '../interfaces/i-payload-app';
|
4
4
|
import { IPayioJwtPayloadInfo } from '../interfaces/i-payload-info';
|
5
5
|
import { PayioJwtPayloadDeviceEntity } from './payload-device.entity';
|
6
|
+
import { PayioJwtPayloadScheduleEntity } from './payload-schedule.entity';
|
6
7
|
import { PayioJwtPayloadSubscriptionEntity } from './payload-subscription.entity';
|
7
8
|
import { PayioJwtPayloadUserEntity } from './payload-user.entity';
|
8
9
|
export declare class PayioJwtPayloadEntity implements IPayioJwtPayload {
|
@@ -15,6 +16,7 @@ export declare class PayioJwtPayloadEntity implements IPayioJwtPayload {
|
|
15
16
|
iss: string;
|
16
17
|
jti: string;
|
17
18
|
permissions: PayioPermissionRoleEntity[];
|
19
|
+
schedule: PayioJwtPayloadScheduleEntity | null;
|
18
20
|
sub: string;
|
19
21
|
subscription: PayioJwtPayloadSubscriptionEntity | null;
|
20
22
|
type: string | null;
|
@@ -2,10 +2,10 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PayioJwtPayloadEntity = void 0;
|
4
4
|
var PayioJwtPayloadEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (
|
5
|
+
// #endregion Properties (14)
|
6
6
|
// #region Constructors (1)
|
7
7
|
function PayioJwtPayloadEntity(data) {
|
8
|
-
// #region Properties (
|
8
|
+
// #region Properties (14)
|
9
9
|
this.app = null;
|
10
10
|
this.aud = '';
|
11
11
|
this.device = null;
|
@@ -15,6 +15,7 @@ var PayioJwtPayloadEntity = /** @class */ (function () {
|
|
15
15
|
this.iss = '';
|
16
16
|
this.jti = '';
|
17
17
|
this.permissions = [];
|
18
|
+
this.schedule = null;
|
18
19
|
this.sub = '';
|
19
20
|
this.subscription = null;
|
20
21
|
this.type = null;
|
@@ -2,6 +2,7 @@ import { IPayioPermissionRole } from '../../permissions/interfaces/i-permission-
|
|
2
2
|
import { IPayioJwtPayloadApp } from './i-payload-app';
|
3
3
|
import { IPayioJwtPayloadDevice } from './i-payload-device';
|
4
4
|
import { IPayioJwtPayloadInfo } from './i-payload-info';
|
5
|
+
import { IPayioJwtPayloadSchedule } from './i-payload-schedule';
|
5
6
|
import { IPayioJwtPayloadSubscription } from './i-payload-subscription';
|
6
7
|
import { IPayioJwtPayloadUser } from './i-payload-user';
|
7
8
|
export interface IPayioJwtPayload {
|
@@ -26,6 +27,7 @@ export interface IPayioJwtPayload {
|
|
26
27
|
iss: string;
|
27
28
|
jti: string;
|
28
29
|
permissions: IPayioPermissionRole[];
|
30
|
+
schedule: IPayioJwtPayloadSchedule | null;
|
29
31
|
sub: string;
|
30
32
|
subscription: IPayioJwtPayloadSubscription | null;
|
31
33
|
type: string | null;
|
@@ -2,5 +2,6 @@ export { IPayioJwtPayload } from './i-payload';
|
|
2
2
|
export { IPayioJwtPayloadApp } from './i-payload-app';
|
3
3
|
export { IPayioJwtPayloadDevice } from './i-payload-device';
|
4
4
|
export { IPayioJwtPayloadInfo } from './i-payload-info';
|
5
|
+
export { IPayioJwtPayloadSchedule } from './i-payload-schedule';
|
5
6
|
export { IPayioJwtPayloadSubscription } from './i-payload-subscription';
|
6
7
|
export { IPayioJwtPayloadUser } from './i-payload-user';
|
@@ -1,6 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PayioScheduleEntity = exports.PayioScheduleSlotEntity = void 0;
|
3
|
+
exports.PayioScheduleEntity = exports.PayioScheduleSlotEntity = exports.PayioScheduleProductEntity = exports.PayioScheduleDayEntity = void 0;
|
4
|
+
var schedule_day_entity_1 = require("./schedule-day.entity");
|
5
|
+
Object.defineProperty(exports, "PayioScheduleDayEntity", { enumerable: true, get: function () { return schedule_day_entity_1.PayioScheduleDayEntity; } });
|
6
|
+
var schedule_product_entity_1 = require("./schedule-product.entity");
|
7
|
+
Object.defineProperty(exports, "PayioScheduleProductEntity", { enumerable: true, get: function () { return schedule_product_entity_1.PayioScheduleProductEntity; } });
|
4
8
|
var schedule_slot_entity_1 = require("./schedule-slot.entity");
|
5
9
|
Object.defineProperty(exports, "PayioScheduleSlotEntity", { enumerable: true, get: function () { return schedule_slot_entity_1.PayioScheduleSlotEntity; } });
|
6
10
|
var schedule_entity_1 = require("./schedule.entity");
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { IPayioScheduleSlot } from '../interfaces';
|
2
|
+
import { IPayioScheduleDay } from '../interfaces/i-schedule-day';
|
3
|
+
export declare class PayioScheduleDayEntity implements IPayioScheduleDay {
|
4
|
+
day: string;
|
5
|
+
slots: IPayioScheduleSlot[];
|
6
|
+
constructor(data?: Partial<PayioScheduleDayEntity>);
|
7
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioScheduleDayEntity = void 0;
|
4
|
+
var PayioScheduleDayEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PayioScheduleDayEntity(data) {
|
8
|
+
// #region Properties (2)
|
9
|
+
this.day = '';
|
10
|
+
this.slots = [];
|
11
|
+
if (data) {
|
12
|
+
for (var key in data) {
|
13
|
+
if (data.hasOwnProperty(key) && key in this) {
|
14
|
+
this[key] = data[key];
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
return PayioScheduleDayEntity;
|
20
|
+
}());
|
21
|
+
exports.PayioScheduleDayEntity = PayioScheduleDayEntity;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { IPayioScheduleProduct } from '../interfaces/i-schedule-product';
|
2
|
+
export declare class PayioScheduleProductEntity implements IPayioScheduleProduct {
|
3
|
+
code: string;
|
4
|
+
description: string;
|
5
|
+
id: string;
|
6
|
+
maxWeightLimit: number;
|
7
|
+
price: number;
|
8
|
+
unit: string;
|
9
|
+
weightLimitExceededMessageId: number;
|
10
|
+
weightLimitExceededMessageText: string;
|
11
|
+
weightLimitExceededPrice: number;
|
12
|
+
constructor(data?: Partial<PayioScheduleProductEntity>);
|
13
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioScheduleProductEntity = void 0;
|
4
|
+
var PayioScheduleProductEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (9)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PayioScheduleProductEntity(data) {
|
8
|
+
// #region Properties (9)
|
9
|
+
this.code = '';
|
10
|
+
this.description = '';
|
11
|
+
this.id = '';
|
12
|
+
this.maxWeightLimit = 0;
|
13
|
+
this.price = 0;
|
14
|
+
this.unit = 'KG';
|
15
|
+
this.weightLimitExceededMessageId = 0;
|
16
|
+
this.weightLimitExceededMessageText = '';
|
17
|
+
this.weightLimitExceededPrice = 0;
|
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 PayioScheduleProductEntity;
|
27
|
+
}());
|
28
|
+
exports.PayioScheduleProductEntity = PayioScheduleProductEntity;
|
@@ -7,7 +7,7 @@ var PayioScheduleSlotEntity = /** @class */ (function () {
|
|
7
7
|
function PayioScheduleSlotEntity(data) {
|
8
8
|
// #region Properties (2)
|
9
9
|
this.productCode = '';
|
10
|
-
this.
|
10
|
+
this.time = '';
|
11
11
|
if (data) {
|
12
12
|
for (var key in data) {
|
13
13
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -1,10 +1,11 @@
|
|
1
|
-
import { IPayioSchedule } from '../interfaces';
|
2
|
-
import { PayioScheduleSlotEntity } from './schedule-slot.entity';
|
1
|
+
import { IPayioSchedule, IPayioScheduleDay, IPayioScheduleProduct } from '../interfaces';
|
3
2
|
export declare class PayioScheduleEntity implements IPayioSchedule {
|
4
3
|
active: boolean;
|
5
4
|
createdAt: Date;
|
5
|
+
days: IPayioScheduleDay[];
|
6
6
|
id: string;
|
7
|
-
|
7
|
+
name: string;
|
8
|
+
products: IPayioScheduleProduct[];
|
8
9
|
updatedAt: Date;
|
9
10
|
constructor(data?: Partial<PayioScheduleEntity>);
|
10
11
|
}
|
@@ -2,14 +2,16 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PayioScheduleEntity = void 0;
|
4
4
|
var PayioScheduleEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (
|
5
|
+
// #endregion Properties (7)
|
6
6
|
// #region Constructors (1)
|
7
7
|
function PayioScheduleEntity(data) {
|
8
|
-
// #region Properties (
|
8
|
+
// #region Properties (7)
|
9
9
|
this.active = true;
|
10
10
|
this.createdAt = new Date();
|
11
|
-
this.
|
12
|
-
this.
|
11
|
+
this.days = [];
|
12
|
+
this.id = '';
|
13
|
+
this.name = '';
|
14
|
+
this.products = [];
|
13
15
|
this.updatedAt = new Date();
|
14
16
|
if (data) {
|
15
17
|
for (var key in data) {
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export interface IPayioScheduleProduct {
|
2
|
+
code: string;
|
3
|
+
description: string;
|
4
|
+
id: string;
|
5
|
+
maxWeightLimit: number;
|
6
|
+
weightLimitExceededMessageId: number;
|
7
|
+
weightLimitExceededPrice: number;
|
8
|
+
weightLimitExceededMessageText: string;
|
9
|
+
price: number;
|
10
|
+
unit: string;
|
11
|
+
}
|
@@ -1,8 +1,11 @@
|
|
1
|
-
import {
|
1
|
+
import { IPayioScheduleDay } from './i-schedule-day';
|
2
|
+
import { IPayioScheduleProduct } from './i-schedule-product';
|
2
3
|
export interface IPayioSchedule {
|
3
4
|
active: boolean;
|
4
5
|
createdAt: Date;
|
5
|
-
|
6
|
+
days: IPayioScheduleDay[];
|
7
|
+
products: IPayioScheduleProduct[];
|
6
8
|
id: string;
|
9
|
+
name: string;
|
7
10
|
updatedAt: Date;
|
8
11
|
}
|
@@ -1,2 +1,4 @@
|
|
1
1
|
export { IPayioSchedule } from './i-schedule';
|
2
|
-
export {
|
2
|
+
export { IPayioScheduleDay } from './i-schedule-day';
|
3
|
+
export { IPayioScheduleSlot } from './i-schedule-slots';
|
4
|
+
export { IPayioScheduleProduct } from './i-schedule-product';
|
@@ -5,6 +5,7 @@ import { PayioSubscriptionActiveDeviceEntity } from './subscription-active-devic
|
|
5
5
|
import { PayioSubscriptionLogEntity } from './subscription-log.entity';
|
6
6
|
import { PayioSubscriptionSeatEntity } from './subscription-seat.entity';
|
7
7
|
export declare class PayioSubscriptionEntity implements IPayioSubscription {
|
8
|
+
activationKey: string | null;
|
8
9
|
activeDevices: PayioSubscriptionActiveDeviceEntity[];
|
9
10
|
amount: number;
|
10
11
|
cancellationReason: string;
|