@sisense/mcp-server 0.2.2 → 0.2.3

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 (26) hide show
  1. package/dist/{ai-hspmgr2c.js → ai-qt2rw4p0.js} +999 -959
  2. package/dist/{index-29n08mw7.js → index-0rmh0qta.js} +5 -5
  3. package/dist/{index-er0yspcy.js → index-6vz3bc2n.js} +552 -385
  4. package/dist/{index-vx54d05h.js → index-7ztxzw1b.js} +9 -9
  5. package/dist/{index-tqba2rwh.js → index-86j7fyp7.js} +406 -245
  6. package/dist/{index-p1pxtmwn.js → index-bgbnagw5.js} +18 -20
  7. package/dist/{index-d6843g0v.js → index-jatbeegy.js} +9 -7
  8. package/dist/{index-dxfb3krz.js → index-jgdfekw7.js} +375 -539
  9. package/dist/{index-qdth51hx.js → index-k71wsmah.js} +8 -1
  10. package/dist/{index-atgbxy7h.js → index-mxkgxy04.js} +28981 -27209
  11. package/dist/{index-vrapm0b4.js → index-p5hr1cfd.js} +458 -331
  12. package/dist/{index-dcrjg3fk.js → index-z44fq2x1.js} +3 -2
  13. package/dist/sse-server-0d83pnkk.js +54 -0
  14. package/dist/{sse-server-brx9qtyd.js → sse-server-22mq7fhc.js} +880 -757
  15. package/dist/{sse-server-3e0efmg2.js → sse-server-d3yx2z0r.js} +1845 -1825
  16. package/dist/{sse-server-4jjec4fz.js → sse-server-gcjj2741.js} +2081 -1695
  17. package/dist/{sse-server-rr3dp62e.js → sse-server-kpkj0hbc.js} +22749 -22399
  18. package/dist/{sse-server-36t17nga.js → sse-server-qhqncg7f.js} +3555 -3657
  19. package/dist/{sse-server-txz5g5t0.js → sse-server-rrtgkg21.js} +414 -177
  20. package/dist/{sse-server-nwjjjz6x.js → sse-server-wb2h6nz7.js} +3 -52
  21. package/dist/{sse-server-qj4zxq0f.js → sse-server-zmcz2c17.js} +12 -24
  22. package/dist/sse-server.js +69 -35
  23. package/dist/view.html +609 -544
  24. package/dist/{widget-renderer-66ws3xtk.js → widget-renderer-wjrpnwpy.js} +12 -12
  25. package/package.json +3 -3
  26. package/dist/sse-server-4b60tg0c.js +0 -136
@@ -1,9 +1,9 @@
1
1
  import {
2
- require_dist_cjs as require_dist_cjs6,
3
- require_dist_cjs1 as require_dist_cjs8,
2
+ require_dist_cjs as require_dist_cjs7,
3
+ require_dist_cjs1 as require_dist_cjs9,
4
4
  require_dist_cjs10 as require_dist_cjs18,
5
5
  require_dist_cjs11 as require_dist_cjs19,
6
- require_dist_cjs12 as require_dist_cjs22,
6
+ require_dist_cjs12 as require_dist_cjs20,
7
7
  require_dist_cjs13 as require_dist_cjs23,
8
8
  require_dist_cjs14 as require_dist_cjs24,
9
9
  require_dist_cjs15 as require_dist_cjs25,
@@ -11,42 +11,45 @@ import {
11
11
  require_dist_cjs17 as require_dist_cjs27,
12
12
  require_dist_cjs18 as require_dist_cjs28,
13
13
  require_dist_cjs19 as require_dist_cjs29,
14
- require_dist_cjs2 as require_dist_cjs10,
15
- require_dist_cjs3 as require_dist_cjs11,
16
- require_dist_cjs4 as require_dist_cjs12,
17
- require_dist_cjs5 as require_dist_cjs13,
18
- require_dist_cjs7 as require_dist_cjs14,
14
+ require_dist_cjs2 as require_dist_cjs11,
15
+ require_dist_cjs3 as require_dist_cjs12,
16
+ require_dist_cjs4 as require_dist_cjs13,
17
+ require_dist_cjs5 as require_dist_cjs14,
18
+ require_dist_cjs7 as require_dist_cjs15,
19
19
  require_dist_cjs8 as require_dist_cjs16,
20
20
  require_dist_cjs9 as require_dist_cjs17,
21
+ require_package,
21
22
  require_protocols
22
- } from "./sse-server-4jjec4fz.js";
23
+ } from "./sse-server-gcjj2741.js";
23
24
  import {
24
- require_dist_cjs as require_dist_cjs15,
25
- require_dist_cjs1 as require_dist_cjs21
26
- } from "./sse-server-nwjjjz6x.js";
25
+ require_dist_cjs as require_dist_cjs22
26
+ } from "./sse-server-wb2h6nz7.js";
27
27
  import {
28
- require_dist_cjs as require_dist_cjs20
29
- } from "./sse-server-qj4zxq0f.js";
28
+ require_dist_cjs as require_dist_cjs21
29
+ } from "./sse-server-zmcz2c17.js";
30
30
  import {
31
31
  require_dist_cjs as require_dist_cjs2,
32
32
  require_dist_cjs1 as require_dist_cjs4,
33
33
  require_dist_cjs3 as require_dist_cjs5,
34
- require_dist_cjs7 as require_dist_cjs9,
34
+ require_dist_cjs7 as require_dist_cjs10,
35
35
  require_schema,
36
36
  require_tslib
37
- } from "./sse-server-txz5g5t0.js";
37
+ } from "./sse-server-rrtgkg21.js";
38
38
  import {
39
39
  require_dist_cjs
40
40
  } from "./sse-server-epd916s3.js";
41
41
  import {
42
42
  require_dist_cjs2 as require_dist_cjs3
43
43
  } from "./sse-server-5tmgacdx.js";
44
+ import {
45
+ require_dist_cjs as require_dist_cjs6
46
+ } from "./sse-server-0d83pnkk.js";
44
47
  import"./sse-server-4g9za0qq.js";
45
48
  import {
46
49
  require_client
47
50
  } from "./sse-server-mkesh468.js";
48
51
  import {
49
- require_dist_cjs as require_dist_cjs7
52
+ require_dist_cjs as require_dist_cjs8
50
53
  } from "./sse-server-3343e7xh.js";
