@karmaniverous/get-dotenv 6.5.2 → 7.0.0

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 (42) hide show
  1. package/dist/chunks/{AwsRestJsonProtocol-7Uww6gmd.mjs → AwsRestJsonProtocol-DeiE3wkO.mjs} +22 -5
  2. package/dist/chunks/{createCli-pZgHlwKX.mjs → createCli-B9-MIwWj.mjs} +4 -4
  3. package/dist/chunks/{externalDataInterceptor-CnjiiRdu.mjs → externalDataInterceptor-gi2RH4ez.mjs} +2 -2
  4. package/dist/chunks/{getSSOTokenFromFile-Bct4fw5A.mjs → getSSOTokenFromFile-BfAhZf_d.mjs} +1 -1
  5. package/dist/chunks/{index-BJWV46OF.mjs → index-98yxYe1W.mjs} +73 -61
  6. package/dist/chunks/{index-CDPFly99.mjs → index-AssUn9IY.mjs} +218 -164
  7. package/dist/chunks/{index-BHKFx7ea.mjs → index-B6r8O7PJ.mjs} +5 -5
  8. package/dist/chunks/{index-Do8RFiEa.mjs → index-C21RHLO4.mjs} +2 -2
  9. package/dist/chunks/{index-Cg50N4ys.mjs → index-CAtxK29A.mjs} +2 -2
  10. package/dist/chunks/{index-Cy9EnHMK.mjs → index-CMSCF_uw.mjs} +73 -71
  11. package/dist/chunks/{index-CzwvgH1X.mjs → index-Ccay5Db0.mjs} +33 -35
  12. package/dist/chunks/{index-37ce0nLC.mjs → index-D8S1lJ24.mjs} +44 -39
  13. package/dist/chunks/{index-DeXLfLd1.mjs → index-DY7wYcXW.mjs} +18 -23
  14. package/dist/chunks/{index-Bmw8WxM1.mjs → index-DfvhftMN.mjs} +2 -2
  15. package/dist/chunks/{index-udC0OkWn.mjs → index-DtdHVcXz.mjs} +2 -2
  16. package/dist/chunks/{index-BjE-7W3n.mjs → index-mPj0Vhpw.mjs} +5 -5
  17. package/dist/chunks/{index-BfVeLAui.mjs → index-xRi3oKvY.mjs} +3 -3
  18. package/dist/chunks/{loadSso-DJONWtFw.mjs → loadSso-C-y9gQEz.mjs} +84 -73
  19. package/dist/chunks/{package-boo9EyYs.mjs → package-DiDNabNr.mjs} +1 -1
  20. package/dist/chunks/{parseKnownFiles-DsgpkpKC.mjs → parseKnownFiles-KczcjlE0.mjs} +1 -1
  21. package/dist/chunks/{readMergedOptions-uWSetyes.mjs → readMergedOptions-D6niy_Ep.mjs} +24 -3
  22. package/dist/chunks/{resolveCliOptions-7MwNdHqz.mjs → resolveCliOptions-PWF1aEM9.mjs} +1 -1
  23. package/dist/chunks/{sdk-stream-mixin-uGZKBKMz.mjs → sdk-stream-mixin-blFikF4G.mjs} +1 -1
  24. package/dist/chunks/{types-BSMtAo8_.mjs → types-Bp3u5-IH.mjs} +1 -1
  25. package/dist/cli.d.ts +4 -2
  26. package/dist/cli.mjs +5 -5
  27. package/dist/cliHost.d.ts +4 -2
  28. package/dist/cliHost.mjs +3 -3
  29. package/dist/getdotenv.cli.mjs +5 -5
  30. package/dist/index.d.ts +11 -5
  31. package/dist/index.mjs +12 -13
  32. package/dist/plugins-aws.d.ts +4 -2
  33. package/dist/plugins-aws.mjs +1 -1
  34. package/dist/plugins-batch.d.ts +4 -2
  35. package/dist/plugins-batch.mjs +1 -1
  36. package/dist/plugins-cmd.d.ts +4 -2
  37. package/dist/plugins-cmd.mjs +3 -3
  38. package/dist/plugins-init.d.ts +4 -2
  39. package/dist/plugins-init.mjs +11 -11
  40. package/dist/plugins.d.ts +4 -2
  41. package/dist/plugins.mjs +4 -4
  42. package/package.json +17 -17
