@layerzerolabs/vm-tooling 0.2.22 → 0.2.23

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 (180) hide show
  1. package/LICENSE +23 -0
  2. package/dist/4JD7YXQE.js +47 -0
  3. package/dist/4JD7YXQE.js.map +1 -0
  4. package/dist/{BEHAXLXQ.js → 5FQEEZQ7.js} +4 -4
  5. package/dist/{BEHAXLXQ.js.map → 5FQEEZQ7.js.map} +1 -1
  6. package/dist/C75WADM5.js +15 -0
  7. package/dist/C75WADM5.js.map +1 -0
  8. package/dist/{EP2ZMEJO.js → GNUGNPEQ.js} +47 -13
  9. package/dist/GNUGNPEQ.js.map +1 -0
  10. package/dist/{UGOYXDC2.js → I4UV4L75.js} +9 -15
  11. package/dist/I4UV4L75.js.map +1 -0
  12. package/dist/ICMHRFCX.cjs +78 -0
  13. package/dist/ICMHRFCX.cjs.map +1 -0
  14. package/dist/{OMZA67EH.js → J2675KOZ.js} +5 -5
  15. package/dist/J2675KOZ.js.map +1 -0
  16. package/dist/{Y7XA7YWK.cjs → M7FR43QL.cjs} +5 -5
  17. package/dist/M7FR43QL.cjs.map +1 -0
  18. package/dist/{GG2ZAAIE.cjs → UHRRIDQ3.cjs} +6 -6
  19. package/dist/{GG2ZAAIE.cjs.map → UHRRIDQ3.cjs.map} +1 -1
  20. package/dist/{VH4UXRKG.cjs → VAGPJO44.cjs} +49 -15
  21. package/dist/VAGPJO44.cjs.map +1 -0
  22. package/dist/{GEZ3XVTG.cjs → X53USKD4.cjs} +10 -16
  23. package/dist/X53USKD4.cjs.map +1 -0
  24. package/dist/Y6ZP4DWX.cjs +49 -0
  25. package/dist/Y6ZP4DWX.cjs.map +1 -0
  26. package/dist/YI63OKDP.js +53 -0
  27. package/dist/YI63OKDP.js.map +1 -0
  28. package/dist/Z55JUIO3.cjs +17 -0
  29. package/dist/Z55JUIO3.cjs.map +1 -0
  30. package/dist/cli.cjs +5 -5
  31. package/dist/cli.js +4 -4
  32. package/dist/config.cjs +8 -12
  33. package/dist/config.d.ts +6 -4
  34. package/dist/config.d.ts.map +1 -1
  35. package/dist/config.js +1 -1
  36. package/dist/core/index.cjs +4 -4
  37. package/dist/core/index.js +3 -3
  38. package/dist/core/tool-executor.cjs +4 -4
  39. package/dist/core/tool-executor.d.ts.map +1 -1
  40. package/dist/core/tool-executor.js +3 -3
  41. package/dist/github/index.cjs +5 -16
  42. package/dist/github/index.d.ts.map +1 -1
  43. package/dist/github/index.js +4 -15
  44. package/dist/github/matrix.cjs +4 -15
  45. package/dist/github/matrix.d.ts +13 -3
  46. package/dist/github/matrix.d.ts.map +1 -1
  47. package/dist/github/matrix.js +3 -14
  48. package/dist/index.cjs +15 -22
  49. package/dist/index.cjs.map +1 -1
  50. package/dist/index.d.ts +2 -1
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/index.js +7 -18
  53. package/dist/index.js.map +1 -1
  54. package/dist/test.cjs +4 -4
  55. package/dist/test.d.ts +1 -1
  56. package/dist/test.d.ts.map +1 -1
  57. package/dist/test.js +3 -3
  58. package/dist/utils/docker.cjs +6 -6
  59. package/dist/utils/docker.d.ts +2 -2
  60. package/dist/utils/docker.d.ts.map +1 -1
  61. package/dist/utils/docker.js +2 -2
  62. package/package.json +10 -5
  63. package/dist/3NXVR3DC.cjs +0 -18
  64. package/dist/3NXVR3DC.cjs.map +0 -1
  65. package/dist/3TIEGVTO.cjs +0 -431
  66. package/dist/3TIEGVTO.cjs.map +0 -1
  67. package/dist/3V7HWCTZ.js +0 -190
  68. package/dist/3V7HWCTZ.js.map +0 -1
  69. package/dist/3YN24Z7J.js +0 -261
  70. package/dist/3YN24Z7J.js.map +0 -1
  71. package/dist/427QOV7V.js +0 -348
  72. package/dist/427QOV7V.js.map +0 -1
  73. package/dist/4DNHANRV.cjs +0 -39
  74. package/dist/4DNHANRV.cjs.map +0 -1
  75. package/dist/5IOOBAVX.cjs +0 -832
  76. package/dist/5IOOBAVX.cjs.map +0 -1
  77. package/dist/5QZDX45Q.js +0 -1975
  78. package/dist/5QZDX45Q.js.map +0 -1
  79. package/dist/634Q3MUX.cjs +0 -1128
  80. package/dist/634Q3MUX.cjs.map +0 -1
  81. package/dist/77LS3AZK.cjs +0 -1977
  82. package/dist/77LS3AZK.cjs.map +0 -1
  83. package/dist/7AUJV34E.cjs +0 -144
  84. package/dist/7AUJV34E.cjs.map +0 -1
  85. package/dist/7HA6JSWY.cjs +0 -103
  86. package/dist/7HA6JSWY.cjs.map +0 -1
  87. package/dist/7JWBGU62.js +0 -141
  88. package/dist/7JWBGU62.js.map +0 -1
  89. package/dist/7O5SJUXT.cjs +0 -354
  90. package/dist/7O5SJUXT.cjs.map +0 -1
  91. package/dist/7R4LC2OX.js +0 -3246
  92. package/dist/7R4LC2OX.js.map +0 -1
  93. package/dist/DDKMZ6EE.js +0 -6
  94. package/dist/DDKMZ6EE.js.map +0 -1
  95. package/dist/DS4LZJHX.cjs +0 -252
  96. package/dist/DS4LZJHX.cjs.map +0 -1
  97. package/dist/EP2ZMEJO.js.map +0 -1
  98. package/dist/ERGNNQ6N.js +0 -16
  99. package/dist/ERGNNQ6N.js.map +0 -1
  100. package/dist/EXBTG2GQ.js +0 -4823
  101. package/dist/EXBTG2GQ.js.map +0 -1
  102. package/dist/FBKCEQT5.cjs +0 -263
  103. package/dist/FBKCEQT5.cjs.map +0 -1
  104. package/dist/FC7UGQEI.cjs +0 -19
  105. package/dist/FC7UGQEI.cjs.map +0 -1
  106. package/dist/FDH37YWR.cjs +0 -52
  107. package/dist/FDH37YWR.cjs.map +0 -1
  108. package/dist/FQPOYRQJ.cjs +0 -59
  109. package/dist/FQPOYRQJ.cjs.map +0 -1
  110. package/dist/GEZ3XVTG.cjs.map +0 -1
  111. package/dist/GHQS37WK.js +0 -251
  112. package/dist/GHQS37WK.js.map +0 -1
  113. package/dist/GVS7FGYI.cjs +0 -49
  114. package/dist/GVS7FGYI.cjs.map +0 -1
  115. package/dist/HVDH52K5.cjs +0 -3273
  116. package/dist/HVDH52K5.cjs.map +0 -1
  117. package/dist/HVR3WYCV.js +0 -70
  118. package/dist/HVR3WYCV.js.map +0 -1
  119. package/dist/I24EDDRD.cjs +0 -30
  120. package/dist/I24EDDRD.cjs.map +0 -1
  121. package/dist/IYIFH7LC.js +0 -29
  122. package/dist/IYIFH7LC.js.map +0 -1
  123. package/dist/J2A64VZU.js +0 -143
  124. package/dist/J2A64VZU.js.map +0 -1
  125. package/dist/JXS7ZGGU.js +0 -350
  126. package/dist/JXS7ZGGU.js.map +0 -1
  127. package/dist/MDE37STN.cjs +0 -146
  128. package/dist/MDE37STN.cjs.map +0 -1
  129. package/dist/OBHJ2FSI.cjs +0 -103
  130. package/dist/OBHJ2FSI.cjs.map +0 -1
  131. package/dist/OLCI6QQA.cjs +0 -73
  132. package/dist/OLCI6QQA.cjs.map +0 -1
  133. package/dist/OMZA67EH.js.map +0 -1
  134. package/dist/PFRT6NBP.js +0 -30
  135. package/dist/PFRT6NBP.js.map +0 -1
  136. package/dist/PQ4H7UWU.js +0 -51
  137. package/dist/PQ4H7UWU.js.map +0 -1
  138. package/dist/Q5L3QIKZ.cjs +0 -825
  139. package/dist/Q5L3QIKZ.cjs.map +0 -1
  140. package/dist/QDUIE3K3.js +0 -829
  141. package/dist/QDUIE3K3.js.map +0 -1
  142. package/dist/QEUMSA6O.cjs +0 -260
  143. package/dist/QEUMSA6O.cjs.map +0 -1
  144. package/dist/QHFDWPE3.js +0 -28
  145. package/dist/QHFDWPE3.js.map +0 -1
  146. package/dist/TQHAG73D.js +0 -46
  147. package/dist/TQHAG73D.js.map +0 -1
  148. package/dist/UFZOOGMQ.js +0 -46
  149. package/dist/UFZOOGMQ.js.map +0 -1
  150. package/dist/UGOYXDC2.js.map +0 -1
  151. package/dist/UOMNLT53.cjs +0 -33
  152. package/dist/UOMNLT53.cjs.map +0 -1
  153. package/dist/UUMDUUBJ.cjs +0 -194
  154. package/dist/UUMDUUBJ.cjs.map +0 -1
  155. package/dist/VEHBRPVG.js +0 -175
  156. package/dist/VEHBRPVG.js.map +0 -1
  157. package/dist/VH4UXRKG.cjs.map +0 -1
  158. package/dist/VM366GYK.js +0 -101
  159. package/dist/VM366GYK.js.map +0 -1
  160. package/dist/W3F4RJVY.js +0 -1103
  161. package/dist/W3F4RJVY.js.map +0 -1
  162. package/dist/W4QDYLOA.js +0 -17
  163. package/dist/W4QDYLOA.js.map +0 -1
  164. package/dist/WSDEGNMI.cjs +0 -56
  165. package/dist/WSDEGNMI.cjs.map +0 -1
  166. package/dist/WSES6SE2.js +0 -420
  167. package/dist/WSES6SE2.js.map +0 -1
  168. package/dist/XCUEIITH.js +0 -101
  169. package/dist/XCUEIITH.js.map +0 -1
  170. package/dist/XVWZAEKK.js +0 -807
  171. package/dist/XVWZAEKK.js.map +0 -1
  172. package/dist/Y7XA7YWK.cjs.map +0 -1
  173. package/dist/YHGTF22I.cjs +0 -4881
  174. package/dist/YHGTF22I.cjs.map +0 -1
  175. package/dist/Z7SRDY43.js +0 -250
  176. package/dist/Z7SRDY43.js.map +0 -1
  177. package/dist/ZGCH6KFP.cjs +0 -354
  178. package/dist/ZGCH6KFP.cjs.map +0 -1
  179. package/dist/ZTSEHGET.cjs +0 -182
  180. package/dist/ZTSEHGET.cjs.map +0 -1
