@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 { CreateAgentInput, CreateAgentOutput } 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 CreateAgentCommandInput extends CreateAgentInput {
|
|
|
22
22
|
export interface CreateAgentCommandOutput extends CreateAgentOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateAgentCommand_base: {
|
|
25
|
-
new (input: CreateAgentCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateAgentCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentCommandInput, CreateAgentCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateAgentCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentCommandInput, CreateAgentCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Creates a new voice bot with the specified configuration for the company.
|
|
@@ -33,6 +35,8 @@ declare const CreateAgentCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { WilmaClient, CreateAgentCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
35
37
|
* // const { WilmaClient, CreateAgentCommand } = 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 = { // CreateAgentInput
|
|
38
42
|
* name: "STRING_VALUE", // required
|
|
@@ -41,6 +45,9 @@ declare const CreateAgentCommand_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 CreateAgentCommand_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",
|
|
@@ -86,6 +136,9 @@ declare const CreateAgentCommand_base: {
|
|
|
86
136
|
* // guidelines: [ // AgentGuidelinesList
|
|
87
137
|
* // "STRING_VALUE",
|
|
88
138
|
* // ],
|
|
139
|
+
* // skills: [ // AgentSkillsList
|
|
140
|
+
* // "STRING_VALUE",
|
|
141
|
+
* // ],
|
|
89
142
|
* // variables: [ // AgentVariablesList
|
|
90
143
|
* // { // AgentVariable
|
|
91
144
|
* // name: "STRING_VALUE", // required
|
|
@@ -116,6 +169,49 @@ declare const CreateAgentCommand_base: {
|
|
|
116
169
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
117
170
|
* // instructions: "STRING_VALUE",
|
|
118
171
|
* // },
|
|
172
|
+
* // sandbox: { // AgentSandboxCapability Union: only one key present
|
|
173
|
+
* // vercel: { // AgentVercelSandboxOptions
|
|
174
|
+
* // vcpus: Number("int"),
|
|
175
|
+
* // network: "allow-all" || "deny-all" || "allowlist",
|
|
176
|
+
* // allowedDomains: [ // SandboxDomainList
|
|
177
|
+
* // "STRING_VALUE",
|
|
178
|
+
* // ],
|
|
179
|
+
* // },
|
|
180
|
+
* // },
|
|
181
|
+
* // webSearch: { // AgentWebSearchCapability
|
|
182
|
+
* // contextSize: "low" || "medium" || "high",
|
|
183
|
+
* // allowedDomains: [
|
|
184
|
+
* // "STRING_VALUE",
|
|
185
|
+
* // ],
|
|
186
|
+
* // userLocation: { // WebSearchUserLocation
|
|
187
|
+
* // country: "STRING_VALUE",
|
|
188
|
+
* // region: "STRING_VALUE",
|
|
189
|
+
* // city: "STRING_VALUE",
|
|
190
|
+
* // timezone: "STRING_VALUE",
|
|
191
|
+
* // },
|
|
192
|
+
* // },
|
|
193
|
+
* // webFetch: { // AgentWebFetchCapability
|
|
194
|
+
* // allowedDomains: [
|
|
195
|
+
* // "STRING_VALUE",
|
|
196
|
+
* // ],
|
|
197
|
+
* // },
|
|
198
|
+
* // agent: { // AgentCallCapability
|
|
199
|
+
* // agentId: "STRING_VALUE", // required
|
|
200
|
+
* // variables: [
|
|
201
|
+
* // {
|
|
202
|
+
* // name: "STRING_VALUE", // required
|
|
203
|
+
* // handler: {// Union: only one key present
|
|
204
|
+
* // auto: {},
|
|
205
|
+
* // guided: {
|
|
206
|
+
* // description: "STRING_VALUE", // required
|
|
207
|
+
* // },
|
|
208
|
+
* // predefined: {
|
|
209
|
+
* // description: "STRING_VALUE", // required
|
|
210
|
+
* // },
|
|
211
|
+
* // },
|
|
212
|
+
* // },
|
|
213
|
+
* // ],
|
|
214
|
+
* // },
|
|
119
215
|
* // },
|
|
120
216
|
* // ],
|
|
121
217
|
* // 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 { CreateGuidelineInput, CreateGuidelineOutput } 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 CreateGuidelineCommandInput extends CreateGuidelineInput {
|
|
|
22
22
|
export interface CreateGuidelineCommandOutput extends CreateGuidelineOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateGuidelineCommand_base: {
|
|
25
|
-
new (input: CreateGuidelineCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateGuidelineCommandInput): import("@smithy/core/client").CommandImpl<CreateGuidelineCommandInput, CreateGuidelineCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateGuidelineCommandInput): import("@smithy/core/client").CommandImpl<CreateGuidelineCommandInput, CreateGuidelineCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Creates a new guideline with the specified configuration.
|
|
@@ -33,6 +35,8 @@ declare const CreateGuidelineCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { WilmaClient, CreateGuidelineCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
35
37
|
* // const { WilmaClient, CreateGuidelineCommand } = 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 = { // CreateGuidelineInput
|
|
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 { CreateGuidelinesDirectoryInput, CreateGuidelinesDirectoryOutput } 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 CreateGuidelinesDirectoryCommandInput extends CreateGuidelinesD
|
|
|
22
22
|
export interface CreateGuidelinesDirectoryCommandOutput extends CreateGuidelinesDirectoryOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateGuidelinesDirectoryCommand_base: {
|
|
25
|
-
new (input: CreateGuidelinesDirectoryCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateGuidelinesDirectoryCommandInput): import("@smithy/core/client").CommandImpl<CreateGuidelinesDirectoryCommandInput, CreateGuidelinesDirectoryCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateGuidelinesDirectoryCommandInput): import("@smithy/core/client").CommandImpl<CreateGuidelinesDirectoryCommandInput, CreateGuidelinesDirectoryCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Creates a new guideline directory.
|
|
@@ -33,6 +35,8 @@ declare const CreateGuidelinesDirectoryCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { WilmaClient, CreateGuidelinesDirectoryCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
35
37
|
* // const { WilmaClient, CreateGuidelinesDirectoryCommand } = 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 = { // CreateGuidelinesDirectoryInput
|
|
38
42
|
* company: "STRING_VALUE",
|
|
@@ -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 { CreateSkillInput, CreateSkillOutput } 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 CreateSkillCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateSkillCommandInput extends CreateSkillInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateSkillCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateSkillCommandOutput extends CreateSkillOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateSkillCommand_base: {
|
|
25
|
+
new (input: CreateSkillCommandInput): import("@smithy/core/client").CommandImpl<CreateSkillCommandInput, CreateSkillCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateSkillCommandInput): import("@smithy/core/client").CommandImpl<CreateSkillCommandInput, CreateSkillCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Creates a new skill.
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { WilmaClient, CreateSkillCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
37
|
+
* // const { WilmaClient, CreateSkillCommand } = 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 = { // CreateSkillInput
|
|
42
|
+
* name: "STRING_VALUE", // required
|
|
43
|
+
* description: "STRING_VALUE", // required
|
|
44
|
+
* content: "STRING_VALUE", // required
|
|
45
|
+
* company: "STRING_VALUE",
|
|
46
|
+
* user: "STRING_VALUE",
|
|
47
|
+
* };
|
|
48
|
+
* const command = new CreateSkillCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // CreateSkillOutput
|
|
51
|
+
* // skill: { // Skill
|
|
52
|
+
* // name: "STRING_VALUE", // required
|
|
53
|
+
* // description: "STRING_VALUE", // required
|
|
54
|
+
* // content: "STRING_VALUE", // required
|
|
55
|
+
* // id: "STRING_VALUE", // required
|
|
56
|
+
* // createdAt: "STRING_VALUE", // required
|
|
57
|
+
* // createdBy: "STRING_VALUE", // required
|
|
58
|
+
* // createdByName: "STRING_VALUE", // required
|
|
59
|
+
* // updatedAt: "STRING_VALUE",
|
|
60
|
+
* // files: [ // SkillFilesList
|
|
61
|
+
* // { // SkillFile
|
|
62
|
+
* // path: "STRING_VALUE", // required
|
|
63
|
+
* // kind: "reference" || "script" || "resource", // required
|
|
64
|
+
* // contentType: "STRING_VALUE",
|
|
65
|
+
* // executable: true || false,
|
|
66
|
+
* // size: Number("long"),
|
|
67
|
+
* // checksum: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // },
|
|
71
|
+
* // };
|
|
72
|
+
*
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @param CreateSkillCommandInput - {@link CreateSkillCommandInput}
|
|
76
|
+
* @returns {@link CreateSkillCommandOutput}
|
|
77
|
+
* @see {@link CreateSkillCommandInput} for command's `input` shape.
|
|
78
|
+
* @see {@link CreateSkillCommandOutput} for command's `response` shape.
|
|
79
|
+
* @see {@link WilmaClientResolvedConfig | config} for WilmaClient's `config` shape.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link WilmaServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from Wilma service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class CreateSkillCommand extends CreateSkillCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: CreateSkillInput;
|
|
96
|
+
output: CreateSkillOutput;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: CreateSkillCommandInput;
|
|
100
|
+
output: CreateSkillCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateSkillFileUploadInput, CreateSkillFileUploadOutput } 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 CreateSkillFileUploadCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateSkillFileUploadCommandInput extends CreateSkillFileUploadInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateSkillFileUploadCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateSkillFileUploadCommandOutput extends CreateSkillFileUploadOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateSkillFileUploadCommand_base: {
|
|
25
|
+
new (input: CreateSkillFileUploadCommandInput): import("@smithy/core/client").CommandImpl<CreateSkillFileUploadCommandInput, CreateSkillFileUploadCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateSkillFileUploadCommandInput): import("@smithy/core/client").CommandImpl<CreateSkillFileUploadCommandInput, CreateSkillFileUploadCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Begins uploading a bundled file to a skill; returns a presigned PUT URL.
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { WilmaClient, CreateSkillFileUploadCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
37
|
+
* // const { WilmaClient, CreateSkillFileUploadCommand } = 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 = { // CreateSkillFileUploadInput
|
|
42
|
+
* company: "STRING_VALUE",
|
|
43
|
+
* user: "STRING_VALUE",
|
|
44
|
+
* skillId: "STRING_VALUE", // required
|
|
45
|
+
* path: "STRING_VALUE", // required
|
|
46
|
+
* kind: "reference" || "script" || "resource", // required
|
|
47
|
+
* contentType: "STRING_VALUE",
|
|
48
|
+
* executable: true || false,
|
|
49
|
+
* size: Number("long"), // required
|
|
50
|
+
* checksum: "STRING_VALUE", // required
|
|
51
|
+
* };
|
|
52
|
+
* const command = new CreateSkillFileUploadCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // CreateSkillFileUploadOutput
|
|
55
|
+
* // file: { // SkillFile
|
|
56
|
+
* // path: "STRING_VALUE", // required
|
|
57
|
+
* // kind: "reference" || "script" || "resource", // required
|
|
58
|
+
* // contentType: "STRING_VALUE",
|
|
59
|
+
* // executable: true || false,
|
|
60
|
+
* // size: Number("long"),
|
|
61
|
+
* // checksum: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // uploadUrl: "STRING_VALUE", // required
|
|
64
|
+
* // expiresAt: "STRING_VALUE", // required
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param CreateSkillFileUploadCommandInput - {@link CreateSkillFileUploadCommandInput}
|
|
70
|
+
* @returns {@link CreateSkillFileUploadCommandOutput}
|
|
71
|
+
* @see {@link CreateSkillFileUploadCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link CreateSkillFileUploadCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link WilmaClientResolvedConfig | config} for WilmaClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link NotFoundException} (client fault)
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link WilmaServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from Wilma service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class CreateSkillFileUploadCommand extends CreateSkillFileUploadCommand_base {
|
|
88
|
+
/** @internal type navigation helper, not in runtime. */
|
|
89
|
+
protected static __types: {
|
|
90
|
+
api: {
|
|
91
|
+
input: CreateSkillFileUploadInput;
|
|
92
|
+
output: CreateSkillFileUploadOutput;
|
|
93
|
+
};
|
|
94
|
+
sdk: {
|
|
95
|
+
input: CreateSkillFileUploadCommandInput;
|
|
96
|
+
output: CreateSkillFileUploadCommandOutput;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -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 { DeleteAgentInput, DeleteAgentOutput } 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 DeleteAgentCommandInput extends DeleteAgentInput {
|
|
|
22
22
|
export interface DeleteAgentCommandOutput extends DeleteAgentOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteAgentCommand_base: {
|
|
25
|
-
new (input: DeleteAgentCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DeleteAgentCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentCommandInput, DeleteAgentCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteAgentCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentCommandInput, DeleteAgentCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Deletes an existing voice bot and all its associated data.
|
|
@@ -33,6 +35,8 @@ declare const DeleteAgentCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { WilmaClient, DeleteAgentCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
35
37
|
* // const { WilmaClient, DeleteAgentCommand } = 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 = { // DeleteAgentInput
|
|
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 { DeleteChatInput, DeleteChatOutput } 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 DeleteChatCommandInput extends DeleteChatInput {
|
|
|
22
22
|
export interface DeleteChatCommandOutput extends DeleteChatOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteChatCommand_base: {
|
|
25
|
-
new (input: DeleteChatCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DeleteChatCommandInput): import("@smithy/core/client").CommandImpl<DeleteChatCommandInput, DeleteChatCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteChatCommandInput): import("@smithy/core/client").CommandImpl<DeleteChatCommandInput, DeleteChatCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Deletes a dashboard by its ID.
|
|
@@ -33,6 +35,8 @@ declare const DeleteChatCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { WilmaClient, DeleteChatCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
35
37
|
* // const { WilmaClient, DeleteChatCommand } = 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 = { // DeleteChatInput
|
|
38
42
|
* company: "STRING_VALUE",
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeleteFileInput, DeleteFileOutput } 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 DeleteFileCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteFileCommandInput extends DeleteFileInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteFileCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteFileCommandOutput extends DeleteFileOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteFileCommand_base: {
|
|
25
|
+
new (input: DeleteFileCommandInput): import("@smithy/core/client").CommandImpl<DeleteFileCommandInput, DeleteFileCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteFileCommandInput): import("@smithy/core/client").CommandImpl<DeleteFileCommandInput, DeleteFileCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Deletes a file and its content.
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { WilmaClient, DeleteFileCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
37
|
+
* // const { WilmaClient, DeleteFileCommand } = 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 = { // DeleteFileInput
|
|
42
|
+
* company: "STRING_VALUE",
|
|
43
|
+
* user: "STRING_VALUE",
|
|
44
|
+
* fileId: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new DeleteFileCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param DeleteFileCommandInput - {@link DeleteFileCommandInput}
|
|
53
|
+
* @returns {@link DeleteFileCommandOutput}
|
|
54
|
+
* @see {@link DeleteFileCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link DeleteFileCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link WilmaClientResolvedConfig | config} for WilmaClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ValidationException} (client fault)
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link WilmaServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from Wilma service.</p>
|
|
64
|
+
*
|
|
65
|
+
*
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export declare class DeleteFileCommand extends DeleteFileCommand_base {
|
|
69
|
+
/** @internal type navigation helper, not in runtime. */
|
|
70
|
+
protected static __types: {
|
|
71
|
+
api: {
|
|
72
|
+
input: DeleteFileInput;
|
|
73
|
+
output: {};
|
|
74
|
+
};
|
|
75
|
+
sdk: {
|
|
76
|
+
input: DeleteFileCommandInput;
|
|
77
|
+
output: DeleteFileCommandOutput;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -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 { DeleteGuidelineInput, DeleteGuidelineOutput } 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 DeleteGuidelineCommandInput extends DeleteGuidelineInput {
|
|
|
22
22
|
export interface DeleteGuidelineCommandOutput extends DeleteGuidelineOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteGuidelineCommand_base: {
|
|
25
|
-
new (input: DeleteGuidelineCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DeleteGuidelineCommandInput): import("@smithy/core/client").CommandImpl<DeleteGuidelineCommandInput, DeleteGuidelineCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteGuidelineCommandInput): import("@smithy/core/client").CommandImpl<DeleteGuidelineCommandInput, DeleteGuidelineCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Deletes a guideline by its ID.
|
|
@@ -33,6 +35,8 @@ declare const DeleteGuidelineCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { WilmaClient, DeleteGuidelineCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
35
37
|
* // const { WilmaClient, DeleteGuidelineCommand } = 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 = { // DeleteGuidelineInput
|
|
38
42
|
* company: "STRING_VALUE",
|