@ultrst-armada/kloks 1.26.3 → 1.26.5

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 (267) hide show
  1. package/README.md +39 -0
  2. package/index.d.ts +16 -10
  3. package/index.js +3 -0
  4. package/package.json +60 -7
  5. package/packages/audio-midi/dist/{audioClipEngine-BOT33JKI.js → audioClipEngine-LKZRWTJ3.js} +2 -2
  6. package/packages/audio-midi/dist/{audioInputManager-BLDGGLAR.js → audioInputManager-5BNHLOJM.js} +1 -1
  7. package/packages/audio-midi/dist/{chunk-N55BWOC6.js → chunk-M4JFGTHE.js} +1 -1
  8. package/packages/audio-midi/dist/{chunk-3GRGELA4.js → chunk-OUOFTYHY.js} +50 -11
  9. package/packages/audio-midi/dist/engine/audio/entities/AudioEffects/functionalities/Compressor/manifest.json +7 -0
  10. package/packages/audio-midi/dist/engine/audio/entities/AudioEffects/functionalities/Delay/manifest.json +7 -0
  11. package/packages/audio-midi/dist/engine/audio/entities/AudioEffects/functionalities/Equalizer/manifest.json +7 -0
  12. package/packages/audio-midi/dist/engine/audio/entities/AudioEffects/functionalities/Limiter/manifest.json +7 -0
  13. package/packages/audio-midi/dist/engine/audio/entities/AudioEffects/functionalities/MultibandCompressor/manifest.json +7 -0
  14. package/packages/audio-midi/dist/engine/audio/entities/AudioEffects/functionalities/Reverb/manifest.json +7 -0
  15. package/packages/audio-midi/dist/engine/audio/entities/AudioEffects/functionalities/Saturation/manifest.json +7 -0
  16. package/packages/audio-midi/dist/index.d.ts +10 -1
  17. package/packages/audio-midi/dist/index.js +36 -20
  18. package/packages/audio-midi/package.json +8 -0
  19. package/packages/backend/dist/ai-models/index.js +2 -2
  20. package/packages/backend/dist/ai-routing/index.js +3 -3
  21. package/packages/backend/dist/api/BaseApiRoute.d.ts +1 -1
  22. package/packages/backend/dist/api/index.js +1 -1
  23. package/packages/backend/dist/auth/CanonicalAuthClient.d.ts +6 -6
  24. package/packages/backend/dist/auth/index.js +2 -1
  25. package/packages/backend/dist/chunk-2Y2EXYDK.js +0 -0
  26. package/packages/backend/dist/{chunk-3S2NSIFA.js → chunk-3FZSYSJC.js} +16 -10
  27. package/packages/backend/dist/chunk-5F5V7NAG.js +54 -0
  28. package/packages/backend/dist/{chunk-WAQDOIGQ.js → chunk-BVXGUHLZ.js} +1 -1
  29. package/packages/backend/dist/chunk-DAG2L4RN.js +0 -0
  30. package/packages/backend/dist/{chunk-KPZQUA7R.js → chunk-G7PPVOFP.js} +16 -53
  31. package/packages/backend/dist/{chunk-GKQ42CYW.js → chunk-H6ET362U.js} +3 -3
  32. package/packages/backend/dist/chunk-HUY4272L.js +69 -0
  33. package/packages/backend/dist/chunk-JQKKMUCT.js +0 -0
  34. package/packages/backend/dist/{chunk-PT6J6UEU.js → chunk-LMAU62ZG.js} +4 -4
  35. package/packages/backend/dist/{chunk-EDKCP5CQ.js → chunk-MZK362U4.js} +16 -16
  36. package/packages/backend/dist/{chunk-U4UI6KK4.js → chunk-NGEB3CF5.js} +3 -35
  37. package/packages/backend/dist/{chunk-3VWBZEMG.js → chunk-NTKUQVCQ.js} +4 -5
  38. package/packages/backend/dist/chunk-NY2SQOXI.js +34 -0
  39. package/packages/backend/dist/{chunk-JOTDEFRG.js → chunk-OXEP3AP6.js} +5 -4
  40. package/packages/backend/dist/chunk-RABSY2JU.js +0 -0
  41. package/packages/backend/dist/{chunk-GWCLYVJT.js → chunk-RFPGUJAZ.js} +9 -9
  42. package/packages/backend/dist/{chunk-TWCEVES2.js → chunk-WC6EPW3A.js} +1 -1
  43. package/packages/backend/dist/{chunk-FU6TYLI2.js → chunk-Y5ENDXU2.js} +72 -129
  44. package/packages/backend/dist/{chunk-EO5VUYYU.js → chunk-Y7ZE6D5H.js} +4 -4
  45. package/packages/backend/dist/{chunk-RCCQ7IRM.js → chunk-ZBNSK26X.js} +2 -2
  46. package/packages/backend/dist/control-plane/AuditLogger.d.ts +1 -1
  47. package/packages/backend/dist/control-plane/ControlPlaneManager.d.ts +1 -1
  48. package/packages/backend/dist/control-plane/index.js +1 -1
  49. package/packages/backend/dist/core/dynamicRouteResolver.d.ts +1 -1
  50. package/packages/backend/dist/core/routesCore.d.ts +1 -1
  51. package/packages/backend/dist/core/vercelTransformer.d.ts +1 -1
  52. package/packages/backend/dist/core/workspaceCore.d.ts +2 -2
  53. package/packages/backend/dist/data/BaseDataProvider.d.ts +1 -1
  54. package/packages/backend/dist/development/index.js +30 -17
  55. package/packages/backend/dist/development/playwrightInspectionService.js +1 -2
  56. package/packages/backend/dist/development/webContainerService.js +1 -2
  57. package/packages/backend/dist/index.d.ts +4 -24
  58. package/packages/backend/dist/index.js +12 -4655
  59. package/packages/backend/dist/krnl-ai-services.d.ts +9 -9
  60. package/packages/backend/dist/krnl-ai-services.js +5 -6
  61. package/packages/backend/dist/krnl-services.js +8 -7
  62. package/packages/backend/dist/node.d.ts +28 -0
  63. package/packages/backend/dist/node.js +4761 -0
  64. package/packages/backend/dist/resourceEngine/BaseResourceFetcher.d.ts +3 -3
  65. package/packages/backend/dist/resourceEngine/CloudflareResourceFetcher.d.ts +3 -3
  66. package/packages/backend/dist/resourceEngine/ResourceFetcherRegistry.d.ts +5 -5
  67. package/packages/backend/dist/resourceEngine/VercelResourceFetcher.d.ts +3 -3
  68. package/packages/backend/dist/resourceEngine/adapters/CloudflareResourceAdapter.d.ts +2 -2
  69. package/packages/backend/dist/resourceEngine/adapters/VercelResourceAdapter.d.ts +2 -2
  70. package/packages/backend/dist/resourceEngine/calculator/UniversalResourceCalculator.d.ts +1 -1
  71. package/packages/backend/dist/resourceEngine/calculator/types.d.ts +1 -1
  72. package/packages/backend/dist/resourceEngine/index.d.ts +6 -6
  73. package/packages/backend/dist/resourceEngine/types/depm/entities.d.ts +2 -2
  74. package/packages/backend/dist/resourceEngine/types.d.ts +1 -1
  75. package/packages/backend/dist/resourceEngine/weightEngine/helpers.d.ts +1 -1
  76. package/packages/backend/dist/resourceEngine/weightEngine/index.d.ts +2 -2
  77. package/packages/backend/dist/resourceEngine/weightEngine/weightEngine.d.ts +1 -1
  78. package/packages/backend/dist/resourceEngine/weightEngine.d.ts +1 -1
  79. package/packages/backend/dist/server/services/assetPoolService/assetPoolService.d.ts +3 -3
  80. package/packages/backend/dist/server/services/projectService/projectService.d.ts +3 -3
  81. package/packages/backend/dist/services/index.d.ts +2 -10
  82. package/packages/backend/dist/services/index.js +1 -37
  83. package/packages/backend/dist/services/node.d.ts +10 -0
  84. package/packages/backend/dist/services/node.js +38 -0
  85. package/packages/backend/dist/srkl/index.js +1 -1
  86. package/packages/backend/dist/storage/BaseStorageAdapter.d.ts +1 -1
  87. package/packages/backend/dist/storage/S3Adapter.d.ts +5 -0
  88. package/packages/backend/dist/storage/googleDriveSdk.d.ts +1 -7
  89. package/packages/backend/dist/storage/index.d.ts +1 -10
  90. package/packages/backend/dist/storage/index.js +5 -40
  91. package/packages/backend/dist/storage/node.d.ts +14 -0
  92. package/packages/backend/dist/storage/node.js +66 -0
  93. package/packages/backend/dist/workspace/WorkspaceCloneSyncEngine.d.ts +1 -1
  94. package/packages/backend/dist/workspace/index.d.ts +1 -5
  95. package/packages/backend/dist/workspace/index.js +4 -24
  96. package/packages/backend/dist/workspace/node.d.ts +8 -0
  97. package/packages/backend/dist/workspace/node.js +30 -0
  98. package/packages/backend/package.json +35 -3
  99. package/packages/functions/dist/base-DDYO-DzM.d.ts +64 -0
  100. package/packages/functions/dist/base.d.ts +1 -0
  101. package/packages/functions/dist/base.js +6 -0
  102. package/packages/functions/dist/chunk-6EHIZHO4.js +555 -0
  103. package/packages/functions/dist/chunk-Z4LM5TOJ.js +114 -0
  104. package/packages/functions/dist/index.d.ts +4 -373
  105. package/packages/functions/dist/index.js +53 -1693
  106. package/packages/functions/dist/node.d.ts +110 -0
  107. package/packages/functions/dist/node.js +442 -0
  108. package/packages/functions/dist/portable.d.ts +207 -0
  109. package/packages/functions/dist/portable.js +94 -0
  110. package/packages/functions/package.json +23 -1
  111. package/packages/{functions/dist/chunk-K6H7T3EP.js → services/dist/chunk-P54QSKOQ.js} +1 -3
  112. package/packages/{state-graph/dist/dist-es-TLPJYZTE.js → services/dist/dist-es-2P6LFFZL.js} +1 -1
  113. package/packages/{state-graph/dist/dist-es-5IACWOIO.js → services/dist/dist-es-OZCE67MW.js} +1 -1
  114. package/packages/services/dist/{dist-es-3DGJJFOU.js → dist-es-RUJB3ALN.js} +3 -3
  115. package/packages/{state-graph/dist/dist-es-QZ6GKMM7.js → services/dist/dist-es-SSJGP5AI.js} +4 -4
  116. package/packages/services/dist/{loadSso-M3ZIZDGO.js → loadSso-3PZYFUB7.js} +1 -1
  117. package/packages/{functions/dist/signin-YXALFRYB.js → services/dist/signin-WYPGSXHF.js} +1 -1
  118. package/packages/{state-graph/dist/sso-oidc-NXFKRL6O.js → services/dist/sso-oidc-PQMIMLJU.js} +1 -1
  119. package/packages/{state-graph/dist/sts-MICPT37B.js → services/dist/sts-Z7LR3AZH.js} +1 -1
  120. package/packages/state-graph/dist/browser.d.ts +8 -18
  121. package/packages/state-graph/dist/browser.js +334 -23
  122. package/packages/state-graph/dist/browser.test.d.ts +1 -0
  123. package/packages/state-graph/dist/{chunk-KG6QYS26.js → chunk-5KP74NMF.js} +80 -80
  124. package/packages/state-graph/dist/{chunk-4UVGXFEM.js → chunk-LVULR5M4.js} +1 -1
  125. package/packages/state-graph/dist/{chunk-S22PMERU.js → chunk-OXUDG6HE.js} +1 -1
  126. package/packages/state-graph/dist/{chunk-2CQQGFMF.js → chunk-UKTICGGV.js} +2616 -432
  127. package/packages/state-graph/dist/domain/index.js +2 -3
  128. package/packages/state-graph/dist/engine/AudioConcepts.d.ts +1 -1
  129. package/packages/state-graph/dist/engine/GraphConcepts.d.ts +1 -1
  130. package/packages/state-graph/dist/engine/core/archetypes/audioArchetypes.d.ts +1 -1
  131. package/packages/state-graph/dist/engine/core/archetypes/effectArchetypes.d.ts +1 -1
  132. package/packages/state-graph/dist/engine/core/archetypes/primitiveArchetypes.d.ts +1 -1
  133. package/packages/state-graph/dist/engine/core/archetypes/routingArchetypes.d.ts +1 -1
  134. package/packages/state-graph/dist/engine/core/archetypes/triggerModuleArchetypes.d.ts +1 -1
  135. package/packages/state-graph/dist/engine/core/assets/containerSprites.d.ts +1 -1
  136. package/packages/state-graph/dist/engine/core/assets/effectSprites.d.ts +1 -1
  137. package/packages/state-graph/dist/engine/core/assets/primitiveSprites.d.ts +1 -1
  138. package/packages/state-graph/dist/engine/core/assets/routingSprites.d.ts +1 -1
  139. package/packages/state-graph/dist/engine/core/canonicalIo/CanonicalAudioInputEndpoint.d.ts +1 -1
  140. package/packages/state-graph/dist/engine/core/canonicalIo/CanonicalMidiInputEndpoint.d.ts +1 -1
  141. package/packages/state-graph/dist/engine/core/canonicalIo/topLevelIoRegistry.d.ts +6 -6
  142. package/packages/state-graph/dist/engine/core/canonicalIo/types.d.ts +1 -1
  143. package/packages/state-graph/dist/engine/core/graphDataService.d.ts +1 -1
  144. package/packages/state-graph/dist/engine/core/hierarchy/index.d.ts +11 -11
  145. package/packages/state-graph/dist/engine/core/hierarchy/nodes/GraphNodeParent.d.ts +3 -3
  146. package/packages/state-graph/dist/engine/core/hierarchy/nodes/GraphNodeTypes.d.ts +1 -1
  147. package/packages/state-graph/dist/engine/core/hierarchy/sockets/GraphSocketParent.d.ts +2 -2
  148. package/packages/state-graph/dist/engine/core/hierarchy/sockets/GraphSocketTypes.d.ts +1 -1
  149. package/packages/state-graph/dist/engine/core/hierarchy/ui/UIElementBase.d.ts +3 -3
  150. package/packages/state-graph/dist/engine/core/hierarchy/wires/GraphWireParent.d.ts +2 -2
  151. package/packages/state-graph/dist/engine/core/hierarchy/wires/GraphWireTypes.d.ts +1 -1
  152. package/packages/state-graph/dist/engine/core/nodeArchetypeRegistry.d.ts +1 -1
  153. package/packages/state-graph/dist/engine/core/socketRegistry/containersSockets.d.ts +1 -1
  154. package/packages/state-graph/dist/engine/core/socketRegistry/customRegistry.d.ts +1 -1
  155. package/packages/state-graph/dist/engine/core/socketRegistry/landmarksSockets.d.ts +1 -1
  156. package/packages/state-graph/dist/engine/core/socketRegistry/primitivesSockets.d.ts +1 -1
  157. package/packages/state-graph/dist/engine/core/socketRegistry/processorsSockets.d.ts +1 -1
  158. package/packages/state-graph/dist/engine/core/sockets/arrangementControlSockets.d.ts +1 -1
  159. package/packages/state-graph/dist/engine/core/sockets/audioSockets.d.ts +1 -1
  160. package/packages/state-graph/dist/engine/core/sockets/folderButtonSockets.d.ts +1 -1
  161. package/packages/state-graph/dist/engine/core/sockets/moduleSockets.d.ts +1 -1
  162. package/packages/state-graph/dist/engine/core/sockets/playbackSockets.d.ts +1 -1
  163. package/packages/state-graph/dist/engine/core/sockets/primitiveSockets.d.ts +1 -1
  164. package/packages/state-graph/dist/engine/core/sockets/routingSockets.d.ts +1 -1
  165. package/packages/state-graph/dist/engine/core/sockets/samplerSockets.d.ts +1 -1
  166. package/packages/state-graph/dist/engine/core/sockets/stripSockets.d.ts +1 -1
  167. package/packages/state-graph/dist/engine/functions/arrangementFactory.d.ts +1 -1
  168. package/packages/state-graph/dist/engine/functions/codeNodeParser/codeNodeParser.d.ts +2 -2
  169. package/packages/state-graph/dist/engine/functions/codeNodeParser/helpers.d.ts +1 -1
  170. package/packages/state-graph/dist/engine/functions/connection/portMatching.d.ts +1 -1
  171. package/packages/state-graph/dist/engine/functions/connection/signalCompatibility/helpers.d.ts +1 -1
  172. package/packages/state-graph/dist/engine/functions/connection/signalCompatibility/signalCompatibility.d.ts +1 -1
  173. package/packages/state-graph/dist/engine/functions/connection/signalCompatibility.d.ts +1 -1
  174. package/packages/state-graph/dist/engine/functions/connection/wireValidation.d.ts +1 -1
  175. package/packages/state-graph/dist/engine/functions/containerClipSync.d.ts +1 -1
  176. package/packages/state-graph/dist/engine/functions/containerFactory/containerFactory.d.ts +1 -1
  177. package/packages/state-graph/dist/engine/functions/effectLogic.d.ts +1 -1
  178. package/packages/state-graph/dist/engine/functions/graphManager/graphManager.d.ts +1 -1
  179. package/packages/state-graph/dist/engine/functions/graphManager.d.ts +1 -1
  180. package/packages/state-graph/dist/engine/functions/nodeFactory/nodeFactory.d.ts +8 -8
  181. package/packages/state-graph/dist/engine/functions/nodeFactory.d.ts +2 -2
  182. package/packages/state-graph/dist/engine/functions/signalTable/audioMidiSignals.d.ts +1 -1
  183. package/packages/state-graph/dist/engine/functions/signalTable/canonicalEffectsTable.d.ts +1 -1
  184. package/packages/state-graph/dist/engine/functions/signalTable/dataSignals.d.ts +1 -1
  185. package/packages/state-graph/dist/engine/functions/socketCompatibilitySpawner/helpers.d.ts +1 -1
  186. package/packages/state-graph/dist/engine/functions/socketCompatibilitySpawner/socketCompatibilitySpawner.d.ts +1 -1
  187. package/packages/state-graph/dist/engine/functions/socketCompatibilitySpawner.d.ts +1 -1
  188. package/packages/state-graph/dist/engine/functions/spawnNodeFactory.d.ts +1 -1
  189. package/packages/state-graph/dist/engine/predictive/predictiveGraphEngine/helpers.d.ts +1 -1
  190. package/packages/state-graph/dist/engine/predictive/predictiveGraphEngine.d.ts +2 -2
  191. package/packages/state-graph/dist/engine/types/auth.d.ts +1 -1
  192. package/packages/state-graph/dist/engine/types/hardwareBus.d.ts +1 -1
  193. package/packages/state-graph/dist/engine/types/legacyTypes.d.ts +1 -1
  194. package/packages/state-graph/dist/engine/types/nodesArrangement.d.ts +2 -2
  195. package/packages/state-graph/dist/engine/types/nodesAudio.d.ts +5 -5
  196. package/packages/state-graph/dist/engine/types/nodesControl.d.ts +2 -2
  197. package/packages/state-graph/dist/engine/types/nodesPlayback.d.ts +2 -2
  198. package/packages/state-graph/dist/engine/types/nodesPrimitives.d.ts +6 -6
  199. package/packages/state-graph/dist/engine/types/nodesRouting.d.ts +2 -2
  200. package/packages/state-graph/dist/engine/types/sceneData.d.ts +2 -2
  201. package/packages/state-graph/dist/engine/types/sceneState.d.ts +4 -4
  202. package/packages/state-graph/dist/engine/types/signals.d.ts +2 -2
  203. package/packages/state-graph/dist/engine/types/stripsTypes.d.ts +2 -2
  204. package/packages/state-graph/dist/index.js +110 -2850
  205. package/packages/state-graph/dist/rules/index.js +0 -1
  206. package/packages/state-graph/dist/spatial/index.js +0 -1
  207. package/packages/state-graph/dist/state/index.js +0 -1
  208. package/packages/state-graph/dist/store/CommandApi.d.ts +2 -2
  209. package/packages/state-graph/dist/store/index.js +2 -3
  210. package/packages/state-graph/package.json +7 -2
  211. package/scripts/normalize-package-declarations.mjs +63 -0
  212. package/packages/backend/dist/chunk-SXDYW3QA.js +0 -579
  213. package/packages/functions/dist/bowser-F6LIZBYW.js +0 -2821
  214. package/packages/functions/dist/chunk-34KJBG4F.js +0 -357
  215. package/packages/functions/dist/chunk-EAQYK3U2.js +0 -41
  216. package/packages/functions/dist/chunk-IOAPEUC7.js +0 -3424
  217. package/packages/functions/dist/chunk-J64ZDIIX.js +0 -2753
  218. package/packages/functions/dist/chunk-N3MSTUJN.js +0 -4785
  219. package/packages/functions/dist/chunk-VP26OHBN.js +0 -480
  220. package/packages/functions/dist/chunk-VRLVLNLG.js +0 -1727
  221. package/packages/functions/dist/dist-TKZ5TDRN.js +0 -1124
  222. package/packages/functions/dist/dist-W7ZJS3LZ.js +0 -899
  223. package/packages/functions/dist/dist-es-3DGJJFOU.js +0 -338
  224. package/packages/functions/dist/dist-es-5IACWOIO.js +0 -69
  225. package/packages/functions/dist/dist-es-BWLDIBIA.js +0 -47
  226. package/packages/functions/dist/dist-es-DO3F4OBN.js +0 -377
  227. package/packages/functions/dist/dist-es-NN7AKU7P.js +0 -175
  228. package/packages/functions/dist/dist-es-QZ6GKMM7.js +0 -220
  229. package/packages/functions/dist/dist-es-R3VEGXOP.js +0 -87
  230. package/packages/functions/dist/dist-es-TLPJYZTE.js +0 -294
  231. package/packages/functions/dist/event-streams-DRE6QVD6.js +0 -940
  232. package/packages/functions/dist/loadSso-M3ZIZDGO.js +0 -586
  233. package/packages/functions/dist/multipart-parser-YYFFJ4QD.js +0 -371
  234. package/packages/functions/dist/src-2QCYQXYH.js +0 -1396
  235. package/packages/functions/dist/sso-oidc-NXFKRL6O.js +0 -847
  236. package/packages/functions/dist/sts-MICPT37B.js +0 -1253
  237. package/packages/functions/dist/transformers.node-R6VHTGC2.js +0 -43879
  238. package/packages/services/dist/chunk-K6H7T3EP.js +0 -1991
  239. package/packages/services/dist/dist-es-5IACWOIO.js +0 -69
  240. package/packages/services/dist/dist-es-QZ6GKMM7.js +0 -220
  241. package/packages/services/dist/dist-es-TLPJYZTE.js +0 -294
  242. package/packages/services/dist/signin-YXALFRYB.js +0 -831
  243. package/packages/services/dist/sso-oidc-NXFKRL6O.js +0 -847
  244. package/packages/services/dist/sts-MICPT37B.js +0 -1253
  245. package/packages/state-graph/dist/bowser-F6LIZBYW.js +0 -2821
  246. package/packages/state-graph/dist/chunk-34KJBG4F.js +0 -357
  247. package/packages/state-graph/dist/chunk-EAQYK3U2.js +0 -41
  248. package/packages/state-graph/dist/chunk-IOAPEUC7.js +0 -3424
  249. package/packages/state-graph/dist/chunk-J64ZDIIX.js +0 -2753
  250. package/packages/state-graph/dist/chunk-K6H7T3EP.js +0 -1991
  251. package/packages/state-graph/dist/chunk-N3MSTUJN.js +0 -4785
  252. package/packages/state-graph/dist/chunk-VP26OHBN.js +0 -480
  253. package/packages/state-graph/dist/chunk-VRLVLNLG.js +0 -1727
  254. package/packages/state-graph/dist/dist-TKZ5TDRN.js +0 -1124
  255. package/packages/state-graph/dist/dist-W7ZJS3LZ.js +0 -899
  256. package/packages/state-graph/dist/dist-es-3DGJJFOU.js +0 -338
  257. package/packages/state-graph/dist/dist-es-BWLDIBIA.js +0 -47
  258. package/packages/state-graph/dist/dist-es-DO3F4OBN.js +0 -377
  259. package/packages/state-graph/dist/dist-es-NN7AKU7P.js +0 -175
  260. package/packages/state-graph/dist/dist-es-R3VEGXOP.js +0 -87
  261. package/packages/state-graph/dist/event-streams-DRE6QVD6.js +0 -940
  262. package/packages/state-graph/dist/loadSso-M3ZIZDGO.js +0 -586
  263. package/packages/state-graph/dist/multipart-parser-YYFFJ4QD.js +0 -371
  264. package/packages/state-graph/dist/signin-YXALFRYB.js +0 -831
  265. package/packages/state-graph/dist/src-2QCYQXYH.js +0 -1396
  266. package/packages/state-graph/dist/transformers.node-R6VHTGC2.js +0 -43879
  267. package/packages/backend/dist/{chunk-LMWXONZG.js → chunk-EREYT3WJ.js} +3 -3