@@ -1,5 +1,5 @@
1
- import { av as HttpProtocol, aw as NormalizedSchema, H as HttpRequest, ax as translateTraits, ay as extendedEncodeURIComponent, az as collectBody, aA as splitHeader, aB as SerdeContext, aC as FromStringShapeDeserializer, t as toUtf8, i as fromUtf8, aD as v4, aE as LazyJsonString, n as toBase64, aF as determineTimestampFormat, aG as dateToUtcString, aH as NumericValue, aI as SerdeContextConfig, aJ as deserializingStructIterator, m as fromBase64, aK as parseEpochTimestamp, aL as parseRfc7231DateTime, aM as parseRfc3339DateTimeWithOffset, aN as serializingStructIterator, aO as ProtocolLib, an as TypeRegistry } from './index-CDPFly99.mjs';
2
- import { s as sdkStreamMixin } from './sdk-stream-mixin-uGZKBKMz.mjs';
1
+ import { av as HttpProtocol, aw as NormalizedSchema, H as HttpRequest, ax as translateTraits, ay as extendedEncodeURIComponent, az as collectBody, aA as splitHeader, aB as SerdeContext, aC as FromStringShapeDeserializer, t as toUtf8, i as fromUtf8, aD as v4, aE as LazyJsonString, n as toBase64, aF as determineTimestampFormat, aG as dateToUtcString, aH as NumericValue, aI as SerdeContextConfig, aJ as UnionSerde, aK as deserializingStructIterator, m as fromBase64, aL as parseEpochTimestamp, aM as parseRfc7231DateTime, aN as parseRfc3339DateTimeWithOffset, aO as serializingStructIterator, aP as ProtocolLib, an as TypeRegistry } from './index-AssUn9IY.mjs';
2
+ import { s as sdkStreamMixin } from './sdk-stream-mixin-blFikF4G.mjs';
3
3
 
