@wildix/wilma-copilot-client 1.0.2 → 1.0.3

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProfileResourceType = exports.IntentTextMatchMode = exports.EvaluationWindow = exports.AutomationHandlerType = exports.ProfileStatus = exports.CopilotChannel = exports.CopilotVisibility = exports.ContextualKnowledgeSource = exports.ContextualKnowledgeMode = exports.AssetContentType = exports.AssetType = exports.AssetSeverity = exports.AssetIcon = exports.SmartActionResultMode = exports.SmartActionHandoverVariant = exports.CopilotVariableMode = exports.AutomationOutputMode = exports.ActorType = void 0;
3
+ exports.ProfileResourceType = exports.IntentTextMatchMode = exports.EvaluationWindow = exports.ProfileStatus = exports.CopilotChannel = exports.CopilotVisibility = exports.ContextualKnowledgeSource = exports.ContextualKnowledgeMode = exports.AssetContentType = exports.AssetSeverity = exports.AssetIcon = exports.SmartActionResultMode = exports.SmartActionHandoverVariant = exports.CopilotVariableMode = exports.AutomationOutputMode = exports.ActorType = void 0;
4
4
  exports.ActorType = {
5
5
  API_KEY: "api_key",
6
6
  SERVICE: "service",
@@ -37,13 +37,6 @@ exports.AssetSeverity = {
37
37
  SUCCESS: "success",
38
38
  WARNING: "warning",
39
39
  };
40
- exports.AssetType = {
41
- BATTLE_CARD: "battle_card",
42
- GUIDANCE: "guidance",
43
- KNOWLEDGE: "knowledge",
44
- NEXT_BEST_ACTION: "next_best_action",
45
- PLAYBOOK: "playbook",
46
- };
47
40
  exports.AssetContentType = {
48
41
  CARD: "card",
49
42
  KNOWLEDGE: "knowledge",
@@ -71,11 +64,6 @@ exports.ProfileStatus = {
71
64
  ACTIVE: "active",
72
65
  DRAFT: "draft",
73
66
  };
74
- exports.AutomationHandlerType = {
75
- AGENT: "agent",
76
- KNOWLEDGE_BASE: "knowledge_base",
77
- TOOL: "tool",
78
- };
79
67
  exports.EvaluationWindow = {
80
68
  FULL_TRANSCRIPT: "full_transcript",
81
69
  NEW_TRANSCRIPT: "new_transcript",
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateEvaluationInput$ = exports.CreateAutomationOutput$ = exports.CreateAutomationInput$ = exports.CreateAssetOutput$ = exports.CreateAssetInput$ = exports.CopilotVariableBinding$ = exports.CopilotTextParameter$ = exports.CopilotSelectionParameter$ = exports.CopilotNumberParameter$ = exports.CopilotMultilineParameter$ = exports.CopilotField$ = exports.CopilotAccess$ = exports.ContextualKnowledgeAnswersFeatureConfiguration$ = exports.CompareProfileVersionsOutput$ = exports.CompareProfileVersionsInput$ = exports.CardStaticContent$ = exports.CardAgentContent$ = exports.AutomationInfo$ = exports.Automation$ = exports.AttachProfileResourceOutput$ = exports.AttachProfileResourceInput$ = exports.AssetSmartActions$ = exports.AssetPlaybook$ = exports.AssetKnowledge$ = exports.AssetInfo$ = exports.AssetCard$ = exports.Asset$ = exports.AgentAutomationHandler$ = exports.Actor$ = exports.errorTypeRegistries = exports.ProfileVersionNotFoundException$ = exports.ProfileNotFoundException$ = exports.ProfileNonUniqueNameException$ = exports.IntentNotFoundException$ = exports.IntentNonUniqueNameException$ = exports.IntentInUseException$ = exports.EvaluationNotFoundException$ = exports.EvaluationNonUniqueNameException$ = exports.EvaluationInUseException$ = exports.AutomationNotFoundException$ = exports.AutomationNonUniqueNameException$ = exports.AutomationInUseException$ = exports.AssetNotFoundException$ = exports.AssetNonUniqueNameException$ = exports.AssetInUseException$ = exports.RevisionConflictException$ = exports.NothingToPublishException$ = exports.ValidationException$ = exports.ForbiddenException$ = exports.WilmaCopilotServiceException$ = void 0;
4
- exports.ListProfilesInput$ = exports.ListIntentsOutput$ = exports.ListIntentsInput$ = exports.ListEvaluationsOutput$ = exports.ListEvaluationsInput$ = exports.ListAutomationsOutput$ = exports.ListAutomationsInput$ = exports.ListAssetsOutput$ = exports.ListAssetsInput$ = exports.KnowledgeBaseAutomationHandler$ = exports.IntentTextMatchOption$ = exports.IntentTextMatch$ = exports.IntentInfo$ = exports.IntentHandlers$ = exports.IntentAiMatch$ = exports.Intent$ = exports.GetProfileVersionOutput$ = exports.GetProfileVersionInput$ = exports.GetProfileOutput$ = exports.GetProfileInput$ = exports.GetIntentOutput$ = exports.GetIntentInput$ = exports.GetEvaluationOutput$ = exports.GetEvaluationInput$ = exports.GetAutomationOutput$ = exports.GetAutomationInput$ = exports.GetAssetOutput$ = exports.GetAssetInput$ = exports.EvaluationTriggers$ = exports.EvaluationIntervalTrigger$ = exports.EvaluationInfo$ = exports.Evaluation$ = exports.DeleteProfileResourceOutput$ = exports.DeleteProfileResourceInput$ = exports.DeleteProfileOutput$ = exports.DeleteProfileInput$ = exports.DeleteIntentOutput$ = exports.DeleteIntentInput$ = exports.DeleteEvaluationOutput$ = exports.DeleteEvaluationInput$ = exports.DeleteAutomationOutput$ = exports.DeleteAutomationInput$ = exports.DeleteAssetOutput$ = exports.DeleteAssetInput$ = exports.CsatFeatureConfiguration$ = exports.CreateProfileOutput$ = exports.CreateProfileInput$ = exports.CreateIntentOutput$ = exports.CreateIntentInput$ = exports.CreateEvaluationOutput$ = void 0;
5
- exports.CreateProfile$ = exports.CreateIntent$ = exports.CreateEvaluation$ = exports.CreateAutomation$ = exports.CreateAsset$ = exports.CompareProfileVersions$ = exports.AttachProfileResource$ = exports.SmartAction$ = exports.ProfileResource$ = exports.PlaybookCompletionCriteria$ = exports.CopilotGrantPrincipal$ = exports.CopilotFieldParameter$ = exports.CopilotFeature$ = exports.CardContent$ = exports.AutomationHandler$ = exports.AssetContent$ = exports.UpdateProfileOutput$ = exports.UpdateProfileInput$ = exports.UpdateIntentOutput$ = exports.UpdateIntentInput$ = exports.UpdateEvaluationOutput$ = exports.UpdateEvaluationInput$ = exports.UpdateAutomationOutput$ = exports.UpdateAutomationInput$ = exports.UpdateAssetOutput$ = exports.UpdateAssetInput$ = exports.TopicsFeatureConfiguration$ = exports.ToolAutomationHandler$ = exports.TalkRatioFeatureConfiguration$ = exports.SmartActionTransfer$ = exports.SmartActionRunTool$ = exports.SmartActionRunAgent$ = exports.SmartActionOpenUrl$ = exports.SmartActionItem$ = exports.SmartActionHandover$ = exports.SentimentFeatureConfiguration$ = exports.RestoreProfileVersionToDraftOutput$ = exports.RestoreProfileVersionToDraftInput$ = exports.PublishProfileVersionOutput$ = exports.PublishProfileVersionInput$ = exports.ProfileVersionInfo$ = exports.ProfileVersionChange$ = exports.ProfileInfo$ = exports.Profile$ = exports.PlaybookStep$ = exports.PlaybookSemanticCompletion$ = exports.PlaybookManualCompletion$ = exports.ListProfileVersionsOutput$ = exports.ListProfileVersionsInput$ = exports.ListProfilesOutput$ = void 0;
6
- exports.UpdateProfile$ = exports.UpdateIntent$ = exports.UpdateEvaluation$ = exports.UpdateAutomation$ = exports.UpdateAsset$ = exports.RestoreProfileVersionToDraft$ = exports.PublishProfileVersion$ = exports.ListProfileVersions$ = exports.ListProfiles$ = exports.ListIntents$ = exports.ListEvaluations$ = exports.ListAutomations$ = exports.ListAssets$ = exports.GetProfileVersion$ = exports.GetProfile$ = exports.GetIntent$ = exports.GetEvaluation$ = exports.GetAutomation$ = exports.GetAsset$ = exports.DeleteProfileResource$ = exports.DeleteProfile$ = exports.DeleteIntent$ = exports.DeleteEvaluation$ = exports.DeleteAutomation$ = exports.DeleteAsset$ = void 0;
4
+ exports.ListProfilesOutput$ = exports.ListProfilesInput$ = exports.ListIntentsOutput$ = exports.ListIntentsInput$ = exports.ListEvaluationsOutput$ = exports.ListEvaluationsInput$ = exports.ListAutomationsOutput$ = exports.ListAutomationsInput$ = exports.ListAssetsOutput$ = exports.ListAssetsInput$ = exports.IntentTextMatchOption$ = exports.IntentTextMatch$ = exports.IntentInfo$ = exports.IntentHandlers$ = exports.IntentAiMatch$ = exports.Intent$ = exports.GetProfileVersionOutput$ = exports.GetProfileVersionInput$ = exports.GetProfileOutput$ = exports.GetProfileInput$ = exports.GetIntentOutput$ = exports.GetIntentInput$ = exports.GetEvaluationOutput$ = exports.GetEvaluationInput$ = exports.GetAutomationOutput$ = exports.GetAutomationInput$ = exports.GetAssetOutput$ = exports.GetAssetInput$ = exports.EvaluationTriggers$ = exports.EvaluationIntervalTrigger$ = exports.EvaluationInfo$ = exports.Evaluation$ = exports.DeleteProfileResourceOutput$ = exports.DeleteProfileResourceInput$ = exports.DeleteProfileOutput$ = exports.DeleteProfileInput$ = exports.DeleteIntentOutput$ = exports.DeleteIntentInput$ = exports.DeleteEvaluationOutput$ = exports.DeleteEvaluationInput$ = exports.DeleteAutomationOutput$ = exports.DeleteAutomationInput$ = exports.DeleteAssetOutput$ = exports.DeleteAssetInput$ = exports.CsatFeatureConfiguration$ = exports.CreateProfileOutput$ = exports.CreateProfileInput$ = exports.CreateIntentOutput$ = exports.CreateIntentInput$ = exports.CreateEvaluationOutput$ = void 0;
5
+ exports.DeleteAutomation$ = exports.DeleteAsset$ = exports.CreateProfile$ = exports.CreateIntent$ = exports.CreateEvaluation$ = exports.CreateAutomation$ = exports.CreateAsset$ = exports.CompareProfileVersions$ = exports.AttachProfileResource$ = exports.SmartAction$ = exports.ProfileResource$ = exports.PlaybookCompletionCriteria$ = exports.CopilotGrantPrincipal$ = exports.CopilotFieldParameter$ = exports.CopilotFeature$ = exports.CardContent$ = exports.AutomationHandler$ = exports.AssetContent$ = exports.UpdateProfileOutput$ = exports.UpdateProfileInput$ = exports.UpdateIntentOutput$ = exports.UpdateIntentInput$ = exports.UpdateEvaluationOutput$ = exports.UpdateEvaluationInput$ = exports.UpdateAutomationOutput$ = exports.UpdateAutomationInput$ = exports.UpdateAssetOutput$ = exports.UpdateAssetInput$ = exports.TopicsFeatureConfiguration$ = exports.TalkRatioFeatureConfiguration$ = exports.SmartActionTransfer$ = exports.SmartActionRunTool$ = exports.SmartActionRunAgent$ = exports.SmartActionOpenUrl$ = exports.SmartActionItem$ = exports.SmartActionHandover$ = exports.SentimentFeatureConfiguration$ = exports.RestoreProfileVersionToDraftOutput$ = exports.RestoreProfileVersionToDraftInput$ = exports.PublishProfileVersionOutput$ = exports.PublishProfileVersionInput$ = exports.ProfileVersionInfo$ = exports.ProfileVersionChange$ = exports.ProfileInfo$ = exports.Profile$ = exports.PlaybookStep$ = exports.PlaybookSemanticCompletion$ = exports.PlaybookManualCompletion$ = exports.ListProfileVersionsOutput$ = exports.ListProfileVersionsInput$ = void 0;
6
+ exports.UpdateProfile$ = exports.UpdateIntent$ = exports.UpdateEvaluation$ = exports.UpdateAutomation$ = exports.UpdateAsset$ = exports.RestoreProfileVersionToDraft$ = exports.PublishProfileVersion$ = exports.ListProfileVersions$ = exports.ListProfiles$ = exports.ListIntents$ = exports.ListEvaluations$ = exports.ListAutomations$ = exports.ListAssets$ = exports.GetProfileVersion$ = exports.GetProfile$ = exports.GetIntent$ = exports.GetEvaluation$ = exports.GetAutomation$ = exports.GetAsset$ = exports.DeleteProfileResource$ = exports.DeleteProfile$ = exports.DeleteIntent$ = exports.DeleteEvaluation$ = void 0;
7
7
  const _A = "Actor";
8
8
  const _AAH = "AgentAutomationHandler";
9
9
  const _AC = "AssetCard";
@@ -120,7 +120,6 @@ const _INUNE = "IntentNonUniqueNameException";
120
120
  const _ITM = "IntentTextMatch";
121
121
  const _ITMO = "IntentTextMatchOption";
122
122
  const _ITMOL = "IntentTextMatchOptionsList";
123
- const _KBAH = "KnowledgeBaseAutomationHandler";
124
123
  const _LA = "ListAssets";
125
124
  const _LAI = "ListAssetsInput";
126
125
  const _LAIi = "ListAutomationsInput";
@@ -172,7 +171,6 @@ const _SARA = "SmartActionRunAgent";
172
171
  const _SART = "SmartActionRunTool";
173
172
  const _SAT = "SmartActionTransfer";
174
173
  const _SFC = "SentimentFeatureConfiguration";
175
- const _TAH = "ToolAutomationHandler";
176
174
  const _TFC = "TopicsFeatureConfiguration";
177
175
  const _TRFC = "TalkRatioFeatureConfiguration";
178
176
  const _UA = "UpdateAsset";
@@ -239,7 +237,6 @@ const _des = "destination";
239
237
  const _e = "error";
240
238
  const _eC = "evaluationCount";
241
239
  const _eI = "evaluationId";
242
- const _eLD = "executionsLast30Days";
243
240
  const _en = "enabled";
244
241
  const _ev = "evaluation";
245
242
  const _eva = "evaluations";
@@ -257,7 +254,6 @@ const _gro = "group";
257
254
  const _h = "handler";
258
255
  const _hE = "httpError";
259
256
  const _hQ = "httpQuery";
260
- const _hT = "handlerType";
261
257
  const _hV = "handoverVariant";
262
258
  const _ha = "handlers";
263
259
  const _han = "handover";
@@ -273,9 +269,7 @@ const _int = "intent";
273
269
  const _inte = "intents";
274
270
  const _inter = "interval";
275
271
  const _k = "key";
276
- const _kB = "knowledgeBase";
277
272
  const _kBI = "knowledgeBaseIds";
278
- const _kBIn = "knowledgeBaseId";
279
273
  const _kn = "knowledge";
280
274
  const _l = "limit";
281
275
  const _lV = "latestVersion";
@@ -303,7 +297,6 @@ const _p = "prompt";
303
297
  const _pA = "publishedAt";
304
298
  const _pB = "publishedBy";
305
299
  const _pI = "profileId";
306
- const _pT = "payloadTemplate";
307
300
  const _pa = "parameters";
308
301
  const _par = "parameter";
309
302
  const _pat = "path";
@@ -340,12 +333,10 @@ const _tD = "toDraft";
340
333
  const _tI = "toolId";
341
334
  const _tM = "textMatch";
342
335
  const _tME = "textMatchEnabled";
343
- const _tN = "toolName";
344
336
  const _tR = "talkRatio";
345
337
  const _te = "text";
346
338
  const _ti = "title";
347
339
  const _to = "to";
348
- const _too = "tool";
349
340
  const _top = "topics";
350
341
  const _tr = "triggers";
351
342
  const _tra = "transfer";
@@ -505,8 +496,8 @@ exports.AgentAutomationHandler$ = [3, n2, _AAH,
505
496
  ];
506
497
  exports.Asset$ = [3, n2, _As,
507
498
  0,
508
- [_n, _co, _cA, _cB, _i, _r, _k, _d, _en, _t, _ti, _su, _ma, _f, _se, _ic, _st, _con, _uA, _uB, _uLD],
509
- [0, () => exports.AssetContent$, 0, () => exports.Actor$, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 2, 15, 0, () => exports.Actor$, 1], 6
499
+ [_n, _co, _cA, _cB, _i, _r, _k, _d, _en, _ti, _su, _ma, _f, _se, _ic, _st, _con, _uA, _uB, _uLD],
500
+ [0, () => exports.AssetContent$, 0, () => exports.Actor$, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 2, 15, 0, () => exports.Actor$, 1], 6
510
501
  ];
511
502
  exports.AssetCard$ = [3, n2, _AC,
512
503
  0,
@@ -515,8 +506,8 @@ exports.AssetCard$ = [3, n2, _AC,
515
506
  ];
516
507
  exports.AssetInfo$ = [3, n2, _AI,
517
508
  0,
518
- [_cA, _cB, _i, _n, _en, _cT, _uA, _uB, _d, _t, _uLD],
519
- [0, () => exports.Actor$, 0, 0, 2, 0, 0, () => exports.Actor$, 0, 0, 1], 6
509
+ [_cA, _cB, _i, _n, _en, _cT, _uA, _uB, _d],
510
+ [0, () => exports.Actor$, 0, 0, 2, 0, 0, () => exports.Actor$, 0], 6
520
511
  ];
521
512
  exports.AssetKnowledge$ = [3, n2, _AK,
522
513
  0,
@@ -545,13 +536,13 @@ exports.AttachProfileResourceOutput$ = [3, n2, _APRO,
545
536
  ];
546
537
  exports.Automation$ = [3, n2, _Au,
547
538
  0,
548
- [_n, _h, _cA, _cB, _i, _r, _d, _con, _uA, _uB, _eLD],
549
- [0, () => exports.AutomationHandler$, 0, () => exports.Actor$, 0, 1, 0, 15, 0, () => exports.Actor$, 1], 6
539
+ [_n, _h, _cA, _cB, _i, _r, _d, _con, _uA, _uB],
540
+ [0, () => exports.AutomationHandler$, 0, () => exports.Actor$, 0, 1, 0, 15, 0, () => exports.Actor$], 6
550
541
  ];
551
542
  exports.AutomationInfo$ = [3, n2, _AIu,
552
543
  0,
553
- [_cA, _cB, _i, _n, _hT, _uA, _uB, _d, _eLD],
554
- [0, () => exports.Actor$, 0, 0, 0, 0, () => exports.Actor$, 0, 1], 5
544
+ [_cA, _cB, _i, _n, _uA, _uB, _d],
545
+ [0, () => exports.Actor$, 0, 0, 0, () => exports.Actor$, 0], 4
555
546
  ];
556
547
  exports.CardAgentContent$ = [3, n2, _CAC,
557
548
  0,
@@ -615,8 +606,8 @@ exports.CopilotVariableBinding$ = [3, n2, _CVB,
615
606
  ];
616
607
  exports.CreateAssetInput$ = [3, n2, _CAI,
617
608
  0,
618
- [_n, _co, _k, _d, _en, _t, _ti, _su, _ma, _f, _se, _ic, _st, _con, _com],
619
- [0, () => exports.AssetContent$, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 2, 15, [0, { [_hQ]: _com }]], 2
609
+ [_n, _co, _k, _d, _en, _ti, _su, _ma, _f, _se, _ic, _st, _con, _com],
610
+ [0, () => exports.AssetContent$, 0, 0, 2, 0, 0, 0, 0, 0, 0, 2, 15, [0, { [_hQ]: _com }]], 2
620
611
  ];
621
612
  exports.CreateAssetOutput$ = [3, n2, _CAO,
622
613
  0,
@@ -635,8 +626,8 @@ exports.CreateAutomationOutput$ = [3, n2, _CAOr,
635
626
  ];
636
627
  exports.CreateEvaluationInput$ = [3, n2, _CEI,
637
628
  0,
638
- [_n, _in, _tr, _w, _d, _fi, _mod, _gro, _con, _com],
639
- [0, 0, () => exports.EvaluationTriggers$, 0, 0, () => CopilotFieldsList, 0, 0, 15, [0, { [_hQ]: _com }]], 4
629
+ [_n, _in, _tr, _w, _d, _fi, _mod, _con, _com],
630
+ [0, 0, () => exports.EvaluationTriggers$, 0, 0, () => CopilotFieldsList, 0, 15, [0, { [_hQ]: _com }]], 4
640
631
  ];
641
632
  exports.CreateEvaluationOutput$ = [3, n2, _CEO,
642
633
  0,
@@ -730,13 +721,13 @@ exports.DeleteProfileResourceOutput$ = [3, n2, _DPRO,
730
721
  ];
731
722
  exports.Evaluation$ = [3, n2, _E,
732
723
  0,
733
- [_n, _in, _tr, _w, _cA, _cB, _i, _r, _d, _fi, _mod, _gro, _con, _uA, _uB, _uLD],
734
- [0, 0, () => exports.EvaluationTriggers$, 0, 0, () => exports.Actor$, 0, 1, 0, () => CopilotFieldsList, 0, 0, 15, 0, () => exports.Actor$, 1], 8
724
+ [_n, _in, _tr, _w, _cA, _cB, _i, _r, _d, _fi, _mod, _con, _uA, _uB, _uLD],
725
+ [0, 0, () => exports.EvaluationTriggers$, 0, 0, () => exports.Actor$, 0, 1, 0, () => CopilotFieldsList, 0, 15, 0, () => exports.Actor$, 1], 8
735
726
  ];
736
727
  exports.EvaluationInfo$ = [3, n2, _EI,
737
728
  0,
738
- [_cA, _cB, _i, _n, _w, _uA, _uB, _d, _gro, _uLD],
739
- [0, () => exports.Actor$, 0, 0, 0, 0, () => exports.Actor$, 0, 0, 1], 5
729
+ [_cA, _cB, _i, _n, _w, _uA, _uB, _d, _uLD],
730
+ [0, () => exports.Actor$, 0, 0, 0, 0, () => exports.Actor$, 0, 1], 5
740
731
  ];
741
732
  exports.EvaluationIntervalTrigger$ = [3, n2, _EIT,
742
733
  0,
@@ -838,15 +829,10 @@ exports.IntentTextMatchOption$ = [3, n2, _ITMO,
838
829
  [_i, _val, _mo],
839
830
  [0, 0, 0], 3
840
831
  ];
841
- exports.KnowledgeBaseAutomationHandler$ = [3, n2, _KBAH,
842
- 0,
843
- [_kBIn],
844
- [0], 1
845
- ];
846
832
  exports.ListAssetsInput$ = [3, n2, _LAI,
847
833
  0,
848
- [_com, _cT, _t, _en, _sea, _l, _cu],
849
- [[0, { [_hQ]: _com }], [0, { [_hQ]: _cT }], [0, { [_hQ]: _t }], [2, { [_hQ]: _en }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
834
+ [_com, _cT, _en, _sea, _l, _cu],
835
+ [[0, { [_hQ]: _com }], [0, { [_hQ]: _cT }], [2, { [_hQ]: _en }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
850
836
  ];
851
837
  exports.ListAssetsOutput$ = [3, n2, _LAO,
852
838
  0,
@@ -855,8 +841,8 @@ exports.ListAssetsOutput$ = [3, n2, _LAO,
855
841
  ];
856
842
  exports.ListAutomationsInput$ = [3, n2, _LAIi,
857
843
  0,
858
- [_com, _hT, _sea, _l, _cu],
859
- [[0, { [_hQ]: _com }], [0, { [_hQ]: _hT }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
844
+ [_com, _sea, _l, _cu],
845
+ [[0, { [_hQ]: _com }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
860
846
  ];
861
847
  exports.ListAutomationsOutput$ = [3, n2, _LAOi,
862
848
  0,
@@ -998,11 +984,6 @@ exports.TalkRatioFeatureConfiguration$ = [3, n2, _TRFC,
998
984
  [],
999
985
  []
1000
986
  ];
1001
- exports.ToolAutomationHandler$ = [3, n2, _TAH,
1002
- 0,
1003
- [_tN, _tI, _act, _pT, _oM, _pa],
1004
- [0, 0, 0, 0, 0, () => CopilotVariableBindingsList], 1
1005
- ];
1006
987
  exports.TopicsFeatureConfiguration$ = [3, n2, _TFC,
1007
988
  0,
1008
989
  [],
@@ -1010,8 +991,8 @@ exports.TopicsFeatureConfiguration$ = [3, n2, _TFC,
1010
991
  ];
1011
992
  exports.UpdateAssetInput$ = [3, n2, _UAI,
1012
993
  0,
1013
- [_n, _co, _aIs, _r, _k, _d, _en, _t, _ti, _su, _ma, _f, _se, _ic, _st, _con, _com],
1014
- [0, () => exports.AssetContent$, [0, 1], 1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 2, 15, [0, { [_hQ]: _com }]], 4
994
+ [_n, _co, _aIs, _r, _k, _d, _en, _ti, _su, _ma, _f, _se, _ic, _st, _con, _com],
995
+ [0, () => exports.AssetContent$, [0, 1], 1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 2, 15, [0, { [_hQ]: _com }]], 4
1015
996
  ];
1016
997
  exports.UpdateAssetOutput$ = [3, n2, _UAO,
1017
998
  0,
@@ -1030,8 +1011,8 @@ exports.UpdateAutomationOutput$ = [3, n2, _UAOp,
1030
1011
  ];
1031
1012
  exports.UpdateEvaluationInput$ = [3, n2, _UEI,
1032
1013
  0,
1033
- [_n, _in, _tr, _w, _eI, _r, _d, _fi, _mod, _gro, _con, _com],
1034
- [0, 0, () => exports.EvaluationTriggers$, 0, [0, 1], 1, 0, () => CopilotFieldsList, 0, 0, 15, [0, { [_hQ]: _com }]], 6
1014
+ [_n, _in, _tr, _w, _eI, _r, _d, _fi, _mod, _con, _com],
1015
+ [0, 0, () => exports.EvaluationTriggers$, 0, [0, 1], 1, 0, () => CopilotFieldsList, 0, 15, [0, { [_hQ]: _com }]], 6
1035
1016
  ];
1036
1017
  exports.UpdateEvaluationOutput$ = [3, n2, _UEO,
1037
1018
  0,
@@ -1113,8 +1094,8 @@ exports.AssetContent$ = [4, n2, _ACs,
1113
1094
  ];
1114
1095
  exports.AutomationHandler$ = [4, n2, _AH,
1115
1096
  0,
1116
- [_ag, _too, _kB],
1117
- [() => exports.AgentAutomationHandler$, () => exports.ToolAutomationHandler$, () => exports.KnowledgeBaseAutomationHandler$]
1097
+ [_ag],
1098
+ [() => exports.AgentAutomationHandler$]
1118
1099
  ];
1119
1100
  exports.CardContent$ = [4, n2, _CC,
1120
1101
  0,
@@ -34,13 +34,6 @@ export const AssetSeverity = {
34
34
  SUCCESS: "success",
35
35
  WARNING: "warning",
36
36
  };
37
- export const AssetType = {
38
- BATTLE_CARD: "battle_card",
39
- GUIDANCE: "guidance",
40
- KNOWLEDGE: "knowledge",
41
- NEXT_BEST_ACTION: "next_best_action",
42
- PLAYBOOK: "playbook",
43
- };
44
37
  export const AssetContentType = {
45
38
  CARD: "card",
46
39
  KNOWLEDGE: "knowledge",
@@ -68,11 +61,6 @@ export const ProfileStatus = {
68
61
  ACTIVE: "active",
69
62
  DRAFT: "draft",
70
63
  };
71
- export const AutomationHandlerType = {
72
- AGENT: "agent",
73
- KNOWLEDGE_BASE: "knowledge_base",
74
- TOOL: "tool",
75
- };
76
64
  export const EvaluationWindow = {
77
65
  FULL_TRANSCRIPT: "full_transcript",
78
66
  NEW_TRANSCRIPT: "new_transcript",
@@ -114,7 +114,6 @@ const _INUNE = "IntentNonUniqueNameException";
114
114
  const _ITM = "IntentTextMatch";
115
115
  const _ITMO = "IntentTextMatchOption";
116
116
  const _ITMOL = "IntentTextMatchOptionsList";
117
- const _KBAH = "KnowledgeBaseAutomationHandler";
118
117
  const _LA = "ListAssets";
119
118
  const _LAI = "ListAssetsInput";
120
119
  const _LAIi = "ListAutomationsInput";
@@ -166,7 +165,6 @@ const _SARA = "SmartActionRunAgent";
166
165
  const _SART = "SmartActionRunTool";
167
166
  const _SAT = "SmartActionTransfer";
168
167
  const _SFC = "SentimentFeatureConfiguration";
169
- const _TAH = "ToolAutomationHandler";
170
168
  const _TFC = "TopicsFeatureConfiguration";
171
169
  const _TRFC = "TalkRatioFeatureConfiguration";
172
170
  const _UA = "UpdateAsset";
@@ -233,7 +231,6 @@ const _des = "destination";
233
231
  const _e = "error";
234
232
  const _eC = "evaluationCount";
235
233
  const _eI = "evaluationId";
236
- const _eLD = "executionsLast30Days";
237
234
  const _en = "enabled";
238
235
  const _ev = "evaluation";
239
236
  const _eva = "evaluations";
@@ -251,7 +248,6 @@ const _gro = "group";
251
248
  const _h = "handler";
252
249
  const _hE = "httpError";
253
250
  const _hQ = "httpQuery";
254
- const _hT = "handlerType";
255
251
  const _hV = "handoverVariant";
256
252
  const _ha = "handlers";
257
253
  const _han = "handover";
@@ -267,9 +263,7 @@ const _int = "intent";
267
263
  const _inte = "intents";
268
264
  const _inter = "interval";
269
265
  const _k = "key";
270
- const _kB = "knowledgeBase";
271
266
  const _kBI = "knowledgeBaseIds";
272
- const _kBIn = "knowledgeBaseId";
273
267
  const _kn = "knowledge";
274
268
  const _l = "limit";
275
269
  const _lV = "latestVersion";
@@ -297,7 +291,6 @@ const _p = "prompt";
297
291
  const _pA = "publishedAt";
298
292
  const _pB = "publishedBy";
299
293
  const _pI = "profileId";
300
- const _pT = "payloadTemplate";
301
294
  const _pa = "parameters";
302
295
  const _par = "parameter";
303
296
  const _pat = "path";
@@ -334,12 +327,10 @@ const _tD = "toDraft";
334
327
  const _tI = "toolId";
335
328
  const _tM = "textMatch";
336
329
  const _tME = "textMatchEnabled";
337
- const _tN = "toolName";
338
330
  const _tR = "talkRatio";
339
331
  const _te = "text";
340
332
  const _ti = "title";
341
333
  const _to = "to";
342
- const _too = "tool";
343
334
  const _top = "topics";
344
335
  const _tr = "triggers";
345
336
  const _tra = "transfer";
@@ -499,8 +490,8 @@ export var AgentAutomationHandler$ = [3, n2, _AAH,
499
490
  ];
500
491
  export var Asset$ = [3, n2, _As,
501
492
  0,
502
- [_n, _co, _cA, _cB, _i, _r, _k, _d, _en, _t, _ti, _su, _ma, _f, _se, _ic, _st, _con, _uA, _uB, _uLD],
503
- [0, () => AssetContent$, 0, () => Actor$, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 2, 15, 0, () => Actor$, 1], 6
493
+ [_n, _co, _cA, _cB, _i, _r, _k, _d, _en, _ti, _su, _ma, _f, _se, _ic, _st, _con, _uA, _uB, _uLD],
494
+ [0, () => AssetContent$, 0, () => Actor$, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 2, 15, 0, () => Actor$, 1], 6
504
495
  ];
505
496
  export var AssetCard$ = [3, n2, _AC,
506
497
  0,
@@ -509,8 +500,8 @@ export var AssetCard$ = [3, n2, _AC,
509
500
  ];
510
501
  export var AssetInfo$ = [3, n2, _AI,
511
502
  0,
512
- [_cA, _cB, _i, _n, _en, _cT, _uA, _uB, _d, _t, _uLD],
513
- [0, () => Actor$, 0, 0, 2, 0, 0, () => Actor$, 0, 0, 1], 6
503
+ [_cA, _cB, _i, _n, _en, _cT, _uA, _uB, _d],
504
+ [0, () => Actor$, 0, 0, 2, 0, 0, () => Actor$, 0], 6
514
505
  ];
515
506
  export var AssetKnowledge$ = [3, n2, _AK,
516
507
  0,
@@ -539,13 +530,13 @@ export var AttachProfileResourceOutput$ = [3, n2, _APRO,
539
530
  ];
540
531
  export var Automation$ = [3, n2, _Au,
541
532
  0,
542
- [_n, _h, _cA, _cB, _i, _r, _d, _con, _uA, _uB, _eLD],
543
- [0, () => AutomationHandler$, 0, () => Actor$, 0, 1, 0, 15, 0, () => Actor$, 1], 6
533
+ [_n, _h, _cA, _cB, _i, _r, _d, _con, _uA, _uB],
534
+ [0, () => AutomationHandler$, 0, () => Actor$, 0, 1, 0, 15, 0, () => Actor$], 6
544
535
  ];
545
536
  export var AutomationInfo$ = [3, n2, _AIu,
546
537
  0,
547
- [_cA, _cB, _i, _n, _hT, _uA, _uB, _d, _eLD],
548
- [0, () => Actor$, 0, 0, 0, 0, () => Actor$, 0, 1], 5
538
+ [_cA, _cB, _i, _n, _uA, _uB, _d],
539
+ [0, () => Actor$, 0, 0, 0, () => Actor$, 0], 4
549
540
  ];
550
541
  export var CardAgentContent$ = [3, n2, _CAC,
551
542
  0,
@@ -609,8 +600,8 @@ export var CopilotVariableBinding$ = [3, n2, _CVB,
609
600
  ];
610
601
  export var CreateAssetInput$ = [3, n2, _CAI,
611
602
  0,
612
- [_n, _co, _k, _d, _en, _t, _ti, _su, _ma, _f, _se, _ic, _st, _con, _com],
613
- [0, () => AssetContent$, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 2, 15, [0, { [_hQ]: _com }]], 2
603
+ [_n, _co, _k, _d, _en, _ti, _su, _ma, _f, _se, _ic, _st, _con, _com],
604
+ [0, () => AssetContent$, 0, 0, 2, 0, 0, 0, 0, 0, 0, 2, 15, [0, { [_hQ]: _com }]], 2
614
605
  ];
615
606
  export var CreateAssetOutput$ = [3, n2, _CAO,
616
607
  0,
@@ -629,8 +620,8 @@ export var CreateAutomationOutput$ = [3, n2, _CAOr,
629
620
  ];
630
621
  export var CreateEvaluationInput$ = [3, n2, _CEI,
631
622
  0,
632
- [_n, _in, _tr, _w, _d, _fi, _mod, _gro, _con, _com],
633
- [0, 0, () => EvaluationTriggers$, 0, 0, () => CopilotFieldsList, 0, 0, 15, [0, { [_hQ]: _com }]], 4
623
+ [_n, _in, _tr, _w, _d, _fi, _mod, _con, _com],
624
+ [0, 0, () => EvaluationTriggers$, 0, 0, () => CopilotFieldsList, 0, 15, [0, { [_hQ]: _com }]], 4
634
625
  ];
635
626
  export var CreateEvaluationOutput$ = [3, n2, _CEO,
636
627
  0,
@@ -724,13 +715,13 @@ export var DeleteProfileResourceOutput$ = [3, n2, _DPRO,
724
715
  ];
725
716
  export var Evaluation$ = [3, n2, _E,
726
717
  0,
727
- [_n, _in, _tr, _w, _cA, _cB, _i, _r, _d, _fi, _mod, _gro, _con, _uA, _uB, _uLD],
728
- [0, 0, () => EvaluationTriggers$, 0, 0, () => Actor$, 0, 1, 0, () => CopilotFieldsList, 0, 0, 15, 0, () => Actor$, 1], 8
718
+ [_n, _in, _tr, _w, _cA, _cB, _i, _r, _d, _fi, _mod, _con, _uA, _uB, _uLD],
719
+ [0, 0, () => EvaluationTriggers$, 0, 0, () => Actor$, 0, 1, 0, () => CopilotFieldsList, 0, 15, 0, () => Actor$, 1], 8
729
720
  ];
730
721
  export var EvaluationInfo$ = [3, n2, _EI,
731
722
  0,
732
- [_cA, _cB, _i, _n, _w, _uA, _uB, _d, _gro, _uLD],
733
- [0, () => Actor$, 0, 0, 0, 0, () => Actor$, 0, 0, 1], 5
723
+ [_cA, _cB, _i, _n, _w, _uA, _uB, _d, _uLD],
724
+ [0, () => Actor$, 0, 0, 0, 0, () => Actor$, 0, 1], 5
734
725
  ];
735
726
  export var EvaluationIntervalTrigger$ = [3, n2, _EIT,
736
727
  0,
@@ -832,15 +823,10 @@ export var IntentTextMatchOption$ = [3, n2, _ITMO,
832
823
  [_i, _val, _mo],
833
824
  [0, 0, 0], 3
834
825
  ];
835
- export var KnowledgeBaseAutomationHandler$ = [3, n2, _KBAH,
836
- 0,
837
- [_kBIn],
838
- [0], 1
839
- ];
840
826
  export var ListAssetsInput$ = [3, n2, _LAI,
841
827
  0,
842
- [_com, _cT, _t, _en, _sea, _l, _cu],
843
- [[0, { [_hQ]: _com }], [0, { [_hQ]: _cT }], [0, { [_hQ]: _t }], [2, { [_hQ]: _en }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
828
+ [_com, _cT, _en, _sea, _l, _cu],
829
+ [[0, { [_hQ]: _com }], [0, { [_hQ]: _cT }], [2, { [_hQ]: _en }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
844
830
  ];
845
831
  export var ListAssetsOutput$ = [3, n2, _LAO,
846
832
  0,
@@ -849,8 +835,8 @@ export var ListAssetsOutput$ = [3, n2, _LAO,
849
835
  ];
850
836
  export var ListAutomationsInput$ = [3, n2, _LAIi,
851
837
  0,
852
- [_com, _hT, _sea, _l, _cu],
853
- [[0, { [_hQ]: _com }], [0, { [_hQ]: _hT }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
838
+ [_com, _sea, _l, _cu],
839
+ [[0, { [_hQ]: _com }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
854
840
  ];
855
841
  export var ListAutomationsOutput$ = [3, n2, _LAOi,
856
842
  0,
@@ -992,11 +978,6 @@ export var TalkRatioFeatureConfiguration$ = [3, n2, _TRFC,
992
978
  [],
993
979
  []
994
980
  ];
995
- export var ToolAutomationHandler$ = [3, n2, _TAH,
996
- 0,
997
- [_tN, _tI, _act, _pT, _oM, _pa],
998
- [0, 0, 0, 0, 0, () => CopilotVariableBindingsList], 1
999
- ];
1000
981
  export var TopicsFeatureConfiguration$ = [3, n2, _TFC,
1001
982
  0,
1002
983
  [],
@@ -1004,8 +985,8 @@ export var TopicsFeatureConfiguration$ = [3, n2, _TFC,
1004
985
  ];
1005
986
  export var UpdateAssetInput$ = [3, n2, _UAI,
1006
987
  0,
1007
- [_n, _co, _aIs, _r, _k, _d, _en, _t, _ti, _su, _ma, _f, _se, _ic, _st, _con, _com],
1008
- [0, () => AssetContent$, [0, 1], 1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 2, 15, [0, { [_hQ]: _com }]], 4
988
+ [_n, _co, _aIs, _r, _k, _d, _en, _ti, _su, _ma, _f, _se, _ic, _st, _con, _com],
989
+ [0, () => AssetContent$, [0, 1], 1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 2, 15, [0, { [_hQ]: _com }]], 4
1009
990
  ];
1010
991
  export var UpdateAssetOutput$ = [3, n2, _UAO,
1011
992
  0,
@@ -1024,8 +1005,8 @@ export var UpdateAutomationOutput$ = [3, n2, _UAOp,
1024
1005
  ];
1025
1006
  export var UpdateEvaluationInput$ = [3, n2, _UEI,
1026
1007
  0,
1027
- [_n, _in, _tr, _w, _eI, _r, _d, _fi, _mod, _gro, _con, _com],
1028
- [0, 0, () => EvaluationTriggers$, 0, [0, 1], 1, 0, () => CopilotFieldsList, 0, 0, 15, [0, { [_hQ]: _com }]], 6
1008
+ [_n, _in, _tr, _w, _eI, _r, _d, _fi, _mod, _con, _com],
1009
+ [0, 0, () => EvaluationTriggers$, 0, [0, 1], 1, 0, () => CopilotFieldsList, 0, 15, [0, { [_hQ]: _com }]], 6
1029
1010
  ];
1030
1011
  export var UpdateEvaluationOutput$ = [3, n2, _UEO,
1031
1012
  0,
@@ -1107,8 +1088,8 @@ export var AssetContent$ = [4, n2, _ACs,
1107
1088
  ];
1108
1089
  export var AutomationHandler$ = [4, n2, _AH,
1109
1090
  0,
1110
- [_ag, _too, _kB],
1111
- [() => AgentAutomationHandler$, () => ToolAutomationHandler$, () => KnowledgeBaseAutomationHandler$]
1091
+ [_ag],
1092
+ [() => AgentAutomationHandler$]
1112
1093
  ];
1113
1094
  export var CardContent$ = [4, n2, _CC,
1114
1095
  0,
@@ -41,7 +41,6 @@ declare const CreateAssetCommand_base: {
41
41
  * name: "STRING_VALUE", // required
42
42
  * description: "STRING_VALUE",
43
43
  * enabled: true || false,
44
- * type: "guidance" || "next_best_action" || "battle_card" || "playbook" || "knowledge",
45
44
  * title: "STRING_VALUE",
46
45
  * subtitle: "STRING_VALUE",
47
46
  * markdown: "STRING_VALUE",
@@ -163,7 +162,6 @@ declare const CreateAssetCommand_base: {
163
162
  * // name: "STRING_VALUE", // required
164
163
  * // description: "STRING_VALUE",
165
164
  * // enabled: true || false,
166
- * // type: "guidance" || "next_best_action" || "battle_card" || "playbook" || "knowledge",
167
165
  * // title: "STRING_VALUE",
168
166
  * // subtitle: "STRING_VALUE",
169
167
  * // markdown: "STRING_VALUE",
@@ -55,26 +55,6 @@ declare const CreateAutomationCommand_base: {
55
55
  * },
56
56
  * ],
57
57
  * },
58
- * tool: { // ToolAutomationHandler
59
- * toolId: "STRING_VALUE",
60
- * toolName: "STRING_VALUE", // required
61
- * action: "STRING_VALUE",
62
- * payloadTemplate: "STRING_VALUE",
63
- * outputMode: "card" || "silent",
64
- * parameters: [
65
- * {
66
- * name: "STRING_VALUE", // required
67
- * type: "STRING_VALUE",
68
- * optional: true || false,
69
- * variant: "auto" || "guided" || "predefined", // required
70
- * description: "STRING_VALUE",
71
- * value: "STRING_VALUE",
72
- * },
73
- * ],
74
- * },
75
- * knowledgeBase: { // KnowledgeBaseAutomationHandler
76
- * knowledgeBaseId: "STRING_VALUE", // required
77
- * },
78
58
  * },
79
59
  * conditions: "DOCUMENT_VALUE",
80
60
  * company: "STRING_VALUE",
@@ -101,26 +81,6 @@ declare const CreateAutomationCommand_base: {
101
81
  * // },
102
82
  * // ],
103
83
  * // },
104
- * // tool: { // ToolAutomationHandler
105
- * // toolId: "STRING_VALUE",
106
- * // toolName: "STRING_VALUE", // required
107
- * // action: "STRING_VALUE",
108
- * // payloadTemplate: "STRING_VALUE",
109
- * // outputMode: "card" || "silent",
110
- * // parameters: [
111
- * // {
112
- * // name: "STRING_VALUE", // required
113
- * // type: "STRING_VALUE",
114
- * // optional: true || false,
115
- * // variant: "auto" || "guided" || "predefined", // required
116
- * // description: "STRING_VALUE",
117
- * // value: "STRING_VALUE",
118
- * // },
119
- * // ],
120
- * // },
121
- * // knowledgeBase: { // KnowledgeBaseAutomationHandler
122
- * // knowledgeBaseId: "STRING_VALUE", // required
123
- * // },
124
84
  * // },
125
85
  * // conditions: "DOCUMENT_VALUE",
126
86
  * // createdAt: "STRING_VALUE", // required
@@ -137,7 +97,6 @@ declare const CreateAutomationCommand_base: {
137
97
  * // },
138
98
  * // id: "STRING_VALUE", // required
139
99
  * // revision: Number("int"), // required
140
- * // executionsLast30Days: Number("int"),
141
100
  * // },
142
101
  * // };
143
102
  *
@@ -85,7 +85,6 @@ declare const CreateEvaluationCommand_base: {
85
85
  * },
86
86
  * window: "new_transcript" || "new_with_prior" || "full_transcript", // required
87
87
  * model: "STRING_VALUE",
88
- * group: "STRING_VALUE",
89
88
  * conditions: "DOCUMENT_VALUE",
90
89
  * company: "STRING_VALUE",
91
90
  * };
@@ -141,7 +140,6 @@ declare const CreateEvaluationCommand_base: {
141
140
  * // },
142
141
  * // window: "new_transcript" || "new_with_prior" || "full_transcript", // required
143
142
  * // model: "STRING_VALUE",
144
- * // group: "STRING_VALUE",
145
143
  * // conditions: "DOCUMENT_VALUE",
146
144
  * // createdAt: "STRING_VALUE", // required
147
145
  * // createdBy: { // Actor
@@ -48,7 +48,6 @@ declare const GetAssetCommand_base: {
48
48
  * // name: "STRING_VALUE", // required
49
49
  * // description: "STRING_VALUE",
50
50
  * // enabled: true || false,
51
- * // type: "guidance" || "next_best_action" || "battle_card" || "playbook" || "knowledge",
52
51
  * // title: "STRING_VALUE",
53
52
  * // subtitle: "STRING_VALUE",
54
53
  * // markdown: "STRING_VALUE",
@@ -62,26 +62,6 @@ declare const GetAutomationCommand_base: {
62
62
  * // },
63
63
  * // ],
64
64
  * // },
65
- * // tool: { // ToolAutomationHandler
66
- * // toolId: "STRING_VALUE",
67
- * // toolName: "STRING_VALUE", // required
68
- * // action: "STRING_VALUE",
69
- * // payloadTemplate: "STRING_VALUE",
70
- * // outputMode: "card" || "silent",
71
- * // parameters: [
72
- * // {
73
- * // name: "STRING_VALUE", // required
74
- * // type: "STRING_VALUE",
75
- * // optional: true || false,
76
- * // variant: "auto" || "guided" || "predefined", // required
77
- * // description: "STRING_VALUE",
78
- * // value: "STRING_VALUE",
79
- * // },
80
- * // ],
81
- * // },
82
- * // knowledgeBase: { // KnowledgeBaseAutomationHandler
83
- * // knowledgeBaseId: "STRING_VALUE", // required
84
- * // },
85
65
  * // },
86
66
  * // conditions: "DOCUMENT_VALUE",
87
67
  * // createdAt: "STRING_VALUE", // required
@@ -98,7 +78,6 @@ declare const GetAutomationCommand_base: {
98
78
  * // },
99
79
  * // id: "STRING_VALUE", // required
100
80
  * // revision: Number("int"), // required
101
- * // executionsLast30Days: Number("int"),
102
81
  * // },
103
82
  * // };
104
83
  *
@@ -92,7 +92,6 @@ declare const GetEvaluationCommand_base: {
92
92
  * // },
93
93
  * // window: "new_transcript" || "new_with_prior" || "full_transcript", // required
94
94
  * // model: "STRING_VALUE",
95
- * // group: "STRING_VALUE",
96
95
  * // conditions: "DOCUMENT_VALUE",
97
96
  * // createdAt: "STRING_VALUE", // required
98
97
  * // createdBy: { // Actor
@@ -39,7 +39,6 @@ declare const ListAssetsCommand_base: {
39
39
  * const input = { // ListAssetsInput
40
40
  * company: "STRING_VALUE",
41
41
  * contentType: "card" || "playbook" || "smart_action" || "knowledge",
42
- * type: "guidance" || "next_best_action" || "battle_card" || "playbook" || "knowledge",
43
42
  * enabled: true || false,
44
43
  * search: "STRING_VALUE",
45
44
  * limit: Number("int"),
@@ -66,9 +65,7 @@ declare const ListAssetsCommand_base: {
66
65
  * // name: "STRING_VALUE", // required
67
66
  * // description: "STRING_VALUE",
68
67
  * // enabled: true || false, // required
69
- * // type: "guidance" || "next_best_action" || "battle_card" || "playbook" || "knowledge",
70
68
  * // contentType: "card" || "playbook" || "smart_action" || "knowledge", // required
71
- * // usageLast30Days: Number("int"),
72
69
  * // },
73
70
  * // ],
74
71
  * // nextCursor: "STRING_VALUE",
@@ -38,7 +38,6 @@ declare const ListAutomationsCommand_base: {
38
38
  * const client = new WilmaCopilotClient(config);
39
39
  * const input = { // ListAutomationsInput
40
40
  * company: "STRING_VALUE",
41
- * handlerType: "agent" || "tool" || "knowledge_base",
42
41
  * search: "STRING_VALUE",
43
42
  * limit: Number("int"),
44
43
  * cursor: "STRING_VALUE",
@@ -63,8 +62,6 @@ declare const ListAutomationsCommand_base: {
63
62
  * // id: "STRING_VALUE", // required
64
63
  * // name: "STRING_VALUE", // required
65
64
  * // description: "STRING_VALUE",
66
- * // handlerType: "agent" || "tool" || "knowledge_base", // required
67
- * // executionsLast30Days: Number("int"),
68
65
  * // },
69
66
  * // ],
70
67
  * // nextCursor: "STRING_VALUE",
@@ -64,7 +64,6 @@ declare const ListEvaluationsCommand_base: {
64
64
  * // name: "STRING_VALUE", // required
65
65
  * // description: "STRING_VALUE",
66
66
  * // window: "new_transcript" || "new_with_prior" || "full_transcript", // required
67
- * // group: "STRING_VALUE",
68
67
  * // usageLast30Days: Number("int"),
69
68
  * // },
70
69
  * // ],
@@ -41,7 +41,6 @@ declare const UpdateAssetCommand_base: {
41
41
  * name: "STRING_VALUE", // required
42
42
  * description: "STRING_VALUE",
43
43
  * enabled: true || false,
44
- * type: "guidance" || "next_best_action" || "battle_card" || "playbook" || "knowledge",
45
44
  * title: "STRING_VALUE",
46
45
  * subtitle: "STRING_VALUE",
47
46
  * markdown: "STRING_VALUE",
@@ -165,7 +164,6 @@ declare const UpdateAssetCommand_base: {
165
164
  * // name: "STRING_VALUE", // required
166
165
  * // description: "STRING_VALUE",
167
166
  * // enabled: true || false,
168
- * // type: "guidance" || "next_best_action" || "battle_card" || "playbook" || "knowledge",
169
167
  * // title: "STRING_VALUE",
170
168
  * // subtitle: "STRING_VALUE",
171
169
  * // markdown: "STRING_VALUE",
@@ -55,26 +55,6 @@ declare const UpdateAutomationCommand_base: {
55
55
  * },
56
56
  * ],
57
57
  * },
58
- * tool: { // ToolAutomationHandler
59
- * toolId: "STRING_VALUE",
60
- * toolName: "STRING_VALUE", // required
61
- * action: "STRING_VALUE",
62
- * payloadTemplate: "STRING_VALUE",
63
- * outputMode: "card" || "silent",
64
- * parameters: [
65
- * {
66
- * name: "STRING_VALUE", // required
67
- * type: "STRING_VALUE",
68
- * optional: true || false,
69
- * variant: "auto" || "guided" || "predefined", // required
70
- * description: "STRING_VALUE",
71
- * value: "STRING_VALUE",
72
- * },
73
- * ],
74
- * },
75
- * knowledgeBase: { // KnowledgeBaseAutomationHandler
76
- * knowledgeBaseId: "STRING_VALUE", // required
77
- * },
78
58
  * },
79
59
  * conditions: "DOCUMENT_VALUE",
80
60
  * company: "STRING_VALUE",
@@ -103,26 +83,6 @@ declare const UpdateAutomationCommand_base: {
103
83
  * // },
104
84
  * // ],
105
85
  * // },
106
- * // tool: { // ToolAutomationHandler
107
- * // toolId: "STRING_VALUE",
108
- * // toolName: "STRING_VALUE", // required
109
- * // action: "STRING_VALUE",
110
- * // payloadTemplate: "STRING_VALUE",
111
- * // outputMode: "card" || "silent",
112
- * // parameters: [
113
- * // {
114
- * // name: "STRING_VALUE", // required
115
- * // type: "STRING_VALUE",
116
- * // optional: true || false,
117
- * // variant: "auto" || "guided" || "predefined", // required
118
- * // description: "STRING_VALUE",
119
- * // value: "STRING_VALUE",
120
- * // },
121
- * // ],
122
- * // },
123
- * // knowledgeBase: { // KnowledgeBaseAutomationHandler
124
- * // knowledgeBaseId: "STRING_VALUE", // required
125
- * // },
126
86
  * // },
127
87
  * // conditions: "DOCUMENT_VALUE",
128
88
  * // createdAt: "STRING_VALUE", // required
@@ -139,7 +99,6 @@ declare const UpdateAutomationCommand_base: {
139
99
  * // },
140
100
  * // id: "STRING_VALUE", // required
141
101
  * // revision: Number("int"), // required
142
- * // executionsLast30Days: Number("int"),
143
102
  * // },
144
103
  * // };
145
104
  *
@@ -85,7 +85,6 @@ declare const UpdateEvaluationCommand_base: {
85
85
  * },
86
86
  * window: "new_transcript" || "new_with_prior" || "full_transcript", // required
87
87
  * model: "STRING_VALUE",
88
- * group: "STRING_VALUE",
89
88
  * conditions: "DOCUMENT_VALUE",
90
89
  * company: "STRING_VALUE",
91
90
  * evaluationId: "STRING_VALUE", // required
@@ -143,7 +142,6 @@ declare const UpdateEvaluationCommand_base: {
143
142
  * // },
144
143
  * // window: "new_transcript" || "new_with_prior" || "full_transcript", // required
145
144
  * // model: "STRING_VALUE",
146
- * // group: "STRING_VALUE",
147
145
  * // conditions: "DOCUMENT_VALUE",
148
146
  * // createdAt: "STRING_VALUE", // required
149
147
  * // createdBy: { // Actor
@@ -105,21 +105,6 @@ export declare const AssetSeverity: {
105
105
  * @public
106
106
  */
107
107
  export type AssetSeverity = (typeof AssetSeverity)[keyof typeof AssetSeverity];
108
- /**
109
- * @public
110
- * @enum
111
- */
112
- export declare const AssetType: {
113
- readonly BATTLE_CARD: "battle_card";
114
- readonly GUIDANCE: "guidance";
115
- readonly KNOWLEDGE: "knowledge";
116
- readonly NEXT_BEST_ACTION: "next_best_action";
117
- readonly PLAYBOOK: "playbook";
118
- };
119
- /**
120
- * @public
121
- */
122
- export type AssetType = (typeof AssetType)[keyof typeof AssetType];
123
108
  /**
124
109
  * @public
125
110
  * @enum
@@ -213,19 +198,6 @@ export declare const ProfileStatus: {
213
198
  * @public
214
199
  */
215
200
  export type ProfileStatus = (typeof ProfileStatus)[keyof typeof ProfileStatus];
216
- /**
217
- * @public
218
- * @enum
219
- */
220
- export declare const AutomationHandlerType: {
221
- readonly AGENT: "agent";
222
- readonly KNOWLEDGE_BASE: "knowledge_base";
223
- readonly TOOL: "tool";
224
- };
225
- /**
226
- * @public
227
- */
228
- export type AutomationHandlerType = (typeof AutomationHandlerType)[keyof typeof AutomationHandlerType];
229
201
  /**
230
202
  * @public
231
203
  * @enum
@@ -1,5 +1,5 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { ActorType, AssetContentType, AssetIcon, AssetSeverity, AssetType, AutomationHandlerType, AutomationOutputMode, ContextualKnowledgeMode, ContextualKnowledgeSource, CopilotChannel, CopilotVariableMode, CopilotVisibility, EvaluationWindow, IntentTextMatchMode, ProfileResourceType, ProfileStatus, SmartActionHandoverVariant, SmartActionResultMode } from "./enums";
2
+ import type { ActorType, AssetContentType, AssetIcon, AssetSeverity, AutomationOutputMode, ContextualKnowledgeMode, ContextualKnowledgeSource, CopilotChannel, CopilotVariableMode, CopilotVisibility, EvaluationWindow, IntentTextMatchMode, ProfileResourceType, ProfileStatus, SmartActionHandoverVariant, SmartActionResultMode } from "./enums";
3
3
  /**
4
4
  * Who performed an action: an interactive user, an API key or an internal service.
5
5
  * @public
@@ -520,11 +520,6 @@ export interface Asset {
520
520
  * @public
521
521
  */
522
522
  enabled?: boolean | undefined;
523
- /**
524
- * Semantic classification of the asset, driving default presentation.
525
- * @public
526
- */
527
- type?: AssetType | undefined;
528
523
  /**
529
524
  * Card headline.
530
525
  * @public
@@ -623,21 +618,11 @@ export interface AssetInfo {
623
618
  name: string;
624
619
  description?: string | undefined;
625
620
  enabled: boolean;
626
- /**
627
- * Semantic classification of the asset, driving default presentation.
628
- * @public
629
- */
630
- type?: AssetType | undefined;
631
621
  /**
632
622
  * Which kind of content an asset carries.
633
623
  * @public
634
624
  */
635
625
  contentType: AssetContentType;
636
- /**
637
- * Number of matches/executions over the trailing 30 days, or null when not yet computed.
638
- * @public
639
- */
640
- usageLast30Days?: number | undefined;
641
626
  }
642
627
  /**
643
628
  * Configuration for the built-in contextual knowledge answers feature.
@@ -1029,54 +1014,11 @@ export interface AttachProfileResourceOutput {
1029
1014
  */
1030
1015
  profile: Profile;
1031
1016
  }
1032
- /**
1033
- * Queries a knowledge base and shows the answer as a card.
1034
- * @public
1035
- */
1036
- export interface KnowledgeBaseAutomationHandler {
1037
- /**
1038
- * Id of a knowledge base referenced by copilot. Managed in the wim-knowledge-base service.
1039
- * @public
1040
- */
1041
- knowledgeBaseId: string;
1042
- }
1043
- /**
1044
- * Invokes a shared tool.
1045
- * @public
1046
- */
1047
- export interface ToolAutomationHandler {
1048
- /**
1049
- * Id of a shared tool managed in the wim-tools service.
1050
- * @public
1051
- */
1052
- toolId?: string | undefined;
1053
- /**
1054
- * Human-readable tool name shown in the console.
1055
- * @public
1056
- */
1057
- toolName: string;
1058
- /**
1059
- * Tool action/operation to invoke, when the tool exposes several.
1060
- * @public
1061
- */
1062
- action?: string | undefined;
1063
- /**
1064
- * Handlebars template for the tool payload, resolved against the session state.
1065
- * @public
1066
- */
1067
- payloadTemplate?: string | undefined;
1068
- /**
1069
- * Where the automation's result is delivered.
1070
- * @public
1071
- */
1072
- outputMode?: AutomationOutputMode | undefined;
1073
- parameters?: CopilotVariableBinding[] | undefined;
1074
- }
1075
1017
  /**
1076
1018
  * What the automation does when it fires. Exactly one member is set.
1077
1019
  * @public
1078
1020
  */
1079
- export type AutomationHandler = AutomationHandler.AgentMember | AutomationHandler.KnowledgeBaseMember | AutomationHandler.ToolMember | AutomationHandler.$UnknownMember;
1021
+ export type AutomationHandler = AutomationHandler.AgentMember | AutomationHandler.$UnknownMember;
1080
1022
  /**
1081
1023
  * @public
1082
1024
  */
@@ -1087,28 +1029,6 @@ export declare namespace AutomationHandler {
1087
1029
  */
1088
1030
  interface AgentMember {
1089
1031
  agent: AgentAutomationHandler;
1090
- tool?: never;
1091
- knowledgeBase?: never;
1092
- $unknown?: never;
1093
- }
1094
- /**
1095
- * Invokes a shared tool.
1096
- * @public
1097
- */
1098
- interface ToolMember {
1099
- agent?: never;
1100
- tool: ToolAutomationHandler;
1101
- knowledgeBase?: never;
1102
- $unknown?: never;
1103
- }
1104
- /**
1105
- * Queries a knowledge base and shows the answer as a card.
1106
- * @public
1107
- */
1108
- interface KnowledgeBaseMember {
1109
- agent?: never;
1110
- tool?: never;
1111
- knowledgeBase: KnowledgeBaseAutomationHandler;
1112
1032
  $unknown?: never;
1113
1033
  }
1114
1034
  /**
@@ -1116,8 +1036,6 @@ export declare namespace AutomationHandler {
1116
1036
  */
1117
1037
  interface $UnknownMember {
1118
1038
  agent?: never;
1119
- tool?: never;
1120
- knowledgeBase?: never;
1121
1039
  $unknown: [string, any];
1122
1040
  }
1123
1041
  /**
@@ -1126,8 +1044,6 @@ export declare namespace AutomationHandler {
1126
1044
  */
1127
1045
  interface Visitor<T> {
1128
1046
  agent: (value: AgentAutomationHandler) => T;
1129
- tool: (value: ToolAutomationHandler) => T;
1130
- knowledgeBase: (value: KnowledgeBaseAutomationHandler) => T;
1131
1047
  _: (name: string, value: any) => T;
1132
1048
  }
1133
1049
  }
@@ -1174,11 +1090,6 @@ export interface Automation {
1174
1090
  * @public
1175
1091
  */
1176
1092
  revision: number;
1177
- /**
1178
- * Executions over the trailing 30 days; null when not yet computed.
1179
- * @public
1180
- */
1181
- executionsLast30Days?: number | undefined;
1182
1093
  }
1183
1094
  /**
1184
1095
  * Summary entry returned by ListAutomations.
@@ -1208,16 +1119,6 @@ export interface AutomationInfo {
1208
1119
  id: string;
1209
1120
  name: string;
1210
1121
  description?: string | undefined;
1211
- /**
1212
- * Which kind of handler an automation uses.
1213
- * @public
1214
- */
1215
- handlerType: AutomationHandlerType;
1216
- /**
1217
- * Number of matches/executions over the trailing 30 days, or null when not yet computed.
1218
- * @public
1219
- */
1220
- executionsLast30Days?: number | undefined;
1221
1122
  }
1222
1123
  /**
1223
1124
  * @public
@@ -1435,11 +1336,6 @@ export interface CreateAssetInput {
1435
1336
  * @public
1436
1337
  */
1437
1338
  enabled?: boolean | undefined;
1438
- /**
1439
- * Semantic classification of the asset, driving default presentation.
1440
- * @public
1441
- */
1442
- type?: AssetType | undefined;
1443
1339
  /**
1444
1340
  * Card headline.
1445
1341
  * @public
@@ -1592,11 +1488,6 @@ export interface CreateEvaluationInput {
1592
1488
  * @public
1593
1489
  */
1594
1490
  model?: string | undefined;
1595
- /**
1596
- * Optional grouping label for organizing evaluations in the console.
1597
- * @public
1598
- */
1599
- group?: string | undefined;
1600
1491
  /**
1601
1492
  * Extra conditions gating whether this evaluation runs for a session.
1602
1493
  * @public
@@ -1640,11 +1531,6 @@ export interface Evaluation {
1640
1531
  * @public
1641
1532
  */
1642
1533
  model?: string | undefined;
1643
- /**
1644
- * Optional grouping label for organizing evaluations in the console.
1645
- * @public
1646
- */
1647
- group?: string | undefined;
1648
1534
  /**
1649
1535
  * Extra conditions gating whether this evaluation runs for a session.
1650
1536
  * @public
@@ -2043,7 +1929,6 @@ export interface EvaluationInfo {
2043
1929
  * @public
2044
1930
  */
2045
1931
  window: EvaluationWindow;
2046
- group?: string | undefined;
2047
1932
  /**
2048
1933
  * Number of matches/executions over the trailing 30 days, or null when not yet computed.
2049
1934
  * @public
@@ -2215,11 +2100,6 @@ export interface ListAssetsInput {
2215
2100
  * @public
2216
2101
  */
2217
2102
  contentType?: AssetContentType | undefined;
2218
- /**
2219
- * Filter by semantic type.
2220
- * @public
2221
- */
2222
- type?: AssetType | undefined;
2223
2103
  /**
2224
2104
  * Filter by enabled state.
2225
2105
  * @public
@@ -2253,11 +2133,6 @@ export interface ListAssetsOutput {
2253
2133
  */
2254
2134
  export interface ListAutomationsInput {
2255
2135
  company?: string | undefined;
2256
- /**
2257
- * Filter by handler type.
2258
- * @public
2259
- */
2260
- handlerType?: AutomationHandlerType | undefined;
2261
2136
  /**
2262
2137
  * Filter by name or description.
2263
2138
  * @public
@@ -2568,11 +2443,6 @@ export interface UpdateAssetInput {
2568
2443
  * @public
2569
2444
  */
2570
2445
  enabled?: boolean | undefined;
2571
- /**
2572
- * Semantic classification of the asset, driving default presentation.
2573
- * @public
2574
- */
2575
- type?: AssetType | undefined;
2576
2446
  /**
2577
2447
  * Card headline.
2578
2448
  * @public
@@ -2699,11 +2569,6 @@ export interface UpdateEvaluationInput {
2699
2569
  * @public
2700
2570
  */
2701
2571
  model?: string | undefined;
2702
- /**
2703
- * Optional grouping label for organizing evaluations in the console.
2704
- * @public
2705
- */
2706
- group?: string | undefined;
2707
2572
  /**
2708
2573
  * Extra conditions gating whether this evaluation runs for a session.
2709
2574
  * @public
@@ -95,7 +95,6 @@ export declare var IntentHandlers$: StaticStructureSchema;
95
95
  export declare var IntentInfo$: StaticStructureSchema;
96
96
  export declare var IntentTextMatch$: StaticStructureSchema;
97
97
  export declare var IntentTextMatchOption$: StaticStructureSchema;
98
- export declare var KnowledgeBaseAutomationHandler$: StaticStructureSchema;
99
98
  export declare var ListAssetsInput$: StaticStructureSchema;
100
99
  export declare var ListAssetsOutput$: StaticStructureSchema;
101
100
  export declare var ListAutomationsInput$: StaticStructureSchema;
@@ -127,7 +126,6 @@ export declare var SmartActionRunAgent$: StaticStructureSchema;
127
126
  export declare var SmartActionRunTool$: StaticStructureSchema;
128
127
  export declare var SmartActionTransfer$: StaticStructureSchema;
129
128
  export declare var TalkRatioFeatureConfiguration$: StaticStructureSchema;
130
- export declare var ToolAutomationHandler$: StaticStructureSchema;
131
129
  export declare var TopicsFeatureConfiguration$: StaticStructureSchema;
132
130
  export declare var UpdateAssetInput$: StaticStructureSchema;
133
131
  export declare var UpdateAssetOutput$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wilma-copilot-client",
3
3
  "description": "@wildix/wilma-copilot-client client",
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
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",