@wildix/wilma-copilot-sessions-client 1.0.7 → 1.0.9

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,22 +2,28 @@
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
+ const ListRelationshipSessionsCommand_1 = require("./commands/ListRelationshipSessionsCommand");
8
10
  const ListSessionsCommand_1 = require("./commands/ListSessionsCommand");
9
11
  const OpenCommand_1 = require("./commands/OpenCommand");
10
12
  const ResolveCommand_1 = require("./commands/ResolveCommand");
11
13
  const StreamSessionEventsCommand_1 = require("./commands/StreamSessionEventsCommand");
14
+ const TrackCommand_1 = require("./commands/TrackCommand");
12
15
  const WilmaCopilotSessionsClient_1 = require("./WilmaCopilotSessionsClient");
13
16
  const commands = {
17
+ ActCommand: ActCommand_1.ActCommand,
14
18
  AskCommand: AskCommand_1.AskCommand,
15
19
  EnrichCommand: EnrichCommand_1.EnrichCommand,
16
20
  GetSessionEventsCommand: GetSessionEventsCommand_1.GetSessionEventsCommand,
21
+ ListRelationshipSessionsCommand: ListRelationshipSessionsCommand_1.ListRelationshipSessionsCommand,
17
22
  ListSessionsCommand: ListSessionsCommand_1.ListSessionsCommand,
18
23
  OpenCommand: OpenCommand_1.OpenCommand,
19
24
  ResolveCommand: ResolveCommand_1.ResolveCommand,
20
25
  StreamSessionEventsCommand: StreamSessionEventsCommand_1.StreamSessionEventsCommand,
26
+ TrackCommand: TrackCommand_1.TrackCommand,
21
27
  };
22
28
  class WilmaCopilotSessions extends WilmaCopilotSessionsClient_1.WilmaCopilotSessionsClient {
23
29
  }
@@ -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.ListRelationshipSessionsCommand = 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 ListRelationshipSessionsCommand 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", "ListRelationshipSessions", {})
16
+ .n("WilmaCopilotSessionsClient", "ListRelationshipSessionsCommand")
17
+ .sc(schemas_0_1.ListRelationshipSessions$)
18
+ .build() {
19
+ }
20
+ exports.ListRelationshipSessionsCommand = ListRelationshipSessionsCommand;
@@ -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,10 +1,13 @@
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
+ tslib_1.__exportStar(require("./ListRelationshipSessionsCommand"), exports);
7
9
  tslib_1.__exportStar(require("./ListSessionsCommand"), exports);
8
10
  tslib_1.__exportStar(require("./OpenCommand"), exports);
9
11
  tslib_1.__exportStar(require("./ResolveCommand"), exports);
10
12
  tslib_1.__exportStar(require("./StreamSessionEventsCommand"), exports);
13
+ 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.TrackInput$ = exports.StreamSessionEventsOutput$ = exports.StreamSessionEventsInput$ = exports.SmartActionClientAction$ = exports.ResolveOutput$ = exports.ResolveInput$ = exports.OpenOutput$ = exports.OpenInput$ = exports.ListSessionsOutput$ = exports.ListSessionsInput$ = exports.ListRelationshipSessionsOutput$ = exports.ListRelationshipSessionsInput$ = 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.ListRelationshipSessions$ = 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$ = exports.ButtonActionHandler$ = exports.TrackOutput$ = 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,10 @@ const _FE = "ForbiddenException";
48
55
  const _GSE = "GetSessionEvents";
49
56
  const _GSEI = "GetSessionEventsInput";
50
57
  const _GSEO = "GetSessionEventsOutput";
58
+ const _KSCA = "KnowledgeSearchClientAction";
59
+ const _LRS = "ListRelationshipSessions";
60
+ const _LRSI = "ListRelationshipSessionsInput";
61
+ const _LRSO = "ListRelationshipSessionsOutput";
51
62
  const _LS = "ListSessions";
52
63
  const _LSI = "ListSessionsInput";
