@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.
- package/dist-cjs/WilmaTools.js +55 -0
- package/dist-cjs/WilmaToolsClient.js +51 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/commands/CreateConnectorCommand.js +20 -0
- package/dist-cjs/commands/CreateToolCommand.js +20 -0
- package/dist-cjs/commands/DeleteConnectorCommand.js +20 -0
- package/dist-cjs/commands/DeleteToolCommand.js +20 -0
- package/dist-cjs/commands/DescribeCapabilitiesCommand.js +20 -0
- package/dist-cjs/commands/DescribeConnectorsCommand.js +20 -0
- package/dist-cjs/commands/DescribeToolsCommand.js +20 -0
- package/dist-cjs/commands/DiscoverToolsCommand.js +20 -0
- package/dist-cjs/commands/ExecuteConnectorCommand.js +20 -0
- package/dist-cjs/commands/ExecuteToolCommand.js +20 -0
- package/dist-cjs/commands/GetConnectorCommand.js +20 -0
- package/dist-cjs/commands/GetConnectorDefinitionCommand.js +20 -0
- package/dist-cjs/commands/GetToolCommand.js +20 -0
- package/dist-cjs/commands/ListConnectorDefinitionsCommand.js +20 -0
- package/dist-cjs/commands/ListConnectorsCommand.js +20 -0
- package/dist-cjs/commands/ListToolsCommand.js +20 -0
- package/dist-cjs/commands/ResolveConnectorConfigurationCommand.js +20 -0
- package/dist-cjs/commands/UpdateConnectorCommand.js +20 -0
- package/dist-cjs/commands/UpdateToolCommand.js +20 -0
- package/dist-cjs/commands/index.js +22 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/bdd.js +28 -0
- package/dist-cjs/endpoint/endpointResolver.js +16 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +14 -0
- package/dist-cjs/models/WilmaToolsServiceException.js +12 -0
- package/dist-cjs/models/enums.js +12 -0
- package/dist-cjs/models/errors.js +116 -0
- package/dist-cjs/models/models_0.js +2 -0
- 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.browser.js +32 -0
- package/dist-cjs/runtimeConfig.js +41 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +51 -0
- package/dist-cjs/runtimeExtensions.js +12 -0
- package/dist-cjs/schemas/schemas_0.js +690 -0
- package/dist-es/WilmaTools.js +51 -0
- package/dist-es/WilmaToolsClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/CreateConnectorCommand.js +16 -0
- package/dist-es/commands/CreateToolCommand.js +16 -0
- package/dist-es/commands/DeleteConnectorCommand.js +16 -0
- package/dist-es/commands/DeleteToolCommand.js +16 -0
- package/dist-es/commands/DescribeCapabilitiesCommand.js +16 -0
- package/dist-es/commands/DescribeConnectorsCommand.js +16 -0
- package/dist-es/commands/DescribeToolsCommand.js +16 -0
- package/dist-es/commands/DiscoverToolsCommand.js +16 -0
- package/dist-es/commands/ExecuteConnectorCommand.js +16 -0
- package/dist-es/commands/ExecuteToolCommand.js +16 -0
- package/dist-es/commands/GetConnectorCommand.js +16 -0
- package/dist-es/commands/GetConnectorDefinitionCommand.js +16 -0
- package/dist-es/commands/GetToolCommand.js +16 -0
- package/dist-es/commands/ListConnectorDefinitionsCommand.js +16 -0
- package/dist-es/commands/ListConnectorsCommand.js +16 -0
- package/dist-es/commands/ListToolsCommand.js +16 -0
- package/dist-es/commands/ResolveConnectorConfigurationCommand.js +16 -0
- package/dist-es/commands/UpdateConnectorCommand.js +16 -0
- package/dist-es/commands/UpdateToolCommand.js +16 -0
- package/dist-es/commands/index.js +19 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/bdd.js +25 -0
- package/dist-es/endpoint/endpointResolver.js +12 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +9 -0
- package/dist-es/models/WilmaToolsServiceException.js +8 -0
- package/dist-es/models/enums.js +9 -0
- package/dist-es/models/errors.js +105 -0
- package/dist-es/models/models_0.js +1 -0
- 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.browser.js +27 -0
- package/dist-es/runtimeConfig.js +36 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +47 -0
- package/dist-es/runtimeExtensions.js +8 -0
- package/dist-es/schemas/schemas_0.js +686 -0
- package/dist-types/WilmaTools.d.ts +168 -0
- package/dist-types/WilmaToolsClient.d.ts +189 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/CreateConnectorCommand.d.ts +138 -0
- package/dist-types/commands/CreateToolCommand.d.ts +178 -0
- package/dist-types/commands/DeleteConnectorCommand.d.ts +87 -0
- package/dist-types/commands/DeleteToolCommand.d.ts +87 -0
- package/dist-types/commands/DescribeCapabilitiesCommand.d.ts +111 -0
- package/dist-types/commands/DescribeConnectorsCommand.d.ts +100 -0
- package/dist-types/commands/DescribeToolsCommand.d.ts +98 -0
- package/dist-types/commands/DiscoverToolsCommand.d.ts +103 -0
- package/dist-types/commands/ExecuteConnectorCommand.d.ts +96 -0
- package/dist-types/commands/ExecuteToolCommand.d.ts +94 -0
- package/dist-types/commands/GetConnectorCommand.d.ts +116 -0
- package/dist-types/commands/GetConnectorDefinitionCommand.d.ts +150 -0
- package/dist-types/commands/GetToolCommand.d.ts +136 -0
- package/dist-types/commands/ListConnectorDefinitionsCommand.d.ts +154 -0
- package/dist-types/commands/ListConnectorsCommand.d.ts +120 -0
- package/dist-types/commands/ListToolsCommand.d.ts +137 -0
- package/dist-types/commands/ResolveConnectorConfigurationCommand.d.ts +106 -0
- package/dist-types/commands/UpdateConnectorCommand.d.ts +143 -0
- package/dist-types/commands/UpdateToolCommand.d.ts +183 -0
- package/dist-types/commands/index.d.ts +19 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +25 -0
- package/dist-types/models/WilmaToolsServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +46 -0
- package/dist-types/models/errors.d.ts +108 -0
- package/dist-types/models/models_0.d.ts +1602 -0
- 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 +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +32 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +104 -0
- package/package.json +57 -0
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
|
+
import { type CreateConnectorCommandInput, type CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
|
|
3
|
+
import { type CreateToolCommandInput, type CreateToolCommandOutput } from "./commands/CreateToolCommand";
|
|
4
|
+
import { type DeleteConnectorCommandInput, type DeleteConnectorCommandOutput } from "./commands/DeleteConnectorCommand";
|
|
5
|
+
import { type DeleteToolCommandInput, type DeleteToolCommandOutput } from "./commands/DeleteToolCommand";
|
|
6
|
+
import { type DescribeCapabilitiesCommandInput, type DescribeCapabilitiesCommandOutput } from "./commands/DescribeCapabilitiesCommand";
|
|
7
|
+
import { type DescribeConnectorsCommandInput, type DescribeConnectorsCommandOutput } from "./commands/DescribeConnectorsCommand";
|
|
8
|
+
import { type DescribeToolsCommandInput, type DescribeToolsCommandOutput } from "./commands/DescribeToolsCommand";
|
|
9
|
+
import { type DiscoverToolsCommandInput, type DiscoverToolsCommandOutput } from "./commands/DiscoverToolsCommand";
|
|
10
|
+
import { type ExecuteConnectorCommandInput, type ExecuteConnectorCommandOutput } from "./commands/ExecuteConnectorCommand";
|
|
11
|
+
import { type ExecuteToolCommandInput, type ExecuteToolCommandOutput } from "./commands/ExecuteToolCommand";
|
|
12
|
+
import { type GetConnectorCommandInput, type GetConnectorCommandOutput } from "./commands/GetConnectorCommand";
|
|
13
|
+
import { type GetConnectorDefinitionCommandInput, type GetConnectorDefinitionCommandOutput } from "./commands/GetConnectorDefinitionCommand";
|
|
14
|
+
import { type GetToolCommandInput, type GetToolCommandOutput } from "./commands/GetToolCommand";
|
|
15
|
+
import { type ListConnectorDefinitionsCommandInput, type ListConnectorDefinitionsCommandOutput } from "./commands/ListConnectorDefinitionsCommand";
|
|
16
|
+
import { type ListConnectorsCommandInput, type ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
|
|
17
|
+
import { type ListToolsCommandInput, type ListToolsCommandOutput } from "./commands/ListToolsCommand";
|
|
18
|
+
import { type ResolveConnectorConfigurationCommandInput, type ResolveConnectorConfigurationCommandOutput } from "./commands/ResolveConnectorConfigurationCommand";
|
|
19
|
+
import { type UpdateConnectorCommandInput, type UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
|
|
20
|
+
import { type UpdateToolCommandInput, type UpdateToolCommandOutput } from "./commands/UpdateToolCommand";
|
|
21
|
+
import { WilmaToolsClient } from "./WilmaToolsClient";
|
|
22
|
+
export interface WilmaTools {
|
|
23
|
+
/**
|
|
24
|
+
* @see {@link CreateConnectorCommand}
|
|
25
|
+
*/
|
|
26
|
+
createConnector(args: CreateConnectorCommandInput, options?: __HttpHandlerOptions): Promise<CreateConnectorCommandOutput>;
|
|
27
|
+
createConnector(args: CreateConnectorCommandInput, cb: (err: any, data?: CreateConnectorCommandOutput) => void): void;
|
|
28
|
+
createConnector(args: CreateConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConnectorCommandOutput) => void): void;
|
|
29
|
+
/**
|
|
30
|
+
* @see {@link CreateToolCommand}
|
|
31
|
+
*/
|
|
32
|
+
createTool(args: CreateToolCommandInput, options?: __HttpHandlerOptions): Promise<CreateToolCommandOutput>;
|
|
33
|
+
createTool(args: CreateToolCommandInput, cb: (err: any, data?: CreateToolCommandOutput) => void): void;
|
|
34
|
+
createTool(args: CreateToolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateToolCommandOutput) => void): void;
|
|
35
|
+
/**
|
|
36
|
+
* @see {@link DeleteConnectorCommand}
|
|
37
|
+
*/
|
|
38
|
+
deleteConnector(args: DeleteConnectorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConnectorCommandOutput>;
|
|
39
|
+
deleteConnector(args: DeleteConnectorCommandInput, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
|
|
40
|
+
deleteConnector(args: DeleteConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
|
|
41
|
+
/**
|
|
42
|
+
* @see {@link DeleteToolCommand}
|
|
43
|
+
*/
|
|
44
|
+
deleteTool(args: DeleteToolCommandInput, options?: __HttpHandlerOptions): Promise<DeleteToolCommandOutput>;
|
|
45
|
+
deleteTool(args: DeleteToolCommandInput, cb: (err: any, data?: DeleteToolCommandOutput) => void): void;
|
|
46
|
+
deleteTool(args: DeleteToolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteToolCommandOutput) => void): void;
|
|
47
|
+
/**
|
|
48
|
+
* @see {@link DescribeCapabilitiesCommand}
|
|
49
|
+
*/
|
|
50
|
+
describeCapabilities(args: DescribeCapabilitiesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCapabilitiesCommandOutput>;
|
|
51
|
+
describeCapabilities(args: DescribeCapabilitiesCommandInput, cb: (err: any, data?: DescribeCapabilitiesCommandOutput) => void): void;
|
|
52
|
+
describeCapabilities(args: DescribeCapabilitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCapabilitiesCommandOutput) => void): void;
|
|
53
|
+
/**
|
|
54
|
+
* @see {@link DescribeConnectorsCommand}
|
|
55
|
+
*/
|
|
56
|
+
describeConnectors(args: DescribeConnectorsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConnectorsCommandOutput>;
|
|
57
|
+
describeConnectors(args: DescribeConnectorsCommandInput, cb: (err: any, data?: DescribeConnectorsCommandOutput) => void): void;
|
|
58
|
+
describeConnectors(args: DescribeConnectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConnectorsCommandOutput) => void): void;
|
|
59
|
+
/**
|
|
60
|
+
* @see {@link DescribeToolsCommand}
|
|
61
|
+
*/
|
|
62
|
+
describeTools(args: DescribeToolsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeToolsCommandOutput>;
|
|
63
|
+
describeTools(args: DescribeToolsCommandInput, cb: (err: any, data?: DescribeToolsCommandOutput) => void): void;
|
|
64
|
+
describeTools(args: DescribeToolsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeToolsCommandOutput) => void): void;
|
|
65
|
+
/**
|
|
66
|
+
* @see {@link DiscoverToolsCommand}
|
|
67
|
+
*/
|
|
68
|
+
discoverTools(args: DiscoverToolsCommandInput, options?: __HttpHandlerOptions): Promise<DiscoverToolsCommandOutput>;
|
|
69
|
+
discoverTools(args: DiscoverToolsCommandInput, cb: (err: any, data?: DiscoverToolsCommandOutput) => void): void;
|
|
70
|
+
discoverTools(args: DiscoverToolsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DiscoverToolsCommandOutput) => void): void;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link ExecuteConnectorCommand}
|
|
73
|
+
*/
|
|
74
|
+
executeConnector(args: ExecuteConnectorCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteConnectorCommandOutput>;
|
|
75
|
+
executeConnector(args: ExecuteConnectorCommandInput, cb: (err: any, data?: ExecuteConnectorCommandOutput) => void): void;
|
|
76
|
+
executeConnector(args: ExecuteConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteConnectorCommandOutput) => void): void;
|
|
77
|
+
/**
|
|
78
|
+
* @see {@link ExecuteToolCommand}
|
|
79
|
+
*/
|
|
80
|
+
executeTool(args: ExecuteToolCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteToolCommandOutput>;
|
|
81
|
+
executeTool(args: ExecuteToolCommandInput, cb: (err: any, data?: ExecuteToolCommandOutput) => void): void;
|
|
82
|
+
executeTool(args: ExecuteToolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteToolCommandOutput) => void): void;
|
|
83
|
+
/**
|
|
84
|
+
* @see {@link GetConnectorCommand}
|
|
85
|
+
*/
|
|
86
|
+
getConnector(args: GetConnectorCommandInput, options?: __HttpHandlerOptions): Promise<GetConnectorCommandOutput>;
|
|
87
|
+
getConnector(args: GetConnectorCommandInput, cb: (err: any, data?: GetConnectorCommandOutput) => void): void;
|
|
88
|
+
getConnector(args: GetConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConnectorCommandOutput) => void): void;
|
|
89
|
+
/**
|
|
90
|
+
* @see {@link GetConnectorDefinitionCommand}
|
|
91
|
+
*/
|
|
92
|
+
getConnectorDefinition(args: GetConnectorDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<GetConnectorDefinitionCommandOutput>;
|
|
93
|
+
getConnectorDefinition(args: GetConnectorDefinitionCommandInput, cb: (err: any, data?: GetConnectorDefinitionCommandOutput) => void): void;
|
|
94
|
+
getConnectorDefinition(args: GetConnectorDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConnectorDefinitionCommandOutput) => void): void;
|
|
95
|
+
/**
|
|
96
|
+
* @see {@link GetToolCommand}
|
|
97
|
+
*/
|
|
98
|
+
getTool(args: GetToolCommandInput, options?: __HttpHandlerOptions): Promise<GetToolCommandOutput>;
|
|
99
|
+
getTool(args: GetToolCommandInput, cb: (err: any, data?: GetToolCommandOutput) => void): void;
|
|
100
|
+
getTool(args: GetToolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetToolCommandOutput) => void): void;
|
|
101
|
+
/**
|
|
102
|
+
* @see {@link ListConnectorDefinitionsCommand}
|
|
103
|
+
*/
|
|
104
|
+
listConnectorDefinitions(): Promise<ListConnectorDefinitionsCommandOutput>;
|
|
105
|
+
listConnectorDefinitions(args: ListConnectorDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectorDefinitionsCommandOutput>;
|
|
106
|
+
listConnectorDefinitions(args: ListConnectorDefinitionsCommandInput, cb: (err: any, data?: ListConnectorDefinitionsCommandOutput) => void): void;
|
|
107
|
+
listConnectorDefinitions(args: ListConnectorDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectorDefinitionsCommandOutput) => void): void;
|
|
108
|
+
/**
|
|
109
|
+
* @see {@link ListConnectorsCommand}
|
|
110
|
+
*/
|
|
111
|
+
listConnectors(): Promise<ListConnectorsCommandOutput>;
|
|
112
|
+
listConnectors(args: ListConnectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectorsCommandOutput>;
|
|
113
|
+
listConnectors(args: ListConnectorsCommandInput, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
|
|
114
|
+
listConnectors(args: ListConnectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
|
|
115
|
+
/**
|
|
116
|
+
* @see {@link ListToolsCommand}
|
|
117
|
+
*/
|
|
118
|
+
listTools(): Promise<ListToolsCommandOutput>;
|
|
119
|
+
listTools(args: ListToolsCommandInput, options?: __HttpHandlerOptions): Promise<ListToolsCommandOutput>;
|
|
120
|
+
listTools(args: ListToolsCommandInput, cb: (err: any, data?: ListToolsCommandOutput) => void): void;
|
|
121
|
+
listTools(args: ListToolsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListToolsCommandOutput) => void): void;
|
|
122
|
+
/**
|
|
123
|
+
* @see {@link ResolveConnectorConfigurationCommand}
|
|
124
|
+
*/
|
|
125
|
+
resolveConnectorConfiguration(args: ResolveConnectorConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<ResolveConnectorConfigurationCommandOutput>;
|
|
126
|
+
resolveConnectorConfiguration(args: ResolveConnectorConfigurationCommandInput, cb: (err: any, data?: ResolveConnectorConfigurationCommandOutput) => void): void;
|
|
127
|
+
resolveConnectorConfiguration(args: ResolveConnectorConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResolveConnectorConfigurationCommandOutput) => void): void;
|
|
128
|
+
/**
|
|
129
|
+
* @see {@link UpdateConnectorCommand}
|
|
130
|
+
*/
|
|
131
|
+
updateConnector(args: UpdateConnectorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectorCommandOutput>;
|
|
132
|
+
updateConnector(args: UpdateConnectorCommandInput, cb: (err: any, data?: UpdateConnectorCommandOutput) => void): void;
|
|
133
|
+
updateConnector(args: UpdateConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectorCommandOutput) => void): void;
|
|
134
|
+
/**
|
|
135
|
+
* @see {@link UpdateToolCommand}
|
|
136
|
+
*/
|
|
137
|
+
updateTool(args: UpdateToolCommandInput, options?: __HttpHandlerOptions): Promise<UpdateToolCommandOutput>;
|
|
138
|
+
updateTool(args: UpdateToolCommandInput, cb: (err: any, data?: UpdateToolCommandOutput) => void): void;
|
|
139
|
+
updateTool(args: UpdateToolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateToolCommandOutput) => void): void;
|
|
140
|
+
/**
|
|
141
|
+
* @see {@link ListConnectorDefinitionsCommand}
|
|
142
|
+
* @param args - command input.
|
|
143
|
+
* @param paginationConfig - optional pagination config.
|
|
144
|
+
* @returns AsyncIterable of {@link ListConnectorDefinitionsCommandOutput}.
|
|
145
|
+
*/
|
|
146
|
+
paginateListConnectorDefinitions(args?: ListConnectorDefinitionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConnectorDefinitionsCommandOutput>;
|
|
147
|
+
/**
|
|
148
|
+
* @see {@link ListConnectorsCommand}
|
|
149
|
+
* @param args - command input.
|
|
150
|
+
* @param paginationConfig - optional pagination config.
|
|
151
|
+
* @returns AsyncIterable of {@link ListConnectorsCommandOutput}.
|
|
152
|
+
*/
|
|
153
|
+
paginateListConnectors(args?: ListConnectorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConnectorsCommandOutput>;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Tools and connectors platform for the Wilma agent ecosystem. Successor of wim-tools:
|
|
157
|
+
* same tool model (built-in email/webhook/search/chat/sms/calendar/MCP handlers plus
|
|
158
|
+
* execution) extended with connectors — company-owned instances of immutable server-side
|
|
159
|
+
* connector definitions that expose one or more executable tools, with credentials kept in
|
|
160
|
+
* wilma-secrets. Serves the connector catalog (definitions), configured connectors, connector-backed
|
|
161
|
+
* Tools and direct connector execution. Consumed server-to-server by the agent channel
|
|
162
|
+
* runtimes (wilma-assistant, wilma-chat, wilma-voice) and by the legacy bot runtimes
|
|
163
|
+
* (xbees-users bots, wim-voicebots) via their connector capability. Hosted on the shared
|
|
164
|
+
* Wilma API domain under the /v2/tools path prefix.
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
export declare class WilmaTools extends WilmaToolsClient implements WilmaTools {
|
|
168
|
+
}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
|
|
2
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
3
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
4
|
+
import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
5
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
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
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
8
|
+
import type { CreateConnectorCommandInput, CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
|
|
9
|
+
import type { CreateToolCommandInput, CreateToolCommandOutput } from "./commands/CreateToolCommand";
|
|
10
|
+
import type { DeleteConnectorCommandInput, DeleteConnectorCommandOutput } from "./commands/DeleteConnectorCommand";
|
|
11
|
+
import type { DeleteToolCommandInput, DeleteToolCommandOutput } from "./commands/DeleteToolCommand";
|
|
12
|
+
import type { DescribeCapabilitiesCommandInput, DescribeCapabilitiesCommandOutput } from "./commands/DescribeCapabilitiesCommand";
|
|
13
|
+
import type { DescribeConnectorsCommandInput, DescribeConnectorsCommandOutput } from "./commands/DescribeConnectorsCommand";
|
|
14
|
+
import type { DescribeToolsCommandInput, DescribeToolsCommandOutput } from "./commands/DescribeToolsCommand";
|
|
15
|
+
import type { DiscoverToolsCommandInput, DiscoverToolsCommandOutput } from "./commands/DiscoverToolsCommand";
|
|
16
|
+
import type { ExecuteConnectorCommandInput, ExecuteConnectorCommandOutput } from "./commands/ExecuteConnectorCommand";
|
|
17
|
+
import type { ExecuteToolCommandInput, ExecuteToolCommandOutput } from "./commands/ExecuteToolCommand";
|
|
18
|
+
import type { GetConnectorCommandInput, GetConnectorCommandOutput } from "./commands/GetConnectorCommand";
|
|
19
|
+
import type { GetConnectorDefinitionCommandInput, GetConnectorDefinitionCommandOutput } from "./commands/GetConnectorDefinitionCommand";
|
|
20
|
+
import type { GetToolCommandInput, GetToolCommandOutput } from "./commands/GetToolCommand";
|
|
21
|
+
import type { ListConnectorDefinitionsCommandInput, ListConnectorDefinitionsCommandOutput } from "./commands/ListConnectorDefinitionsCommand";
|
|
22
|
+
import type { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
|
|
23
|
+
import type { ListToolsCommandInput, ListToolsCommandOutput } from "./commands/ListToolsCommand";
|
|
24
|
+
import type { ResolveConnectorConfigurationCommandInput, ResolveConnectorConfigurationCommandOutput } from "./commands/ResolveConnectorConfigurationCommand";
|
|
25
|
+
import type { UpdateConnectorCommandInput, UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
|
|
26
|
+
import type { UpdateToolCommandInput, UpdateToolCommandOutput } from "./commands/UpdateToolCommand";
|
|
27
|
+
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
28
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
29
|
+
export { __Client };
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export type ServiceInputTypes = CreateConnectorCommandInput | CreateToolCommandInput | DeleteConnectorCommandInput | DeleteToolCommandInput | DescribeCapabilitiesCommandInput | DescribeConnectorsCommandInput | DescribeToolsCommandInput | DiscoverToolsCommandInput | ExecuteConnectorCommandInput | ExecuteToolCommandInput | GetConnectorCommandInput | GetConnectorDefinitionCommandInput | GetToolCommandInput | ListConnectorDefinitionsCommandInput | ListConnectorsCommandInput | ListToolsCommandInput | ResolveConnectorConfigurationCommandInput | UpdateConnectorCommandInput | UpdateToolCommandInput;
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export type ServiceOutputTypes = CreateConnectorCommandOutput | CreateToolCommandOutput | DeleteConnectorCommandOutput | DeleteToolCommandOutput | DescribeCapabilitiesCommandOutput | DescribeConnectorsCommandOutput | DescribeToolsCommandOutput | DiscoverToolsCommandOutput | ExecuteConnectorCommandOutput | ExecuteToolCommandOutput | GetConnectorCommandOutput | GetConnectorDefinitionCommandOutput | GetToolCommandOutput | ListConnectorDefinitionsCommandOutput | ListConnectorsCommandOutput | ListToolsCommandOutput | ResolveConnectorConfigurationCommandOutput | UpdateConnectorCommandOutput | UpdateToolCommandOutput;
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
42
|
+
/**
|
|
43
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
44
|
+
*/
|
|
45
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
46
|
+
/**
|
|
47
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
48
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
52
|
+
/**
|
|
53
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
urlParser?: __UrlParser;
|
|
57
|
+
/**
|
|
58
|
+
* A function that can calculate the length of a request body.
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
62
|
+
/**
|
|
63
|
+
* A function that converts a stream into an array of bytes.
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
streamCollector?: __StreamCollector;
|
|
67
|
+
/**
|
|
68
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
base64Decoder?: __Decoder;
|
|
72
|
+
/**
|
|
73
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
base64Encoder?: __Encoder;
|
|
77
|
+
/**
|
|
78
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
utf8Decoder?: __Decoder;
|
|
82
|
+
/**
|
|
83
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
utf8Encoder?: __Encoder;
|
|
87
|
+
/**
|
|
88
|
+
* The runtime environment.
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
runtime?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
94
|
+
* trait of an operation.
|
|
95
|
+
*/
|
|
96
|
+
disableHostPrefix?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Setting a client profile is similar to setting a value for the
|
|
99
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
100
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
101
|
+
*
|
|
102
|
+
* When set, and only for environments where an AWS configuration
|
|
103
|
+
* file exists, fields configurable by this file will be retrieved
|
|
104
|
+
* from the specified profile within that file.
|
|
105
|
+
* Conflicting code configuration and environment variables will
|
|
106
|
+
* still have higher priority.
|
|
107
|
+
*
|
|
108
|
+
* For client credential resolution that involves checking the AWS
|
|
109
|
+
* configuration file, the client's profile (this value) will be
|
|
110
|
+
* used unless a different profile is set in the credential
|
|
111
|
+
* provider options.
|
|
112
|
+
*
|
|
113
|
+
*/
|
|
114
|
+
profile?: string;
|
|
115
|
+
/**
|
|
116
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
120
|
+
/**
|
|
121
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
122
|
+
*/
|
|
123
|
+
maxAttempts?: number | __Provider<number>;
|
|
124
|
+
/**
|
|
125
|
+
* Specifies which retry algorithm to use.
|
|
126
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
127
|
+
*
|
|
128
|
+
*/
|
|
129
|
+
retryMode?: string | __Provider<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Optional logger for logging debug/info/warn/error.
|
|
132
|
+
*/
|
|
133
|
+
logger?: __Logger;
|
|
134
|
+
/**
|
|
135
|
+
* Optional extensions
|
|
136
|
+
*/
|
|
137
|
+
extensions?: RuntimeExtension[];
|
|
138
|
+
/**
|
|
139
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
140
|
+
*/
|
|
141
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
export type WilmaToolsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
147
|
+
/**
|
|
148
|
+
* @public
|
|
149
|
+
*
|
|
150
|
+
* The configuration interface of WilmaToolsClient class constructor that set the region, credentials and other options.
|
|
151
|
+
*/
|
|
152
|
+
export interface WilmaToolsClientConfig extends WilmaToolsClientConfigType {
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
export type WilmaToolsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
*
|
|
161
|
+
* The resolved configuration interface of WilmaToolsClient class. This is resolved and normalized from the {@link WilmaToolsClientConfig | constructor configuration interface}.
|
|
162
|
+
*/
|
|
163
|
+
export interface WilmaToolsClientResolvedConfig extends WilmaToolsClientResolvedConfigType {
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Tools and connectors platform for the Wilma agent ecosystem. Successor of wim-tools:
|
|
167
|
+
* same tool model (built-in email/webhook/search/chat/sms/calendar/MCP handlers plus
|
|
168
|
+
* execution) extended with connectors — company-owned instances of immutable server-side
|
|
169
|
+
* connector definitions that expose one or more executable tools, with credentials kept in
|
|
170
|
+
* wilma-secrets. Serves the connector catalog (definitions), configured connectors, connector-backed
|
|
171
|
+
* Tools and direct connector execution. Consumed server-to-server by the agent channel
|
|
172
|
+
* runtimes (wilma-assistant, wilma-chat, wilma-voice) and by the legacy bot runtimes
|
|
173
|
+
* (xbees-users bots, wim-voicebots) via their connector capability. Hosted on the shared
|
|
174
|
+
* Wilma API domain under the /v2/tools path prefix.
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
export declare class WilmaToolsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, WilmaToolsClientResolvedConfig> {
|
|
178
|
+
/**
|
|
179
|
+
* The resolved configuration of WilmaToolsClient class. This is resolved and normalized from the {@link WilmaToolsClientConfig | constructor configuration interface}.
|
|
180
|
+
*/
|
|
181
|
+
readonly config: WilmaToolsClientResolvedConfig;
|
|
182
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<WilmaToolsClientConfig>);
|
|
183
|
+
/**
|
|
184
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
185
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
186
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
187
|
+
*/
|
|
188
|
+
destroy(): void;
|
|
189
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type HttpAuthScheme, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { WilmaToolsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: WilmaToolsHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): WilmaToolsHttpAuthSchemeProvider;
|
|
11
|
+
setToken(token: TokenIdentity | TokenIdentityProvider): void;
|
|
12
|
+
token(): TokenIdentity | TokenIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: WilmaToolsHttpAuthSchemeProvider;
|
|
20
|
+
token: TokenIdentity | TokenIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { type HandlerExecutionContext, type HttpAuthScheme, type HttpAuthSchemeParameters, type HttpAuthSchemeParametersProvider, type HttpAuthSchemeProvider, type Provider, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { WilmaToolsClientResolvedConfig } from "../WilmaToolsClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface WilmaToolsHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export interface WilmaToolsHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<WilmaToolsClientResolvedConfig, HandlerExecutionContext, WilmaToolsHttpAuthSchemeParameters, object> {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
export declare const defaultWilmaToolsHttpAuthSchemeParametersProvider: (config: WilmaToolsClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<WilmaToolsHttpAuthSchemeParameters>;
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
export interface WilmaToolsHttpAuthSchemeProvider extends HttpAuthSchemeProvider<WilmaToolsHttpAuthSchemeParameters> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const defaultWilmaToolsHttpAuthSchemeProvider: WilmaToolsHttpAuthSchemeProvider;
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export interface HttpAuthSchemeInputConfig {
|
|
30
|
+
/**
|
|
31
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
32
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
33
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
37
|
+
/**
|
|
38
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
42
|
+
/**
|
|
43
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
httpAuthSchemeProvider?: WilmaToolsHttpAuthSchemeProvider;
|
|
47
|
+
/**
|
|
48
|
+
* The token used to authenticate requests.
|
|
49
|
+
*/
|
|
50
|
+
token?: TokenIdentity | TokenIdentityProvider;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
export interface HttpAuthSchemeResolvedConfig {
|
|
56
|
+
/**
|
|
57
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
58
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
59
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
63
|
+
/**
|
|
64
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
68
|
+
/**
|
|
69
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
readonly httpAuthSchemeProvider: WilmaToolsHttpAuthSchemeProvider;
|
|
73
|
+
/**
|
|
74
|
+
* The token used to authenticate requests.
|
|
75
|
+
*/
|
|
76
|
+
readonly token?: TokenIdentityProvider;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,138 @@
|
|
|
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, WilmaToolsClientResolvedConfig } from "../WilmaToolsClient";
|
|
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, WilmaToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateConnectorCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectorCommandInput, CreateConnectorCommandOutput, WilmaToolsClientResolvedConfig, 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 { WilmaToolsClient, CreateConnectorCommand } from "@wildix/wilma-tools-client"; // ES Modules import
|
|
35
|
+
* // const { WilmaToolsClient, CreateConnectorCommand } = 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 = { // 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
|
+
* 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
|
+
* };
|
|
65
|
+
* const command = new CreateConnectorCommand(input);
|
|
66
|
+
* const response = await client.send(command);
|
|
67
|
+
* // { // CreateConnectorOutput
|
|
68
|
+
* // connector: { // Connector
|
|
69
|
+
* // definition: { // ConnectorDefinitionRef
|
|
70
|
+
* // key: "STRING_VALUE", // required
|
|
71
|
+
* // version: "STRING_VALUE", // required
|
|
72
|
+
* // },
|
|
73
|
+
* // configuration: "DOCUMENT_VALUE", // required
|
|
74
|
+
* // authorization: { // ConnectorAuthorization Union: only one key present
|
|
75
|
+
* // shared: { // ConnectorSharedAuthorization
|
|
76
|
+
* // connection: { // ConnectionRef
|
|
77
|
+
* // id: "STRING_VALUE", // required
|
|
78
|
+
* // },
|
|
79
|
+
* // },
|
|
80
|
+
* // user: {},
|
|
81
|
+
* // },
|
|
82
|
+
* // name: "STRING_VALUE", // required
|
|
83
|
+
* // description: "STRING_VALUE", // required
|
|
84
|
+
* // grant: { // ConnectorToolGrant Union: only one key present
|
|
85
|
+
* // read: {},
|
|
86
|
+
* // readWrite: {},
|
|
87
|
+
* // all: {},
|
|
88
|
+
* // tools: [ // ConnectorEnabledTools
|
|
89
|
+
* // "STRING_VALUE",
|
|
90
|
+
* // ],
|
|
91
|
+
* // },
|
|
92
|
+
* // id: "STRING_VALUE", // required
|
|
93
|
+
* // companyId: "STRING_VALUE", // required
|
|
94
|
+
* // revision: Number("int"), // required
|
|
95
|
+
* // },
|
|
96
|
+
* // };
|
|
97
|
+
*
|
|
98
|
+
* ```
|
|
99
|
+
*
|
|
100
|
+
* @param CreateConnectorCommandInput - {@link CreateConnectorCommandInput}
|
|
101
|
+
* @returns {@link CreateConnectorCommandOutput}
|
|
102
|
+
* @see {@link CreateConnectorCommandInput} for command's `input` shape.
|
|
103
|
+
* @see {@link CreateConnectorCommandOutput} for command's `response` shape.
|
|
104
|
+
* @see {@link WilmaToolsClientResolvedConfig | config} for WilmaToolsClient's `config` shape.
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link ValidationException} (client fault)
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link NotFoundException} (client fault)
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link AlreadyExistException} (client fault)
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link ToolExecutionException} (client fault)
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link ToolExecutionServerException} (server fault)
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link WilmaToolsServiceException}
|
|
121
|
+
* <p>Base exception class for all service exceptions from WilmaTools service.</p>
|
|
122
|
+
*
|
|
123
|
+
*
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
export declare class CreateConnectorCommand extends CreateConnectorCommand_base {
|
|
127
|
+
/** @internal type navigation helper, not in runtime. */
|
|
128
|
+
protected static __types: {
|
|
129
|
+
api: {
|
|
130
|
+
input: CreateConnectorInput;
|
|
131
|
+
output: CreateConnectorOutput;
|
|
132
|
+
};
|
|
133
|
+
sdk: {
|
|
134
|
+
input: CreateConnectorCommandInput;
|
|
135
|
+
output: CreateConnectorCommandOutput;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
}
|