cecon-interfaces 1.2.27 → 1.2.30
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/evolution/entities/chatwoot.entity.mjs +20 -0
- package/dist/esm2022/evolution/entities/index.mjs +4 -2
- package/dist/esm2022/evolution/entities/instance.entity.mjs +9 -4
- package/dist/esm2022/evolution/entities/typebot.entity.mjs +27 -0
- package/dist/esm2022/evolution/entities/webhook.entity.mjs +29 -0
- package/dist/esm2022/evolution/enums/events.enum.mjs +2 -1
- package/dist/esm2022/evolution/interfaces/i-instance.mjs +1 -1
- package/dist/esm2022/evolution/interfaces/i-typebot.mjs +2 -0
- package/dist/esm2022/evolution/interfaces/i-webhook.mjs +2 -0
- package/dist/esm2022/evolution/interfaces/index.mjs +2 -2
- package/dist/esm2022/evolution/interfaces/send-messages/i-message-key.mjs +2 -0
- package/dist/esm2022/evolution/interfaces/send-messages/i-message.mjs +2 -0
- package/dist/esm2022/evolution/interfaces/send-messages/index.mjs +2 -0
- package/dist/esm2022/global-settings/entities/global-setting-master.entity.mjs +5 -3
- package/dist/esm2022/global-settings/interfaces/i-global-setting-master.mjs +1 -1
- package/dist/evolution/entities/index.d.ts +3 -1
- package/dist/evolution/entities/index.js +7 -3
- package/dist/evolution/entities/instance.entity.d.ts +7 -2
- package/dist/evolution/entities/instance.entity.js +8 -3
- package/dist/evolution/entities/typebot.entity.d.ts +17 -0
- package/dist/evolution/entities/typebot.entity.js +34 -0
- package/dist/evolution/entities/webhook.entity.d.ts +10 -0
- package/dist/evolution/entities/webhook.entity.js +33 -0
- package/dist/evolution/enums/events.enum.d.ts +1 -0
- package/dist/evolution/enums/events.enum.js +1 -0
- package/dist/evolution/interfaces/i-instance.d.ts +7 -1
- package/dist/evolution/interfaces/i-typebot.d.ts +13 -0
- package/dist/evolution/interfaces/i-typebot.js +2 -0
- package/dist/evolution/interfaces/i-webhook.d.ts +8 -0
- package/dist/evolution/interfaces/i-webhook.js +2 -0
- package/dist/evolution/interfaces/index.d.ts +3 -0
- package/dist/evolution/interfaces/index.js +15 -0
- package/dist/evolution/interfaces/send-messages/i-message-key.d.ts +5 -0
- package/dist/evolution/interfaces/send-messages/i-message-key.js +2 -0
- package/dist/evolution/interfaces/send-messages/i-message.d.ts +7 -0
- package/dist/evolution/interfaces/send-messages/i-message.js +2 -0
- package/dist/evolution/interfaces/send-messages/index.d.ts +2 -0
- package/dist/evolution/interfaces/send-messages/index.js +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +69 -6
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/global-settings/entities/global-setting-master.entity.d.ts +2 -0
- package/dist/global-settings/entities/global-setting-master.entity.js +4 -2
- package/dist/global-settings/interfaces/i-global-setting-master.d.ts +5 -3
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/esm2022/evolution/entities/chat-woot.entity.mjs +0 -20
- /package/dist/evolution/entities/{chat-woot.entity.d.ts → chatwoot.entity.d.ts} +0 -0
- /package/dist/evolution/entities/{chat-woot.entity.js → chatwoot.entity.js} +0 -0
@@ -791,13 +791,18 @@ class EvolutionHashEntity {
|
|
791
791
|
}
|
792
792
|
|
793
793
|
class EvolutionInstanceEntity {
|
794
|
-
// #region Properties (
|
794
|
+
// #region Properties (10)
|
795
795
|
apikey = '';
|
796
|
-
|
796
|
+
chatwoot = null;
|
797
797
|
instanceId = '';
|
798
|
+
instanceName = '';
|
799
|
+
owner = '';
|
800
|
+
profileName = '';
|
801
|
+
profilePictureUrl = '';
|
802
|
+
profileStatus = '';
|
798
803
|
serverUrl = '';
|
799
804
|
status = '';
|
800
|
-
// #endregion Properties (
|
805
|
+
// #endregion Properties (10)
|
801
806
|
// #region Constructors (1)
|
802
807
|
constructor(data) {
|
803
808
|
if (data) {
|
@@ -846,6 +851,33 @@ class EvolutionEntity {
|
|
846
851
|
}
|
847
852
|
}
|
848
853
|
|
854
|
+
class EvolutionTypeBotEntity {
|
855
|
+
// #region Properties (2)
|
856
|
+
instanceName = '';
|
857
|
+
typebot = new typeBot();
|
858
|
+
// #endregion Properties (2)
|
859
|
+
// #region Constructors (1)
|
860
|
+
constructor(data) {
|
861
|
+
if (data) {
|
862
|
+
for (let key in data) {
|
863
|
+
if (data.hasOwnProperty(key) && key in this) {
|
864
|
+
this[key] = data[key];
|
865
|
+
}
|
866
|
+
}
|
867
|
+
}
|
868
|
+
}
|
869
|
+
}
|
870
|
+
class typeBot {
|
871
|
+
enabled = true;
|
872
|
+
url = '';
|
873
|
+
typebot = '';
|
874
|
+
expire = 20;
|
875
|
+
keywordFinish = '#SAIR';
|
876
|
+
delayMessage = 1000;
|
877
|
+
unknownMessage = 'Mensagem não reconhecida';
|
878
|
+
listeningFromMe = false;
|
879
|
+
}
|
880
|
+
|
849
881
|
var EEvolutionEvent;
|
850
882
|
(function (EEvolutionEvent) {
|
851
883
|
EEvolutionEvent["APPLICATION_STARTUP"] = "APPLICATION_STARTUP";
|
@@ -858,6 +890,7 @@ var EEvolutionEvent;
|
|
858
890
|
EEvolutionEvent["CONTACTS_SET"] = "CONTACTS_SET";
|
859
891
|
EEvolutionEvent["CONTACTS_UPSERT"] = "CONTACTS_UPSERT";
|
860
892
|
EEvolutionEvent["CONTACTS_UPDATE"] = "CONTACTS_UPDATE";
|
893
|
+
EEvolutionEvent["CALL"] = "CALL";
|
861
894
|
EEvolutionEvent["PRESENCE_UPDATE"] = "PRESENCE_UPDATE";
|
862
895
|
EEvolutionEvent["CHATS_SET"] = "CHATS_SET";
|
863
896
|
EEvolutionEvent["CHATS_UPSERT"] = "CHATS_UPSERT";
|
@@ -880,6 +913,34 @@ var EEvolutionInstanceType;
|
|
880
913
|
EEvolutionInstanceType["RABBIT_MQ"] = "RABBIT_MQ";
|
881
914
|
})(EEvolutionInstanceType || (EEvolutionInstanceType = {}));
|
882
915
|
|
916
|
+
class EvolutionWebhookEntity {
|
917
|
+
// #region Properties (5)
|
918
|
+
enabled = true;
|
919
|
+
events = [
|
920
|
+
EEvolutionEvent.QRCODE_UPDATED,
|
921
|
+
EEvolutionEvent.MESSAGES_UPSERT,
|
922
|
+
EEvolutionEvent.MESSAGES_UPDATE,
|
923
|
+
EEvolutionEvent.MESSAGES_DELETE,
|
924
|
+
EEvolutionEvent.SEND_MESSAGE,
|
925
|
+
EEvolutionEvent.CONNECTION_UPDATE,
|
926
|
+
EEvolutionEvent.CALL,
|
927
|
+
];
|
928
|
+
url = '';
|
929
|
+
webhookBase64 = false;
|
930
|
+
webhookByEvents = false;
|
931
|
+
// #endregion Properties (5)
|
932
|
+
// #region Constructors (1)
|
933
|
+
constructor(data) {
|
934
|
+
if (data) {
|
935
|
+
for (let key in data) {
|
936
|
+
if (data.hasOwnProperty(key) && key in this) {
|
937
|
+
this[key] = data[key];
|
938
|
+
}
|
939
|
+
}
|
940
|
+
}
|
941
|
+
}
|
942
|
+
}
|
943
|
+
|
883
944
|
// #region Interfaces (3)
|
884
945
|
// #endregion Interfaces (3)
|
885
946
|
// #region Classes (1)
|
@@ -2017,7 +2078,7 @@ class GlobalSettingIuguEntity {
|
|
2017
2078
|
}
|
2018
2079
|
|
2019
2080
|
class GlobalSettingMasterEntity {
|
2020
|
-
// #region Properties (
|
2081
|
+
// #region Properties (14)
|
2021
2082
|
billingDays = 10;
|
2022
2083
|
deleteInvoicesPlacedDays = 10;
|
2023
2084
|
deleteSubscriptionsPlacedDays = 10;
|
@@ -2027,10 +2088,12 @@ class GlobalSettingMasterEntity {
|
|
2027
2088
|
subscriptionsCustomerSuspendDays = 1;
|
2028
2089
|
subscriptionsExpireDays = 1;
|
2029
2090
|
subscriptionsSuspendDays = 1;
|
2091
|
+
waServerApikey = '';
|
2030
2092
|
waServerBaseUrl = '';
|
2031
2093
|
waServerGlobalKey = '';
|
2094
|
+
waServerInstanceName = '';
|
2032
2095
|
waServerNumber = '';
|
2033
|
-
// #endregion Properties (
|
2096
|
+
// #endregion Properties (14)
|
2034
2097
|
// #region Constructors (1)
|
2035
2098
|
constructor(data) {
|
2036
2099
|
if (data) {
|
@@ -3909,5 +3972,5 @@ class WaServerEntity {
|
|
3909
3972
|
* Generated bundle index. Do not edit.
|
3910
3973
|
*/
|
3911
3974
|
|
3912
|
-
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BillingEntity, BillingOrderEntity, BillingPaymentEntity, BillingTotalEntity, CampaignEntity, CarouselImageEntity, ClientAplicationCredentialEntity, ClientAplicationEntity, ClientEntity, CompanyEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, CustomerEntity, CustomerMemberEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DesenfilaEntity, DeviceEntity, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, EBillingStatus, EBooleanString, ECampaignStatus, ECompanyKeys, ECompanyMessageType, ECustomerInterval, ECustomerStatus, ECustomerType, EDiscountType, EDocType, EEvolutionEvent, EEvolutionInstanceType, EFiscalDocModelCode, EInstallationStatus, EIntervalType, EInvoiceStatus, ELeadOrigin, ELegalEntiy, EOrderDeliveryMode, EOrderTiming, EOrderType, EOs, EPaymentChannel, EPaymentMode, EPaymentProvider, EPaymentStatus, EPaymentType, EPlanFeatureType, EPlanIdentifier, EPlatform, EPubSub, EPubSubTopicType, ESponsorshipValues, ESubscriptionStatus, EVoucherStatus, EWaServerStatus, EvolutionChatWootEntity, EvolutionEntity, EvolutionHashEntity, EvolutionInstanceEntity, EvolutionQrcodeEntity, FeatureEntity, EGtintype as GTINTypeEnum, 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, 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, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PlanEntity, PlanFeatureEntity, ProductBrandEntity, ProductCompanyEntity, ProductContainerEntity, ProductNcmEntity, ProductGlobalEntity as ProductglobalEntity, PubsubSubscriptionChangeStatusEntity, PurchaseEntity, RabbitEntity, RatingEntity, ResumeCollectionEntity, ResumeDayEntity, ResumeEntity, ResumeHourEntity, ResumeMonthEntity, ResumeTotalEntity, ResumeYearEntity, SponsorshipValueEntity, SubscriptionBaseEntity, SubscriptionBaseItemEntity, SubscriptionBaseLogEntity, SubscriptionCompanyEntity, SubscriptionCompanyProfileEntity, SubscriptionCustomerEntity, SubscriptionCustomerProfileEntity, TokenEntity, VoucherEntity, WaServerEntity };
|
3975
|
+
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BillingEntity, BillingOrderEntity, BillingPaymentEntity, BillingTotalEntity, CampaignEntity, CarouselImageEntity, ClientAplicationCredentialEntity, ClientAplicationEntity, ClientEntity, CompanyEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, CustomerEntity, CustomerMemberEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DesenfilaEntity, DeviceEntity, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, EBillingStatus, EBooleanString, ECampaignStatus, ECompanyKeys, ECompanyMessageType, ECustomerInterval, ECustomerStatus, ECustomerType, EDiscountType, EDocType, EEvolutionEvent, EEvolutionInstanceType, EFiscalDocModelCode, EInstallationStatus, EIntervalType, EInvoiceStatus, ELeadOrigin, ELegalEntiy, EOrderDeliveryMode, EOrderTiming, EOrderType, EOs, EPaymentChannel, EPaymentMode, EPaymentProvider, EPaymentStatus, EPaymentType, EPlanFeatureType, EPlanIdentifier, EPlatform, EPubSub, EPubSubTopicType, ESponsorshipValues, ESubscriptionStatus, EVoucherStatus, EWaServerStatus, EvolutionChatWootEntity, EvolutionEntity, EvolutionHashEntity, EvolutionInstanceEntity, EvolutionQrcodeEntity, EvolutionTypeBotEntity, EvolutionWebhookEntity, FeatureEntity, EGtintype as GTINTypeEnum, 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, 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, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PlanEntity, PlanFeatureEntity, ProductBrandEntity, ProductCompanyEntity, ProductContainerEntity, ProductNcmEntity, ProductGlobalEntity as ProductglobalEntity, PubsubSubscriptionChangeStatusEntity, PurchaseEntity, RabbitEntity, RatingEntity, ResumeCollectionEntity, ResumeDayEntity, ResumeEntity, ResumeHourEntity, ResumeMonthEntity, ResumeTotalEntity, ResumeYearEntity, SponsorshipValueEntity, SubscriptionBaseEntity, SubscriptionBaseItemEntity, SubscriptionBaseLogEntity, SubscriptionCompanyEntity, SubscriptionCompanyProfileEntity, SubscriptionCustomerEntity, SubscriptionCustomerProfileEntity, TokenEntity, VoucherEntity, WaServerEntity };
|
3913
3976
|
//# sourceMappingURL=cecon-interfaces.mjs.map
|