53
64
  const _LSO = "ListSessionsOutput";
@@ -68,22 +79,30 @@ const _RI = "ResolveInput";
68
79
  const _RL = "ReactionList";
69
80
  const _RO = "ResolveOutput";
70
81
  const _Re = "Resolve";
82
+ const _SACA = "SmartActionClientAction";
71
83
  const _SSE = "StreamSessionEvents";
72
84
  const _SSEI = "StreamSessionEventsInput";
73
85
  const _SSEO = "StreamSessionEventsOutput";
86
+ const _T = "Track";
87
+ const _TI = "TrackInput";
88
+ const _TO = "TrackOutput";
74
89
  const _TP = "TemplateParameter";
75
90
  const _TWP = "TemplateWithParameters";
76
91
  const _U = "User";
77
92
  const _UL = "UsersList";
78
93
  const _VE = "ValidationException";
79
- const _a = "attributes";
94
+ const _a = "action";
95
+ const _aI = "assetId";
96
+ const _aIc = "actionId";
80
97
  const _aT = "accessToken";
81
- const _ac = "action";
98
+ const _ac = "accepted";
82
99
  const _act = "actions";
83
100
  const _as = "asset";
84
101
  const _ask = "ask";
85
102
  const _ass = "assistant";
86
- const _at = "attachments";
103
+ const _at = "at";
104
+ const _att = "attributes";
105
+ const _atta = "attachments";
87
106
  const _b = "bot";
88
107
  const _bu = "button";
89
108
  const _c = "client";
@@ -139,6 +158,7 @@ const _in = "index";
139
158
  const _int = "intent";
140
159
  const _j = "jid";
141
160
  const _k = "kind";
161
+ const _kS = "knowledgeSearch";
142
162
  const _l = "licenses";
143
163
  const _lAA = "lastActivityAt";
144
164
  const _lR = "latestReactions";
@@ -172,16 +192,20 @@ const _pb = "pbx";
172
192
  const _ph = "phone";
173
193
  const _pho = "phones";
174
194
  const _pi = "picture";
175
- const _q = "quote";
195
+ const _q = "question";
196
+ const _qI = "questionId";
197
+ const _qu = "quote";
176
198
  const _r = "role";
177
199
  const _rC = "reactionCounts";
178
200
  const _rI = "relationshipId";
179
- const _re = "reason";
201
+ const _re = "result";
202
+ const _rea = "reason";
180
203
  const _rel = "related";
181
204
  const _rela = "relationship";
182
205
  const _rep = "reply";
183
206
  const _s = "smithy.ts.sdk.synthetic.wildix.wilma.copilot.sessions";
184
207
  const _sA = "startedAt";
208
+ const _sAm = "smartAction";
185
209
  const _sCI = "sipCallId";
186
210
  const _sI = "sessionId";
187
211
  const _sIt = "startIndex";
@@ -195,8 +219,8 @@ const _sm = "sms";
195
219
  const _sp = "speaker";
196
220
  const _st = "streaming";
197
221
  const _sta = "start";
198
- const _stat = "state";
199
- const _statu = "status";
222
+ const _stat = "status";
223
+ const _state = "state";
200
224
  const _sti = "sticky";
201
225
  const _sty = "styling";
202
226
  const _t = "time";
@@ -217,7 +241,9 @@ const _uE = "userExtension";
217
241
  const _uI = "userId";
218
242
  const _ur = "url";
219
243
  const _v = "value";
220
- const _va = "variant";
244
+ const _va = "variables";
245
+ const _var = "variant";
246
+ const _vi = "views";
221
247
  const _w = "whatsapp";
222
248
  const _wS = "whatsappStatus";
223
249
  const _wSI = "wilmaSessionId";
@@ -303,29 +329,49 @@ exports.ConferenceTranscriptionChunk$ = [3, n3, _CTCo,
303
329
  [_i, _t, _j, _te, _iF, _sta, _en, _la, _se],
304
330
  [0, 1, 0, 0, 2, 1, 1, 0, 0], 7
305
331
  ];
