@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,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListConnectorDefinitionsCommandInput, ListConnectorDefinitionsCommandOutput } from "../commands/ListConnectorDefinitionsCommand";
|
|
3
|
+
import type { WilmaToolsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListConnectorDefinitions: (config: WilmaToolsPaginationConfiguration, input: ListConnectorDefinitionsCommandInput, ...rest: any[]) => Paginator<ListConnectorDefinitionsCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "../commands/ListConnectorsCommand";
|
|
3
|
+
import type { WilmaToolsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListConnectors: (config: WilmaToolsPaginationConfiguration, input: ListConnectorsCommandInput, ...rest: any[]) => Paginator<ListConnectorsCommandOutput>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import type { WilmaToolsClientConfig } from "./WilmaToolsClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: WilmaToolsClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
11
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
13
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
14
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
15
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
16
|
+
cacheMiddleware?: boolean | undefined;
|
|
17
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
18
|
+
protocolSettings: {
|
|
19
|
+
defaultNamespace?: string;
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
};
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
24
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
25
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
26
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
27
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
28
|
+
disableHostPrefix: boolean;
|
|
29
|
+
profile?: string;
|
|
30
|
+
logger: import("@smithy/types").Logger;
|
|
31
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
34
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
35
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
36
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
37
|
+
logger?: import("@smithy/types").Logger;
|
|
38
|
+
}) => import("@smithy/types").EndpointV2;
|
|
39
|
+
tls?: boolean;
|
|
40
|
+
useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
41
|
+
useFipsEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
42
|
+
serviceConfiguredEndpoint?: never;
|
|
43
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
44
|
+
httpAuthSchemes: {
|
|
45
|
+
schemeId: string;
|
|
46
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
47
|
+
signer: import("@smithy/core").HttpBearerAuthSigner;
|
|
48
|
+
}[];
|
|
49
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").WilmaToolsHttpAuthSchemeProvider;
|
|
50
|
+
token?: import("@smithy/types").TokenIdentity | import("@smithy/types").TokenIdentityProvider;
|
|
51
|
+
clientContextParams?: {
|
|
52
|
+
env?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
};
|
|
54
|
+
env?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
55
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import type { WilmaToolsClientConfig } from "./WilmaToolsClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: WilmaToolsClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
11
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
13
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
14
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
15
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
16
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
17
|
+
cacheMiddleware?: boolean | undefined;
|
|
18
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
19
|
+
protocolSettings: {
|
|
20
|
+
defaultNamespace?: string;
|
|
21
|
+
[setting: string]: unknown;
|
|
22
|
+
};
|
|
23
|
+
apiVersion: string;
|
|
24
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
25
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
26
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
27
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
28
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
29
|
+
disableHostPrefix: boolean;
|
|
30
|
+
profile?: string;
|
|
31
|
+
logger: import("@smithy/types").Logger;
|
|
32
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
33
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
35
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
36
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
37
|
+
logger?: import("@smithy/types").Logger;
|
|
38
|
+
}) => import("@smithy/types").EndpointV2;
|
|
39
|
+
tls?: boolean;
|
|
40
|
+
useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
41
|
+
useFipsEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
42
|
+
serviceConfiguredEndpoint?: never;
|
|
43
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
44
|
+
httpAuthSchemes: {
|
|
45
|
+
schemeId: string;
|
|
46
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
47
|
+
signer: import("@smithy/core").HttpBearerAuthSigner;
|
|
48
|
+
}[];
|
|
49
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").WilmaToolsHttpAuthSchemeProvider;
|
|
50
|
+
token?: import("@smithy/types").TokenIdentity | import("@smithy/types").TokenIdentityProvider;
|
|
51
|
+
clientContextParams?: {
|
|
52
|
+
env?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
};
|
|
54
|
+
env?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
55
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { WilmaToolsClientConfig } from "./WilmaToolsClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: WilmaToolsClientConfig) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
|
+
cacheMiddleware?: boolean;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
11
|
+
protocolSettings: {
|
|
12
|
+
defaultNamespace?: string;
|
|
13
|
+
[setting: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
apiVersion: string;
|
|
16
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
17
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
18
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
19
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
20
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
21
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
22
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
23
|
+
disableHostPrefix: boolean;
|
|
24
|
+
profile?: string;
|
|
25
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
26
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
|
+
logger: import("@smithy/types").Logger;
|
|
29
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
31
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
32
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
33
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
|
+
logger?: import("@smithy/types").Logger;
|
|
37
|
+
}) => import("@smithy/types").EndpointV2;
|
|
38
|
+
tls?: boolean;
|
|
39
|
+
useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
40
|
+
useFipsEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
41
|
+
serviceConfiguredEndpoint?: never;
|
|
42
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
43
|
+
httpAuthSchemes: {
|
|
44
|
+
schemeId: string;
|
|
45
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
46
|
+
signer: import("@smithy/core").HttpBearerAuthSigner;
|
|
47
|
+
}[];
|
|
48
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").WilmaToolsHttpAuthSchemeProvider;
|
|
49
|
+
token?: import("@smithy/types").TokenIdentity | import("@smithy/types").TokenIdentityProvider;
|
|
50
|
+
clientContextParams?: {
|
|
51
|
+
env?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
52
|
+
};
|
|
53
|
+
env?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
54
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
|
+
import { HttpBearerAuthSigner } from "@smithy/core";
|
|
3
|
+
import type { IdentityProviderConfig } from "@smithy/types";
|
|
4
|
+
import type { WilmaToolsClientConfig } from "./WilmaToolsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export declare const getRuntimeConfig: (config: WilmaToolsClientConfig) => {
|
|
9
|
+
apiVersion: string;
|
|
10
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
11
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
12
|
+
disableHostPrefix: boolean;
|
|
13
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
14
|
+
logger?: import("@smithy/types").Logger;
|
|
15
|
+
}) => import("@smithy/types").EndpointV2;
|
|
16
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
17
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").WilmaToolsHttpAuthSchemeProvider;
|
|
18
|
+
httpAuthSchemes: {
|
|
19
|
+
schemeId: string;
|
|
20
|
+
identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
21
|
+
signer: HttpBearerAuthSigner;
|
|
22
|
+
}[];
|
|
23
|
+
logger: import("@smithy/types").Logger;
|
|
24
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
|
|
25
|
+
protocolSettings: {
|
|
26
|
+
[setting: string]: unknown;
|
|
27
|
+
defaultNamespace?: string;
|
|
28
|
+
};
|
|
29
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
30
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
31
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
32
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { WilmaToolsExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface RuntimeExtension {
|
|
6
|
+
configure(extensionConfiguration: WilmaToolsExtensionConfiguration): void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface RuntimeExtensionsConfig {
|
|
12
|
+
extensions: RuntimeExtension[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
|
|
3
|
+
export declare var WilmaToolsServiceException$: StaticErrorSchema;
|
|
4
|
+
export declare var AlreadyExistException$: StaticErrorSchema;
|
|
5
|
+
export declare var ForbiddenException$: StaticErrorSchema;
|
|
6
|
+
export declare var NotFoundException$: StaticErrorSchema;
|
|
7
|
+
export declare var UnauthorizedException$: StaticErrorSchema;
|
|
8
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
9
|
+
export declare var RevisionConflictException$: StaticErrorSchema;
|
|
10
|
+
export declare var ToolExecutionException$: StaticErrorSchema;
|
|
11
|
+
export declare var ToolExecutionServerException$: StaticErrorSchema;
|
|
12
|
+
/**
|
|
13
|
+
* TypeRegistry instances containing modeled errors.
|
|
14
|
+
* @internal
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
18
|
+
export declare var ConnectionRef$: StaticStructureSchema;
|
|
19
|
+
export declare var Connector$: StaticStructureSchema;
|
|
20
|
+
export declare var ConnectorAuthorizationDefinition$: StaticStructureSchema;
|
|
21
|
+
export declare var ConnectorConfigurationDefinition$: StaticStructureSchema;
|
|
22
|
+
export declare var ConnectorDefinition$: StaticStructureSchema;
|
|
23
|
+
export declare var ConnectorDefinitionRef$: StaticStructureSchema;
|
|
24
|
+
export declare var ConnectorDescription$: StaticStructureSchema;
|
|
25
|
+
export declare var ConnectorExecutionResult$: StaticStructureSchema;
|
|
26
|
+
export declare var ConnectorGrantAll$: StaticStructureSchema;
|
|
27
|
+
export declare var ConnectorGrantRead$: StaticStructureSchema;
|
|
28
|
+
export declare var ConnectorGrantReadWrite$: StaticStructureSchema;
|
|
29
|
+
export declare var ConnectorMetadata$: StaticStructureSchema;
|
|
30
|
+
export declare var ConnectorReference$: StaticStructureSchema;
|
|
31
|
+
export declare var ConnectorSharedAuthorization$: StaticStructureSchema;
|
|
32
|
+
export declare var ConnectorTool$: StaticStructureSchema;
|
|
33
|
+
export declare var ConnectorUserAuthorization$: StaticStructureSchema;
|
|
34
|
+
export declare var CreateConnectorInput$: StaticStructureSchema;
|
|
35
|
+
export declare var CreateConnectorOutput$: StaticStructureSchema;
|
|
36
|
+
export declare var CreateToolInput$: StaticStructureSchema;
|
|
37
|
+
export declare var CreateToolOutput$: StaticStructureSchema;
|
|
38
|
+
export declare var DeleteConnectorInput$: StaticStructureSchema;
|
|
39
|
+
export declare var DeleteConnectorOutput$: StaticStructureSchema;
|
|
40
|
+
export declare var DeleteToolInput$: StaticStructureSchema;
|
|
41
|
+
export declare var DeleteToolOutput$: StaticStructureSchema;
|
|
42
|
+
export declare var DescribeCapabilitiesInput$: StaticStructureSchema;
|
|
43
|
+
export declare var DescribeCapabilitiesOutput$: StaticStructureSchema;
|
|
44
|
+
export declare var DescribeConnectorsInput$: StaticStructureSchema;
|
|
45
|
+
export declare var DescribeConnectorsOutput$: StaticStructureSchema;
|
|
46
|
+
export declare var DescribeToolsInput$: StaticStructureSchema;
|
|
47
|
+
export declare var DescribeToolsOutput$: StaticStructureSchema;
|
|
48
|
+
export declare var DiscoveredTool$: StaticStructureSchema;
|
|
49
|
+
export declare var DiscoverToolsInput$: StaticStructureSchema;
|
|
50
|
+
export declare var DiscoverToolsOutput$: StaticStructureSchema;
|
|
51
|
+
export declare var ExecuteConnectorInput$: StaticStructureSchema;
|
|
52
|
+
export declare var ExecuteConnectorOutput$: StaticStructureSchema;
|
|
53
|
+
export declare var ExecuteToolInput$: StaticStructureSchema;
|
|
54
|
+
export declare var ExecuteToolOutput$: StaticStructureSchema;
|
|
55
|
+
export declare var GetConnectorDefinitionInput$: StaticStructureSchema;
|
|
56
|
+
export declare var GetConnectorDefinitionOutput$: StaticStructureSchema;
|
|
57
|
+
export declare var GetConnectorInput$: StaticStructureSchema;
|
|
58
|
+
export declare var GetConnectorOutput$: StaticStructureSchema;
|
|
59
|
+
export declare var GetToolInput$: StaticStructureSchema;
|
|
60
|
+
export declare var GetToolOutput$: StaticStructureSchema;
|
|
61
|
+
export declare var ListConnectorDefinitionsInput$: StaticStructureSchema;
|
|
62
|
+
export declare var ListConnectorDefinitionsOutput$: StaticStructureSchema;
|
|
63
|
+
export declare var ListConnectorsInput$: StaticStructureSchema;
|
|
64
|
+
export declare var ListConnectorsOutput$: StaticStructureSchema;
|
|
65
|
+
export declare var ListToolsInput$: StaticStructureSchema;
|
|
66
|
+
export declare var ListToolsOutput$: StaticStructureSchema;
|
|
67
|
+
export declare var ResolveConnectorConfigurationInput$: StaticStructureSchema;
|
|
68
|
+
export declare var ResolveConnectorConfigurationOutput$: StaticStructureSchema;
|
|
69
|
+
export declare var Tool$: StaticStructureSchema;
|
|
70
|
+
export declare var ToolConnectorHandler$: StaticStructureSchema;
|
|
71
|
+
export declare var ToolDescription$: StaticStructureSchema;
|
|
72
|
+
export declare var ToolExecutionResult$: StaticStructureSchema;
|
|
73
|
+
export declare var ToolInput$: StaticStructureSchema;
|
|
74
|
+
export declare var ToolMcpHandler$: StaticStructureSchema;
|
|
75
|
+
export declare var ToolMcpToolHandler$: StaticStructureSchema;
|
|
76
|
+
export declare var UpdateConnectorInput$: StaticStructureSchema;
|
|
77
|
+
export declare var UpdateConnectorOutput$: StaticStructureSchema;
|
|
78
|
+
export declare var UpdateToolInput$: StaticStructureSchema;
|
|
79
|
+
export declare var UpdateToolOutput$: StaticStructureSchema;
|
|
80
|
+
export declare var CapabilityDescription$: StaticUnionSchema;
|
|
81
|
+
export declare var CapabilityRef$: StaticUnionSchema;
|
|
82
|
+
export declare var ConnectorAuthorization$: StaticUnionSchema;
|
|
83
|
+
export declare var ConnectorToolGrant$: StaticUnionSchema;
|
|
84
|
+
export declare var ToolHandler$: StaticUnionSchema;
|
|
85
|
+
export declare var ToolMcpAuthorization$: StaticUnionSchema;
|
|
86
|
+
export declare var CreateConnector$: StaticOperationSchema;
|
|
87
|
+
export declare var CreateTool$: StaticOperationSchema;
|
|
88
|
+
export declare var DeleteConnector$: StaticOperationSchema;
|
|
89
|
+
export declare var DeleteTool$: StaticOperationSchema;
|
|
90
|
+
export declare var DescribeCapabilities$: StaticOperationSchema;
|
|
91
|
+
export declare var DescribeConnectors$: StaticOperationSchema;
|
|
92
|
+
export declare var DescribeTools$: StaticOperationSchema;
|
|
93
|
+
export declare var DiscoverTools$: StaticOperationSchema;
|
|
94
|
+
export declare var ExecuteConnector$: StaticOperationSchema;
|
|
95
|
+
export declare var ExecuteTool$: StaticOperationSchema;
|
|
96
|
+
export declare var GetConnector$: StaticOperationSchema;
|
|
97
|
+
export declare var GetConnectorDefinition$: StaticOperationSchema;
|
|
98
|
+
export declare var GetTool$: StaticOperationSchema;
|
|
99
|
+
export declare var ListConnectorDefinitions$: StaticOperationSchema;
|
|
100
|
+
export declare var ListConnectors$: StaticOperationSchema;
|
|
101
|
+
export declare var ListTools$: StaticOperationSchema;
|
|
102
|
+
export declare var ResolveConnectorConfiguration$: StaticOperationSchema;
|
|
103
|
+
export declare var UpdateConnector$: StaticOperationSchema;
|
|
104
|
+
export declare var UpdateTool$: StaticOperationSchema;
|
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wildix/wilma-tools-client",
|
|
3
|
+
"description": "@wildix/wilma-tools-client client",
|
|
4
|
+
"version": "1.0.1",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
9
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
10
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
11
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
12
|
+
"prepack": "yarn run clean && yarn run build",
|
|
13
|
+
"postpublish": "node ../../scripts/postpublish.js"
|
|
14
|
+
},
|
|
15
|
+
"main": "./dist-cjs/index.js",
|
|
16
|
+
"types": "./dist-types/index.d.ts",
|
|
17
|
+
"module": "./dist-es/index.js",
|
|
18
|
+
"sideEffects": false,
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"tslib": "^2.6.2",
|
|
21
|
+
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
|
+
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
+
"@aws-sdk/core": "^3.974.15",
|
|
24
|
+
"@smithy/core": "^3.24.5",
|
|
25
|
+
"@smithy/fetch-http-handler": "^5.4.5",
|
|
26
|
+
"@smithy/node-http-handler": "^4.7.5",
|
|
27
|
+
"@smithy/types": "^4.14.2"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@tsconfig/node20": "20.1.8",
|
|
31
|
+
"concurrently": "7.0.0",
|
|
32
|
+
"downlevel-dts": "0.10.1",
|
|
33
|
+
"premove": "4.0.0",
|
|
34
|
+
"typescript": "~5.8.3",
|
|
35
|
+
"@types/node": "^20.14.8"
|
|
36
|
+
},
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": ">=20.0.0"
|
|
39
|
+
},
|
|
40
|
+
"typesVersions": {
|
|
41
|
+
"<4.5": {
|
|
42
|
+
"dist-types/*": [
|
|
43
|
+
"dist-types/ts3.4/*"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"files": [
|
|
48
|
+
"dist-*/**"
|
|
49
|
+
],
|
|
50
|
+
"license": "Apache-2.0",
|
|
51
|
+
"browser": {
|
|
52
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
53
|
+
},
|
|
54
|
+
"react-native": {
|
|
55
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
56
|
+
}
|
|
57
|
+
}
|