cecon-interfaces 1.3.9 → 1.3.11
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 +4 -0
- package/dist/company/entities/company.entity.js +1 -0
- package/dist/company/interfaces/i-company.d.ts +2 -0
- package/dist/desenfila-merchant/entities/index.d.ts +3 -0
- package/dist/desenfila-merchant/entities/index.js +9 -0
- package/dist/desenfila-merchant/entities/merchant-address.entity.d.ts +11 -0
- package/dist/desenfila-merchant/entities/merchant-address.entity.js +23 -0
- package/dist/desenfila-merchant/entities/merchant-payment-provider.entity.d.ts +15 -0
- package/dist/desenfila-merchant/entities/merchant-payment-provider.entity.js +27 -0
- package/dist/desenfila-merchant/entities/merchant.entity.d.ts +29 -0
- package/dist/desenfila-merchant/entities/merchant.entity.js +40 -0
- package/dist/desenfila-merchant/index.d.ts +2 -0
- package/dist/desenfila-merchant/index.js +18 -0
- package/dist/desenfila-merchant/interfaces/i-merchant-address.d.ts +9 -0
- package/dist/desenfila-merchant/interfaces/i-merchant-address.js +2 -0
- package/dist/desenfila-merchant/interfaces/i-merchant-mercado-pago.d.ts +3 -0
- package/dist/desenfila-merchant/interfaces/i-merchant-mercado-pago.js +2 -0
- package/dist/desenfila-merchant/interfaces/i-merchant-payers-store.d.ts +4 -0
- package/dist/desenfila-merchant/interfaces/i-merchant-payers-store.js +2 -0
- package/dist/desenfila-merchant/interfaces/i-merchant-payment-provider-agent.d.ts +3 -0
- package/dist/desenfila-merchant/interfaces/i-merchant-payment-provider-agent.js +2 -0
- package/dist/desenfila-merchant/interfaces/i-merchant-payment-provider.d.ts +14 -0
- package/dist/desenfila-merchant/interfaces/i-merchant-payment-provider.js +2 -0
- package/dist/desenfila-merchant/interfaces/i-merchant.d.ts +27 -0
- package/dist/desenfila-merchant/interfaces/i-merchant.js +2 -0
- package/dist/desenfila-merchant/interfaces/index.d.ts +6 -0
- package/dist/desenfila-merchant/interfaces/index.js +2 -0
- package/dist/desenfila-order/entities/i-container-order-item.entity.d.ts +14 -0
- package/dist/desenfila-order/entities/i-container-order-item.entity.js +26 -0
- package/dist/desenfila-order/entities/i-container-order-payment.d.ts +18 -0
- package/dist/desenfila-order/entities/i-container-order-payment.js +30 -0
- package/dist/desenfila-order/entities/i-container-order-pix.entity.d.ts +7 -0
- package/dist/desenfila-order/entities/i-container-order-pix.entity.js +19 -0
- package/dist/desenfila-order/entities/i-container-order.entity.d.ts +45 -0
- package/dist/desenfila-order/entities/i-container-order.entity.js +55 -0
- package/dist/desenfila-order/entities/index.d.ts +4 -0
- package/dist/desenfila-order/entities/index.js +11 -0
- package/dist/desenfila-order/index.d.ts +2 -0
- package/dist/desenfila-order/index.js +18 -0
- package/dist/desenfila-order/interfaces/i-container-order-item.d.ts +12 -0
- package/dist/desenfila-order/interfaces/i-container-order-item.js +2 -0
- package/dist/desenfila-order/interfaces/i-container-order-payment.d.ts +19 -0
- package/dist/desenfila-order/interfaces/i-container-order-payment.js +2 -0
- package/dist/desenfila-order/interfaces/i-container-order-pix.d.ts +5 -0
- package/dist/desenfila-order/interfaces/i-container-order-pix.js +2 -0
- package/dist/desenfila-order/interfaces/i-container-order.d.ts +47 -0
- package/dist/desenfila-order/interfaces/i-container-order.js +2 -0
- package/dist/desenfila-order/interfaces/index.d.ts +4 -0
- package/dist/desenfila-order/interfaces/index.js +2 -0
- package/dist/esm2022/company/entities/company.entity.mjs +3 -1
- package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
- package/dist/esm2022/desenfila-merchant/entities/index.mjs +4 -0
- package/dist/esm2022/desenfila-merchant/entities/merchant-address.entity.mjs +19 -0
- package/dist/esm2022/desenfila-merchant/entities/merchant-payment-provider.entity.mjs +23 -0
- package/dist/esm2022/desenfila-merchant/entities/merchant.entity.mjs +36 -0
- package/dist/esm2022/desenfila-merchant/index.mjs +3 -0
- package/dist/esm2022/desenfila-merchant/interfaces/i-merchant-address.mjs +2 -0
- package/dist/esm2022/desenfila-merchant/interfaces/i-merchant-mercado-pago.mjs +2 -0
- package/dist/esm2022/desenfila-merchant/interfaces/i-merchant-payers-store.mjs +2 -0
- package/dist/esm2022/desenfila-merchant/interfaces/i-merchant-payment-provider-agent.mjs +2 -0
- package/dist/esm2022/desenfila-merchant/interfaces/i-merchant-payment-provider.mjs +2 -0
- package/dist/esm2022/desenfila-merchant/interfaces/i-merchant.mjs +2 -0
- package/dist/esm2022/desenfila-merchant/interfaces/index.mjs +2 -0
- package/dist/esm2022/desenfila-order/entities/i-container-order-item.entity.mjs +22 -0
- package/dist/esm2022/desenfila-order/entities/i-container-order-payment.mjs +26 -0
- package/dist/esm2022/desenfila-order/entities/i-container-order-pix.entity.mjs +15 -0
- package/dist/esm2022/desenfila-order/entities/i-container-order.entity.mjs +51 -0
- package/dist/esm2022/desenfila-order/entities/index.mjs +5 -0
- package/dist/esm2022/desenfila-order/index.mjs +3 -0
- package/dist/esm2022/desenfila-order/interfaces/i-container-order-item.mjs +2 -0
- package/dist/esm2022/desenfila-order/interfaces/i-container-order-payment.mjs +2 -0
- package/dist/esm2022/desenfila-order/interfaces/i-container-order-pix.mjs +2 -0
- package/dist/esm2022/desenfila-order/interfaces/i-container-order.mjs +2 -0
- package/dist/esm2022/desenfila-order/interfaces/index.mjs +2 -0
- package/dist/esm2022/general/entities/desenfila-info.entity.mjs +16 -0
- package/dist/esm2022/general/entities/index.mjs +4 -1
- package/dist/esm2022/general/entities/mobyo-info.entity.mjs +16 -0
- package/dist/esm2022/general/entities/nati-info.entity.mjs +16 -0
- package/dist/esm2022/general/interfaces/i-desenfila-info.mjs +2 -0
- package/dist/esm2022/general/interfaces/i-mobyo-info.mjs +2 -0
- package/dist/esm2022/general/interfaces/i-nati-info.mjs +2 -0
- package/dist/esm2022/general/interfaces/index.mjs +1 -1
- package/dist/esm2022/global-settings/entities/global-setting-iugu.entity.mjs +2 -1
- package/dist/esm2022/global-settings/entities/global-setting-master.entity.mjs +2 -1
- package/dist/esm2022/global-settings/entities/global-setting-nati.entity.mjs +24 -0
- package/dist/esm2022/global-settings/entities/global-setting-taxes.entity.mjs +17 -0
- package/dist/esm2022/global-settings/entities/global-setting.entity.mjs +2 -1
- package/dist/esm2022/global-settings/entities/index.mjs +3 -1
- package/dist/esm2022/global-settings/interfaces/i-global-setting-iugu.mjs +1 -1
- package/dist/esm2022/global-settings/interfaces/i-global-setting-master.mjs +1 -1
- package/dist/esm2022/global-settings/interfaces/i-global-setting-nati-pay.mjs +2 -0
- package/dist/esm2022/global-settings/interfaces/i-global-setting-taxes.mjs +2 -0
- package/dist/esm2022/global-settings/interfaces/i-global-setting.mjs +1 -1
- package/dist/esm2022/global-settings/interfaces/index.mjs +1 -1
- package/dist/esm2022/index.mjs +3 -1
- package/dist/esm2022/transaction/entities/transaction.entity.mjs +5 -4
- package/dist/esm2022/transaction/interfaces/i-fee.mjs +2 -0
- package/dist/esm2022/transaction/interfaces/i-transaction.mjs +1 -1
- package/dist/esm2022/transaction/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +285 -3
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/entities/desenfila-info.entity.d.ts +6 -0
- package/dist/general/entities/desenfila-info.entity.js +20 -0
- package/dist/general/entities/index.d.ts +3 -0
- package/dist/general/entities/index.js +7 -1
- package/dist/general/entities/mobyo-info.entity.d.ts +6 -0
- package/dist/general/entities/mobyo-info.entity.js +20 -0
- package/dist/general/entities/nati-info.entity.d.ts +6 -0
- package/dist/general/entities/nati-info.entity.js +20 -0
- package/dist/general/interfaces/i-desenfila-info.d.ts +4 -0
- package/dist/general/interfaces/i-desenfila-info.js +2 -0
- package/dist/general/interfaces/i-mobyo-info.d.ts +4 -0
- package/dist/general/interfaces/i-mobyo-info.js +2 -0
- package/dist/general/interfaces/i-nati-info.d.ts +4 -0
- package/dist/general/interfaces/i-nati-info.js +2 -0
- package/dist/general/interfaces/index.d.ts +3 -0
- package/dist/global-settings/entities/global-setting-iugu.entity.d.ts +1 -0
- package/dist/global-settings/entities/global-setting-iugu.entity.js +1 -0
- package/dist/global-settings/entities/global-setting-master.entity.d.ts +1 -0
- package/dist/global-settings/entities/global-setting-master.entity.js +1 -0
- package/dist/global-settings/entities/global-setting-nati.entity.d.ts +13 -0
- package/dist/global-settings/entities/global-setting-nati.entity.js +28 -0
- package/dist/global-settings/entities/global-setting-taxes.entity.d.ts +7 -0
- package/dist/global-settings/entities/global-setting-taxes.entity.js +21 -0
- package/dist/global-settings/entities/global-setting.entity.d.ts +1 -0
- package/dist/global-settings/entities/global-setting.entity.js +1 -0
- package/dist/global-settings/entities/index.d.ts +2 -0
- package/dist/global-settings/entities/index.js +5 -1
- package/dist/global-settings/interfaces/i-global-setting-iugu.d.ts +1 -0
- package/dist/global-settings/interfaces/i-global-setting-master.d.ts +1 -0
- package/dist/global-settings/interfaces/i-global-setting-nati-pay.d.ts +11 -0
- package/dist/global-settings/interfaces/i-global-setting-nati-pay.js +2 -0
- package/dist/global-settings/interfaces/i-global-setting-taxes.d.ts +5 -0
- package/dist/global-settings/interfaces/i-global-setting-taxes.js +2 -0
- package/dist/global-settings/interfaces/i-global-setting.d.ts +1 -0
- package/dist/global-settings/interfaces/index.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/package.json +1 -1
- package/dist/transaction/entities/transaction.entity.d.ts +4 -3
- package/dist/transaction/entities/transaction.entity.js +3 -2
- package/dist/transaction/interfaces/i-fee.d.ts +5 -0
- package/dist/transaction/interfaces/i-fee.js +2 -0
- package/dist/transaction/interfaces/i-transaction.d.ts +4 -3
- package/dist/transaction/interfaces/index.d.ts +1 -0
- package/package.json +1 -1
- package/readme.md +1 -1
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
// src/models/base.entity.ts
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
+
exports.DesenfilaInfoEntity = void 0;
|
5
|
+
var DesenfilaInfoEntity = /** @class */ (function () {
|
6
|
+
function DesenfilaInfoEntity(data) {
|
7
|
+
// #region Properties (6)
|
8
|
+
this.merchantId = '';
|
9
|
+
this.containerId = '';
|
10
|
+
if (data) {
|
11
|
+
for (var key in data) {
|
12
|
+
if (data.hasOwnProperty(key) && key in this) {
|
13
|
+
this[key] = data[key];
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
return DesenfilaInfoEntity;
|
19
|
+
}());
|
20
|
+
exports.DesenfilaInfoEntity = DesenfilaInfoEntity;
|
@@ -22,3 +22,6 @@ export { PaymentEntity } from './payment.entity';
|
|
22
22
|
export { QueryEntity } from './query.entity';
|
23
23
|
export { RatingEntity } from './rating.entity';
|
24
24
|
export { SponsorshipValueEntity } from './sponsorship-value.entity';
|
25
|
+
export { MobyoInfoEntity } from './mobyo-info.entity';
|
26
|
+
export { DesenfilaInfoEntity } from './desenfila-info.entity';
|
27
|
+
export { NatiInfoEntity } from './nati-info.entity';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SponsorshipValueEntity = exports.RatingEntity = exports.QueryEntity = exports.PaymentEntity = exports.PaymentWalletEntity = exports.PaymentTokenEntity = exports.PaymentTokenDataEntity = exports.PaymentProviderEntity = exports.PaymentProviderAgentEntity = exports.PaymentPixEntity = exports.PaymentMethodEntity = exports.PaymentMethodOptionEntity = exports.PaymentCashEntity = exports.PaymentCardEntity = exports.OriginEntity = exports.MobyoApiConfigEntity = exports.MessagerChannelEntity = exports.DeliveryAreaFixedEntity = exports.DeliveryAreaEntity = exports.CustomVariableEntity = exports.CoordsEntity = exports.CarouselImageEntity = exports.BaseEntity = exports.AddressEntity = void 0;
|
3
|
+
exports.NatiInfoEntity = exports.DesenfilaInfoEntity = exports.MobyoInfoEntity = exports.SponsorshipValueEntity = exports.RatingEntity = exports.QueryEntity = exports.PaymentEntity = exports.PaymentWalletEntity = exports.PaymentTokenEntity = exports.PaymentTokenDataEntity = exports.PaymentProviderEntity = exports.PaymentProviderAgentEntity = exports.PaymentPixEntity = exports.PaymentMethodEntity = exports.PaymentMethodOptionEntity = exports.PaymentCashEntity = exports.PaymentCardEntity = exports.OriginEntity = exports.MobyoApiConfigEntity = exports.MessagerChannelEntity = exports.DeliveryAreaFixedEntity = exports.DeliveryAreaEntity = exports.CustomVariableEntity = exports.CoordsEntity = exports.CarouselImageEntity = exports.BaseEntity = exports.AddressEntity = void 0;
|
4
4
|
var address_entity_1 = require("./address.entity");
|
5
5
|
Object.defineProperty(exports, "AddressEntity", { enumerable: true, get: function () { return address_entity_1.AddressEntity; } });
|
6
6
|
var base_entity_1 = require("./base.entity");
|
@@ -49,3 +49,9 @@ var rating_entity_1 = require("./rating.entity");
|
|
49
49
|
Object.defineProperty(exports, "RatingEntity", { enumerable: true, get: function () { return rating_entity_1.RatingEntity; } });
|
50
50
|
var sponsorship_value_entity_1 = require("./sponsorship-value.entity");
|
51
51
|
Object.defineProperty(exports, "SponsorshipValueEntity", { enumerable: true, get: function () { return sponsorship_value_entity_1.SponsorshipValueEntity; } });
|
52
|
+
var mobyo_info_entity_1 = require("./mobyo-info.entity");
|
53
|
+
Object.defineProperty(exports, "MobyoInfoEntity", { enumerable: true, get: function () { return mobyo_info_entity_1.MobyoInfoEntity; } });
|
54
|
+
var desenfila_info_entity_1 = require("./desenfila-info.entity");
|
55
|
+
Object.defineProperty(exports, "DesenfilaInfoEntity", { enumerable: true, get: function () { return desenfila_info_entity_1.DesenfilaInfoEntity; } });
|
56
|
+
var nati_info_entity_1 = require("./nati-info.entity");
|
57
|
+
Object.defineProperty(exports, "NatiInfoEntity", { enumerable: true, get: function () { return nati_info_entity_1.NatiInfoEntity; } });
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
// src/models/base.entity.ts
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
+
exports.MobyoInfoEntity = void 0;
|
5
|
+
var MobyoInfoEntity = /** @class */ (function () {
|
6
|
+
function MobyoInfoEntity(data) {
|
7
|
+
// #region Properties (6)
|
8
|
+
this.companyId = '';
|
9
|
+
this.containerId = '';
|
10
|
+
if (data) {
|
11
|
+
for (var key in data) {
|
12
|
+
if (data.hasOwnProperty(key) && key in this) {
|
13
|
+
this[key] = data[key];
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
return MobyoInfoEntity;
|
19
|
+
}());
|
20
|
+
exports.MobyoInfoEntity = MobyoInfoEntity;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
// src/models/base.entity.ts
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
+
exports.NatiInfoEntity = void 0;
|
5
|
+
var NatiInfoEntity = /** @class */ (function () {
|
6
|
+
function NatiInfoEntity(data) {
|
7
|
+
// #region Properties (6)
|
8
|
+
this.companyId = '';
|
9
|
+
this.containerId = '';
|
10
|
+
if (data) {
|
11
|
+
for (var key in data) {
|
12
|
+
if (data.hasOwnProperty(key) && key in this) {
|
13
|
+
this[key] = data[key];
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
return NatiInfoEntity;
|
19
|
+
}());
|
20
|
+
exports.NatiInfoEntity = NatiInfoEntity;
|
@@ -5,8 +5,11 @@ export { ICoords } from './i-coords';
|
|
5
5
|
export { ICustomVariable } from './i-custom-variable';
|
6
6
|
export { IDeliveryArea } from './i-delivery-area';
|
7
7
|
export { IDeliveryAreaFixed } from './i-delivery-area-fixed';
|
8
|
+
export { IDesenfilaInfo } from './i-desenfila-info';
|
8
9
|
export { IMessagerChannel } from './i-messager-channel';
|
9
10
|
export { IMobyoApiConfig } from './i-mobyo-api-config';
|
11
|
+
export { IMobyoInfo } from './i-mobyo-info';
|
12
|
+
export { INatiInfo } from './i-nati-info';
|
10
13
|
export { IOrigin } from './i-origin';
|
11
14
|
export { IPayment } from './i-payment';
|
12
15
|
export { IPaymentCard } from './i-payment-card';
|
@@ -21,6 +21,7 @@ var GlobalSettingMasterEntity = /** @class */ (function () {
|
|
21
21
|
this.waServerGlobalKey = '';
|
22
22
|
this.waServerInstanceName = '';
|
23
23
|
this.waServerNumber = '';
|
24
|
+
this.id = '';
|
24
25
|
if (data) {
|
25
26
|
for (var key in data) {
|
26
27
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { INatiInfo, IDesenfilaInfo, IMobyoInfo, EDesenfilaFrom } from '../../general';
|
2
|
+
import { IGlobalSettingNatiPay } from '../interfaces';
|
3
|
+
export declare class GlobalSettingNatiPayEntity implements IGlobalSettingNatiPay {
|
4
|
+
id: string;
|
5
|
+
info: {
|
6
|
+
natiInfo: INatiInfo;
|
7
|
+
desenfilaInfo: IDesenfilaInfo;
|
8
|
+
mobyoInfo: IMobyoInfo;
|
9
|
+
userName: EDesenfilaFrom.NATIPAY;
|
10
|
+
email: string;
|
11
|
+
};
|
12
|
+
constructor(data?: Partial<GlobalSettingNatiPayEntity>);
|
13
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.GlobalSettingNatiPayEntity = void 0;
|
4
|
+
var general_1 = require("../../general");
|
5
|
+
var GlobalSettingNatiPayEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (1)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function GlobalSettingNatiPayEntity(data) {
|
9
|
+
// #region Properties (1)
|
10
|
+
this.id = '';
|
11
|
+
this.info = {
|
12
|
+
natiInfo: new general_1.NatiInfoEntity(),
|
13
|
+
desenfilaInfo: new general_1.DesenfilaInfoEntity(),
|
14
|
+
mobyoInfo: new general_1.MobyoInfoEntity(),
|
15
|
+
userName: general_1.EDesenfilaFrom.NATIPAY,
|
16
|
+
email: '',
|
17
|
+
};
|
18
|
+
if (data) {
|
19
|
+
for (var key in data) {
|
20
|
+
if (data.hasOwnProperty(key) && key in this) {
|
21
|
+
this[key] = data[key];
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
return GlobalSettingNatiPayEntity;
|
27
|
+
}());
|
28
|
+
exports.GlobalSettingNatiPayEntity = GlobalSettingNatiPayEntity;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { IFee } from '../../transaction';
|
2
|
+
import { IGlobalSettingTaxes } from '../interfaces';
|
3
|
+
export declare class GlobalSettingTaxesEntity implements IGlobalSettingTaxes {
|
4
|
+
id: string;
|
5
|
+
fees: IFee[];
|
6
|
+
constructor(data?: Partial<GlobalSettingTaxesEntity>);
|
7
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.GlobalSettingTaxesEntity = void 0;
|
4
|
+
var GlobalSettingTaxesEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (1)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function GlobalSettingTaxesEntity(data) {
|
8
|
+
// #region Properties (1)
|
9
|
+
this.id = '';
|
10
|
+
this.fees = [];
|
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 GlobalSettingTaxesEntity;
|
20
|
+
}());
|
21
|
+
exports.GlobalSettingTaxesEntity = GlobalSettingTaxesEntity;
|
@@ -9,6 +9,7 @@ var GlobalSettingEntity = /** @class */ (function () {
|
|
9
9
|
// #region Properties (1)
|
10
10
|
this.iugu = new global_setting_iugu_entity_1.GlobalSettingIuguEntity();
|
11
11
|
this.billingDays = 3;
|
12
|
+
this.id = '';
|
12
13
|
if (data) {
|
13
14
|
for (var key in data) {
|
14
15
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -1,3 +1,5 @@
|
|
1
1
|
export { GlobalSettingIuguEntity } from './global-setting-iugu.entity';
|
2
2
|
export { GlobalSettingMasterEntity } from './global-setting-master.entity';
|
3
3
|
export { GlobalSettingEntity } from './global-setting.entity';
|
4
|
+
export { GlobalSettingNatiPayEntity } from './global-setting-nati.entity';
|
5
|
+
export { GlobalSettingTaxesEntity } from './global-setting-taxes.entity';
|
@@ -1,9 +1,13 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.GlobalSettingEntity = exports.GlobalSettingMasterEntity = exports.GlobalSettingIuguEntity = void 0;
|
3
|
+
exports.GlobalSettingTaxesEntity = exports.GlobalSettingNatiPayEntity = exports.GlobalSettingEntity = exports.GlobalSettingMasterEntity = exports.GlobalSettingIuguEntity = void 0;
|
4
4
|
var global_setting_iugu_entity_1 = require("./global-setting-iugu.entity");
|
5
5
|
Object.defineProperty(exports, "GlobalSettingIuguEntity", { enumerable: true, get: function () { return global_setting_iugu_entity_1.GlobalSettingIuguEntity; } });
|
6
6
|
var global_setting_master_entity_1 = require("./global-setting-master.entity");
|
7
7
|
Object.defineProperty(exports, "GlobalSettingMasterEntity", { enumerable: true, get: function () { return global_setting_master_entity_1.GlobalSettingMasterEntity; } });
|
8
8
|
var global_setting_entity_1 = require("./global-setting.entity");
|
9
9
|
Object.defineProperty(exports, "GlobalSettingEntity", { enumerable: true, get: function () { return global_setting_entity_1.GlobalSettingEntity; } });
|
10
|
+
var global_setting_nati_entity_1 = require("./global-setting-nati.entity");
|
11
|
+
Object.defineProperty(exports, "GlobalSettingNatiPayEntity", { enumerable: true, get: function () { return global_setting_nati_entity_1.GlobalSettingNatiPayEntity; } });
|
12
|
+
var global_setting_taxes_entity_1 = require("./global-setting-taxes.entity");
|
13
|
+
Object.defineProperty(exports, "GlobalSettingTaxesEntity", { enumerable: true, get: function () { return global_setting_taxes_entity_1.GlobalSettingTaxesEntity; } });
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { EDesenfilaFrom, IDesenfilaInfo, IMobyoInfo, INatiInfo } from '../../general';
|
2
|
+
export interface IGlobalSettingNatiPay {
|
3
|
+
id: string;
|
4
|
+
info: {
|
5
|
+
natiInfo: INatiInfo;
|
6
|
+
desenfilaInfo: IDesenfilaInfo;
|
7
|
+
mobyoInfo: IMobyoInfo;
|
8
|
+
userName: EDesenfilaFrom.NATIPAY;
|
9
|
+
email: string;
|
10
|
+
};
|
11
|
+
}
|
@@ -1,3 +1,5 @@
|
|
1
1
|
export { IGlobalSetting } from './i-global-setting';
|
2
2
|
export { IGlobalSettingIugu } from './i-global-setting-iugu';
|
3
3
|
export { IGlobalSettingMaster } from './i-global-setting-master';
|
4
|
+
export { IGlobalSettingTaxes } from './i-global-setting-taxes';
|
5
|
+
export { IGlobalSettingNatiPay } from './i-global-setting-nati-pay';
|
package/dist/index.d.ts
CHANGED
@@ -8,6 +8,8 @@ export * from './company';
|
|
8
8
|
export * from './container';
|
9
9
|
export * from './customer';
|
10
10
|
export * from './customer-member';
|
11
|
+
export * from './desenfila-merchant';
|
12
|
+
export * from './desenfila-order';
|
11
13
|
export * from './device';
|
12
14
|
export * from './event-message';
|
13
15
|
export * from './evolution';
|
package/dist/index.js
CHANGED
@@ -24,6 +24,8 @@ __exportStar(require("./company"), exports);
|
|
24
24
|
__exportStar(require("./container"), exports);
|
25
25
|
__exportStar(require("./customer"), exports);
|
26
26
|
__exportStar(require("./customer-member"), exports);
|
27
|
+
__exportStar(require("./desenfila-merchant"), exports);
|
28
|
+
__exportStar(require("./desenfila-order"), exports);
|
27
29
|
__exportStar(require("./device"), exports);
|
28
30
|
__exportStar(require("./event-message"), exports);
|
29
31
|
__exportStar(require("./evolution"), exports);
|
package/dist/package.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { EDesenfilaFrom } from '../../general';
|
1
|
+
import { EDesenfilaFrom, IDesenfilaInfo, IMobyoInfo, INatiInfo } from '../../general';
|
2
2
|
import { EMpStatus, EMpStatusDetail, EOperationType, EPaymentMethodId, EReleaseStatus, ETransactionStatus } from '../enums';
|
3
3
|
import { ITransaction } from '../interfaces';
|
4
4
|
import { FeeDetailEntity } from './fee-detail.entity';
|
@@ -8,7 +8,6 @@ import { TransactionTotalEntity } from './transaction-total.entity';
|
|
8
8
|
export declare class TransactionEntity implements ITransaction {
|
9
9
|
balance: TransactionBalanceEntity | null;
|
10
10
|
card: {};
|
11
|
-
containerId: string;
|
12
11
|
createdAt: Date;
|
13
12
|
dateApproved: Date | null;
|
14
13
|
dateCreated: Date;
|
@@ -21,7 +20,6 @@ export declare class TransactionEntity implements ITransaction {
|
|
21
20
|
id: string;
|
22
21
|
installments: number;
|
23
22
|
liveMode: boolean;
|
24
|
-
merchantId: string;
|
25
23
|
moneyReleaseDate: Date | null;
|
26
24
|
moneyReleaseStatus: EReleaseStatus;
|
27
25
|
operationType: EOperationType;
|
@@ -36,5 +34,8 @@ export declare class TransactionEntity implements ITransaction {
|
|
36
34
|
transactionAmountRefunded: number;
|
37
35
|
transactionStatus: ETransactionStatus;
|
38
36
|
updatedAt: Date;
|
37
|
+
desenfilaInfo: IDesenfilaInfo | null;
|
38
|
+
natiInfo: INatiInfo | null;
|
39
|
+
mobyoInfo: IMobyoInfo | null;
|
39
40
|
constructor(data?: Partial<TransactionEntity>);
|
40
41
|
}
|
@@ -10,7 +10,6 @@ var TransactionEntity = /** @class */ (function () {
|
|
10
10
|
// #region Properties (30)
|
11
11
|
this.balance = null;
|
12
12
|
this.card = {};
|
13
|
-
this.containerId = '';
|
14
13
|
this.createdAt = new Date();
|
15
14
|
this.dateApproved = null;
|
16
15
|
this.dateCreated = new Date();
|
@@ -23,7 +22,6 @@ var TransactionEntity = /** @class */ (function () {
|
|
23
22
|
this.id = '';
|
24
23
|
this.installments = 0;
|
25
24
|
this.liveMode = true;
|
26
|
-
this.merchantId = '';
|
27
25
|
this.moneyReleaseDate = null;
|
28
26
|
this.moneyReleaseStatus = enums_1.EReleaseStatus.PENDING;
|
29
27
|
this.operationType = enums_1.EOperationType.REGULAR_PAYMENT;
|
@@ -38,6 +36,9 @@ var TransactionEntity = /** @class */ (function () {
|
|
38
36
|
this.transactionAmountRefunded = 0;
|
39
37
|
this.transactionStatus = enums_1.ETransactionStatus.PROCESSING;
|
40
38
|
this.updatedAt = new Date();
|
39
|
+
this.desenfilaInfo = new general_1.DesenfilaInfoEntity();
|
40
|
+
this.natiInfo = new general_1.NatiInfoEntity();
|
41
|
+
this.mobyoInfo = new general_1.MobyoInfoEntity();
|
41
42
|
if (data) {
|
42
43
|
for (var key in data) {
|
43
44
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { EDesenfilaFrom } from '../../general';
|
1
|
+
import { EDesenfilaFrom, IDesenfilaInfo, IMobyoInfo, INatiInfo } from '../../general';
|
2
2
|
import { EMpStatus, EMpStatusDetail, EOperationType, EPaymentMethodId, EReleaseStatus, ETransactionStatus } from '../enums';
|
3
3
|
import { ITransactionBalance } from './i-balance';
|
4
4
|
import { IFeeDetail } from './i-fee-detail';
|
@@ -7,7 +7,6 @@ import { ITransactionTotal } from './i-total';
|
|
7
7
|
export interface ITransaction {
|
8
8
|
balance: ITransactionBalance | null;
|
9
9
|
card: {};
|
10
|
-
containerId: string;
|
11
10
|
createdAt: Date;
|
12
11
|
dateApproved: Date | null;
|
13
12
|
dateCreated: Date;
|
@@ -20,7 +19,9 @@ export interface ITransaction {
|
|
20
19
|
id: string;
|
21
20
|
installments: number;
|
22
21
|
liveMode: boolean;
|
23
|
-
|
22
|
+
desenfilaInfo: IDesenfilaInfo | null;
|
23
|
+
natiInfo: INatiInfo | null;
|
24
|
+
mobyoInfo: IMobyoInfo | null;
|
24
25
|
moneyReleaseDate: Date | null;
|
25
26
|
moneyReleaseStatus: EReleaseStatus;
|
26
27
|
operationType: EOperationType;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
export { ITransactionBalance } from './i-balance';
|
2
2
|
export { IFeeDetail } from './i-fee-detail';
|
3
|
+
export { IFee } from './i-fee';
|
3
4
|
export { ITransactionPaymentMethod } from './i-payment-method';
|
4
5
|
export { ITransactionTotal } from './i-total';
|
5
6
|
export { ITransaction } from './i-transaction';
|
package/package.json
CHANGED
package/readme.md
CHANGED