cecon-interfaces 1.4.22 → 1.4.23
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/campaign/entities/campaign-rule.entity.d.ts +8 -0
- package/dist/campaign/entities/campaign-rule.entity.js +21 -0
- package/dist/campaign/entities/campaign-sponsorship.entity.d.ts +6 -0
- package/dist/campaign/entities/campaign-sponsorship.entity.js +19 -0
- package/dist/campaign/entities/campaign.entity.d.ts +16 -7
- package/dist/campaign/entities/campaign.entity.js +15 -8
- package/dist/campaign/entities/index.d.ts +2 -0
- package/dist/campaign/entities/index.js +5 -1
- package/dist/campaign/enums/e-campaign-status.enum.d.ts +0 -1
- package/dist/campaign/enums/e-campaign-status.enum.js +0 -1
- package/dist/campaign/enums/index.d.ts +2 -0
- package/dist/campaign/enums/index.js +5 -1
- package/dist/campaign/enums/rule-types.enum.d.ts +13 -0
- package/dist/campaign/enums/rule-types.enum.js +17 -0
- package/dist/campaign/enums/target-types.enum.d.ts +6 -0
- package/dist/campaign/enums/target-types.enum.js +10 -0
- package/dist/campaign/interfaces/i-campaign-rule.d.ts +7 -0
- package/dist/campaign/interfaces/i-campaign-rule.js +2 -0
- package/dist/campaign/interfaces/i-campaign-sponsorship.d.ts +4 -0
- package/dist/campaign/interfaces/i-campaign-sponsorship.js +2 -0
- package/dist/campaign/interfaces/i-campaign.d.ts +17 -5
- package/dist/campaign/interfaces/index.d.ts +2 -0
- package/dist/esm2022/campaign/entities/campaign-rule.entity.mjs +17 -0
- package/dist/esm2022/campaign/entities/campaign-sponsorship.entity.mjs +15 -0
- package/dist/esm2022/campaign/entities/campaign.entity.mjs +17 -10
- package/dist/esm2022/campaign/entities/index.mjs +3 -1
- package/dist/esm2022/campaign/enums/e-campaign-status.enum.mjs +1 -2
- package/dist/esm2022/campaign/enums/index.mjs +3 -1
- package/dist/esm2022/campaign/enums/rule-types.enum.mjs +15 -0
- package/dist/esm2022/campaign/enums/target-types.enum.mjs +8 -0
- package/dist/esm2022/campaign/interfaces/i-campaign-rule.mjs +2 -0
- package/dist/esm2022/campaign/interfaces/i-campaign-sponsorship.mjs +2 -0
- package/dist/esm2022/campaign/interfaces/i-campaign.mjs +1 -1
- package/dist/esm2022/campaign/interfaces/index.mjs +1 -1
- package/dist/esm2022/mobyo/mobyo-api/interfaces/i-menu-schedule-v2.mjs +1 -1
- package/dist/esm2022/wa-server/enums/index.mjs +1 -2
- package/dist/fesm2022/cecon-interfaces.mjs +69 -29
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/mobyo/mobyo-api/interfaces/i-menu-schedule-v2.d.ts +2 -2
- package/dist/package.json +1 -1
- package/dist/wa-server/enums/index.d.ts +0 -1
- package/dist/wa-server/enums/index.js +1 -3
- package/package.json +1 -1
- package/dist/esm2022/wa-server/enums/handler-message.enum.mjs +0 -19
- package/dist/wa-server/enums/handler-message.enum.d.ts +0 -17
- package/dist/wa-server/enums/handler-message.enum.js +0 -21
@@ -1882,26 +1882,85 @@ class BillingOrderEntity extends OrderEntity {
|
|
1882
1882
|
var ECampaignStatus;
|
1883
1883
|
(function (ECampaignStatus) {
|
1884
1884
|
ECampaignStatus["ACTIVE"] = "ACTIVE";
|
1885
|
-
ECampaignStatus["EXPIRED"] = "EXPIRED";
|
1886
1885
|
ECampaignStatus["PLACED"] = "PLACED";
|
1887
1886
|
ECampaignStatus["PAUSED"] = "PAUSED";
|
1888
1887
|
ECampaignStatus["CONCLUDED"] = "CONCLUDED";
|
1889
1888
|
})(ECampaignStatus || (ECampaignStatus = {}));
|
1890
1889
|
|
1890
|
+
var ECampaignRuleType$1;
|
1891
|
+
(function (ECampaignRuleType) {
|
1892
|
+
ECampaignRuleType["FIRST_BUY"] = "FIRST_BUY";
|
1893
|
+
ECampaignRuleType["BIRTHDAY"] = "BIRTHDAY";
|
1894
|
+
ECampaignRuleType["ONE_BY_USER"] = "ONE_BY_USER";
|
1895
|
+
ECampaignRuleType["ONE_BY_DAY"] = "ONE_BY_DAY";
|
1896
|
+
ECampaignRuleType["IN_PAYMENT_ID"] = "IN_PAYMENT_ID";
|
1897
|
+
ECampaignRuleType["MIN_VALUE"] = "MIN_VALUE";
|
1898
|
+
ECampaignRuleType["EXCLUSIVE"] = "EXCLUSIVE";
|
1899
|
+
ECampaignRuleType["SHIFT_START_AT"] = "SHIFT_START_AT";
|
1900
|
+
ECampaignRuleType["SHIFT_END_AT"] = "SHIFT_END_AT";
|
1901
|
+
ECampaignRuleType["START_AT"] = "START_AT";
|
1902
|
+
ECampaignRuleType["END_AT"] = "END_AT";
|
1903
|
+
})(ECampaignRuleType$1 || (ECampaignRuleType$1 = {}));
|
1904
|
+
|
1905
|
+
var ECampaignTargetTypes;
|
1906
|
+
(function (ECampaignTargetTypes) {
|
1907
|
+
ECampaignTargetTypes["CART"] = "CART";
|
1908
|
+
ECampaignTargetTypes["DELIVERY_FEE"] = "DELIVERY_FEE";
|
1909
|
+
ECampaignTargetTypes["ITEMS"] = "ITEMS";
|
1910
|
+
ECampaignTargetTypes["CATEGORY"] = "CATEGORY";
|
1911
|
+
})(ECampaignTargetTypes || (ECampaignTargetTypes = {}));
|
1912
|
+
|
1891
1913
|
class CampaignEntity {
|
1892
1914
|
// #region Properties (10)
|
1915
|
+
info = new MobyoInfoEntity();
|
1916
|
+
concludedAt = new Date();
|
1893
1917
|
createdAt = new Date();
|
1894
|
-
createdBy = '';
|
1895
|
-
description = '';
|
1896
|
-
endDate = new Date(Date.now() + 1000 * 60 * 60 * 24 * 30);
|
1897
1918
|
id = '';
|
1919
|
+
isPublic = false;
|
1920
|
+
key = '';
|
1898
1921
|
name = '';
|
1899
|
-
|
1900
|
-
|
1901
|
-
|
1922
|
+
activatedAt = new Date();
|
1923
|
+
rules = [];
|
1924
|
+
type = EDiscountType.PERCENT;
|
1925
|
+
amount = 0;
|
1926
|
+
sponsorship = [];
|
1927
|
+
status = ECampaignStatus.ACTIVE;
|
1928
|
+
targetsId = [];
|
1929
|
+
targetType = ECampaignTargetTypes.CART;
|
1902
1930
|
updatedAt = new Date();
|
1903
|
-
|
1904
|
-
|
1931
|
+
limit = 0;
|
1932
|
+
isExclusive = false;
|
1933
|
+
constructor(data) {
|
1934
|
+
if (data) {
|
1935
|
+
for (let key in data) {
|
1936
|
+
if (data.hasOwnProperty(key) && key in this) {
|
1937
|
+
this[key] = data[key];
|
1938
|
+
}
|
1939
|
+
}
|
1940
|
+
}
|
1941
|
+
}
|
1942
|
+
}
|
1943
|
+
|
1944
|
+
class CampaignRuleEntity {
|
1945
|
+
// #region Properties (10)
|
1946
|
+
type = ECampaignRuleType$1.MIN_VALUE;
|
1947
|
+
value = 0;
|
1948
|
+
description = '';
|
1949
|
+
constructor(data) {
|
1950
|
+
if (data) {
|
1951
|
+
for (let key in data) {
|
1952
|
+
if (data.hasOwnProperty(key) && key in this) {
|
1953
|
+
this[key] = data[key];
|
1954
|
+
}
|
1955
|
+
}
|
1956
|
+
}
|
1957
|
+
}
|
1958
|
+
}
|
1959
|
+
|
1960
|
+
class CampaignSponsorshipEntity {
|
1961
|
+
// #region Properties (10)
|
1962
|
+
name = 'MERCHANT';
|
1963
|
+
value = 0;
|
1905
1964
|
constructor(data) {
|
1906
1965
|
if (data) {
|
1907
1966
|
for (let key in data) {
|
@@ -5859,25 +5918,6 @@ class VoucherEntity {
|
|
5859
5918
|
partnerId;
|
5860
5919
|
}
|
5861
5920
|
|
5862
|
-
var EWaServerHandlerMessage;
|
5863
|
-
(function (EWaServerHandlerMessage) {
|
5864
|
-
EWaServerHandlerMessage["WELCOME"] = "WELCOME";
|
5865
|
-
EWaServerHandlerMessage["ORDER_DISPATCHED"] = "ORDER_DISPATCHED";
|
5866
|
-
EWaServerHandlerMessage["SET_PIX"] = "SET_PIX";
|
5867
|
-
EWaServerHandlerMessage["CONFIRM_PAYMENT_PIX"] = "CONFIRM_PAYMENT_PIX";
|
5868
|
-
EWaServerHandlerMessage["ORDER_CANCELLED"] = "ORDER_CANCELLED";
|
5869
|
-
EWaServerHandlerMessage["ORDER_DELIVERED"] = "ORDER_DELIVERED";
|
5870
|
-
EWaServerHandlerMessage["ORDER_READY_TO_PICKUP"] = "ORDER_READY_TO_PICKUP";
|
5871
|
-
EWaServerHandlerMessage["ORDER_PLACED"] = "ORDER_PLACED";
|
5872
|
-
EWaServerHandlerMessage["ORDER_CONFIRMED"] = "ORDER_CONFIRMED";
|
5873
|
-
EWaServerHandlerMessage["CREATED_COMPANY"] = "CREATED_COMPANY";
|
5874
|
-
EWaServerHandlerMessage["SUBSCRIPTION_CREATED"] = "SUBSCRIPTION_CREATED";
|
5875
|
-
EWaServerHandlerMessage["SUBSCRIPTION_CANCELLED"] = "SUBSCRIPTION_CANCELLED";
|
5876
|
-
EWaServerHandlerMessage["SUBSCRIPTION_RENEWED"] = "SUBSCRIPTION_RENEWED";
|
5877
|
-
EWaServerHandlerMessage["SUBSCRIPTION_EXPIRED"] = "SUBSCRIPTION_EXPIRED";
|
5878
|
-
EWaServerHandlerMessage["SUBSCRIPTION_SUSPENDED"] = "SUBSCRIPTION_SUSPENDED";
|
5879
|
-
})(EWaServerHandlerMessage || (EWaServerHandlerMessage = {}));
|
5880
|
-
|
5881
5921
|
var EWaServerStatus;
|
5882
5922
|
(function (EWaServerStatus) {
|
5883
5923
|
EWaServerStatus["RUNNING"] = "RUNNING";
|
@@ -5946,5 +5986,5 @@ class WithDrawRequestEntity {
|
|
5946
5986
|
* Generated bundle index. Do not edit.
|
5947
5987
|
*/
|
5948
5988
|
|
5949
|
-
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BillingEntity, BillingOrderEntity, BillingPaymentEntity, BillingTotalEntity, CampaignEntity, CarouselImageEntity, ClientAplicationCredentialEntity, ClientAplicationEntity, ClientEntity, CompanyContactEntity, CompanyCustomDataEntity, CompanyEntity, CompanyRemoteAccessEntity, CompanySettingsEntity, CompanySettingsWaServerEntity, CompanyTrialPlansUsedEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, CustomerCreditLimitEntity, CustomerEntity, CustomerMemberEntity, CustomerMobyoEntity, DelivererMobyoEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DesenfilaConfigEntity, DesenfilaConfigMercadoPagoEntity, DesenfilaContainerOrderEntity, DesenfilaContainerOrderItemEntity, DesenfilaContainerOrderPaymentEntity, DesenfilaContainerOrderPixEntity, DesenfilaEntity, DesenfilaFeeEntity, DesenfilaInfoEntity, DesenfilaMerchantAddressEntity, DesenfilaMerchantEntity, DesenfilaMerchantV2PaymentProviderEntity, DesenfilaTokenEntity, DeviceEntity, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, EBillingStatus, EBooleanString, ECampaignStatus, ECompanyKeys, ECompanyMessageType, ECustomerInterval, ECustomerStatus, ECustomerType, EPaymentType as EDeprecatedPaymentType, EDesenfilaFrom, EDiscountType, EDocType, EEventMessage, EEvolutionEvent, EEvolutionInstanceType, EEvolutionIntegrationType, EFcmSkill, EFiscalDocModelCode, EInstallationStatus, EIntervalType, EInvoiceStatus, ELeadOrigin, ELegalEntiy, EMpStatus, EMpStatusDetail, EOperationType, EOrderDeliveryMode, EOrderStatus, EOrderTiming, EOrderType, EOs, EPaymentChannel, EPaymentMethodId, EPaymentMode, EPaymentProvider, EPaymentStatus, EPaymentType$1 as EPaymentType, EPaymentTypeId, EPlanFeatureType, EPlanIdentifier, EPlatform, EPubSub, EPubSubTopicType, EReleaseStatus, EResumeIntervalType, EResumeType, EOperationType as ESponsorIdentifier, ESponsorshipValues, ESubscriptionStatus, ETransactionStatus, EVoucherStatus,
|
5989
|
+
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BillingEntity, BillingOrderEntity, BillingPaymentEntity, BillingTotalEntity, CampaignEntity, CampaignRuleEntity, CampaignSponsorshipEntity, CarouselImageEntity, ClientAplicationCredentialEntity, ClientAplicationEntity, ClientEntity, CompanyContactEntity, CompanyCustomDataEntity, CompanyEntity, CompanyRemoteAccessEntity, CompanySettingsEntity, CompanySettingsWaServerEntity, CompanyTrialPlansUsedEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, CustomerCreditLimitEntity, CustomerEntity, CustomerMemberEntity, CustomerMobyoEntity, DelivererMobyoEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DesenfilaConfigEntity, DesenfilaConfigMercadoPagoEntity, DesenfilaContainerOrderEntity, DesenfilaContainerOrderItemEntity, DesenfilaContainerOrderPaymentEntity, DesenfilaContainerOrderPixEntity, DesenfilaEntity, DesenfilaFeeEntity, DesenfilaInfoEntity, DesenfilaMerchantAddressEntity, DesenfilaMerchantEntity, DesenfilaMerchantV2PaymentProviderEntity, DesenfilaTokenEntity, DeviceEntity, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, EBillingStatus, EBooleanString, ECampaignRuleType$1 as ECampaignRuleType, ECampaignStatus, ECampaignTargetTypes, ECompanyKeys, ECompanyMessageType, ECustomerInterval, ECustomerStatus, ECustomerType, EPaymentType as EDeprecatedPaymentType, EDesenfilaFrom, EDiscountType, EDocType, EEventMessage, EEvolutionEvent, EEvolutionInstanceType, EEvolutionIntegrationType, EFcmSkill, EFiscalDocModelCode, EInstallationStatus, EIntervalType, EInvoiceStatus, ELeadOrigin, ELegalEntiy, EMpStatus, EMpStatusDetail, EOperationType, EOrderDeliveryMode, EOrderStatus, EOrderTiming, EOrderType, EOs, EPaymentChannel, EPaymentMethodId, EPaymentMode, EPaymentProvider, EPaymentStatus, EPaymentType$1 as EPaymentType, EPaymentTypeId, EPlanFeatureType, EPlanIdentifier, EPlatform, EPubSub, EPubSubTopicType, EReleaseStatus, EResumeIntervalType, EResumeType, EOperationType as ESponsorIdentifier, ESponsorshipValues, ESubscriptionStatus, ETransactionStatus, EVoucherStatus, EWaServerStatus, EWithdrawRequestStatus, EventMessageEntity, EvolutionChatWootEntity, EvolutionDatabaseQueueEntity, EvolutionEntity, EvolutionHashEntity, EvolutionInstanceEntity, EvolutionMessageKeyResponseEntity, EvolutionMessageResponseEntity, EvolutionQrcodeEntity, EvolutionTypeBotEntity, EvolutionWebhookEntity, FcmDataReceivedDesenfilaPaymentEntity, FcmDataRequestItemsEntity, FcmTokenMessageEntity, FeatureEntity, FeeDetailEntity, EGtintype as GTINTypeEnum, GeneralResumeTotalEntity, GlobalSettingEntity, GlobalSettingIuguEntity, GlobalSettingMasterEntity, GlobalSettingNatiPayEntity, GlobalSettingTaxesEntity, InstallationAppEntity, InstallationEntity, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguChargeCreditCardEntity, IuguCustomerEntity, IuguInvoiceBankSlipEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LastVerificationRequestDataEntity, LeadEntity, LeadStatusEnum, LogsEntity, MasterEntity, MasterV1Entity, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, ECampaignRuleType as MobyoECampaignRuleType, ECompanyMessageChannel as MobyoECompanyMessageChannel, EDeviceAppMode as MobyoEDeviceAppMode, EDeviceAppStatus as MobyoEDeviceAppStatus, EDeviceCheckoutStatus as MobyoEDeviceCheckoutStatus, EDeviceCustomerName as MobyoEDeviceCustomerName, EDeviceMode as MobyoEDeviceMode, EDeviceScreenMode as MobyoEDeviceScreenMode, EDeviceTefType as MobyoEDeviceTefType, EEngineType as MobyoEEngineType, EIuguInvoicesStatus as MobyoEIuguInvoicesStatus, EMemberRules as MobyoEMemberRules, EOrderCancelReasons as MobyoEOrderCancelReasons, EOrderDeliveredBy as MobyoEOrderDeliveredBy, EOrderPaymentId as MobyoEOrderPaymentId, EOrderPaymentMethod as MobyoEOrderPaymentMethod, EOrderV3DeliveryMode as MobyoEOrderV3DeliveryMode, EOrderV3SalesChannel as MobyoEOrderV3SalesChannel, EOrderV3Status as MobyoEOrderV3Status, EOrderV3Timing as MobyoEOrderV3Timing, EOrderV3Type as MobyoEOrderV3Type, EPreferenceAutoReturn as MobyoEPreferenceAutoReturn, EPreparingStatus as MobyoEPreparingStatus, EProductHighlight as MobyoEProductHighlight, EProductSkillV2 as MobyoEProductSkillV2, EQuestionTypes as MobyoEQuestionTypes, ETopics as MobyoETopics, IEntity as MobyoIEntity, IPaymentMethod as MobyoIPaymentMethod, MobyoInfoEntity, MonitorEntity, MottuAddressEntity, MottuEventDeliveryManEntity, MottuEventEntity, MottuEventRequestedByEntity, MottuOrderDelivererEntity, MottuOrderDeliveryManEntity, MottuOrderEntity, MottuOrderPreviewEntity, MottuOrderStoreEntity, MottuStoreEntity, MottuStoreMatrixEntity, MottuStoreResponsibleEntity, NatiGoEntity, NatiInfoEntity, NatiV1CartDesenfilaEntity, NatiV1CartEntity, NatiV1CartItemEntity, NatiWaEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderDeliveryEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderMerchantEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PlanEntity, PlanFeatureEntity, ProductBrandEntity, ProductCompanyEntity, ProductContainerEntity, ProductGlobalEntity, ProductNcmEntity, PubsubSubscriptionChangeStatusEntity, PurchaseEntity, QueryEntity, RabbitEntity, RatingEntity, RequestedItemDataEntity, RequestedItemsEntity, ResumeChildEntity, ResumeEntity, SponsorEntity, SponsorshipValueEntity, SubscriptionBaseEntity, SubscriptionBaseItemEntity, SubscriptionBaseLogEntity, SubscriptionCompanyEntity, SubscriptionCompanyProfileEntity, SubscriptionCustomerEntity, SubscriptionCustomerProfileEntity, TokenEntity, TransactionBalanceEntity, TransactionEntity, TransactionInfoResumeEntity, TransactionPaymentMethodEntity, TransactionResumeEntity, TransactionTotalEntity, TransferRequestEntity, VerifierTokenEntity, VoucherEntity, WaServerEntity, WithDrawRequestEntity };
|
5950
5990
|
//# sourceMappingURL=cecon-interfaces.mjs.map
|