@wildix/wilma-copilot-client 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/dist-cjs/WilmaCopilot.js +75 -0
  2. package/dist-cjs/WilmaCopilotClient.js +49 -0
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
  5. package/dist-cjs/commands/AttachProfileResourceCommand.js +20 -0
  6. package/dist-cjs/commands/CompareProfileVersionsCommand.js +20 -0
  7. package/dist-cjs/commands/CreateAssetCommand.js +20 -0
  8. package/dist-cjs/commands/CreateAutomationCommand.js +20 -0
  9. package/dist-cjs/commands/CreateEvaluationCommand.js +20 -0
  10. package/dist-cjs/commands/CreateIntentCommand.js +20 -0
  11. package/dist-cjs/commands/CreateProfileCommand.js +20 -0
  12. package/dist-cjs/commands/DeleteAssetCommand.js +20 -0
  13. package/dist-cjs/commands/DeleteAutomationCommand.js +20 -0
  14. package/dist-cjs/commands/DeleteEvaluationCommand.js +20 -0
  15. package/dist-cjs/commands/DeleteIntentCommand.js +20 -0
  16. package/dist-cjs/commands/DeleteProfileCommand.js +20 -0
  17. package/dist-cjs/commands/DeleteProfileResourceCommand.js +20 -0
  18. package/dist-cjs/commands/GetAssetCommand.js +20 -0
  19. package/dist-cjs/commands/GetAutomationCommand.js +20 -0
  20. package/dist-cjs/commands/GetEvaluationCommand.js +20 -0
  21. package/dist-cjs/commands/GetIntentCommand.js +20 -0
  22. package/dist-cjs/commands/GetProfileCommand.js +20 -0
  23. package/dist-cjs/commands/GetProfileVersionCommand.js +20 -0
  24. package/dist-cjs/commands/ListAssetsCommand.js +20 -0
  25. package/dist-cjs/commands/ListAutomationsCommand.js +20 -0
  26. package/dist-cjs/commands/ListEvaluationsCommand.js +20 -0
  27. package/dist-cjs/commands/ListIntentsCommand.js +20 -0
  28. package/dist-cjs/commands/ListProfileVersionsCommand.js +20 -0
  29. package/dist-cjs/commands/ListProfilesCommand.js +20 -0
  30. package/dist-cjs/commands/PublishProfileVersionCommand.js +20 -0
  31. package/dist-cjs/commands/RestoreProfileVersionToDraftCommand.js +20 -0
  32. package/dist-cjs/commands/UpdateAssetCommand.js +20 -0
  33. package/dist-cjs/commands/UpdateAutomationCommand.js +20 -0
  34. package/dist-cjs/commands/UpdateEvaluationCommand.js +20 -0
  35. package/dist-cjs/commands/UpdateIntentCommand.js +20 -0
  36. package/dist-cjs/commands/UpdateProfileCommand.js +20 -0
  37. package/dist-cjs/commands/index.js +35 -0
  38. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  39. package/dist-cjs/endpoint/bdd.js +28 -0
  40. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  41. package/dist-cjs/extensionConfiguration.js +2 -0
  42. package/dist-cjs/index.js +13 -0
  43. package/dist-cjs/models/WilmaCopilotServiceException.js +12 -0
  44. package/dist-cjs/models/enums.js +95 -0
  45. package/dist-cjs/models/errors.js +287 -0
  46. package/dist-cjs/models/models_0.js +2 -0
  47. package/dist-cjs/runtimeConfig.browser.js +32 -0
  48. package/dist-cjs/runtimeConfig.js +41 -0
  49. package/dist-cjs/runtimeConfig.native.js +15 -0
  50. package/dist-cjs/runtimeConfig.shared.js +41 -0
  51. package/dist-cjs/runtimeExtensions.js +12 -0
  52. package/dist-cjs/schemas/schemas_0.js +1249 -0
  53. package/dist-es/WilmaCopilot.js +71 -0
  54. package/dist-es/WilmaCopilotClient.js +45 -0
  55. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  56. package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
  57. package/dist-es/commands/AttachProfileResourceCommand.js +16 -0
  58. package/dist-es/commands/CompareProfileVersionsCommand.js +16 -0
  59. package/dist-es/commands/CreateAssetCommand.js +16 -0
  60. package/dist-es/commands/CreateAutomationCommand.js +16 -0
  61. package/dist-es/commands/CreateEvaluationCommand.js +16 -0
  62. package/dist-es/commands/CreateIntentCommand.js +16 -0
  63. package/dist-es/commands/CreateProfileCommand.js +16 -0
  64. package/dist-es/commands/DeleteAssetCommand.js +16 -0
  65. package/dist-es/commands/DeleteAutomationCommand.js +16 -0
  66. package/dist-es/commands/DeleteEvaluationCommand.js +16 -0
  67. package/dist-es/commands/DeleteIntentCommand.js +16 -0
  68. package/dist-es/commands/DeleteProfileCommand.js +16 -0
  69. package/dist-es/commands/DeleteProfileResourceCommand.js +16 -0
  70. package/dist-es/commands/GetAssetCommand.js +16 -0
  71. package/dist-es/commands/GetAutomationCommand.js +16 -0
  72. package/dist-es/commands/GetEvaluationCommand.js +16 -0
  73. package/dist-es/commands/GetIntentCommand.js +16 -0
  74. package/dist-es/commands/GetProfileCommand.js +16 -0
  75. package/dist-es/commands/GetProfileVersionCommand.js +16 -0
  76. package/dist-es/commands/ListAssetsCommand.js +16 -0
  77. package/dist-es/commands/ListAutomationsCommand.js +16 -0
  78. package/dist-es/commands/ListEvaluationsCommand.js +16 -0
  79. package/dist-es/commands/ListIntentsCommand.js +16 -0
  80. package/dist-es/commands/ListProfileVersionsCommand.js +16 -0
  81. package/dist-es/commands/ListProfilesCommand.js +16 -0
  82. package/dist-es/commands/PublishProfileVersionCommand.js +16 -0
  83. package/dist-es/commands/RestoreProfileVersionToDraftCommand.js +16 -0
  84. package/dist-es/commands/UpdateAssetCommand.js +16 -0
  85. package/dist-es/commands/UpdateAutomationCommand.js +16 -0
  86. package/dist-es/commands/UpdateEvaluationCommand.js +16 -0
  87. package/dist-es/commands/UpdateIntentCommand.js +16 -0
  88. package/dist-es/commands/UpdateProfileCommand.js +16 -0
  89. package/dist-es/commands/index.js +32 -0
  90. package/dist-es/endpoint/EndpointParameters.js +12 -0
  91. package/dist-es/endpoint/bdd.js +25 -0
  92. package/dist-es/endpoint/endpointResolver.js +12 -0
  93. package/dist-es/extensionConfiguration.js +1 -0
  94. package/dist-es/index.js +8 -0
  95. package/dist-es/models/WilmaCopilotServiceException.js +8 -0
  96. package/dist-es/models/enums.js +92 -0
  97. package/dist-es/models/errors.js +265 -0
  98. package/dist-es/models/models_0.js +1 -0
  99. package/dist-es/runtimeConfig.browser.js +27 -0
  100. package/dist-es/runtimeConfig.js +36 -0
  101. package/dist-es/runtimeConfig.native.js +11 -0
  102. package/dist-es/runtimeConfig.shared.js +37 -0
  103. package/dist-es/runtimeExtensions.js +8 -0
  104. package/dist-es/schemas/schemas_0.js +1243 -0
  105. package/dist-types/WilmaCopilot.d.ts +254 -0
  106. package/dist-types/WilmaCopilotClient.d.ts +209 -0
  107. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  108. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  109. package/dist-types/commands/AttachProfileResourceCommand.d.ts +165 -0
  110. package/dist-types/commands/CompareProfileVersionsCommand.d.ts +91 -0
  111. package/dist-types/commands/CreateAssetCommand.d.ts +328 -0
  112. package/dist-types/commands/CreateAutomationCommand.d.ts +176 -0
  113. package/dist-types/commands/CreateEvaluationCommand.d.ts +196 -0
  114. package/dist-types/commands/CreateIntentCommand.d.ts +202 -0
  115. package/dist-types/commands/CreateProfileCommand.d.ts +181 -0
  116. package/dist-types/commands/DeleteAssetCommand.d.ts +83 -0
  117. package/dist-types/commands/DeleteAutomationCommand.d.ts +83 -0
  118. package/dist-types/commands/DeleteEvaluationCommand.d.ts +83 -0
  119. package/dist-types/commands/DeleteIntentCommand.d.ts +83 -0
  120. package/dist-types/commands/DeleteProfileCommand.d.ts +79 -0
  121. package/dist-types/commands/DeleteProfileResourceCommand.d.ts +147 -0
  122. package/dist-types/commands/GetAssetCommand.d.ts +213 -0
  123. package/dist-types/commands/GetAutomationCommand.d.ts +137 -0
  124. package/dist-types/commands/GetEvaluationCommand.d.ts +147 -0
  125. package/dist-types/commands/GetIntentCommand.d.ts +150 -0
  126. package/dist-types/commands/GetProfileCommand.d.ts +141 -0
  127. package/dist-types/commands/GetProfileVersionCommand.d.ts +82 -0
  128. package/dist-types/commands/ListAssetsCommand.d.ts +107 -0
  129. package/dist-types/commands/ListAutomationsCommand.d.ts +103 -0
  130. package/dist-types/commands/ListEvaluationsCommand.d.ts +104 -0
  131. package/dist-types/commands/ListIntentsCommand.d.ts +103 -0
  132. package/dist-types/commands/ListProfileVersionsCommand.d.ts +95 -0
  133. package/dist-types/commands/ListProfilesCommand.d.ts +110 -0
  134. package/dist-types/commands/PublishProfileVersionCommand.d.ts +87 -0
  135. package/dist-types/commands/RestoreProfileVersionToDraftCommand.d.ts +146 -0
  136. package/dist-types/commands/UpdateAssetCommand.d.ts +335 -0
  137. package/dist-types/commands/UpdateAutomationCommand.d.ts +183 -0
  138. package/dist-types/commands/UpdateEvaluationCommand.d.ts +203 -0
  139. package/dist-types/commands/UpdateIntentCommand.d.ts +209 -0
  140. package/dist-types/commands/UpdateProfileCommand.d.ts +160 -0
  141. package/dist-types/commands/index.d.ts +32 -0
  142. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  143. package/dist-types/endpoint/bdd.d.ts +2 -0
  144. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  145. package/dist-types/extensionConfiguration.d.ts +8 -0
  146. package/dist-types/index.d.ts +31 -0
  147. package/dist-types/models/WilmaCopilotServiceException.d.ts +14 -0
  148. package/dist-types/models/enums.d.ts +287 -0
  149. package/dist-types/models/errors.d.ts +239 -0
  150. package/dist-types/models/models_0.d.ts +2808 -0
  151. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  152. package/dist-types/runtimeConfig.d.ts +55 -0
  153. package/dist-types/runtimeConfig.native.d.ts +54 -0
  154. package/dist-types/runtimeConfig.shared.d.ts +32 -0
  155. package/dist-types/runtimeExtensions.d.ts +17 -0
  156. package/dist-types/schemas/schemas_0.d.ts +182 -0
  157. package/package.json +57 -0
