@qqbrowser/openclaw-qbot 0.10.18 → 0.10.20

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 (177) hide show
  1. package/dist/build-info.json +3 -3
  2. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  3. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/auth/httpAuthSchemeProvider.js +11 -17
  4. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/bdd.js +2 -5
  5. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/endpointResolver.js +7 -11
  6. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +147 -99
  7. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/models/BedrockRuntimeServiceException.js +4 -8
  8. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/models/errors.js +25 -40
  9. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.browser.js +27 -31
  10. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.js +40 -44
  11. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.native.js +6 -9
  12. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.shared.js +22 -26
  13. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/schemas/schemas_0.js +688 -315
  14. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntime.js +2 -0
  15. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeGuardrailChecksCommand.js +16 -0
  16. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/index.js +1 -0
  17. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/enums.js +50 -0
  18. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/schemas/schemas_0.js +204 -16
  19. package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +18 -18
  20. package/node_modules/@aws-sdk/core/dist-cjs/index.js +45 -50
  21. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +2 -4
  22. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +21 -22
  23. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +51 -51
  24. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +21 -22
  25. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +19 -21
  26. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +107 -109
  27. package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +2 -4
  28. package/node_modules/@aws-sdk/core/package.json +8 -8
  29. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +4 -6
  30. package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
  31. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +3 -7
  32. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +12 -16
  33. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +16 -21
  34. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +14 -18
  35. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +1 -5
  36. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +2 -5
  37. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +2 -7
  38. package/node_modules/@aws-sdk/credential-provider-http/package.json +6 -6
  39. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +47 -41
  40. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +8 -4
  41. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +14 -10
  42. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  43. package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +31 -33
  44. package/node_modules/@aws-sdk/credential-provider-login/package.json +7 -7
  45. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +16 -18
  46. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  47. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +11 -13
  48. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  49. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +22 -24
  50. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BGYXHf8s.js +3 -0
  51. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  52. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +10 -14
  53. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +2 -6
  54. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +3 -27
  55. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  56. package/node_modules/@aws-sdk/eventstream-handler-node/dist-cjs/index.js +7 -9
  57. package/node_modules/@aws-sdk/eventstream-handler-node/package.json +5 -5
  58. package/node_modules/@aws-sdk/middleware-eventstream/dist-cjs/index.js +3 -5
  59. package/node_modules/@aws-sdk/middleware-eventstream/package.json +5 -5
  60. package/node_modules/@aws-sdk/middleware-websocket/dist-cjs/index.js +16 -18
  61. package/node_modules/@aws-sdk/middleware-websocket/package.json +6 -6
  62. package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +0 -1
  63. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +82 -84
  64. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +158 -119
  65. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +80 -82
  66. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +80 -82
  67. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +99 -101
  68. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +4 -1
  69. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +70 -35
  70. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +1 -1
  71. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +3 -0
  72. package/node_modules/@aws-sdk/nested-clients/package.json +9 -8
  73. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +4 -6
  74. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +5 -5
  75. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +26 -28
  76. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  77. package/node_modules/@aws-sdk/types/dist-cjs/index.js +7 -8
  78. package/node_modules/@aws-sdk/types/package.json +4 -4
  79. package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +0 -2
  80. package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
  81. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +2 -4
  82. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-external/nodable_entities.js +4 -7
  83. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +2 -5
  84. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +7 -10
  85. package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
  86. package/node_modules/@line/bot-sdk/node_modules/@types/node/package.json +2 -2
  87. package/node_modules/@nodable/entities/package.json +4 -1
  88. package/node_modules/@nodable/entities/src/EntityDecoder.js +104 -3
  89. package/node_modules/@nodable/entities/src/index.js +1 -1
  90. package/node_modules/@slack/oauth/node_modules/@slack/web-api/dist/chat-stream.js +8 -0
  91. package/node_modules/@slack/oauth/node_modules/@slack/web-api/package.json +1 -1
  92. package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/chat-stream.js +8 -0
  93. package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/package.json +1 -1
  94. package/node_modules/@smithy/core/dist-cjs/index.js +13 -15
  95. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +29 -31
  96. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +2 -4
  97. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +7 -9
  98. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +3 -5
  99. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +22 -23
  100. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +10 -11
  101. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +38 -39
  102. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +10 -11
  103. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +14 -17
  104. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +20 -23
  105. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +9 -11
  106. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +11 -13
  107. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +59 -60
  108. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +26 -27
  109. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +28 -29
  110. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +5 -7
  111. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -6
  112. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +23 -25
  113. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -6
  114. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +2 -4
  115. package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +1 -1
  116. package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/httpSigningMiddleware.js +1 -1
  117. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -1
  118. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js +1 -1
  119. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +2 -2
  120. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRateLimiter.js +1 -1
  121. package/node_modules/@smithy/core/package.json +18 -17
  122. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +23 -24
  123. package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
  124. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +6 -8
  125. package/node_modules/@smithy/fetch-http-handler/package.json +10 -10
  126. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -13
  127. package/node_modules/@smithy/node-http-handler/package.json +8 -8
  128. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +27 -29
  129. package/node_modules/@smithy/signature-v4/package.json +7 -7
  130. package/node_modules/@smithy/types/dist-cjs/index.js +23 -18
  131. package/node_modules/@smithy/types/package.json +10 -10
  132. package/node_modules/axios/dist/axios.js +350 -134
  133. package/node_modules/axios/dist/axios.min.js +3 -3
  134. package/node_modules/axios/dist/browser/axios.cjs +355 -90
  135. package/node_modules/axios/dist/esm/axios.js +355 -90
  136. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  137. package/node_modules/axios/dist/node/axios.cjs +399 -104
  138. package/node_modules/axios/index.d.cts +2 -0
  139. package/node_modules/axios/lib/adapters/fetch.js +113 -37
  140. package/node_modules/axios/lib/adapters/http.js +132 -43
  141. package/node_modules/axios/lib/core/Axios.js +3 -2
  142. package/node_modules/axios/lib/core/AxiosHeaders.js +10 -7
  143. package/node_modules/axios/lib/core/buildFullPath.js +29 -1
  144. package/node_modules/axios/lib/core/mergeConfig.js +34 -0
  145. package/node_modules/axios/lib/defaults/transitional.js +1 -0
  146. package/node_modules/axios/lib/env/data.js +1 -1
  147. package/node_modules/axios/lib/helpers/buildURL.js +5 -3
  148. package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +16 -11
  149. package/node_modules/axios/lib/helpers/formDataToJSON.js +25 -3
  150. package/node_modules/axios/lib/helpers/resolveConfig.js +5 -3
  151. package/node_modules/axios/lib/helpers/shouldBypassProxy.js +33 -1
  152. package/node_modules/axios/lib/helpers/toFormData.js +40 -10
  153. package/node_modules/axios/lib/utils.js +75 -11
  154. package/node_modules/axios/package.json +1 -1
  155. package/node_modules/body-parser/index.js +4 -20
  156. package/node_modules/body-parser/lib/read.js +17 -17
  157. package/node_modules/body-parser/lib/types/json.js +60 -32
  158. package/node_modules/body-parser/lib/types/raw.js +3 -3
  159. package/node_modules/body-parser/lib/types/text.js +3 -3
  160. package/node_modules/body-parser/lib/types/urlencoded.js +16 -20
  161. package/node_modules/body-parser/lib/utils.js +18 -16
  162. package/node_modules/body-parser/node_modules/content-type/dist/index.js +170 -0
  163. package/node_modules/body-parser/node_modules/content-type/package.json +52 -0
  164. package/node_modules/body-parser/package.json +23 -10
  165. package/node_modules/form-data/lib/form_data.js +14 -2
  166. package/node_modules/form-data/package.json +7 -7
  167. package/node_modules/protobufjs/dist/light/protobuf.js +145 -188
  168. package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  169. package/node_modules/protobufjs/dist/minimal/protobuf.js +33 -76
  170. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +3 -3
  171. package/node_modules/protobufjs/dist/protobuf.js +165 -208
  172. package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  173. package/node_modules/protobufjs/package.json +2 -3
  174. package/node_modules/protobufjs/src/util/minimal.js +0 -3
  175. package/package.json +1 -1
  176. package/skills/qqbrowser-skill/SKILL.md +90 -8
  177. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +0 -8
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.10.18",
3
- "commit": "1bf594e040288ea9d34de8f8904af1afff52b0f8",
4
- "builtAt": "2026-06-10T08:46:20.192Z"
2
+ "version": "0.10.20",
3
+ "commit": "6c0b20573080ac5dd41fbf6d56ab8b43da0cb45e",
4
+ "builtAt": "2026-06-16T06:57:00.123Z"
5
5
  }
