@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
|
@@ -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,
|
|
503
|
-
[0, () => AssetContent$, 0, () => Actor$, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 0,
|
|
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
|
|
513
|
-
[0, () => Actor$, 0, 0, 2, 0, 0, () => Actor$, 0
|
|
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
|
|
543
|
-
[0, () => AutomationHandler$, 0, () => Actor$, 0, 1, 0, 15, 0, () => Actor
|
|
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,
|
|
548
|
-
[0, () => Actor$, 0, 0, 0,
|
|
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,
|
|
613
|
-
[0, () => AssetContent$, 0, 0, 2, 0, 0, 0, 0, 0, 0,
|
|
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,
|
|
633
|
-
[0, 0, () => EvaluationTriggers$, 0, 0, () => CopilotFieldsList, 0,
|
|
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,
|
|
728
|
-
[0, 0, () => EvaluationTriggers$, 0, 0, () => Actor$, 0, 1, 0, () => CopilotFieldsList, 0,
|
|
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,
|
|
733
|
-
[0, () => Actor$, 0, 0, 0, 0, () => Actor$, 0,
|
|
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,
|
|
843
|
-
[[0, { [_hQ]: _com }], [0, { [_hQ]: _cT }], [
|
|
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,
|
|
853
|
-
[[0, { [_hQ]: _com }], [0, { [_hQ]:
|
|
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,
|
|
1008
|
-
[0, () => AssetContent$, [0, 1], 1, 0, 0, 2, 0, 0, 0, 0, 0, 0,
|
|
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,
|
|
1028
|
-
[0, 0, () => EvaluationTriggers$, 0, [0, 1], 1, 0, () => CopilotFieldsList, 0,
|
|
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
|
|
1111
|
-
[() => AgentAutomationHandler
|
|
1091
|
+
[_ag],
|
|
1092
|
+
[() => AgentAutomationHandler$]
|
|
1112
1093
|
];
|
|
1113
1094
|
export var CardContent$ = [4, n2, _CC,
|
|
1114
1095
|
0,
|
|
@@ -1146,98 +1127,98 @@ export var SmartAction$ = [4, n2, _SA,
|
|
|
1146
1127
|
[() => SmartActionOpenUrl$, () => SmartActionRunAgent$, () => SmartActionRunTool$, () => SmartActionTransfer$, () => SmartActionHandover$]
|
|
1147
1128
|
];
|
|
1148
1129
|
export var AttachProfileResource$ = [9, n2, _APR,
|
|
1149
|
-
{ [_ht]: ["POST", "/
|
|
1130
|
+
{ [_ht]: ["POST", "/v2/copilot/profiles/{profileId}/resources", 200] }, () => AttachProfileResourceInput$, () => AttachProfileResourceOutput$
|
|
1150
1131
|
];
|
|
1151
1132
|
export var CompareProfileVersions$ = [9, n2, _CPV,
|
|
1152
|
-
{ [_ht]: ["GET", "/
|
|
1133
|
+
{ [_ht]: ["GET", "/v2/copilot/profiles/{profileId}/versions/compare", 200] }, () => CompareProfileVersionsInput$, () => CompareProfileVersionsOutput$
|
|
1153
1134
|
];
|
|
1154
1135
|
export var CreateAsset$ = [9, n2, _CAr,
|
|
1155
|
-
{ [_ht]: ["POST", "/
|
|
1136
|
+
{ [_ht]: ["POST", "/v2/copilot/assets", 200] }, () => CreateAssetInput$, () => CreateAssetOutput$
|
|
1156
1137
|
];
|
|
1157
1138
|
export var CreateAutomation$ = [9, n2, _CAre,
|
|
1158
|
-
{ [_ht]: ["POST", "/
|
|
1139
|
+
{ [_ht]: ["POST", "/v2/copilot/automations", 200] }, () => CreateAutomationInput$, () => CreateAutomationOutput$
|
|
1159
1140
|
];
|
|
1160
1141
|
export var CreateEvaluation$ = [9, n2, _CE,
|
|
1161
|
-
{ [_ht]: ["POST", "/
|
|
1142
|
+
{ [_ht]: ["POST", "/v2/copilot/evaluations", 200] }, () => CreateEvaluationInput$, () => CreateEvaluationOutput$
|
|
1162
1143
|
];
|
|
1163
1144
|
export var CreateIntent$ = [9, n2, _CI,
|
|
1164
|
-
{ [_ht]: ["POST", "/
|
|
1145
|
+
{ [_ht]: ["POST", "/v2/copilot/intents", 200] }, () => CreateIntentInput$, () => CreateIntentOutput$
|
|
1165
1146
|
];
|
|
1166
1147
|
export var CreateProfile$ = [9, n2, _CP,
|
|
1167
|
-
{ [_ht]: ["POST", "/
|
|
1148
|
+
{ [_ht]: ["POST", "/v2/copilot/profiles", 200] }, () => CreateProfileInput$, () => CreateProfileOutput$
|
|
1168
1149
|
];
|
|
1169
1150
|
export var DeleteAsset$ = [9, n2, _DA,
|
|
1170
|
-
{ [_ht]: ["DELETE", "/
|
|
1151
|
+
{ [_ht]: ["DELETE", "/v2/copilot/assets/{assetId}", 200] }, () => DeleteAssetInput$, () => DeleteAssetOutput$
|
|
1171
1152
|
];
|
|
1172
1153
|
export var DeleteAutomation$ = [9, n2, _DAe,
|
|
1173
|
-
{ [_ht]: ["DELETE", "/
|
|
1154
|
+
{ [_ht]: ["DELETE", "/v2/copilot/automations/{automationId}", 200] }, () => DeleteAutomationInput$, () => DeleteAutomationOutput$
|
|
1174
1155
|
];
|
|
1175
1156
|
export var DeleteEvaluation$ = [9, n2, _DE,
|
|
1176
|
-
{ [_ht]: ["DELETE", "/
|
|
1157
|
+
{ [_ht]: ["DELETE", "/v2/copilot/evaluations/{evaluationId}", 200] }, () => DeleteEvaluationInput$, () => DeleteEvaluationOutput$
|
|
1177
1158
|
];
|
|
1178
1159
|
export var DeleteIntent$ = [9, n2, _DI,
|
|
1179
|
-
{ [_ht]: ["DELETE", "/
|
|
1160
|
+
{ [_ht]: ["DELETE", "/v2/copilot/intents/{intentId}", 200] }, () => DeleteIntentInput$, () => DeleteIntentOutput$
|
|
1180
1161
|
];
|
|
1181
1162
|
export var DeleteProfile$ = [9, n2, _DP,
|
|
1182
|
-
{ [_ht]: ["DELETE", "/
|
|
1163
|
+
{ [_ht]: ["DELETE", "/v2/copilot/profiles/{profileId}", 200] }, () => DeleteProfileInput$, () => DeleteProfileOutput$
|
|
1183
1164
|
];
|
|
1184
1165
|
export var DeleteProfileResource$ = [9, n2, _DPR,
|
|
1185
|
-
{ [_ht]: ["DELETE", "/
|
|
1166
|
+
{ [_ht]: ["DELETE", "/v2/copilot/profiles/{profileId}/resources/{resourceType}/{resourceId}", 200] }, () => DeleteProfileResourceInput$, () => DeleteProfileResourceOutput$
|
|
1186
1167
|
];
|
|
1187
1168
|
export var GetAsset$ = [9, n2, _GA,
|
|
1188
|
-
{ [_ht]: ["GET", "/
|
|
1169
|
+
{ [_ht]: ["GET", "/v2/copilot/assets/{assetId}", 200] }, () => GetAssetInput$, () => GetAssetOutput$
|
|
1189
1170
|
];
|
|
1190
1171
|
export var GetAutomation$ = [9, n2, _GAe,
|
|
1191
|
-
{ [_ht]: ["GET", "/
|
|
1172
|
+
{ [_ht]: ["GET", "/v2/copilot/automations/{automationId}", 200] }, () => GetAutomationInput$, () => GetAutomationOutput$
|
|
1192
1173
|
];
|
|
1193
1174
|
export var GetEvaluation$ = [9, n2, _GE,
|
|
1194
|
-
{ [_ht]: ["GET", "/
|
|
1175
|
+
{ [_ht]: ["GET", "/v2/copilot/evaluations/{evaluationId}", 200] }, () => GetEvaluationInput$, () => GetEvaluationOutput$
|
|
1195
1176
|
];
|
|
1196
1177
|
export var GetIntent$ = [9, n2, _GI,
|
|
1197
|
-
{ [_ht]: ["GET", "/
|
|
1178
|
+
{ [_ht]: ["GET", "/v2/copilot/intents/{intentId}", 200] }, () => GetIntentInput$, () => GetIntentOutput$
|
|
1198
1179
|
];
|
|
1199
1180
|
export var GetProfile$ = [9, n2, _GP,
|
|
1200
|
-
{ [_ht]: ["GET", "/
|
|
1181
|
+
{ [_ht]: ["GET", "/v2/copilot/profiles/{profileId}", 200] }, () => GetProfileInput$, () => GetProfileOutput$
|
|
1201
1182
|
];
|
|
1202
1183
|
export var GetProfileVersion$ = [9, n2, _GPV,
|
|
1203
|
-
{ [_ht]: ["GET", "/
|
|
1184
|
+
{ [_ht]: ["GET", "/v2/copilot/profiles/{profileId}/versions/{version}", 200] }, () => GetProfileVersionInput$, () => GetProfileVersionOutput$
|
|
1204
1185
|
];
|
|
1205
1186
|
export var ListAssets$ = [9, n2, _LA,
|
|
1206
|
-
{ [_ht]: ["GET", "/
|
|
1187
|
+
{ [_ht]: ["GET", "/v2/copilot/assets", 200] }, () => ListAssetsInput$, () => ListAssetsOutput$
|
|
1207
1188
|
];
|
|
1208
1189
|
export var ListAutomations$ = [9, n2, _LAi,
|
|
1209
|
-
{ [_ht]: ["GET", "/
|
|
1190
|
+
{ [_ht]: ["GET", "/v2/copilot/automations", 200] }, () => ListAutomationsInput$, () => ListAutomationsOutput$
|
|
1210
1191
|
];
|
|
1211
1192
|
export var ListEvaluations$ = [9, n2, _LE,
|
|
1212
|
-
{ [_ht]: ["GET", "/
|
|
1193
|
+
{ [_ht]: ["GET", "/v2/copilot/evaluations", 200] }, () => ListEvaluationsInput$, () => ListEvaluationsOutput$
|
|
1213
1194
|
];
|
|
1214
1195
|
export var ListIntents$ = [9, n2, _LI,
|
|
1215
|
-
{ [_ht]: ["GET", "/
|
|
1196
|
+
{ [_ht]: ["GET", "/v2/copilot/intents", 200] }, () => ListIntentsInput$, () => ListIntentsOutput$
|
|
1216
1197
|
];
|
|
1217
1198
|
export var ListProfiles$ = [9, n2, _LP,
|
|
1218
|
-
{ [_ht]: ["GET", "/
|
|
1199
|
+
{ [_ht]: ["GET", "/v2/copilot/profiles", 200] }, () => ListProfilesInput$, () => ListProfilesOutput$
|
|
1219
1200
|
];
|
|
1220
1201
|
export var ListProfileVersions$ = [9, n2, _LPV,
|
|
1221
|
-
{ [_ht]: ["GET", "/
|
|
1202
|
+
{ [_ht]: ["GET", "/v2/copilot/profiles/{profileId}/versions", 200] }, () => ListProfileVersionsInput$, () => ListProfileVersionsOutput$
|
|
1222
1203
|
];
|
|
1223
1204
|
export var PublishProfileVersion$ = [9, n2, _PPV,
|
|
1224
|
-
{ [_ht]: ["POST", "/
|
|
1205
|
+
{ [_ht]: ["POST", "/v2/copilot/profiles/{profileId}/versions", 200] }, () => PublishProfileVersionInput$, () => PublishProfileVersionOutput$
|
|
1225
1206
|
];
|
|
1226
1207
|
export var RestoreProfileVersionToDraft$ = [9, n2, _RPVTD,
|
|
1227
|
-
{ [_ht]: ["POST", "/
|
|
1208
|
+
{ [_ht]: ["POST", "/v2/copilot/profiles/{profileId}/versions/{version}/draft", 200] }, () => RestoreProfileVersionToDraftInput$, () => RestoreProfileVersionToDraftOutput$
|
|
1228
1209
|
];
|
|
1229
1210
|
export var UpdateAsset$ = [9, n2, _UA,
|
|
1230
|
-
{ [_ht]: ["PUT", "/
|
|
1211
|
+
{ [_ht]: ["PUT", "/v2/copilot/assets/{assetId}", 200] }, () => UpdateAssetInput$, () => UpdateAssetOutput$
|
|
1231
1212
|
];
|
|
1232
1213
|
export var UpdateAutomation$ = [9, n2, _UAp,
|
|
1233
|
-
{ [_ht]: ["PUT", "/
|
|
1214
|
+
{ [_ht]: ["PUT", "/v2/copilot/automations/{automationId}", 200] }, () => UpdateAutomationInput$, () => UpdateAutomationOutput$
|
|
1234
1215
|
];
|
|
1235
1216
|
export var UpdateEvaluation$ = [9, n2, _UE,
|
|
1236
|
-
{ [_ht]: ["PUT", "/
|
|
1217
|
+
{ [_ht]: ["PUT", "/v2/copilot/evaluations/{evaluationId}", 200] }, () => UpdateEvaluationInput$, () => UpdateEvaluationOutput$
|
|
1237
1218
|
];
|
|
1238
1219
|
export var UpdateIntent$ = [9, n2, _UI,
|
|
1239
|
-
{ [_ht]: ["PUT", "/
|
|
1220
|
+
{ [_ht]: ["PUT", "/v2/copilot/intents/{intentId}", 200] }, () => UpdateIntentInput$, () => UpdateIntentOutput$
|
|
1240
1221
|
];
|
|
1241
1222
|
export var UpdateProfile$ = [9, n2, _UP,
|
|
1242
|
-
{ [_ht]: ["PUT", "/
|
|
1223
|
+
{ [_ht]: ["PUT", "/v2/copilot/profiles/{profileId}", 200] }, () => UpdateProfileInput$, () => UpdateProfileOutput$
|
|
1243
1224
|
];
|
|
@@ -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
|