cecon-interfaces 1.0.15 → 1.0.17
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 +39 -0
- package/dist/company/entities/company.entity.js +51 -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/i-company.d.ts +1 -0
- 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 +47 -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/i-company.mjs +1 -1
- 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 +877 -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,23 @@
|
|
1
|
+
export class DeliveryAreaEntity {
|
2
|
+
// #region Properties (8)
|
3
|
+
deliveryFee = 0;
|
4
|
+
id = '';
|
5
|
+
latlngs = [];
|
6
|
+
maxTime = 0;
|
7
|
+
minTime = 0;
|
8
|
+
minimumOrderValue = 0;
|
9
|
+
name = '';
|
10
|
+
sequence = 0;
|
11
|
+
// #endregion Properties (8)
|
12
|
+
// #region Constructors (1)
|
13
|
+
constructor(data) {
|
14
|
+
if (data) {
|
15
|
+
for (let key in data) {
|
16
|
+
if (data.hasOwnProperty(key) && key in this) {
|
17
|
+
this[key] = data[key];
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
//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W9uIFByb3BlcnRpZXMgKDgpXG5cbiAgICBwdWJsaWMgZGVsaXZlcnlGZWU6IG51bWJlciA9IDA7XG4gICAgcHVibGljIGlkOiBzdHJpbmcgPSAnJztcbiAgICBwdWJsaWMgbGF0bG5nczogQ29vcmRzRW50aXR5W10gPSBbXTtcbiAgICBwdWJsaWMgbWF4VGltZTogbnVtYmVyID0gMDtcbiAgICBwdWJsaWMgbWluVGltZTogbnVtYmVyID0gMDtcbiAgICBwdWJsaWMgbWluaW11bU9yZGVyVmFsdWU6IG51bWJlciA9IDA7XG4gICAgcHVibGljIG5hbWU6IHN0cmluZyA9ICcnO1xuICAgIHB1YmxpYyBzZXF1ZW5jZTogbnVtYmVyID0gMDtcblxuICAgIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoOClcblxuICAgIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxuXG4gICAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8RGVsaXZlcnlBcmVhRW50aXR5Pikge1xuICAgICAgICBpZiAoZGF0YSkge1xuICAgICAgICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -0,0 +1,20 @@
|
|
1
|
+
export class DeliveryAreaFixedEntity {
|
2
|
+
// #region Properties (5)
|
3
|
+
active = false;
|
4
|
+
deliveryFee = 0;
|
5
|
+
maxTime = 0;
|
6
|
+
minTime = 0;
|
7
|
+
minimumOrderValue = 0;
|
8
|
+
// #endregion Properties (5)
|
9
|
+
// #region Constructors (1)
|
10
|
+
constructor(data) {
|
11
|
+
if (data) {
|
12
|
+
for (let key in data) {
|
13
|
+
if (data.hasOwnProperty(key) && key in this) {
|
14
|
+
this[key] = data[key];
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVsbGl2ZXJ5LWFyZWEtZml4ZWQuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2dlbmVyYWwvZW50aXRpZXMvZGVsbGl2ZXJ5LWFyZWEtZml4ZWQuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE1BQU0sT0FBTyx1QkFBdUI7SUFDaEMseUJBQXlCO0lBRWxCLE1BQU0sR0FBWSxLQUFLLENBQUM7SUFDeEIsV0FBVyxHQUFXLENBQUMsQ0FBQztJQUN4QixPQUFPLEdBQVcsQ0FBQyxDQUFDO0lBQ3BCLE9BQU8sR0FBVyxDQUFDLENBQUM7SUFDcEIsaUJBQWlCLEdBQVcsQ0FBQyxDQUFDO0lBRXJDLDRCQUE0QjtJQUU1QiwyQkFBMkI7SUFFM0IsWUFBWSxJQUF1QztRQUMvQyxJQUFJLElBQUksRUFBRTtZQUNOLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNsQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtvQkFDeEMsSUFBWSxDQUFDLEdBQUcsQ0FBQyxHQUFJLElBQVksQ0FBQyxHQUFHLENBQUMsQ0FBQztpQkFDM0M7YUFDSjtTQUNKO0lBQ0wsQ0FBQztDQUdKIiwic291cmNlc0NvbnRlbnQiOlsiXG5leHBvcnQgY2xhc3MgRGVsaXZlcnlBcmVhRml4ZWRFbnRpdHkge1xuICAgIC8vICNyZWdpb24gUHJvcGVydGllcyAoNSlcblxuICAgIHB1YmxpYyBhY3RpdmU6IGJvb2xlYW4gPSBmYWxzZTtcbiAgICBwdWJsaWMgZGVsaXZlcnlGZWU6IG51bWJlciA9IDA7XG4gICAgcHVibGljIG1heFRpbWU6IG51bWJlciA9IDA7XG4gICAgcHVibGljIG1pblRpbWU6IG51bWJlciA9IDA7XG4gICAgcHVibGljIG1pbmltdW1PcmRlclZhbHVlOiBudW1iZXIgPSAwO1xuXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICg1KVxuXG4gICAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxEZWxpdmVyeUFyZWFGaXhlZEVudGl0eT4pIHtcbiAgICAgICAgaWYgKGRhdGEpIHtcbiAgICAgICAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export { AddressEntity } from './address.entity';
|
2
|
+
export { CoordsEntity } from './coords.entity';
|
3
|
+
export { DeliveryAreaEntity } from './delivery-area.entity';
|
4
|
+
export { DeliveryAreaFixedEntity } from './dellivery-area-fixed.entity';
|
5
|
+
export { MessagerChannelEntity } from './messager-channel.entity';
|
6
|
+
export { MobyoApiConfigEntity } from './mobyo-apiconfig.entity';
|
7
|
+
export { OriginEntity } from './origin.entity';
|
8
|
+
export { PaymentMethodEntity } from './payment-method.entity';
|
9
|
+
export { PaymentProviderAgentEntity } from './payment-provider-agent.entity';
|
10
|
+
export { PaymentProviderEntity } from './payment-provider.entity';
|
11
|
+
export { PaymentTokenDataEntity } from './payment-token-data.entity';
|
12
|
+
export { PaymentTokenEntity } from './payment-token.entity';
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9lbnRpdGllcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDakQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQzVELE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ3hFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQ2hFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUM5RCxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUM3RSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUNsRSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUNyRSxPQ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0eSc7XG5cblxuXG4iXX0=
|
@@ -0,0 +1,18 @@
|
|
1
|
+
export class MessagerChannelEntity {
|
2
|
+
// #region Properties (3)
|
3
|
+
channelId = '';
|
4
|
+
id = '';
|
5
|
+
type = '';
|
6
|
+
// #endregion Properties (3)
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZXItY2hhbm5lbC5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9lbnRpdGllcy9tZXNzYWdlci1jaGFubmVsLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLE9BQU8scUJBQXFCO0lBQzlCLHlCQUF5QjtJQUVsQixTQUFTLEdBQVcsRUFBRSxDQUFDO0lBQ3ZCLEVBQUUsR0FBVyxFQUFFLENBQUM7SUFDaEIsSUFBSSxHQUFXLEVBQUUsQ0FBQztJQUV6Qiw0QkFBNEI7SUFFNUIsMkJBQTJCO0lBRTNCLFlBQVksSUFBcUM7UUFDN0MsSUFBSSxJQUFJLEVBQUU7WUFDTixLQUFLLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtnQkFDbEIsSUFBSSxJQUFJLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7b0JBQ3hDLElBQVksQ0FBQyxHQUFHLENBQUMsR0FBSSxJQUFZLENBQUMsR0FBRyxDQUFDLENBQUM7aUJBQzNDO2FBQ0o7U0FDSjtJQUNMLENBQUM7Q0FHSiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBNZXNzYWdlckNoYW5uZWxFbnRpdHkge1xuICAgIC8vICNyZWdpb24gUHJvcGVydGllcyAoMylcblxuICAgIHB1YmxpYyBjaGFubmVsSWQ6IHN0cmluZyA9ICcnO1xuICAgIHB1YmxpYyBpZDogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIHR5cGU6IHN0cmluZyA9ICcnO1xuXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgzKVxuXG4gICAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxNZXNzYWdlckNoYW5uZWxFbnRpdHk+KSB7XG4gICAgICAgIGlmIChkYXRhKSB7XG4gICAgICAgICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICAgICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAgICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export class MobyoApiConfigEntity {
|
2
|
+
// #region Properties (6)
|
3
|
+
hasIntegration = false;
|
4
|
+
hasPrint = false;
|
5
|
+
integrationUrl = '';
|
6
|
+
printCols = 40;
|
7
|
+
printInterface = '';
|
8
|
+
printType = '';
|
9
|
+
// #endregion Properties (6)
|
10
|
+
// #region Constructors (1)
|
11
|
+
constructor(data) {
|
12
|
+
if (data) {
|
13
|
+
for (let key in data) {
|
14
|
+
if (data.hasOwnProperty(key) && key in this) {
|
15
|
+
this[key] = data[key];
|
16
|
+
}
|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7XG4gICAgcHVibGljIGhhc1ByaW50OiBib29sZWFuID0gZmFsc2U7XG4gICAgcHVibGljIGludGVncmF0aW9uVXJsOiBzdHJpbmcgPSAnJztcbiAgICBwdWJsaWMgcHJpbnRDb2xzOiBudW1iZXIgPSA0MDtcbiAgICBwdWJsaWMgcHJpbnRJbnRlcmZhY2U6IHN0cmluZyA9ICcnO1xuICAgIHB1YmxpYyBwcmludFR5cGU6IHN0cmluZyA9ICcnO1xuXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICg2KVxuXG4gICAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxNb2J5b0FwaUNvbmZpZ0VudGl0eT4pIHtcbiAgICAgICAgaWYgKGRhdGEpIHtcbiAgICAgICAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { LeadOriginEnum } from '../enums/lead-origin.enum';
|
2
|
+
export class OriginEntity {
|
3
|
+
// #region Properties (6)
|
4
|
+
campaign = '';
|
5
|
+
contactPoint = '';
|
6
|
+
date = 0;
|
7
|
+
details = '';
|
8
|
+
referrer = '';
|
9
|
+
type = LeadOriginEnum.OTHERS;
|
10
|
+
// #endregion Properties (6)
|
11
|
+
// #region Constructors (1)
|
12
|
+
constructor(data) {
|
13
|
+
if (data) {
|
14
|
+
for (let key in data) {
|
15
|
+
if (data.hasOwnProperty(key) && key in this) {
|
16
|
+
this[key] = data[key];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JpZ2luLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmFsL2VudGl0aWVzL29yaWdpbi5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBRTNELE1BQU0sT0FBTyxZQUFZO0lBQ3JCLHlCQUF5QjtJQUV6QixRQUFRLEdBQVksRUFBRSxDQUFDO0lBQ3ZCLFlBQVksR0FBWSxFQUFFLENBQUM7SUFDcEIsSUFBSSxHQUFXLENBQUMsQ0FBQztJQUN4QixPQUFPLEdBQVksRUFBRSxDQUFDO0lBQ3RCLFFBQVEsR0FBWSxFQUFFLENBQUM7SUFDaEIsSUFBSSxHQUFtQixjQUFjLENBQUMsTUFBTSxDQUFDO0lBRXBELDRCQUE0QjtJQUU1QiwyQkFBMkI7SUFFM0IsWUFBWSxJQUE0QjtRQUNwQyxJQUFJLElBQUksRUFBRTtZQUNOLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNsQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtvQkFDeEMsSUFBWSxDQUFDLEdBQUcsQ0FBQyxHQUFJLElBQVksQ0FBQyxHQUFHLENBQUMsQ0FBQztpQkFDM0M7YUFDSjtTQUNKO0lBQ0wsQ0FBQztDQUdKIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTGVhZE9yaWdpbkVudW0gfSBmcm9tICcuLi9lbnVtcy9sZWFkLW9yaWdpbi5lbnVtJztcblxuZXhwb3J0IGNsYXNzIE9yaWdpbkVudGl0eSB7XG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICg2KVxuXG4gICAgY2FtcGFpZ24/OiBzdHJpbmcgPSAnJztcbiAgICBjb250YWN0UG9pbnQ/OiBzdHJpbmcgPSAnJztcbiAgICBwdWJsaWMgZGF0ZTogTnVtYmVyID0gMDtcbiAgICBkZXRhaWxzPzogc3RyaW5nID0gJyc7XG4gICAgcmVmZXJyZXI/OiBzdHJpbmcgPSAnJztcbiAgICBwdWJsaWMgdHlwZTogTGVhZE9yaWdpbkVudW0gPSBMZWFkT3JpZ2luRW51bS5PVEhFUlM7XG5cbiAgICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDYpXG5cbiAgICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICAgIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPE9yaWdpbkVudGl0eT4pIHtcbiAgICAgICAgaWYgKGRhdGEpIHtcbiAgICAgICAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { PaymentChannelEnum } from '../enums/payment-channel.enum';
|
2
|
+
import { PaymentModeEnum } from '../enums/payment-mode.enum';
|
3
|
+
import { PaymentTypeEnum } from '../enums/payment-type.enum';
|
4
|
+
export class PaymentMethodEntity {
|
5
|
+
// #region Properties (13)
|
6
|
+
active = false;
|
7
|
+
channel = PaymentChannelEnum.AUTOMATION;
|
8
|
+
createdAt = 0;
|
9
|
+
fee = 0;
|
10
|
+
id = '';
|
11
|
+
index = 0;
|
12
|
+
maxAmount = 0;
|
13
|
+
minAmount = 0;
|
14
|
+
mode = PaymentModeEnum.MANUAL;
|
15
|
+
name = '';
|
16
|
+
token = '';
|
17
|
+
type = PaymentTypeEnum.CREDIT_CARD;
|
18
|
+
updatedAt = Date.now();
|
19
|
+
// #endregion Properties (13)
|
20
|
+
// #region Constructors (1)
|
21
|
+
constructor(data) {
|
22
|
+
if (data) {
|
23
|
+
for (let key in data) {
|
24
|
+
if (data.hasOwnProperty(key) && key in this) {
|
25
|
+
this[key] = data[key];
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1tZXRob2QuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2dlbmVyYWwvZW50aXRpZXMvcGF5bWVudC1tZXRob2QuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ25FLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUM3RCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFFN0QsTUFBTSxPQUFPLG1CQUFtQjtJQUM1QiwwQkFBMEI7SUFFbkIsTUFBTSxHQUFZLEtBQUssQ0FBQztJQUN4QixPQUFPLEdBQXVCLGtCQUFrQixDQUFDLFVBQVUsQ0FBQztJQUM1RCxTQUFTLEdBQVcsQ0FBQyxDQUFDO0lBQ3RCLEdBQUcsR0FBVyx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zIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export class PaymentProviderAgentEntity {
|
2
|
+
// #region Properties (2)
|
3
|
+
accountId = '';
|
4
|
+
name = '';
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
constructor(data) {
|
8
|
+
if (data) {
|
9
|
+
for (let key in data) {
|
10
|
+
if (data.hasOwnProperty(key) && key in this) {
|
11
|
+
this[key] = data[key];
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1wcm92aWRlci1hZ2VudC5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9lbnRpdGllcy9wYXltZW50LXByb3ZpZGVyLWFnZW50LmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxNQUFNLE9BQU8sMEJBQTBCO0lBQ25DLHlCQUF5QjtJQUVsQixTQUFTLEdBQVcsRUFBRSxDQUFDO0lBQzlCLElBQUksR0FBWSxFQUFFLENBQUM7SUFFbkIsNEJBQTRCO0lBRTVCLDJCQUEyQjtJQUUzQixZQUFZLElBQTBDO1FBQ2xELElBQUksSUFBSSxFQUFFO1lBQ04sS0FBSyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7Z0JBQ2xCLElBQUksSUFBSSxDQUFDLGNBQWMsQ0FBQyxHQUFHLENBQUMsSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO29CQUN4QyxJQUFZLENBQUMsR0FBRyxDQUFDLEdBQUksSUFBWSxDQUFDLEdBQUcsQ0FBQyxDQUFDO2lCQUMzQzthQUNKO1NBQ0o7SUFDTCxDQUFDO0NBR0oiLCJzb3VyY2VzQ29udGVudCI6WyJcbmV4cG9ydCBjbGFzcyBQYXltZW50UHJvdmlkZXJBZ2VudEVudGl0eSB7XG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgyKVxuXG4gICAgcHVibGljIGFjY291bnRJZDogc3RyaW5nID0gJyc7XG4gICAgbmFtZT86IHN0cmluZyA9ICcnO1xuXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgyKVxuXG4gICAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxQYXltZW50UHJvdmlkZXJBZ2VudEVudGl0eT4pIHtcbiAgICAgICAgaWYgKGRhdGEpIHtcbiAgICAgICAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { PaymentProviderAgentEntity } from './payment-provider-agent.entity';
|
2
|
+
export class PaymentProviderEntity {
|
3
|
+
// #region Properties (13)
|
4
|
+
accountId = '';
|
5
|
+
active = false;
|
6
|
+
agent = new PaymentProviderAgentEntity();
|
7
|
+
customerId = '';
|
8
|
+
liveApiToken = '';
|
9
|
+
name = '';
|
10
|
+
paymentTokens = [];
|
11
|
+
subscriptionId = '';
|
12
|
+
subscriptions = '';
|
13
|
+
testApiToken = '';
|
14
|
+
userApiToken = '';
|
15
|
+
verified = false;
|
16
|
+
verifiedAt = 0;
|
17
|
+
// #endregion Properties (13)
|
18
|
+
// #region Constructors (1)
|
19
|
+
constructor(data) {
|
20
|
+
if (data) {
|
21
|
+
for (let key in data) {
|
22
|
+
if (data.hasOwnProperty(key) && key in this) {
|
23
|
+
this[key] = data[key];
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1wcm92aWRlci5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9lbnRpdGllcy9wYXltZW50LXByb3ZpZGVyLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUc3RSxNQUFNLE9BQU8scUJBQXFCO0lBQzlCLDBCQUEwQjtJQUVuQixTQUFTLEdBQVcsRUFBRSxDQUFDO0lBQ3ZCLE1BQU0sR0FBWSxLQUFLLENBQUM7SUFDeEIsS0FBSyxHQUErQixJQUFJLDBCQUEwQixFQUFFLENBQUM7SUFDckUsVUFBVSxHQUFXLEVBQUUsQ0FBQztJQUN4QixZQUFZLEdBQVcsRUFBRSxDQUFDO0lBQzFCLElBQUksR0FBVyxFQUFFLENBQUM7SUFDbEIsYUFBYSxHQUF5QixFQUFFLENBQUM7SUFDekMsY0FBYyxHQUFXLEVBQUUsQ0FBQztJQUNuQyxhQUFhLEdBQVksRUFBRSxDQUFDO0lBQ3JCLFlBQVksR0FBVyxFQUFFLENBQUM7SUFDMUIsWUFBWSxHQUFXLEVBQUUsQ0FBQztJQUMxQixRQU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bnM6IFBheW1lbnRUb2tlbkVudGl0eVtdID0gW107XG4gICAgcHVibGljIHN1YnNjcmlwdGlvbklkOiBzdHJpbmcgPSAnJztcbiAgICBzdWJzY3JpcHRpb25zPzogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIHRlc3RBcGlUb2tlbjogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIHVzZXJBcGlUb2tlbjogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIHZlcmlmaWVkOiBib29sZWFuID0gZmFsc2U7XG4gICAgcHVibGljIHZlcmlmaWVkQXQ6IG51bWJlciA9IDA7XG5cbiAgICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDEzKVxuXG4gICAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxQYXltZW50UHJvdmlkZXJFbnRpdHk+KSB7XG4gICAgICAgIGlmIChkYXRhKSB7XG4gICAgICAgICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICAgICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAgICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -0,0 +1,22 @@
|
|
1
|
+
export class PaymentTokenDataEntity {
|
2
|
+
// #region Properties (7)
|
3
|
+
bin = '';
|
4
|
+
brand = '';
|
5
|
+
displayNumber = '';
|
6
|
+
firstDigits = '';
|
7
|
+
maskedNumber = '';
|
8
|
+
month = 0;
|
9
|
+
year = 0;
|
10
|
+
// #endregion Properties (7)
|
11
|
+
// #region Constructors (1)
|
12
|
+
constructor(data) {
|
13
|
+
if (data) {
|
14
|
+
for (let key in data) {
|
15
|
+
if (data.hasOwnProperty(key) && key in this) {
|
16
|
+
this[key] = data[key];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC10b2tlbi1kYXRhLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmFsL2VudGl0aWVzL3BheW1lbnQtdG9rZW4tZGF0YS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsTUFBTSxPQUFPLHNCQUFzQjtJQUMvQix5QkFBeUI7SUFFbEIsR0FBRyxHQUFXLEVBQUUsQ0FBQztJQUNqQixLQUFLLEdBQVcsRUFBRSxDQUFDO0lBQ25CLGFBQWEsR0FBVyxFQUFFLENBQUM7SUFDM0IsV0FBVyxHQUFXLEVBQUUsQ0FBQztJQUN6QixZQUFZLEdBQVcsRUFBRSxDQUFDO0lBQzFCLEtBQUssR0FBVyxDQUFDLENBQUM7SUFDbEIsSUFBSSxHQUFXLENBQUMsQ0FBQztJQUV4Qiw0QkFBNEI7SUFFNUIsMkJBQTJCO0lBRTNCLFlBQVksSUFBc0M7UUFDOUMsSUFBSSxJQUFJLEVBQUU7WUFDTixLQUFLLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtnQkFDbEIsSUFBSSxJQUFJLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7b0JBQ3hDLElBQVksQ0FBQyxHQUFHLENBQUMsR0FBSSxJQUFZLENBQUMsR0FBRyxDQUFDLENBQUM7aUJBQzNDO2FBQ0o7U0FDSjtJQUNMLENBQUM7Q0FHSiIsInNvdXJjZXNDb250ZW50IjpbIlxuZXhwb3J0IGNsYXNzIFBheW1lbnRUb2tlbkRhdGFFbnRpdHkge1xuICAgIC8vICNyZWdpb24gUHJvcGVydGllcyAoNylcblxuICAgIHB1YmxpYyBiaW46IHN0cmluZyA9ICcnO1xuICAgIHB1YmxpYyBicmFuZDogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIGRpc3BsYXlOdW1iZXI6IHN0cmluZyA9ICcnO1xuICAgIHB1YmxpYyBmaXJzdERpZ2l0czogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIG1hc2tlZE51bWJlcjogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIG1vbnRoOiBudW1iZXIgPSAwO1xuICAgIHB1YmxpYyB5ZWFyOiBudW1iZXIgPSAwO1xuXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICg3KVxuXG4gICAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxQYXltZW50VG9rZW5EYXRhRW50aXR5Pikge1xuICAgICAgICBpZiAoZGF0YSkge1xuICAgICAgICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { PaymentTokenDataEntity } from './payment-token-data.entity';
|
2
|
+
export class PaymentTokenEntity {
|
3
|
+
// #region Properties (5)
|
4
|
+
customerId = '';
|
5
|
+
data = new PaymentTokenDataEntity();
|
6
|
+
description = '';
|
7
|
+
id = '';
|
8
|
+
itemType = '';
|
9
|
+
// #endregion Properties (5)
|
10
|
+
// #region Constructors (1)
|
11
|
+
constructor(data) {
|
12
|
+
if (data) {
|
13
|
+
for (let key in data) {
|
14
|
+
if (data.hasOwnProperty(key) && key in this) {
|
15
|
+
this[key] = data[key];
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC10b2tlbi5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9lbnRpdGllcy9wYXltZW50LXRva2VuLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUVyRSxNQUFNLE9BQU8sa0JBQWtCO0lBQzNCLHlCQUF5QjtJQUVsQixVQUFVLEdBQVcsRUFBRSxDQUFDO0lBQ3hCLElBQUksR0FBMkIsSUFBSSxzQkFBc0IsRUFBRSxDQUFDO0lBQzVELFdBQVcsR0FBVyxFQUFFLENBQUM7SUFDekIsRUFBRSxHQUFXLEVBQUUsQ0FBQztJQUNoQixRQUFRLEdBQVcsRUFBRSxDQUFDO0lBRTdCLDRCQUE0QjtJQUU1QiwyQkFBMkI7SUFFM0IsWUFBWSxJQUFrQztRQUMxQyxJQUFJLElBQUksRUFBRTtZQUNOLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNsQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtvQkFDeEMsSUFBWSxDQUFDLEdBQUcsQ0FBQyxHQUFJLElBQVksQ0FBQyxHQUFHLENBQUMsQ0FBQztpQkFDM0M7YUF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num } 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';
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9lbnVtcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDOUMsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ3BELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQzVELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUN0RCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDdEQsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBEb2NUeXBlRW51bSB9IGZyb20gJy4vZG9jLXR5cGUuZW51bSc7XG5leHBvcnQgeyBMZWFkT3JpZ2luRW51bSB9IGZyb20gJy4vbGVhZC1vcmlnaW4uZW51bSc7XG5leHBvcnQgeyBQYXltZW50Q2hhbm5lbEVudW0gfSBmcm9tICcuL3BheW1lbnQtY2hhbm5lbC5lbnVtJztcbmV4cG9ydCB7IFBheW1lbnRNb2RlRW51bSB9IGZyb20gJy4vcGF5bWVudC1tb2RlLmVudW0nO1xuZXhwb3J0IHsgUGF5bWVudFR5cGVFbnVtIH0gZnJvbSAnLi9wYXltZW50LXR5cGUuZW51bSc7XG5leHBvcnQgeyBQYXltZW50UHJvdmlkZXJFbnVtIH0gZnJvbSAnLi9wcm92aWRlcnMuZW51bSc7XG4iXX0=
|
@@ -13,9 +13,10 @@ export var PaymentTypeEnum;
|
|
13
13
|
PaymentTypeEnum["E_WALLET"] = "E_WALLET";
|
14
14
|
PaymentTypeEnum["DIRECT_DEBIT"] = "DIRECT_DEBIT";
|
15
15
|
PaymentTypeEnum["PAYPAL"] = "PAYPAL";
|
16
|
+
PaymentTypeEnum["CHECKOUTPRO"] = "CHECKOUTPRO";
|
16
17
|
PaymentTypeEnum["WIRE_TRANSFER"] = "WIRE_TRANSFER";
|
17
18
|
PaymentTypeEnum["GIFT_CARD"] = "GIFT_CARD";
|
18
19
|
PaymentTypeEnum["VOUCHER"] = "VOUCHER";
|
19
20
|
PaymentTypeEnum["BILLING"] = "BILLING";
|
20
21
|
})(PaymentTypeEnum || (PaymentTypeEnum = {}));
|
21
|
-
//# sourceMappingURL=data:application/json;base64,
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC10eXBlLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9lbnVtcy9wYXltZW50LXR5cGUuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxlQW1CWDtBQW5CRCxXQUFZLGVBQWU7SUFDdkIsOENBQTJCLENBQUE7SUFDM0IsNENBQXlCLENBQUE7SUFDekIsZ0NBQWEsQ0FBQTtJQUNiLDhCQUFXLENBQUE7SUFDWCxvREFBaUMsQ0FBQTtJQUNqQyxrQ0FBZSxDQUFBO0lBQ2Ysb0RBQWlDLENBQUE7SUFDakMsNERBQXlDLENBQUE7SUFDekMsOENBQTJCLENBQUE7SUFDM0IsZ0RBQT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1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
export
|
3
|
-
export
|
4
|
-
|
5
|
-
export { PaymentModeEnum } from './enums/payment-mode.enum';
|
6
|
-
export { PaymentTypeEnum } from './enums/payment-type.enum';
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZ2VuZXJhbC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxXQUFXO0FBRVgsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ3BELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUMxRCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUNsRSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDNUQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDJCQUEyQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gaW5kZXgudHNcblxuZXhwb3J0IHsgRG9jVHlwZUVudW0gfSBmcm9tICcuL2VudW1zL2RvYy10eXBlLmVudW0nO1xuZXhwb3J0IHsgTGVhZE9yaWdpbkVudW0gfSBmcm9tICcuL2VudW1zL2xlYWQtb3JpZ2luLmVudW0nO1xuZXhwb3J0IHsgUGF5bWVudENoYW5uZWxFbnVtIH0gZnJvbSAnLi9lbnVtcy9wYXltZW50LWNoYW5uZWwuZW51bSc7XG5leHBvcnQgeyBQYXltZW50TW9kZUVudW0gfSBmcm9tICcuL2VudW1zL3BheW1lbnQtbW9kZS5lbnVtJztcbmV4cG9ydCB7IFBheW1lbnRUeXBlRW51bSB9IGZyb20gJy4vZW51bXMvcGF5bWVudC10eXBlLmVudW0nO1xuZXhwb3J0IHsgS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'./interfaces';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZ2VuZXJhbC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLFNBQVMsQ0FBQztBQUN4QixjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZW50aXRpZXMnO1xuZXhwb3J0ICogZnJvbSAnLi9lbnVtcyc7XG5leHBvcnQgKiBmcm9tICcuL2ludGVyZmFjZXMnO1xuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1hZGRyZXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2dlbmVyYWwvaW50ZXJmYWNlcy9pLWFkZHJlc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElDb29yZHMgfSBmcm9tICcuL2ktY29vcmRzJztcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgSUFkZHJlc3Mge1xyXG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICg3KVxyXG5cclxuICAgIGNpdHk6IHN0cmluZztcclxuICAgIGNvbXBsZW1lbnQ/OiBzdHJpbmc7XHJcbiAgICBuZWlnaGJvcmhvb2Q6IHN0cmluZztcclxuICAgIHBvc3RhbENvZGU6IHN0cmluZztcclxuICAgIHN0YXRlOiBzdHJpbmc7XHJcbiAgICBzdHJlZXROYW1lOiBzdHJpbmc7XHJcbiAgICBzdHJlZXROdW1iZXI6IHN0cmluZztcclxuICAgIGNvb3Jkcz86IElDb29yZHM7XHJcblxyXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICg3KVxyXG59XHJcbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1tb2J5by1hcGktY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2dlbmVyYWwvaW50ZXJmYWNlcy9pLW1vYnlvLWFwaS1jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSU1vYnlvQXBpQ29uZmlnIHtcclxuICAgIGhhc0ludGVncmF0aW9uOiBib29sZWFuO1xyXG4gICAgaGFzUHJpbnQ6IGJvb2xlYW47XHJcbiAgICBpbnRlZ3JhdGlvblVybDogc3RyaW5nO1xyXG4gICAgcHJpbnRDb2xzOiBudW1iZXI7XHJcbiAgICBwcmludEludGVyZmFjZTogc3RyaW5nO1xyXG4gICAgcHJpbnRUeXBlOiBzdHJpbmc7XHJcbn1cclxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wYXltZW50LXByb3ZpZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2dlbmVyYWwvaW50ZXJmYWNlcy9pLXBheW1lbnQtcHJvdmlkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElQYXltZW50UHJvdmlkZXJBZ2VudCB9IGZyb20gJy4vaS1wYXltZW50LXByb3ZpZGVyLWFnZW50JztcclxuaW1wb3J0IHsgSVBheW1lbnRUb2tlbiB9IGZyb20gJy4vaS1wYXltZW50LXRva2VuJztcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgSVBheW1lbnRQcm92aWRlciB7XHJcbiAgICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDEzKVxyXG5cclxuICAgIGFjY291bnRJZDogc3RyaW5nO1xyXG4gICAgYWN0aXZlOiBib29sZWFuO1xyXG4gICAgYWdlbnQ6IElQYXltZW50UHJvdmlkZXJBZ2VudDtcclxuICAgIGN1c3RvbWVySWQ6IHN0cmluZztcclxuICAgIGxpdmVBcGlUb2tlbjogc3RyaW5nO1xyXG4gICAgbmFtZTogc3RyaW5nO1xyXG4gICAgcGF5bWVudFRva2VuczogSVBheW1lbnRUb2tlbltdO1xyXG4gICAgc3Vic2NyaXB0aW9uSWQ6IHN0cmluZztcclxuICAgIHN1YnNjcmlwdGlvbnM/OiBzdHJpbmc7XHJcbiAgICB0ZXN0QXBpVG9rZW46IHN0cmluZztcclxuICAgIHVzZXJBcGlUb2tlbjogc3RyaW5nO1xyXG4gICAgdmVyaWZpZWQ6IGJvb2xlYW47XHJcbiAgICB2ZXJpZmllZEF0OiBudW1iZXI7XHJcblxyXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxMylcclxufVxyXG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
// src/models/base.entity.ts
|
2
|
+
export {};
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wYXltZW50LXRva2VuLWRhdGEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9pbnRlcmZhY2VzL2ktcGF5bWVudC10b2tlbi1kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDRCQUE0QiIsInNvdXJjZXNDb250ZW50IjpbIi8vIHNyYy9tb2RlbHMvYmFzZS5lbnRpdHkudHNcblxuZXhwb3J0IGludGVyZmFjZSBJUGF5bWVudFRva2VuRGF0YSB7XG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICg3KVxuXG4gICAgYmluOiBzdHJpbmc7XG4gICAgYnJhbmQ6IHN0cmluZztcbiAgICBkaXNwbGF5TnVtYmVyOiBzdHJpbmc7XG4gICAgZmlyc3REaWdpdHM6IHN0cmluZztcbiAgICBtYXNrZWROdW1iZXI6IHN0cmluZztcbiAgICBtb250aDogbnVtYmVyO1xuICAgIHllYXI6IG51bWJlcjtcblxuICAgIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNylcbn1cbiJdfQ==
|
@@ -0,0 +1,3 @@
|
|
1
|
+
// src/models/base.entity.ts
|
2
|
+
export {};
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wYXltZW50LXRva2VuLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2dlbmVyYWwvaW50ZXJmYWNlcy9pLXBheW1lbnQtdG9rZW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsNEJBQTRCIiwic291cmNlc0NvbnRlbnQiOlsiLy8gc3JjL21vZGVscy9iYXNlLmVudGl0eS50c1xuXG5pbXBvcnQgeyBJUGF5bWVudFRva2VuRGF0YSB9IGZyb20gJy4vaS1wYXltZW50LXRva2VuLWRhdGEnO1xuXG5cbmV4cG9ydCBpbnRlcmZhY2UgSVBheW1lbnRUb2tlbiB7XG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICg1KVxuXG4gICAgY3VzdG9tZXJJZDogc3RyaW5nO1xuICAgIGRhdGE6IElQYXltZW50VG9rZW5EYXRhO1xuICAgIGR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ltZW50UHJvdmlkZXJBZ2VudCB9IGZyb20gJy4vaS1wYXltZW50LXByb3ZpZGVyLWFnZW50JztcbmV4cG9ydCB7IElQYXltZW50VG9rZW4gfSBmcm9tICcuL2ktcGF5bWVudC10b2tlbic7XG5leHBvcnQgeyBJUGF5bWVudFRva2VuRGF0YSB9IGZyb20gJy4vaS1wYXltZW50LXRva2VuLWRhdGEnO1xuXG5cblxuXG4iXX0=
|
package/dist/esm2022/index.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
// index.ts
|
2
1
|
export * from './company';
|
3
2
|
export * from './device';
|
4
3
|
export * from './general';
|
4
|
+
export * from './order';
|
5
5
|
export * from './purchases';
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxVQUFVLENBQUM7QUFDekIsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxTQUFTLENBQUM7QUFDeEIsY0FBYyxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NvbXBhbnknO1xuZXhwb3J0ICogZnJvbSAnLi9kZXZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9nZW5lcmFsJztcbmV4cG9ydCAqIGZyb20gJy4vb3JkZXInO1xuZXhwb3J0ICogZnJvbSAnLi9wdXJjaGFzZXMnO1xuIl19
|
@@ -0,0 +1,20 @@
|
|
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';
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvb3JkZXIvZW50aXRpZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFDMUUsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sc0NBQXNDLENBQUM7QUFDL0UsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDOUQsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sNkJBQTZCLENBQUM7QUFDdEUsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDMUUsT0FBTyxFQU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wYXltZW50LXdhbGxldC5lbnRpdHknO1xuZXhwb3J0IHsgT3JkZXJQYXltZW50RW50aXR5IH0gZnJvbSAnLi9vcmRlci1wYXltZW50LmVudGl0eSc7XG5leHBvcnQgeyBPcmRlclNjYWxlSXRlbUVudGl0eSB9IGZyb20gJy4vb3JkZXItc2NhbGUtaXRlbS5lbnRpdHknO1xuZXhwb3J0IHsgT3JkZXJTY2FsZUVudGl0eSB9IGZyb20gJy4vb3JkZXItc2NhbGUtcHJpY2UuZW50aXR5JztcbmV4cG9ydCB7IE9yZGVyVG90YWxFbnRpdHkgfSBmcm9tICcuL29yZGVyLXRvdGFsLmVudGl0eSc7XG5leHBvcnQgeyBPcmRlckVudGl0eSB9IGZyb20gJy4vb3JkZXIuZW50aXR5JztcblxuIl19
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export class OrderAdditionalFeeEntity {
|
2
|
+
// #region Properties (2)
|
3
|
+
type = '';
|
4
|
+
value = 0;
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
constructor(data) {
|
8
|
+
if (data) {
|
9
|
+
for (let key in data) {
|
10
|
+
if (data.hasOwnProperty(key) && key in this) {
|
11
|
+
this[key] = data[key];
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItYWRkaXRpb25hbC1mZWVzLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9vcmRlci9lbnRpdGllcy9vcmRlci1hZGRpdGlvbmFsLWZlZXMuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyx3QkFBd0I7SUFDakMseUJBQXlCO0lBRWxCLElBQUksR0FBVyxFQUFFLENBQUM7SUFDbEIsS0FBSyxHQUFXLENB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KDEpXG59XG4iXX0=
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export class SponsorshipValuesEntity {
|
2
|
+
// #region Properties (2)
|
3
|
+
name = '';
|
4
|
+
value = 0;
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
constructor(data) {
|
8
|
+
if (data) {
|
9
|
+
for (let key in data) {
|
10
|
+
if (data.hasOwnProperty(key) && key in this) {
|
11
|
+
this[key] = data[key];
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItYmVuZWZpdHMtc3BvbnNvci1zaGlwLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9vcmRlci9lbnRpdGllcy9vcmRlci1iZW5lZml0cy1zcG9uc29yLXNoaXAuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE1BQU0sT0FBTyx1QkFBdUI7SUFDaEMseUJBQXlCO0lBRWxCLElBQUksR0FBVyxFQUFFLENBQUM7SUFDbEIsS0FBSyxHQUFXLENBQUMsQ0FBQztJQUV6Qiw0QkFBNEI7SUFFNUIsMkJBQTJCO0lBRTNCLFlBQVksSUFBdUM7UUFDL0MsSUFBSSxJQUFJLEVBQUU7WUFDTixLQUFLLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtnQkFDbEIsSUFBSSxJQUFJLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7b0JBQ3hDLElBQVksQ0FBQyxHQUFHLENBQUMsR0FBSSxJQUFZLENBQUMsR0FBRyxDQUFDLENBQUM7aUJBQzNDO2FBQ0o7U0FDSjtJQUNMLENBQUM7Q0FHSiIsInNvdXJjZXNDb250ZW50IjpbIlxuZXhwb3J0IGNsYXNzIFNwb25zb3JzaGlwVmFsdWVzRW50aXR5IHtcbiAgICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDIpXG5cbiAgICBwdWJsaWMgbmFtZTogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIHZhbHVlOiBudW1iZXIgPSAwO1xuXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgyKVxuXG4gICAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxTcG9uc29yc2hpcFZhbHVlc0VudGl0eT4pIHtcbiAgICAgICAgaWYgKGRhdGEpIHtcbiAgICAgICAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export class OrderBenefitsEntity {
|
2
|
+
// #region Properties (6)
|
3
|
+
description = '';
|
4
|
+
id = '';
|
5
|
+
sponsorshipValues = [];
|
6
|
+
target = '';
|
7
|
+
targetId = '';
|
8
|
+
value = 0;
|
9
|
+
// #endregion Properties (6)
|
10
|
+
// #region Constructors (1)
|
11
|
+
constructor(data) {
|
12
|
+
if (data) {
|
13
|
+
for (let key in data) {
|
14
|
+
if (data.hasOwnProperty(key) && key in this) {
|
15
|
+
this[key] = data[key];
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
//# sourceMappingURL=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wdGlvbjogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIGlkOiBzdHJpbmcgPSAnJztcbiAgICBwdWJsaWMgc3BvbnNvcnNoaXBWYWx1ZXM6IFNwb25zb3JzaGlwVmFsdWVzRW50aXR5W10gPSBbXTtcbiAgICBwdWJsaWMgdGFyZ2V0OiBzdHJpbmcgPSAnJztcbiAgICBwdWJsaWMgdGFyZ2V0SWQ6IHN0cmluZyA9ICcnO1xuICAgIHB1YmxpYyB2YWx1ZTogbnVtYmVyID0gMDtcblxuICAgIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNilcblxuICAgIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxuXG4gICAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8T3JkZXJCZW5lZml0c0VudGl0eT4pIHtcbiAgICAgICAgaWYgKGRhdGEpIHtcbiAgICAgICAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -0,0 +1,18 @@
|
|
1
|
+
export class OrderCancellationEntity {
|
2
|
+
// #region Properties (3)
|
3
|
+
cancellationBy = '';
|
4
|
+
cancellationCode = '';
|
5
|
+
reason = '';
|
6
|
+
// #endregion Properties (3)
|
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
|
+
}
|
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vLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDMpXG5cbiAgICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICAgIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPE9yZGVyQ2FuY2VsbGF0aW9uRW50aXR5Pikge1xuICAgICAgICBpZiAoZGF0YSkge1xuICAgICAgICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export class OrdersCustomerPhoneEntity {
|
2
|
+
// #region Properties (4)
|
3
|
+
description = '';
|
4
|
+
localizer = '';
|
5
|
+
localizerExpiration = '';
|
6
|
+
number = '';
|
7
|
+
// #endregion Properties (4)
|
8
|
+
// #region Constructors (1)
|
9
|
+
constructor(data) {
|
10
|
+
if (data) {
|
11
|
+
for (let key in data) {
|
12
|
+
if (data.hasOwnProperty(key) && key in this) {
|
13
|
+
this[key] = data[key];
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItY3VzdG9tZXItcGhvbmUuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL29yZGVyL2VudGl0aWVzL29yZGVyLWN1c3RvbWVyLXBob25lLmVudGl0eS50cyJdLCJuYW1lcyI6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AgaWYgKGRhdGEpIHtcbiAgICAgICAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { OrdersCustomerPhoneEntity } from './order-customer-phone.entity';
|
2
|
+
export class OrderCustomerEntity {
|
3
|
+
// #region Properties (7)
|
4
|
+
documentNumber = '';
|
5
|
+
email = '';
|
6
|
+
id = '';
|
7
|
+
name = '';
|
8
|
+
ordersCountOnMerchant = 0;
|
9
|
+
phone = new OrdersCustomerPhoneEntity();
|
10
|
+
picture = '';
|
11
|
+
// #endregion Properties (7)
|
12
|
+
// #region Constructors (1)
|
13
|
+
constructor(data) {
|
14
|
+
if (data) {
|
15
|
+
for (let key in data) {
|
16
|
+
if (data.hasOwnProperty(key) && key in this) {
|
17
|
+
this[key] = data[key];
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItY3VzdG9tZXIuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL29yZGVyL2VudGl0aWVzL29yZGVyLWN1c3RvbWVyLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUUxRS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k1lcmNoYW50OiBudW1iZXIgPSAwO1xuICAgIHB1YmxpYyBwaG9uZTogT3JkZXJzQ3VzdG9tZXJQaG9uZUVudGl0eSA9IG5ldyBPcmRlcnNDdXN0b21lclBob25lRW50aXR5KCk7XG4gICAgcHVibGljIHBpY3R1cmU6IHN0cmluZyA9ICcnO1xuXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICg3KVxuXG4gICAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxPcmRlckN1c3RvbWVyRW50aXR5Pikge1xuICAgICAgICBpZiAoZGF0YSkge1xuICAgICAgICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export class OrderItemCompositionEntity {
|
2
|
+
// #region Properties (6)
|
3
|
+
amount = 0;
|
4
|
+
code = '';
|
5
|
+
description = '';
|
6
|
+
imageURL = '';
|
7
|
+
quantity = 0;
|
8
|
+
unit = '';
|
9
|
+
// #endregion Properties (6)
|
10
|
+
// #region Constructors (1)
|
11
|
+
constructor(data) {
|
12
|
+
if (data) {
|
13
|
+
for (let key in data) {
|
14
|
+
if (data.hasOwnProperty(key) && key in this) {
|
15
|
+
this[key] = data[key];
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
//# sourceMappingURL=data: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