@wildix/stream-client 4.1.6 → 4.1.7

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 (66) hide show
  1. package/dist-cjs/models/enums.js +14 -8
  2. package/dist-cjs/schemas/schemas_0.js +156 -160
  3. package/dist-es/models/enums.js +13 -7
  4. package/dist-es/schemas/schemas_0.js +156 -160
  5. package/dist-types/commands/AddChannelMemberCommand.d.ts +0 -5
  6. package/dist-types/commands/AddChannelMembersCommand.d.ts +0 -5
  7. package/dist-types/commands/AssignChannelCommand.d.ts +0 -5
  8. package/dist-types/commands/CreateGroupChannelCommand.d.ts +7 -13
  9. package/dist-types/commands/CreateKiteChannelCommand.d.ts +8 -9
  10. package/dist-types/commands/CreateSectionCommand.d.ts +0 -5
  11. package/dist-types/commands/DeleteChannelMemberCommand.d.ts +2 -8
  12. package/dist-types/commands/DeleteMessageCommand.d.ts +2 -8
  13. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +2 -7
  14. package/dist-types/commands/DeleteSectionCommand.d.ts +2 -8
  15. package/dist-types/commands/GetChannelCommand.d.ts +4 -9
  16. package/dist-types/commands/GetChannelMemberCommand.d.ts +0 -5
  17. package/dist-types/commands/GetDirectChannelIdCommand.d.ts +0 -5
  18. package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +0 -5
  19. package/dist-types/commands/GetInboxCommand.d.ts +4 -9
  20. package/dist-types/commands/GetMessageCommand.d.ts +2 -7
  21. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +4 -9
  22. package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +4 -9
  23. package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +4 -9
  24. package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +4 -9
  25. package/dist-types/commands/GetSmsChannelIdCommand.d.ts +0 -5
  26. package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +0 -5
  27. package/dist-types/commands/GetTokenCommand.d.ts +0 -5
  28. package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +0 -5
  29. package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +0 -5
  30. package/dist-types/commands/HideChannelCommand.d.ts +2 -8
  31. package/dist-types/commands/JoinChannelCommand.d.ts +4 -9
  32. package/dist-types/commands/LeaveChannelCommand.d.ts +2 -8
  33. package/dist-types/commands/ListChannelMembersCommand.d.ts +0 -5
  34. package/dist-types/commands/ListChannelMembersReadStatusCommand.d.ts +0 -5
  35. package/dist-types/commands/ListChannelsCommand.d.ts +4 -9
  36. package/dist-types/commands/ListMentionsCommand.d.ts +2 -7
  37. package/dist-types/commands/ListMessagesCommand.d.ts +2 -7
  38. package/dist-types/commands/MarkReadCommand.d.ts +0 -5
  39. package/dist-types/commands/MarkUnreadCommand.d.ts +0 -5
  40. package/dist-types/commands/MoveChannelToSectionCommand.d.ts +0 -5
  41. package/dist-types/commands/MuteChannelCommand.d.ts +0 -5
  42. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +8 -14
  43. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +4 -7
  44. package/dist-types/commands/PinChannelCommand.d.ts +2 -8
  45. package/dist-types/commands/PinMessageCommand.d.ts +2 -7
  46. package/dist-types/commands/QueryChannelsCommand.d.ts +4 -9
  47. package/dist-types/commands/RemoveChannelFromSectionCommand.d.ts +0 -5
  48. package/dist-types/commands/RenameSectionCommand.d.ts +0 -5
  49. package/dist-types/commands/SearchChannelsCommand.d.ts +4 -9
  50. package/dist-types/commands/SearchMessagesCommand.d.ts +2 -7
  51. package/dist-types/commands/SendGiphyCommand.d.ts +2 -7
  52. package/dist-types/commands/SendMessageCommand.d.ts +4 -7
  53. package/dist-types/commands/SendMessageReactionCommand.d.ts +2 -7
  54. package/dist-types/commands/SendSystemMessageCommand.d.ts +2 -7
  55. package/dist-types/commands/SendTypingStartCommand.d.ts +2 -8
  56. package/dist-types/commands/SendTypingStopCommand.d.ts +2 -8
  57. package/dist-types/commands/ShowChannelCommand.d.ts +2 -8
  58. package/dist-types/commands/UnmuteChannelCommand.d.ts +0 -5
  59. package/dist-types/commands/UnpinChannelCommand.d.ts +2 -8
  60. package/dist-types/commands/UnpinMessageCommand.d.ts +2 -7
  61. package/dist-types/commands/UpdateChannelCommand.d.ts +7 -13
  62. package/dist-types/commands/UpdateMessageCommand.d.ts +4 -7
  63. package/dist-types/commands/UploadFileCommand.d.ts +0 -5
  64. package/dist-types/models/enums.d.ts +30 -16
  65. package/dist-types/models/models_0.d.ts +100 -1536
  66. package/package.json +1 -1