306
- exports.AskInput$ = [3, n1, _AI,
332
+ exports.ActInput$ = [3, n1, _AI,
333
+ 0,
334
+ [_sI, _a, _co],
335
+ [[0, 1], () => exports.CopilotClientAction$, [0, { [_hQ]: _co }]], 2
336
+ ];
337
+ exports.ActOutput$ = [3, n1, _AO,
338
+ 0,
339
+ [_ac],
340
+ [2], 1
341
+ ];
342
+ exports.AskInput$ = [3, n1, _AIs,
307
343
  0,
308
344
  [_sI, _wSI, _co, _aT],
309
345
  [[0, 1], 0, 0, 0], 2
310
346
  ];
311
- exports.AskOutput$ = [3, n1, _AO,
347
+ exports.AskOutput$ = [3, n1, _AOs,
312
348
  0,
313
349
  [_in],
314
350
  [1], 1
315
351
  ];
316
- exports.CopilotAskEvent$ = [3, n1, _CAE,
352
+ exports.CopilotActionEvent$ = [3, n1, _CAE,
353
+ 0,
354
+ [_in, _ti, _i, _k, _stat, _uI, _re, _e],
355
+ [1, 0, 0, 0, 0, 0, 15, 0], 5
356
+ ];
357
+ exports.CopilotAskEvent$ = [3, n1, _CAEo,
317
358
  0,
318
359
  [_in, _ti, _uI, _wSI, _aT],
319
360
  [1, 0, 0, 0, 0], 4
320
361
  ];
321
- exports.CopilotAssetEvent$ = [3, n1, _CAEo,
362
+ exports.CopilotAssetEvent$ = [3, n1, _CAEop,
322
363
  0,
323
- [_in, _ti, _i, _stat, _ic, _sty, _sti, _cont],
364
+ [_in, _ti, _i, _state, _ic, _sty, _sti, _cont],
324
365
  [1, 0, 0, 15, 0, 0, 2, 0], 4
325
366
  ];
326
- exports.CopilotAssistantEvent$ = [3, n1, _CAEop,
367
+ exports.CopilotAssetView$ = [3, n1, _CAV,
368
+ 0,
369
+ [_aI, _at],
370
+ [0, 0], 1
371
+ ];
372
+ exports.CopilotAssistantEvent$ = [3, n1, _CAEopi,
327
373
  0,
328
- [_in, _ti, _i, _stat],
374
+ [_in, _ti, _i, _state],
329
375
  [1, 0, 0, 15], 4
330
376
  ];
331
377
  exports.CopilotContextConversation$ = [3, n1, _CCC,
@@ -340,27 +386,27 @@ exports.CopilotContextEntity$ = [3, n1, _CCE,
340
386
  ];
341
387
  exports.CopilotContextLookup$ = [3, n1, _CCL,
342
388
  0,
343
- [_ema, _pho, _ent, _a],
389
+ [_ema, _pho, _ent, _att],
344
390
  [64 | 0, 64 | 0, () => CopilotContextEntityList, 128 | 0]
345
391
  ];
346
392
  exports.CopilotEvaluationEvent$ = [3, n1, _CEE,
347
393
  0,
348
- [_in, _ti, _i, _stat],
394
+ [_in, _ti, _i, _state],
349
395
  [1, 0, 0, 15], 4
350
396
  ];
351
397
  exports.CopilotIngestedSession$ = [3, n1, _CIS,
352
398
  0,
353
- [_i, _stat],
399
+ [_i, _state],
354
400
  [0, 0], 2
355
401
  ];
356
402
  exports.CopilotIntentEvent$ = [3, n1, _CIE,
357
403
  0,
358
- [_in, _ti, _i, _stat],
404
+ [_in, _ti, _i, _state],
359
405
  [1, 0, 0, 15], 4
360
406
  ];
361
407
  exports.CopilotLifecycleEvent$ = [3, n1, _CLE,
362
408
  0,
363
- [_in, _ti, _sI, _statu, _re],
409
+ [_in, _ti, _sI, _stat, _rea],
364
410
  [1, 0, 0, 0, 0], 4
365
411
  ];
366
412
  exports.CopilotRelationshipEvent$ = [3, n1, _CRE,
@@ -370,7 +416,7 @@ exports.CopilotRelationshipEvent$ = [3, n1, _CRE,
370
416
  ];
371
417
  exports.CopilotSessionSummary$ = [3, n1, _CSS,
372
418
  0,
373
- [_i, _statu, _conv, _sA, _lAA],
419
+ [_i, _stat, _conv, _sA, _lAA],
374
420
  [0, 0, () => exports.CopilotContextConversation$, 0, 0], 3
375
421
  ];
376
422
  exports.CopilotTranscriptionEvent$ = [3, n1, _CTE,
@@ -398,6 +444,21 @@ exports.GetSessionEventsOutput$ = [3, n1, _GSEO,
398
444
  [_eve, _nSI],
399
445
  [() => CopilotSessionEvents, 1], 1
400
446
  ];
447
+ exports.KnowledgeSearchClientAction$ = [3, n1, _KSCA,
448
+ 0,
449
+ [_qI, _q],
450
+ [0, 0], 1
451
+ ];
452
+ exports.ListRelationshipSessionsInput$ = [3, n1, _LRSI,
453
+ 0,
454
+ [_rI, _co, _lim, _cu],
455
+ [[0, 1], [0, { [_hQ]: _co }], [1, { [_hQ]: _lim }], [0, { [_hQ]: _cu }]], 1
456
+ ];
457
+ exports.ListRelationshipSessionsOutput$ = [3, n1, _LRSO,
458
+ 0,
459
+ [_ses, _nC],
460
+ [() => CopilotSessionSummaryList, 0], 1
461
+ ];
401
462
  exports.ListSessionsInput$ = [3, n1, _LSI,
402
463
  0,
403
464
  [_co, _u, _lim, _cu],
@@ -428,6 +489,11 @@ exports.ResolveOutput$ = [3, n1, _RO,
428
489
  [_ses, _rI],
429
490
  [() => CopilotSessionSummaryList, 0], 1
430
491
  ];
492
+ exports.SmartActionClientAction$ = [3, n1, _SACA,
493
+ 0,
494
+ [_aI, _aIc, _va],
495
+ [0, 0, 15], 2
496
+ ];
431
497
  exports.StreamSessionEventsInput$ = [3, n1, _SSEI,
432
498
  0,
433
499
  [_sI, _co, _sIt],
@@ -438,6 +504,16 @@ exports.StreamSessionEventsOutput$ = [3, n1, _SSEO,
438
504
  [_eve, _cT],
439
505
  [[() => CopilotSessionEventStreamBody, 16], [0, { [_hH]: _CT }]], 2
440
506
  ];
507
+ exports.TrackInput$ = [3, n1, _TI,
508
+ 0,
509
+ [_sI, _vi, _co],
510
+ [[0, 1], () => CopilotAssetViews, [0, { [_hQ]: _co }]], 2
511
+ ];
512
+ exports.TrackOutput$ = [3, n1, _TO,
513
+ 0,
514
+ [_ac],
515
+ [2], 1
516
+ ];
441
517
  exports.ButtonActionHandler$ = [3, n4, _BAH,
442
518
  0,
443
519
  [_i],
@@ -445,7 +521,7 @@ exports.ButtonActionHandler$ = [3, n4, _BAH,
445
521
  ];
446
522
  exports.ButtonElement$ = [3, n4, _BE,
447
523
  0,
448
- [_te, _h, _va, _di],
524
+ [_te, _h, _var, _di],
449
525
  [0, () => exports.ButtonHandler$, 0, 2], 2
450
526
  ];
451
527
  exports.ButtonLinkHandler$ = [3, n4, _BLH,
@@ -460,7 +536,7 @@ exports.ButtonReplyHandler$ = [3, n4, _BRH,
460
536
  ];
461
537
  exports.Message$ = [3, n4, _M,
462
538
  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],
539
+ [_ty, _mI, _cIh, _u, _cA, _te, _el, _atta, _qu, _f, _w, _wS, _sm, _sS, _ma, _g, _si, _ev, _ed, _me, _lR, _rC, _uAp],
464
540
  [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
541
  ];
466
542
  exports.MessageAttachment$ = [3, n4, _MA,
@@ -480,7 +556,7 @@ exports.MessageGiphy$ = [3, n4, _MG,
480
556
  ];
481
557
  exports.MessageQuote$ = [3, n4, _MQ,
482
558
  0,
483
- [_mI, _cIh, _u, _cA, _te, _at, _f, _me, _g, _uAp],
559
+ [_mI, _cIh, _u, _cA, _te, _atta, _f, _me, _g, _uAp],
484
560
  [0, 0, () => exports.User$, 0, 0, () => MessageAttachmentList, () => exports.MessageForward$, () => UsersList, () => exports.MessageGiphy$, 0], 4
485
561
  ];
486
562
  exports.MessageTemplateConfig$ = [3, n4, _MTC,
@@ -502,6 +578,9 @@ var ListTemplateParameter = [1, n2, _LTP,
502
578
  0, () => exports.TemplateParameter$
503
579
  ];
504
580
  var LicensesList = 64 | 0;
581
+ var CopilotAssetViews = [1, n1, _CAVo,
582
+ 0, () => exports.CopilotAssetView$
583
+ ];
505
584
  var CopilotContextEmailList = 64 | 0;
506
585
  var CopilotContextEntityList = [1, n1, _CCEL,
507
586
  0, () => exports.CopilotContextEntity$
@@ -530,10 +609,15 @@ var UsersList = [1, n4, _UL,
530
609
  ];
531
610
  var CopilotContextAttributes = 128 | 0;
532
611
  var ReactionCounts = 128 | 1;
612
+ exports.CopilotClientAction$ = [4, n1, _CCA,
613
+ 0,
614
+ [_kS, _sAm],
615
+ [() => exports.KnowledgeSearchClientAction$, () => exports.SmartActionClientAction$]
616
+ ];
533
617
  exports.CopilotSessionEvent$ = [4, n1, _CSEo,
534
618
  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$]
619
+ [_lif, _tr, _int, _eva, _as, _ass, _rela, _ask, _a],
620
+ [() => exports.CopilotLifecycleEvent$, () => exports.CopilotTranscriptionEvent$, () => exports.CopilotIntentEvent$, () => exports.CopilotEvaluationEvent$, () => exports.CopilotAssetEvent$, () => exports.CopilotAssistantEvent$, () => exports.CopilotRelationshipEvent$, () => exports.CopilotAskEvent$, () => exports.CopilotActionEvent$]
537
621
  ];
538
622
  exports.CopilotTranscriptionData$ = [4, n1, _CTD,
539
623
  0,
@@ -547,7 +631,7 @@ exports.ActionElement$ = [4, n4, _AE,
547
631
  ];
548
632
  exports.ButtonHandler$ = [4, n4, _BH,
549
633
  0,
550
- [_lin, _rep, _ac],
634
+ [_lin, _rep, _a],
551
635
  [() => exports.ButtonLinkHandler$, () => exports.ButtonReplyHandler$, () => exports.ButtonActionHandler$]
552
636
  ];
553
637
  exports.Element$ = [4, n4, _E,
@@ -555,7 +639,10 @@ exports.Element$ = [4, n4, _E,
555
639
  [_tem, _act],
556
640
  [() => exports.MessageTemplateConfig$, () => ActionsElementsList]
557
641
  ];
558
- exports.Ask$ = [9, n1, _A,
642
+ exports.Act$ = [9, n1, _A,
643
+ { [_ht]: ["POST", "/v2/copilot/sessions/{sessionId}/actions", 202] }, () => exports.ActInput$, () => exports.ActOutput$
644
+ ];
645
+ exports.Ask$ = [9, n1, _As,
559
646
  { [_ht]: ["POST", "/v2/copilot/sessions/{sessionId}/ask", 200] }, () => exports.AskInput$, () => exports.AskOutput$
560
647
  ];
561
648
  exports.Enrich$ = [9, n1, _En,
@@ -564,6 +651,9 @@ exports.Enrich$ = [9, n1, _En,
564
651
  exports.GetSessionEvents$ = [9, n1, _GSE,
565
652
  { [_ht]: ["GET", "/v2/copilot/sessions/{sessionId}/events", 200] }, () => exports.GetSessionEventsInput$, () => exports.GetSessionEventsOutput$
566
653
  ];
654
+ exports.ListRelationshipSessions$ = [9, n1, _LRS,
655
+ { [_ht]: ["GET", "/v2/copilot/relationships/{relationshipId}/sessions", 200] }, () => exports.ListRelationshipSessionsInput$, () => exports.ListRelationshipSessionsOutput$
656
+ ];
567
657
  exports.ListSessions$ = [9, n1, _LS,
568
658
  { [_ht]: ["GET", "/v2/copilot/sessions", 200] }, () => exports.ListSessionsInput$, () => exports.ListSessionsOutput$
569
659
  ];
@@ -576,3 +666,6 @@ exports.Resolve$ = [9, n1, _Re,
576
666
  exports.StreamSessionEvents$ = [9, n1, _SSE,
577
667
  { [_ht]: ["GET", "/v2/copilot/sessions/{sessionId}/events/stream", 200] }, () => exports.StreamSessionEventsInput$, () => exports.StreamSessionEventsOutput$
578
668
  ];
669
+ exports.Track$ = [9, n1, _T,
670
+ { [_ht]: ["POST", "/v2/copilot/sessions/{sessionId}/views", 202] }, () => exports.TrackInput$, () => exports.TrackOutput$
671
+ ];
@@ -1,20 +1,26 @@
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
+ import { ListRelationshipSessionsCommand, } from "./commands/ListRelationshipSessionsCommand";
5
7
  import { ListSessionsCommand, } from "./commands/ListSessionsCommand";
6
8
  import { OpenCommand } from "./commands/OpenCommand";
7
9
  import { ResolveCommand } from "./commands/ResolveCommand";
8
10
  import { StreamSessionEventsCommand, } from "./commands/StreamSessionEventsCommand";
11
+ import { TrackCommand } from "./commands/TrackCommand";
9
12
  import { WilmaCopilotSessionsClient } from "./WilmaCopilotSessionsClient";
10
13
  const commands = {
14
+ ActCommand,
11
15
  AskCommand,
12
16
  EnrichCommand,
13
17
  GetSessionEventsCommand,
18
+ ListRelationshipSessionsCommand,
14
19
  ListSessionsCommand,
15
20
  OpenCommand,
16
21
  ResolveCommand,
17
22
  StreamSessionEventsCommand,
23
+ TrackCommand,
18
24
  };
19
25
  export class WilmaCopilotSessions extends WilmaCopilotSessionsClient {
20
26
  }
@@ -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 { ListRelationshipSessions$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListRelationshipSessionsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilotSessions", "ListRelationshipSessions", {})
13
+ .n("WilmaCopilotSessionsClient", "ListRelationshipSessionsCommand")
14
+ .sc(ListRelationshipSessions$)
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,7 +1,10 @@
1
+ export * from "./ActCommand";
1
2
  export * from "./AskCommand";
2
3
  export * from "./EnrichCommand";
3
4
  export * from "./GetSessionEventsCommand";
5
+ export * from "./ListRelationshipSessionsCommand";
4
6
  export * from "./ListSessionsCommand";
5
7
  export * from "./OpenCommand";
6
8
  export * from "./ResolveCommand";
7
9
  export * from "./StreamSessionEventsCommand";
10
+ 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",