@constructive-io/react 0.12.7 → 0.12.8

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 (363) hide show
  1. package/admin/hooks/index.d.ts +1 -1
  2. package/admin/hooks/index.js +1 -1
  3. package/admin/hooks/invalidation.d.ts +12 -6
  4. package/admin/hooks/invalidation.js +31 -15
  5. package/admin/hooks/mutation-keys.d.ts +24 -12
  6. package/admin/hooks/mutation-keys.js +15 -8
  7. package/admin/hooks/mutations/index.d.ts +6 -3
  8. package/admin/hooks/mutations/index.js +6 -3
  9. package/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
  10. package/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.js +34 -0
  11. package/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
  12. package/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +39 -0
  13. package/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
  14. package/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +40 -0
  15. package/admin/hooks/queries/index.d.ts +4 -2
  16. package/admin/hooks/queries/index.js +4 -2
  17. package/admin/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
  18. package/admin/hooks/queries/useOrgMembershipSettingQuery.js +53 -0
  19. package/admin/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
  20. package/admin/hooks/queries/useOrgMembershipSettingsQuery.js +38 -0
  21. package/admin/hooks/query-keys.d.ts +28 -14
  22. package/admin/hooks/query-keys.js +17 -9
  23. package/admin/orm/index.d.ts +4 -2
  24. package/admin/orm/index.js +4 -2
  25. package/admin/orm/input-types.d.ts +303 -142
  26. package/admin/orm/models/index.d.ts +2 -1
  27. package/admin/orm/models/index.js +5 -3
  28. package/admin/orm/models/orgMembershipSetting.d.ts +56 -0
  29. package/admin/orm/models/orgMembershipSetting.js +100 -0
  30. package/admin/schema-types.d.ts +231 -106
  31. package/admin/types.d.ts +23 -11
  32. package/auth/hooks/index.d.ts +1 -1
  33. package/auth/hooks/index.js +1 -1
  34. package/auth/hooks/invalidation.d.ts +12 -0
  35. package/auth/hooks/invalidation.js +32 -0
  36. package/auth/hooks/mutation-keys.d.ts +26 -2
  37. package/auth/hooks/mutation-keys.js +18 -4
  38. package/auth/hooks/mutations/index.d.ts +5 -1
  39. package/auth/hooks/mutations/index.js +5 -1
  40. package/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
  41. package/auth/hooks/mutations/useCreateIdentityProviderMutation.js +34 -0
  42. package/auth/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
  43. package/auth/hooks/mutations/useCreateWebauthnCredentialMutation.js +34 -0
  44. package/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
  45. package/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.js +39 -0
  46. package/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
  47. package/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.js +40 -0
  48. package/auth/hooks/queries/index.d.ts +3 -0
  49. package/auth/hooks/queries/index.js +3 -0
  50. package/auth/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
  51. package/auth/hooks/queries/useIdentityProvidersQuery.js +38 -0
  52. package/auth/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
  53. package/auth/hooks/queries/useWebauthnCredentialQuery.js +53 -0
  54. package/auth/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
  55. package/auth/hooks/queries/useWebauthnCredentialsQuery.js +38 -0
  56. package/auth/hooks/query-keys.d.ts +28 -0
  57. package/auth/hooks/query-keys.js +17 -1
  58. package/auth/orm/index.d.ts +9 -5
  59. package/auth/orm/index.js +4 -0
  60. package/auth/orm/input-types.d.ts +525 -81
  61. package/auth/orm/input-types.js +1 -0
  62. package/auth/orm/models/identityProvider.d.ts +32 -0
  63. package/auth/orm/models/identityProvider.js +55 -0
  64. package/auth/orm/models/index.d.ts +2 -0
  65. package/auth/orm/models/index.js +5 -1
  66. package/auth/orm/models/webauthnCredential.d.ts +56 -0
  67. package/auth/orm/models/webauthnCredential.js +100 -0
  68. package/auth/orm/mutation/index.d.ts +9 -9
  69. package/auth/orm/mutation/index.js +12 -12
  70. package/auth/schema-types.d.ts +278 -22
  71. package/auth/types.d.ts +27 -0
  72. package/esm/admin/hooks/index.d.ts +1 -1
  73. package/esm/admin/hooks/index.js +1 -1
  74. package/esm/admin/hooks/invalidation.d.ts +12 -6
  75. package/esm/admin/hooks/invalidation.js +32 -16
  76. package/esm/admin/hooks/mutation-keys.d.ts +24 -12
  77. package/esm/admin/hooks/mutation-keys.js +14 -7
  78. package/esm/admin/hooks/mutations/index.d.ts +6 -3
  79. package/esm/admin/hooks/mutations/index.js +6 -3
  80. package/esm/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
  81. package/esm/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.js +31 -0
  82. package/esm/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
  83. package/esm/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +36 -0
  84. package/esm/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
  85. package/esm/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +37 -0
  86. package/esm/admin/hooks/queries/index.d.ts +4 -2
  87. package/esm/admin/hooks/queries/index.js +4 -2
  88. package/esm/admin/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
  89. package/esm/admin/hooks/queries/useOrgMembershipSettingQuery.js +47 -0
  90. package/esm/admin/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
  91. package/esm/admin/hooks/queries/useOrgMembershipSettingsQuery.js +32 -0
  92. package/esm/admin/hooks/query-keys.d.ts +28 -14
  93. package/esm/admin/hooks/query-keys.js +16 -8
  94. package/esm/admin/orm/index.d.ts +4 -2
  95. package/esm/admin/orm/index.js +4 -2
  96. package/esm/admin/orm/input-types.d.ts +303 -142
  97. package/esm/admin/orm/models/index.d.ts +2 -1
  98. package/esm/admin/orm/models/index.js +2 -1
  99. package/esm/admin/orm/models/orgMembershipSetting.d.ts +56 -0
  100. package/esm/admin/orm/models/orgMembershipSetting.js +96 -0
  101. package/esm/admin/schema-types.d.ts +231 -106
  102. package/esm/admin/types.d.ts +23 -11
  103. package/esm/auth/hooks/index.d.ts +1 -1
  104. package/esm/auth/hooks/index.js +1 -1
  105. package/esm/auth/hooks/invalidation.d.ts +12 -0
  106. package/esm/auth/hooks/invalidation.js +33 -1
  107. package/esm/auth/hooks/mutation-keys.d.ts +26 -2
  108. package/esm/auth/hooks/mutation-keys.js +17 -3
  109. package/esm/auth/hooks/mutations/index.d.ts +5 -1
  110. package/esm/auth/hooks/mutations/index.js +5 -1
  111. package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
  112. package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.js +31 -0
  113. package/esm/auth/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
  114. package/esm/auth/hooks/mutations/useCreateWebauthnCredentialMutation.js +31 -0
  115. package/esm/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
  116. package/esm/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.js +36 -0
  117. package/esm/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
  118. package/esm/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.js +37 -0
  119. package/esm/auth/hooks/queries/index.d.ts +3 -0
  120. package/esm/auth/hooks/queries/index.js +3 -0
  121. package/esm/auth/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
  122. package/esm/auth/hooks/queries/useIdentityProvidersQuery.js +32 -0
  123. package/esm/auth/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
  124. package/esm/auth/hooks/queries/useWebauthnCredentialQuery.js +47 -0
  125. package/esm/auth/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
  126. package/esm/auth/hooks/queries/useWebauthnCredentialsQuery.js +32 -0
  127. package/esm/auth/hooks/query-keys.d.ts +28 -0
  128. package/esm/auth/hooks/query-keys.js +16 -0
  129. package/esm/auth/orm/index.d.ts +9 -5
  130. package/esm/auth/orm/index.js +4 -0
  131. package/esm/auth/orm/input-types.d.ts +525 -81
  132. package/esm/auth/orm/input-types.js +1 -0
  133. package/esm/auth/orm/models/identityProvider.d.ts +32 -0
  134. package/esm/auth/orm/models/identityProvider.js +51 -0
  135. package/esm/auth/orm/models/index.d.ts +2 -0
  136. package/esm/auth/orm/models/index.js +2 -0
  137. package/esm/auth/orm/models/webauthnCredential.d.ts +56 -0
  138. package/esm/auth/orm/models/webauthnCredential.js +96 -0
  139. package/esm/auth/orm/mutation/index.d.ts +9 -9
  140. package/esm/auth/orm/mutation/index.js +12 -12
  141. package/esm/auth/schema-types.d.ts +278 -22
  142. package/esm/auth/types.d.ts +27 -0
  143. package/esm/objects/orm/input-types.d.ts +12 -0
  144. package/esm/objects/schema-types.d.ts +12 -0
  145. package/esm/public/hooks/index.d.ts +1 -1
  146. package/esm/public/hooks/index.js +1 -1
  147. package/esm/public/hooks/invalidation.d.ts +42 -6
  148. package/esm/public/hooks/invalidation.js +113 -17
  149. package/esm/public/hooks/mutation-keys.d.ts +86 -14
  150. package/esm/public/hooks/mutation-keys.js +55 -10
  151. package/esm/public/hooks/mutations/index.d.ts +20 -4
  152. package/esm/public/hooks/mutations/index.js +20 -4
  153. package/esm/public/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
  154. package/esm/public/hooks/mutations/useCreateIdentityProviderMutation.js +31 -0
  155. package/esm/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.d.ts +34 -0
  156. package/esm/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.js +31 -0
  157. package/esm/public/hooks/mutations/useCreateNotificationsModuleMutation.d.ts +34 -0
  158. package/esm/public/hooks/mutations/useCreateNotificationsModuleMutation.js +31 -0
  159. package/esm/public/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
  160. package/esm/public/hooks/mutations/useCreateOrgMembershipSettingMutation.js +31 -0
  161. package/esm/public/hooks/mutations/useCreateSecureTableProvisionMutation.d.ts +2 -2
  162. package/esm/public/hooks/mutations/useCreateSecureTableProvisionMutation.js +1 -1
  163. package/esm/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.d.ts +34 -0
  164. package/esm/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.js +31 -0
  165. package/esm/public/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
  166. package/esm/public/hooks/mutations/useCreateWebauthnCredentialMutation.js +31 -0
  167. package/esm/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.d.ts +2 -2
  168. package/esm/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.js +1 -1
  169. package/esm/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.d.ts +38 -0
  170. package/esm/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.js +36 -0
  171. package/esm/public/hooks/mutations/useDeleteNotificationsModuleMutation.d.ts +38 -0
  172. package/esm/public/hooks/mutations/useDeleteNotificationsModuleMutation.js +36 -0
  173. package/esm/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
  174. package/esm/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +36 -0
  175. package/esm/public/hooks/mutations/useDeleteSecureTableProvisionMutation.d.ts +2 -2
  176. package/esm/public/hooks/mutations/useDeleteSecureTableProvisionMutation.js +1 -1
  177. package/esm/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.d.ts +38 -0
  178. package/esm/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.js +36 -0
  179. package/esm/public/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
  180. package/esm/public/hooks/mutations/useDeleteWebauthnCredentialMutation.js +36 -0
  181. package/esm/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.d.ts +2 -2
  182. package/esm/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.js +1 -1
  183. package/esm/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.d.ts +40 -0
  184. package/esm/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.js +37 -0
  185. package/esm/public/hooks/mutations/useUpdateNotificationsModuleMutation.d.ts +40 -0
  186. package/esm/public/hooks/mutations/useUpdateNotificationsModuleMutation.js +37 -0
  187. package/esm/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
  188. package/esm/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +37 -0
  189. package/esm/public/hooks/mutations/useUpdateSecureTableProvisionMutation.d.ts +2 -2
  190. package/esm/public/hooks/mutations/useUpdateSecureTableProvisionMutation.js +1 -1
  191. package/esm/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.d.ts +40 -0
  192. package/esm/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.js +37 -0
  193. package/esm/public/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
  194. package/esm/public/hooks/mutations/useUpdateWebauthnCredentialMutation.js +37 -0
  195. package/esm/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.d.ts +2 -2
  196. package/esm/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.js +1 -1
  197. package/esm/public/hooks/queries/index.d.ts +13 -2
  198. package/esm/public/hooks/queries/index.js +13 -2
  199. package/esm/public/hooks/queries/useIdentityProvidersModuleQuery.d.ts +65 -0
  200. package/esm/public/hooks/queries/useIdentityProvidersModuleQuery.js +47 -0
  201. package/esm/public/hooks/queries/useIdentityProvidersModulesQuery.d.ts +69 -0
  202. package/esm/public/hooks/queries/useIdentityProvidersModulesQuery.js +32 -0
  203. package/esm/public/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
  204. package/esm/public/hooks/queries/useIdentityProvidersQuery.js +32 -0
  205. package/esm/public/hooks/queries/useNotificationsModuleQuery.d.ts +65 -0
  206. package/esm/public/hooks/queries/useNotificationsModuleQuery.js +47 -0
  207. package/esm/public/hooks/queries/useNotificationsModulesQuery.d.ts +69 -0
  208. package/esm/public/hooks/queries/useNotificationsModulesQuery.js +32 -0
  209. package/esm/public/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
  210. package/esm/public/hooks/queries/useOrgMembershipSettingQuery.js +47 -0
  211. package/esm/public/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
  212. package/esm/public/hooks/queries/useOrgMembershipSettingsQuery.js +32 -0
  213. package/esm/public/hooks/queries/useSecureTableProvisionQuery.d.ts +4 -4
  214. package/esm/public/hooks/queries/useSecureTableProvisionQuery.js +1 -1
  215. package/esm/public/hooks/queries/useSecureTableProvisionsQuery.d.ts +4 -4
  216. package/esm/public/hooks/queries/useSecureTableProvisionsQuery.js +1 -1
  217. package/esm/public/hooks/queries/useWebauthnAuthModuleQuery.d.ts +65 -0
  218. package/esm/public/hooks/queries/useWebauthnAuthModuleQuery.js +47 -0
  219. package/esm/public/hooks/queries/useWebauthnAuthModulesQuery.d.ts +69 -0
  220. package/esm/public/hooks/queries/useWebauthnAuthModulesQuery.js +32 -0
  221. package/esm/public/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
  222. package/esm/public/hooks/queries/useWebauthnCredentialQuery.js +47 -0
  223. package/esm/public/hooks/queries/useWebauthnCredentialsModuleQuery.d.ts +4 -4
  224. package/esm/public/hooks/queries/useWebauthnCredentialsModuleQuery.js +1 -1
  225. package/esm/public/hooks/queries/useWebauthnCredentialsModulesQuery.d.ts +4 -4
  226. package/esm/public/hooks/queries/useWebauthnCredentialsModulesQuery.js +1 -1
  227. package/esm/public/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
  228. package/esm/public/hooks/queries/useWebauthnCredentialsQuery.js +32 -0
  229. package/esm/public/hooks/query-keys.d.ts +98 -14
  230. package/esm/public/hooks/query-keys.js +56 -8
  231. package/esm/public/orm/index.d.ts +19 -7
  232. package/esm/public/orm/index.js +14 -2
  233. package/esm/public/orm/input-types.d.ts +1827 -366
  234. package/esm/public/orm/input-types.js +7 -0
  235. package/esm/public/orm/models/identityProvider.d.ts +32 -0
  236. package/esm/public/orm/models/identityProvider.js +51 -0
  237. package/esm/public/orm/models/identityProvidersModule.d.ts +56 -0
  238. package/esm/public/orm/models/identityProvidersModule.js +96 -0
  239. package/esm/public/orm/models/index.d.ts +7 -1
  240. package/esm/public/orm/models/index.js +7 -1
  241. package/esm/public/orm/models/notificationsModule.d.ts +56 -0
  242. package/esm/public/orm/models/notificationsModule.js +96 -0
  243. package/esm/public/orm/models/orgMembershipSetting.d.ts +56 -0
  244. package/esm/public/orm/models/orgMembershipSetting.js +96 -0
  245. package/esm/public/orm/models/webauthnAuthModule.d.ts +56 -0
  246. package/esm/public/orm/models/webauthnAuthModule.js +96 -0
  247. package/esm/public/orm/models/webauthnCredential.d.ts +56 -0
  248. package/esm/public/orm/models/webauthnCredential.js +96 -0
  249. package/esm/public/orm/mutation/index.d.ts +9 -9
  250. package/esm/public/orm/mutation/index.js +12 -12
  251. package/esm/public/schema-types.d.ts +2041 -1214
  252. package/esm/public/types.d.ts +103 -27
  253. package/objects/orm/input-types.d.ts +12 -0
  254. package/objects/schema-types.d.ts +12 -0
  255. package/package.json +3 -3
  256. package/public/hooks/index.d.ts +1 -1
  257. package/public/hooks/index.js +1 -1
  258. package/public/hooks/invalidation.d.ts +42 -6
  259. package/public/hooks/invalidation.js +112 -16
  260. package/public/hooks/mutation-keys.d.ts +86 -14
  261. package/public/hooks/mutation-keys.js +58 -13
  262. package/public/hooks/mutations/index.d.ts +20 -4
  263. package/public/hooks/mutations/index.js +20 -4
  264. package/public/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
  265. package/public/hooks/mutations/useCreateIdentityProviderMutation.js +34 -0
  266. package/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.d.ts +34 -0
  267. package/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.js +34 -0
  268. package/public/hooks/mutations/useCreateNotificationsModuleMutation.d.ts +34 -0
  269. package/public/hooks/mutations/useCreateNotificationsModuleMutation.js +34 -0
  270. package/public/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
  271. package/public/hooks/mutations/useCreateOrgMembershipSettingMutation.js +34 -0
  272. package/public/hooks/mutations/useCreateSecureTableProvisionMutation.d.ts +2 -2
  273. package/public/hooks/mutations/useCreateSecureTableProvisionMutation.js +1 -1
  274. package/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.d.ts +34 -0
  275. package/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.js +34 -0
  276. package/public/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
  277. package/public/hooks/mutations/useCreateWebauthnCredentialMutation.js +34 -0
  278. package/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.d.ts +2 -2
  279. package/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.js +1 -1
  280. package/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.d.ts +38 -0
  281. package/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.js +39 -0
  282. package/public/hooks/mutations/useDeleteNotificationsModuleMutation.d.ts +38 -0
  283. package/public/hooks/mutations/useDeleteNotificationsModuleMutation.js +39 -0
  284. package/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
  285. package/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +39 -0
  286. package/public/hooks/mutations/useDeleteSecureTableProvisionMutation.d.ts +2 -2
  287. package/public/hooks/mutations/useDeleteSecureTableProvisionMutation.js +1 -1
  288. package/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.d.ts +38 -0
  289. package/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.js +39 -0
  290. package/public/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
  291. package/public/hooks/mutations/useDeleteWebauthnCredentialMutation.js +39 -0
  292. package/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.d.ts +2 -2
  293. package/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.js +1 -1
  294. package/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.d.ts +40 -0
  295. package/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.js +40 -0
  296. package/public/hooks/mutations/useUpdateNotificationsModuleMutation.d.ts +40 -0
  297. package/public/hooks/mutations/useUpdateNotificationsModuleMutation.js +40 -0
  298. package/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
  299. package/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +40 -0
  300. package/public/hooks/mutations/useUpdateSecureTableProvisionMutation.d.ts +2 -2
  301. package/public/hooks/mutations/useUpdateSecureTableProvisionMutation.js +1 -1
  302. package/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.d.ts +40 -0
  303. package/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.js +40 -0
  304. package/public/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
  305. package/public/hooks/mutations/useUpdateWebauthnCredentialMutation.js +40 -0
  306. package/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.d.ts +2 -2
  307. package/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.js +1 -1
  308. package/public/hooks/queries/index.d.ts +13 -2
  309. package/public/hooks/queries/index.js +13 -2
  310. package/public/hooks/queries/useIdentityProvidersModuleQuery.d.ts +65 -0
  311. package/public/hooks/queries/useIdentityProvidersModuleQuery.js +53 -0
  312. package/public/hooks/queries/useIdentityProvidersModulesQuery.d.ts +69 -0
  313. package/public/hooks/queries/useIdentityProvidersModulesQuery.js +38 -0
  314. package/public/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
  315. package/public/hooks/queries/useIdentityProvidersQuery.js +38 -0
  316. package/public/hooks/queries/useNotificationsModuleQuery.d.ts +65 -0
  317. package/public/hooks/queries/useNotificationsModuleQuery.js +53 -0
  318. package/public/hooks/queries/useNotificationsModulesQuery.d.ts +69 -0
  319. package/public/hooks/queries/useNotificationsModulesQuery.js +38 -0
  320. package/public/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
  321. package/public/hooks/queries/useOrgMembershipSettingQuery.js +53 -0
  322. package/public/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
  323. package/public/hooks/queries/useOrgMembershipSettingsQuery.js +38 -0
  324. package/public/hooks/queries/useSecureTableProvisionQuery.d.ts +4 -4
  325. package/public/hooks/queries/useSecureTableProvisionQuery.js +1 -1
  326. package/public/hooks/queries/useSecureTableProvisionsQuery.d.ts +4 -4
  327. package/public/hooks/queries/useSecureTableProvisionsQuery.js +1 -1
  328. package/public/hooks/queries/useWebauthnAuthModuleQuery.d.ts +65 -0
  329. package/public/hooks/queries/useWebauthnAuthModuleQuery.js +53 -0
  330. package/public/hooks/queries/useWebauthnAuthModulesQuery.d.ts +69 -0
  331. package/public/hooks/queries/useWebauthnAuthModulesQuery.js +38 -0
  332. package/public/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
  333. package/public/hooks/queries/useWebauthnCredentialQuery.js +53 -0
  334. package/public/hooks/queries/useWebauthnCredentialsModuleQuery.d.ts +4 -4
  335. package/public/hooks/queries/useWebauthnCredentialsModuleQuery.js +1 -1
  336. package/public/hooks/queries/useWebauthnCredentialsModulesQuery.d.ts +4 -4
  337. package/public/hooks/queries/useWebauthnCredentialsModulesQuery.js +1 -1
  338. package/public/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
  339. package/public/hooks/queries/useWebauthnCredentialsQuery.js +38 -0
  340. package/public/hooks/query-keys.d.ts +98 -14
  341. package/public/hooks/query-keys.js +59 -11
  342. package/public/orm/index.d.ts +19 -7
  343. package/public/orm/index.js +14 -2
  344. package/public/orm/input-types.d.ts +1827 -366
  345. package/public/orm/input-types.js +7 -0
  346. package/public/orm/models/identityProvider.d.ts +32 -0
  347. package/public/orm/models/identityProvider.js +55 -0
  348. package/public/orm/models/identityProvidersModule.d.ts +56 -0
  349. package/public/orm/models/identityProvidersModule.js +100 -0
  350. package/public/orm/models/index.d.ts +7 -1
  351. package/public/orm/models/index.js +17 -5
  352. package/public/orm/models/notificationsModule.d.ts +56 -0
  353. package/public/orm/models/notificationsModule.js +100 -0
  354. package/public/orm/models/orgMembershipSetting.d.ts +56 -0
  355. package/public/orm/models/orgMembershipSetting.js +100 -0
  356. package/public/orm/models/webauthnAuthModule.d.ts +56 -0
  357. package/public/orm/models/webauthnAuthModule.js +100 -0
  358. package/public/orm/models/webauthnCredential.d.ts +56 -0
  359. package/public/orm/models/webauthnCredential.js +100 -0
  360. package/public/orm/mutation/index.d.ts +9 -9
  361. package/public/orm/mutation/index.js +12 -12
  362. package/public/schema-types.d.ts +2041 -1214
  363. package/public/types.d.ts +103 -27
