@wildix/wilma-copilot-client 1.0.12 → 1.0.14
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/runtimeConfig.shared.js +2 -2
- package/dist-cjs/schemas/schemas_0.js +61 -16
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-es/schemas/schemas_0.js +57 -12
- package/dist-types/commands/CreateAssetCommand.d.ts +0 -30
- package/dist-types/commands/GetAssetCommand.d.ts +0 -15
- package/dist-types/commands/GetProfileVersionCommand.d.ts +267 -1
- package/dist-types/commands/PublishProfileVersionCommand.d.ts +267 -1
- package/dist-types/commands/UpdateAssetCommand.d.ts +0 -30
- package/dist-types/models/models_0.d.ts +228 -42
- package/dist-types/schemas/schemas_0.d.ts +6 -1
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
|
11
11
|
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
12
|
const getRuntimeConfig = (config) => {
|
|
13
13
|
return {
|
|
14
|
-
apiVersion: "
|
|
14
|
+
apiVersion: "v2",
|
|
15
15
|
base64Decoder: config?.base64Decoder ?? serde_1.fromBase64,
|
|
16
16
|
base64Encoder: config?.base64Encoder ?? serde_1.toBase64,
|
|
17
17
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
@@ -50,7 +50,7 @@ const getRuntimeConfig = (config) => {
|
|
|
50
50
|
protocolSettings: config?.protocolSettings ?? {
|
|
51
51
|
defaultNamespace: "wildix.wilma.copilot",
|
|
52
52
|
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
53
|
-
version: "
|
|
53
|
+
version: "v2",
|
|
54
54
|
serviceTarget: "WilmaCopilot",
|
|
55
55
|
},
|
|
56
56
|
urlParser: config?.urlParser ?? protocols_2.parseUrl,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.UpdateProfile$ = exports.UpdateIntent$ = exports.UpdateEvaluation$ = exports.UpdateAutomation$ = exports.UpdateAsset$ = exports.RestoreProfileVersionToDraft$ = exports.PublishProfileVersion$ = exports.ListProfileVersions$ = exports.ListProfiles$ = exports.ListIntents$ = void 0;
|
|
3
|
+
exports.DeleteEvaluationInput$ = exports.DeleteAutomationOutput$ = exports.DeleteAutomationInput$ = exports.DeleteAssetOutput$ = exports.DeleteAssetInput$ = exports.CsatFeatureConfiguration$ = exports.CreateProfileOutput$ = exports.CreateProfileInput$ = exports.CreateIntentOutput$ = exports.CreateIntentInput$ = exports.CreateEvaluationOutput$ = 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.AutomationSnapshot$ = exports.AutomationInfo$ = exports.Automation$ = exports.AttachProfileResourceOutput$ = exports.AttachProfileResourceInput$ = exports.AssetSnapshot$ = exports.AssetSmartActions$ = exports.AssetPlaybook$ = exports.AssetKnowledge$ = exports.AssetInfo$ = exports.AssetCard$ = exports.Asset$ = exports.AgentAutomationHandler$ = exports.Actor$ = exports.errorTypeRegistries = exports.RevisionConflictException$ = exports.NothingToPublishException$ = exports.ValidationException$ = exports.NotFoundException$ = exports.ForbiddenException$ = exports.ConflictException$ = exports.WilmaCopilotServiceException$ = void 0;
|
|
4
|
+
exports.ProfileVersion$ = exports.ProfileInfo$ = exports.ProfileDefinitionSnapshot$ = exports.Profile$ = exports.PlaybookStep$ = exports.PlaybookSemanticCompletion$ = exports.PlaybookManualCompletion$ = exports.ListProfileVersionsOutput$ = exports.ListProfileVersionsInput$ = 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.IntentSnapshot$ = 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.EvaluationSnapshot$ = exports.EvaluationIntervalTrigger$ = exports.EvaluationInfo$ = exports.Evaluation$ = exports.DeleteProfileResourceOutput$ = exports.DeleteProfileResourceInput$ = exports.DeleteProfileOutput$ = exports.DeleteProfileInput$ = exports.DeleteIntentOutput$ = exports.DeleteIntentInput$ = exports.DeleteEvaluationOutput$ = void 0;
|
|
5
|
+
exports.GetIntent$ = exports.GetEvaluation$ = exports.GetAutomation$ = exports.GetAsset$ = exports.DeleteProfileResource$ = exports.DeleteProfile$ = exports.DeleteIntent$ = exports.DeleteEvaluation$ = 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.SmartActionRunAgent$ = exports.SmartActionOpenUrl$ = exports.SmartActionItem$ = exports.SmartActionHandover$ = exports.SentimentFeatureConfiguration$ = exports.RestoreProfileVersionToDraftOutput$ = exports.RestoreProfileVersionToDraftInput$ = exports.PublishProfileVersionOutput$ = exports.PublishProfileVersionInput$ = exports.ProfileVersionInfo$ = exports.ProfileVersionChange$ = 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$ = void 0;
|
|
7
7
|
const _A = "Actor";
|
|
8
8
|
const _AAH = "AgentAutomationHandler";
|
|
9
9
|
const _AC = "AssetCard";
|
|
@@ -18,7 +18,11 @@ const _AP = "AssetPlaybook";
|
|
|
18
18
|
const _APR = "AttachProfileResource";
|
|
19
19
|
const _APRI = "AttachProfileResourceInput";
|
|
20
20
|
const _APRO = "AttachProfileResourceOutput";
|
|
21
|
+
const _AS = "AssetSnapshot";
|
|
21
22
|
const _ASA = "AssetSmartActions";
|
|
23
|
+
const _ASL = "AssetSnapshotsList";
|
|
24
|
+
const _ASLu = "AutomationSnapshotsList";
|
|
25
|
+
const _ASu = "AutomationSnapshot";
|
|
22
26
|
const _As = "Asset";
|
|
23
27
|
const _Au = "Automation";
|
|
24
28
|
const _CA = "CopilotAccess";
|
|
@@ -81,6 +85,8 @@ const _E = "Evaluation";
|
|
|
81
85
|
const _EI = "EvaluationInfo";
|
|
82
86
|
const _EIL = "EvaluationInfoList";
|
|
83
87
|
const _EIT = "EvaluationIntervalTrigger";
|
|
88
|
+
const _ES = "EvaluationSnapshot";
|
|
89
|
+
const _ESL = "EvaluationSnapshotsList";
|
|
84
90
|
const _ET = "EvaluationTriggers";
|
|
85
91
|
const _FE = "ForbiddenException";
|
|
86
92
|
const _GA = "GetAsset";
|
|
@@ -106,6 +112,8 @@ const _IAM = "IntentAiMatch";
|
|
|
106
112
|
const _IH = "IntentHandlers";
|
|
107
113
|
const _II = "IntentInfo";
|
|
108
114
|
const _IIL = "IntentInfoList";
|
|
115
|
+
const _IS = "IntentSnapshot";
|
|
116
|
+
const _ISL = "IntentSnapshotsList";
|
|
109
117
|
const _ITM = "IntentTextMatch";
|
|
110
118
|
const _ITMO = "IntentTextMatchOption";
|
|
111
119
|
const _ITMOL = "IntentTextMatchOptionsList";
|
|
@@ -131,6 +139,7 @@ const _NFE = "NotFoundException";
|
|
|
131
139
|
const _NTPE = "NothingToPublishException";
|
|
132
140
|
const _P = "Profile";
|
|
133
141
|
const _PCC = "PlaybookCompletionCriteria";
|
|
142
|
+
const _PDS = "ProfileDefinitionSnapshot";
|
|
134
143
|
const _PI = "ProfileInfo";
|
|
135
144
|
const _PIL = "ProfileInfoList";
|
|
136
145
|
const _PMC = "PlaybookManualCompletion";
|
|
@@ -141,6 +150,7 @@ const _PR = "ProfileResource";
|
|
|
141
150
|
const _PS = "PlaybookStep";
|
|
142
151
|
const _PSC = "PlaybookSemanticCompletion";
|
|
143
152
|
const _PSL = "PlaybookStepsList";
|
|
153
|
+
const _PV = "ProfileVersion";
|
|
144
154
|
const _PVC = "ProfileVersionChange";
|
|
145
155
|
const _PVCL = "ProfileVersionChangesList";
|
|
146
156
|
const _PVI = "ProfileVersionInfo";
|
|
@@ -155,7 +165,6 @@ const _SAI = "SmartActionItem";
|
|
|
155
165
|
const _SAIL = "SmartActionItemsList";
|
|
156
166
|
const _SAOU = "SmartActionOpenUrl";
|
|
157
167
|
const _SARA = "SmartActionRunAgent";
|
|
158
|
-
const _SART = "SmartActionRunTool";
|
|
159
168
|
const _SAT = "SmartActionTransfer";
|
|
160
169
|
const _SFC = "SentimentFeatureConfiguration";
|
|
161
170
|
const _TFC = "TopicsFeatureConfiguration";
|
|
@@ -220,6 +229,7 @@ const _cu = "cursor";
|
|
|
220
229
|
const _d = "description";
|
|
221
230
|
const _dBV = "draftBaseVersion";
|
|
222
231
|
const _de = "detach";
|
|
232
|
+
const _def = "definition";
|
|
223
233
|
const _des = "destination";
|
|
224
234
|
const _e = "error";
|
|
225
235
|
const _eC = "evaluationCount";
|
|
@@ -296,7 +306,6 @@ const _rC = "requireConfirmation";
|
|
|
296
306
|
const _rI = "resourceId";
|
|
297
307
|
const _rM = "resultMode";
|
|
298
308
|
const _rT = "resourceType";
|
|
299
|
-
const _rTu = "runTool";
|
|
300
309
|
const _re = "resource";
|
|
301
310
|
const _req = "required";
|
|
302
311
|
const _s = "smithy.ts.sdk.synthetic.wildix.wilma.copilot";
|
|
@@ -317,7 +326,6 @@ const _su = "subtitle";
|
|
|
317
326
|
const _sum = "summary";
|
|
318
327
|
const _t = "type";
|
|
319
328
|
const _tD = "toDraft";
|
|
320
|
-
const _tI = "toolId";
|
|
321
329
|
const _tM = "textMatch";
|
|
322
330
|
const _tME = "textMatchEnabled";
|
|
323
331
|
const _tR = "talkRatio";
|
|
@@ -431,6 +439,11 @@ exports.AssetSmartActions$ = [3, n2, _ASA,
|
|
|
431
439
|
[_a],
|
|
432
440
|
[() => SmartActionItemsList], 1
|
|
433
441
|
];
|
|
442
|
+
exports.AssetSnapshot$ = [3, n2, _AS,
|
|
443
|
+
0,
|
|
444
|
+
[_n, _co, _i, _k, _d, _en, _ti, _su, _ma, _f, _se, _ic, _st, _con],
|
|
445
|
+
[0, () => exports.AssetContent$, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 2, 15], 3
|
|
446
|
+
];
|
|
434
447
|
exports.AttachProfileResourceInput$ = [3, n2, _APRI,
|
|
435
448
|
0,
|
|
436
449
|
[_pI, _r, _re, _com],
|
|
@@ -451,6 +464,11 @@ exports.AutomationInfo$ = [3, n2, _AIu,
|
|
|
451
464
|
[_cA, _cB, _i, _n, _uA, _uB, _d],
|
|
452
465
|
[0, () => exports.Actor$, 0, 0, 0, () => exports.Actor$, 0], 4
|
|
453
466
|
];
|
|
467
|
+
exports.AutomationSnapshot$ = [3, n2, _ASu,
|
|
468
|
+
0,
|
|
469
|
+
[_n, _h, _i, _d, _con],
|
|
470
|
+
[0, () => exports.AutomationHandler$, 0, 0, 15], 3
|
|
471
|
+
];
|
|
454
472
|
exports.CardAgentContent$ = [3, n2, _CAC,
|
|
455
473
|
0,
|
|
456
474
|
[_aI, _v],
|
|
@@ -641,6 +659,11 @@ exports.EvaluationIntervalTrigger$ = [3, n2, _EIT,
|
|
|
641
659
|
[_en, _iS],
|
|
642
660
|
[2, 1], 1
|
|
643
661
|
];
|
|
662
|
+
exports.EvaluationSnapshot$ = [3, n2, _ES,
|
|
663
|
+
0,
|
|
664
|
+
[_n, _in, _tr, _w, _i, _d, _fi, _mod, _con],
|
|
665
|
+
[0, 0, () => exports.EvaluationTriggers$, 0, 0, 0, () => CopilotFieldsList, 0, 15], 5
|
|
666
|
+
];
|
|
644
667
|
exports.EvaluationTriggers$ = [3, n2, _ET,
|
|
645
668
|
0,
|
|
646
669
|
[_inter, _cES, _aES, _iOPS],
|
|
@@ -704,7 +727,7 @@ exports.GetProfileVersionInput$ = [3, n2, _GPVI,
|
|
|
704
727
|
exports.GetProfileVersionOutput$ = [3, n2, _GPVO,
|
|
705
728
|
0,
|
|
706
729
|
[_ve],
|
|
707
|
-
[
|
|
730
|
+
[() => exports.ProfileVersion$], 1
|
|
708
731
|
];
|
|
709
732
|
exports.Intent$ = [3, n2, _I,
|
|
710
733
|
0,
|
|
@@ -726,6 +749,11 @@ exports.IntentInfo$ = [3, n2, _II,
|
|
|
726
749
|
[_cA, _cB, _i, _n, _tME, _aME, _uA, _uB, _d, _uLD],
|
|
727
750
|
[0, () => exports.Actor$, 0, 0, 2, 2, 0, () => exports.Actor$, 0, 1], 6
|
|
728
751
|
];
|
|
752
|
+
exports.IntentSnapshot$ = [3, n2, _IS,
|
|
753
|
+
0,
|
|
754
|
+
[_n, _ha, _i, _d, _con],
|
|
755
|
+
[0, () => exports.IntentHandlers$, 0, 0, 15], 3
|
|
756
|
+
];
|
|
729
757
|
exports.IntentTextMatch$ = [3, n2, _ITM,
|
|
730
758
|
0,
|
|
731
759
|
[_en, _op],
|
|
@@ -816,11 +844,21 @@ exports.Profile$ = [3, n2, _P,
|
|
|
816
844
|
[_n, _cha, _cA, _cB, _i, _sta, _r, _li, _d, _con, _ac, _fe, _ass, _inte, _eva, _aut, _uA, _uB, _lV, _dBV],
|
|
817
845
|
[0, 0, 0, () => exports.Actor$, 0, 0, 1, 2, 0, 15, () => exports.CopilotAccess$, () => CopilotFeaturesList, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, () => exports.Actor$, 1, 1], 8
|
|
818
846
|
];
|
|
847
|
+
exports.ProfileDefinitionSnapshot$ = [3, n2, _PDS,
|
|
848
|
+
0,
|
|
849
|
+
[_n, _cha, _inte, _eva, _aut, _ass, _d, _con, _ac, _fe],
|
|
850
|
+
[0, 0, () => IntentSnapshotsList, () => EvaluationSnapshotsList, () => AutomationSnapshotsList, () => AssetSnapshotsList, 0, 15, () => exports.CopilotAccess$, () => CopilotFeaturesList], 6
|
|
851
|
+
];
|
|
819
852
|
exports.ProfileInfo$ = [3, n2, _PI,
|
|
820
853
|
0,
|
|
821
854
|
[_cA, _cB, _i, _n, _cha, _sta, _li, _uA, _uB, _d, _lV, _iC, _eC, _aCu, _aCs],
|
|
822
855
|
[0, () => exports.Actor$, 0, 0, 0, 0, 2, 0, () => exports.Actor$, 0, 1, 1, 1, 1, 1], 7
|
|
823
856
|
];
|
|
857
|
+
exports.ProfileVersion$ = [3, n2, _PV,
|
|
858
|
+
0,
|
|
859
|
+
[_pI, _ve, _def, _pA, _pB, _chan],
|
|
860
|
+
[0, 1, () => exports.ProfileDefinitionSnapshot$, 0, () => exports.Actor$, 0], 5
|
|
861
|
+
];
|
|
824
862
|
exports.ProfileVersionChange$ = [3, n2, _PVC,
|
|
825
863
|
0,
|
|
826
864
|
[_pat, _b, _af],
|
|
@@ -839,7 +877,7 @@ exports.PublishProfileVersionInput$ = [3, n2, _PPVI,
|
|
|
839
877
|
exports.PublishProfileVersionOutput$ = [3, n2, _PPVO,
|
|
840
878
|
0,
|
|
841
879
|
[_ve],
|
|
842
|
-
[
|
|
880
|
+
[() => exports.ProfileVersion$], 1
|
|
843
881
|
];
|
|
844
882
|
exports.RestoreProfileVersionToDraftInput$ = [3, n2, _RPVTDI,
|
|
845
883
|
0,
|
|
@@ -876,11 +914,6 @@ exports.SmartActionRunAgent$ = [3, n2, _SARA,
|
|
|
876
914
|
[_aI, _rM, _v, _rC],
|
|
877
915
|
[0, 0, () => CopilotVariableBindingsList, 2], 2
|
|
878
916
|
];
|
|
879
|
-
exports.SmartActionRunTool$ = [3, n2, _SART,
|
|
880
|
-
0,
|
|
881
|
-
[_tI, _rM, _v, _rC],
|
|
882
|
-
[0, 0, () => CopilotVariableBindingsList, 2], 2
|
|
883
|
-
];
|
|
884
917
|
exports.SmartActionTransfer$ = [3, n2, _SAT,
|
|
885
918
|
0,
|
|
886
919
|
[_des],
|
|
@@ -950,10 +983,16 @@ var AssetIdList = 64 | 0;
|
|
|
950
983
|
var AssetInfoList = [1, n2, _AIL,
|
|
951
984
|
0, () => exports.AssetInfo$
|
|
952
985
|
];
|
|
986
|
+
var AssetSnapshotsList = [1, n2, _ASL,
|
|
987
|
+
0, () => exports.AssetSnapshot$
|
|
988
|
+
];
|
|
953
989
|
var AutomationIdList = 64 | 0;
|
|
954
990
|
var AutomationInfoList = [1, n2, _AILu,
|
|
955
991
|
0, () => exports.AutomationInfo$
|
|
956
992
|
];
|
|
993
|
+
var AutomationSnapshotsList = [1, n2, _ASLu,
|
|
994
|
+
0, () => exports.AutomationSnapshot$
|
|
995
|
+
];
|
|
957
996
|
var CopilotFeaturesList = [1, n2, _CFL,
|
|
958
997
|
0, () => exports.CopilotFeature$
|
|
959
998
|
];
|
|
@@ -970,10 +1009,16 @@ var EvaluationIdList = 64 | 0;
|
|
|
970
1009
|
var EvaluationInfoList = [1, n2, _EIL,
|
|
971
1010
|
0, () => exports.EvaluationInfo$
|
|
972
1011
|
];
|
|
1012
|
+
var EvaluationSnapshotsList = [1, n2, _ESL,
|
|
1013
|
+
0, () => exports.EvaluationSnapshot$
|
|
1014
|
+
];
|
|
973
1015
|
var IntentIdList = 64 | 0;
|
|
974
1016
|
var IntentInfoList = [1, n2, _IIL,
|
|
975
1017
|
0, () => exports.IntentInfo$
|
|
976
1018
|
];
|
|
1019
|
+
var IntentSnapshotsList = [1, n2, _ISL,
|
|
1020
|
+
0, () => exports.IntentSnapshot$
|
|
1021
|
+
];
|
|
977
1022
|
var IntentTextMatchOptionsList = [1, n2, _ITMOL,
|
|
978
1023
|
0, () => exports.IntentTextMatchOption$
|
|
979
1024
|
];
|
|
@@ -1036,8 +1081,8 @@ exports.ProfileResource$ = [4, n2, _PR,
|
|
|
1036
1081
|
];
|
|
1037
1082
|
exports.SmartAction$ = [4, n2, _SA,
|
|
1038
1083
|
0,
|
|
1039
|
-
[_oU, _rA,
|
|
1040
|
-
[() => exports.SmartActionOpenUrl$, () => exports.SmartActionRunAgent$, () => exports.
|
|
1084
|
+
[_oU, _rA, _tra, _han],
|
|
1085
|
+
[() => exports.SmartActionOpenUrl$, () => exports.SmartActionRunAgent$, () => exports.SmartActionTransfer$, () => exports.SmartActionHandover$]
|
|
1041
1086
|
];
|
|
1042
1087
|
exports.AttachProfileResource$ = [9, n2, _APR,
|
|
1043
1088
|
{ [_ht]: ["POST", "/v2/copilot/profiles/{profileId}/resources", 200] }, () => exports.AttachProfileResourceInput$, () => exports.AttachProfileResourceOutput$
|
|
@@ -8,7 +8,7 @@ import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
|
8
8
|
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
9
|
export const getRuntimeConfig = (config) => {
|
|
10
10
|
return {
|
|
11
|
-
apiVersion: "
|
|
11
|
+
apiVersion: "v2",
|
|
12
12
|
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
13
13
|
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
14
14
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
@@ -47,7 +47,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
47
47
|
protocolSettings: config?.protocolSettings ?? {
|
|
48
48
|
defaultNamespace: "wildix.wilma.copilot",
|
|
49
49
|
errorTypeRegistries,
|
|
50
|
-
version: "
|
|
50
|
+
version: "v2",
|
|
51
51
|
serviceTarget: "WilmaCopilot",
|
|
52
52
|
},
|
|
53
53
|
urlParser: config?.urlParser ?? parseUrl,
|
|
@@ -12,7 +12,11 @@ const _AP = "AssetPlaybook";
|
|
|
12
12
|
const _APR = "AttachProfileResource";
|
|
13
13
|
const _APRI = "AttachProfileResourceInput";
|
|
14
14
|
const _APRO = "AttachProfileResourceOutput";
|
|
15
|
+
const _AS = "AssetSnapshot";
|
|
15
16
|
const _ASA = "AssetSmartActions";
|
|
17
|
+
const _ASL = "AssetSnapshotsList";
|
|
18
|
+
const _ASLu = "AutomationSnapshotsList";
|
|
19
|
+
const _ASu = "AutomationSnapshot";
|
|
16
20
|
const _As = "Asset";
|
|
17
21
|
const _Au = "Automation";
|
|
18
22
|
const _CA = "CopilotAccess";
|
|
@@ -75,6 +79,8 @@ const _E = "Evaluation";
|
|
|
75
79
|
const _EI = "EvaluationInfo";
|
|
76
80
|
const _EIL = "EvaluationInfoList";
|
|
77
81
|
const _EIT = "EvaluationIntervalTrigger";
|
|
82
|
+
const _ES = "EvaluationSnapshot";
|
|
83
|
+
const _ESL = "EvaluationSnapshotsList";
|
|
78
84
|
const _ET = "EvaluationTriggers";
|
|
79
85
|
const _FE = "ForbiddenException";
|
|
80
86
|
const _GA = "GetAsset";
|
|
@@ -100,6 +106,8 @@ const _IAM = "IntentAiMatch";
|
|
|
100
106
|
const _IH = "IntentHandlers";
|
|
101
107
|
const _II = "IntentInfo";
|
|
102
108
|
const _IIL = "IntentInfoList";
|
|
109
|
+
const _IS = "IntentSnapshot";
|
|
110
|
+
const _ISL = "IntentSnapshotsList";
|
|
103
111
|
const _ITM = "IntentTextMatch";
|
|
104
112
|
const _ITMO = "IntentTextMatchOption";
|
|
105
113
|
const _ITMOL = "IntentTextMatchOptionsList";
|
|
@@ -125,6 +133,7 @@ const _NFE = "NotFoundException";
|
|
|
125
133
|
const _NTPE = "NothingToPublishException";
|
|
126
134
|
const _P = "Profile";
|
|
127
135
|
const _PCC = "PlaybookCompletionCriteria";
|
|
136
|
+
const _PDS = "ProfileDefinitionSnapshot";
|
|
128
137
|
const _PI = "ProfileInfo";
|
|
129
138
|
const _PIL = "ProfileInfoList";
|
|
130
139
|
const _PMC = "PlaybookManualCompletion";
|
|
@@ -135,6 +144,7 @@ const _PR = "ProfileResource";
|
|
|
135
144
|
const _PS = "PlaybookStep";
|
|
136
145
|
const _PSC = "PlaybookSemanticCompletion";
|
|
137
146
|
const _PSL = "PlaybookStepsList";
|
|
147
|
+
const _PV = "ProfileVersion";
|
|
138
148
|
const _PVC = "ProfileVersionChange";
|
|
139
149
|
const _PVCL = "ProfileVersionChangesList";
|
|
140
150
|
const _PVI = "ProfileVersionInfo";
|
|
@@ -149,7 +159,6 @@ const _SAI = "SmartActionItem";
|
|
|
149
159
|
const _SAIL = "SmartActionItemsList";
|
|
150
160
|
const _SAOU = "SmartActionOpenUrl";
|
|
151
161
|
const _SARA = "SmartActionRunAgent";
|
|
152
|
-
const _SART = "SmartActionRunTool";
|
|
153
162
|
const _SAT = "SmartActionTransfer";
|
|
154
163
|
const _SFC = "SentimentFeatureConfiguration";
|
|
155
164
|
const _TFC = "TopicsFeatureConfiguration";
|
|
@@ -214,6 +223,7 @@ const _cu = "cursor";
|
|
|
214
223
|
const _d = "description";
|
|
215
224
|
const _dBV = "draftBaseVersion";
|
|
216
225
|
const _de = "detach";
|
|
226
|
+
const _def = "definition";
|
|
217
227
|
const _des = "destination";
|
|
218
228
|
const _e = "error";
|
|
219
229
|
const _eC = "evaluationCount";
|
|
@@ -290,7 +300,6 @@ const _rC = "requireConfirmation";
|
|
|
290
300
|
const _rI = "resourceId";
|
|
291
301
|
const _rM = "resultMode";
|
|
292
302
|
const _rT = "resourceType";
|
|
293
|
-
const _rTu = "runTool";
|
|
294
303
|
const _re = "resource";
|
|
295
304
|
const _req = "required";
|
|
296
305
|
const _s = "smithy.ts.sdk.synthetic.wildix.wilma.copilot";
|
|
@@ -311,7 +320,6 @@ const _su = "subtitle";
|
|
|
311
320
|
const _sum = "summary";
|
|
312
321
|
const _t = "type";
|
|
313
322
|
const _tD = "toDraft";
|
|
314
|
-
const _tI = "toolId";
|
|
315
323
|
const _tM = "textMatch";
|
|
316
324
|
const _tME = "textMatchEnabled";
|
|
317
325
|
const _tR = "talkRatio";
|
|
@@ -425,6 +433,11 @@ export var AssetSmartActions$ = [3, n2, _ASA,
|
|
|
425
433
|
[_a],
|
|
426
434
|
[() => SmartActionItemsList], 1
|
|
427
435
|
];
|
|
436
|
+
export var AssetSnapshot$ = [3, n2, _AS,
|
|
437
|
+
0,
|
|
438
|
+
[_n, _co, _i, _k, _d, _en, _ti, _su, _ma, _f, _se, _ic, _st, _con],
|
|
439
|
+
[0, () => AssetContent$, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 2, 15], 3
|
|
440
|
+
];
|
|
428
441
|
export var AttachProfileResourceInput$ = [3, n2, _APRI,
|
|
429
442
|
0,
|
|
430
443
|
[_pI, _r, _re, _com],
|
|
@@ -445,6 +458,11 @@ export var AutomationInfo$ = [3, n2, _AIu,
|
|
|
445
458
|
[_cA, _cB, _i, _n, _uA, _uB, _d],
|
|
446
459
|
[0, () => Actor$, 0, 0, 0, () => Actor$, 0], 4
|
|
447
460
|
];
|
|
461
|
+
export var AutomationSnapshot$ = [3, n2, _ASu,
|
|
462
|
+
0,
|
|
463
|
+
[_n, _h, _i, _d, _con],
|
|
464
|
+
[0, () => AutomationHandler$, 0, 0, 15], 3
|
|
465
|
+
];
|
|
448
466
|
export var CardAgentContent$ = [3, n2, _CAC,
|
|
449
467
|
0,
|
|
450
468
|
[_aI, _v],
|
|
@@ -635,6 +653,11 @@ export var EvaluationIntervalTrigger$ = [3, n2, _EIT,
|
|
|
635
653
|
[_en, _iS],
|
|
636
654
|
[2, 1], 1
|
|
637
655
|
];
|
|
656
|
+
export var EvaluationSnapshot$ = [3, n2, _ES,
|
|
657
|
+
0,
|
|
658
|
+
[_n, _in, _tr, _w, _i, _d, _fi, _mod, _con],
|
|
659
|
+
[0, 0, () => EvaluationTriggers$, 0, 0, 0, () => CopilotFieldsList, 0, 15], 5
|
|
660
|
+
];
|
|
638
661
|
export var EvaluationTriggers$ = [3, n2, _ET,
|
|
639
662
|
0,
|
|
640
663
|
[_inter, _cES, _aES, _iOPS],
|
|
@@ -698,7 +721,7 @@ export var GetProfileVersionInput$ = [3, n2, _GPVI,
|
|
|
698
721
|
export var GetProfileVersionOutput$ = [3, n2, _GPVO,
|
|
699
722
|
0,
|
|
700
723
|
[_ve],
|
|
701
|
-
[
|
|
724
|
+
[() => ProfileVersion$], 1
|
|
702
725
|
];
|
|
703
726
|
export var Intent$ = [3, n2, _I,
|
|
704
727
|
0,
|
|
@@ -720,6 +743,11 @@ export var IntentInfo$ = [3, n2, _II,
|
|
|
720
743
|
[_cA, _cB, _i, _n, _tME, _aME, _uA, _uB, _d, _uLD],
|
|
721
744
|
[0, () => Actor$, 0, 0, 2, 2, 0, () => Actor$, 0, 1], 6
|
|
722
745
|
];
|
|
746
|
+
export var IntentSnapshot$ = [3, n2, _IS,
|
|
747
|
+
0,
|
|
748
|
+
[_n, _ha, _i, _d, _con],
|
|
749
|
+
[0, () => IntentHandlers$, 0, 0, 15], 3
|
|
750
|
+
];
|
|
723
751
|
export var IntentTextMatch$ = [3, n2, _ITM,
|
|
724
752
|
0,
|
|
725
753
|
[_en, _op],
|
|
@@ -810,11 +838,21 @@ export var Profile$ = [3, n2, _P,
|
|
|
810
838
|
[_n, _cha, _cA, _cB, _i, _sta, _r, _li, _d, _con, _ac, _fe, _ass, _inte, _eva, _aut, _uA, _uB, _lV, _dBV],
|
|
811
839
|
[0, 0, 0, () => Actor$, 0, 0, 1, 2, 0, 15, () => CopilotAccess$, () => CopilotFeaturesList, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, () => Actor$, 1, 1], 8
|
|
812
840
|
];
|
|
841
|
+
export var ProfileDefinitionSnapshot$ = [3, n2, _PDS,
|
|
842
|
+
0,
|
|
843
|
+
[_n, _cha, _inte, _eva, _aut, _ass, _d, _con, _ac, _fe],
|
|
844
|
+
[0, 0, () => IntentSnapshotsList, () => EvaluationSnapshotsList, () => AutomationSnapshotsList, () => AssetSnapshotsList, 0, 15, () => CopilotAccess$, () => CopilotFeaturesList], 6
|
|
845
|
+
];
|
|
813
846
|
export var ProfileInfo$ = [3, n2, _PI,
|
|
814
847
|
0,
|
|
815
848
|
[_cA, _cB, _i, _n, _cha, _sta, _li, _uA, _uB, _d, _lV, _iC, _eC, _aCu, _aCs],
|
|
816
849
|
[0, () => Actor$, 0, 0, 0, 0, 2, 0, () => Actor$, 0, 1, 1, 1, 1, 1], 7
|
|
817
850
|
];
|
|
851
|
+
export var ProfileVersion$ = [3, n2, _PV,
|
|
852
|
+
0,
|
|
853
|
+
[_pI, _ve, _def, _pA, _pB, _chan],
|
|
854
|
+
[0, 1, () => ProfileDefinitionSnapshot$, 0, () => Actor$, 0], 5
|
|
855
|
+
];
|
|
818
856
|
export var ProfileVersionChange$ = [3, n2, _PVC,
|
|
819
857
|
0,
|
|
820
858
|
[_pat, _b, _af],
|
|
@@ -833,7 +871,7 @@ export var PublishProfileVersionInput$ = [3, n2, _PPVI,
|
|
|
833
871
|
export var PublishProfileVersionOutput$ = [3, n2, _PPVO,
|
|
834
872
|
0,
|
|
835
873
|
[_ve],
|
|
836
|
-
[
|
|
874
|
+
[() => ProfileVersion$], 1
|
|
837
875
|
];
|
|
838
876
|
export var RestoreProfileVersionToDraftInput$ = [3, n2, _RPVTDI,
|
|
839
877
|
0,
|
|
@@ -870,11 +908,6 @@ export var SmartActionRunAgent$ = [3, n2, _SARA,
|
|
|
870
908
|
[_aI, _rM, _v, _rC],
|
|
871
909
|
[0, 0, () => CopilotVariableBindingsList, 2], 2
|
|
872
910
|
];
|
|
873
|
-
export var SmartActionRunTool$ = [3, n2, _SART,
|
|
874
|
-
0,
|
|
875
|
-
[_tI, _rM, _v, _rC],
|
|
876
|
-
[0, 0, () => CopilotVariableBindingsList, 2], 2
|
|
877
|
-
];
|
|
878
911
|
export var SmartActionTransfer$ = [3, n2, _SAT,
|
|
879
912
|
0,
|
|
880
913
|
[_des],
|
|
@@ -944,10 +977,16 @@ var AssetIdList = 64 | 0;
|
|
|
944
977
|
var AssetInfoList = [1, n2, _AIL,
|
|
945
978
|
0, () => AssetInfo$
|
|
946
979
|
];
|
|
980
|
+
var AssetSnapshotsList = [1, n2, _ASL,
|
|
981
|
+
0, () => AssetSnapshot$
|
|
982
|
+
];
|
|
947
983
|
var AutomationIdList = 64 | 0;
|
|
948
984
|
var AutomationInfoList = [1, n2, _AILu,
|
|
949
985
|
0, () => AutomationInfo$
|
|
950
986
|
];
|
|
987
|
+
var AutomationSnapshotsList = [1, n2, _ASLu,
|
|
988
|
+
0, () => AutomationSnapshot$
|
|
989
|
+
];
|
|
951
990
|
var CopilotFeaturesList = [1, n2, _CFL,
|
|
952
991
|
0, () => CopilotFeature$
|
|
953
992
|
];
|
|
@@ -964,10 +1003,16 @@ var EvaluationIdList = 64 | 0;
|
|
|
964
1003
|
var EvaluationInfoList = [1, n2, _EIL,
|
|
965
1004
|
0, () => EvaluationInfo$
|
|
966
1005
|
];
|
|
1006
|
+
var EvaluationSnapshotsList = [1, n2, _ESL,
|
|
1007
|
+
0, () => EvaluationSnapshot$
|
|
1008
|
+
];
|
|
967
1009
|
var IntentIdList = 64 | 0;
|
|
968
1010
|
var IntentInfoList = [1, n2, _IIL,
|
|
969
1011
|
0, () => IntentInfo$
|
|
970
1012
|
];
|
|
1013
|
+
var IntentSnapshotsList = [1, n2, _ISL,
|
|
1014
|
+
0, () => IntentSnapshot$
|
|
1015
|
+
];
|
|
971
1016
|
var IntentTextMatchOptionsList = [1, n2, _ITMOL,
|
|
972
1017
|
0, () => IntentTextMatchOption$
|
|
973
1018
|
];
|
|
@@ -1030,8 +1075,8 @@ export var ProfileResource$ = [4, n2, _PR,
|
|
|
1030
1075
|
];
|
|
1031
1076
|
export var SmartAction$ = [4, n2, _SA,
|
|
1032
1077
|
0,
|
|
1033
|
-
[_oU, _rA,
|
|
1034
|
-
[() => SmartActionOpenUrl$, () => SmartActionRunAgent$, () =>
|
|
1078
|
+
[_oU, _rA, _tra, _han],
|
|
1079
|
+
[() => SmartActionOpenUrl$, () => SmartActionRunAgent$, () => SmartActionTransfer$, () => SmartActionHandover$]
|
|
1035
1080
|
];
|
|
1036
1081
|
export var AttachProfileResource$ = [9, n2, _APR,
|
|
1037
1082
|
{ [_ht]: ["POST", "/v2/copilot/profiles/{profileId}/resources", 200] }, () => AttachProfileResourceInput$, () => AttachProfileResourceOutput$
|
|
@@ -119,21 +119,6 @@ declare const CreateAssetCommand_base: {
|
|
|
119
119
|
* resultMode: "show_card" || "silent", // required
|
|
120
120
|
* requireConfirmation: true || false,
|
|
121
121
|
* },
|
|
122
|
-
* runTool: { // SmartActionRunTool
|
|
123
|
-
* toolId: "STRING_VALUE", // required
|
|
124
|
-
* variables: [
|
|
125
|
-
* {
|
|
126
|
-
* name: "STRING_VALUE", // required
|
|
127
|
-
* type: "STRING_VALUE",
|
|
128
|
-
* optional: true || false,
|
|
129
|
-
* variant: "auto" || "guided" || "predefined", // required
|
|
130
|
-
* description: "STRING_VALUE",
|
|
131
|
-
* value: "STRING_VALUE",
|
|
132
|
-
* },
|
|
133
|
-
* ],
|
|
134
|
-
* resultMode: "show_card" || "silent", // required
|
|
135
|
-
* requireConfirmation: true || false,
|
|
136
|
-
* },
|
|
137
122
|
* transfer: { // SmartActionTransfer
|
|
138
123
|
* destination: "STRING_VALUE", // required
|
|
139
124
|
* },
|
|
@@ -240,21 +225,6 @@ declare const CreateAssetCommand_base: {
|
|
|
240
225
|
* // resultMode: "show_card" || "silent", // required
|
|
241
226
|
* // requireConfirmation: true || false,
|
|
242
227
|
* // },
|
|
243
|
-
* // runTool: { // SmartActionRunTool
|
|
244
|
-
* // toolId: "STRING_VALUE", // required
|
|
245
|
-
* // variables: [
|
|
246
|
-
* // {
|
|
247
|
-
* // name: "STRING_VALUE", // required
|
|
248
|
-
* // type: "STRING_VALUE",
|
|
249
|
-
* // optional: true || false,
|
|
250
|
-
* // variant: "auto" || "guided" || "predefined", // required
|
|
251
|
-
* // description: "STRING_VALUE",
|
|
252
|
-
* // value: "STRING_VALUE",
|
|
253
|
-
* // },
|
|
254
|
-
* // ],
|
|
255
|
-
* // resultMode: "show_card" || "silent", // required
|
|
256
|
-
* // requireConfirmation: true || false,
|
|
257
|
-
* // },
|
|
258
228
|
* // transfer: { // SmartActionTransfer
|
|
259
229
|
* // destination: "STRING_VALUE", // required
|
|
260
230
|
* // },
|
|
@@ -126,21 +126,6 @@ declare const GetAssetCommand_base: {
|
|
|
126
126
|
* // resultMode: "show_card" || "silent", // required
|
|
127
127
|
* // requireConfirmation: true || false,
|
|
128
128
|
* // },
|
|
129
|
-
* // runTool: { // SmartActionRunTool
|
|
130
|
-
* // toolId: "STRING_VALUE", // required
|
|
131
|
-
* // variables: [
|
|
132
|
-
* // {
|
|
133
|
-
* // name: "STRING_VALUE", // required
|
|
134
|
-
* // type: "STRING_VALUE",
|
|
135
|
-
* // optional: true || false,
|
|
136
|
-
* // variant: "auto" || "guided" || "predefined", // required
|
|
137
|
-
* // description: "STRING_VALUE",
|
|
138
|
-
* // value: "STRING_VALUE",
|
|
139
|
-
* // },
|
|
140
|
-
* // ],
|
|
141
|
-
* // resultMode: "show_card" || "silent", // required
|
|
142
|
-
* // requireConfirmation: true || false,
|
|
143
|
-
* // },
|
|
144
129
|
* // transfer: { // SmartActionTransfer
|
|
145
130
|
* // destination: "STRING_VALUE", // required
|
|
146
131
|
* // },
|