cecon-interfaces 1.2.7 → 1.2.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/global-settings/entities/global-setting-iugu.entity.mjs +6 -3
- package/dist/esm2022/global-settings/interfaces/i-global-setting-iugu.mjs +1 -1
- package/dist/esm2022/invoice/entities/invoice.entity.mjs +5 -4
- package/dist/esm2022/invoice/interfaces/i-invoice.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +9 -5
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/global-settings/entities/global-setting-iugu.entity.d.ts +3 -0
- package/dist/global-settings/entities/global-setting-iugu.entity.js +5 -2
- package/dist/global-settings/interfaces/i-global-setting-iugu.d.ts +3 -0
- package/dist/invoice/entities/invoice.entity.d.ts +2 -1
- package/dist/invoice/entities/invoice.entity.js +4 -3
- package/dist/invoice/interfaces/i-invoice.d.ts +4 -3
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
export class GlobalSettingIuguEntity {
|
2
|
-
// #region Properties (
|
2
|
+
// #region Properties (13)
|
3
3
|
/**
|
4
4
|
* Prazo máximo para pagamento do boleto após o vencimento.
|
5
5
|
* O prazo máximo para pagamento deve ser entre "1" e "30"
|
@@ -35,6 +35,7 @@ export class GlobalSettingIuguEntity {
|
|
35
35
|
* cobrada para pagamentos efetuados após a data de vencimento
|
36
36
|
*/
|
37
37
|
latePaymentFineCents = 0;
|
38
|
+
liveApiToken = '';
|
38
39
|
/**
|
39
40
|
* determina se cobra ou não juros por dia de atraso.
|
40
41
|
* 1% ao mês pro rata. Necessário passar a multa como true
|
@@ -52,7 +53,9 @@ export class GlobalSettingIuguEntity {
|
|
52
53
|
* calculados são menores que 1 centavo.
|
53
54
|
*/
|
54
55
|
perDayInterestValue = 1;
|
55
|
-
|
56
|
+
testApiToken = '';
|
57
|
+
userApiToken = '';
|
58
|
+
// #endregion Properties (13)
|
56
59
|
// #region Constructors (1)
|
57
60
|
constructor(data) {
|
58
61
|
if (data) {
|
@@ -64,4 +67,4 @@ export class GlobalSettingIuguEntity {
|
|
64
67
|
}
|
65
68
|
}
|
66
69
|
}
|
67
|
-
//# sourceMappingURL=data:application/json;base64,
|
70
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2xvYmFsLXNldHRpbmctaXVndS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2xvYmFsLXNldHRpbmdzL2VudGl0aWVzL2dsb2JhbC1zZXR0aW5nLWl1Z3UuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyx1QkFBdUI7SUFDbEMsMEJBQTBCO0lBRTFCOzs7O09BSUc7SUFDSSxnQkFBZ0IsR0FBVyxDQUFDLENBQUM7SUFDcEM7O09BRUc7SUFDSSxXQUFXLEdBQVcsRUFBRSxDQUFDO0lBQ2hDOzs7T0FHRztJQUNJLG9CQUFvQixHQUFZLElBQUksQ0FBQztJQUM1Qzs7OztPQUlHO0lBQ0ksU0FBUyxHQUFXLENBQUMsQ0FBQztJQUM3Qjs7T0FFRztJQUNJLEtBQUssR0FBWSxJQUFJLENBQUM7SUFDN0I7OztPQUdHO0lBQ0ksZUFBZSxHQUFXLENBQUMsQ0FBQztJQUNuQzs7O09BR0c7SUFDSSxvQkFBb0IsR0FBVyxDQUFDLENBQUM7SUFDakMsWUFBWSxHQUFXLEVBQUUsQ0FBQztJQUNqQzs7O09BR0c7SUFDSSxjQUFjLEdBQVksSUFBSSxDQUFDO0lBQ3RDOzs7O09BSUc7SUFDSSxtQkFBbUIsR0FBVyxDQUFDLENBQUM7SUFDdkM7Ozs7T0FJRztJQUNJLG1CQUFtQixHQUFXLENBQUMsQ0FBQztJQUNoQyxZQUFZLEdBQVcsRUFBRSxDQUFDO0lBQzFCLFlBQVksR0FBVyxFQUFFLENBQUM7SUFFakMsNkJB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Z2lvbiBQcm9wZXJ0aWVzICgxMylcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxHbG9iYWxTZXR0aW5nSXVndUVudGl0eT4pIHtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1nbG9iYWwtc2V0dGluZy1pdWd1LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2dsb2JhbC1zZXR0aW5ncy9pbnRlcmZhY2VzL2ktZ2xvYmFsLXNldHRpbmctaXVndS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBJR2xvYmFsU2V0dGluZ0l1Z3Uge1xyXG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoOSlcclxuXHJcbiAgYmFua1NsaXBFeHRyYUR1ZTogbnVtYmVyO1xyXG4gIGVuc3VyZVdvcmtkYXlEdWVEYXRlOiBib29sZWFuO1xyXG4gIGV4cGlyZXNJbjogbnVtYmVyO1xyXG4gIGZpbmVzOiBib29sZWFuO1xyXG4gIGxhdGVQYXltZW50RmluZTogbnVtYmVyO1xyXG4gIGxhdGVQYXltZW50RmluZUNlbnRzOiBudW1iZXI7XHJcbiAgbGl2ZUFwaVRva2VuOiBzdHJpbmc7XHJcbiAgdGVzdEFwaVRva2VuOiBzdHJpbmc7XHJcbiAgdXNlckFwaVRva2VuOiBzdHJpbmc7XHJcbiAgcGVyRGF5SW50ZXJlc3Q6IGJvb2xlYW47XHJcbiAgcGVyRGF5SW50ZXJlc3RDZW50czogbnVtYmVyO1xyXG4gIHBlckRheUludGVyZXN0VmFsdWU6IG51bWJlcjtcclxuICBiaWxsaW5nRGF5czogbnVtYmVyO1xyXG5cclxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDkpXHJcbn1cclxuIl19
|
@@ -2,7 +2,7 @@ import { EPaymentType } from '../../general';
|
|
2
2
|
import { EInvoiceStatus } from '../enums';
|
3
3
|
import { InvoicePayerEntity } from './invoice-payer.entity';
|
4
4
|
export class InvoiceEntity {
|
5
|
-
// #region Properties (
|
5
|
+
// #region Properties (43)
|
6
6
|
addition = 0;
|
7
7
|
bankSlip = null;
|
8
8
|
bankSlipExtraDue = 3;
|
@@ -36,16 +36,17 @@ export class InvoiceEntity {
|
|
36
36
|
pix = null;
|
37
37
|
returnExpiredUrl = '';
|
38
38
|
returnUrl = '';
|
39
|
+
sandbox = false;
|
39
40
|
status = EInvoiceStatus.DRAFT;
|
40
|
-
subscriptionId = '';
|
41
41
|
subTotal = 0;
|
42
|
+
subscriptionId = '';
|
42
43
|
totalAmount = 0;
|
43
44
|
totalFee = 0;
|
44
45
|
totalOverPaid = 0;
|
45
46
|
totalPaid = 0;
|
46
47
|
totalRefunded = 0;
|
47
48
|
updatedAt = new Date();
|
48
|
-
// #endregion Properties (
|
49
|
+
// #endregion Properties (43)
|
49
50
|
// #region Constructors (1)
|
50
51
|
constructor(data) {
|
51
52
|
if (data) {
|
@@ -57,4 +58,4 @@ export class InvoiceEntity {
|
|
57
58
|
}
|
58
59
|
}
|
59
60
|
}
|
60
|
-
//# sourceMappingURL=data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RUludm9pY2VTdGF0dXMgPSBFSW52b2ljZVN0YXR1cy5EUkFGVDtcbiAgcHVibGljIHN1YlRvdGFsOiBudW1iZXIgPSAwO1xuICBwdWJsaWMgc3Vic2NyaXB0aW9uSWQ6IHN0cmluZyA9ICcnO1xuICBwdWJsaWMgdG90YWxBbW91bnQ6IG51bWJlciA9IDA7XG4gIHB1YmxpYyB0b3RhbEZlZTogbnVtYmVyID0gMDtcbiAgcHVibGljIHRvdGFsT3ZlclBhaWQ6IG51bWJlciA9IDA7XG4gIHB1YmxpYyB0b3RhbFBhaWQ6IG51bWJlciA9IDA7XG4gIHB1YmxpYyB0b3RhbFJlZnVuZGVkOiBudW1iZXIgPSAwO1xuICBwdWJsaWMgdXBkYXRlZEF0OiBEYXRlID0gbmV3IERhdGUoKTtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDQzKVxuXG4gIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxuXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPEludm9pY2VFbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnZvaWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4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biAgdG90YWxPdmVyUGFpZDogbnVtYmVyO1xuICB0b3RhbFBhaWQ6IG51bWJlcjtcbiAgdG90YWxSZWZ1bmRlZDogbnVtYmVyO1xuICB1cGRhdGVkQXQ6IERhdGU7XG5cbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICg0Mylcbn1cbiJdfQ==
|
@@ -1767,7 +1767,7 @@ class FeatureEntity {
|
|
1767
1767
|
}
|
1768
1768
|
|
1769
1769
|
class GlobalSettingIuguEntity {
|
1770
|
-
// #region Properties (
|
1770
|
+
// #region Properties (13)
|
1771
1771
|
/**
|
1772
1772
|
* Prazo máximo para pagamento do boleto após o vencimento.
|
1773
1773
|
* O prazo máximo para pagamento deve ser entre "1" e "30"
|
@@ -1803,6 +1803,7 @@ class GlobalSettingIuguEntity {
|
|
1803
1803
|
* cobrada para pagamentos efetuados após a data de vencimento
|
1804
1804
|
*/
|
1805
1805
|
latePaymentFineCents = 0;
|
1806
|
+
liveApiToken = '';
|
1806
1807
|
/**
|
1807
1808
|
* determina se cobra ou não juros por dia de atraso.
|
1808
1809
|
* 1% ao mês pro rata. Necessário passar a multa como true
|
@@ -1820,7 +1821,9 @@ class GlobalSettingIuguEntity {
|
|
1820
1821
|
* calculados são menores que 1 centavo.
|
1821
1822
|
*/
|
1822
1823
|
perDayInterestValue = 1;
|
1823
|
-
|
1824
|
+
testApiToken = '';
|
1825
|
+
userApiToken = '';
|
1826
|
+
// #endregion Properties (13)
|
1824
1827
|
// #region Constructors (1)
|
1825
1828
|
constructor(data) {
|
1826
1829
|
if (data) {
|
@@ -2209,7 +2212,7 @@ var EInvoiceStatus;
|
|
2209
2212
|
})(EInvoiceStatus || (EInvoiceStatus = {}));
|
2210
2213
|
|
2211
2214
|
class InvoiceEntity {
|
2212
|
-
// #region Properties (
|
2215
|
+
// #region Properties (43)
|
2213
2216
|
addition = 0;
|
2214
2217
|
bankSlip = null;
|
2215
2218
|
bankSlipExtraDue = 3;
|
@@ -2243,16 +2246,17 @@ class InvoiceEntity {
|
|
2243
2246
|
pix = null;
|
2244
2247
|
returnExpiredUrl = '';
|
2245
2248
|
returnUrl = '';
|
2249
|
+
sandbox = false;
|
2246
2250
|
status = EInvoiceStatus.DRAFT;
|
2247
|
-
subscriptionId = '';
|
2248
2251
|
subTotal = 0;
|
2252
|
+
subscriptionId = '';
|
2249
2253
|
totalAmount = 0;
|
2250
2254
|
totalFee = 0;
|
2251
2255
|
totalOverPaid = 0;
|
2252
2256
|
totalPaid = 0;
|
2253
2257
|
totalRefunded = 0;
|
2254
2258
|
updatedAt = new Date();
|
2255
|
-
// #endregion Properties (
|
2259
|
+
// #endregion Properties (43)
|
2256
2260
|
// #region Constructors (1)
|
2257
2261
|
constructor(data) {
|
2258
2262
|
if (data) {
|