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.
Files changed (169) hide show
  1. package/dist/app/entities/app.entity.d.ts +27 -0
  2. package/dist/app/entities/app.entity.js +37 -0
  3. package/dist/app/entities/index.d.ts +2 -0
  4. package/dist/app/entities/index.js +7 -0
  5. package/dist/app/enums/app-category.enum.d.ts +30 -0
  6. package/dist/app/enums/app-category.enum.js +34 -0
  7. package/dist/app/enums/header-type.enum.d.ts +4 -0
  8. package/dist/app/enums/header-type.enum.js +8 -0
  9. package/dist/app/enums/index.d.ts +2 -0
  10. package/dist/app/enums/index.js +7 -0
  11. package/dist/app/index.d.ts +4 -0
  12. package/dist/app/index.js +20 -0
  13. package/dist/app/interfaces/i-app.d.ts +25 -0
  14. package/dist/app/interfaces/i-natigo.js +2 -0
  15. package/dist/app/interfaces/index.d.ts +2 -0
  16. package/dist/app/interfaces/index.js +2 -0
  17. package/dist/app/types/app-config.type.d.ts +2 -0
  18. package/dist/app/types/app-config.type.js +2 -0
  19. package/dist/app/types/index.d.ts +1 -0
  20. package/dist/app/types/index.js +2 -0
  21. package/dist/company/enums/keys.enum.d.ts +5 -5
  22. package/dist/company/enums/keys.enum.js +5 -5
  23. package/dist/company/enums/message-type.enum.d.ts +3 -3
  24. package/dist/company/enums/message-type.enum.js +3 -3
  25. package/dist/device/entities/device.entity.d.ts +5 -4
  26. package/dist/device/entities/device.entity.js +6 -7
  27. package/dist/device/entities/index.d.ts +0 -1
  28. package/dist/device/entities/index.js +1 -3
  29. package/dist/device/entities/installed-apps.entity.d.ts +18 -0
  30. package/dist/device/entities/installed-apps.entity.js +32 -0
  31. package/dist/device/entities/metadata.entity.d.ts +1 -1
  32. package/dist/device/entities/metadata.entity.js +1 -1
  33. package/dist/device/enums/device-mode.enum.d.ts +7 -6
  34. package/dist/device/enums/device-mode.enum.js +7 -6
  35. package/dist/device/interfaces/i-device.d.ts +5 -4
  36. package/dist/device/interfaces/i-installed-apps.d.ts +16 -0
  37. package/dist/device/interfaces/i-installed-apps.js +2 -0
  38. package/dist/device/interfaces/index.d.ts +0 -1
  39. package/dist/esm2022/app/entities/app.entity.mjs +33 -0
  40. package/dist/esm2022/app/entities/index.mjs +3 -0
  41. package/dist/esm2022/app/entities/natigo.entity.mjs +19 -0
  42. package/dist/esm2022/app/enums/app-category.enum.mjs +32 -0
  43. package/dist/esm2022/app/enums/header-type.enum.mjs +6 -0
  44. package/dist/esm2022/app/enums/index.mjs +3 -0
  45. package/dist/esm2022/app/index.mjs +5 -0
  46. package/dist/esm2022/app/interfaces/i-app.mjs +2 -0
  47. package/dist/esm2022/app/interfaces/i-natigo.mjs +2 -0
  48. package/dist/esm2022/app/interfaces/index.mjs +2 -0
  49. package/dist/esm2022/app/types/app-config.type.mjs +2 -0
  50. package/dist/esm2022/app/types/index.mjs +2 -0
  51. package/dist/esm2022/company/enums/keys.enum.mjs +6 -6
  52. package/dist/esm2022/company/enums/message-type.enum.mjs +4 -4
  53. package/dist/esm2022/device/entities/device.entity.mjs +7 -8
  54. package/dist/esm2022/device/entities/index.mjs +1 -2
  55. package/dist/esm2022/device/entities/installed-apps.entity.mjs +28 -0
  56. package/dist/esm2022/device/entities/metadata.entity.mjs +2 -2
  57. package/dist/esm2022/device/enums/device-mode.enum.mjs +8 -7
  58. package/dist/esm2022/device/interfaces/i-device.mjs +1 -1
  59. package/dist/esm2022/device/interfaces/i-installed-apps.mjs +2 -0
  60. package/dist/esm2022/device/interfaces/index.mjs +1 -1
  61. package/dist/esm2022/general/entities/carousel-image.entity.mjs +18 -0
  62. package/dist/esm2022/general/entities/coords.entity.mjs +4 -1
  63. package/dist/esm2022/general/entities/index.mjs +3 -1
  64. package/dist/esm2022/general/entities/origin.entity.mjs +2 -2
  65. package/dist/esm2022/general/entities/payment-method.entity.mjs +4 -4
  66. package/dist/esm2022/general/entities/rating.entity.mjs +19 -0
  67. package/dist/esm2022/general/enums/boolean-string.enum.mjs +3 -3
  68. package/dist/esm2022/general/enums/index.mjs +2 -1
  69. package/dist/esm2022/general/enums/interval-type.enum.mjs +4 -4
  70. package/dist/esm2022/general/enums/lead-origin.enum.mjs +8 -8
  71. package/dist/esm2022/general/enums/os.enum.mjs +11 -0
  72. package/dist/esm2022/general/enums/payment-channel.enum.mjs +9 -9
  73. package/dist/esm2022/general/enums/payment-mode.enum.mjs +4 -4
  74. package/dist/esm2022/general/enums/payment-type.enum.mjs +19 -19
  75. package/dist/esm2022/general/enums/person-type.enum.mjs +3 -3
  76. package/dist/esm2022/general/enums/platform.enum.mjs +11 -0
  77. package/dist/esm2022/general/enums/providers.enum.mjs +7 -7
  78. package/dist/esm2022/general/interfaces/i-carousel-image.mjs +2 -0
  79. package/dist/esm2022/general/interfaces/i-rating.mjs +2 -0
  80. package/dist/esm2022/general/interfaces/index.mjs +1 -1
  81. package/dist/esm2022/invite/entities/invite.entity.mjs +2 -2
  82. package/dist/esm2022/invite/enums/status.enum.mjs +6 -6
  83. package/dist/esm2022/iugu/entities/account-last-verification-request-data.entity.mjs +4 -4
  84. package/dist/esm2022/iugu/entities/iugu-account.entity.mjs +2 -2
  85. package/dist/esm2022/iugu/enums/iugu-auto-advance.enum.mjs +5 -5
  86. package/dist/esm2022/lead/entities/lead.entity.mjs +9 -7
  87. package/dist/esm2022/lead/enums/lead-status.enum.mjs +13 -6
  88. package/dist/esm2022/lead/interfaces/i-lead.mjs +1 -1
  89. package/dist/esm2022/member/entities/member.entity.mjs +6 -5
  90. package/dist/esm2022/member/enums/index.mjs +2 -1
  91. package/dist/esm2022/member/enums/member-rules.enum.mjs +9 -9
  92. package/dist/esm2022/member/enums/member-type.enum.mjs +7 -0
  93. package/dist/esm2022/member/interfaces/i-member.mjs +1 -1
  94. package/dist/esm2022/order/entities/payment-method.entity.mjs +2 -2
  95. package/dist/esm2022/plan/entities/plan.entity.mjs +3 -3
  96. package/dist/esm2022/plan/enums/plans-identifier.enum.mjs +3 -3
  97. package/dist/esm2022/purchases/entities/purchase.entity.mjs +2 -2
  98. package/dist/fesm2022/cecon-interfaces.mjs +222 -142
  99. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  100. package/dist/general/entities/carousel-image.entity.d.ts +7 -0
  101. package/dist/general/entities/carousel-image.entity.js +22 -0
  102. package/dist/general/entities/coords.entity.js +3 -0
  103. package/dist/general/entities/index.d.ts +2 -0
  104. package/dist/general/entities/index.js +5 -1
  105. package/dist/general/entities/origin.entity.js +1 -1
  106. package/dist/general/entities/payment-method.entity.js +3 -3
  107. package/dist/general/entities/rating.entity.d.ts +8 -0
  108. package/dist/general/entities/rating.entity.js +23 -0
  109. package/dist/general/enums/boolean-string.enum.d.ts +2 -2
  110. package/dist/general/enums/boolean-string.enum.js +2 -2
  111. package/dist/general/enums/index.d.ts +1 -0
  112. package/dist/general/enums/index.js +3 -1
  113. package/dist/general/enums/interval-type.enum.d.ts +3 -3
  114. package/dist/general/enums/interval-type.enum.js +3 -3
  115. package/dist/general/enums/lead-origin.enum.d.ts +7 -7
  116. package/dist/general/enums/lead-origin.enum.js +7 -7
  117. package/dist/general/enums/os.enum.d.ts +9 -0
  118. package/dist/general/enums/os.enum.js +13 -0
  119. package/dist/general/enums/payment-channel.enum.d.ts +8 -8
  120. package/dist/general/enums/payment-channel.enum.js +8 -8
  121. package/dist/general/enums/payment-mode.enum.d.ts +3 -3
  122. package/dist/general/enums/payment-mode.enum.js +3 -3
  123. package/dist/general/enums/payment-type.enum.d.ts +18 -18
  124. package/dist/general/enums/payment-type.enum.js +18 -18
  125. package/dist/general/enums/person-type.enum.d.ts +2 -2
  126. package/dist/general/enums/person-type.enum.js +2 -2
  127. package/dist/general/enums/platform.enum.d.ts +9 -0
  128. package/dist/general/enums/platform.enum.js +13 -0
  129. package/dist/general/enums/providers.enum.d.ts +6 -6
  130. package/dist/general/enums/providers.enum.js +6 -6
  131. package/dist/general/interfaces/i-carousel-image.d.ts +5 -0
  132. package/dist/general/interfaces/i-carousel-image.js +2 -0
  133. package/dist/general/interfaces/i-rating.d.ts +6 -0
  134. package/dist/general/interfaces/i-rating.js +2 -0
  135. package/dist/general/interfaces/index.d.ts +2 -0
  136. package/dist/invite/entities/invite.entity.js +1 -1
  137. package/dist/invite/enums/status.enum.d.ts +5 -5
  138. package/dist/invite/enums/status.enum.js +5 -5
  139. package/dist/iugu/entities/account-last-verification-request-data.entity.js +3 -3
  140. package/dist/iugu/entities/iugu-account.entity.js +1 -1
  141. package/dist/iugu/enums/iugu-auto-advance.enum.d.ts +4 -4
  142. package/dist/iugu/enums/iugu-auto-advance.enum.js +4 -4
  143. package/dist/lead/entities/lead.entity.d.ts +4 -2
  144. package/dist/lead/entities/lead.entity.js +8 -6
  145. package/dist/lead/enums/lead-status.enum.d.ts +12 -5
  146. package/dist/lead/enums/lead-status.enum.js +12 -5
  147. package/dist/lead/interfaces/i-lead.d.ts +3 -1
  148. package/dist/member/entities/member.entity.d.ts +2 -1
  149. package/dist/member/entities/member.entity.js +4 -3
  150. package/dist/member/enums/index.d.ts +1 -0
  151. package/dist/member/enums/index.js +3 -1
  152. package/dist/member/enums/member-rules.enum.d.ts +8 -8
  153. package/dist/member/enums/member-rules.enum.js +8 -8
  154. package/dist/member/enums/member-type.enum.d.ts +5 -0
  155. package/dist/member/enums/member-type.enum.js +9 -0
  156. package/dist/member/interfaces/i-member.d.ts +2 -1
  157. package/dist/order/entities/payment-method.entity.js +1 -1
  158. package/dist/package.json +1 -1
  159. package/dist/plan/entities/plan.entity.js +2 -2
  160. package/dist/plan/enums/plans-identifier.enum.d.ts +2 -2
  161. package/dist/plan/enums/plans-identifier.enum.js +2 -2
  162. package/dist/purchases/entities/purchase.entity.js +1 -1
  163. package/package.json +1 -1
  164. package/dist/esm2022/device/entities/natigo.entity.mjs +0 -19
  165. package/dist/esm2022/device/interfaces/i-natigo.mjs +0 -2
  166. /package/dist/{device → app}/entities/natigo.entity.d.ts +0 -0
  167. /package/dist/{device → app}/entities/natigo.entity.js +0 -0
  168. /package/dist/{device/interfaces/i-natigo.js → app/interfaces/i-app.js} +0 -0
  169. /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["FacebookAds"] = "Facebook Ads";
