@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,71 @@
1
+ import { createAggregatedClient } from "@smithy/core/client";
2
+ import { AttachProfileResourceCommand, } from "./commands/AttachProfileResourceCommand";
3
+ import { CompareProfileVersionsCommand, } from "./commands/CompareProfileVersionsCommand";
4
+ import { CreateAssetCommand, } from "./commands/CreateAssetCommand";
5
+ import { CreateAutomationCommand, } from "./commands/CreateAutomationCommand";
6
+ import { CreateEvaluationCommand, } from "./commands/CreateEvaluationCommand";
7
+ import { CreateIntentCommand, } from "./commands/CreateIntentCommand";
8
+ import { CreateProfileCommand, } from "./commands/CreateProfileCommand";
9
+ import { DeleteAssetCommand, } from "./commands/DeleteAssetCommand";
10
+ import { DeleteAutomationCommand, } from "./commands/DeleteAutomationCommand";
11
+ import { DeleteEvaluationCommand, } from "./commands/DeleteEvaluationCommand";
12
+ import { DeleteIntentCommand, } from "./commands/DeleteIntentCommand";
13
+ import { DeleteProfileCommand, } from "./commands/DeleteProfileCommand";
14
+ import { DeleteProfileResourceCommand, } from "./commands/DeleteProfileResourceCommand";
15
+ import { GetAssetCommand } from "./commands/GetAssetCommand";
16
+ import { GetAutomationCommand, } from "./commands/GetAutomationCommand";
17
+ import { GetEvaluationCommand, } from "./commands/GetEvaluationCommand";
18
+ import { GetIntentCommand } from "./commands/GetIntentCommand";
19
+ import { GetProfileCommand, } from "./commands/GetProfileCommand";
20
+ import { GetProfileVersionCommand, } from "./commands/GetProfileVersionCommand";
21
+ import { ListAssetsCommand, } from "./commands/ListAssetsCommand";
22
+ import { ListAutomationsCommand, } from "./commands/ListAutomationsCommand";
23
+ import { ListEvaluationsCommand, } from "./commands/ListEvaluationsCommand";
24
+ import { ListIntentsCommand, } from "./commands/ListIntentsCommand";
25
+ import { ListProfilesCommand, } from "./commands/ListProfilesCommand";
26
+ import { ListProfileVersionsCommand, } from "./commands/ListProfileVersionsCommand";
27
+ import { PublishProfileVersionCommand, } from "./commands/PublishProfileVersionCommand";
28
+ import { RestoreProfileVersionToDraftCommand, } from "./commands/RestoreProfileVersionToDraftCommand";
29
+ import { UpdateAssetCommand, } from "./commands/UpdateAssetCommand";
30
+ import { UpdateAutomationCommand, } from "./commands/UpdateAutomationCommand";
31
+ import { UpdateEvaluationCommand, } from "./commands/UpdateEvaluationCommand";
32
+ import { UpdateIntentCommand, } from "./commands/UpdateIntentCommand";
33
+ import { UpdateProfileCommand, } from "./commands/UpdateProfileCommand";
34
+ import { WilmaCopilotClient } from "./WilmaCopilotClient";
35
+ const commands = {
36
+ AttachProfileResourceCommand,
37
+ CompareProfileVersionsCommand,
38
+ CreateAssetCommand,
39
+ CreateAutomationCommand,
40
+ CreateEvaluationCommand,
41
+ CreateIntentCommand,
42
+ CreateProfileCommand,
43
+ DeleteAssetCommand,
44
+ DeleteAutomationCommand,
45
+ DeleteEvaluationCommand,
46
+ DeleteIntentCommand,
47
+ DeleteProfileCommand,
48
+ DeleteProfileResourceCommand,
49
+ GetAssetCommand,
50
+ GetAutomationCommand,
51
+ GetEvaluationCommand,
52
+ GetIntentCommand,
53
+ GetProfileCommand,
54
+ GetProfileVersionCommand,
55
+ ListAssetsCommand,
56
+ ListAutomationsCommand,
57
+ ListEvaluationsCommand,
58
+ ListIntentsCommand,
59
+ ListProfilesCommand,
60
+ ListProfileVersionsCommand,
61
+ PublishProfileVersionCommand,
62
+ RestoreProfileVersionToDraftCommand,
63
+ UpdateAssetCommand,
64
+ UpdateAutomationCommand,
65
+ UpdateEvaluationCommand,
66
+ UpdateIntentCommand,
67
+ UpdateProfileCommand,
68
+ };
69
+ export class WilmaCopilot extends WilmaCopilotClient {
70
+ }
71
+ createAggregatedClient(commands, WilmaCopilot);
@@ -0,0 +1,45 @@
1
+ import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from "@aws-sdk/core/client";
2
+ import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
3
+ import { Client as __Client, } from "@smithy/core/client";
4
+ import { resolveEndpointConfig } from "@smithy/core/endpoints";
5
+ import { getContentLengthPlugin } from "@smithy/core/protocols";
6
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
+ import { defaultWilmaCopilotHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
9
+ import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
+ import { resolveRuntimeExtensions } from "./runtimeExtensions";
12
+ export { __Client };
13
+ export class WilmaCopilotClient extends __Client {
14
+ config;
15
+ constructor(...[configuration]) {
16
+ const _config_0 = __getRuntimeConfig(configuration || {});
17
+ super(_config_0);
18
+ this.initConfig = _config_0;
19
+ const _config_1 = resolveClientEndpointParameters(_config_0);
20
+ const _config_2 = resolveUserAgentConfig(_config_1);
21
+ const _config_3 = resolveRetryConfig(_config_2);
22
+ const _config_4 = resolveHostHeaderConfig(_config_3);
23
+ const _config_5 = resolveEndpointConfig(_config_4);
24
+ const _config_6 = resolveHttpAuthSchemeConfig(_config_5);
25
+ const _config_7 = resolveRuntimeExtensions(_config_6, configuration?.extensions || []);
26
+ this.config = _config_7;
27
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
29
+ this.middlewareStack.use(getRetryPlugin(this.config));
30
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
31
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
32
+ this.middlewareStack.use(getLoggerPlugin(this.config));
33
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
34
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
35
+ httpAuthSchemeParametersProvider: defaultWilmaCopilotHttpAuthSchemeParametersProvider,
36
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
37
+ "smithy.api#httpBearerAuth": config.token,
38
+ }),
39
+ }));
40
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
41
+ }
42
+ destroy() {
43
+ super.destroy();
44
+ }
45
+ }
@@ -0,0 +1,38 @@
1
+ export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
2
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
3
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
4
+ let _token = runtimeConfig.token;
5
+ return {
6
+ setHttpAuthScheme(httpAuthScheme) {
7
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
8
+ if (index === -1) {
9
+ _httpAuthSchemes.push(httpAuthScheme);
10
+ }
11
+ else {
12
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
13
+ }
14
+ },
15
+ httpAuthSchemes() {
16
+ return _httpAuthSchemes;
17
+ },
18
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
19
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
20
+ },
21
+ httpAuthSchemeProvider() {
22
+ return _httpAuthSchemeProvider;
23
+ },
24
+ setToken(token) {
25
+ _token = token;
26
+ },
27
+ token() {
28
+ return _token;
29
+ },
30
+ };
31
+ };
32
+ export const resolveHttpAuthRuntimeConfig = (config) => {
33
+ return {
34
+ httpAuthSchemes: config.httpAuthSchemes(),
35
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
36
+ token: config.token(),
37
+ };
38
+ };
@@ -0,0 +1,52 @@
1
+ import { doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider } from "@smithy/core";
2
+ import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
3
+ export const defaultWilmaCopilotHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
+ return {
5
+ operation: getSmithyContext(context).operation,
6
+ };
7
+ };
8
+ function createSmithyApiHttpBearerAuthHttpAuthOption(authParameters) {
9
+ return {
10
+ schemeId: "smithy.api#httpBearerAuth",
11
+ };
12
+ }
13
+ function createWildixAuthApiKeysHttpAuthOption(authParameters) {
14
+ return {
15
+ schemeId: "wildix.auth#apiKeys",
16
+ };
17
+ }
18
+ function createWildixAuthPbxHttpAuthOption(authParameters) {
19
+ return {
20
+ schemeId: "wildix.auth#pbx",
21
+ };
22
+ }
23
+ function createWildixAuthS2sHttpAuthOption(authParameters) {
24
+ return {
25
+ schemeId: "wildix.auth#s2s",
26
+ };
27
+ }
28
+ function createWildixAuthXbsHttpAuthOption(authParameters) {
29
+ return {
30
+ schemeId: "wildix.auth#xbs",
31
+ };
32
+ }
33
+ export const defaultWilmaCopilotHttpAuthSchemeProvider = (authParameters) => {
34
+ const options = [];
35
+ switch (authParameters.operation) {
36
+ default: {
37
+ options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
38
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
39
+ options.push(createWildixAuthPbxHttpAuthOption(authParameters));
40
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
41
+ options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
42
+ }
43
+ }
44
+ return options;
45
+ };
46
+ export const resolveHttpAuthSchemeConfig = (config) => {
47
+ const token = memoizeIdentityProvider(config.token, isIdentityExpired, doesIdentityRequireRefresh);
48
+ return Object.assign(config, {
49
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
50
+ token,
51
+ });
52
+ };
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { AttachProfileResource$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class AttachProfileResourceCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "AttachProfileResource", {})
13
+ .n("WilmaCopilotClient", "AttachProfileResourceCommand")
14
+ .sc(AttachProfileResource$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CompareProfileVersions$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CompareProfileVersionsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "CompareProfileVersions", {})
13
+ .n("WilmaCopilotClient", "CompareProfileVersionsCommand")
14
+ .sc(CompareProfileVersions$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateAsset$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateAssetCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "CreateAsset", {})
13
+ .n("WilmaCopilotClient", "CreateAssetCommand")
14
+ .sc(CreateAsset$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateAutomation$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateAutomationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "CreateAutomation", {})
13
+ .n("WilmaCopilotClient", "CreateAutomationCommand")
14
+ .sc(CreateAutomation$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateEvaluation$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateEvaluationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "CreateEvaluation", {})
13
+ .n("WilmaCopilotClient", "CreateEvaluationCommand")
14
+ .sc(CreateEvaluation$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateIntent$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateIntentCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "CreateIntent", {})
13
+ .n("WilmaCopilotClient", "CreateIntentCommand")
14
+ .sc(CreateIntent$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateProfile$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateProfileCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "CreateProfile", {})
13
+ .n("WilmaCopilotClient", "CreateProfileCommand")
14
+ .sc(CreateProfile$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteAsset$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteAssetCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "DeleteAsset", {})
13
+ .n("WilmaCopilotClient", "DeleteAssetCommand")
14
+ .sc(DeleteAsset$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteAutomation$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteAutomationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "DeleteAutomation", {})
13
+ .n("WilmaCopilotClient", "DeleteAutomationCommand")
14
+ .sc(DeleteAutomation$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteEvaluation$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteEvaluationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "DeleteEvaluation", {})
13
+ .n("WilmaCopilotClient", "DeleteEvaluationCommand")
14
+ .sc(DeleteEvaluation$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteIntent$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteIntentCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "DeleteIntent", {})
13
+ .n("WilmaCopilotClient", "DeleteIntentCommand")
14
+ .sc(DeleteIntent$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteProfile$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteProfileCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "DeleteProfile", {})
13
+ .n("WilmaCopilotClient", "DeleteProfileCommand")
14
+ .sc(DeleteProfile$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteProfileResource$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteProfileResourceCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "DeleteProfileResource", {})
13
+ .n("WilmaCopilotClient", "DeleteProfileResourceCommand")
14
+ .sc(DeleteProfileResource$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetAsset$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetAssetCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "GetAsset", {})
13
+ .n("WilmaCopilotClient", "GetAssetCommand")
14
+ .sc(GetAsset$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetAutomation$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetAutomationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "GetAutomation", {})
13
+ .n("WilmaCopilotClient", "GetAutomationCommand")
14
+ .sc(GetAutomation$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetEvaluation$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetEvaluationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "GetEvaluation", {})
13
+ .n("WilmaCopilotClient", "GetEvaluationCommand")
14
+ .sc(GetEvaluation$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetIntent$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetIntentCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "GetIntent", {})
13
+ .n("WilmaCopilotClient", "GetIntentCommand")
14
+ .sc(GetIntent$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetProfile$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetProfileCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "GetProfile", {})
13
+ .n("WilmaCopilotClient", "GetProfileCommand")
14
+ .sc(GetProfile$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetProfileVersion$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetProfileVersionCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "GetProfileVersion", {})
13
+ .n("WilmaCopilotClient", "GetProfileVersionCommand")
14
+ .sc(GetProfileVersion$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListAssets$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListAssetsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "ListAssets", {})
13
+ .n("WilmaCopilotClient", "ListAssetsCommand")
14
+ .sc(ListAssets$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListAutomations$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListAutomationsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "ListAutomations", {})
13
+ .n("WilmaCopilotClient", "ListAutomationsCommand")
14
+ .sc(ListAutomations$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListEvaluations$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListEvaluationsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "ListEvaluations", {})
13
+ .n("WilmaCopilotClient", "ListEvaluationsCommand")
14
+ .sc(ListEvaluations$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListIntents$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListIntentsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "ListIntents", {})
13
+ .n("WilmaCopilotClient", "ListIntentsCommand")
14
+ .sc(ListIntents$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListProfileVersions$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListProfileVersionsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "ListProfileVersions", {})
13
+ .n("WilmaCopilotClient", "ListProfileVersionsCommand")
14
+ .sc(ListProfileVersions$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListProfiles$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListProfilesCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "ListProfiles", {})
13
+ .n("WilmaCopilotClient", "ListProfilesCommand")
14
+ .sc(ListProfiles$)
15
+ .build() {
16
+ }