cecon-interfaces 1.0.15 → 1.0.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/company/entities/company.entity.d.ts +38 -0
- package/dist/company/entities/company.entity.js +50 -0
- package/dist/company/entities/index.d.ts +1 -0
- package/dist/company/entities/index.js +6 -0
- package/dist/company/enums/index.d.ts +2 -0
- package/dist/company/enums/index.js +8 -0
- package/dist/company/index.d.ts +3 -3
- package/dist/company/index.js +17 -6
- package/dist/company/interfaces/index.d.ts +1 -0
- package/dist/device/entities/device.entity.d.ts +19 -0
- package/dist/device/entities/device.entity.js +35 -0
- package/dist/device/entities/index.d.ts +3 -0
- package/dist/device/entities/index.js +10 -0
- package/dist/device/entities/metadata.entity.d.ts +6 -0
- package/dist/device/entities/metadata.entity.js +21 -0
- package/dist/device/entities/natigo.entity.d.ts +8 -0
- package/dist/device/entities/natigo.entity.js +23 -0
- package/dist/device/enums/index.d.ts +1 -0
- package/dist/device/enums/index.js +6 -0
- package/dist/device/index.d.ts +3 -4
- package/dist/device/index.js +17 -4
- package/dist/device/interfaces/index.d.ts +3 -0
- package/dist/device/interfaces/index.js +3 -0
- package/dist/esm2022/company/entities/company.entity.mjs +46 -0
- package/dist/esm2022/company/entities/index.mjs +3 -0
- package/dist/esm2022/company/enums/index.mjs +4 -0
- package/dist/esm2022/company/index.mjs +4 -4
- package/dist/esm2022/company/interfaces/index.mjs +2 -0
- package/dist/esm2022/device/entities/device.entity.mjs +31 -0
- package/dist/esm2022/device/entities/index.mjs +5 -0
- package/dist/esm2022/device/entities/metadata.entity.mjs +17 -0
- package/dist/esm2022/device/entities/natigo.entity.mjs +19 -0
- package/dist/esm2022/device/enums/index.mjs +3 -0
- package/dist/esm2022/device/index.mjs +4 -3
- package/dist/esm2022/device/interfaces/index.mjs +3 -0
- package/dist/esm2022/general/entities/address.entity.mjs +24 -0
- package/dist/esm2022/general/entities/coords.entity.mjs +14 -0
- package/dist/esm2022/general/entities/delivery-area.entity.mjs +23 -0
- package/dist/esm2022/general/entities/dellivery-area-fixed.entity.mjs +20 -0
- package/dist/esm2022/general/entities/index.mjs +13 -0
- package/dist/esm2022/general/entities/messager-channel.entity.mjs +18 -0
- package/dist/esm2022/general/entities/mobyo-apiconfig.entity.mjs +21 -0
- package/dist/esm2022/general/entities/origin.entity.mjs +22 -0
- package/dist/esm2022/general/entities/payment-method.entity.mjs +31 -0
- package/dist/esm2022/general/entities/payment-provider-agent.entity.mjs +17 -0
- package/dist/esm2022/general/entities/payment-provider.entity.mjs +29 -0
- package/dist/esm2022/general/entities/payment-token-data.entity.mjs +22 -0
- package/dist/esm2022/general/entities/payment-token.entity.mjs +21 -0
- package/dist/esm2022/general/enums/index.mjs +7 -0
- package/dist/esm2022/general/enums/payment-type.enum.mjs +2 -1
- package/dist/esm2022/general/index.mjs +4 -7
- package/dist/esm2022/general/interfaces/i-address.mjs +1 -1
- package/dist/esm2022/general/interfaces/{i-mobyo-server-api.mjs → i-mobyo-api-config.mjs} +1 -1
- package/dist/esm2022/general/interfaces/i-payment-provider.mjs +1 -1
- package/dist/esm2022/general/interfaces/i-payment-token-data.mjs +3 -0
- package/dist/esm2022/general/interfaces/i-payment-token.mjs +3 -0
- package/dist/esm2022/general/interfaces/index.mjs +3 -0
- package/dist/esm2022/index.mjs +2 -2
- package/dist/esm2022/order/entities/index.mjs +20 -0
- package/dist/esm2022/order/entities/order-additional-fees.entity.mjs +17 -0
- package/dist/esm2022/order/entities/order-benefits-sponsor-ship.entity.mjs +17 -0
- package/dist/esm2022/order/entities/order-benefits.entity.mjs +21 -0
- package/dist/esm2022/order/entities/order-cancellation.entity.mjs +18 -0
- package/dist/esm2022/order/entities/order-customer-phone.entity.mjs +19 -0
- package/dist/esm2022/order/entities/order-customer.entity.mjs +23 -0
- package/dist/esm2022/order/entities/order-item-composition.entity.mjs +21 -0
- package/dist/esm2022/order/entities/order-item-option.entity.mjs +30 -0
- package/dist/esm2022/order/entities/order-item.entity.mjs +36 -0
- package/dist/esm2022/order/entities/order-payment-card.entity.mjs +16 -0
- package/dist/esm2022/order/entities/order-payment-cash.entity.mjs +16 -0
- package/dist/esm2022/order/entities/order-payment-method.entity.mjs +27 -0
- package/dist/esm2022/order/entities/order-payment-pix.entity.mjs +17 -0
- package/dist/esm2022/order/entities/order-payment-wallet.entity.mjs +16 -0
- package/dist/esm2022/order/entities/order-payment.entity.mjs +18 -0
- package/dist/esm2022/order/entities/order-scale-item.entity.mjs +17 -0
- package/dist/esm2022/order/entities/order-scale-price.entity.mjs +17 -0
- package/dist/esm2022/order/entities/order-total.entity.mjs +20 -0
- package/dist/esm2022/order/entities/order.entity.mjs +34 -0
- package/dist/esm2022/order/enums/index.mjs +3 -0
- package/dist/esm2022/{general/enums/order-satus.enum.mjs → order/enums/order-status.enum.mjs} +1 -1
- package/dist/esm2022/order/index.mjs +4 -0
- package/dist/esm2022/order/interfaces/i-order-additional-fee.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order-benefits-sponsor-ship.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order-benefits.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order-cancellation.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order-customer-phone.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order-customer.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order-item-composition.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order-item-option.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order-item.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order-payment-card.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order-payment-cash.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order-payment-method.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order-payment-pix.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order-payment-wallet.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order-payment.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order-scale-item.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order-scale-price.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order-total.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order.mjs +2 -0
- package/dist/esm2022/order/interfaces/index.mjs +2 -0
- package/dist/esm2022/purchases/entities/app-info.entity.mjs +18 -0
- package/dist/esm2022/purchases/entities/index.mjs +3 -0
- package/dist/esm2022/purchases/entities/purchase.entity.mjs +23 -0
- package/dist/esm2022/purchases/index.mjs +3 -3
- package/dist/esm2022/purchases/interfaces/i-purchase.mjs +1 -1
- package/dist/esm2022/purchases/interfaces/index.mjs +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +876 -31
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/entities/address.entity.d.ts +12 -0
- package/dist/general/entities/address.entity.js +28 -0
- package/dist/general/entities/coords.entity.d.ts +5 -0
- package/dist/general/entities/coords.entity.js +18 -0
- package/dist/general/entities/delivery-area.entity.d.ts +12 -0
- package/dist/general/entities/delivery-area.entity.js +27 -0
- package/dist/general/entities/dellivery-area-fixed.entity.d.ts +8 -0
- package/dist/general/entities/dellivery-area-fixed.entity.js +24 -0
- package/dist/general/entities/index.d.ts +12 -0
- package/dist/general/entities/index.js +27 -0
- package/dist/general/entities/messager-channel.entity.d.ts +6 -0
- package/dist/general/entities/messager-channel.entity.js +22 -0
- package/dist/general/entities/mobyo-apiconfig.entity.d.ts +9 -0
- package/dist/general/entities/mobyo-apiconfig.entity.js +25 -0
- package/dist/general/entities/origin.entity.d.ts +10 -0
- package/dist/general/entities/origin.entity.js +26 -0
- package/dist/general/entities/payment-method.entity.d.ts +19 -0
- package/dist/general/entities/payment-method.entity.js +35 -0
- package/dist/general/entities/payment-provider-agent.entity.d.ts +5 -0
- package/dist/general/entities/payment-provider-agent.entity.js +21 -0
- package/dist/general/entities/payment-provider.entity.d.ts +18 -0
- package/dist/general/entities/payment-provider.entity.js +33 -0
- package/dist/general/entities/payment-token-data.entity.d.ts +10 -0
- package/dist/general/entities/payment-token-data.entity.js +26 -0
- package/dist/general/entities/payment-token.entity.d.ts +9 -0
- package/dist/general/entities/payment-token.entity.js +25 -0
- package/dist/general/enums/index.d.ts +6 -0
- package/dist/general/enums/index.js +15 -0
- package/dist/general/enums/payment-type.enum.d.ts +1 -0
- package/dist/general/enums/payment-type.enum.js +1 -0
- package/dist/general/index.d.ts +3 -17
- package/dist/general/index.js +17 -12
- package/dist/general/interfaces/i-address.d.ts +2 -0
- package/dist/general/interfaces/i-payment-provider.d.ts +1 -1
- package/dist/general/interfaces/{i-payment-tokens.d.ts → i-payment-token.d.ts} +1 -1
- package/dist/general/interfaces/index.d.ts +12 -0
- package/dist/general/interfaces/index.js +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/order/entities/index.d.ts +19 -0
- package/dist/order/entities/index.js +41 -0
- package/dist/order/entities/order-additional-fees.entity.d.ts +5 -0
- package/dist/order/entities/order-additional-fees.entity.js +21 -0
- package/dist/order/entities/order-benefits-sponsor-ship.entity.d.ts +5 -0
- package/dist/order/entities/order-benefits-sponsor-ship.entity.js +21 -0
- package/dist/order/entities/order-benefits.entity.d.ts +10 -0
- package/dist/order/entities/order-benefits.entity.js +25 -0
- package/dist/order/entities/order-cancellation.entity.d.ts +6 -0
- package/dist/order/entities/order-cancellation.entity.js +22 -0
- package/dist/order/entities/order-customer-phone.entity.d.ts +7 -0
- package/dist/order/entities/order-customer-phone.entity.js +23 -0
- package/dist/order/entities/order-customer.entity.d.ts +11 -0
- package/dist/order/entities/order-customer.entity.js +27 -0
- package/dist/order/entities/order-item-composition.entity.d.ts +9 -0
- package/dist/order/entities/order-item-composition.entity.js +25 -0
- package/dist/order/entities/order-item-option.entity.d.ts +18 -0
- package/dist/order/entities/order-item-option.entity.js +34 -0
- package/dist/order/entities/order-item.entity.d.ts +26 -0
- package/dist/order/entities/order-item.entity.js +40 -0
- package/dist/order/entities/order-payment-card.entity.d.ts +4 -0
- package/dist/order/entities/order-payment-card.entity.js +20 -0
- package/dist/order/entities/order-payment-cash.entity.d.ts +4 -0
- package/dist/order/entities/order-payment-cash.entity.js +20 -0
- package/dist/order/entities/order-payment-method.entity.d.ts +19 -0
- package/dist/order/entities/order-payment-method.entity.js +31 -0
- package/dist/order/entities/order-payment-pix.entity.d.ts +5 -0
- package/dist/order/entities/order-payment-pix.entity.js +21 -0
- package/dist/order/entities/order-payment-wallet.entity.d.ts +4 -0
- package/dist/order/entities/order-payment-wallet.entity.js +20 -0
- package/dist/order/entities/order-payment.entity.d.ts +7 -0
- package/dist/order/entities/order-payment.entity.js +22 -0
- package/dist/order/entities/order-scale-item.entity.d.ts +5 -0
- package/dist/order/entities/order-scale-item.entity.js +21 -0
- package/dist/order/entities/order-scale-price.entity.d.ts +6 -0
- package/dist/order/entities/order-scale-price.entity.js +21 -0
- package/dist/order/entities/order-total.entity.d.ts +8 -0
- package/dist/order/entities/order-total.entity.js +24 -0
- package/dist/order/entities/order.entity.d.ts +27 -0
- package/dist/order/entities/order.entity.js +38 -0
- package/dist/order/enums/index.d.ts +1 -0
- package/dist/order/enums/index.js +6 -0
- package/dist/order/index.d.ts +3 -0
- package/dist/order/index.js +19 -0
- package/dist/order/interfaces/i-order-additional-fee.d.ts +4 -0
- package/dist/order/interfaces/i-order-additional-fee.js +2 -0
- package/dist/order/interfaces/i-order-benefits-sponsor-ship.d.ts +4 -0
- package/dist/order/interfaces/i-order-benefits-sponsor-ship.js +2 -0
- package/dist/order/interfaces/i-order-benefits.d.ts +9 -0
- package/dist/order/interfaces/i-order-benefits.js +2 -0
- package/dist/order/interfaces/i-order-cancellation.d.ts +5 -0
- package/dist/order/interfaces/i-order-cancellation.js +2 -0
- package/dist/order/interfaces/i-order-customer-phone.d.ts +6 -0
- package/dist/order/interfaces/i-order-customer-phone.js +2 -0
- package/dist/order/interfaces/i-order-customer.d.ts +10 -0
- package/dist/order/interfaces/i-order-customer.js +2 -0
- package/dist/order/interfaces/i-order-item-composition.d.ts +8 -0
- package/dist/order/interfaces/i-order-item-composition.js +2 -0
- package/dist/order/interfaces/i-order-item-option.d.ts +17 -0
- package/dist/order/interfaces/i-order-item-option.js +2 -0
- package/dist/order/interfaces/i-order-item.d.ts +25 -0
- package/dist/order/interfaces/i-order-item.js +2 -0
- package/dist/order/interfaces/i-order-payment-card.d.ts +3 -0
- package/dist/order/interfaces/i-order-payment-card.js +2 -0
- package/dist/order/interfaces/i-order-payment-cash.d.ts +3 -0
- package/dist/order/interfaces/i-order-payment-cash.js +2 -0
- package/dist/order/interfaces/i-order-payment-method.d.ts +18 -0
- package/dist/order/interfaces/i-order-payment-method.js +2 -0
- package/dist/order/interfaces/i-order-payment-pix.d.ts +4 -0
- package/dist/order/interfaces/i-order-payment-pix.js +2 -0
- package/dist/order/interfaces/i-order-payment-wallet.d.ts +3 -0
- package/dist/order/interfaces/i-order-payment-wallet.js +2 -0
- package/dist/order/interfaces/i-order-payment.d.ts +6 -0
- package/dist/order/interfaces/i-order-payment.js +2 -0
- package/dist/order/interfaces/i-order-scale-item.d.ts +4 -0
- package/dist/order/interfaces/i-order-scale-item.js +2 -0
- package/dist/order/interfaces/i-order-scale-price.d.ts +5 -0
- package/dist/order/interfaces/i-order-scale-price.js +2 -0
- package/dist/order/interfaces/i-order-total.d.ts +12 -0
- package/dist/order/interfaces/i-order-total.js +2 -0
- package/dist/order/interfaces/i-order.d.ts +26 -0
- package/dist/order/interfaces/i-order.js +2 -0
- package/dist/order/interfaces/index.d.ts +19 -0
- package/dist/order/interfaces/index.js +2 -0
- package/dist/package.json +2 -4
- package/dist/purchases/entities/app-info.entity.d.ts +6 -0
- package/dist/purchases/entities/app-info.entity.js +22 -0
- package/dist/purchases/entities/index.d.ts +2 -0
- package/dist/purchases/entities/index.js +7 -0
- package/dist/purchases/entities/purchase.entity.d.ts +10 -0
- package/dist/purchases/entities/purchase.entity.js +44 -0
- package/dist/purchases/index.d.ts +2 -3
- package/dist/purchases/index.js +16 -1
- package/dist/purchases/interfaces/i-purchase.d.ts +7 -15
- package/dist/purchases/interfaces/index.d.ts +2 -0
- package/dist/purchases/interfaces/index.js +2 -0
- package/package.json +2 -4
- package/tsconfig.json +3 -3
- package/dist/esm2022/general/interfaces/i-payment-tokens-data.mjs +0 -3
- package/dist/esm2022/general/interfaces/i-payment-tokens.mjs +0 -3
- package/dist/esm2022/purchases/interfaces/i-payment-details.mjs +0 -2
- package/dist/purchases/interfaces/i-payment-details.d.ts +0 -17
- /package/dist/{general/interfaces/i-mobyo-server-api.js → company/interfaces/index.js} +0 -0
- /package/dist/general/interfaces/{i-mobyo-server-api.d.ts → i-mobyo-api-config.d.ts} +0 -0
- /package/dist/{purchases/interfaces/i-payment-details.js → general/interfaces/i-mobyo-api-config.js} +0 -0
- /package/dist/general/interfaces/{i-payment-tokens-data.d.ts → i-payment-token-data.d.ts} +0 -0
- /package/dist/general/interfaces/{i-payment-tokens-data.js → i-payment-token-data.js} +0 -0
- /package/dist/general/interfaces/{i-payment-tokens.js → i-payment-token.js} +0 -0
- /package/dist/{general/enums/order-satus.enum.d.ts → order/enums/order-status.enum.d.ts} +0 -0
- /package/dist/{general/enums/order-satus.enum.js → order/enums/order-status.enum.js} +0 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PaymentTokenDataEntity = void 0;
|
4
|
+
var PaymentTokenDataEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (7)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PaymentTokenDataEntity(data) {
|
8
|
+
// #region Properties (7)
|
9
|
+
this.bin = '';
|
10
|
+
this.brand = '';
|
11
|
+
this.displayNumber = '';
|
12
|
+
this.firstDigits = '';
|
13
|
+
this.maskedNumber = '';
|
14
|
+
this.month = 0;
|
15
|
+
this.year = 0;
|
16
|
+
if (data) {
|
17
|
+
for (var key in data) {
|
18
|
+
if (data.hasOwnProperty(key) && key in this) {
|
19
|
+
this[key] = data[key];
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
return PaymentTokenDataEntity;
|
25
|
+
}());
|
26
|
+
exports.PaymentTokenDataEntity = PaymentTokenDataEntity;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { PaymentTokenDataEntity } from './payment-token-data.entity';
|
2
|
+
export declare class PaymentTokenEntity {
|
3
|
+
customerId: string;
|
4
|
+
data: PaymentTokenDataEntity;
|
5
|
+
description: string;
|
6
|
+
id: string;
|
7
|
+
itemType: string;
|
8
|
+
constructor(data?: Partial<PaymentTokenEntity>);
|
9
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PaymentTokenEntity = void 0;
|
4
|
+
var payment_token_data_entity_1 = require("./payment-token-data.entity");
|
5
|
+
var PaymentTokenEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (5)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function PaymentTokenEntity(data) {
|
9
|
+
// #region Properties (5)
|
10
|
+
this.customerId = '';
|
11
|
+
this.data = new payment_token_data_entity_1.PaymentTokenDataEntity();
|
12
|
+
this.description = '';
|
13
|
+
this.id = '';
|
14
|
+
this.itemType = '';
|
15
|
+
if (data) {
|
16
|
+
for (var key in data) {
|
17
|
+
if (data.hasOwnProperty(key) && key in this) {
|
18
|
+
this[key] = data[key];
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
return PaymentTokenEntity;
|
24
|
+
}());
|
25
|
+
exports.PaymentTokenEntity = PaymentTokenEntity;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export { DocTypeEnum } from './doc-type.enum';
|
2
|
+
export { LeadOriginEnum } from './lead-origin.enum';
|
3
|
+
export { PaymentChannelEnum } from './payment-channel.enum';
|
4
|
+
export { PaymentModeEnum } from './payment-mode.enum';
|
5
|
+
export { PaymentTypeEnum } from './payment-type.enum';
|
6
|
+
export { PaymentProviderEnum } from './providers.enum';
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PaymentProviderEnum = exports.PaymentTypeEnum = exports.PaymentModeEnum = exports.PaymentChannelEnum = exports.LeadOriginEnum = exports.DocTypeEnum = void 0;
|
4
|
+
var doc_type_enum_1 = require("./doc-type.enum");
|
5
|
+
Object.defineProperty(exports, "DocTypeEnum", { enumerable: true, get: function () { return doc_type_enum_1.DocTypeEnum; } });
|
6
|
+
var lead_origin_enum_1 = require("./lead-origin.enum");
|
7
|
+
Object.defineProperty(exports, "LeadOriginEnum", { enumerable: true, get: function () { return lead_origin_enum_1.LeadOriginEnum; } });
|
8
|
+
var payment_channel_enum_1 = require("./payment-channel.enum");
|
9
|
+
Object.defineProperty(exports, "PaymentChannelEnum", { enumerable: true, get: function () { return payment_channel_enum_1.PaymentChannelEnum; } });
|
10
|
+
var payment_mode_enum_1 = require("./payment-mode.enum");
|
11
|
+
Object.defineProperty(exports, "PaymentModeEnum", { enumerable: true, get: function () { return payment_mode_enum_1.PaymentModeEnum; } });
|
12
|
+
var payment_type_enum_1 = require("./payment-type.enum");
|
13
|
+
Object.defineProperty(exports, "PaymentTypeEnum", { enumerable: true, get: function () { return payment_type_enum_1.PaymentTypeEnum; } });
|
14
|
+
var providers_enum_1 = require("./providers.enum");
|
15
|
+
Object.defineProperty(exports, "PaymentProviderEnum", { enumerable: true, get: function () { return providers_enum_1.PaymentProviderEnum; } });
|
@@ -16,6 +16,7 @@ var PaymentTypeEnum;
|
|
16
16
|
PaymentTypeEnum["E_WALLET"] = "E_WALLET";
|
17
17
|
PaymentTypeEnum["DIRECT_DEBIT"] = "DIRECT_DEBIT";
|
18
18
|
PaymentTypeEnum["PAYPAL"] = "PAYPAL";
|
19
|
+
PaymentTypeEnum["CHECKOUTPRO"] = "CHECKOUTPRO";
|
19
20
|
PaymentTypeEnum["WIRE_TRANSFER"] = "WIRE_TRANSFER";
|
20
21
|
PaymentTypeEnum["GIFT_CARD"] = "GIFT_CARD";
|
21
22
|
PaymentTypeEnum["VOUCHER"] = "VOUCHER";
|
package/dist/general/index.d.ts
CHANGED
@@ -1,17 +1,3 @@
|
|
1
|
-
export
|
2
|
-
export
|
3
|
-
export
|
4
|
-
export { PaymentModeEnum } from './enums/payment-mode.enum';
|
5
|
-
export { PaymentTypeEnum } from './enums/payment-type.enum';
|
6
|
-
export { IAddress } from './interfaces/i-address';
|
7
|
-
export { ICoords } from './interfaces/i-coords';
|
8
|
-
export { IDeliveryArea } from './interfaces/i-delivery-area';
|
9
|
-
export { IDeliveryAreaFixed } from './interfaces/i-delivery-area-fixed';
|
10
|
-
export { IMessagerChannel } from './interfaces/i-messager-channel';
|
11
|
-
export { IMobyoApiConfig } from './interfaces/i-mobyo-server-api';
|
12
|
-
export { IOrigin } from './interfaces/i-origin';
|
13
|
-
export { IPaymentMethod } from './interfaces/i-payment-method';
|
14
|
-
export { IPaymentProvider } from './interfaces/i-payment-provider';
|
15
|
-
export { IPaymentProviderAgent } from './interfaces/i-payment-provider-agent';
|
16
|
-
export { IPaymentToken } from './interfaces/i-payment-tokens';
|
17
|
-
export { IPaymentTokenData } from './interfaces/i-payment-tokens-data';
|
1
|
+
export * from './entities';
|
2
|
+
export * from './enums';
|
3
|
+
export * from './interfaces';
|
package/dist/general/index.js
CHANGED
@@ -1,14 +1,19 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
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
|
+
};
|
3
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
var lead_origin_enum_1 = require("./enums/lead-origin.enum");
|
8
|
-
Object.defineProperty(exports, "LeadOriginEnum", { enumerable: true, get: function () { return lead_origin_enum_1.LeadOriginEnum; } });
|
9
|
-
var payment_channel_enum_1 = require("./enums/payment-channel.enum");
|
10
|
-
Object.defineProperty(exports, "PaymentChannelEnum", { enumerable: true, get: function () { return payment_channel_enum_1.PaymentChannelEnum; } });
|
11
|
-
var payment_mode_enum_1 = require("./enums/payment-mode.enum");
|
12
|
-
Object.defineProperty(exports, "PaymentModeEnum", { enumerable: true, get: function () { return payment_mode_enum_1.PaymentModeEnum; } });
|
13
|
-
var payment_type_enum_1 = require("./enums/payment-type.enum");
|
14
|
-
Object.defineProperty(exports, "PaymentTypeEnum", { enumerable: true, get: function () { return payment_type_enum_1.PaymentTypeEnum; } });
|
17
|
+
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./enums"), exports);
|
19
|
+
__exportStar(require("./interfaces"), exports);
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export { IAddress } from './i-address';
|
2
|
+
export { ICoords } from './i-coords';
|
3
|
+
export { IDeliveryArea } from './i-delivery-area';
|
4
|
+
export { IDeliveryAreaFixed } from './i-delivery-area-fixed';
|
5
|
+
export { IMessagerChannel } from './i-messager-channel';
|
6
|
+
export { IMobyoApiConfig } from './i-mobyo-api-config';
|
7
|
+
export { IOrigin } from './i-origin';
|
8
|
+
export { IPaymentMethod } from './i-payment-method';
|
9
|
+
export { IPaymentProvider } from './i-payment-provider';
|
10
|
+
export { IPaymentProviderAgent } from './i-payment-provider-agent';
|
11
|
+
export { IPaymentToken } from './i-payment-token';
|
12
|
+
export { IPaymentTokenData } from './i-payment-token-data';
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
"use strict";
|
2
|
-
// index.ts
|
3
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
4
3
|
if (k2 === undefined) k2 = k;
|
5
4
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
@@ -18,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
17
|
__exportStar(require("./company"), exports);
|
19
18
|
__exportStar(require("./device"), exports);
|
20
19
|
__exportStar(require("./general"), exports);
|
20
|
+
__exportStar(require("./order"), exports);
|
21
21
|
__exportStar(require("./purchases"), exports);
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export { OrderAdditionalFeeEntity } from './order-additional-fees.entity';
|
2
|
+
export { SponsorshipValuesEntity } from './order-benefits-sponsor-ship.entity';
|
3
|
+
export { OrderBenefitsEntity } from './order-benefits.entity';
|
4
|
+
export { OrderCancellationEntity } from './order-cancellation.entity';
|
5
|
+
export { OrdersCustomerPhoneEntity } from './order-customer-phone.entity';
|
6
|
+
export { OrderCustomerEntity } from './order-customer.entity';
|
7
|
+
export { OrderItemCompositionEntity } from './order-item-composition.entity';
|
8
|
+
export { OrderItemOptionEntity } from './order-item-option.entity';
|
9
|
+
export { OrderItemEntity } from './order-item.entity';
|
10
|
+
export { OrderPaymentCardEntity } from './order-payment-card.entity';
|
11
|
+
export { OrderPaymentCashEntity } from './order-payment-cash.entity';
|
12
|
+
export { OrderPaymentMethodEntity } from './order-payment-method.entity';
|
13
|
+
export { OrderPaymentPixEntity } from './order-payment-pix.entity';
|
14
|
+
export { OrderPaymentWalletEntity } from './order-payment-wallet.entity';
|
15
|
+
export { OrderPaymentEntity } from './order-payment.entity';
|
16
|
+
export { OrderScaleItemEntity } from './order-scale-item.entity';
|
17
|
+
export { OrderScaleEntity } from './order-scale-price.entity';
|
18
|
+
export { OrderTotalEntity } from './order-total.entity';
|
19
|
+
export { OrderEntity } from './order.entity';
|
@@ -0,0 +1,41 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OrderEntity = exports.OrderTotalEntity = exports.OrderScaleEntity = exports.OrderScaleItemEntity = exports.OrderPaymentEntity = exports.OrderPaymentWalletEntity = exports.OrderPaymentPixEntity = exports.OrderPaymentMethodEntity = exports.OrderPaymentCashEntity = exports.OrderPaymentCardEntity = exports.OrderItemEntity = exports.OrderItemOptionEntity = exports.OrderItemCompositionEntity = exports.OrderCustomerEntity = exports.OrdersCustomerPhoneEntity = exports.OrderCancellationEntity = exports.OrderBenefitsEntity = exports.SponsorshipValuesEntity = exports.OrderAdditionalFeeEntity = void 0;
|
4
|
+
var order_additional_fees_entity_1 = require("./order-additional-fees.entity");
|
5
|
+
Object.defineProperty(exports, "OrderAdditionalFeeEntity", { enumerable: true, get: function () { return order_additional_fees_entity_1.OrderAdditionalFeeEntity; } });
|
6
|
+
var order_benefits_sponsor_ship_entity_1 = require("./order-benefits-sponsor-ship.entity");
|
7
|
+
Object.defineProperty(exports, "SponsorshipValuesEntity", { enumerable: true, get: function () { return order_benefits_sponsor_ship_entity_1.SponsorshipValuesEntity; } });
|
8
|
+
var order_benefits_entity_1 = require("./order-benefits.entity");
|
9
|
+
Object.defineProperty(exports, "OrderBenefitsEntity", { enumerable: true, get: function () { return order_benefits_entity_1.OrderBenefitsEntity; } });
|
10
|
+
var order_cancellation_entity_1 = require("./order-cancellation.entity");
|
11
|
+
Object.defineProperty(exports, "OrderCancellationEntity", { enumerable: true, get: function () { return order_cancellation_entity_1.OrderCancellationEntity; } });
|
12
|
+
var order_customer_phone_entity_1 = require("./order-customer-phone.entity");
|
13
|
+
Object.defineProperty(exports, "OrdersCustomerPhoneEntity", { enumerable: true, get: function () { return order_customer_phone_entity_1.OrdersCustomerPhoneEntity; } });
|
14
|
+
var order_customer_entity_1 = require("./order-customer.entity");
|
15
|
+
Object.defineProperty(exports, "OrderCustomerEntity", { enumerable: true, get: function () { return order_customer_entity_1.OrderCustomerEntity; } });
|
16
|
+
var order_item_composition_entity_1 = require("./order-item-composition.entity");
|
17
|
+
Object.defineProperty(exports, "OrderItemCompositionEntity", { enumerable: true, get: function () { return order_item_composition_entity_1.OrderItemCompositionEntity; } });
|
18
|
+
var order_item_option_entity_1 = require("./order-item-option.entity");
|
19
|
+
Object.defineProperty(exports, "OrderItemOptionEntity", { enumerable: true, get: function () { return order_item_option_entity_1.OrderItemOptionEntity; } });
|
20
|
+
var order_item_entity_1 = require("./order-item.entity");
|
21
|
+
Object.defineProperty(exports, "OrderItemEntity", { enumerable: true, get: function () { return order_item_entity_1.OrderItemEntity; } });
|
22
|
+
var order_payment_card_entity_1 = require("./order-payment-card.entity");
|
23
|
+
Object.defineProperty(exports, "OrderPaymentCardEntity", { enumerable: true, get: function () { return order_payment_card_entity_1.OrderPaymentCardEntity; } });
|
24
|
+
var order_payment_cash_entity_1 = require("./order-payment-cash.entity");
|
25
|
+
Object.defineProperty(exports, "OrderPaymentCashEntity", { enumerable: true, get: function () { return order_payment_cash_entity_1.OrderPaymentCashEntity; } });
|
26
|
+
var order_payment_method_entity_1 = require("./order-payment-method.entity");
|
27
|
+
Object.defineProperty(exports, "OrderPaymentMethodEntity", { enumerable: true, get: function () { return order_payment_method_entity_1.OrderPaymentMethodEntity; } });
|
28
|
+
var order_payment_pix_entity_1 = require("./order-payment-pix.entity");
|
29
|
+
Object.defineProperty(exports, "OrderPaymentPixEntity", { enumerable: true, get: function () { return order_payment_pix_entity_1.OrderPaymentPixEntity; } });
|
30
|
+
var order_payment_wallet_entity_1 = require("./order-payment-wallet.entity");
|
31
|
+
Object.defineProperty(exports, "OrderPaymentWalletEntity", { enumerable: true, get: function () { return order_payment_wallet_entity_1.OrderPaymentWalletEntity; } });
|
32
|
+
var order_payment_entity_1 = require("./order-payment.entity");
|
33
|
+
Object.defineProperty(exports, "OrderPaymentEntity", { enumerable: true, get: function () { return order_payment_entity_1.OrderPaymentEntity; } });
|
34
|
+
var order_scale_item_entity_1 = require("./order-scale-item.entity");
|
35
|
+
Object.defineProperty(exports, "OrderScaleItemEntity", { enumerable: true, get: function () { return order_scale_item_entity_1.OrderScaleItemEntity; } });
|
36
|
+
var order_scale_price_entity_1 = require("./order-scale-price.entity");
|
37
|
+
Object.defineProperty(exports, "OrderScaleEntity", { enumerable: true, get: function () { return order_scale_price_entity_1.OrderScaleEntity; } });
|
38
|
+
var order_total_entity_1 = require("./order-total.entity");
|
39
|
+
Object.defineProperty(exports, "OrderTotalEntity", { enumerable: true, get: function () { return order_total_entity_1.OrderTotalEntity; } });
|
40
|
+
var order_entity_1 = require("./order.entity");
|
41
|
+
Object.defineProperty(exports, "OrderEntity", { enumerable: true, get: function () { return order_entity_1.OrderEntity; } });
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OrderAdditionalFeeEntity = void 0;
|
4
|
+
var OrderAdditionalFeeEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function OrderAdditionalFeeEntity(data) {
|
8
|
+
// #region Properties (2)
|
9
|
+
this.type = '';
|
10
|
+
this.value = 0;
|
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 OrderAdditionalFeeEntity;
|
20
|
+
}());
|
21
|
+
exports.OrderAdditionalFeeEntity = OrderAdditionalFeeEntity;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SponsorshipValuesEntity = void 0;
|
4
|
+
var SponsorshipValuesEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function SponsorshipValuesEntity(data) {
|
8
|
+
// #region Properties (2)
|
9
|
+
this.name = '';
|
10
|
+
this.value = 0;
|
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 SponsorshipValuesEntity;
|
20
|
+
}());
|
21
|
+
exports.SponsorshipValuesEntity = SponsorshipValuesEntity;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { SponsorshipValuesEntity } from './order-benefits-sponsor-ship.entity';
|
2
|
+
export declare class OrderBenefitsEntity {
|
3
|
+
description: string;
|
4
|
+
id: string;
|
5
|
+
sponsorshipValues: SponsorshipValuesEntity[];
|
6
|
+
target: string;
|
7
|
+
targetId: string;
|
8
|
+
value: number;
|
9
|
+
constructor(data?: Partial<OrderBenefitsEntity>);
|
10
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OrderBenefitsEntity = void 0;
|
4
|
+
var OrderBenefitsEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (6)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function OrderBenefitsEntity(data) {
|
8
|
+
// #region Properties (6)
|
9
|
+
this.description = '';
|
10
|
+
this.id = '';
|
11
|
+
this.sponsorshipValues = [];
|
12
|
+
this.target = '';
|
13
|
+
this.targetId = '';
|
14
|
+
this.value = 0;
|
15
|
+
if (data) {
|
16
|
+
for (var key in data) {
|
17
|
+
if (data.hasOwnProperty(key) && key in this) {
|
18
|
+
this[key] = data[key];
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
return OrderBenefitsEntity;
|
24
|
+
}());
|
25
|
+
exports.OrderBenefitsEntity = OrderBenefitsEntity;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OrderCancellationEntity = void 0;
|
4
|
+
var OrderCancellationEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (3)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function OrderCancellationEntity(data) {
|
8
|
+
// #region Properties (3)
|
9
|
+
this.cancellationBy = '';
|
10
|
+
this.cancellationCode = '';
|
11
|
+
this.reason = '';
|
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 OrderCancellationEntity;
|
21
|
+
}());
|
22
|
+
exports.OrderCancellationEntity = OrderCancellationEntity;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OrdersCustomerPhoneEntity = void 0;
|
4
|
+
var OrdersCustomerPhoneEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (4)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function OrdersCustomerPhoneEntity(data) {
|
8
|
+
// #region Properties (4)
|
9
|
+
this.description = '';
|
10
|
+
this.localizer = '';
|
11
|
+
this.localizerExpiration = '';
|
12
|
+
this.number = '';
|
13
|
+
if (data) {
|
14
|
+
for (var key in data) {
|
15
|
+
if (data.hasOwnProperty(key) && key in this) {
|
16
|
+
this[key] = data[key];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
return OrdersCustomerPhoneEntity;
|
22
|
+
}());
|
23
|
+
exports.OrdersCustomerPhoneEntity = OrdersCustomerPhoneEntity;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { OrdersCustomerPhoneEntity } from './order-customer-phone.entity';
|
2
|
+
export declare class OrderCustomerEntity {
|
3
|
+
documentNumber: string;
|
4
|
+
email: string;
|
5
|
+
id: string;
|
6
|
+
name: string;
|
7
|
+
ordersCountOnMerchant: number;
|
8
|
+
phone: OrdersCustomerPhoneEntity;
|
9
|
+
picture: string;
|
10
|
+
constructor(data?: Partial<OrderCustomerEntity>);
|
11
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OrderCustomerEntity = void 0;
|
4
|
+
var order_customer_phone_entity_1 = require("./order-customer-phone.entity");
|
5
|
+
var OrderCustomerEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (7)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function OrderCustomerEntity(data) {
|
9
|
+
// #region Properties (7)
|
10
|
+
this.documentNumber = '';
|
11
|
+
this.email = '';
|
12
|
+
this.id = '';
|
13
|
+
this.name = '';
|
14
|
+
this.ordersCountOnMerchant = 0;
|
15
|
+
this.phone = new order_customer_phone_entity_1.OrdersCustomerPhoneEntity();
|
16
|
+
this.picture = '';
|
17
|
+
if (data) {
|
18
|
+
for (var key in data) {
|
19
|
+
if (data.hasOwnProperty(key) && key in this) {
|
20
|
+
this[key] = data[key];
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
return OrderCustomerEntity;
|
26
|
+
}());
|
27
|
+
exports.OrderCustomerEntity = OrderCustomerEntity;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OrderItemCompositionEntity = void 0;
|
4
|
+
var OrderItemCompositionEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (6)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function OrderItemCompositionEntity(data) {
|
8
|
+
// #region Properties (6)
|
9
|
+
this.amount = 0;
|
10
|
+
this.code = '';
|
11
|
+
this.description = '';
|
12
|
+
this.imageURL = '';
|
13
|
+
this.quantity = 0;
|
14
|
+
this.unit = '';
|
15
|
+
if (data) {
|
16
|
+
for (var key in data) {
|
17
|
+
if (data.hasOwnProperty(key) && key in this) {
|
18
|
+
this[key] = data[key];
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
return OrderItemCompositionEntity;
|
24
|
+
}());
|
25
|
+
exports.OrderItemCompositionEntity = OrderItemCompositionEntity;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
export declare class OrderItemOptionEntity {
|
2
|
+
ean: string;
|
3
|
+
externalCode: string;
|
4
|
+
id: string;
|
5
|
+
index: number;
|
6
|
+
name: string;
|
7
|
+
options: OrderItemOptionEntity[];
|
8
|
+
optionsPrice: number;
|
9
|
+
preparationPlaceId: string;
|
10
|
+
price: number;
|
11
|
+
productId: string;
|
12
|
+
quantity: number;
|
13
|
+
skill: string;
|
14
|
+
totalPrice: number;
|
15
|
+
unit: string;
|
16
|
+
weight: number;
|
17
|
+
constructor(data?: Partial<OrderItemOptionEntity>);
|
18
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OrderItemOptionEntity = void 0;
|
4
|
+
var OrderItemOptionEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (15)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function OrderItemOptionEntity(data) {
|
8
|
+
// #region Properties (15)
|
9
|
+
this.ean = '';
|
10
|
+
this.externalCode = '';
|
11
|
+
this.id = '';
|
12
|
+
this.index = 0;
|
13
|
+
this.name = '';
|
14
|
+
this.options = [];
|
15
|
+
this.optionsPrice = 0;
|
16
|
+
this.preparationPlaceId = '';
|
17
|
+
this.price = 0;
|
18
|
+
this.productId = '';
|
19
|
+
this.quantity = 0;
|
20
|
+
this.skill = '';
|
21
|
+
this.totalPrice = 0;
|
22
|
+
this.unit = '';
|
23
|
+
this.weight = 0;
|
24
|
+
if (data) {
|
25
|
+
for (var key in data) {
|
26
|
+
if (data.hasOwnProperty(key) && key in this) {
|
27
|
+
this[key] = data[key];
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
return OrderItemOptionEntity;
|
33
|
+
}());
|
34
|
+
exports.OrderItemOptionEntity = OrderItemOptionEntity;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { OrderItemCompositionEntity } from './order-item-composition.entity';
|
2
|
+
import { OrderItemOptionEntity } from './order-item-option.entity';
|
3
|
+
import { OrderScaleEntity } from './order-scale-price.entity';
|
4
|
+
export declare class OrderItemEntity {
|
5
|
+
composition: OrderItemCompositionEntity[];
|
6
|
+
ean: string;
|
7
|
+
externalCode: string;
|
8
|
+
id: string;
|
9
|
+
index: number;
|
10
|
+
name: string;
|
11
|
+
observations: string;
|
12
|
+
options: OrderItemOptionEntity[];
|
13
|
+
optionsPrice: number;
|
14
|
+
picture: string;
|
15
|
+
preparationPlaceId: string;
|
16
|
+
price: number;
|
17
|
+
productId: number;
|
18
|
+
quantity: number;
|
19
|
+
scalePrices: OrderScaleEntity;
|
20
|
+
skill: string;
|
21
|
+
totalPrice: number;
|
22
|
+
unit: string;
|
23
|
+
unitPrice: number;
|
24
|
+
weight: number;
|
25
|
+
constructor(data?: Partial<OrderItemEntity>);
|
26
|
+
}
|