@wildix/wim-tools-client 4.0.2 → 4.0.5

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 (65) hide show
  1. package/dist-cjs/Tools.js +27 -1
  2. package/dist-cjs/commands/CreateConnectorCommand.js +20 -0
  3. package/dist-cjs/commands/CreateConnectorSessionCommand.js +20 -0
  4. package/dist-cjs/commands/DeleteConnectorCommand.js +20 -0
  5. package/dist-cjs/commands/ExecuteConnectorCommand.js +20 -0
  6. package/dist-cjs/commands/GetConnectorCommand.js +20 -0
  7. package/dist-cjs/commands/GetConnectorDefinitionCommand.js +20 -0
  8. package/dist-cjs/commands/ListConnectorDefinitionsCommand.js +20 -0
  9. package/dist-cjs/commands/ListConnectorsCommand.js +20 -0
  10. package/dist-cjs/commands/ResolveConnectorConfigurationCommand.js +20 -0
  11. package/dist-cjs/commands/UpdateConnectorCommand.js +20 -0
  12. package/dist-cjs/commands/index.js +10 -0
  13. package/dist-cjs/index.js +1 -0
  14. package/dist-cjs/models/enums.js +18 -7
  15. package/dist-cjs/pagination/Interfaces.js +2 -0
  16. package/dist-cjs/pagination/ListConnectorDefinitionsPaginator.js +7 -0
  17. package/dist-cjs/pagination/ListConnectorsPaginator.js +7 -0
  18. package/dist-cjs/pagination/index.js +6 -0
  19. package/dist-cjs/schemas/schemas_0.js +360 -57
  20. package/dist-es/Tools.js +27 -1
  21. package/dist-es/commands/CreateConnectorCommand.js +16 -0
  22. package/dist-es/commands/CreateConnectorSessionCommand.js +16 -0
  23. package/dist-es/commands/DeleteConnectorCommand.js +16 -0
  24. package/dist-es/commands/ExecuteConnectorCommand.js +16 -0
  25. package/dist-es/commands/GetConnectorCommand.js +16 -0
  26. package/dist-es/commands/GetConnectorDefinitionCommand.js +16 -0
  27. package/dist-es/commands/ListConnectorDefinitionsCommand.js +16 -0
  28. package/dist-es/commands/ListConnectorsCommand.js +16 -0
  29. package/dist-es/commands/ResolveConnectorConfigurationCommand.js +16 -0
  30. package/dist-es/commands/UpdateConnectorCommand.js +16 -0
  31. package/dist-es/commands/index.js +10 -0
  32. package/dist-es/index.js +1 -0
  33. package/dist-es/models/enums.js +17 -6
  34. package/dist-es/pagination/Interfaces.js +1 -0
  35. package/dist-es/pagination/ListConnectorDefinitionsPaginator.js +4 -0
  36. package/dist-es/pagination/ListConnectorsPaginator.js +4 -0
  37. package/dist-es/pagination/index.js +3 -0
  38. package/dist-es/schemas/schemas_0.js +357 -55
  39. package/dist-types/Tools.d.ts +87 -1
  40. package/dist-types/ToolsClient.d.ts +12 -2
  41. package/dist-types/commands/CreateConnectorCommand.d.ts +123 -0
  42. package/dist-types/commands/CreateConnectorSessionCommand.d.ts +95 -0
  43. package/dist-types/commands/CreateToolCommand.d.ts +42 -0
  44. package/dist-types/commands/DeleteConnectorCommand.d.ts +87 -0
  45. package/dist-types/commands/DescribeToolsCommand.d.ts +4 -0
  46. package/dist-types/commands/ExecuteConnectorCommand.d.ts +96 -0
  47. package/dist-types/commands/GetConnectorCommand.d.ts +108 -0
  48. package/dist-types/commands/GetConnectorDefinitionCommand.d.ts +152 -0
  49. package/dist-types/commands/GetToolCommand.d.ts +21 -0
  50. package/dist-types/commands/ListConnectorDefinitionsCommand.d.ts +156 -0
  51. package/dist-types/commands/ListConnectorsCommand.d.ts +112 -0
  52. package/dist-types/commands/ListToolsCommand.d.ts +21 -0
  53. package/dist-types/commands/ResolveConnectorConfigurationCommand.d.ts +102 -0
  54. package/dist-types/commands/UpdateConnectorCommand.d.ts +124 -0
  55. package/dist-types/commands/UpdateToolCommand.d.ts +42 -0
  56. package/dist-types/commands/index.d.ts +10 -0
  57. package/dist-types/index.d.ts +1 -0
  58. package/dist-types/models/enums.d.ts +40 -7
  59. package/dist-types/models/models_0.d.ts +861 -50
  60. package/dist-types/pagination/Interfaces.d.ts +8 -0
  61. package/dist-types/pagination/ListConnectorDefinitionsPaginator.d.ts +7 -0
  62. package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
  63. package/dist-types/pagination/index.d.ts +3 -0
  64. package/dist-types/schemas/schemas_0.d.ts +44 -0
  65. package/package.json +1 -1
