@wildix/wilma-copilot-client 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/enums.js +1 -13
- package/dist-cjs/schemas/schemas_0.js +61 -80
- package/dist-es/models/enums.js +0 -12
- package/dist-es/schemas/schemas_0.js +58 -77
- package/dist-types/commands/CreateAssetCommand.d.ts +0 -2
- package/dist-types/commands/CreateAutomationCommand.d.ts +0 -41
- package/dist-types/commands/CreateEvaluationCommand.d.ts +0 -2
- package/dist-types/commands/GetAssetCommand.d.ts +0 -1
- package/dist-types/commands/GetAutomationCommand.d.ts +0 -21
- package/dist-types/commands/GetEvaluationCommand.d.ts +0 -1
- package/dist-types/commands/ListAssetsCommand.d.ts +0 -3
- package/dist-types/commands/ListAutomationsCommand.d.ts +0 -3
- package/dist-types/commands/ListEvaluationsCommand.d.ts +0 -1
- package/dist-types/commands/UpdateAssetCommand.d.ts +0 -2
- package/dist-types/commands/UpdateAutomationCommand.d.ts +0 -41
- package/dist-types/commands/UpdateEvaluationCommand.d.ts +0 -2
- package/dist-types/models/enums.d.ts +0 -28
- package/dist-types/models/models_0.d.ts +2 -137
- package/dist-types/schemas/schemas_0.d.ts +0 -2
- package/package.json +1 -1
package/dist-cjs/models/enums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProfileResourceType = exports.IntentTextMatchMode = exports.EvaluationWindow = exports.
|
|
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.
|
|
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.
|
|
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$ =
|
|
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,
|
|
509
|
-
[0, () => exports.AssetContent$, 0, () => exports.Actor$, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 0,
|
|
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
|
|
519
|
-
[0, () => exports.Actor$, 0, 0, 2, 0, 0, () => exports.Actor$, 0
|
|
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
|
|
549
|
-
[0, () => exports.AutomationHandler$, 0, () => exports.Actor$, 0, 1, 0, 15, 0, () => exports.Actor
|
|
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,
|
|
554
|
-
[0, () => exports.Actor$, 0, 0, 0,
|
|
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,
|
|
619
|
-
[0, () => exports.AssetContent$, 0, 0, 2, 0, 0, 0, 0, 0, 0,
|
|
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,
|
|
639
|
-
[0, 0, () => exports.EvaluationTriggers$, 0, 0, () => CopilotFieldsList, 0,
|
|
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,
|
|
734
|
-
[0, 0, () => exports.EvaluationTriggers$, 0, 0, () => exports.Actor$, 0, 1, 0, () => CopilotFieldsList, 0,
|
|
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,
|
|
739
|
-
[0, () => exports.Actor$, 0, 0, 0, 0, () => exports.Actor$, 0,
|
|
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,
|
|
849
|
-
[[0, { [_hQ]: _com }], [0, { [_hQ]: _cT }], [
|
|
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,
|
|
859
|
-
[[0, { [_hQ]: _com }], [0, { [_hQ]:
|
|
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,
|
|
1014
|
-
[0, () => exports.AssetContent$, [0, 1], 1, 0, 0, 2, 0, 0, 0, 0, 0, 0,
|
|
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,
|
|
1034
|
-
[0, 0, () => exports.EvaluationTriggers$, 0, [0, 1], 1, 0, () => CopilotFieldsList, 0,
|
|
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
|
|
1117
|
-
[() => exports.AgentAutomationHandler
|
|
1097
|
+
[_ag],
|
|
1098
|
+
[() => exports.AgentAutomationHandler$]
|
|
1118
1099
|
];
|
|
1119
1100
|
exports.CardContent$ = [4, n2, _CC,
|
|
1120
1101
|
0,
|
|
@@ -1152,98 +1133,98 @@ exports.SmartAction$ = [4, n2, _SA,
|
|
|
1152
1133
|
[() => exports.SmartActionOpenUrl$, () => exports.SmartActionRunAgent$, () => exports.SmartActionRunTool$, () => exports.SmartActionTransfer$, () => exports.SmartActionHandover$]
|
|
1153
1134
|
];
|
|
1154
1135
|
exports.AttachProfileResource$ = [9, n2, _APR,
|
|
1155
|
-
{ [_ht]: ["POST", "/
|
|
1136
|
+
{ [_ht]: ["POST", "/v2/copilot/profiles/{profileId}/resources", 200] }, () => exports.AttachProfileResourceInput$, () => exports.AttachProfileResourceOutput$
|
|
1156
1137
|
];
|
|
1157
1138
|
exports.CompareProfileVersions$ = [9, n2, _CPV,
|
|
1158
|
-
{ [_ht]: ["GET", "/
|
|
1139
|
+
{ [_ht]: ["GET", "/v2/copilot/profiles/{profileId}/versions/compare", 200] }, () => exports.CompareProfileVersionsInput$, () => exports.CompareProfileVersionsOutput$
|
|
1159
1140
|
];
|
|
1160
1141
|
exports.CreateAsset$ = [9, n2, _CAr,
|
|
1161
|
-
{ [_ht]: ["POST", "/
|
|
1142
|
+
{ [_ht]: ["POST", "/v2/copilot/assets", 200] }, () => exports.CreateAssetInput$, () => exports.CreateAssetOutput$
|
|
1162
1143
|
];
|
|
1163
1144
|
exports.CreateAutomation$ = [9, n2, _CAre,
|
|
1164
|
-
{ [_ht]: ["POST", "/
|
|
1145
|
+
{ [_ht]: ["POST", "/v2/copilot/automations", 200] }, () => exports.CreateAutomationInput$, () => exports.CreateAutomationOutput$
|
|
1165
1146
|
];
|
|
1166
1147
|
exports.CreateEvaluation$ = [9, n2, _CE,
|
|
1167
|
-
{ [_ht]: ["POST", "/
|
|
1148
|
+
{ [_ht]: ["POST", "/v2/copilot/evaluations", 200] }, () => exports.CreateEvaluationInput$, () => exports.CreateEvaluationOutput$
|
|
1168
1149
|
];
|
|
1169
1150
|
exports.CreateIntent$ = [9, n2, _CI,
|
|
1170
|
-
{ [_ht]: ["POST", "/
|
|
1151
|
+
{ [_ht]: ["POST", "/v2/copilot/intents", 200] }, () => exports.CreateIntentInput$, () => exports.CreateIntentOutput$
|
|
1171
1152
|
];
|
|
1172
1153
|
exports.CreateProfile$ = [9, n2, _CP,
|
|
1173
|
-
{ [_ht]: ["POST", "/
|
|
1154
|
+
{ [_ht]: ["POST", "/v2/copilot/profiles", 200] }, () => exports.CreateProfileInput$, () => exports.CreateProfileOutput$
|
|
1174
1155
|
];
|
|
1175
1156
|
exports.DeleteAsset$ = [9, n2, _DA,
|
|
1176
|
-
{ [_ht]: ["DELETE", "/
|
|
1157
|
+
{ [_ht]: ["DELETE", "/v2/copilot/assets/{assetId}", 200] }, () => exports.DeleteAssetInput$, () => exports.DeleteAssetOutput$
|
|
1177
1158
|
];
|
|
1178
1159
|
exports.DeleteAutomation$ = [9, n2, _DAe,
|
|
1179
|
-
{ [_ht]: ["DELETE", "/
|
|
1160
|
+
{ [_ht]: ["DELETE", "/v2/copilot/automations/{automationId}", 200] }, () => exports.DeleteAutomationInput$, () => exports.DeleteAutomationOutput$
|
|
1180
1161
|
];
|
|
1181
1162
|
exports.DeleteEvaluation$ = [9, n2, _DE,
|
|
1182
|
-
{ [_ht]: ["DELETE", "/
|
|
1163
|
+
{ [_ht]: ["DELETE", "/v2/copilot/evaluations/{evaluationId}", 200] }, () => exports.DeleteEvaluationInput$, () => exports.DeleteEvaluationOutput$
|
|
1183
1164
|
];
|
|
1184
1165
|
exports.DeleteIntent$ = [9, n2, _DI,
|
|
1185
|
-
{ [_ht]: ["DELETE", "/
|
|
1166
|
+
{ [_ht]: ["DELETE", "/v2/copilot/intents/{intentId}", 200] }, () => exports.DeleteIntentInput$, () => exports.DeleteIntentOutput$
|
|
1186
1167
|
];
|
|
1187
1168
|
exports.DeleteProfile$ = [9, n2, _DP,
|
|
1188
|
-
{ [_ht]: ["DELETE", "/
|
|
1169
|
+
{ [_ht]: ["DELETE", "/v2/copilot/profiles/{profileId}", 200] }, () => exports.DeleteProfileInput$, () => exports.DeleteProfileOutput$
|
|
1189
1170
|
];
|
|
1190
1171
|
exports.DeleteProfileResource$ = [9, n2, _DPR,
|
|
1191
|
-
{ [_ht]: ["DELETE", "/
|
|
1172
|
+
{ [_ht]: ["DELETE", "/v2/copilot/profiles/{profileId}/resources/{resourceType}/{resourceId}", 200] }, () => exports.DeleteProfileResourceInput$, () => exports.DeleteProfileResourceOutput$
|
|
1192
1173
|
];
|
|
1193
1174
|
exports.GetAsset$ = [9, n2, _GA,
|
|
1194
|
-
{ [_ht]: ["GET", "/
|
|
1175
|
+
{ [_ht]: ["GET", "/v2/copilot/assets/{assetId}", 200] }, () => exports.GetAssetInput$, () => exports.GetAssetOutput$
|
|
1195
1176
|
];
|
|
1196
1177
|
exports.GetAutomation$ = [9, n2, _GAe,
|
|
1197
|
-
{ [_ht]: ["GET", "/
|
|
1178
|
+
{ [_ht]: ["GET", "/v2/copilot/automations/{automationId}", 200] }, () => exports.GetAutomationInput$, () => exports.GetAutomationOutput$
|
|
1198
1179
|
];
|
|
1199
1180
|
exports.GetEvaluation$ = [9, n2, _GE,
|
|
1200
|
-
{ [_ht]: ["GET", "/
|
|
1181
|
+
{ [_ht]: ["GET", "/v2/copilot/evaluations/{evaluationId}", 200] }, () => exports.GetEvaluationInput$, () => exports.GetEvaluationOutput$
|
|
1201
1182
|
];
|
|
1202
1183
|
exports.GetIntent$ = [9, n2, _GI,
|
|
1203
|
-
{ [_ht]: ["GET", "/
|
|
1184
|
+
{ [_ht]: ["GET", "/v2/copilot/intents/{intentId}", 200] }, () => exports.GetIntentInput$, () => exports.GetIntentOutput$
|
|
1204
1185
|
];
|
|
1205
1186
|
exports.GetProfile$ = [9, n2, _GP,
|
|
1206
|
-
{ [_ht]: ["GET", "/
|
|
1187
|
+
{ [_ht]: ["GET", "/v2/copilot/profiles/{profileId}", 200] }, () => exports.GetProfileInput$, () => exports.GetProfileOutput$
|
|
1207
1188
|
];
|
|
1208
1189
|
exports.GetProfileVersion$ = [9, n2, _GPV,
|
|
1209
|
-
{ [_ht]: ["GET", "/
|
|
1190
|
+
{ [_ht]: ["GET", "/v2/copilot/profiles/{profileId}/versions/{version}", 200] }, () => exports.GetProfileVersionInput$, () => exports.GetProfileVersionOutput$
|
|
1210
1191
|
];
|
|
1211
1192
|
exports.ListAssets$ = [9, n2, _LA,
|
|
1212
|
-
{ [_ht]: ["GET", "/
|
|
1193
|
+
{ [_ht]: ["GET", "/v2/copilot/assets", 200] }, () => exports.ListAssetsInput$, () => exports.ListAssetsOutput$
|
|
1213
1194
|
];
|
|
1214
1195
|
exports.ListAutomations$ = [9, n2, _LAi,
|
|
1215
|
-
{ [_ht]: ["GET", "/
|
|
1196
|
+
{ [_ht]: ["GET", "/v2/copilot/automations", 200] }, () => exports.ListAutomationsInput$, () => exports.ListAutomationsOutput$
|
|
1216
1197
|
];
|
|
1217
1198
|
exports.ListEvaluations$ = [9, n2, _LE,
|
|
1218
|
-
{ [_ht]: ["GET", "/
|
|
1199
|
+
{ [_ht]: ["GET", "/v2/copilot/evaluations", 200] }, () => exports.ListEvaluationsInput$, () => exports.ListEvaluationsOutput$
|
|
1219
1200
|
];
|
|
1220
1201
|
exports.ListIntents$ = [9, n2, _LI,
|
|
1221
|
-
{ [_ht]: ["GET", "/
|
|
1202
|
+
{ [_ht]: ["GET", "/v2/copilot/intents", 200] }, () => exports.ListIntentsInput$, () => exports.ListIntentsOutput$
|
|
1222
1203
|
];
|
|
1223
1204
|
exports.ListProfiles$ = [9, n2, _LP,
|
|
1224
|
-
{ [_ht]: ["GET", "/
|
|
1205
|
+
{ [_ht]: ["GET", "/v2/copilot/profiles", 200] }, () => exports.ListProfilesInput$, () => exports.ListProfilesOutput$
|
|
1225
1206
|
];
|
|
1226
1207
|
exports.ListProfileVersions$ = [9, n2, _LPV,
|
|
1227
|
-
{ [_ht]: ["GET", "/
|
|
1208
|
+
{ [_ht]: ["GET", "/v2/copilot/profiles/{profileId}/versions", 200] }, () => exports.ListProfileVersionsInput$, () => exports.ListProfileVersionsOutput$
|
|
1228
1209
|
];
|
|
1229
1210
|
exports.PublishProfileVersion$ = [9, n2, _PPV,
|
|
1230
|
-
{ [_ht]: ["POST", "/
|
|
1211
|
+
{ [_ht]: ["POST", "/v2/copilot/profiles/{profileId}/versions", 200] }, () => exports.PublishProfileVersionInput$, () => exports.PublishProfileVersionOutput$
|
|
1231
1212
|
];
|
|
1232
1213
|
exports.RestoreProfileVersionToDraft$ = [9, n2, _RPVTD,
|
|
1233
|
-
{ [_ht]: ["POST", "/
|
|
1214
|
+
{ [_ht]: ["POST", "/v2/copilot/profiles/{profileId}/versions/{version}/draft", 200] }, () => exports.RestoreProfileVersionToDraftInput$, () => exports.RestoreProfileVersionToDraftOutput$
|
|
1234
1215
|
];
|
|
1235
1216
|
exports.UpdateAsset$ = [9, n2, _UA,
|
|
1236
|
-
{ [_ht]: ["PUT", "/
|
|
1217
|
+
{ [_ht]: ["PUT", "/v2/copilot/assets/{assetId}", 200] }, () => exports.UpdateAssetInput$, () => exports.UpdateAssetOutput$
|
|
1237
1218
|
];
|
|
1238
1219
|
exports.UpdateAutomation$ = [9, n2, _UAp,
|
|
1239
|
-
{ [_ht]: ["PUT", "/
|
|
1220
|
+
{ [_ht]: ["PUT", "/v2/copilot/automations/{automationId}", 200] }, () => exports.UpdateAutomationInput$, () => exports.UpdateAutomationOutput$
|
|
1240
1221
|
];
|
|
1241
1222
|
exports.UpdateEvaluation$ = [9, n2, _UE,
|
|
1242
|
-
{ [_ht]: ["PUT", "/
|
|
1223
|
+
{ [_ht]: ["PUT", "/v2/copilot/evaluations/{evaluationId}", 200] }, () => exports.UpdateEvaluationInput$, () => exports.UpdateEvaluationOutput$
|
|
1243
1224
|
];
|
|
1244
1225
|
exports.UpdateIntent$ = [9, n2, _UI,
|
|
1245
|
-
{ [_ht]: ["PUT", "/
|
|
1226
|
+
{ [_ht]: ["PUT", "/v2/copilot/intents/{intentId}", 200] }, () => exports.UpdateIntentInput$, () => exports.UpdateIntentOutput$
|
|
1246
1227
|
];
|
|
1247
1228
|
exports.UpdateProfile$ = [9, n2, _UP,
|
|
1248
|
-
{ [_ht]: ["PUT", "/
|
|
1229
|
+
{ [_ht]: ["PUT", "/v2/copilot/profiles/{profileId}", 200] }, () => exports.UpdateProfileInput$, () => exports.UpdateProfileOutput$
|
|
1249
1230
|
];
|
package/dist-es/models/enums.js
CHANGED
|
@@ -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",
|