package/dist/W3F4RJVY.js DELETED
@@ -1,1103 +0,0 @@
1
- import { requestBuilder } from './VM366GYK.js';
2
- import { createAggregatedClient, package_default } from './J2A64VZU.js';
3
- import { SENSITIVE_STRING, NoAuthSigner } from './IYIFH7LC.js';
4
- import { take, _json, map, parseJsonBody, parseJsonErrorBody, loadRestJsonErrorCode } from './VEHBRPVG.js';
5
- import { EndpointCache, awsEndpointFunctions, customEndpointFunctions, Client, resolveUserAgentConfig, resolveRetryConfig, resolveRegionConfig, resolveHostHeaderConfig, resolveEndpointConfig, getUserAgentPlugin, getRetryPlugin, getContentLengthPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, ServiceException, withBaseException, Command, getSerdePlugin, getEndpointPlugin, emitWarningIfUnsupportedVersion2, resolveDefaultsModeConfig, emitWarningIfUnsupportedVersion, Hash, createDefaultUserAgentProvider, calculateBodyLength, NODE_APP_ID_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, DEFAULT_RETRY_MODE, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, resolveAwsSdkSigV4Config, normalizeProvider, getAwsRegionExtensionConfiguration, getDefaultExtensionConfiguration, getHttpHandlerExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveDefaultRuntimeConfig, resolveHttpHandlerRuntimeConfig, getSmithyContext, NoOpLogger, AwsSdkSigV4Signer, loadConfigsForDefaultMode, resolveEndpoint, decorateServiceException } from './EXBTG2GQ.js';
6
- export { Command as $Command, Client as __Client } from './EXBTG2GQ.js';
7
- import { loadConfig, parseUrl } from './3V7HWCTZ.js';
8
- import './QHFDWPE3.js';
9
- import './GHQS37WK.js';
10
- import { streamCollector, NodeHttpHandler, expectNonNull, expectObject, expectString, expectInt32, toBase64, fromBase64 } from './XVWZAEKK.js';
11
- import { toUtf8, fromUtf8 } from './TQHAG73D.js';
12
- import './ERGNNQ6N.js';
13
- import './UFZOOGMQ.js';
14
- import { init_esm_shims, __name } from './6AHA7PAZ.js';
15
-
16
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js
17
- init_esm_shims();
18
-
19
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js
20
- init_esm_shims();
21
-
22
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js
23
- init_esm_shims();
24
- var defaultSSOOIDCHttpAuthSchemeParametersProvider = /* @__PURE__ */ __name(async (config, context, input) => {
25
- return {
26
- operation: getSmithyContext(context).operation,
27
- region: await normalizeProvider(config.region)() || (() => {
28
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
29
- })()
30
- };
31
- }, "defaultSSOOIDCHttpAuthSchemeParametersProvider");
32
- function createAwsAuthSigv4HttpAuthOption(authParameters) {
33
- return {
34
- schemeId: "aws.auth#sigv4",
35
- signingProperties: {
36
- name: "sso-oauth",
37
- region: authParameters.region
38
- },
39
- propertiesExtractor: /* @__PURE__ */ __name((config, context) => ({
40
- signingProperties: {
41
- config,
42
- context
43
- }
44
- }), "propertiesExtractor")
45
- };
46
- }
47
- __name(createAwsAuthSigv4HttpAuthOption, "createAwsAuthSigv4HttpAuthOption");
48
- function createSmithyApiNoAuthHttpAuthOption(authParameters) {
49
- return {
50
- schemeId: "smithy.api#noAuth"
51
- };
52
- }
53
- __name(createSmithyApiNoAuthHttpAuthOption, "createSmithyApiNoAuthHttpAuthOption");
54
- var defaultSSOOIDCHttpAuthSchemeProvider = /* @__PURE__ */ __name((authParameters) => {
55
- const options = [];
56
- switch (authParameters.operation) {
57
- case "CreateToken": {
58
- options.push(createSmithyApiNoAuthHttpAuthOption());
59
- break;
60
- }
61
- default: {
62
- options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
63
- }
64
- }
65
- return options;
66
- }, "defaultSSOOIDCHttpAuthSchemeProvider");
67
- var resolveHttpAuthSchemeConfig = /* @__PURE__ */ __name((config) => {
68
- const config_0 = resolveAwsSdkSigV4Config(config);
69
- return Object.assign(config_0, {
70
- authSchemePreference: normalizeProvider(config.authSchemePreference ?? [])
71
- });
72
- }, "resolveHttpAuthSchemeConfig");
73
-
74
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js
75
- init_esm_shims();
76
- var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
77
- return Object.assign(options, {
78
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
79
- useFipsEndpoint: options.useFipsEndpoint ?? false,
80
- defaultSigningName: "sso-oauth"
81
- });
82
- }, "resolveClientEndpointParameters");
83
- var commonParams = {
84
- UseFIPS: {
85
- type: "builtInParams",
86
- name: "useFipsEndpoint"
87
- },
88
- Endpoint: {
89
- type: "builtInParams",
90
- name: "endpoint"
91
- },
92
- Region: {
93
- type: "builtInParams",
94
- name: "region"
95
- },
96
- UseDualStack: {
97
- type: "builtInParams",
98
- name: "useDualstackEndpoint"
99
- }
100
- };
101
-
102
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js
103
- init_esm_shims();
104
-
105
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js
106
- init_esm_shims();
107
-
108
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js
109
- init_esm_shims();
110
-
111
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js
112
- init_esm_shims();
113
- var u = "required";
114
- var v = "fn";
115
- var w = "argv";
116
- var x = "ref";
117
- var a = true;
118
- var b = "isSet";
119
- var c = "booleanEquals";
120
- var d = "error";
121
- var e = "endpoint";
122
- var f = "tree";
123
- var g = "PartitionResult";
124
- var h = "getAttr";
125
- var i = {
126
- [u]: false,
127
- "type": "String"
128
- };
129
- var j = {
130
- [u]: true,
131
- "default": false,
132
- "type": "Boolean"
133
- };
134
- var k = {
135
- [x]: "Endpoint"
136
- };
137
- var l = {
138
- [v]: c,
139
- [w]: [
140
- {
141
- [x]: "UseFIPS"
142
- },
143
- true
144
- ]
145
- };
146
- var m = {
147
- [v]: c,
148
- [w]: [
149
- {
150
- [x]: "UseDualStack"
151
- },
152
- true
153
- ]
154
- };
155
- var n = {};
156
- var o = {
157
- [v]: h,
158
- [w]: [
159
- {
160
- [x]: g
161
- },
162
- "supportsFIPS"
163
- ]
164
- };
165
- var p = {
166
- [x]: g
167
- };
168
- var q = {
169
- [v]: c,
170
- [w]: [
171
- true,
172
- {
173
- [v]: h,
174
- [w]: [
175
- p,
176
- "supportsDualStack"
177
- ]
178
- }
179
- ]
180
- };
181
- var r = [
182
- l
183
- ];
184
- var s = [
185
- m
186
- ];
187
- var t = [
188
- {
189
- [x]: "Region"
190
- }
191
- ];
192
- var _data = {
193
- version: "1.0",
194
- parameters: {
195
- Region: i,
196
- UseDualStack: j,
197
- UseFIPS: j,
198
- Endpoint: i
199
- },
200
- rules: [
201
- {
202
- conditions: [
203
- {
204
- [v]: b,
205
- [w]: [
206
- k
207
- ]
208
- }
209
- ],
210
- rules: [
211
- {
212
- conditions: r,
213
- error: "Invalid Configuration: FIPS and custom endpoint are not supported",
214
- type: d
215
- },
216
- {
217
- conditions: s,
218
- error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
219
- type: d
220
- },
221
- {
222
- endpoint: {
223
- url: k,
224
- properties: n,
225
- headers: n
226
- },
227
- type: e
228
- }
229
- ],
230
- type: f
231
- },
232
- {
233
- conditions: [
234
- {
235
- [v]: b,
236
- [w]: t
237
- }
238
- ],
239
- rules: [
240
- {
241
- conditions: [
242
- {
243
- [v]: "aws.partition",
244
- [w]: t,
245
- assign: g
246
- }
247
- ],
248
- rules: [
249
- {
250
- conditions: [
251
- l,
252
- m
253
- ],
254
- rules: [
255
- {
256
- conditions: [
257
- {
258
- [v]: c,
259
- [w]: [
260
- a,
261
- o
262
- ]
263
- },
264
- q
265
- ],
266
- rules: [
267
- {
268
- endpoint: {
269
- url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
270
- properties: n,
271
- headers: n
272
- },
273
- type: e
274
- }
275
- ],
276
- type: f
277
- },
278
- {
279
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
280
- type: d
281
- }
282
- ],
283
- type: f
284
- },
285
- {
286
- conditions: r,
287
- rules: [
288
- {
289
- conditions: [
290
- {
291
- [v]: c,
292
- [w]: [
293
- o,
294
- a
295
- ]
296
- }
297
- ],
298
- rules: [
299
- {
300
- conditions: [
301
- {
302
- [v]: "stringEquals",
303
- [w]: [
304
- {
305
- [v]: h,
306
- [w]: [
307
- p,
308
- "name"
309
- ]
310
- },
311
- "aws-us-gov"
312
- ]
313
- }
314
- ],
315
- endpoint: {
316
- url: "https://oidc.{Region}.amazonaws.com",
317
- properties: n,
318
- headers: n
319
- },
320
- type: e
321
- },
322
- {
323
- endpoint: {
324
- url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",
325
- properties: n,
326
- headers: n
327
- },
328
- type: e
329
- }
330
- ],
331
- type: f
332
- },
333
- {
334
- error: "FIPS is enabled but this partition does not support FIPS",
335
- type: d
336
- }
337
- ],
338
- type: f
339
- },
340
- {
341
- conditions: s,
342
- rules: [
343
- {
344
- conditions: [
345
- q
346
- ],
347
- rules: [
348
- {
349
- endpoint: {
350
- url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",
351
- properties: n,
352
- headers: n
353
- },
354
- type: e
355
- }
356
- ],
357
- type: f
358
- },
359
- {
360
- error: "DualStack is enabled but this partition does not support DualStack",
361
- type: d
362
- }
363
- ],
364
- type: f
365
- },
366
- {
367
- endpoint: {
368
- url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}",
369
- properties: n,
370
- headers: n
371
- },
372
- type: e
373
- }
374
- ],
375
- type: f
376
- }
377
- ],
378
- type: f
379
- },
380
- {
381
- error: "Invalid Configuration: Missing Region",
382
- type: d
383
- }
384
- ]
385
- };
386
- var ruleSet = _data;
387
-
388
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js
389
- var cache = new EndpointCache({
390
- size: 50,
391
- params: [
392
- "Endpoint",
393
- "Region",
394
- "UseDualStack",
395
- "UseFIPS"
396
- ]
397
- });
398
- var defaultEndpointResolver = /* @__PURE__ */ __name((endpointParams, context = {}) => {
399
- return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
400
- endpointParams,
401
- logger: context.logger
402
- }));
403
- }, "defaultEndpointResolver");
404
- customEndpointFunctions.aws = awsEndpointFunctions;
405
-
406
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js
407
- var getRuntimeConfig = /* @__PURE__ */ __name((config) => {
408
- return {
409
- apiVersion: "2019-06-10",
410
- base64Decoder: config?.base64Decoder ?? fromBase64,
411
- base64Encoder: config?.base64Encoder ?? toBase64,
412
- disableHostPrefix: config?.disableHostPrefix ?? false,
413
- endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
414
- extensions: config?.extensions ?? [],
415
- httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSOOIDCHttpAuthSchemeProvider,
416
- httpAuthSchemes: config?.httpAuthSchemes ?? [
417
- {
418
- schemeId: "aws.auth#sigv4",
419
- identityProvider: /* @__PURE__ */ __name((ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), "identityProvider"),
420
- signer: new AwsSdkSigV4Signer()
421
- },
422
- {
423
- schemeId: "smithy.api#noAuth",
424
- identityProvider: /* @__PURE__ */ __name((ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), "identityProvider"),
425
- signer: new NoAuthSigner()
426
- }
427
- ],
428
- logger: config?.logger ?? new NoOpLogger(),
429
- serviceId: config?.serviceId ?? "SSO OIDC",
430
- urlParser: config?.urlParser ?? parseUrl,
431
- utf8Decoder: config?.utf8Decoder ?? fromUtf8,
432
- utf8Encoder: config?.utf8Encoder ?? toUtf8
433
- };
434
- }, "getRuntimeConfig");
435
-
436
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js
437
- var getRuntimeConfig2 = /* @__PURE__ */ __name((config) => {
438
- emitWarningIfUnsupportedVersion2(process.version);
439
- const defaultsMode = resolveDefaultsModeConfig(config);
440
- const defaultConfigProvider = /* @__PURE__ */ __name(() => defaultsMode().then(loadConfigsForDefaultMode), "defaultConfigProvider");
441
- const clientSharedValues = getRuntimeConfig(config);
442
- emitWarningIfUnsupportedVersion(process.version);
443
- const loaderConfig = {
444
- profile: config?.profile,
445
- logger: clientSharedValues.logger
446
- };
447
- return {
448
- ...clientSharedValues,
449
- ...config,
450
- runtime: "node",
451
- defaultsMode,
452
- authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
453
- bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
454
- defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({
455
- serviceId: clientSharedValues.serviceId,
456
- clientVersion: package_default.version
457
- }),
458
- maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
459
- region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, {
460
- ...NODE_REGION_CONFIG_FILE_OPTIONS,
461
- ...loaderConfig
462
- }),
463
- requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
464
- retryMode: config?.retryMode ?? loadConfig({
465
- ...NODE_RETRY_MODE_CONFIG_OPTIONS,
466
- default: /* @__PURE__ */ __name(async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, "default")
467
- }, config),
468
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
469
- streamCollector: config?.streamCollector ?? streamCollector,
470
- useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
471
- useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
472
- userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
473
- };
474
- }, "getRuntimeConfig");
475
-
476
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js
477
- init_esm_shims();
478
-
479
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js
480
- init_esm_shims();
481
- var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
482
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
483
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
484
- let _credentials = runtimeConfig.credentials;
485
- return {
486
- setHttpAuthScheme(httpAuthScheme) {
487
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
488
- if (index === -1) {
489
- _httpAuthSchemes.push(httpAuthScheme);
490
- } else {
491
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
492
- }
493
- },
494
- httpAuthSchemes() {
495
- return _httpAuthSchemes;
496
- },
497
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
498
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
499
- },
500
- httpAuthSchemeProvider() {
501
- return _httpAuthSchemeProvider;
502
- },
503
- setCredentials(credentials) {
504
- _credentials = credentials;
505
- },
506
- credentials() {
507
- return _credentials;
508
- }
509
- };
510
- }, "getHttpAuthExtensionConfiguration");
511
- var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
512
- return {
513
- httpAuthSchemes: config.httpAuthSchemes(),
514
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
515
- credentials: config.credentials()
516
- };
517
- }, "resolveHttpAuthRuntimeConfig");
518
-
519
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js
520
- var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
521
- const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
522
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
523
- return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
524
- }, "resolveRuntimeExtensions");
525
-
526
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js
527
- var SSOOIDCClient = class extends Client {
528
- static {
529
- __name(this, "SSOOIDCClient");
530
- }
531
- config;
532
- constructor(...[configuration]) {
533
- const _config_0 = getRuntimeConfig2(configuration || {});
534
- super(_config_0);
535
- this.initConfig = _config_0;
536
- const _config_1 = resolveClientEndpointParameters(_config_0);
537
- const _config_2 = resolveUserAgentConfig(_config_1);
538
- const _config_3 = resolveRetryConfig(_config_2);
539
- const _config_4 = resolveRegionConfig(_config_3);
540
- const _config_5 = resolveHostHeaderConfig(_config_4);
541
- const _config_6 = resolveEndpointConfig(_config_5);
542
- const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
543
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
544
- this.config = _config_8;
545
- this.middlewareStack.use(getUserAgentPlugin(this.config));
546
- this.middlewareStack.use(getRetryPlugin(this.config));
547
- this.middlewareStack.use(getContentLengthPlugin(this.config));
548
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
549
- this.middlewareStack.use(getLoggerPlugin(this.config));
550
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
551
- this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
552
- httpAuthSchemeParametersProvider: defaultSSOOIDCHttpAuthSchemeParametersProvider,
553
- identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new DefaultIdentityProviderConfig({
554
- "aws.auth#sigv4": config.credentials
555
- }), "identityProviderConfigProvider")
556
- }));
557
- this.middlewareStack.use(getHttpSigningPlugin(this.config));
558
- }
559
- destroy() {
560
- super.destroy();
561
- }
562
- };
563
-
564
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js
565
- init_esm_shims();
566
-
567
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js
568
- init_esm_shims();
569
-
570
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js
571
- init_esm_shims();
572
-
573
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js
574
- init_esm_shims();
575
- var SSOOIDCServiceException = class _SSOOIDCServiceException extends ServiceException {
576
- static {
577
- __name(this, "SSOOIDCServiceException");
578
- }
579
- constructor(options) {
580
- super(options);
581
- Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype);
582
- }
583
- };
584
-
585
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js
586
- var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {
587
- static {
588
- __name(this, "AccessDeniedException");
589
- }
590
- name = "AccessDeniedException";
591
- $fault = "client";
592
- error;
593
- error_description;
594
- constructor(opts) {
595
- super({
596
- name: "AccessDeniedException",
597
- $fault: "client",
598
- ...opts
599
- });
600
- Object.setPrototypeOf(this, _AccessDeniedException.prototype);
601
- this.error = opts.error;
602
- this.error_description = opts.error_description;
603
- }
604
- };
605
- var AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException {
606
- static {
607
- __name(this, "AuthorizationPendingException");
608
- }
609
- name = "AuthorizationPendingException";
610
- $fault = "client";
611
- error;
612
- error_description;
613
- constructor(opts) {
614
- super({
615
- name: "AuthorizationPendingException",
616
- $fault: "client",
617
- ...opts
618
- });
619
- Object.setPrototypeOf(this, _AuthorizationPendingException.prototype);
620
- this.error = opts.error;
621
- this.error_description = opts.error_description;
622
- }
623
- };
624
- var CreateTokenRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
625
- ...obj,
626
- ...obj.clientSecret && {
627
- clientSecret: SENSITIVE_STRING
628
- },
629
- ...obj.refreshToken && {
630
- refreshToken: SENSITIVE_STRING
631
- },
632
- ...obj.codeVerifier && {
633
- codeVerifier: SENSITIVE_STRING
634
- }
635
- }), "CreateTokenRequestFilterSensitiveLog");
636
- var CreateTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
637
- ...obj,
638
- ...obj.accessToken && {
639
- accessToken: SENSITIVE_STRING
640
- },
641
- ...obj.refreshToken && {
642
- refreshToken: SENSITIVE_STRING
643
- },
644
- ...obj.idToken && {
645
- idToken: SENSITIVE_STRING
646
- }
647
- }), "CreateTokenResponseFilterSensitiveLog");
648
- var ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException {
649
- static {
650
- __name(this, "ExpiredTokenException");
651
- }
652
- name = "ExpiredTokenException";
653
- $fault = "client";
654
- error;
655
- error_description;
656
- constructor(opts) {
657
- super({
658
- name: "ExpiredTokenException",
659
- $fault: "client",
660
- ...opts
661
- });
662
- Object.setPrototypeOf(this, _ExpiredTokenException.prototype);
663
- this.error = opts.error;
664
- this.error_description = opts.error_description;
665
- }
666
- };
667
- var InternalServerException = class _InternalServerException extends SSOOIDCServiceException {
668
- static {
669
- __name(this, "InternalServerException");
670
- }
671
- name = "InternalServerException";
672
- $fault = "server";
673
- error;
674
- error_description;
675
- constructor(opts) {
676
- super({
677
- name: "InternalServerException",
678
- $fault: "server",
679
- ...opts
680
- });
681
- Object.setPrototypeOf(this, _InternalServerException.prototype);
682
- this.error = opts.error;
683
- this.error_description = opts.error_description;
684
- }
685
- };
686
- var InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException {
687
- static {
688
- __name(this, "InvalidClientException");
689
- }
690
- name = "InvalidClientException";
691
- $fault = "client";
692
- error;
693
- error_description;
694
- constructor(opts) {
695
- super({
696
- name: "InvalidClientException",
697
- $fault: "client",
698
- ...opts
699
- });
700
- Object.setPrototypeOf(this, _InvalidClientException.prototype);
701
- this.error = opts.error;
702
- this.error_description = opts.error_description;
703
- }
704
- };
705
- var InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException {
706
- static {
707
- __name(this, "InvalidGrantException");
708
- }
709
- name = "InvalidGrantException";
710
- $fault = "client";
711
- error;
712
- error_description;
713
- constructor(opts) {
714
- super({
715
- name: "InvalidGrantException",
716
- $fault: "client",
717
- ...opts
718
- });
719
- Object.setPrototypeOf(this, _InvalidGrantException.prototype);
720
- this.error = opts.error;
721
- this.error_description = opts.error_description;
722
- }
723
- };
724
- var InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException {
725
- static {
726
- __name(this, "InvalidRequestException");
727
- }
728
- name = "InvalidRequestException";
729
- $fault = "client";
730
- error;
731
- error_description;
732
- constructor(opts) {
733
- super({
734
- name: "InvalidRequestException",
735
- $fault: "client",
736
- ...opts
737
- });
738
- Object.setPrototypeOf(this, _InvalidRequestException.prototype);
739
- this.error = opts.error;
740
- this.error_description = opts.error_description;
741
- }
742
- };
743
- var InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException {
744
- static {
745
- __name(this, "InvalidScopeException");
746
- }
747
- name = "InvalidScopeException";
748
- $fault = "client";
749
- error;
750
- error_description;
751
- constructor(opts) {
752
- super({
753
- name: "InvalidScopeException",
754
- $fault: "client",
755
- ...opts
756
- });
757
- Object.setPrototypeOf(this, _InvalidScopeException.prototype);
758
- this.error = opts.error;
759
- this.error_description = opts.error_description;
760
- }
761
- };
762
- var SlowDownException = class _SlowDownException extends SSOOIDCServiceException {
763
- static {
764
- __name(this, "SlowDownException");
765
- }
766
- name = "SlowDownException";
767
- $fault = "client";
768
- error;
769
- error_description;
770
- constructor(opts) {
771
- super({
772
- name: "SlowDownException",
773
- $fault: "client",
774
- ...opts
775
- });
776
- Object.setPrototypeOf(this, _SlowDownException.prototype);
777
- this.error = opts.error;
778
- this.error_description = opts.error_description;
779
- }
780
- };
781
- var UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException {
782
- static {
783
- __name(this, "UnauthorizedClientException");
784
- }
785
- name = "UnauthorizedClientException";
786
- $fault = "client";
787
- error;
788
- error_description;
789
- constructor(opts) {
790
- super({
791
- name: "UnauthorizedClientException",
792
- $fault: "client",
793
- ...opts
794
- });
795
- Object.setPrototypeOf(this, _UnauthorizedClientException.prototype);
796
- this.error = opts.error;
797
- this.error_description = opts.error_description;
798
- }
799
- };
800
- var UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException {
801
- static {
802
- __name(this, "UnsupportedGrantTypeException");
803
- }
804
- name = "UnsupportedGrantTypeException";
805
- $fault = "client";
806
- error;
807
- error_description;
808
- constructor(opts) {
809
- super({
810
- name: "UnsupportedGrantTypeException",
811
- $fault: "client",
812
- ...opts
813
- });
814
- Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype);
815
- this.error = opts.error;
816
- this.error_description = opts.error_description;
817
- }
818
- };
819
-
820
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/protocols/Aws_restJson1.js
821
- init_esm_shims();
822
- var se_CreateTokenCommand = /* @__PURE__ */ __name(async (input, context) => {
823
- const b2 = requestBuilder(input, context);
824
- const headers = {
825
- "content-type": "application/json"
826
- };
827
- b2.bp("/token");
828
- let body;
829
- body = JSON.stringify(take(input, {
830
- clientId: [],
831
- clientSecret: [],
832
- code: [],
833
- codeVerifier: [],
834
- deviceCode: [],
835
- grantType: [],
836
- redirectUri: [],
837
- refreshToken: [],
838
- scope: /* @__PURE__ */ __name((_) => _json(_), "scope")
839
- }));
840
- b2.m("POST").h(headers).b(body);
841
- return b2.build();
842
- }, "se_CreateTokenCommand");
843
- var de_CreateTokenCommand = /* @__PURE__ */ __name(async (output, context) => {
844
- if (output.statusCode !== 200 && output.statusCode >= 300) {
845
- return de_CommandError(output, context);
846
- }
847
- const contents = map({
848
- $metadata: deserializeMetadata(output)
849
- });
850
- const data = expectNonNull(expectObject(await parseJsonBody(output.body, context)), "body");
851
- const doc = take(data, {
852
- accessToken: expectString,
853
- expiresIn: expectInt32,
854
- idToken: expectString,
855
- refreshToken: expectString,
856
- tokenType: expectString
857
- });
858
- Object.assign(contents, doc);
859
- return contents;
860
- }, "de_CreateTokenCommand");
861
- var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
862
- const parsedOutput = {
863
- ...output,
864
- body: await parseJsonErrorBody(output.body, context)
865
- };
866
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
867
- switch (errorCode) {
868
- case "AccessDeniedException":
869
- case "com.amazonaws.ssooidc#AccessDeniedException":
870
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
871
- case "AuthorizationPendingException":
872
- case "com.amazonaws.ssooidc#AuthorizationPendingException":
873
- throw await de_AuthorizationPendingExceptionRes(parsedOutput, context);
874
- case "ExpiredTokenException":
875
- case "com.amazonaws.ssooidc#ExpiredTokenException":
876
- throw await de_ExpiredTokenExceptionRes(parsedOutput, context);
877
- case "InternalServerException":
878
- case "com.amazonaws.ssooidc#InternalServerException":
879
- throw await de_InternalServerExceptionRes(parsedOutput, context);
880
- case "InvalidClientException":
881
- case "com.amazonaws.ssooidc#InvalidClientException":
882
- throw await de_InvalidClientExceptionRes(parsedOutput, context);
883
- case "InvalidGrantException":
884
- case "com.amazonaws.ssooidc#InvalidGrantException":
885
- throw await de_InvalidGrantExceptionRes(parsedOutput, context);
886
- case "InvalidRequestException":
887
- case "com.amazonaws.ssooidc#InvalidRequestException":
888
- throw await de_InvalidRequestExceptionRes(parsedOutput, context);
889
- case "InvalidScopeException":
890
- case "com.amazonaws.ssooidc#InvalidScopeException":
891
- throw await de_InvalidScopeExceptionRes(parsedOutput, context);
892
- case "SlowDownException":
893
- case "com.amazonaws.ssooidc#SlowDownException":
894
- throw await de_SlowDownExceptionRes(parsedOutput, context);
895
- case "UnauthorizedClientException":
896
- case "com.amazonaws.ssooidc#UnauthorizedClientException":
897
- throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
898
- case "UnsupportedGrantTypeException":
899
- case "com.amazonaws.ssooidc#UnsupportedGrantTypeException":
900
- throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context);
901
- default:
902
- const parsedBody = parsedOutput.body;
903
- return throwDefaultError({
904
- output,
905
- parsedBody,
906
- errorCode
907
- });
908
- }
909
- }, "de_CommandError");
910
- var throwDefaultError = withBaseException(SSOOIDCServiceException);
911
- var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
912
- const contents = map({});
913
- const data = parsedOutput.body;
914
- const doc = take(data, {
915
- error: expectString,
916
- error_description: expectString
917
- });
918
- Object.assign(contents, doc);
919
- const exception = new AccessDeniedException({
920
- $metadata: deserializeMetadata(parsedOutput),
921
- ...contents
922
- });
923
- return decorateServiceException(exception, parsedOutput.body);
924
- }, "de_AccessDeniedExceptionRes");
925
- var de_AuthorizationPendingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
926
- const contents = map({});
927
- const data = parsedOutput.body;
928
- const doc = take(data, {
929
- error: expectString,
930
- error_description: expectString
931
- });
932
- Object.assign(contents, doc);
933
- const exception = new AuthorizationPendingException({
934
- $metadata: deserializeMetadata(parsedOutput),
935
- ...contents
936
- });
937
- return decorateServiceException(exception, parsedOutput.body);
938
- }, "de_AuthorizationPendingExceptionRes");
939
- var de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
940
- const contents = map({});
941
- const data = parsedOutput.body;
942
- const doc = take(data, {
943
- error: expectString,
944
- error_description: expectString
945
- });
946
- Object.assign(contents, doc);
947
- const exception = new ExpiredTokenException({
948
- $metadata: deserializeMetadata(parsedOutput),
949
- ...contents
950
- });
951
- return decorateServiceException(exception, parsedOutput.body);
952
- }, "de_ExpiredTokenExceptionRes");
953
- var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
954
- const contents = map({});
955
- const data = parsedOutput.body;
956
- const doc = take(data, {
957
- error: expectString,
958
- error_description: expectString
959
- });
960
- Object.assign(contents, doc);
961
- const exception = new InternalServerException({
962
- $metadata: deserializeMetadata(parsedOutput),
963
- ...contents
964
- });
965
- return decorateServiceException(exception, parsedOutput.body);
966
- }, "de_InternalServerExceptionRes");
967
- var de_InvalidClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
968
- const contents = map({});
969
- const data = parsedOutput.body;
970
- const doc = take(data, {
971
- error: expectString,
972
- error_description: expectString
973
- });
974
- Object.assign(contents, doc);
975
- const exception = new InvalidClientException({
976
- $metadata: deserializeMetadata(parsedOutput),
977
- ...contents
978
- });
979
- return decorateServiceException(exception, parsedOutput.body);
980
- }, "de_InvalidClientExceptionRes");
981
- var de_InvalidGrantExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
982
- const contents = map({});
983
- const data = parsedOutput.body;
984
- const doc = take(data, {
985
- error: expectString,
986
- error_description: expectString
987
- });
988
- Object.assign(contents, doc);
989
- const exception = new InvalidGrantException({
990
- $metadata: deserializeMetadata(parsedOutput),
991
- ...contents
992
- });
993
- return decorateServiceException(exception, parsedOutput.body);
994
- }, "de_InvalidGrantExceptionRes");
995
- var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
996
- const contents = map({});
997
- const data = parsedOutput.body;
998
- const doc = take(data, {
999
- error: expectString,
1000
- error_description: expectString
1001
- });
1002
- Object.assign(contents, doc);
1003
- const exception = new InvalidRequestException({
1004
- $metadata: deserializeMetadata(parsedOutput),
1005
- ...contents
1006
- });
1007
- return decorateServiceException(exception, parsedOutput.body);
1008
- }, "de_InvalidRequestExceptionRes");
1009
- var de_InvalidScopeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1010
- const contents = map({});
1011
- const data = parsedOutput.body;
1012
- const doc = take(data, {
1013
- error: expectString,
1014
- error_description: expectString
1015
- });
1016
- Object.assign(contents, doc);
1017
- const exception = new InvalidScopeException({
1018
- $metadata: deserializeMetadata(parsedOutput),
1019
- ...contents
1020
- });
1021
- return decorateServiceException(exception, parsedOutput.body);
1022
- }, "de_InvalidScopeExceptionRes");
1023
- var de_SlowDownExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1024
- const contents = map({});
1025
- const data = parsedOutput.body;
1026
- const doc = take(data, {
1027
- error: expectString,
1028
- error_description: expectString
1029
- });
1030
- Object.assign(contents, doc);
1031
- const exception = new SlowDownException({
1032
- $metadata: deserializeMetadata(parsedOutput),
1033
- ...contents
1034
- });
1035
- return decorateServiceException(exception, parsedOutput.body);
1036
- }, "de_SlowDownExceptionRes");
1037
- var de_UnauthorizedClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1038
- const contents = map({});
1039
- const data = parsedOutput.body;
1040
- const doc = take(data, {
1041
- error: expectString,
1042
- error_description: expectString
1043
- });
1044
- Object.assign(contents, doc);
1045
- const exception = new UnauthorizedClientException({
1046
- $metadata: deserializeMetadata(parsedOutput),
1047
- ...contents
1048
- });
1049
- return decorateServiceException(exception, parsedOutput.body);
1050
- }, "de_UnauthorizedClientExceptionRes");
1051
- var de_UnsupportedGrantTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1052
- const contents = map({});
1053
- const data = parsedOutput.body;
1054
- const doc = take(data, {
1055
- error: expectString,
1056
- error_description: expectString
1057
- });
1058
- Object.assign(contents, doc);
1059
- const exception = new UnsupportedGrantTypeException({
1060
- $metadata: deserializeMetadata(parsedOutput),
1061
- ...contents
1062
- });
1063
- return decorateServiceException(exception, parsedOutput.body);
1064
- }, "de_UnsupportedGrantTypeExceptionRes");
1065
- var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1066
- httpStatusCode: output.statusCode,
1067
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1068
- extendedRequestId: output.headers["x-amz-id-2"],
1069
- cfId: output.headers["x-amz-cf-id"]
1070
- }), "deserializeMetadata");
1071
-
1072
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js
1073
- var CreateTokenCommand = class extends Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o2) {
1074
- return [
1075
- getSerdePlugin(config, this.serialize, this.deserialize),
1076
- getEndpointPlugin(config, Command2.getEndpointParameterInstructions())
1077
- ];
1078
- }).s("AWSSSOOIDCService", "CreateToken", {}).n("SSOOIDCClient", "CreateTokenCommand").f(CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog).ser(se_CreateTokenCommand).de(de_CreateTokenCommand).build() {
1079
- static {
1080
- __name(this, "CreateTokenCommand");
1081
- }
1082
- };
1083
-
1084
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js
1085
- var commands = {
1086
- CreateTokenCommand
1087
- };
1088
- var SSOOIDC = class extends SSOOIDCClient {
1089
- static {
1090
- __name(this, "SSOOIDC");
1091
- }
1092
- };
1093
- createAggregatedClient(commands, SSOOIDC);
1094
-
1095
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/index.js
1096
- init_esm_shims();
1097
-
1098
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/index.js
1099
- init_esm_shims();
1100
-
1101
- export { AccessDeniedException, AuthorizationPendingException, CreateTokenCommand, CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidGrantException, InvalidRequestException, InvalidScopeException, SSOOIDC, SSOOIDCClient, SSOOIDCServiceException, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException };
1102
- //# sourceMappingURL=W3F4RJVY.js.map
1103
- //# sourceMappingURL=W3F4RJVY.js.map