cecon-interfaces 1.1.70 → 1.1.75

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. package/dist/app/entities/app.entity.d.ts +2 -2
  2. package/dist/app/interfaces/i-app.d.ts +2 -2
  3. package/dist/billing/entities/billing-payment.entity.d.ts +1 -1
  4. package/dist/billing/entities/billing-payment.entity.js +1 -1
  5. package/dist/billing/interfaces/i-billing-payment.d.ts +1 -1
  6. package/dist/customer/entities/customer.entity.d.ts +2 -1
  7. package/dist/customer/entities/customer.entity.js +1 -0
  8. package/dist/customer/enums/index.d.ts +1 -0
  9. package/dist/customer/enums/index.js +3 -1
  10. package/dist/customer/enums/type.enum.d.ts +4 -0
  11. package/dist/customer/enums/type.enum.js +8 -0
  12. package/dist/customer/interfaces/i-customer.d.ts +2 -1
  13. package/dist/customer-member/entities/index.d.ts +1 -0
  14. package/dist/customer-member/entities/index.js +5 -0
  15. package/dist/customer-member/entities/member.entity.d.ts +5 -0
  16. package/dist/customer-member/entities/member.entity.js +38 -0
  17. package/dist/customer-member/index.d.ts +2 -0
  18. package/dist/customer-member/index.js +18 -0
  19. package/dist/customer-member/interfaces/i-member.d.ts +3 -0
  20. package/dist/customer-member/interfaces/i-member.js +2 -0
  21. package/dist/customer-member/interfaces/index.d.ts +1 -0
  22. package/dist/customer-member/interfaces/index.js +2 -0
  23. package/dist/esm2022/app/entities/app.entity.mjs +1 -1
  24. package/dist/esm2022/app/interfaces/i-app.mjs +1 -1
  25. package/dist/esm2022/billing/entities/billing-payment.entity.mjs +2 -2
  26. package/dist/esm2022/billing/interfaces/i-billing-payment.mjs +1 -1
  27. package/dist/esm2022/customer/entities/customer.entity.mjs +3 -2
  28. package/dist/esm2022/customer/enums/index.mjs +2 -1
  29. package/dist/esm2022/customer/enums/type.enum.mjs +6 -0
  30. package/dist/esm2022/customer/interfaces/i-customer.mjs +1 -1
  31. package/dist/esm2022/customer-member/entities/index.mjs +2 -0
  32. package/dist/esm2022/customer-member/entities/member.entity.mjs +17 -0
  33. package/dist/esm2022/customer-member/index.mjs +3 -0
  34. package/dist/esm2022/customer-member/interfaces/i-member.mjs +2 -0
  35. package/dist/esm2022/customer-member/interfaces/index.mjs +2 -0
  36. package/dist/esm2022/general/enums/index.mjs +2 -2
  37. package/dist/esm2022/general/enums/platform.enum.mjs +11 -11
  38. package/dist/esm2022/index.mjs +2 -1
  39. package/dist/esm2022/invite/entities/invite.entity.mjs +4 -3
  40. package/dist/esm2022/invite/interfaces/i-invite.mjs +1 -1
  41. package/dist/esm2022/member/enums/member-type.enum.mjs +2 -1
  42. package/dist/fesm2022/cecon-interfaces.mjs +86 -61
  43. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  44. package/dist/general/enums/index.d.ts +1 -1
  45. package/dist/general/enums/index.js +2 -2
  46. package/dist/general/enums/platform.enum.d.ts +1 -1
  47. package/dist/general/enums/platform.enum.js +11 -11
  48. package/dist/index.d.ts +1 -0
  49. package/dist/index.js +1 -0
  50. package/dist/invite/entities/invite.entity.d.ts +1 -0
  51. package/dist/invite/entities/invite.entity.js +3 -2
  52. package/dist/invite/interfaces/i-invite.d.ts +4 -3
  53. package/dist/member/enums/member-type.enum.d.ts +2 -1
  54. package/dist/member/enums/member-type.enum.js +1 -0
  55. package/dist/package.json +1 -1
  56. package/package.json +1 -1
