@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 { DeleteGuidelinesDirectoryInput, DeleteGuidelinesDirectoryOutput } 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 DeleteGuidelinesDirectoryCommandInput extends DeleteGuidelinesD
|
|
|
22
22
|
export interface DeleteGuidelinesDirectoryCommandOutput extends DeleteGuidelinesDirectoryOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteGuidelinesDirectoryCommand_base: {
|
|
25
|
-
new (input: DeleteGuidelinesDirectoryCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DeleteGuidelinesDirectoryCommandInput): import("@smithy/core/client").CommandImpl<DeleteGuidelinesDirectoryCommandInput, DeleteGuidelinesDirectoryCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteGuidelinesDirectoryCommandInput): import("@smithy/core/client").CommandImpl<DeleteGuidelinesDirectoryCommandInput, DeleteGuidelinesDirectoryCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Deletes a guideline directory.
|
|
@@ -33,6 +35,8 @@ declare const DeleteGuidelinesDirectoryCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { WilmaClient, DeleteGuidelinesDirectoryCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
35
37
|
* // const { WilmaClient, DeleteGuidelinesDirectoryCommand } = 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 = { // DeleteGuidelinesDirectoryInput
|
|
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 { DeleteSkillInput, DeleteSkillOutput } 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 DeleteSkillCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteSkillCommandInput extends DeleteSkillInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteSkillCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteSkillCommandOutput extends DeleteSkillOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteSkillCommand_base: {
|
|
25
|
+
new (input: DeleteSkillCommandInput): import("@smithy/core/client").CommandImpl<DeleteSkillCommandInput, DeleteSkillCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteSkillCommandInput): import("@smithy/core/client").CommandImpl<DeleteSkillCommandInput, DeleteSkillCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Deletes a skill and its file bundle.
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { WilmaClient, DeleteSkillCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
37
|
+
* // const { WilmaClient, DeleteSkillCommand } = 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 = { // DeleteSkillInput
|
|
42
|
+
* company: "STRING_VALUE",
|
|
43
|
+
* user: "STRING_VALUE",
|
|
44
|
+
* skillId: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new DeleteSkillCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param DeleteSkillCommandInput - {@link DeleteSkillCommandInput}
|
|
53
|
+
* @returns {@link DeleteSkillCommandOutput}
|
|
54
|
+
* @see {@link DeleteSkillCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link DeleteSkillCommandOutput} 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 DeleteSkillCommand extends DeleteSkillCommand_base {
|
|
69
|
+
/** @internal type navigation helper, not in runtime. */
|
|
70
|
+
protected static __types: {
|
|
71
|
+
api: {
|
|
72
|
+
input: DeleteSkillInput;
|
|
73
|
+
output: {};
|
|
74
|
+
};
|
|
75
|
+
sdk: {
|
|
76
|
+
input: DeleteSkillCommandInput;
|
|
77
|
+
output: DeleteSkillCommandOutput;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeleteSkillFileInput, DeleteSkillFileOutput } 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 DeleteSkillFileCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteSkillFileCommandInput extends DeleteSkillFileInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteSkillFileCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteSkillFileCommandOutput extends DeleteSkillFileOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteSkillFileCommand_base: {
|
|
25
|
+
new (input: DeleteSkillFileCommandInput): import("@smithy/core/client").CommandImpl<DeleteSkillFileCommandInput, DeleteSkillFileCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteSkillFileCommandInput): import("@smithy/core/client").CommandImpl<DeleteSkillFileCommandInput, DeleteSkillFileCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Deletes a bundled file from a skill.
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { WilmaClient, DeleteSkillFileCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
37
|
+
* // const { WilmaClient, DeleteSkillFileCommand } = 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 = { // DeleteSkillFileInput
|
|
42
|
+
* company: "STRING_VALUE",
|
|
43
|
+
* user: "STRING_VALUE",
|
|
44
|
+
* skillId: "STRING_VALUE", // required
|
|
45
|
+
* path: "STRING_VALUE", // required
|
|
46
|
+
* };
|
|
47
|
+
* const command = new DeleteSkillFileCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // {};
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param DeleteSkillFileCommandInput - {@link DeleteSkillFileCommandInput}
|
|
54
|
+
* @returns {@link DeleteSkillFileCommandOutput}
|
|
55
|
+
* @see {@link DeleteSkillFileCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link DeleteSkillFileCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link WilmaClientResolvedConfig | config} for WilmaClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ValidationException} (client fault)
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link NotFoundException} (client fault)
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link WilmaServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from Wilma service.</p>
|
|
67
|
+
*
|
|
68
|
+
*
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export declare class DeleteSkillFileCommand extends DeleteSkillFileCommand_base {
|
|
72
|
+
/** @internal type navigation helper, not in runtime. */
|
|
73
|
+
protected static __types: {
|
|
74
|
+
api: {
|
|
75
|
+
input: DeleteSkillFileInput;
|
|
76
|
+
output: {};
|
|
77
|
+
};
|
|
78
|
+
sdk: {
|
|
79
|
+
input: DeleteSkillFileCommandInput;
|
|
80
|
+
output: DeleteSkillFileCommandOutput;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -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 { DislikeAnswerInput, DislikeAnswerOutput } 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 DislikeAnswerCommandInput extends DislikeAnswerInput {
|
|
|
22
22
|
export interface DislikeAnswerCommandOutput extends DislikeAnswerOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DislikeAnswerCommand_base: {
|
|
25
|
-
new (input: DislikeAnswerCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DislikeAnswerCommandInput): import("@smithy/core/client").CommandImpl<DislikeAnswerCommandInput, DislikeAnswerCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DislikeAnswerCommandInput): import("@smithy/core/client").CommandImpl<DislikeAnswerCommandInput, DislikeAnswerCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* ...
|
|
@@ -33,6 +35,8 @@ declare const DislikeAnswerCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { WilmaClient, DislikeAnswerCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
35
37
|
* // const { WilmaClient, DislikeAnswerCommand } = 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 = { // DislikeAnswerInput
|
|
38
42
|
* company: "STRING_VALUE",
|
|
@@ -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 { DownloadFileInput, DownloadFileOutput } 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 DownloadFileCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DownloadFileCommandInput extends DownloadFileInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DownloadFileCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DownloadFileCommandOutput extends DownloadFileOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DownloadFileCommand_base: {
|
|
25
|
+
new (input: DownloadFileCommandInput): import("@smithy/core/client").CommandImpl<DownloadFileCommandInput, DownloadFileCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DownloadFileCommandInput): import("@smithy/core/client").CommandImpl<DownloadFileCommandInput, DownloadFileCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Returns a short-lived presigned URL to download a file's content.
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { WilmaClient, DownloadFileCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
37
|
+
* // const { WilmaClient, DownloadFileCommand } = 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 = { // DownloadFileInput
|
|
42
|
+
* company: "STRING_VALUE",
|
|
43
|
+
* user: "STRING_VALUE",
|
|
44
|
+
* fileId: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new DownloadFileCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // DownloadFileOutput
|
|
49
|
+
* // url: "STRING_VALUE", // required
|
|
50
|
+
* // expiresAt: "STRING_VALUE", // required
|
|
51
|
+
* // file: { // WilmaFile
|
|
52
|
+
* // id: "STRING_VALUE", // required
|
|
53
|
+
* // name: "STRING_VALUE", // required
|
|
54
|
+
* // contentType: "STRING_VALUE",
|
|
55
|
+
* // size: Number("long"),
|
|
56
|
+
* // scope: "user" || "agent",
|
|
57
|
+
* // agentId: "STRING_VALUE",
|
|
58
|
+
* // sessionId: "STRING_VALUE",
|
|
59
|
+
* // createdAt: "STRING_VALUE", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param DownloadFileCommandInput - {@link DownloadFileCommandInput}
|
|
66
|
+
* @returns {@link DownloadFileCommandOutput}
|
|
67
|
+
* @see {@link DownloadFileCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link DownloadFileCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link WilmaClientResolvedConfig | config} for WilmaClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link NotFoundException} (client fault)
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link WilmaServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from Wilma service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class DownloadFileCommand extends DownloadFileCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: DownloadFileInput;
|
|
88
|
+
output: DownloadFileOutput;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: DownloadFileCommandInput;
|
|
92
|
+
output: DownloadFileCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -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 { ExecuteAgentInput, ExecuteAgentOutput } 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 ExecuteAgentCommandInput extends ExecuteAgentInput {
|
|
|
22
22
|
export interface ExecuteAgentCommandOutput extends ExecuteAgentOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ExecuteAgentCommand_base: {
|
|
25
|
-
new (input: ExecuteAgentCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ExecuteAgentCommandInput): import("@smithy/core/client").CommandImpl<ExecuteAgentCommandInput, ExecuteAgentCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ExecuteAgentCommandInput): import("@smithy/core/client").CommandImpl<ExecuteAgentCommandInput, ExecuteAgentCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Execute an agent with the provided content and input.
|
|
@@ -33,6 +35,8 @@ declare const ExecuteAgentCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { WilmaClient, ExecuteAgentCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
35
37
|
* // const { WilmaClient, ExecuteAgentCommand } = 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 = { // ExecuteAgentInput
|
|
38
42
|
* company: "STRING_VALUE",
|
|
@@ -41,6 +45,11 @@ declare const ExecuteAgentCommand_base: {
|
|
|
41
45
|
* variables: "DOCUMENT_VALUE",
|
|
42
46
|
* service: "STRING_VALUE",
|
|
43
47
|
* user: "STRING_VALUE",
|
|
48
|
+
* parentAgentId: "STRING_VALUE",
|
|
49
|
+
* parentSessionId: "STRING_VALUE",
|
|
50
|
+
* files: [ // FileIdList
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
44
53
|
* };
|
|
45
54
|
* const command = new ExecuteAgentCommand(input);
|
|
46
55
|
* const response = await client.send(command);
|
|
@@ -50,6 +59,18 @@ declare const ExecuteAgentCommand_base: {
|
|
|
50
59
|
* // error: { // AgentExecutionError
|
|
51
60
|
* // message: "STRING_VALUE", // required
|
|
52
61
|
* // },
|
|
62
|
+
* // files: [ // WilmaFileList
|
|
63
|
+
* // { // WilmaFile
|
|
64
|
+
* // id: "STRING_VALUE", // required
|
|
65
|
+
* // name: "STRING_VALUE", // required
|
|
66
|
+
* // contentType: "STRING_VALUE",
|
|
67
|
+
* // size: Number("long"),
|
|
68
|
+
* // scope: "user" || "agent",
|
|
69
|
+
* // agentId: "STRING_VALUE",
|
|
70
|
+
* // sessionId: "STRING_VALUE",
|
|
71
|
+
* // createdAt: "STRING_VALUE", // required
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
53
74
|
* // },
|
|
54
75
|
* // };
|
|
55
76
|
*
|
|
@@ -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 { GetAgentInput, GetAgentOutput } 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 GetAgentCommandInput extends GetAgentInput {
|
|
|
22
22
|
export interface GetAgentCommandOutput extends GetAgentOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetAgentCommand_base: {
|
|
25
|
-
new (input: GetAgentCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetAgentCommandInput): import("@smithy/core/client").CommandImpl<GetAgentCommandInput, GetAgentCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetAgentCommandInput): import("@smithy/core/client").CommandImpl<GetAgentCommandInput, GetAgentCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Retrieves details of a specific voice bot by its unique identifier.
|
|
@@ -33,6 +35,8 @@ declare const GetAgentCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { WilmaClient, GetAgentCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
35
37
|
* // const { WilmaClient, GetAgentCommand } = 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 = { // GetAgentInput
|
|
38
42
|
* company: "STRING_VALUE",
|
|
@@ -48,6 +52,9 @@ declare const GetAgentCommand_base: {
|
|
|
48
52
|
* // guidelines: [ // AgentGuidelinesList
|
|
49
53
|
* // "STRING_VALUE",
|
|
50
54
|
* // ],
|
|
55
|
+
* // skills: [ // AgentSkillsList
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
51
58
|
* // variables: [ // AgentVariablesList
|
|
52
59
|
* // { // AgentVariable
|
|
53
60
|
* // name: "STRING_VALUE", // required
|
|
@@ -78,6 +85,49 @@ declare const GetAgentCommand_base: {
|
|
|
78
85
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
79
86
|
* // instructions: "STRING_VALUE",
|
|
80
87
|
* // },
|
|
88
|
+
* // sandbox: { // AgentSandboxCapability Union: only one key present
|
|
89
|
+
* // vercel: { // AgentVercelSandboxOptions
|
|
90
|
+
* // vcpus: Number("int"),
|
|
91
|
+
* // network: "allow-all" || "deny-all" || "allowlist",
|
|
92
|
+
* // allowedDomains: [ // SandboxDomainList
|
|
93
|
+
* // "STRING_VALUE",
|
|
94
|
+
* // ],
|
|
95
|
+
* // },
|
|
96
|
+
* // },
|
|
97
|
+
* // webSearch: { // AgentWebSearchCapability
|
|
98
|
+
* // contextSize: "low" || "medium" || "high",
|
|
99
|
+
* // allowedDomains: [
|
|
100
|
+
* // "STRING_VALUE",
|
|
101
|
+
* // ],
|
|
102
|
+
* // userLocation: { // WebSearchUserLocation
|
|
103
|
+
* // country: "STRING_VALUE",
|
|
104
|
+
* // region: "STRING_VALUE",
|
|
105
|
+
* // city: "STRING_VALUE",
|
|
106
|
+
* // timezone: "STRING_VALUE",
|
|
107
|
+
* // },
|
|
108
|
+
* // },
|
|
109
|
+
* // webFetch: { // AgentWebFetchCapability
|
|
110
|
+
* // allowedDomains: [
|
|
111
|
+
* // "STRING_VALUE",
|
|
112
|
+
* // ],
|
|
113
|
+
* // },
|
|
114
|
+
* // agent: { // AgentCallCapability
|
|
115
|
+
* // agentId: "STRING_VALUE", // required
|
|
116
|
+
* // variables: [
|
|
117
|
+
* // {
|
|
118
|
+
* // name: "STRING_VALUE", // required
|
|
119
|
+
* // handler: {// Union: only one key present
|
|
120
|
+
* // auto: {},
|
|
121
|
+
* // guided: {
|
|
122
|
+
* // description: "STRING_VALUE", // required
|
|
123
|
+
* // },
|
|
124
|
+
* // predefined: {
|
|
125
|
+
* // description: "STRING_VALUE", // required
|
|
126
|
+
* // },
|
|
127
|
+
* // },
|
|
128
|
+
* // },
|
|
129
|
+
* // ],
|
|
130
|
+
* // },
|
|
81
131
|
* // },
|
|
82
132
|
* // ],
|
|
83
133
|
* // 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 { GetChatInput, GetChatOutput } 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 GetChatCommandInput extends GetChatInput {
|
|
|
22
22
|
export interface GetChatCommandOutput extends GetChatOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetChatCommand_base: {
|
|
25
|
-
new (input: GetChatCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetChatCommandInput): import("@smithy/core/client").CommandImpl<GetChatCommandInput, GetChatCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetChatCommandInput): import("@smithy/core/client").CommandImpl<GetChatCommandInput, GetChatCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Gets a dashboard by its ID.
|
|
@@ -33,6 +35,8 @@ declare const GetChatCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { WilmaClient, GetChatCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
35
37
|
* // const { WilmaClient, GetChatCommand } = 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 = { // GetChatInput
|
|
38
42
|
* company: "STRING_VALUE",
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetFileInput, GetFileOutput } 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 GetFileCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetFileCommandInput extends GetFileInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetFileCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetFileCommandOutput extends GetFileOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetFileCommand_base: {
|
|
25
|
+
new (input: GetFileCommandInput): import("@smithy/core/client").CommandImpl<GetFileCommandInput, GetFileCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetFileCommandInput): import("@smithy/core/client").CommandImpl<GetFileCommandInput, GetFileCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Gets the metadata of a single file.
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { WilmaClient, GetFileCommand } from "@wildix/wim-wilma-client"; // ES Modules import
|
|
37
|
+
* // const { WilmaClient, GetFileCommand } = 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 = { // GetFileInput
|
|
42
|
+
* company: "STRING_VALUE",
|
|
43
|
+
* user: "STRING_VALUE",
|
|
44
|
+
* fileId: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new GetFileCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // GetFileOutput
|
|
49
|
+
* // file: { // WilmaFile
|
|
50
|
+
* // id: "STRING_VALUE", // required
|
|
51
|
+
* // name: "STRING_VALUE", // required
|
|
52
|
+
* // contentType: "STRING_VALUE",
|
|
53
|
+
* // size: Number("long"),
|
|
54
|
+
* // scope: "user" || "agent",
|
|
55
|
+
* // agentId: "STRING_VALUE",
|
|
56
|
+
* // sessionId: "STRING_VALUE",
|
|
57
|
+
* // createdAt: "STRING_VALUE", // required
|
|
58
|
+
* // },
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param GetFileCommandInput - {@link GetFileCommandInput}
|
|
64
|
+
* @returns {@link GetFileCommandOutput}
|
|
65
|
+
* @see {@link GetFileCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link GetFileCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link WilmaClientResolvedConfig | config} for WilmaClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link NotFoundException} (client fault)
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link WilmaServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from Wilma service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class GetFileCommand extends GetFileCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: GetFileInput;
|
|
86
|
+
output: GetFileOutput;
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: GetFileCommandInput;
|
|
90
|
+
output: GetFileCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|