cecon-interfaces 1.1.70 → 1.1.74
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/fesm2022/cecon-interfaces.mjs +85 -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/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,69 @@ 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 || (MemberTypeEnum = {}));
|
1584
|
+
|
1585
|
+
class MemberEntity extends BaseEntity {
|
1586
|
+
// #region Properties (13)
|
1587
|
+
active = true;
|
1588
|
+
companyName = '';
|
1589
|
+
containerName = '';
|
1590
|
+
email = '';
|
1591
|
+
name = '';
|
1592
|
+
partnerId = '';
|
1593
|
+
phoneNumber = '';
|
1594
|
+
photoUrl = '';
|
1595
|
+
rule = MemberRulesEnum.USER;
|
1596
|
+
tags = [];
|
1597
|
+
type = MemberTypeEnum.CLIENT;
|
1598
|
+
uid = '';
|
1599
|
+
// #endregion Properties (13)
|
1600
|
+
// #region Constructors (1)
|
1601
|
+
constructor(data) {
|
1602
|
+
super(data);
|
1603
|
+
if (data) {
|
1604
|
+
for (let key in data) {
|
1605
|
+
if (data.hasOwnProperty(key) && key in this) {
|
1606
|
+
this[key] = data[key];
|
1607
|
+
}
|
1608
|
+
}
|
1609
|
+
}
|
1610
|
+
}
|
1611
|
+
}
|
1612
|
+
|
1613
|
+
class CustomerMemberEntity extends MemberEntity {
|
1614
|
+
// #region Properties (13)
|
1615
|
+
// #endregion Properties (13)
|
1616
|
+
// #region Constructors (1)
|
1617
|
+
constructor(data) {
|
1618
|
+
super(data);
|
1619
|
+
if (data) {
|
1620
|
+
for (let key in data) {
|
1621
|
+
if (data.hasOwnProperty(key) && key in this) {
|
1622
|
+
this[key] = data[key];
|
1623
|
+
}
|
1624
|
+
}
|
1625
|
+
}
|
1626
|
+
}
|
1627
|
+
}
|
1628
|
+
|
1559
1629
|
class DeviceEntity {
|
1560
1630
|
// #region Properties (14)
|
1561
1631
|
active = false;
|
@@ -1898,11 +1968,12 @@ var InviteStatusEnum;
|
|
1898
1968
|
})(InviteStatusEnum || (InviteStatusEnum = {}));
|
1899
1969
|
|
1900
1970
|
class InviteEntity {
|
1901
|
-
// #region Properties (
|
1971
|
+
// #region Properties (18)
|
1902
1972
|
companyId = '';
|
1903
1973
|
companyName = '';
|
1904
1974
|
containerId = '';
|
1905
1975
|
createdAt = new Date();
|
1976
|
+
customerId = '';
|
1906
1977
|
doc = '';
|
1907
1978
|
docType = EDocType.CNPJ;
|
1908
1979
|
email = '';
|
@@ -1916,7 +1987,7 @@ class InviteEntity {
|
|
1916
1987
|
status = InviteStatusEnum.PENDING;
|
1917
1988
|
uid = '';
|
1918
1989
|
updatedAt = new Date();
|
1919
|
-
// #endregion Properties (
|
1990
|
+
// #endregion Properties (18)
|
1920
1991
|
// #region Constructors (1)
|
1921
1992
|
constructor(data) {
|
1922
1993
|
if (data) {
|
@@ -2807,53 +2878,6 @@ class LeadEntity {
|
|
2807
2878
|
}
|
2808
2879
|
}
|
2809
2880
|
|
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
2881
|
var NotificationActionTypeEnum;
|
2858
2882
|
(function (NotificationActionTypeEnum) {
|
2859
2883
|
NotificationActionTypeEnum["URL"] = "url";
|
@@ -3412,5 +3436,5 @@ class VoucherEntity {
|
|
3412
3436
|
* Generated bundle index. Do not edit.
|
3413
3437
|
*/
|
3414
3438
|
|
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,
|
3439
|
+
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
3440
|
//# sourceMappingURL=cecon-interfaces.mjs.map
|