skill-tree 0.3.0 → 0.3.1

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 (90) hide show
  1. package/package.json +1 -1
  2. package/dist/bowser-XBWM4HVL.mjs +0 -2821
  3. package/dist/chunk-3MV4GQ3N.mjs +0 -19
  4. package/dist/chunk-3SRB47JW.mjs +0 -8344
  5. package/dist/chunk-43YOKLZP.mjs +0 -6081
  6. package/dist/chunk-4AGZU52D.mjs +0 -7918
  7. package/dist/chunk-4HXHCEFH.mjs +0 -9157
  8. package/dist/chunk-4OC5QFIF.mjs +0 -11267
  9. package/dist/chunk-4TFMKAVC.mjs +0 -1225
  10. package/dist/chunk-55SMGVTP.mjs +0 -7126
  11. package/dist/chunk-6AZMD3Q3.mjs +0 -1243
  12. package/dist/chunk-6FX4IK4Z.mjs +0 -5368
  13. package/dist/chunk-6UPDN5QM.mjs +0 -163
  14. package/dist/chunk-7EGDKOHV.mjs +0 -9439
  15. package/dist/chunk-7IHYDFWW.mjs +0 -163
  16. package/dist/chunk-7LMOQW5H.mjs +0 -4893
  17. package/dist/chunk-7QIQJVNP.mjs +0 -14206
  18. package/dist/chunk-7VB4ZRZO.mjs +0 -7127
  19. package/dist/chunk-A3SILZYX.mjs +0 -8360
  20. package/dist/chunk-BPVRW25O.mjs +0 -6089
  21. package/dist/chunk-CI4476KM.mjs +0 -6607
  22. package/dist/chunk-DDXYQ74I.mjs +0 -13969
  23. package/dist/chunk-DQOFJXBX.mjs +0 -6595
  24. package/dist/chunk-E2CVK23F.mjs +0 -8751
  25. package/dist/chunk-F3YEUQAP.mjs +0 -654
  26. package/dist/chunk-FKJJ4RJG.mjs +0 -13874
  27. package/dist/chunk-GBIK7WMX.mjs +0 -9293
  28. package/dist/chunk-GFK5SZRJ.mjs +0 -580
  29. package/dist/chunk-II7DECZQ.mjs +0 -9111
  30. package/dist/chunk-INKVOZXK.mjs +0 -15898
  31. package/dist/chunk-J2JM7HAK.mjs +0 -8787
  32. package/dist/chunk-K6NRCSAZ.mjs +0 -4355
  33. package/dist/chunk-M4RPUUZT.mjs +0 -3156
  34. package/dist/chunk-MR4TVINH.mjs +0 -1234
  35. package/dist/chunk-OOECXYLU.mjs +0 -1379
  36. package/dist/chunk-OYHYXKXO.mjs +0 -7297
  37. package/dist/chunk-P5GJJ4JB.mjs +0 -9237
  38. package/dist/chunk-PDPN7FW7.mjs +0 -1045
  39. package/dist/chunk-PJJJQXJL.mjs +0 -1174
  40. package/dist/chunk-PK3BAIFW.mjs +0 -9294
  41. package/dist/chunk-QNK3WYNA.mjs +0 -8971
  42. package/dist/chunk-T4PVQW5O.mjs +0 -124
  43. package/dist/chunk-TENXZJB3.mjs +0 -349
  44. package/dist/chunk-TEUB6DZR.mjs +0 -6453
  45. package/dist/chunk-TWPEHDW4.mjs +0 -1067
  46. package/dist/chunk-VHFTX33A.mjs +0 -6724
  47. package/dist/chunk-VNZSS2WY.mjs +0 -1057
  48. package/dist/chunk-WJP5XYS7.mjs +0 -2102
  49. package/dist/chunk-WX6N7KNO.mjs +0 -1239
  50. package/dist/chunk-Y54UK2J3.mjs +0 -13071
  51. package/dist/chunk-YDNGMDXC.mjs +0 -9294
  52. package/dist/chunk-YJ6NZQLT.mjs +0 -9237
  53. package/dist/chunk-YWRKGXK4.mjs +0 -9300
  54. package/dist/chunk-ZI4AIAWQ.mjs +0 -46
  55. package/dist/chunk-ZQVS7MQK.mjs +0 -6081
  56. package/dist/dist-es-27NPMXP7.mjs +0 -22
  57. package/dist/dist-es-2JG6ZWFR.mjs +0 -69
  58. package/dist/dist-es-5QD5QJS2.mjs +0 -495
  59. package/dist/dist-es-5ZD454R2.mjs +0 -317
  60. package/dist/dist-es-DYHMPEKZ.mjs +0 -170
  61. package/dist/dist-es-FIVW7BUZ.mjs +0 -317
  62. package/dist/dist-es-HRBPKDMR.mjs +0 -935
  63. package/dist/dist-es-L5AMJHSY.mjs +0 -935
  64. package/dist/dist-es-LHPJ63IO.mjs +0 -4437
  65. package/dist/dist-es-OK2J7EV3.mjs +0 -378
  66. package/dist/dist-es-XFAHNA2L.mjs +0 -69
  67. package/dist/dist-es-XPNJAJI7.mjs +0 -4437
  68. package/dist/dist-es-Y4JPNLF3.mjs +0 -6077
  69. package/dist/dist-es-ZGPJUGVW.mjs +0 -87
  70. package/dist/dist-es-ZYHLY2E6.mjs +0 -487
  71. package/dist/event-streams-6MFHPNRF.mjs +0 -42
  72. package/dist/lib-B245IUXF.mjs +0 -778
  73. package/dist/loadSso-CAWKILED.mjs +0 -579
  74. package/dist/loadSso-OYKG6ZRE.mjs +0 -579
  75. package/dist/signin-KUENA7ZD.mjs +0 -743
  76. package/dist/signin-LMFNL434.mjs +0 -665
  77. package/dist/sqlite-5LHEQTBD.mjs +0 -7
  78. package/dist/sqlite-BZK5GF76.mjs +0 -7
  79. package/dist/sqlite-MG45OOTV.mjs +0 -6
  80. package/dist/sqlite-OLU72GHB.mjs +0 -6
  81. package/dist/sqlite-RR2SJ3SR.mjs +0 -7
  82. package/dist/sqlite-XJRPMNAJ.mjs +0 -6
  83. package/dist/sqlite-ZKQKQKPT.mjs +0 -7
  84. package/dist/sso-oidc-3VGFPMFD.mjs +0 -832
  85. package/dist/sso-oidc-NNH6SQIH.mjs +0 -832
  86. package/dist/sts-EF755UBF.mjs +0 -6290
  87. package/dist/sts-QGXULWRT.mjs +0 -6290
  88. package/dist/sync-4DCV43GA.mjs +0 -15
  89. package/dist/sync-BSWMMDA6.mjs +0 -14
  90. package/dist/sync-WHIIDHML.mjs +0 -14