4
4
  function quoteHeader(part) {
5
5
  if (part.includes(",") || part.includes('"')) {
@@ -537,14 +537,24 @@ class JsonShapeDeserializer extends SerdeContextConfig {
537
537
  const ns = NormalizedSchema.of(schema);
538
538
  if (isObject) {
539
539
  if (ns.isStructSchema()) {
540
+ const union = ns.isUnionSchema();
540
541
  const out = {};
542
+ let unionSerde;
543
+ if (union) {
544
+ unionSerde = new UnionSerde(value, out);
545
+ }
541
546
  for (const [memberName, memberSchema] of deserializingStructIterator(ns, value, this.settings.jsonName ? "jsonName" : false)) {
542
547
  const fromKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;
543
- const deserializedValue = this._read(memberSchema, value[fromKey]);
544
- if (deserializedValue != null) {
545
- out[memberName] = deserializedValue;
548
+ if (union) {
549
+ unionSerde.mark(fromKey);
550
+ }
551
+ if (value[fromKey] != null) {
552
+ out[memberName] = this._read(memberSchema, value[fromKey]);
546
553
  }
547
554
  }
555
+ if (union) {
556
+ unionSerde.writeUnknown();
557
+ }
548
558
  return out;
549
559
  }
550
560
  if (Array.isArray(value) && ns.isListSchema()) {
@@ -732,6 +742,13 @@ class JsonShapeSerializer extends SerdeContextConfig {
732
742
  out[targetKey] = serializableValue;
733
743
  }
734
744
  }
745
+ if (ns.isUnionSchema() && Object.keys(out).length === 0) {
746
+ const { $unknown } = value;
747
+ if (Array.isArray($unknown)) {
748
+ const [k, v] = $unknown;
749
+ out[k] = this._write(15, v);
750
+ }
751
+ }
735
752
  return out;
736
753
  }
737
754
  if (Array.isArray(value) && ns.isListSchema()) {
@@ -6,19 +6,19 @@ import 'fs-extra';
6
6
  import 'node:path';
7
7
  import 'radash';
8
8
  import 'node:buffer';
9
- import { a as defaultsDeep, g as getDotenvCliOptions2Options, b as baseRootOptionDefaults, G as GetDotenvCli, c as attachRootOptions } from './readMergedOptions-uWSetyes.mjs';
9
+ import { a as defaultsDeep, g as getDotenvCliOptions2Options, b as baseRootOptionDefaults, G as GetDotenvCli, c as attachRootOptions } from './readMergedOptions-D6niy_Ep.mjs';
10
10
  import 'crypto';
11
11
  import 'url';
12
12
  import '@commander-js/extra-typings';
13
13
  import 'dotenv';
14
14
  import 'execa';
15
15
  import { t as toHelpConfig } from './helpConfig-CGejgwWW.mjs';
16
- import { r as resolveCliOptions } from './resolveCliOptions-7MwNdHqz.mjs';
16
+ import { r as resolveCliOptions } from './resolveCliOptions-PWF1aEM9.mjs';
17
17
  import { v as validateEnvAgainstSources } from './validate-CDl0rE6k.mjs';
18
18
  import { awsPlugin } from '../plugins-aws.mjs';
19
- import { a as awsWhoamiPlugin } from './index-CDPFly99.mjs';
19
+ import { a as awsWhoamiPlugin } from './index-AssUn9IY.mjs';
20
20
  import { batchPlugin } from '../plugins-batch.mjs';
21
- import { c as cmdPlugin } from './index-Cg50N4ys.mjs';
21
+ import { c as cmdPlugin } from './index-CAtxK29A.mjs';
22
22
  import { initPlugin } from '../plugins-init.mjs';
23
23
 
24
24
  const dbg = (...args) => {
@@ -1,5 +1,5 @@
1
- import { t as tokenIntercept } from './getSSOTokenFromFile-Bct4fw5A.mjs';
2
- import { h as fileIntercept } from './index-CDPFly99.mjs';
1
+ import { t as tokenIntercept } from './getSSOTokenFromFile-BfAhZf_d.mjs';
2
+ import { h as fileIntercept } from './index-AssUn9IY.mjs';
3
3
 
4
4
  const externalDataInterceptor = {
5
5
  getFileRecord() {
@@ -1,7 +1,7 @@
1
1
  import { readFile } from 'fs/promises';
2
2
  import { createHash } from 'crypto';
3
3
  import { join } from 'path';
4
- import { j as getHomeDir } from './index-CDPFly99.mjs';
4
+ import { j as getHomeDir } from './index-AssUn9IY.mjs';
5
5
 
6
6
  const getSSOTokenFilepath = (id) => {
7
7
  const hasher = createHash("sha1");
@@ -1,7 +1,7 @@
1
- import { w as resolveAwsSdkSigV4Config, x as normalizeProvider, y as getSmithyContext, z as EndpointCache, A as resolveEndpoint, B as awsEndpointFunctions, D as customEndpointFunctions, t as toUtf8, i as fromUtf8, F as parseUrl, G as NoOpLogger, I as AwsSdkSigV4Signer, J as NoAuthSigner, n as toBase64, m as fromBase64, K as emitWarningIfUnsupportedVersion, L as resolveDefaultsModeConfig, M as emitWarningIfUnsupportedVersion$1, O as loadConfig, r as streamCollector, P as Hash, N as NodeHttpHandler, Q as createDefaultUserAgentProvider, R as calculateBodyLength, S as NODE_APP_ID_CONFIG_OPTIONS, T as NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, U as NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, V as NODE_RETRY_MODE_CONFIG_OPTIONS, W as DEFAULT_RETRY_MODE, X as NODE_REGION_CONFIG_FILE_OPTIONS, Y as NODE_REGION_CONFIG_OPTIONS, Z as NODE_MAX_ATTEMPT_CONFIG_OPTIONS, _ as NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, $ as loadConfigsForDefaultMode, a0 as getAwsRegionExtensionConfiguration, a1 as getDefaultExtensionConfiguration, a2 as getHttpHandlerExtensionConfiguration, a3 as resolveAwsRegionExtensionConfiguration, a4 as resolveDefaultRuntimeConfig, a5 as resolveHttpHandlerRuntimeConfig, a6 as Client, a7 as resolveUserAgentConfig, a8 as resolveRetryConfig, a9 as resolveRegionConfig, aa as resolveEndpointConfig, ab as resolveHostHeaderConfig, ac as getSchemaSerdePlugin, ad as getUserAgentPlugin, ae as getRetryPlugin, af as getContentLengthPlugin, ag as getHostHeaderPlugin, ah as getLoggerPlugin, ai as getRecursionDetectionPlugin, aj as getHttpAuthSchemeEndpointRuleSetPlugin, ak as DefaultIdentityProviderConfig, al as getHttpSigningPlugin, am as ServiceException, an as TypeRegistry, ao as Command, ap as getEndpointPlugin } from './index-CDPFly99.mjs';
2
- import { p as packageInfo } from './package-boo9EyYs.mjs';
3
- import { A as AwsRestJsonProtocol } from './AwsRestJsonProtocol-7Uww6gmd.mjs';
4
- import './readMergedOptions-uWSetyes.mjs';
1
+ import { w as resolveAwsSdkSigV4Config, x as normalizeProvider, y as getSmithyContext, z as EndpointCache, A as resolveEndpoint, B as awsEndpointFunctions, D as customEndpointFunctions, t as toUtf8, i as fromUtf8, F as parseUrl, G as NoOpLogger, I as AwsSdkSigV4Signer, J as NoAuthSigner, n as toBase64, m as fromBase64, K as emitWarningIfUnsupportedVersion, L as resolveDefaultsModeConfig, M as emitWarningIfUnsupportedVersion$1, O as loadConfig, r as streamCollector, P as Hash, N as NodeHttpHandler, Q as createDefaultUserAgentProvider, R as calculateBodyLength, S as NODE_APP_ID_CONFIG_OPTIONS, T as NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, U as NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, V as NODE_RETRY_MODE_CONFIG_OPTIONS, W as DEFAULT_RETRY_MODE, X as NODE_REGION_CONFIG_FILE_OPTIONS, Y as NODE_REGION_CONFIG_OPTIONS, Z as NODE_MAX_ATTEMPT_CONFIG_OPTIONS, _ as NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, $ as loadConfigsForDefaultMode, a0 as getAwsRegionExtensionConfiguration, a1 as getDefaultExtensionConfiguration, a2 as getHttpHandlerExtensionConfiguration, a3 as resolveAwsRegionExtensionConfiguration, a4 as resolveDefaultRuntimeConfig, a5 as resolveHttpHandlerRuntimeConfig, a6 as Client, a7 as resolveUserAgentConfig, a8 as resolveRetryConfig, a9 as resolveRegionConfig, aa as resolveEndpointConfig, ab as resolveHostHeaderConfig, ac as getSchemaSerdePlugin, ad as getUserAgentPlugin, ae as getRetryPlugin, af as getContentLengthPlugin, ag as getHostHeaderPlugin, ah as getLoggerPlugin, ai as getRecursionDetectionPlugin, aj as getHttpAuthSchemeEndpointRuleSetPlugin, ak as DefaultIdentityProviderConfig, al as getHttpSigningPlugin, am as ServiceException, an as TypeRegistry, ao as Command, ap as getEndpointPlugin } from './index-AssUn9IY.mjs';
2
+ import { p as packageInfo } from './package-DiDNabNr.mjs';
3
+ import { A as AwsRestJsonProtocol } from './AwsRestJsonProtocol-DeiE3wkO.mjs';
4
+ import './readMergedOptions-D6niy_Ep.mjs';
5
5
  import 'zod';
6
6
  import '@commander-js/extra-typings';
7
7
  import './readDotenvCascade-HLU7FsEQ.mjs';
@@ -27,7 +27,7 @@ import 'https';
27
27
  import 'stream';
28
28
  import 'process';
29
29
  import 'node:fs';
30
- import './sdk-stream-mixin-uGZKBKMz.mjs';
30
+ import './sdk-stream-mixin-blFikF4G.mjs';
31
31
 
32
32
  const defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
33
33
  return {
@@ -131,7 +131,12 @@ const getRuntimeConfig$1 = (config) => {
131
131
  },
132
132
  ],
133
133
  logger: config?.logger ?? new NoOpLogger(),
134
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.ssooidc" }),
134
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
135
+ protocolSettings: config?.protocolSettings ?? {
136
+ defaultNamespace: "com.amazonaws.ssooidc",
137
+ version: "2019-06-10",
138
+ serviceTarget: "AWSSSOOIDCService",
139
+ },
135
140
  serviceId: config?.serviceId ?? "SSO OIDC",
136
141
  urlParser: config?.urlParser ?? parseUrl,
137
142
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -255,14 +260,14 @@ class SSOOIDCClient extends Client {
255
260
  }
256
261
  }
257
262
 
258
- let SSOOIDCServiceException$1 = class SSOOIDCServiceException extends ServiceException {
263
+ class SSOOIDCServiceException extends ServiceException {
259
264
  constructor(options) {
260
265
  super(options);
261
266
  Object.setPrototypeOf(this, SSOOIDCServiceException.prototype);
262
267
  }
263
- };
268
+ }
264
269
 
265
- let AccessDeniedException$1 = class AccessDeniedException extends SSOOIDCServiceException$1 {
270
+ class AccessDeniedException extends SSOOIDCServiceException {
266
271
  name = "AccessDeniedException";
267
272
  $fault = "client";
268
273
  error;
@@ -279,8 +284,8 @@ let AccessDeniedException$1 = class AccessDeniedException extends SSOOIDCService
279
284
  this.reason = opts.reason;
280
285
  this.error_description = opts.error_description;
281
286
  }
282
- };
283
- let AuthorizationPendingException$1 = class AuthorizationPendingException extends SSOOIDCServiceException$1 {
287
+ }
288
+ class AuthorizationPendingException extends SSOOIDCServiceException {
284
289
  name = "AuthorizationPendingException";
285
290
  $fault = "client";
286
291
  error;
@@ -295,8 +300,8 @@ let AuthorizationPendingException$1 = class AuthorizationPendingException extend
295
300
  this.error = opts.error;
296
301
  this.error_description = opts.error_description;
297
302
  }
298
- };
299
- let ExpiredTokenException$1 = class ExpiredTokenException extends SSOOIDCServiceException$1 {
303
+ }
304
+ class ExpiredTokenException extends SSOOIDCServiceException {
300
305
  name = "ExpiredTokenException";
301
306
  $fault = "client";
302
307
  error;
@@ -311,8 +316,8 @@ let ExpiredTokenException$1 = class ExpiredTokenException extends SSOOIDCService
311
316
  this.error = opts.error;
312
317
  this.error_description = opts.error_description;
313
318
  }
314
- };
315
- let InternalServerException$1 = class InternalServerException extends SSOOIDCServiceException$1 {
319
+ }
320
+ class InternalServerException extends SSOOIDCServiceException {
316
321
  name = "InternalServerException";
317
322
  $fault = "server";
318
323
  error;
@@ -327,8 +332,8 @@ let InternalServerException$1 = class InternalServerException extends SSOOIDCSer
327
332
  this.error = opts.error;
328
333
  this.error_description = opts.error_description;
329
334
  }
330
- };
331
- let InvalidClientException$1 = class InvalidClientException extends SSOOIDCServiceException$1 {
335
+ }
336
+ class InvalidClientException extends SSOOIDCServiceException {
332
337
  name = "InvalidClientException";
333
338
  $fault = "client";
334
339
  error;
@@ -343,8 +348,8 @@ let InvalidClientException$1 = class InvalidClientException extends SSOOIDCServi
343
348
  this.error = opts.error;
344
349
  this.error_description = opts.error_description;
345
350
  }
346
- };
347
- let InvalidGrantException$1 = class InvalidGrantException extends SSOOIDCServiceException$1 {
351
+ }
352
+ class InvalidGrantException extends SSOOIDCServiceException {
348
353
  name = "InvalidGrantException";
349
354
  $fault = "client";
350
355
  error;
@@ -359,8 +364,8 @@ let InvalidGrantException$1 = class InvalidGrantException extends SSOOIDCService
359
364
  this.error = opts.error;
360
365
  this.error_description = opts.error_description;
361
366
  }
362
- };
363
- let InvalidRequestException$1 = class InvalidRequestException extends SSOOIDCServiceException$1 {
367
+ }
368
+ class InvalidRequestException extends SSOOIDCServiceException {
364
369
  name = "InvalidRequestException";
365
370
  $fault = "client";
366
371
  error;
@@ -377,8 +382,8 @@ let InvalidRequestException$1 = class InvalidRequestException extends SSOOIDCSer
377
382
  this.reason = opts.reason;
378
383
  this.error_description = opts.error_description;
379
384
  }
380
- };
381
- let InvalidScopeException$1 = class InvalidScopeException extends SSOOIDCServiceException$1 {
385
+ }
386
+ class InvalidScopeException extends SSOOIDCServiceException {
382
387
  name = "InvalidScopeException";
383
388
  $fault = "client";
384
389
  error;
@@ -393,8 +398,8 @@ let InvalidScopeException$1 = class InvalidScopeException extends SSOOIDCService
393
398
  this.error = opts.error;
394
399
  this.error_description = opts.error_description;
395
400
  }
396
- };
397
- let SlowDownException$1 = class SlowDownException extends SSOOIDCServiceException$1 {
401
+ }
402
+ class SlowDownException extends SSOOIDCServiceException {
398
403
  name = "SlowDownException";
399
404
  $fault = "client";
400
405
  error;
@@ -409,8 +414,8 @@ let SlowDownException$1 = class SlowDownException extends SSOOIDCServiceExceptio
409
414
  this.error = opts.error;
410
415
  this.error_description = opts.error_description;
411
416
  }
412
- };
413
- let UnauthorizedClientException$1 = class UnauthorizedClientException extends SSOOIDCServiceException$1 {
417
+ }
418
+ class UnauthorizedClientException extends SSOOIDCServiceException {
414
419
  name = "UnauthorizedClientException";
415
420
  $fault = "client";
416
421
  error;
@@ -425,8 +430,8 @@ let UnauthorizedClientException$1 = class UnauthorizedClientException extends SS
425
430
  this.error = opts.error;
426
431
  this.error_description = opts.error_description;
427
432
  }
