@wildix/xbees-conversations-client 4.1.0 → 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.
Files changed (43) hide show
  1. package/dist-cjs/Conversations.js +4 -4
  2. package/dist-cjs/commands/{GetMessengerChannelIdCommand.js → GetMessagingChannelIdCommand.js} +6 -6
  3. package/dist-cjs/commands/{GetOrCreateMessengerChannelCommand.js → GetOrCreateMessagingChannelCommand.js} +6 -6
  4. package/dist-cjs/commands/index.js +2 -2
  5. package/dist-cjs/models/enums.js +9 -4
  6. package/dist-cjs/schemas/schemas_0.js +47 -47
  7. package/dist-es/Conversations.js +4 -4
  8. package/dist-es/commands/{GetMessengerChannelIdCommand.js → GetMessagingChannelIdCommand.js} +5 -5
  9. package/dist-es/commands/{GetOrCreateMessengerChannelCommand.js → GetOrCreateMessagingChannelCommand.js} +5 -5
  10. package/dist-es/commands/index.js +2 -2
  11. package/dist-es/models/enums.js +8 -3
  12. package/dist-es/schemas/schemas_0.js +45 -45
  13. package/dist-types/Conversations.d.ts +10 -10
  14. package/dist-types/ConversationsClient.d.ts +4 -4
  15. package/dist-types/commands/CreateGroupChannelCommand.d.ts +8 -8
  16. package/dist-types/commands/CreateKiteChannelCommand.d.ts +8 -8
  17. package/dist-types/commands/DescribeEventCommand.d.ts +30 -30
  18. package/dist-types/commands/GetChannelCommand.d.ts +4 -4
  19. package/dist-types/commands/GetMessageCommand.d.ts +2 -2
  20. package/dist-types/commands/GetMessagingChannelIdCommand.d.ts +84 -0
  21. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +4 -4
  22. package/dist-types/commands/{GetOrCreateMessengerChannelCommand.d.ts → GetOrCreateMessagingChannelCommand.d.ts} +28 -27
  23. package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +4 -4
  24. package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +4 -4
  25. package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +4 -4
  26. package/dist-types/commands/JoinChannelCommand.d.ts +4 -4
  27. package/dist-types/commands/ListChannelsCommand.d.ts +4 -4
  28. package/dist-types/commands/ListMessagesCommand.d.ts +2 -2
  29. package/dist-types/commands/ListPinnedMessagesCommand.d.ts +2 -2
  30. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +9 -9
  31. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +4 -4
  32. package/dist-types/commands/QueryChannelsCommand.d.ts +4 -4
  33. package/dist-types/commands/SendGiphyCommand.d.ts +2 -2
  34. package/dist-types/commands/SendMessageCommand.d.ts +4 -4
  35. package/dist-types/commands/SendSystemMessageCommand.d.ts +2 -2
  36. package/dist-types/commands/UpdateChannelCommand.d.ts +8 -8
  37. package/dist-types/commands/UpdateMessageCommand.d.ts +4 -4
  38. package/dist-types/commands/index.d.ts +2 -2
  39. package/dist-types/models/enums.d.ts +18 -5
  40. package/dist-types/models/models_0.d.ts +150 -52
  41. package/dist-types/schemas/schemas_0.d.ts +6 -6
  42. package/package.json +2 -2
  43. 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
- * // messenger: true || false,
116
- * // messengerStatus: "window_closed",
117
- * // messengerPageId: "STRING_VALUE",
118
- * // messengerReplyUntil: Number("long"),
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 { GetOrCreateMessengerChannelInput, GetOrCreateMessengerChannelOutput } from "../models/models_0";
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 GetOrCreateMessengerChannelCommand}.
13
+ * The input for {@link GetOrCreateMessagingChannelCommand}.
14
14
  */