@@ -1 +1 @@
1
- f6c93241f0ade4a96d7359f64220c393d1068eed00e9725782d9d23a82940497
1
+ 31f67e08d29d8e4ff19cc4cdd4e8ea43978a0991d9037e897a1784390ea9d47d
@@ -1,18 +1,14 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveHttpAuthSchemeConfig = exports.defaultBedrockRuntimeHttpAuthSchemeProvider = exports.defaultBedrockRuntimeHttpAuthSchemeParametersProvider = void 0;
4
- const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
- const core_1 = require("@smithy/core");
6
- const client_1 = require("@smithy/core/client");
7
- const defaultBedrockRuntimeHttpAuthSchemeParametersProvider = async (config, context, input) => {
1
+ const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes");
2
+ const { doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider } = require("@smithy/core");
3
+ const { getSmithyContext, normalizeProvider } = require("@smithy/core/client");
4
+ exports.defaultBedrockRuntimeHttpAuthSchemeParametersProvider = async (config, context, input) => {
8
5
  return {
9
- operation: (0, client_1.getSmithyContext)(context).operation,
10
- region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
6
+ operation: getSmithyContext(context).operation,
7
+ region: await normalizeProvider(config.region)() || (() => {
11
8
  throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
12
9
  })(),
13
10
  };
14
11
  };
15
- exports.defaultBedrockRuntimeHttpAuthSchemeParametersProvider = defaultBedrockRuntimeHttpAuthSchemeParametersProvider;
16
12
  function createAwsAuthSigv4HttpAuthOption(authParameters) {
17
13
  return {
18
14
  schemeId: "aws.auth#sigv4",
@@ -41,7 +37,7 @@ function createSmithyApiHttpBearerAuthHttpAuthOption(authParameters) {
41
37
  }),
42
38
  };
43
39
  }
