cecon-interfaces 1.1.67 → 1.1.70

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. package/dist/app/entities/app.entity.d.ts +6 -6
  2. package/dist/app/entities/app.entity.js +1 -1
  3. package/dist/app/interfaces/i-app.d.ts +6 -6
  4. package/dist/billing/entities/billing-payment.entity.d.ts +19 -0
  5. package/dist/billing/entities/billing-payment.entity.js +33 -0
  6. package/dist/billing/entities/billing-total.entity.d.ts +10 -0
  7. package/dist/billing/entities/billing-total.entity.js +25 -0
  8. package/dist/billing/entities/billing.entity.d.ts +14 -0
  9. package/dist/billing/entities/billing.entity.js +29 -0
  10. package/dist/billing/entities/index.d.ts +3 -0
  11. package/dist/billing/entities/index.js +9 -0
  12. package/dist/billing/enums/billing-status.enum.d.ts +6 -0
  13. package/dist/billing/enums/billing-status.enum.js +12 -0
  14. package/dist/billing/enums/index.d.ts +1 -0
  15. package/dist/billing/enums/index.js +5 -0
  16. package/dist/billing/index.d.ts +3 -0
  17. package/dist/billing/index.js +19 -0
  18. package/dist/billing/interfaces/i-billing-payment.d.ts +17 -0
  19. package/dist/billing/interfaces/i-billing-payment.js +2 -0
  20. package/dist/billing/interfaces/i-billing-total.d.ts +8 -0
  21. package/dist/billing/interfaces/i-billing-total.js +2 -0
  22. package/dist/billing/interfaces/i-billing.d.ts +14 -0
  23. package/dist/billing/interfaces/i-billing.js +2 -0
  24. package/dist/billing/interfaces/index.d.ts +3 -0
  25. package/dist/billing/interfaces/index.js +2 -0
  26. package/dist/billing-order/entities/billing-order.entity.d.ts +6 -0
  27. package/dist/billing-order/entities/billing-order.entity.js +39 -0
  28. package/dist/billing-order/entities/index.d.ts +1 -0
  29. package/dist/billing-order/entities/index.js +5 -0
  30. package/dist/billing-order/index.d.ts +2 -0
  31. package/dist/billing-order/index.js +18 -0
  32. package/dist/billing-order/interfaces/i-billing-order.d.ts +4 -0
  33. package/dist/billing-order/interfaces/i-billing-order.js +2 -0
  34. package/dist/billing-order/interfaces/index.d.ts +1 -0
  35. package/dist/billing-order/interfaces/index.js +2 -0
  36. package/dist/device/entities/device.entity.d.ts +2 -2
  37. package/dist/device/entities/device.entity.js +1 -1
  38. package/dist/device/interfaces/i-device.d.ts +2 -2
  39. package/dist/esm2022/app/entities/app.entity.mjs +3 -3
  40. package/dist/esm2022/app/interfaces/i-app.mjs +1 -1
  41. package/dist/esm2022/billing/entities/billing-payment.entity.mjs +29 -0
  42. package/dist/esm2022/billing/entities/billing-total.entity.mjs +21 -0
  43. package/dist/esm2022/billing/entities/billing.entity.mjs +25 -0
  44. package/dist/esm2022/billing/entities/index.mjs +4 -0
  45. package/dist/esm2022/billing/enums/billing-status.enum.mjs +10 -0
  46. package/dist/esm2022/billing/enums/index.mjs +2 -0
  47. package/dist/esm2022/billing/index.mjs +4 -0
  48. package/dist/esm2022/billing/interfaces/i-billing-payment.mjs +2 -0
  49. package/dist/esm2022/billing/interfaces/i-billing-total.mjs +2 -0
  50. package/dist/esm2022/billing/interfaces/i-billing.mjs +2 -0
  51. package/dist/esm2022/billing/interfaces/index.mjs +2 -0
  52. package/dist/esm2022/billing-order/entities/billing-order.entity.mjs +18 -0
  53. package/dist/esm2022/billing-order/entities/index.mjs +2 -0
  54. package/dist/esm2022/billing-order/index.mjs +3 -0
  55. package/dist/esm2022/billing-order/interfaces/i-billing-order.mjs +2 -0
  56. package/dist/esm2022/billing-order/interfaces/index.mjs +2 -0
  57. package/dist/esm2022/device/entities/device.entity.mjs +3 -3
  58. package/dist/esm2022/device/interfaces/i-device.mjs +1 -1
  59. package/dist/esm2022/general/entities/origin.entity.mjs +3 -3
  60. package/dist/esm2022/general/entities/payment-method-option.entity.mjs +5 -5
  61. package/dist/esm2022/general/enums/boolean-string.enum.mjs +6 -6
  62. package/dist/esm2022/general/enums/index.mjs +12 -11
  63. package/dist/esm2022/general/enums/interval-type.enum.mjs +7 -7
  64. package/dist/esm2022/general/enums/lead-origin.enum.mjs +11 -11
  65. package/dist/esm2022/general/enums/os.enum.mjs +12 -12
  66. package/dist/esm2022/general/enums/payment-channel.enum.mjs +12 -12
  67. package/dist/esm2022/general/enums/payment-mode.enum.mjs +7 -7
  68. package/dist/esm2022/general/enums/payment-status.enum.mjs +14 -13
  69. package/dist/esm2022/general/enums/person-type.enum.mjs +6 -6
  70. package/dist/esm2022/general/enums/platform.enum.mjs +11 -11
  71. package/dist/esm2022/general/enums/providers.enum.mjs +10 -10
  72. package/dist/esm2022/general/enums/pubsub.enum.mjs +6 -0
  73. package/dist/esm2022/general/interfaces/i-origin.mjs +1 -1
  74. package/dist/esm2022/general/interfaces/i-payment-method-option.mjs +1 -1
  75. package/dist/esm2022/index.mjs +3 -1
  76. package/dist/esm2022/iugu/entities/account-last-verification-request-data.entity.mjs +6 -6
  77. package/dist/esm2022/iugu/interfaces/i-account-info-last-ver-req-data.mjs +1 -1
  78. package/dist/esm2022/lead/entities/lead.entity.mjs +3 -3
  79. package/dist/esm2022/lead/interfaces/i-lead.mjs +1 -1
  80. package/dist/esm2022/plan/entities/plan.entity.mjs +3 -3
  81. package/dist/esm2022/plan/interfaces/i-plan.mjs +1 -1
  82. package/dist/esm2022/purchases/entities/purchase.entity.mjs +3 -3
  83. package/dist/esm2022/purchases/interfaces/i-purchase.mjs +1 -1
  84. package/dist/esm2022/subscription-base/entities/subscription-base.entity.mjs +3 -3
  85. package/dist/esm2022/subscription-base/interfaces/i-subscription-base.mjs +1 -1
  86. package/dist/esm2022/subscription-company/entities/subscription.entity.mjs +3 -2
  87. package/dist/esm2022/subscription-company/interfaces/i-subscription.mjs +1 -1
  88. package/dist/fesm2022/cecon-interfaces.mjs +1533 -1427
  89. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  90. package/dist/general/entities/origin.entity.d.ts +2 -2
  91. package/dist/general/entities/origin.entity.js +1 -1
  92. package/dist/general/entities/payment-method-option.entity.d.ts +4 -4
  93. package/dist/general/entities/payment-method-option.entity.js +2 -2
  94. package/dist/general/enums/boolean-string.enum.d.ts +1 -1
  95. package/dist/general/enums/boolean-string.enum.js +6 -6
  96. package/dist/general/enums/index.d.ts +11 -10
  97. package/dist/general/enums/index.js +13 -11
  98. package/dist/general/enums/interval-type.enum.d.ts +1 -1
  99. package/dist/general/enums/interval-type.enum.js +7 -7
  100. package/dist/general/enums/lead-origin.enum.d.ts +1 -1
  101. package/dist/general/enums/lead-origin.enum.js +11 -11
  102. package/dist/general/enums/os.enum.d.ts +1 -1
  103. package/dist/general/enums/os.enum.js +12 -12
  104. package/dist/general/enums/payment-channel.enum.d.ts +1 -1
  105. package/dist/general/enums/payment-channel.enum.js +12 -12
  106. package/dist/general/enums/payment-mode.enum.d.ts +1 -1
  107. package/dist/general/enums/payment-mode.enum.js +7 -7
  108. package/dist/general/enums/payment-status.enum.d.ts +2 -1
  109. package/dist/general/enums/payment-status.enum.js +14 -13
  110. package/dist/general/enums/person-type.enum.d.ts +1 -1
  111. package/dist/general/enums/person-type.enum.js +6 -6
  112. package/dist/general/enums/platform.enum.d.ts +1 -1
  113. package/dist/general/enums/platform.enum.js +11 -11
  114. package/dist/general/enums/providers.enum.d.ts +1 -1
  115. package/dist/general/enums/providers.enum.js +10 -10
  116. package/dist/general/enums/pubsub.enum.d.ts +4 -0
  117. package/dist/general/enums/pubsub.enum.js +8 -0
  118. package/dist/general/interfaces/i-origin.d.ts +2 -2
  119. package/dist/general/interfaces/i-payment-method-option.d.ts +4 -4
  120. package/dist/index.d.ts +2 -0
  121. package/dist/index.js +2 -0
  122. package/dist/iugu/entities/account-last-verification-request-data.entity.d.ts +5 -5
  123. package/dist/iugu/entities/account-last-verification-request-data.entity.js +3 -3
  124. package/dist/iugu/interfaces/i-account-info-last-ver-req-data.d.ts +5 -5
  125. package/dist/lead/entities/lead.entity.d.ts +2 -2
  126. package/dist/lead/entities/lead.entity.js +1 -1
  127. package/dist/lead/interfaces/i-lead.d.ts +6 -6
  128. package/dist/package.json +1 -1
  129. package/dist/plan/entities/plan.entity.d.ts +2 -2
  130. package/dist/plan/entities/plan.entity.js +1 -1
  131. package/dist/plan/interfaces/i-plan.d.ts +2 -2
  132. package/dist/purchases/entities/purchase.entity.d.ts +2 -2
  133. package/dist/purchases/entities/purchase.entity.js +1 -1
  134. package/dist/purchases/interfaces/i-purchase.d.ts +2 -2
  135. package/dist/subscription-base/entities/subscription-base.entity.d.ts +2 -2
  136. package/dist/subscription-base/entities/subscription-base.entity.js +1 -1
  137. package/dist/subscription-base/interfaces/i-subscription-base.d.ts +2 -2
  138. package/dist/subscription-company/entities/subscription.entity.d.ts +2 -1
  139. package/dist/subscription-company/entities/subscription.entity.js +2 -1
  140. package/dist/subscription-company/interfaces/i-subscription.d.ts +2 -1
  141. package/package.json +1 -1
@@ -177,16 +177,16 @@ class MobyoApiConfigEntity {
177
177
  }
178
178
  }
179
179
 
180
- var LeadOriginEnum;
181
- (function (LeadOriginEnum) {
182
- LeadOriginEnum["FACEBOOK_ADS"] = "Facebook Ads";
183
- LeadOriginEnum["GOOGLE_ADS"] = "Google Ads";
184
- LeadOriginEnum["EMAIL_MARKETING"] = "Email Marketing";
185
- LeadOriginEnum["REFERRED_BY_FRIEND"] = "Indica\u00E7\u00E3o de amigo";
186
- LeadOriginEnum["ORGANIC_SEARCH"] = "Busca org\u00E2nica";
187
- LeadOriginEnum["DIRECT_VISIT"] = "Visita Direta";
188
- LeadOriginEnum["OTHERS"] = "Outros";
189
- })(LeadOriginEnum || (LeadOriginEnum = {}));
180
+ var ELeadOrigin;
181
+ (function (ELeadOrigin) {
182
+ ELeadOrigin["FACEBOOK_ADS"] = "Facebook Ads";
183
+ ELeadOrigin["GOOGLE_ADS"] = "Google Ads";
184
+ ELeadOrigin["EMAIL_MARKETING"] = "Email Marketing";
185
+ ELeadOrigin["REFERRED_BY_FRIEND"] = "Indica\u00E7\u00E3o de amigo";
186
+ ELeadOrigin["ORGANIC_SEARCH"] = "Busca org\u00E2nica";
187
+ ELeadOrigin["DIRECT_VISIT"] = "Visita Direta";
188
+ ELeadOrigin["OTHERS"] = "Outros";
189
+ })(ELeadOrigin || (ELeadOrigin = {}));
190
190
 
