cecon-interfaces 1.0.25 → 1.0.27
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 +27 -0
- package/dist/app/entities/app.entity.js +37 -0
- package/dist/app/entities/index.d.ts +2 -0
- package/dist/app/entities/index.js +7 -0
- package/dist/app/enums/app-category.enum.d.ts +30 -0
- package/dist/app/enums/app-category.enum.js +34 -0
- package/dist/app/enums/header-type.enum.d.ts +4 -0
- package/dist/app/enums/header-type.enum.js +8 -0
- package/dist/app/enums/index.d.ts +2 -0
- package/dist/app/enums/index.js +7 -0
- package/dist/app/index.d.ts +4 -0
- package/dist/app/index.js +20 -0
- package/dist/app/interfaces/i-app.d.ts +25 -0
- package/dist/app/interfaces/i-natigo.js +2 -0
- package/dist/app/interfaces/index.d.ts +2 -0
- package/dist/app/interfaces/index.js +2 -0
- package/dist/app/types/app-config.type.d.ts +2 -0
- package/dist/app/types/app-config.type.js +2 -0
- package/dist/app/types/index.d.ts +1 -0
- package/dist/app/types/index.js +2 -0
- package/dist/company/enums/keys.enum.d.ts +5 -5
- package/dist/company/enums/keys.enum.js +5 -5
- package/dist/company/enums/message-type.enum.d.ts +3 -3
- package/dist/company/enums/message-type.enum.js +3 -3
- package/dist/device/entities/device.entity.d.ts +5 -4
- package/dist/device/entities/device.entity.js +6 -7
- package/dist/device/entities/index.d.ts +0 -1
- package/dist/device/entities/index.js +1 -3
- package/dist/device/entities/installed-apps.entity.d.ts +18 -0
- package/dist/device/entities/installed-apps.entity.js +32 -0
- package/dist/device/entities/metadata.entity.d.ts +1 -1
- package/dist/device/entities/metadata.entity.js +1 -1
- package/dist/device/enums/device-mode.enum.d.ts +7 -6
- package/dist/device/enums/device-mode.enum.js +7 -6
- package/dist/device/interfaces/i-device.d.ts +5 -4
- package/dist/device/interfaces/i-installed-apps.d.ts +16 -0
- package/dist/device/interfaces/i-installed-apps.js +2 -0
- package/dist/device/interfaces/index.d.ts +0 -1
- package/dist/esm2022/app/entities/app.entity.mjs +33 -0
- package/dist/esm2022/app/entities/index.mjs +3 -0
- package/dist/esm2022/app/entities/natigo.entity.mjs +19 -0
- package/dist/esm2022/app/enums/app-category.enum.mjs +32 -0
- package/dist/esm2022/app/enums/header-type.enum.mjs +6 -0
- package/dist/esm2022/app/enums/index.mjs +3 -0
- package/dist/esm2022/app/index.mjs +5 -0
- package/dist/esm2022/app/interfaces/i-app.mjs +2 -0
- package/dist/esm2022/app/interfaces/i-natigo.mjs +2 -0
- package/dist/esm2022/app/interfaces/index.mjs +2 -0
- package/dist/esm2022/app/types/app-config.type.mjs +2 -0
- package/dist/esm2022/app/types/index.mjs +2 -0
- package/dist/esm2022/company/enums/keys.enum.mjs +6 -6
- package/dist/esm2022/company/enums/message-type.enum.mjs +4 -4
- package/dist/esm2022/device/entities/device.entity.mjs +7 -8
- package/dist/esm2022/device/entities/index.mjs +1 -2
- package/dist/esm2022/device/entities/installed-apps.entity.mjs +28 -0
- package/dist/esm2022/device/entities/metadata.entity.mjs +2 -2
- package/dist/esm2022/device/enums/device-mode.enum.mjs +8 -7
- package/dist/esm2022/device/interfaces/i-device.mjs +1 -1
- package/dist/esm2022/device/interfaces/i-installed-apps.mjs +2 -0
- package/dist/esm2022/device/interfaces/index.mjs +1 -1
- package/dist/esm2022/general/entities/carousel-image.entity.mjs +18 -0
- package/dist/esm2022/general/entities/coords.entity.mjs +4 -1
- package/dist/esm2022/general/entities/index.mjs +3 -1
- package/dist/esm2022/general/entities/origin.entity.mjs +2 -2
- package/dist/esm2022/general/entities/payment-method.entity.mjs +4 -4
- package/dist/esm2022/general/entities/rating.entity.mjs +19 -0
- package/dist/esm2022/general/enums/boolean-string.enum.mjs +3 -3
- package/dist/esm2022/general/enums/index.mjs +2 -1
- package/dist/esm2022/general/enums/interval-type.enum.mjs +4 -4
- package/dist/esm2022/general/enums/lead-origin.enum.mjs +8 -8
- package/dist/esm2022/general/enums/os.enum.mjs +11 -0
- package/dist/esm2022/general/enums/payment-channel.enum.mjs +9 -9
- package/dist/esm2022/general/enums/payment-mode.enum.mjs +4 -4
- package/dist/esm2022/general/enums/payment-type.enum.mjs +19 -19
- package/dist/esm2022/general/enums/person-type.enum.mjs +3 -3
- package/dist/esm2022/general/enums/platform.enum.mjs +11 -0
- package/dist/esm2022/general/enums/providers.enum.mjs +7 -7
- package/dist/esm2022/general/interfaces/i-carousel-image.mjs +2 -0
- package/dist/esm2022/general/interfaces/i-rating.mjs +2 -0
- package/dist/esm2022/general/interfaces/index.mjs +1 -1
- package/dist/esm2022/invite/entities/invite.entity.mjs +2 -2
- package/dist/esm2022/invite/enums/status.enum.mjs +6 -6
- package/dist/esm2022/iugu/entities/account-last-verification-request-data.entity.mjs +4 -4
- package/dist/esm2022/iugu/entities/iugu-account.entity.mjs +2 -2
- package/dist/esm2022/iugu/enums/iugu-auto-advance.enum.mjs +5 -5
- package/dist/esm2022/lead/entities/lead.entity.mjs +9 -7
- package/dist/esm2022/lead/enums/lead-status.enum.mjs +13 -6
- package/dist/esm2022/lead/interfaces/i-lead.mjs +1 -1
- package/dist/esm2022/member/entities/member.entity.mjs +6 -5
- package/dist/esm2022/member/enums/index.mjs +2 -1
- package/dist/esm2022/member/enums/member-rules.enum.mjs +9 -9
- package/dist/esm2022/member/enums/member-type.enum.mjs +7 -0
- package/dist/esm2022/member/interfaces/i-member.mjs +1 -1
- package/dist/esm2022/order/entities/payment-method.entity.mjs +2 -2
- package/dist/esm2022/plan/entities/plan.entity.mjs +3 -3
- package/dist/esm2022/plan/enums/plans-identifier.enum.mjs +3 -3
- package/dist/esm2022/purchases/entities/purchase.entity.mjs +2 -2
- package/dist/fesm2022/cecon-interfaces.mjs +222 -142
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/entities/carousel-image.entity.d.ts +7 -0
- package/dist/general/entities/carousel-image.entity.js +22 -0
- package/dist/general/entities/coords.entity.js +3 -0
- package/dist/general/entities/index.d.ts +2 -0
- package/dist/general/entities/index.js +5 -1
- package/dist/general/entities/origin.entity.js +1 -1
- package/dist/general/entities/payment-method.entity.js +3 -3
- package/dist/general/entities/rating.entity.d.ts +8 -0
- package/dist/general/entities/rating.entity.js +23 -0
- package/dist/general/enums/boolean-string.enum.d.ts +2 -2
- package/dist/general/enums/boolean-string.enum.js +2 -2
- package/dist/general/enums/index.d.ts +1 -0
- package/dist/general/enums/index.js +3 -1
- package/dist/general/enums/interval-type.enum.d.ts +3 -3
- package/dist/general/enums/interval-type.enum.js +3 -3
- package/dist/general/enums/lead-origin.enum.d.ts +7 -7
- package/dist/general/enums/lead-origin.enum.js +7 -7
- package/dist/general/enums/os.enum.d.ts +9 -0
- package/dist/general/enums/os.enum.js +13 -0
- package/dist/general/enums/payment-channel.enum.d.ts +8 -8
- package/dist/general/enums/payment-channel.enum.js +8 -8
- package/dist/general/enums/payment-mode.enum.d.ts +3 -3
- package/dist/general/enums/payment-mode.enum.js +3 -3
- package/dist/general/enums/payment-type.enum.d.ts +18 -18
- package/dist/general/enums/payment-type.enum.js +18 -18
- package/dist/general/enums/person-type.enum.d.ts +2 -2
- package/dist/general/enums/person-type.enum.js +2 -2
- package/dist/general/enums/platform.enum.d.ts +9 -0
- package/dist/general/enums/platform.enum.js +13 -0
- package/dist/general/enums/providers.enum.d.ts +6 -6
- package/dist/general/enums/providers.enum.js +6 -6
- package/dist/general/interfaces/i-carousel-image.d.ts +5 -0
- package/dist/general/interfaces/i-carousel-image.js +2 -0
- package/dist/general/interfaces/i-rating.d.ts +6 -0
- package/dist/general/interfaces/i-rating.js +2 -0
- package/dist/general/interfaces/index.d.ts +2 -0
- package/dist/invite/entities/invite.entity.js +1 -1
- package/dist/invite/enums/status.enum.d.ts +5 -5
- package/dist/invite/enums/status.enum.js +5 -5
- package/dist/iugu/entities/account-last-verification-request-data.entity.js +3 -3
- package/dist/iugu/entities/iugu-account.entity.js +1 -1
- package/dist/iugu/enums/iugu-auto-advance.enum.d.ts +4 -4
- package/dist/iugu/enums/iugu-auto-advance.enum.js +4 -4
- package/dist/lead/entities/lead.entity.d.ts +4 -2
- package/dist/lead/entities/lead.entity.js +8 -6
- package/dist/lead/enums/lead-status.enum.d.ts +12 -5
- package/dist/lead/enums/lead-status.enum.js +12 -5
- package/dist/lead/interfaces/i-lead.d.ts +3 -1
- package/dist/member/entities/member.entity.d.ts +2 -1
- package/dist/member/entities/member.entity.js +4 -3
- package/dist/member/enums/index.d.ts +1 -0
- package/dist/member/enums/index.js +3 -1
- package/dist/member/enums/member-rules.enum.d.ts +8 -8
- package/dist/member/enums/member-rules.enum.js +8 -8
- package/dist/member/enums/member-type.enum.d.ts +5 -0
- package/dist/member/enums/member-type.enum.js +9 -0
- package/dist/member/interfaces/i-member.d.ts +2 -1
- package/dist/order/entities/payment-method.entity.js +1 -1
- package/dist/package.json +1 -1
- package/dist/plan/entities/plan.entity.js +2 -2
- package/dist/plan/enums/plans-identifier.enum.d.ts +2 -2
- package/dist/plan/enums/plans-identifier.enum.js +2 -2
- package/dist/purchases/entities/purchase.entity.js +1 -1
- package/package.json +1 -1
- package/dist/esm2022/device/entities/natigo.entity.mjs +0 -19
- package/dist/esm2022/device/interfaces/i-natigo.mjs +0 -2
- /package/dist/{device → app}/entities/natigo.entity.d.ts +0 -0
- /package/dist/{device → app}/entities/natigo.entity.js +0 -0
- /package/dist/{device/interfaces/i-natigo.js → app/interfaces/i-app.js} +0 -0
- /package/dist/{device → app}/interfaces/i-natigo.d.ts +0 -0
@@ -1,6 +1,9 @@
|
|
1
1
|
class CoordsEntity {
|
2
|
+
// #region Properties (2)
|
2
3
|
latitude = 0;
|
3
4
|
longitude = 0;
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
4
7
|
constructor(data) {
|
5
8
|
if (data) {
|
6
9
|
for (let key in data) {
|
@@ -57,6 +60,24 @@ class BaseEntity {
|
|
57
60
|
}
|
58
61
|
}
|
59
62
|
|
63
|
+
class CarouselImageEntity {
|
64
|
+
// #region Properties (3)
|
65
|
+
caption = '';
|
66
|
+
id = '';
|
67
|
+
url = '';
|
68
|
+
// #endregion Properties (3)
|
69
|
+
// #region Constructors (1)
|
70
|
+
constructor(data) {
|
71
|
+
if (data) {
|
72
|
+
for (let key in data) {
|
73
|
+
if (data.hasOwnProperty(key) && key in this) {
|
74
|
+
this[key] = data[key];
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
60
81
|
class DeliveryAreaEntity {
|
61
82
|
// #region Properties (8)
|
62
83
|
deliveryFee = 0;
|
@@ -141,13 +162,13 @@ class MobyoApiConfigEntity {
|
|
141
162
|
|
142
163
|
var LeadOriginEnum;
|
143
164
|
(function (LeadOriginEnum) {
|
144
|
-
LeadOriginEnum["
|
145
|
-
LeadOriginEnum["
|
146
|
-
LeadOriginEnum["
|
147
|
-
LeadOriginEnum["
|
148
|
-
LeadOriginEnum["
|
149
|
-
LeadOriginEnum["
|
150
|
-
LeadOriginEnum["
|
165
|
+
LeadOriginEnum["FACEBOOK_ADS"] = "Facebook Ads";
|
166
|
+
LeadOriginEnum["GOOGLE_ADS"] = "Google Ads";
|
167
|
+
LeadOriginEnum["EMAIL_MARKETING"] = "Email Marketing";
|
168
|
+
LeadOriginEnum["REFERRED_BY_FRIEND"] = "Indica\u00E7\u00E3o de amigo";
|
169
|
+
LeadOriginEnum["ORGANIC_SEARCH"] = "Busca org\u00E2nica";
|
170
|
+
LeadOriginEnum["DIRECT_VISIT"] = "Visita Direta";
|
171
|
+
LeadOriginEnum["OTHERS"] = "Outros";
|
151
172
|
})(LeadOriginEnum || (LeadOriginEnum = {}));
|
152
173
|
|
153
174
|
class OriginEntity {
|
@@ -157,7 +178,7 @@ class OriginEntity {
|
|
157
178
|
date = 0;
|
158
179
|
details = '';
|
159
180
|
referrer = '';
|
160
|
-
type = LeadOriginEnum.
|
181
|
+
type = LeadOriginEnum.OTHERS;
|
161
182
|
// #endregion Properties (6)
|
162
183
|
// #region Constructors (1)
|
163
184
|
constructor(data) {
|
@@ -173,59 +194,59 @@ class OriginEntity {
|
|
173
194
|
|
174
195
|
var PaymentChannelEnum;
|
175
196
|
(function (PaymentChannelEnum) {
|
176
|
-
PaymentChannelEnum["
|
177
|
-
PaymentChannelEnum["
|
178
|
-
PaymentChannelEnum["
|
179
|
-
PaymentChannelEnum["
|
180
|
-
PaymentChannelEnum["
|
181
|
-
PaymentChannelEnum["
|
182
|
-
PaymentChannelEnum["
|
183
|
-
PaymentChannelEnum["
|
197
|
+
PaymentChannelEnum["APP"] = "APP";
|
198
|
+
PaymentChannelEnum["DELIVERY"] = "DELIVERY";
|
199
|
+
PaymentChannelEnum["AUTOMATION"] = "AUTOMATION";
|
200
|
+
PaymentChannelEnum["PHONE"] = "PHONE";
|
201
|
+
PaymentChannelEnum["MAIL"] = "MAIL";
|
202
|
+
PaymentChannelEnum["KIOSK"] = "KIOSK";
|
203
|
+
PaymentChannelEnum["QR_CODE"] = "QR_CODE";
|
204
|
+
PaymentChannelEnum["WEBSITE"] = "WEBSITE";
|
184
205
|
})(PaymentChannelEnum || (PaymentChannelEnum = {}));
|
185
206
|
|
186
207
|
var PaymentModeEnum;
|
187
208
|
(function (PaymentModeEnum) {
|
188
|
-
PaymentModeEnum["
|
189
|
-
PaymentModeEnum["
|
190
|
-
PaymentModeEnum["
|
209
|
+
PaymentModeEnum["ELECTRONIC"] = "ELECTRONIC";
|
210
|
+
PaymentModeEnum["MANUAL"] = "MANUAL";
|
211
|
+
PaymentModeEnum["DIGITAL"] = "DIGITAL";
|
191
212
|
})(PaymentModeEnum || (PaymentModeEnum = {}));
|
192
213
|
|
193
214
|
var PaymentTypeEnum;
|
194
215
|
(function (PaymentTypeEnum) {
|
195
|
-
PaymentTypeEnum["
|
196
|
-
PaymentTypeEnum["
|
197
|
-
PaymentTypeEnum["
|
198
|
-
PaymentTypeEnum["
|
199
|
-
PaymentTypeEnum["
|
200
|
-
PaymentTypeEnum["
|
201
|
-
PaymentTypeEnum["
|
202
|
-
PaymentTypeEnum["
|
203
|
-
PaymentTypeEnum["
|
204
|
-
PaymentTypeEnum["
|
205
|
-
PaymentTypeEnum["
|
206
|
-
PaymentTypeEnum["
|
207
|
-
PaymentTypeEnum["
|
208
|
-
PaymentTypeEnum["
|
209
|
-
PaymentTypeEnum["
|
210
|
-
PaymentTypeEnum["
|
211
|
-
PaymentTypeEnum["
|
212
|
-
PaymentTypeEnum["
|
216
|
+
PaymentTypeEnum["CREDIT_CARD"] = "CREDIT_CARD";
|
217
|
+
PaymentTypeEnum["DEBIT_CARD"] = "DEBIT_CARD";
|
218
|
+
PaymentTypeEnum["CASH"] = "CASH";
|
219
|
+
PaymentTypeEnum["PIX"] = "PIX";
|
220
|
+
PaymentTypeEnum["MOBILE_PAYMENT"] = "MOBILE_PAYMENT";
|
221
|
+
PaymentTypeEnum["CHECK"] = "CHECK";
|
222
|
+
PaymentTypeEnum["CRYPTOCURRENCY"] = "CRYPTOCURRENCY";
|
223
|
+
PaymentTypeEnum["ELECTRONIC_BANKING"] = "ELECTRONIC_BANKING";
|
224
|
+
PaymentTypeEnum["MONEY_ORDER"] = "MONEY_ORDER";
|
225
|
+
PaymentTypeEnum["PREPAID_CARD"] = "PREPAID_CARD";
|
226
|
+
PaymentTypeEnum["E_WALLET"] = "E_WALLET";
|
227
|
+
PaymentTypeEnum["DIRECT_DEBIT"] = "DIRECT_DEBIT";
|
228
|
+
PaymentTypeEnum["PAYPAL"] = "PAYPAL";
|
229
|
+
PaymentTypeEnum["CHECKOUT_PRO"] = "CHECKOUT_PRO";
|
230
|
+
PaymentTypeEnum["WIRE_TRANSFER"] = "WIRE_TRANSFER";
|
231
|
+
PaymentTypeEnum["GIFT_CARD"] = "GIFT_CARD";
|
232
|
+
PaymentTypeEnum["VOUCHER"] = "VOUCHER";
|
233
|
+
PaymentTypeEnum["BILLING"] = "BILLING";
|
213
234
|
})(PaymentTypeEnum || (PaymentTypeEnum = {}));
|
214
235
|
|
215
236
|
class PaymentMethodEntity {
|
216
237
|
// #region Properties (13)
|
217
238
|
active = false;
|
218
|
-
channel = PaymentChannelEnum.
|
239
|
+
channel = PaymentChannelEnum.AUTOMATION;
|
219
240
|
createdAt = 0;
|
220
241
|
fee = 0;
|
221
242
|
id = '';
|
222
243
|
index = 0;
|
223
244
|
maxAmount = 0;
|
224
245
|
minAmount = 0;
|
225
|
-
mode = PaymentModeEnum.
|
246
|
+
mode = PaymentModeEnum.MANUAL;
|
226
247
|
name = '';
|
227
248
|
token = '';
|
228
|
-
type = PaymentTypeEnum.
|
249
|
+
type = PaymentTypeEnum.CREDIT_CARD;
|
229
250
|
updatedAt = Date.now();
|
230
251
|
// #endregion Properties (13)
|
231
252
|
// #region Constructors (1)
|
@@ -327,10 +348,29 @@ class PaymentTokenEntity {
|
|
327
348
|
}
|
328
349
|
}
|
329
350
|
|
351
|
+
class RatingEntity {
|
352
|
+
// #region Properties (4)
|
353
|
+
comment = '';
|
354
|
+
createdAt = Date.now();
|
355
|
+
rating = 5;
|
356
|
+
userId = '';
|
357
|
+
// #endregion Properties (4)
|
358
|
+
// #region Constructors (1)
|
359
|
+
constructor(data) {
|
360
|
+
if (data) {
|
361
|
+
for (let key in data) {
|
362
|
+
if (data.hasOwnProperty(key) && key in this) {
|
363
|
+
this[key] = data[key];
|
364
|
+
}
|
365
|
+
}
|
366
|
+
}
|
367
|
+
}
|
368
|
+
}
|
369
|
+
|
330
370
|
var BooleanStringEnum;
|
331
371
|
(function (BooleanStringEnum) {
|
332
|
-
BooleanStringEnum["
|
333
|
-
BooleanStringEnum["
|
372
|
+
BooleanStringEnum["FALSE"] = "false";
|
373
|
+
BooleanStringEnum["TRUE"] = "true";
|
334
374
|
})(BooleanStringEnum || (BooleanStringEnum = {}));
|
335
375
|
|
336
376
|
var DocTypeEnum;
|
@@ -341,19 +381,30 @@ var DocTypeEnum;
|
|
341
381
|
|
342
382
|
var IntervalTypeEnum;
|
343
383
|
(function (IntervalTypeEnum) {
|
344
|
-
IntervalTypeEnum["
|
345
|
-
IntervalTypeEnum["
|
346
|
-
IntervalTypeEnum["
|
384
|
+
IntervalTypeEnum["DAYS"] = "DAYS";
|
385
|
+
IntervalTypeEnum["WEEKS"] = "WEEKS";
|
386
|
+
IntervalTypeEnum["MONTHS"] = "MONTHS";
|
347
387
|
})(IntervalTypeEnum || (IntervalTypeEnum = {}));
|
348
388
|
|
389
|
+
var PlatfomrEnum;
|
390
|
+
(function (PlatfomrEnum) {
|
391
|
+
PlatfomrEnum["MOBILE"] = "Mobile";
|
392
|
+
PlatfomrEnum["WEB"] = "Web";
|
393
|
+
PlatfomrEnum["DESKTOP"] = "Desktop";
|
394
|
+
PlatfomrEnum["TABLET"] = "Tablet";
|
395
|
+
PlatfomrEnum["TV"] = "Tv";
|
396
|
+
PlatfomrEnum["CHROMEBOOK"] = "Chromebook";
|
397
|
+
PlatfomrEnum["OTHER"] = "Other";
|
398
|
+
})(PlatfomrEnum || (PlatfomrEnum = {}));
|
399
|
+
|
349
400
|
var PaymentProviderEnum;
|
350
401
|
(function (PaymentProviderEnum) {
|
351
|
-
PaymentProviderEnum["
|
352
|
-
PaymentProviderEnum["
|
353
|
-
PaymentProviderEnum["
|
354
|
-
PaymentProviderEnum["
|
355
|
-
PaymentProviderEnum["
|
356
|
-
PaymentProviderEnum["
|
402
|
+
PaymentProviderEnum["IUGU"] = "IUGU";
|
403
|
+
PaymentProviderEnum["DESENFILA"] = "DESENFILA";
|
404
|
+
PaymentProviderEnum["MERCADO_PAGO"] = "MERCADO PAGO";
|
405
|
+
PaymentProviderEnum["STRIPE"] = "STRIPE";
|
406
|
+
PaymentProviderEnum["PAYPAL"] = "PAYPAL";
|
407
|
+
PaymentProviderEnum["OTHER"] = "OTHER";
|
357
408
|
})(PaymentProviderEnum || (PaymentProviderEnum = {}));
|
358
409
|
|
359
410
|
// index.ts
|
@@ -404,18 +455,18 @@ class CompanyEntity {
|
|
404
455
|
|
405
456
|
var CompanyKeysEnum;
|
406
457
|
(function (CompanyKeysEnum) {
|
407
|
-
CompanyKeysEnum["
|
408
|
-
CompanyKeysEnum["
|
409
|
-
CompanyKeysEnum["
|
410
|
-
CompanyKeysEnum["
|
411
|
-
CompanyKeysEnum["
|
458
|
+
CompanyKeysEnum["GOOGLE"] = "GOOGLE";
|
459
|
+
CompanyKeysEnum["LOGGI"] = "LOGGI";
|
460
|
+
CompanyKeysEnum["DESENFILA"] = "DESENFILA";
|
461
|
+
CompanyKeysEnum["MOTTU"] = "MOTTU";
|
462
|
+
CompanyKeysEnum["ALGOLIA"] = "ALGOLIA";
|
412
463
|
})(CompanyKeysEnum || (CompanyKeysEnum = {}));
|
413
464
|
|
414
465
|
var CompanyMessageTypeEnum;
|
415
466
|
(function (CompanyMessageTypeEnum) {
|
416
|
-
CompanyMessageTypeEnum["
|
417
|
-
CompanyMessageTypeEnum["
|
418
|
-
CompanyMessageTypeEnum["
|
467
|
+
CompanyMessageTypeEnum["WHATSAPP"] = "WHATSAPP";
|
468
|
+
CompanyMessageTypeEnum["INSTAGRAM"] = "INSTAGRAM";
|
469
|
+
CompanyMessageTypeEnum["SMS"] = "SMS";
|
419
470
|
})(CompanyMessageTypeEnum || (CompanyMessageTypeEnum = {}));
|
420
471
|
|
421
472
|
// index.ts
|
@@ -437,23 +488,35 @@ class ContainerEntity extends BaseEntity {
|
|
437
488
|
}
|
438
489
|
}
|
439
490
|
|
440
|
-
var
|
441
|
-
(function (
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
491
|
+
var OsEnum;
|
492
|
+
(function (OsEnum) {
|
493
|
+
OsEnum["ANDROID"] = "ANDROID";
|
494
|
+
OsEnum["IOS"] = "IOS";
|
495
|
+
OsEnum["WINDOWS_PHONE"] = "WINDOWS_PHONE";
|
496
|
+
OsEnum["WINDOWS"] = "WINDOWS";
|
497
|
+
OsEnum["LINUX"] = "LINUX";
|
498
|
+
OsEnum["OTHER"] = "OTHER";
|
499
|
+
OsEnum["UNKNOWN"] = "UNKNOWN";
|
500
|
+
})(OsEnum || (OsEnum = {}));
|
449
501
|
|
450
|
-
class
|
451
|
-
// #region Properties (
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
502
|
+
class DeviceEntity {
|
503
|
+
// #region Properties (14)
|
504
|
+
active = false;
|
505
|
+
companyId = '';
|
506
|
+
containerId = '';
|
507
|
+
createdAt = 0;
|
508
|
+
deviceId = '';
|
509
|
+
os = OsEnum.UNKNOWN;
|
510
|
+
osVersion = '';
|
511
|
+
id = '';
|
512
|
+
installedApps = [];
|
513
|
+
key = '';
|
514
|
+
lastAccess = 0;
|
515
|
+
name = '';
|
516
|
+
tags = [];
|
517
|
+
topicSubscriptions = [];
|
518
|
+
updatedAt = 0;
|
519
|
+
// #endregion Properties (14)
|
457
520
|
// #region Constructors (1)
|
458
521
|
constructor(data) {
|
459
522
|
if (data) {
|
@@ -466,10 +529,13 @@ class NatiGoEntity {
|
|
466
529
|
}
|
467
530
|
}
|
468
531
|
|
469
|
-
class
|
470
|
-
// #region Properties (
|
471
|
-
|
472
|
-
|
532
|
+
class NatiGoEntity {
|
533
|
+
// #region Properties (4)
|
534
|
+
isForAdultsOnly = false;
|
535
|
+
logoUrl = '';
|
536
|
+
openLockRequired = true;
|
537
|
+
siteDescription = '';
|
538
|
+
// #endregion Properties (4)
|
473
539
|
// #region Constructors (1)
|
474
540
|
constructor(data) {
|
475
541
|
if (data) {
|
@@ -482,24 +548,10 @@ class MetadataEntity {
|
|
482
548
|
}
|
483
549
|
}
|
484
550
|
|
485
|
-
class
|
486
|
-
// #region Properties (
|
487
|
-
|
488
|
-
|
489
|
-
containerId = '';
|
490
|
-
createdAt = 0;
|
491
|
-
deviceId = '';
|
492
|
-
id = '';
|
493
|
-
key = '';
|
494
|
-
lastAccess = 0;
|
495
|
-
// Supondo que INatiGo tenha propriedades que você queira documentar
|
496
|
-
metadata = new MetadataEntity();
|
497
|
-
mode = DeviceModeEnum.Natigo;
|
498
|
-
name = '';
|
499
|
-
tags = [];
|
500
|
-
topicSubscriptions = [];
|
501
|
-
updatedAt = 0;
|
502
|
-
// #endregion Properties (13)
|
551
|
+
class MetadataEntity {
|
552
|
+
// #region Properties (1)
|
553
|
+
natigo = new NatiGoEntity();
|
554
|
+
// #endregion Properties (1)
|
503
555
|
// #region Constructors (1)
|
504
556
|
constructor(data) {
|
505
557
|
if (data) {
|
@@ -514,17 +566,28 @@ class DeviceEntity {
|
|
514
566
|
|
515
567
|
// index.ts
|
516
568
|
|
569
|
+
var DeviceModeEnum;
|
570
|
+
(function (DeviceModeEnum) {
|
571
|
+
DeviceModeEnum["APP"] = "APP";
|
572
|
+
DeviceModeEnum["CHECKOUT"] = "CHECKOUT";
|
573
|
+
DeviceModeEnum["SCREEN"] = "SCREEN";
|
574
|
+
DeviceModeEnum["NATIGO"] = "NATIGO";
|
575
|
+
DeviceModeEnum["SATMANAGER"] = "SAT-MANAGER";
|
576
|
+
DeviceModeEnum["PDVNATI"] = "PDV-NATI";
|
577
|
+
DeviceModeEnum["FISCALMANAGER"] = "FISCAL-MANAGER";
|
578
|
+
})(DeviceModeEnum || (DeviceModeEnum = {}));
|
579
|
+
|
517
580
|
// index.ts
|
518
581
|
|
519
582
|
// index.ts
|
520
583
|
|
521
584
|
var InviteStatusEnum;
|
522
585
|
(function (InviteStatusEnum) {
|
523
|
-
InviteStatusEnum["
|
524
|
-
InviteStatusEnum["
|
525
|
-
InviteStatusEnum["
|
526
|
-
InviteStatusEnum["
|
527
|
-
InviteStatusEnum["
|
586
|
+
InviteStatusEnum["ACCEPTED"] = "ACCEPTED";
|
587
|
+
InviteStatusEnum["PENDING"] = "PENDING";
|
588
|
+
InviteStatusEnum["REJECTED"] = "REJECTED";
|
589
|
+
InviteStatusEnum["EXPIRED"] = "EXPIRED";
|
590
|
+
InviteStatusEnum["CANCELED"] = "CANCELED";
|
528
591
|
})(InviteStatusEnum || (InviteStatusEnum = {}));
|
529
592
|
|
530
593
|
class InviteEntity {
|
@@ -543,7 +606,7 @@ class InviteEntity {
|
|
543
606
|
name = '';
|
544
607
|
phoneNumber = '';
|
545
608
|
photoURL = '';
|
546
|
-
status = InviteStatusEnum.
|
609
|
+
status = InviteStatusEnum.PENDING;
|
547
610
|
uid = '';
|
548
611
|
updatedAt = Date.now();
|
549
612
|
// #endregion Properties (17)
|
@@ -578,15 +641,15 @@ class AccountInformationsEntity {
|
|
578
641
|
|
579
642
|
var LegalEntiyEnum;
|
580
643
|
(function (LegalEntiyEnum) {
|
581
|
-
LegalEntiyEnum["
|
582
|
-
LegalEntiyEnum["
|
644
|
+
LegalEntiyEnum["LEGAL"] = "Pessoa Jur\u00EDdica";
|
645
|
+
LegalEntiyEnum["INDIVIDUAL"] = "Pessoa F\u00EDsica";
|
583
646
|
})(LegalEntiyEnum || (LegalEntiyEnum = {}));
|
584
647
|
|
585
648
|
class LastVerificationRequestDataEntity {
|
586
649
|
// #region Properties (19)
|
587
650
|
accountType = '';
|
588
651
|
address = '';
|
589
|
-
automaticTransfer = BooleanStringEnum.
|
652
|
+
automaticTransfer = BooleanStringEnum.FALSE;
|
590
653
|
bank = '';
|
591
654
|
bankAg = '';
|
592
655
|
bankCc = '';
|
@@ -598,8 +661,8 @@ class LastVerificationRequestDataEntity {
|
|
598
661
|
documentCpf = '';
|
599
662
|
documentId = '';
|
600
663
|
name = '';
|
601
|
-
personType = LegalEntiyEnum.
|
602
|
-
physicalProducts = BooleanStringEnum.
|
664
|
+
personType = LegalEntiyEnum.LEGAL;
|
665
|
+
physicalProducts = BooleanStringEnum.FALSE;
|
603
666
|
priceRange = '';
|
604
667
|
state = '';
|
605
668
|
telephone = '';
|
@@ -654,10 +717,10 @@ class IuguCustomerEntity {
|
|
654
717
|
|
655
718
|
var IuguAutoAdvanceEnum;
|
656
719
|
(function (IuguAutoAdvanceEnum) {
|
657
|
-
IuguAutoAdvanceEnum["
|
658
|
-
IuguAutoAdvanceEnum["
|
659
|
-
IuguAutoAdvanceEnum["
|
660
|
-
IuguAutoAdvanceEnum["
|
720
|
+
IuguAutoAdvanceEnum["DAYS_AFTER_PAYMENT"] = "days_after_payment";
|
721
|
+
IuguAutoAdvanceEnum["DAILY"] = "daily";
|
722
|
+
IuguAutoAdvanceEnum["WEEKLY"] = "weekly";
|
723
|
+
IuguAutoAdvanceEnum["MONTHLY"] = "monthly";
|
661
724
|
})(IuguAutoAdvanceEnum || (IuguAutoAdvanceEnum = {}));
|
662
725
|
|
663
726
|
var IuguBankEnum;
|
@@ -851,7 +914,7 @@ class IuguAccountEntity {
|
|
851
914
|
// #region Properties (54)
|
852
915
|
autoAdvance = false;
|
853
916
|
autoAdvanceOption = 0;
|
854
|
-
autoAdvanceType = IuguAutoAdvanceEnum.
|
917
|
+
autoAdvanceType = IuguAutoAdvanceEnum.DAILY;
|
855
918
|
autoWithdraw = false;
|
856
919
|
balance = '';
|
857
920
|
balanceAvailableForWithdraw = '';
|
@@ -962,15 +1025,24 @@ class IuguPaymentTokenEntity {
|
|
962
1025
|
|
963
1026
|
var LeadStatusEnum;
|
964
1027
|
(function (LeadStatusEnum) {
|
965
|
-
LeadStatusEnum["
|
966
|
-
LeadStatusEnum["
|
967
|
-
LeadStatusEnum["
|
968
|
-
LeadStatusEnum["
|
969
|
-
LeadStatusEnum["
|
1028
|
+
LeadStatusEnum["NEW"] = "Novo";
|
1029
|
+
LeadStatusEnum["CONTACTED"] = "Contactado";
|
1030
|
+
LeadStatusEnum["IN_PROGRESS"] = "Em Progresso";
|
1031
|
+
LeadStatusEnum["PAUSED"] = "Pausado";
|
1032
|
+
LeadStatusEnum["CONVERTED"] = "Convertido";
|
1033
|
+
LeadStatusEnum["NOT_INTERESTED"] = "N\u00E3o Interessado";
|
1034
|
+
LeadStatusEnum["NURTURING"] = "Nutrindo";
|
1035
|
+
LeadStatusEnum["RECYCLED"] = "Reciclado";
|
1036
|
+
LeadStatusEnum["DISQUALIFIED"] = "Desqualificado";
|
1037
|
+
LeadStatusEnum["CLOSED"] = "Fechado";
|
1038
|
+
LeadStatusEnum["LOST"] = "Perdido";
|
1039
|
+
LeadStatusEnum["UNQUALIFIED"] = "N\u00E3o Qualificado";
|
970
1040
|
})(LeadStatusEnum || (LeadStatusEnum = {}));
|
971
1041
|
|
972
1042
|
class LeadEntity {
|
973
|
-
// #region Properties (
|
1043
|
+
// #region Properties (21)
|
1044
|
+
/**Lista de produtos ou serviços de interesse. */
|
1045
|
+
activity = [];
|
974
1046
|
/**Status atual. */
|
975
1047
|
agentId = '';
|
976
1048
|
/**Endereço de e-mail principal para contato. */
|
@@ -994,19 +1066,19 @@ class LeadEntity {
|
|
994
1066
|
lastContacted = Date.now();
|
995
1067
|
/**Número do documento conforme o tipo. */
|
996
1068
|
name = '';
|
997
|
-
|
998
|
-
notes = [];
|
1069
|
+
note = '';
|
999
1070
|
/**Outros endereços de e-mail, se disponíveis. */
|
1000
1071
|
phoneNumber = '';
|
1072
|
+
responsibleId = '';
|
1001
1073
|
/**Outros números de telefone, se disponíveis. */
|
1002
1074
|
sandbox = false;
|
1003
|
-
source = LeadOriginEnum.
|
1075
|
+
source = LeadOriginEnum.OTHERS;
|
1004
1076
|
/**Data e hora do último contato. */
|
1005
|
-
status = LeadStatusEnum.
|
1077
|
+
status = LeadStatusEnum.NEW;
|
1006
1078
|
/**ID do colaborador responsável pelo lead. */
|
1007
1079
|
tags = [];
|
1008
1080
|
updatedAt = Date.now();
|
1009
|
-
// #endregion Properties (
|
1081
|
+
// #endregion Properties (21)
|
1010
1082
|
// #region Constructors (1)
|
1011
1083
|
constructor(data) {
|
1012
1084
|
if (data) {
|
@@ -1021,18 +1093,25 @@ class LeadEntity {
|
|
1021
1093
|
|
1022
1094
|
var MemberRulesEnum;
|
1023
1095
|
(function (MemberRulesEnum) {
|
1024
|
-
MemberRulesEnum["
|
1025
|
-
MemberRulesEnum["
|
1026
|
-
MemberRulesEnum["
|
1027
|
-
MemberRulesEnum["
|
1028
|
-
MemberRulesEnum["
|
1029
|
-
MemberRulesEnum["
|
1030
|
-
MemberRulesEnum["
|
1031
|
-
MemberRulesEnum["
|
1096
|
+
MemberRulesEnum["ADMIN"] = "ADMIN";
|
1097
|
+
MemberRulesEnum["USER"] = "USER";
|
1098
|
+
MemberRulesEnum["OWNER"] = "OWNER";
|
1099
|
+
MemberRulesEnum["SUPPORT"] = "SUPPORT";
|
1100
|
+
MemberRulesEnum["PARTNER"] = "PARTNER";
|
1101
|
+
MemberRulesEnum["FINANCE"] = "FINANCE";
|
1102
|
+
MemberRulesEnum["MARKETING"] = "MARKETING";
|
1103
|
+
MemberRulesEnum["SALES"] = "SALES";
|
1032
1104
|
})(MemberRulesEnum || (MemberRulesEnum = {}));
|
1033
1105
|
|
1106
|
+
var MemberTypeEnum;
|
1107
|
+
(function (MemberTypeEnum) {
|
1108
|
+
MemberTypeEnum["PARTNER"] = "PARTNER";
|
1109
|
+
MemberTypeEnum["ADMIN"] = "ADMIN";
|
1110
|
+
MemberTypeEnum["CLIENT"] = "CLIENT";
|
1111
|
+
})(MemberTypeEnum || (MemberTypeEnum = {}));
|
1112
|
+
|
1034
1113
|
class MemberEntity extends BaseEntity {
|
1035
|
-
// #region Properties (
|
1114
|
+
// #region Properties (12)
|
1036
1115
|
active = true;
|
1037
1116
|
companyName = '';
|
1038
1117
|
containerName = '';
|
@@ -1041,10 +1120,11 @@ class MemberEntity extends BaseEntity {
|
|
1041
1120
|
partnerId = '';
|
1042
1121
|
phoneNumber = '';
|
1043
1122
|
photoURL = '';
|
1044
|
-
rule = MemberRulesEnum.
|
1123
|
+
rule = MemberRulesEnum.USER;
|
1045
1124
|
tags = [];
|
1125
|
+
type = MemberTypeEnum.CLIENT;
|
1046
1126
|
uid = '';
|
1047
|
-
// #endregion Properties (
|
1127
|
+
// #endregion Properties (12)
|
1048
1128
|
// #region Constructors (1)
|
1049
1129
|
constructor(data) {
|
1050
1130
|
super(data);
|
@@ -1423,7 +1503,7 @@ class OrderPaymentMethodEntity {
|
|
1423
1503
|
code = '';
|
1424
1504
|
currency = 'BRL';
|
1425
1505
|
id = '';
|
1426
|
-
method = PaymentTypeEnum.
|
1506
|
+
method = PaymentTypeEnum.CASH;
|
1427
1507
|
pix = null;
|
1428
1508
|
prepaid = false;
|
1429
1509
|
type = 'OFFLINE';
|
@@ -1552,8 +1632,8 @@ class PlanFeatureEntity {
|
|
1552
1632
|
|
1553
1633
|
var PlanIdentifierEnum;
|
1554
1634
|
(function (PlanIdentifierEnum) {
|
1555
|
-
PlanIdentifierEnum["
|
1556
|
-
PlanIdentifierEnum["
|
1635
|
+
PlanIdentifierEnum["NATIGO"] = "NATIGO-UNO";
|
1636
|
+
PlanIdentifierEnum["SAT_MANAGER_NAPOLEON"] = "SAT-MANAGER-NAPOLEON";
|
1557
1637
|
})(PlanIdentifierEnum || (PlanIdentifierEnum = {}));
|
1558
1638
|
|
1559
1639
|
class PlanEntity {
|
@@ -1561,9 +1641,9 @@ class PlanEntity {
|
|
1561
1641
|
createdAt = Date.now();
|
1562
1642
|
features = [];
|
1563
1643
|
id = '';
|
1564
|
-
identifier = PlanIdentifierEnum.
|
1644
|
+
identifier = PlanIdentifierEnum.NATIGO;
|
1565
1645
|
interval = 12;
|
1566
|
-
intervalType = IntervalTypeEnum.
|
1646
|
+
intervalType = IntervalTypeEnum.MONTHS;
|
1567
1647
|
name = '';
|
1568
1648
|
price = 0;
|
1569
1649
|
updatedAt = Date.now();
|
@@ -1603,7 +1683,7 @@ class PurchaseEntity extends OrderEntity {
|
|
1603
1683
|
additionalNotes = '';
|
1604
1684
|
appInfo = new AppInfoEntity();
|
1605
1685
|
deviceUid = '';
|
1606
|
-
providerName = PaymentProviderEnum.
|
1686
|
+
providerName = PaymentProviderEnum.IUGU;
|
1607
1687
|
// #endregion Properties (4)
|
1608
1688
|
// #region Constructors (1)
|
1609
1689
|
constructor(data) {
|
@@ -1622,5 +1702,5 @@ class PurchaseEntity extends OrderEntity {
|
|
1622
1702
|
* Generated bundle index. Do not edit.
|
1623
1703
|
*/
|
1624
1704
|
|
1625
|
-
export { AccountInformationsEntity, AddressEntity, AppInfoEntity, BaseEntity, BooleanStringEnum, CompanyEntity, CompanyKeysEnum, CompanyMessageTypeEnum, ContainerEntity, CoordsEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, DeviceModeEnum, DocTypeEnum, IntervalTypeEnum, InviteEntity, InviteStatusEnum, IuguAccountEntity, LastVerificationRequestDataEntity as IuguAccountLastVerificationRequestDataEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguCustomerEntity, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LeadEntity, LeadOriginEnum, LeadStatusEnum, MemberEntity, MemberRulesEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity,
|
1705
|
+
export { AccountInformationsEntity, AddressEntity, AppInfoEntity, BaseEntity, BooleanStringEnum, CarouselImageEntity, CompanyEntity, CompanyKeysEnum, CompanyMessageTypeEnum, ContainerEntity, CoordsEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, DeviceModeEnum, DocTypeEnum, IntervalTypeEnum, InviteEntity, InviteStatusEnum, IuguAccountEntity, LastVerificationRequestDataEntity as IuguAccountLastVerificationRequestDataEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguCustomerEntity, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LeadEntity, LeadOriginEnum, LeadStatusEnum, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, PartnerEntity, PaymentChannelEnum, PaymentMethodEntity, PaymentModeEnum, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentProviderEnum, PaymentTokenDataEntity, PaymentTokenEntity, PaymentTypeEnum, PlanEntity, PlanFeatureEntity, PlanIdentifierEnum, PlatfomrEnum, PurchaseEntity, RatingEntity, SponsorshipValuesEntity };
|
1626
1706
|
//# sourceMappingURL=cecon-interfaces.mjs.map
|