@wildix/wilma-tools-client 1.0.1

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.
Files changed (130) hide show
  1. package/dist-cjs/WilmaTools.js +55 -0
  2. package/dist-cjs/WilmaToolsClient.js +51 -0
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  5. package/dist-cjs/commands/CreateConnectorCommand.js +20 -0
  6. package/dist-cjs/commands/CreateToolCommand.js +20 -0
  7. package/dist-cjs/commands/DeleteConnectorCommand.js +20 -0
  8. package/dist-cjs/commands/DeleteToolCommand.js +20 -0
  9. package/dist-cjs/commands/DescribeCapabilitiesCommand.js +20 -0
  10. package/dist-cjs/commands/DescribeConnectorsCommand.js +20 -0
  11. package/dist-cjs/commands/DescribeToolsCommand.js +20 -0
  12. package/dist-cjs/commands/DiscoverToolsCommand.js +20 -0
  13. package/dist-cjs/commands/ExecuteConnectorCommand.js +20 -0
  14. package/dist-cjs/commands/ExecuteToolCommand.js +20 -0
  15. package/dist-cjs/commands/GetConnectorCommand.js +20 -0
  16. package/dist-cjs/commands/GetConnectorDefinitionCommand.js +20 -0
  17. package/dist-cjs/commands/GetToolCommand.js +20 -0
  18. package/dist-cjs/commands/ListConnectorDefinitionsCommand.js +20 -0
  19. package/dist-cjs/commands/ListConnectorsCommand.js +20 -0
  20. package/dist-cjs/commands/ListToolsCommand.js +20 -0
  21. package/dist-cjs/commands/ResolveConnectorConfigurationCommand.js +20 -0
  22. package/dist-cjs/commands/UpdateConnectorCommand.js +20 -0
  23. package/dist-cjs/commands/UpdateToolCommand.js +20 -0
  24. package/dist-cjs/commands/index.js +22 -0
  25. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  26. package/dist-cjs/endpoint/bdd.js +28 -0
  27. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  28. package/dist-cjs/extensionConfiguration.js +2 -0
  29. package/dist-cjs/index.js +14 -0
  30. package/dist-cjs/models/WilmaToolsServiceException.js +12 -0
  31. package/dist-cjs/models/enums.js +12 -0
  32. package/dist-cjs/models/errors.js +116 -0
  33. package/dist-cjs/models/models_0.js +2 -0
  34. package/dist-cjs/pagination/Interfaces.js +2 -0
  35. package/dist-cjs/pagination/ListConnectorDefinitionsPaginator.js +7 -0
  36. package/dist-cjs/pagination/ListConnectorsPaginator.js +7 -0
  37. package/dist-cjs/pagination/index.js +6 -0
  38. package/dist-cjs/runtimeConfig.browser.js +32 -0
  39. package/dist-cjs/runtimeConfig.js +41 -0
  40. package/dist-cjs/runtimeConfig.native.js +15 -0
  41. package/dist-cjs/runtimeConfig.shared.js +51 -0
  42. package/dist-cjs/runtimeExtensions.js +12 -0
  43. package/dist-cjs/schemas/schemas_0.js +690 -0
  44. package/dist-es/WilmaTools.js +51 -0
  45. package/dist-es/WilmaToolsClient.js +47 -0
  46. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  47. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  48. package/dist-es/commands/CreateConnectorCommand.js +16 -0
  49. package/dist-es/commands/CreateToolCommand.js +16 -0
  50. package/dist-es/commands/DeleteConnectorCommand.js +16 -0
  51. package/dist-es/commands/DeleteToolCommand.js +16 -0
  52. package/dist-es/commands/DescribeCapabilitiesCommand.js +16 -0
  53. package/dist-es/commands/DescribeConnectorsCommand.js +16 -0
  54. package/dist-es/commands/DescribeToolsCommand.js +16 -0
  55. package/dist-es/commands/DiscoverToolsCommand.js +16 -0
  56. package/dist-es/commands/ExecuteConnectorCommand.js +16 -0
  57. package/dist-es/commands/ExecuteToolCommand.js +16 -0
  58. package/dist-es/commands/GetConnectorCommand.js +16 -0
  59. package/dist-es/commands/GetConnectorDefinitionCommand.js +16 -0
  60. package/dist-es/commands/GetToolCommand.js +16 -0
  61. package/dist-es/commands/ListConnectorDefinitionsCommand.js +16 -0
  62. package/dist-es/commands/ListConnectorsCommand.js +16 -0
  63. package/dist-es/commands/ListToolsCommand.js +16 -0
  64. package/dist-es/commands/ResolveConnectorConfigurationCommand.js +16 -0
  65. package/dist-es/commands/UpdateConnectorCommand.js +16 -0
  66. package/dist-es/commands/UpdateToolCommand.js +16 -0
  67. package/dist-es/commands/index.js +19 -0
  68. package/dist-es/endpoint/EndpointParameters.js +12 -0
  69. package/dist-es/endpoint/bdd.js +25 -0
  70. package/dist-es/endpoint/endpointResolver.js +12 -0
  71. package/dist-es/extensionConfiguration.js +1 -0
  72. package/dist-es/index.js +9 -0
  73. package/dist-es/models/WilmaToolsServiceException.js +8 -0
  74. package/dist-es/models/enums.js +9 -0
  75. package/dist-es/models/errors.js +105 -0
  76. package/dist-es/models/models_0.js +1 -0
  77. package/dist-es/pagination/Interfaces.js +1 -0
  78. package/dist-es/pagination/ListConnectorDefinitionsPaginator.js +4 -0
  79. package/dist-es/pagination/ListConnectorsPaginator.js +4 -0
  80. package/dist-es/pagination/index.js +3 -0
  81. package/dist-es/runtimeConfig.browser.js +27 -0
  82. package/dist-es/runtimeConfig.js +36 -0
  83. package/dist-es/runtimeConfig.native.js +11 -0
  84. package/dist-es/runtimeConfig.shared.js +47 -0
  85. package/dist-es/runtimeExtensions.js +8 -0
  86. package/dist-es/schemas/schemas_0.js +686 -0
  87. package/dist-types/WilmaTools.d.ts +168 -0
  88. package/dist-types/WilmaToolsClient.d.ts +189 -0
  89. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  90. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  91. package/dist-types/commands/CreateConnectorCommand.d.ts +138 -0
  92. package/dist-types/commands/CreateToolCommand.d.ts +178 -0
  93. package/dist-types/commands/DeleteConnectorCommand.d.ts +87 -0
  94. package/dist-types/commands/DeleteToolCommand.d.ts +87 -0
  95. package/dist-types/commands/DescribeCapabilitiesCommand.d.ts +111 -0
  96. package/dist-types/commands/DescribeConnectorsCommand.d.ts +100 -0
  97. package/dist-types/commands/DescribeToolsCommand.d.ts +98 -0
  98. package/dist-types/commands/DiscoverToolsCommand.d.ts +103 -0
  99. package/dist-types/commands/ExecuteConnectorCommand.d.ts +96 -0
  100. package/dist-types/commands/ExecuteToolCommand.d.ts +94 -0
  101. package/dist-types/commands/GetConnectorCommand.d.ts +116 -0
  102. package/dist-types/commands/GetConnectorDefinitionCommand.d.ts +150 -0
  103. package/dist-types/commands/GetToolCommand.d.ts +136 -0
  104. package/dist-types/commands/ListConnectorDefinitionsCommand.d.ts +154 -0
  105. package/dist-types/commands/ListConnectorsCommand.d.ts +120 -0
  106. package/dist-types/commands/ListToolsCommand.d.ts +137 -0
  107. package/dist-types/commands/ResolveConnectorConfigurationCommand.d.ts +106 -0
  108. package/dist-types/commands/UpdateConnectorCommand.d.ts +143 -0
  109. package/dist-types/commands/UpdateToolCommand.d.ts +183 -0
  110. package/dist-types/commands/index.d.ts +19 -0
  111. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  112. package/dist-types/endpoint/bdd.d.ts +2 -0
  113. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  114. package/dist-types/extensionConfiguration.d.ts +8 -0
  115. package/dist-types/index.d.ts +25 -0
  116. package/dist-types/models/WilmaToolsServiceException.d.ts +14 -0
  117. package/dist-types/models/enums.d.ts +46 -0
  118. package/dist-types/models/errors.d.ts +108 -0
  119. package/dist-types/models/models_0.d.ts +1602 -0
  120. package/dist-types/pagination/Interfaces.d.ts +8 -0
  121. package/dist-types/pagination/ListConnectorDefinitionsPaginator.d.ts +7 -0
  122. package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
  123. package/dist-types/pagination/index.d.ts +3 -0
  124. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  125. package/dist-types/runtimeConfig.d.ts +55 -0
  126. package/dist-types/runtimeConfig.native.d.ts +54 -0
  127. package/dist-types/runtimeConfig.shared.d.ts +32 -0
  128. package/dist-types/runtimeExtensions.d.ts +17 -0
  129. package/dist-types/schemas/schemas_0.d.ts +104 -0
  130. package/package.json +57 -0