@@ -1,832 +0,0 @@
1
- import {
2
- AwsRestJsonProtocol
3
- } from "./chunk-4QGSDVGH.mjs";
4
- import {
5
- package_default
6
- } from "./chunk-T4PVQW5O.mjs";
7
- import {
8
- AwsSdkSigV4Signer,
9
- NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
10
- getSchemaSerdePlugin,
11
- resolveAwsSdkSigV4Config,
12
- streamCollector
13
- } from "./chunk-2STDJU5Y.mjs";
14
- import {
15
- NodeHttpHandler
16
- } from "./chunk-RJYJGJO3.mjs";
17
- import "./chunk-3BCRI4CA.mjs";
18
- import {
19
- BinaryDecisionDiagram,
20
- Client,
21
- Command,
22
- DEFAULT_RETRY_MODE,
23
- DefaultIdentityProviderConfig,
24
- EndpointCache,
25
- NODE_APP_ID_CONFIG_OPTIONS,
26
- NODE_MAX_ATTEMPT_CONFIG_OPTIONS,
27
- NODE_RETRY_MODE_CONFIG_OPTIONS,
28
- NoAuthSigner,
29
- NoOpLogger,
30
- ServiceException,
31
- awsEndpointFunctions,
32
- createAggregatedClient,
33
- createDefaultUserAgentProvider,
34
- customEndpointFunctions,
35
- decideEndpoint,
36
- emitWarningIfUnsupportedVersion,
37
- emitWarningIfUnsupportedVersion2,
38
- getAwsRegionExtensionConfiguration,
39
- getDefaultExtensionConfiguration,
40
- getEndpointPlugin,
41
- getHostHeaderPlugin,
42
- getHttpAuthSchemeEndpointRuleSetPlugin,
43
- getHttpSigningPlugin,
44
- getLoggerPlugin,
45
- getRecursionDetectionPlugin,
46
- getRetryPlugin,
47
- getUserAgentPlugin,
48
- loadConfigsForDefaultMode,
49
- resolveAwsRegionExtensionConfiguration,
50
- resolveDefaultRuntimeConfig,
51
- resolveEndpointConfig,
52
- resolveHostHeaderConfig,
53
- resolveRetryConfig,
54
- resolveUserAgentConfig
55
- } from "./chunk-2NL4MXNX.mjs";
56
- import {
57
- NODE_REGION_CONFIG_FILE_OPTIONS,
58
- NODE_REGION_CONFIG_OPTIONS,
59
- NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
60
- NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
61
- TypeRegistry,
62
- getContentLengthPlugin,
63
- getHttpHandlerExtensionConfiguration,
64
- getSmithyContext,
65
- loadConfig,
66
- normalizeProvider,
67
- parseUrl,
68
- resolveDefaultsModeConfig,
69
- resolveHttpHandlerRuntimeConfig,
70
- resolveRegionConfig
71
- } from "./chunk-YDVZIFIU.mjs";
72
- import {
73
- Hash,
74
- calculateBodyLength,
75
- fromBase64,
76
- fromUtf8,
77
- toBase64,
78
- toUtf8
79
- } from "./chunk-BZ2JKJ54.mjs";
80
- import {
81
- __publicField
82
- } from "./chunk-QZ7TP4HQ.mjs";
83
-
84
- // node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js
85
- var defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
86
- return {
87
- operation: getSmithyContext(context).operation,
88
- region: await normalizeProvider(config.region)() || (() => {
89
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
90
- })()
91
- };
92
- };
93
- function createAwsAuthSigv4HttpAuthOption(authParameters) {
94
- return {
95
- schemeId: "aws.auth#sigv4",
96
- signingProperties: {
97
- name: "sso-oauth",
98
- region: authParameters.region
99
- },
100
- propertiesExtractor: (config, context) => ({
101
- signingProperties: {
102
- config,
103
- context
104
- }
105
- })
106
- };
107
- }
108
- function createSmithyApiNoAuthHttpAuthOption(authParameters) {
109
- return {
110
- schemeId: "smithy.api#noAuth"
111
- };
112
- }
113
- var defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {
114
- const options = [];
115
- switch (authParameters.operation) {
116
- case "CreateToken": {
117
- options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
118
- break;
119
- }
120
- default: {
121
- options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
122
- }
123
- }
124
- return options;
125
- };
126
- var resolveHttpAuthSchemeConfig = (config) => {
127
- const config_0 = resolveAwsSdkSigV4Config(config);
128
- return Object.assign(config_0, {
129
- authSchemePreference: normalizeProvider(config.authSchemePreference ?? [])
130
- });
131
- };
132
-
133
- // node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js
134
- var resolveClientEndpointParameters = (options) => {
135
- return Object.assign(options, {
136
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
137
- useFipsEndpoint: options.useFipsEndpoint ?? false,
138
- defaultSigningName: "sso-oauth"
139
- });
140
- };
141
- var commonParams = {
142
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
143
- Endpoint: { type: "builtInParams", name: "endpoint" },
144
- Region: { type: "builtInParams", name: "region" },
145
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
146
- };
147
-
148
- // node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js
149
- var k = "ref";
150
- var a = -1;
151
- var b = true;
152
- var c = "isSet";
153
- var d = "PartitionResult";
154
- var e = "booleanEquals";
155
- var f = "getAttr";
156
- var g = { [k]: "Endpoint" };
157
- var h = { [k]: d };
158
- var i = {};
159
- var j = [{ [k]: "Region" }];
160
- var _data = {
161
- conditions: [
162
- [c, [g]],
163
- [c, j],
164
- ["aws.partition", j, d],
165
- [e, [{ [k]: "UseFIPS" }, b]],
166
- [e, [{ [k]: "UseDualStack" }, b]],
167
- [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
168
- [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
169
- ["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]
170
- ],
171
- results: [
172
- [a],
173
- [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
174
- [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
175
- [g, i],
176
- ["https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
177
- [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
178
- ["https://oidc.{Region}.amazonaws.com", i],
179
- ["https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", i],
180
- [a, "FIPS is enabled but this partition does not support FIPS"],
181
- ["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
182
- [a, "DualStack is enabled but this partition does not support DualStack"],
183
- ["https://oidc.{Region}.{PartitionResult#dnsSuffix}", i],
184
- [a, "Invalid Configuration: Missing Region"]
185
- ]
186
- };
187
- var root = 2;
188
- var r = 1e8;
189
- var nodes = new Int32Array([
190
- -1,
191
- 1,
192
- -1,
193
- 0,
194
- 13,
195
- 3,
196
- 1,
197
- 4,
198
- r + 12,
199
- 2,
200
- 5,
201
- r + 12,
202
- 3,
203
- 8,
204
- 6,
205
- 4,
206
- 7,
207
- r + 11,
208
- 5,
209
- r + 9,
210
- r + 10,
211
- 4,
212
- 11,
213
- 9,
214
- 6,
215
- 10,
216
- r + 8,
217
- 7,
218
- r + 6,
219
- r + 7,
220
- 5,
221
- 12,
222
- r + 5,
223
- 6,
224
- r + 4,
225
- r + 5,
226
- 3,
227
- r + 1,
228
- 14,
229
- 4,
230
- r + 2,
231
- r + 3
232
- ]);
233
- var bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
234
-
235
- // node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js
236
- var cache = new EndpointCache({
237
- size: 50,
238
- params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
239
- });
240
- var defaultEndpointResolver = (endpointParams, context = {}) => {
241
- return cache.get(endpointParams, () => decideEndpoint(bdd, {
242
- endpointParams,
243
- logger: context.logger
244
- }));
245
- };
246
- customEndpointFunctions.aws = awsEndpointFunctions;
247
-
248
- // node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js
249
- var SSOOIDCServiceException = class _SSOOIDCServiceException extends ServiceException {
250
- constructor(options) {
251
- super(options);
252
- Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype);
253
- }
254
- };
255
-
256
- // node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js
257
- var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {
258
- constructor(opts) {
259
- super({
260
- name: "AccessDeniedException",
261
- $fault: "client",
262
- ...opts
263
- });
264
- __publicField(this, "name", "AccessDeniedException");
265
- __publicField(this, "$fault", "client");
266
- __publicField(this, "error");
267
- __publicField(this, "reason");
268
- __publicField(this, "error_description");
269
- Object.setPrototypeOf(this, _AccessDeniedException.prototype);
270
- this.error = opts.error;
271
- this.reason = opts.reason;
272
- this.error_description = opts.error_description;
273
- }
274
- };
275
- var AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException {
276
- constructor(opts) {
277
- super({
278
- name: "AuthorizationPendingException",
279
- $fault: "client",
280
- ...opts
281
- });
282
- __publicField(this, "name", "AuthorizationPendingException");
283
- __publicField(this, "$fault", "client");
284
- __publicField(this, "error");
285
- __publicField(this, "error_description");
286
- Object.setPrototypeOf(this, _AuthorizationPendingException.prototype);
287
- this.error = opts.error;
288
- this.error_description = opts.error_description;
289
- }
290
- };
291
- var ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException {
292
- constructor(opts) {
293
- super({
294
- name: "ExpiredTokenException",
295
- $fault: "client",
296
- ...opts
297
- });
298
- __publicField(this, "name", "ExpiredTokenException");
299
- __publicField(this, "$fault", "client");
300
- __publicField(this, "error");
301
- __publicField(this, "error_description");
302
- Object.setPrototypeOf(this, _ExpiredTokenException.prototype);
303
- this.error = opts.error;
304
- this.error_description = opts.error_description;
305
- }
306
- };
307
- var InternalServerException = class _InternalServerException extends SSOOIDCServiceException {
308
- constructor(opts) {
309
- super({
310
- name: "InternalServerException",
311
- $fault: "server",
312
- ...opts
313
- });
314
- __publicField(this, "name", "InternalServerException");
315
- __publicField(this, "$fault", "server");
316
- __publicField(this, "error");
317
- __publicField(this, "error_description");
318
- Object.setPrototypeOf(this, _InternalServerException.prototype);
319
- this.error = opts.error;
320
- this.error_description = opts.error_description;
321
- }
322
- };
323
- var InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException {
324
- constructor(opts) {
325
- super({
326
- name: "InvalidClientException",
327
- $fault: "client",
328
- ...opts
329
- });
330
- __publicField(this, "name", "InvalidClientException");
331
- __publicField(this, "$fault", "client");
332
- __publicField(this, "error");
333
- __publicField(this, "error_description");
334
- Object.setPrototypeOf(this, _InvalidClientException.prototype);
335
- this.error = opts.error;
336
- this.error_description = opts.error_description;
337
- }
338
- };
339
- var InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException {
340
- constructor(opts) {
341
- super({
342
- name: "InvalidGrantException",
343
- $fault: "client",
344
- ...opts
345
- });
346
- __publicField(this, "name", "InvalidGrantException");
347
- __publicField(this, "$fault", "client");
348
- __publicField(this, "error");
349
- __publicField(this, "error_description");
350
- Object.setPrototypeOf(this, _InvalidGrantException.prototype);
351
- this.error = opts.error;
352
- this.error_description = opts.error_description;
353
- }
354
- };
355
- var InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException {
356
- constructor(opts) {
357
- super({
358
- name: "InvalidRequestException",
359
- $fault: "client",
360
- ...opts
361
- });
362
- __publicField(this, "name", "InvalidRequestException");
363
- __publicField(this, "$fault", "client");
364
- __publicField(this, "error");
365
- __publicField(this, "reason");
366
- __publicField(this, "error_description");
367
- Object.setPrototypeOf(this, _InvalidRequestException.prototype);
368
- this.error = opts.error;
369
- this.reason = opts.reason;
370
- this.error_description = opts.error_description;
371
- }
372
- };
373
- var InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException {
374
- constructor(opts) {
375
- super({
376
- name: "InvalidScopeException",
377
- $fault: "client",
378
- ...opts
379
- });
380
- __publicField(this, "name", "InvalidScopeException");
381
- __publicField(this, "$fault", "client");
382
- __publicField(this, "error");
383
- __publicField(this, "error_description");
384
- Object.setPrototypeOf(this, _InvalidScopeException.prototype);
385
- this.error = opts.error;
386
- this.error_description = opts.error_description;
387
- }
388
- };
389
- var SlowDownException = class _SlowDownException extends SSOOIDCServiceException {
390
- constructor(opts) {
391
- super({
392
- name: "SlowDownException",
393
- $fault: "client",
394
- ...opts
395
- });
396
- __publicField(this, "name", "SlowDownException");
397
- __publicField(this, "$fault", "client");
398
- __publicField(this, "error");
399
- __publicField(this, "error_description");
400
- Object.setPrototypeOf(this, _SlowDownException.prototype);
401
- this.error = opts.error;
402
- this.error_description = opts.error_description;
403
- }
404
- };
405
- var UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException {
406
- constructor(opts) {
407
- super({
408
- name: "UnauthorizedClientException",
409
- $fault: "client",
410
- ...opts
411
- });
412
- __publicField(this, "name", "UnauthorizedClientException");
413
- __publicField(this, "$fault", "client");
414
- __publicField(this, "error");
415
- __publicField(this, "error_description");
416
- Object.setPrototypeOf(this, _UnauthorizedClientException.prototype);
417
- this.error = opts.error;
418
- this.error_description = opts.error_description;
419
- }
420
- };
421
- var UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException {
422
- constructor(opts) {
423
- super({
424
- name: "UnsupportedGrantTypeException",
425
- $fault: "client",
426
- ...opts
427
- });
428
- __publicField(this, "name", "UnsupportedGrantTypeException");
429
- __publicField(this, "$fault", "client");
430
- __publicField(this, "error");
431
- __publicField(this, "error_description");
432
- Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype);
433
- this.error = opts.error;
434
- this.error_description = opts.error_description;
435
- }
436
- };
437
-
438
- // node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js
439
- var _ADE = "AccessDeniedException";
440
- var _APE = "AuthorizationPendingException";
441
- var _AT = "AccessToken";
442
- var _CS = "ClientSecret";
443
- var _CT = "CreateToken";
444
- var _CTR = "CreateTokenRequest";
445
- var _CTRr = "CreateTokenResponse";
446
- var _CV = "CodeVerifier";
447
- var _ETE = "ExpiredTokenException";
448
- var _ICE = "InvalidClientException";
449
- var _IGE = "InvalidGrantException";
450
- var _IRE = "InvalidRequestException";
451
- var _ISE = "InternalServerException";
452
- var _ISEn = "InvalidScopeException";
453
- var _IT = "IdToken";
454
- var _RT = "RefreshToken";
455
- var _SDE = "SlowDownException";
456
- var _UCE = "UnauthorizedClientException";
457
- var _UGTE = "UnsupportedGrantTypeException";
458
- var _aT = "accessToken";
459
- var _c = "client";
460
- var _cI = "clientId";
461
- var _cS = "clientSecret";
462
- var _cV = "codeVerifier";
463
- var _co = "code";
464
- var _dC = "deviceCode";
465
- var _e = "error";
466
- var _eI = "expiresIn";
467
- var _ed = "error_description";
468
- var _gT = "grantType";
469
- var _h = "http";
470
- var _hE = "httpError";
471
- var _iT = "idToken";
472
- var _r = "reason";
473
- var _rT = "refreshToken";
474
- var _rU = "redirectUri";
475
- var _s = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc";
476
- var _sc = "scope";
477
- var _se = "server";
478
- var _tT = "tokenType";
479
- var n0 = "com.amazonaws.ssooidc";
480
- var _s_registry = TypeRegistry.for(_s);
481
- var SSOOIDCServiceException$ = [-3, _s, "SSOOIDCServiceException", 0, [], []];
482
- _s_registry.registerError(SSOOIDCServiceException$, SSOOIDCServiceException);
483
- var n0_registry = TypeRegistry.for(n0);
484
- var AccessDeniedException$ = [
485
- -3,
486
- n0,
487
- _ADE,
488
- { [_e]: _c, [_hE]: 400 },
489
- [_e, _r, _ed],
490
- [0, 0, 0]
491
- ];
492
- n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
493
- var AuthorizationPendingException$ = [
494
- -3,
495
- n0,
496
- _APE,
497
- { [_e]: _c, [_hE]: 400 },
498
- [_e, _ed],
499
- [0, 0]
500
- ];
501
- n0_registry.registerError(AuthorizationPendingException$, AuthorizationPendingException);
502
- var ExpiredTokenException$ = [
503
- -3,
504
- n0,
505
- _ETE,
506
- { [_e]: _c, [_hE]: 400 },
507
- [_e, _ed],
508
- [0, 0]
509
- ];
510
- n0_registry.registerError(ExpiredTokenException$, ExpiredTokenException);
511
- var InternalServerException$ = [
512
- -3,
513
- n0,
514
- _ISE,
515
- { [_e]: _se, [_hE]: 500 },
516
- [_e, _ed],
517
- [0, 0]
518
- ];
519
- n0_registry.registerError(InternalServerException$, InternalServerException);
520
- var InvalidClientException$ = [
521
- -3,
522
- n0,
523
- _ICE,
524
- { [_e]: _c, [_hE]: 401 },
525
- [_e, _ed],
526
- [0, 0]
527
- ];
528
- n0_registry.registerError(InvalidClientException$, InvalidClientException);
529
- var InvalidGrantException$ = [
530
- -3,
531
- n0,
532
- _IGE,
533
- { [_e]: _c, [_hE]: 400 },
534
- [_e, _ed],
535
- [0, 0]
536
- ];
537
- n0_registry.registerError(InvalidGrantException$, InvalidGrantException);
538
- var InvalidRequestException$ = [
539
- -3,
540
- n0,
541
- _IRE,
542
- { [_e]: _c, [_hE]: 400 },
543
- [_e, _r, _ed],
544
- [0, 0, 0]
545
- ];
546
- n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
547
- var InvalidScopeException$ = [
548
- -3,
549
- n0,
550
- _ISEn,
551
- { [_e]: _c, [_hE]: 400 },
552
- [_e, _ed],
553
- [0, 0]
554
- ];
555
- n0_registry.registerError(InvalidScopeException$, InvalidScopeException);
556
- var SlowDownException$ = [
557
- -3,
558
- n0,
559
- _SDE,
560
- { [_e]: _c, [_hE]: 400 },
561
- [_e, _ed],
562
- [0, 0]
563
- ];
564
- n0_registry.registerError(SlowDownException$, SlowDownException);
565
- var UnauthorizedClientException$ = [
566
- -3,
567
- n0,
568
- _UCE,
569
- { [_e]: _c, [_hE]: 400 },
570
- [_e, _ed],
571
- [0, 0]
572
- ];
573
- n0_registry.registerError(UnauthorizedClientException$, UnauthorizedClientException);
574
- var UnsupportedGrantTypeException$ = [
575
- -3,
576
- n0,
577
- _UGTE,
578
- { [_e]: _c, [_hE]: 400 },
579
- [_e, _ed],
580
- [0, 0]
581
- ];
582
- n0_registry.registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException);
583
- var errorTypeRegistries = [
584
- _s_registry,
585
- n0_registry
586
- ];
587
- var AccessToken = [0, n0, _AT, 8, 0];
588
- var ClientSecret = [0, n0, _CS, 8, 0];
589
- var CodeVerifier = [0, n0, _CV, 8, 0];
590
- var IdToken = [0, n0, _IT, 8, 0];
591
- var RefreshToken = [0, n0, _RT, 8, 0];
592
- var CreateTokenRequest$ = [
593
- 3,
594
- n0,
595
- _CTR,
596
- 0,
597
- [_cI, _cS, _gT, _dC, _co, _rT, _sc, _rU, _cV],
598
- [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]],
599
- 3
600
- ];
601
- var CreateTokenResponse$ = [
602
- 3,
603
- n0,
604
- _CTRr,
605
- 0,
606
- [_aT, _tT, _eI, _rT, _iT],
607
- [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]]
608
- ];
609
- var Scopes = 64 | 0;
610
- var CreateToken$ = [
611
- 9,
612
- n0,
613
- _CT,
614
- { [_h]: ["POST", "/token", 200] },
615
- () => CreateTokenRequest$,
616
- () => CreateTokenResponse$
617
- ];
618
-
619
- // node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js
620
- var getRuntimeConfig = (config) => {
621
- return {
622
- apiVersion: "2019-06-10",
623
- base64Decoder: config?.base64Decoder ?? fromBase64,
624
- base64Encoder: config?.base64Encoder ?? toBase64,
625
- disableHostPrefix: config?.disableHostPrefix ?? false,
626
- endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
627
- extensions: config?.extensions ?? [],
628
- httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSOOIDCHttpAuthSchemeProvider,
629
- httpAuthSchemes: config?.httpAuthSchemes ?? [
630
- {
631
- schemeId: "aws.auth#sigv4",
632
- identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
633
- signer: new AwsSdkSigV4Signer()
634
- },
635
- {
636
- schemeId: "smithy.api#noAuth",
637
- identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
638
- signer: new NoAuthSigner()
639
- }
640
- ],
641
- logger: config?.logger ?? new NoOpLogger(),
642
- protocol: config?.protocol ?? AwsRestJsonProtocol,
643
- protocolSettings: config?.protocolSettings ?? {
644
- defaultNamespace: "com.amazonaws.ssooidc",
645
- errorTypeRegistries,
646
- version: "2019-06-10",
647
- serviceTarget: "AWSSSOOIDCService"
648
- },
649
- serviceId: config?.serviceId ?? "SSO OIDC",
650
- urlParser: config?.urlParser ?? parseUrl,
651
- utf8Decoder: config?.utf8Decoder ?? fromUtf8,
652
- utf8Encoder: config?.utf8Encoder ?? toUtf8
653
- };
654
- };
655
-
656
- // node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js
657
- var getRuntimeConfig2 = (config) => {
658
- emitWarningIfUnsupportedVersion2(process.version);
659
- const defaultsMode = resolveDefaultsModeConfig(config);
660
- const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
661
- const clientSharedValues = getRuntimeConfig(config);
662
- emitWarningIfUnsupportedVersion(process.version);
663
- const loaderConfig = {
664
- profile: config?.profile,
665
- logger: clientSharedValues.logger
666
- };
667
- return {
668
- ...clientSharedValues,
669
- ...config,
670
- runtime: "node",
671
- defaultsMode,
672
- authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
673
- bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
674
- defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: package_default.version }),
675
- maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
676
- region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
677
- requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
678
- retryMode: config?.retryMode ?? loadConfig({
679
- ...NODE_RETRY_MODE_CONFIG_OPTIONS,
680
- default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE
681
- }, config),
682
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
683
- streamCollector: config?.streamCollector ?? streamCollector,
684
- useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
685
- useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
686
- userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
687
- };
688
- };
689
-
690
- // node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js
691
- var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
692
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
693
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
694
- let _credentials = runtimeConfig.credentials;
695
- return {
696
- setHttpAuthScheme(httpAuthScheme) {
697
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
698
- if (index === -1) {
699
- _httpAuthSchemes.push(httpAuthScheme);
700
- } else {
701
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
702
- }
703
- },
704
- httpAuthSchemes() {
705
- return _httpAuthSchemes;
706
- },
707
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
708
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
709
- },
710
- httpAuthSchemeProvider() {
711
- return _httpAuthSchemeProvider;
712
- },
713
- setCredentials(credentials) {
714
- _credentials = credentials;
715
- },
716
- credentials() {
717
- return _credentials;
718
- }
719
- };
720
- };
721
- var resolveHttpAuthRuntimeConfig = (config) => {
722
- return {
723
- httpAuthSchemes: config.httpAuthSchemes(),
724
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
725
- credentials: config.credentials()
726
- };
727
- };
728
-
729
- // node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js
730
- var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
731
- const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
732
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
733
- return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
734
- };
735
-
736
- // node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js
737
- var SSOOIDCClient = class extends Client {
738
- constructor(...[configuration]) {
739
- const _config_0 = getRuntimeConfig2(configuration || {});
740
- super(_config_0);
741
- __publicField(this, "config");
742
- this.initConfig = _config_0;
743
- const _config_1 = resolveClientEndpointParameters(_config_0);
744
- const _config_2 = resolveUserAgentConfig(_config_1);
745
- const _config_3 = resolveRetryConfig(_config_2);
746
- const _config_4 = resolveRegionConfig(_config_3);
747
- const _config_5 = resolveHostHeaderConfig(_config_4);
748
- const _config_6 = resolveEndpointConfig(_config_5);
749
- const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
750
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
751
- this.config = _config_8;
752
- this.middlewareStack.use(getSchemaSerdePlugin(this.config));
753
- this.middlewareStack.use(getUserAgentPlugin(this.config));
754
- this.middlewareStack.use(getRetryPlugin(this.config));
755
- this.middlewareStack.use(getContentLengthPlugin(this.config));
756
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
757
- this.middlewareStack.use(getLoggerPlugin(this.config));
758
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
759
- this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
760
- httpAuthSchemeParametersProvider: defaultSSOOIDCHttpAuthSchemeParametersProvider,
761
- identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
762
- "aws.auth#sigv4": config.credentials
763
- })
764
- }));
765
- this.middlewareStack.use(getHttpSigningPlugin(this.config));
766
- }
767
- destroy() {
768
- super.destroy();
769
- }
770
- };
771
-
772
- // node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js
773
- var CreateTokenCommand = class extends Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o) {
774
- return [getEndpointPlugin(config, Command2.getEndpointParameterInstructions())];
775
- }).s("AWSSSOOIDCService", "CreateToken", {}).n("SSOOIDCClient", "CreateTokenCommand").sc(CreateToken$).build() {
776
- };
777
-
778
- // node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js
779
- var commands = {
780
- CreateTokenCommand
781
- };
782
- var SSOOIDC = class extends SSOOIDCClient {
783
- };
784
- createAggregatedClient(commands, SSOOIDC);
785
-
786
- // node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js
787
- var AccessDeniedExceptionReason = {
788
- KMS_ACCESS_DENIED: "KMS_AccessDeniedException"
789
- };
790
- var InvalidRequestExceptionReason = {
791
- KMS_DISABLED_KEY: "KMS_DisabledException",
792
- KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException",
793
- KMS_INVALID_STATE: "KMS_InvalidStateException",
794
- KMS_KEY_NOT_FOUND: "KMS_NotFoundException"
795
- };
796
- export {
797
- Command as $Command,
798
- AccessDeniedException,
799
- AccessDeniedException$,
800
- AccessDeniedExceptionReason,
801
- AuthorizationPendingException,
802
- AuthorizationPendingException$,
803
- CreateToken$,
804
- CreateTokenCommand,
805
- CreateTokenRequest$,
806
- CreateTokenResponse$,
807
- ExpiredTokenException,
808
- ExpiredTokenException$,
809
- InternalServerException,
810
- InternalServerException$,
811
- InvalidClientException,
812
- InvalidClientException$,
813
- InvalidGrantException,
814
- InvalidGrantException$,
815
- InvalidRequestException,
816
- InvalidRequestException$,
817
- InvalidRequestExceptionReason,
818
- InvalidScopeException,
819
- InvalidScopeException$,
820
- SSOOIDC,
821
- SSOOIDCClient,
822
- SSOOIDCServiceException,
823
- SSOOIDCServiceException$,
824
- SlowDownException,
825
- SlowDownException$,
826
- UnauthorizedClientException,
827
- UnauthorizedClientException$,
828
- UnsupportedGrantTypeException,
829
- UnsupportedGrantTypeException$,
830
- Client as __Client,
831
- errorTypeRegistries
832
- };