@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,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListAssetsCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class ListAssetsCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaCopilot", "ListAssets", {})
16
+ .n("WilmaCopilotClient", "ListAssetsCommand")
17
+ .sc(schemas_0_1.ListAssets$)
18
+ .build() {
19
+ }
20
+ exports.ListAssetsCommand = ListAssetsCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListAutomationsCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class ListAutomationsCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaCopilot", "ListAutomations", {})
16
+ .n("WilmaCopilotClient", "ListAutomationsCommand")
17
+ .sc(schemas_0_1.ListAutomations$)
18
+ .build() {
19
+ }
20
+ exports.ListAutomationsCommand = ListAutomationsCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListEvaluationsCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class ListEvaluationsCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaCopilot", "ListEvaluations", {})
16
+ .n("WilmaCopilotClient", "ListEvaluationsCommand")
17
+ .sc(schemas_0_1.ListEvaluations$)
18
+ .build() {
19
+ }
20
+ exports.ListEvaluationsCommand = ListEvaluationsCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListIntentsCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class ListIntentsCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaCopilot", "ListIntents", {})
16
+ .n("WilmaCopilotClient", "ListIntentsCommand")
17
+ .sc(schemas_0_1.ListIntents$)
18
+ .build() {
19
+ }
20
+ exports.ListIntentsCommand = ListIntentsCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListProfileVersionsCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class ListProfileVersionsCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaCopilot", "ListProfileVersions", {})
16
+ .n("WilmaCopilotClient", "ListProfileVersionsCommand")
17
+ .sc(schemas_0_1.ListProfileVersions$)
18
+ .build() {
19
+ }
20
+ exports.ListProfileVersionsCommand = ListProfileVersionsCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListProfilesCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class ListProfilesCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaCopilot", "ListProfiles", {})
16
+ .n("WilmaCopilotClient", "ListProfilesCommand")
17
+ .sc(schemas_0_1.ListProfiles$)
18
+ .build() {
19
+ }
20
+ exports.ListProfilesCommand = ListProfilesCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PublishProfileVersionCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class PublishProfileVersionCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaCopilot", "PublishProfileVersion", {})
16
+ .n("WilmaCopilotClient", "PublishProfileVersionCommand")
17
+ .sc(schemas_0_1.PublishProfileVersion$)
18
+ .build() {
19
+ }
20
+ exports.PublishProfileVersionCommand = PublishProfileVersionCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RestoreProfileVersionToDraftCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class RestoreProfileVersionToDraftCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaCopilot", "RestoreProfileVersionToDraft", {})
16
+ .n("WilmaCopilotClient", "RestoreProfileVersionToDraftCommand")
17
+ .sc(schemas_0_1.RestoreProfileVersionToDraft$)
18
+ .build() {
19
+ }
20
+ exports.RestoreProfileVersionToDraftCommand = RestoreProfileVersionToDraftCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateAssetCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class UpdateAssetCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaCopilot", "UpdateAsset", {})
16
+ .n("WilmaCopilotClient", "UpdateAssetCommand")
17
+ .sc(schemas_0_1.UpdateAsset$)
18
+ .build() {
19
+ }
20
+ exports.UpdateAssetCommand = UpdateAssetCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateAutomationCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class UpdateAutomationCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaCopilot", "UpdateAutomation", {})
16
+ .n("WilmaCopilotClient", "UpdateAutomationCommand")
17
+ .sc(schemas_0_1.UpdateAutomation$)
18
+ .build() {
19
+ }
20
+ exports.UpdateAutomationCommand = UpdateAutomationCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateEvaluationCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class UpdateEvaluationCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaCopilot", "UpdateEvaluation", {})
16
+ .n("WilmaCopilotClient", "UpdateEvaluationCommand")
17
+ .sc(schemas_0_1.UpdateEvaluation$)
18
+ .build() {
19
+ }
20
+ exports.UpdateEvaluationCommand = UpdateEvaluationCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateIntentCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class UpdateIntentCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaCopilot", "UpdateIntent", {})
16
+ .n("WilmaCopilotClient", "UpdateIntentCommand")
17
+ .sc(schemas_0_1.UpdateIntent$)
18
+ .build() {
19
+ }
20
+ exports.UpdateIntentCommand = UpdateIntentCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateProfileCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class UpdateProfileCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaCopilot", "UpdateProfile", {})
16
+ .n("WilmaCopilotClient", "UpdateProfileCommand")
17
+ .sc(schemas_0_1.UpdateProfile$)
18
+ .build() {
19
+ }
20
+ exports.UpdateProfileCommand = UpdateProfileCommand;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./AttachProfileResourceCommand"), exports);
5
+ tslib_1.__exportStar(require("./CompareProfileVersionsCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateAssetCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateAutomationCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateEvaluationCommand"), exports);
9
+ tslib_1.__exportStar(require("./CreateIntentCommand"), exports);
10
+ tslib_1.__exportStar(require("./CreateProfileCommand"), exports);
11
+ tslib_1.__exportStar(require("./DeleteAssetCommand"), exports);
12
+ tslib_1.__exportStar(require("./DeleteAutomationCommand"), exports);
13
+ tslib_1.__exportStar(require("./DeleteEvaluationCommand"), exports);
14
+ tslib_1.__exportStar(require("./DeleteIntentCommand"), exports);
15
+ tslib_1.__exportStar(require("./DeleteProfileCommand"), exports);
16
+ tslib_1.__exportStar(require("./DeleteProfileResourceCommand"), exports);
17
+ tslib_1.__exportStar(require("./GetAssetCommand"), exports);
18
+ tslib_1.__exportStar(require("./GetAutomationCommand"), exports);
19
+ tslib_1.__exportStar(require("./GetEvaluationCommand"), exports);
20
+ tslib_1.__exportStar(require("./GetIntentCommand"), exports);
21
+ tslib_1.__exportStar(require("./GetProfileCommand"), exports);
22
+ tslib_1.__exportStar(require("./GetProfileVersionCommand"), exports);
23
+ tslib_1.__exportStar(require("./ListAssetsCommand"), exports);
24
+ tslib_1.__exportStar(require("./ListAutomationsCommand"), exports);
25
+ tslib_1.__exportStar(require("./ListEvaluationsCommand"), exports);
26
+ tslib_1.__exportStar(require("./ListIntentsCommand"), exports);
27
+ tslib_1.__exportStar(require("./ListProfileVersionsCommand"), exports);
28
+ tslib_1.__exportStar(require("./ListProfilesCommand"), exports);
29
+ tslib_1.__exportStar(require("./PublishProfileVersionCommand"), exports);
30
+ tslib_1.__exportStar(require("./RestoreProfileVersionToDraftCommand"), exports);
31
+ tslib_1.__exportStar(require("./UpdateAssetCommand"), exports);
32
+ tslib_1.__exportStar(require("./UpdateAutomationCommand"), exports);
33
+ tslib_1.__exportStar(require("./UpdateEvaluationCommand"), exports);
34
+ tslib_1.__exportStar(require("./UpdateIntentCommand"), exports);
35
+ tslib_1.__exportStar(require("./UpdateProfileCommand"), exports);
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
+ const clientContextParamDefaults = {};
5
+ const resolveClientEndpointParameters = (options) => {
6
+ return Object.assign(options, {
7
+ env: options.env ?? "prod",
8
+ defaultSigningName: "",
9
+ clientContextParams: Object.assign(clientContextParamDefaults, options.clientContextParams),
10
+ });
11
+ };
12
+ exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ env: { type: "clientContextParams", name: "env" },
15
+ endpoint: { type: "builtInParams", name: "endpoint" },
16
+ };
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.bdd = void 0;
4
+ const endpoints_1 = require("@smithy/core/endpoints");
5
+ const a = "stringEquals", b = { "ref": "endpoint" }, c = { "ref": "env" };
6
+ const _data = {
7
+ conditions: [
8
+ ["isSet", [b]],
9
+ [a, [c, "stable"]],
10
+ [a, [c, "stage"]]
11
+ ],
12
+ results: [
13
+ [-1],
14
+ [b, {}],
15
+ ["https://api-stable.wilma.wildix.com", {}],
16
+ ["https://api-stage.wilma.wildix.com", {}],
17
+ ["https://api.wilma.wildix.com", {}]
18
+ ]
19
+ };
20
+ const root = 2;
21
+ const r = 100_000_000;
22
+ const nodes = new Int32Array([
23
+ -1, 1, -1,
24
+ 0, r + 1, 3,
25
+ 1, r + 2, 4,
26
+ 2, r + 3, r + 4,
27
+ ]);
28
+ exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultEndpointResolver = void 0;
4
+ const endpoints_1 = require("@smithy/core/endpoints");
5
+ const bdd_1 = require("./bdd");
6
+ const cache = new endpoints_1.EndpointCache({
7
+ size: 50,
8
+ params: ["endpoint", "env"],
9
+ });
10
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
11
+ return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
12
+ endpointParams: endpointParams,
13
+ logger: context.logger,
14
+ }));
15
+ };
16
+ exports.defaultEndpointResolver = defaultEndpointResolver;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WilmaCopilotServiceException = void 0;
4
+ const tslib_1 = require("tslib");
5
+ tslib_1.__exportStar(require("./WilmaCopilotClient"), exports);
6
+ tslib_1.__exportStar(require("./WilmaCopilot"), exports);
7
+ tslib_1.__exportStar(require("./commands"), exports);
8
+ tslib_1.__exportStar(require("./schemas/schemas_0"), exports);
9
+ tslib_1.__exportStar(require("./models/enums"), exports);
10
+ tslib_1.__exportStar(require("./models/errors"), exports);
11
+ tslib_1.__exportStar(require("./models/models_0"), exports);
12
+ var WilmaCopilotServiceException_1 = require("./models/WilmaCopilotServiceException");
13
+ Object.defineProperty(exports, "WilmaCopilotServiceException", { enumerable: true, get: function () { return WilmaCopilotServiceException_1.WilmaCopilotServiceException; } });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WilmaCopilotServiceException = exports.__ServiceException = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
6
+ class WilmaCopilotServiceException extends client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, WilmaCopilotServiceException.prototype);
10
+ }
11
+ }
12
+ exports.WilmaCopilotServiceException = WilmaCopilotServiceException;
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProfileResourceType = exports.IntentTextMatchMode = exports.EvaluationWindow = exports.AutomationHandlerType = exports.ProfileStatus = exports.CopilotChannel = exports.CopilotVisibility = exports.ContextualKnowledgeSource = exports.ContextualKnowledgeMode = exports.AssetContentType = exports.AssetType = exports.AssetSeverity = exports.AssetIcon = exports.SmartActionResultMode = exports.SmartActionHandoverVariant = exports.CopilotVariableMode = exports.AutomationOutputMode = exports.ActorType = void 0;
4
+ exports.ActorType = {
5
+ API_KEY: "api_key",
6
+ SERVICE: "service",
7
+ USER: "user",
8
+ };
9
+ exports.AutomationOutputMode = {
10
+ CARD: "card",
11
+ SILENT: "silent",
12
+ };
13
+ exports.CopilotVariableMode = {
14
+ AUTO: "auto",
15
+ GUIDED: "guided",
16
+ PREDEFINED: "predefined",
17
+ };
18
+ exports.SmartActionHandoverVariant = {
19
+ AGENT: "agent",
20
+ SERVICE: "service",
21
+ };
22
+ exports.SmartActionResultMode = {
23
+ SHOW_CARD: "show_card",
24
+ SILENT: "silent",
25
+ };
26
+ exports.AssetIcon = {
27
+ ALERT: "alert",
28
+ BOOK_OPEN: "book_open",
29
+ INFO: "info",
30
+ LIGHTBULB: "lightbulb",
31
+ SHIELD: "shield",
32
+ SPARKLES: "sparkles",
33
+ };
34
+ exports.AssetSeverity = {
35
+ DANGER: "danger",
36
+ NEUTRAL: "neutral",
37
+ SUCCESS: "success",
38
+ WARNING: "warning",
39
+ };
40
+ exports.AssetType = {
41
+ BATTLE_CARD: "battle_card",
42
+ GUIDANCE: "guidance",
43
+ KNOWLEDGE: "knowledge",
44
+ NEXT_BEST_ACTION: "next_best_action",
45
+ PLAYBOOK: "playbook",
46
+ };
47
+ exports.AssetContentType = {
48
+ CARD: "card",
49
+ KNOWLEDGE: "knowledge",
50
+ PLAYBOOK: "playbook",
51
+ SMART_ACTION: "smart_action",
52
+ };
53
+ exports.ContextualKnowledgeMode = {
54
+ AUTOMATIC_ANSWER: "automatic_answer",
55
+ SUGGEST_ACTION: "suggest_action",
56
+ };
57
+ exports.ContextualKnowledgeSource = {
58
+ AGENT: "agent",
59
+ KNOWLEDGE_BASES: "knowledge_bases",
60
+ };
61
+ exports.CopilotVisibility = {
62
+ EXPLICIT: "explicit",
63
+ ORGANIZATION: "organization",
64
+ };
65
+ exports.CopilotChannel = {
66
+ ANY: "any",
67
+ CALLS: "calls",
68
+ CHATS: "chats",
69
+ };
70
+ exports.ProfileStatus = {
71
+ ACTIVE: "active",
72
+ DRAFT: "draft",
73
+ };
74
+ exports.AutomationHandlerType = {
75
+ AGENT: "agent",
76
+ KNOWLEDGE_BASE: "knowledge_base",
77
+ TOOL: "tool",
78
+ };
79
+ exports.EvaluationWindow = {
80
+ FULL_TRANSCRIPT: "full_transcript",
81
+ NEW_TRANSCRIPT: "new_transcript",
82
+ NEW_WITH_PRIOR: "new_with_prior",
83
+ };
84
+ exports.IntentTextMatchMode = {
85
+ EXACT: "exact",
86
+ FUZZY: "fuzzy",
87
+ REGEX: "regex",
88
+ };
89
+ exports.ProfileResourceType = {
90
+ ASSET: "asset",
91
+ AUTOMATION: "automation",
92
+ EVALUATION: "evaluation",
93
+ FEATURE: "feature",
94
+ INTENT: "intent",
95
+ };