@unlimited-messaging/sdk 0.1.27 → 0.1.29
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/package.json +1 -1
- package/src/api/resources/accounts/client/Client.d.ts +2 -4
- package/src/api/resources/accounts/client/Client.js +2 -4
- package/src/api/resources/accounts/client/requests/AccountEmailAutoconfigRequest.d.ts +3 -0
- package/src/api/resources/accounts/client/requests/AccountLinkAccountRequest.d.ts +12 -0
- package/src/api/resources/messages/types/MessageFindAllResponseDataItem.d.ts +8 -0
- package/src/api/resources/messages/types/MessageFindAllResponseDataItemReactionsItem.d.ts +16 -0
- package/src/api/resources/messages/types/MessageFindAllResponseDataItemReactionsItem.js +5 -0
- package/src/api/resources/messages/types/MessageFindOneResponse.d.ts +8 -0
- package/src/api/resources/messages/types/MessageFindOneResponseReactionsItem.d.ts +16 -0
- package/src/api/resources/messages/types/MessageFindOneResponseReactionsItem.js +5 -0
- package/src/api/resources/messages/types/MessageSendResponse.d.ts +8 -0
- package/src/api/resources/messages/types/MessageSendResponseMessagesItem.d.ts +8 -0
- package/src/api/resources/messages/types/MessageSendResponseMessagesItemReactionsItem.d.ts +16 -0
- package/src/api/resources/messages/types/MessageSendResponseMessagesItemReactionsItem.js +5 -0
- package/src/api/resources/messages/types/MessageSendResponseReactionsItem.d.ts +16 -0
- package/src/api/resources/messages/types/MessageSendResponseReactionsItem.js +5 -0
- package/src/api/resources/messages/types/index.d.ts +4 -0
- package/src/api/resources/messages/types/index.js +4 -0
- package/src/api/resources/webhooks/client/Client.d.ts +6 -3
- package/src/api/resources/webhooks/client/Client.js +6 -3
- package/src/api/types/WebhookEventMessageHistoryDataMessagesItemReplyTo.d.ts +1 -0
- package/src/api/types/WebhookEventMessageReceivedDataMessageReplyTo.d.ts +1 -0
- package/src/api/types/WebhookEventMessageSelfSentDataMessageReplyTo.d.ts +1 -0
- package/src/api/types/WebhookEventMessageSentDataMessageReplyTo.d.ts +1 -0
- package/src/serialization/resources/messages/types/MessageFindAllResponseDataItem.d.ts +5 -0
- package/src/serialization/resources/messages/types/MessageFindAllResponseDataItem.js +5 -0
- package/src/serialization/resources/messages/types/MessageFindAllResponseDataItemReactionsItem.d.ts +17 -0
- package/src/serialization/resources/messages/types/MessageFindAllResponseDataItemReactionsItem.js +48 -0
- package/src/serialization/resources/messages/types/MessageFindOneResponse.d.ts +5 -0
- package/src/serialization/resources/messages/types/MessageFindOneResponse.js +5 -0
- package/src/serialization/resources/messages/types/MessageFindOneResponseReactionsItem.d.ts +17 -0
- package/src/serialization/resources/messages/types/MessageFindOneResponseReactionsItem.js +48 -0
- package/src/serialization/resources/messages/types/MessageSendResponse.d.ts +5 -0
- package/src/serialization/resources/messages/types/MessageSendResponse.js +5 -0
- package/src/serialization/resources/messages/types/MessageSendResponseMessagesItem.d.ts +5 -0
- package/src/serialization/resources/messages/types/MessageSendResponseMessagesItem.js +5 -0
- package/src/serialization/resources/messages/types/MessageSendResponseMessagesItemReactionsItem.d.ts +17 -0
- package/src/serialization/resources/messages/types/MessageSendResponseMessagesItemReactionsItem.js +48 -0
- package/src/serialization/resources/messages/types/MessageSendResponseReactionsItem.d.ts +17 -0
- package/src/serialization/resources/messages/types/MessageSendResponseReactionsItem.js +48 -0
- package/src/serialization/resources/messages/types/index.d.ts +4 -0
- package/src/serialization/resources/messages/types/index.js +4 -0
- package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItemReplyTo.d.ts +1 -0
- package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItemReplyTo.js +1 -0
- package/src/serialization/types/WebhookEventMessageReceivedDataMessageReplyTo.d.ts +1 -0
- package/src/serialization/types/WebhookEventMessageReceivedDataMessageReplyTo.js +1 -0
- package/src/serialization/types/WebhookEventMessageSelfSentDataMessageReplyTo.d.ts +1 -0
- package/src/serialization/types/WebhookEventMessageSelfSentDataMessageReplyTo.js +1 -0
- package/src/serialization/types/WebhookEventMessageSentDataMessageReplyTo.d.ts +1 -0
- package/src/serialization/types/WebhookEventMessageSentDataMessageReplyTo.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unlimited-messaging/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
4
4
|
"description": "TypeScript / Node.js SDK for the Unlimited Messaging API — send and receive WhatsApp messages programmatically",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -93,10 +93,8 @@ export declare namespace Accounts {
|
|
|
93
93
|
* both channels too:
|
|
94
94
|
*
|
|
95
95
|
* - **WhatsApp**: the `add-account` tool shows the QR code in the chat, to scan like above.
|
|
96
|
-
* - **Email**: `add-email-account`
|
|
97
|
-
* themselves
|
|
98
|
-
* address and password (or app password) in the chat instead: the tool finds the servers and
|
|
99
|
-
* connects the mailbox directly.
|
|
96
|
+
* - **Email**: `add-email-account` gives the link to the dashboard, where the user types the password
|
|
97
|
+
* themselves: it never goes through the conversation.
|
|
100
98
|
*/
|
|
101
99
|
export declare class Accounts {
|
|
102
100
|
protected readonly _options: Accounts.Options;
|
|
@@ -126,10 +126,8 @@ const errors = __importStar(require("../../../../errors/index"));
|
|
|
126
126
|
* both channels too:
|
|
127
127
|
*
|
|
128
128
|
* - **WhatsApp**: the `add-account` tool shows the QR code in the chat, to scan like above.
|
|
129
|
-
* - **Email**: `add-email-account`
|
|
130
|
-
* themselves
|
|
131
|
-
* address and password (or app password) in the chat instead: the tool finds the servers and
|
|
132
|
-
* connects the mailbox directly.
|
|
129
|
+
* - **Email**: `add-email-account` gives the link to the dashboard, where the user types the password
|
|
130
|
+
* themselves: it never goes through the conversation.
|
|
133
131
|
*/
|
|
134
132
|
class Accounts {
|
|
135
133
|
constructor(_options) {
|
|
@@ -7,8 +7,20 @@ import * as UnlimitedMessagingApi from "../../../../index";
|
|
|
7
7
|
* {}
|
|
8
8
|
*/
|
|
9
9
|
export interface AccountLinkAccountRequest {
|
|
10
|
+
/**
|
|
11
|
+
* Connection method. Both "stable" and "beta" use the same underlying transport (whatsmeow). The two values are kept for backwards compatibility. Defaults to "stable".
|
|
12
|
+
*/
|
|
10
13
|
mode?: UnlimitedMessagingApi.AccountLinkAccountRequestMode;
|
|
14
|
+
/**
|
|
15
|
+
* Always start a new linking attempt, even if one is already pending. Other pending attempts are left alone.
|
|
16
|
+
*/
|
|
11
17
|
new?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Receive the account's message history: its past conversations are stored and announced as `message.history` webhook batches once the number is linked. Beta (whatsmeow) accounts only. Defaults to false.
|
|
20
|
+
*/
|
|
12
21
|
syncHistory?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Your own reference for this account (e.g. your customer organization id), stored on it. Only a pending attempt made with the same reference is resumed, so two of your customers linking at the same time each get their own account.
|
|
24
|
+
*/
|
|
13
25
|
externalRef?: string;
|
|
14
26
|
}
|
|
@@ -8,6 +8,8 @@ export interface MessageFindAllResponseDataItem {
|
|
|
8
8
|
direction: UnlimitedMessagingApi.MessageFindAllResponseDataItemDirection;
|
|
9
9
|
/** True when the account holder sent this message (direction OUT), false when they received it (direction IN). Redundant with direction, but spares the client from having to know which enum value means "we sent it" - the same convention as WhatsApp's own fromMe. */
|
|
10
10
|
fromMe: boolean;
|
|
11
|
+
/** True when Unlimited Messaging sent this message (through the API, the dashboard, MCP or the SDK). False for a received message, and for one written on the account's own device (the phone, a mail client) that Unlimited Messaging only mirrored. */
|
|
12
|
+
sentViaUm: boolean;
|
|
11
13
|
externalId: string | null;
|
|
12
14
|
error: string | null;
|
|
13
15
|
/** Meaning depends on direction and isGroup. 1:1 chat: the other party's phone number, both directions. Group + direction IN: the participant who posted the message. Group + direction OUT: the group's own bare id, since an outbound message's author is always the account holder (never the account holder's own number). For who a reply specifically targets, see replyToParticipant instead. */
|
|
@@ -18,6 +20,10 @@ export interface MessageFindAllResponseDataItem {
|
|
|
18
20
|
replyToExternalId: string | null;
|
|
19
21
|
/** For a reply to a group message, the phone number of whoever posted the message being replied to - not necessarily the same as interlocutor. Null outside that case. */
|
|
20
22
|
replyToParticipant: string | null;
|
|
23
|
+
/** The id of the message this one quotes, when Unlimited Messaging has it stored. Null when this is not a reply, or when the quoted message is not stored (older than the account link, or past the retention period). */
|
|
24
|
+
replyToMessageId: string | null;
|
|
25
|
+
/** The text of the message this one quotes: that stored message's content when it is stored, otherwise the quoted text the channel delivered with the reply. Null when this is not a reply, or when the quoted message has no text (a photo without a caption, a voice note). */
|
|
26
|
+
replyToContent: string | null;
|
|
21
27
|
retryCount: number;
|
|
22
28
|
messagingAccountId: string;
|
|
23
29
|
status: UnlimitedMessagingApi.MessageFindAllResponseDataItemStatus;
|
|
@@ -32,6 +38,8 @@ export interface MessageFindAllResponseDataItem {
|
|
|
32
38
|
/** Ties together the messages one send request created, one per channel. Null for inbound messages. */
|
|
33
39
|
dispatchId: string | null;
|
|
34
40
|
attachments: UnlimitedMessagingApi.MessageFindAllResponseDataItemAttachmentsItem[];
|
|
41
|
+
/** The reactions on this message, one per person (a new reaction replaces theirs, a removed one is gone), oldest first. Empty when there are none. */
|
|
42
|
+
reactions: UnlimitedMessagingApi.MessageFindAllResponseDataItemReactionsItem[];
|
|
35
43
|
/** Deprecated: use `attachments` instead (this is the first one). */
|
|
36
44
|
mediaUrl: string | null;
|
|
37
45
|
/** Deprecated: use `attachments` instead (this is the first one). */
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface MessageFindAllResponseDataItemReactionsItem {
|
|
5
|
+
emoji: string;
|
|
6
|
+
/** Who reacted, as an address (+E164 phone number) when known. */
|
|
7
|
+
sender: string | null;
|
|
8
|
+
/** Who reacted, as the channel's own id: always set, even when the number is hidden. */
|
|
9
|
+
senderId: string;
|
|
10
|
+
/** The display name they chose. Null for a reaction of the account holder. */
|
|
11
|
+
senderName: string | null;
|
|
12
|
+
/** True when the account holder reacted. */
|
|
13
|
+
fromMe: boolean;
|
|
14
|
+
/** When they reacted, per the channel. */
|
|
15
|
+
sentAt: Date;
|
|
16
|
+
}
|
|
@@ -8,6 +8,8 @@ export interface MessageFindOneResponse {
|
|
|
8
8
|
direction: UnlimitedMessagingApi.MessageFindOneResponseDirection;
|
|
9
9
|
/** True when the account holder sent this message (direction OUT), false when they received it (direction IN). Redundant with direction, but spares the client from having to know which enum value means "we sent it" - the same convention as WhatsApp's own fromMe. */
|
|
10
10
|
fromMe: boolean;
|
|
11
|
+
/** True when Unlimited Messaging sent this message (through the API, the dashboard, MCP or the SDK). False for a received message, and for one written on the account's own device (the phone, a mail client) that Unlimited Messaging only mirrored. */
|
|
12
|
+
sentViaUm: boolean;
|
|
11
13
|
externalId: string | null;
|
|
12
14
|
error: string | null;
|
|
13
15
|
/** Meaning depends on direction and isGroup. 1:1 chat: the other party's phone number, both directions. Group + direction IN: the participant who posted the message. Group + direction OUT: the group's own bare id, since an outbound message's author is always the account holder (never the account holder's own number). For who a reply specifically targets, see replyToParticipant instead. */
|
|
@@ -18,6 +20,10 @@ export interface MessageFindOneResponse {
|
|
|
18
20
|
replyToExternalId: string | null;
|
|
19
21
|
/** For a reply to a group message, the phone number of whoever posted the message being replied to - not necessarily the same as interlocutor. Null outside that case. */
|
|
20
22
|
replyToParticipant: string | null;
|
|
23
|
+
/** The id of the message this one quotes, when Unlimited Messaging has it stored. Null when this is not a reply, or when the quoted message is not stored (older than the account link, or past the retention period). */
|
|
24
|
+
replyToMessageId: string | null;
|
|
25
|
+
/** The text of the message this one quotes: that stored message's content when it is stored, otherwise the quoted text the channel delivered with the reply. Null when this is not a reply, or when the quoted message has no text (a photo without a caption, a voice note). */
|
|
26
|
+
replyToContent: string | null;
|
|
21
27
|
retryCount: number;
|
|
22
28
|
messagingAccountId: string;
|
|
23
29
|
status: UnlimitedMessagingApi.MessageFindOneResponseStatus;
|
|
@@ -32,6 +38,8 @@ export interface MessageFindOneResponse {
|
|
|
32
38
|
/** Ties together the messages one send request created, one per channel. Null for inbound messages. */
|
|
33
39
|
dispatchId: string | null;
|
|
34
40
|
attachments: UnlimitedMessagingApi.MessageFindOneResponseAttachmentsItem[];
|
|
41
|
+
/** The reactions on this message, one per person (a new reaction replaces theirs, a removed one is gone), oldest first. Empty when there are none. */
|
|
42
|
+
reactions: UnlimitedMessagingApi.MessageFindOneResponseReactionsItem[];
|
|
35
43
|
/** Deprecated: use `attachments` instead (this is the first one). */
|
|
36
44
|
mediaUrl: string | null;
|
|
37
45
|
/** Deprecated: use `attachments` instead (this is the first one). */
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface MessageFindOneResponseReactionsItem {
|
|
5
|
+
emoji: string;
|
|
6
|
+
/** Who reacted, as an address (+E164 phone number) when known. */
|
|
7
|
+
sender: string | null;
|
|
8
|
+
/** Who reacted, as the channel's own id: always set, even when the number is hidden. */
|
|
9
|
+
senderId: string;
|
|
10
|
+
/** The display name they chose. Null for a reaction of the account holder. */
|
|
11
|
+
senderName: string | null;
|
|
12
|
+
/** True when the account holder reacted. */
|
|
13
|
+
fromMe: boolean;
|
|
14
|
+
/** When they reacted, per the channel. */
|
|
15
|
+
sentAt: Date;
|
|
16
|
+
}
|
|
@@ -8,6 +8,8 @@ export interface MessageSendResponse {
|
|
|
8
8
|
direction: UnlimitedMessagingApi.MessageSendResponseDirection;
|
|
9
9
|
/** True when the account holder sent this message (direction OUT), false when they received it (direction IN). Redundant with direction, but spares the client from having to know which enum value means "we sent it" - the same convention as WhatsApp's own fromMe. */
|
|
10
10
|
fromMe: boolean;
|
|
11
|
+
/** True when Unlimited Messaging sent this message (through the API, the dashboard, MCP or the SDK). False for a received message, and for one written on the account's own device (the phone, a mail client) that Unlimited Messaging only mirrored. */
|
|
12
|
+
sentViaUm: boolean;
|
|
11
13
|
externalId: string | null;
|
|
12
14
|
error: string | null;
|
|
13
15
|
/** Meaning depends on direction and isGroup. 1:1 chat: the other party's phone number, both directions. Group + direction IN: the participant who posted the message. Group + direction OUT: the group's own bare id, since an outbound message's author is always the account holder (never the account holder's own number). For who a reply specifically targets, see replyToParticipant instead. */
|
|
@@ -18,6 +20,10 @@ export interface MessageSendResponse {
|
|
|
18
20
|
replyToExternalId: string | null;
|
|
19
21
|
/** For a reply to a group message, the phone number of whoever posted the message being replied to - not necessarily the same as interlocutor. Null outside that case. */
|
|
20
22
|
replyToParticipant: string | null;
|
|
23
|
+
/** The id of the message this one quotes, when Unlimited Messaging has it stored. Null when this is not a reply, or when the quoted message is not stored (older than the account link, or past the retention period). */
|
|
24
|
+
replyToMessageId: string | null;
|
|
25
|
+
/** The text of the message this one quotes: that stored message's content when it is stored, otherwise the quoted text the channel delivered with the reply. Null when this is not a reply, or when the quoted message has no text (a photo without a caption, a voice note). */
|
|
26
|
+
replyToContent: string | null;
|
|
21
27
|
retryCount: number;
|
|
22
28
|
messagingAccountId: string;
|
|
23
29
|
status: UnlimitedMessagingApi.MessageSendResponseStatus;
|
|
@@ -31,6 +37,8 @@ export interface MessageSendResponse {
|
|
|
31
37
|
contentHtml: string | null;
|
|
32
38
|
dispatchId: string;
|
|
33
39
|
attachments: UnlimitedMessagingApi.MessageSendResponseAttachmentsItem[];
|
|
40
|
+
/** The reactions on this message, one per person (a new reaction replaces theirs, a removed one is gone), oldest first. Empty when there are none. */
|
|
41
|
+
reactions: UnlimitedMessagingApi.MessageSendResponseReactionsItem[];
|
|
34
42
|
/** Deprecated: use `attachments` instead (this is the first one). */
|
|
35
43
|
mediaUrl: string | null;
|
|
36
44
|
/** Deprecated: use `attachments` instead (this is the first one). */
|
|
@@ -8,6 +8,8 @@ export interface MessageSendResponseMessagesItem {
|
|
|
8
8
|
direction: UnlimitedMessagingApi.MessageSendResponseMessagesItemDirection;
|
|
9
9
|
/** True when the account holder sent this message (direction OUT), false when they received it (direction IN). Redundant with direction, but spares the client from having to know which enum value means "we sent it" - the same convention as WhatsApp's own fromMe. */
|
|
10
10
|
fromMe: boolean;
|
|
11
|
+
/** True when Unlimited Messaging sent this message (through the API, the dashboard, MCP or the SDK). False for a received message, and for one written on the account's own device (the phone, a mail client) that Unlimited Messaging only mirrored. */
|
|
12
|
+
sentViaUm: boolean;
|
|
11
13
|
externalId: string | null;
|
|
12
14
|
error: string | null;
|
|
13
15
|
/** Meaning depends on direction and isGroup. 1:1 chat: the other party's phone number, both directions. Group + direction IN: the participant who posted the message. Group + direction OUT: the group's own bare id, since an outbound message's author is always the account holder (never the account holder's own number). For who a reply specifically targets, see replyToParticipant instead. */
|
|
@@ -18,6 +20,10 @@ export interface MessageSendResponseMessagesItem {
|
|
|
18
20
|
replyToExternalId: string | null;
|
|
19
21
|
/** For a reply to a group message, the phone number of whoever posted the message being replied to - not necessarily the same as interlocutor. Null outside that case. */
|
|
20
22
|
replyToParticipant: string | null;
|
|
23
|
+
/** The id of the message this one quotes, when Unlimited Messaging has it stored. Null when this is not a reply, or when the quoted message is not stored (older than the account link, or past the retention period). */
|
|
24
|
+
replyToMessageId: string | null;
|
|
25
|
+
/** The text of the message this one quotes: that stored message's content when it is stored, otherwise the quoted text the channel delivered with the reply. Null when this is not a reply, or when the quoted message has no text (a photo without a caption, a voice note). */
|
|
26
|
+
replyToContent: string | null;
|
|
21
27
|
retryCount: number;
|
|
22
28
|
messagingAccountId: string;
|
|
23
29
|
status: UnlimitedMessagingApi.MessageSendResponseMessagesItemStatus;
|
|
@@ -32,6 +38,8 @@ export interface MessageSendResponseMessagesItem {
|
|
|
32
38
|
/** Ties together the messages one send request created, one per channel. Null for inbound messages. */
|
|
33
39
|
dispatchId: string | null;
|
|
34
40
|
attachments: UnlimitedMessagingApi.MessageSendResponseMessagesItemAttachmentsItem[];
|
|
41
|
+
/** The reactions on this message, one per person (a new reaction replaces theirs, a removed one is gone), oldest first. Empty when there are none. */
|
|
42
|
+
reactions: UnlimitedMessagingApi.MessageSendResponseMessagesItemReactionsItem[];
|
|
35
43
|
/** Deprecated: use `attachments` instead (this is the first one). */
|
|
36
44
|
mediaUrl: string | null;
|
|
37
45
|
/** Deprecated: use `attachments` instead (this is the first one). */
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface MessageSendResponseMessagesItemReactionsItem {
|
|
5
|
+
emoji: string;
|
|
6
|
+
/** Who reacted, as an address (+E164 phone number) when known. */
|
|
7
|
+
sender: string | null;
|
|
8
|
+
/** Who reacted, as the channel's own id: always set, even when the number is hidden. */
|
|
9
|
+
senderId: string;
|
|
10
|
+
/** The display name they chose. Null for a reaction of the account holder. */
|
|
11
|
+
senderName: string | null;
|
|
12
|
+
/** True when the account holder reacted. */
|
|
13
|
+
fromMe: boolean;
|
|
14
|
+
/** When they reacted, per the channel. */
|
|
15
|
+
sentAt: Date;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface MessageSendResponseReactionsItem {
|
|
5
|
+
emoji: string;
|
|
6
|
+
/** Who reacted, as an address (+E164 phone number) when known. */
|
|
7
|
+
sender: string | null;
|
|
8
|
+
/** Who reacted, as the channel's own id: always set, even when the number is hidden. */
|
|
9
|
+
senderId: string;
|
|
10
|
+
/** The display name they chose. Null for a reaction of the account holder. */
|
|
11
|
+
senderName: string | null;
|
|
12
|
+
/** True when the account holder reacted. */
|
|
13
|
+
fromMe: boolean;
|
|
14
|
+
/** When they reacted, per the channel. */
|
|
15
|
+
sentAt: Date;
|
|
16
|
+
}
|
|
@@ -6,6 +6,7 @@ export * from "./MessageFindAllResponseDataItemStatus";
|
|
|
6
6
|
export * from "./MessageFindAllResponseDataItemChannel";
|
|
7
7
|
export * from "./MessageFindAllResponseDataItemAccountChannel";
|
|
8
8
|
export * from "./MessageFindAllResponseDataItemAttachmentsItem";
|
|
9
|
+
export * from "./MessageFindAllResponseDataItemReactionsItem";
|
|
9
10
|
export * from "./MessageFindAllResponseDataItem";
|
|
10
11
|
export * from "./MessageFindAllResponse";
|
|
11
12
|
export * from "./MessageSendRequestAttachmentsItem";
|
|
@@ -20,11 +21,13 @@ export * from "./MessageSendResponseStatus";
|
|
|
20
21
|
export * from "./MessageSendResponseChannel";
|
|
21
22
|
export * from "./MessageSendResponseAccountChannel";
|
|
22
23
|
export * from "./MessageSendResponseAttachmentsItem";
|
|
24
|
+
export * from "./MessageSendResponseReactionsItem";
|
|
23
25
|
export * from "./MessageSendResponseMessagesItemDirection";
|
|
24
26
|
export * from "./MessageSendResponseMessagesItemStatus";
|
|
25
27
|
export * from "./MessageSendResponseMessagesItemChannel";
|
|
26
28
|
export * from "./MessageSendResponseMessagesItemAccountChannel";
|
|
27
29
|
export * from "./MessageSendResponseMessagesItemAttachmentsItem";
|
|
30
|
+
export * from "./MessageSendResponseMessagesItemReactionsItem";
|
|
28
31
|
export * from "./MessageSendResponseMessagesItem";
|
|
29
32
|
export * from "./MessageSendResponse";
|
|
30
33
|
export * from "./MessageFindOneResponseDirection";
|
|
@@ -32,6 +35,7 @@ export * from "./MessageFindOneResponseStatus";
|
|
|
32
35
|
export * from "./MessageFindOneResponseChannel";
|
|
33
36
|
export * from "./MessageFindOneResponseAccountChannel";
|
|
34
37
|
export * from "./MessageFindOneResponseAttachmentsItem";
|
|
38
|
+
export * from "./MessageFindOneResponseReactionsItem";
|
|
35
39
|
export * from "./MessageFindOneResponse";
|
|
36
40
|
export * from "./MessageGetStatusHistoryResponseChannelsItemChannel";
|
|
37
41
|
export * from "./MessageGetStatusHistoryResponseChannelsItemEventsItemStatus";
|
|
@@ -22,6 +22,7 @@ __exportStar(require("./MessageFindAllResponseDataItemStatus"), exports);
|
|
|
22
22
|
__exportStar(require("./MessageFindAllResponseDataItemChannel"), exports);
|
|
23
23
|
__exportStar(require("./MessageFindAllResponseDataItemAccountChannel"), exports);
|
|
24
24
|
__exportStar(require("./MessageFindAllResponseDataItemAttachmentsItem"), exports);
|
|
25
|
+
__exportStar(require("./MessageFindAllResponseDataItemReactionsItem"), exports);
|
|
25
26
|
__exportStar(require("./MessageFindAllResponseDataItem"), exports);
|
|
26
27
|
__exportStar(require("./MessageFindAllResponse"), exports);
|
|
27
28
|
__exportStar(require("./MessageSendRequestAttachmentsItem"), exports);
|
|
@@ -36,11 +37,13 @@ __exportStar(require("./MessageSendResponseStatus"), exports);
|
|
|
36
37
|
__exportStar(require("./MessageSendResponseChannel"), exports);
|
|
37
38
|
__exportStar(require("./MessageSendResponseAccountChannel"), exports);
|
|
38
39
|
__exportStar(require("./MessageSendResponseAttachmentsItem"), exports);
|
|
40
|
+
__exportStar(require("./MessageSendResponseReactionsItem"), exports);
|
|
39
41
|
__exportStar(require("./MessageSendResponseMessagesItemDirection"), exports);
|
|
40
42
|
__exportStar(require("./MessageSendResponseMessagesItemStatus"), exports);
|
|
41
43
|
__exportStar(require("./MessageSendResponseMessagesItemChannel"), exports);
|
|
42
44
|
__exportStar(require("./MessageSendResponseMessagesItemAccountChannel"), exports);
|
|
43
45
|
__exportStar(require("./MessageSendResponseMessagesItemAttachmentsItem"), exports);
|
|
46
|
+
__exportStar(require("./MessageSendResponseMessagesItemReactionsItem"), exports);
|
|
44
47
|
__exportStar(require("./MessageSendResponseMessagesItem"), exports);
|
|
45
48
|
__exportStar(require("./MessageSendResponse"), exports);
|
|
46
49
|
__exportStar(require("./MessageFindOneResponseDirection"), exports);
|
|
@@ -48,6 +51,7 @@ __exportStar(require("./MessageFindOneResponseStatus"), exports);
|
|
|
48
51
|
__exportStar(require("./MessageFindOneResponseChannel"), exports);
|
|
49
52
|
__exportStar(require("./MessageFindOneResponseAccountChannel"), exports);
|
|
50
53
|
__exportStar(require("./MessageFindOneResponseAttachmentsItem"), exports);
|
|
54
|
+
__exportStar(require("./MessageFindOneResponseReactionsItem"), exports);
|
|
51
55
|
__exportStar(require("./MessageFindOneResponse"), exports);
|
|
52
56
|
__exportStar(require("./MessageGetStatusHistoryResponseChannelsItemChannel"), exports);
|
|
53
57
|
__exportStar(require("./MessageGetStatusHistoryResponseChannelsItemEventsItemStatus"), exports);
|
|
@@ -120,7 +120,8 @@ export declare namespace Webhooks {
|
|
|
120
120
|
* the same message object (`data.message`, or each item of `data.messages`): `id` (UnlimitedMessaging),
|
|
121
121
|
* `externalId` (WhatsApp), `direction` (`IN` or `OUT`), `fromMe`, `content`, `sentAt` (the channel's
|
|
122
122
|
* timestamp), `receivedAt` (when UnlimitedMessaging recorded it), `sender`, `senderId`, `senderName`,
|
|
123
|
-
* `participant`, `replyTo`, `
|
|
123
|
+
* `participant`, `replyTo` (`externalId`, `participant`, and `content`, the quoted message's text, for
|
|
124
|
+
* a reply; null otherwise), `transcript`, the media fields described below, and for email `subject`,
|
|
124
125
|
* `html` and `attachments`. Message events also carry `data.channel`: `type` (`WHATSAPP`, `EMAIL`),
|
|
125
126
|
* `account` (`id`, `name`) and `conversation` (`id`, `isGroup`, `address`, and `participants` for a
|
|
126
127
|
* group).
|
|
@@ -175,8 +176,10 @@ export declare namespace Webhooks {
|
|
|
175
176
|
* Someone reacted to a message, or took their reaction back (`removed: true`, empty `emoji`). The
|
|
176
177
|
* account's own reactions are included, with `fromMe: true`. `data.reaction` holds `emoji`, `removed`,
|
|
177
178
|
* `reactedToExternalId`, `reactedToMessageId` (null when that message is not stored, see below),
|
|
178
|
-
* `sender`, `senderId`, `senderName`, `participant` (in a group), `fromMe` and `sentAt`.
|
|
179
|
-
* stored
|
|
179
|
+
* `sender`, `senderId`, `senderName`, `participant` (in a group), `fromMe` and `sentAt`. When
|
|
180
|
+
* that message is stored, the reaction is kept with it and listed in its `reactions` (`GET /message`),
|
|
181
|
+
* one per person: a new reaction replaces theirs, a removed one disappears. A reaction is not a
|
|
182
|
+
* message and is never counted as one.
|
|
180
183
|
*
|
|
181
184
|
* #### message.edited
|
|
182
185
|
*
|
|
@@ -153,7 +153,8 @@ const errors = __importStar(require("../../../../errors/index"));
|
|
|
153
153
|
* the same message object (`data.message`, or each item of `data.messages`): `id` (UnlimitedMessaging),
|
|
154
154
|
* `externalId` (WhatsApp), `direction` (`IN` or `OUT`), `fromMe`, `content`, `sentAt` (the channel's
|
|
155
155
|
* timestamp), `receivedAt` (when UnlimitedMessaging recorded it), `sender`, `senderId`, `senderName`,
|
|
156
|
-
* `participant`, `replyTo`, `
|
|
156
|
+
* `participant`, `replyTo` (`externalId`, `participant`, and `content`, the quoted message's text, for
|
|
157
|
+
* a reply; null otherwise), `transcript`, the media fields described below, and for email `subject`,
|
|
157
158
|
* `html` and `attachments`. Message events also carry `data.channel`: `type` (`WHATSAPP`, `EMAIL`),
|
|
158
159
|
* `account` (`id`, `name`) and `conversation` (`id`, `isGroup`, `address`, and `participants` for a
|
|
159
160
|
* group).
|
|
@@ -208,8 +209,10 @@ const errors = __importStar(require("../../../../errors/index"));
|
|
|
208
209
|
* Someone reacted to a message, or took their reaction back (`removed: true`, empty `emoji`). The
|
|
209
210
|
* account's own reactions are included, with `fromMe: true`. `data.reaction` holds `emoji`, `removed`,
|
|
210
211
|
* `reactedToExternalId`, `reactedToMessageId` (null when that message is not stored, see below),
|
|
211
|
-
* `sender`, `senderId`, `senderName`, `participant` (in a group), `fromMe` and `sentAt`.
|
|
212
|
-
* stored
|
|
212
|
+
* `sender`, `senderId`, `senderName`, `participant` (in a group), `fromMe` and `sentAt`. When
|
|
213
|
+
* that message is stored, the reaction is kept with it and listed in its `reactions` (`GET /message`),
|
|
214
|
+
* one per person: a new reaction replaces theirs, a removed one disappears. A reaction is not a
|
|
215
|
+
* message and is never counted as one.
|
|
213
216
|
*
|
|
214
217
|
* #### message.edited
|
|
215
218
|
*
|
|
@@ -9,6 +9,7 @@ import { MessageFindAllResponseDataItemStatus } from "./MessageFindAllResponseDa
|
|
|
9
9
|
import { MessageFindAllResponseDataItemChannel } from "./MessageFindAllResponseDataItemChannel";
|
|
10
10
|
import { MessageFindAllResponseDataItemAccountChannel } from "./MessageFindAllResponseDataItemAccountChannel";
|
|
11
11
|
import { MessageFindAllResponseDataItemAttachmentsItem } from "./MessageFindAllResponseDataItemAttachmentsItem";
|
|
12
|
+
import { MessageFindAllResponseDataItemReactionsItem } from "./MessageFindAllResponseDataItemReactionsItem";
|
|
12
13
|
export declare const MessageFindAllResponseDataItem: core.serialization.ObjectSchema<serializers.MessageFindAllResponseDataItem.Raw, UnlimitedMessagingApi.MessageFindAllResponseDataItem>;
|
|
13
14
|
export declare namespace MessageFindAllResponseDataItem {
|
|
14
15
|
interface Raw {
|
|
@@ -16,6 +17,7 @@ export declare namespace MessageFindAllResponseDataItem {
|
|
|
16
17
|
content: string | null;
|
|
17
18
|
direction: MessageFindAllResponseDataItemDirection.Raw;
|
|
18
19
|
fromMe: boolean;
|
|
20
|
+
sentViaUm: boolean;
|
|
19
21
|
externalId: string | null;
|
|
20
22
|
error: string | null;
|
|
21
23
|
interlocutor: string;
|
|
@@ -23,6 +25,8 @@ export declare namespace MessageFindAllResponseDataItem {
|
|
|
23
25
|
isGroup: boolean;
|
|
24
26
|
replyToExternalId: string | null;
|
|
25
27
|
replyToParticipant: string | null;
|
|
28
|
+
replyToMessageId: string | null;
|
|
29
|
+
replyToContent: string | null;
|
|
26
30
|
retryCount: number;
|
|
27
31
|
messagingAccountId: string;
|
|
28
32
|
status: MessageFindAllResponseDataItemStatus.Raw;
|
|
@@ -33,6 +37,7 @@ export declare namespace MessageFindAllResponseDataItem {
|
|
|
33
37
|
contentHtml: string | null;
|
|
34
38
|
dispatchId: string | null;
|
|
35
39
|
attachments: MessageFindAllResponseDataItemAttachmentsItem.Raw[];
|
|
40
|
+
reactions: MessageFindAllResponseDataItemReactionsItem.Raw[];
|
|
36
41
|
mediaUrl: string | null;
|
|
37
42
|
mediaType: string | null;
|
|
38
43
|
mimeType: string | null;
|
|
@@ -43,11 +43,13 @@ const MessageFindAllResponseDataItemStatus_1 = require("./MessageFindAllResponse
|
|
|
43
43
|
const MessageFindAllResponseDataItemChannel_1 = require("./MessageFindAllResponseDataItemChannel");
|
|
44
44
|
const MessageFindAllResponseDataItemAccountChannel_1 = require("./MessageFindAllResponseDataItemAccountChannel");
|
|
45
45
|
const MessageFindAllResponseDataItemAttachmentsItem_1 = require("./MessageFindAllResponseDataItemAttachmentsItem");
|
|
46
|
+
const MessageFindAllResponseDataItemReactionsItem_1 = require("./MessageFindAllResponseDataItemReactionsItem");
|
|
46
47
|
exports.MessageFindAllResponseDataItem = core.serialization.object({
|
|
47
48
|
id: core.serialization.string(),
|
|
48
49
|
content: core.serialization.string().nullable(),
|
|
49
50
|
direction: MessageFindAllResponseDataItemDirection_1.MessageFindAllResponseDataItemDirection,
|
|
50
51
|
fromMe: core.serialization.boolean(),
|
|
52
|
+
sentViaUm: core.serialization.boolean(),
|
|
51
53
|
externalId: core.serialization.string().nullable(),
|
|
52
54
|
error: core.serialization.string().nullable(),
|
|
53
55
|
interlocutor: core.serialization.string(),
|
|
@@ -55,6 +57,8 @@ exports.MessageFindAllResponseDataItem = core.serialization.object({
|
|
|
55
57
|
isGroup: core.serialization.boolean(),
|
|
56
58
|
replyToExternalId: core.serialization.string().nullable(),
|
|
57
59
|
replyToParticipant: core.serialization.string().nullable(),
|
|
60
|
+
replyToMessageId: core.serialization.string().nullable(),
|
|
61
|
+
replyToContent: core.serialization.string().nullable(),
|
|
58
62
|
retryCount: core.serialization.number(),
|
|
59
63
|
messagingAccountId: core.serialization.string(),
|
|
60
64
|
status: MessageFindAllResponseDataItemStatus_1.MessageFindAllResponseDataItemStatus,
|
|
@@ -65,6 +69,7 @@ exports.MessageFindAllResponseDataItem = core.serialization.object({
|
|
|
65
69
|
contentHtml: core.serialization.string().nullable(),
|
|
66
70
|
dispatchId: core.serialization.string().nullable(),
|
|
67
71
|
attachments: core.serialization.list(MessageFindAllResponseDataItemAttachmentsItem_1.MessageFindAllResponseDataItemAttachmentsItem),
|
|
72
|
+
reactions: core.serialization.list(MessageFindAllResponseDataItemReactionsItem_1.MessageFindAllResponseDataItemReactionsItem),
|
|
68
73
|
mediaUrl: core.serialization.string().nullable(),
|
|
69
74
|
mediaType: core.serialization.string().nullable(),
|
|
70
75
|
mimeType: core.serialization.string().nullable(),
|
package/src/serialization/resources/messages/types/MessageFindAllResponseDataItemReactionsItem.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as UnlimitedMessagingApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const MessageFindAllResponseDataItemReactionsItem: core.serialization.ObjectSchema<serializers.MessageFindAllResponseDataItemReactionsItem.Raw, UnlimitedMessagingApi.MessageFindAllResponseDataItemReactionsItem>;
|
|
8
|
+
export declare namespace MessageFindAllResponseDataItemReactionsItem {
|
|
9
|
+
interface Raw {
|
|
10
|
+
emoji: string;
|
|
11
|
+
sender: string | null;
|
|
12
|
+
senderId: string;
|
|
13
|
+
senderName: string | null;
|
|
14
|
+
fromMe: boolean;
|
|
15
|
+
sentAt: string;
|
|
16
|
+
}
|
|
17
|
+
}
|
package/src/serialization/resources/messages/types/MessageFindAllResponseDataItemReactionsItem.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.MessageFindAllResponseDataItemReactionsItem = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.MessageFindAllResponseDataItemReactionsItem = core.serialization.object({
|
|
42
|
+
emoji: core.serialization.string(),
|
|
43
|
+
sender: core.serialization.string().nullable(),
|
|
44
|
+
senderId: core.serialization.string(),
|
|
45
|
+
senderName: core.serialization.string().nullable(),
|
|
46
|
+
fromMe: core.serialization.boolean(),
|
|
47
|
+
sentAt: core.serialization.date(),
|
|
48
|
+
});
|
|
@@ -9,6 +9,7 @@ import { MessageFindOneResponseStatus } from "./MessageFindOneResponseStatus";
|
|
|
9
9
|
import { MessageFindOneResponseChannel } from "./MessageFindOneResponseChannel";
|
|
10
10
|
import { MessageFindOneResponseAccountChannel } from "./MessageFindOneResponseAccountChannel";
|
|
11
11
|
import { MessageFindOneResponseAttachmentsItem } from "./MessageFindOneResponseAttachmentsItem";
|
|
12
|
+
import { MessageFindOneResponseReactionsItem } from "./MessageFindOneResponseReactionsItem";
|
|
12
13
|
export declare const MessageFindOneResponse: core.serialization.ObjectSchema<serializers.MessageFindOneResponse.Raw, UnlimitedMessagingApi.MessageFindOneResponse>;
|
|
13
14
|
export declare namespace MessageFindOneResponse {
|
|
14
15
|
interface Raw {
|
|
@@ -16,6 +17,7 @@ export declare namespace MessageFindOneResponse {
|
|
|
16
17
|
content: string | null;
|
|
17
18
|
direction: MessageFindOneResponseDirection.Raw;
|
|
18
19
|
fromMe: boolean;
|
|
20
|
+
sentViaUm: boolean;
|
|
19
21
|
externalId: string | null;
|
|
20
22
|
error: string | null;
|
|
21
23
|
interlocutor: string;
|
|
@@ -23,6 +25,8 @@ export declare namespace MessageFindOneResponse {
|
|
|
23
25
|
isGroup: boolean;
|
|
24
26
|
replyToExternalId: string | null;
|
|
25
27
|
replyToParticipant: string | null;
|
|
28
|
+
replyToMessageId: string | null;
|
|
29
|
+
replyToContent: string | null;
|
|
26
30
|
retryCount: number;
|
|
27
31
|
messagingAccountId: string;
|
|
28
32
|
status: MessageFindOneResponseStatus.Raw;
|
|
@@ -33,6 +37,7 @@ export declare namespace MessageFindOneResponse {
|
|
|
33
37
|
contentHtml: string | null;
|
|
34
38
|
dispatchId: string | null;
|
|
35
39
|
attachments: MessageFindOneResponseAttachmentsItem.Raw[];
|
|
40
|
+
reactions: MessageFindOneResponseReactionsItem.Raw[];
|
|
36
41
|
mediaUrl: string | null;
|
|
37
42
|
mediaType: string | null;
|
|
38
43
|
mimeType: string | null;
|
|
@@ -43,11 +43,13 @@ const MessageFindOneResponseStatus_1 = require("./MessageFindOneResponseStatus")
|
|
|
43
43
|
const MessageFindOneResponseChannel_1 = require("./MessageFindOneResponseChannel");
|
|
44
44
|
const MessageFindOneResponseAccountChannel_1 = require("./MessageFindOneResponseAccountChannel");
|
|
45
45
|
const MessageFindOneResponseAttachmentsItem_1 = require("./MessageFindOneResponseAttachmentsItem");
|
|
46
|
+
const MessageFindOneResponseReactionsItem_1 = require("./MessageFindOneResponseReactionsItem");
|
|
46
47
|
exports.MessageFindOneResponse = core.serialization.object({
|
|
47
48
|
id: core.serialization.string(),
|
|
48
49
|
content: core.serialization.string().nullable(),
|
|
49
50
|
direction: MessageFindOneResponseDirection_1.MessageFindOneResponseDirection,
|
|
50
51
|
fromMe: core.serialization.boolean(),
|
|
52
|
+
sentViaUm: core.serialization.boolean(),
|
|
51
53
|
externalId: core.serialization.string().nullable(),
|
|
52
54
|
error: core.serialization.string().nullable(),
|
|
53
55
|
interlocutor: core.serialization.string(),
|
|
@@ -55,6 +57,8 @@ exports.MessageFindOneResponse = core.serialization.object({
|
|
|
55
57
|
isGroup: core.serialization.boolean(),
|
|
56
58
|
replyToExternalId: core.serialization.string().nullable(),
|
|
57
59
|
replyToParticipant: core.serialization.string().nullable(),
|
|
60
|
+
replyToMessageId: core.serialization.string().nullable(),
|
|
61
|
+
replyToContent: core.serialization.string().nullable(),
|
|
58
62
|
retryCount: core.serialization.number(),
|
|
59
63
|
messagingAccountId: core.serialization.string(),
|
|
60
64
|
status: MessageFindOneResponseStatus_1.MessageFindOneResponseStatus,
|
|
@@ -65,6 +69,7 @@ exports.MessageFindOneResponse = core.serialization.object({
|
|
|
65
69
|
contentHtml: core.serialization.string().nullable(),
|
|
66
70
|
dispatchId: core.serialization.string().nullable(),
|
|
67
71
|
attachments: core.serialization.list(MessageFindOneResponseAttachmentsItem_1.MessageFindOneResponseAttachmentsItem),
|
|
72
|
+
reactions: core.serialization.list(MessageFindOneResponseReactionsItem_1.MessageFindOneResponseReactionsItem),
|
|
68
73
|
mediaUrl: core.serialization.string().nullable(),
|
|
69
74
|
mediaType: core.serialization.string().nullable(),
|
|
70
75
|
mimeType: core.serialization.string().nullable(),
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as UnlimitedMessagingApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const MessageFindOneResponseReactionsItem: core.serialization.ObjectSchema<serializers.MessageFindOneResponseReactionsItem.Raw, UnlimitedMessagingApi.MessageFindOneResponseReactionsItem>;
|
|
8
|
+
export declare namespace MessageFindOneResponseReactionsItem {
|
|
9
|
+
interface Raw {
|
|
10
|
+
emoji: string;
|
|
11
|
+
sender: string | null;
|
|
12
|
+
senderId: string;
|
|
13
|
+
senderName: string | null;
|
|
14
|
+
fromMe: boolean;
|
|
15
|
+
sentAt: string;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.MessageFindOneResponseReactionsItem = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.MessageFindOneResponseReactionsItem = core.serialization.object({
|
|
42
|
+
emoji: core.serialization.string(),
|
|
43
|
+
sender: core.serialization.string().nullable(),
|
|
44
|
+
senderId: core.serialization.string(),
|
|
45
|
+
senderName: core.serialization.string().nullable(),
|
|
46
|
+
fromMe: core.serialization.boolean(),
|
|
47
|
+
sentAt: core.serialization.date(),
|
|
48
|
+
});
|
|
@@ -9,6 +9,7 @@ import { MessageSendResponseStatus } from "./MessageSendResponseStatus";
|
|
|
9
9
|
import { MessageSendResponseChannel } from "./MessageSendResponseChannel";
|
|
10
10
|
import { MessageSendResponseAccountChannel } from "./MessageSendResponseAccountChannel";
|
|
11
11
|
import { MessageSendResponseAttachmentsItem } from "./MessageSendResponseAttachmentsItem";
|
|
12
|
+
import { MessageSendResponseReactionsItem } from "./MessageSendResponseReactionsItem";
|
|
12
13
|
import { MessageSendResponseMessagesItem } from "./MessageSendResponseMessagesItem";
|
|
13
14
|
export declare const MessageSendResponse: core.serialization.ObjectSchema<serializers.MessageSendResponse.Raw, UnlimitedMessagingApi.MessageSendResponse>;
|
|
14
15
|
export declare namespace MessageSendResponse {
|
|
@@ -17,6 +18,7 @@ export declare namespace MessageSendResponse {
|
|
|
17
18
|
content: string | null;
|
|
18
19
|
direction: MessageSendResponseDirection.Raw;
|
|
19
20
|
fromMe: boolean;
|
|
21
|
+
sentViaUm: boolean;
|
|
20
22
|
externalId: string | null;
|
|
21
23
|
error: string | null;
|
|
22
24
|
interlocutor: string;
|
|
@@ -24,6 +26,8 @@ export declare namespace MessageSendResponse {
|
|
|
24
26
|
isGroup: boolean;
|
|
25
27
|
replyToExternalId: string | null;
|
|
26
28
|
replyToParticipant: string | null;
|
|
29
|
+
replyToMessageId: string | null;
|
|
30
|
+
replyToContent: string | null;
|
|
27
31
|
retryCount: number;
|
|
28
32
|
messagingAccountId: string;
|
|
29
33
|
status: MessageSendResponseStatus.Raw;
|
|
@@ -34,6 +38,7 @@ export declare namespace MessageSendResponse {
|
|
|
34
38
|
contentHtml: string | null;
|
|
35
39
|
dispatchId: string;
|
|
36
40
|
attachments: MessageSendResponseAttachmentsItem.Raw[];
|
|
41
|
+
reactions: MessageSendResponseReactionsItem.Raw[];
|
|
37
42
|
mediaUrl: string | null;
|
|
38
43
|
mediaType: string | null;
|
|
39
44
|
mimeType: string | null;
|
|
@@ -43,12 +43,14 @@ const MessageSendResponseStatus_1 = require("./MessageSendResponseStatus");
|
|
|
43
43
|
const MessageSendResponseChannel_1 = require("./MessageSendResponseChannel");
|
|
44
44
|
const MessageSendResponseAccountChannel_1 = require("./MessageSendResponseAccountChannel");
|
|
45
45
|
const MessageSendResponseAttachmentsItem_1 = require("./MessageSendResponseAttachmentsItem");
|
|
46
|
+
const MessageSendResponseReactionsItem_1 = require("./MessageSendResponseReactionsItem");
|
|
46
47
|
const MessageSendResponseMessagesItem_1 = require("./MessageSendResponseMessagesItem");
|
|
47
48
|
exports.MessageSendResponse = core.serialization.object({
|
|
48
49
|
id: core.serialization.string(),
|
|
49
50
|
content: core.serialization.string().nullable(),
|
|
50
51
|
direction: MessageSendResponseDirection_1.MessageSendResponseDirection,
|
|
51
52
|
fromMe: core.serialization.boolean(),
|
|
53
|
+
sentViaUm: core.serialization.boolean(),
|
|
52
54
|
externalId: core.serialization.string().nullable(),
|
|
53
55
|
error: core.serialization.string().nullable(),
|
|
54
56
|
interlocutor: core.serialization.string(),
|
|
@@ -56,6 +58,8 @@ exports.MessageSendResponse = core.serialization.object({
|
|
|
56
58
|
isGroup: core.serialization.boolean(),
|
|
57
59
|
replyToExternalId: core.serialization.string().nullable(),
|
|
58
60
|
replyToParticipant: core.serialization.string().nullable(),
|
|
61
|
+
replyToMessageId: core.serialization.string().nullable(),
|
|
62
|
+
replyToContent: core.serialization.string().nullable(),
|
|
59
63
|
retryCount: core.serialization.number(),
|
|
60
64
|
messagingAccountId: core.serialization.string(),
|
|
61
65
|
status: MessageSendResponseStatus_1.MessageSendResponseStatus,
|
|
@@ -66,6 +70,7 @@ exports.MessageSendResponse = core.serialization.object({
|
|
|
66
70
|
contentHtml: core.serialization.string().nullable(),
|
|
67
71
|
dispatchId: core.serialization.string(),
|
|
68
72
|
attachments: core.serialization.list(MessageSendResponseAttachmentsItem_1.MessageSendResponseAttachmentsItem),
|
|
73
|
+
reactions: core.serialization.list(MessageSendResponseReactionsItem_1.MessageSendResponseReactionsItem),
|
|
69
74
|
mediaUrl: core.serialization.string().nullable(),
|
|
70
75
|
mediaType: core.serialization.string().nullable(),
|
|
71
76
|
mimeType: core.serialization.string().nullable(),
|
|
@@ -9,6 +9,7 @@ import { MessageSendResponseMessagesItemStatus } from "./MessageSendResponseMess
|
|
|
9
9
|
import { MessageSendResponseMessagesItemChannel } from "./MessageSendResponseMessagesItemChannel";
|
|
10
10
|
import { MessageSendResponseMessagesItemAccountChannel } from "./MessageSendResponseMessagesItemAccountChannel";
|
|
11
11
|
import { MessageSendResponseMessagesItemAttachmentsItem } from "./MessageSendResponseMessagesItemAttachmentsItem";
|
|
12
|
+
import { MessageSendResponseMessagesItemReactionsItem } from "./MessageSendResponseMessagesItemReactionsItem";
|
|
12
13
|
export declare const MessageSendResponseMessagesItem: core.serialization.ObjectSchema<serializers.MessageSendResponseMessagesItem.Raw, UnlimitedMessagingApi.MessageSendResponseMessagesItem>;
|
|
13
14
|
export declare namespace MessageSendResponseMessagesItem {
|
|
14
15
|
interface Raw {
|
|
@@ -16,6 +17,7 @@ export declare namespace MessageSendResponseMessagesItem {
|
|
|
16
17
|
content: string | null;
|
|
17
18
|
direction: MessageSendResponseMessagesItemDirection.Raw;
|
|
18
19
|
fromMe: boolean;
|
|
20
|
+
sentViaUm: boolean;
|
|
19
21
|
externalId: string | null;
|
|
20
22
|
error: string | null;
|
|
21
23
|
interlocutor: string;
|
|
@@ -23,6 +25,8 @@ export declare namespace MessageSendResponseMessagesItem {
|
|
|
23
25
|
isGroup: boolean;
|
|
24
26
|
replyToExternalId: string | null;
|
|
25
27
|
replyToParticipant: string | null;
|
|
28
|
+
replyToMessageId: string | null;
|
|
29
|
+
replyToContent: string | null;
|
|
26
30
|
retryCount: number;
|
|
27
31
|
messagingAccountId: string;
|
|
28
32
|
status: MessageSendResponseMessagesItemStatus.Raw;
|
|
@@ -33,6 +37,7 @@ export declare namespace MessageSendResponseMessagesItem {
|
|
|
33
37
|
contentHtml: string | null;
|
|
34
38
|
dispatchId: string | null;
|
|
35
39
|
attachments: MessageSendResponseMessagesItemAttachmentsItem.Raw[];
|
|
40
|
+
reactions: MessageSendResponseMessagesItemReactionsItem.Raw[];
|
|
36
41
|
mediaUrl: string | null;
|
|
37
42
|
mediaType: string | null;
|
|
38
43
|
mimeType: string | null;
|
|
@@ -43,11 +43,13 @@ const MessageSendResponseMessagesItemStatus_1 = require("./MessageSendResponseMe
|
|
|
43
43
|
const MessageSendResponseMessagesItemChannel_1 = require("./MessageSendResponseMessagesItemChannel");
|
|
44
44
|
const MessageSendResponseMessagesItemAccountChannel_1 = require("./MessageSendResponseMessagesItemAccountChannel");
|
|
45
45
|
const MessageSendResponseMessagesItemAttachmentsItem_1 = require("./MessageSendResponseMessagesItemAttachmentsItem");
|
|
46
|
+
const MessageSendResponseMessagesItemReactionsItem_1 = require("./MessageSendResponseMessagesItemReactionsItem");
|
|
46
47
|
exports.MessageSendResponseMessagesItem = core.serialization.object({
|
|
47
48
|
id: core.serialization.string(),
|
|
48
49
|
content: core.serialization.string().nullable(),
|
|
49
50
|
direction: MessageSendResponseMessagesItemDirection_1.MessageSendResponseMessagesItemDirection,
|
|
50
51
|
fromMe: core.serialization.boolean(),
|
|
52
|
+
sentViaUm: core.serialization.boolean(),
|
|
51
53
|
externalId: core.serialization.string().nullable(),
|
|
52
54
|
error: core.serialization.string().nullable(),
|
|
53
55
|
interlocutor: core.serialization.string(),
|
|
@@ -55,6 +57,8 @@ exports.MessageSendResponseMessagesItem = core.serialization.object({
|
|
|
55
57
|
isGroup: core.serialization.boolean(),
|
|
56
58
|
replyToExternalId: core.serialization.string().nullable(),
|
|
57
59
|
replyToParticipant: core.serialization.string().nullable(),
|
|
60
|
+
replyToMessageId: core.serialization.string().nullable(),
|
|
61
|
+
replyToContent: core.serialization.string().nullable(),
|
|
58
62
|
retryCount: core.serialization.number(),
|
|
59
63
|
messagingAccountId: core.serialization.string(),
|
|
60
64
|
status: MessageSendResponseMessagesItemStatus_1.MessageSendResponseMessagesItemStatus,
|
|
@@ -65,6 +69,7 @@ exports.MessageSendResponseMessagesItem = core.serialization.object({
|
|
|
65
69
|
contentHtml: core.serialization.string().nullable(),
|
|
66
70
|
dispatchId: core.serialization.string().nullable(),
|
|
67
71
|
attachments: core.serialization.list(MessageSendResponseMessagesItemAttachmentsItem_1.MessageSendResponseMessagesItemAttachmentsItem),
|
|
72
|
+
reactions: core.serialization.list(MessageSendResponseMessagesItemReactionsItem_1.MessageSendResponseMessagesItemReactionsItem),
|
|
68
73
|
mediaUrl: core.serialization.string().nullable(),
|
|
69
74
|
mediaType: core.serialization.string().nullable(),
|
|
70
75
|
mimeType: core.serialization.string().nullable(),
|
package/src/serialization/resources/messages/types/MessageSendResponseMessagesItemReactionsItem.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as UnlimitedMessagingApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const MessageSendResponseMessagesItemReactionsItem: core.serialization.ObjectSchema<serializers.MessageSendResponseMessagesItemReactionsItem.Raw, UnlimitedMessagingApi.MessageSendResponseMessagesItemReactionsItem>;
|
|
8
|
+
export declare namespace MessageSendResponseMessagesItemReactionsItem {
|
|
9
|
+
interface Raw {
|
|
10
|
+
emoji: string;
|
|
11
|
+
sender: string | null;
|
|
12
|
+
senderId: string;
|
|
13
|
+
senderName: string | null;
|
|
14
|
+
fromMe: boolean;
|
|
15
|
+
sentAt: string;
|
|
16
|
+
}
|
|
17
|
+
}
|
package/src/serialization/resources/messages/types/MessageSendResponseMessagesItemReactionsItem.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.MessageSendResponseMessagesItemReactionsItem = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.MessageSendResponseMessagesItemReactionsItem = core.serialization.object({
|
|
42
|
+
emoji: core.serialization.string(),
|
|
43
|
+
sender: core.serialization.string().nullable(),
|
|
44
|
+
senderId: core.serialization.string(),
|
|
45
|
+
senderName: core.serialization.string().nullable(),
|
|
46
|
+
fromMe: core.serialization.boolean(),
|
|
47
|
+
sentAt: core.serialization.date(),
|
|
48
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as UnlimitedMessagingApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const MessageSendResponseReactionsItem: core.serialization.ObjectSchema<serializers.MessageSendResponseReactionsItem.Raw, UnlimitedMessagingApi.MessageSendResponseReactionsItem>;
|
|
8
|
+
export declare namespace MessageSendResponseReactionsItem {
|
|
9
|
+
interface Raw {
|
|
10
|
+
emoji: string;
|
|
11
|
+
sender: string | null;
|
|
12
|
+
senderId: string;
|
|
13
|
+
senderName: string | null;
|
|
14
|
+
fromMe: boolean;
|
|
15
|
+
sentAt: string;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.MessageSendResponseReactionsItem = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.MessageSendResponseReactionsItem = core.serialization.object({
|
|
42
|
+
emoji: core.serialization.string(),
|
|
43
|
+
sender: core.serialization.string().nullable(),
|
|
44
|
+
senderId: core.serialization.string(),
|
|
45
|
+
senderName: core.serialization.string().nullable(),
|
|
46
|
+
fromMe: core.serialization.boolean(),
|
|
47
|
+
sentAt: core.serialization.date(),
|
|
48
|
+
});
|
|
@@ -6,6 +6,7 @@ export * from "./MessageFindAllResponseDataItemStatus";
|
|
|
6
6
|
export * from "./MessageFindAllResponseDataItemChannel";
|
|
7
7
|
export * from "./MessageFindAllResponseDataItemAccountChannel";
|
|
8
8
|
export * from "./MessageFindAllResponseDataItemAttachmentsItem";
|
|
9
|
+
export * from "./MessageFindAllResponseDataItemReactionsItem";
|
|
9
10
|
export * from "./MessageFindAllResponseDataItem";
|
|
10
11
|
export * from "./MessageFindAllResponse";
|
|
11
12
|
export * from "./MessageSendRequestAttachmentsItem";
|
|
@@ -20,11 +21,13 @@ export * from "./MessageSendResponseStatus";
|
|
|
20
21
|
export * from "./MessageSendResponseChannel";
|
|
21
22
|
export * from "./MessageSendResponseAccountChannel";
|
|
22
23
|
export * from "./MessageSendResponseAttachmentsItem";
|
|
24
|
+
export * from "./MessageSendResponseReactionsItem";
|
|
23
25
|
export * from "./MessageSendResponseMessagesItemDirection";
|
|
24
26
|
export * from "./MessageSendResponseMessagesItemStatus";
|
|
25
27
|
export * from "./MessageSendResponseMessagesItemChannel";
|
|
26
28
|
export * from "./MessageSendResponseMessagesItemAccountChannel";
|
|
27
29
|
export * from "./MessageSendResponseMessagesItemAttachmentsItem";
|
|
30
|
+
export * from "./MessageSendResponseMessagesItemReactionsItem";
|
|
28
31
|
export * from "./MessageSendResponseMessagesItem";
|
|
29
32
|
export * from "./MessageSendResponse";
|
|
30
33
|
export * from "./MessageFindOneResponseDirection";
|
|
@@ -32,6 +35,7 @@ export * from "./MessageFindOneResponseStatus";
|
|
|
32
35
|
export * from "./MessageFindOneResponseChannel";
|
|
33
36
|
export * from "./MessageFindOneResponseAccountChannel";
|
|
34
37
|
export * from "./MessageFindOneResponseAttachmentsItem";
|
|
38
|
+
export * from "./MessageFindOneResponseReactionsItem";
|
|
35
39
|
export * from "./MessageFindOneResponse";
|
|
36
40
|
export * from "./MessageGetStatusHistoryResponseChannelsItemChannel";
|
|
37
41
|
export * from "./MessageGetStatusHistoryResponseChannelsItemEventsItemStatus";
|
|
@@ -22,6 +22,7 @@ __exportStar(require("./MessageFindAllResponseDataItemStatus"), exports);
|
|
|
22
22
|
__exportStar(require("./MessageFindAllResponseDataItemChannel"), exports);
|
|
23
23
|
__exportStar(require("./MessageFindAllResponseDataItemAccountChannel"), exports);
|
|
24
24
|
__exportStar(require("./MessageFindAllResponseDataItemAttachmentsItem"), exports);
|
|
25
|
+
__exportStar(require("./MessageFindAllResponseDataItemReactionsItem"), exports);
|
|
25
26
|
__exportStar(require("./MessageFindAllResponseDataItem"), exports);
|
|
26
27
|
__exportStar(require("./MessageFindAllResponse"), exports);
|
|
27
28
|
__exportStar(require("./MessageSendRequestAttachmentsItem"), exports);
|
|
@@ -36,11 +37,13 @@ __exportStar(require("./MessageSendResponseStatus"), exports);
|
|
|
36
37
|
__exportStar(require("./MessageSendResponseChannel"), exports);
|
|
37
38
|
__exportStar(require("./MessageSendResponseAccountChannel"), exports);
|
|
38
39
|
__exportStar(require("./MessageSendResponseAttachmentsItem"), exports);
|
|
40
|
+
__exportStar(require("./MessageSendResponseReactionsItem"), exports);
|
|
39
41
|
__exportStar(require("./MessageSendResponseMessagesItemDirection"), exports);
|
|
40
42
|
__exportStar(require("./MessageSendResponseMessagesItemStatus"), exports);
|
|
41
43
|
__exportStar(require("./MessageSendResponseMessagesItemChannel"), exports);
|
|
42
44
|
__exportStar(require("./MessageSendResponseMessagesItemAccountChannel"), exports);
|
|
43
45
|
__exportStar(require("./MessageSendResponseMessagesItemAttachmentsItem"), exports);
|
|
46
|
+
__exportStar(require("./MessageSendResponseMessagesItemReactionsItem"), exports);
|
|
44
47
|
__exportStar(require("./MessageSendResponseMessagesItem"), exports);
|
|
45
48
|
__exportStar(require("./MessageSendResponse"), exports);
|
|
46
49
|
__exportStar(require("./MessageFindOneResponseDirection"), exports);
|
|
@@ -48,6 +51,7 @@ __exportStar(require("./MessageFindOneResponseStatus"), exports);
|
|
|
48
51
|
__exportStar(require("./MessageFindOneResponseChannel"), exports);
|
|
49
52
|
__exportStar(require("./MessageFindOneResponseAccountChannel"), exports);
|
|
50
53
|
__exportStar(require("./MessageFindOneResponseAttachmentsItem"), exports);
|
|
54
|
+
__exportStar(require("./MessageFindOneResponseReactionsItem"), exports);
|
|
51
55
|
__exportStar(require("./MessageFindOneResponse"), exports);
|
|
52
56
|
__exportStar(require("./MessageGetStatusHistoryResponseChannelsItemChannel"), exports);
|
|
53
57
|
__exportStar(require("./MessageGetStatusHistoryResponseChannelsItemEventsItemStatus"), exports);
|
|
@@ -41,4 +41,5 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
exports.WebhookEventMessageHistoryDataMessagesItemReplyTo = core.serialization.object({
|
|
42
42
|
externalId: core.serialization.string(),
|
|
43
43
|
participant: core.serialization.string().nullable(),
|
|
44
|
+
content: core.serialization.string().nullable(),
|
|
44
45
|
});
|
|
@@ -41,4 +41,5 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
exports.WebhookEventMessageReceivedDataMessageReplyTo = core.serialization.object({
|
|
42
42
|
externalId: core.serialization.string(),
|
|
43
43
|
participant: core.serialization.string().nullable(),
|
|
44
|
+
content: core.serialization.string().nullable(),
|
|
44
45
|
});
|
|
@@ -41,4 +41,5 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
exports.WebhookEventMessageSelfSentDataMessageReplyTo = core.serialization.object({
|
|
42
42
|
externalId: core.serialization.string(),
|
|
43
43
|
participant: core.serialization.string().nullable(),
|
|
44
|
+
content: core.serialization.string().nullable(),
|
|
44
45
|
});
|
|
@@ -41,4 +41,5 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
exports.WebhookEventMessageSentDataMessageReplyTo = core.serialization.object({
|
|
42
42
|
externalId: core.serialization.string(),
|
|
43
43
|
participant: core.serialization.string().nullable(),
|
|
44
|
+
content: core.serialization.string().nullable(),
|
|
44
45
|
});
|