@constructive-io/react 0.12.0 → 0.12.1

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 (455) 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 +18 -12
  4. package/admin/hooks/invalidation.js +48 -32
  5. package/admin/hooks/mutation-keys.d.ts +36 -24
  6. package/admin/hooks/mutation-keys.js +22 -15
  7. package/admin/hooks/mutations/index.d.ts +9 -6
  8. package/admin/hooks/mutations/index.js +9 -6
  9. package/admin/hooks/mutations/useCreateOrgMemberProfileMutation.d.ts +34 -0
  10. package/admin/hooks/mutations/useCreateOrgMemberProfileMutation.js +34 -0
  11. package/admin/hooks/mutations/useDeleteOrgMemberProfileMutation.d.ts +38 -0
  12. package/{public/hooks/mutations/useDeleteConnectedAccountMutation.js → admin/hooks/mutations/useDeleteOrgMemberProfileMutation.js} +7 -7
  13. package/admin/hooks/mutations/useUpdateOrgMemberProfileMutation.d.ts +40 -0
  14. package/{auth/hooks/mutations/useUpdateConnectedAccountMutation.js → admin/hooks/mutations/useUpdateOrgMemberProfileMutation.js} +9 -9
  15. package/admin/hooks/queries/index.d.ts +6 -4
  16. package/admin/hooks/queries/index.js +6 -4
  17. package/admin/hooks/queries/useOrgMemberProfileQuery.d.ts +65 -0
  18. package/{public/hooks/queries/useConnectedAccountQuery.js → admin/hooks/queries/useOrgMemberProfileQuery.js} +14 -14
  19. package/admin/hooks/queries/useOrgMemberProfilesQuery.d.ts +69 -0
  20. package/admin/hooks/queries/useOrgMemberProfilesQuery.js +38 -0
  21. package/admin/hooks/query-keys.d.ts +42 -28
  22. package/admin/hooks/query-keys.js +25 -17
  23. package/admin/orm/index.d.ts +6 -4
  24. package/admin/orm/index.js +6 -4
  25. package/admin/orm/input-types.d.ts +503 -295
  26. package/admin/orm/models/index.d.ts +3 -2
  27. package/admin/orm/models/index.js +7 -5
  28. package/admin/orm/models/orgMemberProfile.d.ts +56 -0
  29. package/{auth/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +26 -26
  30. package/admin/schema-types.d.ts +449 -288
  31. package/admin/types.d.ts +40 -22
  32. package/auth/hooks/index.d.ts +1 -1
  33. package/auth/hooks/index.js +1 -1
  34. package/auth/hooks/invalidation.d.ts +6 -6
  35. package/auth/hooks/invalidation.js +16 -16
  36. package/auth/hooks/mutation-keys.d.ts +28 -18
  37. package/auth/hooks/mutation-keys.js +30 -15
  38. package/auth/hooks/mutations/index.d.ts +9 -6
  39. package/auth/hooks/mutations/index.js +9 -6
  40. package/auth/hooks/mutations/useCreateApiKeyMutation.d.ts +20 -0
  41. package/auth/hooks/mutations/{useOneTimeTokenMutation.js → useCreateApiKeyMutation.js} +5 -5
  42. package/auth/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +34 -0
  43. package/auth/hooks/mutations/{useCreateConnectedAccountMutation.js → useCreateUserConnectedAccountMutation.js} +6 -6
  44. package/auth/hooks/mutations/useDisconnectAccountMutation.d.ts +20 -0
  45. package/auth/hooks/mutations/{useSignInOneTimeTokenMutation.js → useDisconnectAccountMutation.js} +5 -5
  46. package/auth/hooks/mutations/useProvisionNewUserMutation.d.ts +20 -0
  47. package/{public/hooks/mutations/useSignInOneTimeTokenMutation.js → auth/hooks/mutations/useProvisionNewUserMutation.js} +5 -5
  48. package/auth/hooks/mutations/useRequestCrossOriginTokenMutation.d.ts +20 -0
  49. package/auth/hooks/mutations/useRequestCrossOriginTokenMutation.js +26 -0
  50. package/auth/hooks/mutations/useRevokeApiKeyMutation.d.ts +20 -0
  51. package/{public/hooks/mutations/useOneTimeTokenMutation.js → auth/hooks/mutations/useRevokeApiKeyMutation.js} +5 -5
  52. package/auth/hooks/mutations/useRevokeSessionMutation.d.ts +20 -0
  53. package/auth/hooks/mutations/useRevokeSessionMutation.js +26 -0
  54. package/auth/hooks/mutations/useSignInCrossOriginMutation.d.ts +20 -0
  55. package/auth/hooks/mutations/useSignInCrossOriginMutation.js +26 -0
  56. package/auth/hooks/queries/index.d.ts +4 -3
  57. package/auth/hooks/queries/index.js +4 -3
  58. package/auth/hooks/queries/useRequireStepUpQuery.d.ts +53 -0
  59. package/auth/hooks/queries/useRequireStepUpQuery.js +53 -0
  60. package/auth/hooks/queries/useUserConnectedAccountQuery.d.ts +65 -0
  61. package/auth/hooks/queries/useUserConnectedAccountQuery.js +53 -0
  62. package/auth/hooks/queries/useUserConnectedAccountsQuery.d.ts +69 -0
  63. package/auth/hooks/queries/useUserConnectedAccountsQuery.js +38 -0
  64. package/auth/hooks/query-keys.d.ts +18 -16
  65. package/auth/hooks/query-keys.js +11 -10
  66. package/auth/orm/index.d.ts +45 -15
  67. package/auth/orm/index.js +2 -2
  68. package/auth/orm/input-types.d.ts +186 -251
  69. package/auth/orm/input-types.js +0 -1
  70. package/auth/orm/models/index.d.ts +1 -1
  71. package/auth/orm/models/index.js +3 -3
  72. package/auth/orm/models/userConnectedAccount.d.ts +38 -0
  73. package/auth/orm/models/userConnectedAccount.js +76 -0
  74. package/auth/orm/mutation/index.d.ts +56 -16
  75. package/auth/orm/mutation/index.js +78 -18
  76. package/auth/orm/query/index.d.ts +12 -4
  77. package/auth/orm/query/index.js +19 -7
  78. package/auth/schema-types.d.ts +112 -119
  79. package/auth/types.d.ts +10 -10
  80. package/esm/admin/hooks/index.d.ts +1 -1
  81. package/esm/admin/hooks/index.js +1 -1
  82. package/esm/admin/hooks/invalidation.d.ts +18 -12
  83. package/esm/admin/hooks/invalidation.js +49 -33
  84. package/esm/admin/hooks/mutation-keys.d.ts +36 -24
  85. package/esm/admin/hooks/mutation-keys.js +21 -14
  86. package/esm/admin/hooks/mutations/index.d.ts +9 -6
  87. package/esm/admin/hooks/mutations/index.js +9 -6
  88. package/esm/admin/hooks/mutations/useCreateOrgMemberProfileMutation.d.ts +34 -0
  89. package/esm/admin/hooks/mutations/useCreateOrgMemberProfileMutation.js +31 -0
  90. package/esm/admin/hooks/mutations/useDeleteOrgMemberProfileMutation.d.ts +38 -0
  91. package/esm/{public/hooks/mutations/useDeleteConnectedAccountMutation.js → admin/hooks/mutations/useDeleteOrgMemberProfileMutation.js} +8 -8
  92. package/esm/admin/hooks/mutations/useUpdateOrgMemberProfileMutation.d.ts +40 -0
  93. package/esm/{public/hooks/mutations/useUpdateConnectedAccountMutation.js → admin/hooks/mutations/useUpdateOrgMemberProfileMutation.js} +10 -10
  94. package/esm/admin/hooks/queries/index.d.ts +6 -4
  95. package/esm/admin/hooks/queries/index.js +6 -4
  96. package/esm/admin/hooks/queries/useOrgMemberProfileQuery.d.ts +65 -0
  97. package/esm/admin/hooks/queries/useOrgMemberProfileQuery.js +47 -0
  98. package/esm/admin/hooks/queries/useOrgMemberProfilesQuery.d.ts +69 -0
  99. package/esm/{public/hooks/queries/useConnectedAccountsQuery.js → admin/hooks/queries/useOrgMemberProfilesQuery.js} +11 -11
  100. package/esm/admin/hooks/query-keys.d.ts +42 -28
  101. package/esm/admin/hooks/query-keys.js +24 -16
  102. package/esm/admin/orm/index.d.ts +6 -4
  103. package/esm/admin/orm/index.js +6 -4
  104. package/esm/admin/orm/input-types.d.ts +503 -295
  105. package/esm/admin/orm/models/index.d.ts +3 -2
  106. package/esm/admin/orm/models/index.js +3 -2
  107. package/esm/admin/orm/models/orgMemberProfile.d.ts +56 -0
  108. package/esm/{auth/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +24 -24
  109. package/esm/admin/schema-types.d.ts +449 -288
  110. package/esm/admin/types.d.ts +40 -22
  111. package/esm/auth/hooks/index.d.ts +1 -1
  112. package/esm/auth/hooks/index.js +1 -1
  113. package/esm/auth/hooks/invalidation.d.ts +6 -6
  114. package/esm/auth/hooks/invalidation.js +17 -17
  115. package/esm/auth/hooks/mutation-keys.d.ts +28 -18
  116. package/esm/auth/hooks/mutation-keys.js +29 -14
  117. package/esm/auth/hooks/mutations/index.d.ts +9 -6
  118. package/esm/auth/hooks/mutations/index.js +9 -6
  119. package/esm/auth/hooks/mutations/useCreateApiKeyMutation.d.ts +20 -0
  120. package/esm/auth/hooks/mutations/{useOneTimeTokenMutation.js → useCreateApiKeyMutation.js} +4 -4
  121. package/esm/auth/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +34 -0
  122. package/esm/{public/hooks/mutations/useCreateConnectedAccountMutation.js → auth/hooks/mutations/useCreateUserConnectedAccountMutation.js} +7 -7
  123. package/esm/auth/hooks/mutations/useDisconnectAccountMutation.d.ts +20 -0
  124. package/esm/{public/hooks/mutations/useSignInOneTimeTokenMutation.js → auth/hooks/mutations/useDisconnectAccountMutation.js} +4 -4
  125. package/esm/auth/hooks/mutations/useProvisionNewUserMutation.d.ts +20 -0
  126. package/esm/auth/hooks/mutations/{useSignInOneTimeTokenMutation.js → useProvisionNewUserMutation.js} +4 -4
  127. package/esm/auth/hooks/mutations/useRequestCrossOriginTokenMutation.d.ts +20 -0
  128. package/esm/auth/hooks/mutations/useRequestCrossOriginTokenMutation.js +23 -0
  129. package/esm/auth/hooks/mutations/useRevokeApiKeyMutation.d.ts +20 -0
  130. package/esm/{public/hooks/mutations/useOneTimeTokenMutation.js → auth/hooks/mutations/useRevokeApiKeyMutation.js} +4 -4
  131. package/esm/auth/hooks/mutations/useRevokeSessionMutation.d.ts +20 -0
  132. package/esm/auth/hooks/mutations/useRevokeSessionMutation.js +23 -0
  133. package/esm/auth/hooks/mutations/useSignInCrossOriginMutation.d.ts +20 -0
  134. package/esm/auth/hooks/mutations/useSignInCrossOriginMutation.js +23 -0
  135. package/esm/auth/hooks/queries/index.d.ts +4 -3
  136. package/esm/auth/hooks/queries/index.js +4 -3
  137. package/esm/auth/hooks/queries/useRequireStepUpQuery.d.ts +53 -0
  138. package/esm/auth/hooks/queries/useRequireStepUpQuery.js +47 -0
  139. package/esm/auth/hooks/queries/useUserConnectedAccountQuery.d.ts +65 -0
  140. package/esm/{public/hooks/queries/useTableTemplateModuleQuery.js → auth/hooks/queries/useUserConnectedAccountQuery.js} +11 -11
  141. package/esm/auth/hooks/queries/useUserConnectedAccountsQuery.d.ts +69 -0
  142. package/esm/auth/hooks/queries/useUserConnectedAccountsQuery.js +32 -0
  143. package/esm/auth/hooks/query-keys.d.ts +18 -16
  144. package/esm/auth/hooks/query-keys.js +10 -9
  145. package/esm/auth/orm/index.d.ts +45 -15
  146. package/esm/auth/orm/index.js +2 -2
  147. package/esm/auth/orm/input-types.d.ts +186 -251
  148. package/esm/auth/orm/input-types.js +0 -1
  149. package/esm/auth/orm/models/index.d.ts +1 -1
  150. package/esm/auth/orm/models/index.js +1 -1
  151. package/esm/auth/orm/models/userConnectedAccount.d.ts +38 -0
  152. package/esm/auth/orm/models/userConnectedAccount.js +72 -0
  153. package/esm/auth/orm/mutation/index.d.ts +56 -16
  154. package/esm/auth/orm/mutation/index.js +78 -18
  155. package/esm/auth/orm/query/index.d.ts +12 -4
  156. package/esm/auth/orm/query/index.js +19 -7
  157. package/esm/auth/schema-types.d.ts +112 -119
  158. package/esm/auth/types.d.ts +10 -10
  159. package/esm/public/hooks/index.d.ts +1 -1
  160. package/esm/public/hooks/index.js +1 -1
  161. package/esm/public/hooks/invalidation.d.ts +47 -17
  162. package/esm/public/hooks/invalidation.js +122 -42
  163. package/esm/public/hooks/mutation-keys.d.ts +112 -40
  164. package/esm/public/hooks/mutation-keys.js +83 -27
  165. package/esm/public/hooks/mutations/index.d.ts +31 -12
  166. package/esm/public/hooks/mutations/index.js +31 -12
  167. package/esm/public/hooks/mutations/useCreateApiKeyMutation.d.ts +20 -0
  168. package/esm/public/hooks/mutations/useCreateApiKeyMutation.js +23 -0
  169. package/esm/public/hooks/mutations/useCreateDevicesModuleMutation.d.ts +34 -0
  170. package/esm/public/hooks/mutations/{useCreateTableTemplateModuleMutation.js → useCreateDevicesModuleMutation.js} +7 -7
  171. package/esm/public/hooks/mutations/useCreateEntityTypeProvisionMutation.d.ts +48 -0
  172. package/esm/public/hooks/mutations/useCreateEntityTypeProvisionMutation.js +38 -0
  173. package/esm/public/hooks/mutations/useCreateOrgMemberProfileMutation.d.ts +34 -0
  174. package/esm/public/hooks/mutations/useCreateOrgMemberProfileMutation.js +31 -0
  175. package/esm/public/hooks/mutations/useCreateSessionSecretsModuleMutation.d.ts +34 -0
  176. package/esm/public/hooks/mutations/useCreateSessionSecretsModuleMutation.js +31 -0
  177. package/esm/public/hooks/mutations/useCreateSpatialRelationMutation.d.ts +34 -0
  178. package/esm/{auth/hooks/mutations/useCreateConnectedAccountMutation.js → public/hooks/mutations/useCreateSpatialRelationMutation.js} +7 -7
  179. package/esm/public/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +34 -0
  180. package/esm/public/hooks/mutations/useCreateUserConnectedAccountMutation.js +31 -0
  181. package/esm/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.d.ts +34 -0
  182. package/esm/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.js +31 -0
  183. package/esm/public/hooks/mutations/useDeleteDevicesModuleMutation.d.ts +38 -0
  184. package/esm/public/hooks/mutations/{useDeleteTableTemplateModuleMutation.js → useDeleteDevicesModuleMutation.js} +8 -8
  185. package/esm/public/hooks/mutations/useDeleteEntityTypeProvisionMutation.d.ts +52 -0
  186. package/esm/public/hooks/mutations/useDeleteEntityTypeProvisionMutation.js +43 -0
  187. package/esm/public/hooks/mutations/useDeleteOrgMemberProfileMutation.d.ts +38 -0
  188. package/esm/public/hooks/mutations/useDeleteOrgMemberProfileMutation.js +36 -0
  189. package/esm/public/hooks/mutations/useDeleteSessionSecretsModuleMutation.d.ts +38 -0
  190. package/esm/public/hooks/mutations/useDeleteSessionSecretsModuleMutation.js +36 -0
  191. package/esm/public/hooks/mutations/useDeleteSpatialRelationMutation.d.ts +38 -0
  192. package/esm/{auth/hooks/mutations/useDeleteConnectedAccountMutation.js → public/hooks/mutations/useDeleteSpatialRelationMutation.js} +8 -8
  193. package/esm/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.d.ts +38 -0
  194. package/esm/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.js +36 -0
  195. package/esm/public/hooks/mutations/useDisconnectAccountMutation.d.ts +20 -0
  196. package/esm/public/hooks/mutations/useDisconnectAccountMutation.js +23 -0
  197. package/esm/public/hooks/mutations/useProvisionNewUserMutation.d.ts +20 -0
  198. package/esm/public/hooks/mutations/useProvisionNewUserMutation.js +23 -0
  199. package/esm/public/hooks/mutations/useProvisionSpatialRelationMutation.d.ts +20 -0
  200. package/esm/public/hooks/mutations/useProvisionSpatialRelationMutation.js +23 -0
  201. package/esm/public/hooks/mutations/useRequestCrossOriginTokenMutation.d.ts +20 -0
  202. package/esm/public/hooks/mutations/useRequestCrossOriginTokenMutation.js +23 -0
  203. package/esm/public/hooks/mutations/useRevokeApiKeyMutation.d.ts +20 -0
  204. package/esm/public/hooks/mutations/useRevokeApiKeyMutation.js +23 -0
  205. package/esm/public/hooks/mutations/useRevokeSessionMutation.d.ts +20 -0
  206. package/esm/public/hooks/mutations/useRevokeSessionMutation.js +23 -0
  207. package/esm/public/hooks/mutations/useSignInCrossOriginMutation.d.ts +20 -0
  208. package/esm/public/hooks/mutations/useSignInCrossOriginMutation.js +23 -0
  209. package/esm/public/hooks/mutations/useUpdateDevicesModuleMutation.d.ts +40 -0
  210. package/esm/public/hooks/mutations/{useUpdateTableTemplateModuleMutation.js → useUpdateDevicesModuleMutation.js} +10 -10
  211. package/esm/public/hooks/mutations/useUpdateEntityTypeProvisionMutation.d.ts +54 -0
  212. package/esm/public/hooks/mutations/useUpdateEntityTypeProvisionMutation.js +44 -0
  213. package/esm/public/hooks/mutations/useUpdateOrgMemberProfileMutation.d.ts +40 -0
  214. package/esm/public/hooks/mutations/useUpdateOrgMemberProfileMutation.js +37 -0
  215. package/esm/public/hooks/mutations/useUpdateSessionSecretsModuleMutation.d.ts +40 -0
  216. package/esm/public/hooks/mutations/useUpdateSessionSecretsModuleMutation.js +37 -0
  217. package/esm/public/hooks/mutations/useUpdateSpatialRelationMutation.d.ts +40 -0
  218. package/esm/{auth/hooks/mutations/useUpdateConnectedAccountMutation.js → public/hooks/mutations/useUpdateSpatialRelationMutation.js} +10 -10
  219. package/esm/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.d.ts +40 -0
  220. package/esm/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.js +37 -0
  221. package/esm/public/hooks/queries/index.d.ts +19 -7
  222. package/esm/public/hooks/queries/index.js +19 -7
  223. package/esm/public/hooks/queries/useDevicesModuleQuery.d.ts +65 -0
  224. package/esm/{auth/hooks/queries/useConnectedAccountQuery.js → public/hooks/queries/useDevicesModuleQuery.js} +11 -11
  225. package/esm/public/hooks/queries/useDevicesModulesQuery.d.ts +69 -0
  226. package/esm/public/hooks/queries/useDevicesModulesQuery.js +32 -0
  227. package/esm/public/hooks/queries/useEntityTypeProvisionQuery.d.ts +93 -0
  228. package/esm/public/hooks/queries/useEntityTypeProvisionQuery.js +54 -0
  229. package/esm/public/hooks/queries/useEntityTypeProvisionsQuery.d.ts +97 -0
  230. package/esm/public/hooks/queries/useEntityTypeProvisionsQuery.js +39 -0
  231. package/esm/public/hooks/queries/useOrgMemberProfileQuery.d.ts +65 -0
  232. package/esm/public/hooks/queries/useOrgMemberProfileQuery.js +47 -0
  233. package/esm/public/hooks/queries/useOrgMemberProfilesQuery.d.ts +69 -0
  234. package/esm/{auth/hooks/queries/useConnectedAccountsQuery.js → public/hooks/queries/useOrgMemberProfilesQuery.js} +11 -11
  235. package/esm/public/hooks/queries/useRequireStepUpQuery.d.ts +53 -0
  236. package/esm/public/hooks/queries/useRequireStepUpQuery.js +47 -0
  237. package/esm/public/hooks/queries/useResolveBlueprintFieldQuery.d.ts +53 -0
  238. package/esm/public/hooks/queries/useResolveBlueprintFieldQuery.js +47 -0
  239. package/esm/public/hooks/queries/useSessionSecretsModuleQuery.d.ts +65 -0
  240. package/esm/public/hooks/queries/useSessionSecretsModuleQuery.js +47 -0
  241. package/esm/public/hooks/queries/useSessionSecretsModulesQuery.d.ts +69 -0
  242. package/esm/public/hooks/queries/useSessionSecretsModulesQuery.js +32 -0
  243. package/esm/public/hooks/queries/useSpatialRelationQuery.d.ts +65 -0
  244. package/esm/public/hooks/queries/{useConnectedAccountQuery.js → useSpatialRelationQuery.js} +11 -11
  245. package/esm/public/hooks/queries/useSpatialRelationsQuery.d.ts +69 -0
  246. package/esm/public/hooks/queries/useSpatialRelationsQuery.js +32 -0
  247. package/esm/public/hooks/queries/useUserConnectedAccountQuery.d.ts +65 -0
  248. package/esm/public/hooks/queries/useUserConnectedAccountQuery.js +47 -0
  249. package/esm/public/hooks/queries/useUserConnectedAccountsQuery.d.ts +69 -0
  250. package/esm/public/hooks/queries/useUserConnectedAccountsQuery.js +32 -0
  251. package/esm/public/hooks/queries/useWebauthnCredentialsModuleQuery.d.ts +65 -0
  252. package/esm/public/hooks/queries/useWebauthnCredentialsModuleQuery.js +47 -0
  253. package/esm/public/hooks/queries/useWebauthnCredentialsModulesQuery.d.ts +69 -0
  254. package/esm/public/hooks/queries/useWebauthnCredentialsModulesQuery.js +32 -0
  255. package/esm/public/hooks/query-keys.d.ts +116 -42
  256. package/esm/public/hooks/query-keys.js +66 -24
  257. package/esm/public/orm/index.d.ts +69 -19
  258. package/esm/public/orm/index.js +16 -6
  259. package/esm/public/orm/input-types.d.ts +2047 -640
  260. package/esm/public/orm/input-types.js +15 -6
  261. package/esm/public/orm/models/devicesModule.d.ts +56 -0
  262. package/esm/public/orm/models/devicesModule.js +96 -0
  263. package/esm/public/orm/models/entityTypeProvision.d.ts +56 -0
  264. package/esm/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +24 -24
  265. package/esm/public/orm/models/index.d.ts +8 -3
  266. package/esm/public/orm/models/index.js +8 -3
  267. package/esm/public/orm/models/orgMemberProfile.d.ts +56 -0
  268. package/esm/public/orm/models/{connectedAccount.js → orgMemberProfile.js} +24 -24
  269. package/esm/public/orm/models/sessionSecretsModule.d.ts +56 -0
  270. package/esm/public/orm/models/sessionSecretsModule.js +96 -0
  271. package/esm/public/orm/models/spatialRelation.d.ts +56 -0
  272. package/esm/public/orm/models/spatialRelation.js +96 -0
  273. package/esm/public/orm/models/userConnectedAccount.d.ts +38 -0
  274. package/esm/public/orm/models/userConnectedAccount.js +72 -0
  275. package/esm/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
  276. package/esm/public/orm/models/webauthnCredentialsModule.js +96 -0
  277. package/esm/public/orm/mutation/index.d.ts +72 -20
  278. package/esm/public/orm/mutation/index.js +96 -24
  279. package/esm/public/orm/query/index.d.ts +24 -2
  280. package/esm/public/orm/query/index.js +36 -4
  281. package/esm/public/schema-types.d.ts +1550 -611
  282. package/esm/public/types.d.ts +98 -28
  283. package/package.json +2 -2
  284. package/public/hooks/index.d.ts +1 -1
  285. package/public/hooks/index.js +1 -1
  286. package/public/hooks/invalidation.d.ts +47 -17
  287. package/public/hooks/invalidation.js +121 -41
  288. package/public/hooks/mutation-keys.d.ts +112 -40
  289. package/public/hooks/mutation-keys.js +86 -30
  290. package/public/hooks/mutations/index.d.ts +31 -12
  291. package/public/hooks/mutations/index.js +31 -12
  292. package/public/hooks/mutations/useCreateApiKeyMutation.d.ts +20 -0
  293. package/public/hooks/mutations/useCreateApiKeyMutation.js +26 -0
  294. package/public/hooks/mutations/useCreateDevicesModuleMutation.d.ts +34 -0
  295. package/public/hooks/mutations/{useCreateTableTemplateModuleMutation.js → useCreateDevicesModuleMutation.js} +6 -6
  296. package/public/hooks/mutations/useCreateEntityTypeProvisionMutation.d.ts +48 -0
  297. package/public/hooks/mutations/useCreateEntityTypeProvisionMutation.js +41 -0
  298. package/public/hooks/mutations/useCreateOrgMemberProfileMutation.d.ts +34 -0
  299. package/public/hooks/mutations/useCreateOrgMemberProfileMutation.js +34 -0
  300. package/public/hooks/mutations/useCreateSessionSecretsModuleMutation.d.ts +34 -0
  301. package/public/hooks/mutations/useCreateSessionSecretsModuleMutation.js +34 -0
  302. package/public/hooks/mutations/useCreateSpatialRelationMutation.d.ts +34 -0
  303. package/public/hooks/mutations/{useCreateConnectedAccountMutation.js → useCreateSpatialRelationMutation.js} +6 -6
  304. package/public/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +34 -0
  305. package/public/hooks/mutations/useCreateUserConnectedAccountMutation.js +34 -0
  306. package/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.d.ts +34 -0
  307. package/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.js +34 -0
  308. package/public/hooks/mutations/useDeleteDevicesModuleMutation.d.ts +38 -0
  309. package/public/hooks/mutations/{useDeleteTableTemplateModuleMutation.js → useDeleteDevicesModuleMutation.js} +7 -7
  310. package/public/hooks/mutations/useDeleteEntityTypeProvisionMutation.d.ts +52 -0
  311. package/public/hooks/mutations/useDeleteEntityTypeProvisionMutation.js +46 -0
  312. package/public/hooks/mutations/useDeleteOrgMemberProfileMutation.d.ts +38 -0
  313. package/{auth/hooks/mutations/useDeleteConnectedAccountMutation.js → public/hooks/mutations/useDeleteOrgMemberProfileMutation.js} +7 -7
  314. package/public/hooks/mutations/useDeleteSessionSecretsModuleMutation.d.ts +38 -0
  315. package/public/hooks/mutations/useDeleteSessionSecretsModuleMutation.js +39 -0
  316. package/public/hooks/mutations/useDeleteSpatialRelationMutation.d.ts +38 -0
  317. package/public/hooks/mutations/useDeleteSpatialRelationMutation.js +39 -0
  318. package/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.d.ts +38 -0
  319. package/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.js +39 -0
  320. package/public/hooks/mutations/useDisconnectAccountMutation.d.ts +20 -0
  321. package/public/hooks/mutations/useDisconnectAccountMutation.js +26 -0
  322. package/public/hooks/mutations/useProvisionNewUserMutation.d.ts +20 -0
  323. package/public/hooks/mutations/useProvisionNewUserMutation.js +26 -0
  324. package/public/hooks/mutations/useProvisionSpatialRelationMutation.d.ts +20 -0
  325. package/public/hooks/mutations/useProvisionSpatialRelationMutation.js +26 -0
  326. package/public/hooks/mutations/useRequestCrossOriginTokenMutation.d.ts +20 -0
  327. package/public/hooks/mutations/useRequestCrossOriginTokenMutation.js +26 -0
  328. package/public/hooks/mutations/useRevokeApiKeyMutation.d.ts +20 -0
  329. package/public/hooks/mutations/useRevokeApiKeyMutation.js +26 -0
  330. package/public/hooks/mutations/useRevokeSessionMutation.d.ts +20 -0
  331. package/public/hooks/mutations/useRevokeSessionMutation.js +26 -0
  332. package/public/hooks/mutations/useSignInCrossOriginMutation.d.ts +20 -0
  333. package/public/hooks/mutations/useSignInCrossOriginMutation.js +26 -0
  334. package/public/hooks/mutations/useUpdateDevicesModuleMutation.d.ts +40 -0
  335. package/public/hooks/mutations/{useUpdateTableTemplateModuleMutation.js → useUpdateDevicesModuleMutation.js} +9 -9
  336. package/public/hooks/mutations/useUpdateEntityTypeProvisionMutation.d.ts +54 -0
  337. package/public/hooks/mutations/useUpdateEntityTypeProvisionMutation.js +47 -0
  338. package/public/hooks/mutations/useUpdateOrgMemberProfileMutation.d.ts +40 -0
  339. package/public/hooks/mutations/{useUpdateConnectedAccountMutation.js → useUpdateOrgMemberProfileMutation.js} +9 -9
  340. package/public/hooks/mutations/useUpdateSessionSecretsModuleMutation.d.ts +40 -0
  341. package/public/hooks/mutations/useUpdateSessionSecretsModuleMutation.js +40 -0
  342. package/public/hooks/mutations/useUpdateSpatialRelationMutation.d.ts +40 -0
  343. package/public/hooks/mutations/useUpdateSpatialRelationMutation.js +40 -0
  344. package/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.d.ts +40 -0
  345. package/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.js +40 -0
  346. package/public/hooks/queries/index.d.ts +19 -7
  347. package/public/hooks/queries/index.js +19 -7
  348. package/public/hooks/queries/useDevicesModuleQuery.d.ts +65 -0
  349. package/public/hooks/queries/{useTableTemplateModuleQuery.js → useDevicesModuleQuery.js} +14 -14
  350. package/public/hooks/queries/useDevicesModulesQuery.d.ts +69 -0
  351. package/public/hooks/queries/useDevicesModulesQuery.js +38 -0
  352. package/public/hooks/queries/useEntityTypeProvisionQuery.d.ts +93 -0
  353. package/public/hooks/queries/useEntityTypeProvisionQuery.js +60 -0
  354. package/public/hooks/queries/useEntityTypeProvisionsQuery.d.ts +97 -0
  355. package/public/hooks/queries/useEntityTypeProvisionsQuery.js +45 -0
  356. package/public/hooks/queries/useOrgMemberProfileQuery.d.ts +65 -0
  357. package/{auth/hooks/queries/useConnectedAccountQuery.js → public/hooks/queries/useOrgMemberProfileQuery.js} +14 -14
  358. package/public/hooks/queries/useOrgMemberProfilesQuery.d.ts +69 -0
  359. package/public/hooks/queries/useOrgMemberProfilesQuery.js +38 -0
  360. package/public/hooks/queries/useRequireStepUpQuery.d.ts +53 -0
  361. package/public/hooks/queries/useRequireStepUpQuery.js +53 -0
  362. package/public/hooks/queries/useResolveBlueprintFieldQuery.d.ts +53 -0
  363. package/public/hooks/queries/useResolveBlueprintFieldQuery.js +53 -0
  364. package/public/hooks/queries/useSessionSecretsModuleQuery.d.ts +65 -0
  365. package/public/hooks/queries/useSessionSecretsModuleQuery.js +53 -0
  366. package/public/hooks/queries/useSessionSecretsModulesQuery.d.ts +69 -0
  367. package/public/hooks/queries/useSessionSecretsModulesQuery.js +38 -0
  368. package/public/hooks/queries/useSpatialRelationQuery.d.ts +65 -0
  369. package/public/hooks/queries/useSpatialRelationQuery.js +53 -0
  370. package/public/hooks/queries/useSpatialRelationsQuery.d.ts +69 -0
  371. package/public/hooks/queries/useSpatialRelationsQuery.js +38 -0
  372. package/public/hooks/queries/useUserConnectedAccountQuery.d.ts +65 -0
  373. package/public/hooks/queries/useUserConnectedAccountQuery.js +53 -0
  374. package/public/hooks/queries/useUserConnectedAccountsQuery.d.ts +69 -0
  375. package/public/hooks/queries/useUserConnectedAccountsQuery.js +38 -0
  376. package/public/hooks/queries/useWebauthnCredentialsModuleQuery.d.ts +65 -0
  377. package/public/hooks/queries/useWebauthnCredentialsModuleQuery.js +53 -0
  378. package/public/hooks/queries/useWebauthnCredentialsModulesQuery.d.ts +69 -0
  379. package/public/hooks/queries/useWebauthnCredentialsModulesQuery.js +38 -0
  380. package/public/hooks/query-keys.d.ts +116 -42
  381. package/public/hooks/query-keys.js +69 -27
  382. package/public/orm/index.d.ts +69 -19
  383. package/public/orm/index.js +16 -6
  384. package/public/orm/input-types.d.ts +2047 -640
  385. package/public/orm/input-types.js +15 -6
  386. package/public/orm/models/devicesModule.d.ts +56 -0
  387. package/public/orm/models/devicesModule.js +100 -0
  388. package/public/orm/models/entityTypeProvision.d.ts +56 -0
  389. package/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +26 -26
  390. package/public/orm/models/index.d.ts +8 -3
  391. package/public/orm/models/index.js +19 -9
  392. package/public/orm/models/orgMemberProfile.d.ts +56 -0
  393. package/public/orm/models/{connectedAccount.js → orgMemberProfile.js} +26 -26
  394. package/public/orm/models/sessionSecretsModule.d.ts +56 -0
  395. package/public/orm/models/sessionSecretsModule.js +100 -0
  396. package/public/orm/models/spatialRelation.d.ts +56 -0
  397. package/public/orm/models/spatialRelation.js +100 -0
  398. package/public/orm/models/userConnectedAccount.d.ts +38 -0
  399. package/public/orm/models/userConnectedAccount.js +76 -0
  400. package/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
  401. package/public/orm/models/webauthnCredentialsModule.js +100 -0
  402. package/public/orm/mutation/index.d.ts +72 -20
  403. package/public/orm/mutation/index.js +96 -24
  404. package/public/orm/query/index.d.ts +24 -2
  405. package/public/orm/query/index.js +36 -4
  406. package/public/schema-types.d.ts +1550 -611
  407. package/public/types.d.ts +98 -28
  408. package/auth/hooks/mutations/useCreateConnectedAccountMutation.d.ts +0 -34
  409. package/auth/hooks/mutations/useDeleteConnectedAccountMutation.d.ts +0 -38
  410. package/auth/hooks/mutations/useOneTimeTokenMutation.d.ts +0 -20
  411. package/auth/hooks/mutations/useSignInOneTimeTokenMutation.d.ts +0 -20
  412. package/auth/hooks/mutations/useUpdateConnectedAccountMutation.d.ts +0 -40
  413. package/auth/hooks/queries/useConnectedAccountQuery.d.ts +0 -65
  414. package/auth/hooks/queries/useConnectedAccountsQuery.d.ts +0 -69
  415. package/auth/hooks/queries/useConnectedAccountsQuery.js +0 -38
  416. package/auth/orm/models/connectedAccount.d.ts +0 -56
  417. package/esm/auth/hooks/mutations/useCreateConnectedAccountMutation.d.ts +0 -34
  418. package/esm/auth/hooks/mutations/useDeleteConnectedAccountMutation.d.ts +0 -38
  419. package/esm/auth/hooks/mutations/useOneTimeTokenMutation.d.ts +0 -20
  420. package/esm/auth/hooks/mutations/useSignInOneTimeTokenMutation.d.ts +0 -20
  421. package/esm/auth/hooks/mutations/useUpdateConnectedAccountMutation.d.ts +0 -40
  422. package/esm/auth/hooks/queries/useConnectedAccountQuery.d.ts +0 -65
  423. package/esm/auth/hooks/queries/useConnectedAccountsQuery.d.ts +0 -69
  424. package/esm/auth/orm/models/connectedAccount.d.ts +0 -56
  425. package/esm/public/hooks/mutations/useCreateConnectedAccountMutation.d.ts +0 -34
  426. package/esm/public/hooks/mutations/useCreateTableTemplateModuleMutation.d.ts +0 -34
  427. package/esm/public/hooks/mutations/useDeleteConnectedAccountMutation.d.ts +0 -38
  428. package/esm/public/hooks/mutations/useDeleteTableTemplateModuleMutation.d.ts +0 -38
  429. package/esm/public/hooks/mutations/useOneTimeTokenMutation.d.ts +0 -20
  430. package/esm/public/hooks/mutations/useSignInOneTimeTokenMutation.d.ts +0 -20
  431. package/esm/public/hooks/mutations/useUpdateConnectedAccountMutation.d.ts +0 -40
  432. package/esm/public/hooks/mutations/useUpdateTableTemplateModuleMutation.d.ts +0 -40
  433. package/esm/public/hooks/queries/useConnectedAccountQuery.d.ts +0 -65
  434. package/esm/public/hooks/queries/useConnectedAccountsQuery.d.ts +0 -69
  435. package/esm/public/hooks/queries/useTableTemplateModuleQuery.d.ts +0 -65
  436. package/esm/public/hooks/queries/useTableTemplateModulesQuery.d.ts +0 -69
  437. package/esm/public/hooks/queries/useTableTemplateModulesQuery.js +0 -32
  438. package/esm/public/orm/models/connectedAccount.d.ts +0 -56
  439. package/esm/public/orm/models/tableTemplateModule.d.ts +0 -56
  440. package/public/hooks/mutations/useCreateConnectedAccountMutation.d.ts +0 -34
  441. package/public/hooks/mutations/useCreateTableTemplateModuleMutation.d.ts +0 -34
  442. package/public/hooks/mutations/useDeleteConnectedAccountMutation.d.ts +0 -38
  443. package/public/hooks/mutations/useDeleteTableTemplateModuleMutation.d.ts +0 -38
  444. package/public/hooks/mutations/useOneTimeTokenMutation.d.ts +0 -20
  445. package/public/hooks/mutations/useSignInOneTimeTokenMutation.d.ts +0 -20
  446. package/public/hooks/mutations/useUpdateConnectedAccountMutation.d.ts +0 -40
  447. package/public/hooks/mutations/useUpdateTableTemplateModuleMutation.d.ts +0 -40
  448. package/public/hooks/queries/useConnectedAccountQuery.d.ts +0 -65
  449. package/public/hooks/queries/useConnectedAccountsQuery.d.ts +0 -69
  450. package/public/hooks/queries/useConnectedAccountsQuery.js +0 -38
  451. package/public/hooks/queries/useTableTemplateModuleQuery.d.ts +0 -65
  452. package/public/hooks/queries/useTableTemplateModulesQuery.d.ts +0 -69
  453. package/public/hooks/queries/useTableTemplateModulesQuery.js +0 -38
  454. package/public/orm/models/connectedAccount.d.ts +0 -56
  455. package/public/orm/models/tableTemplateModule.d.ts +0 -56
@@ -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 type { AppAchievement, AppAdminGrant, AppClaimedInvite, AppGrant, AppInvite, AppLevel, AppLevelRequirement, AppLimit, AppLimitDefault, AppMembership, AppMembershipDefault, AppOwnerGrant, AppPermission, AppPermissionDefault, AppStep, MembershipType, OrgAdminGrant, OrgChartEdge, OrgChartEdgeGrant, OrgClaimedInvite, OrgGetManagersRecord, OrgGetSubordinatesRecord, OrgGrant, OrgInvite, OrgLimit, OrgLimitDefault, OrgMember, OrgMembership, OrgMembershipDefault, OrgOwnerGrant, OrgPermission, OrgPermissionDefault, BitStringFilter, BooleanFilter, DatetimeFilter, IntFilter, StringFilter, UUIDFilter } from './types';
6
+ import type { AppAchievement, AppAdminGrant, AppClaimedInvite, AppGrant, AppInvite, AppLevel, AppLevelRequirement, AppLimit, AppLimitDefault, AppMembership, AppMembershipDefault, AppOwnerGrant, AppPermission, AppPermissionDefault, AppStep, MembershipType, OrgAdminGrant, OrgChartEdge, OrgChartEdgeGrant, OrgClaimedInvite, OrgGetManagersRecord, OrgGetSubordinatesRecord, OrgGrant, OrgInvite, OrgLimit, OrgLimitDefault, OrgMember, OrgMemberProfile, OrgMembership, OrgMembershipDefault, OrgOwnerGrant, OrgPermission, OrgPermissionDefault, BitStringFilter, BooleanFilter, DatetimeFilter, IntFilter, StringFilter, UUIDFilter } from './types';
7
7
  export type ConstructiveInternalTypeEmail = unknown;
8
8
  export type ConstructiveInternalTypeImage = unknown;
9
9
  /** Methods to use when ordering `OrgMember`. */
@@ -24,8 +24,6 @@ export type OrgLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KE
24
24
  export type OrgAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
25
25
  /** Methods to use when ordering `OrgOwnerGrant`. */
26
26
  export type OrgOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
27
- /** Methods to use when ordering `MembershipType`. */
28
- export type MembershipTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC';
29
27
  /** Methods to use when ordering `AppPermission`. */
30
28
  export type AppPermissionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC' | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC';
31
29
  /** Methods to use when ordering `OrgPermission`. */
@@ -42,6 +40,8 @@ export type AppClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_K
42
40
  export type OrgChartEdgeGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
43
41
  /** Methods to use when ordering `OrgLimit`. */
44
42
  export type OrgLimitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NUM_ASC' | 'NUM_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
43
+ /** Methods to use when ordering `MembershipType`. */
44
+ export type MembershipTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PARENT_MEMBERSHIP_TYPE_ASC' | 'PARENT_MEMBERSHIP_TYPE_DESC' | 'HAS_USERS_TABLE_ENTRY_ASC' | 'HAS_USERS_TABLE_ENTRY_DESC';
45
45
  /** Methods to use when ordering `AppGrant`. */
46
46
  export type AppGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
47
47
  /** Methods to use when ordering `AppMembershipDefault`. */
@@ -56,16 +56,18 @@ export type OrgChartEdgeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_D
56
56
  export type AppLevelRequirementOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LEVEL_ASC' | 'LEVEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'REQUIRED_COUNT_ASC' | 'REQUIRED_COUNT_DESC' | 'PRIORITY_ASC' | 'PRIORITY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
57
57
  /** Methods to use when ordering `OrgMembershipDefault`. */
58
58
  export type OrgMembershipDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'DELETE_MEMBER_CASCADE_GROUPS_ASC' | 'DELETE_MEMBER_CASCADE_GROUPS_DESC' | 'CREATE_GROUPS_CASCADE_MEMBERS_ASC' | 'CREATE_GROUPS_CASCADE_MEMBERS_DESC';
59
+ /** Methods to use when ordering `OrgMemberProfile`. */
60
+ export type OrgMemberProfileOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'MEMBERSHIP_ID_ASC' | 'MEMBERSHIP_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'BIO_ASC' | 'BIO_DESC' | 'PROFILE_PICTURE_ASC' | 'PROFILE_PICTURE_DESC';
59
61
  /** Methods to use when ordering `AppLevel`. */
60
62
  export type AppLevelOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'IMAGE_ASC' | 'IMAGE_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
61
63
  /** Methods to use when ordering `AppInvite`. */
62
64
  export type AppInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
63
- /** Methods to use when ordering `AppMembership`. */
64
- export type AppMembershipOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
65
- /** Methods to use when ordering `OrgMembership`. */
66
- export type OrgMembershipOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
67
65
  /** Methods to use when ordering `OrgInvite`. */
68
66
  export type OrgInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
67
+ /** Methods to use when ordering `AppMembership`. */
68
+ export type AppMembershipOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_EXTERNAL_ASC' | 'IS_EXTERNAL_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
69
+ /** Methods to use when ordering `OrgMembership`. */
70
+ export type OrgMembershipOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_EXTERNAL_ASC' | 'IS_EXTERNAL_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
69
71
  /** A filter to be used against `OrgMember` object types. All fields are combined with a logical ‘and.’ */
70
72
  export interface OrgMemberFilter {
71
73
  /** Filter by the object’s `id` field. */
@@ -229,23 +231,6 @@ export interface OrgOwnerGrantFilter {
229
231
  /** Negates the expression. */
230
232
  not?: OrgOwnerGrantFilter;
231
233
  }
232
- /** A filter to be used against `MembershipType` object types. All fields are combined with a logical ‘and.’ */
233
- export interface MembershipTypeFilter {
234
- /** Filter by the object’s `id` field. */
235
- id?: IntFilter;
236
- /** Filter by the object’s `name` field. */
237
- name?: StringFilter;
238
- /** Filter by the object’s `description` field. */
239
- description?: StringFilter;
240
- /** Filter by the object’s `prefix` field. */
241
- prefix?: StringFilter;
242
- /** Checks for all expressions in this list. */
243
- and?: MembershipTypeFilter[];
244
- /** Checks for any expressions in this list. */
245
- or?: MembershipTypeFilter[];
246
- /** Negates the expression. */
247
- not?: MembershipTypeFilter;
248
- }
249
234
  /** A filter to be used against `AppPermission` object types. All fields are combined with a logical ‘and.’ */
250
235
  export interface AppPermissionFilter {
251
236
  /** Filter by the object’s `id` field. */
@@ -412,6 +397,27 @@ export interface OrgLimitFilter {
412
397
  /** Negates the expression. */
413
398
  not?: OrgLimitFilter;
414
399
  }
400
+ /** A filter to be used against `MembershipType` object types. All fields are combined with a logical ‘and.’ */
401
+ export interface MembershipTypeFilter {
402
+ /** Filter by the object’s `id` field. */
403
+ id?: IntFilter;
404
+ /** Filter by the object’s `name` field. */
405
+ name?: StringFilter;
406
+ /** Filter by the object’s `description` field. */
407
+ description?: StringFilter;
408
+ /** Filter by the object’s `prefix` field. */
409
+ prefix?: StringFilter;
410
+ /** Filter by the object’s `parentMembershipType` field. */
411
+ parentMembershipType?: IntFilter;
412
+ /** Filter by the object’s `hasUsersTableEntry` field. */
413
+ hasUsersTableEntry?: BooleanFilter;
414
+ /** Checks for all expressions in this list. */
415
+ and?: MembershipTypeFilter[];
416
+ /** Checks for any expressions in this list. */
417
+ or?: MembershipTypeFilter[];
418
+ /** Negates the expression. */
419
+ not?: MembershipTypeFilter;
420
+ }
415
421
  /** A filter to be used against `AppGrant` object types. All fields are combined with a logical ‘and.’ */
416
422
  export interface AppGrantFilter {
417
423
  /** Filter by the object’s `id` field. */
@@ -581,28 +587,38 @@ export interface OrgMembershipDefaultFilter {
581
587
  /** Negates the expression. */
582
588
  not?: OrgMembershipDefaultFilter;
583
589
  }
584
- /** A filter to be used against `AppLevel` object types. All fields are combined with a logical ‘and.’ */
585
- export interface AppLevelFilter {
590
+ /** A filter to be used against `OrgMemberProfile` object types. All fields are combined with a logical ‘and.’ */
591
+ export interface OrgMemberProfileFilter {
586
592
  /** Filter by the object’s `id` field. */
587
593
  id?: UUIDFilter;
588
- /** Filter by the object’s `name` field. */
589
- name?: StringFilter;
590
- /** Filter by the object’s `description` field. */
591
- description?: StringFilter;
592
- /** Filter by the object’s `image` field. */
593
- image?: ConstructiveInternalTypeImageFilter;
594
- /** Filter by the object’s `ownerId` field. */
595
- ownerId?: UUIDFilter;
596
594
  /** Filter by the object’s `createdAt` field. */
597
595
  createdAt?: DatetimeFilter;
598
596
  /** Filter by the object’s `updatedAt` field. */
599
597
  updatedAt?: DatetimeFilter;
598
+ /** Filter by the object’s `membershipId` field. */
599
+ membershipId?: UUIDFilter;
600
+ /** Filter by the object’s `entityId` field. */
601
+ entityId?: UUIDFilter;
602
+ /** Filter by the object’s `actorId` field. */
603
+ actorId?: UUIDFilter;
604
+ /** Filter by the object’s `displayName` field. */
605
+ displayName?: StringFilter;
606
+ /** Filter by the object’s `email` field. */
607
+ email?: StringFilter;
608
+ /** Filter by the object’s `title` field. */
609
+ title?: StringFilter;
610
+ /** Filter by the object’s `bio` field. */
611
+ bio?: StringFilter;
612
+ /** Filter by the object’s `profilePicture` field. */
613
+ profilePicture?: ConstructiveInternalTypeImageFilter;
600
614
  /** Checks for all expressions in this list. */
601
- and?: AppLevelFilter[];
615
+ and?: OrgMemberProfileFilter[];
602
616
  /** Checks for any expressions in this list. */
603
- or?: AppLevelFilter[];
617
+ or?: OrgMemberProfileFilter[];
604
618
  /** Negates the expression. */
605
- not?: AppLevelFilter;
619
+ not?: OrgMemberProfileFilter;
620
+ /** Filter by the object’s `membership` relation. */
621
+ membership?: OrgMembershipFilter;
606
622
  }
607
623
  /** A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ */
608
624
  export interface ConstructiveInternalTypeImageFilter {
@@ -639,6 +655,78 @@ export interface ConstructiveInternalTypeImageFilter {
639
655
  /** Contained by the specified JSON. */
640
656
  containedBy?: ConstructiveInternalTypeImage;
641
657
  }
658
+ /** A filter to be used against `OrgMembership` object types. All fields are combined with a logical ‘and.’ */
659
+ export interface OrgMembershipFilter {
660
+ /** Filter by the object’s `id` field. */
661
+ id?: UUIDFilter;
662
+ /** Filter by the object’s `createdAt` field. */
663
+ createdAt?: DatetimeFilter;
664
+ /** Filter by the object’s `updatedAt` field. */
665
+ updatedAt?: DatetimeFilter;
666
+ /** Filter by the object’s `createdBy` field. */
667
+ createdBy?: UUIDFilter;
668
+ /** Filter by the object’s `updatedBy` field. */
669
+ updatedBy?: UUIDFilter;
670
+ /** Filter by the object’s `isApproved` field. */
671
+ isApproved?: BooleanFilter;
672
+ /** Filter by the object’s `isBanned` field. */
673
+ isBanned?: BooleanFilter;
674
+ /** Filter by the object’s `isDisabled` field. */
675
+ isDisabled?: BooleanFilter;
676
+ /** Filter by the object’s `isActive` field. */
677
+ isActive?: BooleanFilter;
678
+ /** Filter by the object’s `isExternal` field. */
679
+ isExternal?: BooleanFilter;
680
+ /** Filter by the object’s `isOwner` field. */
681
+ isOwner?: BooleanFilter;
682
+ /** Filter by the object’s `isAdmin` field. */
683
+ isAdmin?: BooleanFilter;
684
+ /** Filter by the object’s `permissions` field. */
685
+ permissions?: BitStringFilter;
686
+ /** Filter by the object’s `granted` field. */
687
+ granted?: BitStringFilter;
688
+ /** Filter by the object’s `actorId` field. */
689
+ actorId?: UUIDFilter;
690
+ /** Filter by the object’s `entityId` field. */
691
+ entityId?: UUIDFilter;
692
+ /** Filter by the object’s `isReadOnly` field. */
693
+ isReadOnly?: BooleanFilter;
694
+ /** Filter by the object’s `profileId` field. */
695
+ profileId?: UUIDFilter;
696
+ /** Checks for all expressions in this list. */
697
+ and?: OrgMembershipFilter[];
698
+ /** Checks for any expressions in this list. */
699
+ or?: OrgMembershipFilter[];
700
+ /** Negates the expression. */
701
+ not?: OrgMembershipFilter;
702
+ /** Filter by the object’s `orgMemberProfileByMembershipId` relation. */
703
+ orgMemberProfileByMembershipId?: OrgMemberProfileFilter;
704
+ /** A related `orgMemberProfileByMembershipId` exists. */
705
+ orgMemberProfileByMembershipIdExists?: boolean;
706
+ }
707
+ /** A filter to be used against `AppLevel` object types. All fields are combined with a logical ‘and.’ */
708
+ export interface AppLevelFilter {
709
+ /** Filter by the object’s `id` field. */
710
+ id?: UUIDFilter;
711
+ /** Filter by the object’s `name` field. */
712
+ name?: StringFilter;
713
+ /** Filter by the object’s `description` field. */
714
+ description?: StringFilter;
715
+ /** Filter by the object’s `image` field. */
716
+ image?: ConstructiveInternalTypeImageFilter;
717
+ /** Filter by the object’s `ownerId` field. */
718
+ ownerId?: UUIDFilter;
719
+ /** Filter by the object’s `createdAt` field. */
720
+ createdAt?: DatetimeFilter;
721
+ /** Filter by the object’s `updatedAt` field. */
722
+ updatedAt?: DatetimeFilter;
723
+ /** Checks for all expressions in this list. */
724
+ and?: AppLevelFilter[];
725
+ /** Checks for any expressions in this list. */
726
+ or?: AppLevelFilter[];
727
+ /** Negates the expression. */
728
+ not?: AppLevelFilter;
729
+ }
642
730
  /** A filter to be used against `AppInvite` object types. All fields are combined with a logical ‘and.’ */
643
731
  export interface AppInviteFilter {
644
732
  /** Filter by the object’s `id` field. */
@@ -747,49 +835,43 @@ export interface ConstructiveInternalTypeEmailFilter {
747
835
  /** Greater than or equal to the specified value (case-insensitive). */
748
836
  greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
749
837
  }
750
- /** A filter to be used against `AppMembership` object types. All fields are combined with a logical ‘and.’ */
751
- export interface AppMembershipFilter {
838
+ /** A filter to be used against `OrgInvite` object types. All fields are combined with a logical ‘and.’ */
839
+ export interface OrgInviteFilter {
752
840
  /** Filter by the object’s `id` field. */
753
841
  id?: UUIDFilter;
842
+ /** Filter by the object’s `email` field. */
843
+ email?: ConstructiveInternalTypeEmailFilter;
844
+ /** Filter by the object’s `senderId` field. */
845
+ senderId?: UUIDFilter;
846
+ /** Filter by the object’s `receiverId` field. */
847
+ receiverId?: UUIDFilter;
848
+ /** Filter by the object’s `inviteToken` field. */
849
+ inviteToken?: StringFilter;
850
+ /** Filter by the object’s `inviteValid` field. */
851
+ inviteValid?: BooleanFilter;
852
+ /** Filter by the object’s `inviteLimit` field. */
853
+ inviteLimit?: IntFilter;
854
+ /** Filter by the object’s `inviteCount` field. */
855
+ inviteCount?: IntFilter;
856
+ /** Filter by the object’s `multiple` field. */
857
+ multiple?: BooleanFilter;
858
+ /** Filter by the object’s `expiresAt` field. */
859
+ expiresAt?: DatetimeFilter;
754
860
  /** Filter by the object’s `createdAt` field. */
755
861
  createdAt?: DatetimeFilter;
756
862
  /** Filter by the object’s `updatedAt` field. */
757
863
  updatedAt?: DatetimeFilter;
758
- /** Filter by the object’s `createdBy` field. */
759
- createdBy?: UUIDFilter;
760
- /** Filter by the object’s `updatedBy` field. */
761
- updatedBy?: UUIDFilter;
762
- /** Filter by the object’s `isApproved` field. */
763
- isApproved?: BooleanFilter;
764
- /** Filter by the object’s `isBanned` field. */
765
- isBanned?: BooleanFilter;
766
- /** Filter by the object’s `isDisabled` field. */
767
- isDisabled?: BooleanFilter;
768
- /** Filter by the object’s `isVerified` field. */
769
- isVerified?: BooleanFilter;
770
- /** Filter by the object’s `isActive` field. */
771
- isActive?: BooleanFilter;
772
- /** Filter by the object’s `isOwner` field. */
773
- isOwner?: BooleanFilter;
774
- /** Filter by the object’s `isAdmin` field. */
775
- isAdmin?: BooleanFilter;
776
- /** Filter by the object’s `permissions` field. */
777
- permissions?: BitStringFilter;
778
- /** Filter by the object’s `granted` field. */
779
- granted?: BitStringFilter;
780
- /** Filter by the object’s `actorId` field. */
781
- actorId?: UUIDFilter;
782
- /** Filter by the object’s `profileId` field. */
783
- profileId?: UUIDFilter;
864
+ /** Filter by the object’s `entityId` field. */
865
+ entityId?: UUIDFilter;
784
866
  /** Checks for all expressions in this list. */
785
- and?: AppMembershipFilter[];
867
+ and?: OrgInviteFilter[];
786
868
  /** Checks for any expressions in this list. */
787
- or?: AppMembershipFilter[];
869
+ or?: OrgInviteFilter[];
788
870
  /** Negates the expression. */
789
- not?: AppMembershipFilter;
871
+ not?: OrgInviteFilter;
790
872
  }
791
- /** A filter to be used against `OrgMembership` object types. All fields are combined with a logical ‘and.’ */
792
- export interface OrgMembershipFilter {
873
+ /** A filter to be used against `AppMembership` object types. All fields are combined with a logical ‘and.’ */
874
+ export interface AppMembershipFilter {
793
875
  /** Filter by the object’s `id` field. */
794
876
  id?: UUIDFilter;
795
877
  /** Filter by the object’s `createdAt` field. */
@@ -806,8 +888,12 @@ export interface OrgMembershipFilter {
806
888
  isBanned?: BooleanFilter;
807
889
  /** Filter by the object’s `isDisabled` field. */
808
890
  isDisabled?: BooleanFilter;
891
+ /** Filter by the object’s `isVerified` field. */
892
+ isVerified?: BooleanFilter;
809
893
  /** Filter by the object’s `isActive` field. */
810
894
  isActive?: BooleanFilter;
895
+ /** Filter by the object’s `isExternal` field. */
896
+ isExternal?: BooleanFilter;
811
897
  /** Filter by the object’s `isOwner` field. */
812
898
  isOwner?: BooleanFilter;
813
899
  /** Filter by the object’s `isAdmin` field. */
@@ -818,51 +904,14 @@ export interface OrgMembershipFilter {
818
904
  granted?: BitStringFilter;
819
905
  /** Filter by the object’s `actorId` field. */
820
906
  actorId?: UUIDFilter;
821
- /** Filter by the object’s `entityId` field. */
822
- entityId?: UUIDFilter;
823
907
  /** Filter by the object’s `profileId` field. */
824
908
  profileId?: UUIDFilter;
825
909
  /** Checks for all expressions in this list. */
826
- and?: OrgMembershipFilter[];
827
- /** Checks for any expressions in this list. */
828
- or?: OrgMembershipFilter[];
829
- /** Negates the expression. */
830
- not?: OrgMembershipFilter;
831
- }
832
- /** A filter to be used against `OrgInvite` object types. All fields are combined with a logical ‘and.’ */
833
- export interface OrgInviteFilter {
834
- /** Filter by the object’s `id` field. */
835
- id?: UUIDFilter;
836
- /** Filter by the object’s `email` field. */
837
- email?: ConstructiveInternalTypeEmailFilter;
838
- /** Filter by the object’s `senderId` field. */
839
- senderId?: UUIDFilter;
840
- /** Filter by the object’s `receiverId` field. */
841
- receiverId?: UUIDFilter;
842
- /** Filter by the object’s `inviteToken` field. */
843
- inviteToken?: StringFilter;
844
- /** Filter by the object’s `inviteValid` field. */
845
- inviteValid?: BooleanFilter;
846
- /** Filter by the object’s `inviteLimit` field. */
847
- inviteLimit?: IntFilter;
848
- /** Filter by the object’s `inviteCount` field. */
849
- inviteCount?: IntFilter;
850
- /** Filter by the object’s `multiple` field. */
851
- multiple?: BooleanFilter;
852
- /** Filter by the object’s `expiresAt` field. */
853
- expiresAt?: DatetimeFilter;
854
- /** Filter by the object’s `createdAt` field. */
855
- createdAt?: DatetimeFilter;
856
- /** Filter by the object’s `updatedAt` field. */
857
- updatedAt?: DatetimeFilter;
858
- /** Filter by the object’s `entityId` field. */
859
- entityId?: UUIDFilter;
860
- /** Checks for all expressions in this list. */
861
- and?: OrgInviteFilter[];
910
+ and?: AppMembershipFilter[];
862
911
  /** Checks for any expressions in this list. */
863
- or?: OrgInviteFilter[];
912
+ or?: AppMembershipFilter[];
864
913
  /** Negates the expression. */
865
- not?: OrgInviteFilter;
914
+ not?: AppMembershipFilter;
866
915
  }
867
916
  export interface SubmitAppInviteCodeInput {
868
917
  clientMutationId?: string;
@@ -1005,22 +1054,6 @@ export interface OrgOwnerGrantInput {
1005
1054
  createdAt?: string;
1006
1055
  updatedAt?: string;
1007
1056
  }
1008
- export interface CreateMembershipTypeInput {
1009
- clientMutationId?: string;
1010
- /** The `MembershipType` to be created by this mutation. */
1011
- membershipType: MembershipTypeInput;
1012
- }
1013
- /** An input for mutations affecting `MembershipType` */
1014
- export interface MembershipTypeInput {
1015
- /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
1016
- id: number;
1017
- /** Human-readable name of the membership type */
1018
- name: string;
1019
- /** Description of what this membership type represents */
1020
- description: string;
1021
- /** Short prefix used to namespace tables and functions for this membership scope */
1022
- prefix: string;
1023
- }
1024
1057
  export interface CreateAppPermissionInput {
1025
1058
  clientMutationId?: string;
1026
1059
  /** The `AppPermission` to be created by this mutation. */
@@ -1164,6 +1197,26 @@ export interface OrgLimitInput {
1164
1197
  max?: number;
1165
1198
  entityId: string;
1166
1199
  }
1200
+ export interface CreateMembershipTypeInput {
1201
+ clientMutationId?: string;
1202
+ /** The `MembershipType` to be created by this mutation. */
1203
+ membershipType: MembershipTypeInput;
1204
+ }
1205
+ /** An input for mutations affecting `MembershipType` */
1206
+ export interface MembershipTypeInput {
1207
+ /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
1208
+ id: number;
1209
+ /** Human-readable name of the membership type */
1210
+ name: string;
1211
+ /** Description of what this membership type represents */
1212
+ description: string;
1213
+ /** Short prefix used to namespace tables and functions for this membership scope */
1214
+ prefix: string;
1215
+ /** Parent membership type ID for SPRT cascade chain (e.g. type 2 parent=1, type 3 parent=2) */
1216
+ parentMembershipType?: number;
1217
+ /** When true, entities of this membership type get a one-to-one ID in the users table and a corresponding role_type entry, enabling them to own resources via owner_id FKs */
1218
+ hasUsersTableEntry?: boolean;
1219
+ }
1167
1220
  export interface CreateAppGrantInput {
1168
1221
  clientMutationId?: string;
1169
1222
  /** The `AppGrant` to be created by this mutation. */
@@ -1300,6 +1353,33 @@ export interface OrgMembershipDefaultInput {
1300
1353
  /** When a group is created, whether to auto-add existing org members as group members */
1301
1354
  createGroupsCascadeMembers?: boolean;
1302
1355
  }
1356
+ export interface CreateOrgMemberProfileInput {
1357
+ clientMutationId?: string;
1358
+ /** The `OrgMemberProfile` to be created by this mutation. */
1359
+ orgMemberProfile: OrgMemberProfileInput;
1360
+ }
1361
+ /** An input for mutations affecting `OrgMemberProfile` */
1362
+ export interface OrgMemberProfileInput {
1363
+ id?: string;
1364
+ createdAt?: string;
1365
+ updatedAt?: string;
1366
+ /** References the membership this profile belongs to (1:1) */
1367
+ membershipId: string;
1368
+ /** References the entity this profile belongs to (used for RLS lookups) */
1369
+ entityId: string;
1370
+ /** References the user who owns this profile (for self-edit RLS) */
1371
+ actorId: string;
1372
+ /** Display name shown to other entity members */
1373
+ displayName?: string;
1374
+ /** Email address visible to other entity members (auto-populated from verified primary email) */
1375
+ email?: string;
1376
+ /** Job title or role description visible to other entity members */
1377
+ title?: string;
1378
+ /** Short biography visible to other entity members */
1379
+ bio?: string;
1380
+ /** Profile picture visible to other entity members */
1381
+ profilePicture?: ConstructiveInternalTypeImage;
1382
+ }
1303
1383
  export interface CreateAppLevelInput {
1304
1384
  clientMutationId?: string;
1305
1385
  /** The `AppLevel` to be created by this mutation. */
@@ -1348,6 +1428,38 @@ export interface AppInviteInput {
1348
1428
  createdAt?: string;
1349
1429
  updatedAt?: string;
1350
1430
  }
1431
+ export interface CreateOrgInviteInput {
1432
+ clientMutationId?: string;
1433
+ /** The `OrgInvite` to be created by this mutation. */
1434
+ orgInvite: OrgInviteInput;
1435
+ }
1436
+ /** An input for mutations affecting `OrgInvite` */
1437
+ export interface OrgInviteInput {
1438
+ id?: string;
1439
+ /** Email address of the invited recipient */
1440
+ email?: ConstructiveInternalTypeEmail;
1441
+ /** User ID of the member who sent this invitation */
1442
+ senderId?: string;
1443
+ /** User ID of the intended recipient, if targeting a specific user */
1444
+ receiverId?: string;
1445
+ /** Unique random hex token used to redeem this invitation */
1446
+ inviteToken?: string;
1447
+ /** Whether this invitation is still valid and can be redeemed */
1448
+ inviteValid?: boolean;
1449
+ /** Maximum number of times this invite can be claimed; -1 means unlimited */
1450
+ inviteLimit?: number;
1451
+ /** Running count of how many times this invite has been claimed */
1452
+ inviteCount?: number;
1453
+ /** Whether this invite can be claimed by multiple recipients */
1454
+ multiple?: boolean;
1455
+ /** Optional JSON payload of additional invite metadata */
1456
+ data?: unknown;
1457
+ /** Timestamp after which this invitation can no longer be redeemed */
1458
+ expiresAt?: string;
1459
+ createdAt?: string;
1460
+ updatedAt?: string;
1461
+ entityId: string;
1462
+ }
1351
1463
  export interface CreateAppMembershipInput {
1352
1464
  clientMutationId?: string;
1353
1465
  /** The `AppMembership` to be created by this mutation. */
@@ -1370,6 +1482,8 @@ export interface AppMembershipInput {
1370
1482
  isVerified?: boolean;
1371
1483
  /** Computed field indicating the membership is approved, verified, not banned, and not disabled */
1372
1484
  isActive?: boolean;
1485
+ /** Whether this member is external (not a member of the parent scope). External members may have restricted permissions. */
1486
+ isExternal?: boolean;
1373
1487
  /** Whether the actor is the owner of this entity */
1374
1488
  isOwner?: boolean;
1375
1489
  /** Whether the actor has admin privileges on this entity */
@@ -1402,6 +1516,8 @@ export interface OrgMembershipInput {
1402
1516
  isDisabled?: boolean;
1403
1517
  /** Computed field indicating the membership is approved, verified, not banned, and not disabled */
1404
1518
  isActive?: boolean;
1519
+ /** Whether this member is external (not a member of the parent scope). External members may have restricted permissions. */
1520
+ isExternal?: boolean;
1405
1521
  /** Whether the actor is the owner of this entity */
1406
1522
  isOwner?: boolean;
1407
1523
  /** Whether the actor has admin privileges on this entity */
@@ -1414,40 +1530,10 @@ export interface OrgMembershipInput {
1414
1530
  actorId: string;
1415
1531
  /** References the entity (org or group) this membership belongs to */
1416
1532
  entityId: string;
1533
+ /** Whether this member has read-only access (blocks mutations when true) */
1534
+ isReadOnly?: boolean;
1417
1535
  profileId?: string;
1418
1536
  }
1419
- export interface CreateOrgInviteInput {
1420
- clientMutationId?: string;
1421
- /** The `OrgInvite` to be created by this mutation. */
1422
- orgInvite: OrgInviteInput;
1423
- }
1424
- /** An input for mutations affecting `OrgInvite` */
1425
- export interface OrgInviteInput {
1426
- id?: string;
1427
- /** Email address of the invited recipient */
1428
- email?: ConstructiveInternalTypeEmail;
1429
- /** User ID of the member who sent this invitation */
1430
- senderId?: string;
1431
- /** User ID of the intended recipient, if targeting a specific user */
1432
- receiverId?: string;
1433
- /** Unique random hex token used to redeem this invitation */
1434
- inviteToken?: string;
1435
- /** Whether this invitation is still valid and can be redeemed */
1436
- inviteValid?: boolean;
1437
- /** Maximum number of times this invite can be claimed; -1 means unlimited */
1438
- inviteLimit?: number;
1439
- /** Running count of how many times this invite has been claimed */
1440
- inviteCount?: number;
1441
- /** Whether this invite can be claimed by multiple recipients */
1442
- multiple?: boolean;
1443
- /** Optional JSON payload of additional invite metadata */
1444
- data?: unknown;
1445
- /** Timestamp after which this invitation can no longer be redeemed */
1446
- expiresAt?: string;
1447
- createdAt?: string;
1448
- updatedAt?: string;
1449
- entityId: string;
1450
- }
1451
1537
  export interface UpdateOrgMemberInput {
1452
1538
  clientMutationId?: string;
1453
1539
  id: string;
@@ -1580,33 +1666,15 @@ export interface UpdateOrgOwnerGrantInput {
1580
1666
  /** Represents an update to a `OrgOwnerGrant`. Fields that are set will be updated. */
1581
1667
  export interface OrgOwnerGrantPatch {
1582
1668
  id?: string;
1583
- /** True to grant ownership, false to revoke ownership */
1584
- isGrant?: boolean;
1585
- /** The member receiving or losing the ownership grant */
1586
- actorId?: string;
1587
- /** The entity (org or group) this ownership grant applies to */
1588
- entityId?: string;
1589
- grantorId?: string;
1590
- createdAt?: string;
1591
- updatedAt?: string;
1592
- }
1593
- export interface UpdateMembershipTypeInput {
1594
- clientMutationId?: string;
1595
- /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
1596
- id: number;
1597
- /** An object where the defined keys will be set on the `MembershipType` being updated. */
1598
- membershipTypePatch: MembershipTypePatch;
1599
- }
1600
- /** Represents an update to a `MembershipType`. Fields that are set will be updated. */
1601
- export interface MembershipTypePatch {
1602
- /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
1603
- id?: number;
1604
- /** Human-readable name of the membership type */
1605
- name?: string;
1606
- /** Description of what this membership type represents */
1607
- description?: string;
1608
- /** Short prefix used to namespace tables and functions for this membership scope */
1609
- prefix?: string;
1669
+ /** True to grant ownership, false to revoke ownership */
1670
+ isGrant?: boolean;
1671
+ /** The member receiving or losing the ownership grant */
1672
+ actorId?: string;
1673
+ /** The entity (org or group) this ownership grant applies to */
1674
+ entityId?: string;
1675
+ grantorId?: string;
1676
+ createdAt?: string;
1677
+ updatedAt?: string;
1610
1678
  }
1611
1679
  export interface UpdateAppPermissionInput {
1612
1680
  clientMutationId?: string;
@@ -1759,6 +1827,28 @@ export interface OrgLimitPatch {
1759
1827
  max?: number;
1760
1828
  entityId?: string;
1761
1829
  }
1830
+ export interface UpdateMembershipTypeInput {
1831
+ clientMutationId?: string;
1832
+ /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
1833
+ id: number;
1834
+ /** An object where the defined keys will be set on the `MembershipType` being updated. */
1835
+ membershipTypePatch: MembershipTypePatch;
1836
+ }
1837
+ /** Represents an update to a `MembershipType`. Fields that are set will be updated. */
1838
+ export interface MembershipTypePatch {
1839
+ /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
1840
+ id?: number;
1841
+ /** Human-readable name of the membership type */
1842
+ name?: string;
1843
+ /** Description of what this membership type represents */
1844
+ description?: string;
1845
+ /** Short prefix used to namespace tables and functions for this membership scope */
1846
+ prefix?: string;
1847
+ /** Parent membership type ID for SPRT cascade chain (e.g. type 2 parent=1, type 3 parent=2) */
1848
+ parentMembershipType?: number;
1849
+ /** When true, entities of this membership type get a one-to-one ID in the users table and a corresponding role_type entry, enabling them to own resources via owner_id FKs */
1850
+ hasUsersTableEntry?: boolean;
1851
+ }
1762
1852
  export interface UpdateAppGrantInput {
1763
1853
  clientMutationId?: string;
1764
1854
  id: string;
@@ -1902,6 +1992,36 @@ export interface OrgMembershipDefaultPatch {
1902
1992
  /** When a group is created, whether to auto-add existing org members as group members */
1903
1993
  createGroupsCascadeMembers?: boolean;
1904
1994
  }
1995
+ export interface UpdateOrgMemberProfileInput {
1996
+ clientMutationId?: string;
1997
+ id: string;
1998
+ /** An object where the defined keys will be set on the `OrgMemberProfile` being updated. */
1999
+ orgMemberProfilePatch: OrgMemberProfilePatch;
2000
+ }
2001
+ /** Represents an update to a `OrgMemberProfile`. Fields that are set will be updated. */
2002
+ export interface OrgMemberProfilePatch {
2003
+ id?: string;
2004
+ createdAt?: string;
2005
+ updatedAt?: string;
2006
+ /** References the membership this profile belongs to (1:1) */
2007
+ membershipId?: string;
2008
+ /** References the entity this profile belongs to (used for RLS lookups) */
2009
+ entityId?: string;
2010
+ /** References the user who owns this profile (for self-edit RLS) */
2011
+ actorId?: string;
2012
+ /** Display name shown to other entity members */
2013
+ displayName?: string;
2014
+ /** Email address visible to other entity members (auto-populated from verified primary email) */
2015
+ email?: string;
2016
+ /** Job title or role description visible to other entity members */
2017
+ title?: string;
2018
+ /** Short biography visible to other entity members */
2019
+ bio?: string;
2020
+ /** Profile picture visible to other entity members */
2021
+ profilePicture?: ConstructiveInternalTypeImage;
2022
+ /** Upload for Profile picture visible to other entity members */
2023
+ profilePictureUpload?: File;
2024
+ }
1905
2025
  export interface UpdateAppLevelInput {
1906
2026
  clientMutationId?: string;
1907
2027
  id: string;
@@ -1954,6 +2074,39 @@ export interface AppInvitePatch {
1954
2074
  createdAt?: string;
1955
2075
  updatedAt?: string;
1956
2076
  }
2077
+ export interface UpdateOrgInviteInput {
2078
+ clientMutationId?: string;
2079
+ id: string;
2080
+ /** An object where the defined keys will be set on the `OrgInvite` being updated. */
2081
+ orgInvitePatch: OrgInvitePatch;
2082
+ }
2083
+ /** Represents an update to a `OrgInvite`. Fields that are set will be updated. */
2084
+ export interface OrgInvitePatch {
2085
+ id?: string;
2086
+ /** Email address of the invited recipient */
2087
+ email?: ConstructiveInternalTypeEmail;
2088
+ /** User ID of the member who sent this invitation */
2089
+ senderId?: string;
2090
+ /** User ID of the intended recipient, if targeting a specific user */
2091
+ receiverId?: string;
2092
+ /** Unique random hex token used to redeem this invitation */
2093
+ inviteToken?: string;
2094
+ /** Whether this invitation is still valid and can be redeemed */
2095
+ inviteValid?: boolean;
2096
+ /** Maximum number of times this invite can be claimed; -1 means unlimited */
2097
+ inviteLimit?: number;
2098
+ /** Running count of how many times this invite has been claimed */
2099
+ inviteCount?: number;
2100
+ /** Whether this invite can be claimed by multiple recipients */
2101
+ multiple?: boolean;
2102
+ /** Optional JSON payload of additional invite metadata */
2103
+ data?: unknown;
2104
+ /** Timestamp after which this invitation can no longer be redeemed */
2105
+ expiresAt?: string;
2106
+ createdAt?: string;
2107
+ updatedAt?: string;
2108
+ entityId?: string;
2109
+ }
1957
2110
  export interface UpdateAppMembershipInput {
1958
2111
  clientMutationId?: string;
1959
2112
  id: string;
@@ -1977,6 +2130,8 @@ export interface AppMembershipPatch {
1977
2130
  isVerified?: boolean;
1978
2131
  /** Computed field indicating the membership is approved, verified, not banned, and not disabled */
1979
2132
  isActive?: boolean;
2133
+ /** Whether this member is external (not a member of the parent scope). External members may have restricted permissions. */
2134
+ isExternal?: boolean;
1980
2135
  /** Whether the actor is the owner of this entity */
1981
2136
  isOwner?: boolean;
1982
2137
  /** Whether the actor has admin privileges on this entity */
@@ -2010,6 +2165,8 @@ export interface OrgMembershipPatch {
2010
2165
  isDisabled?: boolean;
2011
2166
  /** Computed field indicating the membership is approved, verified, not banned, and not disabled */
2012
2167
  isActive?: boolean;
2168
+ /** Whether this member is external (not a member of the parent scope). External members may have restricted permissions. */
2169
+ isExternal?: boolean;
2013
2170
  /** Whether the actor is the owner of this entity */
2014
2171
  isOwner?: boolean;
2015
2172
  /** Whether the actor has admin privileges on this entity */
@@ -2022,41 +2179,10 @@ export interface OrgMembershipPatch {
2022
2179
  actorId?: string;
2023
2180
  /** References the entity (org or group) this membership belongs to */
2024
2181
  entityId?: string;
2182
+ /** Whether this member has read-only access (blocks mutations when true) */
2183
+ isReadOnly?: boolean;
2025
2184
  profileId?: string;
2026
2185
  }
2027
- export interface UpdateOrgInviteInput {
2028
- clientMutationId?: string;
2029
- id: string;
2030
- /** An object where the defined keys will be set on the `OrgInvite` being updated. */
2031
- orgInvitePatch: OrgInvitePatch;
2032
- }
2033
- /** Represents an update to a `OrgInvite`. Fields that are set will be updated. */
2034
- export interface OrgInvitePatch {
2035
- id?: string;
2036
- /** Email address of the invited recipient */
2037
- email?: ConstructiveInternalTypeEmail;
2038
- /** User ID of the member who sent this invitation */
2039
- senderId?: string;
2040
- /** User ID of the intended recipient, if targeting a specific user */
2041
- receiverId?: string;
2042
- /** Unique random hex token used to redeem this invitation */
2043
- inviteToken?: string;
2044
- /** Whether this invitation is still valid and can be redeemed */
2045
- inviteValid?: boolean;
2046
- /** Maximum number of times this invite can be claimed; -1 means unlimited */
2047
- inviteLimit?: number;
2048
- /** Running count of how many times this invite has been claimed */
2049
- inviteCount?: number;
2050
- /** Whether this invite can be claimed by multiple recipients */
2051
- multiple?: boolean;
2052
- /** Optional JSON payload of additional invite metadata */
2053
- data?: unknown;
2054
- /** Timestamp after which this invitation can no longer be redeemed */
2055
- expiresAt?: string;
2056
- createdAt?: string;
2057
- updatedAt?: string;
2058
- entityId?: string;
2059
- }
2060
2186
  export interface DeleteOrgMemberInput {
2061
2187
  clientMutationId?: string;
2062
2188
  id: string;
@@ -2093,11 +2219,6 @@ export interface DeleteOrgOwnerGrantInput {
2093
2219
  clientMutationId?: string;
2094
2220
  id: string;
2095
2221
  }
2096
- export interface DeleteMembershipTypeInput {
2097
- clientMutationId?: string;
2098
- /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
2099
- id: number;
2100
- }
2101
2222
  export interface DeleteAppPermissionInput {
2102
2223
  clientMutationId?: string;
2103
2224
  id: string;
@@ -2130,6 +2251,11 @@ export interface DeleteOrgLimitInput {
2130
2251
  clientMutationId?: string;
2131
2252
  id: string;
2132
2253
  }
2254
+ export interface DeleteMembershipTypeInput {
2255
+ clientMutationId?: string;
2256
+ /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
2257
+ id: number;
2258
+ }
2133
2259
  export interface DeleteAppGrantInput {
2134
2260
  clientMutationId?: string;
2135
2261
  id: string;
@@ -2158,6 +2284,10 @@ export interface DeleteOrgMembershipDefaultInput {
2158
2284
  clientMutationId?: string;
2159
2285
  id: string;
2160
2286
  }
2287
+ export interface DeleteOrgMemberProfileInput {
2288
+ clientMutationId?: string;
2289
+ id: string;
2290
+ }
2161
2291
  export interface DeleteAppLevelInput {
2162
2292
  clientMutationId?: string;
2163
2293
  id: string;
@@ -2166,15 +2296,15 @@ export interface DeleteAppInviteInput {
2166
2296
  clientMutationId?: string;
2167
2297
  id: string;
2168
2298
  }
2169
- export interface DeleteAppMembershipInput {
2299
+ export interface DeleteOrgInviteInput {
2170
2300
  clientMutationId?: string;
2171
2301
  id: string;
2172
2302
  }
2173
- export interface DeleteOrgMembershipInput {
2303
+ export interface DeleteAppMembershipInput {
2174
2304
  clientMutationId?: string;
2175
2305
  id: string;
2176
2306
  }
2177
- export interface DeleteOrgInviteInput {
2307
+ export interface DeleteOrgMembershipInput {
2178
2308
  clientMutationId?: string;
2179
2309
  id: string;
2180
2310
  }
@@ -2296,13 +2426,6 @@ export interface OrgOwnerGrantConnection {
2296
2426
  pageInfo: PageInfo;
2297
2427
  totalCount: number;
2298
2428
  }
2299
- /** A connection to a list of `MembershipType` values. */
2300
- export interface MembershipTypeConnection {
2301
- nodes: MembershipType[];
2302
- edges: MembershipTypeEdge[];
2303
- pageInfo: PageInfo;
2304
- totalCount: number;
2305
- }
2306
2429
  /** A connection to a list of `AppLimit` values. */
2307
2430
  export interface AppLimitConnection {
2308
2431
  nodes: AppLimit[];
@@ -2345,6 +2468,13 @@ export interface OrgLimitConnection {
2345
2468
  pageInfo: PageInfo;
2346
2469
  totalCount: number;
2347
2470
  }
2471
+ /** A connection to a list of `MembershipType` values. */
2472
+ export interface MembershipTypeConnection {
2473
+ nodes: MembershipType[];
2474
+ edges: MembershipTypeEdge[];
2475
+ pageInfo: PageInfo;
2476
+ totalCount: number;
2477
+ }
2348
2478
  /** A connection to a list of `AppGrant` values. */
2349
2479
  export interface AppGrantConnection {
2350
2480
  nodes: AppGrant[];
@@ -2387,6 +2517,13 @@ export interface OrgMembershipDefaultConnection {
2387
2517
  pageInfo: PageInfo;
2388
2518
  totalCount: number;
2389
2519
  }
2520
+ /** A connection to a list of `OrgMemberProfile` values. */
2521
+ export interface OrgMemberProfileConnection {
2522
+ nodes: OrgMemberProfile[];
2523
+ edges: OrgMemberProfileEdge[];
2524
+ pageInfo: PageInfo;
2525
+ totalCount: number;
2526
+ }
2390
2527
  /** A connection to a list of `AppLevel` values. */
2391
2528
  export interface AppLevelConnection {
2392
2529
  nodes: AppLevel[];
@@ -2401,6 +2538,13 @@ export interface AppInviteConnection {
2401
2538
  pageInfo: PageInfo;
2402
2539
  totalCount: number;
2403
2540
  }
2541
+ /** A connection to a list of `OrgInvite` values. */
2542
+ export interface OrgInviteConnection {
2543
+ nodes: OrgInvite[];
2544
+ edges: OrgInviteEdge[];
2545
+ pageInfo: PageInfo;
2546
+ totalCount: number;
2547
+ }
2404
2548
  /** A connection to a list of `AppMembership` values. */
2405
2549
  export interface AppMembershipConnection {
2406
2550
  nodes: AppMembership[];
@@ -2415,13 +2559,6 @@ export interface OrgMembershipConnection {
2415
2559
  pageInfo: PageInfo;
2416
2560
  totalCount: number;
2417
2561
  }
2418
- /** A connection to a list of `OrgInvite` values. */
2419
- export interface OrgInviteConnection {
2420
- nodes: OrgInvite[];
2421
- edges: OrgInviteEdge[];
2422
- pageInfo: PageInfo;
2423
- totalCount: number;
2424
- }
2425
2562
  /** Root meta schema type */
2426
2563
  export interface MetaSchema {
2427
2564
  tables: MetaTable[];
@@ -2488,12 +2625,6 @@ export interface CreateOrgOwnerGrantPayload {
2488
2625
  orgOwnerGrant?: OrgOwnerGrant | null;
2489
2626
  orgOwnerGrantEdge?: OrgOwnerGrantEdge | null;
2490
2627
  }
2491
- export interface CreateMembershipTypePayload {
2492
- clientMutationId?: string | null;
2493
- /** The `MembershipType` that was created by this mutation. */
2494
- membershipType?: MembershipType | null;
2495
- membershipTypeEdge?: MembershipTypeEdge | null;
2496
- }
2497
2628
  export interface CreateAppPermissionPayload {
2498
2629
  clientMutationId?: string | null;
2499
2630
  /** The `AppPermission` that was created by this mutation. */
@@ -2542,6 +2673,12 @@ export interface CreateOrgLimitPayload {
2542
2673
  orgLimit?: OrgLimit | null;
2543
2674
  orgLimitEdge?: OrgLimitEdge | null;
2544
2675
  }
2676
+ export interface CreateMembershipTypePayload {
2677
+ clientMutationId?: string | null;
2678
+ /** The `MembershipType` that was created by this mutation. */
2679
+ membershipType?: MembershipType | null;
2680
+ membershipTypeEdge?: MembershipTypeEdge | null;
2681
+ }
2545
2682
  export interface CreateAppGrantPayload {
2546
2683
  clientMutationId?: string | null;
2547
2684
  /** The `AppGrant` that was created by this mutation. */
@@ -2584,6 +2721,12 @@ export interface CreateOrgMembershipDefaultPayload {
2584
2721
  orgMembershipDefault?: OrgMembershipDefault | null;
2585
2722
  orgMembershipDefaultEdge?: OrgMembershipDefaultEdge | null;
2586
2723
  }
2724
+ export interface CreateOrgMemberProfilePayload {
2725
+ clientMutationId?: string | null;
2726
+ /** The `OrgMemberProfile` that was created by this mutation. */
2727
+ orgMemberProfile?: OrgMemberProfile | null;
2728
+ orgMemberProfileEdge?: OrgMemberProfileEdge | null;
2729
+ }
2587
2730
  export interface CreateAppLevelPayload {
2588
2731
  clientMutationId?: string | null;
2589
2732
  /** The `AppLevel` that was created by this mutation. */
@@ -2596,6 +2739,12 @@ export interface CreateAppInvitePayload {
2596
2739
  appInvite?: AppInvite | null;
2597
2740
  appInviteEdge?: AppInviteEdge | null;
2598
2741
  }
2742
+ export interface CreateOrgInvitePayload {
2743
+ clientMutationId?: string | null;
2744
+ /** The `OrgInvite` that was created by this mutation. */
2745
+ orgInvite?: OrgInvite | null;
2746
+ orgInviteEdge?: OrgInviteEdge | null;
2747
+ }
2599
2748
  export interface CreateAppMembershipPayload {
2600
2749
  clientMutationId?: string | null;
2601
2750
  /** The `AppMembership` that was created by this mutation. */
@@ -2608,12 +2757,6 @@ export interface CreateOrgMembershipPayload {
2608
2757
  orgMembership?: OrgMembership | null;
2609
2758
  orgMembershipEdge?: OrgMembershipEdge | null;
2610
2759
  }
2611
- export interface CreateOrgInvitePayload {
2612
- clientMutationId?: string | null;
2613
- /** The `OrgInvite` that was created by this mutation. */
2614
- orgInvite?: OrgInvite | null;
2615
- orgInviteEdge?: OrgInviteEdge | null;
2616
- }
2617
2760
  export interface UpdateOrgMemberPayload {
2618
2761
  clientMutationId?: string | null;
2619
2762
  /** The `OrgMember` that was updated by this mutation. */
@@ -2668,12 +2811,6 @@ export interface UpdateOrgOwnerGrantPayload {
2668
2811
  orgOwnerGrant?: OrgOwnerGrant | null;
2669
2812
  orgOwnerGrantEdge?: OrgOwnerGrantEdge | null;
2670
2813
  }
2671
- export interface UpdateMembershipTypePayload {
2672
- clientMutationId?: string | null;
2673
- /** The `MembershipType` that was updated by this mutation. */
2674
- membershipType?: MembershipType | null;
2675
- membershipTypeEdge?: MembershipTypeEdge | null;
2676
- }
2677
2814
  export interface UpdateAppPermissionPayload {
2678
2815
  clientMutationId?: string | null;
2679
2816
  /** The `AppPermission` that was updated by this mutation. */
@@ -2722,6 +2859,12 @@ export interface UpdateOrgLimitPayload {
2722
2859
  orgLimit?: OrgLimit | null;
2723
2860
  orgLimitEdge?: OrgLimitEdge | null;
2724
2861
  }
2862
+ export interface UpdateMembershipTypePayload {
2863
+ clientMutationId?: string | null;
2864
+ /** The `MembershipType` that was updated by this mutation. */
2865
+ membershipType?: MembershipType | null;
2866
+ membershipTypeEdge?: MembershipTypeEdge | null;
2867
+ }
2725
2868
  export interface UpdateAppGrantPayload {
2726
2869
  clientMutationId?: string | null;
2727
2870
  /** The `AppGrant` that was updated by this mutation. */
@@ -2764,6 +2907,12 @@ export interface UpdateOrgMembershipDefaultPayload {
2764
2907
  orgMembershipDefault?: OrgMembershipDefault | null;
2765
2908
  orgMembershipDefaultEdge?: OrgMembershipDefaultEdge | null;
2766
2909
  }
2910
+ export interface UpdateOrgMemberProfilePayload {
2911
+ clientMutationId?: string | null;
2912
+ /** The `OrgMemberProfile` that was updated by this mutation. */
2913
+ orgMemberProfile?: OrgMemberProfile | null;
2914
+ orgMemberProfileEdge?: OrgMemberProfileEdge | null;
2915
+ }
2767
2916
  export interface UpdateAppLevelPayload {
2768
2917
  clientMutationId?: string | null;
2769
2918
  /** The `AppLevel` that was updated by this mutation. */
@@ -2776,6 +2925,12 @@ export interface UpdateAppInvitePayload {
2776
2925
  appInvite?: AppInvite | null;
2777
2926
  appInviteEdge?: AppInviteEdge | null;
2778
2927
  }
2928
+ export interface UpdateOrgInvitePayload {
2929
+ clientMutationId?: string | null;
2930
+ /** The `OrgInvite` that was updated by this mutation. */
2931
+ orgInvite?: OrgInvite | null;
2932
+ orgInviteEdge?: OrgInviteEdge | null;
2933
+ }
2779
2934
  export interface UpdateAppMembershipPayload {
2780
2935
  clientMutationId?: string | null;
2781
2936
  /** The `AppMembership` that was updated by this mutation. */
@@ -2788,12 +2943,6 @@ export interface UpdateOrgMembershipPayload {
2788
2943
  orgMembership?: OrgMembership | null;
2789
2944
  orgMembershipEdge?: OrgMembershipEdge | null;
2790
2945
  }
2791
- export interface UpdateOrgInvitePayload {
2792
- clientMutationId?: string | null;
2793
- /** The `OrgInvite` that was updated by this mutation. */
2794
- orgInvite?: OrgInvite | null;
2795
- orgInviteEdge?: OrgInviteEdge | null;
2796
- }
2797
2946
  export interface DeleteOrgMemberPayload {
2798
2947
  clientMutationId?: string | null;
2799
2948
  /** The `OrgMember` that was deleted by this mutation. */
@@ -2848,12 +2997,6 @@ export interface DeleteOrgOwnerGrantPayload {
2848
2997
  orgOwnerGrant?: OrgOwnerGrant | null;
2849
2998
  orgOwnerGrantEdge?: OrgOwnerGrantEdge | null;
2850
2999
  }
2851
- export interface DeleteMembershipTypePayload {
2852
- clientMutationId?: string | null;
2853
- /** The `MembershipType` that was deleted by this mutation. */
2854
- membershipType?: MembershipType | null;
2855
- membershipTypeEdge?: MembershipTypeEdge | null;
2856
- }
2857
3000
  export interface DeleteAppPermissionPayload {
2858
3001
  clientMutationId?: string | null;
2859
3002
  /** The `AppPermission` that was deleted by this mutation. */
@@ -2902,6 +3045,12 @@ export interface DeleteOrgLimitPayload {
2902
3045
  orgLimit?: OrgLimit | null;
2903
3046
  orgLimitEdge?: OrgLimitEdge | null;
2904
3047
  }
3048
+ export interface DeleteMembershipTypePayload {
3049
+ clientMutationId?: string | null;
3050
+ /** The `MembershipType` that was deleted by this mutation. */
3051
+ membershipType?: MembershipType | null;
3052
+ membershipTypeEdge?: MembershipTypeEdge | null;
3053
+ }
2905
3054
  export interface DeleteAppGrantPayload {
2906
3055
  clientMutationId?: string | null;
2907
3056
  /** The `AppGrant` that was deleted by this mutation. */
@@ -2944,6 +3093,12 @@ export interface DeleteOrgMembershipDefaultPayload {
2944
3093
  orgMembershipDefault?: OrgMembershipDefault | null;
2945
3094
  orgMembershipDefaultEdge?: OrgMembershipDefaultEdge | null;
2946
3095
  }
3096
+ export interface DeleteOrgMemberProfilePayload {
3097
+ clientMutationId?: string | null;
3098
+ /** The `OrgMemberProfile` that was deleted by this mutation. */
3099
+ orgMemberProfile?: OrgMemberProfile | null;
3100
+ orgMemberProfileEdge?: OrgMemberProfileEdge | null;
3101
+ }
2947
3102
  export interface DeleteAppLevelPayload {
2948
3103
  clientMutationId?: string | null;
2949
3104
  /** The `AppLevel` that was deleted by this mutation. */
@@ -2956,6 +3111,12 @@ export interface DeleteAppInvitePayload {
2956
3111
  appInvite?: AppInvite | null;
2957
3112
  appInviteEdge?: AppInviteEdge | null;
2958
3113
  }
3114
+ export interface DeleteOrgInvitePayload {
3115
+ clientMutationId?: string | null;
3116
+ /** The `OrgInvite` that was deleted by this mutation. */
3117
+ orgInvite?: OrgInvite | null;
3118
+ orgInviteEdge?: OrgInviteEdge | null;
3119
+ }
2959
3120
  export interface DeleteAppMembershipPayload {
2960
3121
  clientMutationId?: string | null;
2961
3122
  /** The `AppMembership` that was deleted by this mutation. */
@@ -2968,12 +3129,6 @@ export interface DeleteOrgMembershipPayload {
2968
3129
  orgMembership?: OrgMembership | null;
2969
3130
  orgMembershipEdge?: OrgMembershipEdge | null;
2970
3131
  }
2971
- export interface DeleteOrgInvitePayload {
2972
- clientMutationId?: string | null;
2973
- /** The `OrgInvite` that was deleted by this mutation. */
2974
- orgInvite?: OrgInvite | null;
2975
- orgInviteEdge?: OrgInviteEdge | null;
2976
- }
2977
3132
  export interface RequestUploadUrlPayload {
2978
3133
  /** Presigned PUT URL (null if file was deduplicated) */
2979
3134
  uploadUrl?: string | null;
@@ -3103,12 +3258,6 @@ export interface OrgOwnerGrantEdge {
3103
3258
  /** The `OrgOwnerGrant` at the end of the edge. */
3104
3259
  node?: OrgOwnerGrant | null;
3105
3260
  }
3106
- /** A `MembershipType` edge in the connection. */
3107
- export interface MembershipTypeEdge {
3108
- cursor?: string | null;
3109
- /** The `MembershipType` at the end of the edge. */
3110
- node?: MembershipType | null;
3111
- }
3112
3261
  /** A `AppLimit` edge in the connection. */
3113
3262
  export interface AppLimitEdge {
3114
3263
  cursor?: string | null;
@@ -3145,6 +3294,12 @@ export interface OrgLimitEdge {
3145
3294
  /** The `OrgLimit` at the end of the edge. */
3146
3295
  node?: OrgLimit | null;
3147
3296
  }
3297
+ /** A `MembershipType` edge in the connection. */
3298
+ export interface MembershipTypeEdge {
3299
+ cursor?: string | null;
3300
+ /** The `MembershipType` at the end of the edge. */
3301
+ node?: MembershipType | null;
3302
+ }
3148
3303
  /** A `AppGrant` edge in the connection. */
3149
3304
  export interface AppGrantEdge {
3150
3305
  cursor?: string | null;
@@ -3181,6 +3336,12 @@ export interface OrgMembershipDefaultEdge {
3181
3336
  /** The `OrgMembershipDefault` at the end of the edge. */
3182
3337
  node?: OrgMembershipDefault | null;
3183
3338
  }
3339
+ /** A `OrgMemberProfile` edge in the connection. */
3340
+ export interface OrgMemberProfileEdge {
3341
+ cursor?: string | null;
3342
+ /** The `OrgMemberProfile` at the end of the edge. */
3343
+ node?: OrgMemberProfile | null;
3344
+ }
3184
3345
  /** A `AppLevel` edge in the connection. */
3185
3346
  export interface AppLevelEdge {
3186
3347
  cursor?: string | null;
@@ -3193,6 +3354,12 @@ export interface AppInviteEdge {
3193
3354
  /** The `AppInvite` at the end of the edge. */
3194
3355
  node?: AppInvite | null;
3195
3356
  }
3357
+ /** A `OrgInvite` edge in the connection. */
3358
+ export interface OrgInviteEdge {
3359
+ cursor?: string | null;
3360
+ /** The `OrgInvite` at the end of the edge. */
3361
+ node?: OrgInvite | null;
3362
+ }
3196
3363
  /** A `AppMembership` edge in the connection. */
3197
3364
  export interface AppMembershipEdge {
3198
3365
  cursor?: string | null;
@@ -3205,12 +3372,6 @@ export interface OrgMembershipEdge {
3205
3372
  /** The `OrgMembership` at the end of the edge. */
3206
3373
  node?: OrgMembership | null;
3207
3374
  }
3208
- /** A `OrgInvite` edge in the connection. */
3209
- export interface OrgInviteEdge {
3210
- cursor?: string | null;
3211
- /** The `OrgInvite` at the end of the edge. */
3212
- node?: OrgInvite | null;
3213
- }
3214
3375
  /** Information about a database table */
3215
3376
  export interface MetaTable {
3216
3377
  name: string;