@wildix/stream-client 4.3.0 → 4.4.0

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 (64) hide show
  1. package/dist-cjs/StreamService.js +10 -0
  2. package/dist-cjs/commands/CreateScheduledMessageCommand.js +20 -0
  3. package/dist-cjs/commands/DeleteScheduledMessageCommand.js +20 -0
  4. package/dist-cjs/commands/ListScheduledMessagesCommand.js +20 -0
  5. package/dist-cjs/commands/SendScheduledMessageNowCommand.js +20 -0
  6. package/dist-cjs/commands/UpdateScheduledMessageCommand.js +20 -0
  7. package/dist-cjs/commands/index.js +5 -0
  8. package/dist-cjs/models/enums.js +24 -1
  9. package/dist-cjs/models/errors.js +29 -1
  10. package/dist-cjs/schemas/schemas_0.js +171 -23
  11. package/dist-es/StreamService.js +10 -0
  12. package/dist-es/commands/CreateScheduledMessageCommand.js +16 -0
  13. package/dist-es/commands/DeleteScheduledMessageCommand.js +16 -0
  14. package/dist-es/commands/ListScheduledMessagesCommand.js +16 -0
  15. package/dist-es/commands/SendScheduledMessageNowCommand.js +16 -0
  16. package/dist-es/commands/UpdateScheduledMessageCommand.js +16 -0
  17. package/dist-es/commands/index.js +5 -0
  18. package/dist-es/models/enums.js +23 -0
  19. package/dist-es/models/errors.js +26 -0
  20. package/dist-es/schemas/schemas_0.js +166 -18
  21. package/dist-types/StreamService.d.ts +36 -0
  22. package/dist-types/StreamServiceClient.d.ts +7 -2
  23. package/dist-types/commands/CreateGroupChannelCommand.d.ts +2 -0
  24. package/dist-types/commands/CreateKiteChannelCommand.d.ts +45 -0
  25. package/dist-types/commands/CreateScheduledMessageCommand.d.ts +147 -0
  26. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +22 -0
  27. package/dist-types/commands/DeleteScheduledMessageCommand.d.ts +89 -0
  28. package/dist-types/commands/GetChannelCommand.d.ts +1 -0
  29. package/dist-types/commands/GetInboxCommand.d.ts +1 -0
  30. package/dist-types/commands/GetMessageCommand.d.ts +22 -0
  31. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +1 -0
  32. package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +1 -0
  33. package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +1 -0
  34. package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +1 -0
  35. package/dist-types/commands/JoinChannelCommand.d.ts +1 -0
  36. package/dist-types/commands/ListChannelsCommand.d.ts +1 -0
  37. package/dist-types/commands/ListMentionsCommand.d.ts +22 -0
  38. package/dist-types/commands/ListMessagesCommand.d.ts +22 -0
  39. package/dist-types/commands/ListScheduledMessagesCommand.d.ts +124 -0
  40. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +2 -0
  41. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +44 -0
  42. package/dist-types/commands/PinMessageCommand.d.ts +22 -0
  43. package/dist-types/commands/QueryChannelsCommand.d.ts +1 -0
  44. package/dist-types/commands/SearchChannelsCommand.d.ts +1 -0
  45. package/dist-types/commands/SearchMessagesCommand.d.ts +22 -0
  46. package/dist-types/commands/SendGiphyCommand.d.ts +22 -0
  47. package/dist-types/commands/SendMessageCommand.d.ts +44 -0
  48. package/dist-types/commands/SendMessageReactionCommand.d.ts +22 -0
  49. package/dist-types/commands/SendScheduledMessageNowCommand.d.ts +124 -0
  50. package/dist-types/commands/SendSystemMessageCommand.d.ts +22 -0
  51. package/dist-types/commands/UnpinMessageCommand.d.ts +22 -0
  52. package/dist-types/commands/UpdateChannelCommand.d.ts +2 -0
  53. package/dist-types/commands/UpdateMessageCommand.d.ts +44 -0
  54. package/dist-types/commands/UpdateScheduledMessageCommand.d.ts +146 -0
  55. package/dist-types/commands/index.d.ts +5 -0
  56. package/dist-types/models/enums.d.ts +64 -0
  57. package/dist-types/models/errors.d.ts +27 -0
  58. package/dist-types/models/models_0.d.ts +497 -92
  59. package/dist-types/runtimeConfig.browser.d.ts +3 -3
  60. package/dist-types/runtimeConfig.d.ts +3 -3
  61. package/dist-types/runtimeConfig.native.d.ts +2 -2
  62. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  63. package/dist-types/schemas/schemas_0.d.ts +21 -0
  64. package/package.json +1 -1