191
191
  class OriginEntity {
192
192
  // #region Properties (6)
@@ -195,7 +195,7 @@ class OriginEntity {
195
195
  date = 0;
196
196
  details = '';
197
197
  referrer = '';
198
- type = LeadOriginEnum.OTHERS;
198
+ type = ELeadOrigin.OTHERS;
199
199
  // #endregion Properties (6)
200
200
  // #region Constructors (1)
201
201
  constructor(data) {
@@ -243,24 +243,24 @@ class PaymentCashEntity {
243
243
  }
244
244
  }
245
245
 
246
- var PaymentChannelEnum;
247
- (function (PaymentChannelEnum) {
248
- PaymentChannelEnum["APP"] = "APP";
249
- PaymentChannelEnum["DELIVERY"] = "DELIVERY";
250
- PaymentChannelEnum["AUTOMATION"] = "AUTOMATION";
251
- PaymentChannelEnum["PHONE"] = "PHONE";
252
- PaymentChannelEnum["MAIL"] = "MAIL";
253
- PaymentChannelEnum["KIOSK"] = "KIOSK";
254
- PaymentChannelEnum["QR_CODE"] = "QR_CODE";
255
- PaymentChannelEnum["WEBSITE"] = "WEBSITE";
256
- })(PaymentChannelEnum || (PaymentChannelEnum = {}));
246
+ var EPaymentChannel;
247
+ (function (EPaymentChannel) {
248
+ EPaymentChannel["APP"] = "APP";
249
+ EPaymentChannel["DELIVERY"] = "DELIVERY";
250
+ EPaymentChannel["AUTOMATION"] = "AUTOMATION";
251
+ EPaymentChannel["PHONE"] = "PHONE";
252
+ EPaymentChannel["MAIL"] = "MAIL";
253
+ EPaymentChannel["KIOSK"] = "KIOSK";
254
+ EPaymentChannel["QR_CODE"] = "QR_CODE";
255
+ EPaymentChannel["WEBSITE"] = "WEBSITE";
256
+ })(EPaymentChannel || (EPaymentChannel = {}));
257
257
 
258
- var PaymentModeEnum;
259
- (function (PaymentModeEnum) {
260
- PaymentModeEnum["ELECTRONIC"] = "ELECTRONIC";
261
- PaymentModeEnum["MANUAL"] = "MANUAL";
262
- PaymentModeEnum["DIGITAL"] = "DIGITAL";
263
- })(PaymentModeEnum || (PaymentModeEnum = {}));
258
+ var EPaymentMode;
259
+ (function (EPaymentMode) {
260
+ EPaymentMode["ELECTRONIC"] = "ELECTRONIC";
261
+ EPaymentMode["MANUAL"] = "MANUAL";
262
+ EPaymentMode["DIGITAL"] = "DIGITAL";
263
+ })(EPaymentMode || (EPaymentMode = {}));
264
264
 
265
265
  var EPaymentType;
266
266
  (function (EPaymentType) {
@@ -289,14 +289,14 @@ var EPaymentType;
289
289
  class PaymentMethodOptionEntity {
290
290
  // #region Properties (13)
291
291
  active = false;
292
- channel = PaymentChannelEnum.AUTOMATION;
292
+ channel = EPaymentChannel.AUTOMATION;
293
293
  createdAt = new Date();
294
294
  fee = 0;
295
295
  id = '';
296
296
  index = 0;
297
297
  maxAmount = 0;
298
298
  minAmount = 0;
299
- mode = PaymentModeEnum.MANUAL;
299
+ mode = EPaymentMode.MANUAL;
300
300
  name = '';
301
301
  token = '';
302
302
  type = EPaymentType.CREDIT_CARD;
@@ -530,11 +530,11 @@ var EBankSlipStatus;
530
530
  EBankSlipStatus["EXPIRED"] = "expired";
531
531
  })(EBankSlipStatus || (EBankSlipStatus = {}));
532
532
 
533
- var BooleanStringEnum;
534
- (function (BooleanStringEnum) {
535
- BooleanStringEnum["FALSE"] = "false";
536
- BooleanStringEnum["TRUE"] = "true";
537
- })(BooleanStringEnum || (BooleanStringEnum = {}));
533
+ var EBooleanString;
534
+ (function (EBooleanString) {
535
+ EBooleanString["FALSE"] = "false";
536
+ EBooleanString["TRUE"] = "true";
537
+ })(EBooleanString || (EBooleanString = {}));
538
538
 
539
539
  var EDocType;
540
540
  (function (EDocType) {
@@ -561,64 +561,71 @@ var EFiscalDocModelCode;
561
561
  EFiscalDocModelCode["OS"] = "67";
562
562
  })(EFiscalDocModelCode || (EFiscalDocModelCode = {}));
563
563
 
564
- var IntervalTypeEnum;
565
- (function (IntervalTypeEnum) {
566
- IntervalTypeEnum["DAYS"] = "DAYS";
567
- IntervalTypeEnum["WEEKS"] = "WEEKS";
568
- IntervalTypeEnum["MONTHS"] = "MONTHS";
569
- })(IntervalTypeEnum || (IntervalTypeEnum = {}));
570
-
571
- var OsEnum;
572
- (function (OsEnum) {
573
- OsEnum["ANDROID"] = "ANDROID";
574
- OsEnum["IOS"] = "IOS";
575
- OsEnum["WINDOWS_PHONE"] = "WINDOWS_PHONE";
576
- OsEnum["WINDOWS"] = "WINDOWS";
577
- OsEnum["LINUX"] = "LINUX";
578
- OsEnum["ELECTRON"] = "ELECTRON";
579
- OsEnum["OTHER"] = "OTHER";
580
- OsEnum["UNKNOWN"] = "UNKNOWN";
581
- })(OsEnum || (OsEnum = {}));
582
-
583
- var PaymentStatusEnum;
584
- (function (PaymentStatusEnum) {
585
- PaymentStatusEnum["PENDING"] = "PENDING";
586
- PaymentStatusEnum["COMPLETED"] = "COMPLETED";
587
- PaymentStatusEnum["FAILED"] = "FAILED";
588
- PaymentStatusEnum["CANCELED"] = "CANCELED";
589
- PaymentStatusEnum["REFUNDED"] = "REFUNDED";
590
- PaymentStatusEnum["AUTHORIZED"] = "AUTHORIZED";
591
- PaymentStatusEnum["DECLINED"] = "DECLINED";
592
- PaymentStatusEnum["EXPIRED"] = "EXPIRED";
593
- PaymentStatusEnum["DISPUTED"] = "DISPUTED";
594
- })(PaymentStatusEnum || (PaymentStatusEnum = {}));
595
-
596
- var LegalEntiyEnum;
597
- (function (LegalEntiyEnum) {
598
- LegalEntiyEnum["LEGAL"] = "Pessoa Jur\u00EDdica";
599
- LegalEntiyEnum["INDIVIDUAL"] = "Pessoa F\u00EDsica";
600
- })(LegalEntiyEnum || (LegalEntiyEnum = {}));
601
-
602
- var PlatfomrEnum;
603
- (function (PlatfomrEnum) {
604
- PlatfomrEnum["MOBILE"] = "Mobile";
605
- PlatfomrEnum["WEB"] = "Web";
606
- PlatfomrEnum["DESKTOP"] = "Desktop";
607
- PlatfomrEnum["TABLET"] = "Tablet";
608
- PlatfomrEnum["TV"] = "Tv";
609
- PlatfomrEnum["CHROMEBOOK"] = "Chromebook";
610
- PlatfomrEnum["OTHER"] = "Other";
611
- })(PlatfomrEnum || (PlatfomrEnum = {}));
612
-
613
- var PaymentProviderEnum;
614
- (function (PaymentProviderEnum) {
615
- PaymentProviderEnum["IUGU"] = "IUGU";
616
- PaymentProviderEnum["DESENFILA"] = "DESENFILA";
617
- PaymentProviderEnum["MERCADO_PAGO"] = "MERCADO PAGO";
618
- PaymentProviderEnum["STRIPE"] = "STRIPE";
619
- PaymentProviderEnum["PAYPAL"] = "PAYPAL";
620
- PaymentProviderEnum["OTHER"] = "OTHER";
621
- })(PaymentProviderEnum || (PaymentProviderEnum = {}));
564
+ var EIntervalType;
565
+ (function (EIntervalType) {
566
+ EIntervalType["DAYS"] = "DAYS";
567
+ EIntervalType["WEEKS"] = "WEEKS";
568
+ EIntervalType["MONTHS"] = "MONTHS";
569
+ })(EIntervalType || (EIntervalType = {}));
570
+
571
+ var EOs;
572
+ (function (EOs) {
573
+ EOs["ANDROID"] = "ANDROID";
574
+ EOs["IOS"] = "IOS";
575
+ EOs["WINDOWS_PHONE"] = "WINDOWS_PHONE";
576
+ EOs["WINDOWS"] = "WINDOWS";
577
+ EOs["LINUX"] = "LINUX";
578
+ EOs["ELECTRON"] = "ELECTRON";
579
+ EOs["OTHER"] = "OTHER";
580
+ EOs["UNKNOWN"] = "UNKNOWN";
581
+ })(EOs || (EOs = {}));
582
+
583
+ var EPaymentStatus;
584
+ (function (EPaymentStatus) {
585
+ EPaymentStatus["PENDING"] = "PENDING";
586
+ EPaymentStatus["COMPLETED"] = "COMPLETED";
587
+ EPaymentStatus["FAILED"] = "FAILED";
588
+ EPaymentStatus["CANCELED"] = "CANCELED";
589
+ EPaymentStatus["PAID"] = "PAID";
590
+ EPaymentStatus["REFUNDED"] = "REFUNDED";
591
+ EPaymentStatus["AUTHORIZED"] = "AUTHORIZED";
592
+ EPaymentStatus["DECLINED"] = "DECLINED";
593
+ EPaymentStatus["EXPIRED"] = "EXPIRED";
594
+ EPaymentStatus["DISPUTED"] = "DISPUTED";
595
+ })(EPaymentStatus || (EPaymentStatus = {}));
596
+
597
+ var ELegalEntiy;
598
+ (function (ELegalEntiy) {
599
+ ELegalEntiy["LEGAL"] = "Pessoa Jur\u00EDdica";
600
+ ELegalEntiy["INDIVIDUAL"] = "Pessoa F\u00EDsica";
601
+ })(ELegalEntiy || (ELegalEntiy = {}));
602
+
603
+ var EPlatfomr;
604
+ (function (EPlatfomr) {
605
+ EPlatfomr["MOBILE"] = "Mobile";
606
+ EPlatfomr["WEB"] = "Web";
607
+ EPlatfomr["DESKTOP"] = "Desktop";
608
+ EPlatfomr["TABLET"] = "Tablet";
609
+ EPlatfomr["TV"] = "Tv";
610
+ EPlatfomr["CHROMEBOOK"] = "Chromebook";
611
+ EPlatfomr["OTHER"] = "Other";
612
+ })(EPlatfomr || (EPlatfomr = {}));
613
+
614
+ var EPaymentProvider;
615
+ (function (EPaymentProvider) {
616
+ EPaymentProvider["IUGU"] = "IUGU";
617
+ EPaymentProvider["DESENFILA"] = "DESENFILA";
618
+ EPaymentProvider["MERCADO_PAGO"] = "MERCADO PAGO";
619
+ EPaymentProvider["STRIPE"] = "STRIPE";
620
+ EPaymentProvider["PAYPAL"] = "PAYPAL";
621
+ EPaymentProvider["OTHER"] = "OTHER";
622
+ })(EPaymentProvider || (EPaymentProvider = {}));
623
+
624
+ var EPubSub;
625
+ (function (EPubSub) {
626
+ EPubSub["GENERAL"] = "GENERAL";
627
+ EPubSub["NATIGO"] = "NATIGO";
628
+ })(EPubSub || (EPubSub = {}));
622
629
 
623
630
  var ESponsorshipValues;
624
631
  (function (ESponsorshipValues) {
@@ -691,7 +698,7 @@ class AppEntity {
691
698
  * @example
692
699
  * Mensal, Semanal, Diário
693
700
  */
694
- intervalType = IntervalTypeEnum.MONTHS;
701
+ intervalType = EIntervalType.MONTHS;
695
702
  mode = EAppMode.NONE;
696
703
  name = '';
697
704
  /**
@@ -813,28 +820,22 @@ class RabbitEntity {
813
820
  }
814
821
  }
815
822
 
816
- var ECampaignStatus;
817
- (function (ECampaignStatus) {
818
- ECampaignStatus["ACTIVE"] = "ACTIVE";
819
- ECampaignStatus["EXPIRED"] = "EXPIRED";
820
- ECampaignStatus["PLACED"] = "PLACED";
821
- ECampaignStatus["PAUSED"] = "PAUSED";
822
- ECampaignStatus["CONCLUDED"] = "CONCLUDED";
823
- })(ECampaignStatus || (ECampaignStatus = {}));
824
-
825
- class CampaignEntity {
826
- // #region Properties (10)
827
- createdAt = new Date();
828
- createdBy = '';
829
- description = '';
830
- endDate = new Date(Date.now() + 1000 * 60 * 60 * 24 * 30);
823
+ class BillingPaymentEntity {
824
+ // #region Properties (13)
825
+ addition = 0;
826
+ cancelled = 0;
827
+ company = {};
828
+ discount = 0;
831
829
  id = '';
832
- name = '';
833
- partnerId = [];
834
- startDate = new Date();
835
- status = ECampaignStatus.PLACED;
836
- updatedAt = new Date();
837
- // #endregion Properties (10)
830
+ paymentReceipt = '';
831
+ paymentType = EPaymentType.NONE;
832
+ status = EPaymentStatus.PENDING;
833
+ subtotal = 0;
834
+ tax = 0;
835
+ totalAmount = 0;
836
+ transactionDate = new Date();
837
+ transactionId = '';
838
+ // #endregion Properties (13)
838
839
  // #region Constructors (1)
839
840
  constructor(data) {
840
841
  if (data) {
@@ -847,13 +848,15 @@ class CampaignEntity {
847
848
  }
848
849
  }
849
850
 
850
- class ClientAplicationCredentialEntity {
851
- // #region Properties (4)
852
- refreshToken = null;
853
- refreshTokenAt = null;
854
- secrets = null;
855
- token = null;
856
- // #endregion Properties (4)
851
+ class BillingTotalEntity {
852
+ // #region Properties (6)
853
+ addition = 0;
854
+ cancelled = 0;
855
+ discount = 0;
856
+ subtotal = 0;
857
+ tax = 0;
858
+ totalAmount = 0;
859
+ // #endregion Properties (6)
857
860
  // #region Constructors (1)
858
861
  constructor(data) {
859
862
  if (data) {
@@ -866,12 +869,27 @@ class ClientAplicationCredentialEntity {
866
869
  }
867
870
  }
868
871
 
869
- class ClientAplicationEntity {
872
+ var EBillingStatus;
873
+ (function (EBillingStatus) {
870
874
  // #region Properties (3)
871
- credential = new ClientAplicationCredentialEntity();
872
- description = null;
873
- name = '';
875
+ EBillingStatus["PAID"] = "PAID";
876
+ EBillingStatus["PENDING"] = "PENDING";
877
+ EBillingStatus["PARTIALLY_PAID"] = "PARTIALLY_PAID";
878
+ EBillingStatus["CANCELLED"] = "CANCELLED";
874
879
  // #endregion Properties (3)
880
+ })(EBillingStatus || (EBillingStatus = {}));
881
+
882
+ class BillingEntity {
883
+ // #region Properties (8)
884
+ createdAt = new Date();
885
+ dueDateAt = new Date();
886
+ id = '';
887
+ orders = [];
888
+ payments = [];
889
+ status = EBillingStatus.PENDING;
890
+ total = new BillingTotalEntity();
891
+ updatedAt = new Date();
892
+ // #endregion Properties (8)
875
893
  // #region Constructors (1)
876
894
  constructor(data) {
877
895
  if (data) {
@@ -884,16 +902,11 @@ class ClientAplicationEntity {
884
902
  }
885
903
  }
886
904
 
887
- class ClientEntity {
888
- // #region Properties (7)
889
- address = null;
890
- aplications = [];
891
- doc = null;
892
- docType = EDocType.CPF;
893
- email = null;
894
- id = '';
895
- name = '';
896
- // #endregion Properties (7)
905
+ class OrderAdditionalFeeEntity {
906
+ // #region Properties (2)
907
+ type = '';
908
+ value = 0;
909
+ // #endregion Properties (2)
897
910
  // #region Constructors (1)
898
911
  constructor(data) {
899
912
  if (data) {
@@ -906,35 +919,15 @@ class ClientEntity {
906
919
  }
907
920
  }
908
921
 
909
- class CompanyEntity {
910
- // #region Properties (26)
911
- active = false;
912
- address = new AddressEntity();
913
- bgImageUrl = null;
914
- config = null;
915
- containerId = '';
916
- createdAt = new Date();
917
- deliveryArea = [];
918
- deliveryAreaFixed = null;
919
- doc = '';
920
- docType = EDocType.CNPJ;
921
- email = '';
922
- fullName = '';
922
+ class OrderBenefitsEntity {
923
+ // #region Properties (6)
924
+ description = '';
923
925
  id = '';
924
- imageUrl = null;
925
- internationalCode = '+55';
926
- logoUrl = null;
927
- messagerChannels = [];
928
- name = '';
929
- origin = new OriginEntity();
930
- paymentProvider = new PaymentProviderEntity();
931
- phoneNumber = '';
932
- phoneNumberNotification = null;
933
- sandbox = false;
934
- tags = [];
935
- updatedAt = new Date();
936
- version = '1.0.0';
937
- // #endregion Properties (26)
926
+ sponsorshipValues = [];
927
+ target = '';
928
+ targetId = '';
929
+ value = 0;
930
+ // #endregion Properties (6)
938
931
  // #region Constructors (1)
939
932
  constructor(data) {
940
933
  if (data) {
@@ -947,33 +940,14 @@ class CompanyEntity {
947
940
  }
948
941
  }
949
942
 
950
- // index.ts
951
-
952
- var ECompanyKeys;
953
- (function (ECompanyKeys) {
954
- ECompanyKeys["GOOGLE"] = "GOOGLE";
955
- ECompanyKeys["LOGGI"] = "LOGGI";
956
- ECompanyKeys["DESENFILA"] = "DESENFILA";
957
- ECompanyKeys["MOTTU"] = "MOTTU";
958
- ECompanyKeys["ALGOLIA"] = "ALGOLIA";
959
- })(ECompanyKeys || (ECompanyKeys = {}));
960
-
961
- var ECompanyMessageType;
962
- (function (ECompanyMessageType) {
963
- ECompanyMessageType["WHATSAPP"] = "WHATSAPP";
964
- ECompanyMessageType["INSTAGRAM"] = "INSTAGRAM";
965
- ECompanyMessageType["SMS"] = "SMS";
966
- })(ECompanyMessageType || (ECompanyMessageType = {}));
967
-
968
- // index.ts
969
-
970
- class ContainerEntity extends BaseEntity {
971
- // #region Properties (1)
972
- name = '';
973
- // #endregion Properties (1)
943
+ class OrderCancellationEntity {
944
+ // #region Properties (3)
945
+ cancellationBy = '';
946
+ cancellationCode = '';
947
+ reason = '';
948
+ // #endregion Properties (3)
974
949
  // #region Constructors (1)
975
950
  constructor(data) {
976
- super(data);
977
951
  if (data) {
978
952
  for (let key in data) {
979
953
  if (data.hasOwnProperty(key) && key in this) {
@@ -984,43 +958,13 @@ class ContainerEntity extends BaseEntity {
984
958
  }
985
959
  }
986
960
 
987
- var ECustomerInterval;
988
- (function (ECustomerInterval) {
989
- ECustomerInterval["WEEKLY"] = "WEEKLY";
990
- ECustomerInterval["BIWEEKLY"] = "BIWEEKLY";
991
- ECustomerInterval["MONTHLY"] = "MONTHLY";
992
- })(ECustomerInterval || (ECustomerInterval = {}));
993
-
994
- var ECustomerStatus;
995
- (function (ECustomerStatus) {
996
- ECustomerStatus["BLOCKED"] = "BLOCKED";
997
- ECustomerStatus["ACTIVE"] = "ACTIVE";
998
- ECustomerStatus["WAITING_CREDIT_ANALYSIS"] = "WAITING_CREDIT_ANALYSIS";
999
- })(ECustomerStatus || (ECustomerStatus = {}));
1000
-
1001
- class CustomerEntity {
1002
- // #region Properties (20)
1003
- address = new AddressEntity();
1004
- blockedReason = null;
1005
- createdAt = new Date();
1006
- deliveryArea = [];
1007
- deliveryAreaFixed = undefined;
1008
- doc = '';
1009
- docType = EDocType.CPF;
1010
- email = '';
1011
- fullName = '';
1012
- id = '';
1013
- imageUrl = null;
1014
- interval = ECustomerInterval.MONTHLY;
1015
- limit = 0;
1016
- name = '';
1017
- phoneNumber = '';
1018
- phoneNumberNotification = null;
1019
- sandbox = false;
1020
- status = ECustomerStatus.WAITING_CREDIT_ANALYSIS;
1021
- tags = [];
1022
- updatedAt = new Date();
1023
- // #endregion Properties (20)
961
+ class OrdersCustomerPhoneEntity {
962
+ // #region Properties (4)
963
+ description = '';
964
+ localizer = '';
965
+ localizerExpiration = '';
966
+ number = '';
967
+ // #endregion Properties (4)
1024
968
  // #region Constructors (1)
1025
969
  constructor(data) {
1026
970
  if (data) {
@@ -1033,23 +977,16 @@ class CustomerEntity {
1033
977
  }
1034
978
  }
1035
979
 
1036
- class DeviceEntity {
1037
- // #region Properties (14)
1038
- active = false;
1039
- companyId = '';
1040
- containerId = '';
1041
- createdAt = new Date();
1042
- deviceId = '';
1043
- os = OsEnum.UNKNOWN;
1044
- installedApps = [];
1045
- osVersion = '';
980
+ class OrderCustomerEntity {
981
+ // #region Properties (7)
982
+ documentNumber = '';
983
+ email = '';
1046
984
  id = '';
1047
- key = '';
1048
- lastAccess = new Date();
1049
985
  name = '';
1050
- tags = [];
1051
- updatedAt = new Date();
1052
- // #endregion Properties (14)
986
+ ordersCountOnMerchant = 0;
987
+ phone = new OrdersCustomerPhoneEntity();
988
+ picture = '';
989
+ // #endregion Properties (7)
1053
990
  // #region Constructors (1)
1054
991
  constructor(data) {
1055
992
  if (data) {
@@ -1062,10 +999,15 @@ class DeviceEntity {
1062
999
  }
1063
1000
  }
1064
1001
 
1065
- class MetadataEntity {
1066
- // #region Properties (1)
1067
- natigo = new NatiGoEntity();
1068
- // #endregion Properties (1)
1002
+ class OrderItemCompositionEntity {
1003
+ // #region Properties (6)
1004
+ amount = 0;
1005
+ code = '';
1006
+ description = '';
1007
+ imageUrl = '';
1008
+ quantity = 0;
1009
+ unit = '';
1010
+ // #endregion Properties (6)
1069
1011
  // #region Constructors (1)
1070
1012
  constructor(data) {
1071
1013
  if (data) {
@@ -1078,24 +1020,24 @@ class MetadataEntity {
1078
1020
  }
1079
1021
  }
1080
1022
 
1081
- // index.ts
1082
-
1083
- // index.ts
1084
-
1085
- class FeatureEntity {
1086
- // #region Properties (11)
1087
- appId = '';
1088
- appMode = null;
1089
- companyId = '';
1090
- containerId = '';
1091
- createdAt = new Date();
1092
- deviceId = '';
1023
+ class OrderItemOptionEntity {
1024
+ // #region Properties (15)
1025
+ ean = '';
1026
+ externalCode = '';
1093
1027
  id = '';
1094
- installationId = '';
1028
+ index = 0;
1095
1029
  name = '';
1096
- planId = null;
1097
- subscriptionId = '';
1098
- // #endregion Properties (11)
1030
+ options = [];
1031
+ optionsPrice = 0;
1032
+ preparationPlaceId = '';
1033
+ price = 0;
1034
+ productId = '';
1035
+ quantity = 0;
1036
+ skill = '';
1037
+ totalPrice = 0;
1038
+ unit = '';
1039
+ weight = 0;
1040
+ // #endregion Properties (15)
1099
1041
  // #region Constructors (1)
1100
1042
  constructor(data) {
1101
1043
  if (data) {
@@ -1108,61 +1050,11 @@ class FeatureEntity {
1108
1050
  }
1109
1051
  }
1110
1052
 
1111
- class GlobalSettingIuguEntity {
1112
- // #region Properties (10)
1113
- /**
1114
- * Prazo máximo para pagamento do boleto após o vencimento.
1115
- * O prazo máximo para pagamento deve ser entre "1" e "30"
1116
- * dias após a data de vencimento.
1117
- */
1118
- bankSlipExtraDue = 1;
1119
- /**
1120
- * Prazo de dias para o vencimento da fatura.
1121
- */
1122
- billingDays = 10;
1123
- /**
1124
- * Se true, garante que a data de vencimento seja apenas em dias de semana,
1125
- * e não em sábados ou domingos.
1126
- */
1127
- ensureWorkdayDueDate = true;
1128
- /**
1129
- * Expira uma fatura e impossibilita o seu pagamento depois 'x' dias após o vencimento.
1130
- * Valor enviado precisa estar entre 0 e 30. Se for enviado "0", a fatura ficará
1131
- * disponível para ser paga até às 23:59:59 do dia de vencimento.
1132
- */
1133
- expiresIn = 0;
1134
- /**
1135
- * Habilitar ou Desabilitar multa por atraso de pagamento
1136
- */
1137
- fines = true;
1138
- /**
1139
- * Determine a multa % a ser cobrada para pagamentos
1140
- * efetuados após a data de vencimento
1141
- */
1142
- latePaymentFine = 2;
1143
- /**
1144
- * Determine a multa por valor fixo a ser
1145
- * cobrada para pagamentos efetuados após a data de vencimento
1146
- */
1147
- latePaymentFineCents = 0;
1148
- /**
1149
- * determina se cobra ou não juros por dia de atraso.
1150
- * 1% ao mês pro rata. Necessário passar a multa como true
1151
- */
1152
- perDayInterest = true;
1153
- /**
1154
- * Juros a ser cobrado por dia em centavos.
1155
- * Sobrepõem o per_day_interest_value.
1156
- * O juros somado em 30 dias deve ser inferior a 50% do valor da fatura.
1157
- */
1158
- perDayInterestCents = 0;
1159
- /**
1160
- * Informar o valor percentual de juros que deseja cobrar.
1161
- * Não se aplica quando os valores diários de mora
1162
- * calculados são menores que 1 centavo.
1163
- */
1164
- perDayInterestValue = 1;
1165
- // #endregion Properties (10)
1053
+ class OrderScaleEntity {
1054
+ // #region Properties (2)
1055
+ defaultPrice = 0;
1056
+ scales = [];
1057
+ // #endregion Properties (2)
1166
1058
  // #region Constructors (1)
1167
1059
  constructor(data) {
1168
1060
  if (data) {
@@ -1175,16 +1067,29 @@ class GlobalSettingIuguEntity {
1175
1067
  }
1176
1068
  }
1177
1069
 
1178
- class GlobalSettingMasterEntity {
1179
- // #region Properties (8)
1180
- billingDays = 10;
1181
- deleteInvoicesPlacedDays = 10;
1182
- deleteSubscriptionsPlacedDays = 10;
1183
- subscriptionSuspendedTimes = 3;
1184
- subscriptionsCancelDays = 3;
1185
- subscriptionsExpireDays = 1;
1186
- subscriptionsSuspendDays = 1;
1187
- // #endregion Properties (8)
1070
+ class OrderItemEntity {
1071
+ // #region Properties (20)
1072
+ composition = [];
1073
+ ean = '';
1074
+ externalCode = '';
1075
+ id = '';
1076
+ index = 0;
1077
+ name = '';
1078
+ observations = '';
1079
+ options = [];
1080
+ optionsPrice = 0;
1081
+ picture = '';
1082
+ preparationPlaceId = '';
1083
+ price = 0;
1084
+ productId = 0;
1085
+ quantity = 0;
1086
+ scalePrices = new OrderScaleEntity();
1087
+ skill = '';
1088
+ totalPrice = 0;
1089
+ unit = '';
1090
+ unitPrice = 0;
1091
+ weight = 0;
1092
+ // #endregion Properties (20)
1188
1093
  // #region Constructors (1)
1189
1094
  constructor(data) {
1190
1095
  if (data) {
@@ -1197,11 +1102,54 @@ class GlobalSettingMasterEntity {
1197
1102
  }
1198
1103
  }
1199
1104
 
1200
- class GlobalSettingEntity {
1201
- // #region Properties (1)
1202
- iugu = new GlobalSettingIuguEntity();
1203
- billingDays = 3;
1204
- // #endregion Properties (1)
1105
+ /* eslint-disable @typescript-eslint/naming-convention */
1106
+ var OrderStatusEnum;
1107
+ (function (OrderStatusEnum) {
1108
+ OrderStatusEnum["PLACED"] = "PLACED";
1109
+ OrderStatusEnum["INTEGRATED"] = "INTEGRATED";
1110
+ OrderStatusEnum["CONFIRMED"] = "CONFIRMED";
1111
+ OrderStatusEnum["PENDING"] = "PENDING";
1112
+ OrderStatusEnum["CANCELLATION_REQUESTED"] = "CANCELLATION_REQUESTED";
1113
+ OrderStatusEnum["CANCELLATION_REQUEST_FAILED"] = "CANCELLATION_REQUEST_FAILED";
1114
+ OrderStatusEnum["CANCELLED"] = "CANCELLED";
1115
+ OrderStatusEnum["GOING_TO_ORIGIN"] = "GOING_TO_ORIGIN";
1116
+ OrderStatusEnum["ARRIVED_AT_ORIGIN"] = "ARRIVED_AT_ORIGIN";
1117
+ OrderStatusEnum["ARRIVED_AT_DESTINATION"] = "ARRIVED_AT_DESTINATION";
1118
+ OrderStatusEnum["READY_TO_PICKUP"] = "READY_TO_PICKUP";
1119
+ OrderStatusEnum["COLLECTED"] = "COLLECTED";
1120
+ OrderStatusEnum["DISPATCHED"] = "DISPATCHED";
1121
+ OrderStatusEnum["DELIVERED"] = "DELIVERED";
1122
+ OrderStatusEnum["CONCLUDED"] = "CONCLUDED";
1123
+ OrderStatusEnum["PICKUP_AREA_ASSIGNED"] = "PICKUP_AREA_ASSIGNED";
1124
+ OrderStatusEnum["DELAY_NOTIFICATION"] = "DELAY_NOTIFICATION";
1125
+ OrderStatusEnum["CHANGE_PREPARATION_TIME"] = "CHANGE_PREPARATION_TIME";
1126
+ OrderStatusEnum["REQUEST_DRIVER_AVAILABILITY"] = "REQUEST_DRIVER_AVAILABILITY";
1127
+ OrderStatusEnum["REQUEST_DRIVER"] = "REQUEST_DRIVER";
1128
+ OrderStatusEnum["REQUEST_DRIVER_SUCCESS"] = "REQUEST_DRIVER_SUCCESS";
1129
+ OrderStatusEnum["REQUEST_DRIVER_FAILED"] = "REQUEST_DRIVER_FAILED";
1130
+ OrderStatusEnum["ASSIGN_DRIVER"] = "ASSIGN_DRIVER";
1131
+ OrderStatusEnum["CONSUMER_CANCELLATION_REQUESTED"] = "CONSUMER_CANCELLATION_REQUESTED";
1132
+ OrderStatusEnum["CONSUMER_CANCELLATION_ACCEPTED"] = "CONSUMER_CANCELLATION_ACCEPTED";
1133
+ OrderStatusEnum["CONSUMER_CANCELLATION_DENIED"] = "CONSUMER_CANCELLATION_DENIED";
1134
+ OrderStatusEnum["ADDED_TO_GROUP"] = "ADDED_TO_GROUP";
1135
+ OrderStatusEnum["EXECUTED_WITH_GROUP"] = "EXECUTED_WITH_GROUP";
1136
+ OrderStatusEnum["CANCELLED_WITH_GROUP"] = "CANCELLED_WITH_GROUP";
1137
+ OrderStatusEnum["COLLECTED_IN_GROUP"] = "COLLECTED_IN_GROUP";
1138
+ OrderStatusEnum["ASSIGNED_WITH_GROUP"] = "ASSIGNED_WITH_GROUP";
1139
+ OrderStatusEnum["UPDATE_REQUESTED"] = "UPDATE_REQUESTED";
1140
+ OrderStatusEnum["UPDATE_DENIED"] = "UPDATE_DENIED";
1141
+ OrderStatusEnum["UPDATED"] = "UPDATED";
1142
+ OrderStatusEnum["BOX_ASSIGNED"] = "BOX_ASSIGNED";
1143
+ })(OrderStatusEnum || (OrderStatusEnum = {}));
1144
+
1145
+ // index.ts
1146
+
1147
+ class OrderPaymentEntity {
1148
+ // #region Properties (3)
1149
+ methods = [];
1150
+ pending = 0;
1151
+ prepaid = 0;
1152
+ // #endregion Properties (3)
1205
1153
  // #region Constructors (1)
1206
1154
  constructor(data) {
1207
1155
  if (data) {
@@ -1214,15 +1162,14 @@ class GlobalSettingEntity {
1214
1162
  }
1215
1163
  }
1216
1164
 
1217
- class SubscriptionBaseItemEntity {
1218
- // #region Properties (6)
1219
- description = '';
1220
- quantity = 1;
1221
- recurrent = true;
1222
- totalPrice = 0;
1223
- unitPrice = 0;
1224
- voucherKey = null;
1225
- // #endregion Properties (6)
1165
+ class OrderTotalEntity {
1166
+ // #region Properties (5)
1167
+ additionalFees = 0;
1168
+ benefits = 0;
1169
+ deliveryFee = 0;
1170
+ orderAmount = 0;
1171
+ subTotal = 0;
1172
+ // #endregion Properties (5)
1226
1173
  // #region Constructors (1)
1227
1174
  constructor(data) {
1228
1175
  if (data) {
@@ -1235,14 +1182,24 @@ class SubscriptionBaseItemEntity {
1235
1182
  }
1236
1183
  }
1237
1184
 
1238
- class SubscriptionBaseLogEntity {
1239
- // #region Properties (4)
1185
+ class OrderEntity {
1186
+ // #region Properties (16)
1187
+ additionalFees = [];
1188
+ benefits = [];
1189
+ cancellation = new OrderCancellationEntity();
1190
+ companyId = '';
1191
+ containerId = '';
1240
1192
  createdAt = new Date();
1241
- description = '';
1193
+ customer = new OrderCustomerEntity();
1242
1194
  id = '';
1243
- notes = '';
1244
- // #endregion Properties (4)
1245
- // #region Constructors (1)
1195
+ items = [];
1196
+ payments = new OrderPaymentEntity();
1197
+ salesChannel = '';
1198
+ sandbox = false;
1199
+ status = OrderStatusEnum.PENDING;
1200
+ total = new OrderTotalEntity();
1201
+ updatedAt = new Date();
1202
+ version = '';
1246
1203
  constructor(data) {
1247
1204
  if (data) {
1248
1205
  for (let key in data) {
@@ -1254,44 +1211,10 @@ class SubscriptionBaseLogEntity {
1254
1211
  }
1255
1212
  }
1256
1213
 
1257
- var ESubscriptionStatus;
1258
- (function (ESubscriptionStatus) {
1259
- ESubscriptionStatus["ACTIVE"] = "ACTIVE";
1260
- ESubscriptionStatus["CANCELLED"] = "CANCELLED";
1261
- ESubscriptionStatus["PLACED"] = "PLACED";
1262
- ESubscriptionStatus["EXPIRED"] = "EXPIRED";
1263
- ESubscriptionStatus["PENDING"] = "PENDING";
1264
- ESubscriptionStatus["TRIAL"] = "TRIAL";
1265
- ESubscriptionStatus["FREE"] = "FREE";
1266
- ESubscriptionStatus["SUSPENDED"] = "SUSPENDED";
1267
- })(ESubscriptionStatus || (ESubscriptionStatus = {}));
1268
-
1269
- class SubscriptionBaseEntity {
1270
- // #region Properties (25)
1271
- amount = 0;
1272
- cancellationReason = '';
1273
- createdAt = new Date();
1274
- customVariables = [];
1275
- expiresAt = new Date();
1276
- id = '';
1277
- interval = 0;
1278
- intervalType = IntervalTypeEnum.MONTHS;
1279
- invoices = [];
1280
- items = [];
1281
- logs = [];
1282
- notes = '';
1283
- payment = new PaymentEntity();
1284
- paymentType = EPaymentType.NONE;
1285
- phoneNumberNotification = '';
1286
- recentInvoices = [];
1287
- renewPaymentDate = new Date();
1288
- renovatedAt = new Date();
1289
- startsAt = new Date();
1290
- status = ESubscriptionStatus.PENDING;
1291
- suspendedTimes = 0;
1292
- tags = [];
1293
- updatedAt = new Date();
1294
- // #endregion Properties (25)
1214
+ class OrderPaymentCardEntity {
1215
+ // #region Properties (1)
1216
+ brand = '';
1217
+ // #endregion Properties (1)
1295
1218
  // #region Constructors (1)
1296
1219
  constructor(data) {
1297
1220
  if (data) {
@@ -1304,14 +1227,10 @@ class SubscriptionBaseEntity {
1304
1227
  }
1305
1228
  }
1306
1229
 
1307
- class InstallationAppEntity {
1308
- // #region Properties (5)
1309
- iconUrl = '';
1310
- id = '';
1311
- mode = EAppMode.NATI_GO;
1312
- name = '';
1313
- version = '';
1314
- // #endregion Properties (5)
1230
+ class OrderPaymentCashEntity {
1231
+ // #region Properties (1)
1232
+ changeFor = 0;
1233
+ // #endregion Properties (1)
1315
1234
  // #region Constructors (1)
1316
1235
  constructor(data) {
1317
1236
  if (data) {
@@ -1324,22 +1243,20 @@ class InstallationAppEntity {
1324
1243
  }
1325
1244
  }
1326
1245
 
1327
- class InstallationEntity {
1328
- // #region Properties (13)
1329
- app = new InstallationAppEntity();
1330
- createdAt = new Date();
1331
- customConfig = null;
1332
- expirationDate = new Date();
1333
- featureId = '';
1246
+ class OrderPaymentMethodEntity {
1247
+ // #region Properties (11)
1248
+ card = null;
1249
+ cash = null;
1250
+ code = '';
1251
+ currency = 'BRL';
1334
1252
  id = '';
1335
- lastCheckAt = new Date();
1336
- status = ESubscriptionStatus.PLACED;
1337
- subscriptionId = '';
1338
- tags = [];
1339
- trialEndDate = new Date();
1340
- trialStartDate = new Date();
1341
- updatedAt = new Date();
1342
- // #endregion Properties (13)
1253
+ method = EPaymentType.CASH;
1254
+ pix = null;
1255
+ prepaid = false;
1256
+ type = 'OFFLINE';
1257
+ value = 0;
1258
+ wallet = null;
1259
+ // #endregion Properties (11)
1343
1260
  // #region Constructors (1)
1344
1261
  constructor(data) {
1345
1262
  if (data) {
@@ -1352,48 +1269,27 @@ class InstallationEntity {
1352
1269
  }
1353
1270
  }
1354
1271
 
1355
- var EInstallationStatus;
1356
- (function (EInstallationStatus) {
1357
- EInstallationStatus["INSTALLED"] = "INSTALLED";
1358
- EInstallationStatus["ACTIVE"] = "ACTIVE";
1359
- EInstallationStatus["CANCELLED"] = "CANCELLED";
1360
- EInstallationStatus["PLACED"] = "PLACED";
1361
- EInstallationStatus["EXPIRED"] = "EXPIRED";
1362
- EInstallationStatus["PENDING"] = "PENDING";
1363
- EInstallationStatus["TRIAL"] = "TRIAL";
1364
- EInstallationStatus["FREE"] = "FREE";
1365
- EInstallationStatus["SUSPENDED"] = "SUSPENDED";
1366
- })(EInstallationStatus || (EInstallationStatus = {}));
1367
-
1368
- var InviteStatusEnum;
1369
- (function (InviteStatusEnum) {
1370
- InviteStatusEnum["ACCEPTED"] = "ACCEPTED";
1371
- InviteStatusEnum["PENDING"] = "PENDING";
1372
- InviteStatusEnum["REJECTED"] = "REJECTED";
1373
- InviteStatusEnum["EXPIRED"] = "EXPIRED";
1374
- InviteStatusEnum["CANCELED"] = "CANCELED";
1375
- })(InviteStatusEnum || (InviteStatusEnum = {}));
1272
+ class OrderPaymentPixEntity {
1273
+ // #region Properties (2)
1274
+ pixKey = '';
1275
+ urlQrImage = '';
1276
+ // #endregion Properties (2)
1277
+ // #region Constructors (1)
1278
+ constructor(data) {
1279
+ if (data) {
1280
+ for (let key in data) {
1281
+ if (data.hasOwnProperty(key) && key in this) {
1282
+ this[key] = data[key];
1283
+ }
1284
+ }
1285
+ }
1286
+ }
1287
+ }
1376
1288
 
1377
- class InviteEntity {
1378
- // #region Properties (17)
1379
- companyId = '';
1380
- companyName = '';
1381
- containerId = '';
1382
- createdAt = new Date();
1383
- doc = '';
1384
- docType = EDocType.CNPJ;
1385
- email = '';
1386
- expireAt = new Date(new Date().getTime() + 86400000);
1387
- expired = false;
1388
- id = '';
1389
- internationalCode = '+55';
1289
+ class OrderPaymentWalletEntity {
1290
+ // #region Properties (1)
1390
1291
  name = '';
1391
- phoneNumber = '';
1392
- photoUrl = '';
1393
- status = InviteStatusEnum.PENDING;
1394
- uid = '';
1395
- updatedAt = new Date();
1396
- // #endregion Properties (17)
1292
+ // #endregion Properties (1)
1397
1293
  // #region Constructors (1)
1398
1294
  constructor(data) {
1399
1295
  if (data) {
@@ -1406,16 +1302,11 @@ class InviteEntity {
1406
1302
  }
1407
1303
  }
1408
1304
 
1409
- class InvoiceBankSlipEntity {
1410
- // #region Properties (7)
1411
- bankSlipBank = 0;
1412
- bankSlipErrorCode = '';
1413
- bankSlipErrorMessage = '';
1414
- bankSlipStatus = EBankSlipStatus.PENDING;
1415
- barcode = '';
1416
- barcodeData = '';
1417
- digitableLine = '';
1418
- // #endregion Properties (7)
1305
+ class OrderScaleItemEntity {
1306
+ // #region Properties (2)
1307
+ minQuantity = 0;
1308
+ price = 0;
1309
+ // #endregion Properties (2)
1419
1310
  // #region Constructors (1)
1420
1311
  constructor(data) {
1421
1312
  if (data) {
@@ -1428,17 +1319,13 @@ class InvoiceBankSlipEntity {
1428
1319
  }
1429
1320
  }
1430
1321
 
1431
- class InvoiceCreditCardEntity {
1432
- // #region Properties (6)
1433
- bin = '';
1434
- brand = '';
1435
- capturedAt = '';
1436
- last4 = '';
1437
- tid = '';
1438
- transaction = '';
1439
- // #endregion Properties (6)
1322
+ class BillingOrderEntity extends OrderEntity {
1323
+ // #region Properties (1)
1324
+ billingPaymentId = '';
1325
+ // #endregion Properties (1)
1440
1326
  // #region Constructors (1)
1441
1327
  constructor(data) {
1328
+ super(data);
1442
1329
  if (data) {
1443
1330
  for (let key in data) {
1444
1331
  if (data.hasOwnProperty(key) && key in this) {
@@ -1449,12 +1336,28 @@ class InvoiceCreditCardEntity {
1449
1336
  }
1450
1337
  }
1451
1338
 
1452
- class InvoiceItemEntity {
1453
- // #region Properties (3)
1339
+ var ECampaignStatus;
1340
+ (function (ECampaignStatus) {
1341
+ ECampaignStatus["ACTIVE"] = "ACTIVE";
1342
+ ECampaignStatus["EXPIRED"] = "EXPIRED";
1343
+ ECampaignStatus["PLACED"] = "PLACED";
1344
+ ECampaignStatus["PAUSED"] = "PAUSED";
1345
+ ECampaignStatus["CONCLUDED"] = "CONCLUDED";
1346
+ })(ECampaignStatus || (ECampaignStatus = {}));
1347
+
1348
+ class CampaignEntity {
1349
+ // #region Properties (10)
1350
+ createdAt = new Date();
1351
+ createdBy = '';
1454
1352
  description = '';
1455
- quantity = 1;
1456
- unitPrice = 0;
1457
- // #endregion Properties (3)
1353
+ endDate = new Date(Date.now() + 1000 * 60 * 60 * 24 * 30);
1354
+ id = '';
1355
+ name = '';
1356
+ partnerId = [];
1357
+ startDate = new Date();
1358
+ status = ECampaignStatus.PLACED;
1359
+ updatedAt = new Date();
1360
+ // #endregion Properties (10)
1458
1361
  // #region Constructors (1)
1459
1362
  constructor(data) {
1460
1363
  if (data) {
@@ -1467,12 +1370,12 @@ class InvoiceItemEntity {
1467
1370
  }
1468
1371
  }
1469
1372
 
1470
- class InvoiceLogEntity {
1373
+ class ClientAplicationCredentialEntity {
1471
1374
  // #region Properties (4)
1472
- createdAt = '';
1473
- description = '';
1474
- id = '';
1475
- notes = '';
1375
+ refreshToken = null;
1376
+ refreshTokenAt = null;
1377
+ secrets = null;
1378
+ token = null;
1476
1379
  // #endregion Properties (4)
1477
1380
  // #region Constructors (1)
1478
1381
  constructor(data) {
@@ -1486,15 +1389,12 @@ class InvoiceLogEntity {
1486
1389
  }
1487
1390
  }
1488
1391
 
1489
- class InvoicePayerEntity {
1490
- // #region Properties (6)
1491
- address = new AddressEntity();
1492
- doc = '';
1493
- docType = EDocType.CNPJ;
1494
- email = '';
1392
+ class ClientAplicationEntity {
1393
+ // #region Properties (3)
1394
+ credential = new ClientAplicationCredentialEntity();
1395
+ description = null;
1495
1396
  name = '';
1496
- phoneNumber = null;
1497
- // #endregion Properties (6)
1397
+ // #endregion Properties (3)
1498
1398
  // #region Constructors (1)
1499
1399
  constructor(data) {
1500
1400
  if (data) {
@@ -1507,14 +1407,16 @@ class InvoicePayerEntity {
1507
1407
  }
1508
1408
  }
1509
1409
 
1510
- class InvoicePixEntity {
1511
- // #region Properties (5)
1512
- expiresAt = new Date();
1513
- qrCode = '';
1514
- qrCodeImage = '';
1515
- qrCodeText = '';
1516
- status = '';
1517
- // #endregion Properties (5)
1410
+ class ClientEntity {
1411
+ // #region Properties (7)
1412
+ address = null;
1413
+ aplications = [];
1414
+ doc = null;
1415
+ docType = EDocType.CPF;
1416
+ email = null;
1417
+ id = '';
1418
+ name = '';
1419
+ // #endregion Properties (7)
1518
1420
  // #region Constructors (1)
1519
1421
  constructor(data) {
1520
1422
  if (data) {
@@ -1527,64 +1429,35 @@ class InvoicePixEntity {
1527
1429
  }
1528
1430
  }
1529
1431
 
1530
- var EInvoiceStatus;
1531
- (function (EInvoiceStatus) {
1532
- EInvoiceStatus["PENDING"] = "PENDING";
1533
- EInvoiceStatus["PAID"] = "PAID";
1534
- EInvoiceStatus["CANCELED"] = "CANCELED";
1535
- EInvoiceStatus["IN_ANALYSIS"] = "IN_ANALYSIS";
1536
- EInvoiceStatus["DRAFT"] = "DRAFT";
1537
- EInvoiceStatus["PARTIALLY_PAID"] = "PARTIALLY_PAID";
1538
- EInvoiceStatus["REFUNDED"] = "REFUNDED";
1539
- EInvoiceStatus["EXPIRED"] = "EXPIRED";
1540
- EInvoiceStatus["IN_PROTEST"] = "IN_PROTEST";
1541
- EInvoiceStatus["CHARGEBACK"] = "CHARGEBACK";
1542
- EInvoiceStatus["EXTERNALLY_PAID"] = "EXTERNALLY_PAID";
1543
- })(EInvoiceStatus || (EInvoiceStatus = {}));
1544
-
1545
- class InvoiceEntity {
1546
- // #region Properties (44)
1547
- addition = 0;
1548
- bankSlip = null;
1549
- bankSlipExtraDue = 3;
1550
- ccEmails = [];
1551
- companyId = '';
1432
+ class CompanyEntity {
1433
+ // #region Properties (26)
1434
+ active = false;
1435
+ address = new AddressEntity();
1436
+ bgImageUrl = null;
1437
+ config = null;
1552
1438
  containerId = '';
1553
1439
  createdAt = new Date();
1554
- creditCard = null;
1555
- currency = 'BRL';
1556
- discount = 0;
1557
- dueDateAt = new Date(Date.now() + 3 * 24 * 60 * 60 * 1000);
1440
+ deliveryArea = [];
1441
+ deliveryAreaFixed = null;
1442
+ doc = '';
1443
+ docType = EDocType.CNPJ;
1558
1444
  email = '';
1559
- ensureDueOnWorkday = true;
1560
- externalInvoiceId = '';
1561
- externalInvoiceUrl = '';
1445
+ fullName = '';
1562
1446
  id = '';
1563
- items = [];
1564
- log = [];
1565
- notes = '';
1566
- notificationUrl = '';
1567
- orderId = '';
1568
- paidAt = null;
1569
- partnerId = '';
1570
- password = null;
1571
- payer = new InvoicePayerEntity();
1572
- paymentMethod = EPaymentType.NONE;
1573
- paymentProvider = null;
1447
+ imageUrl = null;
1448
+ internationalCode = '+55';
1449
+ logoUrl = null;
1450
+ messagerChannels = [];
1451
+ name = '';
1452
+ origin = new OriginEntity();
1453
+ paymentProvider = new PaymentProviderEntity();
1454
+ phoneNumber = '';
1574
1455
  phoneNumberNotification = null;
1575
- pix = null;
1576
- returnExpiredUrl = '';
1577
- returnUrl = '';
1578
- status = EInvoiceStatus.PENDING;
1579
- subscriptionId = '';
1580
- subtotal = 0;
1581
- totalAmount = 0;
1582
- totalFee = 0;
1583
- totalOverPaid = 0;
1584
- totalPaid = 0;
1585
- totalRefunded = 0;
1456
+ sandbox = false;
1457
+ tags = [];
1586
1458
  updatedAt = new Date();
1587
- // #endregion Properties (44)
1459
+ version = '1.0.0';
1460
+ // #endregion Properties (26)
1588
1461
  // #region Constructors (1)
1589
1462
  constructor(data) {
1590
1463
  if (data) {
@@ -1597,13 +1470,33 @@ class InvoiceEntity {
1597
1470
  }
1598
1471
  }
1599
1472
 
1600
- class AccountInformationsEntity {
1601
- // #region Properties (2)
1602
- key = '';
1603
- value = '';
1604
- // #endregion Properties (2)
1473
+ // index.ts
1474
+
1475
+ var ECompanyKeys;
1476
+ (function (ECompanyKeys) {
1477
+ ECompanyKeys["GOOGLE"] = "GOOGLE";
1478
+ ECompanyKeys["LOGGI"] = "LOGGI";
1479
+ ECompanyKeys["DESENFILA"] = "DESENFILA";
1480
+ ECompanyKeys["MOTTU"] = "MOTTU";
1481
+ ECompanyKeys["ALGOLIA"] = "ALGOLIA";
1482
+ })(ECompanyKeys || (ECompanyKeys = {}));
1483
+
1484
+ var ECompanyMessageType;
1485
+ (function (ECompanyMessageType) {
1486
+ ECompanyMessageType["WHATSAPP"] = "WHATSAPP";
1487
+ ECompanyMessageType["INSTAGRAM"] = "INSTAGRAM";
1488
+ ECompanyMessageType["SMS"] = "SMS";
1489
+ })(ECompanyMessageType || (ECompanyMessageType = {}));
1490
+
1491
+ // index.ts
1492
+
1493
+ class ContainerEntity extends BaseEntity {
1494
+ // #region Properties (1)
1495
+ name = '';
1496
+ // #endregion Properties (1)
1605
1497
  // #region Constructors (1)
1606
1498
  constructor(data) {
1499
+ super(data);
1607
1500
  if (data) {
1608
1501
  for (let key in data) {
1609
1502
  if (data.hasOwnProperty(key) && key in this) {
@@ -1614,28 +1507,43 @@ class AccountInformationsEntity {
1614
1507
  }
1615
1508
  }
1616
1509
 
1617
- class LastVerificationRequestDataEntity {
1618
- // #region Properties (19)
1619
- accountType = '';
1620
- address = '';
1621
- automaticTransfer = BooleanStringEnum.FALSE;
1622
- bank = '';
1623
- bankAg = '';
1624
- bankCc = '';
1625
- businessType = '';
1626
- cep = '';
1627
- city = '';
1628
- cpf = '';
1629
- documentActivity = '';
1630
- documentCpf = '';
1631
- documentId = '';
1510
+ var ECustomerInterval;
1511
+ (function (ECustomerInterval) {
1512
+ ECustomerInterval["WEEKLY"] = "WEEKLY";
1513
+ ECustomerInterval["BIWEEKLY"] = "BIWEEKLY";
1514
+ ECustomerInterval["MONTHLY"] = "MONTHLY";
1515
+ })(ECustomerInterval || (ECustomerInterval = {}));
1516
+
1517
+ var ECustomerStatus;
1518
+ (function (ECustomerStatus) {
1519
+ ECustomerStatus["BLOCKED"] = "BLOCKED";
1520
+ ECustomerStatus["ACTIVE"] = "ACTIVE";
1521
+ ECustomerStatus["WAITING_CREDIT_ANALYSIS"] = "WAITING_CREDIT_ANALYSIS";
1522
+ })(ECustomerStatus || (ECustomerStatus = {}));
1523
+
1524
+ class CustomerEntity {
1525
+ // #region Properties (20)
1526
+ address = new AddressEntity();
1527
+ blockedReason = null;
1528
+ createdAt = new Date();
1529
+ deliveryArea = [];
1530
+ deliveryAreaFixed = undefined;
1531
+ doc = '';
1532
+ docType = EDocType.CPF;
1533
+ email = '';
1534
+ fullName = '';
1535
+ id = '';
1536
+ imageUrl = null;
1537
+ interval = ECustomerInterval.MONTHLY;
1538
+ limit = 0;
1632
1539
  name = '';
1633
- personType = LegalEntiyEnum.LEGAL;
1634
- physicalProducts = BooleanStringEnum.FALSE;
1635
- priceRange = '';
1636
- state = '';
1637
- telephone = '';
1638
- // #endregion Properties (19)
1540
+ phoneNumber = '';
1541
+ phoneNumberNotification = null;
1542
+ sandbox = false;
1543
+ status = ECustomerStatus.WAITING_CREDIT_ANALYSIS;
1544
+ tags = [];
1545
+ updatedAt = new Date();
1546
+ // #endregion Properties (20)
1639
1547
  // #region Constructors (1)
1640
1548
  constructor(data) {
1641
1549
  if (data) {
@@ -1648,21 +1556,24 @@ class LastVerificationRequestDataEntity {
1648
1556
  }
1649
1557
  }
1650
1558
 
1651
- class IuguChargeCreditCardEntity {
1652
- // #region Properties (13)
1653
- LR = '00';
1654
- bin = '';
1655
- brand = '';
1656
- errors = {};
1657
- identification = null;
1658
- invoiceId = '';
1659
- last4 = '';
1660
- message = '';
1661
- pdf = '';
1662
- reversible = false;
1663
- success = false;
1664
- token = '';
1665
- url = '';
1559
+ class DeviceEntity {
1560
+ // #region Properties (14)
1561
+ active = false;
1562
+ companyId = '';
1563
+ containerId = '';
1564
+ createdAt = new Date();
1565
+ deviceId = '';
1566
+ os = EOs.UNKNOWN;
1567
+ installedApps = [];
1568
+ osVersion = '';
1569
+ id = '';
1570
+ key = '';
1571
+ lastAccess = new Date();
1572
+ name = '';
1573
+ tags = [];
1574
+ updatedAt = new Date();
1575
+ // #endregion Properties (14)
1576
+ // #region Constructors (1)
1666
1577
  constructor(data) {
1667
1578
  if (data) {
1668
1579
  for (let key in data) {
@@ -1674,30 +1585,40 @@ class IuguChargeCreditCardEntity {
1674
1585
  }
1675
1586
  }
1676
1587
 
1677
- class IuguCustomerEntity {
1678
- // #region Properties (21)
1679
- ccEmails = '';
1680
- city = '';
1681
- complement = '';
1682
- cpfCnpj = '';
1588
+ class MetadataEntity {
1589
+ // #region Properties (1)
1590
+ natigo = new NatiGoEntity();
1591
+ // #endregion Properties (1)
1592
+ // #region Constructors (1)
1593
+ constructor(data) {
1594
+ if (data) {
1595
+ for (let key in data) {
1596
+ if (data.hasOwnProperty(key) && key in this) {
1597
+ this[key] = data[key];
1598
+ }
1599
+ }
1600
+ }
1601
+ }
1602
+ }
1603
+
1604
+ // index.ts
1605
+
1606
+ // index.ts
1607
+
1608
+ class FeatureEntity {
1609
+ // #region Properties (11)
1610
+ appId = '';
1611
+ appMode = null;
1612
+ companyId = '';
1613
+ containerId = '';
1683
1614
  createdAt = new Date();
1684
- customVariables = [];
1685
- defaultPaymentMethodId = '';
1686
- district = '';
1687
- email = '';
1615
+ deviceId = '';
1688
1616
  id = '';
1617
+ installationId = '';
1689
1618
  name = '';
1690
- notes = '';
1691
- number = '';
1692
- paymentMethods = [];
1693
- phone = '';
1694
- phonePrefix = '';
1695
- proxyPaymentsFromCustomerId = '';
1696
- state = '';
1697
- street = '';
1698
- updatedAt = new Date();
1699
- zipCode = '';
1700
- // #endregion Properties (21)
1619
+ planId = null;
1620
+ subscriptionId = '';
1621
+ // #endregion Properties (11)
1701
1622
  // #region Constructors (1)
1702
1623
  constructor(data) {
1703
1624
  if (data) {
@@ -1710,16 +1631,61 @@ class IuguCustomerEntity {
1710
1631
  }
1711
1632
  }
1712
1633
 
1713
- class IuguInvoiceBankSlipEntity {
1714
- // #region Properties (7)
1715
- bankSlipBank = 0;
1716
- bankSlipErrorCode = '00';
1717
- bankSlipErrorMessage = null;
1718
- bankSlipStatus = 'pending';
1719
- barcode = '';
1720
- barcodeData = '';
1721
- digitableLine = '';
1722
- // #endregion Properties (7)
1634
+ class GlobalSettingIuguEntity {
1635
+ // #region Properties (10)
1636
+ /**
1637
+ * Prazo máximo para pagamento do boleto após o vencimento.
1638
+ * O prazo máximo para pagamento deve ser entre "1" e "30"
1639
+ * dias após a data de vencimento.
1640
+ */
1641
+ bankSlipExtraDue = 1;
1642
+ /**
1643
+ * Prazo de dias para o vencimento da fatura.
1644
+ */
1645
+ billingDays = 10;
1646
+ /**
1647
+ * Se true, garante que a data de vencimento seja apenas em dias de semana,
1648
+ * e não em sábados ou domingos.
1649
+ */
1650
+ ensureWorkdayDueDate = true;
1651
+ /**
1652
+ * Expira uma fatura e impossibilita o seu pagamento depois 'x' dias após o vencimento.
1653
+ * Valor enviado precisa estar entre 0 e 30. Se for enviado "0", a fatura ficará
1654
+ * disponível para ser paga até às 23:59:59 do dia de vencimento.
1655
+ */
1656
+ expiresIn = 0;
1657
+ /**
1658
+ * Habilitar ou Desabilitar multa por atraso de pagamento
1659
+ */
1660
+ fines = true;
1661
+ /**
1662
+ * Determine a multa % a ser cobrada para pagamentos
1663
+ * efetuados após a data de vencimento
1664
+ */
1665
+ latePaymentFine = 2;
1666
+ /**
1667
+ * Determine a multa por valor fixo a ser
1668
+ * cobrada para pagamentos efetuados após a data de vencimento
1669
+ */
1670
+ latePaymentFineCents = 0;
1671
+ /**
1672
+ * determina se cobra ou não juros por dia de atraso.
1673
+ * 1% ao mês pro rata. Necessário passar a multa como true
1674
+ */
1675
+ perDayInterest = true;
1676
+ /**
1677
+ * Juros a ser cobrado por dia em centavos.
1678
+ * Sobrepõem o per_day_interest_value.
1679
+ * O juros somado em 30 dias deve ser inferior a 50% do valor da fatura.
1680
+ */
1681
+ perDayInterestCents = 0;
1682
+ /**
1683
+ * Informar o valor percentual de juros que deseja cobrar.
1684
+ * Não se aplica quando os valores diários de mora
1685
+ * calculados são menores que 1 centavo.
1686
+ */
1687
+ perDayInterestValue = 1;
1688
+ // #endregion Properties (10)
1723
1689
  // #region Constructors (1)
1724
1690
  constructor(data) {
1725
1691
  if (data) {
@@ -1732,123 +1698,123 @@ class IuguInvoiceBankSlipEntity {
1732
1698
  }
1733
1699
  }
1734
1700
 
1735
- class IuguInvoiceEntity {
1736
- // #region Properties (114)
1737
- accountId = '';
1738
- accountName = '';
1739
- advanceFee;
1740
- advanceFeeCents;
1741
- authorizedAt;
1742
- authorizedAtIso;
1743
- bankAccountBranch = '';
1744
- bankAccountNumber = '';
1745
- bankSlip = null;
1746
- bankSlipExtraDue = 0;
1747
- canceledAt;
1748
- canceledAtIso;
1749
- ccEmails;
1750
- chargebackAt;
1751
- chargebackAtIso;
1752
- commission = '';
1753
- commissionCents;
1754
- createdAt = '';
1755
- createdAtIso = '';
1756
- creditCardBin;
1757
- creditCardBrand;
1758
- creditCardCapturedAt;
1759
- creditCardLast4;
1760
- creditCardTid;
1761
- creditCardTransaction = '';
1762
- currency = '';
1763
- customVariables = [];
1764
- customerId;
1765
- customerName;
1766
- customerRef;
1767
- discount;
1768
- discountCents = 0;
1769
- doublePaymentId;
1770
- dueDate = '';
1771
- duplicatedInvoiceId;
1772
- earlyPaymentDiscount = false;
1773
- earlyPaymentDiscounts = [];
1774
- email = '';
1775
- estimatedAdvanceFee;
1776
- expiredAt;
1777
- expiredAtIso;
1778
- externalPaymentDescription;
1779
- externalPaymentId;
1780
- externalReference;
1781
- financialReturnDate;
1782
- financialReturnDates;
1783
- finesOnOccurrenceDay = '';
1784
- finesOnOccurrenceDayCents = 0;
1785
- id = '';
1786
- ignoreCanceledEmail = false;
1787
- ignoreDueEmail = false;
1788
- installments;
1789
- interest;
1701
+ class GlobalSettingMasterEntity {
1702
+ // #region Properties (8)
1703
+ billingDays = 10;
1704
+ deleteInvoicesPlacedDays = 10;
1705
+ deleteSubscriptionsPlacedDays = 10;
1706
+ subscriptionSuspendedTimes = 3;
1707
+ subscriptionsCancelDays = 3;
1708
+ subscriptionsExpireDays = 1;
1709
+ subscriptionsSuspendDays = 1;
1710
+ // #endregion Properties (8)
1711
+ // #region Constructors (1)
1712
+ constructor(data) {
1713
+ if (data) {
1714
+ for (let key in data) {
1715
+ if (data.hasOwnProperty(key) && key in this) {
1716
+ this[key] = data[key];
1717
+ }
1718
+ }
1719
+ }
1720
+ }
1721
+ }
1722
+
1723
+ class GlobalSettingEntity {
1724
+ // #region Properties (1)
1725
+ iugu = new GlobalSettingIuguEntity();
1726
+ billingDays = 3;
1727
+ // #endregion Properties (1)
1728
+ // #region Constructors (1)
1729
+ constructor(data) {
1730
+ if (data) {
1731
+ for (let key in data) {
1732
+ if (data.hasOwnProperty(key) && key in this) {
1733
+ this[key] = data[key];
1734
+ }
1735
+ }
1736
+ }
1737
+ }
1738
+ }
1739
+
1740
+ class SubscriptionBaseItemEntity {
1741
+ // #region Properties (6)
1742
+ description = '';
1743
+ quantity = 1;
1744
+ recurrent = true;
1745
+ totalPrice = 0;
1746
+ unitPrice = 0;
1747
+ voucherKey = null;
1748
+ // #endregion Properties (6)
1749
+ // #region Constructors (1)
1750
+ constructor(data) {
1751
+ if (data) {
1752
+ for (let key in data) {
1753
+ if (data.hasOwnProperty(key) && key in this) {
1754
+ this[key] = data[key];
1755
+ }
1756
+ }
1757
+ }
1758
+ }
1759
+ }
1760
+
1761
+ class SubscriptionBaseLogEntity {
1762
+ // #region Properties (4)
1763
+ createdAt = new Date();
1764
+ description = '';
1765
+ id = '';
1766
+ notes = '';
1767
+ // #endregion Properties (4)
1768
+ // #region Constructors (1)
1769
+ constructor(data) {
1770
+ if (data) {
1771
+ for (let key in data) {
1772
+ if (data.hasOwnProperty(key) && key in this) {
1773
+ this[key] = data[key];
1774
+ }
1775
+ }
1776
+ }
1777
+ }
1778
+ }
1779
+
1780
+ var ESubscriptionStatus;
1781
+ (function (ESubscriptionStatus) {
1782
+ ESubscriptionStatus["ACTIVE"] = "ACTIVE";
1783
+ ESubscriptionStatus["CANCELLED"] = "CANCELLED";
1784
+ ESubscriptionStatus["PLACED"] = "PLACED";
1785
+ ESubscriptionStatus["EXPIRED"] = "EXPIRED";
1786
+ ESubscriptionStatus["PENDING"] = "PENDING";
1787
+ ESubscriptionStatus["TRIAL"] = "TRIAL";
1788
+ ESubscriptionStatus["FREE"] = "FREE";
1789
+ ESubscriptionStatus["SUSPENDED"] = "SUSPENDED";
1790
+ })(ESubscriptionStatus || (ESubscriptionStatus = {}));
1791
+
1792
+ class SubscriptionBaseEntity {
1793
+ // #region Properties (25)
1794
+ amount = 0;
1795
+ cancellationReason = '';
1796
+ createdAt = new Date();
1797
+ customVariables = [];
1798
+ expiresAt = new Date();
1799
+ id = '';
1800
+ interval = 0;
1801
+ intervalType = EIntervalType.MONTHS;
1802
+ invoices = [];
1790
1803
  items = [];
1791
- itemsTotalCents = 0;
1792
- latePaymentFine;
1793
- latePaymentFineCents = 0;
1794
1804
  logs = [];
1795
- maxInstallmentsValue;
1796
- notificationUrl = '';
1797
- occurrenceDate;
1798
- orderId;
1799
- originalPaymentId;
1800
- overpaidCents;
1801
- paid = '';
1802
- paidAt;
1803
- paidCents;
1804
- payableWith = '';
1805
- payerAddressCity = '';
1806
- payerAddressComplement;
1807
- payerAddressCountry = '';
1808
- payerAddressDistrict = '';
1809
- payerAddressNumber = '';
1810
- payerAddressState = '';
1811
- payerAddressStreet = '';
1812
- payerAddressZipCode = '';
1813
- payerCpfCnpj = '';
1814
- payerEmail;
1815
- payerName = '';
1816
- payerPhone = '';
1817
- payerPhonePrefix = '';
1818
- paymentMethod;
1819
- perDayInterest = false;
1820
- perDayInterestCents = 0;
1821
- perDayInterestValue;
1822
- pix = {};
1823
- protestedAt;
1824
- protestedAtIso;
1825
- refundable;
1826
- refundedAt;
1827
- refundedAtIso;
1828
- refundedCents = 0;
1829
- remainingCapturedCents = 0;
1830
- returnUrl = '';
1831
- secureId = '';
1832
- secureUrl = '';
1833
- splitId;
1834
- splitRules;
1835
- status = '';
1836
- taxCents = 0;
1837
- taxesPaid = '';
1838
- taxesPaidCents;
1839
- total = '';
1840
- totalCents = 0;
1841
- totalOnOccurrenceDay = '';
1842
- totalOnOccurrenceDayCents = 0;
1843
- totalOverpaid = '';
1844
- totalPaid = '';
1845
- totalPaidCents = 0;
1846
- totalRefunded = '';
1847
- transactionNumber = 0;
1848
- updatedAt = '';
1849
- userId = '';
1850
- variables = [];
1851
- // #endregion Properties (114)
1805
+ notes = '';
1806
+ payment = new PaymentEntity();
1807
+ paymentType = EPaymentType.NONE;
1808
+ phoneNumberNotification = '';
1809
+ recentInvoices = [];
1810
+ renewPaymentDate = new Date();
1811
+ renovatedAt = new Date();
1812
+ startsAt = new Date();
1813
+ status = ESubscriptionStatus.PENDING;
1814
+ suspendedTimes = 0;
1815
+ tags = [];
1816
+ updatedAt = new Date();
1817
+ // #endregion Properties (25)
1852
1818
  // #region Constructors (1)
1853
1819
  constructor(data) {
1854
1820
  if (data) {
@@ -1861,306 +1827,42 @@ class IuguInvoiceEntity {
1861
1827
  }
1862
1828
  }
1863
1829
 
1864
- var IuguAutoAdvanceEnum;
1865
- (function (IuguAutoAdvanceEnum) {
1866
- IuguAutoAdvanceEnum["DAYS_AFTER_PAYMENT"] = "days_after_payment";
1867
- IuguAutoAdvanceEnum["DAILY"] = "daily";
1868
- IuguAutoAdvanceEnum["WEEKLY"] = "weekly";
1869
- IuguAutoAdvanceEnum["MONTHLY"] = "monthly";
1870
- })(IuguAutoAdvanceEnum || (IuguAutoAdvanceEnum = {}));
1830
+ class InstallationAppEntity {
1831
+ // #region Properties (5)
1832
+ iconUrl = '';
1833
+ id = '';
1834
+ mode = EAppMode.NATI_GO;
1835
+ name = '';
1836
+ version = '';
1837
+ // #endregion Properties (5)
1838
+ // #region Constructors (1)
1839
+ constructor(data) {
1840
+ if (data) {
1841
+ for (let key in data) {
1842
+ if (data.hasOwnProperty(key) && key in this) {
1843
+ this[key] = data[key];
1844
+ }
1845
+ }
1846
+ }
1847
+ }
1848
+ }
1871
1849
 
1872
- var IuguBankEnum;
1873
- (function (IuguBankEnum) {
1874
- IuguBankEnum["ITAU"] = "Ita\u00FA";
1875
- IuguBankEnum["BRADESCO"] = "Bradesco";
1876
- IuguBankEnum["CAIXA"] = "Caixa Econ\u00F4mica";
1877
- IuguBankEnum["BRASIL"] = "Banco do Brasil";
1878
- IuguBankEnum["SANTANDER"] = "Santander";
1879
- IuguBankEnum["BANRISUL"] = "Banrisul";
1880
- IuguBankEnum["SICRED"] = "Sicredi";
1881
- IuguBankEnum["SICOOB"] = "Sicoob";
1882
- IuguBankEnum["INTER"] = "Inter";
1883
- IuguBankEnum["BRB"] = "BRB";
1884
- IuguBankEnum["VIACRED"] = "Via Credi";
1885
- IuguBankEnum["NEON"] = "Neon";
1886
- IuguBankEnum["VOTORANTIN"] = "Votorantim";
1887
- IuguBankEnum["NUBANK"] = "Nubank";
1888
- IuguBankEnum["PAGSEGURO"] = "Pagseguro";
1889
- IuguBankEnum["ORIGINAL"] = "Banco Original";
1890
- IuguBankEnum["SAFRA"] = "Safra";
1891
- IuguBankEnum["MODAL"] = "Modal";
1892
- IuguBankEnum["BANESTES"] = "Banestes";
1893
- IuguBankEnum["UNICRED"] = "Unicred";
1894
- IuguBankEnum["MONEYPLUS"] = "Money Plus";
1895
- IuguBankEnum["MERCANTIL"] = "Mercantil do Brasil";
1896
- IuguBankEnum["JPMORGAN"] = "JP Morgan";
1897
- IuguBankEnum["GERENCIANET"] = "Gerencianet Pagamentos do Brasil";
1898
- IuguBankEnum["C6"] = "Banco C6";
1899
- IuguBankEnum["BS2"] = "BS2";
1900
- IuguBankEnum["TOPAZIO"] = "Banco Topazio";
1901
- IuguBankEnum["UNIPRIME"] = "Uniprime";
1902
- IuguBankEnum["STONE"] = "Stone";
1903
- IuguBankEnum["DAYCOVAL"] = "Banco Daycoval";
1904
- IuguBankEnum["RENDIMENTO"] = "Rendimento";
1905
- IuguBankEnum["NORDESTE"] = "Banco do Nordeste";
1906
- IuguBankEnum["CITIBANK"] = "Citibank";
1907
- IuguBankEnum["PJBANK"] = "PJBank";
1908
- IuguBankEnum["CCCNB"] = "Cooperativa Central de Credito Noroeste Brasileiro";
1909
- IuguBankEnum["UNIPRIMENPARANA"] = "Uniprime Norte do Paran\u00E1";
1910
- IuguBankEnum["GLOBALSCM"] = "Global SCM";
1911
- IuguBankEnum["NEXT"] = "Next";
1912
- IuguBankEnum["CORA"] = "Cora";
1913
- IuguBankEnum["MERCADOPAGO"] = "Mercado Pago";
1914
- IuguBankEnum["AMAZONIA"] = "Banco da Amazonia";
1915
- IuguBankEnum["BNP"] = "BNP Paribas Brasil";
1916
- IuguBankEnum["JUNO"] = "Juno";
1917
- IuguBankEnum["CRESOL"] = "Cresol";
1918
- IuguBankEnum["BRLTRUST"] = "BRL Trust DTVM";
1919
- IuguBankEnum["BANESE"] = "Banco Banese";
1920
- IuguBankEnum["BTGPACTUAL"] = "Banco BTG Pactual";
1921
- IuguBankEnum["OMNI"] = "Banco Omni";
1922
- IuguBankEnum["ACESSOSOLUCOES"] = "Acesso Solu\u00E7\u00F5es de Pagamento";
1923
- IuguBankEnum["CCR"] = "CCR de S\u00E3o Miguel do Oeste";
1924
- IuguBankEnum["POLOCRED"] = "Polocred";
1925
- IuguBankEnum["OTIMO"] = "\u00D3timo";
1926
- IuguBankEnum["RIBEIRAOPRETO"] = "Banco Ribeir\u00E3o Preto";
1927
- IuguBankEnum["ASAASIP"] = "ASAAS IP";
1928
- IuguBankEnum["PAN"] = "Banco Pan";
1929
- IuguBankEnum["VORTX"] = "VORTX DTVM LTDA";
1930
- IuguBankEnum["BMG"] = "Banco BMG";
1931
- IuguBankEnum["PEFISA"] = "Pefisa";
1932
- IuguBankEnum["J17"] = "J17 - SCD S/A";
1933
- IuguBankEnum["CREDISAN"] = "Credisan";
1934
- IuguBankEnum["PINBANK"] = "Pinbank";
1935
- IuguBankEnum["XPINVESTIMENTOS"] = "XP Investimentos";
1936
- IuguBankEnum["CREFISA"] = "Crefisa";
1937
- IuguBankEnum["SINGULARE"] = "Singulare";
1938
- IuguBankEnum["SUMUP"] = "SUMUP SCD S.A.";
1939
- IuguBankEnum["ABCBRASIL"] = "Banco ABC Brasil";
1940
- IuguBankEnum["LETSBANK"] = "BCO LETSBANK S.A.";
1941
- IuguBankEnum["HRDIGITAL"] = "HR Digital Sociedade de Cr\u00E9dito Direto S.A";
1942
- })(IuguBankEnum || (IuguBankEnum = {}));
1943
- const IuguBankNumber = [
1944
- { code: "341", label: IuguBankEnum.ITAU },
1945
- { code: "237", label: IuguBankEnum.BRADESCO },
1946
- { code: "104", label: IuguBankEnum.CAIXA },
1947
- { code: "001", label: IuguBankEnum.BRASIL },
1948
- { code: "033", label: IuguBankEnum.SANTANDER },
1949
- { code: "041", label: IuguBankEnum.BANRISUL },
1950
- { code: "748", label: IuguBankEnum.SICRED },
1951
- { code: "756", label: IuguBankEnum.SICOOB },
1952
- { code: "077", label: IuguBankEnum.INTER },
1953
- { code: "070", label: IuguBankEnum.BRB },
1954
- { code: "085", label: IuguBankEnum.VIACRED },
1955
- { code: "735", label: IuguBankEnum.NEON },
1956
- { code: "655", label: IuguBankEnum.VOTORANTIN },
1957
- { code: "260", label: IuguBankEnum.NUBANK },
1958
- { code: "290", label: IuguBankEnum.PAGSEGURO },
1959
- { code: "212", label: IuguBankEnum.ORIGINAL },
1960
- { code: "422", label: IuguBankEnum.SAFRA },
1961
- { code: "746", label: IuguBankEnum.MODAL },
1962
- { code: "021", label: IuguBankEnum.BANESTES },
1963
- { code: "136", label: IuguBankEnum.UNICRED },
1964
- { code: "274", label: IuguBankEnum.MONEYPLUS },
1965
- { code: "389", label: IuguBankEnum.MERCANTIL },
1966
- { code: "376", label: IuguBankEnum.JPMORGAN },
1967
- { code: "364", label: IuguBankEnum.GERENCIANET },
1968
- { code: "336", label: IuguBankEnum.C6 },
1969
- { code: "218", label: IuguBankEnum.BS2 },
1970
- { code: "082", label: IuguBankEnum.TOPAZIO },
1971
- { code: "099", label: IuguBankEnum.UNIPRIME },
1972
- { code: "197", label: IuguBankEnum.STONE },
1973
- { code: "707", label: IuguBankEnum.DAYCOVAL },
1974
- { code: "633", label: IuguBankEnum.RENDIMENTO },
1975
- { code: "004", label: IuguBankEnum.NORDESTE },
1976
- { code: "745", label: IuguBankEnum.CITIBANK },
1977
- { code: "301", label: IuguBankEnum.PJBANK },
1978
- { code: "320", label: IuguBankEnum.CCCNB },
1979
- { code: "084", label: IuguBankEnum.UNIPRIMENPARANA },
1980
- { code: "384", label: IuguBankEnum.GLOBALSCM },
1981
- { code: "237", label: IuguBankEnum.NEXT },
1982
- { code: "403", label: IuguBankEnum.CORA },
1983
- { code: "323", label: IuguBankEnum.MERCADOPAGO },
1984
- { code: "003", label: IuguBankEnum.AMAZONIA },
1985
- { code: "752", label: IuguBankEnum.BNP },
1986
- { code: "383", label: IuguBankEnum.JUNO },
1987
- { code: "133", label: IuguBankEnum.CRESOL },
1988
- { code: "173", label: IuguBankEnum.BRLTRUST },
1989
- { code: "047", label: IuguBankEnum.BANESE },
1990
- { code: "208", label: IuguBankEnum.BTGPACTUAL },
1991
- { code: "613", label: IuguBankEnum.OMNI },
1992
- { code: "332", label: IuguBankEnum.ACESSOSOLUCOES },
1993
- { code: "281", label: IuguBankEnum.CCR },
1994
- { code: "093", label: IuguBankEnum.POLOCRED },
1995
- { code: "355", label: IuguBankEnum.OTIMO },
1996
- { code: "741", label: IuguBankEnum.RIBEIRAOPRETO },
1997
- { code: "461", label: IuguBankEnum.ASAASIP },
1998
- { code: "623", label: IuguBankEnum.PAN },
1999
- { code: "310", label: IuguBankEnum.VORTX },
2000
- { code: "318", label: IuguBankEnum.BMG },
2001
- { code: "174", label: IuguBankEnum.PEFISA },
2002
- { code: "085", label: IuguBankEnum.J17 },
2003
- { code: "222", label: IuguBankEnum.CREDISAN },
2004
- { code: "094", label: IuguBankEnum.PINBANK },
2005
- { code: "102", label: IuguBankEnum.XPINVESTIMENTOS },
2006
- { code: "069", label: IuguBankEnum.CREFISA },
2007
- { code: "300", label: IuguBankEnum.SINGULARE },
2008
- { code: "290", label: IuguBankEnum.SUMUP },
2009
- { code: "246", label: IuguBankEnum.ABCBRASIL },
2010
- { code: "290", label: IuguBankEnum.LETSBANK },
2011
- { code: "255", label: IuguBankEnum.HRDIGITAL },
2012
- ];
2013
- const IuguBankFormatter = [
2014
- { name: "Banco do Brasil", agency: "9999-D", account: "99999999-D" },
2015
- { name: "Santander", agency: "9999", account: "99999999-D" },
2016
- { name: "Caixa Econômica", agency: "9999", account: "XXX99999999-D (X: Operação)" },
2017
- { name: "Caixa Econômica", agency: "9999", account: "XXXX999999999-D (X: Operação - Novo formato CP)" },
2018
- { name: "Bradesco", agency: "9999-D", account: "9999999-D" },
2019
- { name: "Itaú", agency: "9999", account: "99999-D" },
2020
- { name: "Itaú", agency: "9999", account: "999999999-D (Itaú-Iti)" },
2021
- { name: "Agibank", agency: "9999", account: "9999999999" },
2022
- { name: "Banpará", agency: "9999", account: "999999999-D" },
2023
- { name: "Banrisul", agency: "9999", account: "999999999-D" },
2024
- { name: "Sicoob", agency: "9999", account: "999999999-D" },
2025
- { name: "Inter", agency: "9999", account: "999999999-D" },
2026
- { name: "BRB", agency: "9999", account: "999999999-D" },
2027
- { name: "Via Credi", agency: "9999", account: "99999999999-D" },
2028
- { name: "Neon/Votorantim", agency: "9999", account: "9999999999-D" },
2029
- { name: "Nubank", agency: "9999", account: "9999999999-D" },
2030
- { name: "Pagseguro", agency: "9999", account: "99999999-D" },
2031
- { name: "Banco Original", agency: "9999", account: "9999999-D" },
2032
- { name: "Safra", agency: "9999", account: "99999999-D" },
2033
- { name: "Modal", agency: "9999", account: "999999999-D" },
2034
- { name: "Banestes", agency: "9999", account: "99999999-D" },
2035
- { name: "Unicred", agency: "9999", account: "99999999-D" },
2036
- { name: "Money Plus", agency: "9", account: "99999999-D" },
2037
- { name: "Mercantil do Brasil", agency: "9999", account: "99999999-D" },
2038
- { name: "JP Morgan", agency: "9999", account: "99999999999-D" },
2039
- { name: "Gerencianet Pagamentos do Brasil", agency: "9999", account: "99999999-D" },
2040
- { name: "Banco C6", agency: "9999", account: "99999999-D" },
2041
- { name: "BS2", agency: "9999", account: "9999999-D" },
2042
- { name: "Banco Topazio", agency: "9999", account: "99999-D" },
2043
- { name: "Uniprime", agency: "9999", account: "9999-D" },
2044
- { name: "Stone", agency: "9999", account: "9999999-D" },
2045
- { name: "Rendimento", agency: "9999-D", account: "9999999999" },
2046
- { name: "Banco Daycoval", agency: "9999", account: "999999-D" },
2047
- { name: "Banco do Nordeste", agency: "999", account: "999999-D" },
2048
- { name: "Citibank", agency: "9999", account: "99999999" },
2049
- { name: "PJBank", agency: "9999", account: "9999999999-D" },
2050
- { name: "Cooperativa Central de Credito Noroeste Brasileiro", agency: "9999", account: "9999999-D" },
2051
- { name: "Uniprime Norte do Paraná", agency: "9999", account: "999999-D" },
2052
- { name: "Global SCM", agency: "9999", account: "99999999999" },
2053
- { name: "Next", agency: "9999-D", account: "9999999-D" },
2054
- { name: "Cora", agency: "9999", account: "9999999-D" },
2055
- { name: "Mercado Pago", agency: "9999", account: "9999999999-D" },
2056
- { name: "Banco da Amazonia", agency: "9999", account: "999999-D" },
2057
- { name: "BNP Paribas Brasil", agency: "999", account: "999999-DDD" },
2058
- { name: "Juno", agency: "9999", account: "9999999999-D" },
2059
- { name: "Cresol", agency: "9999", account: "99999999-D" },
2060
- { name: "BRL Trust DTVM", agency: "999", account: "999999-D" },
2061
- { name: "Banco Banese", agency: "999", account: "99999999-D" },
2062
- { name: "Banco BTG Pactual", agency: "9999", account: "9999999-D" },
2063
- { name: "Banco Omni", agency: "9999", account: "999999-D" },
2064
- { name: "Acesso Soluções de pagamento", agency: "9999", account: "99999999" },
2065
- { name: "CCR de São Miguel do Oeste", agency: "9999", account: "99999" },
2066
- { name: "Polocred", agency: "9999", account: "999999-D" },
2067
- { name: "Ótimo", agency: "9999", account: "99999-D" },
2068
- { name: "Picpay", agency: "9999", account: "99999999-D" },
2069
- { name: "Banco Genial", agency: "9999", account: "9999-D" },
2070
- { name: "Banco Capital S.A", agency: "9999", account: "999999999" },
2071
- { name: "Sicredi", agency: "9999", account: "99999999D" },
2072
- { name: "Banco Ribeirão Preto", agency: "99999", account: "9999999999" },
2073
- { name: "ASAAS IP", agency: "9999", account: "9999999-D" },
2074
- { name: "Banco Pan", agency: "9999", account: "999999999-D" },
2075
- { name: "Neon", agency: "9999", account: "9999999999-D" },
2076
- { name: "VORTX DTVM LTDA", agency: "9999-D", account: "999-D" },
2077
- { name: "Banco BMG", agency: "9999", account: "99999999-D" },
2078
- { name: "Fitbank", agency: "9999", account: "999999999-9" },
2079
- { name: "Pefisa", agency: "9999", account: "9999999-D" },
2080
- { name: "J17 - SCD S/A", agency: "9999", account: "99999999999-D" },
2081
- { name: "Credisan", agency: "9999", account: "999999999-D" },
2082
- { name: "Pinbank", agency: "999", account: "99999999-D" },
2083
- { name: "XP Investimentos", agency: "9999", account: "999999-D" },
2084
- { name: "Crefisa", agency: "9999", account: "999999999-D" },
2085
- { name: "Singulare", agency: "9999", account: "9999999-D" },
2086
- { name: "SUMUP SCD S.A.", agency: "9999", account: "999999999-D" },
2087
- { name: "Banco ABC Brasil", agency: "9999-D", account: "9999999999" },
2088
- { name: "BCO LETSBANK S.A.", agency: "9999", account: "999999999-D" },
2089
- { name: "HR Digital Sociedade de Crédito Direto S.A", agency: "9999", account: "999999999-D" },
2090
- ];
2091
-
2092
- var IuguInvoiceStatusEnum;
2093
- (function (IuguInvoiceStatusEnum) {
2094
- IuguInvoiceStatusEnum["PENDING"] = "PENDING";
2095
- IuguInvoiceStatusEnum["PAID"] = "PAID";
2096
- IuguInvoiceStatusEnum["CANCELED"] = "CANCELED";
2097
- IuguInvoiceStatusEnum["IN_ANALYSIS"] = "IN_ANALYSIS";
2098
- IuguInvoiceStatusEnum["DRAFT"] = "DRAFT";
2099
- IuguInvoiceStatusEnum["PARTIALLY_PAID"] = "PARTIALLY_PAID";
2100
- IuguInvoiceStatusEnum["REFUNDED"] = "REFUNDED";
2101
- IuguInvoiceStatusEnum["EXPIRED"] = "EXPIRED";
2102
- IuguInvoiceStatusEnum["IN_PROTEST"] = "IN_PROTEST";
2103
- IuguInvoiceStatusEnum["CHARGEBACK"] = "CHARGEBACK";
2104
- IuguInvoiceStatusEnum["EXTERNALLY_PAID"] = "EXTERNALLY_PAID";
2105
- })(IuguInvoiceStatusEnum || (IuguInvoiceStatusEnum = {}));
2106
-
2107
- class IuguAccountEntity {
2108
- // #region Properties (54)
2109
- autoAdvance = false;
2110
- autoAdvanceOption = 0;
2111
- autoAdvanceType = IuguAutoAdvanceEnum.DAILY;
2112
- autoWithdraw = false;
2113
- balance = '';
2114
- balanceAvailableForWithdraw = '';
2115
- balanceInProtest = '';
2116
- canReceive = false;
2117
- changePlanType = 0;
2118
- commissionBalance = '';
2119
- configuration = null;
1850
+ class InstallationEntity {
1851
+ // #region Properties (13)
1852
+ app = new InstallationAppEntity();
2120
1853
  createdAt = new Date();
2121
- creditCardVerified = false;
2122
- customLogoSmallUrl = '';
2123
- customLogoUrl = '';
2124
- defaultReturnUrl = '';
2125
- disableEmails = false;
2126
- disabledWithdraw = false;
2127
- earlyPaymentDiscount = false;
2128
- earlyPaymentDiscountDays = 0;
2129
- earlyPaymentDiscountPercent = 0;
2130
- earlyPaymentDiscounts = [];
2131
- fines = false;
2132
- hasBankAddress = false;
1854
+ customConfig = null;
1855
+ expirationDate = new Date();
1856
+ featureId = '';
2133
1857
  id = '';
2134
- informations = [];
2135
- isVerified = false;
2136
- lastVerificationRequestData = new LastVerificationRequestDataEntity();
2137
- lastVerificationRequestFeedback = '';
2138
- lastVerificationRequestStatus = 'accepted';
2139
- lastWithdraw = new Date();
2140
- latePaymentFine = 0;
2141
- marketplace = false;
2142
- name = '';
2143
- oldAdvancement = false;
2144
- payableBalance = '';
2145
- paymentEmailNotification = false;
2146
- paymentEmailNotificationReceiver = '';
2147
- perDayInterest = false;
2148
- permissions = [];
2149
- protectedBalance = '';
2150
- receivableBalance = '';
2151
- replyTo = '';
2152
- splits = [];
2153
- subscriptionsBillingDays = 0;
2154
- subscriptionsTrialPeriod = 0;
2155
- taxesPaidLastMonth = '';
2156
- taxesPaidThisMonth = '';
2157
- totalActiveSubscriptions = 0;
2158
- totalSubscriptions = 0;
1858
+ lastCheckAt = new Date();
1859
+ status = ESubscriptionStatus.PLACED;
1860
+ subscriptionId = '';
1861
+ tags = [];
1862
+ trialEndDate = new Date();
1863
+ trialStartDate = new Date();
2159
1864
  updatedAt = new Date();
2160
- volumeLastMonth = '';
2161
- volumeThisMonth = '';
2162
- webappOnTestMode = false;
2163
- // #endregion Properties (54)
1865
+ // #endregion Properties (13)
2164
1866
  // #region Constructors (1)
2165
1867
  constructor(data) {
2166
1868
  if (data) {
@@ -2173,18 +1875,48 @@ class IuguAccountEntity {
2173
1875
  }
2174
1876
  }
2175
1877
 
2176
- class IuguPaymentTokenDataEntity {
2177
- // #region Properties (9)
2178
- bin = '';
2179
- brand = '';
2180
- displayNumber = '';
2181
- firstDigits = '';
2182
- holderName = '';
2183
- lastDigits = '';
2184
- maskedNumber = '';
2185
- month = 0;
2186
- year = 2035;
2187
- // #endregion Properties (9)
1878
+ var EInstallationStatus;
1879
+ (function (EInstallationStatus) {
1880
+ EInstallationStatus["INSTALLED"] = "INSTALLED";
1881
+ EInstallationStatus["ACTIVE"] = "ACTIVE";
1882
+ EInstallationStatus["CANCELLED"] = "CANCELLED";
1883
+ EInstallationStatus["PLACED"] = "PLACED";
1884
+ EInstallationStatus["EXPIRED"] = "EXPIRED";
1885
+ EInstallationStatus["PENDING"] = "PENDING";
1886
+ EInstallationStatus["TRIAL"] = "TRIAL";
1887
+ EInstallationStatus["FREE"] = "FREE";
1888
+ EInstallationStatus["SUSPENDED"] = "SUSPENDED";
1889
+ })(EInstallationStatus || (EInstallationStatus = {}));
1890
+
1891
+ var InviteStatusEnum;
1892
+ (function (InviteStatusEnum) {
1893
+ InviteStatusEnum["ACCEPTED"] = "ACCEPTED";
1894
+ InviteStatusEnum["PENDING"] = "PENDING";
1895
+ InviteStatusEnum["REJECTED"] = "REJECTED";
1896
+ InviteStatusEnum["EXPIRED"] = "EXPIRED";
1897
+ InviteStatusEnum["CANCELED"] = "CANCELED";
1898
+ })(InviteStatusEnum || (InviteStatusEnum = {}));
1899
+
1900
+ class InviteEntity {
1901
+ // #region Properties (17)
1902
+ companyId = '';
1903
+ companyName = '';
1904
+ containerId = '';
1905
+ createdAt = new Date();
1906
+ doc = '';
1907
+ docType = EDocType.CNPJ;
1908
+ email = '';
1909
+ expireAt = new Date(new Date().getTime() + 86400000);
1910
+ expired = false;
1911
+ id = '';
1912
+ internationalCode = '+55';
1913
+ name = '';
1914
+ phoneNumber = '';
1915
+ photoUrl = '';
1916
+ status = InviteStatusEnum.PENDING;
1917
+ uid = '';
1918
+ updatedAt = new Date();
1919
+ // #endregion Properties (17)
2188
1920
  // #region Constructors (1)
2189
1921
  constructor(data) {
2190
1922
  if (data) {
@@ -2197,14 +1929,16 @@ class IuguPaymentTokenDataEntity {
2197
1929
  }
2198
1930
  }
2199
1931
 
2200
- class IuguPaymentTokenEntity {
2201
- // #region Properties (5)
2202
- customerId = '';
2203
- data = new IuguPaymentTokenDataEntity();
2204
- description = '';
2205
- id = '';
2206
- itemType = '';
2207
- // #endregion Properties (5)
1932
+ class InvoiceBankSlipEntity {
1933
+ // #region Properties (7)
1934
+ bankSlipBank = 0;
1935
+ bankSlipErrorCode = '';
1936
+ bankSlipErrorMessage = '';
1937
+ bankSlipStatus = EBankSlipStatus.PENDING;
1938
+ barcode = '';
1939
+ barcodeData = '';
1940
+ digitableLine = '';
1941
+ // #endregion Properties (7)
2208
1942
  // #region Constructors (1)
2209
1943
  constructor(data) {
2210
1944
  if (data) {
@@ -2217,61 +1951,15 @@ class IuguPaymentTokenEntity {
2217
1951
  }
2218
1952
  }
2219
1953
 
2220
- var LeadStatusEnum;
2221
- (function (LeadStatusEnum) {
2222
- LeadStatusEnum["NEW"] = "Novo";
2223
- LeadStatusEnum["CONTACTED"] = "Contactado";
2224
- LeadStatusEnum["IN_PROGRESS"] = "Em Progresso";
2225
- LeadStatusEnum["PAUSED"] = "Pausado";
2226
- LeadStatusEnum["CONVERTED"] = "Convertido";
2227
- LeadStatusEnum["NOT_INTERESTED"] = "N\u00E3o Interessado";
2228
- LeadStatusEnum["NURTURING"] = "Nutrindo";
2229
- LeadStatusEnum["RECYCLED"] = "Reciclado";
2230
- LeadStatusEnum["DISQUALIFIED"] = "Desqualificado";
2231
- LeadStatusEnum["CLOSED"] = "Fechado";
2232
- LeadStatusEnum["LOST"] = "Perdido";
2233
- LeadStatusEnum["UNQUALIFIED"] = "N\u00E3o Qualificado";
2234
- })(LeadStatusEnum || (LeadStatusEnum = {}));
2235
-
2236
- class LeadEntity {
2237
- // #region Properties (20)
2238
- /**Lista de produtos ou serviços de interesse. */
2239
- activity = [];
2240
- /**Endereço de e-mail principal para contato. */
2241
- alternateEmails = [];
2242
- /**Número de telefone principal. */
2243
- alternatePhones = [];
2244
- /**ID do agente ou parceiro que cadastrou o lead. */
2245
- assignedTo = '';
2246
- /**Notas ou observações adicionais. */
2247
- createdAt = new Date();
2248
- /**Tipo de documento (CPF, CNPJ, Passaporte, etc.). */
2249
- doc = '';
2250
- /**Identificador único do lead. */
2251
- docType = EDocType.CNPJ;
2252
- /**Nome completo ou razão social do lead. */
2253
- email = '';
2254
- id = '';
2255
- /**Fonte de origem do lead. */
2256
- interestedIn = [];
2257
- /**Data e hora de criação. */
2258
- lastContacted = new Date();
2259
- /**Número do documento conforme o tipo. */
2260
- name = '';
2261
- note = '';
2262
- origin = LeadOriginEnum.OTHERS;
2263
- /**Status atual. */
2264
- partnerId = '';
2265
- /**Outros endereços de e-mail, se disponíveis. */
2266
- phoneNumber = '';
2267
- /**Outros números de telefone, se disponíveis. */
2268
- sandbox = false;
2269
- /**Data e hora do último contato. */
2270
- status = LeadStatusEnum.NEW;
2271
- /**ID do colaborador responsável pelo lead. */
2272
- tags = [];
2273
- updatedAt = new Date();
2274
- // #endregion Properties (20)
1954
+ class InvoiceCreditCardEntity {
1955
+ // #region Properties (6)
1956
+ bin = '';
1957
+ brand = '';
1958
+ capturedAt = '';
1959
+ last4 = '';
1960
+ tid = '';
1961
+ transaction = '';
1962
+ // #endregion Properties (6)
2275
1963
  // #region Constructors (1)
2276
1964
  constructor(data) {
2277
1965
  if (data) {
@@ -2284,43 +1972,14 @@ class LeadEntity {
2284
1972
  }
2285
1973
  }
2286
1974
 
2287
- var MemberRulesEnum;
2288
- (function (MemberRulesEnum) {
2289
- MemberRulesEnum["ADMIN"] = "ADMIN";
2290
- MemberRulesEnum["USER"] = "USER";
2291
- MemberRulesEnum["OWNER"] = "OWNER";
2292
- MemberRulesEnum["SUPPORT"] = "SUPPORT";
2293
- MemberRulesEnum["PARTNER"] = "PARTNER";
2294
- MemberRulesEnum["FINANCE"] = "FINANCE";
2295
- MemberRulesEnum["MARKETING"] = "MARKETING";
2296
- MemberRulesEnum["SALES"] = "SALES";
2297
- })(MemberRulesEnum || (MemberRulesEnum = {}));
2298
-
2299
- var MemberTypeEnum;
2300
- (function (MemberTypeEnum) {
2301
- MemberTypeEnum["PARTNER"] = "PARTNER";
2302
- MemberTypeEnum["ADMIN"] = "ADMIN";
2303
- MemberTypeEnum["CLIENT"] = "CLIENT";
2304
- })(MemberTypeEnum || (MemberTypeEnum = {}));
2305
-
2306
- class MemberEntity extends BaseEntity {
2307
- // #region Properties (13)
2308
- active = true;
2309
- companyName = '';
2310
- containerName = '';
2311
- email = '';
2312
- name = '';
2313
- partnerId = '';
2314
- phoneNumber = '';
2315
- photoUrl = '';
2316
- rule = MemberRulesEnum.USER;
2317
- tags = [];
2318
- type = MemberTypeEnum.CLIENT;
2319
- uid = '';
2320
- // #endregion Properties (13)
1975
+ class InvoiceItemEntity {
1976
+ // #region Properties (3)
1977
+ description = '';
1978
+ quantity = 1;
1979
+ unitPrice = 0;
1980
+ // #endregion Properties (3)
2321
1981
  // #region Constructors (1)
2322
1982
  constructor(data) {
2323
- super(data);
2324
1983
  if (data) {
2325
1984
  for (let key in data) {
2326
1985
  if (data.hasOwnProperty(key) && key in this) {
@@ -2331,51 +1990,12 @@ class MemberEntity extends BaseEntity {
2331
1990
  }
2332
1991
  }
2333
1992
 
2334
- var NotificationActionTypeEnum;
2335
- (function (NotificationActionTypeEnum) {
2336
- NotificationActionTypeEnum["URL"] = "url";
2337
- NotificationActionTypeEnum["FUNCTION"] = "function";
2338
- NotificationActionTypeEnum["CUSTOM"] = "custom";
2339
- })(NotificationActionTypeEnum || (NotificationActionTypeEnum = {}));
2340
-
2341
- var NotificationCategoryEnum;
2342
- (function (NotificationCategoryEnum) {
2343
- NotificationCategoryEnum["INVITE"] = "invite";
2344
- NotificationCategoryEnum["DEVICE"] = "device";
2345
- NotificationCategoryEnum["LEAD"] = "lead";
2346
- NotificationCategoryEnum["TASK"] = "task";
2347
- NotificationCategoryEnum["MEETING"] = "meeting";
2348
- NotificationCategoryEnum["ALERT"] = "alert";
2349
- NotificationCategoryEnum["INFO"] = "info";
2350
- NotificationCategoryEnum["DANGER"] = "danger";
2351
- NotificationCategoryEnum["WARN"] = "warning";
2352
- NotificationCategoryEnum["UPDATE"] = "update";
2353
- NotificationCategoryEnum["OTHER"] = "other";
2354
- })(NotificationCategoryEnum || (NotificationCategoryEnum = {}));
2355
-
2356
- var NotificationPriorityEnum;
2357
- (function (NotificationPriorityEnum) {
2358
- NotificationPriorityEnum["LOW"] = "low";
2359
- NotificationPriorityEnum["MEDIUM"] = "medium";
2360
- NotificationPriorityEnum["HIGH"] = "high";
2361
- NotificationPriorityEnum["URGENT"] = "urgent";
2362
- })(NotificationPriorityEnum || (NotificationPriorityEnum = {}));
2363
-
2364
- var NotificationStatusEnum;
2365
- (function (NotificationStatusEnum) {
2366
- NotificationStatusEnum["DELIVERED"] = "delivered";
2367
- NotificationStatusEnum["READ"] = "read";
2368
- NotificationStatusEnum["FAILED"] = "failed";
2369
- NotificationStatusEnum["PLACED"] = "placed";
2370
- NotificationStatusEnum["SENT"] = "sent";
2371
- })(NotificationStatusEnum || (NotificationStatusEnum = {}));
2372
-
2373
- class NotificationActionEntity {
1993
+ class InvoiceLogEntity {
2374
1994
  // #region Properties (4)
2375
- icon = '';
2376
- label = '';
2377
- type = NotificationActionTypeEnum.URL;
2378
- value = '';
1995
+ createdAt = '';
1996
+ description = '';
1997
+ id = '';
1998
+ notes = '';
2379
1999
  // #endregion Properties (4)
2380
2000
  // #region Constructors (1)
2381
2001
  constructor(data) {
@@ -2389,22 +2009,15 @@ class NotificationActionEntity {
2389
2009
  }
2390
2010
  }
2391
2011
 
2392
- class NotificationEntity {
2393
- // #region Properties (13)
2394
- action = new NotificationActionEntity();
2395
- category = NotificationCategoryEnum.ALERT;
2396
- createdAt = new Date();
2397
- data = '';
2398
- description = '';
2399
- expirationTime = 3600;
2400
- id = '';
2401
- imageUrl = '';
2402
- priority = NotificationPriorityEnum.HIGH;
2403
- sound = true;
2404
- status = NotificationStatusEnum.DELIVERED;
2405
- title = '';
2406
- topicName = '';
2407
- // #endregion Properties (13)
2012
+ class InvoicePayerEntity {
2013
+ // #region Properties (6)
2014
+ address = new AddressEntity();
2015
+ doc = '';
2016
+ docType = EDocType.CNPJ;
2017
+ email = '';
2018
+ name = '';
2019
+ phoneNumber = null;
2020
+ // #endregion Properties (6)
2408
2021
  // #region Constructors (1)
2409
2022
  constructor(data) {
2410
2023
  if (data) {
@@ -2417,11 +2030,14 @@ class NotificationEntity {
2417
2030
  }
2418
2031
  }
2419
2032
 
2420
- class OrderAdditionalFeeEntity {
2421
- // #region Properties (2)
2422
- type = '';
2423
- value = 0;
2424
- // #endregion Properties (2)
2033
+ class InvoicePixEntity {
2034
+ // #region Properties (5)
2035
+ expiresAt = new Date();
2036
+ qrCode = '';
2037
+ qrCodeImage = '';
2038
+ qrCodeText = '';
2039
+ status = '';
2040
+ // #endregion Properties (5)
2425
2041
  // #region Constructors (1)
2426
2042
  constructor(data) {
2427
2043
  if (data) {
@@ -2434,33 +2050,64 @@ class OrderAdditionalFeeEntity {
2434
2050
  }
2435
2051
  }
2436
2052
 
2437
- class OrderBenefitsEntity {
2438
- // #region Properties (6)
2439
- description = '';
2440
- id = '';
2441
- sponsorshipValues = [];
2442
- target = '';
2443
- targetId = '';
2444
- value = 0;
2445
- // #endregion Properties (6)
2446
- // #region Constructors (1)
2447
- constructor(data) {
2448
- if (data) {
2449
- for (let key in data) {
2450
- if (data.hasOwnProperty(key) && key in this) {
2451
- this[key] = data[key];
2452
- }
2453
- }
2454
- }
2455
- }
2456
- }
2053
+ var EInvoiceStatus;
2054
+ (function (EInvoiceStatus) {
2055
+ EInvoiceStatus["PENDING"] = "PENDING";
2056
+ EInvoiceStatus["PAID"] = "PAID";
2057
+ EInvoiceStatus["CANCELED"] = "CANCELED";
2058
+ EInvoiceStatus["IN_ANALYSIS"] = "IN_ANALYSIS";
2059
+ EInvoiceStatus["DRAFT"] = "DRAFT";
2060
+ EInvoiceStatus["PARTIALLY_PAID"] = "PARTIALLY_PAID";
2061
+ EInvoiceStatus["REFUNDED"] = "REFUNDED";
2062
+ EInvoiceStatus["EXPIRED"] = "EXPIRED";
2063
+ EInvoiceStatus["IN_PROTEST"] = "IN_PROTEST";
2064
+ EInvoiceStatus["CHARGEBACK"] = "CHARGEBACK";
2065
+ EInvoiceStatus["EXTERNALLY_PAID"] = "EXTERNALLY_PAID";
2066
+ })(EInvoiceStatus || (EInvoiceStatus = {}));
2457
2067
 
2458
- class OrderCancellationEntity {
2459
- // #region Properties (3)
2460
- cancellationBy = '';
2461
- cancellationCode = '';
2462
- reason = '';
2463
- // #endregion Properties (3)
2068
+ class InvoiceEntity {
2069
+ // #region Properties (44)
2070
+ addition = 0;
2071
+ bankSlip = null;
2072
+ bankSlipExtraDue = 3;
2073
+ ccEmails = [];
2074
+ companyId = '';
2075
+ containerId = '';
2076
+ createdAt = new Date();
2077
+ creditCard = null;
2078
+ currency = 'BRL';
2079
+ discount = 0;
2080
+ dueDateAt = new Date(Date.now() + 3 * 24 * 60 * 60 * 1000);
2081
+ email = '';
2082
+ ensureDueOnWorkday = true;
2083
+ externalInvoiceId = '';
2084
+ externalInvoiceUrl = '';
2085
+ id = '';
2086
+ items = [];
2087
+ log = [];
2088
+ notes = '';
2089
+ notificationUrl = '';
2090
+ orderId = '';
2091
+ paidAt = null;
2092
+ partnerId = '';
2093
+ password = null;
2094
+ payer = new InvoicePayerEntity();
2095
+ paymentMethod = EPaymentType.NONE;
2096
+ paymentProvider = null;
2097
+ phoneNumberNotification = null;
2098
+ pix = null;
2099
+ returnExpiredUrl = '';
2100
+ returnUrl = '';
2101
+ status = EInvoiceStatus.PENDING;
2102
+ subscriptionId = '';
2103
+ subtotal = 0;
2104
+ totalAmount = 0;
2105
+ totalFee = 0;
2106
+ totalOverPaid = 0;
2107
+ totalPaid = 0;
2108
+ totalRefunded = 0;
2109
+ updatedAt = new Date();
2110
+ // #endregion Properties (44)
2464
2111
  // #region Constructors (1)
2465
2112
  constructor(data) {
2466
2113
  if (data) {
@@ -2473,13 +2120,11 @@ class OrderCancellationEntity {
2473
2120
  }
2474
2121
  }
2475
2122
 
2476
- class OrdersCustomerPhoneEntity {
2477
- // #region Properties (4)
2478
- description = '';
2479
- localizer = '';
2480
- localizerExpiration = '';
2481
- number = '';
2482
- // #endregion Properties (4)
2123
+ class AccountInformationsEntity {
2124
+ // #region Properties (2)
2125
+ key = '';
2126
+ value = '';
2127
+ // #endregion Properties (2)
2483
2128
  // #region Constructors (1)
2484
2129
  constructor(data) {
2485
2130
  if (data) {
@@ -2492,16 +2137,28 @@ class OrdersCustomerPhoneEntity {
2492
2137
  }
2493
2138
  }
2494
2139
 
2495
- class OrderCustomerEntity {
2496
- // #region Properties (7)
2497
- documentNumber = '';
2498
- email = '';
2499
- id = '';
2140
+ class LastVerificationRequestDataEntity {
2141
+ // #region Properties (19)
2142
+ accountType = '';
2143
+ address = '';
2144
+ automaticTransfer = EBooleanString.FALSE;
2145
+ bank = '';
2146
+ bankAg = '';
2147
+ bankCc = '';
2148
+ businessType = '';
2149
+ cep = '';
2150
+ city = '';
2151
+ cpf = '';
2152
+ documentActivity = '';
2153
+ documentCpf = '';
2154
+ documentId = '';
2500
2155
  name = '';
2501
- ordersCountOnMerchant = 0;
2502
- phone = new OrdersCustomerPhoneEntity();
2503
- picture = '';
2504
- // #endregion Properties (7)
2156
+ personType = ELegalEntiy.LEGAL;
2157
+ physicalProducts = EBooleanString.FALSE;
2158
+ priceRange = '';
2159
+ state = '';
2160
+ telephone = '';
2161
+ // #endregion Properties (19)
2505
2162
  // #region Constructors (1)
2506
2163
  constructor(data) {
2507
2164
  if (data) {
@@ -2514,16 +2171,21 @@ class OrderCustomerEntity {
2514
2171
  }
2515
2172
  }
2516
2173
 
2517
- class OrderItemCompositionEntity {
2518
- // #region Properties (6)
2519
- amount = 0;
2520
- code = '';
2521
- description = '';
2522
- imageUrl = '';
2523
- quantity = 0;
2524
- unit = '';
2525
- // #endregion Properties (6)
2526
- // #region Constructors (1)
2174
+ class IuguChargeCreditCardEntity {
2175
+ // #region Properties (13)
2176
+ LR = '00';
2177
+ bin = '';
2178
+ brand = '';
2179
+ errors = {};
2180
+ identification = null;
2181
+ invoiceId = '';
2182
+ last4 = '';
2183
+ message = '';
2184
+ pdf = '';
2185
+ reversible = false;
2186
+ success = false;
2187
+ token = '';
2188
+ url = '';
2527
2189
  constructor(data) {
2528
2190
  if (data) {
2529
2191
  for (let key in data) {
@@ -2535,24 +2197,30 @@ class OrderItemCompositionEntity {
2535
2197
  }
2536
2198
  }
2537
2199
 
2538
- class OrderItemOptionEntity {
2539
- // #region Properties (15)
2540
- ean = '';
2541
- externalCode = '';
2200
+ class IuguCustomerEntity {
2201
+ // #region Properties (21)
2202
+ ccEmails = '';
2203
+ city = '';
2204
+ complement = '';
2205
+ cpfCnpj = '';
2206
+ createdAt = new Date();
2207
+ customVariables = [];
2208
+ defaultPaymentMethodId = '';
2209
+ district = '';
2210
+ email = '';
2542
2211
  id = '';
2543
- index = 0;
2544
2212
  name = '';
2545
- options = [];
2546
- optionsPrice = 0;
2547
- preparationPlaceId = '';
2548
- price = 0;
2549
- productId = '';
2550
- quantity = 0;
2551
- skill = '';
2552
- totalPrice = 0;
2553
- unit = '';
2554
- weight = 0;
2555
- // #endregion Properties (15)
2213
+ notes = '';
2214
+ number = '';
2215
+ paymentMethods = [];
2216
+ phone = '';
2217
+ phonePrefix = '';
2218
+ proxyPaymentsFromCustomerId = '';
2219
+ state = '';
2220
+ street = '';
2221
+ updatedAt = new Date();
2222
+ zipCode = '';
2223
+ // #endregion Properties (21)
2556
2224
  // #region Constructors (1)
2557
2225
  constructor(data) {
2558
2226
  if (data) {
@@ -2565,11 +2233,16 @@ class OrderItemOptionEntity {
2565
2233
  }
2566
2234
  }
2567
2235
 
2568
- class OrderScaleEntity {
2569
- // #region Properties (2)
2570
- defaultPrice = 0;
2571
- scales = [];
2572
- // #endregion Properties (2)
2236
+ class IuguInvoiceBankSlipEntity {
2237
+ // #region Properties (7)
2238
+ bankSlipBank = 0;
2239
+ bankSlipErrorCode = '00';
2240
+ bankSlipErrorMessage = null;
2241
+ bankSlipStatus = 'pending';
2242
+ barcode = '';
2243
+ barcodeData = '';
2244
+ digitableLine = '';
2245
+ // #endregion Properties (7)
2573
2246
  // #region Constructors (1)
2574
2247
  constructor(data) {
2575
2248
  if (data) {
@@ -2582,29 +2255,123 @@ class OrderScaleEntity {
2582
2255
  }
2583
2256
  }
2584
2257
 
2585
- class OrderItemEntity {
2586
- // #region Properties (20)
2587
- composition = [];
2588
- ean = '';
2589
- externalCode = '';
2258
+ class IuguInvoiceEntity {
2259
+ // #region Properties (114)
2260
+ accountId = '';
2261
+ accountName = '';
2262
+ advanceFee;
2263
+ advanceFeeCents;
2264
+ authorizedAt;
2265
+ authorizedAtIso;
2266
+ bankAccountBranch = '';
2267
+ bankAccountNumber = '';
2268
+ bankSlip = null;
2269
+ bankSlipExtraDue = 0;
2270
+ canceledAt;
2271
+ canceledAtIso;
2272
+ ccEmails;
2273
+ chargebackAt;
2274
+ chargebackAtIso;
2275
+ commission = '';
2276
+ commissionCents;
2277
+ createdAt = '';
2278
+ createdAtIso = '';
2279
+ creditCardBin;
2280
+ creditCardBrand;
2281
+ creditCardCapturedAt;
2282
+ creditCardLast4;
2283
+ creditCardTid;
2284
+ creditCardTransaction = '';
2285
+ currency = '';
2286
+ customVariables = [];
2287
+ customerId;
2288
+ customerName;
2289
+ customerRef;
2290
+ discount;
2291
+ discountCents = 0;
2292
+ doublePaymentId;
2293
+ dueDate = '';
2294
+ duplicatedInvoiceId;
2295
+ earlyPaymentDiscount = false;
2296
+ earlyPaymentDiscounts = [];
2297
+ email = '';
2298
+ estimatedAdvanceFee;
2299
+ expiredAt;
2300
+ expiredAtIso;
2301
+ externalPaymentDescription;
2302
+ externalPaymentId;
2303
+ externalReference;
2304
+ financialReturnDate;
2305
+ financialReturnDates;
2306
+ finesOnOccurrenceDay = '';
2307
+ finesOnOccurrenceDayCents = 0;
2590
2308
  id = '';
2591
- index = 0;
2592
- name = '';
2593
- observations = '';
2594
- options = [];
2595
- optionsPrice = 0;
2596
- picture = '';
2597
- preparationPlaceId = '';
2598
- price = 0;
2599
- productId = 0;
2600
- quantity = 0;
2601
- scalePrices = new OrderScaleEntity();
2602
- skill = '';
2603
- totalPrice = 0;
2604
- unit = '';
2605
- unitPrice = 0;
2606
- weight = 0;
2607
- // #endregion Properties (20)
2309
+ ignoreCanceledEmail = false;
2310
+ ignoreDueEmail = false;
2311
+ installments;
2312
+ interest;
2313
+ items = [];
2314
+ itemsTotalCents = 0;
2315
+ latePaymentFine;
2316
+ latePaymentFineCents = 0;
2317
+ logs = [];
2318
+ maxInstallmentsValue;
2319
+ notificationUrl = '';
2320
+ occurrenceDate;
2321
+ orderId;
2322
+ originalPaymentId;
2323
+ overpaidCents;
2324
+ paid = '';
2325
+ paidAt;
2326
+ paidCents;
2327
+ payableWith = '';
2328
+ payerAddressCity = '';
2329
+ payerAddressComplement;
2330
+ payerAddressCountry = '';
2331
+ payerAddressDistrict = '';
2332
+ payerAddressNumber = '';
2333
+ payerAddressState = '';
2334
+ payerAddressStreet = '';
2335
+ payerAddressZipCode = '';
2336
+ payerCpfCnpj = '';
2337
+ payerEmail;
2338
+ payerName = '';
2339
+ payerPhone = '';
2340
+ payerPhonePrefix = '';
2341
+ paymentMethod;
2342
+ perDayInterest = false;
2343
+ perDayInterestCents = 0;
2344
+ perDayInterestValue;
2345
+ pix = {};
2346
+ protestedAt;
2347
+ protestedAtIso;
2348
+ refundable;
2349
+ refundedAt;
2350
+ refundedAtIso;
2351
+ refundedCents = 0;
2352
+ remainingCapturedCents = 0;
2353
+ returnUrl = '';
2354
+ secureId = '';
2355
+ secureUrl = '';
2356
+ splitId;
2357
+ splitRules;
2358
+ status = '';
2359
+ taxCents = 0;
2360
+ taxesPaid = '';
2361
+ taxesPaidCents;
2362
+ total = '';
2363
+ totalCents = 0;
2364
+ totalOnOccurrenceDay = '';
2365
+ totalOnOccurrenceDayCents = 0;
2366
+ totalOverpaid = '';
2367
+ totalPaid = '';
2368
+ totalPaidCents = 0;
2369
+ totalRefunded = '';
2370
+ transactionNumber = 0;
2371
+ updatedAt = '';
2372
+ userId = '';
2373
+ variables = [];
2374
+ // #endregion Properties (114)
2608
2375
  // #region Constructors (1)
2609
2376
  constructor(data) {
2610
2377
  if (data) {
@@ -2617,104 +2384,307 @@ class OrderItemEntity {
2617
2384
  }
2618
2385
  }
2619
2386
 
2620
- /* eslint-disable @typescript-eslint/naming-convention */
2621
- var OrderStatusEnum;
2622
- (function (OrderStatusEnum) {
2623
- OrderStatusEnum["PLACED"] = "PLACED";
2624
- OrderStatusEnum["INTEGRATED"] = "INTEGRATED";
2625
- OrderStatusEnum["CONFIRMED"] = "CONFIRMED";
2626
- OrderStatusEnum["PENDING"] = "PENDING";
2627
- OrderStatusEnum["CANCELLATION_REQUESTED"] = "CANCELLATION_REQUESTED";
2628
- OrderStatusEnum["CANCELLATION_REQUEST_FAILED"] = "CANCELLATION_REQUEST_FAILED";
2629
- OrderStatusEnum["CANCELLED"] = "CANCELLED";
2630
- OrderStatusEnum["GOING_TO_ORIGIN"] = "GOING_TO_ORIGIN";
2631
- OrderStatusEnum["ARRIVED_AT_ORIGIN"] = "ARRIVED_AT_ORIGIN";
2632
- OrderStatusEnum["ARRIVED_AT_DESTINATION"] = "ARRIVED_AT_DESTINATION";
2633
- OrderStatusEnum["READY_TO_PICKUP"] = "READY_TO_PICKUP";
2634
- OrderStatusEnum["COLLECTED"] = "COLLECTED";
2635
- OrderStatusEnum["DISPATCHED"] = "DISPATCHED";
2636
- OrderStatusEnum["DELIVERED"] = "DELIVERED";
2637
- OrderStatusEnum["CONCLUDED"] = "CONCLUDED";
2638
- OrderStatusEnum["PICKUP_AREA_ASSIGNED"] = "PICKUP_AREA_ASSIGNED";
2639
- OrderStatusEnum["DELAY_NOTIFICATION"] = "DELAY_NOTIFICATION";
2640
- OrderStatusEnum["CHANGE_PREPARATION_TIME"] = "CHANGE_PREPARATION_TIME";
2641
- OrderStatusEnum["REQUEST_DRIVER_AVAILABILITY"] = "REQUEST_DRIVER_AVAILABILITY";
2642
- OrderStatusEnum["REQUEST_DRIVER"] = "REQUEST_DRIVER";
2643
- OrderStatusEnum["REQUEST_DRIVER_SUCCESS"] = "REQUEST_DRIVER_SUCCESS";
2644
- OrderStatusEnum["REQUEST_DRIVER_FAILED"] = "REQUEST_DRIVER_FAILED";
2645
- OrderStatusEnum["ASSIGN_DRIVER"] = "ASSIGN_DRIVER";
2646
- OrderStatusEnum["CONSUMER_CANCELLATION_REQUESTED"] = "CONSUMER_CANCELLATION_REQUESTED";
2647
- OrderStatusEnum["CONSUMER_CANCELLATION_ACCEPTED"] = "CONSUMER_CANCELLATION_ACCEPTED";
2648
- OrderStatusEnum["CONSUMER_CANCELLATION_DENIED"] = "CONSUMER_CANCELLATION_DENIED";
2649
- OrderStatusEnum["ADDED_TO_GROUP"] = "ADDED_TO_GROUP";
2650
- OrderStatusEnum["EXECUTED_WITH_GROUP"] = "EXECUTED_WITH_GROUP";
2651
- OrderStatusEnum["CANCELLED_WITH_GROUP"] = "CANCELLED_WITH_GROUP";
2652
- OrderStatusEnum["COLLECTED_IN_GROUP"] = "COLLECTED_IN_GROUP";
2653
- OrderStatusEnum["ASSIGNED_WITH_GROUP"] = "ASSIGNED_WITH_GROUP";
2654
- OrderStatusEnum["UPDATE_REQUESTED"] = "UPDATE_REQUESTED";
2655
- OrderStatusEnum["UPDATE_DENIED"] = "UPDATE_DENIED";
2656
- OrderStatusEnum["UPDATED"] = "UPDATED";
2657
- OrderStatusEnum["BOX_ASSIGNED"] = "BOX_ASSIGNED";
2658
- })(OrderStatusEnum || (OrderStatusEnum = {}));
2659
-
2660
- // index.ts
2387
+ var IuguAutoAdvanceEnum;
2388
+ (function (IuguAutoAdvanceEnum) {
2389
+ IuguAutoAdvanceEnum["DAYS_AFTER_PAYMENT"] = "days_after_payment";
2390
+ IuguAutoAdvanceEnum["DAILY"] = "daily";
2391
+ IuguAutoAdvanceEnum["WEEKLY"] = "weekly";
2392
+ IuguAutoAdvanceEnum["MONTHLY"] = "monthly";
2393
+ })(IuguAutoAdvanceEnum || (IuguAutoAdvanceEnum = {}));
2661
2394
 
2662
- class OrderPaymentEntity {
2663
- // #region Properties (3)
2664
- methods = [];
2665
- pending = 0;
2666
- prepaid = 0;
2667
- // #endregion Properties (3)
2668
- // #region Constructors (1)
2669
- constructor(data) {
2670
- if (data) {
2671
- for (let key in data) {
2672
- if (data.hasOwnProperty(key) && key in this) {
2673
- this[key] = data[key];
2674
- }
2675
- }
2676
- }
2677
- }
2678
- }
2395
+ var IuguBankEnum;
2396
+ (function (IuguBankEnum) {
2397
+ IuguBankEnum["ITAU"] = "Ita\u00FA";
2398
+ IuguBankEnum["BRADESCO"] = "Bradesco";
2399
+ IuguBankEnum["CAIXA"] = "Caixa Econ\u00F4mica";
2400
+ IuguBankEnum["BRASIL"] = "Banco do Brasil";
2401
+ IuguBankEnum["SANTANDER"] = "Santander";
2402
+ IuguBankEnum["BANRISUL"] = "Banrisul";
2403
+ IuguBankEnum["SICRED"] = "Sicredi";
2404
+ IuguBankEnum["SICOOB"] = "Sicoob";
2405
+ IuguBankEnum["INTER"] = "Inter";
2406
+ IuguBankEnum["BRB"] = "BRB";
2407
+ IuguBankEnum["VIACRED"] = "Via Credi";
2408
+ IuguBankEnum["NEON"] = "Neon";
2409
+ IuguBankEnum["VOTORANTIN"] = "Votorantim";
2410
+ IuguBankEnum["NUBANK"] = "Nubank";
2411
+ IuguBankEnum["PAGSEGURO"] = "Pagseguro";
2412
+ IuguBankEnum["ORIGINAL"] = "Banco Original";
2413
+ IuguBankEnum["SAFRA"] = "Safra";
2414
+ IuguBankEnum["MODAL"] = "Modal";
2415
+ IuguBankEnum["BANESTES"] = "Banestes";
2416
+ IuguBankEnum["UNICRED"] = "Unicred";
2417
+ IuguBankEnum["MONEYPLUS"] = "Money Plus";
2418
+ IuguBankEnum["MERCANTIL"] = "Mercantil do Brasil";
2419
+ IuguBankEnum["JPMORGAN"] = "JP Morgan";
2420
+ IuguBankEnum["GERENCIANET"] = "Gerencianet Pagamentos do Brasil";
2421
+ IuguBankEnum["C6"] = "Banco C6";
2422
+ IuguBankEnum["BS2"] = "BS2";
2423
+ IuguBankEnum["TOPAZIO"] = "Banco Topazio";
2424
+ IuguBankEnum["UNIPRIME"] = "Uniprime";
2425
+ IuguBankEnum["STONE"] = "Stone";
2426
+ IuguBankEnum["DAYCOVAL"] = "Banco Daycoval";
2427
+ IuguBankEnum["RENDIMENTO"] = "Rendimento";
2428
+ IuguBankEnum["NORDESTE"] = "Banco do Nordeste";
2429
+ IuguBankEnum["CITIBANK"] = "Citibank";
2430
+ IuguBankEnum["PJBANK"] = "PJBank";
2431
+ IuguBankEnum["CCCNB"] = "Cooperativa Central de Credito Noroeste Brasileiro";
2432
+ IuguBankEnum["UNIPRIMENPARANA"] = "Uniprime Norte do Paran\u00E1";
2433
+ IuguBankEnum["GLOBALSCM"] = "Global SCM";
2434
+ IuguBankEnum["NEXT"] = "Next";
2435
+ IuguBankEnum["CORA"] = "Cora";
2436
+ IuguBankEnum["MERCADOPAGO"] = "Mercado Pago";
2437
+ IuguBankEnum["AMAZONIA"] = "Banco da Amazonia";
2438
+ IuguBankEnum["BNP"] = "BNP Paribas Brasil";
2439
+ IuguBankEnum["JUNO"] = "Juno";
2440
+ IuguBankEnum["CRESOL"] = "Cresol";
2441
+ IuguBankEnum["BRLTRUST"] = "BRL Trust DTVM";
2442
+ IuguBankEnum["BANESE"] = "Banco Banese";
2443
+ IuguBankEnum["BTGPACTUAL"] = "Banco BTG Pactual";
2444
+ IuguBankEnum["OMNI"] = "Banco Omni";
2445
+ IuguBankEnum["ACESSOSOLUCOES"] = "Acesso Solu\u00E7\u00F5es de Pagamento";
2446
+ IuguBankEnum["CCR"] = "CCR de S\u00E3o Miguel do Oeste";
2447
+ IuguBankEnum["POLOCRED"] = "Polocred";
2448
+ IuguBankEnum["OTIMO"] = "\u00D3timo";
2449
+ IuguBankEnum["RIBEIRAOPRETO"] = "Banco Ribeir\u00E3o Preto";
2450
+ IuguBankEnum["ASAASIP"] = "ASAAS IP";
2451
+ IuguBankEnum["PAN"] = "Banco Pan";
2452
+ IuguBankEnum["VORTX"] = "VORTX DTVM LTDA";
2453
+ IuguBankEnum["BMG"] = "Banco BMG";
2454
+ IuguBankEnum["PEFISA"] = "Pefisa";
2455
+ IuguBankEnum["J17"] = "J17 - SCD S/A";
2456
+ IuguBankEnum["CREDISAN"] = "Credisan";
2457
+ IuguBankEnum["PINBANK"] = "Pinbank";
2458
+ IuguBankEnum["XPINVESTIMENTOS"] = "XP Investimentos";
2459
+ IuguBankEnum["CREFISA"] = "Crefisa";
2460
+ IuguBankEnum["SINGULARE"] = "Singulare";
2461
+ IuguBankEnum["SUMUP"] = "SUMUP SCD S.A.";
2462
+ IuguBankEnum["ABCBRASIL"] = "Banco ABC Brasil";
2463
+ IuguBankEnum["LETSBANK"] = "BCO LETSBANK S.A.";
2464
+ IuguBankEnum["HRDIGITAL"] = "HR Digital Sociedade de Cr\u00E9dito Direto S.A";
2465
+ })(IuguBankEnum || (IuguBankEnum = {}));
2466
+ const IuguBankNumber = [
2467
+ { code: "341", label: IuguBankEnum.ITAU },
2468
+ { code: "237", label: IuguBankEnum.BRADESCO },
2469
+ { code: "104", label: IuguBankEnum.CAIXA },
2470
+ { code: "001", label: IuguBankEnum.BRASIL },
2471
+ { code: "033", label: IuguBankEnum.SANTANDER },
2472
+ { code: "041", label: IuguBankEnum.BANRISUL },
2473
+ { code: "748", label: IuguBankEnum.SICRED },
2474
+ { code: "756", label: IuguBankEnum.SICOOB },
2475
+ { code: "077", label: IuguBankEnum.INTER },
2476
+ { code: "070", label: IuguBankEnum.BRB },
2477
+ { code: "085", label: IuguBankEnum.VIACRED },
2478
+ { code: "735", label: IuguBankEnum.NEON },
2479
+ { code: "655", label: IuguBankEnum.VOTORANTIN },
2480
+ { code: "260", label: IuguBankEnum.NUBANK },
2481
+ { code: "290", label: IuguBankEnum.PAGSEGURO },
2482
+ { code: "212", label: IuguBankEnum.ORIGINAL },
2483
+ { code: "422", label: IuguBankEnum.SAFRA },
2484
+ { code: "746", label: IuguBankEnum.MODAL },
2485
+ { code: "021", label: IuguBankEnum.BANESTES },
2486
+ { code: "136", label: IuguBankEnum.UNICRED },
2487
+ { code: "274", label: IuguBankEnum.MONEYPLUS },
2488
+ { code: "389", label: IuguBankEnum.MERCANTIL },
2489
+ { code: "376", label: IuguBankEnum.JPMORGAN },
2490
+ { code: "364", label: IuguBankEnum.GERENCIANET },
2491
+ { code: "336", label: IuguBankEnum.C6 },
2492
+ { code: "218", label: IuguBankEnum.BS2 },
2493
+ { code: "082", label: IuguBankEnum.TOPAZIO },
2494
+ { code: "099", label: IuguBankEnum.UNIPRIME },
2495
+ { code: "197", label: IuguBankEnum.STONE },
2496
+ { code: "707", label: IuguBankEnum.DAYCOVAL },
2497
+ { code: "633", label: IuguBankEnum.RENDIMENTO },
2498
+ { code: "004", label: IuguBankEnum.NORDESTE },
2499
+ { code: "745", label: IuguBankEnum.CITIBANK },
2500
+ { code: "301", label: IuguBankEnum.PJBANK },
2501
+ { code: "320", label: IuguBankEnum.CCCNB },
2502
+ { code: "084", label: IuguBankEnum.UNIPRIMENPARANA },
2503
+ { code: "384", label: IuguBankEnum.GLOBALSCM },
2504
+ { code: "237", label: IuguBankEnum.NEXT },
2505
+ { code: "403", label: IuguBankEnum.CORA },
2506
+ { code: "323", label: IuguBankEnum.MERCADOPAGO },
2507
+ { code: "003", label: IuguBankEnum.AMAZONIA },
2508
+ { code: "752", label: IuguBankEnum.BNP },
2509
+ { code: "383", label: IuguBankEnum.JUNO },
2510
+ { code: "133", label: IuguBankEnum.CRESOL },
2511
+ { code: "173", label: IuguBankEnum.BRLTRUST },
2512
+ { code: "047", label: IuguBankEnum.BANESE },
2513
+ { code: "208", label: IuguBankEnum.BTGPACTUAL },
2514
+ { code: "613", label: IuguBankEnum.OMNI },
2515
+ { code: "332", label: IuguBankEnum.ACESSOSOLUCOES },
2516
+ { code: "281", label: IuguBankEnum.CCR },
2517
+ { code: "093", label: IuguBankEnum.POLOCRED },
2518
+ { code: "355", label: IuguBankEnum.OTIMO },
2519
+ { code: "741", label: IuguBankEnum.RIBEIRAOPRETO },
2520
+ { code: "461", label: IuguBankEnum.ASAASIP },
2521
+ { code: "623", label: IuguBankEnum.PAN },
2522
+ { code: "310", label: IuguBankEnum.VORTX },
2523
+ { code: "318", label: IuguBankEnum.BMG },
2524
+ { code: "174", label: IuguBankEnum.PEFISA },
2525
+ { code: "085", label: IuguBankEnum.J17 },
2526
+ { code: "222", label: IuguBankEnum.CREDISAN },
2527
+ { code: "094", label: IuguBankEnum.PINBANK },
2528
+ { code: "102", label: IuguBankEnum.XPINVESTIMENTOS },
2529
+ { code: "069", label: IuguBankEnum.CREFISA },
2530
+ { code: "300", label: IuguBankEnum.SINGULARE },
2531
+ { code: "290", label: IuguBankEnum.SUMUP },
2532
+ { code: "246", label: IuguBankEnum.ABCBRASIL },
2533
+ { code: "290", label: IuguBankEnum.LETSBANK },
2534
+ { code: "255", label: IuguBankEnum.HRDIGITAL },
2535
+ ];
2536
+ const IuguBankFormatter = [
2537
+ { name: "Banco do Brasil", agency: "9999-D", account: "99999999-D" },
2538
+ { name: "Santander", agency: "9999", account: "99999999-D" },
2539
+ { name: "Caixa Econômica", agency: "9999", account: "XXX99999999-D (X: Operação)" },
2540
+ { name: "Caixa Econômica", agency: "9999", account: "XXXX999999999-D (X: Operação - Novo formato CP)" },
2541
+ { name: "Bradesco", agency: "9999-D", account: "9999999-D" },
2542
+ { name: "Itaú", agency: "9999", account: "99999-D" },
2543
+ { name: "Itaú", agency: "9999", account: "999999999-D (Itaú-Iti)" },
2544
+ { name: "Agibank", agency: "9999", account: "9999999999" },
2545
+ { name: "Banpará", agency: "9999", account: "999999999-D" },
2546
+ { name: "Banrisul", agency: "9999", account: "999999999-D" },
2547
+ { name: "Sicoob", agency: "9999", account: "999999999-D" },
2548
+ { name: "Inter", agency: "9999", account: "999999999-D" },
2549
+ { name: "BRB", agency: "9999", account: "999999999-D" },
2550
+ { name: "Via Credi", agency: "9999", account: "99999999999-D" },
2551
+ { name: "Neon/Votorantim", agency: "9999", account: "9999999999-D" },
2552
+ { name: "Nubank", agency: "9999", account: "9999999999-D" },
2553
+ { name: "Pagseguro", agency: "9999", account: "99999999-D" },
2554
+ { name: "Banco Original", agency: "9999", account: "9999999-D" },
2555
+ { name: "Safra", agency: "9999", account: "99999999-D" },
2556
+ { name: "Modal", agency: "9999", account: "999999999-D" },
2557
+ { name: "Banestes", agency: "9999", account: "99999999-D" },
2558
+ { name: "Unicred", agency: "9999", account: "99999999-D" },
2559
+ { name: "Money Plus", agency: "9", account: "99999999-D" },
2560
+ { name: "Mercantil do Brasil", agency: "9999", account: "99999999-D" },
2561
+ { name: "JP Morgan", agency: "9999", account: "99999999999-D" },
2562
+ { name: "Gerencianet Pagamentos do Brasil", agency: "9999", account: "99999999-D" },
2563
+ { name: "Banco C6", agency: "9999", account: "99999999-D" },
2564
+ { name: "BS2", agency: "9999", account: "9999999-D" },
2565
+ { name: "Banco Topazio", agency: "9999", account: "99999-D" },
2566
+ { name: "Uniprime", agency: "9999", account: "9999-D" },
2567
+ { name: "Stone", agency: "9999", account: "9999999-D" },
2568
+ { name: "Rendimento", agency: "9999-D", account: "9999999999" },
2569
+ { name: "Banco Daycoval", agency: "9999", account: "999999-D" },
2570
+ { name: "Banco do Nordeste", agency: "999", account: "999999-D" },
2571
+ { name: "Citibank", agency: "9999", account: "99999999" },
2572
+ { name: "PJBank", agency: "9999", account: "9999999999-D" },
2573
+ { name: "Cooperativa Central de Credito Noroeste Brasileiro", agency: "9999", account: "9999999-D" },
2574
+ { name: "Uniprime Norte do Paraná", agency: "9999", account: "999999-D" },
2575
+ { name: "Global SCM", agency: "9999", account: "99999999999" },
2576
+ { name: "Next", agency: "9999-D", account: "9999999-D" },
2577
+ { name: "Cora", agency: "9999", account: "9999999-D" },
2578
+ { name: "Mercado Pago", agency: "9999", account: "9999999999-D" },
2579
+ { name: "Banco da Amazonia", agency: "9999", account: "999999-D" },
2580
+ { name: "BNP Paribas Brasil", agency: "999", account: "999999-DDD" },
2581
+ { name: "Juno", agency: "9999", account: "9999999999-D" },
2582
+ { name: "Cresol", agency: "9999", account: "99999999-D" },
2583
+ { name: "BRL Trust DTVM", agency: "999", account: "999999-D" },
2584
+ { name: "Banco Banese", agency: "999", account: "99999999-D" },
2585
+ { name: "Banco BTG Pactual", agency: "9999", account: "9999999-D" },
2586
+ { name: "Banco Omni", agency: "9999", account: "999999-D" },
2587
+ { name: "Acesso Soluções de pagamento", agency: "9999", account: "99999999" },
2588
+ { name: "CCR de São Miguel do Oeste", agency: "9999", account: "99999" },
2589
+ { name: "Polocred", agency: "9999", account: "999999-D" },
2590
+ { name: "Ótimo", agency: "9999", account: "99999-D" },
2591
+ { name: "Picpay", agency: "9999", account: "99999999-D" },
2592
+ { name: "Banco Genial", agency: "9999", account: "9999-D" },
2593
+ { name: "Banco Capital S.A", agency: "9999", account: "999999999" },
2594
+ { name: "Sicredi", agency: "9999", account: "99999999D" },
2595
+ { name: "Banco Ribeirão Preto", agency: "99999", account: "9999999999" },
2596
+ { name: "ASAAS IP", agency: "9999", account: "9999999-D" },
2597
+ { name: "Banco Pan", agency: "9999", account: "999999999-D" },
2598
+ { name: "Neon", agency: "9999", account: "9999999999-D" },
2599
+ { name: "VORTX DTVM LTDA", agency: "9999-D", account: "999-D" },
2600
+ { name: "Banco BMG", agency: "9999", account: "99999999-D" },
2601
+ { name: "Fitbank", agency: "9999", account: "999999999-9" },
2602
+ { name: "Pefisa", agency: "9999", account: "9999999-D" },
2603
+ { name: "J17 - SCD S/A", agency: "9999", account: "99999999999-D" },
2604
+ { name: "Credisan", agency: "9999", account: "999999999-D" },
2605
+ { name: "Pinbank", agency: "999", account: "99999999-D" },
2606
+ { name: "XP Investimentos", agency: "9999", account: "999999-D" },
2607
+ { name: "Crefisa", agency: "9999", account: "999999999-D" },
2608
+ { name: "Singulare", agency: "9999", account: "9999999-D" },
2609
+ { name: "SUMUP SCD S.A.", agency: "9999", account: "999999999-D" },
2610
+ { name: "Banco ABC Brasil", agency: "9999-D", account: "9999999999" },
2611
+ { name: "BCO LETSBANK S.A.", agency: "9999", account: "999999999-D" },
2612
+ { name: "HR Digital Sociedade de Crédito Direto S.A", agency: "9999", account: "999999999-D" },
2613
+ ];
2679
2614
 
2680
- class OrderTotalEntity {
2681
- // #region Properties (5)
2682
- additionalFees = 0;
2683
- benefits = 0;
2684
- deliveryFee = 0;
2685
- orderAmount = 0;
2686
- subTotal = 0;
2687
- // #endregion Properties (5)
2688
- // #region Constructors (1)
2689
- constructor(data) {
2690
- if (data) {
2691
- for (let key in data) {
2692
- if (data.hasOwnProperty(key) && key in this) {
2693
- this[key] = data[key];
2694
- }
2695
- }
2696
- }
2697
- }
2698
- }
2615
+ var IuguInvoiceStatusEnum;
2616
+ (function (IuguInvoiceStatusEnum) {
2617
+ IuguInvoiceStatusEnum["PENDING"] = "PENDING";
2618
+ IuguInvoiceStatusEnum["PAID"] = "PAID";
2619
+ IuguInvoiceStatusEnum["CANCELED"] = "CANCELED";
2620
+ IuguInvoiceStatusEnum["IN_ANALYSIS"] = "IN_ANALYSIS";
2621
+ IuguInvoiceStatusEnum["DRAFT"] = "DRAFT";
2622
+ IuguInvoiceStatusEnum["PARTIALLY_PAID"] = "PARTIALLY_PAID";
2623
+ IuguInvoiceStatusEnum["REFUNDED"] = "REFUNDED";
2624
+ IuguInvoiceStatusEnum["EXPIRED"] = "EXPIRED";
2625
+ IuguInvoiceStatusEnum["IN_PROTEST"] = "IN_PROTEST";
2626
+ IuguInvoiceStatusEnum["CHARGEBACK"] = "CHARGEBACK";
2627
+ IuguInvoiceStatusEnum["EXTERNALLY_PAID"] = "EXTERNALLY_PAID";
2628
+ })(IuguInvoiceStatusEnum || (IuguInvoiceStatusEnum = {}));
2699
2629
 
2700
- class OrderEntity {
2701
- // #region Properties (16)
2702
- additionalFees = [];
2703
- benefits = [];
2704
- cancellation = new OrderCancellationEntity();
2705
- companyId = '';
2706
- containerId = '';
2630
+ class IuguAccountEntity {
2631
+ // #region Properties (54)
2632
+ autoAdvance = false;
2633
+ autoAdvanceOption = 0;
2634
+ autoAdvanceType = IuguAutoAdvanceEnum.DAILY;
2635
+ autoWithdraw = false;
2636
+ balance = '';
2637
+ balanceAvailableForWithdraw = '';
2638
+ balanceInProtest = '';
2639
+ canReceive = false;
2640
+ changePlanType = 0;
2641
+ commissionBalance = '';
2642
+ configuration = null;
2707
2643
  createdAt = new Date();
2708
- customer = new OrderCustomerEntity();
2644
+ creditCardVerified = false;
2645
+ customLogoSmallUrl = '';
2646
+ customLogoUrl = '';
2647
+ defaultReturnUrl = '';
2648
+ disableEmails = false;
2649
+ disabledWithdraw = false;
2650
+ earlyPaymentDiscount = false;
2651
+ earlyPaymentDiscountDays = 0;
2652
+ earlyPaymentDiscountPercent = 0;
2653
+ earlyPaymentDiscounts = [];
2654
+ fines = false;
2655
+ hasBankAddress = false;
2709
2656
  id = '';
2710
- items = [];
2711
- payments = new OrderPaymentEntity();
2712
- salesChannel = '';
2713
- sandbox = false;
2714
- status = OrderStatusEnum.PENDING;
2715
- total = new OrderTotalEntity();
2657
+ informations = [];
2658
+ isVerified = false;
2659
+ lastVerificationRequestData = new LastVerificationRequestDataEntity();
2660
+ lastVerificationRequestFeedback = '';
2661
+ lastVerificationRequestStatus = 'accepted';
2662
+ lastWithdraw = new Date();
2663
+ latePaymentFine = 0;
2664
+ marketplace = false;
2665
+ name = '';
2666
+ oldAdvancement = false;
2667
+ payableBalance = '';
2668
+ paymentEmailNotification = false;
2669
+ paymentEmailNotificationReceiver = '';
2670
+ perDayInterest = false;
2671
+ permissions = [];
2672
+ protectedBalance = '';
2673
+ receivableBalance = '';
2674
+ replyTo = '';
2675
+ splits = [];
2676
+ subscriptionsBillingDays = 0;
2677
+ subscriptionsTrialPeriod = 0;
2678
+ taxesPaidLastMonth = '';
2679
+ taxesPaidThisMonth = '';
2680
+ totalActiveSubscriptions = 0;
2681
+ totalSubscriptions = 0;
2716
2682
  updatedAt = new Date();
2717
- version = '';
2683
+ volumeLastMonth = '';
2684
+ volumeThisMonth = '';
2685
+ webappOnTestMode = false;
2686
+ // #endregion Properties (54)
2687
+ // #region Constructors (1)
2718
2688
  constructor(data) {
2719
2689
  if (data) {
2720
2690
  for (let key in data) {
@@ -2726,10 +2696,18 @@ class OrderEntity {
2726
2696
  }
2727
2697
  }
2728
2698
 
2729
- class OrderPaymentCardEntity {
2730
- // #region Properties (1)
2699
+ class IuguPaymentTokenDataEntity {
2700
+ // #region Properties (9)
2701
+ bin = '';
2731
2702
  brand = '';
2732
- // #endregion Properties (1)
2703
+ displayNumber = '';
2704
+ firstDigits = '';
2705
+ holderName = '';
2706
+ lastDigits = '';
2707
+ maskedNumber = '';
2708
+ month = 0;
2709
+ year = 2035;
2710
+ // #endregion Properties (9)
2733
2711
  // #region Constructors (1)
2734
2712
  constructor(data) {
2735
2713
  if (data) {
@@ -2742,10 +2720,14 @@ class OrderPaymentCardEntity {
2742
2720
  }
2743
2721
  }
2744
2722
 
2745
- class OrderPaymentCashEntity {
2746
- // #region Properties (1)
2747
- changeFor = 0;
2748
- // #endregion Properties (1)
2723
+ class IuguPaymentTokenEntity {
2724
+ // #region Properties (5)
2725
+ customerId = '';
2726
+ data = new IuguPaymentTokenDataEntity();
2727
+ description = '';
2728
+ id = '';
2729
+ itemType = '';
2730
+ // #endregion Properties (5)
2749
2731
  // #region Constructors (1)
2750
2732
  constructor(data) {
2751
2733
  if (data) {
@@ -2758,20 +2740,61 @@ class OrderPaymentCashEntity {
2758
2740
  }
2759
2741
  }
2760
2742
 
2761
- class OrderPaymentMethodEntity {
2762
- // #region Properties (11)
2763
- card = null;
2764
- cash = null;
2765
- code = '';
2766
- currency = 'BRL';
2743
+ var LeadStatusEnum;
2744
+ (function (LeadStatusEnum) {
2745
+ LeadStatusEnum["NEW"] = "Novo";
2746
+ LeadStatusEnum["CONTACTED"] = "Contactado";
2747
+ LeadStatusEnum["IN_PROGRESS"] = "Em Progresso";
2748
+ LeadStatusEnum["PAUSED"] = "Pausado";
2749
+ LeadStatusEnum["CONVERTED"] = "Convertido";
2750
+ LeadStatusEnum["NOT_INTERESTED"] = "N\u00E3o Interessado";
2751
+ LeadStatusEnum["NURTURING"] = "Nutrindo";
2752
+ LeadStatusEnum["RECYCLED"] = "Reciclado";
2753
+ LeadStatusEnum["DISQUALIFIED"] = "Desqualificado";
2754
+ LeadStatusEnum["CLOSED"] = "Fechado";
2755
+ LeadStatusEnum["LOST"] = "Perdido";
2756
+ LeadStatusEnum["UNQUALIFIED"] = "N\u00E3o Qualificado";
2757
+ })(LeadStatusEnum || (LeadStatusEnum = {}));
2758
+
2759
+ class LeadEntity {
2760
+ // #region Properties (20)
2761
+ /**Lista de produtos ou serviços de interesse. */
2762
+ activity = [];
2763
+ /**Endereço de e-mail principal para contato. */
2764
+ alternateEmails = [];
2765
+ /**Número de telefone principal. */
2766
+ alternatePhones = [];
2767
+ /**ID do agente ou parceiro que cadastrou o lead. */
2768
+ assignedTo = '';
2769
+ /**Notas ou observações adicionais. */
2770
+ createdAt = new Date();
2771
+ /**Tipo de documento (CPF, CNPJ, Passaporte, etc.). */
2772
+ doc = '';
2773
+ /**Identificador único do lead. */
2774
+ docType = EDocType.CNPJ;
2775
+ /**Nome completo ou razão social do lead. */
2776
+ email = '';
2767
2777
  id = '';
2768
- method = EPaymentType.CASH;
2769
- pix = null;
2770
- prepaid = false;
2771
- type = 'OFFLINE';
2772
- value = 0;
2773
- wallet = null;
2774
- // #endregion Properties (11)
2778
+ /**Fonte de origem do lead. */
2779
+ interestedIn = [];
2780
+ /**Data e hora de criação. */
2781
+ lastContacted = new Date();
2782
+ /**Número do documento conforme o tipo. */
2783
+ name = '';
2784
+ note = '';
2785
+ origin = ELeadOrigin.OTHERS;
2786
+ /**Status atual. */
2787
+ partnerId = '';
2788
+ /**Outros endereços de e-mail, se disponíveis. */
2789
+ phoneNumber = '';
2790
+ /**Outros números de telefone, se disponíveis. */
2791
+ sandbox = false;
2792
+ /**Data e hora do último contato. */
2793
+ status = LeadStatusEnum.NEW;
2794
+ /**ID do colaborador responsável pelo lead. */
2795
+ tags = [];
2796
+ updatedAt = new Date();
2797
+ // #endregion Properties (20)
2775
2798
  // #region Constructors (1)
2776
2799
  constructor(data) {
2777
2800
  if (data) {
@@ -2784,13 +2807,43 @@ class OrderPaymentMethodEntity {
2784
2807
  }
2785
2808
  }
2786
2809
 
2787
- class OrderPaymentPixEntity {
2788
- // #region Properties (2)
2789
- pixKey = '';
2790
- urlQrImage = '';
2791
- // #endregion Properties (2)
2810
+ var MemberRulesEnum;
2811
+ (function (MemberRulesEnum) {
2812
+ MemberRulesEnum["ADMIN"] = "ADMIN";
2813
+ MemberRulesEnum["USER"] = "USER";
2814
+ MemberRulesEnum["OWNER"] = "OWNER";
2815
+ MemberRulesEnum["SUPPORT"] = "SUPPORT";
2816
+ MemberRulesEnum["PARTNER"] = "PARTNER";
2817
+ MemberRulesEnum["FINANCE"] = "FINANCE";
2818
+ MemberRulesEnum["MARKETING"] = "MARKETING";
2819
+ MemberRulesEnum["SALES"] = "SALES";
2820
+ })(MemberRulesEnum || (MemberRulesEnum = {}));
2821
+
2822
+ var MemberTypeEnum;
2823
+ (function (MemberTypeEnum) {
2824
+ MemberTypeEnum["PARTNER"] = "PARTNER";
2825
+ MemberTypeEnum["ADMIN"] = "ADMIN";
2826
+ MemberTypeEnum["CLIENT"] = "CLIENT";
2827
+ })(MemberTypeEnum || (MemberTypeEnum = {}));
2828
+
2829
+ class MemberEntity extends BaseEntity {
2830
+ // #region Properties (13)
2831
+ active = true;
2832
+ companyName = '';
2833
+ containerName = '';
2834
+ email = '';
2835
+ name = '';
2836
+ partnerId = '';
2837
+ phoneNumber = '';
2838
+ photoUrl = '';
2839
+ rule = MemberRulesEnum.USER;
2840
+ tags = [];
2841
+ type = MemberTypeEnum.CLIENT;
2842
+ uid = '';
2843
+ // #endregion Properties (13)
2792
2844
  // #region Constructors (1)
2793
2845
  constructor(data) {
2846
+ super(data);
2794
2847
  if (data) {
2795
2848
  for (let key in data) {
2796
2849
  if (data.hasOwnProperty(key) && key in this) {
@@ -2801,10 +2854,52 @@ class OrderPaymentPixEntity {
2801
2854
  }
2802
2855
  }
2803
2856
 
2804
- class OrderPaymentWalletEntity {
2805
- // #region Properties (1)
2806
- name = '';
2807
- // #endregion Properties (1)
2857
+ var NotificationActionTypeEnum;
2858
+ (function (NotificationActionTypeEnum) {
2859
+ NotificationActionTypeEnum["URL"] = "url";
2860
+ NotificationActionTypeEnum["FUNCTION"] = "function";
2861
+ NotificationActionTypeEnum["CUSTOM"] = "custom";
2862
+ })(NotificationActionTypeEnum || (NotificationActionTypeEnum = {}));
2863
+
2864
+ var NotificationCategoryEnum;
2865
+ (function (NotificationCategoryEnum) {
2866
+ NotificationCategoryEnum["INVITE"] = "invite";
2867
+ NotificationCategoryEnum["DEVICE"] = "device";
2868
+ NotificationCategoryEnum["LEAD"] = "lead";
2869
+ NotificationCategoryEnum["TASK"] = "task";
2870
+ NotificationCategoryEnum["MEETING"] = "meeting";
2871
+ NotificationCategoryEnum["ALERT"] = "alert";
2872
+ NotificationCategoryEnum["INFO"] = "info";
2873
+ NotificationCategoryEnum["DANGER"] = "danger";
2874
+ NotificationCategoryEnum["WARN"] = "warning";
2875
+ NotificationCategoryEnum["UPDATE"] = "update";
2876
+ NotificationCategoryEnum["OTHER"] = "other";
2877
+ })(NotificationCategoryEnum || (NotificationCategoryEnum = {}));
2878
+
2879
+ var NotificationPriorityEnum;
2880
+ (function (NotificationPriorityEnum) {
2881
+ NotificationPriorityEnum["LOW"] = "low";
2882
+ NotificationPriorityEnum["MEDIUM"] = "medium";
2883
+ NotificationPriorityEnum["HIGH"] = "high";
2884
+ NotificationPriorityEnum["URGENT"] = "urgent";
2885
+ })(NotificationPriorityEnum || (NotificationPriorityEnum = {}));
2886
+
2887
+ var NotificationStatusEnum;
2888
+ (function (NotificationStatusEnum) {
2889
+ NotificationStatusEnum["DELIVERED"] = "delivered";
2890
+ NotificationStatusEnum["READ"] = "read";
2891
+ NotificationStatusEnum["FAILED"] = "failed";
2892
+ NotificationStatusEnum["PLACED"] = "placed";
2893
+ NotificationStatusEnum["SENT"] = "sent";
2894
+ })(NotificationStatusEnum || (NotificationStatusEnum = {}));
2895
+
2896
+ class NotificationActionEntity {
2897
+ // #region Properties (4)
2898
+ icon = '';
2899
+ label = '';
2900
+ type = NotificationActionTypeEnum.URL;
2901
+ value = '';
2902
+ // #endregion Properties (4)
2808
2903
  // #region Constructors (1)
2809
2904
  constructor(data) {
2810
2905
  if (data) {
@@ -2817,11 +2912,22 @@ class OrderPaymentWalletEntity {
2817
2912
  }
2818
2913
  }
2819
2914
 
2820
- class OrderScaleItemEntity {
2821
- // #region Properties (2)
2822
- minQuantity = 0;
2823
- price = 0;
2824
- // #endregion Properties (2)
2915
+ class NotificationEntity {
2916
+ // #region Properties (13)
2917
+ action = new NotificationActionEntity();
2918
+ category = NotificationCategoryEnum.ALERT;
2919
+ createdAt = new Date();
2920
+ data = '';
2921
+ description = '';
2922
+ expirationTime = 3600;
2923
+ id = '';
2924
+ imageUrl = '';
2925
+ priority = NotificationPriorityEnum.HIGH;
2926
+ sound = true;
2927
+ status = NotificationStatusEnum.DELIVERED;
2928
+ title = '';
2929
+ topicName = '';
2930
+ // #endregion Properties (13)
2825
2931
  // #region Constructors (1)
2826
2932
  constructor(data) {
2827
2933
  if (data) {
@@ -2913,7 +3019,7 @@ class PlanEntity {
2913
3019
  index = 0;
2914
3020
  identifier = EPlanIdentifier.NATIGO;
2915
3021
  interval = 12;
2916
- intervalType = IntervalTypeEnum.MONTHS;
3022
+ intervalType = EIntervalType.MONTHS;
2917
3023
  name = '';
2918
3024
  price = 0;
2919
3025
  updatedAt = new Date();
@@ -2978,7 +3084,7 @@ class PurchaseEntity extends OrderEntity {
2978
3084
  additionalNotes = '';
2979
3085
  appInfo = new AppInfoEntity();
2980
3086
  deviceUid = '';
2981
- providerName = PaymentProviderEnum.IUGU;
3087
+ providerName = EPaymentProvider.IUGU;
2982
3088
  // #endregion Properties (4)
2983
3089
  // #region Constructors (1)
2984
3090
  constructor(data) {
@@ -3154,7 +3260,7 @@ class SubscriptionCompanyEntity extends SubscriptionBaseEntity {
3154
3260
  // #region Properties (7)
3155
3261
  appId = '';
3156
3262
  appName = '';
3157
- company = new SubscriptionCompanyEntity();
3263
+ company = new SubscriptionCompanyCompanyEntity();
3158
3264
  features = [];
3159
3265
  partnerId = '';
3160
3266
  planId = '';
@@ -3306,5 +3412,5 @@ class VoucherEntity {
3306
3412
  * Generated bundle index. Do not edit.
3307
3413
  */
3308
3414
 
3309
- export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BooleanStringEnum, CampaignEntity, CarouselImageEntity, ClientAplicationCredentialEntity, ClientAplicationEntity, ClientEntity, CompanyEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, CustomerEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, ECampaignStatus, ECompanyKeys, ECompanyMessageType, ECustomerInterval, ECustomerStatus, EDiscountType, EDocType, EFiscalDocModelCode, EInstallationStatus, EInvoiceStatus, EPaymentType, EPlanFeatureType, EPlanIdentifier, EPubSubTopicType, ESponsorshipValues, ESubscriptionStatus, EVoucherStatus, FeatureEntity, GlobalSettingEntity, GlobalSettingIuguEntity, GlobalSettingMasterEntity, InstallationEntity, IntervalTypeEnum, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguChargeCreditCardEntity, IuguCustomerEntity, IuguInvoiceBankSlipEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LastVerificationRequestDataEntity, LeadEntity, LeadOriginEnum, LeadStatusEnum, LegalEntiyEnum, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, NatiGoEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, OsEnum, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentChannelEnum, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentModeEnum, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentProviderEnum, PaymentStatusEnum, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PlanEntity, PlanFeatureEntity, PlatfomrEnum, PubsubSubscriptionChangeStatusEntity, PurchaseEntity, RabbitEntity, RatingEntity, ResumeCollectionEntity, ResumeDayEntity, ResumeEntity, ResumeHourEntity, ResumeMonthEntity, ResumeTotalEntity, ResumeYearEntity, SponsorshipValueEntity, SubscriptionBaseEntity, SubscriptionBaseItemEntity, SubscriptionBaseLogEntity, SubscriptionCompanyCompanyEntity, SubscriptionCompanyEntity, SubscriptionCustomerCustomerEntity, SubscriptionCustomerEntity, TokenEntity, VoucherEntity };
3415
+ export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BillingEntity, BillingOrderEntity, BillingPaymentEntity, BillingTotalEntity, CampaignEntity, CarouselImageEntity, ClientAplicationCredentialEntity, ClientAplicationEntity, ClientEntity, CompanyEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, CustomerEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, EBillingStatus, EBooleanString, ECampaignStatus, ECompanyKeys, ECompanyMessageType, ECustomerInterval, ECustomerStatus, EDiscountType, EDocType, EFiscalDocModelCode, EInstallationStatus, EIntervalType, EInvoiceStatus, ELeadOrigin, ELegalEntiy, EOs, EPaymentChannel, EPaymentMode, EPaymentProvider, EPaymentStatus, EPaymentType, EPlanFeatureType, EPlanIdentifier, EPlatfomr, EPubSub, EPubSubTopicType, ESponsorshipValues, ESubscriptionStatus, EVoucherStatus, FeatureEntity, GlobalSettingEntity, GlobalSettingIuguEntity, GlobalSettingMasterEntity, InstallationEntity, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguChargeCreditCardEntity, IuguCustomerEntity, IuguInvoiceBankSlipEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LastVerificationRequestDataEntity, LeadEntity, LeadStatusEnum, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, NatiGoEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PlanEntity, PlanFeatureEntity, PubsubSubscriptionChangeStatusEntity, PurchaseEntity, RabbitEntity, RatingEntity, ResumeCollectionEntity, ResumeDayEntity, ResumeEntity, ResumeHourEntity, ResumeMonthEntity, ResumeTotalEntity, ResumeYearEntity, SponsorshipValueEntity, SubscriptionBaseEntity, SubscriptionBaseItemEntity, SubscriptionBaseLogEntity, SubscriptionCompanyCompanyEntity, SubscriptionCompanyEntity, SubscriptionCustomerCustomerEntity, SubscriptionCustomerEntity, TokenEntity, VoucherEntity };
3310
3416
  //# sourceMappingURL=cecon-interfaces.mjs.map