428
- };
429
- let UnsupportedGrantTypeException$1 = class UnsupportedGrantTypeException extends SSOOIDCServiceException$1 {
433
+ }
434
+ class UnsupportedGrantTypeException extends SSOOIDCServiceException {
430
435
  name = "UnsupportedGrantTypeException";
431
436
  $fault = "client";
432
437
  error;
@@ -441,7 +446,7 @@ let UnsupportedGrantTypeException$1 = class UnsupportedGrantTypeException extend
441
446
  this.error = opts.error;
442
447
  this.error_description = opts.error_description;
443
448
  }
444
- };
449
+ }
445
450
 
446
451
  const _ADE = "AccessDeniedException";
447
452
  const _APE = "AuthorizationPendingException";
@@ -489,7 +494,7 @@ var ClientSecret = [0, n0, _CS, 8, 0];
489
494
  var CodeVerifier = [0, n0, _CV, 8, 0];
490
495
  var IdToken = [0, n0, _IT, 8, 0];
491
496
  var RefreshToken = [0, n0, _RT, 8, 0];
492
- var AccessDeniedException = [
497
+ var AccessDeniedException$ = [
493
498
  -3,
494
499
  n0,
495
500
  _ADE,
@@ -497,8 +502,8 @@ var AccessDeniedException = [
497
502
  [_e, _r, _ed],
498
503
  [0, 0, 0],
499
504
  ];
500
- TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
501
- var AuthorizationPendingException = [
505
+ TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
506
+ var AuthorizationPendingException$ = [
502
507
  -3,
503
508
  n0,
504
509
  _APE,
@@ -506,8 +511,8 @@ var AuthorizationPendingException = [
506
511
  [_e, _ed],
507
512
  [0, 0],
508
513
  ];
509
- TypeRegistry.for(n0).registerError(AuthorizationPendingException, AuthorizationPendingException$1);
510
- var CreateTokenRequest = [
514
+ TypeRegistry.for(n0).registerError(AuthorizationPendingException$, AuthorizationPendingException);
515
+ var CreateTokenRequest$ = [
511
516
  3,
512
517
  n0,
513
518
  _CTR,
@@ -515,7 +520,7 @@ var CreateTokenRequest = [
515
520
  [_cI, _cS, _gT, _dC, _co, _rT, _s, _rU, _cV],
516
521
  [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]],
517
522
  ];
518
- var CreateTokenResponse = [
523
+ var CreateTokenResponse$ = [
519
524
  3,
520
525
  n0,
521
526
  _CTRr,
@@ -523,15 +528,15 @@ var CreateTokenResponse = [
523
528
  [_aT, _tT, _eI, _rT, _iT],
524
529
  [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]],
525
530
  ];
526
- var ExpiredTokenException = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
527
- TypeRegistry.for(n0).registerError(ExpiredTokenException, ExpiredTokenException$1);
528
- var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _ed], [0, 0]];
529
- TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
530
- var InvalidClientException = [-3, n0, _ICE, { [_e]: _c, [_hE]: 401 }, [_e, _ed], [0, 0]];
531
- TypeRegistry.for(n0).registerError(InvalidClientException, InvalidClientException$1);
532
- var InvalidGrantException = [-3, n0, _IGE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
533
- TypeRegistry.for(n0).registerError(InvalidGrantException, InvalidGrantException$1);
534
- var InvalidRequestException = [
531
+ var ExpiredTokenException$ = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
532
+ TypeRegistry.for(n0).registerError(ExpiredTokenException$, ExpiredTokenException);
533
+ var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _ed], [0, 0]];
534
+ TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
535
+ var InvalidClientException$ = [-3, n0, _ICE, { [_e]: _c, [_hE]: 401 }, [_e, _ed], [0, 0]];
536
+ TypeRegistry.for(n0).registerError(InvalidClientException$, InvalidClientException);
537
+ var InvalidGrantException$ = [-3, n0, _IGE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
538
+ TypeRegistry.for(n0).registerError(InvalidGrantException$, InvalidGrantException);
539
+ var InvalidRequestException$ = [
535
540
  -3,
536
541
  n0,
537
542
  _IRE,
@@ -539,14 +544,21 @@ var InvalidRequestException = [
539
544
  [_e, _r, _ed],
540
545
  [0, 0, 0],
541
546
  ];
542
- TypeRegistry.for(n0).registerError(InvalidRequestException, InvalidRequestException$1);
543
- var InvalidScopeException = [-3, n0, _ISEn, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
544
- TypeRegistry.for(n0).registerError(InvalidScopeException, InvalidScopeException$1);
545
- var SlowDownException = [-3, n0, _SDE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
546
- TypeRegistry.for(n0).registerError(SlowDownException, SlowDownException$1);
547
- var UnauthorizedClientException = [-3, n0, _UCE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
548
- TypeRegistry.for(n0).registerError(UnauthorizedClientException, UnauthorizedClientException$1);
549
- var UnsupportedGrantTypeException = [
547
+ TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
548
+ var InvalidScopeException$ = [-3, n0, _ISEn, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
549
+ TypeRegistry.for(n0).registerError(InvalidScopeException$, InvalidScopeException);
550
+ var SlowDownException$ = [-3, n0, _SDE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
551
+ TypeRegistry.for(n0).registerError(SlowDownException$, SlowDownException);
552
+ var UnauthorizedClientException$ = [
553
+ -3,
554
+ n0,
555
+ _UCE,
556
+ { [_e]: _c, [_hE]: 400 },
557
+ [_e, _ed],
558
+ [0, 0],
559
+ ];
560
+ TypeRegistry.for(n0).registerError(UnauthorizedClientException$, UnauthorizedClientException);
561
+ var UnsupportedGrantTypeException$ = [
550
562
  -3,
551
563
  n0,
552
564
  _UGTE,
@@ -554,16 +566,16 @@ var UnsupportedGrantTypeException = [
554
566
  [_e, _ed],
555
567
  [0, 0],
556
568
  ];
557
- TypeRegistry.for(n0).registerError(UnsupportedGrantTypeException, UnsupportedGrantTypeException$1);
558
- var SSOOIDCServiceException = [-3, _sm, "SSOOIDCServiceException", 0, [], []];
559
- TypeRegistry.for(_sm).registerError(SSOOIDCServiceException, SSOOIDCServiceException$1);
560
- var CreateToken = [
569
+ TypeRegistry.for(n0).registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException);
570
+ var SSOOIDCServiceException$ = [-3, _sm, "SSOOIDCServiceException", 0, [], []];
571
+ TypeRegistry.for(_sm).registerError(SSOOIDCServiceException$, SSOOIDCServiceException);
572
+ var CreateToken$ = [
561
573
  9,
562
574
  n0,
563
575
  _CT,
564
576
  { [_h]: ["POST", "/token", 200] },
565
- () => CreateTokenRequest,
566
- () => CreateTokenResponse,
577
+ () => CreateTokenRequest$,
578
+ () => CreateTokenResponse$,
567
579
  ];
568
580
 
569
581
  class CreateTokenCommand extends Command
@@ -574,8 +586,8 @@ class CreateTokenCommand extends Command
574
586
  })
575
587
  .s("AWSSSOOIDCService", "CreateToken", {})
576
588
  .n("SSOOIDCClient", "CreateTokenCommand")
577
- .sc(CreateToken)
589
+ .sc(CreateToken$)
578
590
  .build() {
579
591
  }
580
592
 
581
- export { Command as $Command, AccessDeniedException$1 as AccessDeniedException, AuthorizationPendingException$1 as AuthorizationPendingException, CreateTokenCommand, ExpiredTokenException$1 as ExpiredTokenException, InternalServerException$1 as InternalServerException, InvalidClientException$1 as InvalidClientException, InvalidGrantException$1 as InvalidGrantException, InvalidRequestException$1 as InvalidRequestException, InvalidScopeException$1 as InvalidScopeException, SSOOIDCClient, SSOOIDCServiceException$1 as SSOOIDCServiceException, SlowDownException$1 as SlowDownException, UnauthorizedClientException$1 as UnauthorizedClientException, UnsupportedGrantTypeException$1 as UnsupportedGrantTypeException, Client as __Client };
593
+ export { Command as $Command, AccessDeniedException, AccessDeniedException$, AuthorizationPendingException, AuthorizationPendingException$, CreateToken$, CreateTokenCommand, CreateTokenRequest$, CreateTokenResponse$, ExpiredTokenException, ExpiredTokenException$, InternalServerException, InternalServerException$, InvalidClientException, InvalidClientException$, InvalidGrantException, InvalidGrantException$, InvalidRequestException, InvalidRequestException$, InvalidScopeException, InvalidScopeException$, SSOOIDCClient, SSOOIDCServiceException, SSOOIDCServiceException$, SlowDownException, SlowDownException$, UnauthorizedClientException, UnauthorizedClientException$, UnsupportedGrantTypeException, UnsupportedGrantTypeException$, Client as __Client };