@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,143 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateConnectorInput, UpdateConnectorOutput } 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 UpdateConnectorCommand}.
14
+ */
15
+ export interface UpdateConnectorCommandInput extends UpdateConnectorInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateConnectorCommand}.
21
+ */
22
+ export interface UpdateConnectorCommandOutput extends UpdateConnectorOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateConnectorCommand_base: {
25
+ new (input: UpdateConnectorCommandInput): import("@smithy/core/client").CommandImpl<UpdateConnectorCommandInput, UpdateConnectorCommandOutput, WilmaToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateConnectorCommandInput): import("@smithy/core/client").CommandImpl<UpdateConnectorCommandInput, UpdateConnectorCommandOutput, WilmaToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Replaces the editable configuration of a connector.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WilmaToolsClient, UpdateConnectorCommand } from "@wildix/wilma-tools-client"; // ES Modules import
35
+ * // const { WilmaToolsClient, UpdateConnectorCommand } = 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 = { // UpdateConnectorInput
40
+ * definition: { // ConnectorDefinitionRef
41
+ * key: "STRING_VALUE", // required
42
+ * version: "STRING_VALUE", // required
43
+ * },
44
+ * configuration: "DOCUMENT_VALUE", // required
45
+ * authorization: { // ConnectorAuthorization Union: only one key present
46
+ * shared: { // ConnectorSharedAuthorization
47
+ * connection: { // ConnectionRef
48
+ * id: "STRING_VALUE", // required
49
+ * },
50
+ * },
51
+ * user: {},
52
+ * },
53
+ * name: "STRING_VALUE", // required
54
+ * description: "STRING_VALUE", // required
55
+ * grant: { // ConnectorToolGrant Union: only one key present
56
+ * read: {},
57
+ * readWrite: {},
58
+ * all: {},
59
+ * tools: [ // ConnectorEnabledTools
60
+ * "STRING_VALUE",
61
+ * ],
62
+ * },
63
+ * companyId: "STRING_VALUE",
64
+ * connectorId: "STRING_VALUE", // required
65
+ * revision: Number("int"), // required
66
+ * };
67
+ * const command = new UpdateConnectorCommand(input);
68
+ * const response = await client.send(command);
69
+ * // { // UpdateConnectorOutput
70
+ * // connector: { // Connector
71
+ * // definition: { // ConnectorDefinitionRef
72
+ * // key: "STRING_VALUE", // required
73
+ * // version: "STRING_VALUE", // required
74
+ * // },
75
+ * // configuration: "DOCUMENT_VALUE", // required
76
+ * // authorization: { // ConnectorAuthorization Union: only one key present
77
+ * // shared: { // ConnectorSharedAuthorization
78
+ * // connection: { // ConnectionRef
79
+ * // id: "STRING_VALUE", // required
80
+ * // },
81
+ * // },
82
+ * // user: {},
83
+ * // },
84
+ * // name: "STRING_VALUE", // required
85
+ * // description: "STRING_VALUE", // required
86
+ * // grant: { // ConnectorToolGrant Union: only one key present
87
+ * // read: {},
88
+ * // readWrite: {},
89
+ * // all: {},
90
+ * // tools: [ // ConnectorEnabledTools
91
+ * // "STRING_VALUE",
92
+ * // ],
93
+ * // },
94
+ * // id: "STRING_VALUE", // required
95
+ * // companyId: "STRING_VALUE", // required
96
+ * // revision: Number("int"), // required
97
+ * // },
98
+ * // };
99
+ *
100
+ * ```
101
+ *
102
+ * @param UpdateConnectorCommandInput - {@link UpdateConnectorCommandInput}
103
+ * @returns {@link UpdateConnectorCommandOutput}
104
+ * @see {@link UpdateConnectorCommandInput} for command's `input` shape.
105
+ * @see {@link UpdateConnectorCommandOutput} for command's `response` shape.
106
+ * @see {@link WilmaToolsClientResolvedConfig | config} for WilmaToolsClient's `config` shape.
107
+ *
108
+ * @throws {@link ValidationException} (client fault)
109
+ *
110
+ * @throws {@link NotFoundException} (client fault)
111
+ *
112
+ * @throws {@link ForbiddenException} (client fault)
113
+ *
114
+ * @throws {@link RevisionConflictException} (client fault)
115
+ * The resource was modified concurrently; re-read it and retry with the latest revision.
116
+ *
117
+ * @throws {@link UnauthorizedException} (client fault)
118
+ *
119
+ * @throws {@link AlreadyExistException} (client fault)
120
+ *
121
+ * @throws {@link ToolExecutionException} (client fault)
122
+ *
123
+ * @throws {@link ToolExecutionServerException} (server fault)
124
+ *
125
+ * @throws {@link WilmaToolsServiceException}
126
+ * <p>Base exception class for all service exceptions from WilmaTools service.</p>
127
+ *
128
+ *
129
+ * @public
130
+ */
131
+ export declare class UpdateConnectorCommand extends UpdateConnectorCommand_base {
132
+ /** @internal type navigation helper, not in runtime. */
133
+ protected static __types: {
134
+ api: {
135
+ input: UpdateConnectorInput;
136
+ output: UpdateConnectorOutput;
137
+ };
138
+ sdk: {
139
+ input: UpdateConnectorCommandInput;
140
+ output: UpdateConnectorCommandOutput;
141
+ };
142
+ };
143
+ }
@@ -0,0 +1,183 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateToolInput, UpdateToolOutput } 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 UpdateToolCommand}.
14
+ */
15
+ export interface UpdateToolCommandInput extends UpdateToolInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateToolCommand}.
21
+ */
22
+ export interface UpdateToolCommandOutput extends UpdateToolOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateToolCommand_base: {
25
+ new (input: UpdateToolCommandInput): import("@smithy/core/client").CommandImpl<UpdateToolCommandInput, UpdateToolCommandOutput, WilmaToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateToolCommandInput): import("@smithy/core/client").CommandImpl<UpdateToolCommandInput, UpdateToolCommandOutput, WilmaToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Update 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, UpdateToolCommand } from "@wildix/wilma-tools-client"; // ES Modules import
35
+ * // const { WilmaToolsClient, UpdateToolCommand } = 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 = { // UpdateToolInput
40
+ * companyId: "STRING_VALUE",
41
+ * toolId: "STRING_VALUE", // required
42
+ * revision: Number("int"), // required
43
+ * name: "STRING_VALUE", // required
44
+ * category: "STRING_VALUE", // required
45
+ * description: "STRING_VALUE",
46
+ * input: { // ToolInput
47
+ * schema: "DOCUMENT_VALUE", // required
48
+ * },
49
+ * handler: { // ToolHandler Union: only one key present
50
+ * connector: { // ToolConnectorHandler
51
+ * definition: { // ConnectorDefinitionRef
52
+ * key: "STRING_VALUE", // required
53
+ * version: "STRING_VALUE", // required
54
+ * },
55
+ * configuration: "DOCUMENT_VALUE", // required
56
+ * authorization: { // ConnectorAuthorization Union: only one key present
57
+ * shared: { // ConnectorSharedAuthorization
58
+ * connection: { // ConnectionRef
59
+ * id: "STRING_VALUE", // required
60
+ * },
61
+ * },
62
+ * user: {},
63
+ * },
64
+ * toolId: "STRING_VALUE", // required
65
+ * toolConfiguration: "DOCUMENT_VALUE",
66
+ * },
67
+ * mcp: { // ToolMcpHandler
68
+ * serverUrl: "STRING_VALUE", // required
69
+ * authorization: { // ToolMcpAuthorization Union: only one key present
70
+ * connection: {
71
+ * id: "STRING_VALUE", // required
72
+ * },
73
+ * customHeaders: { // ToolMcpHeadersMap
74
+ * "<keys>": "STRING_VALUE",
75
+ * },
76
+ * },
77
+ * tools: [ // ToolMcpEnabledToolsList // required
78
+ * "STRING_VALUE",
79
+ * ],
80
+ * },
81
+ * mcpTool: { // ToolMcpToolHandler
82
+ * mcpToolId: "STRING_VALUE", // required
83
+ * mcpToolName: "STRING_VALUE", // required
84
+ * },
85
+ * },
86
+ * };
87
+ * const command = new UpdateToolCommand(input);
88
+ * const response = await client.send(command);
89
+ * // { // UpdateToolOutput
90
+ * // tool: { // Tool
91
+ * // id: "STRING_VALUE", // required
92
+ * // companyId: "STRING_VALUE", // required
93
+ * // name: "STRING_VALUE", // required
94
+ * // category: "STRING_VALUE", // required
95
+ * // description: "STRING_VALUE",
96
+ * // input: { // ToolInput
97
+ * // schema: "DOCUMENT_VALUE", // required
98
+ * // },
99
+ * // handler: { // ToolHandler Union: only one key present
100
+ * // connector: { // ToolConnectorHandler
101
+ * // definition: { // ConnectorDefinitionRef
102
+ * // key: "STRING_VALUE", // required
103
+ * // version: "STRING_VALUE", // required
104
+ * // },
105
+ * // configuration: "DOCUMENT_VALUE", // required
106
+ * // authorization: { // ConnectorAuthorization Union: only one key present
107
+ * // shared: { // ConnectorSharedAuthorization
108
+ * // connection: { // ConnectionRef
109
+ * // id: "STRING_VALUE", // required
110
+ * // },
111
+ * // },
112
+ * // user: {},
113
+ * // },
114
+ * // toolId: "STRING_VALUE", // required
115
+ * // toolConfiguration: "DOCUMENT_VALUE",
116
+ * // },
117
+ * // mcp: { // ToolMcpHandler
118
+ * // serverUrl: "STRING_VALUE", // required
119
+ * // authorization: { // ToolMcpAuthorization Union: only one key present
120
+ * // connection: {
121
+ * // id: "STRING_VALUE", // required
122
+ * // },
123
+ * // customHeaders: { // ToolMcpHeadersMap
124
+ * // "<keys>": "STRING_VALUE",
125
+ * // },
126
+ * // },
127
+ * // tools: [ // ToolMcpEnabledToolsList // required
128
+ * // "STRING_VALUE",
129
+ * // ],
130
+ * // },
131
+ * // mcpTool: { // ToolMcpToolHandler
132
+ * // mcpToolId: "STRING_VALUE", // required
133
+ * // mcpToolName: "STRING_VALUE", // required
134
+ * // },
135
+ * // },
136
+ * // revision: Number("int"), // required
137
+ * // },
138
+ * // };
139
+ *
140
+ * ```
141
+ *
142
+ * @param UpdateToolCommandInput - {@link UpdateToolCommandInput}
143
+ * @returns {@link UpdateToolCommandOutput}
144
+ * @see {@link UpdateToolCommandInput} for command's `input` shape.
145
+ * @see {@link UpdateToolCommandOutput} for command's `response` shape.
146
+ * @see {@link WilmaToolsClientResolvedConfig | config} for WilmaToolsClient's `config` shape.
147
+ *
148
+ * @throws {@link ValidationException} (client fault)
149
+ *
150
+ * @throws {@link NotFoundException} (client fault)
151
+ *
152
+ * @throws {@link RevisionConflictException} (client fault)
153
+ * The resource was modified concurrently; re-read it and retry with the latest revision.
154
+ *
155
+ * @throws {@link UnauthorizedException} (client fault)
156
+ *
157
+ * @throws {@link ForbiddenException} (client fault)
158
+ *
159
+ * @throws {@link AlreadyExistException} (client fault)
160
+ *
161
+ * @throws {@link ToolExecutionException} (client fault)
162
+ *
163
+ * @throws {@link ToolExecutionServerException} (server fault)
164
+ *
165
+ * @throws {@link WilmaToolsServiceException}
166
+ * <p>Base exception class for all service exceptions from WilmaTools service.</p>
167
+ *
168
+ *
169
+ * @public
170
+ */
171
+ export declare class UpdateToolCommand extends UpdateToolCommand_base {
172
+ /** @internal type navigation helper, not in runtime. */
173
+ protected static __types: {
174
+ api: {
175
+ input: UpdateToolInput;
176
+ output: UpdateToolOutput;
177
+ };
178
+ sdk: {
179
+ input: UpdateToolCommandInput;
180
+ output: UpdateToolCommandOutput;
181
+ };
182
+ };
183
+ }
@@ -0,0 +1,19 @@
1
+ export * from "./CreateConnectorCommand";
2
+ export * from "./CreateToolCommand";
3
+ export * from "./DeleteConnectorCommand";
4
+ export * from "./DeleteToolCommand";
5
+ export * from "./DescribeCapabilitiesCommand";
6
+ export * from "./DescribeConnectorsCommand";
7
+ export * from "./DescribeToolsCommand";
8
+ export * from "./DiscoverToolsCommand";
9
+ export * from "./ExecuteConnectorCommand";
10
+ export * from "./ExecuteToolCommand";
11
+ export * from "./GetConnectorCommand";
12
+ export * from "./GetConnectorDefinitionCommand";
13
+ export * from "./GetToolCommand";
14
+ export * from "./ListConnectorDefinitionsCommand";
15
+ export * from "./ListConnectorsCommand";
16
+ export * from "./ListToolsCommand";
17
+ export * from "./ResolveConnectorConfigurationCommand";
18
+ export * from "./UpdateConnectorCommand";
19
+ export * from "./UpdateToolCommand";
@@ -0,0 +1,41 @@
1
+ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ clientContextParams?: {
7
+ env?: string | undefined | Provider<string | undefined>;
8
+ };
9
+ env?: string | undefined | Provider<string | undefined>;
10
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
11
+ }
12
+ /**
13
+ * @public
14
+ */
15
+ export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
16
+ defaultSigningName: string;
17
+ };
18
+ /**
19
+ * @internal
20
+ */
21
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const commonParams: {
26
+ readonly env: {
27
+ readonly type: "clientContextParams";
28
+ readonly name: "env";
29
+ };
30
+ readonly endpoint: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "endpoint";
33
+ };
34
+ };
35
+ /**
36
+ * @internal
37
+ */
38
+ export interface EndpointParameters extends __EndpointParameters {
39
+ env?: string | undefined;
40
+ endpoint?: string | undefined;
41
+ }
@@ -0,0 +1,2 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
+ export declare const bdd: BinaryDecisionDiagram;
@@ -0,0 +1,8 @@
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
7
+ logger?: Logger;
8
+ }) => EndpointV2;
@@ -0,0 +1,8 @@
1
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
2
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
3
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface WilmaToolsExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, HttpAuthExtensionConfiguration {
8
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Tools and connectors platform for the Wilma agent ecosystem. Successor of wim-tools:
3
+ * same tool model (built-in email/webhook/search/chat/sms/calendar/MCP handlers plus
4
+ * execution) extended with connectors — company-owned instances of immutable server-side
5
+ * connector definitions that expose one or more executable tools, with credentials kept in
6
+ * wilma-secrets. Serves the connector catalog (definitions), configured connectors, connector-backed
7
+ * Tools and direct connector execution. Consumed server-to-server by the agent channel
8
+ * runtimes (wilma-assistant, wilma-chat, wilma-voice) and by the legacy bot runtimes
9
+ * (xbees-users bots, wim-voicebots) via their connector capability. Hosted on the shared
10
+ * Wilma API domain under the /v2/tools path prefix.
11
+ *
12
+ * @packageDocumentation
13
+ */
14
+ export * from "./WilmaToolsClient";
15
+ export * from "./WilmaTools";
16
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
17
+ export type { RuntimeExtension } from "./runtimeExtensions";
18
+ export type { WilmaToolsExtensionConfiguration } from "./extensionConfiguration";
19
+ export * from "./commands";
20
+ export * from "./schemas/schemas_0";
21
+ export * from "./pagination";
22
+ export * from "./models/enums";
23
+ export * from "./models/errors";
24
+ export * from "./models/models_0";
25
+ export { WilmaToolsServiceException } from "./models/WilmaToolsServiceException";
@@ -0,0 +1,14 @@
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from WilmaTools service.
8
+ */
9
+ export declare class WilmaToolsServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1,46 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ConnectorAuthorizationMode: {
6
+ /**
7
+ * One company-managed (SHARED) connection is used for all executions. Whether that
8
+ * connection authorizes interactively or from a machine credential (OAuth2
9
+ * client-credentials, API key) is a provider detail resolved in wilma-secrets, not a
10
+ * separate mode here.
11
+ */
12
+ readonly SHARED: "shared";
13
+ /**
14
+ * Resolved from the executing user's own authorization for this connector's provider
15
+ * (a wilma-secrets USER connection, keyed by provider + user). No company connection is
16
+ * needed at create time; each user connects the provider for themselves.
17
+ */
18
+ readonly USER: "user";
19
+ };
20
+ /**
21
+ * @public
22
+ */
23
+ export type ConnectorAuthorizationMode = (typeof ConnectorAuthorizationMode)[keyof typeof ConnectorAuthorizationMode];
24
+ /**
25
+ * @public
26
+ * @enum
27
+ */
28
+ export declare const ConnectorToolAccess: {
29
+ /**
30
+ * Deletes or performs otherwise irreversible external changes. Enabled only by the `all`
31
+ * grant (or an explicit tool allowlist).
32
+ */
33
+ readonly DESTRUCTIVE: "destructive";
34
+ /**
35
+ * Does not modify external state (list, get, search, query). Enabled by every grant.
36
+ */
37
+ readonly READ: "read";
38
+ /**
39
+ * Creates or updates external state. Enabled by `readWrite` and `all` grants.
40
+ */
41
+ readonly WRITE: "write";
42
+ };
43
+ /**
44
+ * @public
45
+ */
46
+ export type ConnectorToolAccess = (typeof ConnectorToolAccess)[keyof typeof ConnectorToolAccess];
@@ -0,0 +1,108 @@
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import type { DocumentType as __DocumentType } from "@smithy/types";
3
+ import { WilmaToolsServiceException as __BaseException } from "./WilmaToolsServiceException";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare class AlreadyExistException extends __BaseException {
8
+ readonly name: "AlreadyExistException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AlreadyExistException, __BaseException>);
14
+ }
15
+ /**
16
+ * @public
17
+ */
18
+ export declare class ForbiddenException extends __BaseException {
19
+ readonly name: "ForbiddenException";
20
+ readonly $fault: "client";
21
+ /**
22
+ * @internal
23
+ */
24
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
25
+ }
26
+ /**
27
+ * @public
28
+ */
29
+ export declare class NotFoundException extends __BaseException {
30
+ readonly name: "NotFoundException";
31
+ readonly $fault: "client";
32
+ /**
33
+ * @internal
34
+ */
35
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
36
+ }
37
+ /**
38
+ * @public
39
+ */
40
+ export declare class UnauthorizedException extends __BaseException {
41
+ readonly name: "UnauthorizedException";
42
+ readonly $fault: "client";
43
+ /**
44
+ * @internal
45
+ */
46
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
47
+ }
48
+ /**
49
+ * @public
50
+ */
51
+ export declare class ValidationException extends __BaseException {
52
+ readonly name: "ValidationException";
53
+ readonly $fault: "client";
54
+ /**
55
+ * @internal
56
+ */
57
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
58
+ }
59
+ /**
60
+ * The resource was modified concurrently; re-read it and retry with the latest revision.
61
+ * @public
62
+ */
63
+ export declare class RevisionConflictException extends __BaseException {
64
+ readonly name: "RevisionConflictException";
65
+ readonly $fault: "client";
66
+ type?: string | undefined;
67
+ /**
68
+ * The current revision of the resource on the server.
69
+ * @public
70
+ */
71
+ currentRevision?: number | undefined;
72
+ /**
73
+ * @internal
74
+ */
75
+ constructor(opts: __ExceptionOptionType<RevisionConflictException, __BaseException>);
76
+ }
77
+ /**
78
+ * @public
79
+ */
80
+ export declare class ToolExecutionException extends __BaseException {
81
+ readonly name: "ToolExecutionException";
82
+ readonly $fault: "client";
83
+ /**
84
+ * Details about the execution error, typically related to invalid configuration or input
85
+ * @public
86
+ */
87
+ details?: __DocumentType | undefined;
88
+ /**
89
+ * @internal
90
+ */
91
+ constructor(opts: __ExceptionOptionType<ToolExecutionException, __BaseException>);
92
+ }
93
+ /**
94
+ * @public
95
+ */
96
+ export declare class ToolExecutionServerException extends __BaseException {
97
+ readonly name: "ToolExecutionServerException";
98
+ readonly $fault: "server";
99
+ /**
100
+ * Details about the server failure during tool execution
101
+ * @public
102
+ */
103
+ details?: __DocumentType | undefined;
104
+ /**
105
+ * @internal
106
+ */
107
+ constructor(opts: __ExceptionOptionType<ToolExecutionServerException, __BaseException>);
108
+ }