44
- const defaultBedrockRuntimeHttpAuthSchemeProvider = (authParameters) => {
40
+ exports.defaultBedrockRuntimeHttpAuthSchemeProvider = (authParameters) => {
45
41
  const options = [];
46
42
  switch (authParameters.operation) {
47
43
  default: {
@@ -51,13 +47,11 @@ const defaultBedrockRuntimeHttpAuthSchemeProvider = (authParameters) => {
51
47
  }
52
48
  return options;
53
49
  };
54
- exports.defaultBedrockRuntimeHttpAuthSchemeProvider = defaultBedrockRuntimeHttpAuthSchemeProvider;
55
- const resolveHttpAuthSchemeConfig = (config) => {
56
- const token = (0, core_1.memoizeIdentityProvider)(config.token, core_1.isIdentityExpired, core_1.doesIdentityRequireRefresh);
57
- const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
50
+ exports.resolveHttpAuthSchemeConfig = (config) => {
51
+ const token = memoizeIdentityProvider(config.token, isIdentityExpired, doesIdentityRequireRefresh);
52
+ const config_0 = resolveAwsSdkSigV4Config(config);
58
53
  return Object.assign(config_0, {
59
- authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
54
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
60
55
  token,
61
56
  });
62
57
  };
63
- exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.bdd = void 0;
4
- const endpoints_1 = require("@smithy/core/endpoints");
1
+ const { BinaryDecisionDiagram } = require("@smithy/core/endpoints");
5
2
  const k = "ref";
6
3
  const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
7
4
  const _data = {
@@ -46,4 +43,4 @@ const nodes = new Int32Array([
46
43
  3, r + 1, 13,
47
44
  4, r + 2, r + 3,
48
45
  ]);
49
- exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
46
+ exports.bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -1,18 +1,14 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defaultEndpointResolver = void 0;
4
- const client_1 = require("@aws-sdk/core/client");
5
- const endpoints_1 = require("@smithy/core/endpoints");
6
- const bdd_1 = require("./bdd");
7
- const cache = new endpoints_1.EndpointCache({
1
+ const { awsEndpointFunctions } = require("@aws-sdk/core/client");
2
+ const { customEndpointFunctions, decideEndpoint, EndpointCache } = require("@smithy/core/endpoints");
3
+ const { bdd } = require("./bdd");
4
+ const cache = new EndpointCache({
8
5
  size: 50,
9
6
  params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
10
7
  });
11
- const defaultEndpointResolver = (endpointParams, context = {}) => {
12
- return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
8
+ exports.defaultEndpointResolver = (endpointParams, context = {}) => {
9
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
13
10
  endpointParams: endpointParams,
14
11
  logger: context.logger,
15
12
  }));
16
13
  };
17
- exports.defaultEndpointResolver = defaultEndpointResolver;
18
- endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions;
14
+ customEndpointFunctions.aws = awsEndpointFunctions;
@@ -1,21 +1,24 @@
1
- 'use strict';
2
-
3
- var client$1 = require('@aws-sdk/core/client');
4
- var middlewareEventstream = require('@aws-sdk/middleware-eventstream');
5
- var middlewareWebsocket = require('@aws-sdk/middleware-websocket');
6
- var core = require('@smithy/core');
7
- var client = require('@smithy/core/client');
8
- var config = require('@smithy/core/config');
9
- var endpoints = require('@smithy/core/endpoints');
10
- var eventStreams = require('@smithy/core/event-streams');
11
- var protocols = require('@smithy/core/protocols');
12
- var retry = require('@smithy/core/retry');
13
- var schema = require('@smithy/core/schema');
14
- var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
- var runtimeConfig = require('./runtimeConfig');
16
- var schemas_0 = require('./schemas/schemas_0');
17
- var errors = require('./models/errors');
18
- var BedrockRuntimeServiceException = require('./models/BedrockRuntimeServiceException');
1
+ var __exportStar = (m, e) => { Object.assign(e, m); };
2
+ const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
+ const { resolveEventStreamConfig, getEventStreamPlugin } = require("@aws-sdk/middleware-eventstream");
4
+ const { resolveWebSocketConfig, getWebSocketPlugin } = require("@aws-sdk/middleware-websocket");
5
+ const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
6
+ const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
7
+ exports.$Command = Command;
8
+ exports.__Client = Client;
9
+ const { resolveRegionConfig } = require("@smithy/core/config");
10
+ const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
11
+ const { resolveEventStreamSerdeConfig } = require("@smithy/core/event-streams");
12
+ const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
13
+ const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
14
+ const { getSchemaSerdePlugin } = require("@smithy/core/schema");
15
+ const { resolveHttpAuthSchemeConfig, defaultBedrockRuntimeHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
16
+ const { getRuntimeConfig } = require("./runtimeConfig");
17
+ const { ApplyGuardrail$, Converse$, ConverseStream$, CountTokens$, GetAsyncInvoke$, InvokeGuardrailChecks$, InvokeModel$, InvokeModelWithBidirectionalStream$, InvokeModelWithResponseStream$, ListAsyncInvokes$, StartAsyncInvoke$ } = require("./schemas/schemas_0");
18
+ __exportStar(require("./schemas/schemas_0"), exports);
19
+ __exportStar(require("./models/errors"), exports);
20
+ const { BedrockRuntimeServiceException } = require("./models/BedrockRuntimeServiceException");
21
+ exports.BedrockRuntimeServiceException = BedrockRuntimeServiceException;
19
22
 
20
23
  const resolveClientEndpointParameters = (options) => {
21
24
  return Object.assign(options, {
@@ -79,79 +82,79 @@ const resolveHttpAuthRuntimeConfig = (config) => {
79
82
  };
80
83
 
81
84
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
82
- const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
85
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
83
86
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
84
- return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
87
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
85
88
  };
86
89
 
87
- class BedrockRuntimeClient extends client.Client {
90
+ class BedrockRuntimeClient extends Client {
88
91
  config;
89
92
  constructor(...[configuration]) {
90
- const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
93
+ const _config_0 = getRuntimeConfig(configuration || {});
91
94
  super(_config_0);
92
95
  this.initConfig = _config_0;
93
96
  const _config_1 = resolveClientEndpointParameters(_config_0);
94
- const _config_2 = client$1.resolveUserAgentConfig(_config_1);
95
- const _config_3 = retry.resolveRetryConfig(_config_2);
96
- const _config_4 = config.resolveRegionConfig(_config_3);
97
- const _config_5 = client$1.resolveHostHeaderConfig(_config_4);
98
- const _config_6 = endpoints.resolveEndpointConfig(_config_5);
99
- const _config_7 = eventStreams.resolveEventStreamSerdeConfig(_config_6);
100
- const _config_8 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_7);
101
- const _config_9 = middlewareEventstream.resolveEventStreamConfig(_config_8);
102
- const _config_10 = middlewareWebsocket.resolveWebSocketConfig(_config_9);
97
+ const _config_2 = resolveUserAgentConfig(_config_1);
98
+ const _config_3 = resolveRetryConfig(_config_2);
99
+ const _config_4 = resolveRegionConfig(_config_3);
100
+ const _config_5 = resolveHostHeaderConfig(_config_4);
101
+ const _config_6 = resolveEndpointConfig(_config_5);
102
+ const _config_7 = resolveEventStreamSerdeConfig(_config_6);
103
+ const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
104
+ const _config_9 = resolveEventStreamConfig(_config_8);
105
+ const _config_10 = resolveWebSocketConfig(_config_9);
103
106
  const _config_11 = resolveRuntimeExtensions(_config_10, configuration?.extensions || []);
104
107
  this.config = _config_11;
105
- this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
106
- this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));
107
- this.middlewareStack.use(retry.getRetryPlugin(this.config));
108
- this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
109
- this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));
110
- this.middlewareStack.use(client$1.getLoggerPlugin(this.config));
111
- this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));
112
- this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
113
- httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultBedrockRuntimeHttpAuthSchemeParametersProvider,
114
- identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
108
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
109
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
110
+ this.middlewareStack.use(getRetryPlugin(this.config));
111
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
112
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
113
+ this.middlewareStack.use(getLoggerPlugin(this.config));
114
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
115
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
116
+ httpAuthSchemeParametersProvider: defaultBedrockRuntimeHttpAuthSchemeParametersProvider,
117
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
115
118
  "aws.auth#sigv4": config.credentials,
116
119
  "smithy.api#httpBearerAuth": config.token,
117
120
  }),
118
121
  }));
