@wildix/wilma-copilot-sessions-client 1.0.6 → 1.0.8

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.
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WilmaCopilotSessions = void 0;
4
4
  const client_1 = require("@smithy/core/client");
5
+ const ActCommand_1 = require("./commands/ActCommand");
5
6
  const AskCommand_1 = require("./commands/AskCommand");
6
7
  const EnrichCommand_1 = require("./commands/EnrichCommand");
7
8
  const GetSessionEventsCommand_1 = require("./commands/GetSessionEventsCommand");
@@ -9,8 +10,10 @@ const ListSessionsCommand_1 = require("./commands/ListSessionsCommand");
9
10
  const OpenCommand_1 = require("./commands/OpenCommand");
10
11
  const ResolveCommand_1 = require("./commands/ResolveCommand");
11
12
  const StreamSessionEventsCommand_1 = require("./commands/StreamSessionEventsCommand");
13
+ const TrackCommand_1 = require("./commands/TrackCommand");
12
14
  const WilmaCopilotSessionsClient_1 = require("./WilmaCopilotSessionsClient");
13
15
  const commands = {
16
+ ActCommand: ActCommand_1.ActCommand,
14
17
  AskCommand: AskCommand_1.AskCommand,
15
18
  EnrichCommand: EnrichCommand_1.EnrichCommand,
16
19
  GetSessionEventsCommand: GetSessionEventsCommand_1.GetSessionEventsCommand,
@@ -18,6 +21,7 @@ const commands = {
18
21
  OpenCommand: OpenCommand_1.OpenCommand,
19
22
  ResolveCommand: ResolveCommand_1.ResolveCommand,
20
23
  StreamSessionEventsCommand: StreamSessionEventsCommand_1.StreamSessionEventsCommand,
24
+ TrackCommand: TrackCommand_1.TrackCommand,
21
25
  };
22
26
  class WilmaCopilotSessions extends WilmaCopilotSessionsClient_1.WilmaCopilotSessionsClient {
23
27
  }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ActCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class ActCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaCopilotSessions", "Act", {})
16
+ .n("WilmaCopilotSessionsClient", "ActCommand")
17
+ .sc(schemas_0_1.Act$)
18
+ .build() {
19
+ }
20
+ exports.ActCommand = ActCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TrackCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class TrackCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaCopilotSessions", "Track", {})
16
+ .n("WilmaCopilotSessionsClient", "TrackCommand")
17
+ .sc(schemas_0_1.Track$)
18
+ .build() {
19
+ }
20
+ exports.TrackCommand = TrackCommand;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./ActCommand"), exports);
4
5
  tslib_1.__exportStar(require("./AskCommand"), exports);
5
6
  tslib_1.__exportStar(require("./EnrichCommand"), exports);
6
7
  tslib_1.__exportStar(require("./GetSessionEventsCommand"), exports);
@@ -8,3 +9,4 @@ tslib_1.__exportStar(require("./ListSessionsCommand"), exports);
8
9
  tslib_1.__exportStar(require("./OpenCommand"), exports);
9
10
  tslib_1.__exportStar(require("./ResolveCommand"), exports);
10
11
  tslib_1.__exportStar(require("./StreamSessionEventsCommand"), exports);
12
+ tslib_1.__exportStar(require("./TrackCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CopilotSessionStatus = exports.CopilotLifecycleReason = exports.CopilotIngestedSessionState = exports.CopilotConversationKind = exports.AssetSeverity = exports.AssetIcon = exports.LiveEventType = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.ButtonVariant = exports.TranscriptionSentiment = exports.CallTranscriptionSpeaker = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.License = void 0;
3
+ exports.CopilotSessionStatus = exports.CopilotLifecycleReason = exports.CopilotIngestedSessionState = exports.CopilotConversationKind = exports.CopilotActionStatus = exports.AssetSeverity = exports.AssetIcon = exports.LiveEventType = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.ButtonVariant = exports.TranscriptionSentiment = exports.CallTranscriptionSpeaker = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.License = void 0;
4
4
  exports.License = {
5
5
  UC: "uc",
6
6
  XBEES: "x-bees",
@@ -122,6 +122,11 @@ exports.AssetSeverity = {
122
122
  SUCCESS: "success",
123
123
  WARNING: "warning",
124
124
  };
125
+ exports.CopilotActionStatus = {
126
+ COMPLETED: "completed",
127
+ FAILED: "failed",
128
+ LAUNCHED: "launched",
129
+ };
125
130
  exports.CopilotConversationKind = {
126
131
  APP: "app",
127
132
  CALL: "call",
@@ -1,23 +1,30 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MessageQuote$ = exports.MessageGiphy$ = exports.MessageForward$ = exports.MessageAttachment$ = exports.Message$ = exports.ButtonReplyHandler$ = exports.ButtonLinkHandler$ = exports.ButtonElement$ = exports.ButtonActionHandler$ = exports.StreamSessionEventsOutput$ = exports.StreamSessionEventsInput$ = exports.ResolveOutput$ = exports.ResolveInput$ = exports.OpenOutput$ = exports.OpenInput$ = exports.ListSessionsOutput$ = exports.ListSessionsInput$ = exports.GetSessionEventsOutput$ = exports.GetSessionEventsInput$ = exports.EnrichOutput$ = exports.EnrichInput$ = exports.CopilotTranscriptionEvent$ = exports.CopilotSessionSummary$ = exports.CopilotRelationshipEvent$ = exports.CopilotLifecycleEvent$ = exports.CopilotIntentEvent$ = exports.CopilotIngestedSession$ = exports.CopilotEvaluationEvent$ = exports.CopilotContextLookup$ = exports.CopilotContextEntity$ = exports.CopilotContextConversation$ = exports.CopilotAssistantEvent$ = exports.CopilotAssetEvent$ = exports.CopilotAskEvent$ = exports.AskOutput$ = exports.AskInput$ = exports.ConferenceTranscriptionChunk$ = exports.ConferenceParticipant$ = exports.ConferenceAnalyticsLiveTranscriptionEvent$ = exports.ChatAnalyticsLiveTranscriptionEvent$ = exports.CallTranscriptionChunk$ = exports.CallParticipant$ = exports.CallAnalyticsLiveTranscriptionEvent$ = exports.TemplateWithParameters$ = exports.TemplateParameter$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.NotFoundException$ = exports.ForbiddenException$ = exports.WilmaCopilotSessionsServiceException$ = void 0;
4
- exports.StreamSessionEvents$ = exports.Resolve$ = exports.Open$ = exports.ListSessions$ = exports.GetSessionEvents$ = exports.Enrich$ = exports.Ask$ = exports.Element$ = exports.ButtonHandler$ = exports.ActionElement$ = exports.CopilotTranscriptionData$ = exports.CopilotSessionEvent$ = exports.User$ = exports.Reaction$ = exports.MessageTemplateConfig$ = void 0;
5
- const _A = "Ask";
3
+ exports.ButtonActionHandler$ = exports.TrackOutput$ = exports.TrackInput$ = exports.StreamSessionEventsOutput$ = exports.StreamSessionEventsInput$ = exports.SmartActionClientAction$ = exports.ResolveOutput$ = exports.ResolveInput$ = exports.OpenOutput$ = exports.OpenInput$ = exports.ListSessionsOutput$ = exports.ListSessionsInput$ = exports.KnowledgeSearchClientAction$ = exports.GetSessionEventsOutput$ = exports.GetSessionEventsInput$ = exports.EnrichOutput$ = exports.EnrichInput$ = exports.CopilotTranscriptionEvent$ = exports.CopilotSessionSummary$ = exports.CopilotRelationshipEvent$ = exports.CopilotLifecycleEvent$ = exports.CopilotIntentEvent$ = exports.CopilotIngestedSession$ = exports.CopilotEvaluationEvent$ = exports.CopilotContextLookup$ = exports.CopilotContextEntity$ = exports.CopilotContextConversation$ = exports.CopilotAssistantEvent$ = exports.CopilotAssetView$ = exports.CopilotAssetEvent$ = exports.CopilotAskEvent$ = exports.CopilotActionEvent$ = exports.AskOutput$ = exports.AskInput$ = exports.ActOutput$ = exports.ActInput$ = exports.ConferenceTranscriptionChunk$ = exports.ConferenceParticipant$ = exports.ConferenceAnalyticsLiveTranscriptionEvent$ = exports.ChatAnalyticsLiveTranscriptionEvent$ = exports.CallTranscriptionChunk$ = exports.CallParticipant$ = exports.CallAnalyticsLiveTranscriptionEvent$ = exports.TemplateWithParameters$ = exports.TemplateParameter$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.NotFoundException$ = exports.ForbiddenException$ = exports.WilmaCopilotSessionsServiceException$ = void 0;
4
+ exports.Track$ = exports.StreamSessionEvents$ = exports.Resolve$ = exports.Open$ = exports.ListSessions$ = exports.GetSessionEvents$ = exports.Enrich$ = exports.Ask$ = exports.Act$ = exports.Element$ = exports.ButtonHandler$ = exports.ActionElement$ = exports.CopilotTranscriptionData$ = exports.CopilotSessionEvent$ = exports.CopilotClientAction$ = exports.User$ = exports.Reaction$ = exports.MessageTemplateConfig$ = exports.MessageQuote$ = exports.MessageGiphy$ = exports.MessageForward$ = exports.MessageAttachment$ = exports.Message$ = exports.ButtonReplyHandler$ = exports.ButtonLinkHandler$ = exports.ButtonElement$ = void 0;
5
+ const _A = "Act";
6
6
  const _AE = "ActionElement";
7
7
  const _AEL = "ActionsElementsList";
8
- const _AI = "AskInput";
9
- const _AO = "AskOutput";
8
+ const _AI = "ActInput";
9
+ const _AIs = "AskInput";
10
+ const _AO = "ActOutput";
11
+ const _AOs = "AskOutput";
12
+ const _As = "Ask";
10
13
  const _BAH = "ButtonActionHandler";
11
14
  const _BE = "ButtonElement";
12
15
  const _BH = "ButtonHandler";
13
16
  const _BLH = "ButtonLinkHandler";
14
17
  const _BRH = "ButtonReplyHandler";
15
- const _CAE = "CopilotAskEvent";
16
- const _CAEo = "CopilotAssetEvent";
17
- const _CAEop = "CopilotAssistantEvent";
18
+ const _CAE = "CopilotActionEvent";
19
+ const _CAEo = "CopilotAskEvent";
20
+ const _CAEop = "CopilotAssetEvent";
21
+ const _CAEopi = "CopilotAssistantEvent";
18
22
  const _CALTE = "CallAnalyticsLiveTranscriptionEvent";
19
23
  const _CALTEh = "ChatAnalyticsLiveTranscriptionEvent";
20
24
  const _CALTEo = "ConferenceAnalyticsLiveTranscriptionEvent";
25
+ const _CAV = "CopilotAssetView";
26
+ const _CAVo = "CopilotAssetViews";
27
+ const _CCA = "CopilotClientAction";
21
28
  const _CCC = "CopilotContextConversation";
22
29
  const _CCE = "CopilotContextEntity";
23
30
  const _CCEL = "CopilotContextEntityList";
@@ -48,6 +55,7 @@ const _FE = "ForbiddenException";
48
55
  const _GSE = "GetSessionEvents";
49
56
  const _GSEI = "GetSessionEventsInput";
50
57
  const _GSEO = "GetSessionEventsOutput";
58
+ const _KSCA = "KnowledgeSearchClientAction";
51
59
  const _LS = "ListSessions";
52
60
  const _LSI = "ListSessionsInput";
53
61
  const _LSO = "ListSessionsOutput";
@@ -68,22 +76,30 @@ const _RI = "ResolveInput";
68
76
  const _RL = "ReactionList";
69
77
  const _RO = "ResolveOutput";
70
78
  const _Re = "Resolve";
79
+ const _SACA = "SmartActionClientAction";
71
80
  const _SSE = "StreamSessionEvents";
72
81
  const _SSEI = "StreamSessionEventsInput";
73
82
  const _SSEO = "StreamSessionEventsOutput";
83
+ const _T = "Track";
84
+ const _TI = "TrackInput";
85
+ const _TO = "TrackOutput";
74
86
  const _TP = "TemplateParameter";
75
87
  const _TWP = "TemplateWithParameters";
76
88
  const _U = "User";
77
89
  const _UL = "UsersList";
78
90
  const _VE = "ValidationException";
79
- const _a = "attributes";
91
+ const _a = "action";
92
+ const _aI = "assetId";
93
+ const _aIc = "actionId";
80
94
  const _aT = "accessToken";
81
- const _ac = "action";
95
+ const _ac = "accepted";
82
96
  const _act = "actions";
83
97
  const _as = "asset";
84
98
  const _ask = "ask";
85
99
  const _ass = "assistant";
86
- const _at = "attachments";
100
+ const _at = "at";
101
+ const _att = "attributes";
102
+ const _atta = "attachments";
87
103
  const _b = "bot";
88
104
  const _bu = "button";
89
105
  const _c = "client";
@@ -139,6 +155,7 @@ const _in = "index";
139
155
  const _int = "intent";
140
156
  const _j = "jid";
141
157
  const _k = "kind";
158
+ const _kS = "knowledgeSearch";
142
159
  const _l = "licenses";
143
160
  const _lAA = "lastActivityAt";
144
161
  const _lR = "latestReactions";
@@ -172,16 +189,20 @@ const _pb = "pbx";
172
189
  const _ph = "phone";
173
190
  const _pho = "phones";
174
191
  const _pi = "picture";
175
- const _q = "quote";
192
+ const _q = "question";
193
+ const _qI = "questionId";
194
+ const _qu = "quote";
176
195
  const _r = "role";
177
196
  const _rC = "reactionCounts";
178
197
  const _rI = "relationshipId";
179
- const _re = "reason";
198
+ const _re = "result";
199
+ const _rea = "reason";
180
200
  const _rel = "related";
181
201
  const _rela = "relationship";
182
202
  const _rep = "reply";
183
203
  const _s = "smithy.ts.sdk.synthetic.wildix.wilma.copilot.sessions";
184
204
  const _sA = "startedAt";
205
+ const _sAm = "smartAction";
185
206
  const _sCI = "sipCallId";
186
207
  const _sI = "sessionId";
187
208
  const _sIt = "startIndex";
@@ -195,8 +216,8 @@ const _sm = "sms";
195
216
  const _sp = "speaker";
196
217
  const _st = "streaming";
197
218
  const _sta = "start";
198
- const _stat = "state";
199
- const _statu = "status";
219
+ const _stat = "status";
220
+ const _state = "state";
200
221
  const _sti = "sticky";
201
222
  const _sty = "styling";
202
223
  const _t = "time";
@@ -217,7 +238,9 @@ const _uE = "userExtension";
217
238
  const _uI = "userId";
218
239
  const _ur = "url";
219
240
  const _v = "value";
220
- const _va = "variant";
241
+ const _va = "variables";
242
+ const _var = "variant";
243
+ const _vi = "views";
221
244
  const _w = "whatsapp";
222
245
  const _wS = "whatsappStatus";
223
246
  const _wSI = "wilmaSessionId";
@@ -303,29 +326,49 @@ exports.ConferenceTranscriptionChunk$ = [3, n3, _CTCo,
303
326
  [_i, _t, _j, _te, _iF, _sta, _en, _la, _se],
304
327
  [0, 1, 0, 0, 2, 1, 1, 0, 0], 7
305
328
  ];
306
- exports.AskInput$ = [3, n1, _AI,
329
+ exports.ActInput$ = [3, n1, _AI,
330
+ 0,
331
+ [_sI, _a, _co],
332
+ [[0, 1], () => exports.CopilotClientAction$, [0, { [_hQ]: _co }]], 2
333
+ ];
334
+ exports.ActOutput$ = [3, n1, _AO,
335
+ 0,
336
+ [_ac],
337
+ [2], 1
338
+ ];
339
+ exports.AskInput$ = [3, n1, _AIs,
307
340
  0,
308
341
  [_sI, _wSI, _co, _aT],
309
342
  [[0, 1], 0, 0, 0], 2
310
343
  ];
311
- exports.AskOutput$ = [3, n1, _AO,
344
+ exports.AskOutput$ = [3, n1, _AOs,
312
345
  0,
313
346
  [_in],
314
347
  [1], 1
315
348
  ];
316
- exports.CopilotAskEvent$ = [3, n1, _CAE,
349
+ exports.CopilotActionEvent$ = [3, n1, _CAE,
350
+ 0,
351
+ [_in, _ti, _i, _k, _stat, _uI, _re, _e],
352
+ [1, 0, 0, 0, 0, 0, 15, 0], 5
353
+ ];
354
+ exports.CopilotAskEvent$ = [3, n1, _CAEo,
317
355
  0,
318
356
  [_in, _ti, _uI, _wSI, _aT],
319
357
  [1, 0, 0, 0, 0], 4
320
358
  ];
321
- exports.CopilotAssetEvent$ = [3, n1, _CAEo,
359
+ exports.CopilotAssetEvent$ = [3, n1, _CAEop,
322
360
  0,
323
- [_in, _ti, _i, _stat, _ic, _sty, _sti, _cont],
361
+ [_in, _ti, _i, _state, _ic, _sty, _sti, _cont],
324
362
  [1, 0, 0, 15, 0, 0, 2, 0], 4
325
363
  ];
326
- exports.CopilotAssistantEvent$ = [3, n1, _CAEop,
364
+ exports.CopilotAssetView$ = [3, n1, _CAV,
327
365
  0,
328
- [_in, _ti, _i, _stat],
366
+ [_aI, _at],
367
+ [0, 0], 1
368
+ ];
369
+ exports.CopilotAssistantEvent$ = [3, n1, _CAEopi,
370
+ 0,
371
+ [_in, _ti, _i, _state],
329
372
  [1, 0, 0, 15], 4
330
373
  ];
331
374
  exports.CopilotContextConversation$ = [3, n1, _CCC,
@@ -340,27 +383,27 @@ exports.CopilotContextEntity$ = [3, n1, _CCE,
340
383
  ];
341
384
  exports.CopilotContextLookup$ = [3, n1, _CCL,
342
385
  0,
343
- [_ema, _pho, _ent, _a],
386
+ [_ema, _pho, _ent, _att],
344
387
  [64 | 0, 64 | 0, () => CopilotContextEntityList, 128 | 0]
345
388
  ];
346
389
  exports.CopilotEvaluationEvent$ = [3, n1, _CEE,
347
390
  0,
348
- [_in, _ti, _i, _stat],
391
+ [_in, _ti, _i, _state],
349
392
  [1, 0, 0, 15], 4
350
393
  ];
351
394
  exports.CopilotIngestedSession$ = [3, n1, _CIS,
352
395
  0,
353
- [_i, _stat],
396
+ [_i, _state],
354
397
  [0, 0], 2
355
398
  ];
356
399
  exports.CopilotIntentEvent$ = [3, n1, _CIE,
357
400
  0,
358
- [_in, _ti, _i, _stat],
401
+ [_in, _ti, _i, _state],
359
402
  [1, 0, 0, 15], 4
360
403
  ];
361
404
  exports.CopilotLifecycleEvent$ = [3, n1, _CLE,
362
405
  0,
363
- [_in, _ti, _sI, _statu, _re],
406
+ [_in, _ti, _sI, _stat, _rea],
364
407
  [1, 0, 0, 0, 0], 4
365
408
  ];
366
409
  exports.CopilotRelationshipEvent$ = [3, n1, _CRE,
@@ -370,7 +413,7 @@ exports.CopilotRelationshipEvent$ = [3, n1, _CRE,
370
413
  ];
371
414
  exports.CopilotSessionSummary$ = [3, n1, _CSS,
372
415
  0,
373
- [_i, _statu, _conv, _sA, _lAA],
416
+ [_i, _stat, _conv, _sA, _lAA],
374
417
  [0, 0, () => exports.CopilotContextConversation$, 0, 0], 3
375
418
  ];
376
419
  exports.CopilotTranscriptionEvent$ = [3, n1, _CTE,
@@ -398,6 +441,11 @@ exports.GetSessionEventsOutput$ = [3, n1, _GSEO,
398
441
  [_eve, _nSI],
399
442
  [() => CopilotSessionEvents, 1], 1
400
443
  ];
444
+ exports.KnowledgeSearchClientAction$ = [3, n1, _KSCA,
445
+ 0,
446
+ [_qI, _q],
447
+ [0, 0], 1
448
+ ];
401
449
  exports.ListSessionsInput$ = [3, n1, _LSI,
402
450
  0,
403
451
  [_co, _u, _lim, _cu],
@@ -428,6 +476,11 @@ exports.ResolveOutput$ = [3, n1, _RO,
428
476
  [_ses, _rI],
429
477
  [() => CopilotSessionSummaryList, 0], 1
430
478
  ];
479
+ exports.SmartActionClientAction$ = [3, n1, _SACA,
480
+ 0,
481
+ [_aI, _aIc, _va],
482
+ [0, 0, 15], 2
483
+ ];
431
484
  exports.StreamSessionEventsInput$ = [3, n1, _SSEI,
432
485
  0,
433
486
  [_sI, _co, _sIt],
@@ -438,6 +491,16 @@ exports.StreamSessionEventsOutput$ = [3, n1, _SSEO,
438
491
  [_eve, _cT],
439
492
  [[() => CopilotSessionEventStreamBody, 16], [0, { [_hH]: _CT }]], 2
440
493
  ];
494
+ exports.TrackInput$ = [3, n1, _TI,
495
+ 0,
496
+ [_sI, _vi, _co],
497
+ [[0, 1], () => CopilotAssetViews, [0, { [_hQ]: _co }]], 2
498
+ ];
499
+ exports.TrackOutput$ = [3, n1, _TO,
500
+ 0,
501
+ [_ac],
502
+ [2], 1
503
+ ];
441
504
  exports.ButtonActionHandler$ = [3, n4, _BAH,
442
505
  0,
443
506
  [_i],
@@ -445,7 +508,7 @@ exports.ButtonActionHandler$ = [3, n4, _BAH,
445
508
  ];
446
509
  exports.ButtonElement$ = [3, n4, _BE,
447
510
  0,
448
- [_te, _h, _va, _di],
511
+ [_te, _h, _var, _di],
449
512
  [0, () => exports.ButtonHandler$, 0, 2], 2
450
513
  ];
451
514
  exports.ButtonLinkHandler$ = [3, n4, _BLH,
@@ -460,7 +523,7 @@ exports.ButtonReplyHandler$ = [3, n4, _BRH,
460
523
  ];
461
524
  exports.Message$ = [3, n4, _M,
462
525
  0,
463
- [_ty, _mI, _cIh, _u, _cA, _te, _el, _at, _q, _f, _w, _wS, _sm, _sS, _ma, _g, _si, _ev, _ed, _me, _lR, _rC, _uAp],
526
+ [_ty, _mI, _cIh, _u, _cA, _te, _el, _atta, _qu, _f, _w, _wS, _sm, _sS, _ma, _g, _si, _ev, _ed, _me, _lR, _rC, _uAp],
464
527
  [0, 0, 0, () => exports.User$, 0, 0, () => ElementsList, () => MessageAttachmentList, () => exports.MessageQuote$, () => exports.MessageForward$, 2, 0, 2, 0, 2, () => exports.MessageGiphy$, 2, 0, 2, () => UsersList, () => ReactionList, 128 | 1, 0], 5
465
528
  ];
466
529
  exports.MessageAttachment$ = [3, n4, _MA,
@@ -480,7 +543,7 @@ exports.MessageGiphy$ = [3, n4, _MG,
480
543
  ];
481
544
  exports.MessageQuote$ = [3, n4, _MQ,
482
545
  0,
483
- [_mI, _cIh, _u, _cA, _te, _at, _f, _me, _g, _uAp],
546
+ [_mI, _cIh, _u, _cA, _te, _atta, _f, _me, _g, _uAp],
484
547
  [0, 0, () => exports.User$, 0, 0, () => MessageAttachmentList, () => exports.MessageForward$, () => UsersList, () => exports.MessageGiphy$, 0], 4
485
548
  ];
486
549
  exports.MessageTemplateConfig$ = [3, n4, _MTC,
@@ -502,6 +565,9 @@ var ListTemplateParameter = [1, n2, _LTP,
502
565
  0, () => exports.TemplateParameter$
503
566
  ];
504
567
  var LicensesList = 64 | 0;
568
+ var CopilotAssetViews = [1, n1, _CAVo,
569
+ 0, () => exports.CopilotAssetView$
570
+ ];
505
571
  var CopilotContextEmailList = 64 | 0;
506
572
  var CopilotContextEntityList = [1, n1, _CCEL,
507
573
  0, () => exports.CopilotContextEntity$
@@ -530,10 +596,15 @@ var UsersList = [1, n4, _UL,
530
596
  ];
531
597
  var CopilotContextAttributes = 128 | 0;
532
598
  var ReactionCounts = 128 | 1;
599
+ exports.CopilotClientAction$ = [4, n1, _CCA,
600
+ 0,
601
+ [_kS, _sAm],
602
+ [() => exports.KnowledgeSearchClientAction$, () => exports.SmartActionClientAction$]
603
+ ];
533
604
  exports.CopilotSessionEvent$ = [4, n1, _CSEo,
534
605
  0,
535
- [_lif, _tr, _int, _eva, _as, _ass, _rela, _ask],
536
- [() => exports.CopilotLifecycleEvent$, () => exports.CopilotTranscriptionEvent$, () => exports.CopilotIntentEvent$, () => exports.CopilotEvaluationEvent$, () => exports.CopilotAssetEvent$, () => exports.CopilotAssistantEvent$, () => exports.CopilotRelationshipEvent$, () => exports.CopilotAskEvent$]
606
+ [_lif, _tr, _int, _eva, _as, _ass, _rela, _ask, _a],
607
+ [() => exports.CopilotLifecycleEvent$, () => exports.CopilotTranscriptionEvent$, () => exports.CopilotIntentEvent$, () => exports.CopilotEvaluationEvent$, () => exports.CopilotAssetEvent$, () => exports.CopilotAssistantEvent$, () => exports.CopilotRelationshipEvent$, () => exports.CopilotAskEvent$, () => exports.CopilotActionEvent$]
537
608
  ];
538
609
  exports.CopilotTranscriptionData$ = [4, n1, _CTD,
539
610
  0,
@@ -547,7 +618,7 @@ exports.ActionElement$ = [4, n4, _AE,
547
618
  ];
548
619
  exports.ButtonHandler$ = [4, n4, _BH,
549
620
  0,
550
- [_lin, _rep, _ac],
621
+ [_lin, _rep, _a],
551
622
  [() => exports.ButtonLinkHandler$, () => exports.ButtonReplyHandler$, () => exports.ButtonActionHandler$]
552
623
  ];
553
624
  exports.Element$ = [4, n4, _E,
@@ -555,7 +626,10 @@ exports.Element$ = [4, n4, _E,
555
626
  [_tem, _act],
556
627
  [() => exports.MessageTemplateConfig$, () => ActionsElementsList]
557
628
  ];
558
- exports.Ask$ = [9, n1, _A,
629
+ exports.Act$ = [9, n1, _A,
630
+ { [_ht]: ["POST", "/v2/copilot/sessions/{sessionId}/actions", 202] }, () => exports.ActInput$, () => exports.ActOutput$
631
+ ];
632
+ exports.Ask$ = [9, n1, _As,
559
633
  { [_ht]: ["POST", "/v2/copilot/sessions/{sessionId}/ask", 200] }, () => exports.AskInput$, () => exports.AskOutput$
560
634
  ];
561
635
  exports.Enrich$ = [9, n1, _En,
@@ -576,3 +650,6 @@ exports.Resolve$ = [9, n1, _Re,
576
650
  exports.StreamSessionEvents$ = [9, n1, _SSE,
577
651
  { [_ht]: ["GET", "/v2/copilot/sessions/{sessionId}/events/stream", 200] }, () => exports.StreamSessionEventsInput$, () => exports.StreamSessionEventsOutput$
578
652
  ];
653
+ exports.Track$ = [9, n1, _T,
654
+ { [_ht]: ["POST", "/v2/copilot/sessions/{sessionId}/views", 202] }, () => exports.TrackInput$, () => exports.TrackOutput$
655
+ ];
@@ -1,4 +1,5 @@
1
1
  import { createAggregatedClient } from "@smithy/core/client";
2
+ import { ActCommand } from "./commands/ActCommand";
2
3
  import { AskCommand } from "./commands/AskCommand";
3
4
  import { EnrichCommand } from "./commands/EnrichCommand";
4
5
  import { GetSessionEventsCommand, } from "./commands/GetSessionEventsCommand";
@@ -6,8 +7,10 @@ import { ListSessionsCommand, } from "./commands/ListSessionsCommand";
6
7
  import { OpenCommand } from "./commands/OpenCommand";
7
8
  import { ResolveCommand } from "./commands/ResolveCommand";
8
9
  import { StreamSessionEventsCommand, } from "./commands/StreamSessionEventsCommand";
10
+ import { TrackCommand } from "./commands/TrackCommand";
9
11
  import { WilmaCopilotSessionsClient } from "./WilmaCopilotSessionsClient";
10
12
  const commands = {
13
+ ActCommand,
11
14
  AskCommand,
12
15
  EnrichCommand,
13
16
  GetSessionEventsCommand,
@@ -15,6 +18,7 @@ const commands = {
15
18
  OpenCommand,
16
19
  ResolveCommand,
17
20
  StreamSessionEventsCommand,
21
+ TrackCommand,
18
22
  };
19
23
  export class WilmaCopilotSessions extends WilmaCopilotSessionsClient {
20
24
  }
@@ -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 { Act$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ActCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilotSessions", "Act", {})
13
+ .n("WilmaCopilotSessionsClient", "ActCommand")
14
+ .sc(Act$)
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 { Track$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class TrackCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilotSessions", "Track", {})
13
+ .n("WilmaCopilotSessionsClient", "TrackCommand")
14
+ .sc(Track$)
15
+ .build() {
16
+ }
@@ -1,3 +1,4 @@
1
+ export * from "./ActCommand";
1
2
  export * from "./AskCommand";
2
3
  export * from "./EnrichCommand";
3
4
  export * from "./GetSessionEventsCommand";
@@ -5,3 +6,4 @@ export * from "./ListSessionsCommand";
5
6
  export * from "./OpenCommand";
6
7
  export * from "./ResolveCommand";
7
8
  export * from "./StreamSessionEventsCommand";
9
+ export * from "./TrackCommand";
@@ -119,6 +119,11 @@ export const AssetSeverity = {
119
119
  SUCCESS: "success",
120
120
  WARNING: "warning",
121
121
  };
122
+ export const CopilotActionStatus = {
123
+ COMPLETED: "completed",
124
+ FAILED: "failed",
125
+ LAUNCHED: "launched",
126
+ };
122
127
  export const CopilotConversationKind = {
123
128
  APP: "app",
124
129
  CALL: "call",