@@ -144,6 +144,28 @@ declare const ListMentionsCommand_base: {
144
144
  * // },
145
145
  * // },
146
146
  * // ],
147
+ * // wilma: { // WilmaChatElement
148
+ * // sessionId: "STRING_VALUE", // required
149
+ * // verbosity: "none" || "simple" || "full", // required
150
+ * // turn: Number("int"), // required
151
+ * // startIndex: Number("int"), // required
152
+ * // endIndex: Number("int"),
153
+ * // summary: { // WilmaChatTurnSummary
154
+ * // outcome: "done" || "stopped" || "failed", // required
155
+ * // durationMs: Number("int"),
156
+ * // toolCount: Number("int"), // required
157
+ * // failedCount: Number("int"), // required
158
+ * // },
159
+ * // artifacts: [ // WilmaChatArtifactList
160
+ * // { // WilmaChatArtifact
161
+ * // artifactId: "STRING_VALUE", // required
162
+ * // title: "STRING_VALUE", // required
163
+ * // kind: "STRING_VALUE", // required
164
+ * // size: Number("long"), // required
165
+ * // name: "STRING_VALUE",
166
+ * // },
167
+ * // ],
168
+ * // },
147
169
  * // },
148
170
  * // ],
149
171
  * // whatsapp: true || false,
@@ -138,6 +138,28 @@ declare const ListMessagesCommand_base: {
138
138
  * // },
139
139
  * // },
140
140
  * // ],
141
+ * // wilma: { // WilmaChatElement
142
+ * // sessionId: "STRING_VALUE", // required
143
+ * // verbosity: "none" || "simple" || "full", // required
144
+ * // turn: Number("int"), // required
145
+ * // startIndex: Number("int"), // required
146
+ * // endIndex: Number("int"),
147
+ * // summary: { // WilmaChatTurnSummary
148
+ * // outcome: "done" || "stopped" || "failed", // required
149
+ * // durationMs: Number("int"),
150
+ * // toolCount: Number("int"), // required
151
+ * // failedCount: Number("int"), // required
152
+ * // },
153
+ * // artifacts: [ // WilmaChatArtifactList
154
+ * // { // WilmaChatArtifact
155
+ * // artifactId: "STRING_VALUE", // required
156
+ * // title: "STRING_VALUE", // required
157
+ * // kind: "STRING_VALUE", // required
158
+ * // size: Number("long"), // required
159
+ * // name: "STRING_VALUE",
160
+ * // },
161
+ * // ],
162
+ * // },
141
163
  * // },
142
164
  * // ],
143
165
  * // whatsapp: true || false,
@@ -0,0 +1,124 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListScheduledMessagesInput, ListScheduledMessagesOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListScheduledMessagesCommand}.
14
+ */
15
+ export interface ListScheduledMessagesCommandInput extends ListScheduledMessagesInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListScheduledMessagesCommand}.
21
+ */
22
+ export interface ListScheduledMessagesCommandOutput extends ListScheduledMessagesOutput, __MetadataBearer {
23
+ }
24
+ declare const ListScheduledMessagesCommand_base: {
25
+ new (input: ListScheduledMessagesCommandInput): import("@smithy/core/client").CommandImpl<ListScheduledMessagesCommandInput, ListScheduledMessagesCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListScheduledMessagesCommandInput]): import("@smithy/core/client").CommandImpl<ListScheduledMessagesCommandInput, ListScheduledMessagesCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Returns the current user's scheduled messages: `failed` first, then by `scheduledAt` ascending. Not paginated.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { StreamServiceClient, ListScheduledMessagesCommand } from "@wildix/stream-client"; // ES Modules import
35
+ * // const { StreamServiceClient, ListScheduledMessagesCommand } = require("@wildix/stream-client"); // CommonJS import
36
+ * // import type { StreamServiceClientConfig } from "@wildix/stream-client";
37
+ * const config = {}; // type is StreamServiceClientConfig
38
+ * const client = new StreamServiceClient(config);
39
+ * const input = { // ListScheduledMessagesInput
40
+ * companyId: "STRING_VALUE",
41
+ * userId: "STRING_VALUE",
42
+ * channelId: "STRING_VALUE",
43
+ * };
44
+ * const command = new ListScheduledMessagesCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListScheduledMessagesOutput
47
+ * // requestId: "STRING_VALUE",
48
+ * // requestDuration: Number("int"),
49
+ * // scheduledMessages: [ // ScheduledMessageList // required
50
+ * // { // ScheduledMessage
51
+ * // id: "STRING_VALUE", // required
52
+ * // channelId: "STRING_VALUE", // required
53
+ * // messageId: "STRING_VALUE", // required
54
+ * // text: "STRING_VALUE",
55
+ * // markdown: true || false,
56
+ * // mentions: [ // UserIdList
57
+ * // "STRING_VALUE",
58
+ * // ],
59
+ * // attachments: [ // MessageAttachmentList
60
+ * // { // MessageAttachment
61
+ * // fsId: "STRING_VALUE", // required
62
+ * // mime: "STRING_VALUE",
63
+ * // name: "STRING_VALUE", // required
64
+ * // size: Number("long"), // required
65
+ * // width: Number("int"),
66
+ * // height: Number("int"),
67
+ * // thumbnail: "STRING_VALUE",
68
+ * // id: "STRING_VALUE", // required
69
+ * // },
70
+ * // ],
71
+ * // quote: { // MessageQuote
72
+ * // channelId: "STRING_VALUE", // required
73
+ * // messageId: "STRING_VALUE", // required
74
+ * // userId: "STRING_VALUE", // required
75
+ * // text: "STRING_VALUE",
76
+ * // createdAt: "STRING_VALUE", // required
77
+ * // },
78
+ * // scheduledAt: "STRING_VALUE", // required
79
+ * // status: "scheduled" || "paused" || "sending" || "failed", // required
80
+ * // errorCode: "NOT_A_MEMBER" || "CHANNEL_NOT_FOUND" || "ATTACHMENT_UNAVAILABLE" || "TOO_LATE" || "SEND_FAILED",
81
+ * // createdAt: "STRING_VALUE", // required
82
+ * // updatedAt: "STRING_VALUE", // required
83
+ * // version: Number("int"), // required
84
+ * // },
85
+ * // ],
86
+ * // };
87
+ *
88
+ * ```
89
+ *
90
+ * @param ListScheduledMessagesCommandInput - {@link ListScheduledMessagesCommandInput}
91
+ * @returns {@link ListScheduledMessagesCommandOutput}
92
+ * @see {@link ListScheduledMessagesCommandInput} for command's `input` shape.
93
+ * @see {@link ListScheduledMessagesCommandOutput} for command's `response` shape.
94
+ * @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
95
+ *
96
+ * @throws {@link StreamServiceException} (server fault)
97
+ *
98
+ * @throws {@link UnauthorizedException} (client fault)
99
+ *
100
+ * @throws {@link ForbiddenException} (client fault)
101
+ *
102
+ * @throws {@link ValidationException} (client fault)
103
+ *
104
+ * @throws {@link RateLimitExceededException} (client fault)
105
+ *
106
+ * @throws {@link StreamServiceServiceException}
107
+ * <p>Base exception class for all service exceptions from StreamService service.</p>
108
+ *
109
+ *
110
+ * @public
111
+ */
112
+ export declare class ListScheduledMessagesCommand extends ListScheduledMessagesCommand_base {
113
+ /** @internal type navigation helper, not in runtime. */
114
+ protected static __types: {
115
+ api: {
116
+ input: ListScheduledMessagesInput;
117
+ output: ListScheduledMessagesOutput;
118
+ };
119
+ sdk: {
120
+ input: ListScheduledMessagesCommandInput;
121
+ output: ListScheduledMessagesCommandOutput;
122
+ };
123
+ };
124
+ }
@@ -79,6 +79,7 @@ declare const PartialUpdateChannelCommand_base: {
79
79
  * serviceTitle: "STRING_VALUE",
80
80
  * assigneeId: "STRING_VALUE",
81
81
  * autoRecord: true || false,
82
+ * autoTranscribe: true || false,
82
83
  * transcriptionLanguage: "STRING_VALUE",
83
84
  * wizyGuestViewOnly: true || false,
84
85
  * messagingStatus: "window_closed",
@@ -164,6 +165,7 @@ declare const PartialUpdateChannelCommand_base: {
164
165
  * // serviceTitle: "STRING_VALUE",
165
166
  * // assigneeId: "STRING_VALUE",
166
167
  * // autoRecord: true || false,
168
+ * // autoTranscribe: true || false,
167
169
  * // transcriptionLanguage: "STRING_VALUE",
168
170
  * // wizyGuestViewOnly: true || false,
169
171
  * // messagingStatus: "window_closed",
@@ -76,6 +76,28 @@ declare const PartialUpdateMessageCommand_base: {
76
76
  * },
77
77
  * },
78
78
  * ],
79
+ * wilma: { // WilmaChatElement
80
+ * sessionId: "STRING_VALUE", // required
81
+ * verbosity: "none" || "simple" || "full", // required
82
+ * turn: Number("int"), // required
83
+ * startIndex: Number("int"), // required
84
+ * endIndex: Number("int"),
85
+ * summary: { // WilmaChatTurnSummary
86
+ * outcome: "done" || "stopped" || "failed", // required
87
+ * durationMs: Number("int"),
88
+ * toolCount: Number("int"), // required
89
+ * failedCount: Number("int"), // required
90
+ * },
91
+ * artifacts: [ // WilmaChatArtifactList
92
+ * { // WilmaChatArtifact
93
+ * artifactId: "STRING_VALUE", // required
94
+ * title: "STRING_VALUE", // required
95
+ * kind: "STRING_VALUE", // required
96
+ * size: Number("long"), // required
97
+ * name: "STRING_VALUE",
98
+ * },
99
+ * ],
100
+ * },
79
101
  * },
80
102
  * ],
81
103
  * attachments: [ // MessageAttachmentRequestList
@@ -204,6 +226,28 @@ declare const PartialUpdateMessageCommand_base: {
204
226
  * // },
205
227
  * // },
206
228
  * // ],
229
+ * // wilma: { // WilmaChatElement
230
+ * // sessionId: "STRING_VALUE", // required
231
+ * // verbosity: "none" || "simple" || "full", // required
232
+ * // turn: Number("int"), // required
233
+ * // startIndex: Number("int"), // required
234
+ * // endIndex: Number("int"),
235
+ * // summary: { // WilmaChatTurnSummary
236
+ * // outcome: "done" || "stopped" || "failed", // required
237
+ * // durationMs: Number("int"),
238
+ * // toolCount: Number("int"), // required
239
+ * // failedCount: Number("int"), // required
240
+ * // },
241
+ * // artifacts: [ // WilmaChatArtifactList
242
+ * // { // WilmaChatArtifact
243
+ * // artifactId: "STRING_VALUE", // required
244
+ * // title: "STRING_VALUE", // required
245
+ * // kind: "STRING_VALUE", // required
246
+ * // size: Number("long"), // required
247
+ * // name: "STRING_VALUE",
248
+ * // },
249
+ * // ],
250
+ * // },
207
251
  * // },
208
252
  * // ],
209
253
  * // whatsapp: true || false,
@@ -133,6 +133,28 @@ declare const PinMessageCommand_base: {
133
133
  * // },
134
134
  * // },
135
135
  * // ],
136
+ * // wilma: { // WilmaChatElement
137
+ * // sessionId: "STRING_VALUE", // required
138
+ * // verbosity: "none" || "simple" || "full", // required
139
+ * // turn: Number("int"), // required
140
+ * // startIndex: Number("int"), // required
141
+ * // endIndex: Number("int"),
142
+ * // summary: { // WilmaChatTurnSummary
143
+ * // outcome: "done" || "stopped" || "failed", // required
144
+ * // durationMs: Number("int"),
145
+ * // toolCount: Number("int"), // required
146
+ * // failedCount: Number("int"), // required
147
+ * // },
148
+ * // artifacts: [ // WilmaChatArtifactList
149
+ * // { // WilmaChatArtifact
150
+ * // artifactId: "STRING_VALUE", // required
151
+ * // title: "STRING_VALUE", // required
152
+ * // kind: "STRING_VALUE", // required
153
+ * // size: Number("long"), // required
154
+ * // name: "STRING_VALUE",
155
+ * // },
156
+ * // ],
157
+ * // },
136
158
  * // },
137
159
  * // ],
138
160
  * // whatsapp: true || false,
@@ -121,6 +121,7 @@ declare const QueryChannelsCommand_base: {
121
121
  * // serviceTitle: "STRING_VALUE",
122
122
  * // assigneeId: "STRING_VALUE",
123
123
  * // autoRecord: true || false,
124
+ * // autoTranscribe: true || false,
124
125
  * // transcriptionLanguage: "STRING_VALUE",
125
126
  * // wizyGuestViewOnly: true || false,
126
127
  * // messagingStatus: "window_closed",
@@ -123,6 +123,7 @@ declare const SearchChannelsCommand_base: {
123
123
  * // serviceTitle: "STRING_VALUE",
124
124
  * // assigneeId: "STRING_VALUE",
125
125
  * // autoRecord: true || false,
126
+ * // autoTranscribe: true || false,
126
127
  * // transcriptionLanguage: "STRING_VALUE",
127
128
  * // wizyGuestViewOnly: true || false,
128
129
  * // messagingStatus: "window_closed",
@@ -152,6 +152,28 @@ declare const SearchMessagesCommand_base: {
152
152
  * // },
153
153
  * // },
154
154
  * // ],
155
+ * // wilma: { // WilmaChatElement
156
+ * // sessionId: "STRING_VALUE", // required
157
+ * // verbosity: "none" || "simple" || "full", // required
158
+ * // turn: Number("int"), // required
159
+ * // startIndex: Number("int"), // required
160
+ * // endIndex: Number("int"),
161
+ * // summary: { // WilmaChatTurnSummary
162
+ * // outcome: "done" || "stopped" || "failed", // required
163
+ * // durationMs: Number("int"),
164
+ * // toolCount: Number("int"), // required
165
+ * // failedCount: Number("int"), // required
166
+ * // },
167
+ * // artifacts: [ // WilmaChatArtifactList
168
+ * // { // WilmaChatArtifact
169
+ * // artifactId: "STRING_VALUE", // required
170
+ * // title: "STRING_VALUE", // required
171
+ * // kind: "STRING_VALUE", // required
172
+ * // size: Number("long"), // required
173
+ * // name: "STRING_VALUE",
174
+ * // },
175
+ * // ],
176
+ * // },
155
177
  * // },
156
178
  * // ],
157
179
  * // whatsapp: true || false,
@@ -148,6 +148,28 @@ declare const SendGiphyCommand_base: {
148
148
  * // },
149
149
  * // },
150
150
  * // ],
151
+ * // wilma: { // WilmaChatElement
152
+ * // sessionId: "STRING_VALUE", // required
153
+ * // verbosity: "none" || "simple" || "full", // required
154
+ * // turn: Number("int"), // required
155
+ * // startIndex: Number("int"), // required
156
+ * // endIndex: Number("int"),
157
+ * // summary: { // WilmaChatTurnSummary
158
+ * // outcome: "done" || "stopped" || "failed", // required
159
+ * // durationMs: Number("int"),
160
+ * // toolCount: Number("int"), // required
161
+ * // failedCount: Number("int"), // required
162
+ * // },
163
+ * // artifacts: [ // WilmaChatArtifactList
164
+ * // { // WilmaChatArtifact
165
+ * // artifactId: "STRING_VALUE", // required
166
+ * // title: "STRING_VALUE", // required
167
+ * // kind: "STRING_VALUE", // required
168
+ * // size: Number("long"), // required
169
+ * // name: "STRING_VALUE",
170
+ * // },
171
+ * // ],
172
+ * // },
151
173
  * // },
152
174
  * // ],
153
175
  * // whatsapp: true || false,
@@ -73,6 +73,28 @@ declare const SendMessageCommand_base: {
73
73
  * },
74
74
  * },
75
75
  * ],
76
+ * wilma: { // WilmaChatElement
77
+ * sessionId: "STRING_VALUE", // required
78
+ * verbosity: "none" || "simple" || "full", // required
79
+ * turn: Number("int"), // required
80
+ * startIndex: Number("int"), // required
81
+ * endIndex: Number("int"),
82
+ * summary: { // WilmaChatTurnSummary
83
+ * outcome: "done" || "stopped" || "failed", // required
84
+ * durationMs: Number("int"),
85
+ * toolCount: Number("int"), // required
86
+ * failedCount: Number("int"), // required
87
+ * },
88
+ * artifacts: [ // WilmaChatArtifactList
89
+ * { // WilmaChatArtifact
90
+ * artifactId: "STRING_VALUE", // required
91
+ * title: "STRING_VALUE", // required
92
+ * kind: "STRING_VALUE", // required
93
+ * size: Number("long"), // required
94
+ * name: "STRING_VALUE",
95
+ * },
96
+ * ],
97
+ * },
76
98
  * },
77
99
  * ],
78
100
  * attachments: [ // MessageAttachmentRequestList
@@ -200,6 +222,28 @@ declare const SendMessageCommand_base: {
200
222
  * // },
201
223
  * // },
202
224
  * // ],
225
+ * // wilma: { // WilmaChatElement
226
+ * // sessionId: "STRING_VALUE", // required
227
+ * // verbosity: "none" || "simple" || "full", // required
228
+ * // turn: Number("int"), // required
229
+ * // startIndex: Number("int"), // required
230
+ * // endIndex: Number("int"),
231
+ * // summary: { // WilmaChatTurnSummary
232
+ * // outcome: "done" || "stopped" || "failed", // required
233
+ * // durationMs: Number("int"),
234
+ * // toolCount: Number("int"), // required
235
+ * // failedCount: Number("int"), // required
236
+ * // },
237
+ * // artifacts: [ // WilmaChatArtifactList
238
+ * // { // WilmaChatArtifact
239
+ * // artifactId: "STRING_VALUE", // required
240
+ * // title: "STRING_VALUE", // required
241
+ * // kind: "STRING_VALUE", // required
242
+ * // size: Number("long"), // required
243
+ * // name: "STRING_VALUE",
244
+ * // },
245
+ * // ],
246
+ * // },
203
247
  * // },
204
248
  * // ],
205
249
  * // whatsapp: true || false,
@@ -134,6 +134,28 @@ declare const SendMessageReactionCommand_base: {
134
134
  * // },
135
135
  * // },
136
136
  * // ],
137
+ * // wilma: { // WilmaChatElement
138
+ * // sessionId: "STRING_VALUE", // required
139
+ * // verbosity: "none" || "simple" || "full", // required
140
+ * // turn: Number("int"), // required
141
+ * // startIndex: Number("int"), // required
142
+ * // endIndex: Number("int"),
143
+ * // summary: { // WilmaChatTurnSummary
144
+ * // outcome: "done" || "stopped" || "failed", // required
145
+ * // durationMs: Number("int"),
146
+ * // toolCount: Number("int"), // required
147
+ * // failedCount: Number("int"), // required
148
+ * // },
149
+ * // artifacts: [ // WilmaChatArtifactList
150
+ * // { // WilmaChatArtifact
151
+ * // artifactId: "STRING_VALUE", // required
152
+ * // title: "STRING_VALUE", // required
153
+ * // kind: "STRING_VALUE", // required
154
+ * // size: Number("long"), // required
155
+ * // name: "STRING_VALUE",
156
+ * // },
157
+ * // ],
158
+ * // },
137
159
  * // },
138
160
  * // ],
139
161
  * // whatsapp: true || false,
@@ -0,0 +1,124 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { SendScheduledMessageNowInput, SendScheduledMessageNowOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link SendScheduledMessageNowCommand}.
14
+ */
15
+ export interface SendScheduledMessageNowCommandInput extends SendScheduledMessageNowInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link SendScheduledMessageNowCommand}.
21
+ */
22
+ export interface SendScheduledMessageNowCommandOutput extends SendScheduledMessageNowOutput, __MetadataBearer {
23
+ }
24
+ declare const SendScheduledMessageNowCommand_base: {
25
+ new (input: SendScheduledMessageNowCommandInput): import("@smithy/core/client").CommandImpl<SendScheduledMessageNowCommandInput, SendScheduledMessageNowCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: SendScheduledMessageNowCommandInput): import("@smithy/core/client").CommandImpl<SendScheduledMessageNowCommandInput, SendScheduledMessageNowCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Sends a scheduled message now, from `scheduled`, `paused` or `failed`. Returns the message with status `sending`.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { StreamServiceClient, SendScheduledMessageNowCommand } from "@wildix/stream-client"; // ES Modules import
35
+ * // const { StreamServiceClient, SendScheduledMessageNowCommand } = require("@wildix/stream-client"); // CommonJS import
36
+ * // import type { StreamServiceClientConfig } from "@wildix/stream-client";
37
+ * const config = {}; // type is StreamServiceClientConfig
38
+ * const client = new StreamServiceClient(config);
39
+ * const input = { // SendScheduledMessageNowInput
40
+ * companyId: "STRING_VALUE",
41
+ * userId: "STRING_VALUE",
42
+ * scheduledMessageId: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new SendScheduledMessageNowCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // SendScheduledMessageNowOutput
47
+ * // requestId: "STRING_VALUE",
48
+ * // requestDuration: Number("int"),
49
+ * // scheduledMessage: { // ScheduledMessage
50
+ * // id: "STRING_VALUE", // required
51
+ * // channelId: "STRING_VALUE", // required
52
+ * // messageId: "STRING_VALUE", // required
53
+ * // text: "STRING_VALUE",
54
+ * // markdown: true || false,
55
+ * // mentions: [ // UserIdList
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // attachments: [ // MessageAttachmentList
59
+ * // { // MessageAttachment
60
+ * // fsId: "STRING_VALUE", // required
61
+ * // mime: "STRING_VALUE",
62
+ * // name: "STRING_VALUE", // required
63
+ * // size: Number("long"), // required
64
+ * // width: Number("int"),
65
+ * // height: Number("int"),
66
+ * // thumbnail: "STRING_VALUE",
67
+ * // id: "STRING_VALUE", // required
68
+ * // },
69
+ * // ],
70
+ * // quote: { // MessageQuote
71
+ * // channelId: "STRING_VALUE", // required
72
+ * // messageId: "STRING_VALUE", // required
73
+ * // userId: "STRING_VALUE", // required
74
+ * // text: "STRING_VALUE",
75
+ * // createdAt: "STRING_VALUE", // required
76
+ * // },
77
+ * // scheduledAt: "STRING_VALUE", // required
78
+ * // status: "scheduled" || "paused" || "sending" || "failed", // required
79
+ * // errorCode: "NOT_A_MEMBER" || "CHANNEL_NOT_FOUND" || "ATTACHMENT_UNAVAILABLE" || "TOO_LATE" || "SEND_FAILED",
80
+ * // createdAt: "STRING_VALUE", // required
81
+ * // updatedAt: "STRING_VALUE", // required
82
+ * // version: Number("int"), // required
83
+ * // },
84
+ * // };
85
+ *
86
+ * ```
87
+ *
88
+ * @param SendScheduledMessageNowCommandInput - {@link SendScheduledMessageNowCommandInput}
89
+ * @returns {@link SendScheduledMessageNowCommandOutput}
90
+ * @see {@link SendScheduledMessageNowCommandInput} for command's `input` shape.
91
+ * @see {@link SendScheduledMessageNowCommandOutput} for command's `response` shape.
92
+ * @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
93
+ *
94
+ * @throws {@link ScheduledMessageNotFoundException} (client fault)
95
+ *
96
+ * @throws {@link StreamServiceException} (server fault)
97
+ *
98
+ * @throws {@link UnauthorizedException} (client fault)
99
+ *
100
+ * @throws {@link ForbiddenException} (client fault)
101
+ *
102
+ * @throws {@link ValidationException} (client fault)
103
+ *
104
+ * @throws {@link RateLimitExceededException} (client fault)
105
+ *
106
+ * @throws {@link StreamServiceServiceException}
107
+ * <p>Base exception class for all service exceptions from StreamService service.</p>
108
+ *
109
+ *
110
+ * @public
111
+ */
112
+ export declare class SendScheduledMessageNowCommand extends SendScheduledMessageNowCommand_base {
113
+ /** @internal type navigation helper, not in runtime. */
114
+ protected static __types: {
115
+ api: {
116
+ input: SendScheduledMessageNowInput;
117
+ output: SendScheduledMessageNowOutput;
118
+ };
119
+ sdk: {
120
+ input: SendScheduledMessageNowCommandInput;
121
+ output: SendScheduledMessageNowCommandOutput;
122
+ };
123
+ };
124
+ }
@@ -142,6 +142,28 @@ declare const SendSystemMessageCommand_base: {
142
142
  * // },
143
143
  * // },
144
144
  * // ],
145
+ * // wilma: { // WilmaChatElement
146
+ * // sessionId: "STRING_VALUE", // required
147
+ * // verbosity: "none" || "simple" || "full", // required
148
+ * // turn: Number("int"), // required
149
+ * // startIndex: Number("int"), // required
150
+ * // endIndex: Number("int"),
151
+ * // summary: { // WilmaChatTurnSummary
152
+ * // outcome: "done" || "stopped" || "failed", // required
153
+ * // durationMs: Number("int"),
154
+ * // toolCount: Number("int"), // required
155
+ * // failedCount: Number("int"), // required
156
+ * // },
157
+ * // artifacts: [ // WilmaChatArtifactList
158
+ * // { // WilmaChatArtifact
159
+ * // artifactId: "STRING_VALUE", // required
160
+ * // title: "STRING_VALUE", // required
161
+ * // kind: "STRING_VALUE", // required
162
+ * // size: Number("long"), // required
163
+ * // name: "STRING_VALUE",
164
+ * // },
165
+ * // ],
166
+ * // },
145
167
  * // },
146
168
  * // ],
147
169
  * // whatsapp: true || false,
@@ -133,6 +133,28 @@ declare const UnpinMessageCommand_base: {
133
133
  * // },
134
134
  * // },
135
135
  * // ],
136
+ * // wilma: { // WilmaChatElement
137
+ * // sessionId: "STRING_VALUE", // required
138
+ * // verbosity: "none" || "simple" || "full", // required
139
+ * // turn: Number("int"), // required
140
+ * // startIndex: Number("int"), // required
141
+ * // endIndex: Number("int"),
142
+ * // summary: { // WilmaChatTurnSummary
143
+ * // outcome: "done" || "stopped" || "failed", // required
144
+ * // durationMs: Number("int"),
145
+ * // toolCount: Number("int"), // required
146
+ * // failedCount: Number("int"), // required
147
+ * // },
148
+ * // artifacts: [ // WilmaChatArtifactList
149
+ * // { // WilmaChatArtifact
150
+ * // artifactId: "STRING_VALUE", // required
151
+ * // title: "STRING_VALUE", // required
152
+ * // kind: "STRING_VALUE", // required
153
+ * // size: Number("long"), // required
154
+ * // name: "STRING_VALUE",
155
+ * // },
156
+ * // ],
157
+ * // },
136
158
  * // },
137
159
  * // ],
138
160
  * // whatsapp: true || false,