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.
- package/dist/app/entities/app.entity.d.ts +2 -2
- package/dist/app/interfaces/i-app.d.ts +2 -2
- package/dist/billing/entities/billing-payment.entity.d.ts +1 -1
- package/dist/billing/entities/billing-payment.entity.js +1 -1
- package/dist/billing/interfaces/i-billing-payment.d.ts +1 -1
- package/dist/customer/entities/customer.entity.d.ts +2 -1
- package/dist/customer/entities/customer.entity.js +1 -0
- package/dist/customer/enums/index.d.ts +1 -0
- package/dist/customer/enums/index.js +3 -1
- package/dist/customer/enums/type.enum.d.ts +4 -0
- package/dist/customer/enums/type.enum.js +8 -0
- package/dist/customer/interfaces/i-customer.d.ts +2 -1
- package/dist/customer-member/entities/index.d.ts +1 -0
- package/dist/customer-member/entities/index.js +5 -0
- package/dist/customer-member/entities/member.entity.d.ts +5 -0
- package/dist/customer-member/entities/member.entity.js +38 -0
- package/dist/customer-member/index.d.ts +2 -0
- package/dist/customer-member/index.js +18 -0
- package/dist/customer-member/interfaces/i-member.d.ts +3 -0
- package/dist/customer-member/interfaces/i-member.js +2 -0
- package/dist/customer-member/interfaces/index.d.ts +1 -0
- package/dist/customer-member/interfaces/index.js +2 -0
- package/dist/esm2022/app/entities/app.entity.mjs +1 -1
- package/dist/esm2022/app/interfaces/i-app.mjs +1 -1
- package/dist/esm2022/billing/entities/billing-payment.entity.mjs +2 -2
- package/dist/esm2022/billing/interfaces/i-billing-payment.mjs +1 -1
- package/dist/esm2022/customer/entities/customer.entity.mjs +3 -2
- package/dist/esm2022/customer/enums/index.mjs +2 -1
- package/dist/esm2022/customer/enums/type.enum.mjs +6 -0
- package/dist/esm2022/customer/interfaces/i-customer.mjs +1 -1
- package/dist/esm2022/customer-member/entities/index.mjs +2 -0
- package/dist/esm2022/customer-member/entities/member.entity.mjs +17 -0
- package/dist/esm2022/customer-member/index.mjs +3 -0
- package/dist/esm2022/customer-member/interfaces/i-member.mjs +2 -0
- package/dist/esm2022/customer-member/interfaces/index.mjs +2 -0
- package/dist/esm2022/general/enums/index.mjs +2 -2
- package/dist/esm2022/general/enums/platform.enum.mjs +11 -11
- package/dist/esm2022/index.mjs +2 -1
- package/dist/esm2022/invite/entities/invite.entity.mjs +4 -3
- package/dist/esm2022/invite/interfaces/i-invite.mjs +1 -1
- package/dist/esm2022/member/enums/member-type.enum.mjs +2 -1
- package/dist/fesm2022/cecon-interfaces.mjs +86 -61
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/enums/index.d.ts +1 -1
- package/dist/general/enums/index.js +2 -2
- package/dist/general/enums/platform.enum.d.ts +1 -1
- package/dist/general/enums/platform.enum.js +11 -11
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/invite/entities/invite.entity.d.ts +1 -0
- package/dist/invite/entities/invite.entity.js +3 -2
- package/dist/invite/interfaces/i-invite.d.ts +4 -3
- package/dist/member/enums/member-type.enum.d.ts +2 -1
- package/dist/member/enums/member-type.enum.js +1 -0
- package/dist/package.json +1 -1
- 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
|
604
|
-
(function (
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
})(
|
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
|
-
|
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 (
|
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 (
|
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,
|
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
|