@@ -0,0 +1,55 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import type { WilmaCopilotClientConfig } from "./WilmaCopilotClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: WilmaCopilotClientConfig) => {
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").WilmaCopilotHttpAuthSchemeProvider;
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 { WilmaCopilotClientConfig } from "./WilmaCopilotClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: WilmaCopilotClientConfig) => {
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").WilmaCopilotHttpAuthSchemeProvider;
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 { WilmaCopilotClientConfig } from "./WilmaCopilotClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: WilmaCopilotClientConfig) => {
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").WilmaCopilotHttpAuthSchemeProvider;
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 { WilmaCopilotClientConfig } from "./WilmaCopilotClient";
5
+ /**
6
+ * @internal
7
+ */
8
+ export declare const getRuntimeConfig: (config: WilmaCopilotClientConfig) => {
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").WilmaCopilotHttpAuthSchemeProvider;
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 { WilmaCopilotExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: WilmaCopilotExtensionConfiguration): 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,182 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
2
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
+ export declare var WilmaCopilotServiceException$: StaticErrorSchema;
4
+ export declare var ForbiddenException$: StaticErrorSchema;
5
+ export declare var ValidationException$: StaticErrorSchema;
6
+ export declare var NothingToPublishException$: StaticErrorSchema;
7
+ export declare var RevisionConflictException$: StaticErrorSchema;
8
+ export declare var AssetInUseException$: StaticErrorSchema;
9
+ export declare var AssetNonUniqueNameException$: StaticErrorSchema;
10
+ export declare var AssetNotFoundException$: StaticErrorSchema;
11
+ export declare var AutomationInUseException$: StaticErrorSchema;
12
+ export declare var AutomationNonUniqueNameException$: StaticErrorSchema;
13
+ export declare var AutomationNotFoundException$: StaticErrorSchema;
14
+ export declare var EvaluationInUseException$: StaticErrorSchema;
15
+ export declare var EvaluationNonUniqueNameException$: StaticErrorSchema;
16
+ export declare var EvaluationNotFoundException$: StaticErrorSchema;
17
+ export declare var IntentInUseException$: StaticErrorSchema;
18
+ export declare var IntentNonUniqueNameException$: StaticErrorSchema;
19
+ export declare var IntentNotFoundException$: StaticErrorSchema;
20
+ export declare var ProfileNonUniqueNameException$: StaticErrorSchema;
21
+ export declare var ProfileNotFoundException$: StaticErrorSchema;
22
+ export declare var ProfileVersionNotFoundException$: StaticErrorSchema;
23
+ /**
24
+ * TypeRegistry instances containing modeled errors.
25
+ * @internal
26
+ *
27
+ */
28
+ export declare const errorTypeRegistries: TypeRegistry[];
29
+ export declare var Actor$: StaticStructureSchema;
30
+ export declare var AgentAutomationHandler$: StaticStructureSchema;
31
+ export declare var Asset$: StaticStructureSchema;
32
+ export declare var AssetCard$: StaticStructureSchema;
33
+ export declare var AssetInfo$: StaticStructureSchema;
34
+ export declare var AssetKnowledge$: StaticStructureSchema;
35
+ export declare var AssetPlaybook$: StaticStructureSchema;
36
+ export declare var AssetSmartActions$: StaticStructureSchema;
37
+ export declare var AttachProfileResourceInput$: StaticStructureSchema;
38
+ export declare var AttachProfileResourceOutput$: StaticStructureSchema;
39
+ export declare var Automation$: StaticStructureSchema;
40
+ export declare var AutomationInfo$: StaticStructureSchema;
41
+ export declare var CardAgentContent$: StaticStructureSchema;
42
+ export declare var CardStaticContent$: StaticStructureSchema;
43
+ export declare var CompareProfileVersionsInput$: StaticStructureSchema;
44
+ export declare var CompareProfileVersionsOutput$: StaticStructureSchema;
45
+ export declare var ContextualKnowledgeAnswersFeatureConfiguration$: StaticStructureSchema;
46
+ export declare var CopilotAccess$: StaticStructureSchema;
47
+ export declare var CopilotField$: StaticStructureSchema;
48
+ export declare var CopilotMultilineParameter$: StaticStructureSchema;
49
+ export declare var CopilotNumberParameter$: StaticStructureSchema;
50
+ export declare var CopilotSelectionParameter$: StaticStructureSchema;
51
+ export declare var CopilotTextParameter$: StaticStructureSchema;
52
+ export declare var CopilotVariableBinding$: StaticStructureSchema;
53
+ export declare var CreateAssetInput$: StaticStructureSchema;
54
+ export declare var CreateAssetOutput$: StaticStructureSchema;
55
+ export declare var CreateAutomationInput$: StaticStructureSchema;
56
+ export declare var CreateAutomationOutput$: StaticStructureSchema;
57
+ export declare var CreateEvaluationInput$: StaticStructureSchema;
58
+ export declare var CreateEvaluationOutput$: StaticStructureSchema;
59
+ export declare var CreateIntentInput$: StaticStructureSchema;
60
+ export declare var CreateIntentOutput$: StaticStructureSchema;
61
+ export declare var CreateProfileInput$: StaticStructureSchema;
62
+ export declare var CreateProfileOutput$: StaticStructureSchema;
63
+ export declare var CsatFeatureConfiguration$: StaticStructureSchema;
64
+ export declare var DeleteAssetInput$: StaticStructureSchema;
65
+ export declare var DeleteAssetOutput$: StaticStructureSchema;
66
+ export declare var DeleteAutomationInput$: StaticStructureSchema;
67
+ export declare var DeleteAutomationOutput$: StaticStructureSchema;
68
+ export declare var DeleteEvaluationInput$: StaticStructureSchema;
69
+ export declare var DeleteEvaluationOutput$: StaticStructureSchema;
70
+ export declare var DeleteIntentInput$: StaticStructureSchema;
71
+ export declare var DeleteIntentOutput$: StaticStructureSchema;
72
+ export declare var DeleteProfileInput$: StaticStructureSchema;
73
+ export declare var DeleteProfileOutput$: StaticStructureSchema;
74
+ export declare var DeleteProfileResourceInput$: StaticStructureSchema;
75
+ export declare var DeleteProfileResourceOutput$: StaticStructureSchema;
76
+ export declare var Evaluation$: StaticStructureSchema;
77
+ export declare var EvaluationInfo$: StaticStructureSchema;
78
+ export declare var EvaluationIntervalTrigger$: StaticStructureSchema;
79
+ export declare var EvaluationTriggers$: StaticStructureSchema;
80
+ export declare var GetAssetInput$: StaticStructureSchema;
81
+ export declare var GetAssetOutput$: StaticStructureSchema;
82
+ export declare var GetAutomationInput$: StaticStructureSchema;
83
+ export declare var GetAutomationOutput$: StaticStructureSchema;
84
+ export declare var GetEvaluationInput$: StaticStructureSchema;
85
+ export declare var GetEvaluationOutput$: StaticStructureSchema;
86
+ export declare var GetIntentInput$: StaticStructureSchema;
87
+ export declare var GetIntentOutput$: StaticStructureSchema;
88
+ export declare var GetProfileInput$: StaticStructureSchema;
89
+ export declare var GetProfileOutput$: StaticStructureSchema;
90
+ export declare var GetProfileVersionInput$: StaticStructureSchema;
91
+ export declare var GetProfileVersionOutput$: StaticStructureSchema;
92
+ export declare var Intent$: StaticStructureSchema;
93
+ export declare var IntentAiMatch$: StaticStructureSchema;
94
+ export declare var IntentHandlers$: StaticStructureSchema;
95
+ export declare var IntentInfo$: StaticStructureSchema;
96
+ export declare var IntentTextMatch$: StaticStructureSchema;
97
+ export declare var IntentTextMatchOption$: StaticStructureSchema;
98
+ export declare var KnowledgeBaseAutomationHandler$: StaticStructureSchema;
99
+ export declare var ListAssetsInput$: StaticStructureSchema;
100
+ export declare var ListAssetsOutput$: StaticStructureSchema;
101
+ export declare var ListAutomationsInput$: StaticStructureSchema;
102
+ export declare var ListAutomationsOutput$: StaticStructureSchema;
103
+ export declare var ListEvaluationsInput$: StaticStructureSchema;
104
+ export declare var ListEvaluationsOutput$: StaticStructureSchema;
105
+ export declare var ListIntentsInput$: StaticStructureSchema;
106
+ export declare var ListIntentsOutput$: StaticStructureSchema;
107
+ export declare var ListProfilesInput$: StaticStructureSchema;
108
+ export declare var ListProfilesOutput$: StaticStructureSchema;
109
+ export declare var ListProfileVersionsInput$: StaticStructureSchema;
110
+ export declare var ListProfileVersionsOutput$: StaticStructureSchema;
111
+ export declare var PlaybookManualCompletion$: StaticStructureSchema;
112
+ export declare var PlaybookSemanticCompletion$: StaticStructureSchema;
113
+ export declare var PlaybookStep$: StaticStructureSchema;
114
+ export declare var Profile$: StaticStructureSchema;
115
+ export declare var ProfileInfo$: StaticStructureSchema;
116
+ export declare var ProfileVersionChange$: StaticStructureSchema;
117
+ export declare var ProfileVersionInfo$: StaticStructureSchema;
118
+ export declare var PublishProfileVersionInput$: StaticStructureSchema;
119
+ export declare var PublishProfileVersionOutput$: StaticStructureSchema;
120
+ export declare var RestoreProfileVersionToDraftInput$: StaticStructureSchema;
121
+ export declare var RestoreProfileVersionToDraftOutput$: StaticStructureSchema;
122
+ export declare var SentimentFeatureConfiguration$: StaticStructureSchema;
123
+ export declare var SmartActionHandover$: StaticStructureSchema;
124
+ export declare var SmartActionItem$: StaticStructureSchema;
125
+ export declare var SmartActionOpenUrl$: StaticStructureSchema;
126
+ export declare var SmartActionRunAgent$: StaticStructureSchema;
127
+ export declare var SmartActionRunTool$: StaticStructureSchema;
128
+ export declare var SmartActionTransfer$: StaticStructureSchema;
129
+ export declare var TalkRatioFeatureConfiguration$: StaticStructureSchema;
130
+ export declare var ToolAutomationHandler$: StaticStructureSchema;
131
+ export declare var TopicsFeatureConfiguration$: StaticStructureSchema;
132
+ export declare var UpdateAssetInput$: StaticStructureSchema;
133
+ export declare var UpdateAssetOutput$: StaticStructureSchema;
134
+ export declare var UpdateAutomationInput$: StaticStructureSchema;
135
+ export declare var UpdateAutomationOutput$: StaticStructureSchema;
136
+ export declare var UpdateEvaluationInput$: StaticStructureSchema;
137
+ export declare var UpdateEvaluationOutput$: StaticStructureSchema;
138
+ export declare var UpdateIntentInput$: StaticStructureSchema;
139
+ export declare var UpdateIntentOutput$: StaticStructureSchema;
140
+ export declare var UpdateProfileInput$: StaticStructureSchema;
141
+ export declare var UpdateProfileOutput$: StaticStructureSchema;
142
+ export declare var AssetContent$: StaticUnionSchema;
143
+ export declare var AutomationHandler$: StaticUnionSchema;
144
+ export declare var CardContent$: StaticUnionSchema;
145
+ export declare var CopilotFeature$: StaticUnionSchema;
146
+ export declare var CopilotFieldParameter$: StaticUnionSchema;
147
+ export declare var CopilotGrantPrincipal$: StaticUnionSchema;
148
+ export declare var PlaybookCompletionCriteria$: StaticUnionSchema;
149
+ export declare var ProfileResource$: StaticUnionSchema;
150
+ export declare var SmartAction$: StaticUnionSchema;
151
+ export declare var AttachProfileResource$: StaticOperationSchema;
152
+ export declare var CompareProfileVersions$: StaticOperationSchema;
153
+ export declare var CreateAsset$: StaticOperationSchema;
154
+ export declare var CreateAutomation$: StaticOperationSchema;
155
+ export declare var CreateEvaluation$: StaticOperationSchema;
156
+ export declare var CreateIntent$: StaticOperationSchema;
157
+ export declare var CreateProfile$: StaticOperationSchema;
158
+ export declare var DeleteAsset$: StaticOperationSchema;
159
+ export declare var DeleteAutomation$: StaticOperationSchema;
160
+ export declare var DeleteEvaluation$: StaticOperationSchema;
161
+ export declare var DeleteIntent$: StaticOperationSchema;
162
+ export declare var DeleteProfile$: StaticOperationSchema;
163
+ export declare var DeleteProfileResource$: StaticOperationSchema;
164
+ export declare var GetAsset$: StaticOperationSchema;
165
+ export declare var GetAutomation$: StaticOperationSchema;
166
+ export declare var GetEvaluation$: StaticOperationSchema;
167
+ export declare var GetIntent$: StaticOperationSchema;
168
+ export declare var GetProfile$: StaticOperationSchema;
169
+ export declare var GetProfileVersion$: StaticOperationSchema;
170
+ export declare var ListAssets$: StaticOperationSchema;
171
+ export declare var ListAutomations$: StaticOperationSchema;
172
+ export declare var ListEvaluations$: StaticOperationSchema;
173
+ export declare var ListIntents$: StaticOperationSchema;
174
+ export declare var ListProfiles$: StaticOperationSchema;
175
+ export declare var ListProfileVersions$: StaticOperationSchema;
176
+ export declare var PublishProfileVersion$: StaticOperationSchema;
177
+ export declare var RestoreProfileVersionToDraft$: StaticOperationSchema;
178
+ export declare var UpdateAsset$: StaticOperationSchema;
179
+ export declare var UpdateAutomation$: StaticOperationSchema;
180
+ export declare var UpdateEvaluation$: StaticOperationSchema;
181
+ export declare var UpdateIntent$: StaticOperationSchema;
182
+ export declare var UpdateProfile$: StaticOperationSchema;
package/package.json ADDED
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "@wildix/wilma-copilot-client",
3
+ "description": "@wildix/wilma-copilot-client client",
4
+ "version": "1.0.2",
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
+ }