@@ -600,16 +600,16 @@ var ELegalEntiy;
600
600
  ELegalEntiy["INDIVIDUAL"] = "Pessoa F\u00EDsica";
601
601
  })(ELegalEntiy || (ELegalEntiy = {}));
602
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 = {}));
603
+ var EPlatform;
604
+ (function (EPlatform) {
605
+ EPlatform["MOBILE"] = "Mobile";
606
+ EPlatform["WEB"] = "Web";
607
+ EPlatform["DESKTOP"] = "Desktop";
608
+ EPlatform["TABLET"] = "Tablet";
609
+ EPlatform["TV"] = "Tv";
610
+ EPlatform["CHROMEBOOK"] = "Chromebook";
611
+ EPlatform["OTHER"] = "Other";
612
+ })(EPlatform || (EPlatform = {}));
613
613
 
614
614
  var EPaymentProvider;
615
615
  (function (EPaymentProvider) {
@@ -827,7 +827,7 @@ class BillingPaymentEntity {
827
827
  company = {};
828
828
  discount = 0;
829
829
  id = '';
830
- paymentReceipt = '';
830
+ paymentReceiptUrl = '';
831
831
  paymentType = EPaymentType.NONE;
832
832
  status = EPaymentStatus.PENDING;
833
833
  subtotal = 0;
@@ -1521,6 +1521,12 @@ var ECustomerStatus;
1521
1521
  ECustomerStatus["WAITING_CREDIT_ANALYSIS"] = "WAITING_CREDIT_ANALYSIS";
1522
1522
  })(ECustomerStatus || (ECustomerStatus = {}));
1523
1523
 
1524
+ var ECustomerType;
1525
+ (function (ECustomerType) {
1526
+ ECustomerType["SINGLE"] = "SINGLE";
1527
+ ECustomerType["COMPOUND"] = "COMPOUND";
1528
+ })(ECustomerType || (ECustomerType = {}));
1529
+
1524
1530
  class CustomerEntity {
1525
1531
  // #region Properties (20)
1526
1532
  address = new AddressEntity();
@@ -1542,6 +1548,7 @@ class CustomerEntity {
1542
1548
  sandbox = false;
1543
1549
  status = ECustomerStatus.WAITING_CREDIT_ANALYSIS;
1544
1550
  tags = [];
1551
+ type = ECustomerType.SINGLE;
1545
1552
  updatedAt = new Date();
1546
1553
  // #endregion Properties (20)
1547
1554
  // #region Constructors (1)
@@ -1556,6 +1563,70 @@ class CustomerEntity {
1556
1563
  }
1557
1564
  }
1558
1565
 
1566
+ var MemberRulesEnum;
1567
+ (function (MemberRulesEnum) {
1568
+ MemberRulesEnum["ADMIN"] = "ADMIN";
1569
+ MemberRulesEnum["USER"] = "USER";
1570
+ MemberRulesEnum["OWNER"] = "OWNER";
1571
+ MemberRulesEnum["SUPPORT"] = "SUPPORT";
1572
+ MemberRulesEnum["PARTNER"] = "PARTNER";
1573
+ MemberRulesEnum["FINANCE"] = "FINANCE";
1574
+ MemberRulesEnum["MARKETING"] = "MARKETING";
1575
+ MemberRulesEnum["SALES"] = "SALES";
1576
+ })(MemberRulesEnum || (MemberRulesEnum = {}));
1577
+
1578
+ var MemberTypeEnum;
1579
+ (function (MemberTypeEnum) {
1580
+ MemberTypeEnum["PARTNER"] = "PARTNER";
1581
+ MemberTypeEnum["ADMIN"] = "ADMIN";
1582
+ MemberTypeEnum["CLIENT"] = "CLIENT";
1583
+ MemberTypeEnum["CUSTOMER"] = "CUSTOMER";
1584
+ })(MemberTypeEnum || (MemberTypeEnum = {}));
1585
+
1586
+ class MemberEntity extends BaseEntity {
1587
+ // #region Properties (13)
1588
+ active = true;
1589
+ companyName = '';
1590
+ containerName = '';
1591
+ email = '';
1592
+ name = '';
1593
+ partnerId = '';
1594
+ phoneNumber = '';
1595
+ photoUrl = '';
1596
+ rule = MemberRulesEnum.USER;
1597
+ tags = [];
1598
+ type = MemberTypeEnum.CLIENT;
1599
+ uid = '';
1600
+ // #endregion Properties (13)
1601
+ // #region Constructors (1)
1602
+ constructor(data) {
1603
+ super(data);
1604
+ if (data) {
1605
+ for (let key in data) {
1606
+ if (data.hasOwnProperty(key) && key in this) {
1607
+ this[key] = data[key];
1608
+ }
1609
+ }
1610
+ }
1611
+ }
1612
+ }
1613
+
1614
+ class CustomerMemberEntity extends MemberEntity {
1615
+ // #region Properties (13)
1616
+ // #endregion Properties (13)
1617
+ // #region Constructors (1)
1618
+ constructor(data) {
1619
+ super(data);
1620
+ if (data) {
1621
+ for (let key in data) {
1622
+ if (data.hasOwnProperty(key) && key in this) {
1623
+ this[key] = data[key];
1624
+ }
1625
+ }
1626
+ }
1627
+ }
1628
+ }
1629
+
1559
1630
  class DeviceEntity {
1560
1631
  // #region Properties (14)
1561
1632
  active = false;
@@ -1898,11 +1969,12 @@ var InviteStatusEnum;
1898
1969
  })(InviteStatusEnum || (InviteStatusEnum = {}));
1899
1970
 
1900
1971
  class InviteEntity {
1901
- // #region Properties (17)
1972
+ // #region Properties (18)
1902
1973
  companyId = '';
1903
1974
  companyName = '';
1904
1975
  containerId = '';
1905
1976
  createdAt = new Date();
1977
+ customerId = '';
1906
1978
  doc = '';
1907
1979
  docType = EDocType.CNPJ;
1908
1980
  email = '';
@@ -1916,7 +1988,7 @@ class InviteEntity {
1916
1988
  status = InviteStatusEnum.PENDING;
1917
1989
  uid = '';
1918
1990
  updatedAt = new Date();
1919
- // #endregion Properties (17)
1991
+ // #endregion Properties (18)
1920
1992
  // #region Constructors (1)
1921
1993
  constructor(data) {
1922
1994
  if (data) {
@@ -2807,53 +2879,6 @@ class LeadEntity {
2807
2879
  }
2808
2880
  }
2809
2881
 
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)
2844
- // #region Constructors (1)
2845
- constructor(data) {
2846
- super(data);
2847
- if (data) {
2848
- for (let key in data) {
2849
- if (data.hasOwnProperty(key) && key in this) {
2850
- this[key] = data[key];
2851
- }
2852
- }
2853
- }
2854
- }
2855
- }
2856
-
2857
2882
  var NotificationActionTypeEnum;
2858
2883
  (function (NotificationActionTypeEnum) {
2859
2884
  NotificationActionTypeEnum["URL"] = "url";
@@ -3412,5 +3437,5 @@ class VoucherEntity {
3412
3437
  * Generated bundle index. Do not edit.
3413
3438
  */
3414
3439
 
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 };
3440
+ export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BillingEntity, BillingOrderEntity, BillingPaymentEntity, BillingTotalEntity, CampaignEntity, CarouselImageEntity, ClientAplicationCredentialEntity, ClientAplicationEntity, ClientEntity, CompanyEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, CustomerEntity, CustomerMemberEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, EBillingStatus, EBooleanString, ECampaignStatus, ECompanyKeys, ECompanyMessageType, ECustomerInterval, ECustomerStatus, ECustomerType, EDiscountType, EDocType, EFiscalDocModelCode, EInstallationStatus, EIntervalType, EInvoiceStatus, ELeadOrigin, ELegalEntiy, EOs, EPaymentChannel, EPaymentMode, EPaymentProvider, EPaymentStatus, EPaymentType, EPlanFeatureType, EPlanIdentifier, EPlatform, 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 };
3416
3441
  //# sourceMappingURL=cecon-interfaces.mjs.map