@@ -1,20 +1,48 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
2
+ import { type CreateConnectorCommandInput, type CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
3
+ import { type CreateConnectorSessionCommandInput, type CreateConnectorSessionCommandOutput } from "./commands/CreateConnectorSessionCommand";
2
4
  import { type CreateToolCommandInput, type CreateToolCommandOutput } from "./commands/CreateToolCommand";
5
+ import { type DeleteConnectorCommandInput, type DeleteConnectorCommandOutput } from "./commands/DeleteConnectorCommand";
3
6
  import { type DeleteToolCommandInput, type DeleteToolCommandOutput } from "./commands/DeleteToolCommand";
4
7
  import { type DescribeToolsCommandInput, type DescribeToolsCommandOutput } from "./commands/DescribeToolsCommand";
5
8
  import { type DiscoverToolsCommandInput, type DiscoverToolsCommandOutput } from "./commands/DiscoverToolsCommand";
9
+ import { type ExecuteConnectorCommandInput, type ExecuteConnectorCommandOutput } from "./commands/ExecuteConnectorCommand";
6
10
  import { type ExecuteToolCommandInput, type ExecuteToolCommandOutput } from "./commands/ExecuteToolCommand";
11
+ import { type GetConnectorCommandInput, type GetConnectorCommandOutput } from "./commands/GetConnectorCommand";
12
+ import { type GetConnectorDefinitionCommandInput, type GetConnectorDefinitionCommandOutput } from "./commands/GetConnectorDefinitionCommand";
7
13
  import { type GetToolCommandInput, type GetToolCommandOutput } from "./commands/GetToolCommand";
14
+ import { type ListConnectorDefinitionsCommandInput, type ListConnectorDefinitionsCommandOutput } from "./commands/ListConnectorDefinitionsCommand";
15
+ import { type ListConnectorsCommandInput, type ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
8
16
  import { type ListToolsCommandInput, type ListToolsCommandOutput } from "./commands/ListToolsCommand";
17
+ import { type ResolveConnectorConfigurationCommandInput, type ResolveConnectorConfigurationCommandOutput } from "./commands/ResolveConnectorConfigurationCommand";
18
+ import { type UpdateConnectorCommandInput, type UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
9
19
  import { type UpdateToolCommandInput, type UpdateToolCommandOutput } from "./commands/UpdateToolCommand";
10
20
  import { ToolsClient } from "./ToolsClient";
11
21
  export interface Tools {
22
+ /**
23
+ * @see {@link CreateConnectorCommand}
24
+ */
25
+ createConnector(args: CreateConnectorCommandInput, options?: __HttpHandlerOptions): Promise<CreateConnectorCommandOutput>;
26
+ createConnector(args: CreateConnectorCommandInput, cb: (err: any, data?: CreateConnectorCommandOutput) => void): void;
27
+ createConnector(args: CreateConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConnectorCommandOutput) => void): void;
28
+ /**
29
+ * @see {@link CreateConnectorSessionCommand}
30
+ */
31
+ createConnectorSession(args: CreateConnectorSessionCommandInput, options?: __HttpHandlerOptions): Promise<CreateConnectorSessionCommandOutput>;
32
+ createConnectorSession(args: CreateConnectorSessionCommandInput, cb: (err: any, data?: CreateConnectorSessionCommandOutput) => void): void;
33
+ createConnectorSession(args: CreateConnectorSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConnectorSessionCommandOutput) => void): void;
12
34
  /**
13
35
  * @see {@link CreateToolCommand}
14
36
  */
15
37
  createTool(args: CreateToolCommandInput, options?: __HttpHandlerOptions): Promise<CreateToolCommandOutput>;
16
38
  createTool(args: CreateToolCommandInput, cb: (err: any, data?: CreateToolCommandOutput) => void): void;
17
39
  createTool(args: CreateToolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateToolCommandOutput) => void): void;
40
+ /**
41
+ * @see {@link DeleteConnectorCommand}
42
+ */
43
+ deleteConnector(args: DeleteConnectorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConnectorCommandOutput>;
44
+ deleteConnector(args: DeleteConnectorCommandInput, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
45
+ deleteConnector(args: DeleteConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
18
46
  /**
19
47
  * @see {@link DeleteToolCommand}
20
48
  */
@@ -33,18 +61,50 @@ export interface Tools {
33
61
  discoverTools(args: DiscoverToolsCommandInput, options?: __HttpHandlerOptions): Promise<DiscoverToolsCommandOutput>;
34
62
  discoverTools(args: DiscoverToolsCommandInput, cb: (err: any, data?: DiscoverToolsCommandOutput) => void): void;
35
63
  discoverTools(args: DiscoverToolsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DiscoverToolsCommandOutput) => void): void;
64
+ /**
65
+ * @see {@link ExecuteConnectorCommand}
66
+ */
67
+ executeConnector(args: ExecuteConnectorCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteConnectorCommandOutput>;
68
+ executeConnector(args: ExecuteConnectorCommandInput, cb: (err: any, data?: ExecuteConnectorCommandOutput) => void): void;
69
+ executeConnector(args: ExecuteConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteConnectorCommandOutput) => void): void;
36
70
  /**
37
71
  * @see {@link ExecuteToolCommand}
38
72
  */
39
73
  executeTool(args: ExecuteToolCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteToolCommandOutput>;
40
74
  executeTool(args: ExecuteToolCommandInput, cb: (err: any, data?: ExecuteToolCommandOutput) => void): void;
41
75
  executeTool(args: ExecuteToolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteToolCommandOutput) => void): void;
76
+ /**
77
+ * @see {@link GetConnectorCommand}
78
+ */
79
+ getConnector(args: GetConnectorCommandInput, options?: __HttpHandlerOptions): Promise<GetConnectorCommandOutput>;
80
+ getConnector(args: GetConnectorCommandInput, cb: (err: any, data?: GetConnectorCommandOutput) => void): void;
81
+ getConnector(args: GetConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConnectorCommandOutput) => void): void;
82
+ /**
83
+ * @see {@link GetConnectorDefinitionCommand}
84
+ */
85
+ getConnectorDefinition(args: GetConnectorDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<GetConnectorDefinitionCommandOutput>;
86
+ getConnectorDefinition(args: GetConnectorDefinitionCommandInput, cb: (err: any, data?: GetConnectorDefinitionCommandOutput) => void): void;
87
+ getConnectorDefinition(args: GetConnectorDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConnectorDefinitionCommandOutput) => void): void;
42
88
  /**
43
89
  * @see {@link GetToolCommand}
44
90
  */
45
91
  getTool(args: GetToolCommandInput, options?: __HttpHandlerOptions): Promise<GetToolCommandOutput>;
46
92
  getTool(args: GetToolCommandInput, cb: (err: any, data?: GetToolCommandOutput) => void): void;
47
93
  getTool(args: GetToolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetToolCommandOutput) => void): void;
94
+ /**
95
+ * @see {@link ListConnectorDefinitionsCommand}
96
+ */
97
+ listConnectorDefinitions(): Promise<ListConnectorDefinitionsCommandOutput>;
98
+ listConnectorDefinitions(args: ListConnectorDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectorDefinitionsCommandOutput>;
99
+ listConnectorDefinitions(args: ListConnectorDefinitionsCommandInput, cb: (err: any, data?: ListConnectorDefinitionsCommandOutput) => void): void;
100
+ listConnectorDefinitions(args: ListConnectorDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectorDefinitionsCommandOutput) => void): void;
101
+ /**
102
+ * @see {@link ListConnectorsCommand}
103
+ */
104
+ listConnectors(): Promise<ListConnectorsCommandOutput>;
105
+ listConnectors(args: ListConnectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectorsCommandOutput>;
106
+ listConnectors(args: ListConnectorsCommandInput, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
107
+ listConnectors(args: ListConnectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
48
108
  /**
49
109
  * @see {@link ListToolsCommand}
50
110
  */
@@ -52,12 +112,38 @@ export interface Tools {
52
112
  listTools(args: ListToolsCommandInput, options?: __HttpHandlerOptions): Promise<ListToolsCommandOutput>;
53
113
  listTools(args: ListToolsCommandInput, cb: (err: any, data?: ListToolsCommandOutput) => void): void;
54
114
  listTools(args: ListToolsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListToolsCommandOutput) => void): void;
115
+ /**
116
+ * @see {@link ResolveConnectorConfigurationCommand}
117
+ */
118
+ resolveConnectorConfiguration(args: ResolveConnectorConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<ResolveConnectorConfigurationCommandOutput>;
119
+ resolveConnectorConfiguration(args: ResolveConnectorConfigurationCommandInput, cb: (err: any, data?: ResolveConnectorConfigurationCommandOutput) => void): void;
120
+ resolveConnectorConfiguration(args: ResolveConnectorConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResolveConnectorConfigurationCommandOutput) => void): void;
121
+ /**
122
+ * @see {@link UpdateConnectorCommand}
123
+ */
124
+ updateConnector(args: UpdateConnectorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectorCommandOutput>;
125
+ updateConnector(args: UpdateConnectorCommandInput, cb: (err: any, data?: UpdateConnectorCommandOutput) => void): void;
126
+ updateConnector(args: UpdateConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectorCommandOutput) => void): void;
55
127
  /**
56
128
  * @see {@link UpdateToolCommand}
57
129
  */
58
130
  updateTool(args: UpdateToolCommandInput, options?: __HttpHandlerOptions): Promise<UpdateToolCommandOutput>;
59
131
  updateTool(args: UpdateToolCommandInput, cb: (err: any, data?: UpdateToolCommandOutput) => void): void;
60
132
  updateTool(args: UpdateToolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateToolCommandOutput) => void): void;
133
+ /**
134
+ * @see {@link ListConnectorDefinitionsCommand}
135
+ * @param args - command input.
136
+ * @param paginationConfig - optional pagination config.
137
+ * @returns AsyncIterable of {@link ListConnectorDefinitionsCommandOutput}.
138
+ */
139
+ paginateListConnectorDefinitions(args?: ListConnectorDefinitionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConnectorDefinitionsCommandOutput>;
140
+ /**
141
+ * @see {@link ListConnectorsCommand}
142
+ * @param args - command input.
143
+ * @param paginationConfig - optional pagination config.
144
+ * @returns AsyncIterable of {@link ListConnectorsCommandOutput}.
145
+ */
146
+ paginateListConnectors(args?: ListConnectorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConnectorsCommandOutput>;
61
147
  }
62
148
  /**
63
149
  * @public
@@ -5,13 +5,23 @@ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/cor
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
6
6
  import type { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
7
7
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
8
+ import type { CreateConnectorCommandInput, CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
9
+ import type { CreateConnectorSessionCommandInput, CreateConnectorSessionCommandOutput } from "./commands/CreateConnectorSessionCommand";
8
10
  import type { CreateToolCommandInput, CreateToolCommandOutput } from "./commands/CreateToolCommand";
11
+ import type { DeleteConnectorCommandInput, DeleteConnectorCommandOutput } from "./commands/DeleteConnectorCommand";
9
12
  import type { DeleteToolCommandInput, DeleteToolCommandOutput } from "./commands/DeleteToolCommand";
10
13
  import type { DescribeToolsCommandInput, DescribeToolsCommandOutput } from "./commands/DescribeToolsCommand";
11
14
  import type { DiscoverToolsCommandInput, DiscoverToolsCommandOutput } from "./commands/DiscoverToolsCommand";
15
+ import type { ExecuteConnectorCommandInput, ExecuteConnectorCommandOutput } from "./commands/ExecuteConnectorCommand";
12
16
  import type { ExecuteToolCommandInput, ExecuteToolCommandOutput } from "./commands/ExecuteToolCommand";
17
+ import type { GetConnectorCommandInput, GetConnectorCommandOutput } from "./commands/GetConnectorCommand";
18
+ import type { GetConnectorDefinitionCommandInput, GetConnectorDefinitionCommandOutput } from "./commands/GetConnectorDefinitionCommand";
13
19
  import type { GetToolCommandInput, GetToolCommandOutput } from "./commands/GetToolCommand";
20
+ import type { ListConnectorDefinitionsCommandInput, ListConnectorDefinitionsCommandOutput } from "./commands/ListConnectorDefinitionsCommand";
21
+ import type { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
14
22
  import type { ListToolsCommandInput, ListToolsCommandOutput } from "./commands/ListToolsCommand";
23
+ import type { ResolveConnectorConfigurationCommandInput, ResolveConnectorConfigurationCommandOutput } from "./commands/ResolveConnectorConfigurationCommand";
24
+ import type { UpdateConnectorCommandInput, UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
15
25
  import type { UpdateToolCommandInput, UpdateToolCommandOutput } from "./commands/UpdateToolCommand";
16
26
  import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
17
27
  import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
@@ -19,11 +29,11 @@ export { __Client };
19
29
  /**
20
30
  * @public
21
31
  */
22
- export type ServiceInputTypes = CreateToolCommandInput | DeleteToolCommandInput | DescribeToolsCommandInput | DiscoverToolsCommandInput | ExecuteToolCommandInput | GetToolCommandInput | ListToolsCommandInput | UpdateToolCommandInput;
32
+ export type ServiceInputTypes = CreateConnectorCommandInput | CreateConnectorSessionCommandInput | CreateToolCommandInput | DeleteConnectorCommandInput | DeleteToolCommandInput | DescribeToolsCommandInput | DiscoverToolsCommandInput | ExecuteConnectorCommandInput | ExecuteToolCommandInput | GetConnectorCommandInput | GetConnectorDefinitionCommandInput | GetToolCommandInput | ListConnectorDefinitionsCommandInput | ListConnectorsCommandInput | ListToolsCommandInput | ResolveConnectorConfigurationCommandInput | UpdateConnectorCommandInput | UpdateToolCommandInput;
23
33
  /**
24
34
  * @public
25
35
  */
26
- export type ServiceOutputTypes = CreateToolCommandOutput | DeleteToolCommandOutput | DescribeToolsCommandOutput | DiscoverToolsCommandOutput | ExecuteToolCommandOutput | GetToolCommandOutput | ListToolsCommandOutput | UpdateToolCommandOutput;
36
+ export type ServiceOutputTypes = CreateConnectorCommandOutput | CreateConnectorSessionCommandOutput | CreateToolCommandOutput | DeleteConnectorCommandOutput | DeleteToolCommandOutput | DescribeToolsCommandOutput | DiscoverToolsCommandOutput | ExecuteConnectorCommandOutput | ExecuteToolCommandOutput | GetConnectorCommandOutput | GetConnectorDefinitionCommandOutput | GetToolCommandOutput | ListConnectorDefinitionsCommandOutput | ListConnectorsCommandOutput | ListToolsCommandOutput | ResolveConnectorConfigurationCommandOutput | UpdateConnectorCommandOutput | UpdateToolCommandOutput;
27
37
  /**
28
38
  * @public
29
39
  */
@@ -0,0 +1,123 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateConnectorInput, CreateConnectorOutput } 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 CreateConnectorCommand}.
14
+ */
15
+ export interface CreateConnectorCommandInput extends CreateConnectorInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateConnectorCommand}.
21
+ */
22
+ export interface CreateConnectorCommandOutput extends CreateConnectorOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateConnectorCommand_base: {
25
+ new (input: CreateConnectorCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectorCommandInput, CreateConnectorCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateConnectorCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectorCommandInput, CreateConnectorCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Creates a company-owned connector from a server definition.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ToolsClient, CreateConnectorCommand } from "@wildix/wim-tools-client"; // ES Modules import
35
+ * // const { ToolsClient, CreateConnectorCommand } = 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 = { // CreateConnectorInput
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
+ * };
58
+ * const command = new CreateConnectorCommand(input);
59
+ * const response = await client.send(command);
60
+ * // { // CreateConnectorOutput
61
+ * // connector: { // Connector
62
+ * // definition: { // ConnectorDefinitionRef
63
+ * // key: "STRING_VALUE", // required
64
+ * // version: "STRING_VALUE", // required
65
+ * // },
66
+ * // configuration: "DOCUMENT_VALUE", // required
67
+ * // authorization: { // ConnectorAuthorization Union: only one key present
68
+ * // shared: { // ConnectorSharedAuthorization
69
+ * // connectionId: "STRING_VALUE", // required
70
+ * // },
71
+ * // user: {},
72
+ * // },
73
+ * // name: "STRING_VALUE", // required
74
+ * // description: "STRING_VALUE", // required
75
+ * // enabledTools: [ // ConnectorEnabledTools // required
76
+ * // "STRING_VALUE",
77
+ * // ],
78
+ * // id: "STRING_VALUE", // required
79
+ * // companyId: "STRING_VALUE", // required
80
+ * // },
81
+ * // };
82
+ *
83
+ * ```
84
+ *
85
+ * @param CreateConnectorCommandInput - {@link CreateConnectorCommandInput}
86
+ * @returns {@link CreateConnectorCommandOutput}
87
+ * @see {@link CreateConnectorCommandInput} for command's `input` shape.
88
+ * @see {@link CreateConnectorCommandOutput} for command's `response` shape.
89
+ * @see {@link ToolsClientResolvedConfig | config} for ToolsClient's `config` shape.
90
+ *
91
+ * @throws {@link ValidationException} (client fault)
92
+ *
93
+ * @throws {@link NotFoundException} (client fault)
94
+ *
95
+ * @throws {@link AlreadyExistException} (client fault)
96
+ *
97
+ * @throws {@link ForbiddenException} (client fault)
98
+ *
99
+ * @throws {@link UnauthorizedException} (client fault)
100
+ *
101
+ * @throws {@link ToolExecutionException} (client fault)
102
+ *
103
+ * @throws {@link ToolExecutionServerException} (server fault)
104
+ *
105
+ * @throws {@link ToolsServiceException}
106
+ * <p>Base exception class for all service exceptions from Tools service.</p>
107
+ *
108
+ *
109
+ * @public
110
+ */
111
+ export declare class CreateConnectorCommand extends CreateConnectorCommand_base {
112
+ /** @internal type navigation helper, not in runtime. */
113
+ protected static __types: {
114
+ api: {
115
+ input: CreateConnectorInput;
116
+ output: CreateConnectorOutput;
117
+ };
118
+ sdk: {
119
+ input: CreateConnectorCommandInput;
120
+ output: CreateConnectorCommandOutput;
121
+ };
122
+ };
123
+ }
@@ -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 { CreateConnectorSessionInput, CreateConnectorSessionOutput } 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 CreateConnectorSessionCommand}.
14
+ */
15
+ export interface CreateConnectorSessionCommandInput extends CreateConnectorSessionInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateConnectorSessionCommand}.
21
+ */
22
+ export interface CreateConnectorSessionCommandOutput extends CreateConnectorSessionOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateConnectorSessionCommand_base: {
25
+ new (input: CreateConnectorSessionCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectorSessionCommandInput, CreateConnectorSessionCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateConnectorSessionCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectorSessionCommandInput, CreateConnectorSessionCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Creates a Nango connect session for a connector definition. Management clients use
31
+ * the returned session to run the OAuth popup and obtain a connection id for shared
32
+ * authorization; no Connector or Integration resource is created here.
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { ToolsClient, CreateConnectorSessionCommand } from "@wildix/wim-tools-client"; // ES Modules import
37
+ * // const { ToolsClient, CreateConnectorSessionCommand } = require("@wildix/wim-tools-client"); // CommonJS import
38
+ * // import type { ToolsClientConfig } from "@wildix/wim-tools-client";
39
+ * const config = {}; // type is ToolsClientConfig
40
+ * const client = new ToolsClient(config);
41
+ * const input = { // CreateConnectorSessionInput
42
+ * companyId: "STRING_VALUE",
43
+ * key: "STRING_VALUE", // required
44
+ * version: "STRING_VALUE", // required
45
+ * user: "STRING_VALUE",
46
+ * };
47
+ * const command = new CreateConnectorSessionCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // CreateConnectorSessionOutput
50
+ * // sessionToken: "STRING_VALUE", // required
51
+ * // providerConfigKey: "STRING_VALUE", // required
52
+ * // nangoHost: "STRING_VALUE", // required
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param CreateConnectorSessionCommandInput - {@link CreateConnectorSessionCommandInput}
58
+ * @returns {@link CreateConnectorSessionCommandOutput}
59
+ * @see {@link CreateConnectorSessionCommandInput} for command's `input` shape.
60
+ * @see {@link CreateConnectorSessionCommandOutput} for command's `response` shape.
61
+ * @see {@link ToolsClientResolvedConfig | config} for ToolsClient's `config` shape.
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ *
65
+ * @throws {@link NotFoundException} (client fault)
66
+ *
67
+ * @throws {@link ForbiddenException} (client fault)
68
+ *
69
+ * @throws {@link UnauthorizedException} (client fault)
70
+ *
71
+ * @throws {@link AlreadyExistException} (client fault)
72
+ *
73
+ * @throws {@link ToolExecutionException} (client fault)
74
+ *
75
+ * @throws {@link ToolExecutionServerException} (server fault)
76
+ *
77
+ * @throws {@link ToolsServiceException}
78
+ * <p>Base exception class for all service exceptions from Tools service.</p>
79
+ *
80
+ *
81
+ * @public
82
+ */
83
+ export declare class CreateConnectorSessionCommand extends CreateConnectorSessionCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: CreateConnectorSessionInput;
88
+ output: CreateConnectorSessionOutput;
89
+ };
90
+ sdk: {
91
+ input: CreateConnectorSessionCommandInput;
92
+ output: CreateConnectorSessionCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -48,6 +48,10 @@ declare const CreateToolCommand_base: {
48
48
  * type: "string" || "number" || "boolean" || "string_array" || "number_array" || "schema", // required
49
49
  * optional: true || false, // required
50
50
  * description: "STRING_VALUE",
51
+ * enum: [ // ToolVariableEnumValues
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * format: "STRING_VALUE",
51
55
  * schema: "DOCUMENT_VALUE",
52
56
  * },
53
57
  * ],
@@ -129,6 +133,23 @@ declare const CreateToolCommand_base: {
129
133
  * message: "STRING_VALUE", // required
130
134
  * },
131
135
  * },
136
+ * calendar: { // ToolCalendarConfig
137
+ * operation: "get_slots" || "schedule" || "reschedule" || "cancel" || "list_resource_events", // required
138
+ * },
139
+ * connector: { // ToolConnectorHandler
140
+ * definition: { // ConnectorDefinitionRef
141
+ * key: "STRING_VALUE", // required
142
+ * version: "STRING_VALUE", // required
143
+ * },
144
+ * configuration: "DOCUMENT_VALUE", // required
145
+ * authorization: { // ConnectorAuthorization Union: only one key present
146
+ * shared: { // ConnectorSharedAuthorization
147
+ * connectionId: "STRING_VALUE", // required
148
+ * },
149
+ * user: {},
150
+ * },
151
+ * toolId: "STRING_VALUE", // required
152
+ * },
132
153
  * mcp: { // ToolMcpHandler
133
154
  * serverUrl: "STRING_VALUE", // required
134
155
  * authorization: { // ToolMcpAuthorization Union: only one key present
@@ -165,6 +186,10 @@ declare const CreateToolCommand_base: {
165
186
  * // type: "string" || "number" || "boolean" || "string_array" || "number_array" || "schema", // required
166
187
  * // optional: true || false, // required
167
188
  * // description: "STRING_VALUE",
189
+ * // enum: [ // ToolVariableEnumValues
190
+ * // "STRING_VALUE",
191
+ * // ],
192
+ * // format: "STRING_VALUE",
168
193
  * // schema: "DOCUMENT_VALUE",
169
194
  * // },
170
195
  * // ],
@@ -246,6 +271,23 @@ declare const CreateToolCommand_base: {
246
271
  * // message: "STRING_VALUE", // required
247
272
  * // },
248
273
  * // },
274
+ * // calendar: { // ToolCalendarConfig
275
+ * // operation: "get_slots" || "schedule" || "reschedule" || "cancel" || "list_resource_events", // required
276
+ * // },
277
+ * // connector: { // ToolConnectorHandler
278
+ * // definition: { // ConnectorDefinitionRef
279
+ * // key: "STRING_VALUE", // required
280
+ * // version: "STRING_VALUE", // required
281
+ * // },
282
+ * // configuration: "DOCUMENT_VALUE", // required
283
+ * // authorization: { // ConnectorAuthorization Union: only one key present
284
+ * // shared: { // ConnectorSharedAuthorization
285
+ * // connectionId: "STRING_VALUE", // required
286
+ * // },
287
+ * // user: {},
288
+ * // },
289
+ * // toolId: "STRING_VALUE", // required
290
+ * // },
249
291
  * // mcp: { // ToolMcpHandler
250
292
  * // serverUrl: "STRING_VALUE", // required
251
293
  * // authorization: { // ToolMcpAuthorization Union: only one key present
@@ -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, ToolsClientResolvedConfig } from "../ToolsClient";
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, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteConnectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectorCommandInput, DeleteConnectorCommandOutput, ToolsClientResolvedConfig, 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 { ToolsClient, DeleteConnectorCommand } from "@wildix/wim-tools-client"; // ES Modules import
35
+ * // const { ToolsClient, DeleteConnectorCommand } = 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 = { // 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 ToolsClientResolvedConfig | config} for ToolsClient'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 ToolsServiceException}
70
+ * <p>Base exception class for all service exceptions from Tools 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
+ }
@@ -56,6 +56,10 @@ declare const DescribeToolsCommand_base: {
56
56
  * // type: "string" || "number" || "boolean" || "string_array" || "number_array" || "schema", // required
57
57
  * // optional: true || false, // required
58
58
  * // description: "STRING_VALUE",
59
+ * // enum: [ // ToolVariableEnumValues
60
+ * // "STRING_VALUE",
61
+ * // ],
62
+ * // format: "STRING_VALUE",
59
63
  * // schema: "DOCUMENT_VALUE",
60
64
  * // },
61
65
  * // ],