145
- LeadOriginEnum["GoogleAds"] = "Google Ads";
146
- LeadOriginEnum["EmailMarketing"] = "Email Marketing";
147
- LeadOriginEnum["ReferredByFriend"] = "Indica\u00E7\u00E3o de amigo";
148
- LeadOriginEnum["OrganicSearch"] = "Busca org\u00E2nica";
149
- LeadOriginEnum["DirectVisit"] = "Visita Direta";
150
- LeadOriginEnum["Others"] = "Outros";
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.Others;
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["App"] = "APP";
177
- PaymentChannelEnum["Delivery"] = "DELIVERY";
178
- PaymentChannelEnum["Automation"] = "AUTOMATION";
179
- PaymentChannelEnum["Phone"] = "PHONE";
180
- PaymentChannelEnum["Mail"] = "MAIL";
181
- PaymentChannelEnum["Kiosk"] = "KIOSK";
182
- PaymentChannelEnum["QrCode"] = "QR_CODE";
183
- PaymentChannelEnum["Website"] = "WEBSITE";
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["Electronic"] = "ELECTRONIC";
189
- PaymentModeEnum["Manual"] = "MANUAL";
190
- PaymentModeEnum["Digital"] = "DIGITAL";
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["CreditCard"] = "CREDIT_CARD";
196
- PaymentTypeEnum["DebitCard"] = "DEBIT_CARD";
197
- PaymentTypeEnum["Cash"] = "CASH";
198
- PaymentTypeEnum["Pix"] = "PIX";
199
- PaymentTypeEnum["MobilePayment"] = "MOBILE_PAYMENT";
200
- PaymentTypeEnum["Check"] = "CHECK";
201
- PaymentTypeEnum["Cryptocurrency"] = "CRYPTOCURRENCY";
202
- PaymentTypeEnum["ElectronicBanking"] = "ELECTRONIC_BANKING";
203
- PaymentTypeEnum["MoneyOrder"] = "MONEY_ORDER";
204
- PaymentTypeEnum["PrepaidCard"] = "PREPAID_CARD";
205
- PaymentTypeEnum["EWallet"] = "E_WALLET";
206
- PaymentTypeEnum["DirectDebit"] = "DIRECT_DEBIT";
207
- PaymentTypeEnum["Paypal"] = "PAYPAL";
208
- PaymentTypeEnum["CheckoutPro"] = "CHECKOUTPRO";
209
- PaymentTypeEnum["WireTransfer"] = "WIRE_TRANSFER";
210
- PaymentTypeEnum["GiftCard"] = "GIFT_CARD";
211
- PaymentTypeEnum["Voucher"] = "VOUCHER";
212
- PaymentTypeEnum["Billing"] = "BILLING";
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.Automation;
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.Manual;
246
+ mode = PaymentModeEnum.MANUAL;
226
247
  name = '';
