@thunderid/react 0.3.0 → 0.3.4

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 (672) hide show
  1. package/dist/ThunderIDReactClient.d.ts +4 -8
  2. package/dist/ThunderIDReactClient.d.ts.map +1 -1
  3. package/dist/ThunderIDReactClient.js +6 -73
  4. package/dist/ThunderIDReactClient.js.map +1 -1
  5. package/dist/cjs/ThunderIDReactClient.cjs +5 -72
  6. package/dist/cjs/ThunderIDReactClient.cjs.map +1 -1
  7. package/dist/cjs/components/actions/SignInButton/SignInButton.cjs.map +1 -1
  8. package/dist/cjs/components/adapters/Consent.cjs.map +1 -1
  9. package/dist/cjs/components/adapters/ConsentCheckboxList.cjs +1 -1
  10. package/dist/cjs/components/adapters/ConsentCheckboxList.cjs.map +1 -1
  11. package/dist/cjs/components/auth/Callback/Callback.cjs +1 -1
  12. package/dist/cjs/components/auth/Callback/Callback.cjs.map +1 -1
  13. package/dist/cjs/components/auth/Callback/TokenCallback.cjs +3 -3
  14. package/dist/cjs/components/auth/Callback/TokenCallback.cjs.map +1 -1
  15. package/dist/cjs/components/factories/FieldFactory.cjs +2 -2
  16. package/dist/cjs/components/factories/FieldFactory.cjs.map +1 -1
  17. package/dist/cjs/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.cjs +1 -1
  18. package/dist/cjs/components/presentation/UserAvatar/BaseUserAvatar.cjs +57 -0
  19. package/dist/cjs/components/presentation/UserAvatar/BaseUserAvatar.cjs.map +1 -0
  20. package/dist/cjs/components/presentation/UserAvatar/UserAvatar.cjs +36 -0
  21. package/dist/cjs/components/presentation/UserAvatar/UserAvatar.cjs.map +1 -0
  22. package/dist/cjs/components/presentation/UserDropdown/BaseUserDropdown.cjs +6 -5
  23. package/dist/cjs/components/presentation/UserDropdown/BaseUserDropdown.cjs.map +1 -1
  24. package/dist/cjs/components/presentation/UserProfile/BaseUserProfile.cjs +3 -3
  25. package/dist/cjs/components/presentation/auth/AcceptInvite/{v2/AcceptInvite.cjs → AcceptInvite.cjs} +2 -2
  26. package/dist/cjs/components/presentation/auth/AcceptInvite/AcceptInvite.cjs.map +1 -0
  27. package/dist/cjs/components/presentation/auth/AcceptInvite/{v2/BaseAcceptInvite.cjs → BaseAcceptInvite.cjs} +47 -18
  28. package/dist/cjs/components/presentation/auth/AcceptInvite/BaseAcceptInvite.cjs.map +1 -0
  29. package/dist/cjs/components/presentation/auth/AcceptInvite/{v2/BaseAcceptInvite.styles.cjs → BaseAcceptInvite.styles.cjs} +2 -2
  30. package/dist/cjs/components/presentation/auth/AcceptInvite/BaseAcceptInvite.styles.cjs.map +1 -0
  31. package/dist/cjs/components/presentation/auth/AuthOptionFactory.cjs +49 -43
  32. package/dist/cjs/components/presentation/auth/AuthOptionFactory.cjs.map +1 -1
  33. package/dist/cjs/components/presentation/auth/InviteUser/{v2/BaseInviteUser.cjs → BaseInviteUser.cjs} +44 -15
  34. package/dist/cjs/components/presentation/auth/InviteUser/BaseInviteUser.cjs.map +1 -0
  35. package/dist/cjs/components/presentation/auth/InviteUser/{v2/BaseInviteUser.styles.cjs → BaseInviteUser.styles.cjs} +2 -2
  36. package/dist/cjs/components/presentation/auth/InviteUser/BaseInviteUser.styles.cjs.map +1 -0
  37. package/dist/cjs/components/presentation/auth/InviteUser/{v2/InviteUser.cjs → InviteUser.cjs} +3 -3
  38. package/dist/cjs/components/presentation/auth/InviteUser/InviteUser.cjs.map +1 -0
  39. package/dist/cjs/components/presentation/auth/Recovery/BaseRecovery.cjs +389 -8
  40. package/dist/cjs/components/presentation/auth/Recovery/BaseRecovery.cjs.map +1 -1
  41. package/dist/cjs/components/presentation/auth/Recovery/Recovery.cjs +51 -22
  42. package/dist/cjs/components/presentation/auth/Recovery/Recovery.cjs.map +1 -1
  43. package/dist/cjs/components/presentation/auth/SignIn/BaseSignIn.cjs +346 -8
  44. package/dist/cjs/components/presentation/auth/SignIn/BaseSignIn.cjs.map +1 -1
  45. package/dist/cjs/components/presentation/auth/SignIn/SignIn.cjs +547 -36
  46. package/dist/cjs/components/presentation/auth/SignIn/SignIn.cjs.map +1 -1
  47. package/dist/cjs/components/presentation/auth/SignUp/BaseSignUp.cjs +691 -8
  48. package/dist/cjs/components/presentation/auth/SignUp/BaseSignUp.cjs.map +1 -1
  49. package/dist/cjs/components/presentation/auth/SignUp/SignUp.cjs +66 -76
  50. package/dist/cjs/components/presentation/auth/SignUp/SignUp.cjs.map +1 -1
  51. package/dist/cjs/components/primitives/Alert/Alert.cjs +1 -1
  52. package/dist/cjs/components/primitives/Checkbox/Checkbox.cjs +1 -1
  53. package/dist/cjs/components/primitives/FormControl/FormControl.cjs +1 -1
  54. package/dist/cjs/components/primitives/Toggle/Toggle.cjs +1 -1
  55. package/dist/cjs/contexts/ComponentRenderer/ComponentRendererContext.cjs.map +1 -1
  56. package/dist/cjs/contexts/FlowMeta/FlowMetaProvider.cjs +5 -7
  57. package/dist/cjs/contexts/FlowMeta/FlowMetaProvider.cjs.map +1 -1
  58. package/dist/cjs/contexts/Theme/ThemeContext.cjs.map +1 -1
  59. package/dist/cjs/contexts/Theme/ThemeProvider.cjs +73 -37
  60. package/dist/cjs/contexts/Theme/ThemeProvider.cjs.map +1 -1
  61. package/dist/cjs/contexts/ThunderID/ThunderIDContext.cjs +0 -3
  62. package/dist/cjs/contexts/ThunderID/ThunderIDContext.cjs.map +1 -1
  63. package/dist/cjs/contexts/ThunderID/ThunderIDProvider.cjs +14 -93
  64. package/dist/cjs/contexts/ThunderID/ThunderIDProvider.cjs.map +1 -1
  65. package/dist/cjs/hooks/{v2/useOAuthCallback.cjs → useOAuthCallback.cjs} +2 -2
  66. package/dist/cjs/hooks/useOAuthCallback.cjs.map +1 -0
  67. package/dist/cjs/index.cjs +51 -99
  68. package/dist/cjs/utils/{v2/buildThemeConfigFromFlowMeta.cjs → buildThemeConfigFromFlowMeta.cjs} +1 -1
  69. package/dist/cjs/utils/buildThemeConfigFromFlowMeta.cjs.map +1 -0
  70. package/dist/cjs/utils/{v2/flowTransformer.cjs → flowTransformer.cjs} +1 -1
  71. package/dist/cjs/utils/flowTransformer.cjs.map +1 -0
  72. package/dist/cjs/utils/{v2/getAuthComponentHeadings.cjs → getAuthComponentHeadings.cjs} +1 -1
  73. package/dist/cjs/utils/getAuthComponentHeadings.cjs.map +1 -0
  74. package/dist/cjs/utils/{v2/passkey.cjs → passkey.cjs} +2 -2
  75. package/dist/cjs/utils/passkey.cjs.map +1 -0
  76. package/dist/cjs/utils/{v2/resolveTranslationsInArray.cjs → resolveTranslationsInArray.cjs} +1 -1
  77. package/dist/cjs/utils/resolveTranslationsInArray.cjs.map +1 -0
  78. package/dist/cjs/utils/{v2/resolveTranslationsInObject.cjs → resolveTranslationsInObject.cjs} +2 -2
  79. package/dist/cjs/utils/resolveTranslationsInObject.cjs.map +1 -0
  80. package/dist/components/actions/SignInButton/SignInButton.d.ts.map +1 -1
  81. package/dist/components/actions/SignInButton/SignInButton.js.map +1 -1
  82. package/dist/components/adapters/Consent.d.ts +1 -1
  83. package/dist/components/adapters/Consent.d.ts.map +1 -1
  84. package/dist/components/adapters/Consent.js.map +1 -1
  85. package/dist/components/adapters/ConsentCheckboxList.d.ts +1 -1
  86. package/dist/components/adapters/ConsentCheckboxList.d.ts.map +1 -1
  87. package/dist/components/adapters/ConsentCheckboxList.js +1 -1
  88. package/dist/components/adapters/ConsentCheckboxList.js.map +1 -1
  89. package/dist/components/auth/Callback/Callback.d.ts +1 -1
  90. package/dist/components/auth/Callback/Callback.js +1 -1
  91. package/dist/components/auth/Callback/Callback.js.map +1 -1
  92. package/dist/components/auth/Callback/TokenCallback.js +4 -4
  93. package/dist/components/auth/Callback/TokenCallback.js.map +1 -1
  94. package/dist/components/factories/FieldFactory.d.ts +2 -2
  95. package/dist/components/factories/FieldFactory.js +2 -2
  96. package/dist/components/factories/FieldFactory.js.map +1 -1
  97. package/dist/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.js +1 -1
  98. package/dist/components/presentation/UserAvatar/BaseUserAvatar.d.ts +50 -0
  99. package/dist/components/presentation/UserAvatar/BaseUserAvatar.d.ts.map +1 -0
  100. package/dist/components/presentation/UserAvatar/BaseUserAvatar.js +55 -0
  101. package/dist/components/presentation/UserAvatar/BaseUserAvatar.js.map +1 -0
  102. package/dist/components/presentation/UserAvatar/UserAvatar.d.ts +46 -0
  103. package/dist/components/presentation/UserAvatar/UserAvatar.d.ts.map +1 -0
  104. package/dist/components/presentation/UserAvatar/UserAvatar.js +34 -0
  105. package/dist/components/presentation/UserAvatar/UserAvatar.js.map +1 -0
  106. package/dist/components/presentation/UserDropdown/BaseUserDropdown.d.ts.map +1 -1
  107. package/dist/components/presentation/UserDropdown/BaseUserDropdown.js +6 -5
  108. package/dist/components/presentation/UserDropdown/BaseUserDropdown.js.map +1 -1
  109. package/dist/components/presentation/UserProfile/BaseUserProfile.js +3 -3
  110. package/dist/components/presentation/auth/AcceptInvite/AcceptInvite.d.ts.map +1 -0
  111. package/dist/components/presentation/auth/AcceptInvite/{v2/AcceptInvite.js → AcceptInvite.js} +1 -1
  112. package/dist/components/presentation/auth/AcceptInvite/AcceptInvite.js.map +1 -0
  113. package/dist/components/presentation/auth/AcceptInvite/{v2/BaseAcceptInvite.d.ts → BaseAcceptInvite.d.ts} +3 -2
  114. package/dist/components/presentation/auth/AcceptInvite/BaseAcceptInvite.d.ts.map +1 -0
  115. package/dist/components/presentation/auth/AcceptInvite/{v2/BaseAcceptInvite.js → BaseAcceptInvite.js} +45 -17
  116. package/dist/components/presentation/auth/AcceptInvite/BaseAcceptInvite.js.map +1 -0
  117. package/dist/components/presentation/auth/AcceptInvite/BaseAcceptInvite.styles.d.ts.map +1 -0
  118. package/dist/components/presentation/auth/AcceptInvite/{v2/BaseAcceptInvite.styles.js → BaseAcceptInvite.styles.js} +1 -1
  119. package/dist/components/presentation/auth/AcceptInvite/BaseAcceptInvite.styles.js.map +1 -0
  120. package/dist/components/presentation/auth/AcceptInvite/index.d.ts +4 -4
  121. package/dist/components/presentation/auth/AcceptInvite/index.d.ts.map +1 -1
  122. package/dist/components/presentation/auth/AuthOptionFactory.d.ts +2 -2
  123. package/dist/components/presentation/auth/AuthOptionFactory.d.ts.map +1 -1
  124. package/dist/components/presentation/auth/AuthOptionFactory.js +50 -44
  125. package/dist/components/presentation/auth/AuthOptionFactory.js.map +1 -1
  126. package/dist/components/presentation/auth/InviteUser/{v2/BaseInviteUser.d.ts → BaseInviteUser.d.ts} +3 -2
  127. package/dist/components/presentation/auth/InviteUser/BaseInviteUser.d.ts.map +1 -0
  128. package/dist/components/presentation/auth/InviteUser/{v2/BaseInviteUser.js → BaseInviteUser.js} +44 -15
  129. package/dist/components/presentation/auth/InviteUser/BaseInviteUser.js.map +1 -0
  130. package/dist/components/presentation/auth/InviteUser/BaseInviteUser.styles.d.ts.map +1 -0
  131. package/dist/components/presentation/auth/InviteUser/{v2/BaseInviteUser.styles.js → BaseInviteUser.styles.js} +1 -1
  132. package/dist/components/presentation/auth/InviteUser/BaseInviteUser.styles.js.map +1 -0
  133. package/dist/components/presentation/auth/InviteUser/InviteUser.d.ts.map +1 -0
  134. package/dist/components/presentation/auth/InviteUser/{v2/InviteUser.js → InviteUser.js} +2 -2
  135. package/dist/components/presentation/auth/InviteUser/InviteUser.js.map +1 -0
  136. package/dist/components/presentation/auth/InviteUser/index.d.ts +4 -4
  137. package/dist/components/presentation/auth/InviteUser/index.d.ts.map +1 -1
  138. package/dist/components/presentation/auth/Recovery/BaseRecovery.d.ts +63 -4
  139. package/dist/components/presentation/auth/Recovery/BaseRecovery.d.ts.map +1 -1
  140. package/dist/components/presentation/auth/Recovery/BaseRecovery.js +389 -10
  141. package/dist/components/presentation/auth/Recovery/BaseRecovery.js.map +1 -1
  142. package/dist/components/presentation/auth/Recovery/Recovery.d.ts +21 -22
  143. package/dist/components/presentation/auth/Recovery/Recovery.d.ts.map +1 -1
  144. package/dist/components/presentation/auth/Recovery/Recovery.js +51 -23
  145. package/dist/components/presentation/auth/Recovery/Recovery.js.map +1 -1
  146. package/dist/components/presentation/auth/SignIn/BaseSignIn.d.ts +213 -6
  147. package/dist/components/presentation/auth/SignIn/BaseSignIn.d.ts.map +1 -1
  148. package/dist/components/presentation/auth/SignIn/BaseSignIn.js +346 -10
  149. package/dist/components/presentation/auth/SignIn/BaseSignIn.js.map +1 -1
  150. package/dist/components/presentation/auth/SignIn/SignIn.d.ts +122 -13
  151. package/dist/components/presentation/auth/SignIn/SignIn.d.ts.map +1 -1
  152. package/dist/components/presentation/auth/SignIn/SignIn.js +548 -38
  153. package/dist/components/presentation/auth/SignIn/SignIn.js.map +1 -1
  154. package/dist/components/presentation/auth/SignUp/BaseSignUp.d.ts +164 -6
  155. package/dist/components/presentation/auth/SignUp/BaseSignUp.d.ts.map +1 -1
  156. package/dist/components/presentation/auth/SignUp/BaseSignUp.js +691 -10
  157. package/dist/components/presentation/auth/SignUp/BaseSignUp.js.map +1 -1
  158. package/dist/components/presentation/auth/SignUp/SignUp.d.ts +15 -74
  159. package/dist/components/presentation/auth/SignUp/SignUp.d.ts.map +1 -1
  160. package/dist/components/presentation/auth/SignUp/SignUp.js +67 -77
  161. package/dist/components/presentation/auth/SignUp/SignUp.js.map +1 -1
  162. package/dist/components/primitives/Alert/Alert.js +1 -1
  163. package/dist/components/primitives/Checkbox/Checkbox.js +1 -1
  164. package/dist/components/primitives/FormControl/FormControl.js +1 -1
  165. package/dist/components/primitives/Toggle/Toggle.js +1 -1
  166. package/dist/contexts/ComponentRenderer/ComponentRendererContext.d.ts +1 -1
  167. package/dist/contexts/ComponentRenderer/ComponentRendererContext.d.ts.map +1 -1
  168. package/dist/contexts/ComponentRenderer/ComponentRendererContext.js.map +1 -1
  169. package/dist/contexts/FlowMeta/FlowMetaProvider.d.ts.map +1 -1
  170. package/dist/contexts/FlowMeta/FlowMetaProvider.js +6 -8
  171. package/dist/contexts/FlowMeta/FlowMetaProvider.js.map +1 -1
  172. package/dist/contexts/Theme/ThemeContext.d.ts +0 -12
  173. package/dist/contexts/Theme/ThemeContext.d.ts.map +1 -1
  174. package/dist/contexts/Theme/ThemeContext.js.map +1 -1
  175. package/dist/contexts/Theme/ThemeProvider.d.ts +17 -41
  176. package/dist/contexts/Theme/ThemeProvider.d.ts.map +1 -1
  177. package/dist/contexts/Theme/ThemeProvider.js +73 -38
  178. package/dist/contexts/Theme/ThemeProvider.js.map +1 -1
  179. package/dist/contexts/ThunderID/ThunderIDContext.d.ts +2 -4
  180. package/dist/contexts/ThunderID/ThunderIDContext.d.ts.map +1 -1
  181. package/dist/contexts/ThunderID/ThunderIDContext.js +0 -3
  182. package/dist/contexts/ThunderID/ThunderIDContext.js.map +1 -1
  183. package/dist/contexts/ThunderID/ThunderIDProvider.d.ts.map +1 -1
  184. package/dist/contexts/ThunderID/ThunderIDProvider.js +15 -94
  185. package/dist/contexts/ThunderID/ThunderIDProvider.js.map +1 -1
  186. package/dist/hooks/useOAuthCallback.d.ts.map +1 -0
  187. package/dist/hooks/{v2/useOAuthCallback.js → useOAuthCallback.js} +1 -1
  188. package/dist/hooks/useOAuthCallback.js.map +1 -0
  189. package/dist/index.d.ts +7 -49
  190. package/dist/index.d.ts.map +1 -1
  191. package/dist/index.js +30 -59
  192. package/dist/utils/buildThemeConfigFromFlowMeta.d.ts.map +1 -0
  193. package/dist/utils/{v2/buildThemeConfigFromFlowMeta.js → buildThemeConfigFromFlowMeta.js} +1 -1
  194. package/dist/utils/buildThemeConfigFromFlowMeta.js.map +1 -0
  195. package/dist/utils/{v2/flowTransformer.d.ts → flowTransformer.d.ts} +3 -3
  196. package/dist/utils/flowTransformer.d.ts.map +1 -0
  197. package/dist/utils/{v2/flowTransformer.js → flowTransformer.js} +1 -1
  198. package/dist/utils/flowTransformer.js.map +1 -0
  199. package/dist/utils/{v2/getAuthComponentHeadings.d.ts → getAuthComponentHeadings.d.ts} +1 -1
  200. package/dist/utils/getAuthComponentHeadings.d.ts.map +1 -0
  201. package/dist/utils/{v2/getAuthComponentHeadings.js → getAuthComponentHeadings.js} +1 -1
  202. package/dist/utils/getAuthComponentHeadings.js.map +1 -0
  203. package/dist/utils/passkey.d.ts.map +1 -0
  204. package/dist/utils/{v2/passkey.js → passkey.js} +1 -1
  205. package/dist/utils/passkey.js.map +1 -0
  206. package/dist/utils/{v2/resolveTranslationsInArray.d.ts → resolveTranslationsInArray.d.ts} +1 -1
  207. package/dist/utils/resolveTranslationsInArray.d.ts.map +1 -0
  208. package/dist/utils/{v2/resolveTranslationsInArray.js → resolveTranslationsInArray.js} +1 -1
  209. package/dist/utils/resolveTranslationsInArray.js.map +1 -0
  210. package/dist/utils/{v2/resolveTranslationsInObject.d.ts → resolveTranslationsInObject.d.ts} +1 -1
  211. package/dist/utils/resolveTranslationsInObject.d.ts.map +1 -0
  212. package/dist/utils/{v2/resolveTranslationsInObject.js → resolveTranslationsInObject.js} +1 -1
  213. package/dist/utils/resolveTranslationsInObject.js.map +1 -0
  214. package/package.json +10 -10
  215. package/dist/api/createOrganization.d.ts +0 -86
  216. package/dist/api/createOrganization.d.ts.map +0 -1
  217. package/dist/api/createOrganization.js +0 -80
  218. package/dist/api/createOrganization.js.map +0 -1
  219. package/dist/api/getAllOrganizations.d.ts +0 -78
  220. package/dist/api/getAllOrganizations.d.ts.map +0 -1
  221. package/dist/api/getAllOrganizations.js +0 -71
  222. package/dist/api/getAllOrganizations.js.map +0 -1
  223. package/dist/api/getMeOrganizations.d.ts +0 -82
  224. package/dist/api/getMeOrganizations.d.ts.map +0 -1
  225. package/dist/api/getMeOrganizations.js +0 -75
  226. package/dist/api/getMeOrganizations.js.map +0 -1
  227. package/dist/api/getOrganization.d.ts +0 -74
  228. package/dist/api/getOrganization.d.ts.map +0 -1
  229. package/dist/api/getOrganization.js +0 -67
  230. package/dist/api/getOrganization.js.map +0 -1
  231. package/dist/api/getSchemas.d.ts +0 -72
  232. package/dist/api/getSchemas.d.ts.map +0 -1
  233. package/dist/api/getSchemas.js +0 -65
  234. package/dist/api/getSchemas.js.map +0 -1
  235. package/dist/api/updateOrganization.d.ts +0 -81
  236. package/dist/api/updateOrganization.d.ts.map +0 -1
  237. package/dist/api/updateOrganization.js +0 -74
  238. package/dist/api/updateOrganization.js.map +0 -1
  239. package/dist/cjs/api/createOrganization.cjs +0 -82
  240. package/dist/cjs/api/createOrganization.cjs.map +0 -1
  241. package/dist/cjs/api/getAllOrganizations.cjs +0 -73
  242. package/dist/cjs/api/getAllOrganizations.cjs.map +0 -1
  243. package/dist/cjs/api/getMeOrganizations.cjs +0 -77
  244. package/dist/cjs/api/getMeOrganizations.cjs.map +0 -1
  245. package/dist/cjs/api/getOrganization.cjs +0 -69
  246. package/dist/cjs/api/getOrganization.cjs.map +0 -1
  247. package/dist/cjs/api/getSchemas.cjs +0 -67
  248. package/dist/cjs/api/getSchemas.cjs.map +0 -1
  249. package/dist/cjs/api/updateOrganization.cjs +0 -76
  250. package/dist/cjs/api/updateOrganization.cjs.map +0 -1
  251. package/dist/cjs/components/adapters/CheckboxInput.cjs +0 -30
  252. package/dist/cjs/components/adapters/CheckboxInput.cjs.map +0 -1
  253. package/dist/cjs/components/adapters/DateInput.cjs +0 -30
  254. package/dist/cjs/components/adapters/DateInput.cjs.map +0 -1
  255. package/dist/cjs/components/adapters/DividerComponent.cjs +0 -24
  256. package/dist/cjs/components/adapters/DividerComponent.cjs.map +0 -1
  257. package/dist/cjs/components/adapters/EmailInput.cjs +0 -30
  258. package/dist/cjs/components/adapters/EmailInput.cjs.map +0 -1
  259. package/dist/cjs/components/adapters/FormContainer.cjs +0 -36
  260. package/dist/cjs/components/adapters/FormContainer.cjs.map +0 -1
  261. package/dist/cjs/components/adapters/NumberInput.cjs +0 -30
  262. package/dist/cjs/components/adapters/NumberInput.cjs.map +0 -1
  263. package/dist/cjs/components/adapters/PasswordInput.cjs +0 -52
  264. package/dist/cjs/components/adapters/PasswordInput.cjs.map +0 -1
  265. package/dist/cjs/components/adapters/SelectInput.cjs +0 -36
  266. package/dist/cjs/components/adapters/SelectInput.cjs.map +0 -1
  267. package/dist/cjs/components/adapters/SubmitButton.cjs +0 -61
  268. package/dist/cjs/components/adapters/SubmitButton.cjs.map +0 -1
  269. package/dist/cjs/components/adapters/TelephoneInput.cjs +0 -32
  270. package/dist/cjs/components/adapters/TelephoneInput.cjs.map +0 -1
  271. package/dist/cjs/components/adapters/TextInput.cjs +0 -30
  272. package/dist/cjs/components/adapters/TextInput.cjs.map +0 -1
  273. package/dist/cjs/components/adapters/Typography.cjs +0 -60
  274. package/dist/cjs/components/adapters/Typography.cjs.map +0 -1
  275. package/dist/cjs/components/control/OrganizationContext/OrganizationContext.cjs +0 -34
  276. package/dist/cjs/components/control/OrganizationContext/OrganizationContext.cjs.map +0 -1
  277. package/dist/cjs/components/control/OrganizationContext/OrganizationContextController.cjs +0 -58
  278. package/dist/cjs/components/control/OrganizationContext/OrganizationContextController.cjs.map +0 -1
  279. package/dist/cjs/components/presentation/CreateOrganization/BaseCreateOrganization.cjs +0 -183
  280. package/dist/cjs/components/presentation/CreateOrganization/BaseCreateOrganization.cjs.map +0 -1
  281. package/dist/cjs/components/presentation/CreateOrganization/BaseCreateOrganization.styles.cjs +0 -150
  282. package/dist/cjs/components/presentation/CreateOrganization/BaseCreateOrganization.styles.cjs.map +0 -1
  283. package/dist/cjs/components/presentation/CreateOrganization/CreateOrganization.cjs +0 -90
  284. package/dist/cjs/components/presentation/CreateOrganization/CreateOrganization.cjs.map +0 -1
  285. package/dist/cjs/components/presentation/Organization/BaseOrganization.cjs +0 -41
  286. package/dist/cjs/components/presentation/Organization/BaseOrganization.cjs.map +0 -1
  287. package/dist/cjs/components/presentation/Organization/Organization.cjs +0 -49
  288. package/dist/cjs/components/presentation/Organization/Organization.cjs.map +0 -1
  289. package/dist/cjs/components/presentation/OrganizationList/BaseOrganizationList.cjs +0 -257
  290. package/dist/cjs/components/presentation/OrganizationList/BaseOrganizationList.cjs.map +0 -1
  291. package/dist/cjs/components/presentation/OrganizationList/BaseOrganizationList.styles.cjs +0 -236
  292. package/dist/cjs/components/presentation/OrganizationList/BaseOrganizationList.styles.cjs.map +0 -1
  293. package/dist/cjs/components/presentation/OrganizationList/OrganizationList.cjs +0 -86
  294. package/dist/cjs/components/presentation/OrganizationList/OrganizationList.cjs.map +0 -1
  295. package/dist/cjs/components/presentation/OrganizationList/OrganizationList.styles.cjs +0 -75
  296. package/dist/cjs/components/presentation/OrganizationList/OrganizationList.styles.cjs.map +0 -1
  297. package/dist/cjs/components/presentation/OrganizationProfile/BaseOrganizationProfile.cjs +0 -328
  298. package/dist/cjs/components/presentation/OrganizationProfile/BaseOrganizationProfile.cjs.map +0 -1
  299. package/dist/cjs/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.cjs +0 -166
  300. package/dist/cjs/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.cjs.map +0 -1
  301. package/dist/cjs/components/presentation/OrganizationProfile/OrganizationProfile.cjs +0 -126
  302. package/dist/cjs/components/presentation/OrganizationProfile/OrganizationProfile.cjs.map +0 -1
  303. package/dist/cjs/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.cjs +0 -288
  304. package/dist/cjs/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.cjs.map +0 -1
  305. package/dist/cjs/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.styles.cjs +0 -237
  306. package/dist/cjs/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.styles.cjs.map +0 -1
  307. package/dist/cjs/components/presentation/OrganizationSwitcher/OrganizationSwitcher.cjs +0 -127
  308. package/dist/cjs/components/presentation/OrganizationSwitcher/OrganizationSwitcher.cjs.map +0 -1
  309. package/dist/cjs/components/presentation/auth/AcceptInvite/v2/AcceptInvite.cjs.map +0 -1
  310. package/dist/cjs/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.cjs.map +0 -1
  311. package/dist/cjs/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.styles.cjs.map +0 -1
  312. package/dist/cjs/components/presentation/auth/InviteUser/v2/BaseInviteUser.cjs.map +0 -1
  313. package/dist/cjs/components/presentation/auth/InviteUser/v2/BaseInviteUser.styles.cjs.map +0 -1
  314. package/dist/cjs/components/presentation/auth/InviteUser/v2/InviteUser.cjs.map +0 -1
  315. package/dist/cjs/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.cjs +0 -183
  316. package/dist/cjs/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.cjs.map +0 -1
  317. package/dist/cjs/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.styles.cjs +0 -128
  318. package/dist/cjs/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.styles.cjs.map +0 -1
  319. package/dist/cjs/components/presentation/auth/Recovery/v1/BaseRecovery.cjs +0 -293
  320. package/dist/cjs/components/presentation/auth/Recovery/v1/BaseRecovery.cjs.map +0 -1
  321. package/dist/cjs/components/presentation/auth/Recovery/v1/Recovery.cjs +0 -43
  322. package/dist/cjs/components/presentation/auth/Recovery/v1/Recovery.cjs.map +0 -1
  323. package/dist/cjs/components/presentation/auth/Recovery/v1/RecoveryOptionFactory.cjs +0 -163
  324. package/dist/cjs/components/presentation/auth/Recovery/v1/RecoveryOptionFactory.cjs.map +0 -1
  325. package/dist/cjs/components/presentation/auth/Recovery/v2/BaseRecovery.cjs +0 -378
  326. package/dist/cjs/components/presentation/auth/Recovery/v2/BaseRecovery.cjs.map +0 -1
  327. package/dist/cjs/components/presentation/auth/Recovery/v2/Recovery.cjs +0 -78
  328. package/dist/cjs/components/presentation/auth/Recovery/v2/Recovery.cjs.map +0 -1
  329. package/dist/cjs/components/presentation/auth/SignIn/v1/BaseSignIn.cjs +0 -734
  330. package/dist/cjs/components/presentation/auth/SignIn/v1/BaseSignIn.cjs.map +0 -1
  331. package/dist/cjs/components/presentation/auth/SignIn/v1/options/EmailOtp.cjs +0 -68
  332. package/dist/cjs/components/presentation/auth/SignIn/v1/options/EmailOtp.cjs.map +0 -1
  333. package/dist/cjs/components/presentation/auth/SignIn/v1/options/IdentifierFirst.cjs +0 -59
  334. package/dist/cjs/components/presentation/auth/SignIn/v1/options/IdentifierFirst.cjs.map +0 -1
  335. package/dist/cjs/components/presentation/auth/SignIn/v1/options/MultiOptionButton.cjs +0 -139
  336. package/dist/cjs/components/presentation/auth/SignIn/v1/options/MultiOptionButton.cjs.map +0 -1
  337. package/dist/cjs/components/presentation/auth/SignIn/v1/options/SignInOptionFactory.cjs +0 -147
  338. package/dist/cjs/components/presentation/auth/SignIn/v1/options/SignInOptionFactory.cjs.map +0 -1
  339. package/dist/cjs/components/presentation/auth/SignIn/v1/options/SmsOtp.cjs +0 -68
  340. package/dist/cjs/components/presentation/auth/SignIn/v1/options/SmsOtp.cjs.map +0 -1
  341. package/dist/cjs/components/presentation/auth/SignIn/v1/options/SocialButton.cjs +0 -38
  342. package/dist/cjs/components/presentation/auth/SignIn/v1/options/SocialButton.cjs.map +0 -1
  343. package/dist/cjs/components/presentation/auth/SignIn/v1/options/Totp.cjs +0 -68
  344. package/dist/cjs/components/presentation/auth/SignIn/v1/options/Totp.cjs.map +0 -1
  345. package/dist/cjs/components/presentation/auth/SignIn/v1/options/UsernamePassword.cjs +0 -60
  346. package/dist/cjs/components/presentation/auth/SignIn/v1/options/UsernamePassword.cjs.map +0 -1
  347. package/dist/cjs/components/presentation/auth/SignIn/v2/BaseSignIn.cjs +0 -330
  348. package/dist/cjs/components/presentation/auth/SignIn/v2/BaseSignIn.cjs.map +0 -1
  349. package/dist/cjs/components/presentation/auth/SignIn/v2/SignIn.cjs +0 -560
  350. package/dist/cjs/components/presentation/auth/SignIn/v2/SignIn.cjs.map +0 -1
  351. package/dist/cjs/components/presentation/auth/SignUp/v1/BaseSignUp.cjs +0 -451
  352. package/dist/cjs/components/presentation/auth/SignUp/v1/BaseSignUp.cjs.map +0 -1
  353. package/dist/cjs/components/presentation/auth/SignUp/v1/SignUp.cjs +0 -54
  354. package/dist/cjs/components/presentation/auth/SignUp/v1/SignUp.cjs.map +0 -1
  355. package/dist/cjs/components/presentation/auth/SignUp/v1/SignUpOptionFactory.cjs +0 -164
  356. package/dist/cjs/components/presentation/auth/SignUp/v1/SignUpOptionFactory.cjs.map +0 -1
  357. package/dist/cjs/components/presentation/auth/SignUp/v2/BaseSignUp.cjs +0 -679
  358. package/dist/cjs/components/presentation/auth/SignUp/v2/BaseSignUp.cjs.map +0 -1
  359. package/dist/cjs/components/presentation/auth/SignUp/v2/SignUp.cjs +0 -80
  360. package/dist/cjs/components/presentation/auth/SignUp/v2/SignUp.cjs.map +0 -1
  361. package/dist/cjs/components/primitives/Icons/Building.cjs +0 -75
  362. package/dist/cjs/components/primitives/Icons/Building.cjs.map +0 -1
  363. package/dist/cjs/contexts/Branding/BrandingContext.cjs +0 -12
  364. package/dist/cjs/contexts/Branding/BrandingContext.cjs.map +0 -1
  365. package/dist/cjs/contexts/Branding/BrandingProvider.cjs +0 -96
  366. package/dist/cjs/contexts/Branding/BrandingProvider.cjs.map +0 -1
  367. package/dist/cjs/contexts/Branding/useBrandingContext.cjs +0 -40
  368. package/dist/cjs/contexts/Branding/useBrandingContext.cjs.map +0 -1
  369. package/dist/cjs/contexts/Organization/OrganizationContext.cjs +0 -27
  370. package/dist/cjs/contexts/Organization/OrganizationContext.cjs.map +0 -1
  371. package/dist/cjs/contexts/Organization/OrganizationProvider.cjs +0 -97
  372. package/dist/cjs/contexts/Organization/OrganizationProvider.cjs.map +0 -1
  373. package/dist/cjs/contexts/Organization/useOrganization.cjs +0 -100
  374. package/dist/cjs/contexts/Organization/useOrganization.cjs.map +0 -1
  375. package/dist/cjs/contexts/Theme/v1/ThemeProvider.cjs +0 -190
  376. package/dist/cjs/contexts/Theme/v1/ThemeProvider.cjs.map +0 -1
  377. package/dist/cjs/contexts/Theme/v2/ThemeProvider.cjs +0 -108
  378. package/dist/cjs/contexts/Theme/v2/ThemeProvider.cjs.map +0 -1
  379. package/dist/cjs/hooks/useBranding.cjs +0 -71
  380. package/dist/cjs/hooks/useBranding.cjs.map +0 -1
  381. package/dist/cjs/hooks/v2/useOAuthCallback.cjs.map +0 -1
  382. package/dist/cjs/utils/v2/buildThemeConfigFromFlowMeta.cjs.map +0 -1
  383. package/dist/cjs/utils/v2/flowTransformer.cjs.map +0 -1
  384. package/dist/cjs/utils/v2/getAuthComponentHeadings.cjs.map +0 -1
  385. package/dist/cjs/utils/v2/passkey.cjs.map +0 -1
  386. package/dist/cjs/utils/v2/resolveTranslationsInArray.cjs.map +0 -1
  387. package/dist/cjs/utils/v2/resolveTranslationsInObject.cjs.map +0 -1
  388. package/dist/components/adapters/CheckboxInput.d.ts +0 -25
  389. package/dist/components/adapters/CheckboxInput.d.ts.map +0 -1
  390. package/dist/components/adapters/CheckboxInput.js +0 -28
  391. package/dist/components/adapters/CheckboxInput.js.map +0 -1
  392. package/dist/components/adapters/DateInput.d.ts +0 -25
  393. package/dist/components/adapters/DateInput.d.ts.map +0 -1
  394. package/dist/components/adapters/DateInput.js +0 -28
  395. package/dist/components/adapters/DateInput.js.map +0 -1
  396. package/dist/components/adapters/DividerComponent.d.ts +0 -25
  397. package/dist/components/adapters/DividerComponent.d.ts.map +0 -1
  398. package/dist/components/adapters/DividerComponent.js +0 -22
  399. package/dist/components/adapters/DividerComponent.js.map +0 -1
  400. package/dist/components/adapters/EmailInput.d.ts +0 -25
  401. package/dist/components/adapters/EmailInput.d.ts.map +0 -1
  402. package/dist/components/adapters/EmailInput.js +0 -28
  403. package/dist/components/adapters/EmailInput.js.map +0 -1
  404. package/dist/components/adapters/FormContainer.d.ts +0 -25
  405. package/dist/components/adapters/FormContainer.d.ts.map +0 -1
  406. package/dist/components/adapters/FormContainer.js +0 -34
  407. package/dist/components/adapters/FormContainer.js.map +0 -1
  408. package/dist/components/adapters/NumberInput.d.ts +0 -25
  409. package/dist/components/adapters/NumberInput.d.ts.map +0 -1
  410. package/dist/components/adapters/NumberInput.js +0 -28
  411. package/dist/components/adapters/NumberInput.js.map +0 -1
  412. package/dist/components/adapters/PasswordInput.d.ts +0 -25
  413. package/dist/components/adapters/PasswordInput.d.ts.map +0 -1
  414. package/dist/components/adapters/PasswordInput.js +0 -50
  415. package/dist/components/adapters/PasswordInput.js.map +0 -1
  416. package/dist/components/adapters/SelectInput.d.ts +0 -25
  417. package/dist/components/adapters/SelectInput.d.ts.map +0 -1
  418. package/dist/components/adapters/SelectInput.js +0 -34
  419. package/dist/components/adapters/SelectInput.js.map +0 -1
  420. package/dist/components/adapters/SocialButton.d.ts +0 -25
  421. package/dist/components/adapters/SocialButton.d.ts.map +0 -1
  422. package/dist/components/adapters/SubmitButton.d.ts +0 -25
  423. package/dist/components/adapters/SubmitButton.d.ts.map +0 -1
  424. package/dist/components/adapters/SubmitButton.js +0 -59
  425. package/dist/components/adapters/SubmitButton.js.map +0 -1
  426. package/dist/components/adapters/TelephoneInput.d.ts +0 -25
  427. package/dist/components/adapters/TelephoneInput.d.ts.map +0 -1
  428. package/dist/components/adapters/TelephoneInput.js +0 -30
  429. package/dist/components/adapters/TelephoneInput.js.map +0 -1
  430. package/dist/components/adapters/TextInput.d.ts +0 -25
  431. package/dist/components/adapters/TextInput.d.ts.map +0 -1
  432. package/dist/components/adapters/TextInput.js +0 -28
  433. package/dist/components/adapters/TextInput.js.map +0 -1
  434. package/dist/components/adapters/Typography.d.ts +0 -25
  435. package/dist/components/adapters/Typography.d.ts.map +0 -1
  436. package/dist/components/adapters/Typography.js +0 -58
  437. package/dist/components/adapters/Typography.js.map +0 -1
  438. package/dist/components/control/OrganizationContext/OrganizationContext.d.ts +0 -40
  439. package/dist/components/control/OrganizationContext/OrganizationContext.d.ts.map +0 -1
  440. package/dist/components/control/OrganizationContext/OrganizationContext.js +0 -32
  441. package/dist/components/control/OrganizationContext/OrganizationContext.js.map +0 -1
  442. package/dist/components/control/OrganizationContext/OrganizationContextController.d.ts +0 -35
  443. package/dist/components/control/OrganizationContext/OrganizationContextController.d.ts.map +0 -1
  444. package/dist/components/control/OrganizationContext/OrganizationContextController.js +0 -55
  445. package/dist/components/control/OrganizationContext/OrganizationContextController.js.map +0 -1
  446. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.d.ts +0 -60
  447. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.d.ts.map +0 -1
  448. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.js +0 -178
  449. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.js.map +0 -1
  450. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.styles.d.ts +0 -27
  451. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.styles.d.ts.map +0 -1
  452. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.styles.js +0 -147
  453. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.styles.js.map +0 -1
  454. package/dist/components/presentation/CreateOrganization/CreateOrganization.d.ts +0 -68
  455. package/dist/components/presentation/CreateOrganization/CreateOrganization.d.ts.map +0 -1
  456. package/dist/components/presentation/CreateOrganization/CreateOrganization.js +0 -87
  457. package/dist/components/presentation/CreateOrganization/CreateOrganization.js.map +0 -1
  458. package/dist/components/presentation/Organization/BaseOrganization.d.ts +0 -67
  459. package/dist/components/presentation/Organization/BaseOrganization.d.ts.map +0 -1
  460. package/dist/components/presentation/Organization/BaseOrganization.js +0 -39
  461. package/dist/components/presentation/Organization/BaseOrganization.js.map +0 -1
  462. package/dist/components/presentation/Organization/Organization.d.ts +0 -67
  463. package/dist/components/presentation/Organization/Organization.d.ts.map +0 -1
  464. package/dist/components/presentation/Organization/Organization.js +0 -47
  465. package/dist/components/presentation/Organization/Organization.js.map +0 -1
  466. package/dist/components/presentation/OrganizationList/BaseOrganizationList.d.ts +0 -135
  467. package/dist/components/presentation/OrganizationList/BaseOrganizationList.d.ts.map +0 -1
  468. package/dist/components/presentation/OrganizationList/BaseOrganizationList.js +0 -252
  469. package/dist/components/presentation/OrganizationList/BaseOrganizationList.js.map +0 -1
  470. package/dist/components/presentation/OrganizationList/BaseOrganizationList.styles.d.ts +0 -27
  471. package/dist/components/presentation/OrganizationList/BaseOrganizationList.styles.d.ts.map +0 -1
  472. package/dist/components/presentation/OrganizationList/BaseOrganizationList.styles.js +0 -233
  473. package/dist/components/presentation/OrganizationList/BaseOrganizationList.styles.js.map +0 -1
  474. package/dist/components/presentation/OrganizationList/OrganizationList.d.ts +0 -93
  475. package/dist/components/presentation/OrganizationList/OrganizationList.d.ts.map +0 -1
  476. package/dist/components/presentation/OrganizationList/OrganizationList.js +0 -82
  477. package/dist/components/presentation/OrganizationList/OrganizationList.js.map +0 -1
  478. package/dist/components/presentation/OrganizationList/OrganizationList.styles.d.ts +0 -27
  479. package/dist/components/presentation/OrganizationList/OrganizationList.styles.d.ts.map +0 -1
  480. package/dist/components/presentation/OrganizationList/OrganizationList.styles.js +0 -72
  481. package/dist/components/presentation/OrganizationList/OrganizationList.styles.js.map +0 -1
  482. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.d.ts +0 -160
  483. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.d.ts.map +0 -1
  484. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.js +0 -323
  485. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.js.map +0 -1
  486. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.d.ts +0 -27
  487. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.d.ts.map +0 -1
  488. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.js +0 -163
  489. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.js.map +0 -1
  490. package/dist/components/presentation/OrganizationProfile/OrganizationProfile.d.ts +0 -120
  491. package/dist/components/presentation/OrganizationProfile/OrganizationProfile.d.ts.map +0 -1
  492. package/dist/components/presentation/OrganizationProfile/OrganizationProfile.js +0 -122
  493. package/dist/components/presentation/OrganizationProfile/OrganizationProfile.js.map +0 -1
  494. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.d.ts +0 -149
  495. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.d.ts.map +0 -1
  496. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.js +0 -282
  497. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.js.map +0 -1
  498. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.styles.d.ts +0 -27
  499. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.styles.d.ts.map +0 -1
  500. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.styles.js +0 -234
  501. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.styles.js.map +0 -1
  502. package/dist/components/presentation/OrganizationSwitcher/OrganizationSwitcher.d.ts +0 -71
  503. package/dist/components/presentation/OrganizationSwitcher/OrganizationSwitcher.d.ts.map +0 -1
  504. package/dist/components/presentation/OrganizationSwitcher/OrganizationSwitcher.js +0 -124
  505. package/dist/components/presentation/OrganizationSwitcher/OrganizationSwitcher.js.map +0 -1
  506. package/dist/components/presentation/auth/AcceptInvite/v2/AcceptInvite.d.ts.map +0 -1
  507. package/dist/components/presentation/auth/AcceptInvite/v2/AcceptInvite.js.map +0 -1
  508. package/dist/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.d.ts.map +0 -1
  509. package/dist/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.js.map +0 -1
  510. package/dist/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.styles.d.ts.map +0 -1
  511. package/dist/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.styles.js.map +0 -1
  512. package/dist/components/presentation/auth/InviteUser/v2/BaseInviteUser.d.ts.map +0 -1
  513. package/dist/components/presentation/auth/InviteUser/v2/BaseInviteUser.js.map +0 -1
  514. package/dist/components/presentation/auth/InviteUser/v2/BaseInviteUser.styles.d.ts.map +0 -1
  515. package/dist/components/presentation/auth/InviteUser/v2/BaseInviteUser.styles.js.map +0 -1
  516. package/dist/components/presentation/auth/InviteUser/v2/InviteUser.d.ts.map +0 -1
  517. package/dist/components/presentation/auth/InviteUser/v2/InviteUser.js.map +0 -1
  518. package/dist/components/presentation/auth/OrganizationUnitPicker/index.d.ts +0 -20
  519. package/dist/components/presentation/auth/OrganizationUnitPicker/index.d.ts.map +0 -1
  520. package/dist/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.d.ts +0 -30
  521. package/dist/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.d.ts.map +0 -1
  522. package/dist/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.js +0 -179
  523. package/dist/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.js.map +0 -1
  524. package/dist/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.styles.d.ts +0 -21
  525. package/dist/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.styles.d.ts.map +0 -1
  526. package/dist/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.styles.js +0 -125
  527. package/dist/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.styles.js.map +0 -1
  528. package/dist/components/presentation/auth/Recovery/v1/BaseRecovery.d.ts +0 -74
  529. package/dist/components/presentation/auth/Recovery/v1/BaseRecovery.d.ts.map +0 -1
  530. package/dist/components/presentation/auth/Recovery/v1/BaseRecovery.js +0 -288
  531. package/dist/components/presentation/auth/Recovery/v1/BaseRecovery.js.map +0 -1
  532. package/dist/components/presentation/auth/Recovery/v1/Recovery.d.ts +0 -26
  533. package/dist/components/presentation/auth/Recovery/v1/Recovery.d.ts.map +0 -1
  534. package/dist/components/presentation/auth/Recovery/v1/Recovery.js +0 -40
  535. package/dist/components/presentation/auth/Recovery/v1/Recovery.js.map +0 -1
  536. package/dist/components/presentation/auth/Recovery/v1/RecoveryOptionFactory.d.ts +0 -46
  537. package/dist/components/presentation/auth/Recovery/v1/RecoveryOptionFactory.d.ts.map +0 -1
  538. package/dist/components/presentation/auth/Recovery/v1/RecoveryOptionFactory.js +0 -160
  539. package/dist/components/presentation/auth/Recovery/v1/RecoveryOptionFactory.js.map +0 -1
  540. package/dist/components/presentation/auth/Recovery/v2/BaseRecovery.d.ts +0 -83
  541. package/dist/components/presentation/auth/Recovery/v2/BaseRecovery.d.ts.map +0 -1
  542. package/dist/components/presentation/auth/Recovery/v2/BaseRecovery.js +0 -373
  543. package/dist/components/presentation/auth/Recovery/v2/BaseRecovery.js.map +0 -1
  544. package/dist/components/presentation/auth/Recovery/v2/Recovery.d.ts +0 -56
  545. package/dist/components/presentation/auth/Recovery/v2/Recovery.d.ts.map +0 -1
  546. package/dist/components/presentation/auth/Recovery/v2/Recovery.js +0 -74
  547. package/dist/components/presentation/auth/Recovery/v2/Recovery.js.map +0 -1
  548. package/dist/components/presentation/auth/SignIn/v1/BaseSignIn.d.ts +0 -131
  549. package/dist/components/presentation/auth/SignIn/v1/BaseSignIn.d.ts.map +0 -1
  550. package/dist/components/presentation/auth/SignIn/v1/BaseSignIn.js +0 -729
  551. package/dist/components/presentation/auth/SignIn/v1/BaseSignIn.js.map +0 -1
  552. package/dist/components/presentation/auth/SignIn/v1/options/EmailOtp.d.ts +0 -26
  553. package/dist/components/presentation/auth/SignIn/v1/options/EmailOtp.d.ts.map +0 -1
  554. package/dist/components/presentation/auth/SignIn/v1/options/EmailOtp.js +0 -64
  555. package/dist/components/presentation/auth/SignIn/v1/options/EmailOtp.js.map +0 -1
  556. package/dist/components/presentation/auth/SignIn/v1/options/IdentifierFirst.d.ts +0 -26
  557. package/dist/components/presentation/auth/SignIn/v1/options/IdentifierFirst.d.ts.map +0 -1
  558. package/dist/components/presentation/auth/SignIn/v1/options/IdentifierFirst.js +0 -55
  559. package/dist/components/presentation/auth/SignIn/v1/options/IdentifierFirst.js.map +0 -1
  560. package/dist/components/presentation/auth/SignIn/v1/options/MultiOptionButton.d.ts +0 -27
  561. package/dist/components/presentation/auth/SignIn/v1/options/MultiOptionButton.d.ts.map +0 -1
  562. package/dist/components/presentation/auth/SignIn/v1/options/MultiOptionButton.js +0 -136
  563. package/dist/components/presentation/auth/SignIn/v1/options/MultiOptionButton.js.map +0 -1
  564. package/dist/components/presentation/auth/SignIn/v1/options/SignInOptionFactory.d.ts +0 -77
  565. package/dist/components/presentation/auth/SignIn/v1/options/SignInOptionFactory.d.ts.map +0 -1
  566. package/dist/components/presentation/auth/SignIn/v1/options/SignInOptionFactory.js +0 -143
  567. package/dist/components/presentation/auth/SignIn/v1/options/SignInOptionFactory.js.map +0 -1
  568. package/dist/components/presentation/auth/SignIn/v1/options/SmsOtp.d.ts +0 -26
  569. package/dist/components/presentation/auth/SignIn/v1/options/SmsOtp.d.ts.map +0 -1
  570. package/dist/components/presentation/auth/SignIn/v1/options/SmsOtp.js +0 -64
  571. package/dist/components/presentation/auth/SignIn/v1/options/SmsOtp.js.map +0 -1
  572. package/dist/components/presentation/auth/SignIn/v1/options/SocialButton.d.ts +0 -26
  573. package/dist/components/presentation/auth/SignIn/v1/options/SocialButton.d.ts.map +0 -1
  574. package/dist/components/presentation/auth/SignIn/v1/options/SocialButton.js +0 -36
  575. package/dist/components/presentation/auth/SignIn/v1/options/SocialButton.js.map +0 -1
  576. package/dist/components/presentation/auth/SignIn/v1/options/Totp.d.ts +0 -26
  577. package/dist/components/presentation/auth/SignIn/v1/options/Totp.d.ts.map +0 -1
  578. package/dist/components/presentation/auth/SignIn/v1/options/Totp.js +0 -64
  579. package/dist/components/presentation/auth/SignIn/v1/options/Totp.js.map +0 -1
  580. package/dist/components/presentation/auth/SignIn/v1/options/UsernamePassword.d.ts +0 -26
  581. package/dist/components/presentation/auth/SignIn/v1/options/UsernamePassword.d.ts.map +0 -1
  582. package/dist/components/presentation/auth/SignIn/v1/options/UsernamePassword.js +0 -56
  583. package/dist/components/presentation/auth/SignIn/v1/options/UsernamePassword.js.map +0 -1
  584. package/dist/components/presentation/auth/SignIn/v1/types.d.ts +0 -125
  585. package/dist/components/presentation/auth/SignIn/v1/types.d.ts.map +0 -1
  586. package/dist/components/presentation/auth/SignIn/v2/BaseSignIn.d.ts +0 -222
  587. package/dist/components/presentation/auth/SignIn/v2/BaseSignIn.d.ts.map +0 -1
  588. package/dist/components/presentation/auth/SignIn/v2/BaseSignIn.js +0 -325
  589. package/dist/components/presentation/auth/SignIn/v2/BaseSignIn.js.map +0 -1
  590. package/dist/components/presentation/auth/SignIn/v2/SignIn.d.ts +0 -165
  591. package/dist/components/presentation/auth/SignIn/v2/SignIn.d.ts.map +0 -1
  592. package/dist/components/presentation/auth/SignIn/v2/SignIn.js +0 -556
  593. package/dist/components/presentation/auth/SignIn/v2/SignIn.js.map +0 -1
  594. package/dist/components/presentation/auth/SignUp/v1/BaseSignUp.d.ts +0 -174
  595. package/dist/components/presentation/auth/SignUp/v1/BaseSignUp.d.ts.map +0 -1
  596. package/dist/components/presentation/auth/SignUp/v1/BaseSignUp.js +0 -446
  597. package/dist/components/presentation/auth/SignUp/v1/BaseSignUp.js.map +0 -1
  598. package/dist/components/presentation/auth/SignUp/v1/SignUp.d.ts +0 -39
  599. package/dist/components/presentation/auth/SignUp/v1/SignUp.d.ts.map +0 -1
  600. package/dist/components/presentation/auth/SignUp/v1/SignUp.js +0 -51
  601. package/dist/components/presentation/auth/SignUp/v1/SignUp.js.map +0 -1
  602. package/dist/components/presentation/auth/SignUp/v1/SignUpOptionFactory.d.ts +0 -46
  603. package/dist/components/presentation/auth/SignUp/v1/SignUpOptionFactory.d.ts.map +0 -1
  604. package/dist/components/presentation/auth/SignUp/v1/SignUpOptionFactory.js +0 -160
  605. package/dist/components/presentation/auth/SignUp/v1/SignUpOptionFactory.js.map +0 -1
  606. package/dist/components/presentation/auth/SignUp/v2/BaseSignUp.d.ts +0 -186
  607. package/dist/components/presentation/auth/SignUp/v2/BaseSignUp.d.ts.map +0 -1
  608. package/dist/components/presentation/auth/SignUp/v2/BaseSignUp.js +0 -674
  609. package/dist/components/presentation/auth/SignUp/v2/BaseSignUp.js.map +0 -1
  610. package/dist/components/presentation/auth/SignUp/v2/SignUp.d.ts +0 -39
  611. package/dist/components/presentation/auth/SignUp/v2/SignUp.d.ts.map +0 -1
  612. package/dist/components/presentation/auth/SignUp/v2/SignUp.js +0 -77
  613. package/dist/components/presentation/auth/SignUp/v2/SignUp.js.map +0 -1
  614. package/dist/components/primitives/Icons/Building.js +0 -73
  615. package/dist/components/primitives/Icons/Building.js.map +0 -1
  616. package/dist/contexts/Branding/BrandingContext.d.ts +0 -53
  617. package/dist/contexts/Branding/BrandingContext.d.ts.map +0 -1
  618. package/dist/contexts/Branding/BrandingContext.js +0 -10
  619. package/dist/contexts/Branding/BrandingContext.js.map +0 -1
  620. package/dist/contexts/Branding/BrandingProvider.d.ts +0 -89
  621. package/dist/contexts/Branding/BrandingProvider.d.ts.map +0 -1
  622. package/dist/contexts/Branding/BrandingProvider.js +0 -92
  623. package/dist/contexts/Branding/BrandingProvider.js.map +0 -1
  624. package/dist/contexts/Branding/useBrandingContext.d.ts +0 -45
  625. package/dist/contexts/Branding/useBrandingContext.d.ts.map +0 -1
  626. package/dist/contexts/Branding/useBrandingContext.js +0 -38
  627. package/dist/contexts/Branding/useBrandingContext.js.map +0 -1
  628. package/dist/contexts/Organization/OrganizationContext.d.ts +0 -41
  629. package/dist/contexts/Organization/OrganizationContext.d.ts.map +0 -1
  630. package/dist/contexts/Organization/OrganizationContext.js +0 -25
  631. package/dist/contexts/Organization/OrganizationContext.js.map +0 -1
  632. package/dist/contexts/Organization/OrganizationProvider.d.ts +0 -94
  633. package/dist/contexts/Organization/OrganizationProvider.d.ts.map +0 -1
  634. package/dist/contexts/Organization/OrganizationProvider.js +0 -93
  635. package/dist/contexts/Organization/OrganizationProvider.js.map +0 -1
  636. package/dist/contexts/Organization/useOrganization.d.ts +0 -105
  637. package/dist/contexts/Organization/useOrganization.d.ts.map +0 -1
  638. package/dist/contexts/Organization/useOrganization.js +0 -98
  639. package/dist/contexts/Organization/useOrganization.js.map +0 -1
  640. package/dist/contexts/Theme/v1/ThemeProvider.d.ts +0 -89
  641. package/dist/contexts/Theme/v1/ThemeProvider.d.ts.map +0 -1
  642. package/dist/contexts/Theme/v1/ThemeProvider.js +0 -186
  643. package/dist/contexts/Theme/v1/ThemeProvider.js.map +0 -1
  644. package/dist/contexts/Theme/v2/ThemeProvider.d.ts +0 -58
  645. package/dist/contexts/Theme/v2/ThemeProvider.d.ts.map +0 -1
  646. package/dist/contexts/Theme/v2/ThemeProvider.js +0 -104
  647. package/dist/contexts/Theme/v2/ThemeProvider.js.map +0 -1
  648. package/dist/hooks/useBranding.d.ts +0 -128
  649. package/dist/hooks/useBranding.d.ts.map +0 -1
  650. package/dist/hooks/useBranding.js +0 -69
  651. package/dist/hooks/useBranding.js.map +0 -1
  652. package/dist/hooks/v2/useOAuthCallback.d.ts.map +0 -1
  653. package/dist/hooks/v2/useOAuthCallback.js.map +0 -1
  654. package/dist/utils/v2/buildThemeConfigFromFlowMeta.d.ts.map +0 -1
  655. package/dist/utils/v2/buildThemeConfigFromFlowMeta.js.map +0 -1
  656. package/dist/utils/v2/flowTransformer.d.ts.map +0 -1
  657. package/dist/utils/v2/flowTransformer.js.map +0 -1
  658. package/dist/utils/v2/getAuthComponentHeadings.d.ts.map +0 -1
  659. package/dist/utils/v2/getAuthComponentHeadings.js.map +0 -1
  660. package/dist/utils/v2/passkey.d.ts.map +0 -1
  661. package/dist/utils/v2/passkey.js.map +0 -1
  662. package/dist/utils/v2/resolveTranslationsInArray.d.ts.map +0 -1
  663. package/dist/utils/v2/resolveTranslationsInArray.js.map +0 -1
  664. package/dist/utils/v2/resolveTranslationsInObject.d.ts.map +0 -1
  665. package/dist/utils/v2/resolveTranslationsInObject.js.map +0 -1
  666. /package/dist/components/presentation/auth/AcceptInvite/{v2/AcceptInvite.d.ts → AcceptInvite.d.ts} +0 -0
  667. /package/dist/components/presentation/auth/AcceptInvite/{v2/BaseAcceptInvite.styles.d.ts → BaseAcceptInvite.styles.d.ts} +0 -0
  668. /package/dist/components/presentation/auth/InviteUser/{v2/BaseInviteUser.styles.d.ts → BaseInviteUser.styles.d.ts} +0 -0
  669. /package/dist/components/presentation/auth/InviteUser/{v2/InviteUser.d.ts → InviteUser.d.ts} +0 -0
  670. /package/dist/hooks/{v2/useOAuthCallback.d.ts → useOAuthCallback.d.ts} +0 -0
  671. /package/dist/utils/{v2/buildThemeConfigFromFlowMeta.d.ts → buildThemeConfigFromFlowMeta.d.ts} +0 -0
  672. /package/dist/utils/{v2/passkey.d.ts → passkey.d.ts} +0 -0