@@ -0,0 +1,178 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateToolInput, CreateToolOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, WilmaToolsClientResolvedConfig } from "../WilmaToolsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateToolCommand}.
14
+ */
15
+ export interface CreateToolCommandInput extends CreateToolInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateToolCommand}.
21
+ */
22
+ export interface CreateToolCommandOutput extends CreateToolOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateToolCommand_base: {
25
+ new (input: CreateToolCommandInput): import("@smithy/core/client").CommandImpl<CreateToolCommandInput, CreateToolCommandOutput, WilmaToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateToolCommandInput): import("@smithy/core/client").CommandImpl<CreateToolCommandInput, CreateToolCommandOutput, WilmaToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Create a new tool.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WilmaToolsClient, CreateToolCommand } from "@wildix/wilma-tools-client"; // ES Modules import
35
+ * // const { WilmaToolsClient, CreateToolCommand } = require("@wildix/wilma-tools-client"); // CommonJS import
36
+ * // import type { WilmaToolsClientConfig } from "@wildix/wilma-tools-client";
37
+ * const config = {}; // type is WilmaToolsClientConfig
38
+ * const client = new WilmaToolsClient(config);
39
+ * const input = { // CreateToolInput
40
+ * companyId: "STRING_VALUE",
41
+ * name: "STRING_VALUE", // required
42
+ * category: "STRING_VALUE", // required
43
+ * description: "STRING_VALUE",
44
+ * input: { // ToolInput
45
+ * schema: "DOCUMENT_VALUE", // required
46
+ * },
47
+ * handler: { // ToolHandler Union: only one key present
48
+ * connector: { // ToolConnectorHandler
49
+ * definition: { // ConnectorDefinitionRef
50
+ * key: "STRING_VALUE", // required
51
+ * version: "STRING_VALUE", // required
52
+ * },
53
+ * configuration: "DOCUMENT_VALUE", // required
54
+ * authorization: { // ConnectorAuthorization Union: only one key present
55
+ * shared: { // ConnectorSharedAuthorization
56
+ * connection: { // ConnectionRef
57
+ * id: "STRING_VALUE", // required
58
+ * },
59
+ * },
60
+ * user: {},
61
+ * },
62
+ * toolId: "STRING_VALUE", // required
63
+ * toolConfiguration: "DOCUMENT_VALUE",
64
+ * },
65
+ * mcp: { // ToolMcpHandler
66
+ * serverUrl: "STRING_VALUE", // required
67
+ * authorization: { // ToolMcpAuthorization Union: only one key present
68
+ * connection: {
69
+ * id: "STRING_VALUE", // required
70
+ * },
71
+ * customHeaders: { // ToolMcpHeadersMap
72
+ * "<keys>": "STRING_VALUE",
73
+ * },
74
+ * },
75
+ * tools: [ // ToolMcpEnabledToolsList // required
76
+ * "STRING_VALUE",
77
+ * ],
78
+ * },
79
+ * mcpTool: { // ToolMcpToolHandler
80
+ * mcpToolId: "STRING_VALUE", // required
81
+ * mcpToolName: "STRING_VALUE", // required
82
+ * },
83
+ * },
84
+ * };
85
+ * const command = new CreateToolCommand(input);
86
+ * const response = await client.send(command);
87
+ * // { // CreateToolOutput
88
+ * // tool: { // Tool
89
+ * // id: "STRING_VALUE", // required
90
+ * // companyId: "STRING_VALUE", // required
91
+ * // name: "STRING_VALUE", // required
92
+ * // category: "STRING_VALUE", // required
93
+ * // description: "STRING_VALUE",
94
+ * // input: { // ToolInput
95
+ * // schema: "DOCUMENT_VALUE", // required
96
+ * // },
97
+ * // handler: { // ToolHandler Union: only one key present
98
+ * // connector: { // ToolConnectorHandler
99
+ * // definition: { // ConnectorDefinitionRef
100
+ * // key: "STRING_VALUE", // required
101
+ * // version: "STRING_VALUE", // required
102
+ * // },
103
+ * // configuration: "DOCUMENT_VALUE", // required
104
+ * // authorization: { // ConnectorAuthorization Union: only one key present
105
+ * // shared: { // ConnectorSharedAuthorization
106
+ * // connection: { // ConnectionRef
107
+ * // id: "STRING_VALUE", // required
108
+ * // },
109
+ * // },
110
+ * // user: {},
111
+ * // },
112
+ * // toolId: "STRING_VALUE", // required
113
+ * // toolConfiguration: "DOCUMENT_VALUE",
114
+ * // },
115
+ * // mcp: { // ToolMcpHandler
116
+ * // serverUrl: "STRING_VALUE", // required
117
+ * // authorization: { // ToolMcpAuthorization Union: only one key present
118
+ * // connection: {
119
+ * // id: "STRING_VALUE", // required
120
+ * // },
121
+ * // customHeaders: { // ToolMcpHeadersMap
122
+ * // "<keys>": "STRING_VALUE",
123
+ * // },
124
+ * // },
125
+ * // tools: [ // ToolMcpEnabledToolsList // required
126
+ * // "STRING_VALUE",
127
+ * // ],
128
+ * // },
129
+ * // mcpTool: { // ToolMcpToolHandler
130
+ * // mcpToolId: "STRING_VALUE", // required
131
+ * // mcpToolName: "STRING_VALUE", // required
132
+ * // },
133
+ * // },
134
+ * // revision: Number("int"), // required
135
+ * // },
136
+ * // };
137
+ *
138
+ * ```
139
+ *
140
+ * @param CreateToolCommandInput - {@link CreateToolCommandInput}
141
+ * @returns {@link CreateToolCommandOutput}
142
+ * @see {@link CreateToolCommandInput} for command's `input` shape.
143
+ * @see {@link CreateToolCommandOutput} for command's `response` shape.
144
+ * @see {@link WilmaToolsClientResolvedConfig | config} for WilmaToolsClient's `config` shape.
145
+ *
146
+ * @throws {@link ValidationException} (client fault)
147
+ *
148
+ * @throws {@link AlreadyExistException} (client fault)
149
+ *
150
+ * @throws {@link UnauthorizedException} (client fault)
151
+ *
152
+ * @throws {@link ForbiddenException} (client fault)
153
+ *
154
+ * @throws {@link NotFoundException} (client fault)
155
+ *
156
+ * @throws {@link ToolExecutionException} (client fault)
157
+ *
158
+ * @throws {@link ToolExecutionServerException} (server fault)
159
+ *
160
+ * @throws {@link WilmaToolsServiceException}
161
+ * <p>Base exception class for all service exceptions from WilmaTools service.</p>
162
+ *
163
+ *
164
+ * @public
165
+ */
166
+ export declare class CreateToolCommand extends CreateToolCommand_base {
167
+ /** @internal type navigation helper, not in runtime. */
168
+ protected static __types: {
169
+ api: {
170
+ input: CreateToolInput;
171
+ output: CreateToolOutput;
172
+ };
173
+ sdk: {
174
+ input: CreateToolCommandInput;
175
+ output: CreateToolCommandOutput;
176
+ };
177
+ };
178
+ }
@@ -0,0 +1,87 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeleteConnectorInput, DeleteConnectorOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, WilmaToolsClientResolvedConfig } from "../WilmaToolsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteConnectorCommand}.
14
+ */
15
+ export interface DeleteConnectorCommandInput extends DeleteConnectorInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteConnectorCommand}.
21
+ */
22
+ export interface DeleteConnectorCommandOutput extends DeleteConnectorOutput, __MetadataBearer {
23
+ }
24
+ declare const DeleteConnectorCommand_base: {
25
+ new (input: DeleteConnectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectorCommandInput, DeleteConnectorCommandOutput, WilmaToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteConnectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectorCommandInput, DeleteConnectorCommandOutput, WilmaToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Deletes a configured connector.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WilmaToolsClient, DeleteConnectorCommand } from "@wildix/wilma-tools-client"; // ES Modules import
35
+ * // const { WilmaToolsClient, DeleteConnectorCommand } = require("@wildix/wilma-tools-client"); // CommonJS import
36
+ * // import type { WilmaToolsClientConfig } from "@wildix/wilma-tools-client";
37
+ * const config = {}; // type is WilmaToolsClientConfig
38
+ * const client = new WilmaToolsClient(config);
39
+ * const input = { // DeleteConnectorInput
40
+ * companyId: "STRING_VALUE",
41
+ * connectorId: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new DeleteConnectorCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param DeleteConnectorCommandInput - {@link DeleteConnectorCommandInput}
50
+ * @returns {@link DeleteConnectorCommandOutput}
51
+ * @see {@link DeleteConnectorCommandInput} for command's `input` shape.
52
+ * @see {@link DeleteConnectorCommandOutput} for command's `response` shape.
53
+ * @see {@link WilmaToolsClientResolvedConfig | config} for WilmaToolsClient's `config` shape.
54
+ *
55
+ * @throws {@link ValidationException} (client fault)
56
+ *
57
+ * @throws {@link NotFoundException} (client fault)
58
+ *
59
+ * @throws {@link UnauthorizedException} (client fault)
60
+ *
61
+ * @throws {@link ForbiddenException} (client fault)
62
+ *
63
+ * @throws {@link AlreadyExistException} (client fault)
64
+ *
65
+ * @throws {@link ToolExecutionException} (client fault)
66
+ *
67
+ * @throws {@link ToolExecutionServerException} (server fault)
68
+ *
69
+ * @throws {@link WilmaToolsServiceException}
70
+ * <p>Base exception class for all service exceptions from WilmaTools service.</p>
71
+ *
72
+ *
73
+ * @public
74
+ */
75
+ export declare class DeleteConnectorCommand extends DeleteConnectorCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: DeleteConnectorInput;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: DeleteConnectorCommandInput;
84
+ output: DeleteConnectorCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -0,0 +1,87 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeleteToolInput, DeleteToolOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, WilmaToolsClientResolvedConfig } from "../WilmaToolsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteToolCommand}.
14
+ */
15
+ export interface DeleteToolCommandInput extends DeleteToolInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteToolCommand}.
21
+ */
22
+ export interface DeleteToolCommandOutput extends DeleteToolOutput, __MetadataBearer {
23
+ }
24
+ declare const DeleteToolCommand_base: {
25
+ new (input: DeleteToolCommandInput): import("@smithy/core/client").CommandImpl<DeleteToolCommandInput, DeleteToolCommandOutput, WilmaToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteToolCommandInput): import("@smithy/core/client").CommandImpl<DeleteToolCommandInput, DeleteToolCommandOutput, WilmaToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Delete a tool by its ID.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WilmaToolsClient, DeleteToolCommand } from "@wildix/wilma-tools-client"; // ES Modules import
35
+ * // const { WilmaToolsClient, DeleteToolCommand } = require("@wildix/wilma-tools-client"); // CommonJS import
36
+ * // import type { WilmaToolsClientConfig } from "@wildix/wilma-tools-client";
37
+ * const config = {}; // type is WilmaToolsClientConfig
38
+ * const client = new WilmaToolsClient(config);
39
+ * const input = { // DeleteToolInput
40
+ * companyId: "STRING_VALUE",
41
+ * toolId: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new DeleteToolCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param DeleteToolCommandInput - {@link DeleteToolCommandInput}
50
+ * @returns {@link DeleteToolCommandOutput}
51
+ * @see {@link DeleteToolCommandInput} for command's `input` shape.
52
+ * @see {@link DeleteToolCommandOutput} for command's `response` shape.
53
+ * @see {@link WilmaToolsClientResolvedConfig | config} for WilmaToolsClient's `config` shape.
54
+ *
55
+ * @throws {@link ValidationException} (client fault)
56
+ *
57
+ * @throws {@link NotFoundException} (client fault)
58
+ *
59
+ * @throws {@link UnauthorizedException} (client fault)
60
+ *
61
+ * @throws {@link ForbiddenException} (client fault)
62
+ *
63
+ * @throws {@link AlreadyExistException} (client fault)
64
+ *
65
+ * @throws {@link ToolExecutionException} (client fault)
66
+ *
67
+ * @throws {@link ToolExecutionServerException} (server fault)
68
+ *
69
+ * @throws {@link WilmaToolsServiceException}
70
+ * <p>Base exception class for all service exceptions from WilmaTools service.</p>
71
+ *
72
+ *
73
+ * @public
74
+ */
75
+ export declare class DeleteToolCommand extends DeleteToolCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: DeleteToolInput;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: DeleteToolCommandInput;
84
+ output: DeleteToolCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -0,0 +1,111 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeCapabilitiesInput, DescribeCapabilitiesOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, WilmaToolsClientResolvedConfig } from "../WilmaToolsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeCapabilitiesCommand}.
14
+ */
15
+ export interface DescribeCapabilitiesCommandInput extends DescribeCapabilitiesInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeCapabilitiesCommand}.
21
+ */
22
+ export interface DescribeCapabilitiesCommandOutput extends DescribeCapabilitiesOutput, __MetadataBearer {
23
+ }
24
+ declare const DescribeCapabilitiesCommand_base: {
25
+ new (input: DescribeCapabilitiesCommandInput): import("@smithy/core/client").CommandImpl<DescribeCapabilitiesCommandInput, DescribeCapabilitiesCommandOutput, WilmaToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DescribeCapabilitiesCommandInput): import("@smithy/core/client").CommandImpl<DescribeCapabilitiesCommandInput, DescribeCapabilitiesCommandOutput, WilmaToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Describes an agent's wilma-tools-backed capabilities — standalone Tools and configured
31
+ * Connectors — in a single request, so an agent runtime resolves its whole toolset with one
32
+ * call instead of a separate describe per kind. The service resolves connector instances and
33
+ * their pinned definitions internally; callers pass only `companyId` and capability refs.
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { WilmaToolsClient, DescribeCapabilitiesCommand } from "@wildix/wilma-tools-client"; // ES Modules import
38
+ * // const { WilmaToolsClient, DescribeCapabilitiesCommand } = require("@wildix/wilma-tools-client"); // CommonJS import
39
+ * // import type { WilmaToolsClientConfig } from "@wildix/wilma-tools-client";
40
+ * const config = {}; // type is WilmaToolsClientConfig
41
+ * const client = new WilmaToolsClient(config);
42
+ * const input = { // DescribeCapabilitiesInput
43
+ * companyId: "STRING_VALUE",
44
+ * capabilities: [ // CapabilityRefs // required
45
+ * { // CapabilityRef Union: only one key present
46
+ * tool: "STRING_VALUE",
47
+ * connector: "STRING_VALUE",
48
+ * },
49
+ * ],
50
+ * };
51
+ * const command = new DescribeCapabilitiesCommand(input);
52
+ * const response = await client.send(command);
53
+ * // { // DescribeCapabilitiesOutput
54
+ * // descriptions: [ // CapabilityDescriptions // required
55
+ * // { // CapabilityDescription Union: only one key present
56
+ * // tool: { // ToolDescription
57
+ * // id: "STRING_VALUE", // required
58
+ * // name: "STRING_VALUE", // required
59
+ * // description: "STRING_VALUE",
60
+ * // schema: "DOCUMENT_VALUE",
61
+ * // },
62
+ * // connector: { // ConnectorDescription
63
+ * // id: "STRING_VALUE", // required
64
+ * // name: "STRING_VALUE", // required
65
+ * // description: "STRING_VALUE", // required
66
+ * // },
67
+ * // },
68
+ * // ],
69
+ * // };
70
+ *
71
+ * ```
72
+ *
73
+ * @param DescribeCapabilitiesCommandInput - {@link DescribeCapabilitiesCommandInput}
74
+ * @returns {@link DescribeCapabilitiesCommandOutput}
75
+ * @see {@link DescribeCapabilitiesCommandInput} for command's `input` shape.
76
+ * @see {@link DescribeCapabilitiesCommandOutput} for command's `response` shape.
77
+ * @see {@link WilmaToolsClientResolvedConfig | config} for WilmaToolsClient's `config` shape.
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ *
81
+ * @throws {@link UnauthorizedException} (client fault)
82
+ *
83
+ * @throws {@link ForbiddenException} (client fault)
84
+ *
85
+ * @throws {@link NotFoundException} (client fault)
86
+ *
87
+ * @throws {@link AlreadyExistException} (client fault)
88
+ *
89
+ * @throws {@link ToolExecutionException} (client fault)
90
+ *
91
+ * @throws {@link ToolExecutionServerException} (server fault)
92
+ *
93
+ * @throws {@link WilmaToolsServiceException}
94
+ * <p>Base exception class for all service exceptions from WilmaTools service.</p>
95
+ *
96
+ *
97
+ * @public
98
+ */
99
+ export declare class DescribeCapabilitiesCommand extends DescribeCapabilitiesCommand_base {
100
+ /** @internal type navigation helper, not in runtime. */
101
+ protected static __types: {
102
+ api: {
103
+ input: DescribeCapabilitiesInput;
104
+ output: DescribeCapabilitiesOutput;
105
+ };
106
+ sdk: {
107
+ input: DescribeCapabilitiesCommandInput;
108
+ output: DescribeCapabilitiesCommandOutput;
109
+ };
110
+ };
111
+ }
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeConnectorsInput, DescribeConnectorsOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, WilmaToolsClientResolvedConfig } from "../WilmaToolsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeConnectorsCommand}.
14
+ */
15
+ export interface DescribeConnectorsCommandInput extends DescribeConnectorsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeConnectorsCommand}.
21
+ */
22
+ export interface DescribeConnectorsCommandOutput extends DescribeConnectorsOutput, __MetadataBearer {
23
+ }
24
+ declare const DescribeConnectorsCommand_base: {
25
+ new (input: DescribeConnectorsCommandInput): import("@smithy/core/client").CommandImpl<DescribeConnectorsCommandInput, DescribeConnectorsCommandOutput, WilmaToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DescribeConnectorsCommandInput): import("@smithy/core/client").CommandImpl<DescribeConnectorsCommandInput, DescribeConnectorsCommandOutput, WilmaToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Describes configured connectors by id for agent load. The service resolves each
31
+ * connector instance and its pinned definition internally; callers pass only `companyId`
32
+ * and the connector ids. Returns the compact data needed to register each connector's
33
+ * meta-tool. The connector version of `DescribeTools`.
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { WilmaToolsClient, DescribeConnectorsCommand } from "@wildix/wilma-tools-client"; // ES Modules import
38
+ * // const { WilmaToolsClient, DescribeConnectorsCommand } = require("@wildix/wilma-tools-client"); // CommonJS import
39
+ * // import type { WilmaToolsClientConfig } from "@wildix/wilma-tools-client";
40
+ * const config = {}; // type is WilmaToolsClientConfig
41
+ * const client = new WilmaToolsClient(config);
42
+ * const input = { // DescribeConnectorsInput
43
+ * companyId: "STRING_VALUE",
44
+ * ids: [ // ConnectorIds // required
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * };
48
+ * const command = new DescribeConnectorsCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // DescribeConnectorsOutput
51
+ * // descriptions: [ // ConnectorDescriptions // required
52
+ * // { // ConnectorDescription
53
+ * // id: "STRING_VALUE", // required
54
+ * // name: "STRING_VALUE", // required
55
+ * // description: "STRING_VALUE", // required
56
+ * // },
57
+ * // ],
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param DescribeConnectorsCommandInput - {@link DescribeConnectorsCommandInput}
63
+ * @returns {@link DescribeConnectorsCommandOutput}
64
+ * @see {@link DescribeConnectorsCommandInput} for command's `input` shape.
65
+ * @see {@link DescribeConnectorsCommandOutput} for command's `response` shape.
66
+ * @see {@link WilmaToolsClientResolvedConfig | config} for WilmaToolsClient's `config` shape.
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ *
70
+ * @throws {@link UnauthorizedException} (client fault)
71
+ *
72
+ * @throws {@link ForbiddenException} (client fault)
73
+ *
74
+ * @throws {@link NotFoundException} (client fault)
75
+ *
76
+ * @throws {@link AlreadyExistException} (client fault)
77
+ *
78
+ * @throws {@link ToolExecutionException} (client fault)
79
+ *
80
+ * @throws {@link ToolExecutionServerException} (server fault)
81
+ *
82
+ * @throws {@link WilmaToolsServiceException}
83
+ * <p>Base exception class for all service exceptions from WilmaTools service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class DescribeConnectorsCommand extends DescribeConnectorsCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: DescribeConnectorsInput;
93
+ output: DescribeConnectorsOutput;
94
+ };
95
+ sdk: {
96
+ input: DescribeConnectorsCommandInput;
97
+ output: DescribeConnectorsCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,98 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeToolsInput, DescribeToolsOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, WilmaToolsClientResolvedConfig } from "../WilmaToolsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeToolsCommand}.
14
+ */
15
+ export interface DescribeToolsCommandInput extends DescribeToolsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeToolsCommand}.
21
+ */
22
+ export interface DescribeToolsCommandOutput extends DescribeToolsOutput, __MetadataBearer {
23
+ }
24
+ declare const DescribeToolsCommand_base: {
25
+ new (input: DescribeToolsCommandInput): import("@smithy/core/client").CommandImpl<DescribeToolsCommandInput, DescribeToolsCommandOutput, WilmaToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DescribeToolsCommandInput): import("@smithy/core/client").CommandImpl<DescribeToolsCommandInput, DescribeToolsCommandOutput, WilmaToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Describe multiple tools by their IDs.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WilmaToolsClient, DescribeToolsCommand } from "@wildix/wilma-tools-client"; // ES Modules import
35
+ * // const { WilmaToolsClient, DescribeToolsCommand } = require("@wildix/wilma-tools-client"); // CommonJS import
36
+ * // import type { WilmaToolsClientConfig } from "@wildix/wilma-tools-client";
37
+ * const config = {}; // type is WilmaToolsClientConfig
38
+ * const client = new WilmaToolsClient(config);
39
+ * const input = { // DescribeToolsInput
40
+ * companyId: "STRING_VALUE",
41
+ * ids: [ // ToolIdList // required
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * };
45
+ * const command = new DescribeToolsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // DescribeToolsOutput
48
+ * // descriptions: [ // ToolDescriptionList // required
49
+ * // { // ToolDescription
50
+ * // id: "STRING_VALUE", // required
51
+ * // name: "STRING_VALUE", // required
52
+ * // description: "STRING_VALUE",
53
+ * // schema: "DOCUMENT_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param DescribeToolsCommandInput - {@link DescribeToolsCommandInput}
61
+ * @returns {@link DescribeToolsCommandOutput}
62
+ * @see {@link DescribeToolsCommandInput} for command's `input` shape.
63
+ * @see {@link DescribeToolsCommandOutput} for command's `response` shape.
64
+ * @see {@link WilmaToolsClientResolvedConfig | config} for WilmaToolsClient's `config` shape.
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ *
68
+ * @throws {@link UnauthorizedException} (client fault)
69
+ *
70
+ * @throws {@link ForbiddenException} (client fault)
71
+ *
72
+ * @throws {@link NotFoundException} (client fault)
73
+ *
74
+ * @throws {@link AlreadyExistException} (client fault)
75
+ *
76
+ * @throws {@link ToolExecutionException} (client fault)
77
+ *
78
+ * @throws {@link ToolExecutionServerException} (server fault)
79
+ *
80
+ * @throws {@link WilmaToolsServiceException}
81
+ * <p>Base exception class for all service exceptions from WilmaTools service.</p>
82
+ *
83
+ *
84
+ * @public
85
+ */
86
+ export declare class DescribeToolsCommand extends DescribeToolsCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: DescribeToolsInput;
91
+ output: DescribeToolsOutput;
92
+ };
93
+ sdk: {
94
+ input: DescribeToolsCommandInput;
95
+ output: DescribeToolsCommandOutput;
96
+ };
97
+ };
98
+ }