@wildix/stream-client 4.1.3 → 4.1.5

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 (34) hide show
  1. package/dist-cjs/models/enums.js +10 -1
  2. package/dist-cjs/schemas/schemas_0.js +23 -18
  3. package/dist-es/models/enums.js +9 -0
  4. package/dist-es/schemas/schemas_0.js +23 -18
  5. package/dist-types/commands/CreateGroupChannelCommand.d.ts +9 -0
  6. package/dist-types/commands/CreateKiteChannelCommand.d.ts +5 -0
  7. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +2 -0
  8. package/dist-types/commands/GetChannelCommand.d.ts +5 -0
  9. package/dist-types/commands/GetInboxCommand.d.ts +5 -0
  10. package/dist-types/commands/GetMessageCommand.d.ts +2 -0
  11. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +5 -0
  12. package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +5 -0
  13. package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +5 -0
  14. package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +5 -0
  15. package/dist-types/commands/JoinChannelCommand.d.ts +5 -0
  16. package/dist-types/commands/ListChannelsCommand.d.ts +5 -0
  17. package/dist-types/commands/ListMentionsCommand.d.ts +3 -0
  18. package/dist-types/commands/ListMessagesCommand.d.ts +2 -0
  19. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +9 -0
  20. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +2 -0
  21. package/dist-types/commands/PinMessageCommand.d.ts +2 -0
  22. package/dist-types/commands/QueryChannelsCommand.d.ts +5 -0
  23. package/dist-types/commands/SearchChannelsCommand.d.ts +5 -0
  24. package/dist-types/commands/SearchMessagesCommand.d.ts +2 -0
  25. package/dist-types/commands/SendGiphyCommand.d.ts +2 -0
  26. package/dist-types/commands/SendMessageCommand.d.ts +2 -0
  27. package/dist-types/commands/SendMessageReactionCommand.d.ts +2 -0
  28. package/dist-types/commands/SendSystemMessageCommand.d.ts +2 -0
  29. package/dist-types/commands/UnpinMessageCommand.d.ts +2 -0
  30. package/dist-types/commands/UpdateChannelCommand.d.ts +9 -0
  31. package/dist-types/commands/UpdateMessageCommand.d.ts +2 -0
  32. package/dist-types/models/enums.d.ts +25 -0
  33. package/dist-types/models/models_0.d.ts +338 -1
  34. package/package.json +1 -1
@@ -167,6 +167,8 @@ declare const SearchMessagesCommand_base: {
167
167
  * // silent: true || false,
168
168
  * // event: "STRING_VALUE",
169
169
  * // pollId: "STRING_VALUE",
170
+ * // messenger: true || false,
171
+ * // messengerStatus: "trying" || "sent" || "error" || "delivered",
170
172
  * // },
171
173
  * // highlights: [ // StringList
172
174
  * // "STRING_VALUE",
@@ -165,6 +165,8 @@ declare const SendGiphyCommand_base: {
165
165
  * // silent: true || false,
166
166
  * // event: "STRING_VALUE",
167
167
  * // pollId: "STRING_VALUE",
168
+ * // messenger: true || false,
169
+ * // messengerStatus: "trying" || "sent" || "error" || "delivered",
168
170
  * // },
169
171
  * // };
170
172
  *
@@ -215,6 +215,8 @@ declare const SendMessageCommand_base: {
215
215
  * // silent: true || false,
216
216
  * // event: "STRING_VALUE",
217
217
  * // pollId: "STRING_VALUE",
218
+ * // messenger: true || false,
219
+ * // messengerStatus: "trying" || "sent" || "error" || "delivered",
218
220
  * // },
219
221
  * // };
220
222
  *
@@ -151,6 +151,8 @@ declare const SendMessageReactionCommand_base: {
151
151
  * // silent: true || false,
152
152
  * // event: "STRING_VALUE",
153
153
  * // pollId: "STRING_VALUE",
154
+ * // messenger: true || false,
155
+ * // messengerStatus: "trying" || "sent" || "error" || "delivered",
154
156
  * // },
155
157
  * // };
156
158
  *
@@ -159,6 +159,8 @@ declare const SendSystemMessageCommand_base: {
159
159
  * // silent: true || false,
160
160
  * // event: "STRING_VALUE",
161
161
  * // pollId: "STRING_VALUE",
162
+ * // messenger: true || false,
163
+ * // messengerStatus: "trying" || "sent" || "error" || "delivered",
162
164
  * // },
163
165
  * // };
164
166
  *
@@ -150,6 +150,8 @@ declare const UnpinMessageCommand_base: {
150
150
  * // silent: true || false,
151
151
  * // event: "STRING_VALUE",
152
152
  * // pollId: "STRING_VALUE",
153
+ * // messenger: true || false,
154
+ * // messengerStatus: "trying" || "sent" || "error" || "delivered",
153
155
  * // },
154
156
  * // };
155
157
  *
@@ -78,6 +78,10 @@ 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
85
  * channelId: "STRING_VALUE", // required
82
86
  * silent: true || false,
83
87
  * };
@@ -115,6 +119,7 @@ declare const UpdateChannelCommand_base: {
115
119
  * // pinnedMessageIds: [ // PinnedMessageIdList
116
120
  * // "STRING_VALUE",
117
121
  * // ],
122
+ * // peerId: "STRING_VALUE",
118
123
  * // subject: "STRING_VALUE",
119
124
  * // description: "STRING_VALUE",
120
125
  * // picture: "STRING_VALUE",
@@ -154,6 +159,10 @@ declare const UpdateChannelCommand_base: {
154
159
  * // autoRecord: true || false,
155
160
  * // transcriptionLanguage: "STRING_VALUE",
156
161
  * // wizyGuestViewOnly: true || false,
162
+ * // messenger: true || false,
163
+ * // messengerStatus: "window_closed",
164
+ * // messengerPageId: "STRING_VALUE",
165
+ * // messengerReplyUntil: Number("long"),
157
166
  * // },
158
167
  * // };
159
168
  *
@@ -214,6 +214,8 @@ declare const UpdateMessageCommand_base: {
214
214
  * // silent: true || false,
215
215
  * // event: "STRING_VALUE",
216
216
  * // pollId: "STRING_VALUE",
217
+ * // messenger: true || false,
218
+ * // messengerStatus: "trying" || "sent" || "error" || "delivered",
217
219
  * // },
218
220
  * // };
219
221
  *
@@ -112,6 +112,17 @@ export declare const MessageType: {
112
112
  * @public
113
113
  */
114
114
  export type MessageType = (typeof MessageType)[keyof typeof MessageType];
115
+ /**
116
+ * @public
117
+ * @enum
118
+ */
119
+ export declare const ChannelMessengerStatus: {
120
+ readonly WINDOW_CLOSED: "window_closed";
121
+ };
122
+ /**
123
+ * @public
124
+ */
125
+ export type ChannelMessengerStatus = (typeof ChannelMessengerStatus)[keyof typeof ChannelMessengerStatus];
115
126
  /**
116
127
  * @public
117
128
  * @enum
@@ -210,6 +221,20 @@ export declare const SectionType: {
210
221
  * @public
211
222
  */
212
223
  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];
213
238
  export declare enum DownloadStrategy {
214
239
  DEFAULT = 0,
215
240
  DOWNLOAD = 1