119
- this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
122
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
120
123
  }
121
124
  destroy() {
122
125
  super.destroy();
123
126
  }
124
127
  }
125
128
 
126
- class ApplyGuardrailCommand extends client.Command
129
+ class ApplyGuardrailCommand extends Command
127
130
  .classBuilder()
128
131
  .ep(commonParams)
129
132
  .m(function (Command, cs, config, o) {
130
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
133
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
131
134
  })
132
135
  .s("AmazonBedrockFrontendService", "ApplyGuardrail", {})
133
136
  .n("BedrockRuntimeClient", "ApplyGuardrailCommand")
134
- .sc(schemas_0.ApplyGuardrail$)
137
+ .sc(ApplyGuardrail$)
135
138
  .build() {
136
139
  }
137
140
 
138
- class ConverseCommand extends client.Command
141
+ class ConverseCommand extends Command
139
142
  .classBuilder()
140
143
  .ep(commonParams)
141
144
  .m(function (Command, cs, config, o) {
142
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
145
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
143
146
  })
144
147
  .s("AmazonBedrockFrontendService", "Converse", {})
145
148
  .n("BedrockRuntimeClient", "ConverseCommand")
146
- .sc(schemas_0.Converse$)
149
+ .sc(Converse$)
147
150
  .build() {
148
151
  }
