cecon-interfaces 1.2.12 → 1.2.14
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app/enums/mode.enum.d.ts +5 -1
- package/dist/app/enums/mode.enum.js +5 -1
- package/dist/esm2022/app/enums/mode.enum.mjs +6 -2
- package/dist/esm2022/evolution/entities/chat-woot.entity.mjs +20 -0
- package/dist/esm2022/evolution/entities/evolution.entity.mjs +22 -0
- package/dist/esm2022/evolution/entities/hash.entity.mjs +16 -0
- package/dist/esm2022/evolution/entities/index.mjs +6 -0
- package/dist/esm2022/evolution/entities/instance.entity.mjs +17 -0
- package/dist/esm2022/evolution/entities/qrcode.entity.mjs +17 -0
- package/dist/esm2022/evolution/enums/events.enum.mjs +24 -0
- package/dist/esm2022/evolution/enums/index.mjs +2 -0
- package/dist/esm2022/evolution/index.mjs +4 -0
- package/dist/esm2022/evolution/interfaces/i-chatwoot.mjs +2 -0
- package/dist/esm2022/evolution/interfaces/i-evolution.mjs +2 -0
- package/dist/esm2022/evolution/interfaces/i-hash.mjs +2 -0
- package/dist/esm2022/evolution/interfaces/i-instance.mjs +2 -0
- package/dist/esm2022/evolution/interfaces/i-qrcode.mjs +2 -0
- package/dist/esm2022/evolution/interfaces/index.mjs +2 -0
- package/dist/esm2022/index.mjs +3 -1
- package/dist/esm2022/wa-server/entities/index.mjs +2 -0
- package/dist/esm2022/wa-server/entities/wa-server.entity.mjs +26 -0
- package/dist/esm2022/wa-server/enums/index.mjs +2 -0
- package/dist/esm2022/wa-server/enums/status.enum.mjs +10 -0
- package/dist/esm2022/wa-server/index.mjs +4 -0
- package/dist/esm2022/wa-server/interfaces/i-wa-server.mjs +2 -0
- package/dist/esm2022/wa-server/interfaces/index.mjs +2 -0
- package/dist/evolution/entities/chat-woot.entity.d.ts +11 -0
- package/dist/evolution/entities/chat-woot.entity.js +24 -0
- package/dist/evolution/entities/evolution.entity.d.ts +14 -0
- package/dist/evolution/entities/evolution.entity.js +26 -0
- package/dist/evolution/entities/hash.entity.d.ts +5 -0
- package/dist/evolution/entities/hash.entity.js +20 -0
- package/dist/evolution/entities/index.d.ts +5 -0
- package/dist/evolution/entities/index.js +13 -0
- package/dist/evolution/entities/instance.entity.d.ts +6 -0
- package/dist/evolution/entities/instance.entity.js +21 -0
- package/dist/evolution/entities/qrcode.entity.d.ts +6 -0
- package/dist/evolution/entities/qrcode.entity.js +21 -0
- package/dist/evolution/enums/events.enum.d.ts +22 -0
- package/dist/evolution/enums/events.enum.js +26 -0
- package/dist/evolution/enums/index.d.ts +1 -0
- package/dist/evolution/enums/index.js +5 -0
- package/dist/evolution/index.d.ts +3 -0
- package/dist/evolution/index.js +19 -0
- package/dist/evolution/interfaces/i-chatwoot.d.ts +9 -0
- package/dist/evolution/interfaces/i-chatwoot.js +2 -0
- package/dist/evolution/interfaces/i-evolution.d.ts +13 -0
- package/dist/evolution/interfaces/i-evolution.js +2 -0
- package/dist/evolution/interfaces/i-hash.d.ts +3 -0
- package/dist/evolution/interfaces/i-hash.js +2 -0
- package/dist/evolution/interfaces/i-instance.d.ts +4 -0
- package/dist/evolution/interfaces/i-instance.js +2 -0
- package/dist/evolution/interfaces/i-qrcode.d.ts +4 -0
- package/dist/evolution/interfaces/i-qrcode.js +2 -0
- package/dist/evolution/interfaces/index.d.ts +5 -0
- package/dist/evolution/interfaces/index.js +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +154 -2
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/package.json +1 -1
- package/dist/wa-server/entities/index.d.ts +1 -0
- package/dist/wa-server/entities/index.js +5 -0
- package/dist/wa-server/entities/wa-server.entity.d.ts +17 -0
- package/dist/wa-server/entities/wa-server.entity.js +30 -0
- package/dist/wa-server/enums/index.d.ts +1 -0
- package/dist/wa-server/enums/index.js +5 -0
- package/dist/wa-server/enums/status.enum.d.ts +8 -0
- package/dist/wa-server/enums/status.enum.js +12 -0
- package/dist/wa-server/index.d.ts +3 -0
- package/dist/wa-server/index.js +19 -0
- package/dist/wa-server/interfaces/i-wa-server.d.ts +15 -0
- package/dist/wa-server/interfaces/i-wa-server.js +2 -0
- package/dist/wa-server/interfaces/index.d.ts +1 -0
- package/dist/wa-server/interfaces/index.js +2 -0
- package/package.json +1 -1
@@ -0,0 +1,13 @@
|
|
1
|
+
import { EEvolutionEvent } from '../enums/events.enum';
|
2
|
+
import { IEvolutionChatWoot } from './i-chatwoot';
|
3
|
+
import { IEvolutionHash } from './i-hash';
|
4
|
+
import { IEvolutionInstance } from './i-instance';
|
5
|
+
import { IEvolutionQrcode } from './i-qrcode';
|
6
|
+
export interface IEvolution {
|
7
|
+
instance: IEvolutionInstance;
|
8
|
+
hash: IEvolutionHash;
|
9
|
+
webhook: string;
|
10
|
+
events: EEvolutionEvent[];
|
11
|
+
qrcode: IEvolutionQrcode;
|
12
|
+
chatwoot: IEvolutionChatWoot | null;
|
13
|
+
}
|
@@ -658,7 +658,11 @@ var EAppMode;
|
|
658
658
|
EAppMode["SCREEN"] = "SCREEN";
|
659
659
|
EAppMode["NATI_GO"] = "NATIGO";
|
660
660
|
EAppMode["SAT_MANAGER"] = "SAT-MANAGER";
|
661
|
-
EAppMode["
|
661
|
+
EAppMode["NATI_PDV"] = "NATI-PDV";
|
662
|
+
EAppMode["NATI_PHP"] = "NATI_PHP";
|
663
|
+
EAppMode["WA_SERVER"] = "WA_SERVER";
|
664
|
+
EAppMode["NATI_TYPE_BOT"] = "NATI_TYPE_BOT";
|
665
|
+
EAppMode["NATI_ST"] = "NATI_ST";
|
662
666
|
EAppMode["RABBIT"] = "RABBIT";
|
663
667
|
EAppMode["FISCAL_MANAGER"] = "FISCAL-MANAGER";
|
664
668
|
EAppMode["NATI_SIGN"] = "NATI-SIGN";
|
@@ -1759,6 +1763,119 @@ class MetadataEntity {
|
|
1759
1763
|
|
1760
1764
|
// index.ts
|
1761
1765
|
|
1766
|
+
class EvolutionChatWootEntity {
|
1767
|
+
// #region Properties (7)
|
1768
|
+
accountId = '';
|
1769
|
+
enabled = false;
|
1770
|
+
nameInbox = '';
|
1771
|
+
signMsg = false;
|
1772
|
+
token = '';
|
1773
|
+
url = '';
|
1774
|
+
webhookUrl = '';
|
1775
|
+
constructor(data) {
|
1776
|
+
if (data) {
|
1777
|
+
for (let key in data) {
|
1778
|
+
if (data.hasOwnProperty(key) && key in this) {
|
1779
|
+
this[key] = data[key];
|
1780
|
+
}
|
1781
|
+
}
|
1782
|
+
}
|
1783
|
+
}
|
1784
|
+
}
|
1785
|
+
|
1786
|
+
class EvolutionHashEntity {
|
1787
|
+
// #region Properties (1)
|
1788
|
+
apikey = '';
|
1789
|
+
// #endregion Properties (1)
|
1790
|
+
// #region Constructors (1)
|
1791
|
+
constructor(data) {
|
1792
|
+
if (data) {
|
1793
|
+
for (let key in data) {
|
1794
|
+
if (data.hasOwnProperty(key) && key in this) {
|
1795
|
+
this[key] = data[key];
|
1796
|
+
}
|
1797
|
+
}
|
1798
|
+
}
|
1799
|
+
}
|
1800
|
+
}
|
1801
|
+
|
1802
|
+
class EvolutionInstanceEntity {
|
1803
|
+
// #region Properties (2)
|
1804
|
+
instanceName = '';
|
1805
|
+
status = '';
|
1806
|
+
// #endregion Properties (2)
|
1807
|
+
// #region Constructors (1)
|
1808
|
+
constructor(data) {
|
1809
|
+
if (data) {
|
1810
|
+
for (let key in data) {
|
1811
|
+
if (data.hasOwnProperty(key) && key in this) {
|
1812
|
+
this[key] = data[key];
|
1813
|
+
}
|
1814
|
+
}
|
1815
|
+
}
|
1816
|
+
}
|
1817
|
+
}
|
1818
|
+
|
1819
|
+
class EvolutionQrcodeEntity {
|
1820
|
+
// #region Properties (2)
|
1821
|
+
base64 = null;
|
1822
|
+
code = null;
|
1823
|
+
// #endregion Properties (2)
|
1824
|
+
// #region Constructors (1)
|
1825
|
+
constructor(data) {
|
1826
|
+
if (data) {
|
1827
|
+
for (let key in data) {
|
1828
|
+
if (data.hasOwnProperty(key) && key in this) {
|
1829
|
+
this[key] = data[key];
|
1830
|
+
}
|
1831
|
+
}
|
1832
|
+
}
|
1833
|
+
}
|
1834
|
+
}
|
1835
|
+
|
1836
|
+
class EvolutionEntity {
|
1837
|
+
// #region Properties (6)
|
1838
|
+
chatwoot = null;
|
1839
|
+
events = [];
|
1840
|
+
hash = new EvolutionHashEntity();
|
1841
|
+
instance = new EvolutionInstanceEntity();
|
1842
|
+
qrcode = new EvolutionQrcodeEntity();
|
1843
|
+
webhook = '';
|
1844
|
+
constructor(data) {
|
1845
|
+
if (data) {
|
1846
|
+
for (let key in data) {
|
1847
|
+
if (data.hasOwnProperty(key) && key in this) {
|
1848
|
+
this[key] = data[key];
|
1849
|
+
}
|
1850
|
+
}
|
1851
|
+
}
|
1852
|
+
}
|
1853
|
+
}
|
1854
|
+
|
1855
|
+
var EEvolutionEvent;
|
1856
|
+
(function (EEvolutionEvent) {
|
1857
|
+
EEvolutionEvent["APPLICATION_STARTUP"] = "APPLICATION_STARTUP";
|
1858
|
+
EEvolutionEvent["QRCODE_UPDATED"] = "QRCODE_UPDATED";
|
1859
|
+
EEvolutionEvent["MESSAGES_SET"] = "MESSAGES_SET";
|
1860
|
+
EEvolutionEvent["MESSAGES_UPSERT"] = "MESSAGES_UPSERT";
|
1861
|
+
EEvolutionEvent["MESSAGES_UPDATE"] = "MESSAGES_UPDATE";
|
1862
|
+
EEvolutionEvent["MESSAGES_DELETE"] = "MESSAGES_DELETE";
|
1863
|
+
EEvolutionEvent["SEND_MESSAGE"] = "SEND_MESSAGE";
|
1864
|
+
EEvolutionEvent["CONTACTS_SET"] = "CONTACTS_SET";
|
1865
|
+
EEvolutionEvent["CONTACTS_UPSERT"] = "CONTACTS_UPSERT";
|
1866
|
+
EEvolutionEvent["CONTACTS_UPDATE"] = "CONTACTS_UPDATE";
|
1867
|
+
EEvolutionEvent["PRESENCE_UPDATE"] = "PRESENCE_UPDATE";
|
1868
|
+
EEvolutionEvent["CHATS_SET"] = "CHATS_SET";
|
1869
|
+
EEvolutionEvent["CHATS_UPSERT"] = "CHATS_UPSERT";
|
1870
|
+
EEvolutionEvent["CHATS_UPDATE"] = "CHATS_UPDATE";
|
1871
|
+
EEvolutionEvent["CHATS_DELETE"] = "CHATS_DELETE";
|
1872
|
+
EEvolutionEvent["GROUPS_UPSERT"] = "GROUPS_UPSERT";
|
1873
|
+
EEvolutionEvent["GROUP_UPDATE"] = "GROUP_UPDATE";
|
1874
|
+
EEvolutionEvent["GROUP_PARTICIPANTS_UPDATE"] = "GROUP_PARTICIPANTS_UPDATE";
|
1875
|
+
EEvolutionEvent["CONNECTION_UPDATE"] = "CONNECTION_UPDATE";
|
1876
|
+
EEvolutionEvent["NEW_JWT_TOKE"] = "NEW_JWT_TOKE";
|
1877
|
+
})(EEvolutionEvent || (EEvolutionEvent = {}));
|
1878
|
+
|
1762
1879
|
class FeatureEntity {
|
1763
1880
|
// #region Properties (11)
|
1764
1881
|
appId = '';
|
@@ -3702,9 +3819,44 @@ class VoucherEntity {
|
|
3702
3819
|
partnerId;
|
3703
3820
|
}
|
3704
3821
|
|
3822
|
+
var EWaServerStatus;
|
3823
|
+
(function (EWaServerStatus) {
|
3824
|
+
EWaServerStatus["CONNECTED"] = "CONNECTED";
|
3825
|
+
EWaServerStatus["DISCONNECTED"] = "DISCONNECTED";
|
3826
|
+
EWaServerStatus["RECONNECTING"] = "RECONNECTING";
|
3827
|
+
EWaServerStatus["RUNNING"] = "RUNNING";
|
3828
|
+
EWaServerStatus["STOPPED"] = "STOPPED";
|
3829
|
+
EWaServerStatus["DELETED"] = "DELETED";
|
3830
|
+
})(EWaServerStatus || (EWaServerStatus = {}));
|
3831
|
+
|
3832
|
+
class WaServerEntity {
|
3833
|
+
// #region Properties (11)
|
3834
|
+
active = false;
|
3835
|
+
baseUrl = '';
|
3836
|
+
createdAt = new Date();
|
3837
|
+
globalApiKey = '';
|
3838
|
+
id = '';
|
3839
|
+
installIds = [];
|
3840
|
+
name = '';
|
3841
|
+
tags = [];
|
3842
|
+
sessions = 0;
|
3843
|
+
stack = '';
|
3844
|
+
status = EWaServerStatus.STOPPED;
|
3845
|
+
updatedAt = new Date();
|
3846
|
+
constructor(data) {
|
3847
|
+
if (data) {
|
3848
|
+
for (let key in data) {
|
3849
|
+
if (data.hasOwnProperty(key) && key in this) {
|
3850
|
+
this[key] = data[key];
|
3851
|
+
}
|
3852
|
+
}
|
3853
|
+
}
|
3854
|
+
}
|
3855
|
+
}
|
3856
|
+
|
3705
3857
|
/**
|
3706
3858
|
* Generated bundle index. Do not edit.
|
3707
3859
|
*/
|
3708
3860
|
|
3709
|
-
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, EFiscalDocModelCode, EInstallationStatus, EIntervalType, EInvoiceStatus, ELeadOrigin, ELegalEntiy, EOrderDeliveryMode, EOrderTiming, EOrderType, EOs, EPaymentChannel, EPaymentMode, EPaymentProvider, EPaymentStatus, EPaymentType, EPlanFeatureType, EPlanIdentifier, EPlatform, EPubSub, EPubSubTopicType, ESponsorshipValues, ESubscriptionStatus, EVoucherStatus, 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, 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 };
|
3861
|
+
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, 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, 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 };
|
3710
3862
|
//# sourceMappingURL=cecon-interfaces.mjs.map
|