@wildix/xbees-conversations-client 4.1.1 → 4.2.0-messaging.1
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/dist-cjs/Conversations.js +4 -4
- package/dist-cjs/commands/{GetMessengerChannelIdCommand.js → GetMessagingChannelIdCommand.js} +6 -6
- package/dist-cjs/commands/{GetOrCreateMessengerChannelCommand.js → GetOrCreateMessagingChannelCommand.js} +6 -6
- package/dist-cjs/commands/index.js +2 -2
- package/dist-cjs/models/enums.js +9 -4
- package/dist-cjs/schemas/schemas_0.js +47 -47
- package/dist-es/Conversations.js +4 -4
- package/dist-es/commands/{GetMessengerChannelIdCommand.js → GetMessagingChannelIdCommand.js} +5 -5
- package/dist-es/commands/{GetOrCreateMessengerChannelCommand.js → GetOrCreateMessagingChannelCommand.js} +5 -5
- package/dist-es/commands/index.js +2 -2
- package/dist-es/models/enums.js +8 -3
- package/dist-es/schemas/schemas_0.js +45 -45
- package/dist-types/Conversations.d.ts +10 -10
- package/dist-types/ConversationsClient.d.ts +4 -4
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +8 -8
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +8 -8
- package/dist-types/commands/DescribeEventCommand.d.ts +30 -30
- package/dist-types/commands/GetChannelCommand.d.ts +4 -4
- package/dist-types/commands/GetMessageCommand.d.ts +2 -2
- package/dist-types/commands/GetMessagingChannelIdCommand.d.ts +84 -0
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +4 -4
- package/dist-types/commands/{GetOrCreateMessengerChannelCommand.d.ts → GetOrCreateMessagingChannelCommand.d.ts} +28 -27
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +4 -4
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +4 -4
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +4 -4
- package/dist-types/commands/JoinChannelCommand.d.ts +4 -4
- package/dist-types/commands/ListChannelsCommand.d.ts +4 -4
- package/dist-types/commands/ListMessagesCommand.d.ts +2 -2
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +2 -2
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +9 -9
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +4 -4
- package/dist-types/commands/QueryChannelsCommand.d.ts +4 -4
- package/dist-types/commands/SendGiphyCommand.d.ts +2 -2
- package/dist-types/commands/SendMessageCommand.d.ts +4 -4
- package/dist-types/commands/SendSystemMessageCommand.d.ts +2 -2
- package/dist-types/commands/UpdateChannelCommand.d.ts +8 -8
- package/dist-types/commands/UpdateMessageCommand.d.ts +4 -4
- package/dist-types/commands/index.d.ts +2 -2
- package/dist-types/models/enums.d.ts +18 -5
- package/dist-types/models/models_0.d.ts +90 -52
- package/dist-types/schemas/schemas_0.d.ts +6 -6
- package/package.json +2 -2
- package/dist-types/commands/GetMessengerChannelIdCommand.d.ts +0 -83
|
@@ -112,10 +112,10 @@ declare const GetOrCreateDirectChannelCommand_base: {
|
|
|
112
112
|
* // mms: true || false,
|
|
113
113
|
* // whatsapp: true || false,
|
|
114
114
|
* // whatsappStatus: "24h_channel_closed",
|
|
115
|
-
* //
|
|
116
|
-
* //
|
|
117
|
-
* //
|
|
118
|
-
* //
|
|
115
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
116
|
+
* // messagingStatus: "window_closed",
|
|
117
|
+
* // messagingSenderId: "STRING_VALUE",
|
|
118
|
+
* // messagingReplyUntil: Number("long"),
|
|
119
119
|
* // broadcast: true || false,
|
|
120
120
|
* // external: true || false,
|
|
121
121
|
* // autoRecord: true || false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
4
|
-
import type {
|
|
4
|
+
import type { GetOrCreateMessagingChannelInput, GetOrCreateMessagingChannelOutput } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -10,42 +10,43 @@ export { $Command };
|
|
|
10
10
|
/**
|
|
11
11
|
* @public
|
|
12
12
|
*
|
|
13
|
-
* The input for {@link
|
|
13
|
+
* The input for {@link GetOrCreateMessagingChannelCommand}.
|
|
14
14
|
*/
|
|
15
|
-
export interface
|
|
15
|
+
export interface GetOrCreateMessagingChannelCommandInput extends GetOrCreateMessagingChannelInput {
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* @public
|
|
19
19
|
*
|
|
20
|
-
* The output of {@link
|
|
20
|
+
* The output of {@link GetOrCreateMessagingChannelCommand}.
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface GetOrCreateMessagingChannelCommandOutput extends GetOrCreateMessagingChannelOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
|
-
declare const
|
|
25
|
-
new (input:
|
|
26
|
-
new (input:
|
|
24
|
+
declare const GetOrCreateMessagingChannelCommand_base: {
|
|
25
|
+
new (input: GetOrCreateMessagingChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateMessagingChannelCommandInput, GetOrCreateMessagingChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetOrCreateMessagingChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateMessagingChannelCommandInput, GetOrCreateMessagingChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* Gets or creates a
|
|
30
|
+
* Gets or creates a channel on a customer messaging channel (see MessagingChannel). The person is named by recipientId, the x-bees user invited for them; recipientNumber names the same person directly. Either value resolves to the channel's own customer id, the Page Scoped ID on Messenger, an opaque supplier identifier and not a phone number. The channel id carries the channel, so the same person on two channels, or a number that also has an SMS or WhatsApp chat, gets two conversations.
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
34
|
-
* import { ConversationsClient,
|
|
35
|
-
* // const { ConversationsClient,
|
|
34
|
+
* import { ConversationsClient, GetOrCreateMessagingChannelCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
+
* // const { ConversationsClient, GetOrCreateMessagingChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
36
|
* // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
|
|
37
37
|
* const config = {}; // type is ConversationsClientConfig
|
|
38
38
|
* const client = new ConversationsClient(config);
|
|
39
|
-
* const input = { //
|
|
39
|
+
* const input = { // GetOrCreateMessagingChannelInput
|
|
40
40
|
* userId: "STRING_VALUE",
|
|
41
41
|
* serviceUri: "STRING_VALUE", // required
|
|
42
42
|
* recipientId: "STRING_VALUE",
|
|
43
43
|
* recipientNumber: "STRING_VALUE",
|
|
44
|
+
* channel: "messenger" || "instagram" || "rcs", // required
|
|
44
45
|
* outgoing: true || false,
|
|
45
46
|
* };
|
|
46
|
-
* const command = new
|
|
47
|
+
* const command = new GetOrCreateMessagingChannelCommand(input);
|
|
47
48
|
* const response = await client.send(command);
|
|
48
|
-
* // { //
|
|
49
|
+
* // { // GetOrCreateMessagingChannelOutput
|
|
49
50
|
* // channel: { // Channel
|
|
50
51
|
* // subject: "STRING_VALUE",
|
|
51
52
|
* // description: "STRING_VALUE",
|
|
@@ -109,10 +110,10 @@ declare const GetOrCreateMessengerChannelCommand_base: {
|
|
|
109
110
|
* // mms: true || false,
|
|
110
111
|
* // whatsapp: true || false,
|
|
111
112
|
* // whatsappStatus: "24h_channel_closed",
|
|
112
|
-
* //
|
|
113
|
-
* //
|
|
114
|
-
* //
|
|
115
|
-
* //
|
|
113
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
114
|
+
* // messagingStatus: "window_closed",
|
|
115
|
+
* // messagingSenderId: "STRING_VALUE",
|
|
116
|
+
* // messagingReplyUntil: Number("long"),
|
|
116
117
|
* // broadcast: true || false,
|
|
117
118
|
* // external: true || false,
|
|
118
119
|
* // autoRecord: true || false,
|
|
@@ -129,10 +130,10 @@ declare const GetOrCreateMessengerChannelCommand_base: {
|
|
|
129
130
|
*
|
|
130
131
|
* ```
|
|
131
132
|
*
|
|
132
|
-
* @param
|
|
133
|
-
* @returns {@link
|
|
134
|
-
* @see {@link
|
|
135
|
-
* @see {@link
|
|
133
|
+
* @param GetOrCreateMessagingChannelCommandInput - {@link GetOrCreateMessagingChannelCommandInput}
|
|
134
|
+
* @returns {@link GetOrCreateMessagingChannelCommandOutput}
|
|
135
|
+
* @see {@link GetOrCreateMessagingChannelCommandInput} for command's `input` shape.
|
|
136
|
+
* @see {@link GetOrCreateMessagingChannelCommandOutput} for command's `response` shape.
|
|
136
137
|
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
137
138
|
*
|
|
138
139
|
* @throws {@link ForbiddenException} (client fault)
|
|
@@ -147,16 +148,16 @@ declare const GetOrCreateMessengerChannelCommand_base: {
|
|
|
147
148
|
*
|
|
148
149
|
* @public
|
|
149
150
|
*/
|
|
150
|
-
export declare class
|
|
151
|
+
export declare class GetOrCreateMessagingChannelCommand extends GetOrCreateMessagingChannelCommand_base {
|
|
151
152
|
/** @internal type navigation helper, not in runtime. */
|
|
152
153
|
protected static __types: {
|
|
153
154
|
api: {
|
|
154
|
-
input:
|
|
155
|
-
output:
|
|
155
|
+
input: GetOrCreateMessagingChannelInput;
|
|
156
|
+
output: GetOrCreateMessagingChannelOutput;
|
|
156
157
|
};
|
|
157
158
|
sdk: {
|
|
158
|
-
input:
|
|
159
|
-
output:
|
|
159
|
+
input: GetOrCreateMessagingChannelCommandInput;
|
|
160
|
+
output: GetOrCreateMessagingChannelCommandOutput;
|
|
160
161
|
};
|
|
161
162
|
};
|
|
162
163
|
}
|
|
@@ -109,10 +109,10 @@ declare const GetOrCreateSmsChannelCommand_base: {
|
|
|
109
109
|
* // mms: true || false,
|
|
110
110
|
* // whatsapp: true || false,
|
|
111
111
|
* // whatsappStatus: "24h_channel_closed",
|
|
112
|
-
* //
|
|
113
|
-
* //
|
|
114
|
-
* //
|
|
115
|
-
* //
|
|
112
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
113
|
+
* // messagingStatus: "window_closed",
|
|
114
|
+
* // messagingSenderId: "STRING_VALUE",
|
|
115
|
+
* // messagingReplyUntil: Number("long"),
|
|
116
116
|
* // broadcast: true || false,
|
|
117
117
|
* // external: true || false,
|
|
118
118
|
* // autoRecord: true || false,
|
|
@@ -108,10 +108,10 @@ declare const GetOrCreateTelephonyChannelCommand_base: {
|
|
|
108
108
|
* // mms: true || false,
|
|
109
109
|
* // whatsapp: true || false,
|
|
110
110
|
* // whatsappStatus: "24h_channel_closed",
|
|
111
|
-
* //
|
|
112
|
-
* //
|
|
113
|
-
* //
|
|
114
|
-
* //
|
|
111
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
112
|
+
* // messagingStatus: "window_closed",
|
|
113
|
+
* // messagingSenderId: "STRING_VALUE",
|
|
114
|
+
* // messagingReplyUntil: Number("long"),
|
|
115
115
|
* // broadcast: true || false,
|
|
116
116
|
* // external: true || false,
|
|
117
117
|
* // autoRecord: true || false,
|
|
@@ -109,10 +109,10 @@ declare const GetOrCreateWhatsAppChannelCommand_base: {
|
|
|
109
109
|
* // mms: true || false,
|
|
110
110
|
* // whatsapp: true || false,
|
|
111
111
|
* // whatsappStatus: "24h_channel_closed",
|
|
112
|
-
* //
|
|
113
|
-
* //
|
|
114
|
-
* //
|
|
115
|
-
* //
|
|
112
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
113
|
+
* // messagingStatus: "window_closed",
|
|
114
|
+
* // messagingSenderId: "STRING_VALUE",
|
|
115
|
+
* // messagingReplyUntil: Number("long"),
|
|
116
116
|
* // broadcast: true || false,
|
|
117
117
|
* // external: true || false,
|
|
118
118
|
* // autoRecord: true || false,
|
|
@@ -107,10 +107,10 @@ declare const JoinChannelCommand_base: {
|
|
|
107
107
|
* // mms: true || false,
|
|
108
108
|
* // whatsapp: true || false,
|
|
109
109
|
* // whatsappStatus: "24h_channel_closed",
|
|
110
|
-
* //
|
|
111
|
-
* //
|
|
112
|
-
* //
|
|
113
|
-
* //
|
|
110
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
111
|
+
* // messagingStatus: "window_closed",
|
|
112
|
+
* // messagingSenderId: "STRING_VALUE",
|
|
113
|
+
* // messagingReplyUntil: Number("long"),
|
|
114
114
|
* // broadcast: true || false,
|
|
115
115
|
* // external: true || false,
|
|
116
116
|
* // autoRecord: true || false,
|
|
@@ -109,10 +109,10 @@ declare const ListChannelsCommand_base: {
|
|
|
109
109
|
* // mms: true || false,
|
|
110
110
|
* // whatsapp: true || false,
|
|
111
111
|
* // whatsappStatus: "24h_channel_closed",
|
|
112
|
-
* //
|
|
113
|
-
* //
|
|
114
|
-
* //
|
|
115
|
-
* //
|
|
112
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
113
|
+
* // messagingStatus: "window_closed",
|
|
114
|
+
* // messagingSenderId: "STRING_VALUE",
|
|
115
|
+
* // messagingReplyUntil: Number("long"),
|
|
116
116
|
* // broadcast: true || false,
|
|
117
117
|
* // external: true || false,
|
|
118
118
|
* // autoRecord: true || false,
|
|
@@ -178,8 +178,8 @@ declare const ListMessagesCommand_base: {
|
|
|
178
178
|
* // },
|
|
179
179
|
* // whatsapp: true || false,
|
|
180
180
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
181
|
-
* //
|
|
182
|
-
* //
|
|
181
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
182
|
+
* // messagingStatus: "trying" || "sent" || "error" || "delivered",
|
|
183
183
|
* // sms: true || false,
|
|
184
184
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
185
185
|
* // markdown: true || false,
|
|
@@ -178,8 +178,8 @@ declare const ListPinnedMessagesCommand_base: {
|
|
|
178
178
|
* // },
|
|
179
179
|
* // whatsapp: true || false,
|
|
180
180
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
181
|
-
* //
|
|
182
|
-
* //
|
|
181
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
182
|
+
* // messagingStatus: "trying" || "sent" || "error" || "delivered",
|
|
183
183
|
* // sms: true || false,
|
|
184
184
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
185
185
|
* // markdown: true || false,
|
|
@@ -74,10 +74,10 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
74
74
|
* sms: true || false,
|
|
75
75
|
* mms: true || false,
|
|
76
76
|
* whatsapp: true || false,
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
77
|
+
* messagingChannel: "messenger" || "instagram" || "rcs",
|
|
78
|
+
* messagingStatus: "window_closed",
|
|
79
|
+
* messagingSenderId: "STRING_VALUE",
|
|
80
|
+
* messagingReplyUntil: Number("long"),
|
|
81
81
|
* kiteAssign: "STRING_VALUE",
|
|
82
82
|
* serviceTitle: "STRING_VALUE",
|
|
83
83
|
* assignee: { // User
|
|
@@ -104,7 +104,7 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
104
104
|
* wizyGuestViewOnly: true || false,
|
|
105
105
|
* },
|
|
106
106
|
* unset: [ // PartialUpdateChannelUnsetOptions
|
|
107
|
-
* "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "contextPtt" || "contextEvents" || "whatsappStatus" || "
|
|
107
|
+
* "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "contextPtt" || "contextEvents" || "whatsappStatus" || "messagingStatus" || "kiteAssign" || "service" || "serviceTitle" || "assignee" || "sms" || "mms" || "whatsapp",
|
|
108
108
|
* ],
|
|
109
109
|
* };
|
|
110
110
|
* const command = new PartialUpdateChannelCommand(input);
|
|
@@ -173,10 +173,10 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
173
173
|
* // mms: true || false,
|
|
174
174
|
* // whatsapp: true || false,
|
|
175
175
|
* // whatsappStatus: "24h_channel_closed",
|
|
176
|
-
* //
|
|
177
|
-
* //
|
|
178
|
-
* //
|
|
179
|
-
* //
|
|
176
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
177
|
+
* // messagingStatus: "window_closed",
|
|
178
|
+
* // messagingSenderId: "STRING_VALUE",
|
|
179
|
+
* // messagingReplyUntil: Number("long"),
|
|
180
180
|
* // broadcast: true || false,
|
|
181
181
|
* // external: true || false,
|
|
182
182
|
* // autoRecord: true || false,
|
|
@@ -173,8 +173,8 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
173
173
|
* },
|
|
174
174
|
* whatsapp: true || false,
|
|
175
175
|
* whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
176
|
-
*
|
|
177
|
-
*
|
|
176
|
+
* messagingChannel: "messenger" || "instagram" || "rcs",
|
|
177
|
+
* messagingStatus: "trying" || "sent" || "error" || "delivered",
|
|
178
178
|
* sms: true || false,
|
|
179
179
|
* smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
180
180
|
* markdown: true || false,
|
|
@@ -323,8 +323,8 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
323
323
|
* // },
|
|
324
324
|
* // whatsapp: true || false,
|
|
325
325
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
326
|
-
* //
|
|
327
|
-
* //
|
|
326
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
327
|
+
* // messagingStatus: "trying" || "sent" || "error" || "delivered",
|
|
328
328
|
* // sms: true || false,
|
|
329
329
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
330
330
|
* // markdown: true || false,
|
|
@@ -114,10 +114,10 @@ declare const QueryChannelsCommand_base: {
|
|
|
114
114
|
* // mms: true || false,
|
|
115
115
|
* // whatsapp: true || false,
|
|
116
116
|
* // whatsappStatus: "24h_channel_closed",
|
|
117
|
-
* //
|
|
118
|
-
* //
|
|
119
|
-
* //
|
|
120
|
-
* //
|
|
117
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
118
|
+
* // messagingStatus: "window_closed",
|
|
119
|
+
* // messagingSenderId: "STRING_VALUE",
|
|
120
|
+
* // messagingReplyUntil: Number("long"),
|
|
121
121
|
* // broadcast: true || false,
|
|
122
122
|
* // external: true || false,
|
|
123
123
|
* // autoRecord: true || false,
|
|
@@ -184,8 +184,8 @@ declare const SendGiphyCommand_base: {
|
|
|
184
184
|
* // },
|
|
185
185
|
* // whatsapp: true || false,
|
|
186
186
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
187
|
-
* //
|
|
188
|
-
* //
|
|
187
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
188
|
+
* // messagingStatus: "trying" || "sent" || "error" || "delivered",
|
|
189
189
|
* // sms: true || false,
|
|
190
190
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
191
191
|
* // markdown: true || false,
|
|
@@ -169,8 +169,8 @@ declare const SendMessageCommand_base: {
|
|
|
169
169
|
* },
|
|
170
170
|
* whatsapp: true || false,
|
|
171
171
|
* whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
172
|
-
*
|
|
173
|
-
*
|
|
172
|
+
* messagingChannel: "messenger" || "instagram" || "rcs",
|
|
173
|
+
* messagingStatus: "trying" || "sent" || "error" || "delivered",
|
|
174
174
|
* sms: true || false,
|
|
175
175
|
* smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
176
176
|
* markdown: true || false,
|
|
@@ -317,8 +317,8 @@ declare const SendMessageCommand_base: {
|
|
|
317
317
|
* // },
|
|
318
318
|
* // whatsapp: true || false,
|
|
319
319
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
320
|
-
* //
|
|
321
|
-
* //
|
|
320
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
321
|
+
* // messagingStatus: "trying" || "sent" || "error" || "delivered",
|
|
322
322
|
* // sms: true || false,
|
|
323
323
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
324
324
|
* // markdown: true || false,
|
|
@@ -184,8 +184,8 @@ declare const SendSystemMessageCommand_base: {
|
|
|
184
184
|
* // },
|
|
185
185
|
* // whatsapp: true || false,
|
|
186
186
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
187
|
-
* //
|
|
188
|
-
* //
|
|
187
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
188
|
+
* // messagingStatus: "trying" || "sent" || "error" || "delivered",
|
|
189
189
|
* // sms: true || false,
|
|
190
190
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
191
191
|
* // markdown: true || false,
|
|
@@ -70,10 +70,10 @@ declare const UpdateChannelCommand_base: {
|
|
|
70
70
|
* sms: true || false,
|
|
71
71
|
* mms: true || false,
|
|
72
72
|
* whatsapp: true || false,
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
73
|
+
* messagingChannel: "messenger" || "instagram" || "rcs",
|
|
74
|
+
* messagingStatus: "window_closed",
|
|
75
|
+
* messagingSenderId: "STRING_VALUE",
|
|
76
|
+
* messagingReplyUntil: Number("long"),
|
|
77
77
|
* kiteAssign: "STRING_VALUE",
|
|
78
78
|
* serviceTitle: "STRING_VALUE",
|
|
79
79
|
* assignee: { // User
|
|
@@ -168,10 +168,10 @@ declare const UpdateChannelCommand_base: {
|
|
|
168
168
|
* // mms: true || false,
|
|
169
169
|
* // whatsapp: true || false,
|
|
170
170
|
* // whatsappStatus: "24h_channel_closed",
|
|
171
|
-
* //
|
|
172
|
-
* //
|
|
173
|
-
* //
|
|
174
|
-
* //
|
|
171
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
172
|
+
* // messagingStatus: "window_closed",
|
|
173
|
+
* // messagingSenderId: "STRING_VALUE",
|
|
174
|
+
* // messagingReplyUntil: Number("long"),
|
|
175
175
|
* // broadcast: true || false,
|
|
176
176
|
* // external: true || false,
|
|
177
177
|
* // autoRecord: true || false,
|
|
@@ -169,8 +169,8 @@ declare const UpdateMessageCommand_base: {
|
|
|
169
169
|
* },
|
|
170
170
|
* whatsapp: true || false,
|
|
171
171
|
* whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
172
|
-
*
|
|
173
|
-
*
|
|
172
|
+
* messagingChannel: "messenger" || "instagram" || "rcs",
|
|
173
|
+
* messagingStatus: "trying" || "sent" || "error" || "delivered",
|
|
174
174
|
* sms: true || false,
|
|
175
175
|
* smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
176
176
|
* markdown: true || false,
|
|
@@ -318,8 +318,8 @@ declare const UpdateMessageCommand_base: {
|
|
|
318
318
|
* // },
|
|
319
319
|
* // whatsapp: true || false,
|
|
320
320
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
321
|
-
* //
|
|
322
|
-
* //
|
|
321
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
322
|
+
* // messagingStatus: "trying" || "sent" || "error" || "delivered",
|
|
323
323
|
* // sms: true || false,
|
|
324
324
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
325
325
|
* // markdown: true || false,
|
|
@@ -17,9 +17,9 @@ export * from "./GetDirectChannelIdCommand";
|
|
|
17
17
|
export * from "./GetFilePresignedDownloadUrlCommand";
|
|
18
18
|
export * from "./GetInboxStateCommand";
|
|
19
19
|
export * from "./GetMessageCommand";
|
|
20
|
-
export * from "./
|
|
20
|
+
export * from "./GetMessagingChannelIdCommand";
|
|
21
21
|
export * from "./GetOrCreateDirectChannelCommand";
|
|
22
|
-
export * from "./
|
|
22
|
+
export * from "./GetOrCreateMessagingChannelCommand";
|
|
23
23
|
export * from "./GetOrCreateSmsChannelCommand";
|
|
24
24
|
export * from "./GetOrCreateTelephonyChannelCommand";
|
|
25
25
|
export * from "./GetOrCreateWhatsAppChannelCommand";
|
|
@@ -62,13 +62,26 @@ export type ChannelContextSource = (typeof ChannelContextSource)[keyof typeof Ch
|
|
|
62
62
|
* @public
|
|
63
63
|
* @enum
|
|
64
64
|
*/
|
|
65
|
-
export declare const
|
|
65
|
+
export declare const MessagingChannel: {
|
|
66
|
+
readonly INSTAGRAM: "instagram";
|
|
67
|
+
readonly MESSENGER: "messenger";
|
|
68
|
+
readonly RCS: "rcs";
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export type MessagingChannel = (typeof MessagingChannel)[keyof typeof MessagingChannel];
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
* @enum
|
|
77
|
+
*/
|
|
78
|
+
export declare const ChannelMessagingStatus: {
|
|
66
79
|
readonly WINDOW_CLOSED: "window_closed";
|
|
67
80
|
};
|
|
68
81
|
/**
|
|
69
82
|
* @public
|
|
70
83
|
*/
|
|
71
|
-
export type
|
|
84
|
+
export type ChannelMessagingStatus = (typeof ChannelMessagingStatus)[keyof typeof ChannelMessagingStatus];
|
|
72
85
|
/**
|
|
73
86
|
* @public
|
|
74
87
|
* @enum
|
|
@@ -96,7 +109,7 @@ export type ButtonVariant = (typeof ButtonVariant)[keyof typeof ButtonVariant];
|
|
|
96
109
|
* @public
|
|
97
110
|
* @enum
|
|
98
111
|
*/
|
|
99
|
-
export declare const
|
|
112
|
+
export declare const MessageMessagingStatus: {
|
|
100
113
|
readonly DELIVERED: "delivered";
|
|
101
114
|
readonly ERROR: "error";
|
|
102
115
|
readonly SENT: "sent";
|
|
@@ -105,7 +118,7 @@ export declare const MessageMessengerStatus: {
|
|
|
105
118
|
/**
|
|
106
119
|
* @public
|
|
107
120
|
*/
|
|
108
|
-
export type
|
|
121
|
+
export type MessageMessagingStatus = (typeof MessageMessagingStatus)[keyof typeof MessageMessagingStatus];
|
|
109
122
|
/**
|
|
110
123
|
* @public
|
|
111
124
|
* @enum
|
|
@@ -274,7 +287,7 @@ export declare const GroupChannelUnsetOptions: {
|
|
|
274
287
|
readonly CONTEXT_PTT: "contextPtt";
|
|
275
288
|
readonly DESCRIPTION: "description";
|
|
276
289
|
readonly KITE_ASSIGN: "kiteAssign";
|
|
277
|
-
readonly
|
|
290
|
+
readonly MESSAGING_STATUS: "messagingStatus";
|
|
278
291
|
readonly MMS: "mms";
|
|
279
292
|
readonly PICTURE: "picture";
|
|
280
293
|
readonly PICTURE_COLOR: "pictureColor";
|