149
152
 
150
- class ConverseStreamCommand extends client.Command
153
+ class ConverseStreamCommand extends Command
151
154
  .classBuilder()
152
155
  .ep(commonParams)
153
156
  .m(function (Command, cs, config, o) {
154
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
157
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
155
158
  })
156
159
  .s("AmazonBedrockFrontendService", "ConverseStream", {
157
160
  eventStream: {
@@ -159,54 +162,66 @@ class ConverseStreamCommand extends client.Command
159
162
  },
160
163
  })
161
164
  .n("BedrockRuntimeClient", "ConverseStreamCommand")
162
- .sc(schemas_0.ConverseStream$)
165
+ .sc(ConverseStream$)
163
166
  .build() {
164
167
  }
165
168
 
166
- class CountTokensCommand extends client.Command
169
+ class CountTokensCommand extends Command
167
170
  .classBuilder()
168
171
  .ep(commonParams)
169
172
  .m(function (Command, cs, config, o) {
170
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
173
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
171
174
  })
172
175
  .s("AmazonBedrockFrontendService", "CountTokens", {})
173
176
  .n("BedrockRuntimeClient", "CountTokensCommand")
174
- .sc(schemas_0.CountTokens$)
177
+ .sc(CountTokens$)
175
178
  .build() {
176
179
  }
177
180
 
178
- class GetAsyncInvokeCommand extends client.Command
181
+ class GetAsyncInvokeCommand extends Command
179
182
  .classBuilder()
180
183
  .ep(commonParams)
181
184
  .m(function (Command, cs, config, o) {
182
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
185
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
183
186
  })
184
187
  .s("AmazonBedrockFrontendService", "GetAsyncInvoke", {})
185
188
  .n("BedrockRuntimeClient", "GetAsyncInvokeCommand")
