cecon-interfaces 1.1.68 → 1.1.70
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app/entities/app.entity.d.ts +6 -6
- package/dist/app/entities/app.entity.js +1 -1
- package/dist/app/interfaces/i-app.d.ts +6 -6
- package/dist/billing/entities/billing-payment.entity.d.ts +19 -0
- package/dist/billing/entities/billing-payment.entity.js +33 -0
- package/dist/billing/entities/billing-total.entity.d.ts +10 -0
- package/dist/billing/entities/billing-total.entity.js +25 -0
- package/dist/billing/entities/billing.entity.d.ts +14 -0
- package/dist/billing/entities/billing.entity.js +29 -0
- package/dist/billing/entities/index.d.ts +3 -0
- package/dist/billing/entities/index.js +9 -0
- package/dist/billing/enums/billing-status.enum.d.ts +6 -0
- package/dist/billing/enums/billing-status.enum.js +12 -0
- package/dist/billing/enums/index.d.ts +1 -0
- package/dist/billing/enums/index.js +5 -0
- package/dist/billing/index.d.ts +3 -0
- package/dist/billing/index.js +19 -0
- package/dist/billing/interfaces/i-billing-payment.d.ts +17 -0
- package/dist/billing/interfaces/i-billing-payment.js +2 -0
- package/dist/billing/interfaces/i-billing-total.d.ts +8 -0
- package/dist/billing/interfaces/i-billing-total.js +2 -0
- package/dist/billing/interfaces/i-billing.d.ts +14 -0
- package/dist/billing/interfaces/i-billing.js +2 -0
- package/dist/billing/interfaces/index.d.ts +3 -0
- package/dist/billing/interfaces/index.js +2 -0
- package/dist/billing-order/entities/billing-order.entity.d.ts +6 -0
- package/dist/billing-order/entities/billing-order.entity.js +39 -0
- package/dist/billing-order/entities/index.d.ts +1 -0
- package/dist/billing-order/entities/index.js +5 -0
- package/dist/billing-order/index.d.ts +2 -0
- package/dist/billing-order/index.js +18 -0
- package/dist/billing-order/interfaces/i-billing-order.d.ts +4 -0
- package/dist/billing-order/interfaces/i-billing-order.js +2 -0
- package/dist/billing-order/interfaces/index.d.ts +1 -0
- package/dist/billing-order/interfaces/index.js +2 -0
- package/dist/device/entities/device.entity.d.ts +2 -2
- package/dist/device/entities/device.entity.js +1 -1
- package/dist/device/interfaces/i-device.d.ts +2 -2
- package/dist/esm2022/app/entities/app.entity.mjs +3 -3
- package/dist/esm2022/app/interfaces/i-app.mjs +1 -1
- package/dist/esm2022/billing/entities/billing-payment.entity.mjs +29 -0
- package/dist/esm2022/billing/entities/billing-total.entity.mjs +21 -0
- package/dist/esm2022/billing/entities/billing.entity.mjs +25 -0
- package/dist/esm2022/billing/entities/index.mjs +4 -0
- package/dist/esm2022/billing/enums/billing-status.enum.mjs +10 -0
- package/dist/esm2022/billing/enums/index.mjs +2 -0
- package/dist/esm2022/billing/index.mjs +4 -0
- package/dist/esm2022/billing/interfaces/i-billing-payment.mjs +2 -0
- package/dist/esm2022/billing/interfaces/i-billing-total.mjs +2 -0
- package/dist/esm2022/billing/interfaces/i-billing.mjs +2 -0
- package/dist/esm2022/billing/interfaces/index.mjs +2 -0
- package/dist/esm2022/billing-order/entities/billing-order.entity.mjs +18 -0
- package/dist/esm2022/billing-order/entities/index.mjs +2 -0
- package/dist/esm2022/billing-order/index.mjs +3 -0
- package/dist/esm2022/billing-order/interfaces/i-billing-order.mjs +2 -0
- package/dist/esm2022/billing-order/interfaces/index.mjs +2 -0
- package/dist/esm2022/device/entities/device.entity.mjs +3 -3
- package/dist/esm2022/device/interfaces/i-device.mjs +1 -1
- package/dist/esm2022/general/entities/origin.entity.mjs +3 -3
- package/dist/esm2022/general/entities/payment-method-option.entity.mjs +5 -5
- package/dist/esm2022/general/enums/boolean-string.enum.mjs +6 -6
- package/dist/esm2022/general/enums/index.mjs +12 -11
- package/dist/esm2022/general/enums/interval-type.enum.mjs +7 -7
- package/dist/esm2022/general/enums/lead-origin.enum.mjs +11 -11
- package/dist/esm2022/general/enums/os.enum.mjs +12 -12
- package/dist/esm2022/general/enums/payment-channel.enum.mjs +12 -12
- package/dist/esm2022/general/enums/payment-mode.enum.mjs +7 -7
- package/dist/esm2022/general/enums/payment-status.enum.mjs +14 -13
- package/dist/esm2022/general/enums/person-type.enum.mjs +6 -6
- package/dist/esm2022/general/enums/platform.enum.mjs +11 -11
- package/dist/esm2022/general/enums/providers.enum.mjs +10 -10
- package/dist/esm2022/general/enums/pubsub.enum.mjs +6 -0
- package/dist/esm2022/general/interfaces/i-origin.mjs +1 -1
- package/dist/esm2022/general/interfaces/i-payment-method-option.mjs +1 -1
- package/dist/esm2022/index.mjs +3 -1
- package/dist/esm2022/iugu/entities/account-last-verification-request-data.entity.mjs +6 -6
- package/dist/esm2022/iugu/interfaces/i-account-info-last-ver-req-data.mjs +1 -1
- package/dist/esm2022/lead/entities/lead.entity.mjs +3 -3
- package/dist/esm2022/lead/interfaces/i-lead.mjs +1 -1
- package/dist/esm2022/plan/entities/plan.entity.mjs +3 -3
- package/dist/esm2022/plan/interfaces/i-plan.mjs +1 -1
- package/dist/esm2022/purchases/entities/purchase.entity.mjs +3 -3
- package/dist/esm2022/purchases/interfaces/i-purchase.mjs +1 -1
- package/dist/esm2022/subscription-base/entities/subscription-base.entity.mjs +3 -3
- package/dist/esm2022/subscription-base/interfaces/i-subscription-base.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +1532 -1426
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/entities/origin.entity.d.ts +2 -2
- package/dist/general/entities/origin.entity.js +1 -1
- package/dist/general/entities/payment-method-option.entity.d.ts +4 -4
- package/dist/general/entities/payment-method-option.entity.js +2 -2
- package/dist/general/enums/boolean-string.enum.d.ts +1 -1
- package/dist/general/enums/boolean-string.enum.js +6 -6
- package/dist/general/enums/index.d.ts +11 -10
- package/dist/general/enums/index.js +13 -11
- package/dist/general/enums/interval-type.enum.d.ts +1 -1
- package/dist/general/enums/interval-type.enum.js +7 -7
- package/dist/general/enums/lead-origin.enum.d.ts +1 -1
- package/dist/general/enums/lead-origin.enum.js +11 -11
- package/dist/general/enums/os.enum.d.ts +1 -1
- package/dist/general/enums/os.enum.js +12 -12
- package/dist/general/enums/payment-channel.enum.d.ts +1 -1
- package/dist/general/enums/payment-channel.enum.js +12 -12
- package/dist/general/enums/payment-mode.enum.d.ts +1 -1
- package/dist/general/enums/payment-mode.enum.js +7 -7
- package/dist/general/enums/payment-status.enum.d.ts +2 -1
- package/dist/general/enums/payment-status.enum.js +14 -13
- package/dist/general/enums/person-type.enum.d.ts +1 -1
- package/dist/general/enums/person-type.enum.js +6 -6
- package/dist/general/enums/platform.enum.d.ts +1 -1
- package/dist/general/enums/platform.enum.js +11 -11
- package/dist/general/enums/providers.enum.d.ts +1 -1
- package/dist/general/enums/providers.enum.js +10 -10
- package/dist/general/enums/pubsub.enum.d.ts +4 -0
- package/dist/general/enums/pubsub.enum.js +8 -0
- package/dist/general/interfaces/i-origin.d.ts +2 -2
- package/dist/general/interfaces/i-payment-method-option.d.ts +4 -4
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/iugu/entities/account-last-verification-request-data.entity.d.ts +5 -5
- package/dist/iugu/entities/account-last-verification-request-data.entity.js +3 -3
- package/dist/iugu/interfaces/i-account-info-last-ver-req-data.d.ts +5 -5
- package/dist/lead/entities/lead.entity.d.ts +2 -2
- package/dist/lead/entities/lead.entity.js +1 -1
- package/dist/lead/interfaces/i-lead.d.ts +6 -6
- package/dist/package.json +1 -1
- package/dist/plan/entities/plan.entity.d.ts +2 -2
- package/dist/plan/entities/plan.entity.js +1 -1
- package/dist/plan/interfaces/i-plan.d.ts +2 -2
- package/dist/purchases/entities/purchase.entity.d.ts +2 -2
- package/dist/purchases/entities/purchase.entity.js +1 -1
- package/dist/purchases/interfaces/i-purchase.d.ts +2 -2
- package/dist/subscription-base/entities/subscription-base.entity.d.ts +2 -2
- package/dist/subscription-base/entities/subscription-base.entity.js +1 -1
- package/dist/subscription-base/interfaces/i-subscription-base.d.ts +2 -2
- package/package.json +1 -1
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
1
|
+
import { ELeadOrigin } from '../enums/lead-origin.enum';
|
2
2
|
export declare class OriginEntity {
|
3
3
|
campaign?: string;
|
4
4
|
contactPoint?: string;
|
5
5
|
date: Number;
|
6
6
|
details?: string;
|
7
7
|
referrer?: string;
|
8
|
-
type:
|
8
|
+
type: ELeadOrigin;
|
9
9
|
constructor(data?: Partial<OriginEntity>);
|
10
10
|
}
|
@@ -12,7 +12,7 @@ var OriginEntity = /** @class */ (function () {
|
|
12
12
|
this.date = 0;
|
13
13
|
this.details = '';
|
14
14
|
this.referrer = '';
|
15
|
-
this.type = lead_origin_enum_1.
|
15
|
+
this.type = lead_origin_enum_1.ELeadOrigin.OTHERS;
|
16
16
|
if (data) {
|
17
17
|
for (var key in data) {
|
18
18
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -1,17 +1,17 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import { EPaymentChannel } from '../enums/payment-channel.enum';
|
2
|
+
import { EPaymentMode } from '../enums/payment-mode.enum';
|
3
3
|
import { EPaymentType } from '../enums/payment-type.enum';
|
4
4
|
import { IPaymentMethodOption } from '../interfaces';
|
5
5
|
export declare class PaymentMethodOptionEntity implements IPaymentMethodOption {
|
6
6
|
active: boolean;
|
7
|
-
channel:
|
7
|
+
channel: EPaymentChannel;
|
8
8
|
createdAt: Date;
|
9
9
|
fee: number;
|
10
10
|
id: string;
|
11
11
|
index: number;
|
12
12
|
maxAmount: number;
|
13
13
|
minAmount: number;
|
14
|
-
mode:
|
14
|
+
mode: EPaymentMode;
|
15
15
|
name: string;
|
16
16
|
token: string;
|
17
17
|
type: EPaymentType;
|
@@ -10,14 +10,14 @@ var PaymentMethodOptionEntity = /** @class */ (function () {
|
|
10
10
|
function PaymentMethodOptionEntity(data) {
|
11
11
|
// #region Properties (13)
|
12
12
|
this.active = false;
|
13
|
-
this.channel = payment_channel_enum_1.
|
13
|
+
this.channel = payment_channel_enum_1.EPaymentChannel.AUTOMATION;
|
14
14
|
this.createdAt = new Date();
|
15
15
|
this.fee = 0;
|
16
16
|
this.id = '';
|
17
17
|
this.index = 0;
|
18
18
|
this.maxAmount = 0;
|
19
19
|
this.minAmount = 0;
|
20
|
-
this.mode = payment_mode_enum_1.
|
20
|
+
this.mode = payment_mode_enum_1.EPaymentMode.MANUAL;
|
21
21
|
this.name = '';
|
22
22
|
this.token = '';
|
23
23
|
this.type = payment_type_enum_1.EPaymentType.CREDIT_CARD;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var
|
5
|
-
(function (
|
6
|
-
|
7
|
-
|
8
|
-
})(
|
3
|
+
exports.EBooleanString = void 0;
|
4
|
+
var EBooleanString;
|
5
|
+
(function (EBooleanString) {
|
6
|
+
EBooleanString["FALSE"] = "false";
|
7
|
+
EBooleanString["TRUE"] = "true";
|
8
|
+
})(EBooleanString || (exports.EBooleanString = EBooleanString = {}));
|
@@ -1,16 +1,17 @@
|
|
1
1
|
export { EBankSlipStatus } from './bank-slip-status.enum';
|
2
|
-
export {
|
2
|
+
export { EBooleanString } from './boolean-string.enum';
|
3
3
|
export { EDocType } from './doc-type.enum';
|
4
4
|
export { EDiscountType } from './e-discount-type.enum';
|
5
5
|
export { EFiscalDocModelCode } from './fiscal-doc-model-code.enum';
|
6
|
-
export {
|
7
|
-
export {
|
8
|
-
export {
|
9
|
-
export {
|
10
|
-
export {
|
11
|
-
export {
|
6
|
+
export { EIntervalType } from './interval-type.enum';
|
7
|
+
export { ELeadOrigin } from './lead-origin.enum';
|
8
|
+
export { EOs } from './os.enum';
|
9
|
+
export { EPaymentChannel } from './payment-channel.enum';
|
10
|
+
export { EPaymentMode } from './payment-mode.enum';
|
11
|
+
export { EPaymentStatus } from './payment-status.enum';
|
12
12
|
export { EPaymentType } from './payment-type.enum';
|
13
|
-
export {
|
14
|
-
export {
|
15
|
-
export {
|
13
|
+
export { ELegalEntiy } from './person-type.enum';
|
14
|
+
export { EPlatfomr } from './platform.enum';
|
15
|
+
export { EPaymentProvider } from './providers.enum';
|
16
|
+
export { EPubSub } from './pubsub.enum';
|
16
17
|
export { ESponsorshipValues } from './sponsorship-values.enum';
|
@@ -1,10 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ESponsorshipValues = exports.
|
3
|
+
exports.ESponsorshipValues = exports.EPubSub = exports.EPaymentProvider = exports.EPlatfomr = exports.ELegalEntiy = exports.EPaymentType = exports.EPaymentStatus = exports.EPaymentMode = exports.EPaymentChannel = exports.EOs = exports.ELeadOrigin = exports.EIntervalType = exports.EFiscalDocModelCode = exports.EDiscountType = exports.EDocType = exports.EBooleanString = exports.EBankSlipStatus = void 0;
|
4
4
|
var bank_slip_status_enum_1 = require("./bank-slip-status.enum");
|
5
5
|
Object.defineProperty(exports, "EBankSlipStatus", { enumerable: true, get: function () { return bank_slip_status_enum_1.EBankSlipStatus; } });
|
6
6
|
var boolean_string_enum_1 = require("./boolean-string.enum");
|
7
|
-
Object.defineProperty(exports, "
|
7
|
+
Object.defineProperty(exports, "EBooleanString", { enumerable: true, get: function () { return boolean_string_enum_1.EBooleanString; } });
|
8
8
|
var doc_type_enum_1 = require("./doc-type.enum");
|
9
9
|
Object.defineProperty(exports, "EDocType", { enumerable: true, get: function () { return doc_type_enum_1.EDocType; } });
|
10
10
|
var e_discount_type_enum_1 = require("./e-discount-type.enum");
|
@@ -12,24 +12,26 @@ Object.defineProperty(exports, "EDiscountType", { enumerable: true, get: functio
|
|
12
12
|
var fiscal_doc_model_code_enum_1 = require("./fiscal-doc-model-code.enum");
|
13
13
|
Object.defineProperty(exports, "EFiscalDocModelCode", { enumerable: true, get: function () { return fiscal_doc_model_code_enum_1.EFiscalDocModelCode; } });
|
14
14
|
var interval_type_enum_1 = require("./interval-type.enum");
|
15
|
-
Object.defineProperty(exports, "
|
15
|
+
Object.defineProperty(exports, "EIntervalType", { enumerable: true, get: function () { return interval_type_enum_1.EIntervalType; } });
|
16
16
|
var lead_origin_enum_1 = require("./lead-origin.enum");
|
17
|
-
Object.defineProperty(exports, "
|
17
|
+
Object.defineProperty(exports, "ELeadOrigin", { enumerable: true, get: function () { return lead_origin_enum_1.ELeadOrigin; } });
|
18
18
|
var os_enum_1 = require("./os.enum");
|
19
|
-
Object.defineProperty(exports, "
|
19
|
+
Object.defineProperty(exports, "EOs", { enumerable: true, get: function () { return os_enum_1.EOs; } });
|
20
20
|
var payment_channel_enum_1 = require("./payment-channel.enum");
|
21
|
-
Object.defineProperty(exports, "
|
21
|
+
Object.defineProperty(exports, "EPaymentChannel", { enumerable: true, get: function () { return payment_channel_enum_1.EPaymentChannel; } });
|
22
22
|
var payment_mode_enum_1 = require("./payment-mode.enum");
|
23
|
-
Object.defineProperty(exports, "
|
23
|
+
Object.defineProperty(exports, "EPaymentMode", { enumerable: true, get: function () { return payment_mode_enum_1.EPaymentMode; } });
|
24
24
|
var payment_status_enum_1 = require("./payment-status.enum");
|
25
|
-
Object.defineProperty(exports, "
|
25
|
+
Object.defineProperty(exports, "EPaymentStatus", { enumerable: true, get: function () { return payment_status_enum_1.EPaymentStatus; } });
|
26
26
|
var payment_type_enum_1 = require("./payment-type.enum");
|
27
27
|
Object.defineProperty(exports, "EPaymentType", { enumerable: true, get: function () { return payment_type_enum_1.EPaymentType; } });
|
28
28
|
var person_type_enum_1 = require("./person-type.enum");
|
29
|
-
Object.defineProperty(exports, "
|
29
|
+
Object.defineProperty(exports, "ELegalEntiy", { enumerable: true, get: function () { return person_type_enum_1.ELegalEntiy; } });
|
30
30
|
var platform_enum_1 = require("./platform.enum");
|
31
|
-
Object.defineProperty(exports, "
|
31
|
+
Object.defineProperty(exports, "EPlatfomr", { enumerable: true, get: function () { return platform_enum_1.EPlatfomr; } });
|
32
32
|
var providers_enum_1 = require("./providers.enum");
|
33
|
-
Object.defineProperty(exports, "
|
33
|
+
Object.defineProperty(exports, "EPaymentProvider", { enumerable: true, get: function () { return providers_enum_1.EPaymentProvider; } });
|
34
|
+
var pubsub_enum_1 = require("./pubsub.enum");
|
35
|
+
Object.defineProperty(exports, "EPubSub", { enumerable: true, get: function () { return pubsub_enum_1.EPubSub; } });
|
34
36
|
var sponsorship_values_enum_1 = require("./sponsorship-values.enum");
|
35
37
|
Object.defineProperty(exports, "ESponsorshipValues", { enumerable: true, get: function () { return sponsorship_values_enum_1.ESponsorshipValues; } });
|
@@ -1,9 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var
|
5
|
-
(function (
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
})(
|
3
|
+
exports.EIntervalType = void 0;
|
4
|
+
var EIntervalType;
|
5
|
+
(function (EIntervalType) {
|
6
|
+
EIntervalType["DAYS"] = "DAYS";
|
7
|
+
EIntervalType["WEEKS"] = "WEEKS";
|
8
|
+
EIntervalType["MONTHS"] = "MONTHS";
|
9
|
+
})(EIntervalType || (exports.EIntervalType = EIntervalType = {}));
|
@@ -1,13 +1,13 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var
|
5
|
-
(function (
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
})(
|
3
|
+
exports.ELeadOrigin = void 0;
|
4
|
+
var ELeadOrigin;
|
5
|
+
(function (ELeadOrigin) {
|
6
|
+
ELeadOrigin["FACEBOOK_ADS"] = "Facebook Ads";
|
7
|
+
ELeadOrigin["GOOGLE_ADS"] = "Google Ads";
|
8
|
+
ELeadOrigin["EMAIL_MARKETING"] = "Email Marketing";
|
9
|
+
ELeadOrigin["REFERRED_BY_FRIEND"] = "Indica\u00E7\u00E3o de amigo";
|
10
|
+
ELeadOrigin["ORGANIC_SEARCH"] = "Busca org\u00E2nica";
|
11
|
+
ELeadOrigin["DIRECT_VISIT"] = "Visita Direta";
|
12
|
+
ELeadOrigin["OTHERS"] = "Outros";
|
13
|
+
})(ELeadOrigin || (exports.ELeadOrigin = ELeadOrigin = {}));
|
@@ -1,14 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var
|
5
|
-
(function (
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
})(
|
3
|
+
exports.EOs = void 0;
|
4
|
+
var EOs;
|
5
|
+
(function (EOs) {
|
6
|
+
EOs["ANDROID"] = "ANDROID";
|
7
|
+
EOs["IOS"] = "IOS";
|
8
|
+
EOs["WINDOWS_PHONE"] = "WINDOWS_PHONE";
|
9
|
+
EOs["WINDOWS"] = "WINDOWS";
|
10
|
+
EOs["LINUX"] = "LINUX";
|
11
|
+
EOs["ELECTRON"] = "ELECTRON";
|
12
|
+
EOs["OTHER"] = "OTHER";
|
13
|
+
EOs["UNKNOWN"] = "UNKNOWN";
|
14
|
+
})(EOs || (exports.EOs = EOs = {}));
|
@@ -1,14 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var
|
5
|
-
(function (
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
})(
|
3
|
+
exports.EPaymentChannel = void 0;
|
4
|
+
var EPaymentChannel;
|
5
|
+
(function (EPaymentChannel) {
|
6
|
+
EPaymentChannel["APP"] = "APP";
|
7
|
+
EPaymentChannel["DELIVERY"] = "DELIVERY";
|
8
|
+
EPaymentChannel["AUTOMATION"] = "AUTOMATION";
|
9
|
+
EPaymentChannel["PHONE"] = "PHONE";
|
10
|
+
EPaymentChannel["MAIL"] = "MAIL";
|
11
|
+
EPaymentChannel["KIOSK"] = "KIOSK";
|
12
|
+
EPaymentChannel["QR_CODE"] = "QR_CODE";
|
13
|
+
EPaymentChannel["WEBSITE"] = "WEBSITE";
|
14
|
+
})(EPaymentChannel || (exports.EPaymentChannel = EPaymentChannel = {}));
|
@@ -1,9 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var
|
5
|
-
(function (
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
})(
|
3
|
+
exports.EPaymentMode = void 0;
|
4
|
+
var EPaymentMode;
|
5
|
+
(function (EPaymentMode) {
|
6
|
+
EPaymentMode["ELECTRONIC"] = "ELECTRONIC";
|
7
|
+
EPaymentMode["MANUAL"] = "MANUAL";
|
8
|
+
EPaymentMode["DIGITAL"] = "DIGITAL";
|
9
|
+
})(EPaymentMode || (exports.EPaymentMode = EPaymentMode = {}));
|
@@ -1,8 +1,9 @@
|
|
1
|
-
export declare enum
|
1
|
+
export declare enum EPaymentStatus {
|
2
2
|
PENDING = "PENDING",
|
3
3
|
COMPLETED = "COMPLETED",
|
4
4
|
FAILED = "FAILED",
|
5
5
|
CANCELED = "CANCELED",
|
6
|
+
PAID = "PAID",
|
6
7
|
REFUNDED = "REFUNDED",
|
7
8
|
AUTHORIZED = "AUTHORIZED",
|
8
9
|
DECLINED = "DECLINED",
|
@@ -1,15 +1,16 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var
|
5
|
-
(function (
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
3
|
+
exports.EPaymentStatus = void 0;
|
4
|
+
var EPaymentStatus;
|
5
|
+
(function (EPaymentStatus) {
|
6
|
+
EPaymentStatus["PENDING"] = "PENDING";
|
7
|
+
EPaymentStatus["COMPLETED"] = "COMPLETED";
|
8
|
+
EPaymentStatus["FAILED"] = "FAILED";
|
9
|
+
EPaymentStatus["CANCELED"] = "CANCELED";
|
10
|
+
EPaymentStatus["PAID"] = "PAID";
|
11
|
+
EPaymentStatus["REFUNDED"] = "REFUNDED";
|
12
|
+
EPaymentStatus["AUTHORIZED"] = "AUTHORIZED";
|
13
|
+
EPaymentStatus["DECLINED"] = "DECLINED";
|
14
|
+
EPaymentStatus["EXPIRED"] = "EXPIRED";
|
15
|
+
EPaymentStatus["DISPUTED"] = "DISPUTED";
|
16
|
+
})(EPaymentStatus || (exports.EPaymentStatus = EPaymentStatus = {}));
|
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var
|
5
|
-
(function (
|
6
|
-
|
7
|
-
|
8
|
-
})(
|
3
|
+
exports.ELegalEntiy = void 0;
|
4
|
+
var ELegalEntiy;
|
5
|
+
(function (ELegalEntiy) {
|
6
|
+
ELegalEntiy["LEGAL"] = "Pessoa Jur\u00EDdica";
|
7
|
+
ELegalEntiy["INDIVIDUAL"] = "Pessoa F\u00EDsica";
|
8
|
+
})(ELegalEntiy || (exports.ELegalEntiy = ELegalEntiy = {}));
|
@@ -1,13 +1,13 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var
|
5
|
-
(function (
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
})(
|
3
|
+
exports.EPlatfomr = void 0;
|
4
|
+
var EPlatfomr;
|
5
|
+
(function (EPlatfomr) {
|
6
|
+
EPlatfomr["MOBILE"] = "Mobile";
|
7
|
+
EPlatfomr["WEB"] = "Web";
|
8
|
+
EPlatfomr["DESKTOP"] = "Desktop";
|
9
|
+
EPlatfomr["TABLET"] = "Tablet";
|
10
|
+
EPlatfomr["TV"] = "Tv";
|
11
|
+
EPlatfomr["CHROMEBOOK"] = "Chromebook";
|
12
|
+
EPlatfomr["OTHER"] = "Other";
|
13
|
+
})(EPlatfomr || (exports.EPlatfomr = EPlatfomr = {}));
|
@@ -1,12 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var
|
5
|
-
(function (
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
})(
|
3
|
+
exports.EPaymentProvider = void 0;
|
4
|
+
var EPaymentProvider;
|
5
|
+
(function (EPaymentProvider) {
|
6
|
+
EPaymentProvider["IUGU"] = "IUGU";
|
7
|
+
EPaymentProvider["DESENFILA"] = "DESENFILA";
|
8
|
+
EPaymentProvider["MERCADO_PAGO"] = "MERCADO PAGO";
|
9
|
+
EPaymentProvider["STRIPE"] = "STRIPE";
|
10
|
+
EPaymentProvider["PAYPAL"] = "PAYPAL";
|
11
|
+
EPaymentProvider["OTHER"] = "OTHER";
|
12
|
+
})(EPaymentProvider || (exports.EPaymentProvider = EPaymentProvider = {}));
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { ELeadOrigin } from '../enums/lead-origin.enum';
|
2
2
|
export interface IOrigin {
|
3
3
|
campaign?: string;
|
4
4
|
contactPoint?: string;
|
5
5
|
date: Number;
|
6
6
|
details?: string;
|
7
7
|
referrer?: string;
|
8
|
-
type:
|
8
|
+
type: ELeadOrigin;
|
9
9
|
}
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import { EPaymentChannel } from '../enums/payment-channel.enum';
|
2
|
+
import { EPaymentMode } from '../enums/payment-mode.enum';
|
3
3
|
import { EPaymentType } from '../enums/payment-type.enum';
|
4
4
|
export interface IPaymentMethodOption {
|
5
5
|
active: boolean;
|
6
|
-
channel:
|
6
|
+
channel: EPaymentChannel;
|
7
7
|
createdAt: Date;
|
8
8
|
fee: number;
|
9
9
|
id: string;
|
10
10
|
index: number;
|
11
11
|
maxAmount: number;
|
12
12
|
minAmount: number;
|
13
|
-
mode:
|
13
|
+
mode: EPaymentMode;
|
14
14
|
name: string;
|
15
15
|
token: string;
|
16
16
|
type: EPaymentType;
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
@@ -15,6 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./app"), exports);
|
18
|
+
__exportStar(require("./billing"), exports);
|
19
|
+
__exportStar(require("./billing-order"), exports);
|
18
20
|
__exportStar(require("./campaign"), exports);
|
19
21
|
__exportStar(require("./clients"), exports);
|
20
22
|
__exportStar(require("./company"), exports);
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import { EBooleanString } from '../../general/enums';
|
2
|
+
import { ELegalEntiy } from '../../general/enums/person-type.enum';
|
3
3
|
import { IIuguAccountLastVerificationRequestData } from '../interfaces';
|
4
4
|
export declare class LastVerificationRequestDataEntity implements IIuguAccountLastVerificationRequestData {
|
5
5
|
accountType: string;
|
6
6
|
address: string;
|
7
|
-
automaticTransfer:
|
7
|
+
automaticTransfer: EBooleanString;
|
8
8
|
bank: string;
|
9
9
|
bankAg: string;
|
10
10
|
bankCc: string;
|
@@ -16,8 +16,8 @@ export declare class LastVerificationRequestDataEntity implements IIuguAccountLa
|
|
16
16
|
documentCpf: string;
|
17
17
|
documentId: string;
|
18
18
|
name: string;
|
19
|
-
personType:
|
20
|
-
physicalProducts:
|
19
|
+
personType: ELegalEntiy;
|
20
|
+
physicalProducts: EBooleanString;
|
21
21
|
priceRange: string;
|
22
22
|
state: string;
|
23
23
|
telephone: string;
|
@@ -10,7 +10,7 @@ var LastVerificationRequestDataEntity = /** @class */ (function () {
|
|
10
10
|
// #region Properties (19)
|
11
11
|
this.accountType = '';
|
12
12
|
this.address = '';
|
13
|
-
this.automaticTransfer = enums_1.
|
13
|
+
this.automaticTransfer = enums_1.EBooleanString.FALSE;
|
14
14
|
this.bank = '';
|
15
15
|
this.bankAg = '';
|
16
16
|
this.bankCc = '';
|
@@ -22,8 +22,8 @@ var LastVerificationRequestDataEntity = /** @class */ (function () {
|
|
22
22
|
this.documentCpf = '';
|
23
23
|
this.documentId = '';
|
24
24
|
this.name = '';
|
25
|
-
this.personType = person_type_enum_1.
|
26
|
-
this.physicalProducts = enums_1.
|
25
|
+
this.personType = person_type_enum_1.ELegalEntiy.LEGAL;
|
26
|
+
this.physicalProducts = enums_1.EBooleanString.FALSE;
|
27
27
|
this.priceRange = '';
|
28
28
|
this.state = '';
|
29
29
|
this.telephone = '';
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import { EBooleanString } from '../../general/enums';
|
2
|
+
import { ELegalEntiy } from '../../general/enums/person-type.enum';
|
3
3
|
export interface IIuguLastVerificationRequestData {
|
4
4
|
accountType: string;
|
5
5
|
address: string;
|
6
|
-
automaticTransfer:
|
6
|
+
automaticTransfer: EBooleanString;
|
7
7
|
bank: string;
|
8
8
|
bankAg: string;
|
9
9
|
bankCc: string;
|
@@ -15,8 +15,8 @@ export interface IIuguLastVerificationRequestData {
|
|
15
15
|
documentCpf: string;
|
16
16
|
documentId: string;
|
17
17
|
name: string;
|
18
|
-
personType:
|
19
|
-
physicalProducts:
|
18
|
+
personType: ELegalEntiy;
|
19
|
+
physicalProducts: EBooleanString;
|
20
20
|
priceRange: string;
|
21
21
|
state: string;
|
22
22
|
telephone: string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { EDocType,
|
1
|
+
import { EDocType, ELeadOrigin } from '../../general/enums';
|
2
2
|
import { LeadStatusEnum } from '../enums';
|
3
3
|
import { ILead } from '../interfaces';
|
4
4
|
export declare class LeadEntity implements ILead {
|
@@ -26,7 +26,7 @@ export declare class LeadEntity implements ILead {
|
|
26
26
|
/**Número do documento conforme o tipo. */
|
27
27
|
name: string;
|
28
28
|
note?: string;
|
29
|
-
origin:
|
29
|
+
origin: ELeadOrigin;
|
30
30
|
/**Status atual. */
|
31
31
|
partnerId: string;
|
32
32
|
/**Outros endereços de e-mail, se disponíveis. */
|
@@ -32,7 +32,7 @@ var LeadEntity = /** @class */ (function () {
|
|
32
32
|
/**Número do documento conforme o tipo. */
|
33
33
|
this.name = '';
|
34
34
|
this.note = '';
|
35
|
-
this.origin = enums_1.
|
35
|
+
this.origin = enums_1.ELeadOrigin.OTHERS;
|
36
36
|
/**Status atual. */
|
37
37
|
this.partnerId = '';
|
38
38
|
/**Outros endereços de e-mail, se disponíveis. */
|