@kyro-cms/core 0.12.44 → 0.12.45

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 (311) hide show
  1. package/dist/{WebhookService-C19xR8qE.d.ts → WebhookService-CZf_na-J.d.ts} +1 -1
  2. package/dist/{WebhookService-BBcCHBo8.d.cts → WebhookService-DgIx21X-.d.cts} +1 -1
  3. package/dist/api-handler-graphql.cjs +1 -1
  4. package/dist/api-handler-graphql.js +2 -1
  5. package/dist/api-handler-trpc.cjs +1 -1
  6. package/dist/api-handler-trpc.js +2 -1
  7. package/dist/api-handler.cjs +1 -1
  8. package/dist/api-handler.js +1 -1
  9. package/dist/{base-yXdYZxFK.d.ts → base-7vJMzr4V.d.ts} +1 -1
  10. package/dist/{base-C2iwjdJQ.d.cts → base-DDEmdRqV.d.cts} +1 -1
  11. package/dist/bcryptjs-AZA6WEN2.js +2 -0
  12. package/dist/bcryptjs-WIQSWJGK.cjs +1 -0
  13. package/dist/better-sqlite3-42Q3FG3E.js +2 -0
  14. package/dist/better-sqlite3-5IISPX34.cjs +1 -0
  15. package/dist/bootstrap-7CI3NVSY.js +1 -0
  16. package/dist/bootstrap-DOOM2CNQ.cjs +1 -0
  17. package/dist/bowser-FI5JQGKZ.js +11 -0
  18. package/dist/bowser-VX6B6ZSE.cjs +10 -0
  19. package/dist/chokidar-24HVS6XD.cjs +5 -0
  20. package/dist/chokidar-43DT7CVN.js +6 -0
  21. package/dist/chunk-26Q7JXM4.cjs +3 -0
  22. package/dist/chunk-2BUODBE2.js +2 -0
  23. package/dist/chunk-2WFTETFB.js +2 -0
  24. package/dist/chunk-35PGCW3S.cjs +1 -0
  25. package/dist/chunk-3VXEK5ZW.cjs +1 -0
  26. package/dist/chunk-45TJAB5X.js +301 -0
  27. package/dist/chunk-5DWYVUQR.cjs +1 -0
  28. package/dist/chunk-5LPNEYK5.cjs +1 -0
  29. package/dist/chunk-66BJXVFJ.js +2 -0
  30. package/dist/chunk-6KRR7YHA.js +2 -0
  31. package/dist/chunk-6KUL2BSA.cjs +133 -0
  32. package/dist/chunk-6MSS5X77.js +2 -0
  33. package/dist/chunk-6QWLXJ7L.js +2 -0
  34. package/dist/chunk-6V3AP7HR.cjs +269 -0
  35. package/dist/chunk-73D2PNHD.cjs +7 -0
  36. package/dist/chunk-7ACHOBWY.cjs +13 -0
  37. package/dist/chunk-7AQSH3KR.js +2 -0
  38. package/dist/chunk-7GGZA5YU.cjs +2 -0
  39. package/dist/chunk-7I6URA6F.js +4 -0
  40. package/dist/chunk-7JWQ2PZP.cjs +1 -0
  41. package/dist/chunk-7SSFHJTR.js +57 -0
  42. package/dist/chunk-7T35572E.js +75 -0
  43. package/dist/chunk-7V67ONUD.js +4 -0
  44. package/dist/chunk-7WMMKGEO.cjs +1 -0
  45. package/dist/chunk-A73AVVFR.js +11 -0
  46. package/dist/chunk-AK754S3T.cjs +2 -0
  47. package/dist/chunk-AMGJ5AFH.cjs +1 -0
  48. package/dist/chunk-ATBH763U.js +2 -0
  49. package/dist/chunk-B3GDQ7UI.cjs +114 -0
  50. package/dist/chunk-BAVN7VDR.cjs +1 -0
  51. package/dist/chunk-BCEE4NBZ.cjs +2 -0
  52. package/dist/{chunk-J4252I5B.cjs → chunk-BHR7OAU4.cjs} +4 -4
  53. package/dist/chunk-BLH2MRK4.js +2 -0
  54. package/dist/chunk-BPMA2ECA.js +10 -0
  55. package/dist/chunk-BUNLC3II.cjs +1 -0
  56. package/dist/chunk-C2PXMVR5.js +2 -0
  57. package/dist/chunk-CGPAS4U5.js +4 -0
  58. package/dist/chunk-DS5DE5BU.js +2 -0
  59. package/dist/chunk-DUO523BH.cjs +1 -0
  60. package/dist/chunk-DVWYO3KK.cjs +1 -0
  61. package/dist/chunk-E27KEZPT.js +2 -0
  62. package/dist/chunk-EHWUALGH.cjs +1 -0
  63. package/dist/chunk-EN65ZEK2.cjs +2 -0
  64. package/dist/chunk-EOOZDOL7.js +3 -0
  65. package/dist/chunk-EZIDQBXI.cjs +1 -0
  66. package/dist/chunk-F4ITQ6XQ.cjs +3 -0
  67. package/dist/chunk-FLM37UVD.js +2 -0
  68. package/dist/chunk-GIS6X43A.cjs +3 -0
  69. package/dist/chunk-GNEVCEJU.cjs +3 -0
  70. package/dist/chunk-GNOSG3PK.cjs +1 -0
  71. package/dist/chunk-HLAEJB5R.js +384 -0
  72. package/dist/chunk-HPYH7GTS.cjs +1 -0
  73. package/dist/chunk-HT44I66C.js +24 -0
  74. package/dist/chunk-HTYVI2HK.cjs +9 -0
  75. package/dist/chunk-ICVQWR2A.js +2 -0
  76. package/dist/chunk-IP6JUEH3.js +3 -0
  77. package/dist/chunk-IPXOY4RI.js +2 -0
  78. package/dist/chunk-J6U5LWZ7.js +11 -0
  79. package/dist/{chunk-UHFDH3PG.js → chunk-JT36FTHY.cjs} +4 -4
  80. package/dist/chunk-JUJZOG6P.js +2 -0
  81. package/dist/{chunk-2BTRHVT3.cjs → chunk-K7YNEKVE.js} +5 -4
  82. package/dist/chunk-KCHPADCH.cjs +7 -0
  83. package/dist/chunk-KH7LM52S.js +3 -0
  84. package/dist/chunk-LEBM6ZSZ.cjs +10 -0
  85. package/dist/chunk-LQ3YZTPU.cjs +15 -0
  86. package/dist/chunk-LY7N3UHH.cjs +23 -0
  87. package/dist/chunk-M6ESQ5TE.cjs +56 -0
  88. package/dist/chunk-MCZ3YZ2L.js +2 -0
  89. package/dist/chunk-MP5VC5ER.cjs +1 -0
  90. package/dist/chunk-MVX2PYJJ.cjs +1 -0
  91. package/dist/chunk-MY42EWZP.js +2 -0
  92. package/dist/chunk-MZOWPV4D.js +20 -0
  93. package/dist/chunk-NGNJSUGL.cjs +1 -0
  94. package/dist/chunk-NWCREF47.js +3 -0
  95. package/dist/chunk-OMWQVPV7.js +14 -0
  96. package/dist/chunk-ORG67NXX.js +3 -0
  97. package/dist/chunk-OSAVAYJZ.js +16 -0
  98. package/dist/chunk-P7XYIKL6.cjs +300 -0
  99. package/dist/chunk-PBOZJOKN.js +2 -0
  100. package/dist/chunk-PITMDQYN.cjs +18 -0
  101. package/dist/chunk-PL5AIE6F.js +2 -0
  102. package/dist/chunk-QC4YXUBT.cjs +383 -0
  103. package/dist/chunk-QDHP5E4P.cjs +2 -0
  104. package/dist/chunk-QYI3GOHF.cjs +1 -0
  105. package/dist/chunk-R3NEPC4I.js +3 -0
  106. package/dist/chunk-R4LXRAMX.js +2 -0
  107. package/dist/chunk-S5HTTLN7.cjs +2 -0
  108. package/dist/chunk-STX5V7HG.cjs +20 -0
  109. package/dist/chunk-SVYUTQVE.js +115 -0
  110. package/dist/chunk-SYEP5QLG.js +19 -0
  111. package/dist/chunk-TR3ZS3T3.js +3 -0
  112. package/dist/chunk-UB5TJHQR.js +2 -0
  113. package/dist/chunk-UD6ZPO7T.js +2 -0
  114. package/dist/chunk-UK43ADRO.js +270 -0
  115. package/dist/chunk-UNYXWPLZ.cjs +2 -0
  116. package/dist/chunk-VBPAAQEF.js +2 -0
  117. package/dist/chunk-VIUU4D5I.js +2 -0
  118. package/dist/chunk-VJ2WMKPK.js +21 -0
  119. package/dist/chunk-VOQUO2EZ.cjs +74 -0
  120. package/dist/chunk-VQ53TFYA.cjs +1 -0
  121. package/dist/chunk-VRZC4TTF.cjs +1 -0
  122. package/dist/chunk-W46LZ4MY.js +2 -0
  123. package/dist/chunk-WCFHS7EZ.cjs +1 -0
  124. package/dist/chunk-WGESLAWV.js +8 -0
  125. package/dist/chunk-WSP7PSXC.js +8 -0
  126. package/dist/chunk-X54XZACS.cjs +10 -0
  127. package/dist/{chunk-Q2UYCYKV.js → chunk-XBH4YMC7.js} +5 -4
  128. package/dist/chunk-XDE7CFV6.cjs +19 -0
  129. package/dist/chunk-XOACKBG7.js +4 -0
  130. package/dist/chunk-XPPVX4GQ.cjs +1 -0
  131. package/dist/chunk-ZJE3VAAW.js +134 -0
  132. package/dist/chunk-ZO3YB5DK.cjs +1 -0
  133. package/dist/chunk-ZOVH6QT5.cjs +1 -0
  134. package/dist/chunk-ZYDOF65Q.cjs +1 -0
  135. package/dist/cli/index.cjs +197 -78
  136. package/dist/cli/index.js +198 -78
  137. package/dist/client.cjs +1 -1
  138. package/dist/client.d.cts +1 -1
  139. package/dist/client.d.ts +1 -1
  140. package/dist/client.js +2 -1
  141. package/dist/d1-5ZQJOFDX.cjs +1 -0
  142. package/dist/d1-VPH75GI2.js +2 -0
  143. package/dist/dist-es-3SSNUZST.cjs +1 -0
  144. package/dist/dist-es-6SVFVYN3.js +1 -0
  145. package/dist/dist-es-6TQTDPE7.js +2 -0
  146. package/dist/dist-es-A5OF2STN.cjs +2 -0
  147. package/dist/dist-es-BOW5V247.cjs +6 -0
  148. package/dist/dist-es-CRIMATLL.cjs +2 -0
  149. package/dist/dist-es-DL3VLVP6.cjs +1 -0
  150. package/dist/dist-es-EMUQ6ZNZ.js +3 -0
  151. package/dist/dist-es-MNIQZC4U.js +2 -0
  152. package/dist/dist-es-P25IKLBI.cjs +1 -0
  153. package/dist/dist-es-SJ76GYCI.js +2 -0
  154. package/dist/dist-es-SRPWSAF4.cjs +1 -0
  155. package/dist/dist-es-T2H2W5BX.cjs +3 -0
  156. package/dist/dist-es-TX4DBXEW.js +3 -0
  157. package/dist/dist-es-U4ZB3ZDA.js +7 -0
  158. package/dist/dist-es-XZBHIIKY.js +4 -0
  159. package/dist/drizzle/index.cjs +1 -1
  160. package/dist/drizzle/index.d.cts +2 -2
  161. package/dist/drizzle/index.d.ts +2 -2
  162. package/dist/drizzle/index.js +1 -1
  163. package/dist/drizzle-orm-47ELDEM6.cjs +1 -0
  164. package/dist/drizzle-orm-7YTX5NTT.js +1 -0
  165. package/dist/event-streams-25YJ2Z6R.js +1 -0
  166. package/dist/event-streams-JBMWCI2O.cjs +1 -0
  167. package/dist/fields/index.cjs +1 -1
  168. package/dist/fields/index.js +1 -1
  169. package/dist/fs-DGKZLRM6.cjs +1 -0
  170. package/dist/fs-YZJ5FM6J.js +2 -0
  171. package/dist/graphql/index.cjs +1 -1
  172. package/dist/graphql/index.d.cts +2 -2
  173. package/dist/graphql/index.d.ts +2 -2
  174. package/dist/graphql/index.js +1 -1
  175. package/dist/{index-DTz6u7w9.d.cts → index-BJ1rwHxk.d.cts} +1 -1
  176. package/dist/{index-BeQtbl3z.d.ts → index-BTjlptCL.d.ts} +1 -1
  177. package/dist/index.cjs +28 -46
  178. package/dist/index.d.cts +23 -9
  179. package/dist/index.d.ts +23 -9
  180. package/dist/index.js +29 -46
  181. package/dist/integration.cjs +1 -1
  182. package/dist/integration.js +1 -1
  183. package/dist/jsonwebtoken-DFB6ZBZA.cjs +8 -0
  184. package/dist/jsonwebtoken-S7BG2YWK.js +9 -0
  185. package/dist/lib-5QYYN6ML.cjs +12 -0
  186. package/dist/lib-IYW32OER.js +13 -0
  187. package/dist/loadSso-JY4WDQPS.cjs +2 -0
  188. package/dist/loadSso-YTG2GQGW.js +3 -0
  189. package/dist/local-VDCSEMC2.js +1 -0
  190. package/dist/local-YCWBUF3R.cjs +1 -0
  191. package/dist/media-3Z6YW5J4.cjs +1 -0
  192. package/dist/media-HK2IZMUZ.js +1 -0
  193. package/dist/mongo-auth-adapter-7K64Y2QM.cjs +1 -0
  194. package/dist/mongo-auth-adapter-BUKINEZL.js +1 -0
  195. package/dist/mongodb/index.cjs +1 -1
  196. package/dist/mongodb/index.d.cts +2 -2
  197. package/dist/mongodb/index.d.ts +2 -2
  198. package/dist/mongodb/index.js +1 -1
  199. package/dist/nodemailer-AXROO37D.js +54 -0
  200. package/dist/nodemailer-IDML4L6W.cjs +53 -0
  201. package/dist/postgres-auth-adapter-2M4RNEY3.cjs +1 -0
  202. package/dist/postgres-auth-adapter-MKSHIJDL.js +1 -0
  203. package/dist/postgres-js-3Y54EXVQ.cjs +1 -0
  204. package/dist/postgres-js-INQPBHJP.js +1 -0
  205. package/dist/redis-adapter-EGMUN65D.cjs +1 -0
  206. package/dist/redis-adapter-SXOXLHNH.js +1 -0
  207. package/dist/rest/index.cjs +1 -1
  208. package/dist/rest/index.d.cts +5 -5
  209. package/dist/rest/index.d.ts +5 -5
  210. package/dist/rest/index.js +1 -1
  211. package/dist/schema-RT6WSUYC.cjs +1 -0
  212. package/dist/schema-XC5ISGNR.js +2 -0
  213. package/dist/signin-KZBIAHGS.js +3 -0
  214. package/dist/signin-VFBLX7EL.cjs +2 -0
  215. package/dist/sqlite-adapter-DV7ZX2EJ.js +1 -0
  216. package/dist/sqlite-adapter-ZTABLT2X.cjs +1 -0
  217. package/dist/src-6LAUXXDM.cjs +1 -0
  218. package/dist/src-GZRZ4VAO.js +1 -0
  219. package/dist/sso-oidc-54BIRYR6.cjs +2 -0
  220. package/dist/sso-oidc-SX5OIQGG.js +3 -0
  221. package/dist/sts-HVGDJYIF.js +3 -0
  222. package/dist/sts-YLXXIB3X.cjs +2 -0
  223. package/dist/templates/index.cjs +1 -1
  224. package/dist/templates/index.d.cts +1 -1
  225. package/dist/templates/index.d.ts +1 -1
  226. package/dist/templates/index.js +1 -1
  227. package/dist/trpc/index.cjs +1 -1
  228. package/dist/trpc/index.d.cts +7 -7
  229. package/dist/trpc/index.d.ts +7 -7
  230. package/dist/trpc/index.js +1 -1
  231. package/dist/{types-CaXXmV9h.d.ts → types-CYGXsNcJ.d.ts} +5 -5
  232. package/dist/{types-BjivdGbU.d.cts → types-DOKMyC3y.d.cts} +5 -5
  233. package/dist/ws/index.cjs +1 -1
  234. package/dist/ws/index.js +1 -1
  235. package/package.json +2 -2
  236. package/dist/bootstrap-ROSTPMVL.js +0 -1
  237. package/dist/bootstrap-WW5NJ6EB.cjs +0 -1
  238. package/dist/chunk-3CVLI5C5.cjs +0 -3
  239. package/dist/chunk-3Q2WUG63.cjs +0 -2
  240. package/dist/chunk-3RSMK4DA.cjs +0 -2
  241. package/dist/chunk-4IGWJMBY.cjs +0 -2
  242. package/dist/chunk-4ORJMSJU.cjs +0 -1
  243. package/dist/chunk-4RMFCTWH.js +0 -1
  244. package/dist/chunk-5B6X2GBJ.js +0 -2
  245. package/dist/chunk-5J6HXUF6.js +0 -1
  246. package/dist/chunk-5KOQYQEE.js +0 -1
  247. package/dist/chunk-5SEHX7ON.js +0 -1
  248. package/dist/chunk-6ROHVUXF.js +0 -1
  249. package/dist/chunk-6SPPR5JZ.js +0 -3
  250. package/dist/chunk-7IVN6TTY.js +0 -133
  251. package/dist/chunk-AHSFSERC.cjs +0 -1
  252. package/dist/chunk-B5XWYVWK.js +0 -1
  253. package/dist/chunk-BGX27ZRG.cjs +0 -300
  254. package/dist/chunk-C2W5PSHC.js +0 -300
  255. package/dist/chunk-CCUQZ66T.cjs +0 -133
  256. package/dist/chunk-D5P2IPGX.cjs +0 -3
  257. package/dist/chunk-EPMGPNBE.js +0 -1
  258. package/dist/chunk-FHJJKFAU.cjs +0 -1
  259. package/dist/chunk-FVZ5RFLO.js +0 -2
  260. package/dist/chunk-FZ6Q2EBJ.cjs +0 -20
  261. package/dist/chunk-G3J2EU5D.cjs +0 -1
  262. package/dist/chunk-G7SSHELM.cjs +0 -1
  263. package/dist/chunk-GKYEJ2UF.js +0 -1
  264. package/dist/chunk-GO34AOBZ.cjs +0 -1
  265. package/dist/chunk-GYQMNXXW.cjs +0 -114
  266. package/dist/chunk-HLSB2MCK.js +0 -1
  267. package/dist/chunk-HQP2Y7QQ.js +0 -251
  268. package/dist/chunk-HS2KNFAB.cjs +0 -2
  269. package/dist/chunk-HVXO3OFB.cjs +0 -1
  270. package/dist/chunk-IETGL7WJ.js +0 -1
  271. package/dist/chunk-IFJ73O3A.cjs +0 -1
  272. package/dist/chunk-ILEZ3NYX.cjs +0 -2
  273. package/dist/chunk-INB4LNA6.js +0 -90
  274. package/dist/chunk-K6WUOU6P.js +0 -1
  275. package/dist/chunk-KD7LUCFY.cjs +0 -1
  276. package/dist/chunk-KDNYHLD2.js +0 -1
  277. package/dist/chunk-LHW4R367.js +0 -1
  278. package/dist/chunk-MIOMMB23.cjs +0 -1
  279. package/dist/chunk-N5VNHUJS.cjs +0 -4
  280. package/dist/chunk-NRLIGDYF.js +0 -1
  281. package/dist/chunk-NY47CFVP.cjs +0 -1
  282. package/dist/chunk-NZJAGASC.cjs +0 -251
  283. package/dist/chunk-OG7CNQGU.js +0 -1
  284. package/dist/chunk-PP5S2UBV.js +0 -0
  285. package/dist/chunk-PP7W5UKL.js +0 -2
  286. package/dist/chunk-Q3Q7BJVQ.cjs +0 -1
  287. package/dist/chunk-QCA3AP3M.cjs +0 -1
  288. package/dist/chunk-QOCHBPMK.js +0 -2
  289. package/dist/chunk-QYFU5Y7S.js +0 -3
  290. package/dist/chunk-RHCWCG3O.js +0 -114
  291. package/dist/chunk-SK2Q4PRV.cjs +0 -90
  292. package/dist/chunk-TFBHE5FF.cjs +0 -1
  293. package/dist/chunk-UBRYJP2G.js +0 -1
  294. package/dist/chunk-V65NPSR5.cjs +0 -1
  295. package/dist/chunk-VGQ4VUG6.js +0 -2
  296. package/dist/chunk-W7C6SJXZ.js +0 -20
  297. package/dist/chunk-WIZ6C5QZ.cjs +0 -1
  298. package/dist/chunk-ZIWJJRWQ.js +0 -4
  299. package/dist/chunk-ZUVP4UK7.cjs +0 -1
  300. package/dist/media-L5XDD47D.js +0 -1
  301. package/dist/media-OUBQTIQP.cjs +0 -1
  302. package/dist/mongo-auth-adapter-5TJO5J5U.js +0 -1
  303. package/dist/mongo-auth-adapter-JVE5M3S4.cjs +0 -1
  304. package/dist/postgres-auth-adapter-33QOIRXT.js +0 -1
  305. package/dist/postgres-auth-adapter-JKDYYULH.cjs +0 -1
  306. package/dist/redis-adapter-NN3H4GRX.js +0 -1
  307. package/dist/redis-adapter-OUKQGYCH.cjs +0 -1
  308. package/dist/schema-HIUSHSUI.cjs +0 -1
  309. package/dist/schema-KFYUM674.js +0 -1
  310. package/dist/sqlite-adapter-GTTVSXRV.cjs +0 -1
  311. package/dist/sqlite-adapter-UPANATIW.js +0 -1
