@wildix/wilma-copilot-client 1.0.13 → 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/schemas/schemas_0.js +4 -13
- package/dist-es/schemas/schemas_0.js +2 -11
- package/dist-types/commands/CreateAssetCommand.d.ts +0 -32
- package/dist-types/commands/GetAssetCommand.d.ts +0 -16
- package/dist-types/commands/GetProfileVersionCommand.d.ts +0 -7
- package/dist-types/commands/PublishProfileVersionCommand.d.ts +0 -7
- package/dist-types/commands/UpdateAssetCommand.d.ts +0 -32
- package/dist-types/models/models_0.d.ts +1 -42
- package/dist-types/schemas/schemas_0.d.ts +0 -1
- package/package.json +1 -1
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
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
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.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.
|
|
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$ =
|
|
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";
|
|
@@ -165,7 +165,6 @@ const _SAI = "SmartActionItem";
|
|
|
165
165
|
const _SAIL = "SmartActionItemsList";
|
|
166
166
|
const _SAOU = "SmartActionOpenUrl";
|
|
167
167
|
const _SARA = "SmartActionRunAgent";
|
|
168
|
-
const _SART = "SmartActionRunTool";
|
|
169
168
|
const _SAT = "SmartActionTransfer";
|
|
170
169
|
const _SFC = "SentimentFeatureConfiguration";
|
|
171
170
|
const _TFC = "TopicsFeatureConfiguration";
|
|
@@ -307,7 +306,6 @@ const _rC = "requireConfirmation";
|
|
|
307
306
|
const _rI = "resourceId";
|
|
308
307
|
const _rM = "resultMode";
|
|
309
308
|
const _rT = "resourceType";
|
|
310
|
-
const _rTu = "runTool";
|
|
311
309
|
const _re = "resource";
|
|
312
310
|
const _req = "required";
|
|
313
311
|
const _s = "smithy.ts.sdk.synthetic.wildix.wilma.copilot";
|
|
@@ -328,11 +326,9 @@ const _su = "subtitle";
|
|
|
328
326
|
const _sum = "summary";
|
|
329
327
|
const _t = "type";
|
|
330
328
|
const _tD = "toDraft";
|
|
331
|
-
const _tI = "toolId";
|
|
332
329
|
const _tM = "textMatch";
|
|
333
330
|
const _tME = "textMatchEnabled";
|
|
334
331
|
const _tR = "talkRatio";
|
|
335
|
-
const _tV = "toolVersion";
|
|
336
332
|
const _te = "text";
|
|
337
333
|
const _ti = "title";
|
|
338
334
|
const _to = "to";
|
|
@@ -918,11 +914,6 @@ exports.SmartActionRunAgent$ = [3, n2, _SARA,
|
|
|
918
914
|
[_aI, _rM, _v, _rC],
|
|
919
915
|
[0, 0, () => CopilotVariableBindingsList, 2], 2
|
|
920
916
|
];
|
|
921
|
-
exports.SmartActionRunTool$ = [3, n2, _SART,
|
|
922
|
-
0,
|
|
923
|
-
[_tI, _rM, _tV, _v, _rC],
|
|
924
|
-
[0, 0, 1, () => CopilotVariableBindingsList, 2], 2
|
|
925
|
-
];
|
|
926
917
|
exports.SmartActionTransfer$ = [3, n2, _SAT,
|
|
927
918
|
0,
|
|
928
919
|
[_des],
|
|
@@ -1090,8 +1081,8 @@ exports.ProfileResource$ = [4, n2, _PR,
|
|
|
1090
1081
|
];
|
|
1091
1082
|
exports.SmartAction$ = [4, n2, _SA,
|
|
1092
1083
|
0,
|
|
1093
|
-
[_oU, _rA,
|
|
1094
|
-
[() => exports.SmartActionOpenUrl$, () => exports.SmartActionRunAgent$, () => exports.
|
|
1084
|
+
[_oU, _rA, _tra, _han],
|
|
1085
|
+
[() => exports.SmartActionOpenUrl$, () => exports.SmartActionRunAgent$, () => exports.SmartActionTransfer$, () => exports.SmartActionHandover$]
|
|
1095
1086
|
];
|
|
1096
1087
|
exports.AttachProfileResource$ = [9, n2, _APR,
|
|
1097
1088
|
{ [_ht]: ["POST", "/v2/copilot/profiles/{profileId}/resources", 200] }, () => exports.AttachProfileResourceInput$, () => exports.AttachProfileResourceOutput$
|
|
@@ -159,7 +159,6 @@ const _SAI = "SmartActionItem";
|
|
|
159
159
|
const _SAIL = "SmartActionItemsList";
|
|
160
160
|
const _SAOU = "SmartActionOpenUrl";
|
|
161
161
|
const _SARA = "SmartActionRunAgent";
|
|
162
|
-
const _SART = "SmartActionRunTool";
|
|
163
162
|
const _SAT = "SmartActionTransfer";
|
|
164
163
|
const _SFC = "SentimentFeatureConfiguration";
|
|
165
164
|
const _TFC = "TopicsFeatureConfiguration";
|
|
@@ -301,7 +300,6 @@ const _rC = "requireConfirmation";
|
|
|
301
300
|
const _rI = "resourceId";
|
|
302
301
|
const _rM = "resultMode";
|
|
303
302
|
const _rT = "resourceType";
|
|
304
|
-
const _rTu = "runTool";
|
|
305
303
|
const _re = "resource";
|
|
306
304
|
const _req = "required";
|
|
307
305
|
const _s = "smithy.ts.sdk.synthetic.wildix.wilma.copilot";
|
|
@@ -322,11 +320,9 @@ const _su = "subtitle";
|
|
|
322
320
|
const _sum = "summary";
|
|
323
321
|
const _t = "type";
|
|
324
322
|
const _tD = "toDraft";
|
|
325
|
-
const _tI = "toolId";
|
|
326
323
|
const _tM = "textMatch";
|
|
327
324
|
const _tME = "textMatchEnabled";
|
|
328
325
|
const _tR = "talkRatio";
|
|
329
|
-
const _tV = "toolVersion";
|
|
330
326
|
const _te = "text";
|
|
331
327
|
const _ti = "title";
|
|
332
328
|
const _to = "to";
|
|
@@ -912,11 +908,6 @@ export var SmartActionRunAgent$ = [3, n2, _SARA,
|
|
|
912
908
|
[_aI, _rM, _v, _rC],
|
|
913
909
|
[0, 0, () => CopilotVariableBindingsList, 2], 2
|
|
914
910
|
];
|
|
915
|
-
export var SmartActionRunTool$ = [3, n2, _SART,
|
|
916
|
-
0,
|
|
917
|
-
[_tI, _rM, _tV, _v, _rC],
|
|
918
|
-
[0, 0, 1, () => CopilotVariableBindingsList, 2], 2
|
|
919
|
-
];
|
|
920
911
|
export var SmartActionTransfer$ = [3, n2, _SAT,
|
|
921
912
|
0,
|
|
922
913
|
[_des],
|
|
@@ -1084,8 +1075,8 @@ export var ProfileResource$ = [4, n2, _PR,
|
|
|
1084
1075
|
];
|
|
1085
1076
|
export var SmartAction$ = [4, n2, _SA,
|
|
1086
1077
|
0,
|
|
1087
|
-
[_oU, _rA,
|
|
1088
|
-
[() => SmartActionOpenUrl$, () => SmartActionRunAgent$, () =>
|
|
1078
|
+
[_oU, _rA, _tra, _han],
|
|
1079
|
+
[() => SmartActionOpenUrl$, () => SmartActionRunAgent$, () => SmartActionTransfer$, () => SmartActionHandover$]
|
|
1089
1080
|
];
|
|
1090
1081
|
export var AttachProfileResource$ = [9, n2, _APR,
|
|
1091
1082
|
{ [_ht]: ["POST", "/v2/copilot/profiles/{profileId}/resources", 200] }, () => AttachProfileResourceInput$, () => AttachProfileResourceOutput$
|
|
@@ -119,22 +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
|
-
* toolVersion: Number("int"),
|
|
125
|
-
* variables: [
|
|
126
|
-
* {
|
|
127
|
-
* name: "STRING_VALUE", // required
|
|
128
|
-
* type: "STRING_VALUE",
|
|
129
|
-
* optional: true || false,
|
|
130
|
-
* variant: "auto" || "guided" || "predefined", // required
|
|
131
|
-
* description: "STRING_VALUE",
|
|
132
|
-
* value: "STRING_VALUE",
|
|
133
|
-
* },
|
|
134
|
-
* ],
|
|
135
|
-
* resultMode: "show_card" || "silent", // required
|
|
136
|
-
* requireConfirmation: true || false,
|
|
137
|
-
* },
|
|
138
122
|
* transfer: { // SmartActionTransfer
|
|
139
123
|
* destination: "STRING_VALUE", // required
|
|
140
124
|
* },
|
|
@@ -241,22 +225,6 @@ declare const CreateAssetCommand_base: {
|
|
|
241
225
|
* // resultMode: "show_card" || "silent", // required
|
|
242
226
|
* // requireConfirmation: true || false,
|
|
243
227
|
* // },
|
|
244
|
-
* // runTool: { // SmartActionRunTool
|
|
245
|
-
* // toolId: "STRING_VALUE", // required
|
|
246
|
-
* // toolVersion: Number("int"),
|
|
247
|
-
* // variables: [
|
|
248
|
-
* // {
|
|
249
|
-
* // name: "STRING_VALUE", // required
|
|
250
|
-
* // type: "STRING_VALUE",
|
|
251
|
-
* // optional: true || false,
|
|
252
|
-
* // variant: "auto" || "guided" || "predefined", // required
|
|
253
|
-
* // description: "STRING_VALUE",
|
|
254
|
-
* // value: "STRING_VALUE",
|
|
255
|
-
* // },
|
|
256
|
-
* // ],
|
|
257
|
-
* // resultMode: "show_card" || "silent", // required
|
|
258
|
-
* // requireConfirmation: true || false,
|
|
259
|
-
* // },
|
|
260
228
|
* // transfer: { // SmartActionTransfer
|
|
261
229
|
* // destination: "STRING_VALUE", // required
|
|
262
230
|
* // },
|
|
@@ -126,22 +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
|
-
* // toolVersion: Number("int"),
|
|
132
|
-
* // variables: [
|
|
133
|
-
* // {
|
|
134
|
-
* // name: "STRING_VALUE", // required
|
|
135
|
-
* // type: "STRING_VALUE",
|
|
136
|
-
* // optional: true || false,
|
|
137
|
-
* // variant: "auto" || "guided" || "predefined", // required
|
|
138
|
-
* // description: "STRING_VALUE",
|
|
139
|
-
* // value: "STRING_VALUE",
|
|
140
|
-
* // },
|
|
141
|
-
* // ],
|
|
142
|
-
* // resultMode: "show_card" || "silent", // required
|
|
143
|
-
* // requireConfirmation: true || false,
|
|
144
|
-
* // },
|
|
145
129
|
* // transfer: { // SmartActionTransfer
|
|
146
130
|
* // destination: "STRING_VALUE", // required
|
|
147
131
|
* // },
|
|
@@ -282,13 +282,6 @@ declare const GetProfileVersionCommand_base: {
|
|
|
282
282
|
* // resultMode: "show_card" || "silent", // required
|
|
283
283
|
* // requireConfirmation: true || false,
|
|
284
284
|
* // },
|
|
285
|
-
* // runTool: { // SmartActionRunTool
|
|
286
|
-
* // toolId: "STRING_VALUE", // required
|
|
287
|
-
* // toolVersion: Number("int"),
|
|
288
|
-
* // variables: "<CopilotVariableBindingsList>",
|
|
289
|
-
* // resultMode: "show_card" || "silent", // required
|
|
290
|
-
* // requireConfirmation: true || false,
|
|
291
|
-
* // },
|
|
292
285
|
* // transfer: { // SmartActionTransfer
|
|
293
286
|
* // destination: "STRING_VALUE", // required
|
|
294
287
|
* // },
|
|
@@ -283,13 +283,6 @@ declare const PublishProfileVersionCommand_base: {
|
|
|
283
283
|
* // resultMode: "show_card" || "silent", // required
|
|
284
284
|
* // requireConfirmation: true || false,
|
|
285
285
|
* // },
|
|
286
|
-
* // runTool: { // SmartActionRunTool
|
|
287
|
-
* // toolId: "STRING_VALUE", // required
|
|
288
|
-
* // toolVersion: Number("int"),
|
|
289
|
-
* // variables: "<CopilotVariableBindingsList>",
|
|
290
|
-
* // resultMode: "show_card" || "silent", // required
|
|
291
|
-
* // requireConfirmation: true || false,
|
|
292
|
-
* // },
|
|
293
286
|
* // transfer: { // SmartActionTransfer
|
|
294
287
|
* // destination: "STRING_VALUE", // required
|
|
295
288
|
* // },
|
|
@@ -119,22 +119,6 @@ declare const UpdateAssetCommand_base: {
|
|
|
119
119
|
* resultMode: "show_card" || "silent", // required
|
|
120
120
|
* requireConfirmation: true || false,
|
|
121
121
|
* },
|
|
122
|
-
* runTool: { // SmartActionRunTool
|
|
123
|
-
* toolId: "STRING_VALUE", // required
|
|
124
|
-
* toolVersion: Number("int"),
|
|
125
|
-
* variables: [
|
|
126
|
-
* {
|
|
127
|
-
* name: "STRING_VALUE", // required
|
|
128
|
-
* type: "STRING_VALUE",
|
|
129
|
-
* optional: true || false,
|
|
130
|
-
* variant: "auto" || "guided" || "predefined", // required
|
|
131
|
-
* description: "STRING_VALUE",
|
|
132
|
-
* value: "STRING_VALUE",
|
|
133
|
-
* },
|
|
134
|
-
* ],
|
|
135
|
-
* resultMode: "show_card" || "silent", // required
|
|
136
|
-
* requireConfirmation: true || false,
|
|
137
|
-
* },
|
|
138
122
|
* transfer: { // SmartActionTransfer
|
|
139
123
|
* destination: "STRING_VALUE", // required
|
|
140
124
|
* },
|
|
@@ -243,22 +227,6 @@ declare const UpdateAssetCommand_base: {
|
|
|
243
227
|
* // resultMode: "show_card" || "silent", // required
|
|
244
228
|
* // requireConfirmation: true || false,
|
|
245
229
|
* // },
|
|
246
|
-
* // runTool: { // SmartActionRunTool
|
|
247
|
-
* // toolId: "STRING_VALUE", // required
|
|
248
|
-
* // toolVersion: Number("int"),
|
|
249
|
-
* // variables: [
|
|
250
|
-
* // {
|
|
251
|
-
* // name: "STRING_VALUE", // required
|
|
252
|
-
* // type: "STRING_VALUE",
|
|
253
|
-
* // optional: true || false,
|
|
254
|
-
* // variant: "auto" || "guided" || "predefined", // required
|
|
255
|
-
* // description: "STRING_VALUE",
|
|
256
|
-
* // value: "STRING_VALUE",
|
|
257
|
-
* // },
|
|
258
|
-
* // ],
|
|
259
|
-
* // resultMode: "show_card" || "silent", // required
|
|
260
|
-
* // requireConfirmation: true || false,
|
|
261
|
-
* // },
|
|
262
230
|
* // transfer: { // SmartActionTransfer
|
|
263
231
|
* // destination: "STRING_VALUE", // required
|
|
264
232
|
* // },
|
|
@@ -285,29 +285,6 @@ export interface SmartActionRunAgent {
|
|
|
285
285
|
*/
|
|
286
286
|
requireConfirmation?: boolean | undefined;
|
|
287
287
|
}
|
|
288
|
-
/**
|
|
289
|
-
* Runs a shared tool.
|
|
290
|
-
* @public
|
|
291
|
-
*/
|
|
292
|
-
export interface SmartActionRunTool {
|
|
293
|
-
/**
|
|
294
|
-
* Unique identifier of the tool using nanoid format
|
|
295
|
-
* @public
|
|
296
|
-
*/
|
|
297
|
-
toolId: string;
|
|
298
|
-
/**
|
|
299
|
-
* Pin a specific published tool version. When omitted, the tool's latestVersion is resolved when the action runs — so a tool republished after this asset was snapshotted into a profile version takes effect here.
|
|
300
|
-
* @public
|
|
301
|
-
*/
|
|
302
|
-
toolVersion?: number | undefined;
|
|
303
|
-
variables?: CopilotVariableBinding[] | undefined;
|
|
304
|
-
/**
|
|
305
|
-
* Where a smart action's result is delivered.
|
|
306
|
-
* @public
|
|
307
|
-
*/
|
|
308
|
-
resultMode: SmartActionResultMode;
|
|
309
|
-
requireConfirmation?: boolean | undefined;
|
|
310
|
-
}
|
|
311
288
|
/**
|
|
312
289
|
* Transfers the live call to a destination. Voice calls only.
|
|
313
290
|
* @public
|
|
@@ -323,7 +300,7 @@ export interface SmartActionTransfer {
|
|
|
323
300
|
* A button shown under an asset. Exactly one member is set; it selects what happens when clicked.
|
|
324
301
|
* @public
|
|
325
302
|
*/
|
|
326
|
-
export type SmartAction = SmartAction.HandoverMember | SmartAction.OpenUrlMember | SmartAction.RunAgentMember | SmartAction.
|
|
303
|
+
export type SmartAction = SmartAction.HandoverMember | SmartAction.OpenUrlMember | SmartAction.RunAgentMember | SmartAction.TransferMember | SmartAction.$UnknownMember;
|
|
327
304
|
/**
|
|
328
305
|
* @public
|
|
329
306
|
*/
|
|
@@ -335,7 +312,6 @@ export declare namespace SmartAction {
|
|
|
335
312
|
interface OpenUrlMember {
|
|
336
313
|
openUrl: SmartActionOpenUrl;
|
|
337
314
|
runAgent?: never;
|
|
338
|
-
runTool?: never;
|
|
339
315
|
transfer?: never;
|
|
340
316
|
handover?: never;
|
|
341
317
|
$unknown?: never;
|
|
@@ -347,19 +323,6 @@ export declare namespace SmartAction {
|
|
|
347
323
|
interface RunAgentMember {
|
|
348
324
|
openUrl?: never;
|
|
349
325
|
runAgent: SmartActionRunAgent;
|
|
350
|
-
runTool?: never;
|
|
351
|
-
transfer?: never;
|
|
352
|
-
handover?: never;
|
|
353
|
-
$unknown?: never;
|
|
354
|
-
}
|
|
355
|
-
/**
|
|
356
|
-
* Runs a shared tool.
|
|
357
|
-
* @public
|
|
358
|
-
*/
|
|
359
|
-
interface RunToolMember {
|
|
360
|
-
openUrl?: never;
|
|
361
|
-
runAgent?: never;
|
|
362
|
-
runTool: SmartActionRunTool;
|
|
363
326
|
transfer?: never;
|
|
364
327
|
handover?: never;
|
|
365
328
|
$unknown?: never;
|
|
@@ -371,7 +334,6 @@ export declare namespace SmartAction {
|
|
|
371
334
|
interface TransferMember {
|
|
372
335
|
openUrl?: never;
|
|
373
336
|
runAgent?: never;
|
|
374
|
-
runTool?: never;
|
|
375
337
|
transfer: SmartActionTransfer;
|
|
376
338
|
handover?: never;
|
|
377
339
|
$unknown?: never;
|
|
@@ -383,7 +345,6 @@ export declare namespace SmartAction {
|
|
|
383
345
|
interface HandoverMember {
|
|
384
346
|
openUrl?: never;
|
|
385
347
|
runAgent?: never;
|
|
386
|
-
runTool?: never;
|
|
387
348
|
transfer?: never;
|
|
388
349
|
handover: SmartActionHandover;
|
|
389
350
|
$unknown?: never;
|
|
@@ -394,7 +355,6 @@ export declare namespace SmartAction {
|
|
|
394
355
|
interface $UnknownMember {
|
|
395
356
|
openUrl?: never;
|
|
396
357
|
runAgent?: never;
|
|
397
|
-
runTool?: never;
|
|
398
358
|
transfer?: never;
|
|
399
359
|
handover?: never;
|
|
400
360
|
$unknown: [string, any];
|
|
@@ -406,7 +366,6 @@ export declare namespace SmartAction {
|
|
|
406
366
|
interface Visitor<T> {
|
|
407
367
|
openUrl: (value: SmartActionOpenUrl) => T;
|
|
408
368
|
runAgent: (value: SmartActionRunAgent) => T;
|
|
409
|
-
runTool: (value: SmartActionRunTool) => T;
|
|
410
369
|
transfer: (value: SmartActionTransfer) => T;
|
|
411
370
|
handover: (value: SmartActionHandover) => T;
|
|
412
371
|
_: (name: string, value: any) => T;
|
|
@@ -116,7 +116,6 @@ export declare var SmartActionHandover$: StaticStructureSchema;
|
|
|
116
116
|
export declare var SmartActionItem$: StaticStructureSchema;
|
|
117
117
|
export declare var SmartActionOpenUrl$: StaticStructureSchema;
|
|
118
118
|
export declare var SmartActionRunAgent$: StaticStructureSchema;
|
|
119
|
-
export declare var SmartActionRunTool$: StaticStructureSchema;
|
|
120
119
|
export declare var SmartActionTransfer$: StaticStructureSchema;
|
|
121
120
|
export declare var TalkRatioFeatureConfiguration$: StaticStructureSchema;
|
|
122
121
|
export declare var TopicsFeatureConfiguration$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wilma-copilot-client",
|
|
3
3
|
"description": "@wildix/wilma-copilot-client client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.14",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|