@@ -78,21 +78,15 @@ declare const UpdateChannelCommand_base: {
78
78
  * autoRecord: true || false,
79
79
  * transcriptionLanguage: "STRING_VALUE",
80
80
  * wizyGuestViewOnly: true || false,
81
- * messenger: true || false,
82
- * messengerStatus: "window_closed",
83
- * messengerPageId: "STRING_VALUE",
84
- * messengerReplyUntil: Number("long"),
81
+ * messagingStatus: "window_closed",
82
+ * messagingSenderId: "STRING_VALUE",
83
+ * messagingReplyUntil: Number("long"),
85
84
  * channelId: "STRING_VALUE", // required
86
85
  * silent: true || false,
87
86
  * };
88
87
  * const command = new UpdateChannelCommand(input);
89
88
  * const response = await client.send(command);
90
89
  * // { // UpdateChannelOutput
91
- * // requestId: "STRING_VALUE",
92
- * // requestDuration: Number("int"),
93
- * // rateLimit: "STRING_VALUE",
94
- * // rateLimitRemaining: Number("int"),
95
- * // rateLimitReset: Number("int"),
96
90
  * // channel: { // Channel
97
91
  * // channelId: "STRING_VALUE", // required
98
92
  * // channelType: "direct" || "group", // required
@@ -120,6 +114,7 @@ declare const UpdateChannelCommand_base: {
120
114
  * // service: "STRING_VALUE",
121
115
  * // serviceRecipient: "STRING_VALUE",
122
116
  * // telephony: true || false,
117
+ * // messagingChannel: "messenger" || "instagram" || "rcs",
123
118
  * // external: true || false,
124
119
  * // pinnedMessageIds: [ // PinnedMessageIdList
125
120
  * // "STRING_VALUE",
@@ -164,10 +159,9 @@ declare const UpdateChannelCommand_base: {
164
159
  * // autoRecord: true || false,
165
160
  * // transcriptionLanguage: "STRING_VALUE",
166
161
  * // wizyGuestViewOnly: true || false,
167
- * // messenger: true || false,
168
- * // messengerStatus: "window_closed",
169
- * // messengerPageId: "STRING_VALUE",
170
- * // messengerReplyUntil: Number("long"),
162
+ * // messagingStatus: "window_closed",
163
+ * // messagingSenderId: "STRING_VALUE",
164
+ * // messagingReplyUntil: Number("long"),
171
165
  * // },
172
166
  * // };
173
167
  *
@@ -102,6 +102,8 @@ declare const UpdateMessageCommand_base: {
102
102
  * whatsappStatus: "trying" || "sent" || "delivered" || "error",
103
103
  * sms: true || false,
104
104
  * smsStatus: "sent" || "delivered" || "trying" || "error",
105
+ * messagingChannel: "messenger" || "instagram" || "rcs",
106
+ * messagingStatus: "trying" || "sent" || "error" || "delivered",
105
107
  * channelId: "STRING_VALUE", // required
106
108
  * messageId: "STRING_VALUE", // required
107
109
  * silent: true || false,
@@ -214,14 +216,9 @@ declare const UpdateMessageCommand_base: {
214
216
  * // silent: true || false,
215
217
  * // event: "STRING_VALUE",
216
218
  * // pollId: "STRING_VALUE",
217
- * // messenger: true || false,
218
- * // messengerStatus: "trying" || "sent" || "error" || "delivered",
219
+ * // messagingChannel: "messenger" || "instagram" || "rcs",
220
+ * // messagingStatus: "trying" || "sent" || "error" || "delivered",
219
221
  * // },
220
- * // requestId: "STRING_VALUE",
221
- * // requestDuration: Number("int"),
222
- * // rateLimit: "STRING_VALUE",
223
- * // rateLimitRemaining: Number("int"),
224
- * // rateLimitReset: Number("int"),
225
222
  * // };
226
223
  *
227
224
  * ```
@@ -49,11 +49,6 @@ declare const UploadFileCommand_base: {
49
49
  * const command = new UploadFileCommand(input);
50
50
  * const response = await client.send(command);
51
51
  * // { // UploadFileOutput
52
- * // requestId: "STRING_VALUE",
53
- * // requestDuration: Number("int"),
54
- * // rateLimit: "STRING_VALUE",
55
- * // rateLimitRemaining: Number("int"),
56
- * // rateLimitReset: Number("int"),
57
52
  * // fsId: "STRING_VALUE", // required
58
53
  * // presignedUploadUrl: "STRING_VALUE", // required
59
54
  * // };
@@ -116,13 +116,26 @@ export type MessageType = (typeof MessageType)[keyof typeof MessageType];
116
116
  * @public
117
117
  * @enum
118
118
  */
119
- export declare const ChannelMessengerStatus: {
119
+ export declare const MessagingChannel: {
120
+ readonly INSTAGRAM: "instagram";
121
+ readonly MESSENGER: "messenger";
122
+ readonly RCS: "rcs";
123
+ };
124
+ /**
125
+ * @public
126
+ */
127
+ export type MessagingChannel = (typeof MessagingChannel)[keyof typeof MessagingChannel];
128
+ /**
129
+ * @public
130
+ * @enum
131
+ */
132
+ export declare const ChannelMessagingStatus: {
120
133
  readonly WINDOW_CLOSED: "window_closed";
121
134
  };
122
135
  /**
123
136
  * @public
124
137
  */
125
- export type ChannelMessengerStatus = (typeof ChannelMessengerStatus)[keyof typeof ChannelMessengerStatus];
138
+ export type ChannelMessagingStatus = (typeof ChannelMessagingStatus)[keyof typeof ChannelMessagingStatus];
126
139
  /**
127
140
  * @public
128
141
  * @enum
@@ -164,6 +177,20 @@ export declare const GroupChannelCreationEventType: {
164
177
  * @public
165
178
  */
166
179
  export type GroupChannelCreationEventType = (typeof GroupChannelCreationEventType)[keyof typeof GroupChannelCreationEventType];
180
+ /**
181
+ * @public
182
+ * @enum
183
+ */
184
+ export declare const MessageMessagingStatus: {
185
+ readonly DELIVERED: "delivered";
186
+ readonly ERROR: "error";
187
+ readonly SENT: "sent";
188
+ readonly TRYING: "trying";
189
+ };
190
+ /**
191
+ * @public
192
+ */
193
+ export type MessageMessagingStatus = (typeof MessageMessagingStatus)[keyof typeof MessageMessagingStatus];
167
194
  /**
168
195
  * @public
169
196
  * @enum
@@ -221,20 +248,6 @@ export declare const SectionType: {
221
248
  * @public
222
249
  */
223
250
  export type SectionType = (typeof SectionType)[keyof typeof SectionType];
224
- /**
225
- * @public
226
- * @enum
227
- */
228
- export declare const MessageMessengerStatus: {
229
- readonly DELIVERED: "delivered";
230
- readonly ERROR: "error";
231
- readonly SENT: "sent";
232
- readonly TRYING: "trying";
233
- };
234
- /**
235
- * @public
236
- */
237
- export type MessageMessengerStatus = (typeof MessageMessengerStatus)[keyof typeof MessageMessengerStatus];
238
251
  export declare enum DownloadStrategy {
239
252
  DEFAULT = 0,
240
253
  DOWNLOAD = 1
@@ -274,6 +287,7 @@ export declare const GroupChannelUnsetOptions: {
274
287
  readonly CONTEXT_PTT: "contextPtt";
275
288
  readonly DESCRIPTION: "description";
276
289
  readonly KITE_ASSIGN: "kiteAssign";
290
+ readonly MESSAGING_STATUS: "messagingStatus";
277
291
  readonly MMS: "mms";
278
292
  readonly PICTURE: "picture";
279
293
  readonly PICTURE_COLOR: "pictureColor";