51
54
  import {
52
55
  __commonJS,
@@ -58,10 +61,10 @@ import {
58
61
  // node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js
59
62
  var require_httpAuthSchemes = __commonJS((exports) => {
60
63
  var protocolHttp = require_dist_cjs();
61
- var core = require_dist_cjs6();
62
- var propertyProvider = require_dist_cjs7();
64
+ var core = require_dist_cjs7();
65
+ var propertyProvider = require_dist_cjs8();
63
66
  var client = require_client();
64
- var signatureV4 = require_dist_cjs8();
67
+ var signatureV4 = require_dist_cjs9();
65
68
  var getDateHeader = (response) => protocolHttp.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : undefined;
66
69
  var getSkewCorrectedDate = (systemClockOffset) => new Date(Date.now() + systemClockOffset);
67
70
  var isClockSkewed = (clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 300000;
@@ -221,7 +224,15 @@ var require_httpAuthSchemes = __commonJS((exports) => {
221
224
  });
222
225
  const boundProvider = bindCallerConfig(config, memoizedProvider);
223
226
  if (isUserSupplied && !boundProvider.attributed) {
224
- resolvedCredentials = async (options) => boundProvider(options).then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_CODE", "e"));
227
+ const isCredentialObject = typeof inputCredentials === "object" && inputCredentials !== null;
228
+ resolvedCredentials = async (options) => {
229
+ const creds = await boundProvider(options);
230
+ const attributedCreds = creds;
231
+ if (isCredentialObject && (!attributedCreds.$source || Object.keys(attributedCreds.$source).length === 0)) {
232
+ return client.setCredentialFeature(attributedCreds, "CREDENTIALS_CODE", "e");
233
+ }
234
+ return attributedCreds;
235
+ };
225
236
  resolvedCredentials.memoized = boundProvider.memoized;
226
237
  resolvedCredentials.configBound = boundProvider.configBound;
227
238
  resolvedCredentials.attributed = true;
@@ -341,9 +352,9 @@ var require_httpAuthSchemes = __commonJS((exports) => {
341
352
  var require_dist_cjs30 = __commonJS((exports) => {
342
353
  var client = require_client();
343
354
  var httpAuthSchemes = require_httpAuthSchemes();
344
- var propertyProvider = require_dist_cjs7();
345
- var sharedIniFileLoader = require_dist_cjs20();
346
- var fs = __require("fs");
355
+ var propertyProvider = require_dist_cjs8();
356
+ var sharedIniFileLoader = require_dist_cjs21();
357
+ var node_fs = __require("node:fs");
347
358
  var fromEnvSigningName = ({ logger, signingName } = {}) => async () => {
348
359
  logger?.debug?.("@aws-sdk/token-providers - fromEnvSigningName");
349
360
  if (!signingName) {
@@ -360,7 +371,7 @@ var require_dist_cjs30 = __commonJS((exports) => {
360
371
  var EXPIRE_WINDOW_MS = 5 * 60 * 1000;
361
372
  var REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;
362
373
  var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
363
- const { SSOOIDCClient } = await import("./index-vrapm0b4.js");
374
+ const { SSOOIDCClient } = await import("./index-p5hr1cfd.js");
364
375
  const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop];
365
376
  const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, {
366
377
  region: ssoRegion ?? init.clientConfig?.region,
@@ -370,7 +381,7 @@ var require_dist_cjs30 = __commonJS((exports) => {
370
381
  return ssoOidcClient;
371
382
  };
372
383
  var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => {
373
- const { CreateTokenCommand } = await import("./index-vrapm0b4.js");
384
+ const { CreateTokenCommand } = await import("./index-p5hr1cfd.js");
374
385
  const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig);
375
386
  return ssoOidcClient.send(new CreateTokenCommand({
376
387
  clientId: ssoToken.clientId,
@@ -389,7 +400,7 @@ var require_dist_cjs30 = __commonJS((exports) => {
389
400
  throw new propertyProvider.TokenProviderError(`Value not present for '${key}' in SSO Token${forRefresh ? ". Cannot refresh" : ""}. ${REFRESH_MESSAGE}`, false);
390
401
  }
391
402
  };
392
- var { writeFile } = fs.promises;
403
+ var { writeFile } = node_fs.promises;
393
404
  var writeSSOTokenToFile = (id, ssoToken) => {
394
405
  const tokenFilepath = sharedIniFileLoader.getSSOTokenFilepath(id);
395
406
  const tokenString = JSON.stringify(ssoToken, null, 2);
@@ -480,11 +491,11 @@ var require_dist_cjs30 = __commonJS((exports) => {
480
491
  exports.nodeProvider = nodeProvider;
481
492
  });
482
493
 
483
- // node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js
494
+ // node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js
484
495
  var require_httpAuthSchemeProvider = __commonJS((exports) => {
485
496
  Object.defineProperty(exports, "__esModule", { value: true });
486
497
  exports.resolveHttpAuthSchemeConfig = exports.defaultSSOHttpAuthSchemeProvider = exports.defaultSSOHttpAuthSchemeParametersProvider = undefined;
487
- var core_1 = require_dist_cjs10();
498
+ var core_1 = require_dist_cjs11();
488
499
  var util_middleware_1 = require_dist_cjs2();
489
500
  var defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {
490
501
  return {
@@ -518,30 +529,10 @@ var require_httpAuthSchemeProvider = __commonJS((exports) => {
518
529
  var defaultSSOHttpAuthSchemeProvider = (authParameters) => {
519
530
  const options = [];
520
531
  switch (authParameters.operation) {
521
- case "GetRoleCredentials":
522
- {
523
- options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
524
- break;
525
- }
526
- ;
527
- case "ListAccountRoles":
528
- {
529
- options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
530
- break;
531
- }
532
- ;
533
- case "ListAccounts":
534
- {
535
- options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
536
- break;
537
- }
538
- ;
539
- case "Logout":
540
- {
541
- options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
542
- break;
543
- }
544
- ;
532
+ case "GetRoleCredentials": {
533
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
534
+ break;
535
+ }
545
536
  default: {
546
537
  options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
547
538
  }
@@ -558,110 +549,7 @@ var require_httpAuthSchemeProvider = __commonJS((exports) => {
558
549
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
559
550
  });
560
551
 
561
- // node_modules/@aws-sdk/client-sso/package.json
562
- var require_package = __commonJS((exports, module) => {
563
- module.exports = {
564
- name: "@aws-sdk/client-sso",
565
- description: "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
566
- version: "3.958.0",
567
- scripts: {
568
- build: "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
569
- "build:cjs": "node ../../scripts/compilation/inline client-sso",
570
- "build:es": "tsc -p tsconfig.es.json",
571
- "build:include:deps": 'yarn g:turbo run build -F="$npm_package_name"',
572
- "build:types": "tsc -p tsconfig.types.json",
573
- "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
574
- clean: "rimraf ./dist-* && rimraf *.tsbuildinfo",
575
- "extract:docs": "api-extractor run --local",
576
- "generate:client": "node ../../scripts/generate-clients/single-service --solo sso",
577
- "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
578
- },
579
- main: "./dist-cjs/index.js",
580
- types: "./dist-types/index.d.ts",
581
- module: "./dist-es/index.js",
582
- sideEffects: false,
583
- dependencies: {
584
- "@aws-crypto/sha256-browser": "5.2.0",
585
- "@aws-crypto/sha256-js": "5.2.0",
586
- "@aws-sdk/core": "3.957.0",
587
- "@aws-sdk/middleware-host-header": "3.957.0",
588
- "@aws-sdk/middleware-logger": "3.957.0",
589
- "@aws-sdk/middleware-recursion-detection": "3.957.0",
590
- "@aws-sdk/middleware-user-agent": "3.957.0",
591
- "@aws-sdk/region-config-resolver": "3.957.0",
592
- "@aws-sdk/types": "3.957.0",
593
- "@aws-sdk/util-endpoints": "3.957.0",
594
- "@aws-sdk/util-user-agent-browser": "3.957.0",
595
- "@aws-sdk/util-user-agent-node": "3.957.0",
596
- "@smithy/config-resolver": "^4.4.5",
597
- "@smithy/core": "^3.20.0",
598
- "@smithy/fetch-http-handler": "^5.3.8",
599
- "@smithy/hash-node": "^4.2.7",
600
- "@smithy/invalid-dependency": "^4.2.7",
601
- "@smithy/middleware-content-length": "^4.2.7",
602
- "@smithy/middleware-endpoint": "^4.4.1",
603
- "@smithy/middleware-retry": "^4.4.17",
604
- "@smithy/middleware-serde": "^4.2.8",
605
- "@smithy/middleware-stack": "^4.2.7",
606
- "@smithy/node-config-provider": "^4.3.7",
607
- "@smithy/node-http-handler": "^4.4.7",
608
- "@smithy/protocol-http": "^5.3.7",
609
- "@smithy/smithy-client": "^4.10.2",
610
- "@smithy/types": "^4.11.0",
611
- "@smithy/url-parser": "^4.2.7",
612
- "@smithy/util-base64": "^4.3.0",
613
- "@smithy/util-body-length-browser": "^4.2.0",
614
- "@smithy/util-body-length-node": "^4.2.1",
615
- "@smithy/util-defaults-mode-browser": "^4.3.16",
616
- "@smithy/util-defaults-mode-node": "^4.2.19",
617
- "@smithy/util-endpoints": "^3.2.7",
618
- "@smithy/util-middleware": "^4.2.7",
619
- "@smithy/util-retry": "^4.2.7",
620
- "@smithy/util-utf8": "^4.2.0",
621
- tslib: "^2.6.2"
622
- },
623
- devDependencies: {
624
- "@tsconfig/node18": "18.2.4",
625
- "@types/node": "^18.19.69",
626
- concurrently: "7.0.0",
627
- "downlevel-dts": "0.10.1",
628
- rimraf: "3.0.2",
629
- typescript: "~5.8.3"
630
- },
631
- engines: {
632
- node: ">=18.0.0"
633
- },
634
- typesVersions: {
635
- "<4.0": {
636
- "dist-types/*": [
637
- "dist-types/ts3.4/*"
638
- ]
639
- }
640
- },
641
- files: [
642
- "dist-*/**"
643
- ],
644
- author: {
645
- name: "AWS SDK for JavaScript Team",
646
- url: "https://aws.amazon.com/javascript/"
647
- },
648
- license: "Apache-2.0",
649
- browser: {
650
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
651
- },
652
- "react-native": {
653
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
654
- },
655
- homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso",
656
- repository: {
657
- type: "git",
658
- url: "https://github.com/aws/aws-sdk-js-v3.git",
659
- directory: "clients/client-sso"
660
- }
661
- };
662
- });
663
-
664
- // node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js
552
+ // node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js
665
553
  var require_ruleset = __commonJS((exports) => {
666
554
  Object.defineProperty(exports, "__esModule", { value: true });
667
555
  exports.ruleSet = undefined;
@@ -689,16 +577,115 @@ var require_ruleset = __commonJS((exports) => {
689
577
  var r = [l];
690
578
  var s = [m];
691
579
  var t = [{ [x]: "Region" }];
692
- var _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://portal.sso.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
580
+ var _data = {
581
+ version: "1.0",
582
+ parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i },
583
+ rules: [
584
+ {
585
+ conditions: [{ [v]: b, [w]: [k] }],
586
+ rules: [
587
+ { conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d },
588
+ { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d },
589
+ { endpoint: { url: k, properties: n, headers: n }, type: e }
590
+ ],
591
+ type: f
592
+ },
593
+ {
594
+ conditions: [{ [v]: b, [w]: t }],
595
+ rules: [
596
+ {
597
+ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }],
598
+ rules: [
599
+ {
600
+ conditions: [l, m],
601
+ rules: [
602
+ {
603
+ conditions: [{ [v]: c, [w]: [a, o] }, q],
604
+ rules: [
605
+ {
606
+ endpoint: {
607
+ url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
608
+ properties: n,
609
+ headers: n
610
+ },
611
+ type: e
612
+ }
613
+ ],
614
+ type: f
615
+ },
616
+ { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }
617
+ ],
618
+ type: f
619
+ },
620
+ {
621
+ conditions: r,
622
+ rules: [
623
+ {
624
+ conditions: [{ [v]: c, [w]: [o, a] }],
625
+ rules: [
626
+ {
627
+ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }],
628
+ endpoint: { url: "https://portal.sso.{Region}.amazonaws.com", properties: n, headers: n },
629
+ type: e
630
+ },
631
+ {
632
+ endpoint: {
633
+ url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",
634
+ properties: n,
635
+ headers: n
636
+ },
637
+ type: e
638
+ }
639
+ ],
640
+ type: f
641
+ },
642
+ { error: "FIPS is enabled but this partition does not support FIPS", type: d }
643
+ ],
644
+ type: f
645
+ },
646
+ {
647
+ conditions: s,
648
+ rules: [
649
+ {
650
+ conditions: [q],
651
+ rules: [
652
+ {
653
+ endpoint: {
654
+ url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",
655
+ properties: n,
656
+ headers: n
657
+ },
658
+ type: e
659
+ }
660
+ ],
661
+ type: f
662
+ },
663
+ { error: "DualStack is enabled but this partition does not support DualStack", type: d }
664
+ ],
665
+ type: f
666
+ },
667
+ {
668
+ endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n },
669
+ type: e
670
+ }
671
+ ],
672
+ type: f
673
+ }
674
+ ],
675
+ type: f
676
+ },
677
+ { error: "Invalid Configuration: Missing Region", type: d }
678
+ ]
679
+ };
693
680
  exports.ruleSet = _data;
694
681
  });
695
682
 
696
- // node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js
683
+ // node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js
697
684
  var require_endpointResolver = __commonJS((exports) => {
698
685
  Object.defineProperty(exports, "__esModule", { value: true });
699
686
  exports.defaultEndpointResolver = undefined;
700
687
  var util_endpoints_1 = require_dist_cjs16();
701
- var util_endpoints_2 = require_dist_cjs14();
688
+ var util_endpoints_2 = require_dist_cjs15();
702
689
  var ruleset_1 = require_ruleset();
703
690
  var cache = new util_endpoints_2.EndpointCache({
704
691
  size: 50,
@@ -714,19 +701,194 @@ var require_endpointResolver = __commonJS((exports) => {
714
701
  util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
715
702
  });
716
703
 
717
- // node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js
704
+ // node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js
705
+ var require_SSOServiceException = __commonJS((exports) => {
706
+ Object.defineProperty(exports, "__esModule", { value: true });
707
+ exports.SSOServiceException = exports.__ServiceException = undefined;
708
+ var smithy_client_1 = require_dist_cjs10();
709
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function() {
710
+ return smithy_client_1.ServiceException;
711
+ } });
712
+
713
+ class SSOServiceException extends smithy_client_1.ServiceException {
714
+ constructor(options) {
715
+ super(options);
716
+ Object.setPrototypeOf(this, SSOServiceException.prototype);
717
+ }
718
+ }
719
+ exports.SSOServiceException = SSOServiceException;
720
+ });
721
+
722
+ // node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js
723
+ var require_errors = __commonJS((exports) => {
724
+ Object.defineProperty(exports, "__esModule", { value: true });
725
+ exports.UnauthorizedException = exports.TooManyRequestsException = exports.ResourceNotFoundException = exports.InvalidRequestException = undefined;
726
+ var SSOServiceException_1 = require_SSOServiceException();
727
+
728
+ class InvalidRequestException extends SSOServiceException_1.SSOServiceException {
729
+ name = "InvalidRequestException";
730
+ $fault = "client";
731
+ constructor(opts) {
732
+ super({
733
+ name: "InvalidRequestException",
734
+ $fault: "client",
735
+ ...opts
736
+ });
737
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
738
+ }
739
+ }
740
+ exports.InvalidRequestException = InvalidRequestException;
741
+
742
+ class ResourceNotFoundException extends SSOServiceException_1.SSOServiceException {
743
+ name = "ResourceNotFoundException";
744
+ $fault = "client";
745
+ constructor(opts) {
746
+ super({
747
+ name: "ResourceNotFoundException",
748
+ $fault: "client",
749
+ ...opts
750
+ });
751
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
752
+ }
753
+ }
754
+ exports.ResourceNotFoundException = ResourceNotFoundException;
755
+
756
+ class TooManyRequestsException extends SSOServiceException_1.SSOServiceException {
757
+ name = "TooManyRequestsException";
758
+ $fault = "client";
759
+ constructor(opts) {
760
+ super({
761
+ name: "TooManyRequestsException",
762
+ $fault: "client",
763
+ ...opts
764
+ });
765
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
766
+ }
767
+ }
768
+ exports.TooManyRequestsException = TooManyRequestsException;
769
+
770
+ class UnauthorizedException extends SSOServiceException_1.SSOServiceException {
771
+ name = "UnauthorizedException";
772
+ $fault = "client";
773
+ constructor(opts) {
774
+ super({
775
+ name: "UnauthorizedException",
776
+ $fault: "client",
777
+ ...opts
778
+ });
779
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
780
+ }
781
+ }
782
+ exports.UnauthorizedException = UnauthorizedException;
783
+ });
784
+
785
+ // node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js
786
+ var require_schemas_0 = __commonJS((exports) => {
787
+ Object.defineProperty(exports, "__esModule", { value: true });
788
+ exports.GetRoleCredentials$ = exports.RoleCredentials$ = exports.GetRoleCredentialsResponse$ = exports.GetRoleCredentialsRequest$ = exports.errorTypeRegistries = exports.UnauthorizedException$ = exports.TooManyRequestsException$ = exports.ResourceNotFoundException$ = exports.InvalidRequestException$ = exports.SSOServiceException$ = undefined;
789
+ var _ATT = "AccessTokenType";
790
+ var _GRC = "GetRoleCredentials";
791
+ var _GRCR = "GetRoleCredentialsRequest";
792
+ var _GRCRe = "GetRoleCredentialsResponse";
793
+ var _IRE = "InvalidRequestException";
794
+ var _RC = "RoleCredentials";
795
+ var _RNFE = "ResourceNotFoundException";
796
+ var _SAKT = "SecretAccessKeyType";
797
+ var _STT = "SessionTokenType";
798
+ var _TMRE = "TooManyRequestsException";
799
+ var _UE = "UnauthorizedException";
800
+ var _aI = "accountId";
801
+ var _aKI = "accessKeyId";
802
+ var _aT = "accessToken";
803
+ var _ai = "account_id";
804
+ var _c = "client";
805
+ var _e = "error";
806
+ var _ex = "expiration";
807
+ var _h = "http";
808
+ var _hE = "httpError";
809
+ var _hH = "httpHeader";
810
+ var _hQ = "httpQuery";
811
+ var _m = "message";
812
+ var _rC = "roleCredentials";
813
+ var _rN = "roleName";
814
+ var _rn = "role_name";
815
+ var _s = "smithy.ts.sdk.synthetic.com.amazonaws.sso";
816
+ var _sAK = "secretAccessKey";
817
+ var _sT = "sessionToken";
818
+ var _xasbt = "x-amz-sso_bearer_token";
819
+ var n0 = "com.amazonaws.sso";
820
+ var schema_1 = require_schema();
821
+ var errors_1 = require_errors();
822
+ var SSOServiceException_1 = require_SSOServiceException();
823
+ var _s_registry = schema_1.TypeRegistry.for(_s);
824
+ exports.SSOServiceException$ = [-3, _s, "SSOServiceException", 0, [], []];
825
+ _s_registry.registerError(exports.SSOServiceException$, SSOServiceException_1.SSOServiceException);
826
+ var n0_registry = schema_1.TypeRegistry.for(n0);
827
+ exports.InvalidRequestException$ = [-3, n0, _IRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
828
+ n0_registry.registerError(exports.InvalidRequestException$, errors_1.InvalidRequestException);
829
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
830
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
831
+ exports.TooManyRequestsException$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
832
+ n0_registry.registerError(exports.TooManyRequestsException$, errors_1.TooManyRequestsException);
833
+ exports.UnauthorizedException$ = [-3, n0, _UE, { [_e]: _c, [_hE]: 401 }, [_m], [0]];
834
+ n0_registry.registerError(exports.UnauthorizedException$, errors_1.UnauthorizedException);
835
+ exports.errorTypeRegistries = [_s_registry, n0_registry];
836
+ var AccessTokenType = [0, n0, _ATT, 8, 0];
837
+ var SecretAccessKeyType = [0, n0, _SAKT, 8, 0];
838
+ var SessionTokenType = [0, n0, _STT, 8, 0];
839
+ exports.GetRoleCredentialsRequest$ = [
840
+ 3,
841
+ n0,
842
+ _GRCR,
843
+ 0,
844
+ [_rN, _aI, _aT],
845
+ [
846
+ [0, { [_hQ]: _rn }],
847
+ [0, { [_hQ]: _ai }],
848
+ [() => AccessTokenType, { [_hH]: _xasbt }]
849
+ ],
850
+ 3
851
+ ];
852
+ exports.GetRoleCredentialsResponse$ = [
853
+ 3,
854
+ n0,
855
+ _GRCRe,
856
+ 0,
857
+ [_rC],
858
+ [[() => exports.RoleCredentials$, 0]]
859
+ ];
860
+ exports.RoleCredentials$ = [
861
+ 3,
862
+ n0,
863
+ _RC,
864
+ 0,
865
+ [_aKI, _sAK, _sT, _ex],
866
+ [0, [() => SecretAccessKeyType, 0], [() => SessionTokenType, 0], 1]
867
+ ];
868
+ exports.GetRoleCredentials$ = [
869
+ 9,
870
+ n0,
871
+ _GRC,
872
+ { [_h]: ["GET", "/federation/credentials", 200] },
873
+ () => exports.GetRoleCredentialsRequest$,
874
+ () => exports.GetRoleCredentialsResponse$
875
+ ];
876
+ });
877
+
878
+ // node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js
718
879
  var require_runtimeConfig_shared = __commonJS((exports) => {
719
880
  Object.defineProperty(exports, "__esModule", { value: true });
720
881
  exports.getRuntimeConfig = undefined;
721
- var core_1 = require_dist_cjs10();
882
+ var core_1 = require_dist_cjs11();
722
883
  var protocols_1 = require_protocols();
723
- var core_2 = require_dist_cjs6();
724
- var smithy_client_1 = require_dist_cjs9();
725
- var url_parser_1 = require_dist_cjs15();
884
+ var core_2 = require_dist_cjs7();
885
+ var smithy_client_1 = require_dist_cjs10();
886
+ var url_parser_1 = require_dist_cjs6();
726
887
  var util_base64_1 = require_dist_cjs4();
727
888
  var util_utf8_1 = require_dist_cjs3();
728
889
  var httpAuthSchemeProvider_1 = require_httpAuthSchemeProvider();
729
890
  var endpointResolver_1 = require_endpointResolver();
891
+ var schemas_0_1 = require_schemas_0();
730
892
  var getRuntimeConfig = (config) => {
731
893
  return {
732
894
  apiVersion: "2019-06-10",
@@ -752,6 +914,7 @@ var require_runtimeConfig_shared = __commonJS((exports) => {
752
914
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
753
915
  protocolSettings: config?.protocolSettings ?? {
754
916
  defaultNamespace: "com.amazonaws.sso",
917
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
755
918
  version: "2019-06-10",
756
919
  serviceTarget: "SWBPortalService"
757
920
  },
@@ -764,23 +927,23 @@ var require_runtimeConfig_shared = __commonJS((exports) => {
764
927
  exports.getRuntimeConfig = getRuntimeConfig;
765
928
  });
766
929
 
767
- // node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js
930
+ // node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js
768
931
  var require_runtimeConfig = __commonJS((exports) => {
769
932
  Object.defineProperty(exports, "__esModule", { value: true });
770
933
  exports.getRuntimeConfig = undefined;
771
934
  var tslib_1 = require_tslib();
772
935
  var package_json_1 = tslib_1.__importDefault(require_package());
773
- var core_1 = require_dist_cjs10();
936
+ var core_1 = require_dist_cjs11();
774
937
  var util_user_agent_node_1 = require_dist_cjs25();
775
- var config_resolver_1 = require_dist_cjs18();
938
+ var config_resolver_1 = require_dist_cjs19();
776
939
  var hash_node_1 = require_dist_cjs26();
777
940
  var middleware_retry_1 = require_dist_cjs24();
778
- var node_config_provider_1 = require_dist_cjs21();
941
+ var node_config_provider_1 = require_dist_cjs22();
779
942
  var node_http_handler_1 = require_dist_cjs5();
780
- var smithy_client_1 = require_dist_cjs9();
943
+ var smithy_client_1 = require_dist_cjs10();
781
944
  var util_body_length_node_1 = require_dist_cjs27();
782
945
  var util_defaults_mode_node_1 = require_dist_cjs28();
783
- var util_retry_1 = require_dist_cjs23();
946
+ var util_retry_1 = require_dist_cjs17();
784
947
  var runtimeConfig_shared_1 = require_runtimeConfig_shared();
785
948
  var getRuntimeConfig = (config) => {
786
949
  (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
@@ -817,23 +980,26 @@ var require_runtimeConfig = __commonJS((exports) => {
817
980
  exports.getRuntimeConfig = getRuntimeConfig;
818
981
  });
819
982
 
820
- // node_modules/@aws-sdk/client-sso/dist-cjs/index.js
821
- var require_dist_cjs31 = __commonJS((exports) => {
822
- var middlewareHostHeader = require_dist_cjs11();
823
- var middlewareLogger = require_dist_cjs12();
824
- var middlewareRecursionDetection = require_dist_cjs13();
825
- var middlewareUserAgent = require_dist_cjs17();
826
- var configResolver = require_dist_cjs18();
827
- var core = require_dist_cjs6();
983
+ // node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js
984
+ var require_sso = __commonJS((exports) => {
985
+ var middlewareHostHeader = require_dist_cjs12();
986
+ var middlewareLogger = require_dist_cjs13();
987
+ var middlewareRecursionDetection = require_dist_cjs14();
988
+ var middlewareUserAgent = require_dist_cjs18();
989
+ var configResolver = require_dist_cjs19();
990
+ var core = require_dist_cjs7();
828
991
  var schema = require_schema();
829
- var middlewareContentLength = require_dist_cjs19();
830
- var middlewareEndpoint = require_dist_cjs22();
992
+ var middlewareContentLength = require_dist_cjs20();
993
+ var middlewareEndpoint = require_dist_cjs23();
831
994
  var middlewareRetry = require_dist_cjs24();
832
- var smithyClient = require_dist_cjs9();
995
+ var smithyClient = require_dist_cjs10();
833
996
  var httpAuthSchemeProvider = require_httpAuthSchemeProvider();
834
997
  var runtimeConfig = require_runtimeConfig();
835
998
  var regionConfigResolver = require_dist_cjs29();
836
999
  var protocolHttp = require_dist_cjs();
1000
+ var schemas_0 = require_schemas_0();
1001
+ var errors = require_errors();
1002
+ var SSOServiceException = require_SSOServiceException();
837
1003
  var resolveClientEndpointParameters = (options) => {
838
1004
  return Object.assign(options, {
839
1005
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
@@ -925,378 +1091,48 @@ var require_dist_cjs31 = __commonJS((exports) => {
925
1091
  }
926
1092
  }
927
1093
 
928
- class SSOServiceException extends smithyClient.ServiceException {
929
- constructor(options) {
930
- super(options);
931
- Object.setPrototypeOf(this, SSOServiceException.prototype);
932
- }
933
- }
934
-
935
- class InvalidRequestException extends SSOServiceException {
936
- name = "InvalidRequestException";
937
- $fault = "client";
938
- constructor(opts) {
939
- super({
940
- name: "InvalidRequestException",
941
- $fault: "client",
942
- ...opts
943
- });
944
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
945
- }
946
- }
947
-
948
- class ResourceNotFoundException extends SSOServiceException {
949
- name = "ResourceNotFoundException";
950
- $fault = "client";
951
- constructor(opts) {
952
- super({
953
- name: "ResourceNotFoundException",
954
- $fault: "client",
955
- ...opts
956
- });
957
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
958
- }
959
- }
960
-
961
- class TooManyRequestsException extends SSOServiceException {
962
- name = "TooManyRequestsException";
963
- $fault = "client";
964
- constructor(opts) {
965
- super({
966
- name: "TooManyRequestsException",
967
- $fault: "client",
968
- ...opts
969
- });
970
- Object.setPrototypeOf(this, TooManyRequestsException.prototype);
971
- }
972
- }
973
-
974
- class UnauthorizedException extends SSOServiceException {
975
- name = "UnauthorizedException";
976
- $fault = "client";
977
- constructor(opts) {
978
- super({
979
- name: "UnauthorizedException",
980
- $fault: "client",
981
- ...opts
982
- });
983
- Object.setPrototypeOf(this, UnauthorizedException.prototype);
984
- }
985
- }
986
- var _AI = "AccountInfo";
987
- var _ALT = "AccountListType";
988
- var _ATT = "AccessTokenType";
989
- var _GRC = "GetRoleCredentials";
990
- var _GRCR = "GetRoleCredentialsRequest";
991
- var _GRCRe = "GetRoleCredentialsResponse";
992
- var _IRE = "InvalidRequestException";
993
- var _L = "Logout";
994
- var _LA = "ListAccounts";
995
- var _LAR = "ListAccountsRequest";
996
- var _LARR = "ListAccountRolesRequest";
997
- var _LARRi = "ListAccountRolesResponse";
998
- var _LARi = "ListAccountsResponse";
999
- var _LARis = "ListAccountRoles";
1000
- var _LR = "LogoutRequest";
1001
- var _RC = "RoleCredentials";
1002
- var _RI = "RoleInfo";
1003
- var _RLT = "RoleListType";
1004
- var _RNFE = "ResourceNotFoundException";
1005
- var _SAKT = "SecretAccessKeyType";
1006
- var _STT = "SessionTokenType";
1007
- var _TMRE = "TooManyRequestsException";
1008
- var _UE = "UnauthorizedException";
1009
- var _aI = "accountId";
1010
- var _aKI = "accessKeyId";
1011
- var _aL = "accountList";
1012
- var _aN = "accountName";
1013
- var _aT = "accessToken";
1014
- var _ai = "account_id";
1015
- var _c = "client";
1016
- var _e = "error";
1017
- var _eA = "emailAddress";
1018
- var _ex = "expiration";
1019
- var _h = "http";
1020
- var _hE = "httpError";
1021
- var _hH = "httpHeader";
1022
- var _hQ = "httpQuery";
1023
- var _m = "message";
1024
- var _mR = "maxResults";
1025
- var _mr = "max_result";
1026
- var _nT = "nextToken";
1027
- var _nt = "next_token";
1028
- var _rC = "roleCredentials";
1029
- var _rL = "roleList";
1030
- var _rN = "roleName";
1031
- var _rn = "role_name";
1032
- var _s = "smithy.ts.sdk.synthetic.com.amazonaws.sso";
1033
- var _sAK = "secretAccessKey";
1034
- var _sT = "sessionToken";
1035
- var _xasbt = "x-amz-sso_bearer_token";
1036
- var n0 = "com.amazonaws.sso";
1037
- var AccessTokenType = [0, n0, _ATT, 8, 0];
1038
- var SecretAccessKeyType = [0, n0, _SAKT, 8, 0];
1039
- var SessionTokenType = [0, n0, _STT, 8, 0];
1040
- var AccountInfo$ = [
1041
- 3,
1042
- n0,
1043
- _AI,
1044
- 0,
1045
- [_aI, _aN, _eA],
1046
- [0, 0, 0]
1047
- ];
1048
- var GetRoleCredentialsRequest$ = [
1049
- 3,
1050
- n0,
1051
- _GRCR,
1052
- 0,
1053
- [_rN, _aI, _aT],
1054
- [[0, { [_hQ]: _rn }], [0, { [_hQ]: _ai }], [() => AccessTokenType, { [_hH]: _xasbt }]]
1055
- ];
1056
- var GetRoleCredentialsResponse$ = [
1057
- 3,
1058
- n0,
1059
- _GRCRe,
1060
- 0,
1061
- [_rC],
1062
- [[() => RoleCredentials$, 0]]
1063
- ];
1064
- var InvalidRequestException$ = [
1065
- -3,
1066
- n0,
1067
- _IRE,
1068
- { [_e]: _c, [_hE]: 400 },
1069
- [_m],
1070
- [0]
1071
- ];
1072
- schema.TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
1073
- var ListAccountRolesRequest$ = [
1074
- 3,
1075
- n0,
1076
- _LARR,
1077
- 0,
1078
- [_nT, _mR, _aT, _aI],
1079
- [[0, { [_hQ]: _nt }], [1, { [_hQ]: _mr }], [() => AccessTokenType, { [_hH]: _xasbt }], [0, { [_hQ]: _ai }]]
1080
- ];
1081
- var ListAccountRolesResponse$ = [
1082
- 3,
1083
- n0,
1084
- _LARRi,
1085
- 0,
1086
- [_nT, _rL],
1087
- [0, () => RoleListType]
1088
- ];
1089
- var ListAccountsRequest$ = [
1090
- 3,
1091
- n0,
1092
- _LAR,
1093
- 0,
1094
- [_nT, _mR, _aT],
1095
- [[0, { [_hQ]: _nt }], [1, { [_hQ]: _mr }], [() => AccessTokenType, { [_hH]: _xasbt }]]
1096
- ];
1097
- var ListAccountsResponse$ = [
1098
- 3,
1099
- n0,
1100
- _LARi,
1101
- 0,
1102
- [_nT, _aL],
1103
- [0, () => AccountListType]
1104
- ];
1105
- var LogoutRequest$ = [
1106
- 3,
1107
- n0,
1108
- _LR,
1109
- 0,
1110
- [_aT],
1111
- [[() => AccessTokenType, { [_hH]: _xasbt }]]
1112
- ];
1113
- var ResourceNotFoundException$ = [
1114
- -3,
1115
- n0,
1116
- _RNFE,
1117
- { [_e]: _c, [_hE]: 404 },
1118
- [_m],
1119
- [0]
1120
- ];
1121
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
1122
- var RoleCredentials$ = [
1123
- 3,
1124
- n0,
1125
- _RC,
1126
- 0,
1127
- [_aKI, _sAK, _sT, _ex],
1128
- [0, [() => SecretAccessKeyType, 0], [() => SessionTokenType, 0], 1]
1129
- ];
1130
- var RoleInfo$ = [
1131
- 3,
1132
- n0,
1133
- _RI,
1134
- 0,
1135
- [_rN, _aI],
1136
- [0, 0]
1137
- ];
1138
- var TooManyRequestsException$ = [
1139
- -3,
1140
- n0,
1141
- _TMRE,
1142
- { [_e]: _c, [_hE]: 429 },
1143
- [_m],
1144
- [0]
1145
- ];
1146
- schema.TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
1147
- var UnauthorizedException$ = [
1148
- -3,
1149
- n0,
1150
- _UE,
1151
- { [_e]: _c, [_hE]: 401 },
1152
- [_m],
1153
- [0]
1154
- ];
1155
- schema.TypeRegistry.for(n0).registerError(UnauthorizedException$, UnauthorizedException);
1156
- var __Unit = "unit";
1157
- var SSOServiceException$ = [-3, _s, "SSOServiceException", 0, [], []];
1158
- schema.TypeRegistry.for(_s).registerError(SSOServiceException$, SSOServiceException);
1159
- var AccountListType = [
1160
- 1,
1161
- n0,
1162
- _ALT,
1163
- 0,
1164
- () => AccountInfo$
1165
- ];
1166
- var RoleListType = [
1167
- 1,
1168
- n0,
1169
- _RLT,
1170
- 0,
1171
- () => RoleInfo$
1172
- ];
1173
- var GetRoleCredentials$ = [
1174
- 9,
1175
- n0,
1176
- _GRC,
1177
- { [_h]: ["GET", "/federation/credentials", 200] },
1178
- () => GetRoleCredentialsRequest$,
1179
- () => GetRoleCredentialsResponse$
1180
- ];
1181
- var ListAccountRoles$ = [
1182
- 9,
1183
- n0,
1184
- _LARis,
1185
- { [_h]: ["GET", "/assignment/roles", 200] },
1186
- () => ListAccountRolesRequest$,
1187
- () => ListAccountRolesResponse$
1188
- ];
1189
- var ListAccounts$ = [
1190
- 9,
1191
- n0,
1192
- _LA,
1193
- { [_h]: ["GET", "/assignment/accounts", 200] },
1194
- () => ListAccountsRequest$,
1195
- () => ListAccountsResponse$
1196
- ];
1197
- var Logout$ = [
1198
- 9,
1199
- n0,
1200
- _L,
1201
- { [_h]: ["POST", "/logout", 200] },
1202
- () => LogoutRequest$,
1203
- () => __Unit
1204
- ];
1205
-
1206
1094
  class GetRoleCredentialsCommand extends smithyClient.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1207
1095
  return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1208
- }).s("SWBPortalService", "GetRoleCredentials", {}).n("SSOClient", "GetRoleCredentialsCommand").sc(GetRoleCredentials$).build() {
1209
- }
1210
-
1211
- class ListAccountRolesCommand extends smithyClient.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1212
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1213
- }).s("SWBPortalService", "ListAccountRoles", {}).n("SSOClient", "ListAccountRolesCommand").sc(ListAccountRoles$).build() {
1214
- }
1215
-
1216
- class ListAccountsCommand extends smithyClient.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1217
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1218
- }).s("SWBPortalService", "ListAccounts", {}).n("SSOClient", "ListAccountsCommand").sc(ListAccounts$).build() {
1219
- }
1220
-
1221
- class LogoutCommand extends smithyClient.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1222
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1223
- }).s("SWBPortalService", "Logout", {}).n("SSOClient", "LogoutCommand").sc(Logout$).build() {
1096
+ }).s("SWBPortalService", "GetRoleCredentials", {}).n("SSOClient", "GetRoleCredentialsCommand").sc(schemas_0.GetRoleCredentials$).build() {
1224
1097
  }
1225
1098
  var commands = {
1226
- GetRoleCredentialsCommand,
1227
- ListAccountRolesCommand,
1228
- ListAccountsCommand,
1229
- LogoutCommand
1099
+ GetRoleCredentialsCommand
1230
1100
  };
1231
1101
 
1232
1102
  class SSO extends SSOClient {
1233
1103
  }
1234
1104
  smithyClient.createAggregatedClient(commands, SSO);
1235
- var paginateListAccountRoles = core.createPaginator(SSOClient, ListAccountRolesCommand, "nextToken", "nextToken", "maxResults");
1236
- var paginateListAccounts = core.createPaginator(SSOClient, ListAccountsCommand, "nextToken", "nextToken", "maxResults");
1237
- Object.defineProperty(exports, "$Command", {
1238
- enumerable: true,
1239
- get: function() {
1240
- return smithyClient.Command;
1241
- }
1242
- });
1243
- Object.defineProperty(exports, "__Client", {
1244
- enumerable: true,
1245
- get: function() {
1246
- return smithyClient.Client;
1247
- }
1248
- });
1249
- exports.AccountInfo$ = AccountInfo$;
1250
- exports.GetRoleCredentials$ = GetRoleCredentials$;
1105
+ exports.$Command = smithyClient.Command;
1106
+ exports.__Client = smithyClient.Client;
1107
+ exports.SSOServiceException = SSOServiceException.SSOServiceException;
1251
1108
  exports.GetRoleCredentialsCommand = GetRoleCredentialsCommand;
1252
- exports.GetRoleCredentialsRequest$ = GetRoleCredentialsRequest$;
1253
- exports.GetRoleCredentialsResponse$ = GetRoleCredentialsResponse$;
1254
- exports.InvalidRequestException = InvalidRequestException;
1255
- exports.InvalidRequestException$ = InvalidRequestException$;
1256
- exports.ListAccountRoles$ = ListAccountRoles$;
1257
- exports.ListAccountRolesCommand = ListAccountRolesCommand;
1258
- exports.ListAccountRolesRequest$ = ListAccountRolesRequest$;
1259
- exports.ListAccountRolesResponse$ = ListAccountRolesResponse$;
1260
- exports.ListAccounts$ = ListAccounts$;
1261
- exports.ListAccountsCommand = ListAccountsCommand;
1262
- exports.ListAccountsRequest$ = ListAccountsRequest$;
1263
- exports.ListAccountsResponse$ = ListAccountsResponse$;
1264
- exports.Logout$ = Logout$;
1265
- exports.LogoutCommand = LogoutCommand;
1266
- exports.LogoutRequest$ = LogoutRequest$;
1267
- exports.ResourceNotFoundException = ResourceNotFoundException;
1268
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1269
- exports.RoleCredentials$ = RoleCredentials$;
1270
- exports.RoleInfo$ = RoleInfo$;
1271
1109
  exports.SSO = SSO;
1272
1110
  exports.SSOClient = SSOClient;
1273
- exports.SSOServiceException = SSOServiceException;
1274
- exports.SSOServiceException$ = SSOServiceException$;
1275
- exports.TooManyRequestsException = TooManyRequestsException;
1276
- exports.TooManyRequestsException$ = TooManyRequestsException$;
1277
- exports.UnauthorizedException = UnauthorizedException;
1278
- exports.UnauthorizedException$ = UnauthorizedException$;
1279
- exports.paginateListAccountRoles = paginateListAccountRoles;
1280
- exports.paginateListAccounts = paginateListAccounts;
1281
- });
1282
-
1283
- // node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-CVy8iqsZ.js
1284
- var require_loadSso_CVy8iqsZ = __commonJS((exports) => {
1285
- var clientSso = require_dist_cjs31();
1286
- Object.defineProperty(exports, "GetRoleCredentialsCommand", {
1111
+ Object.prototype.hasOwnProperty.call(schemas_0, "__proto__") && !Object.prototype.hasOwnProperty.call(exports, "__proto__") && Object.defineProperty(exports, "__proto__", {
1287
1112
  enumerable: true,
1288
- get: function() {
1289
- return clientSso.GetRoleCredentialsCommand;
1290
- }
1113
+ value: schemas_0["__proto__"]
1291
1114
  });
1292
- Object.defineProperty(exports, "SSOClient", {
1115
+ Object.keys(schemas_0).forEach(function(k) {
1116
+ if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
1117
+ exports[k] = schemas_0[k];
1118
+ });
1119
+ Object.prototype.hasOwnProperty.call(errors, "__proto__") && !Object.prototype.hasOwnProperty.call(exports, "__proto__") && Object.defineProperty(exports, "__proto__", {
1293
1120
  enumerable: true,
1294
- get: function() {
1295
- return clientSso.SSOClient;
1296
- }
1121
+ value: errors["__proto__"]
1122
+ });
1123
+ Object.keys(errors).forEach(function(k) {
1124
+ if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
1125
+ exports[k] = errors[k];
1297
1126
  });
1298
1127
  });
1299
1128
 
1129
+ // node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js
1130
+ var require_loadSso_BKDNrsal = __commonJS((exports) => {
1131
+ var sso = require_sso();
1132
+ exports.GetRoleCredentialsCommand = sso.GetRoleCredentialsCommand;
1133
+ exports.SSOClient = sso.SSOClient;
1134
+ });
1135
+
1300
1136
  // node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js
1301
1137
  var propertyProvider, sharedIniFileLoader, client, tokenProviders, isSsoProfile = (arg) => arg && (typeof arg.sso_start_url === "string" || typeof arg.sso_account_id === "string" || typeof arg.sso_session === "string" || typeof arg.sso_region === "string" || typeof arg.sso_role_name === "string"), SHOULD_FAIL_CREDENTIAL_CHAIN = false, resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, callerClientConfig, profile, filepath, configFilepath, ignoreCache, logger }) => {
1302
1138
  let token;
@@ -1337,7 +1173,7 @@ var propertyProvider, sharedIniFileLoader, client, tokenProviders, isSsoProfile
1337
1173
  }
1338
1174
  const { accessToken } = token;
1339
1175
  const { SSOClient, GetRoleCredentialsCommand } = await Promise.resolve().then(function() {
1340
- return require_loadSso_CVy8iqsZ();
1176
+ return require_loadSso_BKDNrsal();
1341
1177
  });
1342
1178
  const sso = ssoClient || new SSOClient(Object.assign({}, clientConfig ?? {}, {
1343
1179
  logger: clientConfig?.logger ?? callerClientConfig?.logger ?? parentClientConfig?.logger,
@@ -1461,8 +1297,8 @@ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.ht
1461
1297
  }
1462
1298
  }, $fromSSO, $isSsoProfile, $validateSsoProfile;
1463
1299
  var init_dist_cjs = __esm(() => {
1464
- propertyProvider = require_dist_cjs7();
1465
- sharedIniFileLoader = require_dist_cjs20();
1300
+ propertyProvider = require_dist_cjs8();
1301
+ sharedIniFileLoader = require_dist_cjs21();
1466
1302
  client = require_client();
1467
1303
  tokenProviders = require_dist_cjs30();
1468
1304
  $fromSSO = fromSSO;