@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
|
@@ -26,8 +26,7 @@ declare const ListMessagesCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Retrieves a list of messages from 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
|
|
@@ -133,7 +132,7 @@ declare const ListMessagesCommand_base: {
|
|
|
133
132
|
* // forwardEmail: "STRING_VALUE",
|
|
134
133
|
* // forwardName: "STRING_VALUE",
|
|
135
134
|
* // },
|
|
136
|
-
* // type: "regular", // required
|
|
135
|
+
* // type: "regular" || "system", // required
|
|
137
136
|
* // giphy: {
|
|
138
137
|
* // id: "STRING_VALUE",
|
|
139
138
|
* // size: "STRING_VALUE",
|
|
@@ -145,6 +144,8 @@ declare const ListMessagesCommand_base: {
|
|
|
145
144
|
* // event: "STRING_VALUE",
|
|
146
145
|
* // sms: true || false,
|
|
147
146
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
147
|
+
* // whatsapp: true || false,
|
|
148
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
148
149
|
* // messageId: "STRING_VALUE", // required
|
|
149
150
|
* // channelId: "STRING_VALUE", // required
|
|
150
151
|
* // user: "<User>", // required
|
|
@@ -186,6 +187,7 @@ declare const ListMessagesCommand_base: {
|
|
|
186
187
|
* @throws {@link ConversationsServiceException}
|
|
187
188
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
188
189
|
*
|
|
190
|
+
* @public
|
|
189
191
|
*/
|
|
190
192
|
export declare class ListMessagesCommand extends ListMessagesCommand_base {
|
|
191
193
|
}
|
|
@@ -26,8 +26,7 @@ declare const MarkReadCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Marks all messages in the specified channel as read by the user. 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 MarkReadCommand_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 MarkReadCommand extends MarkReadCommand_base {
|
|
64
64
|
}
|
|
@@ -26,8 +26,7 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Partially updates the details of an existing channel. This operation allows for updating specific channel properties without altering the entire resource.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -110,6 +109,8 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
110
109
|
* // telephony: true || false,
|
|
111
110
|
* // sms: true || false,
|
|
112
111
|
* // mms: true || false,
|
|
112
|
+
* // whatsapp: true || false,
|
|
113
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
113
114
|
* // broadcast: true || false,
|
|
114
115
|
* // external: true || false,
|
|
115
116
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -138,6 +139,7 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
138
139
|
* @throws {@link ConversationsServiceException}
|
|
139
140
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
140
141
|
*
|
|
142
|
+
* @public
|
|
141
143
|
*/
|
|
142
144
|
export declare class PartialUpdateChannelCommand extends PartialUpdateChannelCommand_base {
|
|
143
145
|
}
|
|
@@ -26,8 +26,7 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Partially updates an existing message in a specified channel. This operation 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
|
|
@@ -225,7 +224,7 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
225
224
|
* // forwardEmail: "STRING_VALUE",
|
|
226
225
|
* // forwardName: "STRING_VALUE",
|
|
227
226
|
* // },
|
|
228
|
-
* // type: "regular", // required
|
|
227
|
+
* // type: "regular" || "system", // required
|
|
229
228
|
* // giphy: {
|
|
230
229
|
* // id: "STRING_VALUE",
|
|
231
230
|
* // size: "STRING_VALUE",
|
|
@@ -237,6 +236,8 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
237
236
|
* // event: "STRING_VALUE",
|
|
238
237
|
* // sms: true || false,
|
|
239
238
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
239
|
+
* // whatsapp: true || false,
|
|
240
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
240
241
|
* // messageId: "STRING_VALUE", // required
|
|
241
242
|
* // channelId: "STRING_VALUE", // required
|
|
242
243
|
* // user: "<User>", // required
|
|
@@ -279,6 +280,7 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
279
280
|
* @throws {@link ConversationsServiceException}
|
|
280
281
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
281
282
|
*
|
|
283
|
+
* @public
|
|
282
284
|
*/
|
|
283
285
|
export declare class PartialUpdateMessageCommand extends PartialUpdateMessageCommand_base {
|
|
284
286
|
}
|
|
@@ -26,7 +26,7 @@ declare const ScheduleExternalFlagAdjustmentJobCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Schedules a job to fix the "external" flag for channels in which the user participates.
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -26,8 +26,7 @@ declare const SendGiphyCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Sends a Giphy message to a specified 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
|
|
@@ -139,7 +138,7 @@ declare const SendGiphyCommand_base: {
|
|
|
139
138
|
* // forwardEmail: "STRING_VALUE",
|
|
140
139
|
* // forwardName: "STRING_VALUE",
|
|
141
140
|
* // },
|
|
142
|
-
* // type: "regular", // required
|
|
141
|
+
* // type: "regular" || "system", // required
|
|
143
142
|
* // giphy: {
|
|
144
143
|
* // id: "STRING_VALUE",
|
|
145
144
|
* // size: "STRING_VALUE",
|
|
@@ -151,6 +150,8 @@ declare const SendGiphyCommand_base: {
|
|
|
151
150
|
* // event: "STRING_VALUE",
|
|
152
151
|
* // sms: true || false,
|
|
153
152
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
153
|
+
* // whatsapp: true || false,
|
|
154
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
154
155
|
* // messageId: "STRING_VALUE", // required
|
|
155
156
|
* // channelId: "STRING_VALUE", // required
|
|
156
157
|
* // user: "<User>", // required
|
|
@@ -191,6 +192,7 @@ declare const SendGiphyCommand_base: {
|
|
|
191
192
|
* @throws {@link ConversationsServiceException}
|
|
192
193
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
193
194
|
*
|
|
195
|
+
* @public
|
|
194
196
|
*/
|
|
195
197
|
export declare class SendGiphyCommand extends SendGiphyCommand_base {
|
|
196
198
|
}
|
|
@@ -26,8 +26,7 @@ declare const SendMessageCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Sends a message to a specified 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
|
|
@@ -224,7 +223,7 @@ declare const SendMessageCommand_base: {
|
|
|
224
223
|
* // forwardEmail: "STRING_VALUE",
|
|
225
224
|
* // forwardName: "STRING_VALUE",
|
|
226
225
|
* // },
|
|
227
|
-
* // type: "regular", // required
|
|
226
|
+
* // type: "regular" || "system", // required
|
|
228
227
|
* // giphy: {
|
|
229
228
|
* // id: "STRING_VALUE",
|
|
230
229
|
* // size: "STRING_VALUE",
|
|
@@ -236,6 +235,8 @@ declare const SendMessageCommand_base: {
|
|
|
236
235
|
* // event: "STRING_VALUE",
|
|
237
236
|
* // sms: true || false,
|
|
238
237
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
238
|
+
* // whatsapp: true || false,
|
|
239
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
239
240
|
* // messageId: "STRING_VALUE", // required
|
|
240
241
|
* // channelId: "STRING_VALUE", // required
|
|
241
242
|
* // user: "<User>", // required
|
|
@@ -276,6 +277,7 @@ declare const SendMessageCommand_base: {
|
|
|
276
277
|
* @throws {@link ConversationsServiceException}
|
|
277
278
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
278
279
|
*
|
|
280
|
+
* @public
|
|
279
281
|
*/
|
|
280
282
|
export declare class SendMessageCommand extends SendMessageCommand_base {
|
|
281
283
|
}
|
|
@@ -26,8 +26,7 @@ declare const SendMessageReactionCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Sends a reaction to a specific message in a specified 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
|
|
@@ -61,6 +60,7 @@ declare const SendMessageReactionCommand_base: {
|
|
|
61
60
|
* @throws {@link ConversationsServiceException}
|
|
62
61
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
63
62
|
*
|
|
63
|
+
* @public
|
|
64
64
|
*/
|
|
65
65
|
export declare class SendMessageReactionCommand extends SendMessageReactionCommand_base {
|
|
66
66
|
}
|
|
@@ -26,8 +26,7 @@ declare const SendTypingStartCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Sends a typing start event to a specified 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 SendTypingStartCommand_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 SendTypingStartCommand extends SendTypingStartCommand_base {
|
|
64
64
|
}
|
|
@@ -26,8 +26,7 @@ declare const SendTypingStopCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Sends a typing stop event to a specified 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 SendTypingStopCommand_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 SendTypingStopCommand extends SendTypingStopCommand_base {
|
|
64
64
|
}
|
|
@@ -26,8 +26,7 @@ declare const ShowChannelCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Allows a user to show an existing hidden 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 ShowChannelCommand_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 ShowChannelCommand extends ShowChannelCommand_base {
|
|
64
64
|
}
|
|
@@ -26,8 +26,7 @@ declare const UpdateChannelCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Updates the details of an existing channel. This operation can modify channel properties such as name, description, and members.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -105,6 +104,8 @@ declare const UpdateChannelCommand_base: {
|
|
|
105
104
|
* // telephony: true || false,
|
|
106
105
|
* // sms: true || false,
|
|
107
106
|
* // mms: true || false,
|
|
107
|
+
* // whatsapp: true || false,
|
|
108
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
108
109
|
* // broadcast: true || false,
|
|
109
110
|
* // external: true || false,
|
|
110
111
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -133,6 +134,7 @@ declare const UpdateChannelCommand_base: {
|
|
|
133
134
|
* @throws {@link ConversationsServiceException}
|
|
134
135
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
135
136
|
*
|
|
137
|
+
* @public
|
|
136
138
|
*/
|
|
137
139
|
export declare class UpdateChannelCommand extends UpdateChannelCommand_base {
|
|
138
140
|
}
|
|
@@ -26,8 +26,7 @@ declare const UpdateMessageCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Updates 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
|
|
@@ -223,7 +222,7 @@ declare const UpdateMessageCommand_base: {
|
|
|
223
222
|
* // forwardEmail: "STRING_VALUE",
|
|
224
223
|
* // forwardName: "STRING_VALUE",
|
|
225
224
|
* // },
|
|
226
|
-
* // type: "regular", // required
|
|
225
|
+
* // type: "regular" || "system", // required
|
|
227
226
|
* // giphy: {
|
|
228
227
|
* // id: "STRING_VALUE",
|
|
229
228
|
* // size: "STRING_VALUE",
|
|
@@ -235,6 +234,8 @@ declare const UpdateMessageCommand_base: {
|
|
|
235
234
|
* // event: "STRING_VALUE",
|
|
236
235
|
* // sms: true || false,
|
|
237
236
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
237
|
+
* // whatsapp: true || false,
|
|
238
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
238
239
|
* // messageId: "STRING_VALUE", // required
|
|
239
240
|
* // channelId: "STRING_VALUE", // required
|
|
240
241
|
* // user: "<User>", // required
|
|
@@ -277,6 +278,7 @@ declare const UpdateMessageCommand_base: {
|
|
|
277
278
|
* @throws {@link ConversationsServiceException}
|
|
278
279
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
279
280
|
*
|
|
281
|
+
* @public
|
|
280
282
|
*/
|
|
281
283
|
export declare class UpdateMessageCommand extends UpdateMessageCommand_base {
|
|
282
284
|
}
|
|
@@ -26,7 +26,7 @@ declare const UploadFileCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* Create a presigned URL for file in
|
|
29
|
+
* Create a presigned URL for file upload in the channel.
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|