@@ -1,847 +0,0 @@
1
- import {
2
- AwsRestJsonProtocol,
3
- AwsSdkSigV4Signer,
4
- NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
5
- package_default,
6
- resolveAwsSdkSigV4Config
7
- } from "./chunk-K6H7T3EP.js";
8
- import {
9
- Sha256Node
10
- } from "./chunk-34KJBG4F.js";
11
- import {
12
- NodeHttpHandler
13
- } from "./chunk-VP26OHBN.js";
14
- import {
15
- BinaryDecisionDiagram,
16
- Client,
17
- Command,
18
- DEFAULT_RETRY_MODE,
19
- DefaultIdentityProviderConfig,
20
- EndpointCache,
21
- NODE_APP_ID_CONFIG_OPTIONS,
22
- NODE_MAX_ATTEMPT_CONFIG_OPTIONS,
23
- NODE_RETRY_MODE_CONFIG_OPTIONS,
24
- NoAuthSigner,
25
- NoOpLogger,
26
- ServiceException,
27
- awsEndpointFunctions,
28
- createAggregatedClient,
29
- createDefaultUserAgentProvider,
30
- customEndpointFunctions,
31
- decideEndpoint,
32
- emitWarningIfUnsupportedVersion,
33
- emitWarningIfUnsupportedVersion2,
34
- getAwsRegionExtensionConfiguration,
35
- getDefaultExtensionConfiguration,
36
- getDefaultSocketTimeout,
37
- getEndpointPlugin,
38
- getHostHeaderPlugin,
39
- getHttpAuthSchemeEndpointRuleSetPlugin,
40
- getHttpSigningPlugin,
41
- getLoggerPlugin,
42
- getRecursionDetectionPlugin,
43
- getRetryPlugin,
44
- getUserAgentPlugin,
45
- loadConfigsForDefaultMode,
46
- makeBuilder,
47
- resolveAwsRegionExtensionConfiguration,
48
- resolveDefaultRuntimeConfig,
49
- resolveEndpointConfig,
50
- resolveHostHeaderConfig,
51
- resolveRetryConfig,
52
- resolveUserAgentConfig
53
- } from "./chunk-IOAPEUC7.js";
54
- import {
55
- NODE_REGION_CONFIG_FILE_OPTIONS,
56
- NODE_REGION_CONFIG_OPTIONS,
57
- NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
58
- NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
59
- getContentLengthPlugin,
60
- getHttpHandlerExtensionConfiguration,
61
- loadConfig,
62
- resolveDefaultsModeConfig,
63
- resolveHttpHandlerRuntimeConfig,
64
- resolveRegionConfig
65
- } from "./chunk-J64ZDIIX.js";
66
- import {
67
- TypeRegistry,
68
- calculateBodyLength,
69
- fromBase64,
70
- fromUtf8,
71
- getSchemaSerdePlugin,
72
- getSmithyContext,
73
- normalizeProvider,
74
- parseUrl,
75
- streamCollector,
76
- toBase64,
77
- toUtf8
78
- } from "./chunk-VRLVLNLG.js";
79
- import "./chunk-EAQYK3U2.js";
80
-
81
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js
82
- var defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
83
- return {
84
- operation: getSmithyContext(context).operation,
85
- region: await normalizeProvider(config.region)() || (() => {
86
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
87
- })()
88
- };
89
- };
90
- function createAwsAuthSigv4HttpAuthOption(authParameters) {
91
- return {
92
- schemeId: "aws.auth#sigv4",
93
- signingProperties: {
94
- name: "sso-oauth",
95
- region: authParameters.region
96
- },
97
- propertiesExtractor: (config, context) => ({
98
- signingProperties: {
99
- config,
100
- context
101
- }
102
- })
103
- };
104
- }
105
- function createSmithyApiNoAuthHttpAuthOption(authParameters) {
106
- return {
107
- schemeId: "smithy.api#noAuth"
108
- };
109
- }
110
- var defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {
111
- const options = [];
112
- switch (authParameters.operation) {
113
- case "CreateToken":
114
- {
115
- options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
116
- break;
117
- }
118
- ;
119
- default: {
120
- options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
121
- }
122
- }
123
- return options;
124
- };
125
- var resolveHttpAuthSchemeConfig = (config) => {
126
- const config_0 = resolveAwsSdkSigV4Config(config);
127
- return Object.assign(config_0, {
128
- authSchemePreference: normalizeProvider(config.authSchemePreference ?? [])
129
- });
130
- };
131
-
132
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js
133
- var resolveClientEndpointParameters = (options) => {
134
- return Object.assign(options, {
135
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
136
- useFipsEndpoint: options.useFipsEndpoint ?? false,
137
- defaultSigningName: "sso-oauth"
138
- });
139
- };
140
- var commonParams = {
141
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
142
- Endpoint: { type: "builtInParams", name: "endpoint" },
143
- Region: { type: "builtInParams", name: "region" },
144
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
145
- };
146
-
147
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js
148
- var k = "ref";
149
- var a = -1;
150
- var b = true;
151
- var c = "isSet";
152
- var d = "PartitionResult";
153
- var e = "booleanEquals";
154
- var f = "getAttr";
155
- var g = { [k]: "Endpoint" };
156
- var h = { [k]: d };
157
- var i = {};
158
- var j = [{ [k]: "Region" }];
159
- var _data = {
160
- conditions: [
161
- [c, [g]],
162
- [c, j],
163
- ["aws.partition", j, d],
164
- [e, [{ [k]: "UseFIPS" }, b]],
165
- [e, [{ [k]: "UseDualStack" }, b]],
166
- [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
167
- [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
168
- ["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]
169
- ],
170
- results: [
171
- [a],
172
- [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
173
- [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
174
- [g, i],
175
- ["https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
176
- [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
177
- ["https://oidc.{Region}.amazonaws.com", i],
178
- ["https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", i],
179
- [a, "FIPS is enabled but this partition does not support FIPS"],
180
- ["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
181
- [a, "DualStack is enabled but this partition does not support DualStack"],
182
- ["https://oidc.{Region}.{PartitionResult#dnsSuffix}", i],
183
- [a, "Invalid Configuration: Missing Region"]
184
- ]
185
- };
186
- var root = 2;
187
- var r = 1e8;
188
- var nodes = new Int32Array([
189
- -1,
190
- 1,
191
- -1,
192
- 0,
193
- 13,
194
- 3,
195
- 1,
196
- 4,
197
- r + 12,
198
- 2,
199
- 5,
200
- r + 12,
201
- 3,
202
- 8,
203
- 6,
204
- 4,
205
- 7,
206
- r + 11,
207
- 5,
208
- r + 9,
209
- r + 10,
210
- 4,
211
- 11,
212
- 9,
213
- 6,
214
- 10,
215
- r + 8,
216
- 7,
217
- r + 6,
218
- r + 7,
219
- 5,
220
- 12,
221
- r + 5,
222
- 6,
223
- r + 4,
224
- r + 5,
225
- 3,
226
- r + 1,
227
- 14,
228
- 4,
229
- r + 2,
230
- r + 3
231
- ]);
232
- var bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
233
-
234
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js
235
- var cache = new EndpointCache({
236
- size: 50,
237
- params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
238
- });
239
- var defaultEndpointResolver = (endpointParams, context = {}) => {
240
- return cache.get(endpointParams, () => decideEndpoint(bdd, {
241
- endpointParams,
242
- logger: context.logger
243
- }));
244
- };
245
- customEndpointFunctions.aws = awsEndpointFunctions;
246
-
247
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js
248
- var SSOOIDCServiceException = class _SSOOIDCServiceException extends ServiceException {
249
- static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc#SSOOIDCServiceException";
250
- constructor(options) {
251
- super(options);
252
- Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype);
253
- }
254
- };
255
-
256
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js
257
- var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {
258
- static shapeId = "com.amazonaws.ssooidc#AccessDeniedException";
259
- name = "AccessDeniedException";
260
- $fault = "client";
261
- error;
262
- reason;
263
- error_description;
264
- constructor(opts) {
265
- super({
266
- name: "AccessDeniedException",
267
- $fault: "client",
268
- ...opts
269
- });
270
- Object.setPrototypeOf(this, _AccessDeniedException.prototype);
271
- this.error = opts.error;
272
- this.reason = opts.reason;
273
- this.error_description = opts.error_description;
274
- }
275
- };
276
- var AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException {
277
- static shapeId = "com.amazonaws.ssooidc#AuthorizationPendingException";
278
- name = "AuthorizationPendingException";
279
- $fault = "client";
280
- error;
281
- error_description;
282
- constructor(opts) {
283
- super({
284
- name: "AuthorizationPendingException",
285
- $fault: "client",
286
- ...opts
287
- });
288
- Object.setPrototypeOf(this, _AuthorizationPendingException.prototype);
289
- this.error = opts.error;
290
- this.error_description = opts.error_description;
291
- }
292
- };
293
- var ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException {
294
- static shapeId = "com.amazonaws.ssooidc#ExpiredTokenException";
295
- name = "ExpiredTokenException";
296
- $fault = "client";
297
- error;
298
- error_description;
299
- constructor(opts) {
300
- super({
301
- name: "ExpiredTokenException",
302
- $fault: "client",
303
- ...opts
304
- });
305
- Object.setPrototypeOf(this, _ExpiredTokenException.prototype);
306
- this.error = opts.error;
307
- this.error_description = opts.error_description;
308
- }
309
- };
310
- var InternalServerException = class _InternalServerException extends SSOOIDCServiceException {
311
- static shapeId = "com.amazonaws.ssooidc#InternalServerException";
312
- name = "InternalServerException";
313
- $fault = "server";
314
- error;
315
- error_description;
316
- constructor(opts) {
317
- super({
318
- name: "InternalServerException",
319
- $fault: "server",
320
- ...opts
321
- });
322
- Object.setPrototypeOf(this, _InternalServerException.prototype);
323
- this.error = opts.error;
324
- this.error_description = opts.error_description;
325
- }
326
- };
327
- var InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException {
328
- static shapeId = "com.amazonaws.ssooidc#InvalidClientException";
329
- name = "InvalidClientException";
330
- $fault = "client";
331
- error;
332
- error_description;
333
- constructor(opts) {
334
- super({
335
- name: "InvalidClientException",
336
- $fault: "client",
337
- ...opts
338
- });
339
- Object.setPrototypeOf(this, _InvalidClientException.prototype);
340
- this.error = opts.error;
341
- this.error_description = opts.error_description;
342
- }
343
- };
344
- var InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException {
345
- static shapeId = "com.amazonaws.ssooidc#InvalidGrantException";
346
- name = "InvalidGrantException";
347
- $fault = "client";
348
- error;
349
- error_description;
350
- constructor(opts) {
351
- super({
352
- name: "InvalidGrantException",
353
- $fault: "client",
354
- ...opts
355
- });
356
- Object.setPrototypeOf(this, _InvalidGrantException.prototype);
357
- this.error = opts.error;
358
- this.error_description = opts.error_description;
359
- }
360
- };
361
- var InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException {
362
- static shapeId = "com.amazonaws.ssooidc#InvalidRequestException";
363
- name = "InvalidRequestException";
364
- $fault = "client";
365
- error;
366
- reason;
367
- error_description;
368
- constructor(opts) {
369
- super({
370
- name: "InvalidRequestException",
371
- $fault: "client",
372
- ...opts
373
- });
374
- Object.setPrototypeOf(this, _InvalidRequestException.prototype);
375
- this.error = opts.error;
376
- this.reason = opts.reason;
377
- this.error_description = opts.error_description;
378
- }
379
- };
380
- var InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException {
381
- static shapeId = "com.amazonaws.ssooidc#InvalidScopeException";
382
- name = "InvalidScopeException";
383
- $fault = "client";
384
- error;
385
- error_description;
386
- constructor(opts) {
387
- super({
388
- name: "InvalidScopeException",
389
- $fault: "client",
390
- ...opts
391
- });
392
- Object.setPrototypeOf(this, _InvalidScopeException.prototype);
393
- this.error = opts.error;
394
- this.error_description = opts.error_description;
395
- }
396
- };
397
- var SlowDownException = class _SlowDownException extends SSOOIDCServiceException {
398
- static shapeId = "com.amazonaws.ssooidc#SlowDownException";
399
- name = "SlowDownException";
400
- $fault = "client";
401
- error;
402
- error_description;
403
- constructor(opts) {
404
- super({
405
- name: "SlowDownException",
406
- $fault: "client",
407
- ...opts
408
- });
409
- Object.setPrototypeOf(this, _SlowDownException.prototype);
410
- this.error = opts.error;
411
- this.error_description = opts.error_description;
412
- }
413
- };
414
- var UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException {
415
- static shapeId = "com.amazonaws.ssooidc#UnauthorizedClientException";
416
- name = "UnauthorizedClientException";
417
- $fault = "client";
418
- error;
419
- error_description;
420
- constructor(opts) {
421
- super({
422
- name: "UnauthorizedClientException",
423
- $fault: "client",
424
- ...opts
425
- });
426
- Object.setPrototypeOf(this, _UnauthorizedClientException.prototype);
427
- this.error = opts.error;
428
- this.error_description = opts.error_description;
429
- }
430
- };
431
- var UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException {
432
- static shapeId = "com.amazonaws.ssooidc#UnsupportedGrantTypeException";
433
- name = "UnsupportedGrantTypeException";
434
- $fault = "client";
435
- error;
436
- error_description;
437
- constructor(opts) {
438
- super({
439
- name: "UnsupportedGrantTypeException",
440
- $fault: "client",
441
- ...opts
442
- });
443
- Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype);
444
- this.error = opts.error;
445
- this.error_description = opts.error_description;
446
- }
447
- };
448
-
449
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js
450
- var _ADE = "AccessDeniedException";
451
- var _APE = "AuthorizationPendingException";
452
- var _AT = "AccessToken";
453
- var _CS = "ClientSecret";
454
- var _CT = "CreateToken";
455
- var _CTR = "CreateTokenRequest";
456
- var _CTRr = "CreateTokenResponse";
457
- var _CV = "CodeVerifier";
458
- var _ETE = "ExpiredTokenException";
459
- var _ICE = "InvalidClientException";
460
- var _IGE = "InvalidGrantException";
461
- var _IRE = "InvalidRequestException";
462
- var _ISE = "InternalServerException";
463
- var _ISEn = "InvalidScopeException";
464
- var _IT = "IdToken";
465
- var _RT = "RefreshToken";
466
- var _SDE = "SlowDownException";
467
- var _UCE = "UnauthorizedClientException";
468
- var _UGTE = "UnsupportedGrantTypeException";
469
- var _aT = "accessToken";
470
- var _c = "client";
471
- var _cI = "clientId";
472
- var _cS = "clientSecret";
473
- var _cV = "codeVerifier";
474
- var _co = "code";
475
- var _dC = "deviceCode";
476
- var _e = "error";
477
- var _eI = "expiresIn";
478
- var _ed = "error_description";
479
- var _gT = "grantType";
480
- var _h = "http";
481
- var _hE = "httpError";
482
- var _iT = "idToken";
483
- var _r = "reason";
484
- var _rT = "refreshToken";
485
- var _rU = "redirectUri";
486
- var _s = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc";
487
- var _sc = "scope";
488
- var _se = "server";
489
- var _tT = "tokenType";
490
- var n0 = "com.amazonaws.ssooidc";
491
- var _s_registry = new TypeRegistry(_s);
492
- var SSOOIDCServiceException$ = [-3, _s, "SSOOIDCServiceException", 0, [], []];
493
- _s_registry.registerError(SSOOIDCServiceException$, SSOOIDCServiceException);
494
- var n0_registry = new TypeRegistry(n0);
495
- var AccessDeniedException$ = [
496
- -3,
497
- n0,
498
- _ADE,
499
- { [_e]: _c, [_hE]: 400 },
500
- [_e, _r, _ed],
501
- [0, 0, 0]
502
- ];
503
- n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
504
- var AuthorizationPendingException$ = [
505
- -3,
506
- n0,
507
- _APE,
508
- { [_e]: _c, [_hE]: 400 },
509
- [_e, _ed],
510
- [0, 0]
511
- ];
512
- n0_registry.registerError(AuthorizationPendingException$, AuthorizationPendingException);
513
- var ExpiredTokenException$ = [
514
- -3,
515
- n0,
516
- _ETE,
517
- { [_e]: _c, [_hE]: 400 },
518
- [_e, _ed],
519
- [0, 0]
520
- ];
521
- n0_registry.registerError(ExpiredTokenException$, ExpiredTokenException);
522
- var InternalServerException$ = [
523
- -3,
524
- n0,
525
- _ISE,
526
- { [_e]: _se, [_hE]: 500 },
527
- [_e, _ed],
528
- [0, 0]
529
- ];
530
- n0_registry.registerError(InternalServerException$, InternalServerException);
531
- var InvalidClientException$ = [
532
- -3,
533
- n0,
534
- _ICE,
535
- { [_e]: _c, [_hE]: 401 },
536
- [_e, _ed],
537
- [0, 0]
538
- ];
539
- n0_registry.registerError(InvalidClientException$, InvalidClientException);
540
- var InvalidGrantException$ = [
541
- -3,
542
- n0,
543
- _IGE,
544
- { [_e]: _c, [_hE]: 400 },
545
- [_e, _ed],
546
- [0, 0]
547
- ];
548
- n0_registry.registerError(InvalidGrantException$, InvalidGrantException);
549
- var InvalidRequestException$ = [
550
- -3,
551
- n0,
552
- _IRE,
553
- { [_e]: _c, [_hE]: 400 },
554
- [_e, _r, _ed],
555
- [0, 0, 0]
556
- ];
557
- n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
558
- var InvalidScopeException$ = [
559
- -3,
560
- n0,
561
- _ISEn,
562
- { [_e]: _c, [_hE]: 400 },
563
- [_e, _ed],
564
- [0, 0]
565
- ];
566
- n0_registry.registerError(InvalidScopeException$, InvalidScopeException);
567
- var SlowDownException$ = [
568
- -3,
569
- n0,
570
- _SDE,
571
- { [_e]: _c, [_hE]: 400 },
572
- [_e, _ed],
573
- [0, 0]
574
- ];
575
- n0_registry.registerError(SlowDownException$, SlowDownException);
576
- var UnauthorizedClientException$ = [
577
- -3,
578
- n0,
579
- _UCE,
580
- { [_e]: _c, [_hE]: 400 },
581
- [_e, _ed],
582
- [0, 0]
583
- ];
584
- n0_registry.registerError(UnauthorizedClientException$, UnauthorizedClientException);
585
- var UnsupportedGrantTypeException$ = [
586
- -3,
587
- n0,
588
- _UGTE,
589
- { [_e]: _c, [_hE]: 400 },
590
- [_e, _ed],
591
- [0, 0]
592
- ];
593
- n0_registry.registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException);
594
- var errorTypeRegistries = [
595
- _s_registry,
596
- n0_registry
597
- ];
598
- var AccessToken = [0, n0, _AT, 8, 0];
599
- var ClientSecret = [0, n0, _CS, 8, 0];
600
- var CodeVerifier = [0, n0, _CV, 8, 0];
601
- var IdToken = [0, n0, _IT, 8, 0];
602
- var RefreshToken = [0, n0, _RT, 8, 0];
603
- var CreateTokenRequest$ = [
604
- 3,
605
- n0,
606
- _CTR,
607
- 0,
608
- [_cI, _cS, _gT, _dC, _co, _rT, _sc, _rU, _cV],
609
- [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]],
610
- 3
611
- ];
612
- var CreateTokenResponse$ = [
613
- 3,
614
- n0,
615
- _CTRr,
616
- 0,
617
- [_aT, _tT, _eI, _rT, _iT],
618
- [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]]
619
- ];
620
- var Scopes = 64 | 0;
621
- var CreateToken$ = [
622
- 9,
623
- n0,
624
- _CT,
625
- { [_h]: ["POST", "/token", 200] },
626
- () => CreateTokenRequest$,
627
- () => CreateTokenResponse$
628
- ];
629
-
630
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js
631
- var getRuntimeConfig = (config) => {
632
- return {
633
- apiVersion: "2019-06-10",
634
- base64Decoder: config?.base64Decoder ?? fromBase64,
635
- base64Encoder: config?.base64Encoder ?? toBase64,
636
- disableHostPrefix: config?.disableHostPrefix ?? false,
637
- endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
638
- extensions: config?.extensions ?? [],
639
- httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSOOIDCHttpAuthSchemeProvider,
640
- httpAuthSchemes: config?.httpAuthSchemes ?? [
641
- {
642
- schemeId: "aws.auth#sigv4",
643
- identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
644
- signer: new AwsSdkSigV4Signer()
645
- },
646
- {
647
- schemeId: "smithy.api#noAuth",
648
- identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
649
- signer: new NoAuthSigner()
650
- }
651
- ],
652
- logger: config?.logger ?? new NoOpLogger(),
653
- protocol: config?.protocol ?? AwsRestJsonProtocol,
654
- protocolSettings: config?.protocolSettings ?? {
655
- defaultNamespace: "com.amazonaws.ssooidc",
656
- errorTypeRegistries,
657
- version: "2019-06-10",
658
- serviceTarget: "AWSSSOOIDCService"
659
- },
660
- serviceId: config?.serviceId ?? "SSO OIDC",
661
- sha256: config?.sha256 ?? Sha256Node,
662
- urlParser: config?.urlParser ?? parseUrl,
663
- utf8Decoder: config?.utf8Decoder ?? fromUtf8,
664
- utf8Encoder: config?.utf8Encoder ?? toUtf8
665
- };
666
- };
667
-
668
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js
669
- var getRuntimeConfig2 = (config) => {
670
- emitWarningIfUnsupportedVersion2(process.version);
671
- const defaultsMode = resolveDefaultsModeConfig(config);
672
- const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
673
- const clientSharedValues = getRuntimeConfig(config);
674
- emitWarningIfUnsupportedVersion(process.version);
675
- const loaderConfig = {
676
- profile: config?.profile,
677
- logger: clientSharedValues.logger
678
- };
679
- return {
680
- ...clientSharedValues,
681
- ...config,
682
- runtime: "node",
683
- defaultsMode,
684
- authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
685
- bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
686
- defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 3e5),
687
- defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: package_default.version }),
688
- maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
689
- region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
690
- requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
691
- retryMode: config?.retryMode ?? loadConfig({
692
- ...NODE_RETRY_MODE_CONFIG_OPTIONS,
693
- default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE
694
- }, config),
695
- streamCollector: config?.streamCollector ?? streamCollector,
696
- useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
697
- useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
698
- userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
699
- };
700
- };
701
-
702
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js
703
- var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
704
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
705
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
706
- let _credentials = runtimeConfig.credentials;
707
- return {
708
- setHttpAuthScheme(httpAuthScheme) {
709
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
710
- if (index === -1) {
711
- _httpAuthSchemes.push(httpAuthScheme);
712
- } else {
713
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
714
- }
715
- },
716
- httpAuthSchemes() {
717
- return _httpAuthSchemes;
718
- },
719
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
720
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
721
- },
722
- httpAuthSchemeProvider() {
723
- return _httpAuthSchemeProvider;
724
- },
725
- setCredentials(credentials) {
726
- _credentials = credentials;
727
- },
728
- credentials() {
729
- return _credentials;
730
- }
731
- };
732
- };
733
- var resolveHttpAuthRuntimeConfig = (config) => {
734
- return {
735
- httpAuthSchemes: config.httpAuthSchemes(),
736
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
737
- credentials: config.credentials()
738
- };
739
- };
740
-
741
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js
742
- var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
743
- const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
744
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
745
- return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
746
- };
747
-
748
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js
749
- var SSOOIDCClient = class extends Client {
750
- config;
751
- constructor(...[configuration]) {
752
- const _config_0 = getRuntimeConfig2(configuration || {});
753
- super(_config_0);
754
- this.initConfig = _config_0;
755
- const _config_1 = resolveClientEndpointParameters(_config_0);
756
- const _config_2 = resolveUserAgentConfig(_config_1);
757
- const _config_3 = resolveRetryConfig(_config_2);
758
- const _config_4 = resolveRegionConfig(_config_3);
759
- const _config_5 = resolveHostHeaderConfig(_config_4);
760
- const _config_6 = resolveEndpointConfig(_config_5);
761
- const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
762
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
763
- this.config = _config_8;
764
- this.middlewareStack.use(getSchemaSerdePlugin(this.config));
765
- this.middlewareStack.use(getUserAgentPlugin(this.config));
766
- this.middlewareStack.use(getRetryPlugin(this.config));
767
- this.middlewareStack.use(getContentLengthPlugin(this.config));
768
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
769
- this.middlewareStack.use(getLoggerPlugin(this.config));
770
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
771
- this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
772
- httpAuthSchemeParametersProvider: defaultSSOOIDCHttpAuthSchemeParametersProvider,
773
- identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
774
- "aws.auth#sigv4": config.credentials
775
- })
776
- }));
777
- this.middlewareStack.use(getHttpSigningPlugin(this.config));
778
- }
779
- destroy() {
780
- super.destroy();
781
- }
782
- };
783
-
784
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commandBuilder.js
785
- var command = makeBuilder(commonParams, "AWSSSOOIDCService", "SSOOIDCClient", getEndpointPlugin);
786
- var _ep0 = {};
787
- var _mw0 = (Command2, cs, config, o) => [];
788
-
789
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js
790
- var CreateTokenCommand = class extends command(_ep0, _mw0, "CreateToken", CreateToken$) {
791
- };
792
-
793
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js
794
- var commands = {
795
- CreateTokenCommand
796
- };
797
- var SSOOIDC = class extends SSOOIDCClient {
798
- };
799
- createAggregatedClient(commands, SSOOIDC);
800
-
801
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js
802
- var AccessDeniedExceptionReason = {
803
- KMS_ACCESS_DENIED: "KMS_AccessDeniedException"
804
- };
805
- var InvalidRequestExceptionReason = {
806
- KMS_DISABLED_KEY: "KMS_DisabledException",
807
- KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException",
808
- KMS_INVALID_STATE: "KMS_InvalidStateException",
809
- KMS_KEY_NOT_FOUND: "KMS_NotFoundException"
810
- };
811
- export {
812
- Command as $Command,
813
- AccessDeniedException,
814
- AccessDeniedException$,
815
- AccessDeniedExceptionReason,
816
- AuthorizationPendingException,
817
- AuthorizationPendingException$,
818
- CreateToken$,
819
- CreateTokenCommand,
820
- CreateTokenRequest$,
821
- CreateTokenResponse$,
822
- ExpiredTokenException,
823
- ExpiredTokenException$,
824
- InternalServerException,
825
- InternalServerException$,
826
- InvalidClientException,
827
- InvalidClientException$,
828
- InvalidGrantException,
829
- InvalidGrantException$,
830
- InvalidRequestException,
831
- InvalidRequestException$,
832
- InvalidRequestExceptionReason,
833
- InvalidScopeException,
834
- InvalidScopeException$,
835
- SSOOIDC,
836
- SSOOIDCClient,
837
- SSOOIDCServiceException,
838
- SSOOIDCServiceException$,
839
- SlowDownException,
840
- SlowDownException$,
841
- UnauthorizedClientException,
842
- UnauthorizedClientException$,
843
- UnsupportedGrantTypeException,
844
- UnsupportedGrantTypeException$,
845
- Client as __Client,
846
- errorTypeRegistries
847
- };