@wildix/wilma-copilot-client 1.0.2
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/WilmaCopilot.js +75 -0
- package/dist-cjs/WilmaCopilotClient.js +49 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
- package/dist-cjs/commands/AttachProfileResourceCommand.js +20 -0
- package/dist-cjs/commands/CompareProfileVersionsCommand.js +20 -0
- package/dist-cjs/commands/CreateAssetCommand.js +20 -0
- package/dist-cjs/commands/CreateAutomationCommand.js +20 -0
- package/dist-cjs/commands/CreateEvaluationCommand.js +20 -0
- package/dist-cjs/commands/CreateIntentCommand.js +20 -0
- package/dist-cjs/commands/CreateProfileCommand.js +20 -0
- package/dist-cjs/commands/DeleteAssetCommand.js +20 -0
- package/dist-cjs/commands/DeleteAutomationCommand.js +20 -0
- package/dist-cjs/commands/DeleteEvaluationCommand.js +20 -0
- package/dist-cjs/commands/DeleteIntentCommand.js +20 -0
- package/dist-cjs/commands/DeleteProfileCommand.js +20 -0
- package/dist-cjs/commands/DeleteProfileResourceCommand.js +20 -0
- package/dist-cjs/commands/GetAssetCommand.js +20 -0
- package/dist-cjs/commands/GetAutomationCommand.js +20 -0
- package/dist-cjs/commands/GetEvaluationCommand.js +20 -0
- package/dist-cjs/commands/GetIntentCommand.js +20 -0
- package/dist-cjs/commands/GetProfileCommand.js +20 -0
- package/dist-cjs/commands/GetProfileVersionCommand.js +20 -0
- package/dist-cjs/commands/ListAssetsCommand.js +20 -0
- package/dist-cjs/commands/ListAutomationsCommand.js +20 -0
- package/dist-cjs/commands/ListEvaluationsCommand.js +20 -0
- package/dist-cjs/commands/ListIntentsCommand.js +20 -0
- package/dist-cjs/commands/ListProfileVersionsCommand.js +20 -0
- package/dist-cjs/commands/ListProfilesCommand.js +20 -0
- package/dist-cjs/commands/PublishProfileVersionCommand.js +20 -0
- package/dist-cjs/commands/RestoreProfileVersionToDraftCommand.js +20 -0
- package/dist-cjs/commands/UpdateAssetCommand.js +20 -0
- package/dist-cjs/commands/UpdateAutomationCommand.js +20 -0
- package/dist-cjs/commands/UpdateEvaluationCommand.js +20 -0
- package/dist-cjs/commands/UpdateIntentCommand.js +20 -0
- package/dist-cjs/commands/UpdateProfileCommand.js +20 -0
- package/dist-cjs/commands/index.js +35 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/bdd.js +28 -0
- package/dist-cjs/endpoint/endpointResolver.js +16 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +13 -0
- package/dist-cjs/models/WilmaCopilotServiceException.js +12 -0
- package/dist-cjs/models/enums.js +95 -0
- package/dist-cjs/models/errors.js +287 -0
- package/dist-cjs/models/models_0.js +2 -0
- package/dist-cjs/runtimeConfig.browser.js +32 -0
- package/dist-cjs/runtimeConfig.js +41 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +41 -0
- package/dist-cjs/runtimeExtensions.js +12 -0
- package/dist-cjs/schemas/schemas_0.js +1249 -0
- package/dist-es/WilmaCopilot.js +71 -0
- package/dist-es/WilmaCopilotClient.js +45 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
- package/dist-es/commands/AttachProfileResourceCommand.js +16 -0
- package/dist-es/commands/CompareProfileVersionsCommand.js +16 -0
- package/dist-es/commands/CreateAssetCommand.js +16 -0
- package/dist-es/commands/CreateAutomationCommand.js +16 -0
- package/dist-es/commands/CreateEvaluationCommand.js +16 -0
- package/dist-es/commands/CreateIntentCommand.js +16 -0
- package/dist-es/commands/CreateProfileCommand.js +16 -0
- package/dist-es/commands/DeleteAssetCommand.js +16 -0
- package/dist-es/commands/DeleteAutomationCommand.js +16 -0
- package/dist-es/commands/DeleteEvaluationCommand.js +16 -0
- package/dist-es/commands/DeleteIntentCommand.js +16 -0
- package/dist-es/commands/DeleteProfileCommand.js +16 -0
- package/dist-es/commands/DeleteProfileResourceCommand.js +16 -0
- package/dist-es/commands/GetAssetCommand.js +16 -0
- package/dist-es/commands/GetAutomationCommand.js +16 -0
- package/dist-es/commands/GetEvaluationCommand.js +16 -0
- package/dist-es/commands/GetIntentCommand.js +16 -0
- package/dist-es/commands/GetProfileCommand.js +16 -0
- package/dist-es/commands/GetProfileVersionCommand.js +16 -0
- package/dist-es/commands/ListAssetsCommand.js +16 -0
- package/dist-es/commands/ListAutomationsCommand.js +16 -0
- package/dist-es/commands/ListEvaluationsCommand.js +16 -0
- package/dist-es/commands/ListIntentsCommand.js +16 -0
- package/dist-es/commands/ListProfileVersionsCommand.js +16 -0
- package/dist-es/commands/ListProfilesCommand.js +16 -0
- package/dist-es/commands/PublishProfileVersionCommand.js +16 -0
- package/dist-es/commands/RestoreProfileVersionToDraftCommand.js +16 -0
- package/dist-es/commands/UpdateAssetCommand.js +16 -0
- package/dist-es/commands/UpdateAutomationCommand.js +16 -0
- package/dist-es/commands/UpdateEvaluationCommand.js +16 -0
- package/dist-es/commands/UpdateIntentCommand.js +16 -0
- package/dist-es/commands/UpdateProfileCommand.js +16 -0
- package/dist-es/commands/index.js +32 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/bdd.js +25 -0
- package/dist-es/endpoint/endpointResolver.js +12 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +8 -0
- package/dist-es/models/WilmaCopilotServiceException.js +8 -0
- package/dist-es/models/enums.js +92 -0
- package/dist-es/models/errors.js +265 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/runtimeConfig.browser.js +27 -0
- package/dist-es/runtimeConfig.js +36 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +37 -0
- package/dist-es/runtimeExtensions.js +8 -0
- package/dist-es/schemas/schemas_0.js +1243 -0
- package/dist-types/WilmaCopilot.d.ts +254 -0
- package/dist-types/WilmaCopilotClient.d.ts +209 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/AttachProfileResourceCommand.d.ts +165 -0
- package/dist-types/commands/CompareProfileVersionsCommand.d.ts +91 -0
- package/dist-types/commands/CreateAssetCommand.d.ts +328 -0
- package/dist-types/commands/CreateAutomationCommand.d.ts +176 -0
- package/dist-types/commands/CreateEvaluationCommand.d.ts +196 -0
- package/dist-types/commands/CreateIntentCommand.d.ts +202 -0
- package/dist-types/commands/CreateProfileCommand.d.ts +181 -0
- package/dist-types/commands/DeleteAssetCommand.d.ts +83 -0
- package/dist-types/commands/DeleteAutomationCommand.d.ts +83 -0
- package/dist-types/commands/DeleteEvaluationCommand.d.ts +83 -0
- package/dist-types/commands/DeleteIntentCommand.d.ts +83 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +79 -0
- package/dist-types/commands/DeleteProfileResourceCommand.d.ts +147 -0
- package/dist-types/commands/GetAssetCommand.d.ts +213 -0
- package/dist-types/commands/GetAutomationCommand.d.ts +137 -0
- package/dist-types/commands/GetEvaluationCommand.d.ts +147 -0
- package/dist-types/commands/GetIntentCommand.d.ts +150 -0
- package/dist-types/commands/GetProfileCommand.d.ts +141 -0
- package/dist-types/commands/GetProfileVersionCommand.d.ts +82 -0
- package/dist-types/commands/ListAssetsCommand.d.ts +107 -0
- package/dist-types/commands/ListAutomationsCommand.d.ts +103 -0
- package/dist-types/commands/ListEvaluationsCommand.d.ts +104 -0
- package/dist-types/commands/ListIntentsCommand.d.ts +103 -0
- package/dist-types/commands/ListProfileVersionsCommand.d.ts +95 -0
- package/dist-types/commands/ListProfilesCommand.d.ts +110 -0
- package/dist-types/commands/PublishProfileVersionCommand.d.ts +87 -0
- package/dist-types/commands/RestoreProfileVersionToDraftCommand.d.ts +146 -0
- package/dist-types/commands/UpdateAssetCommand.d.ts +335 -0
- package/dist-types/commands/UpdateAutomationCommand.d.ts +183 -0
- package/dist-types/commands/UpdateEvaluationCommand.d.ts +203 -0
- package/dist-types/commands/UpdateIntentCommand.d.ts +209 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +160 -0
- package/dist-types/commands/index.d.ts +32 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +31 -0
- package/dist-types/models/WilmaCopilotServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +287 -0
- package/dist-types/models/errors.d.ts +239 -0
- package/dist-types/models/models_0.d.ts +2808 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +32 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +182 -0
- package/package.json +57 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListEvaluationsInput, ListEvaluationsOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaCopilotClientResolvedConfig } from "../WilmaCopilotClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListEvaluationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListEvaluationsCommandInput extends ListEvaluationsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListEvaluationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListEvaluationsCommandOutput extends ListEvaluationsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListEvaluationsCommand_base: {
|
|
25
|
+
new (input: ListEvaluationsCommandInput): import("@smithy/core/client").CommandImpl<ListEvaluationsCommandInput, ListEvaluationsCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListEvaluationsCommandInput]): import("@smithy/core/client").CommandImpl<ListEvaluationsCommandInput, ListEvaluationsCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Lists reusable evaluations in the company.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WilmaCopilotClient, ListEvaluationsCommand } from "@wildix/wilma-copilot-client"; // ES Modules import
|
|
35
|
+
* // const { WilmaCopilotClient, ListEvaluationsCommand } = require("@wildix/wilma-copilot-client"); // CommonJS import
|
|
36
|
+
* // import type { WilmaCopilotClientConfig } from "@wildix/wilma-copilot-client";
|
|
37
|
+
* const config = {}; // type is WilmaCopilotClientConfig
|
|
38
|
+
* const client = new WilmaCopilotClient(config);
|
|
39
|
+
* const input = { // ListEvaluationsInput
|
|
40
|
+
* company: "STRING_VALUE",
|
|
41
|
+
* group: "STRING_VALUE",
|
|
42
|
+
* search: "STRING_VALUE",
|
|
43
|
+
* limit: Number("int"),
|
|
44
|
+
* cursor: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ListEvaluationsCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ListEvaluationsOutput
|
|
49
|
+
* // evaluations: [ // EvaluationInfoList // required
|
|
50
|
+
* // { // EvaluationInfo
|
|
51
|
+
* // createdAt: "STRING_VALUE", // required
|
|
52
|
+
* // createdBy: { // Actor
|
|
53
|
+
* // type: "user" || "api_key" || "service", // required
|
|
54
|
+
* // id: "STRING_VALUE", // required
|
|
55
|
+
* // name: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // updatedAt: "STRING_VALUE",
|
|
58
|
+
* // updatedBy: {
|
|
59
|
+
* // type: "user" || "api_key" || "service", // required
|
|
60
|
+
* // id: "STRING_VALUE", // required
|
|
61
|
+
* // name: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // id: "STRING_VALUE", // required
|
|
64
|
+
* // name: "STRING_VALUE", // required
|
|
65
|
+
* // description: "STRING_VALUE",
|
|
66
|
+
* // window: "new_transcript" || "new_with_prior" || "full_transcript", // required
|
|
67
|
+
* // group: "STRING_VALUE",
|
|
68
|
+
* // usageLast30Days: Number("int"),
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // nextCursor: "STRING_VALUE",
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* @param ListEvaluationsCommandInput - {@link ListEvaluationsCommandInput}
|
|
77
|
+
* @returns {@link ListEvaluationsCommandOutput}
|
|
78
|
+
* @see {@link ListEvaluationsCommandInput} for command's `input` shape.
|
|
79
|
+
* @see {@link ListEvaluationsCommandOutput} for command's `response` shape.
|
|
80
|
+
* @see {@link WilmaCopilotClientResolvedConfig | config} for WilmaCopilotClient's `config` shape.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ValidationException} (client fault)
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link WilmaCopilotServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from WilmaCopilot service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class ListEvaluationsCommand extends ListEvaluationsCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: ListEvaluationsInput;
|
|
97
|
+
output: ListEvaluationsOutput;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: ListEvaluationsCommandInput;
|
|
101
|
+
output: ListEvaluationsCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListIntentsInput, ListIntentsOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaCopilotClientResolvedConfig } from "../WilmaCopilotClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListIntentsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListIntentsCommandInput extends ListIntentsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListIntentsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListIntentsCommandOutput extends ListIntentsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListIntentsCommand_base: {
|
|
25
|
+
new (input: ListIntentsCommandInput): import("@smithy/core/client").CommandImpl<ListIntentsCommandInput, ListIntentsCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListIntentsCommandInput]): import("@smithy/core/client").CommandImpl<ListIntentsCommandInput, ListIntentsCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Lists reusable intents in the company.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WilmaCopilotClient, ListIntentsCommand } from "@wildix/wilma-copilot-client"; // ES Modules import
|
|
35
|
+
* // const { WilmaCopilotClient, ListIntentsCommand } = require("@wildix/wilma-copilot-client"); // CommonJS import
|
|
36
|
+
* // import type { WilmaCopilotClientConfig } from "@wildix/wilma-copilot-client";
|
|
37
|
+
* const config = {}; // type is WilmaCopilotClientConfig
|
|
38
|
+
* const client = new WilmaCopilotClient(config);
|
|
39
|
+
* const input = { // ListIntentsInput
|
|
40
|
+
* company: "STRING_VALUE",
|
|
41
|
+
* search: "STRING_VALUE",
|
|
42
|
+
* limit: Number("int"),
|
|
43
|
+
* cursor: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListIntentsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListIntentsOutput
|
|
48
|
+
* // intents: [ // IntentInfoList // required
|
|
49
|
+
* // { // IntentInfo
|
|
50
|
+
* // createdAt: "STRING_VALUE", // required
|
|
51
|
+
* // createdBy: { // Actor
|
|
52
|
+
* // type: "user" || "api_key" || "service", // required
|
|
53
|
+
* // id: "STRING_VALUE", // required
|
|
54
|
+
* // name: "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // updatedAt: "STRING_VALUE",
|
|
57
|
+
* // updatedBy: {
|
|
58
|
+
* // type: "user" || "api_key" || "service", // required
|
|
59
|
+
* // id: "STRING_VALUE", // required
|
|
60
|
+
* // name: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // id: "STRING_VALUE", // required
|
|
63
|
+
* // name: "STRING_VALUE", // required
|
|
64
|
+
* // description: "STRING_VALUE",
|
|
65
|
+
* // textMatchEnabled: true || false, // required
|
|
66
|
+
* // aiMatchEnabled: true || false, // required
|
|
67
|
+
* // usageLast30Days: Number("int"),
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // nextCursor: "STRING_VALUE",
|
|
71
|
+
* // };
|
|
72
|
+
*
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @param ListIntentsCommandInput - {@link ListIntentsCommandInput}
|
|
76
|
+
* @returns {@link ListIntentsCommandOutput}
|
|
77
|
+
* @see {@link ListIntentsCommandInput} for command's `input` shape.
|
|
78
|
+
* @see {@link ListIntentsCommandOutput} for command's `response` shape.
|
|
79
|
+
* @see {@link WilmaCopilotClientResolvedConfig | config} for WilmaCopilotClient's `config` shape.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link WilmaCopilotServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from WilmaCopilot service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class ListIntentsCommand extends ListIntentsCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: ListIntentsInput;
|
|
96
|
+
output: ListIntentsOutput;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: ListIntentsCommandInput;
|
|
100
|
+
output: ListIntentsCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListProfileVersionsInput, ListProfileVersionsOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaCopilotClientResolvedConfig } from "../WilmaCopilotClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListProfileVersionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListProfileVersionsCommandInput extends ListProfileVersionsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListProfileVersionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListProfileVersionsCommandOutput extends ListProfileVersionsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListProfileVersionsCommand_base: {
|
|
25
|
+
new (input: ListProfileVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListProfileVersionsCommandInput, ListProfileVersionsCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListProfileVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListProfileVersionsCommandInput, ListProfileVersionsCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Lists the published versions of a profile, newest first.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WilmaCopilotClient, ListProfileVersionsCommand } from "@wildix/wilma-copilot-client"; // ES Modules import
|
|
35
|
+
* // const { WilmaCopilotClient, ListProfileVersionsCommand } = require("@wildix/wilma-copilot-client"); // CommonJS import
|
|
36
|
+
* // import type { WilmaCopilotClientConfig } from "@wildix/wilma-copilot-client";
|
|
37
|
+
* const config = {}; // type is WilmaCopilotClientConfig
|
|
38
|
+
* const client = new WilmaCopilotClient(config);
|
|
39
|
+
* const input = { // ListProfileVersionsInput
|
|
40
|
+
* company: "STRING_VALUE",
|
|
41
|
+
* profileId: "STRING_VALUE", // required
|
|
42
|
+
* limit: Number("int"),
|
|
43
|
+
* cursor: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListProfileVersionsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListProfileVersionsOutput
|
|
48
|
+
* // versions: [ // ProfileVersionInfoList // required
|
|
49
|
+
* // { // ProfileVersionInfo
|
|
50
|
+
* // profileId: "STRING_VALUE", // required
|
|
51
|
+
* // version: Number("int"), // required
|
|
52
|
+
* // changelog: "STRING_VALUE",
|
|
53
|
+
* // publishedAt: "STRING_VALUE", // required
|
|
54
|
+
* // publishedBy: { // Actor
|
|
55
|
+
* // type: "user" || "api_key" || "service", // required
|
|
56
|
+
* // id: "STRING_VALUE", // required
|
|
57
|
+
* // name: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // latest: true || false,
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // nextCursor: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param ListProfileVersionsCommandInput - {@link ListProfileVersionsCommandInput}
|
|
68
|
+
* @returns {@link ListProfileVersionsCommandOutput}
|
|
69
|
+
* @see {@link ListProfileVersionsCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link ListProfileVersionsCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link WilmaCopilotClientResolvedConfig | config} for WilmaCopilotClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ProfileNotFoundException} (client fault)
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link WilmaCopilotServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from WilmaCopilot service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class ListProfileVersionsCommand extends ListProfileVersionsCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: ListProfileVersionsInput;
|
|
88
|
+
output: ListProfileVersionsOutput;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: ListProfileVersionsCommandInput;
|
|
92
|
+
output: ListProfileVersionsCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListProfilesInput, ListProfilesOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaCopilotClientResolvedConfig } from "../WilmaCopilotClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListProfilesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListProfilesCommandInput extends ListProfilesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListProfilesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListProfilesCommandOutput extends ListProfilesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListProfilesCommand_base: {
|
|
25
|
+
new (input: ListProfilesCommandInput): import("@smithy/core/client").CommandImpl<ListProfilesCommandInput, ListProfilesCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListProfilesCommandInput]): import("@smithy/core/client").CommandImpl<ListProfilesCommandInput, ListProfilesCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Lists copilot profiles in the company.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WilmaCopilotClient, ListProfilesCommand } from "@wildix/wilma-copilot-client"; // ES Modules import
|
|
35
|
+
* // const { WilmaCopilotClient, ListProfilesCommand } = require("@wildix/wilma-copilot-client"); // CommonJS import
|
|
36
|
+
* // import type { WilmaCopilotClientConfig } from "@wildix/wilma-copilot-client";
|
|
37
|
+
* const config = {}; // type is WilmaCopilotClientConfig
|
|
38
|
+
* const client = new WilmaCopilotClient(config);
|
|
39
|
+
* const input = { // ListProfilesInput
|
|
40
|
+
* company: "STRING_VALUE",
|
|
41
|
+
* status: "draft" || "active",
|
|
42
|
+
* channel: "calls" || "chats" || "any",
|
|
43
|
+
* search: "STRING_VALUE",
|
|
44
|
+
* limit: Number("int"),
|
|
45
|
+
* cursor: "STRING_VALUE",
|
|
46
|
+
* };
|
|
47
|
+
* const command = new ListProfilesCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // ListProfilesOutput
|
|
50
|
+
* // profiles: [ // ProfileInfoList // required
|
|
51
|
+
* // { // ProfileInfo
|
|
52
|
+
* // createdAt: "STRING_VALUE", // required
|
|
53
|
+
* // createdBy: { // Actor
|
|
54
|
+
* // type: "user" || "api_key" || "service", // required
|
|
55
|
+
* // id: "STRING_VALUE", // required
|
|
56
|
+
* // name: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // updatedAt: "STRING_VALUE",
|
|
59
|
+
* // updatedBy: {
|
|
60
|
+
* // type: "user" || "api_key" || "service", // required
|
|
61
|
+
* // id: "STRING_VALUE", // required
|
|
62
|
+
* // name: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // id: "STRING_VALUE", // required
|
|
65
|
+
* // name: "STRING_VALUE", // required
|
|
66
|
+
* // description: "STRING_VALUE",
|
|
67
|
+
* // channel: "calls" || "chats" || "any", // required
|
|
68
|
+
* // status: "draft" || "active", // required
|
|
69
|
+
* // live: true || false, // required
|
|
70
|
+
* // latestVersion: Number("int"),
|
|
71
|
+
* // intentCount: Number("int"),
|
|
72
|
+
* // evaluationCount: Number("int"),
|
|
73
|
+
* // automationCount: Number("int"),
|
|
74
|
+
* // assetCount: Number("int"),
|
|
75
|
+
* // },
|
|
76
|
+
* // ],
|
|
77
|
+
* // nextCursor: "STRING_VALUE",
|
|
78
|
+
* // };
|
|
79
|
+
*
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* @param ListProfilesCommandInput - {@link ListProfilesCommandInput}
|
|
83
|
+
* @returns {@link ListProfilesCommandOutput}
|
|
84
|
+
* @see {@link ListProfilesCommandInput} for command's `input` shape.
|
|
85
|
+
* @see {@link ListProfilesCommandOutput} for command's `response` shape.
|
|
86
|
+
* @see {@link WilmaCopilotClientResolvedConfig | config} for WilmaCopilotClient's `config` shape.
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ValidationException} (client fault)
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link WilmaCopilotServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from WilmaCopilot service.</p>
|
|
94
|
+
*
|
|
95
|
+
*
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export declare class ListProfilesCommand extends ListProfilesCommand_base {
|
|
99
|
+
/** @internal type navigation helper, not in runtime. */
|
|
100
|
+
protected static __types: {
|
|
101
|
+
api: {
|
|
102
|
+
input: ListProfilesInput;
|
|
103
|
+
output: ListProfilesOutput;
|
|
104
|
+
};
|
|
105
|
+
sdk: {
|
|
106
|
+
input: ListProfilesCommandInput;
|
|
107
|
+
output: ListProfilesCommandOutput;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { PublishProfileVersionInput, PublishProfileVersionOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaCopilotClientResolvedConfig } from "../WilmaCopilotClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PublishProfileVersionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PublishProfileVersionCommandInput extends PublishProfileVersionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PublishProfileVersionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PublishProfileVersionCommandOutput extends PublishProfileVersionOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PublishProfileVersionCommand_base: {
|
|
25
|
+
new (input: PublishProfileVersionCommandInput): import("@smithy/core/client").CommandImpl<PublishProfileVersionCommandInput, PublishProfileVersionCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PublishProfileVersionCommandInput): import("@smithy/core/client").CommandImpl<PublishProfileVersionCommandInput, PublishProfileVersionCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Publishes the current draft as a new immutable version and updates latestVersion. The referenced intents, evaluations, automations and assets are resolved into the version snapshot, and the wilma-copilot-sessions runtime applies the new version to conversations started after publish.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WilmaCopilotClient, PublishProfileVersionCommand } from "@wildix/wilma-copilot-client"; // ES Modules import
|
|
35
|
+
* // const { WilmaCopilotClient, PublishProfileVersionCommand } = require("@wildix/wilma-copilot-client"); // CommonJS import
|
|
36
|
+
* // import type { WilmaCopilotClientConfig } from "@wildix/wilma-copilot-client";
|
|
37
|
+
* const config = {}; // type is WilmaCopilotClientConfig
|
|
38
|
+
* const client = new WilmaCopilotClient(config);
|
|
39
|
+
* const input = { // PublishProfileVersionInput
|
|
40
|
+
* company: "STRING_VALUE",
|
|
41
|
+
* profileId: "STRING_VALUE", // required
|
|
42
|
+
* changelog: "STRING_VALUE",
|
|
43
|
+
* revision: Number("int"), // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new PublishProfileVersionCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // PublishProfileVersionOutput
|
|
48
|
+
* // version: Number("int"), // required
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param PublishProfileVersionCommandInput - {@link PublishProfileVersionCommandInput}
|
|
54
|
+
* @returns {@link PublishProfileVersionCommandOutput}
|
|
55
|
+
* @see {@link PublishProfileVersionCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link PublishProfileVersionCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link WilmaCopilotClientResolvedConfig | config} for WilmaCopilotClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ProfileNotFoundException} (client fault)
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link NothingToPublishException} (client fault)
|
|
62
|
+
* The draft has not changed since the last published version; there is nothing to publish.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link RevisionConflictException} (client fault)
|
|
65
|
+
* The resource was modified concurrently; re-read it and retry with the latest revision.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link WilmaCopilotServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from WilmaCopilot service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class PublishProfileVersionCommand extends PublishProfileVersionCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: PublishProfileVersionInput;
|
|
80
|
+
output: PublishProfileVersionOutput;
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: PublishProfileVersionCommandInput;
|
|
84
|
+
output: PublishProfileVersionCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { RestoreProfileVersionToDraftInput, RestoreProfileVersionToDraftOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaCopilotClientResolvedConfig } from "../WilmaCopilotClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link RestoreProfileVersionToDraftCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RestoreProfileVersionToDraftCommandInput extends RestoreProfileVersionToDraftInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RestoreProfileVersionToDraftCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RestoreProfileVersionToDraftCommandOutput extends RestoreProfileVersionToDraftOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RestoreProfileVersionToDraftCommand_base: {
|
|
25
|
+
new (input: RestoreProfileVersionToDraftCommandInput): import("@smithy/core/client").CommandImpl<RestoreProfileVersionToDraftCommandInput, RestoreProfileVersionToDraftCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RestoreProfileVersionToDraftCommandInput): import("@smithy/core/client").CommandImpl<RestoreProfileVersionToDraftCommandInput, RestoreProfileVersionToDraftCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Replaces the mutable draft with a published version's definition. The draft revision is incremented; published versions and latestVersion are unchanged until the draft is published.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WilmaCopilotClient, RestoreProfileVersionToDraftCommand } from "@wildix/wilma-copilot-client"; // ES Modules import
|
|
35
|
+
* // const { WilmaCopilotClient, RestoreProfileVersionToDraftCommand } = require("@wildix/wilma-copilot-client"); // CommonJS import
|
|
36
|
+
* // import type { WilmaCopilotClientConfig } from "@wildix/wilma-copilot-client";
|
|
37
|
+
* const config = {}; // type is WilmaCopilotClientConfig
|
|
38
|
+
* const client = new WilmaCopilotClient(config);
|
|
39
|
+
* const input = { // RestoreProfileVersionToDraftInput
|
|
40
|
+
* company: "STRING_VALUE",
|
|
41
|
+
* profileId: "STRING_VALUE", // required
|
|
42
|
+
* version: Number("int"), // required
|
|
43
|
+
* revision: Number("int"), // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new RestoreProfileVersionToDraftCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // RestoreProfileVersionToDraftOutput
|
|
48
|
+
* // profile: { // Profile
|
|
49
|
+
* // name: "STRING_VALUE", // required
|
|
50
|
+
* // description: "STRING_VALUE",
|
|
51
|
+
* // channel: "calls" || "chats" || "any", // required
|
|
52
|
+
* // conditions: "DOCUMENT_VALUE",
|
|
53
|
+
* // access: { // CopilotAccess
|
|
54
|
+
* // visibility: "explicit" || "organization",
|
|
55
|
+
* // grants: [ // CopilotGrantPrincipalList
|
|
56
|
+
* // { // CopilotGrantPrincipal Union: only one key present
|
|
57
|
+
* // userId: "STRING_VALUE",
|
|
58
|
+
* // groupId: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // },
|
|
62
|
+
* // features: [ // CopilotFeaturesList
|
|
63
|
+
* // { // CopilotFeature Union: only one key present
|
|
64
|
+
* // csat: {},
|
|
65
|
+
* // sentiment: {},
|
|
66
|
+
* // talkRatio: {},
|
|
67
|
+
* // topics: {},
|
|
68
|
+
* // contextualKnowledgeAnswers: { // ContextualKnowledgeAnswersFeatureConfiguration
|
|
69
|
+
* // source: "knowledge_bases" || "agent", // required
|
|
70
|
+
* // knowledgeBaseIds: [ // KnowledgeBaseIdList
|
|
71
|
+
* // "STRING_VALUE",
|
|
72
|
+
* // ],
|
|
73
|
+
* // agentId: "STRING_VALUE",
|
|
74
|
+
* // mode: "suggest_action" || "automatic_answer", // required
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // assets: [ // AssetIdList
|
|
79
|
+
* // "STRING_VALUE",
|
|
80
|
+
* // ],
|
|
81
|
+
* // intents: [ // IntentIdList
|
|
82
|
+
* // "STRING_VALUE",
|
|
83
|
+
* // ],
|
|
84
|
+
* // evaluations: [ // EvaluationIdList
|
|
85
|
+
* // "STRING_VALUE",
|
|
86
|
+
* // ],
|
|
87
|
+
* // automations: [ // AutomationIdList
|
|
88
|
+
* // "STRING_VALUE",
|
|
89
|
+
* // ],
|
|
90
|
+
* // createdAt: "STRING_VALUE", // required
|
|
91
|
+
* // createdBy: { // Actor
|
|
92
|
+
* // type: "user" || "api_key" || "service", // required
|
|
93
|
+
* // id: "STRING_VALUE", // required
|
|
94
|
+
* // name: "STRING_VALUE",
|
|
95
|
+
* // },
|
|
96
|
+
* // updatedAt: "STRING_VALUE",
|
|
97
|
+
* // updatedBy: {
|
|
98
|
+
* // type: "user" || "api_key" || "service", // required
|
|
99
|
+
* // id: "STRING_VALUE", // required
|
|
100
|
+
* // name: "STRING_VALUE",
|
|
101
|
+
* // },
|
|
102
|
+
* // id: "STRING_VALUE", // required
|
|
103
|
+
* // status: "draft" || "active", // required
|
|
104
|
+
* // revision: Number("int"), // required
|
|
105
|
+
* // latestVersion: Number("int"),
|
|
106
|
+
* // draftBaseVersion: Number("int"),
|
|
107
|
+
* // live: true || false, // required
|
|
108
|
+
* // },
|
|
109
|
+
* // };
|
|
110
|
+
*
|
|
111
|
+
* ```
|
|
112
|
+
*
|
|
113
|
+
* @param RestoreProfileVersionToDraftCommandInput - {@link RestoreProfileVersionToDraftCommandInput}
|
|
114
|
+
* @returns {@link RestoreProfileVersionToDraftCommandOutput}
|
|
115
|
+
* @see {@link RestoreProfileVersionToDraftCommandInput} for command's `input` shape.
|
|
116
|
+
* @see {@link RestoreProfileVersionToDraftCommandOutput} for command's `response` shape.
|
|
117
|
+
* @see {@link WilmaCopilotClientResolvedConfig | config} for WilmaCopilotClient's `config` shape.
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link ProfileNotFoundException} (client fault)
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link ProfileVersionNotFoundException} (client fault)
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link RevisionConflictException} (client fault)
|
|
124
|
+
* The resource was modified concurrently; re-read it and retry with the latest revision.
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link ValidationException} (client fault)
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link WilmaCopilotServiceException}
|
|
129
|
+
* <p>Base exception class for all service exceptions from WilmaCopilot service.</p>
|
|
130
|
+
*
|
|
131
|
+
*
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
export declare class RestoreProfileVersionToDraftCommand extends RestoreProfileVersionToDraftCommand_base {
|
|
135
|
+
/** @internal type navigation helper, not in runtime. */
|
|
136
|
+
protected static __types: {
|
|
137
|
+
api: {
|
|
138
|
+
input: RestoreProfileVersionToDraftInput;
|
|
139
|
+
output: RestoreProfileVersionToDraftOutput;
|
|
140
|
+
};
|
|
141
|
+
sdk: {
|
|
142
|
+
input: RestoreProfileVersionToDraftCommandInput;
|
|
143
|
+
output: RestoreProfileVersionToDraftCommandOutput;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
}
|