@@ -0,0 +1 @@
1
+ 'use strict';var chunkB3GDQ7UI_cjs=require('./chunk-B3GDQ7UI.cjs');require('./chunk-7JWQ2PZP.cjs'),require('./chunk-BAVN7VDR.cjs'),require('./chunk-NGNJSUGL.cjs'),require('./chunk-BCEE4NBZ.cjs'),require('./chunk-VRZC4TTF.cjs'),require('./chunk-HTYVI2HK.cjs'),require('./chunk-BUNLC3II.cjs');Object.defineProperty(exports,"PostgresAuthAdapter",{enumerable:true,get:function(){return chunkB3GDQ7UI_cjs.a}});
@@ -0,0 +1 @@
1
+ import {createRequire}from'module';export{a as PostgresAuthAdapter}from'./chunk-SVYUTQVE.js';import'./chunk-VIUU4D5I.js';import'./chunk-66BJXVFJ.js';import'./chunk-2BUODBE2.js';import'./chunk-IP6JUEH3.js';import'./chunk-7AQSH3KR.js';import'./chunk-BPMA2ECA.js';import'./chunk-C2PXMVR5.js';createRequire(import.meta.url);
@@ -0,0 +1 @@
1
+ 'use strict';var chunkKCHPADCH_cjs=require('./chunk-KCHPADCH.cjs');require('./chunk-LY7N3UHH.cjs'),require('./chunk-GNOSG3PK.cjs'),require('./chunk-BAVN7VDR.cjs'),require('./chunk-BCEE4NBZ.cjs'),require('./chunk-VRZC4TTF.cjs'),require('./chunk-BUNLC3II.cjs');Object.defineProperty(exports,"PostgresJsDatabase",{enumerable:true,get:function(){return chunkKCHPADCH_cjs.e}});Object.defineProperty(exports,"PostgresJsPreparedQuery",{enumerable:true,get:function(){return chunkKCHPADCH_cjs.b}});Object.defineProperty(exports,"PostgresJsSession",{enumerable:true,get:function(){return chunkKCHPADCH_cjs.c}});Object.defineProperty(exports,"PostgresJsTransaction",{enumerable:true,get:function(){return chunkKCHPADCH_cjs.d}});Object.defineProperty(exports,"drizzle",{enumerable:true,get:function(){return chunkKCHPADCH_cjs.f}});
@@ -0,0 +1 @@
1
+ import {createRequire}from'module';export{e as PostgresJsDatabase,b as PostgresJsPreparedQuery,c as PostgresJsSession,d as PostgresJsTransaction,f as drizzle}from'./chunk-WGESLAWV.js';import'./chunk-HT44I66C.js';import'./chunk-VBPAAQEF.js';import'./chunk-66BJXVFJ.js';import'./chunk-IP6JUEH3.js';import'./chunk-7AQSH3KR.js';import'./chunk-C2PXMVR5.js';createRequire(import.meta.url);
@@ -0,0 +1 @@
1
+ 'use strict';var chunkS5HTTLN7_cjs=require('./chunk-S5HTTLN7.cjs');require('./chunk-F4ITQ6XQ.cjs'),require('./chunk-HTYVI2HK.cjs'),require('./chunk-BUNLC3II.cjs');Object.defineProperty(exports,"RedisAuthAdapter",{enumerable:true,get:function(){return chunkS5HTTLN7_cjs.a}});
@@ -0,0 +1 @@
1
+ import {createRequire}from'module';export{a as RedisAuthAdapter}from'./chunk-TR3ZS3T3.js';import'./chunk-CGPAS4U5.js';import'./chunk-BPMA2ECA.js';import'./chunk-C2PXMVR5.js';createRequire(import.meta.url);
@@ -1 +1 @@
1
- 'use strict';var chunkNZJAGASC_cjs=require('../chunk-NZJAGASC.cjs');require('../chunk-BGX27ZRG.cjs'),require('../chunk-WIZ6C5QZ.cjs'),require('../chunk-GO34AOBZ.cjs'),require('../chunk-J4252I5B.cjs'),require('../chunk-HVXO3OFB.cjs'),require('../chunk-ILEZ3NYX.cjs'),require('../chunk-NY47CFVP.cjs'),require('../chunk-CCUQZ66T.cjs'),require('../chunk-GYQMNXXW.cjs'),require('../chunk-MIOMMB23.cjs'),require('../chunk-QCA3AP3M.cjs'),require('../chunk-FHJJKFAU.cjs'),require('../chunk-D5P2IPGX.cjs'),require('../chunk-G7SSHELM.cjs'),require('../chunk-Q3Q7BJVQ.cjs'),require('../chunk-AHSFSERC.cjs');Object.defineProperty(exports,"createHonoApp",{enumerable:true,get:function(){return chunkNZJAGASC_cjs.u}});Object.defineProperty(exports,"createRESTAPI",{enumerable:true,get:function(){return chunkNZJAGASC_cjs.v}});
1
+ 'use strict';var chunk6V3AP7HR_cjs=require('../chunk-6V3AP7HR.cjs');require('../chunk-P7XYIKL6.cjs'),require('../chunk-HPYH7GTS.cjs'),require('../chunk-BHR7OAU4.cjs'),require('../chunk-XPPVX4GQ.cjs'),require('../chunk-35PGCW3S.cjs'),require('../chunk-UNYXWPLZ.cjs'),require('../chunk-PITMDQYN.cjs'),require('../chunk-GIS6X43A.cjs'),require('../chunk-LEBM6ZSZ.cjs'),require('../chunk-GNEVCEJU.cjs'),require('../chunk-ZO3YB5DK.cjs'),require('../chunk-3VXEK5ZW.cjs'),require('../chunk-EZIDQBXI.cjs'),require('../chunk-LQ3YZTPU.cjs'),require('../chunk-MVX2PYJJ.cjs'),require('../chunk-AK754S3T.cjs'),require('../chunk-DUO523BH.cjs'),require('../chunk-6KUL2BSA.cjs'),require('../chunk-KCHPADCH.cjs'),require('../chunk-LY7N3UHH.cjs'),require('../chunk-7ACHOBWY.cjs'),require('../chunk-GNOSG3PK.cjs'),require('../chunk-B3GDQ7UI.cjs'),require('../chunk-7JWQ2PZP.cjs'),require('../chunk-BAVN7VDR.cjs'),require('../chunk-NGNJSUGL.cjs'),require('../chunk-BCEE4NBZ.cjs'),require('../chunk-VRZC4TTF.cjs'),require('../chunk-5DWYVUQR.cjs'),require('../chunk-VQ53TFYA.cjs'),require('../chunk-F4ITQ6XQ.cjs'),require('../chunk-HTYVI2HK.cjs'),require('../chunk-ZOVH6QT5.cjs'),require('../chunk-7WMMKGEO.cjs'),require('../chunk-BUNLC3II.cjs');Object.defineProperty(exports,"createHonoApp",{enumerable:true,get:function(){return chunk6V3AP7HR_cjs.qb}});Object.defineProperty(exports,"createRESTAPI",{enumerable:true,get:function(){return chunk6V3AP7HR_cjs.rb}});
@@ -1,7 +1,7 @@
1
1
  import { Hono } from 'hono';
2
- import { B as BaseAdapter, k as User } from '../types-BjivdGbU.cjs';
3
- import { R as Registry } from '../index-DTz6u7w9.cjs';
4
- import { j as createWebhookService } from '../WebhookService-BBcCHBo8.cjs';
2
+ import { B as BaseAdapter, k as User } from '../types-DOKMyC3y.cjs';
3
+ import { R as Registry } from '../index-BJ1rwHxk.cjs';
4
+ import { j as createWebhookService } from '../WebhookService-DgIx21X-.cjs';
5
5
  import '../types-euTszc-1.cjs';
6
6
  import 'zod';
7
7
 
@@ -40,7 +40,7 @@ interface HonoAppOptions {
40
40
  };
41
41
  };
42
42
  }
43
- declare function createHonoApp(options: HonoAppOptions): Hono;
43
+ declare function createHonoApp(options: HonoAppOptions): Promise<Hono>;
44
44
  declare function createRESTAPI(registry: Registry, db: BaseAdapter, options?: {
45
45
  authSecret?: string;
46
46
  user?: User;
@@ -51,6 +51,6 @@ declare function createRESTAPI(registry: Registry, db: BaseAdapter, options?: {
51
51
  credentials?: boolean;
52
52
  };
53
53
  webhookService?: ReturnType<typeof createWebhookService>;
54
- }): Hono;
54
+ }): Promise<Hono>;
55
55
 
56
56
  export { type HonoAppOptions, createHonoApp, createRESTAPI };
@@ -1,7 +1,7 @@
1
1
  import { Hono } from 'hono';
2
- import { B as BaseAdapter, k as User } from '../types-CaXXmV9h.js';
3
- import { R as Registry } from '../index-BeQtbl3z.js';
4
- import { j as createWebhookService } from '../WebhookService-C19xR8qE.js';
2
+ import { B as BaseAdapter, k as User } from '../types-CYGXsNcJ.js';
3
+ import { R as Registry } from '../index-BTjlptCL.js';
4
+ import { j as createWebhookService } from '../WebhookService-CZf_na-J.js';
5
5
  import '../types-euTszc-1.js';
6
6
  import 'zod';
7
7
 
@@ -40,7 +40,7 @@ interface HonoAppOptions {
40
40
  };
41
41
  };
42
42
  }
43
- declare function createHonoApp(options: HonoAppOptions): Hono;
43
+ declare function createHonoApp(options: HonoAppOptions): Promise<Hono>;
44
44
  declare function createRESTAPI(registry: Registry, db: BaseAdapter, options?: {
45
45
  authSecret?: string;
46
46
  user?: User;
@@ -51,6 +51,6 @@ declare function createRESTAPI(registry: Registry, db: BaseAdapter, options?: {
51
51
  credentials?: boolean;
52
52
  };
53
53
  webhookService?: ReturnType<typeof createWebhookService>;
54
- }): Hono;
54
+ }): Promise<Hono>;
55
55
 
56
56
  export { type HonoAppOptions, createHonoApp, createRESTAPI };
