@wildix/xbees-conversations-client 1.0.46 → 1.0.48
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/models/models_0.js +11 -1
- package/dist-es/models/models_0.js +10 -0
- package/dist-types/commands/AddChannelMemberCommand.d.ts +2 -2
- package/dist-types/commands/AddChannelMembersCommand.d.ts +2 -2
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +4 -2
- package/dist-types/commands/DeleteChannelCommand.d.ts +2 -4
- package/dist-types/commands/DeleteChannelMemberCommand.d.ts +2 -2
- package/dist-types/commands/DeleteMessageCommand.d.ts +2 -2
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeEventCommand.d.ts +25 -5
- package/dist-types/commands/GetChannelCommand.d.ts +4 -2
- package/dist-types/commands/GetChannelMemberCommand.d.ts +2 -2
- package/dist-types/commands/GetDirectChannelIdCommand.d.ts +2 -2
- package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +2 -2
- package/dist-types/commands/GetMessageCommand.d.ts +5 -3
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +4 -2
- package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +2 -2
- package/dist-types/commands/HideChannelCommand.d.ts +2 -2
- package/dist-types/commands/InviteCommand.d.ts +2 -2
- package/dist-types/commands/JoinChannelCommand.d.ts +4 -2
- package/dist-types/commands/LeaveChannelCommand.d.ts +2 -2
- package/dist-types/commands/ListChannelMembersCommand.d.ts +2 -2
- package/dist-types/commands/ListChannelsCommand.d.ts +4 -2
- package/dist-types/commands/ListMessageReactionsCommand.d.ts +2 -2
- package/dist-types/commands/ListMessagesCommand.d.ts +5 -3
- package/dist-types/commands/MarkReadCommand.d.ts +2 -2
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +4 -2
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +5 -3
- package/dist-types/commands/ScheduleExternalFlagAdjustmentJobCommand.d.ts +1 -1
- package/dist-types/commands/SendGiphyCommand.d.ts +5 -3
- package/dist-types/commands/SendMessageCommand.d.ts +5 -3
- package/dist-types/commands/SendMessageReactionCommand.d.ts +2 -2
- package/dist-types/commands/SendTypingStartCommand.d.ts +2 -2
- package/dist-types/commands/SendTypingStopCommand.d.ts +2 -2
- package/dist-types/commands/ShowChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateChannelCommand.d.ts +4 -2
- package/dist-types/commands/UpdateMessageCommand.d.ts +5 -3
- package/dist-types/commands/UploadFileCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +451 -41
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ConversationsServiceException = exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.FileNotFoundException = exports.MessageType = exports.MessageSmsStatus = exports.WebhookEventType = exports.ReactionType = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.ConversationFileCategory = exports.ChannelAlreadyExistException = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelAccess = exports.MemberAlreadyExistException = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ChannelType = exports.ForbiddenException = exports.ValidationException = void 0;
|
|
3
|
+
exports.ConversationsServiceException = exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.FileNotFoundException = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.WebhookEventType = exports.ReactionType = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.ConversationFileCategory = exports.ChannelAlreadyExistException = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelAccess = exports.MemberAlreadyExistException = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ChannelType = exports.ForbiddenException = exports.ValidationException = void 0;
|
|
4
4
|
const ConversationsServiceException_1 = require("./ConversationsServiceException");
|
|
5
5
|
class ValidationException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -75,6 +75,9 @@ exports.ChannelContextEventAttendeeStatus = {
|
|
|
75
75
|
exports.ChannelContextSource = {
|
|
76
76
|
KITE: "kite",
|
|
77
77
|
};
|
|
78
|
+
exports.ChannelWhatsAppStatus = {
|
|
79
|
+
CHANNEL_CLOSED: "24h_channel_closed",
|
|
80
|
+
};
|
|
78
81
|
class ChannelAlreadyExistException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
79
82
|
constructor(opts) {
|
|
80
83
|
super({
|
|
@@ -148,6 +151,13 @@ exports.MessageSmsStatus = {
|
|
|
148
151
|
};
|
|
149
152
|
exports.MessageType = {
|
|
150
153
|
REGULAR: "regular",
|
|
154
|
+
SYSTEM: "system",
|
|
155
|
+
};
|
|
156
|
+
exports.MessageWhatsAppStatus = {
|
|
157
|
+
DELIVERED: "delivered",
|
|
158
|
+
ERROR: "error",
|
|
159
|
+
SENT: "sent",
|
|
160
|
+
TRYING: "trying",
|
|
151
161
|
};
|
|
152
162
|
class FileNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
153
163
|
constructor(opts) {
|
|
@@ -68,6 +68,9 @@ export const ChannelContextEventAttendeeStatus = {
|
|
|
68
68
|
export const ChannelContextSource = {
|
|
69
69
|
KITE: "kite",
|
|
70
70
|
};
|
|
71
|
+
export const ChannelWhatsAppStatus = {
|
|
72
|
+
CHANNEL_CLOSED: "24h_channel_closed",
|
|
73
|
+
};
|
|
71
74
|
export class ChannelAlreadyExistException extends __BaseException {
|
|
72
75
|
constructor(opts) {
|
|
73
76
|
super({
|
|
@@ -138,6 +141,13 @@ export const MessageSmsStatus = {
|
|
|
138
141
|
};
|
|
139
142
|
export const MessageType = {
|
|
140
143
|
REGULAR: "regular",
|
|
144
|
+
SYSTEM: "system",
|
|
145
|
+
};
|
|
146
|
+
export const MessageWhatsAppStatus = {
|
|
147
|
+
DELIVERED: "delivered",
|
|
148
|
+
ERROR: "error",
|
|
149
|
+
SENT: "sent",
|
|
150
|
+
TRYING: "trying",
|
|
141
151
|
};
|
|
142
152
|
export class FileNotFoundException extends __BaseException {
|
|
143
153
|
constructor(opts) {
|
|
@@ -26,8 +26,7 @@ declare const AddChannelMemberCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Adds a single member to an existing channel. This operation will either add an existing user or invite a new user to the channel. This operation is idempotent, meaning that if the member already exists, the operation will still return a successful response.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -93,6 +92,7 @@ declare const AddChannelMemberCommand_base: {
|
|
|
93
92
|
* @throws {@link ConversationsServiceException}
|
|
94
93
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
95
94
|
*
|
|
95
|
+
* @public
|
|
96
96
|
*/
|
|
97
97
|
export declare class AddChannelMemberCommand extends AddChannelMemberCommand_base {
|
|
98
98
|
}
|
|
@@ -26,8 +26,7 @@ declare const AddChannelMembersCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Adds members to an existing channel. This operation is idempotent, meaning that if a member already exists in the channel, the operation will still return a successful response.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -101,6 +100,7 @@ declare const AddChannelMembersCommand_base: {
|
|
|
101
100
|
* @throws {@link ConversationsServiceException}
|
|
102
101
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
103
102
|
*
|
|
103
|
+
* @public
|
|
104
104
|
*/
|
|
105
105
|
export declare class AddChannelMembersCommand extends AddChannelMembersCommand_base {
|
|
106
106
|
}
|
|
@@ -26,8 +26,7 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Creates a new group channel with specified members and members to invite.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -115,6 +114,8 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
115
114
|
* // telephony: true || false,
|
|
116
115
|
* // sms: true || false,
|
|
117
116
|
* // mms: true || false,
|
|
117
|
+
* // whatsapp: true || false,
|
|
118
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
118
119
|
* // broadcast: true || false,
|
|
119
120
|
* // external: true || false,
|
|
120
121
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -143,6 +144,7 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
143
144
|
* @throws {@link ConversationsServiceException}
|
|
144
145
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
145
146
|
*
|
|
147
|
+
* @public
|
|
146
148
|
*/
|
|
147
149
|
export declare class CreateGroupChannelCommand extends CreateGroupChannelCommand_base {
|
|
148
150
|
}
|
|
@@ -26,8 +26,7 @@ declare const DeleteChannelCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Deletes an existing channel. This operation is idempotent, meaning that if the channel does not exist, the operation will still return a successful response.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -49,8 +48,6 @@ declare const DeleteChannelCommand_base: {
|
|
|
49
48
|
* @see {@link DeleteChannelCommandOutput} for command's `response` shape.
|
|
50
49
|
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
51
50
|
*
|
|
52
|
-
* @throws {@link ChannelNotFoundException} (client fault)
|
|
53
|
-
*
|
|
54
51
|
* @throws {@link ValidationException} (client fault)
|
|
55
52
|
*
|
|
56
53
|
* @throws {@link ForbiddenException} (client fault)
|
|
@@ -58,6 +55,7 @@ declare const DeleteChannelCommand_base: {
|
|
|
58
55
|
* @throws {@link ConversationsServiceException}
|
|
59
56
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
60
57
|
*
|
|
58
|
+
* @public
|
|
61
59
|
*/
|
|
62
60
|
export declare class DeleteChannelCommand extends DeleteChannelCommand_base {
|
|
63
61
|
}
|
|
@@ -26,8 +26,7 @@ declare const DeleteChannelMemberCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Deletes a specific member from a channel. This operation is idempotent, meaning that if the member does not exist, the operation will still return a successful response.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -63,6 +62,7 @@ declare const DeleteChannelMemberCommand_base: {
|
|
|
63
62
|
* @throws {@link ConversationsServiceException}
|
|
64
63
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
65
64
|
*
|
|
65
|
+
* @public
|
|
66
66
|
*/
|
|
67
67
|
export declare class DeleteChannelMemberCommand extends DeleteChannelMemberCommand_base {
|
|
68
68
|
}
|
|
@@ -26,8 +26,7 @@ declare const DeleteMessageCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Deletes an existing message in a specified channel. This operation is idempotent and requires the channel and message to be accessible to the user.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -62,6 +61,7 @@ declare const DeleteMessageCommand_base: {
|
|
|
62
61
|
* @throws {@link ConversationsServiceException}
|
|
63
62
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
64
63
|
*
|
|
64
|
+
* @public
|
|
65
65
|
*/
|
|
66
66
|
export declare class DeleteMessageCommand extends DeleteMessageCommand_base {
|
|
67
67
|
}
|
|
@@ -26,8 +26,7 @@ declare const DeleteMessageReactionCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Deletes a reaction from a specific message in a specified channel. This operation is idempotent and requires the channel and message to be accessible to the user.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -63,6 +62,7 @@ declare const DeleteMessageReactionCommand_base: {
|
|
|
63
62
|
* @throws {@link ConversationsServiceException}
|
|
64
63
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
65
64
|
*
|
|
65
|
+
* @public
|
|
66
66
|
*/
|
|
67
67
|
export declare class DeleteMessageReactionCommand extends DeleteMessageReactionCommand_base {
|
|
68
68
|
}
|
|
@@ -103,6 +103,8 @@ declare const DescribeEventCommand_base: {
|
|
|
103
103
|
* // telephony: true || false,
|
|
104
104
|
* // sms: true || false,
|
|
105
105
|
* // mms: true || false,
|
|
106
|
+
* // whatsapp: true || false,
|
|
107
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
106
108
|
* // broadcast: true || false,
|
|
107
109
|
* // external: true || false,
|
|
108
110
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -206,6 +208,8 @@ declare const DescribeEventCommand_base: {
|
|
|
206
208
|
* // telephony: true || false,
|
|
207
209
|
* // sms: true || false,
|
|
208
210
|
* // mms: true || false,
|
|
211
|
+
* // whatsapp: true || false,
|
|
212
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
209
213
|
* // broadcast: true || false,
|
|
210
214
|
* // external: true || false,
|
|
211
215
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -309,6 +313,8 @@ declare const DescribeEventCommand_base: {
|
|
|
309
313
|
* // telephony: true || false,
|
|
310
314
|
* // sms: true || false,
|
|
311
315
|
* // mms: true || false,
|
|
316
|
+
* // whatsapp: true || false,
|
|
317
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
312
318
|
* // broadcast: true || false,
|
|
313
319
|
* // external: true || false,
|
|
314
320
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -374,6 +380,8 @@ declare const DescribeEventCommand_base: {
|
|
|
374
380
|
* // telephony: true || false,
|
|
375
381
|
* // sms: true || false,
|
|
376
382
|
* // mms: true || false,
|
|
383
|
+
* // whatsapp: true || false,
|
|
384
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
377
385
|
* // broadcast: true || false,
|
|
378
386
|
* // external: true || false,
|
|
379
387
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -439,6 +447,8 @@ declare const DescribeEventCommand_base: {
|
|
|
439
447
|
* // telephony: true || false,
|
|
440
448
|
* // sms: true || false,
|
|
441
449
|
* // mms: true || false,
|
|
450
|
+
* // whatsapp: true || false,
|
|
451
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
442
452
|
* // broadcast: true || false,
|
|
443
453
|
* // external: true || false,
|
|
444
454
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -514,7 +524,7 @@ declare const DescribeEventCommand_base: {
|
|
|
514
524
|
* // forwardEmail: "STRING_VALUE",
|
|
515
525
|
* // forwardName: "STRING_VALUE",
|
|
516
526
|
* // },
|
|
517
|
-
* // type: "regular", // required
|
|
527
|
+
* // type: "regular" || "system", // required
|
|
518
528
|
* // giphy: {
|
|
519
529
|
* // id: "STRING_VALUE",
|
|
520
530
|
* // size: "STRING_VALUE",
|
|
@@ -526,6 +536,8 @@ declare const DescribeEventCommand_base: {
|
|
|
526
536
|
* // event: "STRING_VALUE",
|
|
527
537
|
* // sms: true || false,
|
|
528
538
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
539
|
+
* // whatsapp: true || false,
|
|
540
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
529
541
|
* // messageId: "STRING_VALUE", // required
|
|
530
542
|
* // channelId: "STRING_VALUE", // required
|
|
531
543
|
* // user: "<User>", // required
|
|
@@ -610,7 +622,7 @@ declare const DescribeEventCommand_base: {
|
|
|
610
622
|
* // forwardEmail: "STRING_VALUE",
|
|
611
623
|
* // forwardName: "STRING_VALUE",
|
|
612
624
|
* // },
|
|
613
|
-
* // type: "regular", // required
|
|
625
|
+
* // type: "regular" || "system", // required
|
|
614
626
|
* // giphy: {
|
|
615
627
|
* // id: "STRING_VALUE",
|
|
616
628
|
* // size: "STRING_VALUE",
|
|
@@ -622,6 +634,8 @@ declare const DescribeEventCommand_base: {
|
|
|
622
634
|
* // event: "STRING_VALUE",
|
|
623
635
|
* // sms: true || false,
|
|
624
636
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
637
|
+
* // whatsapp: true || false,
|
|
638
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
625
639
|
* // messageId: "STRING_VALUE", // required
|
|
626
640
|
* // channelId: "STRING_VALUE", // required
|
|
627
641
|
* // user: "<User>", // required
|
|
@@ -690,12 +704,14 @@ declare const DescribeEventCommand_base: {
|
|
|
690
704
|
* // updatedAt: "STRING_VALUE",
|
|
691
705
|
* // },
|
|
692
706
|
* // forward: "<MessageForward>",
|
|
693
|
-
* // type: "regular", // required
|
|
707
|
+
* // type: "regular" || "system", // required
|
|
694
708
|
* // giphy: "<MessageGiphy>",
|
|
695
709
|
* // silent: true || false,
|
|
696
710
|
* // event: "STRING_VALUE",
|
|
697
711
|
* // sms: true || false,
|
|
698
712
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
713
|
+
* // whatsapp: true || false,
|
|
714
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
699
715
|
* // messageId: "STRING_VALUE", // required
|
|
700
716
|
* // channelId: "STRING_VALUE", // required
|
|
701
717
|
* // user: "<User>", // required
|
|
@@ -742,12 +758,14 @@ declare const DescribeEventCommand_base: {
|
|
|
742
758
|
* // updatedAt: "STRING_VALUE",
|
|
743
759
|
* // },
|
|
744
760
|
* // forward: "<MessageForward>",
|
|
745
|
-
* // type: "regular", // required
|
|
761
|
+
* // type: "regular" || "system", // required
|
|
746
762
|
* // giphy: "<MessageGiphy>",
|
|
747
763
|
* // silent: true || false,
|
|
748
764
|
* // event: "STRING_VALUE",
|
|
749
765
|
* // sms: true || false,
|
|
750
766
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
767
|
+
* // whatsapp: true || false,
|
|
768
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
751
769
|
* // messageId: "STRING_VALUE", // required
|
|
752
770
|
* // channelId: "STRING_VALUE", // required
|
|
753
771
|
* // user: "<User>", // required
|
|
@@ -800,12 +818,14 @@ declare const DescribeEventCommand_base: {
|
|
|
800
818
|
* // updatedAt: "STRING_VALUE",
|
|
801
819
|
* // },
|
|
802
820
|
* // forward: "<MessageForward>",
|
|
803
|
-
* // type: "regular", // required
|
|
821
|
+
* // type: "regular" || "system", // required
|
|
804
822
|
* // giphy: "<MessageGiphy>",
|
|
805
823
|
* // silent: true || false,
|
|
806
824
|
* // event: "STRING_VALUE",
|
|
807
825
|
* // sms: true || false,
|
|
808
826
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
827
|
+
* // whatsapp: true || false,
|
|
828
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
809
829
|
* // messageId: "STRING_VALUE", // required
|
|
810
830
|
* // channelId: "STRING_VALUE", // required
|
|
811
831
|
* // user: "<User>", // required
|
|
@@ -26,8 +26,7 @@ declare const GetChannelCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Retrieves details of a specific channel by its unique identifier.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -97,6 +96,8 @@ declare const GetChannelCommand_base: {
|
|
|
97
96
|
* // telephony: true || false,
|
|
98
97
|
* // sms: true || false,
|
|
99
98
|
* // mms: true || false,
|
|
99
|
+
* // whatsapp: true || false,
|
|
100
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
100
101
|
* // broadcast: true || false,
|
|
101
102
|
* // external: true || false,
|
|
102
103
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -125,6 +126,7 @@ declare const GetChannelCommand_base: {
|
|
|
125
126
|
* @throws {@link ConversationsServiceException}
|
|
126
127
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
127
128
|
*
|
|
129
|
+
* @public
|
|
128
130
|
*/
|
|
129
131
|
export declare class GetChannelCommand extends GetChannelCommand_base {
|
|
130
132
|
}
|
|
@@ -26,8 +26,7 @@ declare const GetChannelMemberCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Retrieves details of a specific member in a channel. This includes the member's role and user information.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -85,6 +84,7 @@ declare const GetChannelMemberCommand_base: {
|
|
|
85
84
|
* @throws {@link ConversationsServiceException}
|
|
86
85
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
87
86
|
*
|
|
87
|
+
* @public
|
|
88
88
|
*/
|
|
89
89
|
export declare class GetChannelMemberCommand extends GetChannelMemberCommand_base {
|
|
90
90
|
}
|
|
@@ -26,8 +26,7 @@ declare const GetDirectChannelIdCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Gets the channel ID of an existing or non-existing direct channel between the specified user and another member.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -65,6 +64,7 @@ declare const GetDirectChannelIdCommand_base: {
|
|
|
65
64
|
* @throws {@link ConversationsServiceException}
|
|
66
65
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
67
66
|
*
|
|
67
|
+
* @public
|
|
68
68
|
*/
|
|
69
69
|
export declare class GetDirectChannelIdCommand extends GetDirectChannelIdCommand_base {
|
|
70
70
|
}
|
|
@@ -26,8 +26,7 @@ declare const GetFilePresignedDownloadUrlCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Retrieves a presigned URL for downloading a specific file from a message in a specified channel.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -67,6 +66,7 @@ declare const GetFilePresignedDownloadUrlCommand_base: {
|
|
|
67
66
|
* @throws {@link ConversationsServiceException}
|
|
68
67
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
69
68
|
*
|
|
69
|
+
* @public
|
|
70
70
|
*/
|
|
71
71
|
export declare class GetFilePresignedDownloadUrlCommand extends GetFilePresignedDownloadUrlCommand_base {
|
|
72
72
|
}
|
|
@@ -26,8 +26,7 @@ declare const GetMessageCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Retrieves a specific message from a specified channel.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -131,7 +130,7 @@ declare const GetMessageCommand_base: {
|
|
|
131
130
|
* // forwardEmail: "STRING_VALUE",
|
|
132
131
|
* // forwardName: "STRING_VALUE",
|
|
133
132
|
* // },
|
|
134
|
-
* // type: "regular", // required
|
|
133
|
+
* // type: "regular" || "system", // required
|
|
135
134
|
* // giphy: {
|
|
136
135
|
* // id: "STRING_VALUE",
|
|
137
136
|
* // size: "STRING_VALUE",
|
|
@@ -143,6 +142,8 @@ declare const GetMessageCommand_base: {
|
|
|
143
142
|
* // event: "STRING_VALUE",
|
|
144
143
|
* // sms: true || false,
|
|
145
144
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
145
|
+
* // whatsapp: true || false,
|
|
146
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
146
147
|
* // messageId: "STRING_VALUE", // required
|
|
147
148
|
* // channelId: "STRING_VALUE", // required
|
|
148
149
|
* // user: "<User>", // required
|
|
@@ -183,6 +184,7 @@ declare const GetMessageCommand_base: {
|
|
|
183
184
|
* @throws {@link ConversationsServiceException}
|
|
184
185
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
185
186
|
*
|
|
187
|
+
* @public
|
|
186
188
|
*/
|
|
187
189
|
export declare class GetMessageCommand extends GetMessageCommand_base {
|
|
188
190
|
}
|
|
@@ -26,8 +26,7 @@ declare const GetOrCreateDirectChannelCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Gets or creates a direct channel between the specified user and another member.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -104,6 +103,8 @@ declare const GetOrCreateDirectChannelCommand_base: {
|
|
|
104
103
|
* // telephony: true || false,
|
|
105
104
|
* // sms: true || false,
|
|
106
105
|
* // mms: true || false,
|
|
106
|
+
* // whatsapp: true || false,
|
|
107
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
107
108
|
* // broadcast: true || false,
|
|
108
109
|
* // external: true || false,
|
|
109
110
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -130,6 +131,7 @@ declare const GetOrCreateDirectChannelCommand_base: {
|
|
|
130
131
|
* @throws {@link ConversationsServiceException}
|
|
131
132
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
132
133
|
*
|
|
134
|
+
* @public
|
|
133
135
|
*/
|
|
134
136
|
export declare class GetOrCreateDirectChannelCommand extends GetOrCreateDirectChannelCommand_base {
|
|
135
137
|
}
|
|
@@ -26,8 +26,7 @@ declare const GetUploadedFileInfoCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Retrieves information about an uploaded file in a specified channel.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -73,6 +72,7 @@ declare const GetUploadedFileInfoCommand_base: {
|
|
|
73
72
|
* @throws {@link ConversationsServiceException}
|
|
74
73
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
75
74
|
*
|
|
75
|
+
* @public
|
|
76
76
|
*/
|
|
77
77
|
export declare class GetUploadedFileInfoCommand extends GetUploadedFileInfoCommand_base {
|
|
78
78
|
}
|
|
@@ -26,8 +26,7 @@ declare const HideChannelCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Allows a user to hide an existing channel. This operation requires the channel to be accessible to the user.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -59,6 +58,7 @@ declare const HideChannelCommand_base: {
|
|
|
59
58
|
* @throws {@link ConversationsServiceException}
|
|
60
59
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
61
60
|
*
|
|
61
|
+
* @public
|
|
62
62
|
*/
|
|
63
63
|
export declare class HideChannelCommand extends HideChannelCommand_base {
|
|
64
64
|
}
|
|
@@ -26,8 +26,7 @@ declare const InviteCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Invite a list of users to x-bees. This operation creates an account for specified emails or phone numbers. Use this method to create users who can be added to conversations later.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -84,6 +83,7 @@ declare const InviteCommand_base: {
|
|
|
84
83
|
* @throws {@link ConversationsServiceException}
|
|
85
84
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
86
85
|
*
|
|
86
|
+
* @public
|
|
87
87
|
*/
|
|
88
88
|
export declare class InviteCommand extends InviteCommand_base {
|
|
89
89
|
}
|
|
@@ -26,8 +26,7 @@ declare const JoinChannelCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Allows a user to join an existing channel. This operation requires the channel to be accessible to the user. The user can join a channel if it is public or if they have the necessary permissions.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -99,6 +98,8 @@ declare const JoinChannelCommand_base: {
|
|
|
99
98
|
* // telephony: true || false,
|
|
100
99
|
* // sms: true || false,
|
|
101
100
|
* // mms: true || false,
|
|
101
|
+
* // whatsapp: true || false,
|
|
102
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
102
103
|
* // broadcast: true || false,
|
|
103
104
|
* // external: true || false,
|
|
104
105
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -127,6 +128,7 @@ declare const JoinChannelCommand_base: {
|
|
|
127
128
|
* @throws {@link ConversationsServiceException}
|
|
128
129
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
129
130
|
*
|
|
131
|
+
* @public
|
|
130
132
|
*/
|
|
131
133
|
export declare class JoinChannelCommand extends JoinChannelCommand_base {
|
|
132
134
|
}
|
|
@@ -26,8 +26,7 @@ declare const LeaveChannelCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Allows a user to leave an existing channel. This operation requires the channel to be accessible to the user.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -60,6 +59,7 @@ declare const LeaveChannelCommand_base: {
|
|
|
60
59
|
* @throws {@link ConversationsServiceException}
|
|
61
60
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
62
61
|
*
|
|
62
|
+
* @public
|
|
63
63
|
*/
|
|
64
64
|
export declare class LeaveChannelCommand extends LeaveChannelCommand_base {
|
|
65
65
|
}
|
|
@@ -26,8 +26,7 @@ declare const ListChannelMembersCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Retrieves a list of members for a specific channel. Supports pagination through limit and offset parameters.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -88,6 +87,7 @@ declare const ListChannelMembersCommand_base: {
|
|
|
88
87
|
* @throws {@link ConversationsServiceException}
|
|
89
88
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
90
89
|
*
|
|
90
|
+
* @public
|
|
91
91
|
*/
|
|
92
92
|
export declare class ListChannelMembersCommand extends ListChannelMembersCommand_base {
|
|
93
93
|
}
|
|
@@ -26,8 +26,7 @@ declare const ListChannelsCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Lists all channels associated with a user. Allows pagination using limit and offset parameters. Sorted by last message in the channel.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -100,6 +99,8 @@ declare const ListChannelsCommand_base: {
|
|
|
100
99
|
* // telephony: true || false,
|
|
101
100
|
* // sms: true || false,
|
|
102
101
|
* // mms: true || false,
|
|
102
|
+
* // whatsapp: true || false,
|
|
103
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
103
104
|
* // broadcast: true || false,
|
|
104
105
|
* // external: true || false,
|
|
105
106
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -127,6 +128,7 @@ declare const ListChannelsCommand_base: {
|
|
|
127
128
|
* @throws {@link ConversationsServiceException}
|
|
128
129
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
129
130
|
*
|
|
131
|
+
* @public
|
|
130
132
|
*/
|
|
131
133
|
export declare class ListChannelsCommand extends ListChannelsCommand_base {
|
|
132
134
|
}
|
|
@@ -26,8 +26,7 @@ declare const ListMessageReactionsCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Retrieves a list of reactions for a specific message in a specified channel. Supports pagination through limit and offset parameters.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -87,6 +86,7 @@ declare const ListMessageReactionsCommand_base: {
|
|
|
87
86
|
* @throws {@link ConversationsServiceException}
|
|
88
87
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
89
88
|
*
|
|
89
|
+
* @public
|
|
90
90
|
*/
|
|
91
91
|
export declare class ListMessageReactionsCommand extends ListMessageReactionsCommand_base {
|
|
92
92
|
}
|