15
- export interface GetOrCreateMessengerChannelCommandInput extends GetOrCreateMessengerChannelInput {
15
+ export interface GetOrCreateMessagingChannelCommandInput extends GetOrCreateMessagingChannelInput {
16
16
  }
17
17
  /**
18
18
  * @public
19
19
  *
20
- * The output of {@link GetOrCreateMessengerChannelCommand}.
20
+ * The output of {@link GetOrCreateMessagingChannelCommand}.
21
21
  */
22
- export interface GetOrCreateMessengerChannelCommandOutput extends GetOrCreateMessengerChannelOutput, __MetadataBearer {
22
+ export interface GetOrCreateMessagingChannelCommandOutput extends GetOrCreateMessagingChannelOutput, __MetadataBearer {
23
23
  }
24
- declare const GetOrCreateMessengerChannelCommand_base: {
25
- new (input: GetOrCreateMessengerChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateMessengerChannelCommandInput, GetOrCreateMessengerChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetOrCreateMessengerChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateMessengerChannelCommandInput, GetOrCreateMessengerChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 Facebook Messenger channel. The person is named by recipientId, the x-bees user invited for them; recipientNumber names the same person directly. On this channel either value resolves to a Page Scoped ID, an opaque Meta identifier and not a phone number.
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, GetOrCreateMessengerChannelCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
35
- * // const { ConversationsClient, GetOrCreateMessengerChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
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 = { // GetOrCreateMessengerChannelInput
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 GetOrCreateMessengerChannelCommand(input);
47
+ * const command = new GetOrCreateMessagingChannelCommand(input);
47
48
  * const response = await client.send(command);
48
- * // { // GetOrCreateMessengerChannelOutput
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
- * // messenger: true || false,
113
- * // messengerStatus: "window_closed",
114
- * // messengerPageId: "STRING_VALUE",
115
- * // messengerReplyUntil: Number("long"),
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 GetOrCreateMessengerChannelCommandInput - {@link GetOrCreateMessengerChannelCommandInput}
133
- * @returns {@link GetOrCreateMessengerChannelCommandOutput}
134
- * @see {@link GetOrCreateMessengerChannelCommandInput} for command's `input` shape.
135
- * @see {@link GetOrCreateMessengerChannelCommandOutput} for command's `response` shape.
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 GetOrCreateMessengerChannelCommand extends GetOrCreateMessengerChannelCommand_base {
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: GetOrCreateMessengerChannelInput;
155
- output: GetOrCreateMessengerChannelOutput;
155
+ input: GetOrCreateMessagingChannelInput;
156
+ output: GetOrCreateMessagingChannelOutput;
156
157
  };
157
158
  sdk: {
158
- input: GetOrCreateMessengerChannelCommandInput;
159
- output: GetOrCreateMessengerChannelCommandOutput;
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
- * // messenger: true || false,
113
- * // messengerStatus: "window_closed",
114
- * // messengerPageId: "STRING_VALUE",
115
- * // messengerReplyUntil: Number("long"),
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
- * // messenger: true || false,
112
- * // messengerStatus: "window_closed",
113
- * // messengerPageId: "STRING_VALUE",
114
- * // messengerReplyUntil: Number("long"),
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
- * // messenger: true || false,
113
- * // messengerStatus: "window_closed",
114
- * // messengerPageId: "STRING_VALUE",
115
- * // messengerReplyUntil: Number("long"),
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
- * // messenger: true || false,
111
- * // messengerStatus: "window_closed",
112
- * // messengerPageId: "STRING_VALUE",
113
- * // messengerReplyUntil: Number("long"),
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
- * // messenger: true || false,
113
- * // messengerStatus: "window_closed",
114
- * // messengerPageId: "STRING_VALUE",
115
- * // messengerReplyUntil: Number("long"),
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
- * // messenger: true || false,
182
- * // messengerStatus: "trying" || "sent" || "error" || "delivered",
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
- * // messenger: true || false,
182
- * // messengerStatus: "trying" || "sent" || "error" || "delivered",
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
- * messenger: true || false,
78
- * messengerStatus: "window_closed",
79
- * messengerPageId: "STRING_VALUE",
80
- * messengerReplyUntil: Number("long"),
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" || "messengerStatus" || "kiteAssign" || "service" || "serviceTitle" || "assignee" || "sms" || "mms" || "whatsapp",
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
- * // messenger: true || false,
177
- * // messengerStatus: "window_closed",
178
- * // messengerPageId: "STRING_VALUE",
179
- * // messengerReplyUntil: Number("long"),
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
- * messenger: true || false,
177
- * messengerStatus: "trying" || "sent" || "error" || "delivered",
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
- * // messenger: true || false,
327
- * // messengerStatus: "trying" || "sent" || "error" || "delivered",
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
- * // messenger: true || false,
118
- * // messengerStatus: "window_closed",
119
- * // messengerPageId: "STRING_VALUE",
120
- * // messengerReplyUntil: Number("long"),
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
- * // messenger: true || false,
188
- * // messengerStatus: "trying" || "sent" || "error" || "delivered",
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
- * messenger: true || false,
173
- * messengerStatus: "trying" || "sent" || "error" || "delivered",
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
- * // messenger: true || false,
321
- * // messengerStatus: "trying" || "sent" || "error" || "delivered",
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
- * // messenger: true || false,
188
- * // messengerStatus: "trying" || "sent" || "error" || "delivered",
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
- * messenger: true || false,
74
- * messengerStatus: "window_closed",
75
- * messengerPageId: "STRING_VALUE",
76
- * messengerReplyUntil: Number("long"),
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
- * // messenger: true || false,
172
- * // messengerStatus: "window_closed",
173
- * // messengerPageId: "STRING_VALUE",
174
- * // messengerReplyUntil: Number("long"),
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
- * messenger: true || false,
173
- * messengerStatus: "trying" || "sent" || "error" || "delivered",
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
- * // messenger: true || false,
322
- * // messengerStatus: "trying" || "sent" || "error" || "delivered",
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 "./GetMessengerChannelIdCommand";
20
+ export * from "./GetMessagingChannelIdCommand";
21
21
  export * from "./GetOrCreateDirectChannelCommand";
22
- export * from "./GetOrCreateMessengerChannelCommand";
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 ChannelMessengerStatus: {
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 ChannelMessengerStatus = (typeof ChannelMessengerStatus)[keyof typeof ChannelMessengerStatus];
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 MessageMessengerStatus: {
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 MessageMessengerStatus = (typeof MessageMessengerStatus)[keyof typeof MessageMessengerStatus];
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 MESSENGER_STATUS: "messengerStatus";
290
+ readonly MESSAGING_STATUS: "messagingStatus";
278
291
  readonly MMS: "mms";
279
292
  readonly PICTURE: "picture";
280
293
  readonly PICTURE_COLOR: "pictureColor";