@@ -1 +1 @@
1
- export{u as createHonoApp,v as createRESTAPI}from'../chunk-HQP2Y7QQ.js';import'../chunk-C2W5PSHC.js';import'../chunk-K6WUOU6P.js';import'../chunk-IETGL7WJ.js';import'../chunk-Q2UYCYKV.js';import'../chunk-NRLIGDYF.js';import'../chunk-FVZ5RFLO.js';import'../chunk-HLSB2MCK.js';import'../chunk-7IVN6TTY.js';import'../chunk-RHCWCG3O.js';import'../chunk-OG7CNQGU.js';import'../chunk-6ROHVUXF.js';import'../chunk-5KOQYQEE.js';import'../chunk-6SPPR5JZ.js';import'../chunk-4RMFCTWH.js';import'../chunk-KDNYHLD2.js';import'../chunk-5J6HXUF6.js';
1
+ import {createRequire}from'module';export{qb as createHonoApp,rb as createRESTAPI}from'../chunk-UK43ADRO.js';import'../chunk-45TJAB5X.js';import'../chunk-R4LXRAMX.js';import'../chunk-XBH4YMC7.js';import'../chunk-PL5AIE6F.js';import'../chunk-MY42EWZP.js';import'../chunk-KH7LM52S.js';import'../chunk-SYEP5QLG.js';import'../chunk-7I6URA6F.js';import'../chunk-A73AVVFR.js';import'../chunk-XOACKBG7.js';import'../chunk-2WFTETFB.js';import'../chunk-ATBH763U.js';import'../chunk-ICVQWR2A.js';import'../chunk-OSAVAYJZ.js';import'../chunk-UD6ZPO7T.js';import'../chunk-NWCREF47.js';import'../chunk-E27KEZPT.js';import'../chunk-ZJE3VAAW.js';import'../chunk-WGESLAWV.js';import'../chunk-HT44I66C.js';import'../chunk-OMWQVPV7.js';import'../chunk-VBPAAQEF.js';import'../chunk-SVYUTQVE.js';import'../chunk-VIUU4D5I.js';import'../chunk-66BJXVFJ.js';import'../chunk-2BUODBE2.js';import'../chunk-IP6JUEH3.js';import'../chunk-7AQSH3KR.js';import'../chunk-6QWLXJ7L.js';import'../chunk-MCZ3YZ2L.js';import'../chunk-CGPAS4U5.js';import'../chunk-BPMA2ECA.js';import'../chunk-BLH2MRK4.js';import'../chunk-6KRR7YHA.js';import'../chunk-C2PXMVR5.js';createRequire(import.meta.url);
@@ -0,0 +1 @@
1
+ 'use strict';var chunkEHWUALGH_cjs=require('./chunk-EHWUALGH.cjs'),chunkHPYH7GTS_cjs=require('./chunk-HPYH7GTS.cjs'),chunk7JWQ2PZP_cjs=require('./chunk-7JWQ2PZP.cjs');require('./chunk-BAVN7VDR.cjs'),require('./chunk-VRZC4TTF.cjs');var chunkBUNLC3II_cjs=require('./chunk-BUNLC3II.cjs');chunkBUNLC3II_cjs.h();Object.defineProperty(exports,"media",{enumerable:true,get:function(){return chunkEHWUALGH_cjs.a}});Object.defineProperty(exports,"mediaFolders",{enumerable:true,get:function(){return chunkEHWUALGH_cjs.b}});Object.defineProperty(exports,"settings",{enumerable:true,get:function(){return chunkHPYH7GTS_cjs.a}});Object.defineProperty(exports,"apiKeys",{enumerable:true,get:function(){return chunk7JWQ2PZP_cjs.g}});Object.defineProperty(exports,"auditLogs",{enumerable:true,get:function(){return chunk7JWQ2PZP_cjs.e}});Object.defineProperty(exports,"emailVerifications",{enumerable:true,get:function(){return chunk7JWQ2PZP_cjs.h}});Object.defineProperty(exports,"lockouts",{enumerable:true,get:function(){return chunk7JWQ2PZP_cjs.k}});Object.defineProperty(exports,"passwordHistory",{enumerable:true,get:function(){return chunk7JWQ2PZP_cjs.j}});Object.defineProperty(exports,"passwordResets",{enumerable:true,get:function(){return chunk7JWQ2PZP_cjs.i}});Object.defineProperty(exports,"permissions",{enumerable:true,get:function(){return chunk7JWQ2PZP_cjs.c}});Object.defineProperty(exports,"roles",{enumerable:true,get:function(){return chunk7JWQ2PZP_cjs.b}});Object.defineProperty(exports,"sessions",{enumerable:true,get:function(){return chunk7JWQ2PZP_cjs.d}});Object.defineProperty(exports,"tenants",{enumerable:true,get:function(){return chunk7JWQ2PZP_cjs.f}});Object.defineProperty(exports,"users",{enumerable:true,get:function(){return chunk7JWQ2PZP_cjs.a}});
@@ -0,0 +1,2 @@
1
+ import {createRequire}from'module';export{a as media,b as mediaFolders}from'./chunk-W46LZ4MY.js';export{a as settings}from'./chunk-R4LXRAMX.js';export{g as apiKeys,e as auditLogs,h as emailVerifications,k as lockouts,j as passwordHistory,i as passwordResets,c as permissions,b as roles,d as sessions,f as tenants,a as users}from'./chunk-VIUU4D5I.js';import'./chunk-66BJXVFJ.js';import'./chunk-7AQSH3KR.js';import {g}from'./chunk-C2PXMVR5.js';createRequire(import.meta.url);
2
+ g();
@@ -0,0 +1,3 @@
1
+ import {createRequire}from'module';import {a as a$3}from'./chunk-ORG67NXX.js';import {h,k as k$1,c as c$3,f as f$2}from'./chunk-SYEP5QLG.js';import {a as a$2}from'./chunk-7I6URA6F.js';import {p as p$1,q as q$1,R as R$1,r as r$1,n as n$1,u,e,f as f$1,c as c$1,N as N$1,x as x$1,t,O as O$1,z as z$1,B as B$1,C,D as D$1,E as E$1,I as I$1,G,i,a as a$1,Q,v as v$1,y as y$1,w as w$1,P as P$1,T as T$2,j as j$1,U,k as k$2,m,J,h as h$2,s}from'./chunk-A73AVVFR.js';export{d as $Command,c as __Client}from'./chunk-A73AVVFR.js';import {n,H,l as l$1,T as T$1,I as I$2,C as C$1,E as E$2,D as D$2,F,G as G$1,h as h$1,R as R$2,S as S$1,d as d$1,i as i$1}from'./chunk-XOACKBG7.js';import {d as d$2}from'./chunk-ICVQWR2A.js';import {z as z$2,u as u$1,e as e$1,c as c$2,d as d$3,b as b$1}from'./chunk-OSAVAYJZ.js';import {g as g$1}from'./chunk-C2PXMVR5.js';createRequire(import.meta.url);
2
+ g$1();g$1();g$1();var Ze=async(e,t,n)=>({operation:d$1(t).operation,region:await h$1(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function Lt(e){return {schemeId:"aws.auth#sigv4",signingProperties:{name:"signin",region:e.region},propertiesExtractor:(t,n)=>({signingProperties:{config:t,context:n}})}}function zt(e){return {schemeId:"smithy.api#noAuth"}}var et=e=>{let t=[];return e.operation==="CreateOAuth2Token"?t.push(zt()):t.push(Lt(e)),t},tt=e=>{let t=k$1(e);return Object.assign(t,{authSchemePreference:h$1(e.authSchemePreference??[])})};g$1();var ot=e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??false,useFipsEndpoint:e.useFipsEndpoint??false,defaultSigningName:"signin"}),rt={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};g$1();g$1();g$1();g$1();var E="ref",l=-1,nt=false,S=true,st="isSet",A="booleanEquals",it="coalesce",$="PartitionResult",g="stringEquals",M="getAttr",at="https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}",ct={[E]:"Endpoint"},f={fn:M,argv:[{[E]:$},"name"]},dt={[E]:"Region"},pt={[E]:$},I={authSchemes:[{name:"sigv4",signingName:"signin",signingRegion:"{Region}"}]},c={},ut=[dt],mt={conditions:[[st,ut],[A,[{fn:it,argv:[{[E]:"IsControlPlane"},nt]},S]],[st,[ct]],["aws.partition",ut,$],[A,[{[E]:"UseFIPS"},S]],[g,[f,"aws"]],[A,[{fn:it,argv:[{[E]:"IsOAuthEndpoint"},nt]},S]],[A,[{[E]:"UseDualStack"},S]],[g,[f,"aws-cn"]],[g,[dt,"us-gov-west-1"]],[g,[f,"aws-us-gov"]],[A,[{fn:M,argv:[pt,"supportsFIPS"]},S]],[g,[f,"aws-iso"]],[g,[f,"aws-iso-b"]],[g,[f,"aws-iso-f"]],[g,[f,"aws-iso-e"]],[g,[f,"aws-eusc"]],[A,[{fn:M,argv:[pt,"supportsDualStack"]},S]]],results:[[l],["https://signin.{Region}.api.aws",I],["https://signin.{Region}.api.amazonwebservices.com.cn",I],[at,I],[l,"FIPS endpoints are not supported for OAuth operations. Disable FIPS or use a non-OAuth operation."],["https://{Region}.oauth.signin.aws",I],["https://{Region}.signin.aws.amazon.com",c],["https://{Region}.signin.amazonaws.cn",c],["https://{Region}.signin.amazonaws-us-gov.com",c],["https://{Region}.signin.c2shome.ic.gov",c],["https://{Region}.signin.sc2shome.sgov.gov",c],["https://{Region}.signin.csphome.hci.ic.gov",c],["https://{Region}.signin.csphome.adc-e.uk",c],["https://{Region}.signin.amazonaws-eusc.eu",c],["https://signin-fips.amazonaws-us-gov.com",c],["https://{Region}.signin-fips.amazonaws-us-gov.com",c],["https://{Region}.signin.{PartitionResult#dnsSuffix}",c],[l,"Invalid Configuration: FIPS and custom endpoint are not supported"],[l,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[ct,c],["https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",c],[l,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://signin-fips.{Region}.{PartitionResult#dnsSuffix}",c],[l,"FIPS is enabled but this partition does not support FIPS"],[at,c],[l,"DualStack is enabled but this partition does not support DualStack"],["https://signin.{Region}.{PartitionResult#dnsSuffix}",c],[l,"Invalid Configuration: Missing Region"]]},Wt=2,r=1e8,jt=new Int32Array([-1,1,-1,0,6,3,2,36,4,4,5,r+27,6,r+4,r+27,1,29,7,2,36,8,3,9,31,4,22,10,5,19,11,7,21,12,8,r+7,13,10,r+8,14,12,r+9,15,13,r+10,16,14,r+11,17,15,r+12,18,16,r+13,r+16,6,r+5,20,7,21,r+6,17,r+24,r+25,6,r+4,23,7,27,24,9,r+14,25,10,r+15,26,11,r+22,r+23,11,28,r+21,17,r+20,r+21,2,35,30,3,39,31,4,32,r+27,6,r+4,33,7,r+27,34,9,r+14,r+27,3,39,36,4,38,37,7,r+18,r+19,6,r+4,r+17,5,r+1,40,8,r+2,r+3]),gt=p$1.from(jt,Wt,mt.conditions,mt.results);var Bt=new q$1({size:50,params:["Endpoint","IsControlPlane","IsOAuthEndpoint","Region","UseDualStack","UseFIPS"]}),ht=(e,t={})=>Bt.get(e,()=>s(gt,{endpointParams:e,logger:t.logger}));r$1.aws=R$1;g$1();g$1();g$1();var d=class e extends f$1{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype);}};var O=class e extends d{name="AccessDeniedException";$fault="client";error;constructor(t){super({name:"AccessDeniedException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error;}},R=class e extends d{name="InternalServerException";$fault="server";error;constructor(t){super({name:"InternalServerException",$fault:"server",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error;}},x=class e extends d{name="TooManyRequestsError";$fault="client";error;constructor(t){super({name:"TooManyRequestsError",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error;}},P=class e extends d{name="ValidationException";$fault="client";error;constructor(t){super({name:"ValidationException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error;}};var Gt="AccessDeniedException",Kt="AccessToken",Xt="CreateOAuth2Token",Qt="CreateOAuth2TokenRequest",Yt="CreateOAuth2TokenRequestBody",Jt="CreateOAuth2TokenResponseBody",Zt="CreateOAuth2TokenResponse",eo="CreateOAuth2TokenWithIAM",to="CreateOAuth2TokenWithIAMRequest",oo="CreateOAuth2TokenWithIAMResponse",ro="InternalServerException",no="OAuthAccessToken",so="RefreshToken",io="TooManyRequestsError",ao="ValidationException",lt="accessKeyId",V="accessToken",co="access_token",W="client",ft="clientId",Et="codeVerifier",po="code",_="error",q="expiresIn",uo="expires_in",L="grantType",mo="grant_type",Ct="http",j="httpError",_t="idToken",a="jsonName",k="message",go="resource",T="refreshToken",St="redirectUri",It="smithy.ts.sdk.synthetic.com.amazonaws.signin",At="secretAccessKey",vt="sessionToken",ho="server",lo="tokenInput",fo="tokenOutput",z="tokenType",Eo="token_type",p="com.amazonaws.signin",Ot=n.for(It),_o=[-3,It,"SigninServiceException",0,[],[]];Ot.registerError(_o,d);var v=n.for(p),So=[-3,p,Gt,{[_]:W},[_,k],[0,0],2];v.registerError(So,O);var Ao=[-3,p,ro,{[_]:ho,[j]:500},[_,k],[0,0],2];v.registerError(Ao,R);var vo=[-3,p,io,{[_]:W,[j]:429},[_,k],[0,0],2];v.registerError(vo,x);var Co=[-3,p,ao,{[_]:W,[j]:400},[_,k],[0,0],2];v.registerError(Co,P);var Rt=[Ot,v],Io=[0,p,no,8,0],xt=[0,p,so,8,0],Oo=[3,p,Kt,8,[lt,At,vt],[[0,{[a]:lt}],[0,{[a]:At}],[0,{[a]:vt}]],3],Ro=[3,p,Qt,0,[lo],[[()=>xo,16]],1],xo=[3,p,Yt,0,[ft,L,po,St,Et,T],[[0,{[a]:ft}],[0,{[a]:L}],0,[0,{[a]:St}],[0,{[a]:Et}],[()=>xt,{[a]:T}]],2],Po=[3,p,Zt,0,[fo],[[()=>To,16]],1],To=[3,p,Jt,0,[V,z,q,T,_t],[[()=>Oo,{[a]:V}],[0,{[a]:z}],[1,{[a]:q}],[()=>xt,{[a]:T}],[0,{[a]:_t}]],4],ko=[3,p,to,0,[L,go],[[0,{[a]:mo}],0],2],Do=[3,p,oo,0,[V,z,q],[[()=>Io,{[a]:co}],[0,{[a]:Eo}],[1,{[a]:uo}]],3],Pt=[9,p,Xt,{[Ct]:["POST","/v1/token",200]},()=>Ro,()=>Po],Tt=[9,p,eo,{[Ct]:["POST","/v1/token?x-amz-client-auth-method=iam",200]},()=>ko,()=>Do];var kt=e=>({apiVersion:"2023-01-01",base64Decoder:e?.base64Decoder??b$1,base64Encoder:e?.base64Encoder??d$3,disableHostPrefix:e?.disableHostPrefix??false,endpointProvider:e?.endpointProvider??ht,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??et,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:t=>t.getIdentityProvider("aws.auth#sigv4"),signer:new f$2},{schemeId:"smithy.api#noAuth",identityProvider:t=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new J}],logger:e?.logger??new m,protocol:e?.protocol??c$3,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.signin",errorTypeRegistries:Rt,version:"2023-01-01",serviceTarget:"Signin"},serviceId:e?.serviceId??"Signin",sha256:e?.sha256??d$2,urlParser:e?.urlParser??i$1,utf8Decoder:e?.utf8Decoder??c$2,utf8Encoder:e?.utf8Encoder??e$1});var Dt=e=>{i(process.version);let t=I$2(e),n=()=>t().then(h$2),m=kt(e);a$1(process.version);let u={profile:e?.profile,logger:m.logger};return {...m,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??C$1(h,u),bodyLengthChecker:e?.bodyLengthChecker??u$1,defaultUserAgentProvider:e?.defaultUserAgentProvider??P$1({serviceId:m.serviceId,clientVersion:a$3.version}),maxAttempts:e?.maxAttempts??C$1(w$1,e),region:e?.region??C$1(F,{...G$1,...u}),requestHandler:a$2.create(e?.requestHandler??n),retryMode:e?.retryMode??C$1({...y$1,default:async()=>(await n()).retryMode||v$1},e),streamCollector:e?.streamCollector??z$2,useDualstackEndpoint:e?.useDualstackEndpoint??C$1(D$2,u),useFipsEndpoint:e?.useFipsEndpoint??C$1(E$2,u),userAgentAppId:e?.userAgentAppId??C$1(Q,u)}};g$1();g$1();var yt=e=>{let t=e.httpAuthSchemes,n=e.httpAuthSchemeProvider,m=e.credentials;return {setHttpAuthScheme(u){let C=t.findIndex(F=>F.schemeId===u.schemeId);C===-1?t.push(u):t.splice(C,1,u);},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(u){n=u;},httpAuthSchemeProvider(){return n},setCredentials(u){m=u;},credentials(){return m}}},Nt=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()});var wt=(e,t)=>{let n=Object.assign(T$2(e),j$1(e),R$2(e),yt(e));return t.forEach(m=>m.configure(n)),Object.assign(e,U(n),k$2(n),S$1(n),Nt(n))};var D=class extends c$1{config;constructor(...[t$1]){let n=Dt(t$1||{});super(n),this.initConfig=n;let m=ot(n),u=N$1(m),C$1=x$1(u),F=H(C$1),Ht=F,Ut=t(Ht),Mt=tt(Ut),$t=wt(Mt,t$1?.extensions||[]);this.config=$t,this.middlewareStack.use(l$1(this.config)),this.middlewareStack.use(O$1(this.config)),this.middlewareStack.use(z$1(this.config)),this.middlewareStack.use(T$1(this.config)),this.middlewareStack.use(B$1(this.config)),this.middlewareStack.use(C(this.config)),this.middlewareStack.use(D$1(this.config)),this.middlewareStack.use(E$1(this.config,{httpAuthSchemeParametersProvider:Ze,identityProviderConfigProvider:async Vt=>new I$1({"aws.auth#sigv4":Vt.credentials})})),this.middlewareStack.use(G(this.config));}destroy(){super.destroy();}};g$1();g$1();g$1();var y=n$1(rt,"Signin","SigninClient",u),bt={IsControlPlane:{type:"staticContextParams",value:false}},Ft={IsOAuthEndpoint:{type:"staticContextParams",value:true}},N=(e,t,n,m)=>[];var w=class extends y(bt,N,"CreateOAuth2Token",Pt){};g$1();var b=class extends y(Ft,N,"CreateOAuth2TokenWithIAM",Tt){};var yo={CreateOAuth2TokenCommand:w,CreateOAuth2TokenWithIAMCommand:b},B=class extends D{};e(yo,B);g$1();var ln={AUTHCODE_EXPIRED:"AUTHCODE_EXPIRED",CONFLICT:"CONFLICT",INSUFFICIENT_PERMISSIONS:"INSUFFICIENT_PERMISSIONS",INVALID_REQUEST:"INVALID_REQUEST",RESOURCE_NOT_FOUND:"RESOURCE_NOT_FOUND",SERVER_ERROR:"server_error",SERVICE_QUOTA_EXCEEDED:"SERVICE_QUOTA_EXCEEDED",TOKEN_EXPIRED:"TOKEN_EXPIRED",USER_CREDENTIALS_CHANGED:"USER_CREDENTIALS_CHANGED"};
3
+ export{O as AccessDeniedException,So as AccessDeniedException$,Oo as AccessToken$,Pt as CreateOAuth2Token$,w as CreateOAuth2TokenCommand,Ro as CreateOAuth2TokenRequest$,xo as CreateOAuth2TokenRequestBody$,Po as CreateOAuth2TokenResponse$,To as CreateOAuth2TokenResponseBody$,Tt as CreateOAuth2TokenWithIAM$,b as CreateOAuth2TokenWithIAMCommand,ko as CreateOAuth2TokenWithIAMRequest$,Do as CreateOAuth2TokenWithIAMResponse$,R as InternalServerException,Ao as InternalServerException$,ln as OAuth2ErrorCode,B as Signin,D as SigninClient,d as SigninServiceException,_o as SigninServiceException$,x as TooManyRequestsError,vo as TooManyRequestsError$,P as ValidationException,Co as ValidationException$,Rt as errorTypeRegistries};
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunkEN65ZEK2_cjs=require('./chunk-EN65ZEK2.cjs'),chunkPITMDQYN_cjs=require('./chunk-PITMDQYN.cjs'),chunkGIS6X43A_cjs=require('./chunk-GIS6X43A.cjs'),chunkLEBM6ZSZ_cjs=require('./chunk-LEBM6ZSZ.cjs'),chunkGNEVCEJU_cjs=require('./chunk-GNEVCEJU.cjs'),chunkEZIDQBXI_cjs=require('./chunk-EZIDQBXI.cjs'),chunkLQ3YZTPU_cjs=require('./chunk-LQ3YZTPU.cjs'),chunkBUNLC3II_cjs=require('./chunk-BUNLC3II.cjs');chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();var Je=async(e,t,n)=>({operation:chunkGNEVCEJU_cjs.d(t).operation,region:await chunkGNEVCEJU_cjs.h(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function qt(e){return {schemeId:"aws.auth#sigv4",signingProperties:{name:"signin",region:e.region},propertiesExtractor:(t,n)=>({signingProperties:{config:t,context:n}})}}function Lt(e){return {schemeId:"smithy.api#noAuth"}}var Ze=e=>{let t=[];return e.operation==="CreateOAuth2Token"?t.push(Lt()):t.push(qt(e)),t},et=e=>{let t=chunkPITMDQYN_cjs.k(e);return Object.assign(t,{authSchemePreference:chunkGNEVCEJU_cjs.h(e.authSchemePreference??[])})};chunkBUNLC3II_cjs.h();var tt=e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??false,useFipsEndpoint:e.useFipsEndpoint??false,defaultSigningName:"signin"}),ot={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();var f="ref",h=-1,rt=false,_=true,nt="isSet",S="booleanEquals",st="coalesce",M="PartitionResult",d="stringEquals",U="getAttr",it="https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}",at={[f]:"Endpoint"},l={fn:U,argv:[{[f]:M},"name"]},mt={[f]:"Region"},ct={[f]:M},C={authSchemes:[{name:"sigv4",signingName:"signin",signingRegion:"{Region}"}]},a={},pt=[mt],ut={conditions:[[nt,pt],[S,[{fn:st,argv:[{[f]:"IsControlPlane"},rt]},_]],[nt,[at]],["aws.partition",pt,M],[S,[{[f]:"UseFIPS"},_]],[d,[l,"aws"]],[S,[{fn:st,argv:[{[f]:"IsOAuthEndpoint"},rt]},_]],[S,[{[f]:"UseDualStack"},_]],[d,[l,"aws-cn"]],[d,[mt,"us-gov-west-1"]],[d,[l,"aws-us-gov"]],[S,[{fn:U,argv:[ct,"supportsFIPS"]},_]],[d,[l,"aws-iso"]],[d,[l,"aws-iso-b"]],[d,[l,"aws-iso-f"]],[d,[l,"aws-iso-e"]],[d,[l,"aws-eusc"]],[S,[{fn:U,argv:[ct,"supportsDualStack"]},_]]],results:[[h],["https://signin.{Region}.api.aws",C],["https://signin.{Region}.api.amazonwebservices.com.cn",C],[it,C],[h,"FIPS endpoints are not supported for OAuth operations. Disable FIPS or use a non-OAuth operation."],["https://{Region}.oauth.signin.aws",C],["https://{Region}.signin.aws.amazon.com",a],["https://{Region}.signin.amazonaws.cn",a],["https://{Region}.signin.amazonaws-us-gov.com",a],["https://{Region}.signin.c2shome.ic.gov",a],["https://{Region}.signin.sc2shome.sgov.gov",a],["https://{Region}.signin.csphome.hci.ic.gov",a],["https://{Region}.signin.csphome.adc-e.uk",a],["https://{Region}.signin.amazonaws-eusc.eu",a],["https://signin-fips.amazonaws-us-gov.com",a],["https://{Region}.signin-fips.amazonaws-us-gov.com",a],["https://{Region}.signin.{PartitionResult#dnsSuffix}",a],[h,"Invalid Configuration: FIPS and custom endpoint are not supported"],[h,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[at,a],["https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",a],[h,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://signin-fips.{Region}.{PartitionResult#dnsSuffix}",a],[h,"FIPS is enabled but this partition does not support FIPS"],[it,a],[h,"DualStack is enabled but this partition does not support DualStack"],["https://signin.{Region}.{PartitionResult#dnsSuffix}",a],[h,"Invalid Configuration: Missing Region"]]},zt=2,r=1e8,Wt=new Int32Array([-1,1,-1,0,6,3,2,36,4,4,5,r+27,6,r+4,r+27,1,29,7,2,36,8,3,9,31,4,22,10,5,19,11,7,21,12,8,r+7,13,10,r+8,14,12,r+9,15,13,r+10,16,14,r+11,17,15,r+12,18,16,r+13,r+16,6,r+5,20,7,21,r+6,17,r+24,r+25,6,r+4,23,7,27,24,9,r+14,25,10,r+15,26,11,r+22,r+23,11,28,r+21,17,r+20,r+21,2,35,30,3,39,31,4,32,r+27,6,r+4,33,7,r+27,34,9,r+14,r+27,3,39,36,4,38,37,7,r+18,r+19,6,r+4,r+17,5,r+1,40,8,r+2,r+3]),dt=chunkLEBM6ZSZ_cjs.p.from(Wt,zt,ut.conditions,ut.results);var jt=new chunkLEBM6ZSZ_cjs.q({size:50,params:["Endpoint","IsControlPlane","IsOAuthEndpoint","Region","UseDualStack","UseFIPS"]}),gt=(e,t={})=>jt.get(e,()=>chunkLEBM6ZSZ_cjs.s(dt,{endpointParams:e,logger:t.logger}));chunkLEBM6ZSZ_cjs.r.aws=chunkLEBM6ZSZ_cjs.R;chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();var m=class e extends chunkLEBM6ZSZ_cjs.f{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype);}};var I=class e extends m{name="AccessDeniedException";$fault="client";error;constructor(t){super({name:"AccessDeniedException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error;}},O=class e extends m{name="InternalServerException";$fault="server";error;constructor(t){super({name:"InternalServerException",$fault:"server",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error;}},R=class e extends m{name="TooManyRequestsError";$fault="client";error;constructor(t){super({name:"TooManyRequestsError",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error;}},x=class e extends m{name="ValidationException";$fault="client";error;constructor(t){super({name:"ValidationException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error;}};var Bt="AccessDeniedException",Gt="AccessToken",Kt="CreateOAuth2Token",Xt="CreateOAuth2TokenRequest",Qt="CreateOAuth2TokenRequestBody",Yt="CreateOAuth2TokenResponseBody",Jt="CreateOAuth2TokenResponse",Zt="CreateOAuth2TokenWithIAM",eo="CreateOAuth2TokenWithIAMRequest",to="CreateOAuth2TokenWithIAMResponse",oo="InternalServerException",ro="OAuthAccessToken",no="RefreshToken",so="TooManyRequestsError",io="ValidationException",ht="accessKeyId",$="accessToken",ao="access_token",z="client",lt="clientId",ft="codeVerifier",co="code",E="error",V="expiresIn",po="expires_in",q="grantType",uo="grant_type",vt="http",W="httpError",Et="idToken",i="jsonName",T="message",mo="resource",P="refreshToken",_t="redirectUri",Ct="smithy.ts.sdk.synthetic.com.amazonaws.signin",St="secretAccessKey",At="sessionToken",go="server",ho="tokenInput",lo="tokenOutput",L="tokenType",fo="token_type",c="com.amazonaws.signin",It=chunkGNEVCEJU_cjs.n.for(Ct),Eo=[-3,Ct,"SigninServiceException",0,[],[]];It.registerError(Eo,m);var A=chunkGNEVCEJU_cjs.n.for(c),_o=[-3,c,Bt,{[E]:z},[E,T],[0,0],2];A.registerError(_o,I);var So=[-3,c,oo,{[E]:go,[W]:500},[E,T],[0,0],2];A.registerError(So,O);var Ao=[-3,c,so,{[E]:z,[W]:429},[E,T],[0,0],2];A.registerError(Ao,R);var vo=[-3,c,io,{[E]:z,[W]:400},[E,T],[0,0],2];A.registerError(vo,x);var Ot=[It,A],Co=[0,c,ro,8,0],Rt=[0,c,no,8,0],Io=[3,c,Gt,8,[ht,St,At],[[0,{[i]:ht}],[0,{[i]:St}],[0,{[i]:At}]],3],Oo=[3,c,Xt,0,[ho],[[()=>Ro,16]],1],Ro=[3,c,Qt,0,[lt,q,co,_t,ft,P],[[0,{[i]:lt}],[0,{[i]:q}],0,[0,{[i]:_t}],[0,{[i]:ft}],[()=>Rt,{[i]:P}]],2],xo=[3,c,Jt,0,[lo],[[()=>Po,16]],1],Po=[3,c,Yt,0,[$,L,V,P,Et],[[()=>Io,{[i]:$}],[0,{[i]:L}],[1,{[i]:V}],[()=>Rt,{[i]:P}],[0,{[i]:Et}]],4],To=[3,c,eo,0,[q,mo],[[0,{[i]:uo}],0],2],ko=[3,c,to,0,[$,L,V],[[()=>Co,{[i]:ao}],[0,{[i]:fo}],[1,{[i]:po}]],3],xt=[9,c,Kt,{[vt]:["POST","/v1/token",200]},()=>Oo,()=>xo],Pt=[9,c,Zt,{[vt]:["POST","/v1/token?x-amz-client-auth-method=iam",200]},()=>To,()=>ko];var Tt=e=>({apiVersion:"2023-01-01",base64Decoder:e?.base64Decoder??chunkLQ3YZTPU_cjs.b,base64Encoder:e?.base64Encoder??chunkLQ3YZTPU_cjs.d,disableHostPrefix:e?.disableHostPrefix??false,endpointProvider:e?.endpointProvider??gt,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Ze,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:t=>t.getIdentityProvider("aws.auth#sigv4"),signer:new chunkPITMDQYN_cjs.f},{schemeId:"smithy.api#noAuth",identityProvider:t=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new chunkLEBM6ZSZ_cjs.J}],logger:e?.logger??new chunkLEBM6ZSZ_cjs.m,protocol:e?.protocol??chunkPITMDQYN_cjs.c,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.signin",errorTypeRegistries:Ot,version:"2023-01-01",serviceTarget:"Signin"},serviceId:e?.serviceId??"Signin",sha256:e?.sha256??chunkEZIDQBXI_cjs.d,urlParser:e?.urlParser??chunkGNEVCEJU_cjs.i,utf8Decoder:e?.utf8Decoder??chunkLQ3YZTPU_cjs.c,utf8Encoder:e?.utf8Encoder??chunkLQ3YZTPU_cjs.e});var kt=e=>{chunkLEBM6ZSZ_cjs.i(process.version);let t=chunkGNEVCEJU_cjs.I(e),n=()=>t().then(chunkLEBM6ZSZ_cjs.h),u=Tt(e);chunkLEBM6ZSZ_cjs.a(process.version);let p={profile:e?.profile,logger:u.logger};return {...u,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??chunkGNEVCEJU_cjs.C(chunkPITMDQYN_cjs.h,p),bodyLengthChecker:e?.bodyLengthChecker??chunkLQ3YZTPU_cjs.u,defaultUserAgentProvider:e?.defaultUserAgentProvider??chunkLEBM6ZSZ_cjs.P({serviceId:u.serviceId,clientVersion:chunkEN65ZEK2_cjs.a.version}),maxAttempts:e?.maxAttempts??chunkGNEVCEJU_cjs.C(chunkLEBM6ZSZ_cjs.w,e),region:e?.region??chunkGNEVCEJU_cjs.C(chunkGNEVCEJU_cjs.F,{...chunkGNEVCEJU_cjs.G,...p}),requestHandler:chunkGIS6X43A_cjs.a.create(e?.requestHandler??n),retryMode:e?.retryMode??chunkGNEVCEJU_cjs.C({...chunkLEBM6ZSZ_cjs.y,default:async()=>(await n()).retryMode||chunkLEBM6ZSZ_cjs.v},e),streamCollector:e?.streamCollector??chunkLQ3YZTPU_cjs.z,useDualstackEndpoint:e?.useDualstackEndpoint??chunkGNEVCEJU_cjs.C(chunkGNEVCEJU_cjs.D,p),useFipsEndpoint:e?.useFipsEndpoint??chunkGNEVCEJU_cjs.C(chunkGNEVCEJU_cjs.E,p),userAgentAppId:e?.userAgentAppId??chunkGNEVCEJU_cjs.C(chunkLEBM6ZSZ_cjs.Q,p)}};chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();var Dt=e=>{let t=e.httpAuthSchemes,n=e.httpAuthSchemeProvider,u=e.credentials;return {setHttpAuthScheme(p){let v=t.findIndex(b=>b.schemeId===p.schemeId);v===-1?t.push(p):t.splice(v,1,p);},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(p){n=p;},httpAuthSchemeProvider(){return n},setCredentials(p){u=p;},credentials(){return u}}},yt=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()});var Nt=(e,t)=>{let n=Object.assign(chunkLEBM6ZSZ_cjs.T(e),chunkLEBM6ZSZ_cjs.j(e),chunkGNEVCEJU_cjs.R(e),Dt(e));return t.forEach(u=>u.configure(n)),Object.assign(e,chunkLEBM6ZSZ_cjs.U(n),chunkLEBM6ZSZ_cjs.k(n),chunkGNEVCEJU_cjs.S(n),yt(n))};var k=class extends chunkLEBM6ZSZ_cjs.c{config;constructor(...[t]){let n=kt(t||{});super(n),this.initConfig=n;let u=tt(n),p=chunkLEBM6ZSZ_cjs.N(u),v=chunkLEBM6ZSZ_cjs.x(p),b=chunkGNEVCEJU_cjs.H(v),Ft=b,Ht=chunkLEBM6ZSZ_cjs.t(Ft),Ut=et(Ht),Mt=Nt(Ut,t?.extensions||[]);this.config=Mt,this.middlewareStack.use(chunkGNEVCEJU_cjs.l(this.config)),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.O(this.config)),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.z(this.config)),this.middlewareStack.use(chunkGNEVCEJU_cjs.T(this.config)),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.B(this.config)),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.C(this.config)),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.D(this.config)),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.E(this.config,{httpAuthSchemeParametersProvider:Je,identityProviderConfigProvider:async $t=>new chunkLEBM6ZSZ_cjs.I({"aws.auth#sigv4":$t.credentials})})),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.G(this.config));}destroy(){super.destroy();}};chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();var D=chunkLEBM6ZSZ_cjs.n(ot,"Signin","SigninClient",chunkLEBM6ZSZ_cjs.u),wt={IsControlPlane:{type:"staticContextParams",value:false}},bt={IsOAuthEndpoint:{type:"staticContextParams",value:true}},y=(e,t,n,u)=>[];var N=class extends D(wt,y,"CreateOAuth2Token",xt){};chunkBUNLC3II_cjs.h();var w=class extends D(bt,y,"CreateOAuth2TokenWithIAM",Pt){};var Do={CreateOAuth2TokenCommand:N,CreateOAuth2TokenWithIAMCommand:w},j=class extends k{};chunkLEBM6ZSZ_cjs.e(Do,j);chunkBUNLC3II_cjs.h();var hn={AUTHCODE_EXPIRED:"AUTHCODE_EXPIRED",CONFLICT:"CONFLICT",INSUFFICIENT_PERMISSIONS:"INSUFFICIENT_PERMISSIONS",INVALID_REQUEST:"INVALID_REQUEST",RESOURCE_NOT_FOUND:"RESOURCE_NOT_FOUND",SERVER_ERROR:"server_error",SERVICE_QUOTA_EXCEEDED:"SERVICE_QUOTA_EXCEEDED",TOKEN_EXPIRED:"TOKEN_EXPIRED",USER_CREDENTIALS_CHANGED:"USER_CREDENTIALS_CHANGED"};
2
+ Object.defineProperty(exports,"$Command",{enumerable:true,get:function(){return chunkLEBM6ZSZ_cjs.d}});Object.defineProperty(exports,"__Client",{enumerable:true,get:function(){return chunkLEBM6ZSZ_cjs.c}});exports.AccessDeniedException=I;exports.AccessDeniedException$=_o;exports.AccessToken$=Io;exports.CreateOAuth2Token$=xt;exports.CreateOAuth2TokenCommand=N;exports.CreateOAuth2TokenRequest$=Oo;exports.CreateOAuth2TokenRequestBody$=Ro;exports.CreateOAuth2TokenResponse$=xo;exports.CreateOAuth2TokenResponseBody$=Po;exports.CreateOAuth2TokenWithIAM$=Pt;exports.CreateOAuth2TokenWithIAMCommand=w;exports.CreateOAuth2TokenWithIAMRequest$=To;exports.CreateOAuth2TokenWithIAMResponse$=ko;exports.InternalServerException=O;exports.InternalServerException$=So;exports.OAuth2ErrorCode=hn;exports.Signin=j;exports.SigninClient=k;exports.SigninServiceException=m;exports.SigninServiceException$=Eo;exports.TooManyRequestsError=R;exports.TooManyRequestsError$=Ao;exports.ValidationException=x;exports.ValidationException$=vo;exports.errorTypeRegistries=Ot;
@@ -0,0 +1 @@
1
+ import {createRequire}from'module';export{a as SQLiteAuthAdapter}from'./chunk-XBH4YMC7.js';import'./chunk-BPMA2ECA.js';import'./chunk-C2PXMVR5.js';createRequire(import.meta.url);
@@ -0,0 +1 @@
1
+ 'use strict';var chunkBHR7OAU4_cjs=require('./chunk-BHR7OAU4.cjs');require('./chunk-HTYVI2HK.cjs'),require('./chunk-BUNLC3II.cjs');Object.defineProperty(exports,"SQLiteAuthAdapter",{enumerable:true,get:function(){return chunkBHR7OAU4_cjs.a}});
@@ -0,0 +1 @@
1
+ 'use strict';var chunkLY7N3UHH_cjs=require('./chunk-LY7N3UHH.cjs');require('./chunk-BUNLC3II.cjs');module.exports=chunkLY7N3UHH_cjs.a;
@@ -0,0 +1 @@
1
+ import {createRequire}from'module';export{a as default}from'./chunk-HT44I66C.js';import'./chunk-C2PXMVR5.js';createRequire(import.meta.url);
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunkEN65ZEK2_cjs=require('./chunk-EN65ZEK2.cjs'),chunkPITMDQYN_cjs=require('./chunk-PITMDQYN.cjs'),chunkGIS6X43A_cjs=require('./chunk-GIS6X43A.cjs'),chunkLEBM6ZSZ_cjs=require('./chunk-LEBM6ZSZ.cjs'),chunkGNEVCEJU_cjs=require('./chunk-GNEVCEJU.cjs'),chunkEZIDQBXI_cjs=require('./chunk-EZIDQBXI.cjs'),chunkLQ3YZTPU_cjs=require('./chunk-LQ3YZTPU.cjs'),chunkBUNLC3II_cjs=require('./chunk-BUNLC3II.cjs');chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();var Be=async(e,t,i)=>({operation:chunkGNEVCEJU_cjs.d(t).operation,region:await chunkGNEVCEJU_cjs.h(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function At(e){return {schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:e.region},propertiesExtractor:(t,i)=>({signingProperties:{config:t,context:i}})}}function Dt(e){return {schemeId:"smithy.api#noAuth"}}var Ye=e=>{let t=[];return e.operation==="CreateToken"?t.push(Dt()):t.push(At(e)),t},We=e=>{let t=chunkPITMDQYN_cjs.k(e);return Object.assign(t,{authSchemePreference:chunkGNEVCEJU_cjs.h(e.authSchemePreference??[])})};chunkBUNLC3II_cjs.h();var Je=e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??false,useFipsEndpoint:e.useFipsEndpoint??false,defaultSigningName:"sso-oauth"}),Xe={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();var x="ref",g=-1,_=true,Qe="isSet",rt="PartitionResult",v="booleanEquals",F="getAttr",Ze={[x]:"Endpoint"},M={[x]:rt},E={},et=[{[x]:"Region"}],tt={conditions:[[Qe,[Ze]],[Qe,et],["aws.partition",et,rt],[v,[{[x]:"UseFIPS"},_]],[v,[{[x]:"UseDualStack"},_]],[v,[{fn:F,argv:[M,"supportsDualStack"]},_]],[v,[{fn:F,argv:[M,"supportsFIPS"]},_]],["stringEquals",[{fn:F,argv:[M,"name"]},"aws-us-gov"]]],results:[[g],[g,"Invalid Configuration: FIPS and custom endpoint are not supported"],[g,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[Ze,E],["https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",E],[g,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://oidc.{Region}.amazonaws.com",E],["https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",E],[g,"FIPS is enabled but this partition does not support FIPS"],["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",E],[g,"DualStack is enabled but this partition does not support DualStack"],["https://oidc.{Region}.{PartitionResult#dnsSuffix}",E],[g,"Invalid Configuration: Missing Region"]]},yt=2,p=1e8,Tt=new Int32Array([-1,1,-1,0,13,3,1,4,p+12,2,5,p+12,3,8,6,4,7,p+11,5,p+9,p+10,4,11,9,6,10,p+8,7,p+6,p+7,5,12,p+5,6,p+4,p+5,3,p+1,14,4,p+2,p+3]),ot=chunkLEBM6ZSZ_cjs.p.from(Tt,yt,tt.conditions,tt.results);var Rt=new chunkLEBM6ZSZ_cjs.q({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),nt=(e,t={})=>Rt.get(e,()=>chunkLEBM6ZSZ_cjs.s(ot,{endpointParams:e,logger:t.logger}));chunkLEBM6ZSZ_cjs.r.aws=chunkLEBM6ZSZ_cjs.R;chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();var s=class e extends chunkLEBM6ZSZ_cjs.f{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype);}};var I=class e extends s{name="AccessDeniedException";$fault="client";error;reason;error_description;constructor(t){super({name:"AccessDeniedException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.reason=t.reason,this.error_description=t.error_description;}},P=class e extends s{name="AuthorizationPendingException";$fault="client";error;error_description;constructor(t){super({name:"AuthorizationPendingException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description;}},C=class e extends s{name="ExpiredTokenException";$fault="client";error;error_description;constructor(t){super({name:"ExpiredTokenException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description;}},O=class e extends s{name="InternalServerException";$fault="server";error;error_description;constructor(t){super({name:"InternalServerException",$fault:"server",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description;}},A=class e extends s{name="InvalidClientException";$fault="client";error;error_description;constructor(t){super({name:"InvalidClientException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description;}},D=class e extends s{name="InvalidGrantException";$fault="client";error;error_description;constructor(t){super({name:"InvalidGrantException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description;}},y=class e extends s{name="InvalidRequestException";$fault="client";error;reason;error_description;constructor(t){super({name:"InvalidRequestException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.reason=t.reason,this.error_description=t.error_description;}},T=class e extends s{name="InvalidScopeException";$fault="client";error;error_description;constructor(t){super({name:"InvalidScopeException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description;}},R=class e extends s{name="SlowDownException";$fault="client";error;error_description;constructor(t){super({name:"SlowDownException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description;}},k=class e extends s{name="UnauthorizedClientException";$fault="client";error;error_description;constructor(t){super({name:"UnauthorizedClientException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description;}},w=class e extends s{name="UnsupportedGrantTypeException";$fault="client";error;error_description;constructor(t){super({name:"UnsupportedGrantTypeException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description;}};var kt="AccessDeniedException",wt="AuthorizationPendingException",Nt="AccessToken",bt="ClientSecret",$t="CreateToken",Ut="CreateTokenRequest",Ht="CreateTokenResponse",Ft="CodeVerifier",Mt="ExpiredTokenException",Gt="InvalidClientException",jt="InvalidGrantException",Kt="InvalidRequestException",Vt="InternalServerException",zt="InvalidScopeException",qt="IdToken",Lt="RefreshToken",Bt="SlowDownException",Yt="UnauthorizedClientException",Wt="UnsupportedGrantTypeException",Jt="accessToken",h="client",Xt="clientId",Qt="clientSecret",Zt="codeVerifier",er="code",tr="deviceCode",o="error",rr="expiresIn",m="error_description",or="grantType",nr="http",l="httpError",ir="idToken",it="reason",st="refreshToken",sr="redirectUri",ct="smithy.ts.sdk.synthetic.com.amazonaws.ssooidc",cr="scope",ar="server",pr="tokenType",n="com.amazonaws.ssooidc",at=chunkGNEVCEJU_cjs.n.for(ct),dr=[-3,ct,"SSOOIDCServiceException",0,[],[]];at.registerError(dr,s);var d=chunkGNEVCEJU_cjs.n.for(n),ur=[-3,n,kt,{[o]:h,[l]:400},[o,it,m],[0,0,0]];d.registerError(ur,I);var mr=[-3,n,wt,{[o]:h,[l]:400},[o,m],[0,0]];d.registerError(mr,P);var lr=[-3,n,Mt,{[o]:h,[l]:400},[o,m],[0,0]];d.registerError(lr,C);var hr=[-3,n,Vt,{[o]:ar,[l]:500},[o,m],[0,0]];d.registerError(hr,O);var fr=[-3,n,Gt,{[o]:h,[l]:401},[o,m],[0,0]];d.registerError(fr,A);var gr=[-3,n,jt,{[o]:h,[l]:400},[o,m],[0,0]];d.registerError(gr,D);var Er=[-3,n,Kt,{[o]:h,[l]:400},[o,it,m],[0,0,0]];d.registerError(Er,y);var xr=[-3,n,zt,{[o]:h,[l]:400},[o,m],[0,0]];d.registerError(xr,T);var Sr=[-3,n,Bt,{[o]:h,[l]:400},[o,m],[0,0]];d.registerError(Sr,R);var _r=[-3,n,Yt,{[o]:h,[l]:400},[o,m],[0,0]];d.registerError(_r,k);var vr=[-3,n,Wt,{[o]:h,[l]:400},[o,m],[0,0]];d.registerError(vr,w);var pt=[at,d],Ir=[0,n,Nt,8,0],Pr=[0,n,bt,8,0],Cr=[0,n,Ft,8,0],Or=[0,n,qt,8,0],dt=[0,n,Lt,8,0],Ar=[3,n,Ut,0,[Xt,Qt,or,tr,er,st,cr,sr,Zt],[0,[()=>Pr,0],0,0,0,[()=>dt,0],64,0,[()=>Cr,0]],3],Dr=[3,n,Ht,0,[Jt,pr,rr,st,ir],[[()=>Ir,0],0,1,[()=>dt,0],[()=>Or,0]]];var ut=[9,n,$t,{[nr]:["POST","/token",200]},()=>Ar,()=>Dr];var mt=e=>({apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??chunkLQ3YZTPU_cjs.b,base64Encoder:e?.base64Encoder??chunkLQ3YZTPU_cjs.d,disableHostPrefix:e?.disableHostPrefix??false,endpointProvider:e?.endpointProvider??nt,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Ye,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:t=>t.getIdentityProvider("aws.auth#sigv4"),signer:new chunkPITMDQYN_cjs.f},{schemeId:"smithy.api#noAuth",identityProvider:t=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new chunkLEBM6ZSZ_cjs.J}],logger:e?.logger??new chunkLEBM6ZSZ_cjs.m,protocol:e?.protocol??chunkPITMDQYN_cjs.c,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.ssooidc",errorTypeRegistries:pt,version:"2019-06-10",serviceTarget:"AWSSSOOIDCService"},serviceId:e?.serviceId??"SSO OIDC",sha256:e?.sha256??chunkEZIDQBXI_cjs.d,urlParser:e?.urlParser??chunkGNEVCEJU_cjs.i,utf8Decoder:e?.utf8Decoder??chunkLQ3YZTPU_cjs.c,utf8Encoder:e?.utf8Encoder??chunkLQ3YZTPU_cjs.e});var lt=e=>{chunkLEBM6ZSZ_cjs.i(process.version);let t=chunkGNEVCEJU_cjs.I(e),i=()=>t().then(chunkLEBM6ZSZ_cjs.h),u=mt(e);chunkLEBM6ZSZ_cjs.a(process.version);let a={profile:e?.profile,logger:u.logger};return {...u,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??chunkGNEVCEJU_cjs.C(chunkPITMDQYN_cjs.h,a),bodyLengthChecker:e?.bodyLengthChecker??chunkLQ3YZTPU_cjs.u,defaultUserAgentProvider:e?.defaultUserAgentProvider??chunkLEBM6ZSZ_cjs.P({serviceId:u.serviceId,clientVersion:chunkEN65ZEK2_cjs.a.version}),maxAttempts:e?.maxAttempts??chunkGNEVCEJU_cjs.C(chunkLEBM6ZSZ_cjs.w,e),region:e?.region??chunkGNEVCEJU_cjs.C(chunkGNEVCEJU_cjs.F,{...chunkGNEVCEJU_cjs.G,...a}),requestHandler:chunkGIS6X43A_cjs.a.create(e?.requestHandler??i),retryMode:e?.retryMode??chunkGNEVCEJU_cjs.C({...chunkLEBM6ZSZ_cjs.y,default:async()=>(await i()).retryMode||chunkLEBM6ZSZ_cjs.v},e),streamCollector:e?.streamCollector??chunkLQ3YZTPU_cjs.z,useDualstackEndpoint:e?.useDualstackEndpoint??chunkGNEVCEJU_cjs.C(chunkGNEVCEJU_cjs.D,a),useFipsEndpoint:e?.useFipsEndpoint??chunkGNEVCEJU_cjs.C(chunkGNEVCEJU_cjs.E,a),userAgentAppId:e?.userAgentAppId??chunkGNEVCEJU_cjs.C(chunkLEBM6ZSZ_cjs.Q,a)}};chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();var ht=e=>{let t=e.httpAuthSchemes,i=e.httpAuthSchemeProvider,u=e.credentials;return {setHttpAuthScheme(a){let S=t.findIndex($=>$.schemeId===a.schemeId);S===-1?t.push(a):t.splice(S,1,a);},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(a){i=a;},httpAuthSchemeProvider(){return i},setCredentials(a){u=a;},credentials(){return u}}},ft=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()});var gt=(e,t)=>{let i=Object.assign(chunkLEBM6ZSZ_cjs.T(e),chunkLEBM6ZSZ_cjs.j(e),chunkGNEVCEJU_cjs.R(e),ht(e));return t.forEach(u=>u.configure(i)),Object.assign(e,chunkLEBM6ZSZ_cjs.U(i),chunkLEBM6ZSZ_cjs.k(i),chunkGNEVCEJU_cjs.S(i),ft(i))};var N=class extends chunkLEBM6ZSZ_cjs.c{config;constructor(...[t]){let i=lt(t||{});super(i),this.initConfig=i;let u=Je(i),a=chunkLEBM6ZSZ_cjs.N(u),S=chunkLEBM6ZSZ_cjs.x(a),$=chunkGNEVCEJU_cjs.H(S),_t=$,vt=chunkLEBM6ZSZ_cjs.t(_t),It=We(vt),Pt=gt(It,t?.extensions||[]);this.config=Pt,this.middlewareStack.use(chunkGNEVCEJU_cjs.l(this.config)),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.O(this.config)),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.z(this.config)),this.middlewareStack.use(chunkGNEVCEJU_cjs.T(this.config)),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.B(this.config)),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.C(this.config)),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.D(this.config)),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.E(this.config,{httpAuthSchemeParametersProvider:Be,identityProviderConfigProvider:async Ct=>new chunkLEBM6ZSZ_cjs.I({"aws.auth#sigv4":Ct.credentials})})),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.G(this.config));}destroy(){super.destroy();}};chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();var Et=chunkLEBM6ZSZ_cjs.n(Xe,"AWSSSOOIDCService","SSOOIDCClient",chunkLEBM6ZSZ_cjs.u),xt={},St=(e,t,i,u)=>[];var b=class extends Et(xt,St,"CreateToken",ut){};var yr={CreateTokenCommand:b},G=class extends N{};chunkLEBM6ZSZ_cjs.e(yr,G);chunkBUNLC3II_cjs.h();var an={KMS_ACCESS_DENIED:"KMS_AccessDeniedException"},pn={KMS_DISABLED_KEY:"KMS_DisabledException",KMS_INVALID_KEY_USAGE:"KMS_InvalidKeyUsageException",KMS_INVALID_STATE:"KMS_InvalidStateException",KMS_KEY_NOT_FOUND:"KMS_NotFoundException"};
2
+ Object.defineProperty(exports,"$Command",{enumerable:true,get:function(){return chunkLEBM6ZSZ_cjs.d}});Object.defineProperty(exports,"__Client",{enumerable:true,get:function(){return chunkLEBM6ZSZ_cjs.c}});exports.AccessDeniedException=I;exports.AccessDeniedException$=ur;exports.AccessDeniedExceptionReason=an;exports.AuthorizationPendingException=P;exports.AuthorizationPendingException$=mr;exports.CreateToken$=ut;exports.CreateTokenCommand=b;exports.CreateTokenRequest$=Ar;exports.CreateTokenResponse$=Dr;exports.ExpiredTokenException=C;exports.ExpiredTokenException$=lr;exports.InternalServerException=O;exports.InternalServerException$=hr;exports.InvalidClientException=A;exports.InvalidClientException$=fr;exports.InvalidGrantException=D;exports.InvalidGrantException$=gr;exports.InvalidRequestException=y;exports.InvalidRequestException$=Er;exports.InvalidRequestExceptionReason=pn;exports.InvalidScopeException=T;exports.InvalidScopeException$=xr;exports.SSOOIDC=G;exports.SSOOIDCClient=N;exports.SSOOIDCServiceException=s;exports.SSOOIDCServiceException$=dr;exports.SlowDownException=R;exports.SlowDownException$=Sr;exports.UnauthorizedClientException=k;exports.UnauthorizedClientException$=_r;exports.UnsupportedGrantTypeException=w;exports.UnsupportedGrantTypeException$=vr;exports.errorTypeRegistries=pt;
@@ -0,0 +1,3 @@
1
+ import {createRequire}from'module';import {a as a$2}from'./chunk-ORG67NXX.js';import {h as h$1,k as k$1,c as c$2,f as f$2}from'./chunk-SYEP5QLG.js';import {a as a$1}from'./chunk-7I6URA6F.js';import {p,q,R as R$1,r,n as n$2,u as u$1,e,f as f$1,c,N as N$1,x as x$1,t,O as O$1,z,B,C as C$1,D as D$1,E as E$1,I as I$1,G as G$1,i,a,Q,v as v$1,y as y$1,w as w$1,P as P$1,T as T$2,j as j$1,U,k as k$2,m,J,h as h$3,s as s$1}from'./chunk-A73AVVFR.js';export{d as $Command,c as __Client}from'./chunk-A73AVVFR.js';import {n as n$1,H,l as l$1,T as T$1,I as I$2,C as C$2,E as E$2,D as D$2,F,G as G$2,h as h$2,R as R$2,S as S$1,d as d$1,i as i$1}from'./chunk-XOACKBG7.js';import {d as d$2}from'./chunk-ICVQWR2A.js';import {z as z$1,u as u$2,e as e$1,c as c$1,d as d$3,b as b$1}from'./chunk-OSAVAYJZ.js';import {g}from'./chunk-C2PXMVR5.js';createRequire(import.meta.url);
2
+ g();g();g();var Ye=async(e,t,i)=>({operation:d$1(t).operation,region:await h$2(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function Dt(e){return {schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:e.region},propertiesExtractor:(t,i)=>({signingProperties:{config:t,context:i}})}}function yt(e){return {schemeId:"smithy.api#noAuth"}}var We=e=>{let t=[];return e.operation==="CreateToken"?t.push(yt()):t.push(Dt(e)),t},Je=e=>{let t=k$1(e);return Object.assign(t,{authSchemePreference:h$2(e.authSchemePreference??[])})};g();var Xe=e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??false,useFipsEndpoint:e.useFipsEndpoint??false,defaultSigningName:"sso-oauth"}),Qe={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};g();g();g();g();var S="ref",E=-1,v=true,Ze="isSet",ot="PartitionResult",I="booleanEquals",M="getAttr",et={[S]:"Endpoint"},G={[S]:ot},x={},tt=[{[S]:"Region"}],rt={conditions:[[Ze,[et]],[Ze,tt],["aws.partition",tt,ot],[I,[{[S]:"UseFIPS"},v]],[I,[{[S]:"UseDualStack"},v]],[I,[{fn:M,argv:[G,"supportsDualStack"]},v]],[I,[{fn:M,argv:[G,"supportsFIPS"]},v]],["stringEquals",[{fn:M,argv:[G,"name"]},"aws-us-gov"]]],results:[[E],[E,"Invalid Configuration: FIPS and custom endpoint are not supported"],[E,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[et,x],["https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",x],[E,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://oidc.{Region}.amazonaws.com",x],["https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",x],[E,"FIPS is enabled but this partition does not support FIPS"],["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",x],[E,"DualStack is enabled but this partition does not support DualStack"],["https://oidc.{Region}.{PartitionResult#dnsSuffix}",x],[E,"Invalid Configuration: Missing Region"]]},Tt=2,d=1e8,Rt=new Int32Array([-1,1,-1,0,13,3,1,4,d+12,2,5,d+12,3,8,6,4,7,d+11,5,d+9,d+10,4,11,9,6,10,d+8,7,d+6,d+7,5,12,d+5,6,d+4,d+5,3,d+1,14,4,d+2,d+3]),nt=p.from(Rt,Tt,rt.conditions,rt.results);var kt=new q({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),it=(e,t={})=>kt.get(e,()=>s$1(nt,{endpointParams:e,logger:t.logger}));r.aws=R$1;g();g();g();var s=class e extends f$1{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype);}};var P=class e extends s{name="AccessDeniedException";$fault="client";error;reason;error_description;constructor(t){super({name:"AccessDeniedException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.reason=t.reason,this.error_description=t.error_description;}},C=class e extends s{name="AuthorizationPendingException";$fault="client";error;error_description;constructor(t){super({name:"AuthorizationPendingException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description;}},O=class e extends s{name="ExpiredTokenException";$fault="client";error;error_description;constructor(t){super({name:"ExpiredTokenException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description;}},A=class e extends s{name="InternalServerException";$fault="server";error;error_description;constructor(t){super({name:"InternalServerException",$fault:"server",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description;}},D=class e extends s{name="InvalidClientException";$fault="client";error;error_description;constructor(t){super({name:"InvalidClientException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description;}},y=class e extends s{name="InvalidGrantException";$fault="client";error;error_description;constructor(t){super({name:"InvalidGrantException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description;}},T=class e extends s{name="InvalidRequestException";$fault="client";error;reason;error_description;constructor(t){super({name:"InvalidRequestException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.reason=t.reason,this.error_description=t.error_description;}},R=class e extends s{name="InvalidScopeException";$fault="client";error;error_description;constructor(t){super({name:"InvalidScopeException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description;}},k=class e extends s{name="SlowDownException";$fault="client";error;error_description;constructor(t){super({name:"SlowDownException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description;}},w=class e extends s{name="UnauthorizedClientException";$fault="client";error;error_description;constructor(t){super({name:"UnauthorizedClientException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description;}},N=class e extends s{name="UnsupportedGrantTypeException";$fault="client";error;error_description;constructor(t){super({name:"UnsupportedGrantTypeException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description;}};var wt="AccessDeniedException",Nt="AuthorizationPendingException",bt="AccessToken",$t="ClientSecret",Ut="CreateToken",Ht="CreateTokenRequest",Ft="CreateTokenResponse",Mt="CodeVerifier",Gt="ExpiredTokenException",jt="InvalidClientException",Kt="InvalidGrantException",Vt="InvalidRequestException",zt="InternalServerException",qt="InvalidScopeException",Lt="IdToken",Bt="RefreshToken",Yt="SlowDownException",Wt="UnauthorizedClientException",Jt="UnsupportedGrantTypeException",Xt="accessToken",f="client",Qt="clientId",Zt="clientSecret",er="codeVerifier",tr="code",rr="deviceCode",o="error",or="expiresIn",l="error_description",nr="grantType",ir="http",h="httpError",sr="idToken",st="reason",ct="refreshToken",cr="redirectUri",at="smithy.ts.sdk.synthetic.com.amazonaws.ssooidc",ar="scope",pr="server",dr="tokenType",n="com.amazonaws.ssooidc",pt=n$1.for(at),ur=[-3,at,"SSOOIDCServiceException",0,[],[]];pt.registerError(ur,s);var u=n$1.for(n),mr=[-3,n,wt,{[o]:f,[h]:400},[o,st,l],[0,0,0]];u.registerError(mr,P);var lr=[-3,n,Nt,{[o]:f,[h]:400},[o,l],[0,0]];u.registerError(lr,C);var hr=[-3,n,Gt,{[o]:f,[h]:400},[o,l],[0,0]];u.registerError(hr,O);var fr=[-3,n,zt,{[o]:pr,[h]:500},[o,l],[0,0]];u.registerError(fr,A);var gr=[-3,n,jt,{[o]:f,[h]:401},[o,l],[0,0]];u.registerError(gr,D);var Er=[-3,n,Kt,{[o]:f,[h]:400},[o,l],[0,0]];u.registerError(Er,y);var xr=[-3,n,Vt,{[o]:f,[h]:400},[o,st,l],[0,0,0]];u.registerError(xr,T);var Sr=[-3,n,qt,{[o]:f,[h]:400},[o,l],[0,0]];u.registerError(Sr,R);var _r=[-3,n,Yt,{[o]:f,[h]:400},[o,l],[0,0]];u.registerError(_r,k);var vr=[-3,n,Wt,{[o]:f,[h]:400},[o,l],[0,0]];u.registerError(vr,w);var Ir=[-3,n,Jt,{[o]:f,[h]:400},[o,l],[0,0]];u.registerError(Ir,N);var dt=[pt,u],Pr=[0,n,bt,8,0],Cr=[0,n,$t,8,0],Or=[0,n,Mt,8,0],Ar=[0,n,Lt,8,0],ut=[0,n,Bt,8,0],Dr=[3,n,Ht,0,[Qt,Zt,nr,rr,tr,ct,ar,cr,er],[0,[()=>Cr,0],0,0,0,[()=>ut,0],64,0,[()=>Or,0]],3],yr=[3,n,Ft,0,[Xt,dr,or,ct,sr],[[()=>Pr,0],0,1,[()=>ut,0],[()=>Ar,0]]];var mt=[9,n,Ut,{[ir]:["POST","/token",200]},()=>Dr,()=>yr];var lt=e=>({apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??b$1,base64Encoder:e?.base64Encoder??d$3,disableHostPrefix:e?.disableHostPrefix??false,endpointProvider:e?.endpointProvider??it,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??We,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:t=>t.getIdentityProvider("aws.auth#sigv4"),signer:new f$2},{schemeId:"smithy.api#noAuth",identityProvider:t=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new J}],logger:e?.logger??new m,protocol:e?.protocol??c$2,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.ssooidc",errorTypeRegistries:dt,version:"2019-06-10",serviceTarget:"AWSSSOOIDCService"},serviceId:e?.serviceId??"SSO OIDC",sha256:e?.sha256??d$2,urlParser:e?.urlParser??i$1,utf8Decoder:e?.utf8Decoder??c$1,utf8Encoder:e?.utf8Encoder??e$1});var ht=e=>{i(process.version);let t=I$2(e),i$1=()=>t().then(h$3),m=lt(e);a(process.version);let p={profile:e?.profile,logger:m.logger};return {...m,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??C$2(h$1,p),bodyLengthChecker:e?.bodyLengthChecker??u$2,defaultUserAgentProvider:e?.defaultUserAgentProvider??P$1({serviceId:m.serviceId,clientVersion:a$2.version}),maxAttempts:e?.maxAttempts??C$2(w$1,e),region:e?.region??C$2(F,{...G$2,...p}),requestHandler:a$1.create(e?.requestHandler??i$1),retryMode:e?.retryMode??C$2({...y$1,default:async()=>(await i$1()).retryMode||v$1},e),streamCollector:e?.streamCollector??z$1,useDualstackEndpoint:e?.useDualstackEndpoint??C$2(D$2,p),useFipsEndpoint:e?.useFipsEndpoint??C$2(E$2,p),userAgentAppId:e?.userAgentAppId??C$2(Q,p)}};g();g();var ft=e=>{let t=e.httpAuthSchemes,i=e.httpAuthSchemeProvider,m=e.credentials;return {setHttpAuthScheme(p){let _=t.findIndex(U=>U.schemeId===p.schemeId);_===-1?t.push(p):t.splice(_,1,p);},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(p){i=p;},httpAuthSchemeProvider(){return i},setCredentials(p){m=p;},credentials(){return m}}},gt=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()});var Et=(e,t)=>{let i=Object.assign(T$2(e),j$1(e),R$2(e),ft(e));return t.forEach(m=>m.configure(i)),Object.assign(e,U(i),k$2(i),S$1(i),gt(i))};var b=class extends c{config;constructor(...[t$1]){let i=ht(t$1||{});super(i),this.initConfig=i;let m=Xe(i),p=N$1(m),_=x$1(p),U=H(_),vt=U,It=t(vt),Pt=Je(It),Ct=Et(Pt,t$1?.extensions||[]);this.config=Ct,this.middlewareStack.use(l$1(this.config)),this.middlewareStack.use(O$1(this.config)),this.middlewareStack.use(z(this.config)),this.middlewareStack.use(T$1(this.config)),this.middlewareStack.use(B(this.config)),this.middlewareStack.use(C$1(this.config)),this.middlewareStack.use(D$1(this.config)),this.middlewareStack.use(E$1(this.config,{httpAuthSchemeParametersProvider:Ye,identityProviderConfigProvider:async Ot=>new I$1({"aws.auth#sigv4":Ot.credentials})})),this.middlewareStack.use(G$1(this.config));}destroy(){super.destroy();}};g();g();g();var xt=n$2(Qe,"AWSSSOOIDCService","SSOOIDCClient",u$1),St={},_t=(e,t,i,m)=>[];var $=class extends xt(St,_t,"CreateToken",mt){};var Tr={CreateTokenCommand:$},j=class extends b{};e(Tr,j);g();var pn={KMS_ACCESS_DENIED:"KMS_AccessDeniedException"},dn={KMS_DISABLED_KEY:"KMS_DisabledException",KMS_INVALID_KEY_USAGE:"KMS_InvalidKeyUsageException",KMS_INVALID_STATE:"KMS_InvalidStateException",KMS_KEY_NOT_FOUND:"KMS_NotFoundException"};
3
+ export{P as AccessDeniedException,mr as AccessDeniedException$,pn as AccessDeniedExceptionReason,C as AuthorizationPendingException,lr as AuthorizationPendingException$,mt as CreateToken$,$ as CreateTokenCommand,Dr as CreateTokenRequest$,yr as CreateTokenResponse$,O as ExpiredTokenException,hr as ExpiredTokenException$,A as InternalServerException,fr as InternalServerException$,D as InvalidClientException,gr as InvalidClientException$,y as InvalidGrantException,Er as InvalidGrantException$,T as InvalidRequestException,xr as InvalidRequestException$,dn as InvalidRequestExceptionReason,R as InvalidScopeException,Sr as InvalidScopeException$,j as SSOOIDC,b as SSOOIDCClient,s as SSOOIDCServiceException,ur as SSOOIDCServiceException$,k as SlowDownException,_r as SlowDownException$,w as UnauthorizedClientException,vr as UnauthorizedClientException$,N as UnsupportedGrantTypeException,Ir as UnsupportedGrantTypeException$,dt as errorTypeRegistries};
@@ -0,0 +1,3 @@
1
+ import {createRequire}from'module';import {a as a$2}from'./chunk-ORG67NXX.js';import {a as a$3}from'./chunk-KH7LM52S.js';import {f as f$1,g as g$2,j,h,k,i as i$1,d as d$1}from'./chunk-SYEP5QLG.js';import {a as a$1}from'./chunk-7I6URA6F.js';import {p,q as q$1,R as R$1,r,n as n$1,u as u$1,e,f,c as c$1,N as N$1,x,t,O as O$1,z as z$1,B as B$1,C as C$1,D as D$1,E,I as I$1,G as G$1,i,a,J as J$1,Q as Q$1,v,y,w as w$1,P,T as T$2,j as j$1,U,k as k$1,m as m$1,h as h$2,o,s as s$1,b as b$2,S as S$1}from'./chunk-A73AVVFR.js';export{d as $Command,c as __Client}from'./chunk-A73AVVFR.js';import {n,H as H$1,l,T as T$1,I as I$2,C as C$2,E as E$1,D as D$2,F,G as G$2,h as h$1,R as R$2,S,i as i$2,d as d$3}from'./chunk-XOACKBG7.js';import {d}from'./chunk-ICVQWR2A.js';import {z as z$2,u as u$2,e as e$1,c as c$2,d as d$2,b as b$1}from'./chunk-OSAVAYJZ.js';import {g as g$1}from'./chunk-C2PXMVR5.js';createRequire(import.meta.url);
2
+ g$1();g$1();g$1();g$1();g$1();var N="ref",R=-1,$=true,vt="isSet",Tt="PartitionResult",L="booleanEquals",u="stringEquals",ie="getAttr",yt="us-east-1",xt="sigv4",It="sts",Rt="https://sts.{Region}.{PartitionResult#dnsSuffix}",_t={[N]:"Endpoint"},m={[N]:"Region"},ae={[N]:Tt},O={},Ct=[m],wt={conditions:[[vt,[_t]],[vt,Ct],["aws.partition",Ct,Tt],[L,[{[N]:"UseFIPS"},$]],[L,[{[N]:"UseDualStack"},$]],[u,[m,"aws-global"]],[L,[{[N]:"UseGlobalEndpoint"},$]],[u,[m,"eu-central-1"]],[L,[{fn:ie,argv:[ae,"supportsDualStack"]},$]],[L,[{fn:ie,argv:[ae,"supportsFIPS"]},$]],[u,[m,"ap-south-1"]],[u,[m,"eu-north-1"]],[u,[m,"eu-west-1"]],[u,[m,"eu-west-2"]],[u,[m,"eu-west-3"]],[u,[m,"sa-east-1"]],[u,[m,yt]],[u,[m,"us-east-2"]],[u,[m,"us-west-2"]],[u,[m,"us-west-1"]],[u,[m,"ca-central-1"]],[u,[m,"ap-southeast-1"]],[u,[m,"ap-northeast-1"]],[u,[m,"ap-southeast-2"]],[u,[{fn:ie,argv:[ae,"name"]},"aws-us-gov"]]],results:[[R],["https://sts.amazonaws.com",{authSchemes:[{name:xt,signingName:It,signingRegion:yt}]}],[Rt,{authSchemes:[{name:xt,signingName:It,signingRegion:"{Region}"}]}],[R,"Invalid Configuration: FIPS and custom endpoint are not supported"],[R,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[_t,O],["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",O],[R,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://sts.{Region}.amazonaws.com",O],["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",O],[R,"FIPS is enabled but this partition does not support FIPS"],["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",O],[R,"DualStack is enabled but this partition does not support DualStack"],[Rt,O],[R,"Invalid Configuration: Missing Region"]]},lo=2,s=1e8,uo=new Int32Array([-1,1,-1,0,30,3,1,4,s+14,2,5,s+14,3,25,6,4,24,7,5,s+1,8,6,9,s+13,7,s+1,10,10,s+1,11,11,s+1,12,12,s+1,13,13,s+1,14,14,s+1,15,15,s+1,16,16,s+1,17,17,s+1,18,18,s+1,19,19,s+1,20,20,s+1,21,21,s+1,22,22,s+1,23,23,s+1,s+2,8,s+11,s+12,4,28,26,9,27,s+10,24,s+8,s+9,8,29,s+7,9,s+6,s+7,3,s+3,31,4,s+4,s+5]),Dt=p.from(uo,lo,wt.conditions,wt.results);var mo=new q$1({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS","UseGlobalEndpoint"]}),G=(e,t={})=>mo.get(e,()=>s$1(Dt,{endpointParams:e,logger:t.logger}));r.aws=R$1;var go=e=>async(t,o$1,a)=>{if(!a)throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let r=await e(t,o$1,a),p=d$3(o$1)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!p)throw new Error(`getEndpointParameterInstructions() is not defined on '${o$1.commandName}'`);let i=await o(a,{getEndpointParameterInstructions:p},t);return Object.assign(r,i)},fo=async(e,t,o)=>({operation:d$3(t).operation,region:await h$1(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),bt=go(fo);function kt(e){return {schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(t,o)=>({signingProperties:{config:t,context:o}})}}function ce(e){return {schemeId:"aws.auth#sigv4a",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(t,o)=>({signingProperties:{config:t,context:o}})}}function Ot(e){return {schemeId:"smithy.api#noAuth"}}var ho=(e,t,o)=>r=>{let i=e(r).properties?.authSchemes;if(!i)return t(r);let f=[];for(let A of i){let{name:h,properties:y={},...S}=A,E=h.toLowerCase();h!==E&&console.warn(`HttpAuthScheme has been normalized with lowercasing: '${h}' to '${E}'`);let P;if(E==="sigv4a"){P="aws.auth#sigv4a";let te=i.find(oe=>{let me=oe.name.toLowerCase();return me!=="sigv4a"&&me.startsWith("sigv4")});if(a$3.sigv4aDependency()==="none"&&te)continue}else if(E.startsWith("sigv4"))P="aws.auth#sigv4";else throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${E}'`);let k=o[P];if(!k)throw new Error(`Could not find HttpAuthOption create function for '${P}'`);let x=k(r);x.schemeId=P,x.signingProperties={...x.signingProperties||{},...S,...y},f.push(x);}return f},So=e=>{let t=[];return e.operation==="AssumeRoleWithWebIdentity"?(t.push(Ot()),t.push(ce(e))):(t.push(kt(e)),t.push(ce(e))),t},Nt=ho(G,So,{"aws.auth#sigv4":kt,"aws.auth#sigv4a":ce,"smithy.api#noAuth":Ot}),Ht=e=>{let t=k(e),o=i$1(t);return Object.assign(o,{authSchemePreference:h$1(e.authSchemePreference??[])})};g$1();var Wt=e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??false,useFipsEndpoint:e.useFipsEndpoint??false,useGlobalEndpoint:e.useGlobalEndpoint??false,defaultSigningName:"sts"}),$t={UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};g$1();g$1();g$1();g$1();g$1();var g=class e extends f{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype);}};var V=class e extends g{name="ExpiredTokenException";$fault="client";constructor(t){super({name:"ExpiredTokenException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype);}},q=class e extends g{name="MalformedPolicyDocumentException";$fault="client";constructor(t){super({name:"MalformedPolicyDocumentException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype);}},z=class e extends g{name="PackedPolicyTooLargeException";$fault="client";constructor(t){super({name:"PackedPolicyTooLargeException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype);}},B=class e extends g{name="RegionDisabledException";$fault="client";constructor(t){super({name:"RegionDisabledException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype);}},Q=class e extends g{name="IDPRejectedClaimException";$fault="client";constructor(t){super({name:"IDPRejectedClaimException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype);}},Y=class e extends g{name="InvalidIdentityTokenException";$fault="client";constructor(t){super({name:"InvalidIdentityTokenException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype);}},X=class e extends g{name="IDPCommunicationErrorException";$fault="client";$retryable={};constructor(t){super({name:"IDPCommunicationErrorException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype);}};var Po="Arn",Ao="AccessKeyId",Eo="AssumeRole",vo="AssumedRoleId",yo="AssumeRoleRequest",xo="AssumeRoleResponse",pe="AssumedRoleUser",Io="AssumeRoleWithWebIdentity",Ro="AssumeRoleWithWebIdentityRequest",_o="AssumeRoleWithWebIdentityResponse",Co="Audience",de="Credentials",wo="ContextAssertion",Lt="DurationSeconds",To="Expiration",Do="ExternalId",bo="ExpiredTokenException",ko="IDPCommunicationErrorException",Oo="IDPRejectedClaimException",No="InvalidIdentityTokenException",Ho="Key",Wo="MalformedPolicyDocumentException",Ft="Policy",Ut="PolicyArns",$o="ProviderArn",Lo="ProvidedContexts",Fo="ProvidedContextsListType",Uo="ProvidedContext",Ko="PolicyDescriptorType",Mo="ProviderId",Kt="PackedPolicySize",jo="PackedPolicyTooLargeException",Go="Provider",Mt="RoleArn",Vo="RegionDisabledException",jt="RoleSessionName",qo="SecretAccessKey",zo="SubjectFromWebIdentityToken",le="SourceIdentity",Bo="SerialNumber",Qo="SessionToken",Yo="Tags",Xo="TokenCode",Jo="TransitiveTagKeys",Zo="Tag",er="Value",tr="WebIdentityToken",or="arn",rr="accessKeySecretType",_="awsQueryError",C="client",nr="clientTokenType",w="error",T="httpError",D="message",sr="policyDescriptorListType",Gt="smithy.ts.sdk.synthetic.com.amazonaws.sts",ir="tagListType",c="com.amazonaws.sts",Vt=n.for(Gt),ar=[-3,Gt,"STSServiceException",0,[],[]];Vt.registerError(ar,g);var I=n.for(c),cr=[-3,c,bo,{[_]:["ExpiredTokenException",400],[w]:C,[T]:400},[D],[0]];I.registerError(cr,V);var pr=[-3,c,ko,{[_]:["IDPCommunicationError",400],[w]:C,[T]:400},[D],[0]];I.registerError(pr,X);var dr=[-3,c,Oo,{[_]:["IDPRejectedClaim",403],[w]:C,[T]:403},[D],[0]];I.registerError(dr,Q);var lr=[-3,c,No,{[_]:["InvalidIdentityToken",400],[w]:C,[T]:400},[D],[0]];I.registerError(lr,Y);var ur=[-3,c,Wo,{[_]:["MalformedPolicyDocument",400],[w]:C,[T]:400},[D],[0]];I.registerError(ur,q);var mr=[-3,c,jo,{[_]:["PackedPolicyTooLarge",400],[w]:C,[T]:400},[D],[0]];I.registerError(mr,z);var gr=[-3,c,Vo,{[_]:["RegionDisabledException",403],[w]:C,[T]:403},[D],[0]];I.registerError(gr,B);var qt=[Vt,I],fr=[0,c,rr,8,0],hr=[0,c,nr,8,0],zt=[3,c,pe,0,[vo,Po],[0,0],2],Sr=[3,c,yo,0,[Mt,jt,Ut,Ft,Lt,Yo,Jo,Do,Bo,Xo,le,Lo],[0,0,()=>Qt,0,1,()=>Rr,64,0,0,0,0,()=>Ir],2],Pr=[3,c,xo,0,[de,pe,Kt,le],[[()=>Bt,0],()=>zt,1,0]],Ar=[3,c,Ro,0,[Mt,jt,tr,Mo,Ut,Ft,Lt],[0,0,[()=>hr,0],0,()=>Qt,0,1],3],Er=[3,c,_o,0,[de,zo,pe,Kt,Go,Co,le],[[()=>Bt,0],0,()=>zt,1,0,0,0]],Bt=[3,c,de,0,[Ao,qo,Qo,To],[0,[()=>fr,0],0,4],4],vr=[3,c,Ko,0,[or],[0]],yr=[3,c,Uo,0,[$o,wo],[0,0]],xr=[3,c,Zo,0,[Ho,er],[0,0],2],Qt=[1,c,sr,0,()=>vr],Ir=[1,c,Fo,0,()=>yr];var Rr=[1,c,ir,0,()=>xr],Yt=[9,c,Eo,0,()=>Sr,()=>Pr],Xt=[9,c,Io,0,()=>Ar,()=>Er];var Jt=e=>({apiVersion:"2011-06-15",base64Decoder:e?.base64Decoder??b$1,base64Encoder:e?.base64Encoder??d$2,disableHostPrefix:e?.disableHostPrefix??false,endpointProvider:e?.endpointProvider??G,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Nt,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:t=>t.getIdentityProvider("aws.auth#sigv4"),signer:new f$1},{schemeId:"aws.auth#sigv4a",identityProvider:t=>t.getIdentityProvider("aws.auth#sigv4a"),signer:new g$2},{schemeId:"smithy.api#noAuth",identityProvider:t=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new J$1}],logger:e?.logger??new m$1,protocol:e?.protocol??d$1,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.sts",errorTypeRegistries:qt,xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/",version:"2011-06-15",serviceTarget:"AWSSecurityTokenServiceV20110615"},serviceId:e?.serviceId??"STS",sha256:e?.sha256??d,signerConstructor:e?.signerConstructor??a$3,urlParser:e?.urlParser??i$2,utf8Decoder:e?.utf8Decoder??c$2,utf8Encoder:e?.utf8Encoder??e$1});var Zt=e=>{i(process.version);let t=I$2(e),o=()=>t().then(h$2),a$3=Jt(e);a(process.version);let r={profile:e?.profile,logger:a$3.logger};return {...a$3,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??C$2(h,r),bodyLengthChecker:e?.bodyLengthChecker??u$2,defaultUserAgentProvider:e?.defaultUserAgentProvider??P({serviceId:a$3.serviceId,clientVersion:a$2.version}),httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:p=>p.getIdentityProvider("aws.auth#sigv4")||(async i=>await e.credentialDefaultProvider(i?.__config||{})()),signer:new f$1},{schemeId:"aws.auth#sigv4a",identityProvider:p=>p.getIdentityProvider("aws.auth#sigv4a"),signer:new g$2},{schemeId:"smithy.api#noAuth",identityProvider:p=>p.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new J$1}],maxAttempts:e?.maxAttempts??C$2(w$1,e),region:e?.region??C$2(F,{...G$2,...r}),requestHandler:a$1.create(e?.requestHandler??o),retryMode:e?.retryMode??C$2({...y,default:async()=>(await o()).retryMode||v},e),sigv4aSigningRegionSet:e?.sigv4aSigningRegionSet??C$2(j,r),streamCollector:e?.streamCollector??z$2,useDualstackEndpoint:e?.useDualstackEndpoint??C$2(D$2,r),useFipsEndpoint:e?.useFipsEndpoint??C$2(E$1,r),userAgentAppId:e?.userAgentAppId??C$2(Q$1,r)}};g$1();g$1();var eo=e=>{let t=e.httpAuthSchemes,o=e.httpAuthSchemeProvider,a=e.credentials;return {setHttpAuthScheme(r){let p=t.findIndex(i=>i.schemeId===r.schemeId);p===-1?t.push(r):t.splice(p,1,r);},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(r){o=r;},httpAuthSchemeProvider(){return o},setCredentials(r){a=r;},credentials(){return a}}},to=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()});var oo=(e,t)=>{let o=Object.assign(T$2(e),j$1(e),R$2(e),eo(e));return t.forEach(a=>a.configure(o)),Object.assign(e,U(o),k$1(o),S(o),to(o))};var b=class extends c$1{config;constructor(...[t$1]){let o=Zt(t$1||{});super(o),this.initConfig=o;let a=Wt(o),r=N$1(a),p=x(r),i=H$1(p),f=i,A=t(f),h=Ht(A),y=oo(h,t$1?.extensions||[]);this.config=y,this.middlewareStack.use(l(this.config)),this.middlewareStack.use(O$1(this.config)),this.middlewareStack.use(z$1(this.config)),this.middlewareStack.use(T$1(this.config)),this.middlewareStack.use(B$1(this.config)),this.middlewareStack.use(C$1(this.config)),this.middlewareStack.use(D$1(this.config)),this.middlewareStack.use(E(this.config,{httpAuthSchemeParametersProvider:bt,identityProviderConfigProvider:async S=>new I$1({"aws.auth#sigv4":S.credentials,"aws.auth#sigv4a":S.credentials})})),this.middlewareStack.use(G$1(this.config));}destroy(){super.destroy();}};g$1();g$1();g$1();var J=n$1($t,"AWSSecurityTokenServiceV20110615","STSClient",u$1),Z={},ee=(e,t,o,a)=>[];var H=class extends J(Z,ee,"AssumeRole",Yt){};g$1();var W=class extends J(Z,ee,"AssumeRoleWithWebIdentity",Xt){};var _r={AssumeRoleCommand:H,AssumeRoleWithWebIdentityCommand:W},ue=class extends b{};e(_r,ue);g$1();g$1();var ro=e=>{if(typeof e?.Arn=="string"){let t=e.Arn.split(":");if(t.length>4&&t[4]!=="")return t[4]}},no=async(e,t,o,a={})=>{let r=typeof e=="function"?await e():e,p=typeof t=="function"?await t():t,i="",f=r??p??(i=await S$1(a)());return o?.debug?.("@aws-sdk/client-sts::resolveRegion","accepting first of:",`${r} (credential provider clientConfig)`,`${p} (contextual client)`,`${i} (STS default: AWS_REGION, profile region, or us-east-1)`),f},so=(e,t)=>{let o,a;return async(r,p)=>{if(a=r,!o){let{logger:y=e?.parentClientConfig?.logger,profile:S=e?.parentClientConfig?.profile,region:E,requestHandler:P=e?.parentClientConfig?.requestHandler,credentialProviderLogger:k,userAgentAppId:x=e?.parentClientConfig?.userAgentAppId}=e,te=await no(E,e?.parentClientConfig?.region,k,{logger:y,profile:S}),oe=!ao(P);o=new t({...e,userAgentAppId:x,profile:S,credentialDefaultProvider:()=>async()=>a,region:te,requestHandler:oe?P:void 0,logger:y});}let{Credentials:i,AssumedRoleUser:f}=await o.send(new H(p));if(!i||!i.AccessKeyId||!i.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRole call with role ${p.RoleArn}`);let A=ro(f),h={accessKeyId:i.AccessKeyId,secretAccessKey:i.SecretAccessKey,sessionToken:i.SessionToken,expiration:i.Expiration,...i.CredentialScope&&{credentialScope:i.CredentialScope},...A&&{accountId:A}};return b$2(h,"CREDENTIALS_STS_ASSUME_ROLE","i"),h}},io=(e,t)=>{let o;return async a=>{if(!o){let{logger:A=e?.parentClientConfig?.logger,profile:h=e?.parentClientConfig?.profile,region:y,requestHandler:S=e?.parentClientConfig?.requestHandler,credentialProviderLogger:E,userAgentAppId:P=e?.parentClientConfig?.userAgentAppId}=e,k=await no(y,e?.parentClientConfig?.region,E,{logger:A,profile:h}),x=!ao(S);o=new t({...e,userAgentAppId:P,profile:h,region:k,requestHandler:x?S:void 0,logger:A});}let{Credentials:r,AssumedRoleUser:p}=await o.send(new W(a));if(!r||!r.AccessKeyId||!r.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${a.RoleArn}`);let i=ro(p),f={accessKeyId:r.AccessKeyId,secretAccessKey:r.SecretAccessKey,sessionToken:r.SessionToken,expiration:r.Expiration,...r.CredentialScope&&{credentialScope:r.CredentialScope},...i&&{accountId:i}};return i&&b$2(f,"RESOLVED_ACCOUNT_ID","T"),b$2(f,"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID","k"),f}},ao=e=>e?.metadata?.handlerProtocol==="h2";var co=(e,t)=>t?class extends e{constructor(a){super(a);for(let r of t)this.middlewareStack.use(r);}}:e,Cr=(e={},t)=>so(e,co(b,t)),wr=(e={},t)=>io(e,co(b,t)),Rs=e=>t=>e({roleAssumer:Cr(t),roleAssumerWithWebIdentity:wr(t),...t});
3
+ export{Yt as AssumeRole$,H as AssumeRoleCommand,Sr as AssumeRoleRequest$,Pr as AssumeRoleResponse$,Xt as AssumeRoleWithWebIdentity$,W as AssumeRoleWithWebIdentityCommand,Ar as AssumeRoleWithWebIdentityRequest$,Er as AssumeRoleWithWebIdentityResponse$,zt as AssumedRoleUser$,Bt as Credentials$,V as ExpiredTokenException,cr as ExpiredTokenException$,X as IDPCommunicationErrorException,pr as IDPCommunicationErrorException$,Q as IDPRejectedClaimException,dr as IDPRejectedClaimException$,Y as InvalidIdentityTokenException,lr as InvalidIdentityTokenException$,q as MalformedPolicyDocumentException,ur as MalformedPolicyDocumentException$,z as PackedPolicyTooLargeException,mr as PackedPolicyTooLargeException$,vr as PolicyDescriptorType$,yr as ProvidedContext$,B as RegionDisabledException,gr as RegionDisabledException$,ue as STS,b as STSClient,g as STSServiceException,ar as STSServiceException$,xr as Tag$,Rs as decorateDefaultCredentialProvider,qt as errorTypeRegistries,Cr as getDefaultRoleAssumer,wr as getDefaultRoleAssumerWithWebIdentity};
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunkEN65ZEK2_cjs=require('./chunk-EN65ZEK2.cjs'),chunkUNYXWPLZ_cjs=require('./chunk-UNYXWPLZ.cjs'),chunkPITMDQYN_cjs=require('./chunk-PITMDQYN.cjs'),chunkGIS6X43A_cjs=require('./chunk-GIS6X43A.cjs'),chunkLEBM6ZSZ_cjs=require('./chunk-LEBM6ZSZ.cjs'),chunkGNEVCEJU_cjs=require('./chunk-GNEVCEJU.cjs'),chunkEZIDQBXI_cjs=require('./chunk-EZIDQBXI.cjs'),chunkLQ3YZTPU_cjs=require('./chunk-LQ3YZTPU.cjs'),chunkBUNLC3II_cjs=require('./chunk-BUNLC3II.cjs');chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();var O="ref",I=-1,W=true,Et="isSet",wt="PartitionResult",$="booleanEquals",l="stringEquals",se="getAttr",vt="us-east-1",yt="sigv4",xt="sts",It="https://sts.{Region}.{PartitionResult#dnsSuffix}",Rt={[O]:"Endpoint"},u={[O]:"Region"},ie={[O]:wt},k={},_t=[u],Ct={conditions:[[Et,[Rt]],[Et,_t],["aws.partition",_t,wt],[$,[{[O]:"UseFIPS"},W]],[$,[{[O]:"UseDualStack"},W]],[l,[u,"aws-global"]],[$,[{[O]:"UseGlobalEndpoint"},W]],[l,[u,"eu-central-1"]],[$,[{fn:se,argv:[ie,"supportsDualStack"]},W]],[$,[{fn:se,argv:[ie,"supportsFIPS"]},W]],[l,[u,"ap-south-1"]],[l,[u,"eu-north-1"]],[l,[u,"eu-west-1"]],[l,[u,"eu-west-2"]],[l,[u,"eu-west-3"]],[l,[u,"sa-east-1"]],[l,[u,vt]],[l,[u,"us-east-2"]],[l,[u,"us-west-2"]],[l,[u,"us-west-1"]],[l,[u,"ca-central-1"]],[l,[u,"ap-southeast-1"]],[l,[u,"ap-northeast-1"]],[l,[u,"ap-southeast-2"]],[l,[{fn:se,argv:[ie,"name"]},"aws-us-gov"]]],results:[[I],["https://sts.amazonaws.com",{authSchemes:[{name:yt,signingName:xt,signingRegion:vt}]}],[It,{authSchemes:[{name:yt,signingName:xt,signingRegion:"{Region}"}]}],[I,"Invalid Configuration: FIPS and custom endpoint are not supported"],[I,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[Rt,k],["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",k],[I,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://sts.{Region}.amazonaws.com",k],["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",k],[I,"FIPS is enabled but this partition does not support FIPS"],["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",k],[I,"DualStack is enabled but this partition does not support DualStack"],[It,k],[I,"Invalid Configuration: Missing Region"]]},po=2,s=1e8,lo=new Int32Array([-1,1,-1,0,30,3,1,4,s+14,2,5,s+14,3,25,6,4,24,7,5,s+1,8,6,9,s+13,7,s+1,10,10,s+1,11,11,s+1,12,12,s+1,13,13,s+1,14,14,s+1,15,15,s+1,16,16,s+1,17,17,s+1,18,18,s+1,19,19,s+1,20,20,s+1,21,21,s+1,22,22,s+1,23,23,s+1,s+2,8,s+11,s+12,4,28,26,9,27,s+10,24,s+8,s+9,8,29,s+7,9,s+6,s+7,3,s+3,31,4,s+4,s+5]),Tt=chunkLEBM6ZSZ_cjs.p.from(lo,po,Ct.conditions,Ct.results);var uo=new chunkLEBM6ZSZ_cjs.q({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS","UseGlobalEndpoint"]}),j=(e,t={})=>uo.get(e,()=>chunkLEBM6ZSZ_cjs.s(Tt,{endpointParams:e,logger:t.logger}));chunkLEBM6ZSZ_cjs.r.aws=chunkLEBM6ZSZ_cjs.R;var mo=e=>async(t,o,a)=>{if(!a)throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let r=await e(t,o,a),p=chunkGNEVCEJU_cjs.d(o)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!p)throw new Error(`getEndpointParameterInstructions() is not defined on '${o.commandName}'`);let i=await chunkLEBM6ZSZ_cjs.o(a,{getEndpointParameterInstructions:p},t);return Object.assign(r,i)},go=async(e,t,o)=>({operation:chunkGNEVCEJU_cjs.d(t).operation,region:await chunkGNEVCEJU_cjs.h(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),Dt=mo(go);function bt(e){return {schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(t,o)=>({signingProperties:{config:t,context:o}})}}function ae(e){return {schemeId:"aws.auth#sigv4a",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(t,o)=>({signingProperties:{config:t,context:o}})}}function kt(e){return {schemeId:"smithy.api#noAuth"}}var fo=(e,t,o)=>r=>{let i=e(r).properties?.authSchemes;if(!i)return t(r);let g=[];for(let P of i){let{name:f,properties:v={},...h}=P,A=f.toLowerCase();f!==A&&console.warn(`HttpAuthScheme has been normalized with lowercasing: '${f}' to '${A}'`);let S;if(A==="sigv4a"){S="aws.auth#sigv4a";let ee=i.find(te=>{let ue=te.name.toLowerCase();return ue!=="sigv4a"&&ue.startsWith("sigv4")});if(chunkUNYXWPLZ_cjs.a.sigv4aDependency()==="none"&&ee)continue}else if(A.startsWith("sigv4"))S="aws.auth#sigv4";else throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${A}'`);let b=o[S];if(!b)throw new Error(`Could not find HttpAuthOption create function for '${S}'`);let y=b(r);y.schemeId=S,y.signingProperties={...y.signingProperties||{},...h,...v},g.push(y);}return g},ho=e=>{let t=[];return e.operation==="AssumeRoleWithWebIdentity"?(t.push(kt()),t.push(ae(e))):(t.push(bt(e)),t.push(ae(e))),t},Ot=fo(j,ho,{"aws.auth#sigv4":bt,"aws.auth#sigv4a":ae,"smithy.api#noAuth":kt}),Nt=e=>{let t=chunkPITMDQYN_cjs.k(e),o=chunkPITMDQYN_cjs.i(t);return Object.assign(o,{authSchemePreference:chunkGNEVCEJU_cjs.h(e.authSchemePreference??[])})};chunkBUNLC3II_cjs.h();var Ht=e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??false,useFipsEndpoint:e.useFipsEndpoint??false,useGlobalEndpoint:e.useGlobalEndpoint??false,defaultSigningName:"sts"}),Wt={UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();var m=class e extends chunkLEBM6ZSZ_cjs.f{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype);}};var G=class e extends m{name="ExpiredTokenException";$fault="client";constructor(t){super({name:"ExpiredTokenException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype);}},V=class e extends m{name="MalformedPolicyDocumentException";$fault="client";constructor(t){super({name:"MalformedPolicyDocumentException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype);}},q=class e extends m{name="PackedPolicyTooLargeException";$fault="client";constructor(t){super({name:"PackedPolicyTooLargeException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype);}},z=class e extends m{name="RegionDisabledException";$fault="client";constructor(t){super({name:"RegionDisabledException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype);}},B=class e extends m{name="IDPRejectedClaimException";$fault="client";constructor(t){super({name:"IDPRejectedClaimException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype);}},Q=class e extends m{name="InvalidIdentityTokenException";$fault="client";constructor(t){super({name:"InvalidIdentityTokenException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype);}},Y=class e extends m{name="IDPCommunicationErrorException";$fault="client";$retryable={};constructor(t){super({name:"IDPCommunicationErrorException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype);}};var So="Arn",Po="AccessKeyId",Ao="AssumeRole",Eo="AssumedRoleId",vo="AssumeRoleRequest",yo="AssumeRoleResponse",ce="AssumedRoleUser",xo="AssumeRoleWithWebIdentity",Io="AssumeRoleWithWebIdentityRequest",Ro="AssumeRoleWithWebIdentityResponse",_o="Audience",pe="Credentials",Co="ContextAssertion",$t="DurationSeconds",wo="Expiration",To="ExternalId",Do="ExpiredTokenException",bo="IDPCommunicationErrorException",ko="IDPRejectedClaimException",Oo="InvalidIdentityTokenException",No="Key",Ho="MalformedPolicyDocumentException",Lt="Policy",Ft="PolicyArns",Wo="ProviderArn",$o="ProvidedContexts",Lo="ProvidedContextsListType",Fo="ProvidedContext",Uo="PolicyDescriptorType",Ko="ProviderId",Ut="PackedPolicySize",Mo="PackedPolicyTooLargeException",jo="Provider",Kt="RoleArn",Go="RegionDisabledException",Mt="RoleSessionName",Vo="SecretAccessKey",qo="SubjectFromWebIdentityToken",de="SourceIdentity",zo="SerialNumber",Bo="SessionToken",Qo="Tags",Yo="TokenCode",Xo="TransitiveTagKeys",Jo="Tag",Zo="Value",er="WebIdentityToken",tr="arn",or="accessKeySecretType",R="awsQueryError",_="client",rr="clientTokenType",C="error",w="httpError",T="message",nr="policyDescriptorListType",jt="smithy.ts.sdk.synthetic.com.amazonaws.sts",sr="tagListType",c="com.amazonaws.sts",Gt=chunkGNEVCEJU_cjs.n.for(jt),ir=[-3,jt,"STSServiceException",0,[],[]];Gt.registerError(ir,m);var x=chunkGNEVCEJU_cjs.n.for(c),ar=[-3,c,Do,{[R]:["ExpiredTokenException",400],[C]:_,[w]:400},[T],[0]];x.registerError(ar,G);var cr=[-3,c,bo,{[R]:["IDPCommunicationError",400],[C]:_,[w]:400},[T],[0]];x.registerError(cr,Y);var pr=[-3,c,ko,{[R]:["IDPRejectedClaim",403],[C]:_,[w]:403},[T],[0]];x.registerError(pr,B);var dr=[-3,c,Oo,{[R]:["InvalidIdentityToken",400],[C]:_,[w]:400},[T],[0]];x.registerError(dr,Q);var lr=[-3,c,Ho,{[R]:["MalformedPolicyDocument",400],[C]:_,[w]:400},[T],[0]];x.registerError(lr,V);var ur=[-3,c,Mo,{[R]:["PackedPolicyTooLarge",400],[C]:_,[w]:400},[T],[0]];x.registerError(ur,q);var mr=[-3,c,Go,{[R]:["RegionDisabledException",403],[C]:_,[w]:403},[T],[0]];x.registerError(mr,z);var Vt=[Gt,x],gr=[0,c,or,8,0],fr=[0,c,rr,8,0],qt=[3,c,ce,0,[Eo,So],[0,0],2],hr=[3,c,vo,0,[Kt,Mt,Ft,Lt,$t,Qo,Xo,To,zo,Yo,de,$o],[0,0,()=>Bt,0,1,()=>Ir,64,0,0,0,0,()=>xr],2],Sr=[3,c,yo,0,[pe,ce,Ut,de],[[()=>zt,0],()=>qt,1,0]],Pr=[3,c,Io,0,[Kt,Mt,er,Ko,Ft,Lt,$t],[0,0,[()=>fr,0],0,()=>Bt,0,1],3],Ar=[3,c,Ro,0,[pe,qo,ce,Ut,jo,_o,de],[[()=>zt,0],0,()=>qt,1,0,0,0]],zt=[3,c,pe,0,[Po,Vo,Bo,wo],[0,[()=>gr,0],0,4],4],Er=[3,c,Uo,0,[tr],[0]],vr=[3,c,Fo,0,[Wo,Co],[0,0]],yr=[3,c,Jo,0,[No,Zo],[0,0],2],Bt=[1,c,nr,0,()=>Er],xr=[1,c,Lo,0,()=>vr];var Ir=[1,c,sr,0,()=>yr],Qt=[9,c,Ao,0,()=>hr,()=>Sr],Yt=[9,c,xo,0,()=>Pr,()=>Ar];var Xt=e=>({apiVersion:"2011-06-15",base64Decoder:e?.base64Decoder??chunkLQ3YZTPU_cjs.b,base64Encoder:e?.base64Encoder??chunkLQ3YZTPU_cjs.d,disableHostPrefix:e?.disableHostPrefix??false,endpointProvider:e?.endpointProvider??j,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Ot,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:t=>t.getIdentityProvider("aws.auth#sigv4"),signer:new chunkPITMDQYN_cjs.f},{schemeId:"aws.auth#sigv4a",identityProvider:t=>t.getIdentityProvider("aws.auth#sigv4a"),signer:new chunkPITMDQYN_cjs.g},{schemeId:"smithy.api#noAuth",identityProvider:t=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new chunkLEBM6ZSZ_cjs.J}],logger:e?.logger??new chunkLEBM6ZSZ_cjs.m,protocol:e?.protocol??chunkPITMDQYN_cjs.d,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.sts",errorTypeRegistries:Vt,xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/",version:"2011-06-15",serviceTarget:"AWSSecurityTokenServiceV20110615"},serviceId:e?.serviceId??"STS",sha256:e?.sha256??chunkEZIDQBXI_cjs.d,signerConstructor:e?.signerConstructor??chunkUNYXWPLZ_cjs.a,urlParser:e?.urlParser??chunkGNEVCEJU_cjs.i,utf8Decoder:e?.utf8Decoder??chunkLQ3YZTPU_cjs.c,utf8Encoder:e?.utf8Encoder??chunkLQ3YZTPU_cjs.e});var Jt=e=>{chunkLEBM6ZSZ_cjs.i(process.version);let t=chunkGNEVCEJU_cjs.I(e),o=()=>t().then(chunkLEBM6ZSZ_cjs.h),a=Xt(e);chunkLEBM6ZSZ_cjs.a(process.version);let r={profile:e?.profile,logger:a.logger};return {...a,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??chunkGNEVCEJU_cjs.C(chunkPITMDQYN_cjs.h,r),bodyLengthChecker:e?.bodyLengthChecker??chunkLQ3YZTPU_cjs.u,defaultUserAgentProvider:e?.defaultUserAgentProvider??chunkLEBM6ZSZ_cjs.P({serviceId:a.serviceId,clientVersion:chunkEN65ZEK2_cjs.a.version}),httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:p=>p.getIdentityProvider("aws.auth#sigv4")||(async i=>await e.credentialDefaultProvider(i?.__config||{})()),signer:new chunkPITMDQYN_cjs.f},{schemeId:"aws.auth#sigv4a",identityProvider:p=>p.getIdentityProvider("aws.auth#sigv4a"),signer:new chunkPITMDQYN_cjs.g},{schemeId:"smithy.api#noAuth",identityProvider:p=>p.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new chunkLEBM6ZSZ_cjs.J}],maxAttempts:e?.maxAttempts??chunkGNEVCEJU_cjs.C(chunkLEBM6ZSZ_cjs.w,e),region:e?.region??chunkGNEVCEJU_cjs.C(chunkGNEVCEJU_cjs.F,{...chunkGNEVCEJU_cjs.G,...r}),requestHandler:chunkGIS6X43A_cjs.a.create(e?.requestHandler??o),retryMode:e?.retryMode??chunkGNEVCEJU_cjs.C({...chunkLEBM6ZSZ_cjs.y,default:async()=>(await o()).retryMode||chunkLEBM6ZSZ_cjs.v},e),sigv4aSigningRegionSet:e?.sigv4aSigningRegionSet??chunkGNEVCEJU_cjs.C(chunkPITMDQYN_cjs.j,r),streamCollector:e?.streamCollector??chunkLQ3YZTPU_cjs.z,useDualstackEndpoint:e?.useDualstackEndpoint??chunkGNEVCEJU_cjs.C(chunkGNEVCEJU_cjs.D,r),useFipsEndpoint:e?.useFipsEndpoint??chunkGNEVCEJU_cjs.C(chunkGNEVCEJU_cjs.E,r),userAgentAppId:e?.userAgentAppId??chunkGNEVCEJU_cjs.C(chunkLEBM6ZSZ_cjs.Q,r)}};chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();var Zt=e=>{let t=e.httpAuthSchemes,o=e.httpAuthSchemeProvider,a=e.credentials;return {setHttpAuthScheme(r){let p=t.findIndex(i=>i.schemeId===r.schemeId);p===-1?t.push(r):t.splice(p,1,r);},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(r){o=r;},httpAuthSchemeProvider(){return o},setCredentials(r){a=r;},credentials(){return a}}},eo=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()});var to=(e,t)=>{let o=Object.assign(chunkLEBM6ZSZ_cjs.T(e),chunkLEBM6ZSZ_cjs.j(e),chunkGNEVCEJU_cjs.R(e),Zt(e));return t.forEach(a=>a.configure(o)),Object.assign(e,chunkLEBM6ZSZ_cjs.U(o),chunkLEBM6ZSZ_cjs.k(o),chunkGNEVCEJU_cjs.S(o),eo(o))};var D=class extends chunkLEBM6ZSZ_cjs.c{config;constructor(...[t]){let o=Jt(t||{});super(o),this.initConfig=o;let a=Ht(o),r=chunkLEBM6ZSZ_cjs.N(a),p=chunkLEBM6ZSZ_cjs.x(r),i=chunkGNEVCEJU_cjs.H(p),g=i,P=chunkLEBM6ZSZ_cjs.t(g),f=Nt(P),v=to(f,t?.extensions||[]);this.config=v,this.middlewareStack.use(chunkGNEVCEJU_cjs.l(this.config)),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.O(this.config)),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.z(this.config)),this.middlewareStack.use(chunkGNEVCEJU_cjs.T(this.config)),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.B(this.config)),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.C(this.config)),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.D(this.config)),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.E(this.config,{httpAuthSchemeParametersProvider:Dt,identityProviderConfigProvider:async h=>new chunkLEBM6ZSZ_cjs.I({"aws.auth#sigv4":h.credentials,"aws.auth#sigv4a":h.credentials})})),this.middlewareStack.use(chunkLEBM6ZSZ_cjs.G(this.config));}destroy(){super.destroy();}};chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();var X=chunkLEBM6ZSZ_cjs.n(Wt,"AWSSecurityTokenServiceV20110615","STSClient",chunkLEBM6ZSZ_cjs.u),J={},Z=(e,t,o,a)=>[];var N=class extends X(J,Z,"AssumeRole",Qt){};chunkBUNLC3II_cjs.h();var H=class extends X(J,Z,"AssumeRoleWithWebIdentity",Yt){};var Rr={AssumeRoleCommand:N,AssumeRoleWithWebIdentityCommand:H},le=class extends D{};chunkLEBM6ZSZ_cjs.e(Rr,le);chunkBUNLC3II_cjs.h();chunkBUNLC3II_cjs.h();var oo=e=>{if(typeof e?.Arn=="string"){let t=e.Arn.split(":");if(t.length>4&&t[4]!=="")return t[4]}},ro=async(e,t,o,a={})=>{let r=typeof e=="function"?await e():e,p=typeof t=="function"?await t():t,i="",g=r??p??(i=await chunkLEBM6ZSZ_cjs.S(a)());return o?.debug?.("@aws-sdk/client-sts::resolveRegion","accepting first of:",`${r} (credential provider clientConfig)`,`${p} (contextual client)`,`${i} (STS default: AWS_REGION, profile region, or us-east-1)`),g},no=(e,t)=>{let o,a;return async(r,p)=>{if(a=r,!o){let{logger:v=e?.parentClientConfig?.logger,profile:h=e?.parentClientConfig?.profile,region:A,requestHandler:S=e?.parentClientConfig?.requestHandler,credentialProviderLogger:b,userAgentAppId:y=e?.parentClientConfig?.userAgentAppId}=e,ee=await ro(A,e?.parentClientConfig?.region,b,{logger:v,profile:h}),te=!io(S);o=new t({...e,userAgentAppId:y,profile:h,credentialDefaultProvider:()=>async()=>a,region:ee,requestHandler:te?S:void 0,logger:v});}let{Credentials:i,AssumedRoleUser:g}=await o.send(new N(p));if(!i||!i.AccessKeyId||!i.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRole call with role ${p.RoleArn}`);let P=oo(g),f={accessKeyId:i.AccessKeyId,secretAccessKey:i.SecretAccessKey,sessionToken:i.SessionToken,expiration:i.Expiration,...i.CredentialScope&&{credentialScope:i.CredentialScope},...P&&{accountId:P}};return chunkLEBM6ZSZ_cjs.b(f,"CREDENTIALS_STS_ASSUME_ROLE","i"),f}},so=(e,t)=>{let o;return async a=>{if(!o){let{logger:P=e?.parentClientConfig?.logger,profile:f=e?.parentClientConfig?.profile,region:v,requestHandler:h=e?.parentClientConfig?.requestHandler,credentialProviderLogger:A,userAgentAppId:S=e?.parentClientConfig?.userAgentAppId}=e,b=await ro(v,e?.parentClientConfig?.region,A,{logger:P,profile:f}),y=!io(h);o=new t({...e,userAgentAppId:S,profile:f,region:b,requestHandler:y?h:void 0,logger:P});}let{Credentials:r,AssumedRoleUser:p}=await o.send(new H(a));if(!r||!r.AccessKeyId||!r.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${a.RoleArn}`);let i=oo(p),g={accessKeyId:r.AccessKeyId,secretAccessKey:r.SecretAccessKey,sessionToken:r.SessionToken,expiration:r.Expiration,...r.CredentialScope&&{credentialScope:r.CredentialScope},...i&&{accountId:i}};return i&&chunkLEBM6ZSZ_cjs.b(g,"RESOLVED_ACCOUNT_ID","T"),chunkLEBM6ZSZ_cjs.b(g,"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID","k"),g}},io=e=>e?.metadata?.handlerProtocol==="h2";var ao=(e,t)=>t?class extends e{constructor(a){super(a);for(let r of t)this.middlewareStack.use(r);}}:e,_r=(e={},t)=>no(e,ao(D,t)),Cr=(e={},t)=>so(e,ao(D,t)),Is=e=>t=>e({roleAssumer:_r(t),roleAssumerWithWebIdentity:Cr(t),...t});
2
+ Object.defineProperty(exports,"$Command",{enumerable:true,get:function(){return chunkLEBM6ZSZ_cjs.d}});Object.defineProperty(exports,"__Client",{enumerable:true,get:function(){return chunkLEBM6ZSZ_cjs.c}});exports.AssumeRole$=Qt;exports.AssumeRoleCommand=N;exports.AssumeRoleRequest$=hr;exports.AssumeRoleResponse$=Sr;exports.AssumeRoleWithWebIdentity$=Yt;exports.AssumeRoleWithWebIdentityCommand=H;exports.AssumeRoleWithWebIdentityRequest$=Pr;exports.AssumeRoleWithWebIdentityResponse$=Ar;exports.AssumedRoleUser$=qt;exports.Credentials$=zt;exports.ExpiredTokenException=G;exports.ExpiredTokenException$=ar;exports.IDPCommunicationErrorException=Y;exports.IDPCommunicationErrorException$=cr;exports.IDPRejectedClaimException=B;exports.IDPRejectedClaimException$=pr;exports.InvalidIdentityTokenException=Q;exports.InvalidIdentityTokenException$=dr;exports.MalformedPolicyDocumentException=V;exports.MalformedPolicyDocumentException$=lr;exports.PackedPolicyTooLargeException=q;exports.PackedPolicyTooLargeException$=ur;exports.PolicyDescriptorType$=Er;exports.ProvidedContext$=vr;exports.RegionDisabledException=z;exports.RegionDisabledException$=mr;exports.STS=le;exports.STSClient=D;exports.STSServiceException=m;exports.STSServiceException$=ir;exports.Tag$=yr;exports.decorateDefaultCredentialProvider=Is;exports.errorTypeRegistries=Vt;exports.getDefaultRoleAssumer=_r;exports.getDefaultRoleAssumerWithWebIdentity=Cr;
@@ -1 +1 @@
1
- 'use strict';var chunk3CVLI5C5_cjs=require('../chunk-3CVLI5C5.cjs'),chunk4IGWJMBY_cjs=require('../chunk-4IGWJMBY.cjs'),chunkGO34AOBZ_cjs=require('../chunk-GO34AOBZ.cjs');require('../chunk-AHSFSERC.cjs');Object.defineProperty(exports,"accessSettingsGlobal",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.g}});Object.defineProperty(exports,"allGlobalSettings",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.k}});Object.defineProperty(exports,"blogCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.q}});Object.defineProperty(exports,"brandSettingsGlobal",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.e}});Object.defineProperty(exports,"brandsCollection",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.S}});Object.defineProperty(exports,"brandsCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.T}});Object.defineProperty(exports,"categoriesCollection",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.A}});Object.defineProperty(exports,"categoriesCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.B}});Object.defineProperty(exports,"coreGlobalSettings",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.l}});Object.defineProperty(exports,"couponsCollection",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.K}});Object.defineProperty(exports,"couponsCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.L}});Object.defineProperty(exports,"createTemplateConfig",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.V}});Object.defineProperty(exports,"customersCollection",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.G}});Object.defineProperty(exports,"customersCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.H}});Object.defineProperty(exports,"ecommerceCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.r}});Object.defineProperty(exports,"ecommerceGlobals",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.s}});Object.defineProperty(exports,"emailSettingsGlobal",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.f}});Object.defineProperty(exports,"formEntriesCollection",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.O}});Object.defineProperty(exports,"formEntriesCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.P}});Object.defineProperty(exports,"formsCollection",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.M}});Object.defineProperty(exports,"formsCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.N}});Object.defineProperty(exports,"getSettingsForTemplate",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.n}});Object.defineProperty(exports,"kitchenSinkCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.t}});Object.defineProperty(exports,"mediaCollection",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.u}});Object.defineProperty(exports,"mediaCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.v}});Object.defineProperty(exports,"menuCollection",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.w}});Object.defineProperty(exports,"menuCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.x}});Object.defineProperty(exports,"minimalCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.a}});Object.defineProperty(exports,"ordersCollection",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.I}});Object.defineProperty(exports,"ordersCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.J}});Object.defineProperty(exports,"pageCollection",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.y}});Object.defineProperty(exports,"pageCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.z}});Object.defineProperty(exports,"postsCollection",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.o}});Object.defineProperty(exports,"postsCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.p}});Object.defineProperty(exports,"productCategoriesCollection",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.C}});Object.defineProperty(exports,"productCategoriesCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.D}});Object.defineProperty(exports,"productsCollection",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.E}});Object.defineProperty(exports,"productsCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.F}});Object.defineProperty(exports,"reviewsCollection",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.Q}});Object.defineProperty(exports,"reviewsCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.R}});Object.defineProperty(exports,"seoSettingsGlobal",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.d}});Object.defineProperty(exports,"settingsBySlug",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.m}});Object.defineProperty(exports,"shippingSettingsGlobal",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.i}});Object.defineProperty(exports,"siteSettingsGlobal",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.c}});Object.defineProperty(exports,"starterCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.b}});Object.defineProperty(exports,"storeSettingsGlobal",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.h}});Object.defineProperty(exports,"systemSettingsGlobal",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.j}});Object.defineProperty(exports,"templateCollections",{enumerable:true,get:function(){return chunk3CVLI5C5_cjs.U}});Object.defineProperty(exports,"storageSettingsGlobal",{enumerable:true,get:function(){return chunk4IGWJMBY_cjs.a}});Object.defineProperty(exports,"authCollections",{enumerable:true,get:function(){return chunkGO34AOBZ_cjs.b}});
1
+ 'use strict';var chunk26Q7JXM4_cjs=require('../chunk-26Q7JXM4.cjs'),chunk7GGZA5YU_cjs=require('../chunk-7GGZA5YU.cjs'),chunkZO3YB5DK_cjs=require('../chunk-ZO3YB5DK.cjs');require('../chunk-BUNLC3II.cjs');Object.defineProperty(exports,"accessSettingsGlobal",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.g}});Object.defineProperty(exports,"allGlobalSettings",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.k}});Object.defineProperty(exports,"blogCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.q}});Object.defineProperty(exports,"brandSettingsGlobal",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.e}});Object.defineProperty(exports,"brandsCollection",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.S}});Object.defineProperty(exports,"brandsCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.T}});Object.defineProperty(exports,"categoriesCollection",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.A}});Object.defineProperty(exports,"categoriesCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.B}});Object.defineProperty(exports,"coreGlobalSettings",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.l}});Object.defineProperty(exports,"couponsCollection",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.K}});Object.defineProperty(exports,"couponsCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.L}});Object.defineProperty(exports,"createTemplateConfig",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.V}});Object.defineProperty(exports,"customersCollection",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.G}});Object.defineProperty(exports,"customersCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.H}});Object.defineProperty(exports,"ecommerceCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.r}});Object.defineProperty(exports,"ecommerceGlobals",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.s}});Object.defineProperty(exports,"emailSettingsGlobal",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.f}});Object.defineProperty(exports,"formEntriesCollection",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.O}});Object.defineProperty(exports,"formEntriesCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.P}});Object.defineProperty(exports,"formsCollection",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.M}});Object.defineProperty(exports,"formsCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.N}});Object.defineProperty(exports,"getSettingsForTemplate",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.n}});Object.defineProperty(exports,"kitchenSinkCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.t}});Object.defineProperty(exports,"mediaCollection",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.u}});Object.defineProperty(exports,"mediaCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.v}});Object.defineProperty(exports,"menuCollection",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.w}});Object.defineProperty(exports,"menuCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.x}});Object.defineProperty(exports,"minimalCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.a}});Object.defineProperty(exports,"ordersCollection",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.I}});Object.defineProperty(exports,"ordersCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.J}});Object.defineProperty(exports,"pageCollection",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.y}});Object.defineProperty(exports,"pageCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.z}});Object.defineProperty(exports,"postsCollection",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.o}});Object.defineProperty(exports,"postsCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.p}});Object.defineProperty(exports,"productCategoriesCollection",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.C}});Object.defineProperty(exports,"productCategoriesCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.D}});Object.defineProperty(exports,"productsCollection",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.E}});Object.defineProperty(exports,"productsCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.F}});Object.defineProperty(exports,"reviewsCollection",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.Q}});Object.defineProperty(exports,"reviewsCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.R}});Object.defineProperty(exports,"seoSettingsGlobal",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.d}});Object.defineProperty(exports,"settingsBySlug",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.m}});Object.defineProperty(exports,"shippingSettingsGlobal",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.i}});Object.defineProperty(exports,"siteSettingsGlobal",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.c}});Object.defineProperty(exports,"starterCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.b}});Object.defineProperty(exports,"storeSettingsGlobal",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.h}});Object.defineProperty(exports,"systemSettingsGlobal",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.j}});Object.defineProperty(exports,"templateCollections",{enumerable:true,get:function(){return chunk26Q7JXM4_cjs.U}});Object.defineProperty(exports,"storageSettingsGlobal",{enumerable:true,get:function(){return chunk7GGZA5YU_cjs.a}});Object.defineProperty(exports,"authCollections",{enumerable:true,get:function(){return chunkZO3YB5DK_cjs.b}});
@@ -1,4 +1,4 @@
1
- import { G as GlobalConfig, C as CollectionConfig } from '../types-BjivdGbU.cjs';
1
+ import { G as GlobalConfig, C as CollectionConfig } from '../types-DOKMyC3y.cjs';
2
2
  import '../types-euTszc-1.cjs';
3
3
 
4
4
  declare const minimalCollections: Record<string, any>;
@@ -1,4 +1,4 @@
1
- import { G as GlobalConfig, C as CollectionConfig } from '../types-CaXXmV9h.js';
1
+ import { G as GlobalConfig, C as CollectionConfig } from '../types-CYGXsNcJ.js';
2
2
  import '../types-euTszc-1.js';
3
3
 
4
4
  declare const minimalCollections: Record<string, any>;
@@ -1 +1 @@
1
- export{g as accessSettingsGlobal,k as allGlobalSettings,q as blogCollections,e as brandSettingsGlobal,S as brandsCollection,T as brandsCollections,A as categoriesCollection,B as categoriesCollections,l as coreGlobalSettings,K as couponsCollection,L as couponsCollections,V as createTemplateConfig,G as customersCollection,H as customersCollections,r as ecommerceCollections,s as ecommerceGlobals,f as emailSettingsGlobal,O as formEntriesCollection,P as formEntriesCollections,M as formsCollection,N as formsCollections,n as getSettingsForTemplate,t as kitchenSinkCollections,u as mediaCollection,v as mediaCollections,w as menuCollection,x as menuCollections,a as minimalCollections,I as ordersCollection,J as ordersCollections,y as pageCollection,z as pageCollections,o as postsCollection,p as postsCollections,C as productCategoriesCollection,D as productCategoriesCollections,E as productsCollection,F as productsCollections,Q as reviewsCollection,R as reviewsCollections,d as seoSettingsGlobal,m as settingsBySlug,i as shippingSettingsGlobal,c as siteSettingsGlobal,b as starterCollections,h as storeSettingsGlobal,j as systemSettingsGlobal,U as templateCollections}from'../chunk-QYFU5Y7S.js';export{a as storageSettingsGlobal}from'../chunk-5B6X2GBJ.js';export{b as authCollections}from'../chunk-IETGL7WJ.js';import'../chunk-5J6HXUF6.js';
1
+ import {createRequire}from'module';export{g as accessSettingsGlobal,k as allGlobalSettings,q as blogCollections,e as brandSettingsGlobal,S as brandsCollection,T as brandsCollections,A as categoriesCollection,B as categoriesCollections,l as coreGlobalSettings,K as couponsCollection,L as couponsCollections,V as createTemplateConfig,G as customersCollection,H as customersCollections,r as ecommerceCollections,s as ecommerceGlobals,f as emailSettingsGlobal,O as formEntriesCollection,P as formEntriesCollections,M as formsCollection,N as formsCollections,n as getSettingsForTemplate,t as kitchenSinkCollections,u as mediaCollection,v as mediaCollections,w as menuCollection,x as menuCollections,a as minimalCollections,I as ordersCollection,J as ordersCollections,y as pageCollection,z as pageCollections,o as postsCollection,p as postsCollections,C as productCategoriesCollection,D as productCategoriesCollections,E as productsCollection,F as productsCollections,Q as reviewsCollection,R as reviewsCollections,d as seoSettingsGlobal,m as settingsBySlug,i as shippingSettingsGlobal,c as siteSettingsGlobal,b as starterCollections,h as storeSettingsGlobal,j as systemSettingsGlobal,U as templateCollections}from'../chunk-7V67ONUD.js';export{a as storageSettingsGlobal}from'../chunk-R3NEPC4I.js';export{b as authCollections}from'../chunk-2WFTETFB.js';import'../chunk-C2PXMVR5.js';createRequire(import.meta.url);
@@ -1 +1 @@
1
- 'use strict';var chunkZUVP4UK7_cjs=require('../chunk-ZUVP4UK7.cjs');require('../chunk-ILEZ3NYX.cjs'),require('../chunk-NY47CFVP.cjs'),require('../chunk-G7SSHELM.cjs'),require('../chunk-Q3Q7BJVQ.cjs'),require('../chunk-AHSFSERC.cjs');Object.defineProperty(exports,"createContext",{enumerable:true,get:function(){return chunkZUVP4UK7_cjs.a}});Object.defineProperty(exports,"createCountProcedure",{enumerable:true,get:function(){return chunkZUVP4UK7_cjs.g}});Object.defineProperty(exports,"createCreateProcedure",{enumerable:true,get:function(){return chunkZUVP4UK7_cjs.d}});Object.defineProperty(exports,"createDeleteProcedure",{enumerable:true,get:function(){return chunkZUVP4UK7_cjs.f}});Object.defineProperty(exports,"createDynamicRouter",{enumerable:true,get:function(){return chunkZUVP4UK7_cjs.h}});Object.defineProperty(exports,"createFindByIDProcedure",{enumerable:true,get:function(){return chunkZUVP4UK7_cjs.c}});Object.defineProperty(exports,"createFindProcedure",{enumerable:true,get:function(){return chunkZUVP4UK7_cjs.b}});Object.defineProperty(exports,"createKyroServer",{enumerable:true,get:function(){return chunkZUVP4UK7_cjs.i}});Object.defineProperty(exports,"createUpdateProcedure",{enumerable:true,get:function(){return chunkZUVP4UK7_cjs.e}});
1
+ 'use strict';var chunkMP5VC5ER_cjs=require('../chunk-MP5VC5ER.cjs');require('../chunk-AK754S3T.cjs'),require('../chunk-DUO523BH.cjs'),require('../chunk-ZOVH6QT5.cjs'),require('../chunk-7WMMKGEO.cjs'),require('../chunk-BUNLC3II.cjs');Object.defineProperty(exports,"createContext",{enumerable:true,get:function(){return chunkMP5VC5ER_cjs.a}});Object.defineProperty(exports,"createCountProcedure",{enumerable:true,get:function(){return chunkMP5VC5ER_cjs.g}});Object.defineProperty(exports,"createCreateProcedure",{enumerable:true,get:function(){return chunkMP5VC5ER_cjs.d}});Object.defineProperty(exports,"createDeleteProcedure",{enumerable:true,get:function(){return chunkMP5VC5ER_cjs.f}});Object.defineProperty(exports,"createDynamicRouter",{enumerable:true,get:function(){return chunkMP5VC5ER_cjs.h}});Object.defineProperty(exports,"createFindByIDProcedure",{enumerable:true,get:function(){return chunkMP5VC5ER_cjs.c}});Object.defineProperty(exports,"createFindProcedure",{enumerable:true,get:function(){return chunkMP5VC5ER_cjs.b}});Object.defineProperty(exports,"createKyroServer",{enumerable:true,get:function(){return chunkMP5VC5ER_cjs.i}});Object.defineProperty(exports,"createUpdateProcedure",{enumerable:true,get:function(){return chunkMP5VC5ER_cjs.e}});
@@ -1,5 +1,5 @@
1
- import { B as BaseAdapter, k as User, R as Request, b as FindResult } from '../types-BjivdGbU.cjs';
2
- import { j as createWebhookService } from '../WebhookService-BBcCHBo8.cjs';
1
+ import { B as BaseAdapter, k as User, R as Request, b as FindResult } from '../types-DOKMyC3y.cjs';
2
+ import { j as createWebhookService } from '../WebhookService-DgIx21X-.cjs';
3
3
  import '../types-euTszc-1.cjs';
4
4
 
5
5
  interface ApiKeyContext {
@@ -39,21 +39,21 @@ declare function createFindProcedure(ctx: KyroContext): (input: {
39
39
  depth?: number;
40
40
  select?: string[];
41
41
  draft?: boolean;
42
- }) => Promise<FindResult<unknown>>;
42
+ }) => Promise<FindResult<Record<string, any>>>;
43
43
  declare function createFindByIDProcedure(ctx: KyroContext): (input: {
44
44
  collection: string;
45
45
  id: string;
46
46
  depth?: number;
47
47
  select?: string[];
48
48
  draft?: boolean;
49
- }) => Promise<{}>;
49
+ }) => Promise<Record<string, any>>;
50
50
  declare function createCreateProcedure(ctx: KyroContext): (input: {
51
51
  collection: string;
52
52
  data: Record<string, any>;
53
53
  depth?: number;
54
54
  select?: string[];
55
55
  }) => Promise<{
56
- doc: unknown;
56
+ doc: Record<string, any>;
57
57
  }>;
