cecon-interfaces 1.2.86 → 1.2.88
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app/entities/desenfila-fee.entity.d.ts +7 -0
- package/dist/app/entities/desenfila-fee.entity.js +22 -0
- package/dist/app/entities/desenfila.entity.d.ts +5 -1
- package/dist/app/entities/desenfila.entity.js +6 -2
- package/dist/app/entities/index.d.ts +1 -0
- package/dist/app/entities/index.js +3 -1
- package/dist/app/interfaces/i-desenfila-fee.d.ts +5 -0
- package/dist/app/interfaces/i-desenfila-fee.js +2 -0
- package/dist/app/interfaces/i-desenfila.d.ts +5 -0
- package/dist/app/interfaces/index.d.ts +1 -0
- package/dist/esm2022/app/entities/desenfila-fee.entity.mjs +18 -0
- package/dist/esm2022/app/entities/desenfila.entity.mjs +7 -3
- package/dist/esm2022/app/entities/index.mjs +2 -1
- package/dist/esm2022/app/interfaces/i-desenfila-fee.mjs +2 -0
- package/dist/esm2022/app/interfaces/i-desenfila.mjs +1 -1
- package/dist/esm2022/app/interfaces/index.mjs +1 -1
- package/dist/esm2022/general/enums/desenfila-from.enum.mjs +4 -1
- package/dist/esm2022/order/entities/order.entity.mjs +3 -3
- package/dist/esm2022/order/interfaces/i-additional-fee.mjs +1 -1
- package/dist/esm2022/order/interfaces/i-order.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +28 -5
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/enums/desenfila-from.enum.d.ts +4 -1
- package/dist/general/enums/desenfila-from.enum.js +3 -0
- package/dist/order/entities/order.entity.d.ts +2 -0
- package/dist/order/entities/order.entity.js +2 -2
- package/dist/order/interfaces/i-additional-fee.d.ts +2 -1
- package/dist/order/interfaces/i-order.d.ts +2 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -0,0 +1,7 @@
|
|
1
|
+
import { EDesenfilaFrom } from '../../general';
|
2
|
+
import { IDesenfilaFee } from '../interfaces/i-desenfila-fee';
|
3
|
+
export declare class DesenfilaFeeEntity implements IDesenfilaFee {
|
4
|
+
type: EDesenfilaFrom;
|
5
|
+
value: number;
|
6
|
+
constructor(data?: Partial<DesenfilaFeeEntity>);
|
7
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DesenfilaFeeEntity = void 0;
|
4
|
+
var general_1 = require("../../general");
|
5
|
+
var DesenfilaFeeEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (2)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function DesenfilaFeeEntity(data) {
|
9
|
+
// #region Properties (2)
|
10
|
+
this.type = general_1.EDesenfilaFrom.DEFAULT;
|
11
|
+
this.value = 0.0099;
|
12
|
+
if (data) {
|
13
|
+
for (var key in data) {
|
14
|
+
if (data.hasOwnProperty(key) && key in this) {
|
15
|
+
this[key] = data[key];
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
return DesenfilaFeeEntity;
|
21
|
+
}());
|
22
|
+
exports.DesenfilaFeeEntity = DesenfilaFeeEntity;
|
@@ -1,9 +1,13 @@
|
|
1
|
-
import { IDesenfila } from '../interfaces';
|
1
|
+
import { IDesenfila, IDesenfilaFee } from '../interfaces';
|
2
2
|
import { DesenfilaConfigEntity } from './desenfila-config.entity';
|
3
3
|
import { DesenfilaTokenEntity } from './desenfila-token.entity';
|
4
4
|
export declare class DesenfilaEntity implements IDesenfila {
|
5
|
+
balance: number;
|
6
|
+
blockedBalance: number;
|
5
7
|
config: DesenfilaConfigEntity | null;
|
6
8
|
containerId: string;
|
9
|
+
fees: IDesenfilaFee[];
|
10
|
+
goLive: boolean;
|
7
11
|
merchantId: string;
|
8
12
|
token: DesenfilaTokenEntity | null;
|
9
13
|
constructor(data?: Partial<DesenfilaEntity>);
|
@@ -2,12 +2,16 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.DesenfilaEntity = void 0;
|
4
4
|
var DesenfilaEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (
|
5
|
+
// #endregion Properties (8)
|
6
6
|
// #region Constructors (1)
|
7
7
|
function DesenfilaEntity(data) {
|
8
|
-
// #region Properties (
|
8
|
+
// #region Properties (8)
|
9
|
+
this.balance = 0;
|
10
|
+
this.blockedBalance = 0;
|
9
11
|
this.config = null;
|
10
12
|
this.containerId = '';
|
13
|
+
this.fees = [];
|
14
|
+
this.goLive = false;
|
11
15
|
this.merchantId = '';
|
12
16
|
this.token = null;
|
13
17
|
if (data) {
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export { AppEntity } from './app.entity';
|
2
2
|
export { DesenfilaConfigMercadoPagoEntity } from './desenfila-config-mepa.entity';
|
3
3
|
export { DesenfilaConfigEntity } from './desenfila-config.entity';
|
4
|
+
export { DesenfilaFeeEntity } from './desenfila-fee.entity';
|
4
5
|
export { DesenfilaTokenEntity } from './desenfila-token.entity';
|
5
6
|
export { DesenfilaEntity } from './desenfila.entity';
|
6
7
|
export { NatiWaEntity } from './nati-wa.entity';
|
@@ -1,12 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.RabbitEntity = exports.NatiGoEntity = exports.NatiWaEntity = exports.DesenfilaEntity = exports.DesenfilaTokenEntity = exports.DesenfilaConfigEntity = exports.DesenfilaConfigMercadoPagoEntity = exports.AppEntity = void 0;
|
3
|
+
exports.RabbitEntity = exports.NatiGoEntity = exports.NatiWaEntity = exports.DesenfilaEntity = exports.DesenfilaTokenEntity = exports.DesenfilaFeeEntity = exports.DesenfilaConfigEntity = exports.DesenfilaConfigMercadoPagoEntity = exports.AppEntity = void 0;
|
4
4
|
var app_entity_1 = require("./app.entity");
|
5
5
|
Object.defineProperty(exports, "AppEntity", { enumerable: true, get: function () { return app_entity_1.AppEntity; } });
|
6
6
|
var desenfila_config_mepa_entity_1 = require("./desenfila-config-mepa.entity");
|
7
7
|
Object.defineProperty(exports, "DesenfilaConfigMercadoPagoEntity", { enumerable: true, get: function () { return desenfila_config_mepa_entity_1.DesenfilaConfigMercadoPagoEntity; } });
|
8
8
|
var desenfila_config_entity_1 = require("./desenfila-config.entity");
|
9
9
|
Object.defineProperty(exports, "DesenfilaConfigEntity", { enumerable: true, get: function () { return desenfila_config_entity_1.DesenfilaConfigEntity; } });
|
10
|
+
var desenfila_fee_entity_1 = require("./desenfila-fee.entity");
|
11
|
+
Object.defineProperty(exports, "DesenfilaFeeEntity", { enumerable: true, get: function () { return desenfila_fee_entity_1.DesenfilaFeeEntity; } });
|
10
12
|
var desenfila_token_entity_1 = require("./desenfila-token.entity");
|
11
13
|
Object.defineProperty(exports, "DesenfilaTokenEntity", { enumerable: true, get: function () { return desenfila_token_entity_1.DesenfilaTokenEntity; } });
|
12
14
|
var desenfila_entity_1 = require("./desenfila.entity");
|
@@ -1,8 +1,13 @@
|
|
1
1
|
import { IDesenfilaConfig } from './i-desenfila-config';
|
2
|
+
import { IDesenfilaFee } from './i-desenfila-fee';
|
2
3
|
import { IDesenfilaToken } from './i-desenfila-token';
|
3
4
|
export interface IDesenfila {
|
4
5
|
containerId: string;
|
5
6
|
merchantId: string;
|
6
7
|
token: IDesenfilaToken | null;
|
8
|
+
balance: number;
|
9
|
+
blockedBalance: number;
|
10
|
+
goLive: boolean;
|
11
|
+
fees: IDesenfilaFee[];
|
7
12
|
config: IDesenfilaConfig | null;
|
8
13
|
}
|
@@ -2,6 +2,7 @@ export { IApp } from './i-app';
|
|
2
2
|
export { IDesenfila } from './i-desenfila';
|
3
3
|
export { IDesenfilaConfig } from './i-desenfila-config';
|
4
4
|
export { IDesenfilaConfigMercadoPago } from './i-desenfila-config-mepa';
|
5
|
+
export { IDesenfilaFee } from './i-desenfila-fee';
|
5
6
|
export { IDesenfilaToken } from './i-desenfila-token';
|
6
7
|
export { INatiWa } from './i-nati-wa';
|
7
8
|
export { INatigo } from './i-natigo';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { EDesenfilaFrom } from '../../general';
|
2
|
+
export class DesenfilaFeeEntity {
|
3
|
+
// #region Properties (2)
|
4
|
+
type = EDesenfilaFrom.DEFAULT;
|
5
|
+
value = 0.0099;
|
6
|
+
// #endregion Properties (2)
|
7
|
+
// #region Constructors (1)
|
8
|
+
constructor(data) {
|
9
|
+
if (data) {
|
10
|
+
for (let key in data) {
|
11
|
+
if (data.hasOwnProperty(key) && key in this) {
|
12
|
+
this[key] = data[key];
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzZW5maWxhLWZlZS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2VudGl0aWVzL2Rlc2VuZmlsYS1mZWUuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHL0MsTUFBTSxPQUFPLGtCQUFrQjtJQUM3Qix5QkFBeUI7SUFFbEIsSUFBSSxHQUFtQixjQUFjLENBQUMsT0FBTyxDQUFDO0lBQzlDLEtBQUssR0FBVyxNQUFNLENBQUM7SUFFOUIsNEJBQTRCO0lBRTVCLDJCQUEyQjtJQUUzQixZQUFZLElBQWtDO1FBQzVDLElBQUksSUFBSSxFQUFFO1lBQ1IsS0FBSyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7Z0JBQ3BCLElBQUksSUFBSSxDQUFDLGNBQWMsQ0FBQyxHQUFHLENBQUMsSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO29CQUMxQyxJQUFZLENBQUMsR0FBRyxDQUFDLEdBQUksSUFBWSxDQUFDLEdBQUcsQ0FBQyxDQUFDO2lCQUN6QzthQUNGO1NBQ0Y7SUFDSCxDQUFDO0NBR0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBFRGVzZW5maWxhRnJvbSB9IGZyb20gJy4uLy4uL2dlbmVyYWwnO1xuaW1wb3J0IHsgSURlc2VuZmlsYUZlZSB9IGZyb20gJy4uL2ludGVyZmFjZXMvaS1kZXNlbmZpbGEtZmVlJztcblxuZXhwb3J0IGNsYXNzIERlc2VuZmlsYUZlZUVudGl0eSBpbXBsZW1lbnRzIElEZXNlbmZpbGFGZWUge1xuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDIpXG5cbiAgcHVibGljIHR5cGU6IEVEZXNlbmZpbGFGcm9tID0gRURlc2VuZmlsYUZyb20uREVGQVVMVDtcbiAgcHVibGljIHZhbHVlOiBudW1iZXIgPSAwLjAwOTk7XG5cbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgyKVxuXG4gIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxuXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPERlc2VuZmlsYUZlZUVudGl0eT4pIHtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -1,10 +1,14 @@
|
|
1
1
|
export class DesenfilaEntity {
|
2
|
-
// #region Properties (
|
2
|
+
// #region Properties (8)
|
3
|
+
balance = 0;
|
4
|
+
blockedBalance = 0;
|
3
5
|
config = null;
|
4
6
|
containerId = '';
|
7
|
+
fees = [];
|
8
|
+
goLive = false;
|
5
9
|
merchantId = '';
|
6
10
|
token = null;
|
7
|
-
// #endregion Properties (
|
11
|
+
// #endregion Properties (8)
|
8
12
|
// #region Constructors (1)
|
9
13
|
constructor(data) {
|
10
14
|
if (data) {
|
@@ -16,4 +20,4 @@ export class DesenfilaEntity {
|
|
16
20
|
}
|
17
21
|
}
|
18
22
|
}
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzZW5maWxhLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9hcHAvZW50aXRpZXMvZGVzZW5maWxhLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJQSxNQUFNLE9BQU8sZUFBZTtJQUMxQix5QkFBeUI7SUFFbEIsT0FBTyxHQUFXLENBQUMsQ0FBQztJQUNwQixjQUFjLEdBQVcsQ0FBQyxDQUFDO0lBQzNCLE1BQU0sR0FBaUMsSUFBSSxDQUFDO0lBQzVDLFdBQVcsR0FBVyxFQUFFLENBQUM7SUFDekIsSUFBSSxHQUFvQixFQUFFLENBQUM7SUFDM0IsTUFBTSxHQUFZLEtBQUssQ0FBQztJQUN4QixVQUFVLEdBQVcsRUFBRSxDQUFDO0lBQ3hCLEtBQUssR0FBZ0MsSUFBSSxDQUFDO0lBRWpELDRCQUE0QjtJQUU1QiwyQkFBMkI7SUFFM0IsWUFBWSxJQUErQjtRQUN6QyxJQUFJLElBQUksRUFBRTtZQUNSLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNwQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtvQkFDMUMsSUFBWSxDQUFDLEdBQUcsQ0FBQyxHQUFJLElBQVksQ0FBQyxHQUFHLENBQUMsQ0FBQztpQkFDekM7YUFDRjtTQUNGO0lBQ0gsQ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dGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -1,9 +1,10 @@
|
|
1
1
|
export { AppEntity } from './app.entity';
|
2
2
|
export { DesenfilaConfigMercadoPagoEntity } from './desenfila-config-mepa.entity';
|
3
3
|
export { DesenfilaConfigEntity } from './desenfila-config.entity';
|
4
|
+
export { DesenfilaFeeEntity } from './desenfila-fee.entity';
|
4
5
|
export { DesenfilaTokenEntity } from './desenfila-token.entity';
|
5
6
|
export { DesenfilaEntity } from './desenfila.entity';
|
6
7
|
export { NatiWaEntity } from './nati-wa.entity';
|
7
8
|
export { NatiGoEntity } from './natigo.entity';
|
8
9
|
export { RabbitEntity } from './rabbit.entity';
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2VudGl0aWVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDekMsT0FBTyxFQUFFLGdDQUFnQyxFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFDbEYsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDbEUsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDNUQsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDaEU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LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2FwcC9pbnRlcmZhY2VzL2ktZGVzZW5maWxhLWZlZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRURlc2VuZmlsYUZyb20gfSBmcm9tICcuLi8uLi9nZW5lcmFsJztcblxuZXhwb3J0IGludGVyZmFjZSBJRGVzZW5maWxhRmVlIHtcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgyKVxuXG4gIHR5cGU6IEVEZXNlbmZpbGFGcm9tO1xuICB2YWx1ZTogbnVtYmVyO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMilcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1kZXNlbmZpbGEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2ludGVyZmFjZXMvaS1kZXNlbmZpbGEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElEZXNlbmZpbGFDb25maWcgfSBmcm9tICcuL2ktZGVzZW5maWxhLWNvbmZpZyc7XG5pbXBvcnQgeyBJRGVzZW5maWxhRmVlIH0gZnJvbSAnLi9pLWRlc2VuZmlsYS1mZWUnO1xuaW1wb3J0IHsgSURlc2VuZmlsYVRva2VuIH0gZnJvbSAnLi9pLWRlc2VuZmlsYS10b2tlbic7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSURlc2VuZmlsYSB7XG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoMylcblxuICBjb250YWluZXJJZDogc3RyaW5nO1xuICBtZXJjaGFudElkOiBzdHJpbmc7XG4gIHRva2VuOiBJRGVzZW5maWxhVG9rZW4gfCBudWxsO1xuICBiYWxhbmNlOiBudW1iZXI7XG4gIGJsb2NrZWRCYWxhbmNlOiBudW1iZXI7XG4gIGdvTGl2ZTogYm9vbGVhbjtcbiAgZmVlczogSURlc2VuZmlsYUZlZVtdO1xuICBjb25maWc6IElEZXNlbmZpbGFDb25maWcgfCBudWxsO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMylcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IElBcHAgfSBmcm9tICcuL2ktYXBwJztcbmV4cG9ydCB7IElEZXNlbmZpbGEgfSBmcm9tICcuL2ktZGVzZW5maWxhJztcbmV4cG9ydCB7IElEZXNlbmZpbGFDb25maWcgfSBmcm9tICcuL2ktZGVzZW5maWxhLWNvbmZpZyc7XG5leHBvcnQgeyBJRGVzZW5maWxhQ29uZmlnTWVyY2Fkb1BhZ28gfSBmcm9tICcuL2ktZGVzZW5maWxhLWNvbmZpZy1tZXBhJztcbmV4cG9ydCB7IElEZXNlbmZpbGFGZWUgfSBmcm9tICcuL2ktZGVzZW5maWxhLWZlZSc7XG5leHBvcnQgeyBJRGVzZW5maWxhVG9rZW4gfSBmcm9tICcuL2ktZGVzZW5maWxhLXRva2VuJztcbmV4cG9ydCB7IElOYXRpV2EgfSBmcm9tICcuL2ktbmF0aS13YSc7XG5leHBvcnQgeyBJTmF0aWdvIH0gZnJvbSAnLi9pLW5hdGlnbyc7XG5leHBvcnQgeyBJUmFiYml0IH0gZnJvbSAnLi9pLXJhYmJpdCc7XG4iXX0=
|
@@ -3,6 +3,9 @@ export var EDesenfilaFrom;
|
|
3
3
|
EDesenfilaFrom["NATI"] = "NATI";
|
4
4
|
EDesenfilaFrom["AUTOMATION"] = "AUTOMATION";
|
5
5
|
EDesenfilaFrom["NATIPAY"] = "NATIPAY";
|
6
|
+
EDesenfilaFrom["DESENFILA"] = "DESENFILA";
|
7
|
+
EDesenfilaFrom["NATIST"] = "NATIST";
|
6
8
|
EDesenfilaFrom["MOBYO"] = "MOBYO";
|
9
|
+
EDesenfilaFrom["DEFAULT"] = "DEFAULT"; // outras fontes não mapeadas
|
7
10
|
})(EDesenfilaFrom || (EDesenfilaFrom = {}));
|
8
|
-
//# sourceMappingURL=data:application/json;base64,
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzZW5maWxhLWZyb20uZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmFsL2VudW1zL2Rlc2VuZmlsYS1mcm9tLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksY0FRWDtBQVJELFdBQVksY0FBYztJQUN4QiwrQkFBYSxDQUFBO0lBQ2IsMkNBQXlCLENBQUE7SUFDekIscUNBQW1CLENBQUE7SUFDbkIseUNBQXVCLENBQUE7SUFDdkIsbUNBQWlCLENBQUE7SUFDakIsaUNBQWUsQ0FBQTtJQUNmLHFDQUFtQixDQUFBLENBQUMsNkJBQTZCO0FBQ25ELENBQUMsRUFSVyxjQUFjLEtBQWQsY0FBYyxRQVF6QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEVEZXNlbmZpbGFGcm9tIHtcbiAgTkFUSSA9ICdOQVRJJyxcbiAgQVVUT01BVElPTiA9ICdBVVRPTUFUSU9OJyxcbiAgTkFUSVBBWSA9ICdOQVRJUEFZJyxcbiAgREVTRU5GSUxBID0gJ0RFU0VORklMQScsXG4gIE5BVElTVCA9ICdOQVRJU1QnLFxuICBNT0JZTyA9ICdNT0JZTycsXG4gIERFRkFVTFQgPSAnREVGQVVMVCcgLy8gb3V0cmFzIGZvbnRlcyBuw6NvIG1hcGVhZGFzXG59XG4iXX0=
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { EDesenfilaFrom } from '../../general';
|
1
2
|
import { EOrderTiming, OrderStatusEnum } from '../enums';
|
2
3
|
import { OrderCancellationEntity } from './cancellation.entity';
|
3
4
|
import { OrderCustomerEntity } from './customer.entity';
|
@@ -27,8 +28,7 @@ export class OrderEntity {
|
|
27
28
|
total = new OrderTotalEntity();
|
28
29
|
updatedAt = new Date();
|
29
30
|
version = '';
|
30
|
-
|
31
|
-
// #region Constructors (1)
|
31
|
+
from = EDesenfilaFrom.DEFAULT;
|
32
32
|
constructor(data) {
|
33
33
|
if (data) {
|
34
34
|
for (let key in data) {
|
@@ -39,4 +39,4 @@ export class OrderEntity {
|
|
39
39
|
}
|
40
40
|
}
|
41
41
|
}
|
42
|
-
//# sourceMappingURL=data:application/json;base64,
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXIuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL29yZGVyL2VudGl0aWVzL29yZGVyLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsZUFBZSxFQUFFLE1BQU0sVUFBVSxDQUFDO0FBS3pELE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLHVCQUF1QixDQ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hc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1hZGRpdGlvbmFsLWZlZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9vcmRlci9pbnRlcmZhY2VzL2ktYWRkaXRpb25hbC1mZWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVEZXNlbmZpbGFGcm9tIH0gZnJvbSBcIi4uLy4uL2dlbmVyYWxcIjtcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgSU9yZGVyQWRkaXRpb25hbEZlZSB7XHJcbiAgICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDIpXHJcblxyXG4gICAgdHlwZTogc3RyaW5nIHwgRURlc2VuZmlsYUZyb207XHJcbiAgICB2YWx1ZTogbnVtYmVyO1xyXG5cclxuICAgIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMilcclxufVxyXG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1vcmRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9vcmRlci9pbnRlcmZhY2Vz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GlvbiB8IG51bGw7XHJcbiAgY29tcGFueUlkOiBzdHJpbmc7XHJcbiAgY29udGFpbmVySWQ6IHN0cmluZztcclxuICBjcmVhdGVkQXQ6IERhdGU7XHJcbiAgY3VzdG9tZXI6IElPcmRlckN1c3RvbWVyIHwgbnVsbDtcclxuICBkaXNwbGF5SWQ6IHN0cmluZztcclxuICBpbnZvaWNlSWQ6IHN0cmluZyB8IG51bGw7XHJcbiAgZGVsaXZlcnk6IElPcmRlckRlbGl2ZXJ5IHwgbnVsbDtcclxuICBpZDogc3RyaW5nO1xyXG4gIGl0ZW1zOiBJT3JkZXJJdGVtW107XHJcbiAgb3JkZXJUaW1pbmc6IEVPcmRlclRpbWluZztcclxuICBvcmRlclR5cGU6IEVPcmRlclR5cGUgfCBudWxsO1xyXG4gIHBheW1lbnRzOiBJT3JkZXJQYXltZW50IHwgbnVsbDtcclxuICByZWZlcmVuY2U6IHN0cmluZyB8IG51bGw7XHJcbiAgc2FsZXNDaGFubmVsOiBzdHJpbmc7XHJcbiAgc2FuZGJveDogYm9vbGVhbjtcclxuICBzdGF0dXM6IE9yZGVyU3RhdHVzRW51bTtcclxuICB0b3RhbDogSU9yZGVyVG90YWw7XHJcbiAgdXBkYXRlZEF0OiBEYXRlO1xyXG4gIHZlcnNpb246IHN0cmluZztcclxuICBmcm9tOiBFRGVzZW5maWxhRnJvbTtcclxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDIwKVxyXG59XHJcbiJdfQ==
|
@@ -551,7 +551,10 @@ var EDesenfilaFrom;
|
|
551
551
|
EDesenfilaFrom["NATI"] = "NATI";
|
552
552
|
EDesenfilaFrom["AUTOMATION"] = "AUTOMATION";
|
553
553
|
EDesenfilaFrom["NATIPAY"] = "NATIPAY";
|
554
|
+
EDesenfilaFrom["DESENFILA"] = "DESENFILA";
|
555
|
+
EDesenfilaFrom["NATIST"] = "NATIST";
|
554
556
|
EDesenfilaFrom["MOBYO"] = "MOBYO";
|
557
|
+
EDesenfilaFrom["DEFAULT"] = "DEFAULT"; // outras fontes não mapeadas
|
555
558
|
})(EDesenfilaFrom || (EDesenfilaFrom = {}));
|
556
559
|
|
557
560
|
var EDocType;
|
@@ -799,6 +802,23 @@ class DesenfilaConfigEntity {
|
|
799
802
|
}
|
800
803
|
}
|
801
804
|
|
805
|
+
class DesenfilaFeeEntity {
|
806
|
+
// #region Properties (2)
|
807
|
+
type = EDesenfilaFrom.DEFAULT;
|
808
|
+
value = 0.0099;
|
809
|
+
// #endregion Properties (2)
|
810
|
+
// #region Constructors (1)
|
811
|
+
constructor(data) {
|
812
|
+
if (data) {
|
813
|
+
for (let key in data) {
|
814
|
+
if (data.hasOwnProperty(key) && key in this) {
|
815
|
+
this[key] = data[key];
|
816
|
+
}
|
817
|
+
}
|
818
|
+
}
|
819
|
+
}
|
820
|
+
}
|
821
|
+
|
802
822
|
class DesenfilaTokenEntity {
|
803
823
|
// #region Properties (2)
|
804
824
|
id = '';
|
@@ -818,12 +838,16 @@ class DesenfilaTokenEntity {
|
|
818
838
|
}
|
819
839
|
|
820
840
|
class DesenfilaEntity {
|
821
|
-
// #region Properties (
|
841
|
+
// #region Properties (8)
|
842
|
+
balance = 0;
|
843
|
+
blockedBalance = 0;
|
822
844
|
config = null;
|
823
845
|
containerId = '';
|
846
|
+
fees = [];
|
847
|
+
goLive = false;
|
824
848
|
merchantId = '';
|
825
849
|
token = null;
|
826
|
-
// #endregion Properties (
|
850
|
+
// #endregion Properties (8)
|
827
851
|
// #region Constructors (1)
|
828
852
|
constructor(data) {
|
829
853
|
if (data) {
|
@@ -1627,8 +1651,7 @@ class OrderEntity {
|
|
1627
1651
|
total = new OrderTotalEntity();
|
1628
1652
|
updatedAt = new Date();
|
1629
1653
|
version = '';
|
1630
|
-
|
1631
|
-
// #region Constructors (1)
|
1654
|
+
from = EDesenfilaFrom.DEFAULT;
|
1632
1655
|
constructor(data) {
|
1633
1656
|
if (data) {
|
1634
1657
|
for (let key in data) {
|
@@ -5025,5 +5048,5 @@ class LogsEntity {
|
|
5025
5048
|
* Generated bundle index. Do not edit.
|
5026
5049
|
*/
|
5027
5050
|
|
5028
|
-
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BillingEntity, BillingOrderEntity, BillingPaymentEntity, BillingTotalEntity, CampaignEntity, CarouselImageEntity, ClientAplicationCredentialEntity, ClientAplicationEntity, ClientEntity, CompanyEntity, CompanyTrialPlansUsedEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, CustomerCreditLimitEntity, CustomerEntity, CustomerMemberEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DesenfilaConfigEntity, DesenfilaConfigMercadoPagoEntity, DesenfilaEntity, DesenfilaTokenEntity, DeviceEntity, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, EBillingStatus, EBooleanString, ECampaignStatus, ECompanyKeys, ECompanyMessageType, ECustomerInterval, ECustomerStatus, ECustomerType, EDesenfilaFrom, EDiscountType, EDocType, EEventMessage, EEvolutionEvent, EEvolutionInstanceType, EFcmSkill, EFiscalDocModelCode, EInstallationStatus, EIntervalType, EInvoiceStatus, ELeadOrigin, ELegalEntiy, EMpStatus, EMpStatusDetail, EOperationType, EOrderDeliveryMode, EOrderTiming, EOrderType, EOs, EPaymentChannel, EPaymentMethodId, EPaymentMode, EPaymentProvider, EPaymentStatus, EPaymentType, EPaymentTypeId, EPlanFeatureType, EPlanIdentifier, EPlatform, EPubSub, EPubSubTopicType, EReleaseStatus, ESponsorshipValues, ESubscriptionStatus, ETransactionStatus, EVoucherStatus, EWaServerStatus, EWithdrawRequestStatus, EventMessageEntity, EvolutionChatWootEntity, EvolutionDatabaseQueueEntity, EvolutionEntity, EvolutionHashEntity, EvolutionInstanceEntity, EvolutionMessageKeyResponseEntity, EvolutionMessageResponseEntity, EvolutionQrcodeEntity, EvolutionTypeBotEntity, EvolutionWebhookEntity, FcmDataReceivedDesenfilaPaymentEntity, FcmDataRequestItemsEntity, FcmTokenMessageEntity, FeatureEntity, FeeDetailEntity, EGtintype as GTINTypeEnum, GlobalSettingEntity, GlobalSettingIuguEntity, GlobalSettingMasterEntity, InstallationAppEntity, InstallationEntity, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguChargeCreditCardEntity, IuguCustomerEntity, IuguInvoiceBankSlipEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LastVerificationRequestDataEntity, LeadEntity, LeadStatusEnum, LogsEntity, MasterEntity, MasterV1Entity, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, MonitorEntity, MottuAddressEntity, MottuEventDeliveryManEntity, MottuEventEntity, MottuEventRequestedByEntity, MottuOrderDelivererEntity, MottuOrderDeliveryManEntity, MottuOrderEntity, MottuOrderPreviewEntity, MottuOrderStoreEntity, MottuStoreEntity, MottuStoreMatrixEntity, MottuStoreResponsibleEntity, NatiGoEntity, NatiV1CartDesenfilaEntity, NatiV1CartEntity, NatiV1CartItemEntity, NatiWaEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderDeliveryEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderMerchantEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PlanEntity, PlanFeatureEntity, ProductBrandEntity, ProductCompanyEntity, ProductContainerEntity, ProductGlobalEntity, ProductNcmEntity, PubsubSubscriptionChangeStatusEntity, PurchaseEntity, RabbitEntity, RatingEntity, RequestedItemDataEntity, RequestedItemsEntity, ResumeCollectionEntity, ResumeDayEntity, ResumeEntity, ResumeHourEntity, ResumeMonthEntity, ResumeTotalEntity, ResumeYearEntity, SponsorshipValueEntity, SubscriptionBaseEntity, SubscriptionBaseItemEntity, SubscriptionBaseLogEntity, SubscriptionCompanyEntity, SubscriptionCompanyProfileEntity, SubscriptionCustomerEntity, SubscriptionCustomerProfileEntity, TokenEntity, TransactionBalanceEntity, TransactionEntity, TransactionPaymentMethodEntity, TransactionTotalEntity, VerifierTokenEntity, VoucherEntity, WaServerEntity, WithDrawRequestEntity };
|
5051
|
+
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BillingEntity, BillingOrderEntity, BillingPaymentEntity, BillingTotalEntity, CampaignEntity, CarouselImageEntity, ClientAplicationCredentialEntity, ClientAplicationEntity, ClientEntity, CompanyEntity, CompanyTrialPlansUsedEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, CustomerCreditLimitEntity, CustomerEntity, CustomerMemberEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DesenfilaConfigEntity, DesenfilaConfigMercadoPagoEntity, DesenfilaEntity, DesenfilaFeeEntity, DesenfilaTokenEntity, DeviceEntity, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, EBillingStatus, EBooleanString, ECampaignStatus, ECompanyKeys, ECompanyMessageType, ECustomerInterval, ECustomerStatus, ECustomerType, EDesenfilaFrom, EDiscountType, EDocType, EEventMessage, EEvolutionEvent, EEvolutionInstanceType, EFcmSkill, EFiscalDocModelCode, EInstallationStatus, EIntervalType, EInvoiceStatus, ELeadOrigin, ELegalEntiy, EMpStatus, EMpStatusDetail, EOperationType, EOrderDeliveryMode, EOrderTiming, EOrderType, EOs, EPaymentChannel, EPaymentMethodId, EPaymentMode, EPaymentProvider, EPaymentStatus, EPaymentType, EPaymentTypeId, EPlanFeatureType, EPlanIdentifier, EPlatform, EPubSub, EPubSubTopicType, EReleaseStatus, ESponsorshipValues, ESubscriptionStatus, ETransactionStatus, EVoucherStatus, EWaServerStatus, EWithdrawRequestStatus, EventMessageEntity, EvolutionChatWootEntity, EvolutionDatabaseQueueEntity, EvolutionEntity, EvolutionHashEntity, EvolutionInstanceEntity, EvolutionMessageKeyResponseEntity, EvolutionMessageResponseEntity, EvolutionQrcodeEntity, EvolutionTypeBotEntity, EvolutionWebhookEntity, FcmDataReceivedDesenfilaPaymentEntity, FcmDataRequestItemsEntity, FcmTokenMessageEntity, FeatureEntity, FeeDetailEntity, EGtintype as GTINTypeEnum, GlobalSettingEntity, GlobalSettingIuguEntity, GlobalSettingMasterEntity, InstallationAppEntity, InstallationEntity, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguChargeCreditCardEntity, IuguCustomerEntity, IuguInvoiceBankSlipEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LastVerificationRequestDataEntity, LeadEntity, LeadStatusEnum, LogsEntity, MasterEntity, MasterV1Entity, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, MonitorEntity, MottuAddressEntity, MottuEventDeliveryManEntity, MottuEventEntity, MottuEventRequestedByEntity, MottuOrderDelivererEntity, MottuOrderDeliveryManEntity, MottuOrderEntity, MottuOrderPreviewEntity, MottuOrderStoreEntity, MottuStoreEntity, MottuStoreMatrixEntity, MottuStoreResponsibleEntity, NatiGoEntity, NatiV1CartDesenfilaEntity, NatiV1CartEntity, NatiV1CartItemEntity, NatiWaEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderDeliveryEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderMerchantEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PlanEntity, PlanFeatureEntity, ProductBrandEntity, ProductCompanyEntity, ProductContainerEntity, ProductGlobalEntity, ProductNcmEntity, PubsubSubscriptionChangeStatusEntity, PurchaseEntity, RabbitEntity, RatingEntity, RequestedItemDataEntity, RequestedItemsEntity, ResumeCollectionEntity, ResumeDayEntity, ResumeEntity, ResumeHourEntity, ResumeMonthEntity, ResumeTotalEntity, ResumeYearEntity, SponsorshipValueEntity, SubscriptionBaseEntity, SubscriptionBaseItemEntity, SubscriptionBaseLogEntity, SubscriptionCompanyEntity, SubscriptionCompanyProfileEntity, SubscriptionCustomerEntity, SubscriptionCustomerProfileEntity, TokenEntity, TransactionBalanceEntity, TransactionEntity, TransactionPaymentMethodEntity, TransactionTotalEntity, VerifierTokenEntity, VoucherEntity, WaServerEntity, WithDrawRequestEntity };
|
5029
5052
|
//# sourceMappingURL=cecon-interfaces.mjs.map
|