@wildix/wilma-agents-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/WilmaAgents.js +57 -0
- package/dist-cjs/WilmaAgentsClient.js +49 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
- package/dist-cjs/commands/CompareAgentVersionsCommand.js +20 -0
- package/dist-cjs/commands/CreateAgentApiKeyCommand.js +20 -0
- package/dist-cjs/commands/CreateAgentCommand.js +20 -0
- package/dist-cjs/commands/CreateGuardrailCommand.js +20 -0
- package/dist-cjs/commands/DeleteAgentAliasCommand.js +20 -0
- package/dist-cjs/commands/DeleteAgentApiKeyCommand.js +20 -0
- package/dist-cjs/commands/DeleteAgentCommand.js +20 -0
- package/dist-cjs/commands/DeleteGuardrailCommand.js +20 -0
- package/dist-cjs/commands/ExecuteAgentCommand.js +20 -0
- package/dist-cjs/commands/GetAgentCommand.js +20 -0
- package/dist-cjs/commands/GetAgentVersionCommand.js +20 -0
- package/dist-cjs/commands/GetGuardrailCommand.js +20 -0
- package/dist-cjs/commands/ListAgentAliasesCommand.js +20 -0
- package/dist-cjs/commands/ListAgentApiKeysCommand.js +20 -0
- package/dist-cjs/commands/ListAgentVersionsCommand.js +20 -0
- package/dist-cjs/commands/ListAgentsCommand.js +20 -0
- package/dist-cjs/commands/ListAgentsNamesCommand.js +20 -0
- package/dist-cjs/commands/ListAuditRecordsCommand.js +20 -0
- package/dist-cjs/commands/ListGuardrailsCommand.js +20 -0
- package/dist-cjs/commands/PublishAgentVersionCommand.js +20 -0
- package/dist-cjs/commands/PutAgentAliasCommand.js +20 -0
- package/dist-cjs/commands/UpdateAgentCommand.js +20 -0
- package/dist-cjs/commands/UpdateGuardrailCommand.js +20 -0
- package/dist-cjs/commands/index.js +26 -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 +13 -0
- package/dist-cjs/models/WilmaAgentsServiceException.js +12 -0
- package/dist-cjs/models/enums.js +118 -0
- package/dist-cjs/models/errors.js +154 -0
- package/dist-cjs/models/models_0.js +2 -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 +41 -0
- package/dist-cjs/runtimeExtensions.js +12 -0
- package/dist-cjs/schemas/schemas_0.js +1168 -0
- package/dist-es/WilmaAgents.js +53 -0
- package/dist-es/WilmaAgentsClient.js +45 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
- package/dist-es/commands/CompareAgentVersionsCommand.js +16 -0
- package/dist-es/commands/CreateAgentApiKeyCommand.js +16 -0
- package/dist-es/commands/CreateAgentCommand.js +16 -0
- package/dist-es/commands/CreateGuardrailCommand.js +16 -0
- package/dist-es/commands/DeleteAgentAliasCommand.js +16 -0
- package/dist-es/commands/DeleteAgentApiKeyCommand.js +16 -0
- package/dist-es/commands/DeleteAgentCommand.js +16 -0
- package/dist-es/commands/DeleteGuardrailCommand.js +16 -0
- package/dist-es/commands/ExecuteAgentCommand.js +16 -0
- package/dist-es/commands/GetAgentCommand.js +16 -0
- package/dist-es/commands/GetAgentVersionCommand.js +16 -0
- package/dist-es/commands/GetGuardrailCommand.js +16 -0
- package/dist-es/commands/ListAgentAliasesCommand.js +16 -0
- package/dist-es/commands/ListAgentApiKeysCommand.js +16 -0
- package/dist-es/commands/ListAgentVersionsCommand.js +16 -0
- package/dist-es/commands/ListAgentsCommand.js +16 -0
- package/dist-es/commands/ListAgentsNamesCommand.js +16 -0
- package/dist-es/commands/ListAuditRecordsCommand.js +16 -0
- package/dist-es/commands/ListGuardrailsCommand.js +16 -0
- package/dist-es/commands/PublishAgentVersionCommand.js +16 -0
- package/dist-es/commands/PutAgentAliasCommand.js +16 -0
- package/dist-es/commands/UpdateAgentCommand.js +16 -0
- package/dist-es/commands/UpdateGuardrailCommand.js +16 -0
- package/dist-es/commands/index.js +23 -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 +8 -0
- package/dist-es/models/WilmaAgentsServiceException.js +8 -0
- package/dist-es/models/enums.js +115 -0
- package/dist-es/models/errors.js +141 -0
- package/dist-es/models/models_0.js +1 -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 +37 -0
- package/dist-es/runtimeExtensions.js +8 -0
- package/dist-es/schemas/schemas_0.js +1162 -0
- package/dist-types/WilmaAgents.d.ts +182 -0
- package/dist-types/WilmaAgentsClient.d.ts +192 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/CompareAgentVersionsCommand.d.ts +91 -0
- package/dist-types/commands/CreateAgentApiKeyCommand.d.ts +96 -0
- package/dist-types/commands/CreateAgentCommand.d.ts +654 -0
- package/dist-types/commands/CreateGuardrailCommand.d.ts +172 -0
- package/dist-types/commands/DeleteAgentAliasCommand.d.ts +82 -0
- package/dist-types/commands/DeleteAgentApiKeyCommand.d.ts +82 -0
- package/dist-types/commands/DeleteAgentCommand.d.ts +77 -0
- package/dist-types/commands/DeleteGuardrailCommand.d.ts +80 -0
- package/dist-types/commands/ExecuteAgentCommand.d.ts +112 -0
- package/dist-types/commands/GetAgentCommand.d.ts +386 -0
- package/dist-types/commands/GetAgentVersionCommand.d.ts +365 -0
- package/dist-types/commands/GetGuardrailCommand.d.ts +135 -0
- package/dist-types/commands/ListAgentAliasesCommand.d.ts +99 -0
- package/dist-types/commands/ListAgentApiKeysCommand.d.ts +95 -0
- package/dist-types/commands/ListAgentVersionsCommand.d.ts +99 -0
- package/dist-types/commands/ListAgentsCommand.d.ts +391 -0
- package/dist-types/commands/ListAgentsNamesCommand.d.ts +90 -0
- package/dist-types/commands/ListAuditRecordsCommand.d.ts +109 -0
- package/dist-types/commands/ListGuardrailsCommand.d.ts +137 -0
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +370 -0
- package/dist-types/commands/PutAgentAliasCommand.d.ts +107 -0
- package/dist-types/commands/UpdateAgentCommand.d.ts +661 -0
- package/dist-types/commands/UpdateGuardrailCommand.d.ts +175 -0
- package/dist-types/commands/index.d.ts +23 -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 +23 -0
- package/dist-types/models/WilmaAgentsServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +301 -0
- package/dist-types/models/errors.d.ts +129 -0
- package/dist-types/models/models_0.d.ts +2186 -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 +160 -0
- package/package.json +57 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import type { WilmaAgentsClientConfig } from "./WilmaAgentsClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: WilmaAgentsClientConfig) => {
|
|
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").WilmaAgentsHttpAuthSchemeProvider;
|
|
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 { WilmaAgentsClientConfig } from "./WilmaAgentsClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: WilmaAgentsClientConfig) => {
|
|
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").WilmaAgentsHttpAuthSchemeProvider;
|
|
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 { WilmaAgentsClientConfig } from "./WilmaAgentsClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: WilmaAgentsClientConfig) => {
|
|
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").WilmaAgentsHttpAuthSchemeProvider;
|
|
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 { WilmaAgentsClientConfig } from "./WilmaAgentsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export declare const getRuntimeConfig: (config: WilmaAgentsClientConfig) => {
|
|
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").WilmaAgentsHttpAuthSchemeProvider;
|
|
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 { WilmaAgentsExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface RuntimeExtension {
|
|
6
|
+
configure(extensionConfiguration: WilmaAgentsExtensionConfiguration): 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,160 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
|
|
3
|
+
export declare var WilmaAgentsServiceException$: StaticErrorSchema;
|
|
4
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
5
|
+
export declare var AgentAliasNotFoundException$: StaticErrorSchema;
|
|
6
|
+
export declare var AgentApiKeyNotFoundException$: StaticErrorSchema;
|
|
7
|
+
export declare var AgentNonUniqueNameException$: StaticErrorSchema;
|
|
8
|
+
export declare var AgentNotFoundException$: StaticErrorSchema;
|
|
9
|
+
export declare var AgentVersionNotFoundException$: StaticErrorSchema;
|
|
10
|
+
export declare var GuardrailInUseException$: StaticErrorSchema;
|
|
11
|
+
export declare var GuardrailNotFoundException$: StaticErrorSchema;
|
|
12
|
+
export declare var NothingToPublishException$: StaticErrorSchema;
|
|
13
|
+
export declare var RevisionConflictException$: StaticErrorSchema;
|
|
14
|
+
/**
|
|
15
|
+
* TypeRegistry instances containing modeled errors.
|
|
16
|
+
* @internal
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
20
|
+
export declare var Actor$: StaticStructureSchema;
|
|
21
|
+
export declare var Agent$: StaticStructureSchema;
|
|
22
|
+
export declare var AgentAccess$: StaticStructureSchema;
|
|
23
|
+
export declare var AgentAlias$: StaticStructureSchema;
|
|
24
|
+
export declare var AgentAliasRoute$: StaticStructureSchema;
|
|
25
|
+
export declare var AgentApiKey$: StaticStructureSchema;
|
|
26
|
+
export declare var AgentCallCapability$: StaticStructureSchema;
|
|
27
|
+
export declare var AgentChannels$: StaticStructureSchema;
|
|
28
|
+
export declare var AgentDefinitionSnapshot$: StaticStructureSchema;
|
|
29
|
+
export declare var AgentDelegationCapability$: StaticStructureSchema;
|
|
30
|
+
export declare var AgentExecutionError$: StaticStructureSchema;
|
|
31
|
+
export declare var AgentExecutionResult$: StaticStructureSchema;
|
|
32
|
+
export declare var AgentFunctionTool$: StaticStructureSchema;
|
|
33
|
+
export declare var AgentGrant$: StaticStructureSchema;
|
|
34
|
+
export declare var AgentHandoverCapability$: StaticStructureSchema;
|
|
35
|
+
export declare var AgentInfo$: StaticStructureSchema;
|
|
36
|
+
export declare var AgentKnowledgeBase$: StaticStructureSchema;
|
|
37
|
+
export declare var AgentLlmEngine$: StaticStructureSchema;
|
|
38
|
+
export declare var AgentMcpServerCapability$: StaticStructureSchema;
|
|
39
|
+
export declare var AgentSnapshotSandboxOptions$: StaticStructureSchema;
|
|
40
|
+
export declare var AgentSqsEngine$: StaticStructureSchema;
|
|
41
|
+
export declare var AgentSuggestionsCapability$: StaticStructureSchema;
|
|
42
|
+
export declare var AgentTool$: StaticStructureSchema;
|
|
43
|
+
export declare var AgentToolVariable$: StaticStructureSchema;
|
|
44
|
+
export declare var AgentToolVariableAutoHandler$: StaticStructureSchema;
|
|
45
|
+
export declare var AgentToolVariableGuidedHandler$: StaticStructureSchema;
|
|
46
|
+
export declare var AgentToolVariablePredefinedHandler$: StaticStructureSchema;
|
|
47
|
+
export declare var AgentTransferCapability$: StaticStructureSchema;
|
|
48
|
+
export declare var AgentVariable$: StaticStructureSchema;
|
|
49
|
+
export declare var AgentVercelSandboxOptions$: StaticStructureSchema;
|
|
50
|
+
export declare var AgentVersion$: StaticStructureSchema;
|
|
51
|
+
export declare var AgentVersionChange$: StaticStructureSchema;
|
|
52
|
+
export declare var AgentVersionInfo$: StaticStructureSchema;
|
|
53
|
+
export declare var AgentWebFetchCapability$: StaticStructureSchema;
|
|
54
|
+
export declare var AgentWebhookEngine$: StaticStructureSchema;
|
|
55
|
+
export declare var AgentWebSearchCapability$: StaticStructureSchema;
|
|
56
|
+
export declare var ApiChannelSettings$: StaticStructureSchema;
|
|
57
|
+
export declare var AssistantChannelSettings$: StaticStructureSchema;
|
|
58
|
+
export declare var AuditRecord$: StaticStructureSchema;
|
|
59
|
+
export declare var ChatChannelSettings$: StaticStructureSchema;
|
|
60
|
+
export declare var CompareAgentVersionsInput$: StaticStructureSchema;
|
|
61
|
+
export declare var CompareAgentVersionsOutput$: StaticStructureSchema;
|
|
62
|
+
export declare var CreateAgentApiKeyInput$: StaticStructureSchema;
|
|
63
|
+
export declare var CreateAgentApiKeyOutput$: StaticStructureSchema;
|
|
64
|
+
export declare var CreateAgentInput$: StaticStructureSchema;
|
|
65
|
+
export declare var CreateAgentOutput$: StaticStructureSchema;
|
|
66
|
+
export declare var CreateGuardrailInput$: StaticStructureSchema;
|
|
67
|
+
export declare var CreateGuardrailOutput$: StaticStructureSchema;
|
|
68
|
+
export declare var DeleteAgentAliasInput$: StaticStructureSchema;
|
|
69
|
+
export declare var DeleteAgentAliasOutput$: StaticStructureSchema;
|
|
70
|
+
export declare var DeleteAgentApiKeyInput$: StaticStructureSchema;
|
|
71
|
+
export declare var DeleteAgentApiKeyOutput$: StaticStructureSchema;
|
|
72
|
+
export declare var DeleteAgentInput$: StaticStructureSchema;
|
|
73
|
+
export declare var DeleteAgentOutput$: StaticStructureSchema;
|
|
74
|
+
export declare var DeleteGuardrailInput$: StaticStructureSchema;
|
|
75
|
+
export declare var DeleteGuardrailOutput$: StaticStructureSchema;
|
|
76
|
+
export declare var ExecuteAgentInput$: StaticStructureSchema;
|
|
77
|
+
export declare var ExecuteAgentOutput$: StaticStructureSchema;
|
|
78
|
+
export declare var FunctionWebhookIntegration$: StaticStructureSchema;
|
|
79
|
+
export declare var GetAgentInput$: StaticStructureSchema;
|
|
80
|
+
export declare var GetAgentOutput$: StaticStructureSchema;
|
|
81
|
+
export declare var GetAgentVersionInput$: StaticStructureSchema;
|
|
82
|
+
export declare var GetAgentVersionOutput$: StaticStructureSchema;
|
|
83
|
+
export declare var GetGuardrailInput$: StaticStructureSchema;
|
|
84
|
+
export declare var GetGuardrailOutput$: StaticStructureSchema;
|
|
85
|
+
export declare var Guardrail$: StaticStructureSchema;
|
|
86
|
+
export declare var GuardrailContentFilter$: StaticStructureSchema;
|
|
87
|
+
export declare var GuardrailContentPolicy$: StaticStructureSchema;
|
|
88
|
+
export declare var GuardrailPiiEntity$: StaticStructureSchema;
|
|
89
|
+
export declare var GuardrailPiiPolicy$: StaticStructureSchema;
|
|
90
|
+
export declare var GuardrailTopic$: StaticStructureSchema;
|
|
91
|
+
export declare var GuardrailTopicPolicy$: StaticStructureSchema;
|
|
92
|
+
export declare var GuardrailWordPolicy$: StaticStructureSchema;
|
|
93
|
+
export declare var ListAgentAliasesInput$: StaticStructureSchema;
|
|
94
|
+
export declare var ListAgentAliasesOutput$: StaticStructureSchema;
|
|
95
|
+
export declare var ListAgentApiKeysInput$: StaticStructureSchema;
|
|
96
|
+
export declare var ListAgentApiKeysOutput$: StaticStructureSchema;
|
|
97
|
+
export declare var ListAgentsInput$: StaticStructureSchema;
|
|
98
|
+
export declare var ListAgentsNamesInput$: StaticStructureSchema;
|
|
99
|
+
export declare var ListAgentsNamesOutput$: StaticStructureSchema;
|
|
100
|
+
export declare var ListAgentsOutput$: StaticStructureSchema;
|
|
101
|
+
export declare var ListAgentVersionsInput$: StaticStructureSchema;
|
|
102
|
+
export declare var ListAgentVersionsOutput$: StaticStructureSchema;
|
|
103
|
+
export declare var ListAuditRecordsInput$: StaticStructureSchema;
|
|
104
|
+
export declare var ListAuditRecordsOutput$: StaticStructureSchema;
|
|
105
|
+
export declare var ListGuardrailsInput$: StaticStructureSchema;
|
|
106
|
+
export declare var ListGuardrailsOutput$: StaticStructureSchema;
|
|
107
|
+
export declare var PublishAgentVersionInput$: StaticStructureSchema;
|
|
108
|
+
export declare var PublishAgentVersionOutput$: StaticStructureSchema;
|
|
109
|
+
export declare var PutAgentAliasInput$: StaticStructureSchema;
|
|
110
|
+
export declare var PutAgentAliasOutput$: StaticStructureSchema;
|
|
111
|
+
export declare var UpdateAgentInput$: StaticStructureSchema;
|
|
112
|
+
export declare var UpdateAgentOutput$: StaticStructureSchema;
|
|
113
|
+
export declare var UpdateGuardrailInput$: StaticStructureSchema;
|
|
114
|
+
export declare var UpdateGuardrailOutput$: StaticStructureSchema;
|
|
115
|
+
export declare var VoiceCallerMetadataSettings$: StaticStructureSchema;
|
|
116
|
+
export declare var VoiceChannelSettings$: StaticStructureSchema;
|
|
117
|
+
export declare var VoiceEndCallSettings$: StaticStructureSchema;
|
|
118
|
+
export declare var VoiceInterruptionSettings$: StaticStructureSchema;
|
|
119
|
+
export declare var VoiceMaxDurationSettings$: StaticStructureSchema;
|
|
120
|
+
export declare var VoiceSilenceTimeoutSettings$: StaticStructureSchema;
|
|
121
|
+
export declare var VoiceSynthesisSettings$: StaticStructureSchema;
|
|
122
|
+
export declare var VoiceTerminateHangupAction$: StaticStructureSchema;
|
|
123
|
+
export declare var VoiceTransferTarget$: StaticStructureSchema;
|
|
124
|
+
export declare var WebhookAuthorizationBasic$: StaticStructureSchema;
|
|
125
|
+
export declare var WebhookAuthorizationBearer$: StaticStructureSchema;
|
|
126
|
+
export declare var WebhookAuthorizationOAuth$: StaticStructureSchema;
|
|
127
|
+
export declare var WebhookHeader$: StaticStructureSchema;
|
|
128
|
+
export declare var WebSearchUserLocation$: StaticStructureSchema;
|
|
129
|
+
export declare var AgentFile$: StaticStructureSchema;
|
|
130
|
+
export declare var AgentCapability$: StaticUnionSchema;
|
|
131
|
+
export declare var AgentEngine$: StaticUnionSchema;
|
|
132
|
+
export declare var AgentGrantPrincipal$: StaticUnionSchema;
|
|
133
|
+
export declare var AgentSandboxCapability$: StaticUnionSchema;
|
|
134
|
+
export declare var AgentToolVariableHandler$: StaticUnionSchema;
|
|
135
|
+
export declare var FunctionIntegration$: StaticUnionSchema;
|
|
136
|
+
export declare var VoiceTerminateAction$: StaticUnionSchema;
|
|
137
|
+
export declare var WebhookAuthorization$: StaticUnionSchema;
|
|
138
|
+
export declare var CompareAgentVersions$: StaticOperationSchema;
|
|
139
|
+
export declare var CreateAgent$: StaticOperationSchema;
|
|
140
|
+
export declare var CreateAgentApiKey$: StaticOperationSchema;
|
|
141
|
+
export declare var CreateGuardrail$: StaticOperationSchema;
|
|
142
|
+
export declare var DeleteAgent$: StaticOperationSchema;
|
|
143
|
+
export declare var DeleteAgentAlias$: StaticOperationSchema;
|
|
144
|
+
export declare var DeleteAgentApiKey$: StaticOperationSchema;
|
|
145
|
+
export declare var DeleteGuardrail$: StaticOperationSchema;
|
|
146
|
+
export declare var ExecuteAgent$: StaticOperationSchema;
|
|
147
|
+
export declare var GetAgent$: StaticOperationSchema;
|
|
148
|
+
export declare var GetAgentVersion$: StaticOperationSchema;
|
|
149
|
+
export declare var GetGuardrail$: StaticOperationSchema;
|
|
150
|
+
export declare var ListAgentAliases$: StaticOperationSchema;
|
|
151
|
+
export declare var ListAgentApiKeys$: StaticOperationSchema;
|
|
152
|
+
export declare var ListAgents$: StaticOperationSchema;
|
|
153
|
+
export declare var ListAgentsNames$: StaticOperationSchema;
|
|
154
|
+
export declare var ListAgentVersions$: StaticOperationSchema;
|
|
155
|
+
export declare var ListAuditRecords$: StaticOperationSchema;
|
|
156
|
+
export declare var ListGuardrails$: StaticOperationSchema;
|
|
157
|
+
export declare var PublishAgentVersion$: StaticOperationSchema;
|
|
158
|
+
export declare var PutAgentAlias$: StaticOperationSchema;
|
|
159
|
+
export declare var UpdateAgent$: StaticOperationSchema;
|
|
160
|
+
export declare var UpdateGuardrail$: StaticOperationSchema;
|
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wildix/wilma-agents-client",
|
|
3
|
+
"description": "@wildix/wilma-agents-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
|
+
}
|