@wildix/wim-wilma-client 0.0.12 → 3.1.12
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/Wilma.js +25 -3
- package/dist-cjs/WilmaClient.js +34 -26
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +52 -0
- package/dist-cjs/commands/CreateAgentCommand.js +10 -11
- package/dist-cjs/commands/CreateGuidelineCommand.js +10 -11
- package/dist-cjs/commands/CreateGuidelinesDirectoryCommand.js +10 -11
- package/dist-cjs/commands/CreateSkillCommand.js +20 -0
- package/dist-cjs/commands/CreateSkillFileUploadCommand.js +20 -0
- package/dist-cjs/commands/DeleteAgentCommand.js +10 -11
- package/dist-cjs/commands/DeleteChatCommand.js +10 -11
- package/dist-cjs/commands/DeleteFileCommand.js +20 -0
- package/dist-cjs/commands/DeleteGuidelineCommand.js +10 -11
- package/dist-cjs/commands/DeleteGuidelinesDirectoryCommand.js +10 -11
- package/dist-cjs/commands/DeleteSkillCommand.js +20 -0
- package/dist-cjs/commands/DeleteSkillFileCommand.js +20 -0
- package/dist-cjs/commands/DislikeAnswerCommand.js +10 -11
- package/dist-cjs/commands/DownloadFileCommand.js +20 -0
- package/dist-cjs/commands/ExecuteAgentCommand.js +10 -11
- package/dist-cjs/commands/GetAgentCommand.js +10 -11
- package/dist-cjs/commands/GetChatCommand.js +10 -11
- package/dist-cjs/commands/GetFileCommand.js +20 -0
- package/dist-cjs/commands/GetGuidelineCommand.js +10 -11
- package/dist-cjs/commands/GetOrganizationSettingsCommand.js +10 -11
- package/dist-cjs/commands/GetSettingsCommand.js +10 -11
- package/dist-cjs/commands/GetSkillCommand.js +20 -0
- package/dist-cjs/commands/GetSkillFileDownloadCommand.js +20 -0
- package/dist-cjs/commands/LikeAnswerCommand.js +10 -11
- package/dist-cjs/commands/ListAgentFeedbacksCommand.js +10 -11
- package/dist-cjs/commands/ListAgentsCommand.js +10 -11
- package/dist-cjs/commands/ListAgentsNamesCommand.js +10 -11
- package/dist-cjs/commands/ListChatsCommand.js +10 -11
- package/dist-cjs/commands/ListFeedbacksCommand.js +10 -11
- package/dist-cjs/commands/ListGuidelinesCommand.js +10 -11
- package/dist-cjs/commands/ListGuidelinesDirectoriesCommand.js +10 -11
- package/dist-cjs/commands/ListGuidelinesNamesCommand.js +10 -11
- package/dist-cjs/commands/ListSkillsCommand.js +20 -0
- package/dist-cjs/commands/PatchOrganizationSettingsCommand.js +10 -11
- package/dist-cjs/commands/PatchSettingsCommand.js +10 -11
- package/dist-cjs/commands/UpdateAgentCommand.js +10 -11
- package/dist-cjs/commands/UpdateGuidelineAccessCommand.js +10 -11
- package/dist-cjs/commands/UpdateGuidelineCommand.js +10 -11
- package/dist-cjs/commands/UpdateGuidelinesDirectoryCommand.js +10 -11
- package/dist-cjs/commands/UpdateSkillCommand.js +20 -0
- package/dist-cjs/commands/index.js +12 -1
- 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/index.js +4 -1
- package/dist-cjs/models/WilmaServiceException.js +3 -3
- package/dist-cjs/models/enums.js +45 -0
- package/dist-cjs/models/errors.js +43 -0
- package/dist-cjs/models/models_0.js +0 -96
- package/dist-cjs/runtimeConfig.browser.js +11 -11
- package/dist-cjs/runtimeConfig.js +22 -18
- package/dist-cjs/runtimeConfig.shared.js +30 -10
- package/dist-cjs/runtimeExtensions.js +6 -5
- package/dist-cjs/schemas/schemas_0.js +1110 -0
- package/dist-es/Wilma.js +27 -5
- package/dist-es/WilmaClient.js +30 -22
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-es/commands/CreateAgentCommand.js +9 -10
- package/dist-es/commands/CreateGuidelineCommand.js +9 -10
- package/dist-es/commands/CreateGuidelinesDirectoryCommand.js +9 -10
- package/dist-es/commands/CreateSkillCommand.js +16 -0
- package/dist-es/commands/CreateSkillFileUploadCommand.js +16 -0
- package/dist-es/commands/DeleteAgentCommand.js +9 -10
- package/dist-es/commands/DeleteChatCommand.js +9 -10
- package/dist-es/commands/DeleteFileCommand.js +16 -0
- package/dist-es/commands/DeleteGuidelineCommand.js +9 -10
- package/dist-es/commands/DeleteGuidelinesDirectoryCommand.js +9 -10
- package/dist-es/commands/DeleteSkillCommand.js +16 -0
- package/dist-es/commands/DeleteSkillFileCommand.js +16 -0
- package/dist-es/commands/DislikeAnswerCommand.js +9 -10
- package/dist-es/commands/DownloadFileCommand.js +16 -0
- package/dist-es/commands/ExecuteAgentCommand.js +9 -10
- package/dist-es/commands/GetAgentCommand.js +9 -10
- package/dist-es/commands/GetChatCommand.js +9 -10
- package/dist-es/commands/GetFileCommand.js +16 -0
- package/dist-es/commands/GetGuidelineCommand.js +9 -10
- package/dist-es/commands/GetOrganizationSettingsCommand.js +9 -10
- package/dist-es/commands/GetSettingsCommand.js +9 -10
- package/dist-es/commands/GetSkillCommand.js +16 -0
- package/dist-es/commands/GetSkillFileDownloadCommand.js +16 -0
- package/dist-es/commands/LikeAnswerCommand.js +9 -10
- package/dist-es/commands/ListAgentFeedbacksCommand.js +9 -10
- package/dist-es/commands/ListAgentsCommand.js +9 -10
- package/dist-es/commands/ListAgentsNamesCommand.js +9 -10
- package/dist-es/commands/ListChatsCommand.js +9 -10
- package/dist-es/commands/ListFeedbacksCommand.js +9 -10
- package/dist-es/commands/ListGuidelinesCommand.js +9 -10
- package/dist-es/commands/ListGuidelinesDirectoriesCommand.js +9 -10
- package/dist-es/commands/ListGuidelinesNamesCommand.js +9 -10
- package/dist-es/commands/ListSkillsCommand.js +16 -0
- package/dist-es/commands/PatchOrganizationSettingsCommand.js +9 -10
- package/dist-es/commands/PatchSettingsCommand.js +9 -10
- package/dist-es/commands/UpdateAgentCommand.js +9 -10
- package/dist-es/commands/UpdateGuidelineAccessCommand.js +9 -10
- package/dist-es/commands/UpdateGuidelineCommand.js +9 -10
- package/dist-es/commands/UpdateGuidelinesDirectoryCommand.js +9 -10
- package/dist-es/commands/UpdateSkillCommand.js +16 -0
- package/dist-es/commands/index.js +12 -1
- 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/index.js +4 -1
- package/dist-es/models/WilmaServiceException.js +1 -1
- package/dist-es/models/enums.js +42 -0
- package/dist-es/models/errors.js +37 -0
- package/dist-es/models/models_0.js +1 -92
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +17 -13
- package/dist-es/runtimeConfig.shared.js +24 -4
- package/dist-es/runtimeExtensions.js +6 -5
- package/dist-es/schemas/schemas_0.js +1104 -0
- package/dist-types/Wilma.d.ts +108 -30
- package/dist-types/WilmaClient.d.ts +72 -43
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/CreateAgentCommand.d.ts +103 -7
- package/dist-types/commands/CreateGuidelineCommand.d.ts +11 -7
- package/dist-types/commands/CreateGuidelinesDirectoryCommand.d.ts +11 -7
- package/dist-types/commands/CreateSkillCommand.d.ts +103 -0
- package/dist-types/commands/CreateSkillFileUploadCommand.d.ts +99 -0
- package/dist-types/commands/DeleteAgentCommand.d.ts +11 -7
- package/dist-types/commands/DeleteChatCommand.d.ts +11 -7
- package/dist-types/commands/DeleteFileCommand.d.ts +80 -0
- package/dist-types/commands/DeleteGuidelineCommand.d.ts +11 -7
- package/dist-types/commands/DeleteGuidelinesDirectoryCommand.d.ts +11 -7
- package/dist-types/commands/DeleteSkillCommand.d.ts +80 -0
- package/dist-types/commands/DeleteSkillFileCommand.d.ts +83 -0
- package/dist-types/commands/DislikeAnswerCommand.d.ts +11 -7
- package/dist-types/commands/DownloadFileCommand.d.ts +95 -0
- package/dist-types/commands/ExecuteAgentCommand.d.ts +28 -7
- package/dist-types/commands/GetAgentCommand.d.ts +57 -7
- package/dist-types/commands/GetChatCommand.d.ts +11 -7
- package/dist-types/commands/GetFileCommand.d.ts +93 -0
- package/dist-types/commands/GetGuidelineCommand.d.ts +11 -7
- package/dist-types/commands/GetOrganizationSettingsCommand.d.ts +11 -7
- package/dist-types/commands/GetSettingsCommand.d.ts +11 -7
- package/dist-types/commands/GetSkillCommand.d.ts +103 -0
- package/dist-types/commands/GetSkillFileDownloadCommand.d.ts +86 -0
- package/dist-types/commands/LikeAnswerCommand.d.ts +11 -7
- package/dist-types/commands/ListAgentFeedbacksCommand.d.ts +11 -7
- package/dist-types/commands/ListAgentsCommand.d.ts +57 -7
- package/dist-types/commands/ListAgentsNamesCommand.d.ts +11 -7
- package/dist-types/commands/ListChatsCommand.d.ts +11 -7
- package/dist-types/commands/ListFeedbacksCommand.d.ts +11 -7
- package/dist-types/commands/ListGuidelinesCommand.d.ts +11 -7
- package/dist-types/commands/ListGuidelinesDirectoriesCommand.d.ts +11 -7
- package/dist-types/commands/ListGuidelinesNamesCommand.d.ts +11 -7
- package/dist-types/commands/ListSkillsCommand.d.ts +92 -0
- package/dist-types/commands/PatchOrganizationSettingsCommand.d.ts +11 -7
- package/dist-types/commands/PatchSettingsCommand.d.ts +11 -7
- package/dist-types/commands/UpdateAgentCommand.d.ts +103 -7
- package/dist-types/commands/UpdateGuidelineAccessCommand.d.ts +11 -7
- package/dist-types/commands/UpdateGuidelineCommand.d.ts +11 -7
- package/dist-types/commands/UpdateGuidelinesDirectoryCommand.d.ts +11 -7
- package/dist-types/commands/UpdateSkillCommand.d.ts +106 -0
- package/dist-types/commands/index.d.ts +12 -1
- 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 +4 -3
- package/dist-types/index.d.ts +5 -1
- package/dist-types/models/WilmaServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +129 -0
- package/dist-types/models/errors.d.ts +35 -0
- package/dist-types/models/models_0.d.ts +628 -153
- package/dist-types/runtimeConfig.browser.d.ts +35 -16
- package/dist-types/runtimeConfig.d.ts +34 -15
- package/dist-types/runtimeConfig.native.d.ts +36 -17
- package/dist-types/runtimeConfig.shared.d.ts +20 -3
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +172 -0
- package/package.json +14 -40
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1127
- package/dist-es/models/index.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1065
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -263
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListGuidelinesDirectoriesInput, ListGuidelinesDirectoriesOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaClientResolvedConfig } from "../WilmaClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface ListGuidelinesDirectoriesCommandInput extends ListGuidelinesDir
|
|
|
22
22
|
export interface ListGuidelinesDirectoriesCommandOutput extends ListGuidelinesDirectoriesOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ListGuidelinesDirectoriesCommand_base: {
|
|
25
|
-
new (input: ListGuidelinesDirectoriesCommandInput): import("@smithy/
|
|
26
|
-
new (...[input]: [] | [ListGuidelinesDirectoriesCommandInput]): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ListGuidelinesDirectoriesCommandInput): import("@smithy/core/client").CommandImpl<ListGuidelinesDirectoriesCommandInput, ListGuidelinesDirectoriesCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListGuidelinesDirectoriesCommandInput]): import("@smithy/core/client").CommandImpl<ListGuidelinesDirectoriesCommandInput, ListGuidelinesDirectoriesCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Lists available guideline directories for the user.
|
|
@@ -33,6 +35,8 @@ declare const ListGuidelinesDirectoriesCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { WilmaClient, ListGuidelinesDirectoriesCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
35
37
|
* // const { WilmaClient, ListGuidelinesDirectoriesCommand } = require("@wildix/wim-wilma-client"); // CommonJS import
|
|
38
|
+
* // import type { WilmaClientConfig } from "@wildix/wim-wilma-client";
|
|
39
|
+
* const config = {}; // type is WilmaClientConfig
|
|
36
40
|
* const client = new WilmaClient(config);
|
|
37
41
|
* const input = { // ListGuidelinesDirectoriesInput
|
|
38
42
|
* company: "STRING_VALUE",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListGuidelinesNamesInput, ListGuidelinesNamesOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaClientResolvedConfig } from "../WilmaClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface ListGuidelinesNamesCommandInput extends ListGuidelinesNamesInpu
|
|
|
22
22
|
export interface ListGuidelinesNamesCommandOutput extends ListGuidelinesNamesOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ListGuidelinesNamesCommand_base: {
|
|
25
|
-
new (input: ListGuidelinesNamesCommandInput): import("@smithy/
|
|
26
|
-
new (...[input]: [] | [ListGuidelinesNamesCommandInput]): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ListGuidelinesNamesCommandInput): import("@smithy/core/client").CommandImpl<ListGuidelinesNamesCommandInput, ListGuidelinesNamesCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListGuidelinesNamesCommandInput]): import("@smithy/core/client").CommandImpl<ListGuidelinesNamesCommandInput, ListGuidelinesNamesCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Lists all guidelines available to the user without content.
|
|
@@ -33,6 +35,8 @@ declare const ListGuidelinesNamesCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { WilmaClient, ListGuidelinesNamesCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
35
37
|
* // const { WilmaClient, ListGuidelinesNamesCommand } = require("@wildix/wim-wilma-client"); // CommonJS import
|
|
38
|
+
* // import type { WilmaClientConfig } from "@wildix/wim-wilma-client";
|
|
39
|
+
* const config = {}; // type is WilmaClientConfig
|
|
36
40
|
* const client = new WilmaClient(config);
|
|
37
41
|
* const input = { // ListGuidelinesNamesInput
|
|
38
42
|
* company: "STRING_VALUE",
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListSkillsInput, ListSkillsOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaClientResolvedConfig } from "../WilmaClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListSkillsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListSkillsCommandInput extends ListSkillsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListSkillsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListSkillsCommandOutput extends ListSkillsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListSkillsCommand_base: {
|
|
25
|
+
new (input: ListSkillsCommandInput): import("@smithy/core/client").CommandImpl<ListSkillsCommandInput, ListSkillsCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListSkillsCommandInput]): import("@smithy/core/client").CommandImpl<ListSkillsCommandInput, ListSkillsCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Lists all skills available to the user.
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { WilmaClient, ListSkillsCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
37
|
+
* // const { WilmaClient, ListSkillsCommand } = require("@wildix/wim-wilma-client"); // CommonJS import
|
|
38
|
+
* // import type { WilmaClientConfig } from "@wildix/wim-wilma-client";
|
|
39
|
+
* const config = {}; // type is WilmaClientConfig
|
|
40
|
+
* const client = new WilmaClient(config);
|
|
41
|
+
* const input = { // ListSkillsInput
|
|
42
|
+
* company: "STRING_VALUE",
|
|
43
|
+
* user: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListSkillsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListSkillsOutput
|
|
48
|
+
* // skills: [ // SkillsInfoList // required
|
|
49
|
+
* // { // SkillInfo
|
|
50
|
+
* // id: "STRING_VALUE", // required
|
|
51
|
+
* // createdAt: "STRING_VALUE", // required
|
|
52
|
+
* // createdBy: "STRING_VALUE", // required
|
|
53
|
+
* // createdByName: "STRING_VALUE", // required
|
|
54
|
+
* // updatedAt: "STRING_VALUE",
|
|
55
|
+
* // name: "STRING_VALUE", // required
|
|
56
|
+
* // description: "STRING_VALUE", // required
|
|
57
|
+
* // fileCount: Number("int"),
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param ListSkillsCommandInput - {@link ListSkillsCommandInput}
|
|
65
|
+
* @returns {@link ListSkillsCommandOutput}
|
|
66
|
+
* @see {@link ListSkillsCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link ListSkillsCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link WilmaClientResolvedConfig | config} for WilmaClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link WilmaServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from Wilma service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class ListSkillsCommand extends ListSkillsCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: ListSkillsInput;
|
|
85
|
+
output: ListSkillsOutput;
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: ListSkillsCommandInput;
|
|
89
|
+
output: ListSkillsCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { PatchOrganizationSettingsInput, PatchOrganizationSettingsOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaClientResolvedConfig } from "../WilmaClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface PatchOrganizationSettingsCommandInput extends PatchOrganization
|
|
|
22
22
|
export interface PatchOrganizationSettingsCommandOutput extends PatchOrganizationSettingsOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const PatchOrganizationSettingsCommand_base: {
|
|
25
|
-
new (input: PatchOrganizationSettingsCommandInput): import("@smithy/
|
|
26
|
-
new (...[input]: [] | [PatchOrganizationSettingsCommandInput]): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: PatchOrganizationSettingsCommandInput): import("@smithy/core/client").CommandImpl<PatchOrganizationSettingsCommandInput, PatchOrganizationSettingsCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [PatchOrganizationSettingsCommandInput]): import("@smithy/core/client").CommandImpl<PatchOrganizationSettingsCommandInput, PatchOrganizationSettingsCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Updates AI assistant settings for the organization.
|
|
@@ -33,6 +35,8 @@ declare const PatchOrganizationSettingsCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { WilmaClient, PatchOrganizationSettingsCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
35
37
|
* // const { WilmaClient, PatchOrganizationSettingsCommand } = require("@wildix/wim-wilma-client"); // CommonJS import
|
|
38
|
+
* // import type { WilmaClientConfig } from "@wildix/wim-wilma-client";
|
|
39
|
+
* const config = {}; // type is WilmaClientConfig
|
|
36
40
|
* const client = new WilmaClient(config);
|
|
37
41
|
* const input = { // PatchOrganizationSettingsInput
|
|
38
42
|
* company: "STRING_VALUE",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { PatchSettingsInput, PatchSettingsOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaClientResolvedConfig } from "../WilmaClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface PatchSettingsCommandInput extends PatchSettingsInput {
|
|
|
22
22
|
export interface PatchSettingsCommandOutput extends PatchSettingsOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const PatchSettingsCommand_base: {
|
|
25
|
-
new (input: PatchSettingsCommandInput): import("@smithy/
|
|
26
|
-
new (...[input]: [] | [PatchSettingsCommandInput]): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: PatchSettingsCommandInput): import("@smithy/core/client").CommandImpl<PatchSettingsCommandInput, PatchSettingsCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [PatchSettingsCommandInput]): import("@smithy/core/client").CommandImpl<PatchSettingsCommandInput, PatchSettingsCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Updates AI assistant settings for the user.
|
|
@@ -33,6 +35,8 @@ declare const PatchSettingsCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { WilmaClient, PatchSettingsCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
35
37
|
* // const { WilmaClient, PatchSettingsCommand } = require("@wildix/wim-wilma-client"); // CommonJS import
|
|
38
|
+
* // import type { WilmaClientConfig } from "@wildix/wim-wilma-client";
|
|
39
|
+
* const config = {}; // type is WilmaClientConfig
|
|
36
40
|
* const client = new WilmaClient(config);
|
|
37
41
|
* const input = { // PatchSettingsInput
|
|
38
42
|
* company: "STRING_VALUE",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateAgentInput, UpdateAgentOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaClientResolvedConfig } from "../WilmaClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface UpdateAgentCommandInput extends UpdateAgentInput {
|
|
|
22
22
|
export interface UpdateAgentCommandOutput extends UpdateAgentOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateAgentCommand_base: {
|
|
25
|
-
new (input: UpdateAgentCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateAgentCommandInput): import("@smithy/core/client").CommandImpl<UpdateAgentCommandInput, UpdateAgentCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateAgentCommandInput): import("@smithy/core/client").CommandImpl<UpdateAgentCommandInput, UpdateAgentCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Updates the configuration of an existing voice bot with new settings.
|
|
@@ -33,6 +35,8 @@ declare const UpdateAgentCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { WilmaClient, UpdateAgentCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
35
37
|
* // const { WilmaClient, UpdateAgentCommand } = require("@wildix/wim-wilma-client"); // CommonJS import
|
|
38
|
+
* // import type { WilmaClientConfig } from "@wildix/wim-wilma-client";
|
|
39
|
+
* const config = {}; // type is WilmaClientConfig
|
|
36
40
|
* const client = new WilmaClient(config);
|
|
37
41
|
* const input = { // UpdateAgentInput
|
|
38
42
|
* name: "STRING_VALUE", // required
|
|
@@ -41,6 +45,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
41
45
|
* guidelines: [ // AgentGuidelinesList
|
|
42
46
|
* "STRING_VALUE",
|
|
43
47
|
* ],
|
|
48
|
+
* skills: [ // AgentSkillsList
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
44
51
|
* variables: [ // AgentVariablesList
|
|
45
52
|
* { // AgentVariable
|
|
46
53
|
* name: "STRING_VALUE", // required
|
|
@@ -71,6 +78,49 @@ declare const UpdateAgentCommand_base: {
|
|
|
71
78
|
* knowledgeBaseId: "STRING_VALUE",
|
|
72
79
|
* instructions: "STRING_VALUE",
|
|
73
80
|
* },
|
|
81
|
+
* sandbox: { // AgentSandboxCapability Union: only one key present
|
|
82
|
+
* vercel: { // AgentVercelSandboxOptions
|
|
83
|
+
* vcpus: Number("int"),
|
|
84
|
+
* network: "allow-all" || "deny-all" || "allowlist",
|
|
85
|
+
* allowedDomains: [ // SandboxDomainList
|
|
86
|
+
* "STRING_VALUE",
|
|
87
|
+
* ],
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* webSearch: { // AgentWebSearchCapability
|
|
91
|
+
* contextSize: "low" || "medium" || "high",
|
|
92
|
+
* allowedDomains: [
|
|
93
|
+
* "STRING_VALUE",
|
|
94
|
+
* ],
|
|
95
|
+
* userLocation: { // WebSearchUserLocation
|
|
96
|
+
* country: "STRING_VALUE",
|
|
97
|
+
* region: "STRING_VALUE",
|
|
98
|
+
* city: "STRING_VALUE",
|
|
99
|
+
* timezone: "STRING_VALUE",
|
|
100
|
+
* },
|
|
101
|
+
* },
|
|
102
|
+
* webFetch: { // AgentWebFetchCapability
|
|
103
|
+
* allowedDomains: [
|
|
104
|
+
* "STRING_VALUE",
|
|
105
|
+
* ],
|
|
106
|
+
* },
|
|
107
|
+
* agent: { // AgentCallCapability
|
|
108
|
+
* agentId: "STRING_VALUE", // required
|
|
109
|
+
* variables: [
|
|
110
|
+
* {
|
|
111
|
+
* name: "STRING_VALUE", // required
|
|
112
|
+
* handler: {// Union: only one key present
|
|
113
|
+
* auto: {},
|
|
114
|
+
* guided: {
|
|
115
|
+
* description: "STRING_VALUE", // required
|
|
116
|
+
* },
|
|
117
|
+
* predefined: {
|
|
118
|
+
* description: "STRING_VALUE", // required
|
|
119
|
+
* },
|
|
120
|
+
* },
|
|
121
|
+
* },
|
|
122
|
+
* ],
|
|
123
|
+
* },
|
|
74
124
|
* },
|
|
75
125
|
* ],
|
|
76
126
|
* model: "STRING_VALUE",
|
|
@@ -87,6 +137,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
87
137
|
* // guidelines: [ // AgentGuidelinesList
|
|
88
138
|
* // "STRING_VALUE",
|
|
89
139
|
* // ],
|
|
140
|
+
* // skills: [ // AgentSkillsList
|
|
141
|
+
* // "STRING_VALUE",
|
|
142
|
+
* // ],
|
|
90
143
|
* // variables: [ // AgentVariablesList
|
|
91
144
|
* // { // AgentVariable
|
|
92
145
|
* // name: "STRING_VALUE", // required
|
|
@@ -117,6 +170,49 @@ declare const UpdateAgentCommand_base: {
|
|
|
117
170
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
118
171
|
* // instructions: "STRING_VALUE",
|
|
119
172
|
* // },
|
|
173
|
+
* // sandbox: { // AgentSandboxCapability Union: only one key present
|
|
174
|
+
* // vercel: { // AgentVercelSandboxOptions
|
|
175
|
+
* // vcpus: Number("int"),
|
|
176
|
+
* // network: "allow-all" || "deny-all" || "allowlist",
|
|
177
|
+
* // allowedDomains: [ // SandboxDomainList
|
|
178
|
+
* // "STRING_VALUE",
|
|
179
|
+
* // ],
|
|
180
|
+
* // },
|
|
181
|
+
* // },
|
|
182
|
+
* // webSearch: { // AgentWebSearchCapability
|
|
183
|
+
* // contextSize: "low" || "medium" || "high",
|
|
184
|
+
* // allowedDomains: [
|
|
185
|
+
* // "STRING_VALUE",
|
|
186
|
+
* // ],
|
|
187
|
+
* // userLocation: { // WebSearchUserLocation
|
|
188
|
+
* // country: "STRING_VALUE",
|
|
189
|
+
* // region: "STRING_VALUE",
|
|
190
|
+
* // city: "STRING_VALUE",
|
|
191
|
+
* // timezone: "STRING_VALUE",
|
|
192
|
+
* // },
|
|
193
|
+
* // },
|
|
194
|
+
* // webFetch: { // AgentWebFetchCapability
|
|
195
|
+
* // allowedDomains: [
|
|
196
|
+
* // "STRING_VALUE",
|
|
197
|
+
* // ],
|
|
198
|
+
* // },
|
|
199
|
+
* // agent: { // AgentCallCapability
|
|
200
|
+
* // agentId: "STRING_VALUE", // required
|
|
201
|
+
* // variables: [
|
|
202
|
+
* // {
|
|
203
|
+
* // name: "STRING_VALUE", // required
|
|
204
|
+
* // handler: {// Union: only one key present
|
|
205
|
+
* // auto: {},
|
|
206
|
+
* // guided: {
|
|
207
|
+
* // description: "STRING_VALUE", // required
|
|
208
|
+
* // },
|
|
209
|
+
* // predefined: {
|
|
210
|
+
* // description: "STRING_VALUE", // required
|
|
211
|
+
* // },
|
|
212
|
+
* // },
|
|
213
|
+
* // },
|
|
214
|
+
* // ],
|
|
215
|
+
* // },
|
|
120
216
|
* // },
|
|
121
217
|
* // ],
|
|
122
218
|
* // model: "STRING_VALUE",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateGuidelineAccessInput, UpdateGuidelineAccessOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaClientResolvedConfig } from "../WilmaClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface UpdateGuidelineAccessCommandInput extends UpdateGuidelineAccess
|
|
|
22
22
|
export interface UpdateGuidelineAccessCommandOutput extends UpdateGuidelineAccessOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateGuidelineAccessCommand_base: {
|
|
25
|
-
new (input: UpdateGuidelineAccessCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateGuidelineAccessCommandInput): import("@smithy/core/client").CommandImpl<UpdateGuidelineAccessCommandInput, UpdateGuidelineAccessCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateGuidelineAccessCommandInput): import("@smithy/core/client").CommandImpl<UpdateGuidelineAccessCommandInput, UpdateGuidelineAccessCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Updates guideline access settings.
|
|
@@ -33,6 +35,8 @@ declare const UpdateGuidelineAccessCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { WilmaClient, UpdateGuidelineAccessCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
35
37
|
* // const { WilmaClient, UpdateGuidelineAccessCommand } = require("@wildix/wim-wilma-client"); // CommonJS import
|
|
38
|
+
* // import type { WilmaClientConfig } from "@wildix/wim-wilma-client";
|
|
39
|
+
* const config = {}; // type is WilmaClientConfig
|
|
36
40
|
* const client = new WilmaClient(config);
|
|
37
41
|
* const input = { // UpdateGuidelineAccessInput
|
|
38
42
|
* company: "STRING_VALUE",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateGuidelineInput, UpdateGuidelineOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaClientResolvedConfig } from "../WilmaClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface UpdateGuidelineCommandInput extends UpdateGuidelineInput {
|
|
|
22
22
|
export interface UpdateGuidelineCommandOutput extends UpdateGuidelineOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateGuidelineCommand_base: {
|
|
25
|
-
new (input: UpdateGuidelineCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateGuidelineCommandInput): import("@smithy/core/client").CommandImpl<UpdateGuidelineCommandInput, UpdateGuidelineCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateGuidelineCommandInput): import("@smithy/core/client").CommandImpl<UpdateGuidelineCommandInput, UpdateGuidelineCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Updates an existing guideline with new configuration.
|
|
@@ -33,6 +35,8 @@ declare const UpdateGuidelineCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { WilmaClient, UpdateGuidelineCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
35
37
|
* // const { WilmaClient, UpdateGuidelineCommand } = require("@wildix/wim-wilma-client"); // CommonJS import
|
|
38
|
+
* // import type { WilmaClientConfig } from "@wildix/wim-wilma-client";
|
|
39
|
+
* const config = {}; // type is WilmaClientConfig
|
|
36
40
|
* const client = new WilmaClient(config);
|
|
37
41
|
* const input = { // UpdateGuidelineInput
|
|
38
42
|
* name: "STRING_VALUE", // required
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateGuidelinesDirectoryInput, UpdateGuidelinesDirectoryOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaClientResolvedConfig } from "../WilmaClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface UpdateGuidelinesDirectoryCommandInput extends UpdateGuidelinesD
|
|
|
22
22
|
export interface UpdateGuidelinesDirectoryCommandOutput extends UpdateGuidelinesDirectoryOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateGuidelinesDirectoryCommand_base: {
|
|
25
|
-
new (input: UpdateGuidelinesDirectoryCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateGuidelinesDirectoryCommandInput): import("@smithy/core/client").CommandImpl<UpdateGuidelinesDirectoryCommandInput, UpdateGuidelinesDirectoryCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateGuidelinesDirectoryCommandInput): import("@smithy/core/client").CommandImpl<UpdateGuidelinesDirectoryCommandInput, UpdateGuidelinesDirectoryCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Updates a guideline directory path.
|
|
@@ -33,6 +35,8 @@ declare const UpdateGuidelinesDirectoryCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { WilmaClient, UpdateGuidelinesDirectoryCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
35
37
|
* // const { WilmaClient, UpdateGuidelinesDirectoryCommand } = require("@wildix/wim-wilma-client"); // CommonJS import
|
|
38
|
+
* // import type { WilmaClientConfig } from "@wildix/wim-wilma-client";
|
|
39
|
+
* const config = {}; // type is WilmaClientConfig
|
|
36
40
|
* const client = new WilmaClient(config);
|
|
37
41
|
* const input = { // UpdateGuidelinesDirectoryInput
|
|
38
42
|
* company: "STRING_VALUE",
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateSkillInput, UpdateSkillOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaClientResolvedConfig } from "../WilmaClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateSkillCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateSkillCommandInput extends UpdateSkillInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateSkillCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateSkillCommandOutput extends UpdateSkillOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateSkillCommand_base: {
|
|
25
|
+
new (input: UpdateSkillCommandInput): import("@smithy/core/client").CommandImpl<UpdateSkillCommandInput, UpdateSkillCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateSkillCommandInput): import("@smithy/core/client").CommandImpl<UpdateSkillCommandInput, UpdateSkillCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Updates an existing skill.
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { WilmaClient, UpdateSkillCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
37
|
+
* // const { WilmaClient, UpdateSkillCommand } = require("@wildix/wim-wilma-client"); // CommonJS import
|
|
38
|
+
* // import type { WilmaClientConfig } from "@wildix/wim-wilma-client";
|
|
39
|
+
* const config = {}; // type is WilmaClientConfig
|
|
40
|
+
* const client = new WilmaClient(config);
|
|
41
|
+
* const input = { // UpdateSkillInput
|
|
42
|
+
* name: "STRING_VALUE", // required
|
|
43
|
+
* description: "STRING_VALUE", // required
|
|
44
|
+
* content: "STRING_VALUE", // required
|
|
45
|
+
* company: "STRING_VALUE",
|
|
46
|
+
* user: "STRING_VALUE",
|
|
47
|
+
* skillId: "STRING_VALUE", // required
|
|
48
|
+
* };
|
|
49
|
+
* const command = new UpdateSkillCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // UpdateSkillOutput
|
|
52
|
+
* // skill: { // Skill
|
|
53
|
+
* // name: "STRING_VALUE", // required
|
|
54
|
+
* // description: "STRING_VALUE", // required
|
|
55
|
+
* // content: "STRING_VALUE", // required
|
|
56
|
+
* // id: "STRING_VALUE", // required
|
|
57
|
+
* // createdAt: "STRING_VALUE", // required
|
|
58
|
+
* // createdBy: "STRING_VALUE", // required
|
|
59
|
+
* // createdByName: "STRING_VALUE", // required
|
|
60
|
+
* // updatedAt: "STRING_VALUE",
|
|
61
|
+
* // files: [ // SkillFilesList
|
|
62
|
+
* // { // SkillFile
|
|
63
|
+
* // path: "STRING_VALUE", // required
|
|
64
|
+
* // kind: "reference" || "script" || "resource", // required
|
|
65
|
+
* // contentType: "STRING_VALUE",
|
|
66
|
+
* // executable: true || false,
|
|
67
|
+
* // size: Number("long"),
|
|
68
|
+
* // checksum: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // },
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* @param UpdateSkillCommandInput - {@link UpdateSkillCommandInput}
|
|
77
|
+
* @returns {@link UpdateSkillCommandOutput}
|
|
78
|
+
* @see {@link UpdateSkillCommandInput} for command's `input` shape.
|
|
79
|
+
* @see {@link UpdateSkillCommandOutput} for command's `response` shape.
|
|
80
|
+
* @see {@link WilmaClientResolvedConfig | config} for WilmaClient's `config` shape.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link NotFoundException} (client fault)
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link WilmaServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from Wilma service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class UpdateSkillCommand extends UpdateSkillCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: UpdateSkillInput;
|
|
99
|
+
output: UpdateSkillOutput;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: UpdateSkillCommandInput;
|
|
103
|
+
output: UpdateSkillCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|