186
- .sc(schemas_0.GetAsyncInvoke$)
189
+ .sc(GetAsyncInvoke$)
190
+ .build() {
191
+ }
192
+
193
+ class InvokeGuardrailChecksCommand extends Command
194
+ .classBuilder()
195
+ .ep(commonParams)
196
+ .m(function (Command, cs, config, o) {
197
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
198
+ })
199
+ .s("AmazonBedrockFrontendService", "InvokeGuardrailChecks", {})
200
+ .n("BedrockRuntimeClient", "InvokeGuardrailChecksCommand")
201
+ .sc(InvokeGuardrailChecks$)
187
202
  .build() {
188
203
  }
189
204
 
190
- class InvokeModelCommand extends client.Command
205
+ class InvokeModelCommand extends Command
191
206
  .classBuilder()
192
207
  .ep(commonParams)
193
208
  .m(function (Command, cs, config, o) {
194
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
209
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
195
210
  })
196
211
  .s("AmazonBedrockFrontendService", "InvokeModel", {})
197
212
  .n("BedrockRuntimeClient", "InvokeModelCommand")
198
- .sc(schemas_0.InvokeModel$)
213
+ .sc(InvokeModel$)
199
214
  .build() {
200
215
  }
201
216
 
202
- class InvokeModelWithBidirectionalStreamCommand extends client.Command
217
+ class InvokeModelWithBidirectionalStreamCommand extends Command
203
218
  .classBuilder()
204
219
  .ep(commonParams)
