@wildix/wim-tools-client 4.0.1 → 4.0.4
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/Tools.js +25 -1
- package/dist-cjs/ToolsClient.js +2 -0
- package/dist-cjs/commands/CreateConnectorCommand.js +20 -0
- package/dist-cjs/commands/DeleteConnectorCommand.js +20 -0
- package/dist-cjs/commands/ExecuteConnectorCommand.js +20 -0
- package/dist-cjs/commands/GetConnectorCommand.js +20 -0
- package/dist-cjs/commands/GetConnectorDefinitionCommand.js +20 -0
- package/dist-cjs/commands/ListConnectorDefinitionsCommand.js +20 -0
- package/dist-cjs/commands/ListConnectorsCommand.js +20 -0
- package/dist-cjs/commands/ResolveConnectorConfigurationCommand.js +20 -0
- package/dist-cjs/commands/UpdateConnectorCommand.js +20 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/models/enums.js +18 -7
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListConnectorDefinitionsPaginator.js +7 -0
- package/dist-cjs/pagination/ListConnectorsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/runtimeConfig.shared.js +10 -0
- package/dist-cjs/schemas/schemas_0.js +340 -57
- package/dist-es/Tools.js +25 -1
- package/dist-es/ToolsClient.js +2 -0
- package/dist-es/commands/CreateConnectorCommand.js +16 -0
- package/dist-es/commands/DeleteConnectorCommand.js +16 -0
- package/dist-es/commands/ExecuteConnectorCommand.js +16 -0
- package/dist-es/commands/GetConnectorCommand.js +16 -0
- package/dist-es/commands/GetConnectorDefinitionCommand.js +16 -0
- package/dist-es/commands/ListConnectorDefinitionsCommand.js +16 -0
- package/dist-es/commands/ListConnectorsCommand.js +16 -0
- package/dist-es/commands/ResolveConnectorConfigurationCommand.js +16 -0
- package/dist-es/commands/UpdateConnectorCommand.js +16 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +17 -6
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListConnectorDefinitionsPaginator.js +4 -0
- package/dist-es/pagination/ListConnectorsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/runtimeConfig.shared.js +10 -0
- package/dist-es/schemas/schemas_0.js +338 -55
- package/dist-types/Tools.d.ts +80 -1
- package/dist-types/ToolsClient.d.ts +11 -2
- package/dist-types/commands/CreateConnectorCommand.d.ts +123 -0
- package/dist-types/commands/CreateToolCommand.d.ts +43 -3
- package/dist-types/commands/DeleteConnectorCommand.d.ts +87 -0
- package/dist-types/commands/DeleteToolCommand.d.ts +1 -3
- package/dist-types/commands/DescribeToolsCommand.d.ts +5 -3
- package/dist-types/commands/DiscoverToolsCommand.d.ts +1 -3
- package/dist-types/commands/ExecuteConnectorCommand.d.ts +96 -0
- package/dist-types/commands/ExecuteToolCommand.d.ts +1 -3
- package/dist-types/commands/GetConnectorCommand.d.ts +108 -0
- package/dist-types/commands/GetConnectorDefinitionCommand.d.ts +152 -0
- package/dist-types/commands/GetToolCommand.d.ts +22 -3
- package/dist-types/commands/ListConnectorDefinitionsCommand.d.ts +156 -0
- package/dist-types/commands/ListConnectorsCommand.d.ts +112 -0
- package/dist-types/commands/ListToolsCommand.d.ts +22 -3
- package/dist-types/commands/ResolveConnectorConfigurationCommand.d.ts +102 -0
- package/dist-types/commands/UpdateConnectorCommand.d.ts +124 -0
- package/dist-types/commands/UpdateToolCommand.d.ts +43 -3
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +40 -7
- package/dist-types/models/models_0.d.ts +816 -50
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListConnectorDefinitionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +41 -0
- package/package.json +1 -1
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ResolveConnectorConfigurationInput, ResolveConnectorConfigurationOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, ToolsClientResolvedConfig } from "../ToolsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ResolveConnectorConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ResolveConnectorConfigurationCommandInput extends ResolveConnectorConfigurationInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ResolveConnectorConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ResolveConnectorConfigurationCommandOutput extends ResolveConnectorConfigurationOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ResolveConnectorConfigurationCommand_base: {
|
|
25
|
+
new (input: ResolveConnectorConfigurationCommandInput): import("@smithy/core/client").CommandImpl<ResolveConnectorConfigurationCommandInput, ResolveConnectorConfigurationCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ResolveConnectorConfigurationCommandInput): import("@smithy/core/client").CommandImpl<ResolveConnectorConfigurationCommandInput, ResolveConnectorConfigurationCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Resolves account-dependent configuration fields from current form values.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ToolsClient, ResolveConnectorConfigurationCommand } from "@wildix/wim-tools-client"; // ES Modules import
|
|
35
|
+
* // const { ToolsClient, ResolveConnectorConfigurationCommand } = require("@wildix/wim-tools-client"); // CommonJS import
|
|
36
|
+
* // import type { ToolsClientConfig } from "@wildix/wim-tools-client";
|
|
37
|
+
* const config = {}; // type is ToolsClientConfig
|
|
38
|
+
* const client = new ToolsClient(config);
|
|
39
|
+
* const input = { // ResolveConnectorConfigurationInput
|
|
40
|
+
* companyId: "STRING_VALUE",
|
|
41
|
+
* key: "STRING_VALUE", // required
|
|
42
|
+
* version: "STRING_VALUE", // required
|
|
43
|
+
* values: "DOCUMENT_VALUE", // required
|
|
44
|
+
* authorization: { // ConnectorAuthorization Union: only one key present
|
|
45
|
+
* shared: { // ConnectorSharedAuthorization
|
|
46
|
+
* connectionId: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* user: {},
|
|
49
|
+
* },
|
|
50
|
+
* user: "STRING_VALUE",
|
|
51
|
+
* };
|
|
52
|
+
* const command = new ResolveConnectorConfigurationCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // ResolveConnectorConfigurationOutput
|
|
55
|
+
* // configuration: { // ConnectorConfigurationDefinition
|
|
56
|
+
* // schema: "DOCUMENT_VALUE", // required
|
|
57
|
+
* // uiSchema: "DOCUMENT_VALUE",
|
|
58
|
+
* // initialValues: "DOCUMENT_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param ResolveConnectorConfigurationCommandInput - {@link ResolveConnectorConfigurationCommandInput}
|
|
65
|
+
* @returns {@link ResolveConnectorConfigurationCommandOutput}
|
|
66
|
+
* @see {@link ResolveConnectorConfigurationCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link ResolveConnectorConfigurationCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link ToolsClientResolvedConfig | config} for ToolsClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link NotFoundException} (client fault)
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link AlreadyExistException} (client fault)
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ToolExecutionException} (client fault)
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ToolExecutionServerException} (server fault)
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ToolsServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from Tools service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class ResolveConnectorConfigurationCommand extends ResolveConnectorConfigurationCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: ResolveConnectorConfigurationInput;
|
|
95
|
+
output: ResolveConnectorConfigurationOutput;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: ResolveConnectorConfigurationCommandInput;
|
|
99
|
+
output: ResolveConnectorConfigurationCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
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, ToolsClientResolvedConfig } from "../ToolsClient";
|
|
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, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateConnectorCommandInput): import("@smithy/core/client").CommandImpl<UpdateConnectorCommandInput, UpdateConnectorCommandOutput, ToolsClientResolvedConfig, 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 { ToolsClient, UpdateConnectorCommand } from "@wildix/wim-tools-client"; // ES Modules import
|
|
35
|
+
* // const { ToolsClient, UpdateConnectorCommand } = require("@wildix/wim-tools-client"); // CommonJS import
|
|
36
|
+
* // import type { ToolsClientConfig } from "@wildix/wim-tools-client";
|
|
37
|
+
* const config = {}; // type is ToolsClientConfig
|
|
38
|
+
* const client = new ToolsClient(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
|
+
* connectionId: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* user: {},
|
|
50
|
+
* },
|
|
51
|
+
* name: "STRING_VALUE", // required
|
|
52
|
+
* description: "STRING_VALUE", // required
|
|
53
|
+
* enabledTools: [ // ConnectorEnabledTools // required
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* companyId: "STRING_VALUE",
|
|
57
|
+
* connectorId: "STRING_VALUE", // required
|
|
58
|
+
* };
|
|
59
|
+
* const command = new UpdateConnectorCommand(input);
|
|
60
|
+
* const response = await client.send(command);
|
|
61
|
+
* // { // UpdateConnectorOutput
|
|
62
|
+
* // connector: { // Connector
|
|
63
|
+
* // definition: { // ConnectorDefinitionRef
|
|
64
|
+
* // key: "STRING_VALUE", // required
|
|
65
|
+
* // version: "STRING_VALUE", // required
|
|
66
|
+
* // },
|
|
67
|
+
* // configuration: "DOCUMENT_VALUE", // required
|
|
68
|
+
* // authorization: { // ConnectorAuthorization Union: only one key present
|
|
69
|
+
* // shared: { // ConnectorSharedAuthorization
|
|
70
|
+
* // connectionId: "STRING_VALUE", // required
|
|
71
|
+
* // },
|
|
72
|
+
* // user: {},
|
|
73
|
+
* // },
|
|
74
|
+
* // name: "STRING_VALUE", // required
|
|
75
|
+
* // description: "STRING_VALUE", // required
|
|
76
|
+
* // enabledTools: [ // ConnectorEnabledTools // required
|
|
77
|
+
* // "STRING_VALUE",
|
|
78
|
+
* // ],
|
|
79
|
+
* // id: "STRING_VALUE", // required
|
|
80
|
+
* // companyId: "STRING_VALUE", // required
|
|
81
|
+
* // },
|
|
82
|
+
* // };
|
|
83
|
+
*
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
86
|
+
* @param UpdateConnectorCommandInput - {@link UpdateConnectorCommandInput}
|
|
87
|
+
* @returns {@link UpdateConnectorCommandOutput}
|
|
88
|
+
* @see {@link UpdateConnectorCommandInput} for command's `input` shape.
|
|
89
|
+
* @see {@link UpdateConnectorCommandOutput} for command's `response` shape.
|
|
90
|
+
* @see {@link ToolsClientResolvedConfig | config} for ToolsClient's `config` shape.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ValidationException} (client fault)
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link NotFoundException} (client fault)
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link AlreadyExistException} (client fault)
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ToolExecutionException} (client fault)
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ToolExecutionServerException} (server fault)
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link ToolsServiceException}
|
|
107
|
+
* <p>Base exception class for all service exceptions from Tools service.</p>
|
|
108
|
+
*
|
|
109
|
+
*
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class UpdateConnectorCommand extends UpdateConnectorCommand_base {
|
|
113
|
+
/** @internal type navigation helper, not in runtime. */
|
|
114
|
+
protected static __types: {
|
|
115
|
+
api: {
|
|
116
|
+
input: UpdateConnectorInput;
|
|
117
|
+
output: UpdateConnectorOutput;
|
|
118
|
+
};
|
|
119
|
+
sdk: {
|
|
120
|
+
input: UpdateConnectorCommandInput;
|
|
121
|
+
output: UpdateConnectorCommandOutput;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
}
|
|
@@ -24,9 +24,7 @@ export interface UpdateToolCommandOutput extends UpdateToolOutput, __MetadataBea
|
|
|
24
24
|
declare const UpdateToolCommand_base: {
|
|
25
25
|
new (input: UpdateToolCommandInput): import("@smithy/core/client").CommandImpl<UpdateToolCommandInput, UpdateToolCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: UpdateToolCommandInput): import("@smithy/core/client").CommandImpl<UpdateToolCommandInput, UpdateToolCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Update a tool by its ID.
|
|
@@ -51,6 +49,10 @@ declare const UpdateToolCommand_base: {
|
|
|
51
49
|
* type: "string" || "number" || "boolean" || "string_array" || "number_array" || "schema", // required
|
|
52
50
|
* optional: true || false, // required
|
|
53
51
|
* description: "STRING_VALUE",
|
|
52
|
+
* enum: [ // ToolVariableEnumValues
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* format: "STRING_VALUE",
|
|
54
56
|
* schema: "DOCUMENT_VALUE",
|
|
55
57
|
* },
|
|
56
58
|
* ],
|
|
@@ -132,6 +134,23 @@ declare const UpdateToolCommand_base: {
|
|
|
132
134
|
* message: "STRING_VALUE", // required
|
|
133
135
|
* },
|
|
134
136
|
* },
|
|
137
|
+
* calendar: { // ToolCalendarConfig
|
|
138
|
+
* operation: "get_slots" || "schedule" || "reschedule" || "cancel" || "list_resource_events", // required
|
|
139
|
+
* },
|
|
140
|
+
* connector: { // ToolConnectorHandler
|
|
141
|
+
* definition: { // ConnectorDefinitionRef
|
|
142
|
+
* key: "STRING_VALUE", // required
|
|
143
|
+
* version: "STRING_VALUE", // required
|
|
144
|
+
* },
|
|
145
|
+
* configuration: "DOCUMENT_VALUE", // required
|
|
146
|
+
* authorization: { // ConnectorAuthorization Union: only one key present
|
|
147
|
+
* shared: { // ConnectorSharedAuthorization
|
|
148
|
+
* connectionId: "STRING_VALUE", // required
|
|
149
|
+
* },
|
|
150
|
+
* user: {},
|
|
151
|
+
* },
|
|
152
|
+
* toolId: "STRING_VALUE", // required
|
|
153
|
+
* },
|
|
135
154
|
* mcp: { // ToolMcpHandler
|
|
136
155
|
* serverUrl: "STRING_VALUE", // required
|
|
137
156
|
* authorization: { // ToolMcpAuthorization Union: only one key present
|
|
@@ -168,6 +187,10 @@ declare const UpdateToolCommand_base: {
|
|
|
168
187
|
* // type: "string" || "number" || "boolean" || "string_array" || "number_array" || "schema", // required
|
|
169
188
|
* // optional: true || false, // required
|
|
170
189
|
* // description: "STRING_VALUE",
|
|
190
|
+
* // enum: [ // ToolVariableEnumValues
|
|
191
|
+
* // "STRING_VALUE",
|
|
192
|
+
* // ],
|
|
193
|
+
* // format: "STRING_VALUE",
|
|
171
194
|
* // schema: "DOCUMENT_VALUE",
|
|
172
195
|
* // },
|
|
173
196
|
* // ],
|
|
@@ -249,6 +272,23 @@ declare const UpdateToolCommand_base: {
|
|
|
249
272
|
* // message: "STRING_VALUE", // required
|
|
250
273
|
* // },
|
|
251
274
|
* // },
|
|
275
|
+
* // calendar: { // ToolCalendarConfig
|
|
276
|
+
* // operation: "get_slots" || "schedule" || "reschedule" || "cancel" || "list_resource_events", // required
|
|
277
|
+
* // },
|
|
278
|
+
* // connector: { // ToolConnectorHandler
|
|
279
|
+
* // definition: { // ConnectorDefinitionRef
|
|
280
|
+
* // key: "STRING_VALUE", // required
|
|
281
|
+
* // version: "STRING_VALUE", // required
|
|
282
|
+
* // },
|
|
283
|
+
* // configuration: "DOCUMENT_VALUE", // required
|
|
284
|
+
* // authorization: { // ConnectorAuthorization Union: only one key present
|
|
285
|
+
* // shared: { // ConnectorSharedAuthorization
|
|
286
|
+
* // connectionId: "STRING_VALUE", // required
|
|
287
|
+
* // },
|
|
288
|
+
* // user: {},
|
|
289
|
+
* // },
|
|
290
|
+
* // toolId: "STRING_VALUE", // required
|
|
291
|
+
* // },
|
|
252
292
|
* // mcp: { // ToolMcpHandler
|
|
253
293
|
* // serverUrl: "STRING_VALUE", // required
|
|
254
294
|
* // authorization: { // ToolMcpAuthorization Union: only one key present
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
+
export * from "./CreateConnectorCommand";
|
|
1
2
|
export * from "./CreateToolCommand";
|
|
3
|
+
export * from "./DeleteConnectorCommand";
|
|
2
4
|
export * from "./DeleteToolCommand";
|
|
3
5
|
export * from "./DescribeToolsCommand";
|
|
4
6
|
export * from "./DiscoverToolsCommand";
|
|
7
|
+
export * from "./ExecuteConnectorCommand";
|
|
5
8
|
export * from "./ExecuteToolCommand";
|
|
9
|
+
export * from "./GetConnectorCommand";
|
|
10
|
+
export * from "./GetConnectorDefinitionCommand";
|
|
6
11
|
export * from "./GetToolCommand";
|
|
12
|
+
export * from "./ListConnectorDefinitionsCommand";
|
|
13
|
+
export * from "./ListConnectorsCommand";
|
|
7
14
|
export * from "./ListToolsCommand";
|
|
15
|
+
export * from "./ResolveConnectorConfigurationCommand";
|
|
16
|
+
export * from "./UpdateConnectorCommand";
|
|
8
17
|
export * from "./UpdateToolCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export type { ToolsExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./schemas/schemas_0";
|
|
8
|
+
export * from "./pagination";
|
|
8
9
|
export * from "./models/enums";
|
|
9
10
|
export * from "./models/errors";
|
|
10
11
|
export * from "./models/models_0";
|
|
@@ -2,17 +2,20 @@
|
|
|
2
2
|
* @public
|
|
3
3
|
* @enum
|
|
4
4
|
*/
|
|
5
|
-
export declare const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
readonly
|
|
10
|
-
|
|
5
|
+
export declare const ConnectorAuthorizationMode: {
|
|
6
|
+
/**
|
|
7
|
+
* One company-managed connection is used for all executions.
|
|
8
|
+
*/
|
|
9
|
+
readonly SHARED: "shared";
|
|
10
|
+
/**
|
|
11
|
+
* The connection is resolved from the executing user.
|
|
12
|
+
*/
|
|
13
|
+
readonly USER: "user";
|
|
11
14
|
};
|
|
12
15
|
/**
|
|
13
16
|
* @public
|
|
14
17
|
*/
|
|
15
|
-
export type
|
|
18
|
+
export type ConnectorAuthorizationMode = (typeof ConnectorAuthorizationMode)[keyof typeof ConnectorAuthorizationMode];
|
|
16
19
|
/**
|
|
17
20
|
* @public
|
|
18
21
|
* @enum
|
|
@@ -29,3 +32,33 @@ export declare const ToolVariableType: {
|
|
|
29
32
|
* @public
|
|
30
33
|
*/
|
|
31
34
|
export type ToolVariableType = (typeof ToolVariableType)[keyof typeof ToolVariableType];
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
* @enum
|
|
38
|
+
*/
|
|
39
|
+
export declare const ToolCalendarOperation: {
|
|
40
|
+
readonly CANCEL: "cancel";
|
|
41
|
+
readonly GET_SLOTS: "get_slots";
|
|
42
|
+
readonly LIST_RESOURCE_EVENTS: "list_resource_events";
|
|
43
|
+
readonly RESCHEDULE: "reschedule";
|
|
44
|
+
readonly SCHEDULE: "schedule";
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export type ToolCalendarOperation = (typeof ToolCalendarOperation)[keyof typeof ToolCalendarOperation];
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
* @enum
|
|
53
|
+
*/
|
|
54
|
+
export declare const ToolWebhookMethod: {
|
|
55
|
+
readonly DELETE: "DELETE";
|
|
56
|
+
readonly GET: "GET";
|
|
57
|
+
readonly PATCH: "PATCH";
|
|
58
|
+
readonly POST: "POST";
|
|
59
|
+
readonly PUT: "PUT";
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export type ToolWebhookMethod = (typeof ToolWebhookMethod)[keyof typeof ToolWebhookMethod];
|