@@ -1,65 +0,0 @@
1
- import { FetchHttpClient, getSchemas } from "@thunderid/browser";
2
-
3
- //#region src/api/getSchemas.ts
4
- /**
5
- * Retrieves the SCIM2 schemas from the specified endpoint.
6
- * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.
7
- *
8
- * @param config - Request configuration object.
9
- * @returns A promise that resolves with the SCIM2 schemas information.
10
- * @example
11
- * ```typescript
12
- * // Using default ThunderID SPA client httpClient
13
- * try {
14
- * const schemas = await getSchemas({
15
- * url: "https://localhost:8090/scim2/Schemas",
16
- * });
17
- * console.log(schemas);
18
- * } catch (error) {
19
- * if (error instanceof ThunderIDAPIError) {
20
- * console.error('Failed to get schemas:', error.message);
21
- * }
22
- * }
23
- * ```
24
- *
25
- * @example
26
- * ```typescript
27
- * // Using custom fetcher
28
- * try {
29
- * const schemas = await getSchemas({
30
- * url: "https://localhost:8090/scim2/Schemas",
31
- * fetcher: customFetchFunction
32
- * });
33
- * console.log(schemas);
34
- * } catch (error) {
35
- * if (error instanceof ThunderIDAPIError) {
36
- * console.error('Failed to get schemas:', error.message);
37
- * }
38
- * }
39
- * ```
40
- */
41
- const getSchemas$1 = async ({ fetcher, instanceId = 0,...requestConfig }) => {
42
- const defaultFetcher = async (url, config) => {
43
- const response = await FetchHttpClient.getInstance(instanceId).request({
44
- headers: config.headers,
45
- method: config.method || "GET",
46
- url
47
- });
48
- return {
49
- json: () => Promise.resolve(response.data),
50
- ok: response.status >= 200 && response.status < 300,
51
- status: response.status,
52
- statusText: response.statusText || "",
53
- text: () => Promise.resolve(typeof response.data === "string" ? response.data : JSON.stringify(response.data))
54
- };
55
- };
56
- return getSchemas({
57
- ...requestConfig,
58
- fetcher: fetcher || defaultFetcher
59
- });
60
- };
61
- var getSchemas_default = getSchemas$1;
62
-
63
- //#endregion
64
- export { getSchemas_default as default };
65
- //# sourceMappingURL=getSchemas.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getSchemas.js","names":["getSchemas","response: HttpResponse<any>","baseGetSchemas"],"sources":["../../src/api/getSchemas.ts"],"sourcesContent":["/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport {\n Schema,\n HttpResponse,\n FetchHttpClient,\n HttpRequestConfig,\n getSchemas as baseGetSchemas,\n GetSchemasConfig as BaseGetSchemasConfig,\n} from '@thunderid/browser';\n\n/**\n * Configuration for the getSchemas request (React-specific)\n */\nexport interface GetSchemasConfig extends Omit<BaseGetSchemasConfig, 'fetcher'> {\n /**\n * Optional custom fetcher function. If not provided, the ThunderID SPA client's httpClient will be used\n * which is a wrapper around axios http.request\n */\n fetcher?: (url: string, config: RequestInit) => Promise<Response>;\n /**\n * Optional instance ID for multi-instance support. Defaults to 0.\n */\n instanceId?: number;\n}\n\n/**\n * Retrieves the SCIM2 schemas from the specified endpoint.\n * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.\n *\n * @param config - Request configuration object.\n * @returns A promise that resolves with the SCIM2 schemas information.\n * @example\n * ```typescript\n * // Using default ThunderID SPA client httpClient\n * try {\n * const schemas = await getSchemas({\n * url: \"https://localhost:8090/scim2/Schemas\",\n * });\n * console.log(schemas);\n * } catch (error) {\n * if (error instanceof ThunderIDAPIError) {\n * console.error('Failed to get schemas:', error.message);\n * }\n * }\n * ```\n *\n * @example\n * ```typescript\n * // Using custom fetcher\n * try {\n * const schemas = await getSchemas({\n * url: \"https://localhost:8090/scim2/Schemas\",\n * fetcher: customFetchFunction\n * });\n * console.log(schemas);\n * } catch (error) {\n * if (error instanceof ThunderIDAPIError) {\n * console.error('Failed to get schemas:', error.message);\n * }\n * }\n * ```\n */\nconst getSchemas = async ({fetcher, instanceId = 0, ...requestConfig}: GetSchemasConfig): Promise<Schema[]> => {\n const defaultFetcher = async (url: string, config: RequestInit): Promise<Response> => {\n const httpClient: FetchHttpClient = FetchHttpClient.getInstance(instanceId);\n const response: HttpResponse<any> = await httpClient.request({\n headers: config.headers as Record<string, string>,\n method: config.method || 'GET',\n url,\n } as HttpRequestConfig);\n\n return {\n json: () => Promise.resolve(response.data),\n ok: response.status >= 200 && response.status < 300,\n status: response.status,\n statusText: response.statusText || '',\n text: () => Promise.resolve(typeof response.data === 'string' ? response.data : JSON.stringify(response.data)),\n } as Response;\n };\n\n return baseGetSchemas({\n ...requestConfig,\n fetcher: fetcher || defaultFetcher,\n });\n};\n\nexport default getSchemas;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+EA,MAAMA,eAAa,OAAO,EAAC,SAAS,aAAa,EAAG,GAAG,oBAAwD;CAC7G,MAAM,iBAAiB,OAAO,KAAa,WAA2C;EAEpF,MAAMC,WAA8B,MADA,gBAAgB,YAAY,WAAW,CACtB,QAAQ;GAC3D,SAAS,OAAO;GAChB,QAAQ,OAAO,UAAU;GACzB;GACD,CAAsB;AAEvB,SAAO;GACL,YAAY,QAAQ,QAAQ,SAAS,KAAK;GAC1C,IAAI,SAAS,UAAU,OAAO,SAAS,SAAS;GAChD,QAAQ,SAAS;GACjB,YAAY,SAAS,cAAc;GACnC,YAAY,QAAQ,QAAQ,OAAO,SAAS,SAAS,WAAW,SAAS,OAAO,KAAK,UAAU,SAAS,KAAK,CAAC;GAC/G;;AAGH,QAAOC,WAAe;EACpB,GAAG;EACH,SAAS,WAAW;EACrB,CAAC;;AAGJ,yBAAeF"}
@@ -1,81 +0,0 @@
1
- /**
2
- * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3
- *
4
- * WSO2 LLC. licenses this file to you under the Apache License,
5
- * Version 2.0 (the "License"); you may not use this file except
6
- * in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing,
12
- * software distributed under the License is distributed on an
13
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
- * KIND, either express or implied. See the License for the
15
- * specific language governing permissions and limitations
16
- * under the License.
17
- */
18
- import { UpdateOrganizationConfig as BaseUpdateOrganizationConfig, OrganizationDetails, createPatchOperations } from '@thunderid/browser';
19
- /**
20
- * Configuration for the updateOrganization request (React-specific)
21
- */
22
- export interface UpdateOrganizationConfig extends Omit<BaseUpdateOrganizationConfig, 'fetcher'> {
23
- /**
24
- * Optional custom fetcher function. If not provided, the ThunderID SPA client's httpClient will be used
25
- * which is a wrapper around axios http.request
26
- */
27
- fetcher?: (url: string, config: RequestInit) => Promise<Response>;
28
- /**
29
- * Optional instance ID for multi-instance support. Defaults to 0.
30
- */
31
- instanceId?: number;
32
- }
33
- /**
34
- * Updates the organization information using the Organizations Management API.
35
- * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.
36
- *
37
- * @param config - Configuration object with baseUrl, organizationId, operations and optional request config.
38
- * @returns A promise that resolves with the updated organization information.
39
- * @example
40
- * ```typescript
41
- * // Using the helper function to create operations automatically
42
- * const operations = createPatchOperations({
43
- * name: "Updated Organization Name", // Will use REPLACE
44
- * description: "", // Will use REMOVE (empty string)
45
- * customField: "Some value" // Will use REPLACE
46
- * });
47
- *
48
- * await updateOrganization({
49
- * baseUrl: "https://localhost:8090",
50
- * organizationId: "0d5e071b-d3d3-475d-b3c6-1a20ee2fa9b1",
51
- * operations
52
- * });
53
- *
54
- * // Or manually specify operations
55
- * await updateOrganization({
56
- * baseUrl: "https://localhost:8090",
57
- * organizationId: "0d5e071b-d3d3-475d-b3c6-1a20ee2fa9b1",
58
- * operations: [
59
- * { operation: "REPLACE", path: "/name", value: "Updated Organization Name" },
60
- * { operation: "REMOVE", path: "/description" }
61
- * ]
62
- * });
63
- * ```
64
- *
65
- * @example
66
- * ```typescript
67
- * // Using custom fetcher
68
- * await updateOrganization({
69
- * baseUrl: "https://localhost:8090",
70
- * organizationId: "0d5e071b-d3d3-475d-b3c6-1a20ee2fa9b1",
71
- * operations: [
72
- * { operation: "REPLACE", path: "/name", value: "Updated Organization Name" }
73
- * ],
74
- * fetcher: customFetchFunction
75
- * });
76
- * ```
77
- */
78
- declare const updateOrganization: ({ fetcher, instanceId, ...requestConfig }: UpdateOrganizationConfig) => Promise<OrganizationDetails>;
79
- export { createPatchOperations };
80
- export default updateOrganization;
81
- //# sourceMappingURL=updateOrganization.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateOrganization.d.ts","sourceRoot":"","sources":["../../src/api/updateOrganization.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAKL,wBAAwB,IAAI,4BAA4B,EACxD,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CAAC,4BAA4B,EAAE,SAAS,CAAC;IAC7F;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClE;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,QAAA,MAAM,kBAAkB,GAAU,2CAI/B,wBAAwB,KAAG,OAAO,CAAC,mBAAmB,CAuBxD,CAAC;AAGF,OAAO,EAAC,qBAAqB,EAAC,CAAC;AAE/B,eAAe,kBAAkB,CAAC"}
@@ -1,74 +0,0 @@
1
- import { FetchHttpClient, createPatchOperations, updateOrganization } from "@thunderid/browser";
2
-
3
- //#region src/api/updateOrganization.ts
4
- /**
5
- * Updates the organization information using the Organizations Management API.
6
- * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.
7
- *
8
- * @param config - Configuration object with baseUrl, organizationId, operations and optional request config.
9
- * @returns A promise that resolves with the updated organization information.
10
- * @example
11
- * ```typescript
12
- * // Using the helper function to create operations automatically
13
- * const operations = createPatchOperations({
14
- * name: "Updated Organization Name", // Will use REPLACE
15
- * description: "", // Will use REMOVE (empty string)
16
- * customField: "Some value" // Will use REPLACE
17
- * });
18
- *
19
- * await updateOrganization({
20
- * baseUrl: "https://localhost:8090",
21
- * organizationId: "0d5e071b-d3d3-475d-b3c6-1a20ee2fa9b1",
22
- * operations
23
- * });
24
- *
25
- * // Or manually specify operations
26
- * await updateOrganization({
27
- * baseUrl: "https://localhost:8090",
28
- * organizationId: "0d5e071b-d3d3-475d-b3c6-1a20ee2fa9b1",
29
- * operations: [
30
- * { operation: "REPLACE", path: "/name", value: "Updated Organization Name" },
31
- * { operation: "REMOVE", path: "/description" }
32
- * ]
33
- * });
34
- * ```
35
- *
36
- * @example
37
- * ```typescript
38
- * // Using custom fetcher
39
- * await updateOrganization({
40
- * baseUrl: "https://localhost:8090",
41
- * organizationId: "0d5e071b-d3d3-475d-b3c6-1a20ee2fa9b1",
42
- * operations: [
43
- * { operation: "REPLACE", path: "/name", value: "Updated Organization Name" }
44
- * ],
45
- * fetcher: customFetchFunction
46
- * });
47
- * ```
48
- */
49
- const updateOrganization$1 = async ({ fetcher, instanceId = 0,...requestConfig }) => {
50
- const defaultFetcher = async (url, config) => {
51
- const response = await FetchHttpClient.getInstance(instanceId).request({
52
- data: config.body ? JSON.parse(config.body) : void 0,
53
- headers: config.headers,
54
- method: config.method || "PATCH",
55
- url
56
- });
57
- return {
58
- json: () => Promise.resolve(response.data),
59
- ok: response.status >= 200 && response.status < 300,
60
- status: response.status,
61
- statusText: response.statusText || "",
62
- text: () => Promise.resolve(typeof response.data === "string" ? response.data : JSON.stringify(response.data))
63
- };
64
- };
65
- return updateOrganization({
66
- ...requestConfig,
67
- fetcher: fetcher || defaultFetcher
68
- });
69
- };
70
- var updateOrganization_default = updateOrganization$1;
71
-
72
- //#endregion
73
- export { createPatchOperations, updateOrganization_default as default };
74
- //# sourceMappingURL=updateOrganization.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateOrganization.js","names":["updateOrganization","response: HttpResponse<any>","baseUpdateOrganization"],"sources":["../../src/api/updateOrganization.ts"],"sourcesContent":["/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport {\n HttpResponse,\n FetchHttpClient,\n HttpRequestConfig,\n updateOrganization as baseUpdateOrganization,\n UpdateOrganizationConfig as BaseUpdateOrganizationConfig,\n OrganizationDetails,\n createPatchOperations,\n} from '@thunderid/browser';\n\n/**\n * Configuration for the updateOrganization request (React-specific)\n */\nexport interface UpdateOrganizationConfig extends Omit<BaseUpdateOrganizationConfig, 'fetcher'> {\n /**\n * Optional custom fetcher function. If not provided, the ThunderID SPA client's httpClient will be used\n * which is a wrapper around axios http.request\n */\n fetcher?: (url: string, config: RequestInit) => Promise<Response>;\n /**\n * Optional instance ID for multi-instance support. Defaults to 0.\n */\n instanceId?: number;\n}\n\n/**\n * Updates the organization information using the Organizations Management API.\n * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.\n *\n * @param config - Configuration object with baseUrl, organizationId, operations and optional request config.\n * @returns A promise that resolves with the updated organization information.\n * @example\n * ```typescript\n * // Using the helper function to create operations automatically\n * const operations = createPatchOperations({\n * name: \"Updated Organization Name\", // Will use REPLACE\n * description: \"\", // Will use REMOVE (empty string)\n * customField: \"Some value\" // Will use REPLACE\n * });\n *\n * await updateOrganization({\n * baseUrl: \"https://localhost:8090\",\n * organizationId: \"0d5e071b-d3d3-475d-b3c6-1a20ee2fa9b1\",\n * operations\n * });\n *\n * // Or manually specify operations\n * await updateOrganization({\n * baseUrl: \"https://localhost:8090\",\n * organizationId: \"0d5e071b-d3d3-475d-b3c6-1a20ee2fa9b1\",\n * operations: [\n * { operation: \"REPLACE\", path: \"/name\", value: \"Updated Organization Name\" },\n * { operation: \"REMOVE\", path: \"/description\" }\n * ]\n * });\n * ```\n *\n * @example\n * ```typescript\n * // Using custom fetcher\n * await updateOrganization({\n * baseUrl: \"https://localhost:8090\",\n * organizationId: \"0d5e071b-d3d3-475d-b3c6-1a20ee2fa9b1\",\n * operations: [\n * { operation: \"REPLACE\", path: \"/name\", value: \"Updated Organization Name\" }\n * ],\n * fetcher: customFetchFunction\n * });\n * ```\n */\nconst updateOrganization = async ({\n fetcher,\n instanceId = 0,\n ...requestConfig\n}: UpdateOrganizationConfig): Promise<OrganizationDetails> => {\n const defaultFetcher = async (url: string, config: RequestInit): Promise<Response> => {\n const httpClient: FetchHttpClient = FetchHttpClient.getInstance(instanceId);\n const response: HttpResponse<any> = await httpClient.request({\n data: config.body ? JSON.parse(config.body as string) : undefined,\n headers: config.headers as Record<string, string>,\n method: config.method || 'PATCH',\n url,\n } as HttpRequestConfig);\n\n return {\n json: () => Promise.resolve(response.data),\n ok: response.status >= 200 && response.status < 300,\n status: response.status,\n statusText: response.statusText || '',\n text: () => Promise.resolve(typeof response.data === 'string' ? response.data : JSON.stringify(response.data)),\n } as Response;\n };\n\n return baseUpdateOrganization({\n ...requestConfig,\n fetcher: fetcher || defaultFetcher,\n });\n};\n\n// Re-export the helper function\nexport {createPatchOperations};\n\nexport default updateOrganization;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwFA,MAAMA,uBAAqB,OAAO,EAChC,SACA,aAAa,EACb,GAAG,oBACyD;CAC5D,MAAM,iBAAiB,OAAO,KAAa,WAA2C;EAEpF,MAAMC,WAA8B,MADA,gBAAgB,YAAY,WAAW,CACtB,QAAQ;GAC3D,MAAM,OAAO,OAAO,KAAK,MAAM,OAAO,KAAe,GAAG;GACxD,SAAS,OAAO;GAChB,QAAQ,OAAO,UAAU;GACzB;GACD,CAAsB;AAEvB,SAAO;GACL,YAAY,QAAQ,QAAQ,SAAS,KAAK;GAC1C,IAAI,SAAS,UAAU,OAAO,SAAS,SAAS;GAChD,QAAQ,SAAS;GACjB,YAAY,SAAS,cAAc;GACnC,YAAY,QAAQ,QAAQ,OAAO,SAAS,SAAS,WAAW,SAAS,OAAO,KAAK,UAAU,SAAS,KAAK,CAAC;GAC/G;;AAGH,QAAOC,mBAAuB;EAC5B,GAAG;EACH,SAAS,WAAW;EACrB,CAAC;;AAMJ,iCAAeF"}
@@ -1,82 +0,0 @@
1
- const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
- let __thunderid_browser = require("@thunderid/browser");
3
- __thunderid_browser = require_rolldown_runtime.__toESM(__thunderid_browser);
4
-
5
- //#region src/api/createOrganization.ts
6
- /**
7
- * Creates a new organization.
8
- * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.
9
- *
10
- * @param config - Configuration object containing baseUrl, payload and optional request config.
11
- * @returns A promise that resolves with the created organization information.
12
- * @example
13
- * ```typescript
14
- * // Using default ThunderID SPA client httpClient
15
- * try {
16
- * const organization = await createOrganization({
17
- * baseUrl: "https://localhost:8090",
18
- * payload: {
19
- * description: "Share your screens",
20
- * name: "Team Viewer",
21
- * orgHandle: "team-viewer",
22
- * parentId: "f4825104-4948-40d9-ab65-a960eee3e3d5",
23
- * type: "TENANT"
24
- * }
25
- * });
26
- * console.log(organization);
27
- * } catch (error) {
28
- * if (error instanceof ThunderIDAPIError) {
29
- * console.error('Failed to create organization:', error.message);
30
- * }
31
- * }
32
- * ```
33
- *
34
- * @example
35
- * ```typescript
36
- * // Using custom fetcher
37
- * try {
38
- * const organization = await createOrganization({
39
- * baseUrl: "https://localhost:8090",
40
- * payload: {
41
- * description: "Share your screens",
42
- * name: "Team Viewer",
43
- * orgHandle: "team-viewer",
44
- * parentId: "f4825104-4948-40d9-ab65-a960eee3e3d5",
45
- * type: "TENANT"
46
- * },
47
- * fetcher: customFetchFunction
48
- * });
49
- * console.log(organization);
50
- * } catch (error) {
51
- * if (error instanceof ThunderIDAPIError) {
52
- * console.error('Failed to create organization:', error.message);
53
- * }
54
- * }
55
- * ```
56
- */
57
- const createOrganization = async ({ fetcher, instanceId = 0,...requestConfig }) => {
58
- const defaultFetcher = async (url, config) => {
59
- const response = await __thunderid_browser.FetchHttpClient.getInstance(instanceId).request({
60
- data: config.body ? JSON.parse(config.body) : void 0,
61
- headers: config.headers,
62
- method: config.method || "POST",
63
- url
64
- });
65
- return {
66
- json: () => Promise.resolve(response.data),
67
- ok: response.status >= 200 && response.status < 300,
68
- status: response.status,
69
- statusText: response.statusText || "",
70
- text: () => Promise.resolve(typeof response.data === "string" ? response.data : JSON.stringify(response.data))
71
- };
72
- };
73
- return (0, __thunderid_browser.createOrganization)({
74
- ...requestConfig,
75
- fetcher: fetcher || defaultFetcher
76
- });
77
- };
78
- var createOrganization_default = createOrganization;
79
-
80
- //#endregion
81
- exports.default = createOrganization_default;
82
- //# sourceMappingURL=createOrganization.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createOrganization.cjs","names":["response: HttpResponse<any>","FetchHttpClient"],"sources":["../../../src/api/createOrganization.ts"],"sourcesContent":["/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport {\n Organization,\n HttpResponse,\n FetchHttpClient,\n HttpRequestConfig,\n createOrganization as baseCreateOrganization,\n CreateOrganizationConfig as BaseCreateOrganizationConfig,\n} from '@thunderid/browser';\n\n/**\n * Configuration for the createOrganization request (React-specific)\n */\nexport interface CreateOrganizationConfig extends Omit<BaseCreateOrganizationConfig, 'fetcher'> {\n /**\n * Optional custom fetcher function. If not provided, the ThunderID SPA client's httpClient will be used\n * which is a wrapper around axios http.request\n */\n fetcher?: (url: string, config: RequestInit) => Promise<Response>;\n /**\n * Optional instance ID for multi-instance support. Defaults to 0.\n */\n instanceId?: number;\n}\n\n/**\n * Creates a new organization.\n * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.\n *\n * @param config - Configuration object containing baseUrl, payload and optional request config.\n * @returns A promise that resolves with the created organization information.\n * @example\n * ```typescript\n * // Using default ThunderID SPA client httpClient\n * try {\n * const organization = await createOrganization({\n * baseUrl: \"https://localhost:8090\",\n * payload: {\n * description: \"Share your screens\",\n * name: \"Team Viewer\",\n * orgHandle: \"team-viewer\",\n * parentId: \"f4825104-4948-40d9-ab65-a960eee3e3d5\",\n * type: \"TENANT\"\n * }\n * });\n * console.log(organization);\n * } catch (error) {\n * if (error instanceof ThunderIDAPIError) {\n * console.error('Failed to create organization:', error.message);\n * }\n * }\n * ```\n *\n * @example\n * ```typescript\n * // Using custom fetcher\n * try {\n * const organization = await createOrganization({\n * baseUrl: \"https://localhost:8090\",\n * payload: {\n * description: \"Share your screens\",\n * name: \"Team Viewer\",\n * orgHandle: \"team-viewer\",\n * parentId: \"f4825104-4948-40d9-ab65-a960eee3e3d5\",\n * type: \"TENANT\"\n * },\n * fetcher: customFetchFunction\n * });\n * console.log(organization);\n * } catch (error) {\n * if (error instanceof ThunderIDAPIError) {\n * console.error('Failed to create organization:', error.message);\n * }\n * }\n * ```\n */\nconst createOrganization = async ({\n fetcher,\n instanceId = 0,\n ...requestConfig\n}: CreateOrganizationConfig): Promise<Organization> => {\n const defaultFetcher = async (url: string, config: RequestInit): Promise<Response> => {\n const httpClient: FetchHttpClient = FetchHttpClient.getInstance(instanceId);\n const response: HttpResponse<any> = await httpClient.request({\n data: config.body ? JSON.parse(config.body as string) : undefined,\n headers: config.headers as Record<string, string>,\n method: config.method || 'POST',\n url,\n } as HttpRequestConfig);\n\n return {\n json: () => Promise.resolve(response.data),\n ok: response.status >= 200 && response.status < 300,\n status: response.status,\n statusText: response.statusText || '',\n text: () => Promise.resolve(typeof response.data === 'string' ? response.data : JSON.stringify(response.data)),\n } as Response;\n };\n\n return baseCreateOrganization({\n ...requestConfig,\n fetcher: fetcher || defaultFetcher,\n });\n};\n\nexport default createOrganization;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6FA,MAAM,qBAAqB,OAAO,EAChC,SACA,aAAa,EACb,GAAG,oBACkD;CACrD,MAAM,iBAAiB,OAAO,KAAa,WAA2C;EAEpF,MAAMA,WAA8B,MADAC,oCAAgB,YAAY,WAAW,CACtB,QAAQ;GAC3D,MAAM,OAAO,OAAO,KAAK,MAAM,OAAO,KAAe,GAAG;GACxD,SAAS,OAAO;GAChB,QAAQ,OAAO,UAAU;GACzB;GACD,CAAsB;AAEvB,SAAO;GACL,YAAY,QAAQ,QAAQ,SAAS,KAAK;GAC1C,IAAI,SAAS,UAAU,OAAO,SAAS,SAAS;GAChD,QAAQ,SAAS;GACjB,YAAY,SAAS,cAAc;GACnC,YAAY,QAAQ,QAAQ,OAAO,SAAS,SAAS,WAAW,SAAS,OAAO,KAAK,UAAU,SAAS,KAAK,CAAC;GAC/G;;AAGH,oDAA8B;EAC5B,GAAG;EACH,SAAS,WAAW;EACrB,CAAC;;AAGJ,iCAAe"}
@@ -1,73 +0,0 @@
1
- const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
- let __thunderid_browser = require("@thunderid/browser");
3
- __thunderid_browser = require_rolldown_runtime.__toESM(__thunderid_browser);
4
-
5
- //#region src/api/getAllOrganizations.ts
6
- /**
7
- * Retrieves all organizations with pagination support.
8
- * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.
9
- *
10
- * @param config - Configuration object containing baseUrl, optional query parameters, and request config.
11
- * @returns A promise that resolves with the paginated organizations information.
12
- * @example
13
- * ```typescript
14
- * // Using default ThunderID SPA client httpClient
15
- * try {
16
- * const response = await getAllOrganizations({
17
- * baseUrl: "https://localhost:8090",
18
- * filter: "",
19
- * limit: 10,
20
- * recursive: false
21
- * });
22
- * console.log(response.organizations);
23
- * } catch (error) {
24
- * if (error instanceof ThunderIDAPIError) {
25
- * console.error('Failed to get organizations:', error.message);
26
- * }
27
- * }
28
- * ```
29
- *
30
- * @example
31
- * ```typescript
32
- * // Using custom fetcher
33
- * try {
34
- * const response = await getAllOrganizations({
35
- * baseUrl: "https://localhost:8090",
36
- * filter: "",
37
- * limit: 10,
38
- * recursive: false,
39
- * fetcher: customFetchFunction
40
- * });
41
- * console.log(response.organizations);
42
- * } catch (error) {
43
- * if (error instanceof ThunderIDAPIError) {
44
- * console.error('Failed to get organizations:', error.message);
45
- * }
46
- * }
47
- * ```
48
- */
49
- const getAllOrganizations = async ({ fetcher, instanceId = 0,...requestConfig }) => {
50
- const defaultFetcher = async (url, config) => {
51
- const response = await __thunderid_browser.FetchHttpClient.getInstance(instanceId).request({
52
- headers: config.headers,
53
- method: config.method || "GET",
54
- url
55
- });
56
- return {
57
- json: () => Promise.resolve(response.data),
58
- ok: response.status >= 200 && response.status < 300,
59
- status: response.status,
60
- statusText: response.statusText || "",
61
- text: () => Promise.resolve(typeof response.data === "string" ? response.data : JSON.stringify(response.data))
62
- };
63
- };
64
- return (0, __thunderid_browser.getAllOrganizations)({
65
- ...requestConfig,
66
- fetcher: fetcher || defaultFetcher
67
- });
68
- };
69
- var getAllOrganizations_default = getAllOrganizations;
70
-
71
- //#endregion
72
- exports.default = getAllOrganizations_default;
73
- //# sourceMappingURL=getAllOrganizations.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getAllOrganizations.cjs","names":["response: HttpResponse<any>","FetchHttpClient"],"sources":["../../../src/api/getAllOrganizations.ts"],"sourcesContent":["/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport {\n HttpResponse,\n FetchHttpClient,\n HttpRequestConfig,\n getAllOrganizations as baseGetAllOrganizations,\n GetAllOrganizationsConfig as BaseGetAllOrganizationsConfig,\n AllOrganizationsApiResponse,\n} from '@thunderid/browser';\n\n/**\n * Configuration for the getAllOrganizations request (React-specific)\n */\nexport interface GetAllOrganizationsConfig extends Omit<BaseGetAllOrganizationsConfig, 'fetcher'> {\n /**\n * Optional custom fetcher function. If not provided, the ThunderID SPA client's httpClient will be used\n * which is a wrapper around axios http.request\n */\n fetcher?: (url: string, config: RequestInit) => Promise<Response>;\n /**\n * Optional instance ID for multi-instance support. Defaults to 0.\n */\n instanceId?: number;\n}\n\n/**\n * Retrieves all organizations with pagination support.\n * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.\n *\n * @param config - Configuration object containing baseUrl, optional query parameters, and request config.\n * @returns A promise that resolves with the paginated organizations information.\n * @example\n * ```typescript\n * // Using default ThunderID SPA client httpClient\n * try {\n * const response = await getAllOrganizations({\n * baseUrl: \"https://localhost:8090\",\n * filter: \"\",\n * limit: 10,\n * recursive: false\n * });\n * console.log(response.organizations);\n * } catch (error) {\n * if (error instanceof ThunderIDAPIError) {\n * console.error('Failed to get organizations:', error.message);\n * }\n * }\n * ```\n *\n * @example\n * ```typescript\n * // Using custom fetcher\n * try {\n * const response = await getAllOrganizations({\n * baseUrl: \"https://localhost:8090\",\n * filter: \"\",\n * limit: 10,\n * recursive: false,\n * fetcher: customFetchFunction\n * });\n * console.log(response.organizations);\n * } catch (error) {\n * if (error instanceof ThunderIDAPIError) {\n * console.error('Failed to get organizations:', error.message);\n * }\n * }\n * ```\n */\nconst getAllOrganizations = async ({\n fetcher,\n instanceId = 0,\n ...requestConfig\n}: GetAllOrganizationsConfig): Promise<AllOrganizationsApiResponse> => {\n const defaultFetcher = async (url: string, config: RequestInit): Promise<Response> => {\n const httpClient: FetchHttpClient = FetchHttpClient.getInstance(instanceId);\n const response: HttpResponse<any> = await httpClient.request({\n headers: config.headers as Record<string, string>,\n method: config.method || 'GET',\n url,\n } as HttpRequestConfig);\n\n return {\n json: () => Promise.resolve(response.data),\n ok: response.status >= 200 && response.status < 300,\n status: response.status,\n statusText: response.statusText || '',\n text: () => Promise.resolve(typeof response.data === 'string' ? response.data : JSON.stringify(response.data)),\n } as Response;\n };\n\n return baseGetAllOrganizations({\n ...requestConfig,\n fetcher: fetcher || defaultFetcher,\n });\n};\n\nexport default getAllOrganizations;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqFA,MAAM,sBAAsB,OAAO,EACjC,SACA,aAAa,EACb,GAAG,oBACkE;CACrE,MAAM,iBAAiB,OAAO,KAAa,WAA2C;EAEpF,MAAMA,WAA8B,MADAC,oCAAgB,YAAY,WAAW,CACtB,QAAQ;GAC3D,SAAS,OAAO;GAChB,QAAQ,OAAO,UAAU;GACzB;GACD,CAAsB;AAEvB,SAAO;GACL,YAAY,QAAQ,QAAQ,SAAS,KAAK;GAC1C,IAAI,SAAS,UAAU,OAAO,SAAS,SAAS;GAChD,QAAQ,SAAS;GACjB,YAAY,SAAS,cAAc;GACnC,YAAY,QAAQ,QAAQ,OAAO,SAAS,SAAS,WAAW,SAAS,OAAO,KAAK,UAAU,SAAS,KAAK,CAAC;GAC/G;;AAGH,qDAA+B;EAC7B,GAAG;EACH,SAAS,WAAW;EACrB,CAAC;;AAGJ,kCAAe"}
@@ -1,77 +0,0 @@
1
- const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
- let __thunderid_browser = require("@thunderid/browser");
3
- __thunderid_browser = require_rolldown_runtime.__toESM(__thunderid_browser);
4
-
5
- //#region src/api/getMeOrganizations.ts
6
- /**
7
- * Retrieves the organizations associated with the current user.
8
- * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.
9
- *
10
- * @param config - Configuration object containing baseUrl, optional query parameters, and request config.
11
- * @returns A promise that resolves with the organizations information.
12
- * @example
13
- * ```typescript
14
- * // Using default ThunderID SPA client httpClient
15
- * try {
16
- * const organizations = await getMeOrganizations({
17
- * baseUrl: "https://localhost:8090",
18
- * after: "",
19
- * before: "",
20
- * filter: "",
21
- * limit: 10,
22
- * recursive: false
23
- * });
24
- * console.log(organizations);
25
- * } catch (error) {
26
- * if (error instanceof ThunderIDAPIError) {
27
- * console.error('Failed to get organizations:', error.message);
28
- * }
29
- * }
30
- * ```
31
- *
32
- * @example
33
- * ```typescript
34
- * // Using custom fetcher
35
- * try {
36
- * const organizations = await getMeOrganizations({
37
- * baseUrl: "https://localhost:8090",
38
- * after: "",
39
- * before: "",
40
- * filter: "",
41
- * limit: 10,
42
- * recursive: false,
43
- * fetcher: customFetchFunction
44
- * });
45
- * console.log(organizations);
46
- * } catch (error) {
47
- * if (error instanceof ThunderIDAPIError) {
48
- * console.error('Failed to get organizations:', error.message);
49
- * }
50
- * }
51
- * ```
52
- */
53
- const getMeOrganizations = async ({ fetcher, instanceId = 0,...requestConfig }) => {
54
- const defaultFetcher = async (url, config) => {
55
- const response = await __thunderid_browser.FetchHttpClient.getInstance(instanceId).request({
56
- headers: config.headers,
57
- method: config.method || "GET",
58
- url
59
- });
60
- return {
61
- json: () => Promise.resolve(response.data),
62
- ok: response.status >= 200 && response.status < 300,
63
- status: response.status,
64
- statusText: response.statusText || "",
65
- text: () => Promise.resolve(typeof response.data === "string" ? response.data : JSON.stringify(response.data))
66
- };
67
- };
68
- return (0, __thunderid_browser.getMeOrganizations)({
69
- ...requestConfig,
70
- fetcher: fetcher || defaultFetcher
71
- });
72
- };
73
- var getMeOrganizations_default = getMeOrganizations;
74
-
75
- //#endregion
76
- exports.default = getMeOrganizations_default;
77
- //# sourceMappingURL=getMeOrganizations.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getMeOrganizations.cjs","names":["response: HttpResponse<any>","FetchHttpClient"],"sources":["../../../src/api/getMeOrganizations.ts"],"sourcesContent":["/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport {\n Organization,\n HttpResponse,\n FetchHttpClient,\n HttpRequestConfig,\n getMeOrganizations as baseGetMeOrganizations,\n GetMeOrganizationsConfig as BaseGetMeOrganizationsConfig,\n} from '@thunderid/browser';\n\n/**\n * Configuration for the getMeOrganizations request (React-specific)\n */\nexport interface GetMeOrganizationsConfig extends Omit<BaseGetMeOrganizationsConfig, 'fetcher'> {\n /**\n * Optional custom fetcher function. If not provided, the ThunderID SPA client's httpClient will be used\n * which is a wrapper around axios http.request\n */\n fetcher?: (url: string, config: RequestInit) => Promise<Response>;\n /**\n * Optional instance ID for multi-instance support. Defaults to 0.\n */\n instanceId?: number;\n}\n\n/**\n * Retrieves the organizations associated with the current user.\n * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.\n *\n * @param config - Configuration object containing baseUrl, optional query parameters, and request config.\n * @returns A promise that resolves with the organizations information.\n * @example\n * ```typescript\n * // Using default ThunderID SPA client httpClient\n * try {\n * const organizations = await getMeOrganizations({\n * baseUrl: \"https://localhost:8090\",\n * after: \"\",\n * before: \"\",\n * filter: \"\",\n * limit: 10,\n * recursive: false\n * });\n * console.log(organizations);\n * } catch (error) {\n * if (error instanceof ThunderIDAPIError) {\n * console.error('Failed to get organizations:', error.message);\n * }\n * }\n * ```\n *\n * @example\n * ```typescript\n * // Using custom fetcher\n * try {\n * const organizations = await getMeOrganizations({\n * baseUrl: \"https://localhost:8090\",\n * after: \"\",\n * before: \"\",\n * filter: \"\",\n * limit: 10,\n * recursive: false,\n * fetcher: customFetchFunction\n * });\n * console.log(organizations);\n * } catch (error) {\n * if (error instanceof ThunderIDAPIError) {\n * console.error('Failed to get organizations:', error.message);\n * }\n * }\n * ```\n */\nconst getMeOrganizations = async ({\n fetcher,\n instanceId = 0,\n ...requestConfig\n}: GetMeOrganizationsConfig): Promise<Organization[]> => {\n const defaultFetcher = async (url: string, config: RequestInit): Promise<Response> => {\n const httpClient: FetchHttpClient = FetchHttpClient.getInstance(instanceId);\n const response: HttpResponse<any> = await httpClient.request({\n headers: config.headers as Record<string, string>,\n method: config.method || 'GET',\n url,\n } as HttpRequestConfig);\n\n return {\n json: () => Promise.resolve(response.data),\n ok: response.status >= 200 && response.status < 300,\n status: response.status,\n statusText: response.statusText || '',\n text: () => Promise.resolve(typeof response.data === 'string' ? response.data : JSON.stringify(response.data)),\n } as Response;\n };\n\n return baseGetMeOrganizations({\n ...requestConfig,\n fetcher: fetcher || defaultFetcher,\n });\n};\n\nexport default getMeOrganizations;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyFA,MAAM,qBAAqB,OAAO,EAChC,SACA,aAAa,EACb,GAAG,oBACoD;CACvD,MAAM,iBAAiB,OAAO,KAAa,WAA2C;EAEpF,MAAMA,WAA8B,MADAC,oCAAgB,YAAY,WAAW,CACtB,QAAQ;GAC3D,SAAS,OAAO;GAChB,QAAQ,OAAO,UAAU;GACzB;GACD,CAAsB;AAEvB,SAAO;GACL,YAAY,QAAQ,QAAQ,SAAS,KAAK;GAC1C,IAAI,SAAS,UAAU,OAAO,SAAS,SAAS;GAChD,QAAQ,SAAS;GACjB,YAAY,SAAS,cAAc;GACnC,YAAY,QAAQ,QAAQ,OAAO,SAAS,SAAS,WAAW,SAAS,OAAO,KAAK,UAAU,SAAS,KAAK,CAAC;GAC/G;;AAGH,oDAA8B;EAC5B,GAAG;EACH,SAAS,WAAW;EACrB,CAAC;;AAGJ,iCAAe"}
@@ -1,69 +0,0 @@
1
- const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
- let __thunderid_browser = require("@thunderid/browser");
3
- __thunderid_browser = require_rolldown_runtime.__toESM(__thunderid_browser);
4
-
5
- //#region src/api/getOrganization.ts
6
- /**
7
- * Retrieves detailed information for a specific organization.
8
- * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.
9
- *
10
- * @param config - Configuration object containing baseUrl, organizationId, and request config.
11
- * @returns A promise that resolves with the organization details.
12
- * @example
13
- * ```typescript
14
- * // Using default ThunderID SPA client httpClient
15
- * try {
16
- * const organization = await getOrganization({
17
- * baseUrl: "https://localhost:8090",
18
- * organizationId: "0d5e071b-d3d3-475d-b3c6-1a20ee2fa9b1"
19
- * });
20
- * console.log(organization);
21
- * } catch (error) {
22
- * if (error instanceof ThunderIDAPIError) {
23
- * console.error('Failed to get organization:', error.message);
24
- * }
25
- * }
26
- * ```
27
- *
28
- * @example
29
- * ```typescript
30
- * // Using custom fetcher
31
- * try {
32
- * const organization = await getOrganization({
33
- * baseUrl: "https://localhost:8090",
34
- * organizationId: "0d5e071b-d3d3-475d-b3c6-1a20ee2fa9b1",
35
- * fetcher: customFetchFunction
36
- * });
37
- * console.log(organization);
38
- * } catch (error) {
39
- * if (error instanceof ThunderIDAPIError) {
40
- * console.error('Failed to get organization:', error.message);
41
- * }
42
- * }
43
- * ```
44
- */
45
- const getOrganization = async ({ fetcher, instanceId = 0,...requestConfig }) => {
46
- const defaultFetcher = async (url, config) => {
47
- const response = await __thunderid_browser.FetchHttpClient.getInstance(instanceId).request({
48
- headers: config.headers,
49
- method: config.method || "GET",
50
- url
51
- });
52
- return {
53
- json: () => Promise.resolve(response.data),
54
- ok: response.status >= 200 && response.status < 300,
55
- status: response.status,
56
- statusText: response.statusText || "",
57
- text: () => Promise.resolve(typeof response.data === "string" ? response.data : JSON.stringify(response.data))
58
- };
59
- };
60
- return (0, __thunderid_browser.getOrganization)({
61
- ...requestConfig,
62
- fetcher: fetcher || defaultFetcher
63
- });
64
- };
65
- var getOrganization_default = getOrganization;
66
-
67
- //#endregion
68
- exports.default = getOrganization_default;
69
- //# sourceMappingURL=getOrganization.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getOrganization.cjs","names":["response: HttpResponse<any>","FetchHttpClient"],"sources":["../../../src/api/getOrganization.ts"],"sourcesContent":["/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport {\n HttpResponse,\n FetchHttpClient,\n HttpRequestConfig,\n getOrganization as baseGetOrganization,\n GetOrganizationConfig as BaseGetOrganizationConfig,\n OrganizationDetails,\n} from '@thunderid/browser';\n\n/**\n * Configuration for the getOrganization request (React-specific)\n */\nexport interface GetOrganizationConfig extends Omit<BaseGetOrganizationConfig, 'fetcher'> {\n /**\n * Optional custom fetcher function. If not provided, the ThunderID SPA client's httpClient will be used\n * which is a wrapper around axios http.request\n */\n fetcher?: (url: string, config: RequestInit) => Promise<Response>;\n /**\n * Optional instance ID for multi-instance support. Defaults to 0.\n */\n instanceId?: number;\n}\n\n/**\n * Retrieves detailed information for a specific organization.\n * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.\n *\n * @param config - Configuration object containing baseUrl, organizationId, and request config.\n * @returns A promise that resolves with the organization details.\n * @example\n * ```typescript\n * // Using default ThunderID SPA client httpClient\n * try {\n * const organization = await getOrganization({\n * baseUrl: \"https://localhost:8090\",\n * organizationId: \"0d5e071b-d3d3-475d-b3c6-1a20ee2fa9b1\"\n * });\n * console.log(organization);\n * } catch (error) {\n * if (error instanceof ThunderIDAPIError) {\n * console.error('Failed to get organization:', error.message);\n * }\n * }\n * ```\n *\n * @example\n * ```typescript\n * // Using custom fetcher\n * try {\n * const organization = await getOrganization({\n * baseUrl: \"https://localhost:8090\",\n * organizationId: \"0d5e071b-d3d3-475d-b3c6-1a20ee2fa9b1\",\n * fetcher: customFetchFunction\n * });\n * console.log(organization);\n * } catch (error) {\n * if (error instanceof ThunderIDAPIError) {\n * console.error('Failed to get organization:', error.message);\n * }\n * }\n * ```\n */\nconst getOrganization = async ({\n fetcher,\n instanceId = 0,\n ...requestConfig\n}: GetOrganizationConfig): Promise<OrganizationDetails> => {\n const defaultFetcher = async (url: string, config: RequestInit): Promise<Response> => {\n const httpClient: FetchHttpClient = FetchHttpClient.getInstance(instanceId);\n const response: HttpResponse<any> = await httpClient.request({\n headers: config.headers as Record<string, string>,\n method: config.method || 'GET',\n url,\n } as HttpRequestConfig);\n\n return {\n json: () => Promise.resolve(response.data),\n ok: response.status >= 200 && response.status < 300,\n status: response.status,\n statusText: response.statusText || '',\n text: () => Promise.resolve(typeof response.data === 'string' ? response.data : JSON.stringify(response.data)),\n } as Response;\n };\n\n return baseGetOrganization({\n ...requestConfig,\n fetcher: fetcher || defaultFetcher,\n });\n};\n\nexport default getOrganization;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiFA,MAAM,kBAAkB,OAAO,EAC7B,SACA,aAAa,EACb,GAAG,oBACsD;CACzD,MAAM,iBAAiB,OAAO,KAAa,WAA2C;EAEpF,MAAMA,WAA8B,MADAC,oCAAgB,YAAY,WAAW,CACtB,QAAQ;GAC3D,SAAS,OAAO;GAChB,QAAQ,OAAO,UAAU;GACzB;GACD,CAAsB;AAEvB,SAAO;GACL,YAAY,QAAQ,QAAQ,SAAS,KAAK;GAC1C,IAAI,SAAS,UAAU,OAAO,SAAS,SAAS;GAChD,QAAQ,SAAS;GACjB,YAAY,SAAS,cAAc;GACnC,YAAY,QAAQ,QAAQ,OAAO,SAAS,SAAS,WAAW,SAAS,OAAO,KAAK,UAAU,SAAS,KAAK,CAAC;GAC/G;;AAGH,iDAA2B;EACzB,GAAG;EACH,SAAS,WAAW;EACrB,CAAC;;AAGJ,8BAAe"}