58
58
  declare function createUpdateProcedure(ctx: KyroContext): (input: {
59
59
  collection: string;
@@ -63,13 +63,13 @@ declare function createUpdateProcedure(ctx: KyroContext): (input: {
63
63
  select?: string[];
64
64
  baseUpdatedAt?: string;
65
65
  }) => Promise<{
66
- doc: unknown;
66
+ doc: Record<string, any> | null;
67
67
  }>;
68
68
  declare function createDeleteProcedure(ctx: KyroContext): (input: {
69
69
  collection: string;
70
70
  id: string;
71
71
  }) => Promise<{
72
- doc: unknown;
72
+ doc: Record<string, any>;
73
73
  message: string;
74
74
  }>;
75
75
  declare function createCountProcedure(ctx: KyroContext): (input: {
@@ -1,5 +1,5 @@
1
- import { B as BaseAdapter, k as User, R as Request, b as FindResult } from '../types-CaXXmV9h.js';
2
- import { j as createWebhookService } from '../WebhookService-C19xR8qE.js';
1
+ import { B as BaseAdapter, k as User, R as Request, b as FindResult } from '../types-CYGXsNcJ.js';
2
+ import { j as createWebhookService } from '../WebhookService-CZf_na-J.js';
3
3
  import '../types-euTszc-1.js';
4
4
 
5
5
  interface ApiKeyContext {
@@ -39,21 +39,21 @@ declare function createFindProcedure(ctx: KyroContext): (input: {
39
39
  depth?: number;
40
40
  select?: string[];
41
41
  draft?: boolean;
42
- }) => Promise<FindResult<unknown>>;
42
+ }) => Promise<FindResult<Record<string, any>>>;
43
43
  declare function createFindByIDProcedure(ctx: KyroContext): (input: {
44
44
  collection: string;
45
45
  id: string;
46
46
  depth?: number;
47
47
  select?: string[];
48
48
  draft?: boolean;
49
- }) => Promise<{}>;
49
+ }) => Promise<Record<string, any>>;
50
50
  declare function createCreateProcedure(ctx: KyroContext): (input: {
51
51
  collection: string;
52
52
  data: Record<string, any>;
53
53
  depth?: number;
54
54
  select?: string[];
55
55
  }) => Promise<{
56
- doc: unknown;
56
+ doc: Record<string, any>;
57
57
  }>;
58
58
  declare function createUpdateProcedure(ctx: KyroContext): (input: {
59
59
  collection: string;
@@ -63,13 +63,13 @@ declare function createUpdateProcedure(ctx: KyroContext): (input: {
63
63
  select?: string[];
64
64
  baseUpdatedAt?: string;
65
65
  }) => Promise<{
66
- doc: unknown;
66
+ doc: Record<string, any> | null;
67
67
  }>;
68
68
  declare function createDeleteProcedure(ctx: KyroContext): (input: {
69
69
  collection: string;
70
70
  id: string;
71
71
  }) => Promise<{
72
- doc: unknown;
72
+ doc: Record<string, any>;
73
73
  message: string;
74
74
  }>;
75
75
  declare function createCountProcedure(ctx: KyroContext): (input: {
@@ -1 +1 @@
1
- export{a as createContext,g as createCountProcedure,d as createCreateProcedure,f as createDeleteProcedure,h as createDynamicRouter,c as createFindByIDProcedure,b as createFindProcedure,i as createKyroServer,e as createUpdateProcedure}from'../chunk-LHW4R367.js';import'../chunk-FVZ5RFLO.js';import'../chunk-HLSB2MCK.js';import'../chunk-4RMFCTWH.js';import'../chunk-KDNYHLD2.js';import'../chunk-5J6HXUF6.js';
1
+ import {createRequire}from'module';export{a as createContext,g as createCountProcedure,d as createCreateProcedure,f as createDeleteProcedure,h as createDynamicRouter,c as createFindByIDProcedure,b as createFindProcedure,i as createKyroServer,e as createUpdateProcedure}from'../chunk-JUJZOG6P.js';import'../chunk-NWCREF47.js';import'../chunk-E27KEZPT.js';import'../chunk-BLH2MRK4.js';import'../chunk-6KRR7YHA.js';import'../chunk-C2PXMVR5.js';createRequire(import.meta.url);
@@ -472,11 +472,11 @@ interface FindVersionsArgs {
472
472
  }
473
473
  interface BaseAdapter {
474
474
  init(collections: CollectionConfig[], globals: GlobalConfig[]): Promise<void>;
475
- find<T>(args: FindArgs): Promise<FindResult<T>>;
476
- findByID<T>(args: FindByIDArgs): Promise<T | null>;
477
- create<T>(args: CreateArgs): Promise<T>;
478
- update<T>(args: UpdateArgs): Promise<T>;
479
- delete<T>(args: DeleteArgs): Promise<T>;
475
+ find<T = Record<string, any>>(args: FindArgs): Promise<FindResult<T>>;
476
+ findByID<T = Record<string, any>>(args: FindByIDArgs): Promise<T | null>;
477
+ create<T = Record<string, any>>(args: CreateArgs): Promise<T>;
478
+ update<T = Record<string, any>>(args: UpdateArgs): Promise<T>;
479
+ delete<T = Record<string, any>>(args: DeleteArgs): Promise<T>;
480
480
  count(args: {
481
481
  collection: string;
482
482
  where?: Record<string, any>;
@@ -472,11 +472,11 @@ interface FindVersionsArgs {
472
472
  }
473
473
  interface BaseAdapter {
474
474
  init(collections: CollectionConfig[], globals: GlobalConfig[]): Promise<void>;
475
- find<T>(args: FindArgs): Promise<FindResult<T>>;
476
- findByID<T>(args: FindByIDArgs): Promise<T | null>;
477
- create<T>(args: CreateArgs): Promise<T>;
478
- update<T>(args: UpdateArgs): Promise<T>;
479
- delete<T>(args: DeleteArgs): Promise<T>;
475
+ find<T = Record<string, any>>(args: FindArgs): Promise<FindResult<T>>;
476
+ findByID<T = Record<string, any>>(args: FindByIDArgs): Promise<T | null>;
477
+ create<T = Record<string, any>>(args: CreateArgs): Promise<T>;
478
+ update<T = Record<string, any>>(args: UpdateArgs): Promise<T>;
479
+ delete<T = Record<string, any>>(args: DeleteArgs): Promise<T>;
480
480
  count(args: {
481
481
  collection: string;
482
482
  where?: Record<string, any>;