205
220
  .m(function (Command, cs, config, o) {
206
221
  return [
207
- endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
208
- middlewareEventstream.getEventStreamPlugin(config),
209
- middlewareWebsocket.getWebSocketPlugin(config, {
222
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
223
+ getEventStreamPlugin(config),
224
+ getWebSocketPlugin(config, {
210
225
  headerPrefix: 'x-amz-bedrock-',
211
226
  }),
212
227
  ];
@@ -218,15 +233,15 @@ class InvokeModelWithBidirectionalStreamCommand extends client.Command
218
233
  },
219
234
  })
220
235
  .n("BedrockRuntimeClient", "InvokeModelWithBidirectionalStreamCommand")
221
- .sc(schemas_0.InvokeModelWithBidirectionalStream$)
236
+ .sc(InvokeModelWithBidirectionalStream$)
222
237
  .build() {
223
238
  }
224
239
 
225
- class InvokeModelWithResponseStreamCommand extends client.Command
240
+ class InvokeModelWithResponseStreamCommand extends Command
226
241
  .classBuilder()
227
242
  .ep(commonParams)
228
243
  .m(function (Command, cs, config, o) {
229
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
244
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
230
245
  })
231
246
  .s("AmazonBedrockFrontendService", "InvokeModelWithResponseStream", {
232
247
  eventStream: {
@@ -234,35 +249,35 @@ class InvokeModelWithResponseStreamCommand extends client.Command
234
249
  },
235
250
  })
236
251
  .n("BedrockRuntimeClient", "InvokeModelWithResponseStreamCommand")
237
- .sc(schemas_0.InvokeModelWithResponseStream$)
252
+ .sc(InvokeModelWithResponseStream$)
238
253
  .build() {
239
254
  }
240
255
 
241
- class ListAsyncInvokesCommand extends client.Command
256
+ class ListAsyncInvokesCommand extends Command
242
257
  .classBuilder()
243
258
  .ep(commonParams)
244
259
  .m(function (Command, cs, config, o) {
245
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
260
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
246
261
  })
247
262
  .s("AmazonBedrockFrontendService", "ListAsyncInvokes", {})
248
263
  .n("BedrockRuntimeClient", "ListAsyncInvokesCommand")
249
- .sc(schemas_0.ListAsyncInvokes$)
264
+ .sc(ListAsyncInvokes$)
250
265
  .build() {
251
266
  }
252
267
 
253
- class StartAsyncInvokeCommand extends client.Command
268
+ class StartAsyncInvokeCommand extends Command
254
269
  .classBuilder()
255
270
  .ep(commonParams)
256
271
  .m(function (Command, cs, config, o) {
257
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
272
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
258
273
  })
259
274
  .s("AmazonBedrockFrontendService", "StartAsyncInvoke", {})
260
275
  .n("BedrockRuntimeClient", "StartAsyncInvokeCommand")
261
- .sc(schemas_0.StartAsyncInvoke$)
276
+ .sc(StartAsyncInvoke$)
262
277
  .build() {
263
278
  }
264
279
 
265
- const paginateListAsyncInvokes = core.createPaginator(BedrockRuntimeClient, ListAsyncInvokesCommand, "nextToken", "nextToken", "maxResults");
280
+ const paginateListAsyncInvokes = createPaginator(BedrockRuntimeClient, ListAsyncInvokesCommand, "nextToken", "nextToken", "maxResults");
266
281
 
267
282
  const commands = {
268
283
  ApplyGuardrailCommand,
@@ -270,6 +285,7 @@ const commands = {
270
285
  ConverseStreamCommand,
271
286
  CountTokensCommand,
272
287
  GetAsyncInvokeCommand,
288
+ InvokeGuardrailChecksCommand,
273
289
  InvokeModelCommand,
274
290
  InvokeModelWithBidirectionalStreamCommand,
275
291
  InvokeModelWithResponseStreamCommand,
@@ -281,7 +297,7 @@ const paginators = {
281
297
  };
282
298
  class BedrockRuntime extends BedrockRuntimeClient {
283
299
  }
284
- client.createAggregatedClient(commands, BedrockRuntime, { paginators });
300
+ createAggregatedClient(commands, BedrockRuntime, { paginators });
285
301
 
286
302
  const AsyncInvokeStatus = {
287
303
  COMPLETED: "Completed",
@@ -413,6 +429,56 @@ const GuardrailWordPolicyAction = {
413
429
  const GuardrailManagedWordType = {
414
430
  PROFANITY: "PROFANITY",
415
431
  };
432
+ const GuardrailChecksContentFilterCategory = {
433
+ HATE: "HATE",
434
+ INSULTS: "INSULTS",
435
+ MISCONDUCT: "MISCONDUCT",
436
+ SEXUAL: "SEXUAL",
437
+ VIOLENCE: "VIOLENCE",
438
+ };
439
+ const GuardrailChecksPromptAttackCategory = {
440
+ JAILBREAK: "JAILBREAK",
441
+ PROMPT_INJECTION: "PROMPT_INJECTION",
442
+ PROMPT_LEAKAGE: "PROMPT_LEAKAGE",
443
+ };
444
+ const GuardrailChecksSensitiveInformationEntityType = {
445
+ ADDRESS: "ADDRESS",
446
+ AGE: "AGE",
447
+ AWS_ACCESS_KEY: "AWS_ACCESS_KEY",
448
+ AWS_SECRET_KEY: "AWS_SECRET_KEY",
449
+ CA_HEALTH_NUMBER: "CA_HEALTH_NUMBER",
450
+ CA_SOCIAL_INSURANCE_NUMBER: "CA_SOCIAL_INSURANCE_NUMBER",
451
+ CREDIT_DEBIT_CARD_CVV: "CREDIT_DEBIT_CARD_CVV",
452
+ CREDIT_DEBIT_CARD_EXPIRY: "CREDIT_DEBIT_CARD_EXPIRY",
453
+ CREDIT_DEBIT_CARD_NUMBER: "CREDIT_DEBIT_CARD_NUMBER",
454
+ DRIVER_ID: "DRIVER_ID",
455
+ EMAIL: "EMAIL",
456
+ INTERNATIONAL_BANK_ACCOUNT_NUMBER: "INTERNATIONAL_BANK_ACCOUNT_NUMBER",
457
+ IP_ADDRESS: "IP_ADDRESS",
458
+ LICENSE_PLATE: "LICENSE_PLATE",
459
+ MAC_ADDRESS: "MAC_ADDRESS",
460
+ NAME: "NAME",
461
+ PASSWORD: "PASSWORD",
462
+ PHONE: "PHONE",
463
+ PIN: "PIN",
464
+ SWIFT_CODE: "SWIFT_CODE",
465
+ UK_NATIONAL_HEALTH_SERVICE_NUMBER: "UK_NATIONAL_HEALTH_SERVICE_NUMBER",
466
+ UK_NATIONAL_INSURANCE_NUMBER: "UK_NATIONAL_INSURANCE_NUMBER",
467
+ UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER: "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",
468
+ URL: "URL",
469
+ USERNAME: "USERNAME",
470
+ US_BANK_ACCOUNT_NUMBER: "US_BANK_ACCOUNT_NUMBER",
471
+ US_BANK_ROUTING_NUMBER: "US_BANK_ROUTING_NUMBER",
472
+ US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER: "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",
473
+ US_PASSPORT_NUMBER: "US_PASSPORT_NUMBER",
474
+ US_SOCIAL_SECURITY_NUMBER: "US_SOCIAL_SECURITY_NUMBER",
475
+ VEHICLE_IDENTIFICATION_NUMBER: "VEHICLE_IDENTIFICATION_NUMBER",
476
+ };
477
+ const GuardrailChecksRole = {
478
+ ASSISTANT: "assistant",
479
+ SYSTEM: "system",
480
+ USER: "user",
481
+ };
416
482
  const GuardrailTrace = {
417
483
  DISABLED: "disabled",
418
484
  ENABLED: "enabled",
@@ -525,9 +591,6 @@ const Trace = {
525
591
  ENABLED_FULL: "ENABLED_FULL",
526
592
  };
527
593
 
528
- exports.$Command = client.Command;
529
- exports.__Client = client.Client;
530
- exports.BedrockRuntimeServiceException = BedrockRuntimeServiceException.BedrockRuntimeServiceException;
531
594
  exports.ApplyGuardrailCommand = ApplyGuardrailCommand;
532
595
  exports.AsyncInvokeStatus = AsyncInvokeStatus;
533
596
  exports.AudioFormat = AudioFormat;
@@ -543,6 +606,10 @@ exports.DocumentFormat = DocumentFormat;
543
606
  exports.GetAsyncInvokeCommand = GetAsyncInvokeCommand;
544
607
  exports.GuardrailAction = GuardrailAction;
545
608
  exports.GuardrailAutomatedReasoningLogicWarningType = GuardrailAutomatedReasoningLogicWarningType;
609
+ exports.GuardrailChecksContentFilterCategory = GuardrailChecksContentFilterCategory;
610
+ exports.GuardrailChecksPromptAttackCategory = GuardrailChecksPromptAttackCategory;
611
+ exports.GuardrailChecksRole = GuardrailChecksRole;
612
+ exports.GuardrailChecksSensitiveInformationEntityType = GuardrailChecksSensitiveInformationEntityType;
546
613
  exports.GuardrailContentFilterConfidence = GuardrailContentFilterConfidence;
547
614
  exports.GuardrailContentFilterStrength = GuardrailContentFilterStrength;
548
615
  exports.GuardrailContentFilterType = GuardrailContentFilterType;
@@ -566,6 +633,7 @@ exports.GuardrailTopicType = GuardrailTopicType;
566
633
  exports.GuardrailTrace = GuardrailTrace;
567
634
  exports.GuardrailWordPolicyAction = GuardrailWordPolicyAction;
568
635
  exports.ImageFormat = ImageFormat;
636
+ exports.InvokeGuardrailChecksCommand = InvokeGuardrailChecksCommand;
569
637
  exports.InvokeModelCommand = InvokeModelCommand;
570
638
  exports.InvokeModelWithBidirectionalStreamCommand = InvokeModelWithBidirectionalStreamCommand;
571
639
  exports.InvokeModelWithResponseStreamCommand = InvokeModelWithResponseStreamCommand;
@@ -582,23 +650,3 @@ exports.ToolUseType = ToolUseType;
582
650
  exports.Trace = Trace;
583
651
  exports.VideoFormat = VideoFormat;
584
652
  exports.paginateListAsyncInvokes = paginateListAsyncInvokes;
585
- Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
586
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
587
- Object.defineProperty(exports, '__proto__', {
588
- enumerable: true,
589
- value: schemas_0['__proto__']
590
- });
591
-
592
- Object.keys(schemas_0).forEach(function (k) {
593
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
594
- });
595
- Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
596
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
597
- Object.defineProperty(exports, '__proto__', {
598
- enumerable: true,
599
- value: errors['__proto__']
600
- });
601
-
602
- Object.keys(errors).forEach(function (k) {
603
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
604
- });
@@ -1,12 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BedrockRuntimeServiceException = 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 BedrockRuntimeServiceException extends client_1.ServiceException {
1
+ const { ServiceException: __ServiceException } = require("@smithy/core/client");
2
+ exports.__ServiceException = __ServiceException;
3
+ exports.BedrockRuntimeServiceException = class BedrockRuntimeServiceException extends __ServiceException {
7
4
  constructor(options) {
8
5
  super(options);
9
6
  Object.setPrototypeOf(this, BedrockRuntimeServiceException.prototype);
10
7
  }
11
- }
12
- exports.BedrockRuntimeServiceException = BedrockRuntimeServiceException;
8
+ };