@zapyapi/sdk 1.0.0-beta.6 → 1.0.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +80 -18
- package/index.cjs +865 -139
- package/index.js +865 -130
- package/package.json +1 -2
- package/src/client.d.ts +1 -1
- package/src/index.d.ts +11 -7
- package/src/index.d.ts.map +1 -1
- package/src/types/enums.d.ts +6 -89
- package/src/types/enums.d.ts.map +1 -1
- package/src/types/events/instance-status.d.ts +3 -13
- package/src/types/events/instance-status.d.ts.map +1 -1
- package/src/types/events/presence.d.ts +3 -16
- package/src/types/events/presence.d.ts.map +1 -1
- package/src/types/events/reaction.d.ts +3 -16
- package/src/types/events/reaction.d.ts.map +1 -1
- package/src/types/index.d.ts +4 -6
- package/src/types/index.d.ts.map +1 -1
- package/src/types/message-events.types.d.ts +39 -39
- package/src/types/message-events.types.d.ts.map +1 -1
- package/src/version.d.ts +1 -1
- package/src/types/webhook-events.types.d.ts +0 -257
- package/src/types/webhook-events.types.d.ts.map +0 -1
package/package.json
CHANGED
package/src/client.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { InstancesResource } from './resources/instances.resource';
|
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ```typescript
|
|
14
|
-
* import { ZapyClient,
|
|
14
|
+
* import { ZapyClient, ZapyEventTypes, isTextMessage } from '@zapyapi/sdk';
|
|
15
15
|
*
|
|
16
16
|
* const client = new ZapyClient({
|
|
17
17
|
* apiKey: 'your-api-key',
|
package/src/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @example
|
|
7
7
|
* ```typescript
|
|
8
|
-
* import { ZapyClient,
|
|
8
|
+
* import { ZapyClient, ZapyEventTypes, InstanceStatus, isTextMessage } from '@zapyapi/sdk';
|
|
9
9
|
*
|
|
10
10
|
* const client = new ZapyClient({
|
|
11
11
|
* apiKey: 'your-api-key',
|
|
@@ -17,9 +17,13 @@
|
|
|
17
17
|
* text: 'Hello from ZapyAPI SDK!'
|
|
18
18
|
* });
|
|
19
19
|
*
|
|
20
|
-
* // Handle webhook events
|
|
21
|
-
*
|
|
22
|
-
*
|
|
20
|
+
* // Handle webhook events
|
|
21
|
+
* function handleWebhook(payload: ZapyWebhookPayload) {
|
|
22
|
+
* if (payload.event === ZapyEventTypes.MESSAGE) {
|
|
23
|
+
* if (isTextMessage(payload.data)) {
|
|
24
|
+
* console.log('Text:', payload.data.text);
|
|
25
|
+
* }
|
|
26
|
+
* }
|
|
23
27
|
* }
|
|
24
28
|
*
|
|
25
29
|
* // Check instance status
|
|
@@ -31,9 +35,9 @@
|
|
|
31
35
|
*/
|
|
32
36
|
export { ZapyClient, createClient } from './client';
|
|
33
37
|
export { ZapyError, ZapyApiError, ValidationError, InstanceNotFoundError, AuthenticationError, RateLimitError, NetworkError, TimeoutError, } from './errors';
|
|
34
|
-
export {
|
|
35
|
-
export { isMessageEvent, isMessageStatusEvent, isQRCodeEvent, isContactCreatedEvent, isContactUpdatedEvent, isContactDeduplicatedEvent, } from './types';
|
|
38
|
+
export { InstanceStatus, WebhookQueueStatus, ZapyMessageStatusEnum, ZapyMessageType, ZapyEventTypes, } from './types';
|
|
36
39
|
export { isTextMessage, isImageMessage, isVideoMessage, isAudioMessage, isDocumentMessage, isStickerMessage, isLocationMessage, isLiveLocationMessage, isContactMessage, isReactionMessage, isEditedMessage, isDeletedMessage, isPollMessage, isPollVoteMessage, isCallMessage, isUnsupportedMessage, isMediaMessage, } from './types';
|
|
37
|
-
export type { ZapyClientOptions, PaginationQuery, PaginatedResponse, ApiErrorResponse, Instance, CreateInstanceOptions, QRCodeResponse, InstanceStatusResponse, CheckNumberResult, CheckNumbersResponse, PresenceType, SendPresenceOptions, ProfilePictureResponse, GroupParticipant, GroupMetadata, BaseMessageOptions, SendTextMessageOptions, MediaSource, SendImageMessageOptions, SendVideoMessageOptions, SendAudioNoteMessageOptions, SendAudioFileMessageOptions, SendDocumentMessageOptions, SendLocationMessageOptions, ContactCardInfo, SendContactMessageOptions, SendStickerMessageOptions, SendReactionOptions, ForwardMessageOptions, EditMessageOptions, MessageResponse, ReadMessageResponse, MediaDownloadLinkResponse,
|
|
40
|
+
export type { ZapyClientOptions, PaginationQuery, PaginatedResponse, ApiErrorResponse, Instance, CreateInstanceOptions, QRCodeResponse, InstanceStatusResponse, CheckNumberResult, CheckNumbersResponse, PresenceType, SendPresenceOptions, ProfilePictureResponse, GroupParticipant, GroupMetadata, BaseMessageOptions, SendTextMessageOptions, MediaSource, SendImageMessageOptions, SendVideoMessageOptions, SendAudioNoteMessageOptions, SendAudioFileMessageOptions, SendDocumentMessageOptions, SendLocationMessageOptions, ContactCardInfo, SendContactMessageOptions, SendStickerMessageOptions, SendReactionOptions, ForwardMessageOptions, EditMessageOptions, MessageResponse, ReadMessageResponse, MediaDownloadLinkResponse, UserWebhookConfig, UpsertWebhookConfigInput, WebhookQueueStatusResponse, WebhookResumeResult, ZapyChatInfo, ZapySenderInfo, ZapyMessageStatus, ZapyCallStatus, BaseZapyMessage, QuotedMessage, ZapyTextMessage, BaseMediaMessage, ZapyImageMessage, ZapyVideoMessage, ZapyAudioMessage, ZapyDocumentMessage, ZapyStickerMessage, ZapyLocationMessage, ZapyLiveLocationMessage, ZapyContactInfo, ZapyContactMessage, ZapyReactionMessage, ZapyEditedMessage, ZapyDeletedMessage, PollOption, ZapyPollMessage, ZapyPollVoteMessage, ZapyCallMessage, ZapyUnsupportedMessage, ZapyMessage, ZapyContact, ZapyContactCreatedEvent, ZapyContactUpdatedEvent, ZapyContactDeduplicatedEvent, ZapyInstanceStatusEvent, ZapyPresenceStatus, ZapyPresenceEvent, ZapyQRCodeEvent, ZapyReactionEvent, ZapyEventMap, ZapyEventType, ZapyEvent, ZapyWebhookPayload, } from './types';
|
|
38
41
|
export { normalizePhone, isValidPhone, isGroup, extractPhone, verifyWebhookSignature, verifyWebhookSignatureAsync, } from './utils';
|
|
42
|
+
export { Api as ZapyRestApi } from './generated/Api';
|
|
39
43
|
//# sourceMappingURL=index.d.ts.map
|
package/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../libs/sdk/src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../libs/sdk/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAGH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGpD,OAAO,EACL,SAAS,EACT,YAAY,EACZ,eAAe,EACf,qBAAqB,EACrB,mBAAmB,EACnB,cAAc,EACd,YAAY,EACZ,YAAY,GACb,MAAM,UAAU,CAAC;AAGlB,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,cAAc,GACf,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,aAAa,EACb,cAAc,EACd,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,oBAAoB,EACpB,cAAc,GACf,MAAM,SAAS,CAAC;AAGjB,YAAY,EAEV,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAEhB,QAAQ,EACR,qBAAqB,EACrB,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,oBAAoB,EACpB,YAAY,EACZ,mBAAmB,EACnB,sBAAsB,EACtB,gBAAgB,EAChB,aAAa,EAEb,kBAAkB,EAClB,sBAAsB,EACtB,WAAW,EACX,uBAAuB,EACvB,uBAAuB,EACvB,2BAA2B,EAC3B,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,EAC1B,eAAe,EACf,yBAAyB,EACzB,yBAAyB,EACzB,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,eAAe,EACf,mBAAmB,EACnB,yBAAyB,EAEzB,iBAAiB,EACjB,wBAAwB,EACxB,0BAA0B,EAC1B,mBAAmB,EAEnB,YAAY,EACZ,cAAc,EACd,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,UAAU,EACV,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,sBAAsB,EACtB,WAAW,EAEX,WAAW,EACX,uBAAuB,EACvB,uBAAuB,EACvB,4BAA4B,EAC5B,uBAAuB,EACvB,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,YAAY,EACZ,aAAa,EACb,SAAS,EACT,kBAAkB,GACnB,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,cAAc,EACd,YAAY,EACZ,OAAO,EACP,YAAY,EACZ,sBAAsB,EACtB,2BAA2B,GAC5B,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,GAAG,IAAI,WAAW,EAAE,MAAM,iBAAiB,CAAC"}
|
package/src/types/enums.d.ts
CHANGED
|
@@ -1,45 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* SDK Enums - Type-safe enums for ZapyAPI SDK
|
|
3
3
|
*
|
|
4
|
-
* These enums can be imported and used for type-safe comparisons and
|
|
5
|
-
* webhook event handling.
|
|
6
|
-
*
|
|
7
4
|
* @example
|
|
8
5
|
* ```typescript
|
|
9
|
-
* import {
|
|
10
|
-
*
|
|
11
|
-
* // Type-safe event handling
|
|
12
|
-
* if (event.event === WebhookEventType.MESSAGE) {
|
|
13
|
-
* // Handle message event
|
|
14
|
-
* }
|
|
6
|
+
* import { InstanceStatus, ZapyEventTypes, ZapyMessageType } from '@zapyapi/sdk';
|
|
15
7
|
*
|
|
16
8
|
* // Check instance status
|
|
17
9
|
* if (instance.status === InstanceStatus.CONNECTED) {
|
|
18
10
|
* // Instance is ready
|
|
19
11
|
* }
|
|
12
|
+
*
|
|
13
|
+
* // Handle webhook events
|
|
14
|
+
* if (payload.event === ZapyEventTypes.MESSAGE) {
|
|
15
|
+
* // Handle message
|
|
16
|
+
* }
|
|
20
17
|
* ```
|
|
21
18
|
*/
|
|
22
|
-
/**
|
|
23
|
-
* Webhook event types sent by ZapyAPI
|
|
24
|
-
* These are the event types you'll receive in webhook payloads
|
|
25
|
-
*/
|
|
26
|
-
export declare const WebhookEventType: {
|
|
27
|
-
/** New message received */
|
|
28
|
-
readonly MESSAGE: "message";
|
|
29
|
-
/** Message delivery status update */
|
|
30
|
-
readonly MESSAGE_STATUS: "message-status";
|
|
31
|
-
/** QR code generated for authentication */
|
|
32
|
-
readonly QR_CODE: "qr-code";
|
|
33
|
-
/** New contact discovered */
|
|
34
|
-
readonly CONTACT_CREATED: "contact-created";
|
|
35
|
-
/** Contact information updated */
|
|
36
|
-
readonly CONTACT_UPDATED: "contact-updated";
|
|
37
|
-
/** Duplicate contacts merged */
|
|
38
|
-
readonly CONTACT_DEDUPLICATED: "contact-deduplicated";
|
|
39
|
-
/** Instance status changed (connected, disconnected, etc.) */
|
|
40
|
-
readonly INSTANCE_STATUS: "instance-status";
|
|
41
|
-
};
|
|
42
|
-
export type WebhookEventType = (typeof WebhookEventType)[keyof typeof WebhookEventType];
|
|
43
19
|
/**
|
|
44
20
|
* Instance status values
|
|
45
21
|
* Represents the current state of a WhatsApp instance
|
|
@@ -65,50 +41,6 @@ export declare const InstanceStatus: {
|
|
|
65
41
|
readonly PAYMENT_PENDING: "payment_pending";
|
|
66
42
|
};
|
|
67
43
|
export type InstanceStatus = (typeof InstanceStatus)[keyof typeof InstanceStatus];
|
|
68
|
-
/**
|
|
69
|
-
* Message acknowledgment status
|
|
70
|
-
* Represents the delivery status of a sent message
|
|
71
|
-
*/
|
|
72
|
-
export declare const MessageAckStatus: {
|
|
73
|
-
/** Message is pending to be sent */
|
|
74
|
-
readonly PENDING: "pending";
|
|
75
|
-
/** Message was sent to server */
|
|
76
|
-
readonly SENT: "sent";
|
|
77
|
-
/** Message was delivered to recipient */
|
|
78
|
-
readonly DELIVERED: "delivered";
|
|
79
|
-
/** Message was read by recipient */
|
|
80
|
-
readonly READ: "read";
|
|
81
|
-
/** Audio/video message was played */
|
|
82
|
-
readonly PLAYED: "played";
|
|
83
|
-
};
|
|
84
|
-
export type MessageAckStatus = (typeof MessageAckStatus)[keyof typeof MessageAckStatus];
|
|
85
|
-
/**
|
|
86
|
-
* Message types for incoming messages
|
|
87
|
-
* Identifies the type of content in a received message
|
|
88
|
-
*/
|
|
89
|
-
export declare const MessageType: {
|
|
90
|
-
/** Text message */
|
|
91
|
-
readonly TEXT: "text";
|
|
92
|
-
/** Image message */
|
|
93
|
-
readonly IMAGE: "image";
|
|
94
|
-
/** Video message */
|
|
95
|
-
readonly VIDEO: "video";
|
|
96
|
-
/** Audio message (voice note or file) */
|
|
97
|
-
readonly AUDIO: "audio";
|
|
98
|
-
/** Document/file message */
|
|
99
|
-
readonly DOCUMENT: "document";
|
|
100
|
-
/** Sticker message */
|
|
101
|
-
readonly STICKER: "sticker";
|
|
102
|
-
/** Location message */
|
|
103
|
-
readonly LOCATION: "location";
|
|
104
|
-
/** Contact card message */
|
|
105
|
-
readonly CONTACT: "contact";
|
|
106
|
-
/** Poll message */
|
|
107
|
-
readonly POLL: "poll";
|
|
108
|
-
/** Reaction message */
|
|
109
|
-
readonly REACTION: "reaction";
|
|
110
|
-
};
|
|
111
|
-
export type MessageType = (typeof MessageType)[keyof typeof MessageType];
|
|
112
44
|
/**
|
|
113
45
|
* Webhook queue item status
|
|
114
46
|
* Used for monitoring webhook delivery status
|
|
@@ -126,19 +58,4 @@ export declare const WebhookQueueStatus: {
|
|
|
126
58
|
readonly PAUSED: "paused";
|
|
127
59
|
};
|
|
128
60
|
export type WebhookQueueStatus = (typeof WebhookQueueStatus)[keyof typeof WebhookQueueStatus];
|
|
129
|
-
/**
|
|
130
|
-
* Connection status for webhook events
|
|
131
|
-
* Sent in connection.update webhook events
|
|
132
|
-
*/
|
|
133
|
-
export declare const ConnectionStatus: {
|
|
134
|
-
/** Instance is connecting */
|
|
135
|
-
readonly CONNECTING: "connecting";
|
|
136
|
-
/** Instance is connected */
|
|
137
|
-
readonly CONNECTED: "connected";
|
|
138
|
-
/** Instance disconnected */
|
|
139
|
-
readonly DISCONNECTED: "disconnected";
|
|
140
|
-
/** Connection error occurred */
|
|
141
|
-
readonly ERROR: "error";
|
|
142
|
-
};
|
|
143
|
-
export type ConnectionStatus = (typeof ConnectionStatus)[keyof typeof ConnectionStatus];
|
|
144
61
|
//# sourceMappingURL=enums.d.ts.map
|
package/src/types/enums.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../libs/sdk/src/types/enums.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../libs/sdk/src/types/enums.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH;;;GAGG;AACH,eAAO,MAAM,cAAc;IACzB,0BAA0B;;IAE1B,4CAA4C;;IAE5C,yCAAyC;;IAEzC,wCAAwC;;IAExC,sCAAsC;;IAEtC,oCAAoC;;IAEpC,gCAAgC;;IAEhC,iCAAiC;;IAEjC,wCAAwC;;CAEhC,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAElF;;;GAGG;AACH,eAAO,MAAM,kBAAkB;IAC7B,qCAAqC;;IAErC,iCAAiC;;IAEjC,yCAAyC;;IAEzC,4CAA4C;;IAE5C,0DAA0D;;CAElD,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -1,18 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
STOPPED = "stopped",
|
|
3
|
-
MANUALLY_STOPPED = "manually_stopped",
|
|
4
|
-
CONNECTING = "connecting",
|
|
5
|
-
PENDING_QR_CODE_SCAN = "pending_qr_code_scan",
|
|
6
|
-
CONNECTED = "connected",
|
|
7
|
-
ERROR = "error",
|
|
8
|
-
CREATED = "created",
|
|
9
|
-
QR_TIMEOUT = "qr_timeout",
|
|
10
|
-
PAYMENT_PENDING = "payment_pending"
|
|
11
|
-
}
|
|
1
|
+
import type { InstanceStatus } from '../enums';
|
|
12
2
|
export interface ZapyInstanceStatusEvent {
|
|
13
3
|
instanceId: string;
|
|
14
|
-
status:
|
|
15
|
-
previousStatus?:
|
|
4
|
+
status: InstanceStatus;
|
|
5
|
+
previousStatus?: InstanceStatus;
|
|
16
6
|
timestamp: number;
|
|
17
7
|
reason?: string;
|
|
18
8
|
connectedNumber?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-status.d.ts","sourceRoot":"","sources":["../../../../../../libs/sdk/src/types/events/instance-status.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"instance-status.d.ts","sourceRoot":"","sources":["../../../../../../libs/sdk/src/types/events/instance-status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,WAAW,uBAAuB;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,cAAc,CAAC;IACvB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ZapyChatInfo, ZapySenderInfo } from '../message-events.types';
|
|
1
2
|
/**
|
|
2
3
|
* Presence status types from WhatsApp
|
|
3
4
|
*/
|
|
@@ -7,22 +8,8 @@ export type ZapyPresenceStatus = 'unavailable' | 'available' | 'composing' | 're
|
|
|
7
8
|
*/
|
|
8
9
|
export type ZapyPresenceEvent = {
|
|
9
10
|
timestamp: number;
|
|
10
|
-
chat:
|
|
11
|
-
|
|
12
|
-
jid: string | null;
|
|
13
|
-
lid: string | null;
|
|
14
|
-
profilePictureUrl: string | null;
|
|
15
|
-
name: string | null;
|
|
16
|
-
isGroup: boolean;
|
|
17
|
-
isLid: boolean;
|
|
18
|
-
};
|
|
19
|
-
participant: {
|
|
20
|
-
id: string;
|
|
21
|
-
jid: string | null;
|
|
22
|
-
lid: string | null;
|
|
23
|
-
name: string | null;
|
|
24
|
-
profilePictureUrl: string | null;
|
|
25
|
-
};
|
|
11
|
+
chat: ZapyChatInfo;
|
|
12
|
+
participant: ZapySenderInfo;
|
|
26
13
|
presence: ZapyPresenceStatus;
|
|
27
14
|
lastSeen: number | null;
|
|
28
15
|
instanceId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presence.d.ts","sourceRoot":"","sources":["../../../../../../libs/sdk/src/types/events/presence.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,aAAa,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,QAAQ,CAAC;AAEpG;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE
|
|
1
|
+
{"version":3,"file":"presence.d.ts","sourceRoot":"","sources":["../../../../../../libs/sdk/src/types/events/presence.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE5E;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,aAAa,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,QAAQ,CAAC;AAEpG;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,YAAY,CAAC;IACnB,WAAW,EAAE,cAAc,CAAC;IAC5B,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ZapyChatInfo, ZapySenderInfo } from '../message-events.types';
|
|
1
2
|
/**
|
|
2
3
|
* Reaction event - sent when someone reacts to a message
|
|
3
4
|
*/
|
|
@@ -5,22 +6,8 @@ export type ZapyReactionEvent = {
|
|
|
5
6
|
timestamp: number;
|
|
6
7
|
messageId: string;
|
|
7
8
|
reaction: string;
|
|
8
|
-
chat:
|
|
9
|
-
|
|
10
|
-
jid: string | null;
|
|
11
|
-
lid: string | null;
|
|
12
|
-
profilePictureUrl: string | null;
|
|
13
|
-
name: string | null;
|
|
14
|
-
isGroup: boolean;
|
|
15
|
-
isLid: boolean;
|
|
16
|
-
};
|
|
17
|
-
reactor: {
|
|
18
|
-
id: string;
|
|
19
|
-
jid: string | null;
|
|
20
|
-
lid: string | null;
|
|
21
|
-
name: string | null;
|
|
22
|
-
profilePictureUrl: string | null;
|
|
23
|
-
};
|
|
9
|
+
chat: ZapyChatInfo;
|
|
10
|
+
reactor: ZapySenderInfo;
|
|
24
11
|
instanceId: string;
|
|
25
12
|
connectedNumber: string;
|
|
26
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reaction.d.ts","sourceRoot":"","sources":["../../../../../../libs/sdk/src/types/events/reaction.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"reaction.d.ts","sourceRoot":"","sources":["../../../../../../libs/sdk/src/types/events/reaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE5E;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,cAAc,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC"}
|
package/src/types/index.d.ts
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Type exports for @zapyapi/sdk
|
|
3
3
|
*/
|
|
4
|
-
export {
|
|
4
|
+
export { InstanceStatus, WebhookQueueStatus } from './enums';
|
|
5
5
|
export type { ZapyClientOptions, PaginationQuery, PaginatedResponse, ApiErrorResponse, } from './common.types';
|
|
6
6
|
export type { Instance, CreateInstanceOptions, QRCodeResponse, InstanceStatusResponse, CheckNumberResult, CheckNumbersResponse, PresenceType, SendPresenceOptions, ProfilePictureResponse, GroupParticipant, GroupMetadata, } from './instances.types';
|
|
7
7
|
export type { BaseMessageOptions, SendTextMessageOptions, MediaSource, SendImageMessageOptions, SendVideoMessageOptions, SendAudioNoteMessageOptions, SendAudioFileMessageOptions, SendDocumentMessageOptions, SendLocationMessageOptions, ContactCardInfo, SendContactMessageOptions, SendStickerMessageOptions, SendReactionOptions, ForwardMessageOptions, EditMessageOptions, MessageResponse, ReadMessageResponse, MediaDownloadLinkResponse, } from './messages.types';
|
|
8
|
-
export type { WebhookEventBase, MessageParticipant, MediaInfo, MessageEventData, MessageWebhookEvent, MessageStatusEventData, MessageAckWebhookEvent, QRCodeEventData, QRCodeWebhookEvent, ContactInfo, ContactCreatedEventData, ContactCreatedWebhookEvent, ContactUpdatedEventData, ContactUpdatedWebhookEvent, ContactDeduplicatedEventData, ContactDeduplicatedWebhookEvent, ConnectionEventData, ConnectionWebhookEvent, WebhookEvent, } from './webhook-events.types';
|
|
9
|
-
export { isMessageEvent, isMessageStatusEvent, isQRCodeEvent, isContactCreatedEvent, isContactUpdatedEvent, isContactDeduplicatedEvent, } from './webhook-events.types';
|
|
10
8
|
export type { UserWebhookConfig, UpsertWebhookConfigInput, WebhookQueueStatusResponse, WebhookResumeResult, } from './webhook-config.types';
|
|
11
|
-
export { ZapyMessageStatusEnum, ZapyMessageType
|
|
12
|
-
export type { ZapyMessageStatus, ZapyCallStatus, BaseZapyMessage, QuotedMessage, ZapyTextMessage, BaseMediaMessage, ZapyImageMessage, ZapyVideoMessage, ZapyAudioMessage, ZapyDocumentMessage, ZapyStickerMessage, ZapyLocationMessage, ZapyLiveLocationMessage, ContactInfo as ZapyContactInfo, ZapyContactMessage, ZapyReactionMessage, ZapyEditedMessage, ZapyDeletedMessage, PollOption, ZapyPollMessage, ZapyPollVoteMessage, ZapyCallMessage, ZapyUnsupportedMessage, ZapyMessage, } from './message-events.types';
|
|
9
|
+
export { ZapyMessageStatusEnum, ZapyMessageType } from './message-events.types';
|
|
10
|
+
export type { ZapyChatInfo, ZapySenderInfo, ZapyMessageStatus, ZapyCallStatus, BaseZapyMessage, QuotedMessage, ZapyTextMessage, BaseMediaMessage, ZapyImageMessage, ZapyVideoMessage, ZapyAudioMessage, ZapyDocumentMessage, ZapyStickerMessage, ZapyLocationMessage, ZapyLiveLocationMessage, ContactInfo as ZapyContactInfo, ZapyContactMessage, ZapyReactionMessage, ZapyEditedMessage, ZapyDeletedMessage, PollOption, ZapyPollMessage, ZapyPollVoteMessage, ZapyCallMessage, ZapyUnsupportedMessage, ZapyMessage, } from './message-events.types';
|
|
13
11
|
export { isTextMessage, isImageMessage, isVideoMessage, isAudioMessage, isDocumentMessage, isStickerMessage, isLocationMessage, isLiveLocationMessage, isContactMessage, isReactionMessage, isEditedMessage, isDeletedMessage, isPollMessage, isPollVoteMessage, isCallMessage, isUnsupportedMessage, isMediaMessage, } from './message-events.types';
|
|
14
|
-
export {
|
|
12
|
+
export { ZapyEventTypes } from './events';
|
|
15
13
|
export type { ZapyContact, ZapyContactCreatedEvent, ZapyContactUpdatedEvent, ZapyContactDeduplicatedEvent, ZapyInstanceStatusEvent, ZapyPresenceStatus, ZapyPresenceEvent, ZapyQRCodeEvent, ZapyReactionEvent, ZapyEventMap, ZapyEventType, ZapyEvent, ZapyWebhookPayload, } from './events';
|
|
16
14
|
//# sourceMappingURL=index.d.ts.map
|
package/src/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../libs/sdk/src/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../libs/sdk/src/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAG7D,YAAY,EACV,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EACV,QAAQ,EACR,qBAAqB,EACrB,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,oBAAoB,EACpB,YAAY,EACZ,mBAAmB,EACnB,sBAAsB,EACtB,gBAAgB,EAChB,aAAa,GACd,MAAM,mBAAmB,CAAC;AAG3B,YAAY,EACV,kBAAkB,EAClB,sBAAsB,EACtB,WAAW,EACX,uBAAuB,EACvB,uBAAuB,EACvB,2BAA2B,EAC3B,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,EAC1B,eAAe,EACf,yBAAyB,EACzB,yBAAyB,EACzB,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EACl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PLAYED"
|
|
13
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* Chat information in message events
|
|
16
|
+
*
|
|
17
|
+
* @property id - Stable Zapy contact UUID (database ID) - use this for API references
|
|
18
|
+
* @property whatsappId - Raw WhatsApp identifier (JID or LID) - for WhatsApp protocol operations
|
|
19
|
+
* @property jid - WhatsApp phone number based JID (e.g., 5511999999999@s.whatsapp.net)
|
|
20
|
+
* @property lid - WhatsApp LID (linked identity) if available
|
|
21
|
+
*/
|
|
22
|
+
export interface ZapyChatInfo {
|
|
23
|
+
id: string | null;
|
|
24
|
+
whatsappId: string;
|
|
25
|
+
jid: string | null;
|
|
26
|
+
lid: string | null;
|
|
27
|
+
profilePictureUrl: string | null;
|
|
28
|
+
name: string | null;
|
|
29
|
+
isGroup: boolean;
|
|
30
|
+
isLid: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Sender/participant information in message events
|
|
34
|
+
*
|
|
35
|
+
* @property id - Stable Zapy contact UUID (database ID) - use this for API references
|
|
36
|
+
* @property whatsappId - Raw WhatsApp identifier (JID or LID) - for WhatsApp protocol operations
|
|
37
|
+
* @property jid - WhatsApp phone number based JID (e.g., 5511999999999@s.whatsapp.net)
|
|
38
|
+
* @property lid - WhatsApp LID (linked identity) if available
|
|
39
|
+
*/
|
|
40
|
+
export interface ZapySenderInfo {
|
|
41
|
+
id: string | null;
|
|
42
|
+
whatsappId: string;
|
|
43
|
+
jid: string | null;
|
|
44
|
+
lid: string | null;
|
|
45
|
+
name: string | null;
|
|
46
|
+
profilePictureUrl: string | null;
|
|
47
|
+
}
|
|
14
48
|
export type ZapyMessageStatus = {
|
|
15
49
|
timestamp: number;
|
|
16
50
|
messageId: string;
|
|
17
51
|
status: ZapyMessageStatusEnum;
|
|
18
|
-
chat:
|
|
19
|
-
|
|
20
|
-
jid: string | null;
|
|
21
|
-
lid: string | null;
|
|
22
|
-
profilePictureUrl: string | null;
|
|
23
|
-
name: string | null;
|
|
24
|
-
isGroup: boolean;
|
|
25
|
-
isLid: boolean;
|
|
26
|
-
};
|
|
27
|
-
sender: {
|
|
28
|
-
id: string;
|
|
29
|
-
jid: string | null;
|
|
30
|
-
lid: string | null;
|
|
31
|
-
name: string | null;
|
|
32
|
-
profilePictureUrl: string | null;
|
|
33
|
-
};
|
|
52
|
+
chat: ZapyChatInfo;
|
|
53
|
+
sender: ZapySenderInfo;
|
|
34
54
|
instanceId: string;
|
|
35
55
|
connectedNumber: string;
|
|
36
56
|
};
|
|
@@ -55,22 +75,8 @@ export declare enum ZapyMessageType {
|
|
|
55
75
|
}
|
|
56
76
|
export interface BaseZapyMessage {
|
|
57
77
|
id: string;
|
|
58
|
-
chat:
|
|
59
|
-
|
|
60
|
-
jid: string | null;
|
|
61
|
-
lid: string | null;
|
|
62
|
-
profilePictureUrl: string | null;
|
|
63
|
-
name: string | null;
|
|
64
|
-
isGroup: boolean;
|
|
65
|
-
isLid: boolean;
|
|
66
|
-
};
|
|
67
|
-
sender: {
|
|
68
|
-
id: string;
|
|
69
|
-
jid: string | null;
|
|
70
|
-
lid: string | null;
|
|
71
|
-
name: string | null;
|
|
72
|
-
profilePictureUrl: string | null;
|
|
73
|
-
};
|
|
78
|
+
chat: ZapyChatInfo;
|
|
79
|
+
sender: ZapySenderInfo;
|
|
74
80
|
messageId: string;
|
|
75
81
|
instanceId: string;
|
|
76
82
|
connectedNumber: string;
|
|
@@ -82,13 +88,7 @@ export interface BaseZapyMessage {
|
|
|
82
88
|
}
|
|
83
89
|
export interface QuotedMessage {
|
|
84
90
|
id: string;
|
|
85
|
-
sender:
|
|
86
|
-
id: string;
|
|
87
|
-
jid: string | null;
|
|
88
|
-
lid: string | null;
|
|
89
|
-
name: string | null;
|
|
90
|
-
profilePictureUrl: string | null;
|
|
91
|
-
};
|
|
91
|
+
sender: ZapySenderInfo;
|
|
92
92
|
message: ZapyMessage | null;
|
|
93
93
|
}
|
|
94
94
|
export interface ZapyTextMessage extends BaseZapyMessage {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-events.types.d.ts","sourceRoot":"","sources":["../../../../../libs/sdk/src/types/message-events.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,oBAAY,qBAAqB;IAC/B,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AAED,MAAM,
|
|
1
|
+
{"version":3,"file":"message-events.types.d.ts","sourceRoot":"","sources":["../../../../../libs/sdk/src/types/message-events.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,oBAAY,qBAAqB;IAC/B,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;CAChB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,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