@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
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { SendScheduledMessageNow$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class SendScheduledMessageNowCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("StreamService", "SendScheduledMessageNow", {})
13
+ .n("StreamServiceClient", "SendScheduledMessageNowCommand")
14
+ .sc(SendScheduledMessageNow$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UpdateScheduledMessage$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UpdateScheduledMessageCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("StreamService", "UpdateScheduledMessage", {})
13
+ .n("StreamServiceClient", "UpdateScheduledMessageCommand")
14
+ .sc(UpdateScheduledMessage$)
15
+ .build() {
16
+ }
@@ -3,11 +3,13 @@ export * from "./AddChannelMembersCommand";
3
3
  export * from "./AssignChannelCommand";
4
4
  export * from "./CreateGroupChannelCommand";
5
5
  export * from "./CreateKiteChannelCommand";
6
+ export * from "./CreateScheduledMessageCommand";
6
7
  export * from "./CreateSectionCommand";
7
8
  export * from "./DeleteChannelCommand";
8
9
  export * from "./DeleteChannelMemberCommand";
9
10
  export * from "./DeleteMessageCommand";
10
11
  export * from "./DeleteMessageReactionCommand";
12
+ export * from "./DeleteScheduledMessageCommand";
11
13
  export * from "./DeleteSectionCommand";
12
14
  export * from "./GetChannelCommand";
13
15
  export * from "./GetChannelMemberCommand";
@@ -32,6 +34,7 @@ export * from "./ListChannelMembersReadStatusCommand";
32
34
  export * from "./ListChannelsCommand";
33
35
  export * from "./ListMentionsCommand";
34
36
  export * from "./ListMessagesCommand";
37
+ export * from "./ListScheduledMessagesCommand";
35
38
  export * from "./MarkReadCommand";
36
39
  export * from "./MarkUnreadCommand";
37
40
  export * from "./MoveChannelToSectionCommand";
@@ -50,6 +53,7 @@ export * from "./SearchUsersCommand";
50
53
  export * from "./SendGiphyCommand";
51
54
  export * from "./SendMessageCommand";
52
55
  export * from "./SendMessageReactionCommand";
56
+ export * from "./SendScheduledMessageNowCommand";
53
57
  export * from "./SendSystemMessageCommand";
54
58
  export * from "./SendTypingStartCommand";
55
59
  export * from "./SendTypingStopCommand";
@@ -59,4 +63,5 @@ export * from "./UnpinChannelCommand";
59
63
  export * from "./UnpinMessageCommand";
60
64
  export * from "./UpdateChannelCommand";
61
65
  export * from "./UpdateMessageCommand";
66
+ export * from "./UpdateScheduledMessageCommand";
62
67
  export * from "./UploadFileCommand";
@@ -59,6 +59,16 @@ export const GroupChannelCreationEventType = {
59
59
  CONVERSATION_CREATED: "conversation_created",
60
60
  CONVERSATION_CREATED_WITH_NAME: "conversation_created_with_name",
61
61
  };
62
+ export const WilmaChatTurnOutcome = {
63
+ DONE: "done",
64
+ FAILED: "failed",
65
+ STOPPED: "stopped",
66
+ };
67
+ export const ChatVerbosity = {
68
+ FULL: "full",
69
+ NONE: "none",
70
+ SIMPLE: "simple",
71
+ };
62
72
  export const MessageMessagingStatus = {
63
73
  DELIVERED: "delivered",
64
74
  ERROR: "error",
@@ -80,6 +90,19 @@ export const MessageWhatsAppStatus = {
80
90
  export const TargetNotEligibleReason = {
81
91
  NO_LICENSE: "no_license",
82
92
  };
93
+ export const ScheduledMessageErrorCode = {
94
+ ATTACHMENT_UNAVAILABLE: "ATTACHMENT_UNAVAILABLE",
95
+ CHANNEL_NOT_FOUND: "CHANNEL_NOT_FOUND",
96
+ NOT_A_MEMBER: "NOT_A_MEMBER",
97
+ SEND_FAILED: "SEND_FAILED",
98
+ TOO_LATE: "TOO_LATE",
99
+ };
100
+ export const ScheduledMessageStatus = {
101
+ FAILED: "failed",
102
+ PAUSED: "paused",
103
+ SCHEDULED: "scheduled",
104
+ SENDING: "sending",
105
+ };
83
106
  export const SectionType = {
84
107
  CUSTOM: "custom",
85
108
  SYSTEM: "system",
@@ -129,6 +129,20 @@ export class TargetNotFoundException extends __BaseException {
129
129
  Object.setPrototypeOf(this, TargetNotFoundException.prototype);
130
130
  }
131
131
  }
132
+ export class ScheduledMessageLimitExceededException extends __BaseException {
133
+ name = "ScheduledMessageLimitExceededException";
134
+ $fault = "client";
135
+ limit;
136
+ constructor(opts) {
137
+ super({
138
+ name: "ScheduledMessageLimitExceededException",
139
+ $fault: "client",
140
+ ...opts,
141
+ });
142
+ Object.setPrototypeOf(this, ScheduledMessageLimitExceededException.prototype);
143
+ this.limit = opts.limit;
144
+ }
145
+ }
132
146
  export class MemberNotFoundException extends __BaseException {
133
147
  name = "MemberNotFoundException";
134
148
  $fault = "client";
@@ -153,6 +167,18 @@ export class MessageNotFoundException extends __BaseException {
153
167
  Object.setPrototypeOf(this, MessageNotFoundException.prototype);
154
168
  }
155
169
  }
170
+ export class ScheduledMessageNotFoundException extends __BaseException {
171
+ name = "ScheduledMessageNotFoundException";
172
+ $fault = "client";
173
+ constructor(opts) {
174
+ super({
175
+ name: "ScheduledMessageNotFoundException",
176
+ $fault: "client",
177
+ ...opts,
178
+ });
179
+ Object.setPrototypeOf(this, ScheduledMessageNotFoundException.prototype);
180
+ }
181
+ }
156
182
  export class SectionNotFoundException extends __BaseException {
157
183
  name = "SectionNotFoundException";
158
184
  $fault = "client";
@@ -38,6 +38,9 @@ const _CNFE = "ChannelNotFoundException";
38
38
  const _CQ = "ChannelsQuery";
39
39
  const _CS = "CreateSection";
40
40
  const _CSI = "CreateSectionInput";
41
+ const _CSM = "CreateScheduledMessage";
42
+ const _CSMI = "CreateScheduledMessageInput";
43
+ const _CSMO = "CreateScheduledMessageOutput";
41
44
  const _CSO = "CreateSectionOutput";
42
45
  const _DC = "DeleteChannel";
43
46
  const _DCI = "DeleteChannelInput";
@@ -52,6 +55,9 @@ const _DMRI = "DeleteMessageReactionInput";
52
55
  const _DMRO = "DeleteMessageReactionOutput";
53
56
  const _DS = "DeleteSection";
54
57
  const _DSI = "DeleteSectionInput";
58
+ const _DSM = "DeleteScheduledMessage";
59
+ const _DSMI = "DeleteScheduledMessageInput";
60
+ const _DSMO = "DeleteScheduledMessageOutput";
55
61
  const _DSO = "DeleteSectionOutput";
56
62
  const _E = "Element";
57
63
  const _EL = "ElementsList";
@@ -130,6 +136,9 @@ const _LMO = "ListMentionsOutput";
130
136
  const _LMOi = "ListMessagesOutput";
131
137
  const _LMP = "LastMessagePreview";
132
138
  const _LMi = "ListMessages";
139
+ const _LSM = "ListScheduledMessages";
140
+ const _LSMI = "ListScheduledMessagesInput";
141
+ const _LSMO = "ListScheduledMessagesOutput";
133
142
  const _LTP = "ListTemplateParameter";
134
143
  const _M = "Message";
135
144
  const _MA = "MessageAttachment";
@@ -206,11 +215,14 @@ const _SG = "SendGiphy";
206
215
  const _SGI = "SendGiphyInput";
207
216
  const _SGO = "SendGiphyOutput";
208
217
  const _SL = "SectionList";
209
- const _SM = "SystemMessage";
218
+ const _SM = "ScheduledMessage";
210
219
  const _SMH = "SearchMessageHit";
211
220
  const _SMHL = "SearchMessageHitList";
212
221
  const _SMI = "SearchMessagesInput";
213
222
  const _SMIe = "SendMessageInput";
223
+ const _SML = "ScheduledMessageList";
224
+ const _SMLEE = "ScheduledMessageLimitExceededException";
225
+ const _SMNFE = "ScheduledMessageNotFoundException";
214
226
  const _SMO = "SearchMessagesOutput";
215
227
  const _SMOe = "SendMessageOutput";
216
228
  const _SMR = "SendMessageReaction";
@@ -218,10 +230,14 @@ const _SMRI = "SendMessageReactionInput";
218
230
  const _SMRO = "SendMessageReactionOutput";
219
231
  const _SMe = "SearchMessages";
220
232
  const _SMen = "SendMessage";
233
+ const _SMy = "SystemMessage";
221
234
  const _SNFE = "SectionNotFoundException";
222
235
  const _SSE = "StreamServiceException";
223
236
  const _SSM = "SendSystemMessage";
224
237
  const _SSMI = "SendSystemMessageInput";
238
+ const _SSMN = "SendScheduledMessageNow";
239
+ const _SSMNI = "SendScheduledMessageNowInput";
240
+ const _SSMNO = "SendScheduledMessageNowOutput";
225
241
  const _SSMO = "SendSystemMessageOutput";
226
242
  const _STS = "SendTypingStart";
227
243
  const _STSI = "SendTypingStartInput";
@@ -262,10 +278,17 @@ const _UMO = "UnpinMessageOutput";
262
278
  const _UMOp = "UpdateMessageOutput";
263
279
  const _UMp = "UpdateMessage";
264
280
  const _UQ = "UsersQuery";
281
+ const _USM = "UpdateScheduledMessage";
282
+ const _USMI = "UpdateScheduledMessageInput";
283
+ const _USMO = "UpdateScheduledMessageOutput";
265
284
  const _UTI = "UserToInvite";
266
285
  const _UTIL = "UserToInviteList";
267
286
  const _VE = "ValidationException";
268
287
  const _WACSM = "WhatsAppClosedSystemMessage";
288
+ const _WCA = "WilmaChatArtifact";
289
+ const _WCAL = "WilmaChatArtifactList";
290
+ const _WCE = "WilmaChatElement";
291
+ const _WCTS = "WilmaChatTurnSummary";
269
292
  const _WM = "WelcomeMessage";
270
293
  const _WML = "WelcomeMessageList";
271
294
  const _XRD = "X-Request-Duration";
@@ -275,13 +298,16 @@ const _XRR = "X-RateLimit-Remaining";
275
298
  const _XRR_ = "X-RateLimit-Reset";
276
299
  const _a = "assignee";
277
300
  const _aI = "assigneeId";
301
+ const _aIr = "artifactId";
278
302
  const _aM = "addedMembers";
279
303
  const _aR = "autoRecord";
280
- const _aT = "attachmentTypes";
304
+ const _aT = "autoTranscribe";
305
+ const _aTt = "attachmentTypes";
281
306
  const _ac = "access";
282
307
  const _act = "action";
283
308
  const _acti = "actions";
284
309
  const _an = "anchor";
310
+ const _ar = "artifacts";
285
311
  const _at = "attendees";
286
312
  const _att = "attachments";
287
313
  const _b = "broadcast";
@@ -308,11 +334,14 @@ const _cu = "cursor";
308
334
  const _d = "disabled";
309
335
  const _dA = "deletedAt";
310
336
  const _dAe = "deactivatedAt";
337
+ const _dM = "durationMs";
311
338
  const _dN = "displayName";
312
339
  const _de = "description";
313
340
  const _do = "download";
314
341
  const _e = "error";
315
342
  const _eA = "editedAt";
343
+ const _eC = "errorCode";
344
+ const _eI = "endIndex";
316
345
  const _el = "elements";
317
346
  const _em = "email";
318
347
  const _ema = "emails";
@@ -321,6 +350,7 @@ const _ev = "events";
321
350
  const _eve = "event";
322
351
  const _ex = "external";
323
352
  const _f = "file";
353
+ const _fC = "failedCount";
324
354
  const _fI = "fsId";
325
355
  const _fUVS = "firstUnreadVisibleSeq";
326
356
  const _fi = "filter";
@@ -397,6 +427,7 @@ const _o = "owner";
397
427
  const _of = "offset";
398
428
  const _op = "options";
399
429
  const _ou = "outgoing";
430
+ const _out = "outcome";
400
431
  const _p = "parameters";
401
432
  const _pA = "pinnedAt";
402
433
  const _pB = "pinnedBy";
@@ -407,6 +438,7 @@ const _pI = "peerId";
407
438
  const _pIo = "pollId";
408
439
  const _pMI = "pinnedMessageIds";
409
440
  const _pUU = "presignedUploadUrl";
441
+ const _pa = "paused";
410
442
  const _ph = "phone";
411
443
  const _pho = "phones";
412
444
  const _pi = "picture";
@@ -432,9 +464,15 @@ const _rep = "reply";
432
464
  const _res = "results";
433
465
  const _ro = "role";
434
466
  const _s = "smithy.ts.sdk.synthetic.wildix.stream";
467
+ const _sA = "scheduledAt";
435
468
  const _sI = "sectionId";
436
469
  const _sIe = "sectionIds";
437
470
  const _sIen = "senderIds";
471
+ const _sIes = "sessionId";
472
+ const _sIt = "startIndex";
473
+ const _sM = "scheduledMessage";
474
+ const _sMI = "scheduledMessageId";
475
+ const _sMc = "scheduledMessages";
438
476
  const _sR = "serviceRecipient";
439
477
  const _sS = "smsStatus";
440
478
  const _sT = "serviceTitle";
@@ -456,6 +494,7 @@ const _sum = "summary";
456
494
  const _sy = "system";
457
495
  const _t = "text";
458
496
  const _tC = "totalCount";
497
+ const _tCo = "toolCount";
459
498
  const _tI = "targetId";
460
499
  const _tL = "transcriptionLanguage";
461
500
  const _tRI = "targetRouteId";
@@ -465,7 +504,9 @@ const _ta = "target";
465
504
  const _te = "telephony";
466
505
  const _tem = "template";
467
506
  const _th = "thumbnail";
507
+ const _ti = "title";
468
508
  const _to = "to";
509
+ const _tu = "turn";
469
510
  const _ty = "type";
470
511
  const _u = "url";
471
512
  const _uA = "updatedAt";
@@ -483,6 +524,8 @@ const _use = "user";
483
524
  const _v = "value";
484
525
  const _vS = "visibleSeq";
485
526
  const _va = "variant";
527
+ const _ve = "version";
528
+ const _ver = "verbosity";
486
529
  const _w = "whatsapp";
487
530
  const _wAC = "whatsAppClosed";
488
531
  const _wEO = "withExtensionOnly";
@@ -490,12 +533,14 @@ const _wGVO = "wizyGuestViewOnly";
490
533
  const _wM = "welcomeMessages";
491
534
  const _wS = "whatsappStatus";
492
535
  const _wi = "width";
536
+ const _wil = "wilma";
493
537
  const n0 = "smithy.framework";
494
538
  const n1 = "wildix.stream";
495
539
  const n2 = "wildix.xbees.kite";
496
540
  const n3 = "wildix.classound";
541
+ const n4 = "wildix.wilma.chat";
497
542
  import { TypeRegistry } from "@smithy/core/schema";
498
- import { ChannelAlreadyExistException, ChannelNotFoundException, FileNotFoundException, ForbiddenException, MarkUnreadChannelsLimitReachedException, MemberAlreadyExistException, MemberNotFoundException, MessageNotFoundException, RateLimitExceededException, SectionNotFoundException, StreamServiceException, TargetNotEligibleException, TargetNotFoundException, UnauthorizedException, ValidationException, } from "../models/errors";
543
+ import { ChannelAlreadyExistException, ChannelNotFoundException, FileNotFoundException, ForbiddenException, MarkUnreadChannelsLimitReachedException, MemberAlreadyExistException, MemberNotFoundException, MessageNotFoundException, RateLimitExceededException, ScheduledMessageLimitExceededException, ScheduledMessageNotFoundException, SectionNotFoundException, StreamServiceException, TargetNotEligibleException, TargetNotFoundException, UnauthorizedException, ValidationException, } from "../models/errors";
499
544
  import { StreamServiceServiceException } from "../models/StreamServiceServiceException";
500
545
  const _s_registry = TypeRegistry.for(_s);
501
546
  export var StreamServiceServiceException$ = [-3, _s, "StreamServiceServiceException", 0, [], []];
@@ -569,6 +614,18 @@ export var MessageNotFoundException$ = [-3, n1, _MNFEe,
569
614
  [0], 1
570
615
  ];
571
616
  n1_registry.registerError(MessageNotFoundException$, MessageNotFoundException);
617
+ export var ScheduledMessageLimitExceededException$ = [-3, n1, _SMLEE,
618
+ { [_e]: _c, [_hE]: 409 },
619
+ [_m, _l],
620
+ [0, 1], 2
621
+ ];
622
+ n1_registry.registerError(ScheduledMessageLimitExceededException$, ScheduledMessageLimitExceededException);
623
+ export var ScheduledMessageNotFoundException$ = [-3, n1, _SMNFE,
624
+ { [_e]: _c, [_hE]: 404 },
625
+ [_m],
626
+ [0], 1
627
+ ];
628
+ n1_registry.registerError(ScheduledMessageNotFoundException$, ScheduledMessageNotFoundException);
572
629
  export var SectionNotFoundException$ = [-3, n1, _SNFE,
573
630
  { [_e]: _c, [_hE]: 404 },
574
631
  [_m],
@@ -662,8 +719,8 @@ export var ButtonReplyHandler$ = [3, n1, _BRH,
662
719
  ];
663
720
  export var Channel$ = [3, n1, _C,
664
721
  0,
665
- [_cI, _cT, _mC, _cA, _cB, _cV, _lAA, _uA, _lM, _co, _k, _kT, _kV, _kSN, _kDS, _ser, _sR, _te, _mCe, _ex, _pMI, _pI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO, _mS, _mSI, _mRU],
666
- [0, 0, 1, 0, 0, 1, 0, 0, () => LastMessagePreview$, 0, 2, 0, 0, 0, 0, 0, 0, 2, 0, 2, 64 | 0, 0, 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2, 0, 0, 1], 7
722
+ [_cI, _cT, _mC, _cA, _cB, _cV, _lAA, _uA, _lM, _co, _k, _kT, _kV, _kSN, _kDS, _ser, _sR, _te, _mCe, _ex, _pMI, _pI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _aT, _tL, _wGVO, _mS, _mSI, _mRU],
723
+ [0, 0, 1, 0, 0, 1, 0, 0, () => LastMessagePreview$, 0, 2, 0, 0, 0, 0, 0, 0, 2, 0, 2, 64 | 0, 0, 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 2, 0, 2, 0, 0, 1], 7
667
724
  ];
668
725
  export var ChannelContext$ = [3, n1, _CC,
669
726
  0,
@@ -702,8 +759,8 @@ export var ChannelsQuery$ = [3, n1, _CQ,
702
759
  ];
703
760
  export var CreateGroupChannelInput$ = [3, n1, _CGCI,
704
761
  0,
705
- [_cIo, _uI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO, _mS, _mSI, _mRU, _cI, _mem, _mTIe, _cET],
706
- [[0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2, 0, 0, 1, 0, 64 | 0, () => UserToInviteList, 0]
762
+ [_cIo, _uI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _aT, _tL, _wGVO, _mS, _mSI, _mRU, _cI, _mem, _mTIe, _cET],
763
+ [[0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 2, 0, 2, 0, 0, 1, 0, 64 | 0, () => UserToInviteList, 0]
707
764
  ];
708
765
  export var CreateGroupChannelOutput$ = [3, n1, _CGCO,
709
766
  0,
@@ -720,6 +777,16 @@ export var CreateKiteChannelOutput$ = [3, n1, _CKCO,
720
777
  [_ch, _rI, _rD],
721
778
  [() => Channel$, [0, { [_hH]: _XRI }], [1, { [_hH]: _XRD }]], 1
722
779
  ];
780
+ export var CreateScheduledMessageInput$ = [3, n1, _CSMI,
781
+ 0,
782
+ [_cI, _sA, _cIo, _uI, _t, _ma, _men, _att, _q],
783
+ [[0, 1], 0, [0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], 0, 2, 64 | 0, () => MessageAttachmentRequestList, () => MessageQuoteRef$], 2
784
+ ];
785
+ export var CreateScheduledMessageOutput$ = [3, n1, _CSMO,
786
+ 0,
787
+ [_sM, _rI, _rD],
788
+ [() => ScheduledMessage$, [0, { [_hH]: _XRI }], [1, { [_hH]: _XRD }]], 1
789
+ ];
723
790
  export var CreateSectionInput$ = [3, n1, _CSI,
724
791
  0,
725
792
  [_sI, _n, _cIo, _uI],
@@ -765,6 +832,16 @@ export var DeleteMessageReactionOutput$ = [3, n1, _DMRO,
765
832
  [_m, _rI, _rD],
766
833
  [() => Message$, [0, { [_hH]: _XRI }], [1, { [_hH]: _XRD }]], 1
767
834
  ];
835
+ export var DeleteScheduledMessageInput$ = [3, n1, _DSMI,
836
+ 0,
837
+ [_sMI, _cIo, _uI],
838
+ [[0, 1], [0, { [_hQ]: _co }], [0, { [_hQ]: _uI }]], 1
839
+ ];
840
+ export var DeleteScheduledMessageOutput$ = [3, n1, _DSMO,
841
+ 0,
842
+ [_rI, _rD],
843
+ [[0, { [_hH]: _XRI }], [1, { [_hH]: _XRD }]]
844
+ ];
768
845
  export var DeleteSectionInput$ = [3, n1, _DSI,
769
846
  0,
770
847
  [_sI, _cIo, _uI],
@@ -932,8 +1009,8 @@ export var HideChannelOutput$ = [3, n1, _HCO,
932
1009
  ];
933
1010
  export var InboxChannel$ = [3, n1, _IC,
934
1011
  0,
935
- [_cI, _cT, _mC, _cA, _cB, _cV, _lAA, _in, _uA, _lM, _co, _k, _kT, _kV, _kSN, _kDS, _ser, _sR, _te, _mCe, _ex, _pMI, _pI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO, _mS, _mSI, _mRU],
936
- [0, 0, 1, 0, 0, 1, 0, () => InboxState$, 0, () => LastMessagePreview$, 0, 2, 0, 0, 0, 0, 0, 0, 2, 0, 2, 64 | 0, 0, 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2, 0, 0, 1], 8
1012
+ [_cI, _cT, _mC, _cA, _cB, _cV, _lAA, _in, _uA, _lM, _co, _k, _kT, _kV, _kSN, _kDS, _ser, _sR, _te, _mCe, _ex, _pMI, _pI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _aT, _tL, _wGVO, _mS, _mSI, _mRU],
1013
+ [0, 0, 1, 0, 0, 1, 0, () => InboxState$, 0, () => LastMessagePreview$, 0, 2, 0, 0, 0, 0, 0, 0, 2, 0, 2, 64 | 0, 0, 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 2, 0, 2, 0, 0, 1], 8
937
1014
  ];
938
1015
  export var InboxState$ = [3, n1, _IS,
939
1016
  0,
@@ -1020,6 +1097,16 @@ export var ListMessagesOutput$ = [3, n1, _LMOi,
1020
1097
  [_mes, _rI, _rD, _fUVS],
1021
1098
  [() => MessageList, [0, { [_hH]: _XRI }], [1, { [_hH]: _XRD }], 1], 1
1022
1099
  ];
1100
+ export var ListScheduledMessagesInput$ = [3, n1, _LSMI,
1101
+ 0,
1102
+ [_cIo, _uI, _cI],
1103
+ [[0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], [0, { [_hQ]: _cI }]]
1104
+ ];
1105
+ export var ListScheduledMessagesOutput$ = [3, n1, _LSMO,
1106
+ 0,
1107
+ [_sMc, _rI, _rD],
1108
+ [() => ScheduledMessageList, [0, { [_hH]: _XRI }], [1, { [_hH]: _XRD }]], 1
1109
+ ];
1023
1110
  export var MarkReadInput$ = [3, n1, _MRI,
1024
1111
  0,
1025
1112
  [_cI, _cIo, _uI, _lRVS, _mIe],
@@ -1132,8 +1219,8 @@ export var PartialUpdateChannelOutput$ = [3, n1, _PUCO,
1132
1219
  ];
1133
1220
  export var PartialUpdateChannelSetOptions$ = [3, n1, _PUCSO,
1134
1221
  0,
1135
- [_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO, _mS, _mSI, _mRU],
1136
- [0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2, 0, 0, 1]
1222
+ [_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _aT, _tL, _wGVO, _mS, _mSI, _mRU],
1223
+ [0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 2, 0, 2, 0, 0, 1]
1137
1224
  ];
1138
1225
  export var PartialUpdateMessageInput$ = [3, n1, _PUMI,
1139
1226
  0,
@@ -1215,6 +1302,11 @@ export var RenameSectionOutput$ = [3, n1, _RSO,
1215
1302
  [_sec, _rI, _rD],
1216
1303
  [() => Section$, [0, { [_hH]: _XRI }], [1, { [_hH]: _XRD }]], 1
1217
1304
  ];
1305
+ export var ScheduledMessage$ = [3, n1, _SM,
1306
+ 0,
1307
+ [_i, _cI, _mIe, _sA, _sta, _cA, _uA, _ve, _t, _ma, _men, _att, _q, _eC],
1308
+ [0, 0, 0, 0, 0, 0, 0, 1, 0, 2, 64 | 0, () => MessageAttachmentList, () => MessageQuote$, 0], 8
1309
+ ];
1218
1310
  export var SearchChannelHit$ = [3, n1, _SCH,
1219
1311
  0,
1220
1312
  [_ch, _hig],
@@ -1237,8 +1329,8 @@ export var SearchMessageHit$ = [3, n1, _SMH,
1237
1329
  ];
1238
1330
  export var SearchMessagesInput$ = [3, n1, _SMI,
1239
1331
  0,
1240
- [_cIo, _uI, _q_, _cI, _hA, _aT, _mTi, _hL, _sIen, _siz, _cu, _sor],
1241
- [[0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], [0, { [_hQ]: _q_ }], [0, { [_hQ]: _cI }], [2, { [_hQ]: _hA }], [64 | 0, { [_hQ]: _aT }], [64 | 0, { [_hQ]: _mTi }], [2, { [_hQ]: _hL }], [64 | 0, { [_hQ]: _sIen }], [1, { [_hQ]: _siz }], [0, { [_hQ]: _cu }], [0, { [_hQ]: _sor }]]
1332
+ [_cIo, _uI, _q_, _cI, _hA, _aTt, _mTi, _hL, _sIen, _siz, _cu, _sor],
1333
+ [[0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], [0, { [_hQ]: _q_ }], [0, { [_hQ]: _cI }], [2, { [_hQ]: _hA }], [64 | 0, { [_hQ]: _aTt }], [64 | 0, { [_hQ]: _mTi }], [2, { [_hQ]: _hL }], [64 | 0, { [_hQ]: _sIen }], [1, { [_hQ]: _siz }], [0, { [_hQ]: _cu }], [0, { [_hQ]: _sor }]]
1242
1334
  ];
1243
1335
  export var SearchMessagesOutput$ = [3, n1, _SMO,
1244
1336
  0,
@@ -1295,6 +1387,16 @@ export var SendMessageReactionOutput$ = [3, n1, _SMRO,
1295
1387
  [_m, _rI, _rD],
1296
1388
  [() => Message$, [0, { [_hH]: _XRI }], [1, { [_hH]: _XRD }]], 1
1297
1389
  ];
1390
+ export var SendScheduledMessageNowInput$ = [3, n1, _SSMNI,
1391
+ 0,
1392
+ [_sMI, _cIo, _uI],
1393
+ [[0, 1], [0, { [_hQ]: _co }], [0, { [_hQ]: _uI }]], 1
1394
+ ];
1395
+ export var SendScheduledMessageNowOutput$ = [3, n1, _SSMNO,
1396
+ 0,
1397
+ [_sM, _rI, _rD],
1398
+ [() => ScheduledMessage$, [0, { [_hH]: _XRI }], [1, { [_hH]: _XRD }]], 1
1399
+ ];
1298
1400
  export var SendSystemMessageInput$ = [3, n1, _SSMI,
1299
1401
  0,
1300
1402
  [_cI, _m, _cIo, _uI, _eve, _si],
@@ -1372,8 +1474,8 @@ export var UnpinMessageOutput$ = [3, n1, _UMO,
1372
1474
  ];
1373
1475
  export var UpdateChannelInput$ = [3, n1, _UCIp,
1374
1476
  0,
1375
- [_cI, _cIo, _uI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO, _mS, _mSI, _mRU, _si],
1376
- [[0, 1], [0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2, 0, 0, 1, 2], 1
1477
+ [_cI, _cIo, _uI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _aT, _tL, _wGVO, _mS, _mSI, _mRU, _si],
1478
+ [[0, 1], [0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 2, 0, 2, 0, 0, 1, 2], 1
1377
1479
  ];
1378
1480
  export var UpdateChannelOutput$ = [3, n1, _UCOp,
1379
1481
  0,
@@ -1390,6 +1492,16 @@ export var UpdateMessageOutput$ = [3, n1, _UMOp,
1390
1492
  [_m, _rI, _rD],
1391
1493
  [() => Message$, [0, { [_hH]: _XRI }], [1, { [_hH]: _XRD }]], 1
1392
1494
  ];
1495
+ export var UpdateScheduledMessageInput$ = [3, n1, _USMI,
1496
+ 0,
1497
+ [_sMI, _cIo, _uI, _t, _ma, _men, _att, _q, _sA, _pa],
1498
+ [[0, 1], [0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], 0, 2, 64 | 0, () => MessageAttachmentRequestList, () => MessageQuoteRef$, 0, 2], 1
1499
+ ];
1500
+ export var UpdateScheduledMessageOutput$ = [3, n1, _USMO,
1501
+ 0,
1502
+ [_sM, _rI, _rD],
1503
+ [() => ScheduledMessage$, [0, { [_hH]: _XRI }], [1, { [_hH]: _XRD }]], 1
1504
+ ];
1393
1505
  export var UploadedFileInfo$ = [3, n1, _UFI,
1394
1506
  0,
1395
1507
  [_fI, _n, _siz, _mi, _wi, _he, _th],
@@ -1430,6 +1542,21 @@ export var WhatsAppClosedSystemMessage$ = [3, n1, _WACSM,
1430
1542
  [],
1431
1543
  []
1432
1544
  ];
1545
+ export var WilmaChatArtifact$ = [3, n4, _WCA,
1546
+ 0,
1547
+ [_aIr, _ti, _ki, _siz, _n],
1548
+ [0, 0, 0, 1, 0], 4
1549
+ ];
1550
+ export var WilmaChatElement$ = [3, n4, _WCE,
1551
+ 0,
1552
+ [_sIes, _ver, _tu, _sIt, _sum, _eI, _ar],
1553
+ [0, 0, 1, 1, () => WilmaChatTurnSummary$, 1, () => WilmaChatArtifactList], 5
1554
+ ];
1555
+ export var WilmaChatTurnSummary$ = [3, n4, _WCTS,
1556
+ 0,
1557
+ [_out, _tCo, _fC, _dM],
1558
+ [0, 1, 1, 1], 3
1559
+ ];
1433
1560
  var ListTemplateParameter = [1, n3, _LTP,
1434
1561
  0, () => TemplateParameter$
1435
1562
  ];
@@ -1477,6 +1604,9 @@ var QueryUserIdList = 64 | 0;
1477
1604
  var ReactionList = [1, n1, _RL,
1478
1605
  0, () => Reaction$
1479
1606
  ];
1607
+ var ScheduledMessageList = [1, n1, _SML,
1608
+ 0, () => ScheduledMessage$
1609
+ ];
1480
1610
  var SearchChannelHitList = [1, n1, _SCHL,
1481
1611
  0, () => SearchChannelHit$
1482
1612
  ];
@@ -1503,6 +1633,9 @@ var UserToInviteList = [1, n1, _UTIL,
1503
1633
  var WelcomeMessageList = [1, n1, _WML,
1504
1634
  0, () => WelcomeMessage$
1505
1635
  ];
1636
+ var WilmaChatArtifactList = [1, n4, _WCAL,
1637
+ 0, () => WilmaChatArtifact$
1638
+ ];
1506
1639
  var ReactionCounts = 128 | 1;
1507
1640
  export var ActionElement$ = [4, n1, _AE,
1508
1641
  0,
@@ -1526,10 +1659,10 @@ export var ButtonHandler$ = [4, n1, _BH,
1526
1659
  ];
1527
1660
  export var Element$ = [4, n1, _E,
1528
1661
  0,
1529
- [_tem, _acti],
1530
- [() => MessageTemplateConfig$, () => ActionsElementsList]
1662
+ [_tem, _acti, _wil],
1663
+ [() => MessageTemplateConfig$, () => ActionsElementsList, () => WilmaChatElement$]
1531
1664
  ];
1532
- export var SystemMessage$ = [4, n1, _SM,
1665
+ export var SystemMessage$ = [4, n1, _SMy,
1533
1666
  0,
1534
1667
  [_wAC, _mMJ],
1535
1668
  [() => WhatsAppClosedSystemMessage$, () => MultipleMembersJoinedSystemMessage$]
@@ -1549,6 +1682,9 @@ export var CreateGroupChannel$ = [9, n1, _CGC,
1549
1682
  export var CreateKiteChannel$ = [9, n1, _CKC,
1550
1683
  { [_ht]: ["POST", "/api/v1/channels/kite", 200] }, () => CreateKiteChannelInput$, () => CreateKiteChannelOutput$
1551
1684
  ];
1685
+ export var CreateScheduledMessage$ = [9, n1, _CSM,
1686
+ { [_ht]: ["POST", "/api/v1/channels/{channelId}/scheduled-messages", 200] }, () => CreateScheduledMessageInput$, () => CreateScheduledMessageOutput$
1687
+ ];
1552
1688
  export var CreateSection$ = [9, n1, _CS,
1553
1689
  { [_ht]: ["POST", "/api/v1/sections", 200] }, () => CreateSectionInput$, () => CreateSectionOutput$
1554
1690
  ];
@@ -1564,6 +1700,9 @@ export var DeleteMessage$ = [9, n1, _DM,
1564
1700
  export var DeleteMessageReaction$ = [9, n1, _DMR,
1565
1701
  { [_ht]: ["DELETE", "/api/v1/channels/{channelId}/messages/{messageId}/reactions/{type}", 200] }, () => DeleteMessageReactionInput$, () => DeleteMessageReactionOutput$
1566
1702
  ];
1703
+ export var DeleteScheduledMessage$ = [9, n1, _DSM,
1704
+ { [_ht]: ["DELETE", "/api/v1/scheduled-messages/{scheduledMessageId}", 200] }, () => DeleteScheduledMessageInput$, () => DeleteScheduledMessageOutput$
1705
+ ];
1567
1706
  export var DeleteSection$ = [9, n1, _DS,
1568
1707
  { [_ht]: ["DELETE", "/api/v1/sections/{sectionId}", 204] }, () => DeleteSectionInput$, () => DeleteSectionOutput$
1569
1708
  ];
@@ -1636,6 +1775,9 @@ export var ListMentions$ = [9, n1, _LM,
1636
1775
  export var ListMessages$ = [9, n1, _LMi,
1637
1776
  { [_ht]: ["GET", "/api/v1/channels/{channelId}/messages", 200] }, () => ListMessagesInput$, () => ListMessagesOutput$
1638
1777
  ];
1778
+ export var ListScheduledMessages$ = [9, n1, _LSM,
1779
+ { [_ht]: ["GET", "/api/v1/scheduled-messages", 200] }, () => ListScheduledMessagesInput$, () => ListScheduledMessagesOutput$
1780
+ ];
1639
1781
  export var MarkRead$ = [9, n1, _MR,
1640
1782
  { [_ht]: ["POST", "/api/v1/channels/{channelId}/read", 200] }, () => MarkReadInput$, () => MarkReadOutput$
1641
1783
  ];
@@ -1690,6 +1832,9 @@ export var SendMessage$ = [9, n1, _SMen,
1690
1832
  export var SendMessageReaction$ = [9, n1, _SMR,
1691
1833
  { [_ht]: ["PUT", "/api/v1/channels/{channelId}/messages/{messageId}/reactions/{type}", 200] }, () => SendMessageReactionInput$, () => SendMessageReactionOutput$
1692
1834
  ];
1835
+ export var SendScheduledMessageNow$ = [9, n1, _SSMN,
1836
+ { [_ht]: ["POST", "/api/v1/scheduled-messages/{scheduledMessageId}/send", 200] }, () => SendScheduledMessageNowInput$, () => SendScheduledMessageNowOutput$
1837
+ ];
1693
1838
  export var SendSystemMessage$ = [9, n1, _SSM,
1694
1839
  { [_ht]: ["POST", "/api/v1/channels/{channelId}/system-messages", 200] }, () => SendSystemMessageInput$, () => SendSystemMessageOutput$
1695
1840
  ];
@@ -1717,6 +1862,9 @@ export var UpdateChannel$ = [9, n1, _UCp,
1717
1862
  export var UpdateMessage$ = [9, n1, _UMp,
1718
1863
  { [_ht]: ["PUT", "/api/v1/channels/{channelId}/messages/{messageId}", 200] }, () => UpdateMessageInput$, () => UpdateMessageOutput$
1719
1864
  ];
1865
+ export var UpdateScheduledMessage$ = [9, n1, _USM,
1866
+ { [_ht]: ["PATCH", "/api/v1/scheduled-messages/{scheduledMessageId}", 200] }, () => UpdateScheduledMessageInput$, () => UpdateScheduledMessageOutput$
1867
+ ];
1720
1868
  export var UploadFile$ = [9, n1, _UF,
1721
1869
  { [_ht]: ["POST", "/api/v1/channels/{channelId}/files", 200] }, () => UploadFileInput$, () => UploadFileOutput$
1722
1870
  ];