cecon-interfaces 1.1.45 → 1.1.46
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/invoice/entities/invoice.entity.mjs +1 -3
- package/dist/esm2022/invoice/interfaces/i-invoice.mjs +1 -1
- package/dist/esm2022/iugu/entities/charge-credit-card.entity.mjs +26 -0
- package/dist/esm2022/iugu/entities/index.mjs +3 -2
- package/dist/esm2022/iugu/interfaces/i-charge-credit-card.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +27 -3
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/invoice/entities/invoice.entity.d.ts +0 -2
- package/dist/invoice/entities/invoice.entity.js +0 -2
- package/dist/invoice/interfaces/i-invoice.d.ts +0 -2
- package/dist/iugu/entities/charge-credit-card.entity.d.ts +16 -0
- package/dist/iugu/entities/charge-credit-card.entity.js +30 -0
- package/dist/iugu/entities/index.d.ts +2 -1
- package/dist/iugu/entities/index.js +4 -2
- package/dist/iugu/interfaces/i-charge-credit-card.d.ts +15 -0
- package/dist/iugu/interfaces/i-charge-credit-card.js +2 -0
- package/dist/iugu/interfaces/index.d.ts +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -21,10 +21,8 @@ export declare class InvoiceEntity implements IInvoice {
|
|
21
21
|
dueDateAt: Date;
|
22
22
|
email: string;
|
23
23
|
ensureDueOnWorkday: boolean;
|
24
|
-
expiresIn: number;
|
25
24
|
externalInvoiceId: string;
|
26
25
|
externalInvoiceUrl: string;
|
27
|
-
fineForlatePayment: number;
|
28
26
|
id: string;
|
29
27
|
items: InvoiceItemEntity[];
|
30
28
|
log: InvoiceLogEntity[];
|
@@ -22,10 +22,8 @@ var InvoiceEntity = /** @class */ (function () {
|
|
22
22
|
this.dueDateAt = new Date(Date.now() + 3 * 24 * 60 * 60 * 1000);
|
23
23
|
this.email = '';
|
24
24
|
this.ensureDueOnWorkday = true;
|
25
|
-
this.expiresIn = 3;
|
26
25
|
this.externalInvoiceId = '';
|
27
26
|
this.externalInvoiceUrl = '';
|
28
|
-
this.fineForlatePayment = 0;
|
29
27
|
this.id = '';
|
30
28
|
this.items = [];
|
31
29
|
this.log = [];
|
@@ -20,10 +20,8 @@ export interface IInvoice {
|
|
20
20
|
dueDateAt: Date;
|
21
21
|
email: string;
|
22
22
|
ensureDueOnWorkday: boolean;
|
23
|
-
expiresIn: number;
|
24
23
|
externalInvoiceId: string;
|
25
24
|
externalInvoiceUrl: string;
|
26
|
-
fineForlatePayment: number;
|
27
25
|
id: string;
|
28
26
|
items: IInvoiceItem[];
|
29
27
|
log: IInvoiceLog[];
|
@@ -0,0 +1,16 @@
|
|
1
|
+
export declare class IuguChargeCreditCardEntity {
|
2
|
+
LR: string | '00';
|
3
|
+
bin: string;
|
4
|
+
brand: string | 'master' | 'visa';
|
5
|
+
errors: any;
|
6
|
+
identification: string | null;
|
7
|
+
invoiceId: string;
|
8
|
+
last4: string;
|
9
|
+
message: string | 'Autorizado';
|
10
|
+
pdf: string;
|
11
|
+
reversible: boolean;
|
12
|
+
success: boolean;
|
13
|
+
token: string;
|
14
|
+
url: string;
|
15
|
+
constructor(data?: Partial<IuguChargeCreditCardEntity>);
|
16
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.IuguChargeCreditCardEntity = void 0;
|
4
|
+
var IuguChargeCreditCardEntity = /** @class */ (function () {
|
5
|
+
function IuguChargeCreditCardEntity(data) {
|
6
|
+
// #region Properties (13)
|
7
|
+
this.LR = '00';
|
8
|
+
this.bin = '';
|
9
|
+
this.brand = '';
|
10
|
+
this.errors = {};
|
11
|
+
this.identification = null;
|
12
|
+
this.invoiceId = '';
|
13
|
+
this.last4 = '';
|
14
|
+
this.message = '';
|
15
|
+
this.pdf = '';
|
16
|
+
this.reversible = false;
|
17
|
+
this.success = false;
|
18
|
+
this.token = '';
|
19
|
+
this.url = '';
|
20
|
+
if (data) {
|
21
|
+
for (var key in data) {
|
22
|
+
if (data.hasOwnProperty(key) && key in this) {
|
23
|
+
this[key] = data[key];
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
return IuguChargeCreditCardEntity;
|
29
|
+
}());
|
30
|
+
exports.IuguChargeCreditCardEntity = IuguChargeCreditCardEntity;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
export { AccountInformationsEntity } from './account-informations.entity';
|
2
|
-
export { LastVerificationRequestDataEntity
|
2
|
+
export { LastVerificationRequestDataEntity } from './account-last-verification-request-data.entity';
|
3
|
+
export { IuguChargeCreditCardEntity } from './charge-credit-card.entity';
|
3
4
|
export { IuguCustomerEntity } from './customer.entity';
|
4
5
|
export { IuguInvoiceBankSlipEntity } from './invoice-bankslip.entity';
|
5
6
|
export { IuguInvoiceEntity } from './invoice.entity';
|
@@ -1,10 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.IuguPaymentTokenEntity = exports.IuguPaymentTokenDataEntity = exports.IuguAccountEntity = exports.IuguInvoiceEntity = exports.IuguInvoiceBankSlipEntity = exports.IuguCustomerEntity = exports.
|
3
|
+
exports.IuguPaymentTokenEntity = exports.IuguPaymentTokenDataEntity = exports.IuguAccountEntity = exports.IuguInvoiceEntity = exports.IuguInvoiceBankSlipEntity = exports.IuguCustomerEntity = exports.IuguChargeCreditCardEntity = exports.LastVerificationRequestDataEntity = exports.AccountInformationsEntity = void 0;
|
4
4
|
var account_informations_entity_1 = require("./account-informations.entity");
|
5
5
|
Object.defineProperty(exports, "AccountInformationsEntity", { enumerable: true, get: function () { return account_informations_entity_1.AccountInformationsEntity; } });
|
6
6
|
var account_last_verification_request_data_entity_1 = require("./account-last-verification-request-data.entity");
|
7
|
-
Object.defineProperty(exports, "
|
7
|
+
Object.defineProperty(exports, "LastVerificationRequestDataEntity", { enumerable: true, get: function () { return account_last_verification_request_data_entity_1.LastVerificationRequestDataEntity; } });
|
8
|
+
var charge_credit_card_entity_1 = require("./charge-credit-card.entity");
|
9
|
+
Object.defineProperty(exports, "IuguChargeCreditCardEntity", { enumerable: true, get: function () { return charge_credit_card_entity_1.IuguChargeCreditCardEntity; } });
|
8
10
|
var customer_entity_1 = require("./customer.entity");
|
9
11
|
Object.defineProperty(exports, "IuguCustomerEntity", { enumerable: true, get: function () { return customer_entity_1.IuguCustomerEntity; } });
|
10
12
|
var invoice_bankslip_entity_1 = require("./invoice-bankslip.entity");
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export interface IIuguChargeCreditCard {
|
2
|
+
LR: string | '00';
|
3
|
+
bin: string;
|
4
|
+
brand: string | 'master' | 'visa';
|
5
|
+
errors: any;
|
6
|
+
identification: string | null;
|
7
|
+
invoiceId: string;
|
8
|
+
last4: string;
|
9
|
+
message: string | 'Autorizado';
|
10
|
+
pdf: string;
|
11
|
+
reversible: boolean;
|
12
|
+
success: boolean;
|
13
|
+
token: string;
|
14
|
+
url: string;
|
15
|
+
}
|
@@ -7,6 +7,7 @@ export { IIuguLastVerificationRequestData as IIuguAccountLastVerificationRequest
|
|
7
7
|
export { IIuguInformations } from './i-account-informations';
|
8
8
|
export { IIuguMarketplaceSplit } from './i-account-marketplace-split';
|
9
9
|
export { IIuguChangePlanSimulation } from './i-change-plan-simulation';
|
10
|
+
export { IIuguChargeCreditCard } from './i-charge-credit-card';
|
10
11
|
export { IIuguConfigEarlyPaymentDiscount } from './i-config-early-payment-discounts';
|
11
12
|
export { IIuguCustomer } from './i-customer';
|
12
13
|
export { IIuguInvoice } from './i-invoice';
|
package/dist/package.json
CHANGED