@wildix/stream-client 4.1.10 → 4.1.11
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/enums.js +11 -1
- package/dist-cjs/schemas/schemas_0.js +38 -4
- package/dist-es/models/enums.js +10 -0
- package/dist-es/schemas/schemas_0.js +36 -2
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +38 -0
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +19 -0
- package/dist-types/commands/GetMessageCommand.d.ts +19 -0
- package/dist-types/commands/ListMentionsCommand.d.ts +19 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +19 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +38 -0
- package/dist-types/commands/PinMessageCommand.d.ts +19 -0
- package/dist-types/commands/SearchMessagesCommand.d.ts +19 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +19 -0
- package/dist-types/commands/SendMessageCommand.d.ts +38 -0
- package/dist-types/commands/SendMessageReactionCommand.d.ts +19 -0
- package/dist-types/commands/SendSystemMessageCommand.d.ts +19 -0
- package/dist-types/commands/UnpinMessageCommand.d.ts +19 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +38 -0
- package/dist-types/models/enums.d.ts +26 -0
- package/dist-types/models/models_0.d.ts +51 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/package.json +3 -2
package/dist-cjs/models/enums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SearchSort = exports.MessageUnsetFields = exports.MessageAnchor = exports.MentionsFilter = exports.GroupChannelUnsetOptions = exports.FileCategory = exports.DownloadStrategy = exports.SectionType = exports.TargetNotEligibleReason = exports.MessageWhatsAppStatus = exports.MessageSmsStatus = exports.MessageMessagingStatus = exports.GroupChannelCreationEventType = exports.ChannelsFilter = exports.ChannelWhatsAppStatus = exports.ChannelMessagingStatus = exports.MessagingChannel = exports.MessageType = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.AttachmentType = exports.AssignChannelVariant = exports.ChannelMemberRole = exports.ButtonVariant = void 0;
|
|
3
|
+
exports.SearchSort = exports.MessageUnsetFields = exports.MessageAnchor = exports.MentionsFilter = exports.GroupChannelUnsetOptions = exports.FileCategory = exports.DownloadStrategy = exports.SectionType = exports.TargetNotEligibleReason = exports.MessageWhatsAppStatus = exports.MessageSmsStatus = exports.MessageMessagingStatus = exports.WilmaChatVerbosity = exports.WilmaChatInspectOutcome = exports.GroupChannelCreationEventType = exports.ChannelsFilter = exports.ChannelWhatsAppStatus = exports.ChannelMessagingStatus = exports.MessagingChannel = exports.MessageType = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.AttachmentType = exports.AssignChannelVariant = exports.ChannelMemberRole = exports.ButtonVariant = void 0;
|
|
4
4
|
exports.ButtonVariant = {
|
|
5
5
|
CONTAINED: "contained",
|
|
6
6
|
OUTLINED: "outlined",
|
|
@@ -62,6 +62,16 @@ exports.GroupChannelCreationEventType = {
|
|
|
62
62
|
CONVERSATION_CREATED: "conversation_created",
|
|
63
63
|
CONVERSATION_CREATED_WITH_NAME: "conversation_created_with_name",
|
|
64
64
|
};
|
|
65
|
+
exports.WilmaChatInspectOutcome = {
|
|
66
|
+
DONE: "done",
|
|
67
|
+
FAILED: "failed",
|
|
68
|
+
STOPPED: "stopped",
|
|
69
|
+
};
|
|
70
|
+
exports.WilmaChatVerbosity = {
|
|
71
|
+
FULL: "full",
|
|
72
|
+
NONE: "none",
|
|
73
|
+
SIMPLE: "simple",
|
|
74
|
+
};
|
|
65
75
|
exports.MessageMessagingStatus = {
|
|
66
76
|
DELIVERED: "delivered",
|
|
67
77
|
ERROR: "error",
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DeleteMessageReactionOutput$ = exports.DeleteMessageReactionInput$ = exports.DeleteMessageOutput$ = exports.DeleteMessageInput$ = exports.DeleteChannelMemberOutput$ = exports.DeleteChannelMemberInput$ = exports.DeleteChannelInput$ = exports.CreateSectionOutput$ = exports.CreateSectionInput$ = exports.CreateKiteChannelOutput$ = exports.CreateKiteChannelInput$ = exports.CreateGroupChannelOutput$ = exports.CreateGroupChannelInput$ = exports.ChannelsQuery$ = exports.ChannelMemberReadStatus$ = exports.ChannelMember$ = exports.ChannelContextPushToTalk$ = exports.ChannelContextEventAttendee$ = exports.ChannelContextEvent$ = exports.ChannelContext$ = exports.Channel$ = exports.ButtonReplyHandler$ = exports.ButtonLinkHandler$ = exports.ButtonElement$ = exports.ButtonActionHandler$ = exports.AssignChannelOutput$ = exports.AssignChannelInput$ = exports.AddChannelMembersOutput$ = exports.AddChannelMembersInput$ = exports.AddChannelMemberOutput$ = exports.AddChannelMemberInput$ = exports.TemplateWithParameters$ = exports.TemplateParameter$ = exports.errorTypeRegistries = exports.TargetNotFoundException$ = exports.TargetNotEligibleException$ = exports.StreamServiceException$ = exports.SectionNotFoundException$ = exports.MessageNotFoundException$ = exports.MemberNotFoundException$ = exports.MemberAlreadyExistException$ = exports.MarkUnreadChannelsLimitReachedException$ = exports.FileNotFoundException$ = exports.ChannelNotFoundException$ = exports.ChannelAlreadyExistException$ = exports.ValidationException$ = exports.UnauthorizedException$ = exports.RateLimitExceededException$ = exports.ForbiddenException$ = exports.StreamServiceServiceException$ = void 0;
|
|
4
4
|
exports.ListMentionsInput$ = exports.ListChannelsOutput$ = exports.ListChannelsInput$ = exports.ListChannelMembersReadStatusOutput$ = exports.ListChannelMembersReadStatusInput$ = exports.ListChannelMembersOutput$ = exports.ListChannelMembersInput$ = exports.LeaveChannelOutput$ = exports.LeaveChannelInput$ = exports.LastMessagePreview$ = exports.JoinChannelOutput$ = exports.JoinChannelInput$ = exports.InitialMessage$ = exports.InboxState$ = exports.InboxChannel$ = exports.HideChannelOutput$ = exports.HideChannelInput$ = exports.HardDeleteChannelInput$ = exports.GetWhatsAppChannelIdOutput$ = exports.GetWhatsAppChannelIdInput$ = exports.GetUploadedFileInfoOutput$ = exports.GetUploadedFileInfoInput$ = exports.GetTokenOutput$ = exports.GetTokenInput$ = exports.GetTelephonyChannelIdOutput$ = exports.GetTelephonyChannelIdInput$ = exports.GetSmsChannelIdOutput$ = exports.GetSmsChannelIdInput$ = exports.GetOrCreateWhatsAppChannelOutput$ = exports.GetOrCreateWhatsAppChannelInput$ = exports.GetOrCreateTelephonyChannelOutput$ = exports.GetOrCreateTelephonyChannelInput$ = exports.GetOrCreateSmsChannelOutput$ = exports.GetOrCreateSmsChannelInput$ = exports.GetOrCreateDirectChannelOutput$ = exports.GetOrCreateDirectChannelInput$ = exports.GetMessageOutput$ = exports.GetMessageInput$ = exports.GetInboxOutput$ = exports.GetInboxInput$ = exports.GetFilePresignedDownloadUrlOutput$ = exports.GetFilePresignedDownloadUrlInput$ = exports.GetDirectChannelIdOutput$ = exports.GetDirectChannelIdInput$ = exports.GetChannelOutput$ = exports.GetChannelMemberOutput$ = exports.GetChannelMemberInput$ = exports.GetChannelInput$ = exports.DeleteSectionOutput$ = exports.DeleteSectionInput$ = void 0;
|
|
5
5
|
exports.SendMessageInput$ = exports.SendGiphyOutput$ = exports.SendGiphyInput$ = exports.Section$ = exports.SearchMessagesOutput$ = exports.SearchMessagesInput$ = exports.SearchMessageHit$ = exports.SearchChannelsOutput$ = exports.SearchChannelsInput$ = exports.SearchChannelHit$ = exports.RenameSectionOutput$ = exports.RenameSectionInput$ = exports.RemoveChannelFromSectionOutput$ = exports.RemoveChannelFromSectionInput$ = exports.Reaction$ = exports.QueryChannelsOutput$ = exports.QueryChannelsInput$ = exports.PinMessageOutput$ = exports.PinMessageInput$ = exports.PinChannelOutput$ = exports.PinChannelInput$ = exports.PartialUpdateMessageSetInput$ = exports.PartialUpdateMessageOutput$ = exports.PartialUpdateMessageInput$ = exports.PartialUpdateChannelSetOptions$ = exports.PartialUpdateChannelOutput$ = exports.PartialUpdateChannelInput$ = exports.MuteChannelOutput$ = exports.MuteChannelInput$ = exports.MultipleMembersJoinedSystemMessage$ = exports.MoveChannelToSectionOutput$ = exports.MoveChannelToSectionInput$ = exports.MessageTemplateConfig$ = exports.MessageQuoteRef$ = exports.MessageQuote$ = exports.MessageGiphy$ = exports.MessageForwardRef$ = exports.MessageForward$ = exports.MessageAttachmentRequest$ = exports.MessageAttachment$ = exports.Message$ = exports.MentionEntry$ = exports.MentionChannelPreview$ = exports.MarkUnreadOutput$ = exports.MarkUnreadInput$ = exports.MarkReadOutput$ = exports.MarkReadInput$ = exports.ListMessagesOutput$ = exports.ListMessagesInput$ = exports.ListMentionsOutput$ = void 0;
|
|
6
|
-
exports.
|
|
7
|
-
exports.UploadFile$ = exports.UpdateMessage$ = exports.UpdateChannel$ = exports.UnpinMessage$ = exports.UnpinChannel$ = exports.UnmuteChannel$ = exports.ShowChannel$ = exports.SendTypingStop$ = exports.SendTypingStart$ = exports.SendSystemMessage$ = exports.SendMessageReaction$ = exports.SendMessage$ = exports.SendGiphy$ = exports.SearchMessages$ = exports.SearchChannels$ = exports.RenameSection$ = exports.RemoveChannelFromSection$ = exports.QueryChannels$ = exports.PinMessage$ = exports.PinChannel$ = exports.PartialUpdateMessage$ = exports.PartialUpdateChannel$ = exports.MuteChannel$ = exports.MoveChannelToSection$ = exports.MarkUnread$ = exports.MarkRead$ = exports.ListMessages$ = exports.ListMentions$ = exports.ListChannels$ = exports.ListChannelMembersReadStatus$ = exports.ListChannelMembers$ = exports.LeaveChannel$ = exports.JoinChannel$ = exports.HideChannel$ = exports.HardDeleteChannel$ = exports.GetWhatsAppChannelId$ = exports.GetUploadedFileInfo$ = exports.GetToken$ = exports.GetTelephonyChannelId$ = exports.GetSmsChannelId$ = exports.GetOrCreateWhatsAppChannel$ = exports.GetOrCreateTelephonyChannel$ = exports.GetOrCreateSmsChannel$ = exports.GetOrCreateDirectChannel$ = exports.GetMessage$ = void 0;
|
|
6
|
+
exports.GetChannelMember$ = exports.GetChannel$ = exports.DeleteSection$ = exports.DeleteMessageReaction$ = exports.DeleteMessage$ = exports.DeleteChannelMember$ = exports.DeleteChannel$ = exports.CreateSection$ = exports.CreateKiteChannel$ = exports.CreateGroupChannel$ = exports.AssignChannel$ = exports.AddChannelMembers$ = exports.AddChannelMember$ = exports.SystemMessage$ = exports.Element$ = exports.ButtonHandler$ = exports.AssignChannelServiceRequest$ = exports.AssignChannelAssigneeRequest$ = exports.ActionElement$ = exports.WilmaChatInspect$ = exports.WilmaChatElement$ = exports.WilmaChatArtifactCard$ = exports.WhatsAppClosedSystemMessage$ = exports.WelcomeMessage$ = exports.UserToInvite$ = exports.UploadFileOutput$ = exports.UploadFileOptions$ = exports.UploadFileInput$ = exports.UploadedFileInfo$ = exports.UpdateMessageOutput$ = exports.UpdateMessageInput$ = exports.UpdateChannelOutput$ = exports.UpdateChannelInput$ = exports.UnpinMessageOutput$ = exports.UnpinMessageInput$ = exports.UnpinChannelOutput$ = exports.UnpinChannelInput$ = exports.UnmuteChannelOutput$ = exports.UnmuteChannelInput$ = exports.ShowChannelOutput$ = exports.ShowChannelInput$ = exports.SendTypingStopOutput$ = exports.SendTypingStopInput$ = exports.SendTypingStartOutput$ = exports.SendTypingStartInput$ = exports.SendSystemMessageOutput$ = exports.SendSystemMessageInput$ = exports.SendMessageReactionOutput$ = exports.SendMessageReactionInput$ = exports.SendMessageOutput$ = void 0;
|
|
7
|
+
exports.UploadFile$ = exports.UpdateMessage$ = exports.UpdateChannel$ = exports.UnpinMessage$ = exports.UnpinChannel$ = exports.UnmuteChannel$ = exports.ShowChannel$ = exports.SendTypingStop$ = exports.SendTypingStart$ = exports.SendSystemMessage$ = exports.SendMessageReaction$ = exports.SendMessage$ = exports.SendGiphy$ = exports.SearchMessages$ = exports.SearchChannels$ = exports.RenameSection$ = exports.RemoveChannelFromSection$ = exports.QueryChannels$ = exports.PinMessage$ = exports.PinChannel$ = exports.PartialUpdateMessage$ = exports.PartialUpdateChannel$ = exports.MuteChannel$ = exports.MoveChannelToSection$ = exports.MarkUnread$ = exports.MarkRead$ = exports.ListMessages$ = exports.ListMentions$ = exports.ListChannels$ = exports.ListChannelMembersReadStatus$ = exports.ListChannelMembers$ = exports.LeaveChannel$ = exports.JoinChannel$ = exports.HideChannel$ = exports.HardDeleteChannel$ = exports.GetWhatsAppChannelId$ = exports.GetUploadedFileInfo$ = exports.GetToken$ = exports.GetTelephonyChannelId$ = exports.GetSmsChannelId$ = exports.GetOrCreateWhatsAppChannel$ = exports.GetOrCreateTelephonyChannel$ = exports.GetOrCreateSmsChannel$ = exports.GetOrCreateDirectChannel$ = exports.GetMessage$ = exports.GetInbox$ = exports.GetFilePresignedDownloadUrl$ = exports.GetDirectChannelId$ = void 0;
|
|
8
8
|
const _AC = "AssignChannel";
|
|
9
9
|
const _ACAR = "AssignChannelAssigneeRequest";
|
|
10
10
|
const _ACI = "AssignChannelInput";
|
|
@@ -265,6 +265,10 @@ const _UTI = "UserToInvite";
|
|
|
265
265
|
const _UTIL = "UserToInviteList";
|
|
266
266
|
const _VE = "ValidationException";
|
|
267
267
|
const _WACSM = "WhatsAppClosedSystemMessage";
|
|
268
|
+
const _WCAC = "WilmaChatArtifactCard";
|
|
269
|
+
const _WCACL = "WilmaChatArtifactCardList";
|
|
270
|
+
const _WCE = "WilmaChatElement";
|
|
271
|
+
const _WCI = "WilmaChatInspect";
|
|
268
272
|
const _WM = "WelcomeMessage";
|
|
269
273
|
const _WML = "WelcomeMessageList";
|
|
270
274
|
const _XRD = "X-Request-Duration";
|
|
@@ -274,6 +278,7 @@ const _XRR = "X-RateLimit-Remaining";
|
|
|
274
278
|
const _XRR_ = "X-RateLimit-Reset";
|
|
275
279
|
const _a = "assignee";
|
|
276
280
|
const _aI = "assigneeId";
|
|
281
|
+
const _aIr = "artifactId";
|
|
277
282
|
const _aM = "addedMembers";
|
|
278
283
|
const _aR = "autoRecord";
|
|
279
284
|
const _aT = "attachmentTypes";
|
|
@@ -281,6 +286,7 @@ const _ac = "access";
|
|
|
281
286
|
const _act = "action";
|
|
282
287
|
const _acti = "actions";
|
|
283
288
|
const _an = "anchor";
|
|
289
|
+
const _ar = "artifacts";
|
|
284
290
|
const _at = "attendees";
|
|
285
291
|
const _att = "attachments";
|
|
286
292
|
const _b = "broadcast";
|
|
@@ -305,6 +311,7 @@ const _con = "context";
|
|
|
305
311
|
const _cu = "cursor";
|
|
306
312
|
const _d = "disabled";
|
|
307
313
|
const _dA = "deletedAt";
|
|
314
|
+
const _dM = "durationMs";
|
|
308
315
|
const _de = "description";
|
|
309
316
|
const _do = "download";
|
|
310
317
|
const _e = "error";
|
|
@@ -317,6 +324,7 @@ const _eve = "event";
|
|
|
317
324
|
const _ex = "external";
|
|
318
325
|
const _exp = "expires";
|
|
319
326
|
const _f = "file";
|
|
327
|
+
const _fC = "failedCount";
|
|
320
328
|
const _fI = "fsId";
|
|
321
329
|
const _fUVS = "firstUnreadVisibleSeq";
|
|
322
330
|
const _fi = "filter";
|
|
@@ -339,6 +347,7 @@ const _i = "id";
|
|
|
339
347
|
const _iM = "initialMessage";
|
|
340
348
|
const _id = "ids";
|
|
341
349
|
const _in = "inbox";
|
|
350
|
+
const _ins = "inspect";
|
|
342
351
|
const _jA = "joinedAt";
|
|
343
352
|
const _k = "kite";
|
|
344
353
|
const _kA = "kiteAssign";
|
|
@@ -346,6 +355,7 @@ const _kDS = "kiteDefaultSubject";
|
|
|
346
355
|
const _kSN = "kiteServiceName";
|
|
347
356
|
const _kT = "kiteTarget";
|
|
348
357
|
const _kV = "kiteVariant";
|
|
358
|
+
const _ki = "kind";
|
|
349
359
|
const _l = "limit";
|
|
350
360
|
const _lAA = "lastActivityAt";
|
|
351
361
|
const _lM = "lastMessage";
|
|
@@ -387,6 +397,7 @@ const _o = "owner";
|
|
|
387
397
|
const _of = "offset";
|
|
388
398
|
const _op = "options";
|
|
389
399
|
const _ou = "outgoing";
|
|
400
|
+
const _out = "outcome";
|
|
390
401
|
const _p = "parameters";
|
|
391
402
|
const _pA = "pinnedAt";
|
|
392
403
|
const _pB = "pinnedBy";
|
|
@@ -423,6 +434,7 @@ const _s = "smithy.ts.sdk.synthetic.wildix.stream";
|
|
|
423
434
|
const _sI = "sectionId";
|
|
424
435
|
const _sIe = "sectionIds";
|
|
425
436
|
const _sIen = "senderIds";
|
|
437
|
+
const _sIes = "sessionId";
|
|
426
438
|
const _sR = "serviceRecipient";
|
|
427
439
|
const _sS = "smsStatus";
|
|
428
440
|
const _sT = "serviceTitle";
|
|
@@ -444,6 +456,7 @@ const _sum = "summary";
|
|
|
444
456
|
const _sy = "system";
|
|
445
457
|
const _t = "text";
|
|
446
458
|
const _tC = "totalCount";
|
|
459
|
+
const _tCo = "toolCount";
|
|
447
460
|
const _tI = "targetId";
|
|
448
461
|
const _tL = "transcriptionLanguage";
|
|
449
462
|
const _tRI = "targetRouteId";
|
|
@@ -452,6 +465,7 @@ const _ta = "target";
|
|
|
452
465
|
const _te = "telephony";
|
|
453
466
|
const _tem = "template";
|
|
454
467
|
const _th = "thumbnail";
|
|
468
|
+
const _ti = "title";
|
|
455
469
|
const _to = "token";
|
|
456
470
|
const _to_ = "to";
|
|
457
471
|
const _ty = "type";
|
|
@@ -469,12 +483,14 @@ const _ur = "uri";
|
|
|
469
483
|
const _v = "value";
|
|
470
484
|
const _vS = "visibleSeq";
|
|
471
485
|
const _va = "variant";
|
|
486
|
+
const _ve = "verbosity";
|
|
472
487
|
const _w = "whatsapp";
|
|
473
488
|
const _wAC = "whatsAppClosed";
|
|
474
489
|
const _wGVO = "wizyGuestViewOnly";
|
|
475
490
|
const _wM = "welcomeMessages";
|
|
476
491
|
const _wS = "whatsappStatus";
|
|
477
492
|
const _wi = "width";
|
|
493
|
+
const _wil = "wilma";
|
|
478
494
|
const n0 = "smithy.framework";
|
|
479
495
|
const n1 = "wildix.stream";
|
|
480
496
|
const n2 = "wildix.xbees.kite";
|
|
@@ -1390,6 +1406,21 @@ exports.WhatsAppClosedSystemMessage$ = [3, n1, _WACSM,
|
|
|
1390
1406
|
[],
|
|
1391
1407
|
[]
|
|
1392
1408
|
];
|
|
1409
|
+
exports.WilmaChatArtifactCard$ = [3, n1, _WCAC,
|
|
1410
|
+
0,
|
|
1411
|
+
[_aIr, _ti, _ki, _siz, _n],
|
|
1412
|
+
[0, 0, 0, 1, 0], 4
|
|
1413
|
+
];
|
|
1414
|
+
exports.WilmaChatElement$ = [3, n1, _WCE,
|
|
1415
|
+
0,
|
|
1416
|
+
[_sIes, _ve, _ins, _ar],
|
|
1417
|
+
[0, 0, () => exports.WilmaChatInspect$, () => WilmaChatArtifactCardList], 2
|
|
1418
|
+
];
|
|
1419
|
+
exports.WilmaChatInspect$ = [3, n1, _WCI,
|
|
1420
|
+
0,
|
|
1421
|
+
[_out, _tCo, _fC, _dM],
|
|
1422
|
+
[0, 1, 1, 1], 3
|
|
1423
|
+
];
|
|
1393
1424
|
var ListTemplateParameter = [1, n3, _LTP,
|
|
1394
1425
|
0, () => exports.TemplateParameter$
|
|
1395
1426
|
];
|
|
@@ -1454,6 +1485,9 @@ var UserToInviteList = [1, n1, _UTIL,
|
|
|
1454
1485
|
var WelcomeMessageList = [1, n1, _WML,
|
|
1455
1486
|
0, () => exports.WelcomeMessage$
|
|
1456
1487
|
];
|
|
1488
|
+
var WilmaChatArtifactCardList = [1, n1, _WCACL,
|
|
1489
|
+
0, () => exports.WilmaChatArtifactCard$
|
|
1490
|
+
];
|
|
1457
1491
|
var ReactionCounts = 128 | 1;
|
|
1458
1492
|
exports.ActionElement$ = [4, n1, _AE,
|
|
1459
1493
|
0,
|
|
@@ -1477,8 +1511,8 @@ exports.ButtonHandler$ = [4, n1, _BH,
|
|
|
1477
1511
|
];
|
|
1478
1512
|
exports.Element$ = [4, n1, _E,
|
|
1479
1513
|
0,
|
|
1480
|
-
[_tem, _acti],
|
|
1481
|
-
[() => exports.MessageTemplateConfig$, () => ActionsElementsList]
|
|
1514
|
+
[_tem, _acti, _wil],
|
|
1515
|
+
[() => exports.MessageTemplateConfig$, () => ActionsElementsList, () => exports.WilmaChatElement$]
|
|
1482
1516
|
];
|
|
1483
1517
|
exports.SystemMessage$ = [4, n1, _SM,
|
|
1484
1518
|
0,
|
package/dist-es/models/enums.js
CHANGED
|
@@ -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 WilmaChatInspectOutcome = {
|
|
63
|
+
DONE: "done",
|
|
64
|
+
FAILED: "failed",
|
|
65
|
+
STOPPED: "stopped",
|
|
66
|
+
};
|
|
67
|
+
export const WilmaChatVerbosity = {
|
|
68
|
+
FULL: "full",
|
|
69
|
+
NONE: "none",
|
|
70
|
+
SIMPLE: "simple",
|
|
71
|
+
};
|
|
62
72
|
export const MessageMessagingStatus = {
|
|
63
73
|
DELIVERED: "delivered",
|
|
64
74
|
ERROR: "error",
|
|
@@ -258,6 +258,10 @@ const _UTI = "UserToInvite";
|
|
|
258
258
|
const _UTIL = "UserToInviteList";
|
|
259
259
|
const _VE = "ValidationException";
|
|
260
260
|
const _WACSM = "WhatsAppClosedSystemMessage";
|
|
261
|
+
const _WCAC = "WilmaChatArtifactCard";
|
|
262
|
+
const _WCACL = "WilmaChatArtifactCardList";
|
|
263
|
+
const _WCE = "WilmaChatElement";
|
|
264
|
+
const _WCI = "WilmaChatInspect";
|
|
261
265
|
const _WM = "WelcomeMessage";
|
|
262
266
|
const _WML = "WelcomeMessageList";
|
|
263
267
|
const _XRD = "X-Request-Duration";
|
|
@@ -267,6 +271,7 @@ const _XRR = "X-RateLimit-Remaining";
|
|
|
267
271
|
const _XRR_ = "X-RateLimit-Reset";
|
|
268
272
|
const _a = "assignee";
|
|
269
273
|
const _aI = "assigneeId";
|
|
274
|
+
const _aIr = "artifactId";
|
|
270
275
|
const _aM = "addedMembers";
|
|
271
276
|
const _aR = "autoRecord";
|
|
272
277
|
const _aT = "attachmentTypes";
|
|
@@ -274,6 +279,7 @@ const _ac = "access";
|
|
|
274
279
|
const _act = "action";
|
|
275
280
|
const _acti = "actions";
|
|
276
281
|
const _an = "anchor";
|
|
282
|
+
const _ar = "artifacts";
|
|
277
283
|
const _at = "attendees";
|
|
278
284
|
const _att = "attachments";
|
|
279
285
|
const _b = "broadcast";
|
|
@@ -298,6 +304,7 @@ const _con = "context";
|
|
|
298
304
|
const _cu = "cursor";
|
|
299
305
|
const _d = "disabled";
|
|
300
306
|
const _dA = "deletedAt";
|
|
307
|
+
const _dM = "durationMs";
|
|
301
308
|
const _de = "description";
|
|
302
309
|
const _do = "download";
|
|
303
310
|
const _e = "error";
|
|
@@ -310,6 +317,7 @@ const _eve = "event";
|
|
|
310
317
|
const _ex = "external";
|
|
311
318
|
const _exp = "expires";
|
|
312
319
|
const _f = "file";
|
|
320
|
+
const _fC = "failedCount";
|
|
313
321
|
const _fI = "fsId";
|
|
314
322
|
const _fUVS = "firstUnreadVisibleSeq";
|
|
315
323
|
const _fi = "filter";
|
|
@@ -332,6 +340,7 @@ const _i = "id";
|
|
|
332
340
|
const _iM = "initialMessage";
|
|
333
341
|
const _id = "ids";
|
|
334
342
|
const _in = "inbox";
|
|
343
|
+
const _ins = "inspect";
|
|
335
344
|
const _jA = "joinedAt";
|
|
336
345
|
const _k = "kite";
|
|
337
346
|
const _kA = "kiteAssign";
|
|
@@ -339,6 +348,7 @@ const _kDS = "kiteDefaultSubject";
|
|
|
339
348
|
const _kSN = "kiteServiceName";
|
|
340
349
|
const _kT = "kiteTarget";
|
|
341
350
|
const _kV = "kiteVariant";
|
|
351
|
+
const _ki = "kind";
|
|
342
352
|
const _l = "limit";
|
|
343
353
|
const _lAA = "lastActivityAt";
|
|
344
354
|
const _lM = "lastMessage";
|
|
@@ -380,6 +390,7 @@ const _o = "owner";
|
|
|
380
390
|
const _of = "offset";
|
|
381
391
|
const _op = "options";
|
|
382
392
|
const _ou = "outgoing";
|
|
393
|
+
const _out = "outcome";
|
|
383
394
|
const _p = "parameters";
|
|
384
395
|
const _pA = "pinnedAt";
|
|
385
396
|
const _pB = "pinnedBy";
|
|
@@ -416,6 +427,7 @@ const _s = "smithy.ts.sdk.synthetic.wildix.stream";
|
|
|
416
427
|
const _sI = "sectionId";
|
|
417
428
|
const _sIe = "sectionIds";
|
|
418
429
|
const _sIen = "senderIds";
|
|
430
|
+
const _sIes = "sessionId";
|
|
419
431
|
const _sR = "serviceRecipient";
|
|
420
432
|
const _sS = "smsStatus";
|
|
421
433
|
const _sT = "serviceTitle";
|
|
@@ -437,6 +449,7 @@ const _sum = "summary";
|
|
|
437
449
|
const _sy = "system";
|
|
438
450
|
const _t = "text";
|
|
439
451
|
const _tC = "totalCount";
|
|
452
|
+
const _tCo = "toolCount";
|
|
440
453
|
const _tI = "targetId";
|
|
441
454
|
const _tL = "transcriptionLanguage";
|
|
442
455
|
const _tRI = "targetRouteId";
|
|
@@ -445,6 +458,7 @@ const _ta = "target";
|
|
|
445
458
|
const _te = "telephony";
|
|
446
459
|
const _tem = "template";
|
|
447
460
|
const _th = "thumbnail";
|
|
461
|
+
const _ti = "title";
|
|
448
462
|
const _to = "token";
|
|
449
463
|
const _to_ = "to";
|
|
450
464
|
const _ty = "type";
|
|
@@ -462,12 +476,14 @@ const _ur = "uri";
|
|
|
462
476
|
const _v = "value";
|
|
463
477
|
const _vS = "visibleSeq";
|
|
464
478
|
const _va = "variant";
|
|
479
|
+
const _ve = "verbosity";
|
|
465
480
|
const _w = "whatsapp";
|
|
466
481
|
const _wAC = "whatsAppClosed";
|
|
467
482
|
const _wGVO = "wizyGuestViewOnly";
|
|
468
483
|
const _wM = "welcomeMessages";
|
|
469
484
|
const _wS = "whatsappStatus";
|
|
470
485
|
const _wi = "width";
|
|
486
|
+
const _wil = "wilma";
|
|
471
487
|
const n0 = "smithy.framework";
|
|
472
488
|
const n1 = "wildix.stream";
|
|
473
489
|
const n2 = "wildix.xbees.kite";
|
|
@@ -1383,6 +1399,21 @@ export var WhatsAppClosedSystemMessage$ = [3, n1, _WACSM,
|
|
|
1383
1399
|
[],
|
|
1384
1400
|
[]
|
|
1385
1401
|
];
|
|
1402
|
+
export var WilmaChatArtifactCard$ = [3, n1, _WCAC,
|
|
1403
|
+
0,
|
|
1404
|
+
[_aIr, _ti, _ki, _siz, _n],
|
|
1405
|
+
[0, 0, 0, 1, 0], 4
|
|
1406
|
+
];
|
|
1407
|
+
export var WilmaChatElement$ = [3, n1, _WCE,
|
|
1408
|
+
0,
|
|
1409
|
+
[_sIes, _ve, _ins, _ar],
|
|
1410
|
+
[0, 0, () => WilmaChatInspect$, () => WilmaChatArtifactCardList], 2
|
|
1411
|
+
];
|
|
1412
|
+
export var WilmaChatInspect$ = [3, n1, _WCI,
|
|
1413
|
+
0,
|
|
1414
|
+
[_out, _tCo, _fC, _dM],
|
|
1415
|
+
[0, 1, 1, 1], 3
|
|
1416
|
+
];
|
|
1386
1417
|
var ListTemplateParameter = [1, n3, _LTP,
|
|
1387
1418
|
0, () => TemplateParameter$
|
|
1388
1419
|
];
|
|
@@ -1447,6 +1478,9 @@ var UserToInviteList = [1, n1, _UTIL,
|
|
|
1447
1478
|
var WelcomeMessageList = [1, n1, _WML,
|
|
1448
1479
|
0, () => WelcomeMessage$
|
|
1449
1480
|
];
|
|
1481
|
+
var WilmaChatArtifactCardList = [1, n1, _WCACL,
|
|
1482
|
+
0, () => WilmaChatArtifactCard$
|
|
1483
|
+
];
|
|
1450
1484
|
var ReactionCounts = 128 | 1;
|
|
1451
1485
|
export var ActionElement$ = [4, n1, _AE,
|
|
1452
1486
|
0,
|
|
@@ -1470,8 +1504,8 @@ export var ButtonHandler$ = [4, n1, _BH,
|
|
|
1470
1504
|
];
|
|
1471
1505
|
export var Element$ = [4, n1, _E,
|
|
1472
1506
|
0,
|
|
1473
|
-
[_tem, _acti],
|
|
1474
|
-
[() => MessageTemplateConfig$, () => ActionsElementsList]
|
|
1507
|
+
[_tem, _acti, _wil],
|
|
1508
|
+
[() => MessageTemplateConfig$, () => ActionsElementsList, () => WilmaChatElement$]
|
|
1475
1509
|
];
|
|
1476
1510
|
export var SystemMessage$ = [4, n1, _SM,
|
|
1477
1511
|
0,
|
|
@@ -78,6 +78,25 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
78
78
|
* },
|
|
79
79
|
* },
|
|
80
80
|
* ],
|
|
81
|
+
* wilma: { // WilmaChatElement
|
|
82
|
+
* sessionId: "STRING_VALUE", // required
|
|
83
|
+
* verbosity: "none" || "simple" || "full", // required
|
|
84
|
+
* inspect: { // WilmaChatInspect
|
|
85
|
+
* outcome: "done" || "stopped" || "failed", // required
|
|
86
|
+
* durationMs: Number("int"),
|
|
87
|
+
* toolCount: Number("int"), // required
|
|
88
|
+
* failedCount: Number("int"), // required
|
|
89
|
+
* },
|
|
90
|
+
* artifacts: [ // WilmaChatArtifactCardList
|
|
91
|
+
* { // WilmaChatArtifactCard
|
|
92
|
+
* artifactId: "STRING_VALUE", // required
|
|
93
|
+
* title: "STRING_VALUE", // required
|
|
94
|
+
* kind: "STRING_VALUE", // required
|
|
95
|
+
* size: Number("long"), // required
|
|
96
|
+
* name: "STRING_VALUE",
|
|
97
|
+
* },
|
|
98
|
+
* ],
|
|
99
|
+
* },
|
|
81
100
|
* },
|
|
82
101
|
* ],
|
|
83
102
|
* attachments: [ // MessageAttachmentRequestList
|
|
@@ -149,6 +168,25 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
149
168
|
* },
|
|
150
169
|
* },
|
|
151
170
|
* ],
|
|
171
|
+
* wilma: {
|
|
172
|
+
* sessionId: "STRING_VALUE", // required
|
|
173
|
+
* verbosity: "none" || "simple" || "full", // required
|
|
174
|
+
* inspect: {
|
|
175
|
+
* outcome: "done" || "stopped" || "failed", // required
|
|
176
|
+
* durationMs: Number("int"),
|
|
177
|
+
* toolCount: Number("int"), // required
|
|
178
|
+
* failedCount: Number("int"), // required
|
|
179
|
+
* },
|
|
180
|
+
* artifacts: [
|
|
181
|
+
* {
|
|
182
|
+
* artifactId: "STRING_VALUE", // required
|
|
183
|
+
* title: "STRING_VALUE", // required
|
|
184
|
+
* kind: "STRING_VALUE", // required
|
|
185
|
+
* size: Number("long"), // required
|
|
186
|
+
* name: "STRING_VALUE",
|
|
187
|
+
* },
|
|
188
|
+
* ],
|
|
189
|
+
* },
|
|
152
190
|
* },
|
|
153
191
|
* ],
|
|
154
192
|
* attachments: [
|
|
@@ -134,6 +134,25 @@ declare const DeleteMessageReactionCommand_base: {
|
|
|
134
134
|
* // },
|
|
135
135
|
* // },
|
|
136
136
|
* // ],
|
|
137
|
+
* // wilma: { // WilmaChatElement
|
|
138
|
+
* // sessionId: "STRING_VALUE", // required
|
|
139
|
+
* // verbosity: "none" || "simple" || "full", // required
|
|
140
|
+
* // inspect: { // WilmaChatInspect
|
|
141
|
+
* // outcome: "done" || "stopped" || "failed", // required
|
|
142
|
+
* // durationMs: Number("int"),
|
|
143
|
+
* // toolCount: Number("int"), // required
|
|
144
|
+
* // failedCount: Number("int"), // required
|
|
145
|
+
* // },
|
|
146
|
+
* // artifacts: [ // WilmaChatArtifactCardList
|
|
147
|
+
* // { // WilmaChatArtifactCard
|
|
148
|
+
* // artifactId: "STRING_VALUE", // required
|
|
149
|
+
* // title: "STRING_VALUE", // required
|
|
150
|
+
* // kind: "STRING_VALUE", // required
|
|
151
|
+
* // size: Number("long"), // required
|
|
152
|
+
* // name: "STRING_VALUE",
|
|
153
|
+
* // },
|
|
154
|
+
* // ],
|
|
155
|
+
* // },
|
|
137
156
|
* // },
|
|
138
157
|
* // ],
|
|
139
158
|
* // whatsapp: true || false,
|
|
@@ -135,6 +135,25 @@ declare const GetMessageCommand_base: {
|
|
|
135
135
|
* // },
|
|
136
136
|
* // },
|
|
137
137
|
* // ],
|
|
138
|
+
* // wilma: { // WilmaChatElement
|
|
139
|
+
* // sessionId: "STRING_VALUE", // required
|
|
140
|
+
* // verbosity: "none" || "simple" || "full", // required
|
|
141
|
+
* // inspect: { // WilmaChatInspect
|
|
142
|
+
* // outcome: "done" || "stopped" || "failed", // required
|
|
143
|
+
* // durationMs: Number("int"),
|
|
144
|
+
* // toolCount: Number("int"), // required
|
|
145
|
+
* // failedCount: Number("int"), // required
|
|
146
|
+
* // },
|
|
147
|
+
* // artifacts: [ // WilmaChatArtifactCardList
|
|
148
|
+
* // { // WilmaChatArtifactCard
|
|
149
|
+
* // artifactId: "STRING_VALUE", // required
|
|
150
|
+
* // title: "STRING_VALUE", // required
|
|
151
|
+
* // kind: "STRING_VALUE", // required
|
|
152
|
+
* // size: Number("long"), // required
|
|
153
|
+
* // name: "STRING_VALUE",
|
|
154
|
+
* // },
|
|
155
|
+
* // ],
|
|
156
|
+
* // },
|
|
138
157
|
* // },
|
|
139
158
|
* // ],
|
|
140
159
|
* // whatsapp: true || false,
|
|
@@ -144,6 +144,25 @@ 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
|
+
* // inspect: { // WilmaChatInspect
|
|
151
|
+
* // outcome: "done" || "stopped" || "failed", // required
|
|
152
|
+
* // durationMs: Number("int"),
|
|
153
|
+
* // toolCount: Number("int"), // required
|
|
154
|
+
* // failedCount: Number("int"), // required
|
|
155
|
+
* // },
|
|
156
|
+
* // artifacts: [ // WilmaChatArtifactCardList
|
|
157
|
+
* // { // WilmaChatArtifactCard
|
|
158
|
+
* // artifactId: "STRING_VALUE", // required
|
|
159
|
+
* // title: "STRING_VALUE", // required
|
|
160
|
+
* // kind: "STRING_VALUE", // required
|
|
161
|
+
* // size: Number("long"), // required
|
|
162
|
+
* // name: "STRING_VALUE",
|
|
163
|
+
* // },
|
|
164
|
+
* // ],
|
|
165
|
+
* // },
|
|
147
166
|
* // },
|
|
148
167
|
* // ],
|
|
149
168
|
* // whatsapp: true || false,
|
|
@@ -138,6 +138,25 @@ 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
|
+
* // inspect: { // WilmaChatInspect
|
|
145
|
+
* // outcome: "done" || "stopped" || "failed", // required
|
|
146
|
+
* // durationMs: Number("int"),
|
|
147
|
+
* // toolCount: Number("int"), // required
|
|
148
|
+
* // failedCount: Number("int"), // required
|
|
149
|
+
* // },
|
|
150
|
+
* // artifacts: [ // WilmaChatArtifactCardList
|
|
151
|
+
* // { // WilmaChatArtifactCard
|
|
152
|
+
* // artifactId: "STRING_VALUE", // required
|
|
153
|
+
* // title: "STRING_VALUE", // required
|
|
154
|
+
* // kind: "STRING_VALUE", // required
|
|
155
|
+
* // size: Number("long"), // required
|
|
156
|
+
* // name: "STRING_VALUE",
|
|
157
|
+
* // },
|
|
158
|
+
* // ],
|
|
159
|
+
* // },
|
|
141
160
|
* // },
|
|
142
161
|
* // ],
|
|
143
162
|
* // whatsapp: true || false,
|
|
@@ -76,6 +76,25 @@ 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
|
+
* inspect: { // WilmaChatInspect
|
|
83
|
+
* outcome: "done" || "stopped" || "failed", // required
|
|
84
|
+
* durationMs: Number("int"),
|
|
85
|
+
* toolCount: Number("int"), // required
|
|
86
|
+
* failedCount: Number("int"), // required
|
|
87
|
+
* },
|
|
88
|
+
* artifacts: [ // WilmaChatArtifactCardList
|
|
89
|
+
* { // WilmaChatArtifactCard
|
|
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
|
+
* },
|
|
79
98
|
* },
|
|
80
99
|
* ],
|
|
81
100
|
* attachments: [ // MessageAttachmentRequestList
|
|
@@ -204,6 +223,25 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
204
223
|
* // },
|
|
205
224
|
* // },
|
|
206
225
|
* // ],
|
|
226
|
+
* // wilma: { // WilmaChatElement
|
|
227
|
+
* // sessionId: "STRING_VALUE", // required
|
|
228
|
+
* // verbosity: "none" || "simple" || "full", // required
|
|
229
|
+
* // inspect: { // WilmaChatInspect
|
|
230
|
+
* // outcome: "done" || "stopped" || "failed", // required
|
|
231
|
+
* // durationMs: Number("int"),
|
|
232
|
+
* // toolCount: Number("int"), // required
|
|
233
|
+
* // failedCount: Number("int"), // required
|
|
234
|
+
* // },
|
|
235
|
+
* // artifacts: [ // WilmaChatArtifactCardList
|
|
236
|
+
* // { // WilmaChatArtifactCard
|
|
237
|
+
* // artifactId: "STRING_VALUE", // required
|
|
238
|
+
* // title: "STRING_VALUE", // required
|
|
239
|
+
* // kind: "STRING_VALUE", // required
|
|
240
|
+
* // size: Number("long"), // required
|
|
241
|
+
* // name: "STRING_VALUE",
|
|
242
|
+
* // },
|
|
243
|
+
* // ],
|
|
244
|
+
* // },
|
|
207
245
|
* // },
|
|
208
246
|
* // ],
|
|
209
247
|
* // whatsapp: true || false,
|
|
@@ -133,6 +133,25 @@ 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
|
+
* // inspect: { // WilmaChatInspect
|
|
140
|
+
* // outcome: "done" || "stopped" || "failed", // required
|
|
141
|
+
* // durationMs: Number("int"),
|
|
142
|
+
* // toolCount: Number("int"), // required
|
|
143
|
+
* // failedCount: Number("int"), // required
|
|
144
|
+
* // },
|
|
145
|
+
* // artifacts: [ // WilmaChatArtifactCardList
|
|
146
|
+
* // { // WilmaChatArtifactCard
|
|
147
|
+
* // artifactId: "STRING_VALUE", // required
|
|
148
|
+
* // title: "STRING_VALUE", // required
|
|
149
|
+
* // kind: "STRING_VALUE", // required
|
|
150
|
+
* // size: Number("long"), // required
|
|
151
|
+
* // name: "STRING_VALUE",
|
|
152
|
+
* // },
|
|
153
|
+
* // ],
|
|
154
|
+
* // },
|
|
136
155
|
* // },
|
|
137
156
|
* // ],
|
|
138
157
|
* // whatsapp: true || false,
|
|
@@ -152,6 +152,25 @@ 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
|
+
* // inspect: { // WilmaChatInspect
|
|
159
|
+
* // outcome: "done" || "stopped" || "failed", // required
|
|
160
|
+
* // durationMs: Number("int"),
|
|
161
|
+
* // toolCount: Number("int"), // required
|
|
162
|
+
* // failedCount: Number("int"), // required
|
|
163
|
+
* // },
|
|
164
|
+
* // artifacts: [ // WilmaChatArtifactCardList
|
|
165
|
+
* // { // WilmaChatArtifactCard
|
|
166
|
+
* // artifactId: "STRING_VALUE", // required
|
|
167
|
+
* // title: "STRING_VALUE", // required
|
|
168
|
+
* // kind: "STRING_VALUE", // required
|
|
169
|
+
* // size: Number("long"), // required
|
|
170
|
+
* // name: "STRING_VALUE",
|
|
171
|
+
* // },
|
|
172
|
+
* // ],
|
|
173
|
+
* // },
|
|
155
174
|
* // },
|
|
156
175
|
* // ],
|
|
157
176
|
* // whatsapp: true || false,
|
|
@@ -148,6 +148,25 @@ 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
|
+
* // inspect: { // WilmaChatInspect
|
|
155
|
+
* // outcome: "done" || "stopped" || "failed", // required
|
|
156
|
+
* // durationMs: Number("int"),
|
|
157
|
+
* // toolCount: Number("int"), // required
|
|
158
|
+
* // failedCount: Number("int"), // required
|
|
159
|
+
* // },
|
|
160
|
+
* // artifacts: [ // WilmaChatArtifactCardList
|
|
161
|
+
* // { // WilmaChatArtifactCard
|
|
162
|
+
* // artifactId: "STRING_VALUE", // required
|
|
163
|
+
* // title: "STRING_VALUE", // required
|
|
164
|
+
* // kind: "STRING_VALUE", // required
|
|
165
|
+
* // size: Number("long"), // required
|
|
166
|
+
* // name: "STRING_VALUE",
|
|
167
|
+
* // },
|
|
168
|
+
* // ],
|
|
169
|
+
* // },
|
|
151
170
|
* // },
|
|
152
171
|
* // ],
|
|
153
172
|
* // whatsapp: true || false,
|
|
@@ -73,6 +73,25 @@ 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
|
+
* inspect: { // WilmaChatInspect
|
|
80
|
+
* outcome: "done" || "stopped" || "failed", // required
|
|
81
|
+
* durationMs: Number("int"),
|
|
82
|
+
* toolCount: Number("int"), // required
|
|
83
|
+
* failedCount: Number("int"), // required
|
|
84
|
+
* },
|
|
85
|
+
* artifacts: [ // WilmaChatArtifactCardList
|
|
86
|
+
* { // WilmaChatArtifactCard
|
|
87
|
+
* artifactId: "STRING_VALUE", // required
|
|
88
|
+
* title: "STRING_VALUE", // required
|
|
89
|
+
* kind: "STRING_VALUE", // required
|
|
90
|
+
* size: Number("long"), // required
|
|
91
|
+
* name: "STRING_VALUE",
|
|
92
|
+
* },
|
|
93
|
+
* ],
|
|
94
|
+
* },
|
|
76
95
|
* },
|
|
77
96
|
* ],
|
|
78
97
|
* attachments: [ // MessageAttachmentRequestList
|
|
@@ -200,6 +219,25 @@ declare const SendMessageCommand_base: {
|
|
|
200
219
|
* // },
|
|
201
220
|
* // },
|
|
202
221
|
* // ],
|
|
222
|
+
* // wilma: { // WilmaChatElement
|
|
223
|
+
* // sessionId: "STRING_VALUE", // required
|
|
224
|
+
* // verbosity: "none" || "simple" || "full", // required
|
|
225
|
+
* // inspect: { // WilmaChatInspect
|
|
226
|
+
* // outcome: "done" || "stopped" || "failed", // required
|
|
227
|
+
* // durationMs: Number("int"),
|
|
228
|
+
* // toolCount: Number("int"), // required
|
|
229
|
+
* // failedCount: Number("int"), // required
|
|
230
|
+
* // },
|
|
231
|
+
* // artifacts: [ // WilmaChatArtifactCardList
|
|
232
|
+
* // { // WilmaChatArtifactCard
|
|
233
|
+
* // artifactId: "STRING_VALUE", // required
|
|
234
|
+
* // title: "STRING_VALUE", // required
|
|
235
|
+
* // kind: "STRING_VALUE", // required
|
|
236
|
+
* // size: Number("long"), // required
|
|
237
|
+
* // name: "STRING_VALUE",
|
|
238
|
+
* // },
|
|
239
|
+
* // ],
|
|
240
|
+
* // },
|
|
203
241
|
* // },
|
|
204
242
|
* // ],
|
|
205
243
|
* // whatsapp: true || false,
|
|
@@ -134,6 +134,25 @@ 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
|
+
* // inspect: { // WilmaChatInspect
|
|
141
|
+
* // outcome: "done" || "stopped" || "failed", // required
|
|
142
|
+
* // durationMs: Number("int"),
|
|
143
|
+
* // toolCount: Number("int"), // required
|
|
144
|
+
* // failedCount: Number("int"), // required
|
|
145
|
+
* // },
|
|
146
|
+
* // artifacts: [ // WilmaChatArtifactCardList
|
|
147
|
+
* // { // WilmaChatArtifactCard
|
|
148
|
+
* // artifactId: "STRING_VALUE", // required
|
|
149
|
+
* // title: "STRING_VALUE", // required
|
|
150
|
+
* // kind: "STRING_VALUE", // required
|
|
151
|
+
* // size: Number("long"), // required
|
|
152
|
+
* // name: "STRING_VALUE",
|
|
153
|
+
* // },
|
|
154
|
+
* // ],
|
|
155
|
+
* // },
|
|
137
156
|
* // },
|
|
138
157
|
* // ],
|
|
139
158
|
* // whatsapp: true || false,
|
|
@@ -142,6 +142,25 @@ 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
|
+
* // inspect: { // WilmaChatInspect
|
|
149
|
+
* // outcome: "done" || "stopped" || "failed", // required
|
|
150
|
+
* // durationMs: Number("int"),
|
|
151
|
+
* // toolCount: Number("int"), // required
|
|
152
|
+
* // failedCount: Number("int"), // required
|
|
153
|
+
* // },
|
|
154
|
+
* // artifacts: [ // WilmaChatArtifactCardList
|
|
155
|
+
* // { // WilmaChatArtifactCard
|
|
156
|
+
* // artifactId: "STRING_VALUE", // required
|
|
157
|
+
* // title: "STRING_VALUE", // required
|
|
158
|
+
* // kind: "STRING_VALUE", // required
|
|
159
|
+
* // size: Number("long"), // required
|
|
160
|
+
* // name: "STRING_VALUE",
|
|
161
|
+
* // },
|
|
162
|
+
* // ],
|
|
163
|
+
* // },
|
|
145
164
|
* // },
|
|
146
165
|
* // ],
|
|
147
166
|
* // whatsapp: true || false,
|
|
@@ -133,6 +133,25 @@ 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
|
+
* // inspect: { // WilmaChatInspect
|
|
140
|
+
* // outcome: "done" || "stopped" || "failed", // required
|
|
141
|
+
* // durationMs: Number("int"),
|
|
142
|
+
* // toolCount: Number("int"), // required
|
|
143
|
+
* // failedCount: Number("int"), // required
|
|
144
|
+
* // },
|
|
145
|
+
* // artifacts: [ // WilmaChatArtifactCardList
|
|
146
|
+
* // { // WilmaChatArtifactCard
|
|
147
|
+
* // artifactId: "STRING_VALUE", // required
|
|
148
|
+
* // title: "STRING_VALUE", // required
|
|
149
|
+
* // kind: "STRING_VALUE", // required
|
|
150
|
+
* // size: Number("long"), // required
|
|
151
|
+
* // name: "STRING_VALUE",
|
|
152
|
+
* // },
|
|
153
|
+
* // ],
|
|
154
|
+
* // },
|
|
136
155
|
* // },
|
|
137
156
|
* // ],
|
|
138
157
|
* // whatsapp: true || false,
|
|
@@ -73,6 +73,25 @@ declare const UpdateMessageCommand_base: {
|
|
|
73
73
|
* },
|
|
74
74
|
* },
|
|
75
75
|
* ],
|
|
76
|
+
* wilma: { // WilmaChatElement
|
|
77
|
+
* sessionId: "STRING_VALUE", // required
|
|
78
|
+
* verbosity: "none" || "simple" || "full", // required
|
|
79
|
+
* inspect: { // WilmaChatInspect
|
|
80
|
+
* outcome: "done" || "stopped" || "failed", // required
|
|
81
|
+
* durationMs: Number("int"),
|
|
82
|
+
* toolCount: Number("int"), // required
|
|
83
|
+
* failedCount: Number("int"), // required
|
|
84
|
+
* },
|
|
85
|
+
* artifacts: [ // WilmaChatArtifactCardList
|
|
86
|
+
* { // WilmaChatArtifactCard
|
|
87
|
+
* artifactId: "STRING_VALUE", // required
|
|
88
|
+
* title: "STRING_VALUE", // required
|
|
89
|
+
* kind: "STRING_VALUE", // required
|
|
90
|
+
* size: Number("long"), // required
|
|
91
|
+
* name: "STRING_VALUE",
|
|
92
|
+
* },
|
|
93
|
+
* ],
|
|
94
|
+
* },
|
|
76
95
|
* },
|
|
77
96
|
* ],
|
|
78
97
|
* attachments: [ // MessageAttachmentRequestList
|
|
@@ -199,6 +218,25 @@ declare const UpdateMessageCommand_base: {
|
|
|
199
218
|
* // },
|
|
200
219
|
* // },
|
|
201
220
|
* // ],
|
|
221
|
+
* // wilma: { // WilmaChatElement
|
|
222
|
+
* // sessionId: "STRING_VALUE", // required
|
|
223
|
+
* // verbosity: "none" || "simple" || "full", // required
|
|
224
|
+
* // inspect: { // WilmaChatInspect
|
|
225
|
+
* // outcome: "done" || "stopped" || "failed", // required
|
|
226
|
+
* // durationMs: Number("int"),
|
|
227
|
+
* // toolCount: Number("int"), // required
|
|
228
|
+
* // failedCount: Number("int"), // required
|
|
229
|
+
* // },
|
|
230
|
+
* // artifacts: [ // WilmaChatArtifactCardList
|
|
231
|
+
* // { // WilmaChatArtifactCard
|
|
232
|
+
* // artifactId: "STRING_VALUE", // required
|
|
233
|
+
* // title: "STRING_VALUE", // required
|
|
234
|
+
* // kind: "STRING_VALUE", // required
|
|
235
|
+
* // size: Number("long"), // required
|
|
236
|
+
* // name: "STRING_VALUE",
|
|
237
|
+
* // },
|
|
238
|
+
* // ],
|
|
239
|
+
* // },
|
|
202
240
|
* // },
|
|
203
241
|
* // ],
|
|
204
242
|
* // whatsapp: true || false,
|
|
@@ -177,6 +177,32 @@ export declare const GroupChannelCreationEventType: {
|
|
|
177
177
|
* @public
|
|
178
178
|
*/
|
|
179
179
|
export type GroupChannelCreationEventType = (typeof GroupChannelCreationEventType)[keyof typeof GroupChannelCreationEventType];
|
|
180
|
+
/**
|
|
181
|
+
* @public
|
|
182
|
+
* @enum
|
|
183
|
+
*/
|
|
184
|
+
export declare const WilmaChatInspectOutcome: {
|
|
185
|
+
readonly DONE: "done";
|
|
186
|
+
readonly FAILED: "failed";
|
|
187
|
+
readonly STOPPED: "stopped";
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
export type WilmaChatInspectOutcome = (typeof WilmaChatInspectOutcome)[keyof typeof WilmaChatInspectOutcome];
|
|
193
|
+
/**
|
|
194
|
+
* @public
|
|
195
|
+
* @enum
|
|
196
|
+
*/
|
|
197
|
+
export declare const WilmaChatVerbosity: {
|
|
198
|
+
readonly FULL: "full";
|
|
199
|
+
readonly NONE: "none";
|
|
200
|
+
readonly SIMPLE: "simple";
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* @public
|
|
204
|
+
*/
|
|
205
|
+
export type WilmaChatVerbosity = (typeof WilmaChatVerbosity)[keyof typeof WilmaChatVerbosity];
|
|
180
206
|
/**
|
|
181
207
|
* @public
|
|
182
208
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AssignChannelVariant, AttachmentType, ButtonVariant, ChannelAccess, ChannelContextEventAttendeeStatus, ChannelContextSource, ChannelMemberRole, ChannelMessagingStatus, ChannelsFilter, ChannelType, ChannelWhatsAppStatus, DownloadStrategy, FileCategory, GroupChannelCreationEventType, GroupChannelUnsetOptions, MentionsFilter, MessageAnchor, MessageMessagingStatus, MessageSmsStatus, MessageType, MessageUnsetFields, MessageWhatsAppStatus, MessagingChannel, SearchSort, SectionType } from "./enums";
|
|
1
|
+
import type { AssignChannelVariant, AttachmentType, ButtonVariant, ChannelAccess, ChannelContextEventAttendeeStatus, ChannelContextSource, ChannelMemberRole, ChannelMessagingStatus, ChannelsFilter, ChannelType, ChannelWhatsAppStatus, DownloadStrategy, FileCategory, GroupChannelCreationEventType, GroupChannelUnsetOptions, MentionsFilter, MessageAnchor, MessageMessagingStatus, MessageSmsStatus, MessageType, MessageUnsetFields, MessageWhatsAppStatus, MessagingChannel, SearchSort, SectionType, WilmaChatInspectOutcome, WilmaChatVerbosity } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -816,9 +816,44 @@ export interface MessageTemplateConfig {
|
|
|
816
816
|
whatsapp?: TemplateWithParameters | undefined;
|
|
817
817
|
}
|
|
818
818
|
/**
|
|
819
|
+
* Artifact card under a Wilma chat bubble. File bytes stay in the artifacts store; open uses artifactId.
|
|
819
820
|
* @public
|
|
820
821
|
*/
|
|
821
|
-
export
|
|
822
|
+
export interface WilmaChatArtifactCard {
|
|
823
|
+
artifactId: string;
|
|
824
|
+
title: string;
|
|
825
|
+
kind: string;
|
|
826
|
+
size: number;
|
|
827
|
+
name?: string | undefined;
|
|
828
|
+
}
|
|
829
|
+
/**
|
|
830
|
+
* Inspect caption under a Wilma chat bubble. Tool input and output are not stored here; the client loads them with GetSessionEvents using sessionId.
|
|
831
|
+
* @public
|
|
832
|
+
*/
|
|
833
|
+
export interface WilmaChatInspect {
|
|
834
|
+
outcome: WilmaChatInspectOutcome;
|
|
835
|
+
durationMs?: number | undefined;
|
|
836
|
+
toolCount: number;
|
|
837
|
+
failedCount: number;
|
|
838
|
+
}
|
|
839
|
+
/**
|
|
840
|
+
* Snapshot painted under a Wilma chat agent message: inspect caption and artifact cards, plus ids to open details. Not reply buttons.
|
|
841
|
+
* @public
|
|
842
|
+
*/
|
|
843
|
+
export interface WilmaChatElement {
|
|
844
|
+
sessionId: string;
|
|
845
|
+
verbosity: WilmaChatVerbosity;
|
|
846
|
+
/**
|
|
847
|
+
* Inspect caption under a Wilma chat bubble. Tool input and output are not stored here; the client loads them with GetSessionEvents using sessionId.
|
|
848
|
+
* @public
|
|
849
|
+
*/
|
|
850
|
+
inspect?: WilmaChatInspect | undefined;
|
|
851
|
+
artifacts?: WilmaChatArtifactCard[] | undefined;
|
|
852
|
+
}
|
|
853
|
+
/**
|
|
854
|
+
* @public
|
|
855
|
+
*/
|
|
856
|
+
export type Element = Element.ActionsMember | Element.TemplateMember | Element.WilmaMember | Element.$UnknownMember;
|
|
822
857
|
/**
|
|
823
858
|
* @public
|
|
824
859
|
*/
|
|
@@ -826,11 +861,23 @@ export declare namespace Element {
|
|
|
826
861
|
interface TemplateMember {
|
|
827
862
|
template: MessageTemplateConfig;
|
|
828
863
|
actions?: never;
|
|
864
|
+
wilma?: never;
|
|
829
865
|
$unknown?: never;
|
|
830
866
|
}
|
|
831
867
|
interface ActionsMember {
|
|
832
868
|
template?: never;
|
|
833
869
|
actions: ActionElement[];
|
|
870
|
+
wilma?: never;
|
|
871
|
+
$unknown?: never;
|
|
872
|
+
}
|
|
873
|
+
/**
|
|
874
|
+
* Snapshot painted under a Wilma chat agent message: inspect caption and artifact cards, plus ids to open details. Not reply buttons.
|
|
875
|
+
* @public
|
|
876
|
+
*/
|
|
877
|
+
interface WilmaMember {
|
|
878
|
+
template?: never;
|
|
879
|
+
actions?: never;
|
|
880
|
+
wilma: WilmaChatElement;
|
|
834
881
|
$unknown?: never;
|
|
835
882
|
}
|
|
836
883
|
/**
|
|
@@ -839,6 +886,7 @@ export declare namespace Element {
|
|
|
839
886
|
interface $UnknownMember {
|
|
840
887
|
template?: never;
|
|
841
888
|
actions?: never;
|
|
889
|
+
wilma?: never;
|
|
842
890
|
$unknown: [string, any];
|
|
843
891
|
}
|
|
844
892
|
/**
|
|
@@ -848,6 +896,7 @@ export declare namespace Element {
|
|
|
848
896
|
interface Visitor<T> {
|
|
849
897
|
template: (value: MessageTemplateConfig) => T;
|
|
850
898
|
actions: (value: ActionElement[]) => T;
|
|
899
|
+
wilma: (value: WilmaChatElement) => T;
|
|
851
900
|
_: (name: string, value: any) => T;
|
|
852
901
|
}
|
|
853
902
|
}
|
|
@@ -39,6 +39,7 @@ export declare const getRuntimeConfig: (config: StreamServiceClientConfig) => {
|
|
|
39
39
|
tls?: boolean;
|
|
40
40
|
useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
41
41
|
useFipsEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
42
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
42
43
|
serviceConfiguredEndpoint?: never;
|
|
43
44
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
44
45
|
httpAuthSchemes: {
|
|
@@ -39,6 +39,7 @@ export declare const getRuntimeConfig: (config: StreamServiceClientConfig) => {
|
|
|
39
39
|
tls?: boolean;
|
|
40
40
|
useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
41
41
|
useFipsEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
42
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
42
43
|
serviceConfiguredEndpoint?: never;
|
|
43
44
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
44
45
|
httpAuthSchemes: {
|
|
@@ -39,6 +39,7 @@ export declare const getRuntimeConfig: (config: StreamServiceClientConfig) => {
|
|
|
39
39
|
tls?: boolean;
|
|
40
40
|
useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
41
41
|
useFipsEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
42
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
42
43
|
serviceConfiguredEndpoint?: never;
|
|
43
44
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
44
45
|
httpAuthSchemes: {
|
|
@@ -183,6 +183,9 @@ export declare var UploadFileOutput$: StaticStructureSchema;
|
|
|
183
183
|
export declare var UserToInvite$: StaticStructureSchema;
|
|
184
184
|
export declare var WelcomeMessage$: StaticStructureSchema;
|
|
185
185
|
export declare var WhatsAppClosedSystemMessage$: StaticStructureSchema;
|
|
186
|
+
export declare var WilmaChatArtifactCard$: StaticStructureSchema;
|
|
187
|
+
export declare var WilmaChatElement$: StaticStructureSchema;
|
|
188
|
+
export declare var WilmaChatInspect$: StaticStructureSchema;
|
|
186
189
|
export declare var ActionElement$: StaticUnionSchema;
|
|
187
190
|
export declare var AssignChannelAssigneeRequest$: StaticUnionSchema;
|
|
188
191
|
export declare var AssignChannelServiceRequest$: StaticUnionSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/stream-client",
|
|
3
3
|
"description": "@wildix/stream-client client",
|
|
4
|
-
"version": "4.1.
|
|
4
|
+
"version": "4.1.11",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"@smithy/fetch-http-handler": "^5.4.5",
|
|
26
26
|
"@smithy/node-http-handler": "^4.7.5",
|
|
27
27
|
"@smithy/types": "^4.14.2",
|
|
28
|
-
"@wildix/smithy-react-native": "^1.0.0"
|
|
28
|
+
"@wildix/smithy-react-native": "^1.0.0",
|
|
29
|
+
"@smithy/middleware-endpoint": "^4.7.2"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
31
32
|
"@tsconfig/node20": "20.1.8",
|