@@ -3,7 +3,7 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- import { emailKeys, phoneNumberKeys, cryptoAddressKeys, auditLogKeys, roleTypeKeys, userConnectedAccountKeys, userKeys, } from './query-keys';
6
+ import { emailKeys, phoneNumberKeys, cryptoAddressKeys, webauthnCredentialKeys, auditLogKeys, identityProviderKeys, roleTypeKeys, userConnectedAccountKeys, userKeys, } from './query-keys';
7
7
  /**
8
8
  // ============================================================================
9
9
  // Invalidation Helpers
@@ -57,6 +57,17 @@ export const invalidate = {
57
57
  queryKey: cryptoAddressKeys.detail(id),
58
58
  }),
59
59
  },
60
+ /** Invalidate webauthnCredential queries */ webauthnCredential: {
61
+ /** Invalidate all webauthnCredential queries */ all: (queryClient) => queryClient.invalidateQueries({
62
+ queryKey: webauthnCredentialKeys.all,
63
+ }),
64
+ /** Invalidate webauthnCredential list queries */ lists: (queryClient) => queryClient.invalidateQueries({
65
+ queryKey: webauthnCredentialKeys.lists(),
66
+ }),
67
+ /** Invalidate a specific webauthnCredential */ detail: (queryClient, id) => queryClient.invalidateQueries({
68
+ queryKey: webauthnCredentialKeys.detail(id),
69
+ }),
70
+ },
60
71
  /** Invalidate auditLog queries */ auditLog: {
61
72
  /** Invalidate all auditLog queries */ all: (queryClient) => queryClient.invalidateQueries({
62
73
  queryKey: auditLogKeys.all,
@@ -68,6 +79,17 @@ export const invalidate = {
68
79
  queryKey: auditLogKeys.detail(id),
69
80
  }),
70
81
  },
82
+ /** Invalidate identityProvider queries */ identityProvider: {
83
+ /** Invalidate all identityProvider queries */ all: (queryClient) => queryClient.invalidateQueries({
84
+ queryKey: identityProviderKeys.all,
85
+ }),
86
+ /** Invalidate identityProvider list queries */ lists: (queryClient) => queryClient.invalidateQueries({
87
+ queryKey: identityProviderKeys.lists(),
88
+ }),
89
+ /** Invalidate a specific identityProvider */ detail: (queryClient, id) => queryClient.invalidateQueries({
90
+ queryKey: identityProviderKeys.detail(id),
91
+ }),
92
+ },
71
93
  /** Invalidate roleType queries */ roleType: {
72
94
  /** Invalidate all roleType queries */ all: (queryClient) => queryClient.invalidateQueries({
73
95
  queryKey: roleTypeKeys.all,
@@ -129,11 +151,21 @@ export const remove = {
129
151
  queryKey: cryptoAddressKeys.detail(id),
130
152
  });
131
153
  },
154
+ /** Remove webauthnCredential from cache */ webauthnCredential: (queryClient, id) => {
155
+ queryClient.removeQueries({
156
+ queryKey: webauthnCredentialKeys.detail(id),
157
+ });
158
+ },
132
159
  /** Remove auditLog from cache */ auditLog: (queryClient, id) => {
133
160
  queryClient.removeQueries({
134
161
  queryKey: auditLogKeys.detail(id),
135
162
  });
136
163
  },
164
+ /** Remove identityProvider from cache */ identityProvider: (queryClient, id) => {
165
+ queryClient.removeQueries({
166
+ queryKey: identityProviderKeys.detail(id),
167
+ });
168
+ },
137
169
  /** Remove roleType from cache */ roleType: (queryClient, id) => {
138
170
  queryClient.removeQueries({
139
171
  queryKey: roleTypeKeys.detail(id),
@@ -21,12 +21,24 @@ export declare const cryptoAddressMutationKeys: {
21
21
  /** Update cryptoAddress mutation key */ readonly update: (id: string | number) => readonly ["mutation", "cryptoaddress", "update", string | number];
22
22
  /** Delete cryptoAddress mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "cryptoaddress", "delete", string | number];
23
23
  };
24
+ export declare const webauthnCredentialMutationKeys: {
25
+ /** All webauthnCredential mutation keys */ readonly all: readonly ["mutation", "webauthncredential"];
26
+ /** Create webauthnCredential mutation key */ readonly create: () => readonly ["mutation", "webauthncredential", "create"];
27
+ /** Update webauthnCredential mutation key */ readonly update: (id: string | number) => readonly ["mutation", "webauthncredential", "update", string | number];
28
+ /** Delete webauthnCredential mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "webauthncredential", "delete", string | number];
29
+ };
24
30
  export declare const auditLogMutationKeys: {
25
31
  /** All auditLog mutation keys */ readonly all: readonly ["mutation", "auditlog"];
26
32
  /** Create auditLog mutation key */ readonly create: () => readonly ["mutation", "auditlog", "create"];
27
33
  /** Update auditLog mutation key */ readonly update: (id: string | number) => readonly ["mutation", "auditlog", "update", string | number];
28
34
  /** Delete auditLog mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "auditlog", "delete", string | number];
29
35
  };
36
+ export declare const identityProviderMutationKeys: {
37
+ /** All identityProvider mutation keys */ readonly all: readonly ["mutation", "identityprovider"];
38
+ /** Create identityProvider mutation key */ readonly create: () => readonly ["mutation", "identityprovider", "create"];
39
+ /** Update identityProvider mutation key */ readonly update: (id: string | number) => readonly ["mutation", "identityprovider", "update", string | number];
40
+ /** Delete identityProvider mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "identityprovider", "delete", string | number];
41
+ };
30
42
  export declare const roleTypeMutationKeys: {
31
43
  /** All roleType mutation keys */ readonly all: readonly ["mutation", "roletype"];
32
44
  /** Create roleType mutation key */ readonly create: () => readonly ["mutation", "roletype", "create"];
@@ -59,12 +71,12 @@ export declare const customMutationKeys: {
59
71
  /** Mutation key for verifyEmail */ readonly verifyEmail: (identifier?: string) => readonly ["mutation", "verifyEmail", string] | readonly ["mutation", "verifyEmail"];
60
72
  /** Mutation key for provisionNewUser */ readonly provisionNewUser: (identifier?: string) => readonly ["mutation", "provisionNewUser", string] | readonly ["mutation", "provisionNewUser"];
61
73
  /** Mutation key for resetPassword */ readonly resetPassword: (identifier?: string) => readonly ["mutation", "resetPassword", string] | readonly ["mutation", "resetPassword"];
62
- /** Mutation key for createApiKey */ readonly createApiKey: (identifier?: string) => readonly ["mutation", "createApiKey", string] | readonly ["mutation", "createApiKey"];
63
74
  /** Mutation key for signInCrossOrigin */ readonly signInCrossOrigin: (identifier?: string) => readonly ["mutation", "signInCrossOrigin", string] | readonly ["mutation", "signInCrossOrigin"];
64
75
  /** Mutation key for signUp */ readonly signUp: (identifier?: string) => readonly ["mutation", "signUp", string] | readonly ["mutation", "signUp"];
65
76
  /** Mutation key for requestCrossOriginToken */ readonly requestCrossOriginToken: (identifier?: string) => readonly ["mutation", "requestCrossOriginToken", string] | readonly ["mutation", "requestCrossOriginToken"];
66
77
  /** Mutation key for signIn */ readonly signIn: (identifier?: string) => readonly ["mutation", "signIn", string] | readonly ["mutation", "signIn"];
67
78
  /** Mutation key for extendTokenExpires */ readonly extendTokenExpires: (identifier?: string) => readonly ["mutation", "extendTokenExpires", string] | readonly ["mutation", "extendTokenExpires"];
79
+ /** Mutation key for createApiKey */ readonly createApiKey: (identifier?: string) => readonly ["mutation", "createApiKey", string] | readonly ["mutation", "createApiKey"];
68
80
  /** Mutation key for forgotPassword */ readonly forgotPassword: (identifier?: string) => readonly ["mutation", "forgotPassword", string] | readonly ["mutation", "forgotPassword"];
69
81
  /** Mutation key for sendVerificationEmail */ readonly sendVerificationEmail: (identifier?: string) => readonly ["mutation", "sendVerificationEmail", string] | readonly ["mutation", "sendVerificationEmail"];
70
82
  /** Mutation key for requestUploadUrl */ readonly requestUploadUrl: (identifier?: string) => readonly ["mutation", "requestUploadUrl", string] | readonly ["mutation", "requestUploadUrl"];
@@ -112,12 +124,24 @@ export declare const mutationKeys: {
112
124
  /** Update cryptoAddress mutation key */ readonly update: (id: string | number) => readonly ["mutation", "cryptoaddress", "update", string | number];
113
125
  /** Delete cryptoAddress mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "cryptoaddress", "delete", string | number];
114
126
  };
127
+ readonly webauthnCredential: {
128
+ /** All webauthnCredential mutation keys */ readonly all: readonly ["mutation", "webauthncredential"];
129
+ /** Create webauthnCredential mutation key */ readonly create: () => readonly ["mutation", "webauthncredential", "create"];
130
+ /** Update webauthnCredential mutation key */ readonly update: (id: string | number) => readonly ["mutation", "webauthncredential", "update", string | number];
131
+ /** Delete webauthnCredential mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "webauthncredential", "delete", string | number];
132
+ };
115
133
  readonly auditLog: {
116
134
  /** All auditLog mutation keys */ readonly all: readonly ["mutation", "auditlog"];
117
135
  /** Create auditLog mutation key */ readonly create: () => readonly ["mutation", "auditlog", "create"];
118
136
  /** Update auditLog mutation key */ readonly update: (id: string | number) => readonly ["mutation", "auditlog", "update", string | number];
119
137
  /** Delete auditLog mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "auditlog", "delete", string | number];
120
138
  };
139
+ readonly identityProvider: {
140
+ /** All identityProvider mutation keys */ readonly all: readonly ["mutation", "identityprovider"];
141
+ /** Create identityProvider mutation key */ readonly create: () => readonly ["mutation", "identityprovider", "create"];
142
+ /** Update identityProvider mutation key */ readonly update: (id: string | number) => readonly ["mutation", "identityprovider", "update", string | number];
143
+ /** Delete identityProvider mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "identityprovider", "delete", string | number];
144
+ };
121
145
  readonly roleType: {
122
146
  /** All roleType mutation keys */ readonly all: readonly ["mutation", "roletype"];
123
147
  /** Create roleType mutation key */ readonly create: () => readonly ["mutation", "roletype", "create"];
@@ -150,12 +174,12 @@ export declare const mutationKeys: {
150
174
  /** Mutation key for verifyEmail */ readonly verifyEmail: (identifier?: string) => readonly ["mutation", "verifyEmail", string] | readonly ["mutation", "verifyEmail"];
151
175
  /** Mutation key for provisionNewUser */ readonly provisionNewUser: (identifier?: string) => readonly ["mutation", "provisionNewUser", string] | readonly ["mutation", "provisionNewUser"];
152
176
  /** Mutation key for resetPassword */ readonly resetPassword: (identifier?: string) => readonly ["mutation", "resetPassword", string] | readonly ["mutation", "resetPassword"];
153
- /** Mutation key for createApiKey */ readonly createApiKey: (identifier?: string) => readonly ["mutation", "createApiKey", string] | readonly ["mutation", "createApiKey"];
154
177
  /** Mutation key for signInCrossOrigin */ readonly signInCrossOrigin: (identifier?: string) => readonly ["mutation", "signInCrossOrigin", string] | readonly ["mutation", "signInCrossOrigin"];
155
178
  /** Mutation key for signUp */ readonly signUp: (identifier?: string) => readonly ["mutation", "signUp", string] | readonly ["mutation", "signUp"];
156
179
  /** Mutation key for requestCrossOriginToken */ readonly requestCrossOriginToken: (identifier?: string) => readonly ["mutation", "requestCrossOriginToken", string] | readonly ["mutation", "requestCrossOriginToken"];
157
180
  /** Mutation key for signIn */ readonly signIn: (identifier?: string) => readonly ["mutation", "signIn", string] | readonly ["mutation", "signIn"];
158
181
  /** Mutation key for extendTokenExpires */ readonly extendTokenExpires: (identifier?: string) => readonly ["mutation", "extendTokenExpires", string] | readonly ["mutation", "extendTokenExpires"];
182
+ /** Mutation key for createApiKey */ readonly createApiKey: (identifier?: string) => readonly ["mutation", "createApiKey", string] | readonly ["mutation", "createApiKey"];
159
183
  /** Mutation key for forgotPassword */ readonly forgotPassword: (identifier?: string) => readonly ["mutation", "forgotPassword", string] | readonly ["mutation", "forgotPassword"];
160
184
  /** Mutation key for sendVerificationEmail */ readonly sendVerificationEmail: (identifier?: string) => readonly ["mutation", "sendVerificationEmail", string] | readonly ["mutation", "sendVerificationEmail"];
161
185
  /** Mutation key for requestUploadUrl */ readonly requestUploadUrl: (identifier?: string) => readonly ["mutation", "requestUploadUrl", string] | readonly ["mutation", "requestUploadUrl"];
@@ -33,12 +33,24 @@ export const cryptoAddressMutationKeys = {
33
33
  /** Update cryptoAddress mutation key */ update: (id) => ['mutation', 'cryptoaddress', 'update', id],
34
34
  /** Delete cryptoAddress mutation key */ delete: (id) => ['mutation', 'cryptoaddress', 'delete', id],
35
35
  };
36
+ export const webauthnCredentialMutationKeys = {
37
+ /** All webauthnCredential mutation keys */ all: ['mutation', 'webauthncredential'],
38
+ /** Create webauthnCredential mutation key */ create: () => ['mutation', 'webauthncredential', 'create'],
39
+ /** Update webauthnCredential mutation key */ update: (id) => ['mutation', 'webauthncredential', 'update', id],
40
+ /** Delete webauthnCredential mutation key */ delete: (id) => ['mutation', 'webauthncredential', 'delete', id],
41
+ };
36
42
  export const auditLogMutationKeys = {
37
43
  /** All auditLog mutation keys */ all: ['mutation', 'auditlog'],
38
44
  /** Create auditLog mutation key */ create: () => ['mutation', 'auditlog', 'create'],
39
45
  /** Update auditLog mutation key */ update: (id) => ['mutation', 'auditlog', 'update', id],
40
46
  /** Delete auditLog mutation key */ delete: (id) => ['mutation', 'auditlog', 'delete', id],
41
47
  };
48
+ export const identityProviderMutationKeys = {
49
+ /** All identityProvider mutation keys */ all: ['mutation', 'identityprovider'],
50
+ /** Create identityProvider mutation key */ create: () => ['mutation', 'identityprovider', 'create'],
51
+ /** Update identityProvider mutation key */ update: (id) => ['mutation', 'identityprovider', 'update', id],
52
+ /** Delete identityProvider mutation key */ delete: (id) => ['mutation', 'identityprovider', 'delete', id],
53
+ };
42
54
  export const roleTypeMutationKeys = {
43
55
  /** All roleType mutation keys */ all: ['mutation', 'roletype'],
44
56
  /** Create roleType mutation key */ create: () => ['mutation', 'roletype', 'create'],
@@ -100,9 +112,6 @@ export const customMutationKeys = {
100
112
  /** Mutation key for resetPassword */ resetPassword: (identifier) => identifier
101
113
  ? ['mutation', 'resetPassword', identifier]
102
114
  : ['mutation', 'resetPassword'],
103
- /** Mutation key for createApiKey */ createApiKey: (identifier) => identifier
104
- ? ['mutation', 'createApiKey', identifier]
105
- : ['mutation', 'createApiKey'],
106
115
  /** Mutation key for signInCrossOrigin */ signInCrossOrigin: (identifier) => identifier
107
116
  ? ['mutation', 'signInCrossOrigin', identifier]
108
117
  : ['mutation', 'signInCrossOrigin'],
@@ -114,6 +123,9 @@ export const customMutationKeys = {
114
123
  /** Mutation key for extendTokenExpires */ extendTokenExpires: (identifier) => identifier
115
124
  ? ['mutation', 'extendTokenExpires', identifier]
116
125
  : ['mutation', 'extendTokenExpires'],
126
+ /** Mutation key for createApiKey */ createApiKey: (identifier) => identifier
127
+ ? ['mutation', 'createApiKey', identifier]
128
+ : ['mutation', 'createApiKey'],
117
129
  /** Mutation key for forgotPassword */ forgotPassword: (identifier) => identifier
118
130
  ? ['mutation', 'forgotPassword', identifier]
119
131
  : ['mutation', 'forgotPassword'],
@@ -156,7 +168,9 @@ export const mutationKeys = {
156
168
  email: emailMutationKeys,
157
169
  phoneNumber: phoneNumberMutationKeys,
158
170
  cryptoAddress: cryptoAddressMutationKeys,
171
+ webauthnCredential: webauthnCredentialMutationKeys,
159
172
  auditLog: auditLogMutationKeys,
173
+ identityProvider: identityProviderMutationKeys,
160
174
  roleType: roleTypeMutationKeys,
161
175
  userConnectedAccount: userConnectedAccountMutationKeys,
162
176
  user: userMutationKeys,
@@ -12,9 +12,13 @@ export * from './useDeletePhoneNumberMutation';
12
12
  export * from './useCreateCryptoAddressMutation';
13
13
  export * from './useUpdateCryptoAddressMutation';
14
14
  export * from './useDeleteCryptoAddressMutation';
15
+ export * from './useCreateWebauthnCredentialMutation';
16
+ export * from './useUpdateWebauthnCredentialMutation';
17
+ export * from './useDeleteWebauthnCredentialMutation';
15
18
  export * from './useCreateAuditLogMutation';
16
19
  export * from './useUpdateAuditLogMutation';
17
20
  export * from './useDeleteAuditLogMutation';
21
+ export * from './useCreateIdentityProviderMutation';
18
22
  export * from './useCreateRoleTypeMutation';
19
23
  export * from './useUpdateRoleTypeMutation';
20
24
  export * from './useDeleteRoleTypeMutation';
@@ -35,12 +39,12 @@ export * from './useSetPasswordMutation';
35
39
  export * from './useVerifyEmailMutation';
36
40
  export * from './useProvisionNewUserMutation';
37
41
  export * from './useResetPasswordMutation';
38
- export * from './useCreateApiKeyMutation';
39
42
  export * from './useSignInCrossOriginMutation';
40
43
  export * from './useSignUpMutation';
41
44
  export * from './useRequestCrossOriginTokenMutation';
42
45
  export * from './useSignInMutation';
43
46
  export * from './useExtendTokenExpiresMutation';
47
+ export * from './useCreateApiKeyMutation';
44
48
  export * from './useForgotPasswordMutation';
45
49
  export * from './useSendVerificationEmailMutation';
46
50
  export * from './useRequestUploadUrlMutation';
@@ -12,9 +12,13 @@ export * from './useDeletePhoneNumberMutation';
12
12
  export * from './useCreateCryptoAddressMutation';
13
13
  export * from './useUpdateCryptoAddressMutation';
14
14
  export * from './useDeleteCryptoAddressMutation';
15
+ export * from './useCreateWebauthnCredentialMutation';
16
+ export * from './useUpdateWebauthnCredentialMutation';
17
+ export * from './useDeleteWebauthnCredentialMutation';
15
18
  export * from './useCreateAuditLogMutation';
16
19
  export * from './useUpdateAuditLogMutation';
17
20
  export * from './useDeleteAuditLogMutation';
21
+ export * from './useCreateIdentityProviderMutation';
18
22
  export * from './useCreateRoleTypeMutation';
19
23
  export * from './useUpdateRoleTypeMutation';
20
24
  export * from './useDeleteRoleTypeMutation';
@@ -35,12 +39,12 @@ export * from './useSetPasswordMutation';
35
39
  export * from './useVerifyEmailMutation';
36
40
  export * from './useProvisionNewUserMutation';
37
41
  export * from './useResetPasswordMutation';
38
- export * from './useCreateApiKeyMutation';
39
42
  export * from './useSignInCrossOriginMutation';
40
43
  export * from './useSignUpMutation';
41
44
  export * from './useRequestCrossOriginTokenMutation';
42
45
  export * from './useSignInMutation';
43
46
  export * from './useExtendTokenExpiresMutation';
47
+ export * from './useCreateApiKeyMutation';
44
48
  export * from './useForgotPasswordMutation';
45
49
  export * from './useSendVerificationEmailMutation';
46
50
  export * from './useRequestUploadUrlMutation';
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Create mutation hook for IdentityProvider
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
7
+ import type { IdentityProviderSelect, IdentityProviderWithRelations, CreateIdentityProviderInput } from '../../orm/input-types';
8
+ import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
9
+ export type { IdentityProviderSelect, IdentityProviderWithRelations, CreateIdentityProviderInput, } from '../../orm/input-types';
10
+ /**
11
+ * Mutation hook for creating a IdentityProvider
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * const { mutate, isPending } = useCreateIdentityProviderMutation({
16
+ * selection: { fields: { id: true, name: true } },
17
+ * });
18
+ *
19
+ * mutate({ name: 'New item' });
20
+ * ```
21
+ */
22
+ export declare function useCreateIdentityProviderMutation<S extends IdentityProviderSelect>(params: {
23
+ selection: {
24
+ fields: S & IdentityProviderSelect;
25
+ } & HookStrictSelect<NoInfer<S>, IdentityProviderSelect>;
26
+ } & Omit<UseMutationOptions<{
27
+ createIdentityProvider: {
28
+ identityProvider: InferSelectResult<IdentityProviderWithRelations, S>;
29
+ };
30
+ }, Error, CreateIdentityProviderInput['identityProvider']>, 'mutationFn'>): UseMutationResult<{
31
+ createIdentityProvider: {
32
+ identityProvider: InferSelectResult<IdentityProviderWithRelations, S>;
33
+ };
34
+ }, Error, CreateIdentityProviderInput['identityProvider']>;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Create mutation hook for IdentityProvider
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import { useMutation, useQueryClient } from '@tanstack/react-query';
7
+ import { getClient } from '../client';
8
+ import { buildSelectionArgs } from '../selection';
9
+ import { identityProviderKeys } from '../query-keys';
10
+ import { identityProviderMutationKeys } from '../mutation-keys';
11
+ export function useCreateIdentityProviderMutation(params) {
12
+ const args = buildSelectionArgs(params.selection);
13
+ const { selection: _selection, ...mutationOptions } = params ?? {};
14
+ void _selection;
15
+ const queryClient = useQueryClient();
16
+ return useMutation({
17
+ mutationKey: identityProviderMutationKeys.create(),
18
+ mutationFn: (data) => getClient()
19
+ .identityProvider.create({
20
+ data,
21
+ select: args.select,
22
+ })
23
+ .unwrap(),
24
+ onSuccess: () => {
25
+ queryClient.invalidateQueries({
26
+ queryKey: identityProviderKeys.lists(),
27
+ });
28
+ },
29
+ ...mutationOptions,
30
+ });
31
+ }
@@ -0,0 +1,34 @@
1
+ /**
2
+ * WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
7
+ import type { WebauthnCredentialSelect, WebauthnCredentialWithRelations, CreateWebauthnCredentialInput } from '../../orm/input-types';
8
+ import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
9
+ export type { WebauthnCredentialSelect, WebauthnCredentialWithRelations, CreateWebauthnCredentialInput, } from '../../orm/input-types';
10
+ /**
11
+ * WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * const { mutate, isPending } = useCreateWebauthnCredentialMutation({
16
+ * selection: { fields: { id: true, name: true } },
17
+ * });
18
+ *
19
+ * mutate({ name: 'New item' });
20
+ * ```
21
+ */
22
+ export declare function useCreateWebauthnCredentialMutation<S extends WebauthnCredentialSelect>(params: {
23
+ selection: {
24
+ fields: S & WebauthnCredentialSelect;
25
+ } & HookStrictSelect<NoInfer<S>, WebauthnCredentialSelect>;
26
+ } & Omit<UseMutationOptions<{
27
+ createWebauthnCredential: {
28
+ webauthnCredential: InferSelectResult<WebauthnCredentialWithRelations, S>;
29
+ };
30
+ }, Error, CreateWebauthnCredentialInput['webauthnCredential']>, 'mutationFn'>): UseMutationResult<{
31
+ createWebauthnCredential: {
32
+ webauthnCredential: InferSelectResult<WebauthnCredentialWithRelations, S>;
33
+ };
34
+ }, Error, CreateWebauthnCredentialInput['webauthnCredential']>;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import { useMutation, useQueryClient } from '@tanstack/react-query';
7
+ import { getClient } from '../client';
8
+ import { buildSelectionArgs } from '../selection';
9
+ import { webauthnCredentialKeys } from '../query-keys';
10
+ import { webauthnCredentialMutationKeys } from '../mutation-keys';
11
+ export function useCreateWebauthnCredentialMutation(params) {
12
+ const args = buildSelectionArgs(params.selection);
13
+ const { selection: _selection, ...mutationOptions } = params ?? {};
14
+ void _selection;
15
+ const queryClient = useQueryClient();
16
+ return useMutation({
17
+ mutationKey: webauthnCredentialMutationKeys.create(),
18
+ mutationFn: (data) => getClient()
19
+ .webauthnCredential.create({
20
+ data,
21
+ select: args.select,
22
+ })
23
+ .unwrap(),
24
+ onSuccess: () => {
25
+ queryClient.invalidateQueries({
26
+ queryKey: webauthnCredentialKeys.lists(),
27
+ });
28
+ },
29
+ ...mutationOptions,
30
+ });
31
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
7
+ import type { WebauthnCredentialSelect, WebauthnCredentialWithRelations } from '../../orm/input-types';
8
+ import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
9
+ export type { WebauthnCredentialSelect, WebauthnCredentialWithRelations, } from '../../orm/input-types';
10
+ /**
11
+ * WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * const { mutate, isPending } = useDeleteWebauthnCredentialMutation({
16
+ * selection: { fields: { id: true } },
17
+ * });
18
+ *
19
+ * mutate({ id: 'value-to-delete' });
20
+ * ```
21
+ */
22
+ export declare function useDeleteWebauthnCredentialMutation<S extends WebauthnCredentialSelect>(params: {
23
+ selection: {
24
+ fields: S & WebauthnCredentialSelect;
25
+ } & HookStrictSelect<NoInfer<S>, WebauthnCredentialSelect>;
26
+ } & Omit<UseMutationOptions<{
27
+ deleteWebauthnCredential: {
28
+ webauthnCredential: InferSelectResult<WebauthnCredentialWithRelations, S>;
29
+ };
30
+ }, Error, {
31
+ id: string;
32
+ }>, 'mutationFn'>): UseMutationResult<{
33
+ deleteWebauthnCredential: {
34
+ webauthnCredential: InferSelectResult<WebauthnCredentialWithRelations, S>;
35
+ };
36
+ }, Error, {
37
+ id: string;
38
+ }>;
@@ -0,0 +1,36 @@
1
+ /**
2
+ * WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import { useMutation, useQueryClient } from '@tanstack/react-query';
7
+ import { getClient } from '../client';
8
+ import { buildSelectionArgs } from '../selection';
9
+ import { webauthnCredentialKeys } from '../query-keys';
10
+ import { webauthnCredentialMutationKeys } from '../mutation-keys';
11
+ export function useDeleteWebauthnCredentialMutation(params) {
12
+ const args = buildSelectionArgs(params.selection);
13
+ const { selection: _selection, ...mutationOptions } = params ?? {};
14
+ void _selection;
15
+ const queryClient = useQueryClient();
16
+ return useMutation({
17
+ mutationKey: webauthnCredentialMutationKeys.all,
18
+ mutationFn: ({ id }) => getClient()
19
+ .webauthnCredential.delete({
20
+ where: {
21
+ id,
22
+ },
23
+ select: args.select,
24
+ })
25
+ .unwrap(),
26
+ onSuccess: (_, variables) => {
27
+ queryClient.removeQueries({
28
+ queryKey: webauthnCredentialKeys.detail(variables.id),
29
+ });
30
+ queryClient.invalidateQueries({
31
+ queryKey: webauthnCredentialKeys.lists(),
32
+ });
33
+ },
34
+ ...mutationOptions,
35
+ });
36
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
7
+ import type { WebauthnCredentialSelect, WebauthnCredentialWithRelations, WebauthnCredentialPatch } from '../../orm/input-types';
8
+ import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
9
+ export type { WebauthnCredentialSelect, WebauthnCredentialWithRelations, WebauthnCredentialPatch, } from '../../orm/input-types';
10
+ /**
11
+ * WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * const { mutate, isPending } = useUpdateWebauthnCredentialMutation({
16
+ * selection: { fields: { id: true, name: true } },
17
+ * });
18
+ *
19
+ * mutate({ id: 'value-here', webauthnCredentialPatch: { name: 'Updated' } });
20
+ * ```
21
+ */
22
+ export declare function useUpdateWebauthnCredentialMutation<S extends WebauthnCredentialSelect>(params: {
23
+ selection: {
24
+ fields: S & WebauthnCredentialSelect;
25
+ } & HookStrictSelect<NoInfer<S>, WebauthnCredentialSelect>;
26
+ } & Omit<UseMutationOptions<{
27
+ updateWebauthnCredential: {
28
+ webauthnCredential: InferSelectResult<WebauthnCredentialWithRelations, S>;
29
+ };
30
+ }, Error, {
31
+ id: string;
32
+ webauthnCredentialPatch: WebauthnCredentialPatch;
33
+ }>, 'mutationFn'>): UseMutationResult<{
34
+ updateWebauthnCredential: {
35
+ webauthnCredential: InferSelectResult<WebauthnCredentialWithRelations, S>;
36
+ };
37
+ }, Error, {
38
+ id: string;
39
+ webauthnCredentialPatch: WebauthnCredentialPatch;
40
+ }>;
@@ -0,0 +1,37 @@
1
+ /**
2
+ * WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import { useMutation, useQueryClient } from '@tanstack/react-query';
7
+ import { getClient } from '../client';
8
+ import { buildSelectionArgs } from '../selection';
9
+ import { webauthnCredentialKeys } from '../query-keys';
10
+ import { webauthnCredentialMutationKeys } from '../mutation-keys';
11
+ export function useUpdateWebauthnCredentialMutation(params) {
12
+ const args = buildSelectionArgs(params.selection);
13
+ const { selection: _selection, ...mutationOptions } = params ?? {};
14
+ void _selection;
15
+ const queryClient = useQueryClient();
16
+ return useMutation({
17
+ mutationKey: webauthnCredentialMutationKeys.all,
18
+ mutationFn: ({ id, webauthnCredentialPatch, }) => getClient()
19
+ .webauthnCredential.update({
20
+ where: {
21
+ id,
22
+ },
23
+ data: webauthnCredentialPatch,
24
+ select: args.select,
25
+ })
26
+ .unwrap(),
27
+ onSuccess: (_, variables) => {
28
+ queryClient.invalidateQueries({
29
+ queryKey: webauthnCredentialKeys.detail(variables.id),
30
+ });
31
+ queryClient.invalidateQueries({
32
+ queryKey: webauthnCredentialKeys.lists(),
33
+ });
34
+ },
35
+ ...mutationOptions,
36
+ });
37
+ }
@@ -9,8 +9,11 @@ export * from './usePhoneNumbersQuery';
9
9
  export * from './usePhoneNumberQuery';
10
10
  export * from './useCryptoAddressesQuery';
11
11
  export * from './useCryptoAddressQuery';
12
+ export * from './useWebauthnCredentialsQuery';
13
+ export * from './useWebauthnCredentialQuery';
12
14
  export * from './useAuditLogsQuery';
13
15
  export * from './useAuditLogQuery';
16
+ export * from './useIdentityProvidersQuery';
14
17
  export * from './useRoleTypesQuery';
15
18
  export * from './useRoleTypeQuery';
16
19
  export * from './useUserConnectedAccountsQuery';
@@ -9,8 +9,11 @@ export * from './usePhoneNumbersQuery';
9
9
  export * from './usePhoneNumberQuery';
10
10
  export * from './useCryptoAddressesQuery';
11
11
  export * from './useCryptoAddressQuery';
12
+ export * from './useWebauthnCredentialsQuery';
13
+ export * from './useWebauthnCredentialQuery';
12
14
  export * from './useAuditLogsQuery';
13
15
  export * from './useAuditLogQuery';
16
+ export * from './useIdentityProvidersQuery';
14
17
  export * from './useRoleTypesQuery';
15
18
  export * from './useRoleTypeQuery';
16
19
  export * from './useUserConnectedAccountsQuery';