227
248
  token = '';
228
- type = PaymentTypeEnum.CreditCard;
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["False"] = "false";
333
- BooleanStringEnum["True"] = "true";
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["Days"] = "DAYS";
345
- IntervalTypeEnum["Weeks"] = "WEEKS";
346
- IntervalTypeEnum["Months"] = "MONTHS";
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["Iugu"] = "IUGU";
352
- PaymentProviderEnum["Desenfila"] = "DESENFILA";
353
- PaymentProviderEnum["MercadoPago"] = "MERCADO PAGO";
354
- PaymentProviderEnum["Stripe"] = "STRIPE";
355
- PaymentProviderEnum["PayPal"] = "PAYPAL";
356
- PaymentProviderEnum["Other"] = "OTHER";
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["google"] = "GOOGLE";
408
- CompanyKeysEnum["loggi"] = "LOGGI";
409
- CompanyKeysEnum["desenfila"] = "DESENFILA";
410
- CompanyKeysEnum["mottu"] = "MOTTU";
411
- CompanyKeysEnum["algolia"] = "ALGOLIA";
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["whatsapp"] = "WHATSAPP";
417
- CompanyMessageTypeEnum["instagram"] = "INSTAGRAM";
418
- CompanyMessageTypeEnum["sms"] = "SMS";
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 DeviceModeEnum;
441
- (function (DeviceModeEnum) {
442
- DeviceModeEnum["App"] = "APP";
443
- DeviceModeEnum["Checkout"] = "CHECKOUT";
444
- DeviceModeEnum["Screen"] = "SCREEN";
445
- DeviceModeEnum["Natigo"] = "NATIGO";
446
- DeviceModeEnum["SatManager"] = "SAT-MANAGER";
447
- DeviceModeEnum["PdvNati"] = "PDV-NATI";
448
- })(DeviceModeEnum || (DeviceModeEnum = {}));
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 NatiGoEntity {
451
- // #region Properties (4)
452
- isForAdultsOnly = false;
453
- logoUrl = '';
454
- openLockRequired = true;
455
- siteDescription = '';
456
- // #endregion Properties (4)
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 MetadataEntity {
470
- // #region Properties (1)
471
- natigo = new NatiGoEntity();
472
- // #endregion Properties (1)
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 DeviceEntity {
486
- // #region Properties (13)
487
- active = false;
488
- companyId = '';
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["Accepted"] = "ACCEPTED";
524
- InviteStatusEnum["Pending"] = "PENDING";
525
- InviteStatusEnum["Rejected"] = "REJECTED";
526
- InviteStatusEnum["Expired"] = "EXPIRED";
527
- InviteStatusEnum["Canceled"] = "CANCELED";
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.Pending;
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["LegalEntity"] = "Pessoa Jur\u00EDdica";
582
- LegalEntiyEnum["Individual"] = "Pessoa F\u00EDsica";
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.False;
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.Individual;
602
- physicalProducts = BooleanStringEnum.False;
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["DaysAfterPayment"] = "days_after_payment";
658
- IuguAutoAdvanceEnum["Daily"] = "daily";
659
- IuguAutoAdvanceEnum["Weekly"] = "weekly";
660
- IuguAutoAdvanceEnum["Monthly"] = "monthly";
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.Daily;
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["New"] = "Novo";
966
- LeadStatusEnum["Cantacted"] = "Contactado";
967
- LeadStatusEnum["InProgress"] = "Em Progresso";
968
- LeadStatusEnum["Converted"] = "Convertido";
969
- LeadStatusEnum["NotInterested"] = "N\u00E3o Interessado";
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 (19)
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
- /**Lista de produtos ou serviços de interesse. */
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.Others;
1075
+ source = LeadOriginEnum.OTHERS;
1004
1076
  /**Data e hora do último contato. */
1005
- status = LeadStatusEnum.New;
1077
+ status = LeadStatusEnum.NEW;
1006
1078
  /**ID do colaborador responsável pelo lead. */
1007
1079
  tags = [];
1008
1080
  updatedAt = Date.now();
1009
- // #endregion Properties (19)
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["Admin"] = "ADMIN";
1025
- MemberRulesEnum["User"] = "USER";
1026
- MemberRulesEnum["Owner"] = "OWNER";
1027
- MemberRulesEnum["Support"] = "SUPPORT";
1028
- MemberRulesEnum["Partner"] = "PARTNER";
1029
- MemberRulesEnum["Finance"] = "FINANCE";
1030
- MemberRulesEnum["Marketing"] = "MARKETING";
1031
- MemberRulesEnum["Sales"] = "SALES";
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 (11)
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.User;
1123
+ rule = MemberRulesEnum.USER;
1045
1124
  tags = [];
1125
+ type = MemberTypeEnum.CLIENT;
1046
1126
  uid = '';
1047
- // #endregion Properties (11)
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.Cash;
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["NatiGo"] = "NATIGO-UNO";
1556
- PlanIdentifierEnum["SatManagerNapoleon"] = "SAT-MANAGER-NAPOLEON";
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.NatiGo;
1644
+ identifier = PlanIdentifierEnum.NATIGO;
1565
1645
  interval = 12;
1566
- intervalType = IntervalTypeEnum.Months;
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.Iugu;
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, NatiGoEntity, 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, PurchaseEntity, SponsorshipValuesEntity };
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