@constructive-io/react 0.27.1 → 0.27.2

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 (373) hide show
  1. package/api/orm/input-types.d.ts +144 -171
  2. package/api/schema-types.d.ts +676 -678
  3. package/api/types.d.ts +9 -14
  4. package/auth/hooks/index.d.ts +1 -1
  5. package/auth/hooks/index.js +1 -1
  6. package/auth/hooks/invalidation.d.ts +24 -0
  7. package/auth/hooks/invalidation.js +64 -0
  8. package/auth/hooks/mutation-keys.d.ts +56 -0
  9. package/auth/hooks/mutation-keys.js +44 -1
  10. package/auth/hooks/mutations/index.d.ts +11 -0
  11. package/auth/hooks/mutations/index.js +11 -0
  12. package/auth/hooks/mutations/useCreateOrgApiKeyListMutation.d.ts +34 -0
  13. package/auth/hooks/mutations/useCreateOrgApiKeyListMutation.js +34 -0
  14. package/auth/hooks/mutations/useCreateOrgApiKeyMutation.d.ts +20 -0
  15. package/auth/hooks/mutations/useCreateOrgApiKeyMutation.js +26 -0
  16. package/auth/hooks/mutations/useCreateOrgPrincipalMutation.d.ts +20 -0
  17. package/auth/hooks/mutations/useCreateOrgPrincipalMutation.js +26 -0
  18. package/auth/hooks/mutations/useCreatePrincipalEntityMutation.d.ts +34 -0
  19. package/auth/hooks/mutations/useCreatePrincipalEntityMutation.js +34 -0
  20. package/auth/hooks/mutations/useCreatePrincipalMutation.d.ts +34 -0
  21. package/auth/hooks/mutations/useCreatePrincipalMutation.js +34 -0
  22. package/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.d.ts +34 -0
  23. package/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.js +34 -0
  24. package/auth/hooks/mutations/useDeleteOrgPrincipalMutation.d.ts +20 -0
  25. package/auth/hooks/mutations/useDeleteOrgPrincipalMutation.js +26 -0
  26. package/auth/hooks/mutations/useDeletePrincipalEntityMutation.d.ts +38 -0
  27. package/auth/hooks/mutations/useDeletePrincipalEntityMutation.js +39 -0
  28. package/auth/hooks/mutations/useDeletePrincipalMutation.d.ts +38 -0
  29. package/auth/hooks/mutations/useDeletePrincipalMutation.js +39 -0
  30. package/auth/hooks/mutations/useRevokeOrgApiKeyMutation.d.ts +20 -0
  31. package/auth/hooks/mutations/useRevokeOrgApiKeyMutation.js +26 -0
  32. package/auth/hooks/mutations/useUpdatePrincipalEntityMutation.d.ts +40 -0
  33. package/auth/hooks/mutations/useUpdatePrincipalEntityMutation.js +40 -0
  34. package/auth/hooks/queries/index.d.ts +9 -1
  35. package/auth/hooks/queries/index.js +9 -1
  36. package/auth/hooks/queries/useOrgApiKeyListQuery.d.ts +65 -0
  37. package/auth/hooks/queries/useOrgApiKeyListQuery.js +53 -0
  38. package/auth/hooks/queries/useOrgApiKeyListsQuery.d.ts +69 -0
  39. package/auth/hooks/queries/useOrgApiKeyListsQuery.js +38 -0
  40. package/auth/hooks/queries/usePrincipalEntitiesQuery.d.ts +69 -0
  41. package/auth/hooks/queries/usePrincipalEntitiesQuery.js +38 -0
  42. package/auth/hooks/queries/usePrincipalEntityQuery.d.ts +65 -0
  43. package/auth/hooks/queries/usePrincipalEntityQuery.js +53 -0
  44. package/auth/hooks/queries/usePrincipalQuery.d.ts +65 -0
  45. package/auth/hooks/queries/usePrincipalQuery.js +53 -0
  46. package/auth/hooks/queries/usePrincipalScopeOverrideQuery.d.ts +65 -0
  47. package/auth/hooks/queries/usePrincipalScopeOverrideQuery.js +53 -0
  48. package/auth/hooks/queries/usePrincipalScopeOverridesQuery.d.ts +69 -0
  49. package/auth/hooks/queries/usePrincipalScopeOverridesQuery.js +38 -0
  50. package/auth/hooks/queries/usePrincipalsQuery.d.ts +69 -0
  51. package/auth/hooks/queries/usePrincipalsQuery.js +38 -0
  52. package/auth/hooks/query-keys.d.ts +58 -2
  53. package/auth/hooks/query-keys.js +34 -2
  54. package/auth/orm/index.d.ts +32 -4
  55. package/auth/orm/index.js +8 -0
  56. package/auth/orm/input-types.d.ts +915 -145
  57. package/auth/orm/input-types.js +7 -0
  58. package/auth/orm/models/index.d.ts +4 -0
  59. package/auth/orm/models/index.js +9 -1
  60. package/auth/orm/models/orgApiKeyList.d.ts +36 -0
  61. package/auth/orm/models/orgApiKeyList.js +80 -0
  62. package/auth/orm/models/principal.d.ts +45 -0
  63. package/auth/orm/models/principal.js +93 -0
  64. package/auth/orm/models/principalEntity.d.ts +54 -0
  65. package/auth/orm/models/principalEntity.js +104 -0
  66. package/auth/orm/models/principalScopeOverride.d.ts +36 -0
  67. package/auth/orm/models/principalScopeOverride.js +80 -0
  68. package/auth/orm/mutation/index.d.ts +33 -1
  69. package/auth/orm/mutation/index.js +48 -0
  70. package/auth/orm/query/index.d.ts +4 -4
  71. package/auth/orm/query/index.js +7 -7
  72. package/auth/schema-types.d.ts +477 -93
  73. package/auth/types.d.ts +43 -0
  74. package/compute/hooks/index.d.ts +1 -1
  75. package/compute/hooks/index.js +1 -1
  76. package/compute/hooks/invalidation.d.ts +29 -5
  77. package/compute/hooks/invalidation.js +73 -9
  78. package/compute/hooks/mutation-keys.d.ts +60 -12
  79. package/compute/hooks/mutation-keys.js +41 -10
  80. package/compute/hooks/mutations/index.d.ts +16 -4
  81. package/compute/hooks/mutations/index.js +16 -4
  82. package/compute/hooks/mutations/useCreatePlatformNamespaceEventMutation.d.ts +34 -0
  83. package/compute/hooks/mutations/useCreatePlatformNamespaceEventMutation.js +34 -0
  84. package/compute/hooks/mutations/useCreatePlatformNamespaceMutation.d.ts +34 -0
  85. package/compute/hooks/mutations/useCreatePlatformNamespaceMutation.js +34 -0
  86. package/compute/hooks/mutations/useCreateResourceEventMutation.d.ts +34 -0
  87. package/compute/hooks/mutations/useCreateResourceEventMutation.js +34 -0
  88. package/compute/hooks/mutations/useCreateResourceMutation.d.ts +34 -0
  89. package/compute/hooks/mutations/useCreateResourceMutation.js +34 -0
  90. package/compute/hooks/mutations/useDeletePlatformNamespaceEventMutation.d.ts +40 -0
  91. package/compute/hooks/mutations/useDeletePlatformNamespaceEventMutation.js +40 -0
  92. package/compute/hooks/mutations/useDeletePlatformNamespaceMutation.d.ts +38 -0
  93. package/compute/hooks/mutations/useDeletePlatformNamespaceMutation.js +39 -0
  94. package/compute/hooks/mutations/useDeleteResourceEventMutation.d.ts +40 -0
  95. package/compute/hooks/mutations/useDeleteResourceEventMutation.js +40 -0
  96. package/compute/hooks/mutations/useDeleteResourceMutation.d.ts +38 -0
  97. package/compute/hooks/mutations/useDeleteResourceMutation.js +39 -0
  98. package/compute/hooks/mutations/useUpdatePlatformNamespaceEventMutation.d.ts +42 -0
  99. package/compute/hooks/mutations/useUpdatePlatformNamespaceEventMutation.js +41 -0
  100. package/compute/hooks/mutations/useUpdatePlatformNamespaceMutation.d.ts +40 -0
  101. package/compute/hooks/mutations/useUpdatePlatformNamespaceMutation.js +40 -0
  102. package/compute/hooks/mutations/useUpdateResourceEventMutation.d.ts +42 -0
  103. package/compute/hooks/mutations/useUpdateResourceEventMutation.js +41 -0
  104. package/compute/hooks/mutations/useUpdateResourceMutation.d.ts +40 -0
  105. package/compute/hooks/mutations/useUpdateResourceMutation.js +40 -0
  106. package/compute/hooks/queries/index.d.ts +10 -2
  107. package/compute/hooks/queries/index.js +10 -2
  108. package/compute/hooks/queries/usePlatformNamespaceEventQuery.d.ts +65 -0
  109. package/compute/hooks/queries/usePlatformNamespaceEventQuery.js +53 -0
  110. package/compute/hooks/queries/usePlatformNamespaceEventsQuery.d.ts +69 -0
  111. package/compute/hooks/queries/usePlatformNamespaceEventsQuery.js +38 -0
  112. package/compute/hooks/queries/usePlatformNamespaceQuery.d.ts +65 -0
  113. package/compute/hooks/queries/usePlatformNamespaceQuery.js +53 -0
  114. package/compute/hooks/queries/usePlatformNamespacesQuery.d.ts +69 -0
  115. package/compute/hooks/queries/usePlatformNamespacesQuery.js +38 -0
  116. package/compute/hooks/queries/useResourceEventQuery.d.ts +65 -0
  117. package/compute/hooks/queries/useResourceEventQuery.js +53 -0
  118. package/compute/hooks/queries/useResourceEventsQuery.d.ts +69 -0
  119. package/compute/hooks/queries/useResourceEventsQuery.js +38 -0
  120. package/compute/hooks/queries/useResourceQuery.d.ts +65 -0
  121. package/compute/hooks/queries/useResourceQuery.js +53 -0
  122. package/compute/hooks/queries/useResourcesQuery.d.ts +69 -0
  123. package/compute/hooks/queries/useResourcesQuery.js +38 -0
  124. package/compute/hooks/query-keys.d.ts +68 -12
  125. package/compute/hooks/query-keys.js +40 -8
  126. package/compute/orm/index.d.ts +15 -7
  127. package/compute/orm/index.js +10 -2
  128. package/compute/orm/input-types.d.ts +1159 -221
  129. package/compute/orm/input-types.js +4 -0
  130. package/compute/orm/models/index.d.ts +5 -1
  131. package/compute/orm/models/index.js +11 -3
  132. package/compute/orm/models/platformNamespace.d.ts +54 -0
  133. package/compute/orm/models/platformNamespace.js +104 -0
  134. package/compute/orm/models/platformNamespaceEvent.d.ts +56 -0
  135. package/compute/orm/models/platformNamespaceEvent.js +107 -0
  136. package/compute/orm/models/resource.d.ts +54 -0
  137. package/compute/orm/models/resource.js +104 -0
  138. package/compute/orm/models/resourceEvent.d.ts +56 -0
  139. package/compute/orm/models/resourceEvent.js +107 -0
  140. package/compute/orm/mutation/index.d.ts +9 -9
  141. package/compute/orm/mutation/index.js +12 -12
  142. package/compute/schema-types.d.ts +691 -107
  143. package/compute/types.d.ts +71 -12
  144. package/esm/api/orm/input-types.d.ts +144 -171
  145. package/esm/api/schema-types.d.ts +676 -678
  146. package/esm/api/types.d.ts +9 -14
  147. package/esm/auth/hooks/index.d.ts +1 -1
  148. package/esm/auth/hooks/index.js +1 -1
  149. package/esm/auth/hooks/invalidation.d.ts +24 -0
  150. package/esm/auth/hooks/invalidation.js +65 -1
  151. package/esm/auth/hooks/mutation-keys.d.ts +56 -0
  152. package/esm/auth/hooks/mutation-keys.js +43 -0
  153. package/esm/auth/hooks/mutations/index.d.ts +11 -0
  154. package/esm/auth/hooks/mutations/index.js +11 -0
  155. package/esm/auth/hooks/mutations/useCreateOrgApiKeyListMutation.d.ts +34 -0
  156. package/esm/auth/hooks/mutations/useCreateOrgApiKeyListMutation.js +31 -0
  157. package/esm/auth/hooks/mutations/useCreateOrgApiKeyMutation.d.ts +20 -0
  158. package/esm/auth/hooks/mutations/useCreateOrgApiKeyMutation.js +23 -0
  159. package/esm/auth/hooks/mutations/useCreateOrgPrincipalMutation.d.ts +20 -0
  160. package/esm/auth/hooks/mutations/useCreateOrgPrincipalMutation.js +23 -0
  161. package/esm/auth/hooks/mutations/useCreatePrincipalEntityMutation.d.ts +34 -0
  162. package/esm/auth/hooks/mutations/useCreatePrincipalEntityMutation.js +31 -0
  163. package/esm/auth/hooks/mutations/useCreatePrincipalMutation.d.ts +34 -0
  164. package/esm/auth/hooks/mutations/useCreatePrincipalMutation.js +31 -0
  165. package/esm/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.d.ts +34 -0
  166. package/esm/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.js +31 -0
  167. package/esm/auth/hooks/mutations/useDeleteOrgPrincipalMutation.d.ts +20 -0
  168. package/esm/auth/hooks/mutations/useDeleteOrgPrincipalMutation.js +23 -0
  169. package/esm/auth/hooks/mutations/useDeletePrincipalEntityMutation.d.ts +38 -0
  170. package/esm/auth/hooks/mutations/useDeletePrincipalEntityMutation.js +36 -0
  171. package/esm/auth/hooks/mutations/useDeletePrincipalMutation.d.ts +38 -0
  172. package/esm/auth/hooks/mutations/useDeletePrincipalMutation.js +36 -0
  173. package/esm/auth/hooks/mutations/useRevokeOrgApiKeyMutation.d.ts +20 -0
  174. package/esm/auth/hooks/mutations/useRevokeOrgApiKeyMutation.js +23 -0
  175. package/esm/auth/hooks/mutations/useUpdatePrincipalEntityMutation.d.ts +40 -0
  176. package/esm/auth/hooks/mutations/useUpdatePrincipalEntityMutation.js +37 -0
  177. package/esm/auth/hooks/queries/index.d.ts +9 -1
  178. package/esm/auth/hooks/queries/index.js +9 -1
  179. package/esm/auth/hooks/queries/useOrgApiKeyListQuery.d.ts +65 -0
  180. package/esm/auth/hooks/queries/useOrgApiKeyListQuery.js +47 -0
  181. package/esm/auth/hooks/queries/useOrgApiKeyListsQuery.d.ts +69 -0
  182. package/esm/auth/hooks/queries/useOrgApiKeyListsQuery.js +32 -0
  183. package/esm/auth/hooks/queries/usePrincipalEntitiesQuery.d.ts +69 -0
  184. package/esm/auth/hooks/queries/usePrincipalEntitiesQuery.js +32 -0
  185. package/esm/auth/hooks/queries/usePrincipalEntityQuery.d.ts +65 -0
  186. package/esm/auth/hooks/queries/usePrincipalEntityQuery.js +47 -0
  187. package/esm/auth/hooks/queries/usePrincipalQuery.d.ts +65 -0
  188. package/esm/auth/hooks/queries/usePrincipalQuery.js +47 -0
  189. package/esm/auth/hooks/queries/usePrincipalScopeOverrideQuery.d.ts +65 -0
  190. package/esm/auth/hooks/queries/usePrincipalScopeOverrideQuery.js +47 -0
  191. package/esm/auth/hooks/queries/usePrincipalScopeOverridesQuery.d.ts +69 -0
  192. package/esm/auth/hooks/queries/usePrincipalScopeOverridesQuery.js +32 -0
  193. package/esm/auth/hooks/queries/usePrincipalsQuery.d.ts +69 -0
  194. package/esm/auth/hooks/queries/usePrincipalsQuery.js +32 -0
  195. package/esm/auth/hooks/query-keys.d.ts +58 -2
  196. package/esm/auth/hooks/query-keys.js +33 -1
  197. package/esm/auth/orm/index.d.ts +32 -4
  198. package/esm/auth/orm/index.js +8 -0
  199. package/esm/auth/orm/input-types.d.ts +915 -145
  200. package/esm/auth/orm/input-types.js +7 -0
  201. package/esm/auth/orm/models/index.d.ts +4 -0
  202. package/esm/auth/orm/models/index.js +4 -0
  203. package/esm/auth/orm/models/orgApiKeyList.d.ts +36 -0
  204. package/esm/auth/orm/models/orgApiKeyList.js +76 -0
  205. package/esm/auth/orm/models/principal.d.ts +45 -0
  206. package/esm/auth/orm/models/principal.js +89 -0
  207. package/esm/auth/orm/models/principalEntity.d.ts +54 -0
  208. package/esm/auth/orm/models/principalEntity.js +100 -0
  209. package/esm/auth/orm/models/principalScopeOverride.d.ts +36 -0
  210. package/esm/auth/orm/models/principalScopeOverride.js +76 -0
  211. package/esm/auth/orm/mutation/index.d.ts +33 -1
  212. package/esm/auth/orm/mutation/index.js +48 -0
  213. package/esm/auth/orm/query/index.d.ts +4 -4
  214. package/esm/auth/orm/query/index.js +7 -7
  215. package/esm/auth/schema-types.d.ts +477 -93
  216. package/esm/auth/types.d.ts +43 -0
  217. package/esm/compute/hooks/index.d.ts +1 -1
  218. package/esm/compute/hooks/index.js +1 -1
  219. package/esm/compute/hooks/invalidation.d.ts +29 -5
  220. package/esm/compute/hooks/invalidation.js +74 -10
  221. package/esm/compute/hooks/mutation-keys.d.ts +60 -12
  222. package/esm/compute/hooks/mutation-keys.js +40 -9
  223. package/esm/compute/hooks/mutations/index.d.ts +16 -4
  224. package/esm/compute/hooks/mutations/index.js +16 -4
  225. package/esm/compute/hooks/mutations/useCreatePlatformNamespaceEventMutation.d.ts +34 -0
  226. package/esm/compute/hooks/mutations/useCreatePlatformNamespaceEventMutation.js +31 -0
  227. package/esm/compute/hooks/mutations/useCreatePlatformNamespaceMutation.d.ts +34 -0
  228. package/esm/compute/hooks/mutations/useCreatePlatformNamespaceMutation.js +31 -0
  229. package/esm/compute/hooks/mutations/useCreateResourceEventMutation.d.ts +34 -0
  230. package/esm/compute/hooks/mutations/useCreateResourceEventMutation.js +31 -0
  231. package/esm/compute/hooks/mutations/useCreateResourceMutation.d.ts +34 -0
  232. package/esm/compute/hooks/mutations/useCreateResourceMutation.js +31 -0
  233. package/esm/compute/hooks/mutations/useDeletePlatformNamespaceEventMutation.d.ts +40 -0
  234. package/esm/compute/hooks/mutations/useDeletePlatformNamespaceEventMutation.js +37 -0
  235. package/esm/compute/hooks/mutations/useDeletePlatformNamespaceMutation.d.ts +38 -0
  236. package/esm/compute/hooks/mutations/useDeletePlatformNamespaceMutation.js +36 -0
  237. package/esm/compute/hooks/mutations/useDeleteResourceEventMutation.d.ts +40 -0
  238. package/esm/compute/hooks/mutations/useDeleteResourceEventMutation.js +37 -0
  239. package/esm/compute/hooks/mutations/useDeleteResourceMutation.d.ts +38 -0
  240. package/esm/compute/hooks/mutations/useDeleteResourceMutation.js +36 -0
  241. package/esm/compute/hooks/mutations/useUpdatePlatformNamespaceEventMutation.d.ts +42 -0
  242. package/esm/compute/hooks/mutations/useUpdatePlatformNamespaceEventMutation.js +38 -0
  243. package/esm/compute/hooks/mutations/useUpdatePlatformNamespaceMutation.d.ts +40 -0
  244. package/esm/compute/hooks/mutations/useUpdatePlatformNamespaceMutation.js +37 -0
  245. package/esm/compute/hooks/mutations/useUpdateResourceEventMutation.d.ts +42 -0
  246. package/esm/compute/hooks/mutations/useUpdateResourceEventMutation.js +38 -0
  247. package/esm/compute/hooks/mutations/useUpdateResourceMutation.d.ts +40 -0
  248. package/esm/compute/hooks/mutations/useUpdateResourceMutation.js +37 -0
  249. package/esm/compute/hooks/queries/index.d.ts +10 -2
  250. package/esm/compute/hooks/queries/index.js +10 -2
  251. package/esm/compute/hooks/queries/usePlatformNamespaceEventQuery.d.ts +65 -0
  252. package/esm/compute/hooks/queries/usePlatformNamespaceEventQuery.js +47 -0
  253. package/esm/compute/hooks/queries/usePlatformNamespaceEventsQuery.d.ts +69 -0
  254. package/esm/compute/hooks/queries/usePlatformNamespaceEventsQuery.js +32 -0
  255. package/esm/compute/hooks/queries/usePlatformNamespaceQuery.d.ts +65 -0
  256. package/esm/compute/hooks/queries/usePlatformNamespaceQuery.js +47 -0
  257. package/esm/compute/hooks/queries/usePlatformNamespacesQuery.d.ts +69 -0
  258. package/esm/compute/hooks/queries/usePlatformNamespacesQuery.js +32 -0
  259. package/esm/compute/hooks/queries/useResourceEventQuery.d.ts +65 -0
  260. package/esm/compute/hooks/queries/useResourceEventQuery.js +47 -0
  261. package/esm/compute/hooks/queries/useResourceEventsQuery.d.ts +69 -0
  262. package/esm/compute/hooks/queries/useResourceEventsQuery.js +32 -0
  263. package/esm/compute/hooks/queries/useResourceQuery.d.ts +65 -0
  264. package/esm/compute/hooks/queries/useResourceQuery.js +47 -0
  265. package/esm/compute/hooks/queries/useResourcesQuery.d.ts +69 -0
  266. package/esm/compute/hooks/queries/useResourcesQuery.js +32 -0
  267. package/esm/compute/hooks/query-keys.d.ts +68 -12
  268. package/esm/compute/hooks/query-keys.js +39 -7
  269. package/esm/compute/orm/index.d.ts +15 -7
  270. package/esm/compute/orm/index.js +10 -2
  271. package/esm/compute/orm/input-types.d.ts +1159 -221
  272. package/esm/compute/orm/input-types.js +4 -0
  273. package/esm/compute/orm/models/index.d.ts +5 -1
  274. package/esm/compute/orm/models/index.js +5 -1
  275. package/esm/compute/orm/models/platformNamespace.d.ts +54 -0
  276. package/esm/compute/orm/models/platformNamespace.js +100 -0
  277. package/esm/compute/orm/models/platformNamespaceEvent.d.ts +56 -0
  278. package/esm/compute/orm/models/platformNamespaceEvent.js +103 -0
  279. package/esm/compute/orm/models/resource.d.ts +54 -0
  280. package/esm/compute/orm/models/resource.js +100 -0
  281. package/esm/compute/orm/models/resourceEvent.d.ts +56 -0
  282. package/esm/compute/orm/models/resourceEvent.js +103 -0
  283. package/esm/compute/orm/mutation/index.d.ts +9 -9
  284. package/esm/compute/orm/mutation/index.js +12 -12
  285. package/esm/compute/schema-types.d.ts +691 -107
  286. package/esm/compute/types.d.ts +71 -12
  287. package/esm/modules/hooks/index.d.ts +1 -1
  288. package/esm/modules/hooks/index.js +1 -1
  289. package/esm/modules/hooks/invalidation.d.ts +24 -12
  290. package/esm/modules/hooks/invalidation.js +63 -31
  291. package/esm/modules/hooks/mutation-keys.d.ts +48 -24
  292. package/esm/modules/hooks/mutation-keys.js +28 -14
  293. package/esm/modules/hooks/mutations/index.d.ts +12 -6
  294. package/esm/modules/hooks/mutations/index.js +12 -6
  295. package/esm/modules/hooks/mutations/useCreatePrincipalAuthModuleMutation.d.ts +34 -0
  296. package/esm/modules/hooks/mutations/useCreatePrincipalAuthModuleMutation.js +31 -0
  297. package/esm/modules/hooks/mutations/useCreateResourceModuleMutation.d.ts +34 -0
  298. package/esm/modules/hooks/mutations/useCreateResourceModuleMutation.js +31 -0
  299. package/esm/modules/hooks/mutations/useDeletePrincipalAuthModuleMutation.d.ts +38 -0
  300. package/esm/modules/hooks/mutations/useDeletePrincipalAuthModuleMutation.js +36 -0
  301. package/esm/modules/hooks/mutations/useDeleteResourceModuleMutation.d.ts +38 -0
  302. package/esm/modules/hooks/mutations/useDeleteResourceModuleMutation.js +36 -0
  303. package/esm/modules/hooks/mutations/useUpdatePrincipalAuthModuleMutation.d.ts +40 -0
  304. package/esm/modules/hooks/mutations/useUpdatePrincipalAuthModuleMutation.js +37 -0
  305. package/esm/modules/hooks/mutations/useUpdateResourceModuleMutation.d.ts +40 -0
  306. package/esm/modules/hooks/mutations/useUpdateResourceModuleMutation.js +37 -0
  307. package/esm/modules/hooks/queries/index.d.ts +8 -4
  308. package/esm/modules/hooks/queries/index.js +8 -4
  309. package/esm/modules/hooks/queries/usePrincipalAuthModuleQuery.d.ts +65 -0
  310. package/esm/modules/hooks/queries/usePrincipalAuthModuleQuery.js +47 -0
  311. package/esm/modules/hooks/queries/usePrincipalAuthModulesQuery.d.ts +69 -0
  312. package/esm/modules/hooks/queries/usePrincipalAuthModulesQuery.js +32 -0
  313. package/esm/modules/hooks/queries/useResourceModuleQuery.d.ts +65 -0
  314. package/esm/modules/hooks/queries/useResourceModuleQuery.js +47 -0
  315. package/esm/modules/hooks/queries/useResourceModulesQuery.d.ts +69 -0
  316. package/esm/modules/hooks/queries/useResourceModulesQuery.js +32 -0
  317. package/esm/modules/hooks/query-keys.d.ts +56 -28
  318. package/esm/modules/hooks/query-keys.js +32 -16
  319. package/esm/modules/orm/index.d.ts +8 -4
  320. package/esm/modules/orm/index.js +8 -4
  321. package/esm/modules/orm/input-types.d.ts +868 -411
  322. package/esm/modules/orm/models/index.d.ts +4 -2
  323. package/esm/modules/orm/models/index.js +4 -2
  324. package/esm/modules/orm/models/principalAuthModule.d.ts +54 -0
  325. package/esm/modules/orm/models/principalAuthModule.js +100 -0
  326. package/esm/modules/orm/models/resourceModule.d.ts +54 -0
  327. package/esm/modules/orm/models/resourceModule.js +100 -0
  328. package/esm/modules/schema-types.d.ts +451 -169
  329. package/esm/modules/types.d.ts +75 -33
  330. package/modules/hooks/index.d.ts +1 -1
  331. package/modules/hooks/index.js +1 -1
  332. package/modules/hooks/invalidation.d.ts +24 -12
  333. package/modules/hooks/invalidation.js +62 -30
  334. package/modules/hooks/mutation-keys.d.ts +48 -24
  335. package/modules/hooks/mutation-keys.js +30 -16
  336. package/modules/hooks/mutations/index.d.ts +12 -6
  337. package/modules/hooks/mutations/index.js +12 -6
  338. package/modules/hooks/mutations/useCreatePrincipalAuthModuleMutation.d.ts +34 -0
  339. package/modules/hooks/mutations/useCreatePrincipalAuthModuleMutation.js +34 -0
  340. package/modules/hooks/mutations/useCreateResourceModuleMutation.d.ts +34 -0
  341. package/modules/hooks/mutations/useCreateResourceModuleMutation.js +34 -0
  342. package/modules/hooks/mutations/useDeletePrincipalAuthModuleMutation.d.ts +38 -0
  343. package/modules/hooks/mutations/useDeletePrincipalAuthModuleMutation.js +39 -0
  344. package/modules/hooks/mutations/useDeleteResourceModuleMutation.d.ts +38 -0
  345. package/modules/hooks/mutations/useDeleteResourceModuleMutation.js +39 -0
  346. package/modules/hooks/mutations/useUpdatePrincipalAuthModuleMutation.d.ts +40 -0
  347. package/modules/hooks/mutations/useUpdatePrincipalAuthModuleMutation.js +40 -0
  348. package/modules/hooks/mutations/useUpdateResourceModuleMutation.d.ts +40 -0
  349. package/modules/hooks/mutations/useUpdateResourceModuleMutation.js +40 -0
  350. package/modules/hooks/queries/index.d.ts +8 -4
  351. package/modules/hooks/queries/index.js +8 -4
  352. package/modules/hooks/queries/usePrincipalAuthModuleQuery.d.ts +65 -0
  353. package/modules/hooks/queries/usePrincipalAuthModuleQuery.js +53 -0
  354. package/modules/hooks/queries/usePrincipalAuthModulesQuery.d.ts +69 -0
  355. package/modules/hooks/queries/usePrincipalAuthModulesQuery.js +38 -0
  356. package/modules/hooks/queries/useResourceModuleQuery.d.ts +65 -0
  357. package/modules/hooks/queries/useResourceModuleQuery.js +53 -0
  358. package/modules/hooks/queries/useResourceModulesQuery.d.ts +69 -0
  359. package/modules/hooks/queries/useResourceModulesQuery.js +38 -0
  360. package/modules/hooks/query-keys.d.ts +56 -28
  361. package/modules/hooks/query-keys.js +34 -18
  362. package/modules/orm/index.d.ts +8 -4
  363. package/modules/orm/index.js +8 -4
  364. package/modules/orm/input-types.d.ts +868 -411
  365. package/modules/orm/models/index.d.ts +4 -2
  366. package/modules/orm/models/index.js +10 -6
  367. package/modules/orm/models/principalAuthModule.d.ts +54 -0
  368. package/modules/orm/models/principalAuthModule.js +104 -0
  369. package/modules/orm/models/resourceModule.d.ts +54 -0
  370. package/modules/orm/models/resourceModule.js +104 -0
  371. package/modules/schema-types.d.ts +451 -169
  372. package/modules/types.d.ts +75 -33
  373. package/package.json +4 -4
@@ -3,11 +3,17 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- import type { AuditLogAuth, CryptoAddress, Email, IdentityProvider, PhoneNumber, RoleType, User, UserConnectedAccount, WebauthnCredential, BigIntFilter, BooleanFilter, DatetimeFilter, FullTextFilter, IntFilter, InternetAddressFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter } from './types';
6
+ import type { AuditLogAuth, CryptoAddress, Email, IdentityProvider, OrgApiKeyList, PhoneNumber, Principal, PrincipalEntity, PrincipalScopeOverride, RoleType, User, UserConnectedAccount, WebauthnCredential, BigIntFilter, BitStringFilter, BooleanFilter, DatetimeFilter, FullTextFilter, IntFilter, InternetAddressFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter } from './types';
7
7
  export type Base64EncodedBinary = unknown;
8
8
  export type ConstructiveInternalTypeEmail = unknown;
9
9
  export type ConstructiveInternalTypeImage = unknown;
10
10
  export type ConstructiveInternalTypeOrigin = unknown;
11
+ /** Methods to use when ordering `PrincipalEntity`. */
12
+ export type PrincipalEntityOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC';
13
+ /** Methods to use when ordering `PrincipalScopeOverride`. */
14
+ export type PrincipalScopeOverrideOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ALLOWED_MASK_ASC' | 'ALLOWED_MASK_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC';
15
+ /** Methods to use when ordering `Principal`. */
16
+ export type PrincipalOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'USER_ID_ASC' | 'USER_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ALLOWED_MASK_ASC' | 'ALLOWED_MASK_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC' | 'BYPASS_STEP_UP_ASC' | 'BYPASS_STEP_UP_DESC';
11
17
  /** Methods to use when ordering `Email`. */
12
18
  export type EmailOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
13
19
  /** Methods to use when ordering `PhoneNumber`. */
@@ -24,111 +30,36 @@ export type IdentityProviderOrderBy = 'NATURAL' | 'SLUG_ASC' | 'SLUG_DESC' | 'KI
24
30
  export type RoleTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
25
31
  /** Methods to use when ordering `UserConnectedAccount`. */
26
32
  export type UserConnectedAccountOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'SERVICE_ASC' | 'SERVICE_DESC' | 'IDENTIFIER_ASC' | 'IDENTIFIER_DESC' | 'DETAILS_ASC' | 'DETAILS_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
33
+ /** Methods to use when ordering `OrgApiKeyList`. */
34
+ export type OrgApiKeyListOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'KEY_ID_ASC' | 'KEY_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'ORG_ID_ASC' | 'ORG_ID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'REVOKED_AT_ASC' | 'REVOKED_AT_DESC' | 'LAST_USED_AT_ASC' | 'LAST_USED_AT_DESC' | 'MFA_LEVEL_ASC' | 'MFA_LEVEL_DESC' | 'ACCESS_LEVEL_ASC' | 'ACCESS_LEVEL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
27
35
  /** Methods to use when ordering `User`. */
28
36
  export type UserOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'USERNAME_ASC' | 'USERNAME_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'PROFILE_PICTURE_ASC' | 'PROFILE_PICTURE_DESC' | 'SEARCH_TSV_ASC' | 'SEARCH_TSV_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'SEARCH_TSV_RANK_ASC' | 'SEARCH_TSV_RANK_DESC' | 'DISPLAY_NAME_TRGM_SIMILARITY_ASC' | 'DISPLAY_NAME_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
29
- /** A filter to be used against `Email` object types. All fields are combined with a logical ‘and.’ */
30
- export interface EmailFilter {
37
+ /** A filter to be used against `PrincipalEntity` object types. All fields are combined with a logical ‘and.’ */
38
+ export interface PrincipalEntityFilter {
31
39
  /** Filter by the object’s `id` field. */
32
40
  id?: UUIDFilter;
33
- /** Filter by the object’s `ownerId` field. */
34
- ownerId?: UUIDFilter;
35
- /** Filter by the object’s `email` field. */
36
- email?: ConstructiveInternalTypeEmailFilter;
37
- /** Filter by the object’s `isVerified` field. */
38
- isVerified?: BooleanFilter;
39
- /** Filter by the object’s `isPrimary` field. */
40
- isPrimary?: BooleanFilter;
41
- /** Filter by the object’s `name` field. */
42
- name?: StringFilter;
43
41
  /** Filter by the object’s `createdAt` field. */
44
42
  createdAt?: DatetimeFilter;
45
43
  /** Filter by the object’s `updatedAt` field. */
46
44
  updatedAt?: DatetimeFilter;
45
+ /** Filter by the object’s `principalId` field. */
46
+ principalId?: UUIDFilter;
47
+ /** Filter by the object’s `entityId` field. */
48
+ entityId?: UUIDFilter;
49
+ /** Filter by the object’s `ownerId` field. */
50
+ ownerId?: UUIDFilter;
47
51
  /** Checks for all expressions in this list. */
48
- and?: EmailFilter[];
52
+ and?: PrincipalEntityFilter[];
49
53
  /** Checks for any expressions in this list. */
50
- or?: EmailFilter[];
54
+ or?: PrincipalEntityFilter[];
51
55
  /** Negates the expression. */
52
- not?: EmailFilter;
56
+ not?: PrincipalEntityFilter;
57
+ /** Filter by the object’s `entity` relation. */
58
+ entity?: UserFilter;
53
59
  /** Filter by the object’s `owner` relation. */
54
60
  owner?: UserFilter;
55
- }
56
- /** A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ */
57
- export interface ConstructiveInternalTypeEmailFilter {
58
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
59
- isNull?: boolean;
60
- /** Equal to the specified value. */
61
- equalTo?: string;
62
- /** Not equal to the specified value. */
63
- notEqualTo?: string;
64
- /** Not equal to the specified value, treating null like an ordinary value. */
65
- distinctFrom?: string;
66
- /** Equal to the specified value, treating null like an ordinary value. */
67
- notDistinctFrom?: string;
68
- /** Included in the specified list. */
69
- in?: string[];
70
- /** Not included in the specified list. */
71
- notIn?: string[];
72
- /** Less than the specified value. */
73
- lessThan?: string;
74
- /** Less than or equal to the specified value. */
75
- lessThanOrEqualTo?: string;
76
- /** Greater than the specified value. */
77
- greaterThan?: string;
78
- /** Greater than or equal to the specified value. */
79
- greaterThanOrEqualTo?: string;
80
- /** Contains the specified string (case-sensitive). */
81
- includes?: string;
82
- /** Does not contain the specified string (case-sensitive). */
83
- notIncludes?: string;
84
- /** Contains the specified string (case-insensitive). */
85
- includesInsensitive?: ConstructiveInternalTypeEmail;
86
- /** Does not contain the specified string (case-insensitive). */
87
- notIncludesInsensitive?: ConstructiveInternalTypeEmail;
88
- /** Starts with the specified string (case-sensitive). */
89
- startsWith?: string;
90
- /** Does not start with the specified string (case-sensitive). */
91
- notStartsWith?: string;
92
- /** Starts with the specified string (case-insensitive). */
93
- startsWithInsensitive?: ConstructiveInternalTypeEmail;
94
- /** Does not start with the specified string (case-insensitive). */
95
- notStartsWithInsensitive?: ConstructiveInternalTypeEmail;
96
- /** Ends with the specified string (case-sensitive). */
97
- endsWith?: string;
98
- /** Does not end with the specified string (case-sensitive). */
99
- notEndsWith?: string;
100
- /** Ends with the specified string (case-insensitive). */
101
- endsWithInsensitive?: ConstructiveInternalTypeEmail;
102
- /** Does not end with the specified string (case-insensitive). */
103
- notEndsWithInsensitive?: ConstructiveInternalTypeEmail;
104
- /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
105
- like?: string;
106
- /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
107
- notLike?: string;
108
- /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
109
- likeInsensitive?: ConstructiveInternalTypeEmail;
110
- /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
111
- notLikeInsensitive?: ConstructiveInternalTypeEmail;
112
- /** Equal to the specified value (case-insensitive). */
113
- equalToInsensitive?: ConstructiveInternalTypeEmail;
114
- /** Not equal to the specified value (case-insensitive). */
115
- notEqualToInsensitive?: ConstructiveInternalTypeEmail;
116
- /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
117
- distinctFromInsensitive?: ConstructiveInternalTypeEmail;
118
- /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
119
- notDistinctFromInsensitive?: ConstructiveInternalTypeEmail;
120
- /** Included in the specified list (case-insensitive). */
121
- inInsensitive?: ConstructiveInternalTypeEmail[];
122
- /** Not included in the specified list (case-insensitive). */
123
- notInInsensitive?: ConstructiveInternalTypeEmail[];
124
- /** Less than the specified value (case-insensitive). */
125
- lessThanInsensitive?: ConstructiveInternalTypeEmail;
126
- /** Less than or equal to the specified value (case-insensitive). */
127
- lessThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
128
- /** Greater than the specified value (case-insensitive). */
129
- greaterThanInsensitive?: ConstructiveInternalTypeEmail;
130
- /** Greater than or equal to the specified value (case-insensitive). */
131
- greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
61
+ /** Filter by the object’s `principal` relation. */
62
+ principal?: PrincipalFilter;
132
63
  }
133
64
  /** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */
134
65
  export interface UserFilter {
@@ -156,6 +87,18 @@ export interface UserFilter {
156
87
  not?: UserFilter;
157
88
  /** Filter by the object’s `roleType` relation. */
158
89
  roleType?: RoleTypeFilter;
90
+ /** Filter by the object’s `ownedPrincipals` relation. */
91
+ ownedPrincipals?: UserToManyPrincipalFilter;
92
+ /** `ownedPrincipals` exist. */
93
+ ownedPrincipalsExist?: boolean;
94
+ /** Filter by the object’s `principals` relation. */
95
+ principals?: UserToManyPrincipalFilter;
96
+ /** `principals` exist. */
97
+ principalsExist?: boolean;
98
+ /** Filter by the object’s `principalEntitiesByEntityId` relation. */
99
+ principalEntitiesByEntityId?: UserToManyPrincipalEntityFilter;
100
+ /** `principalEntitiesByEntityId` exist. */
101
+ principalEntitiesByEntityIdExist?: boolean;
159
102
  /** Filter by the object’s `ownedEmails` relation. */
160
103
  ownedEmails?: UserToManyEmailFilter;
161
104
  /** `ownedEmails` exist. */
@@ -325,6 +268,108 @@ export interface RoleTypeFilter {
325
268
  /** Negates the expression. */
326
269
  not?: RoleTypeFilter;
327
270
  }
271
+ /** A filter to be used against many `Principal` object types. All fields are combined with a logical ‘and.’ */
272
+ export interface UserToManyPrincipalFilter {
273
+ /** Filters to entities where at least one related entity matches. */
274
+ some?: PrincipalFilter;
275
+ /** Filters to entities where every related entity matches. */
276
+ every?: PrincipalFilter;
277
+ /** Filters to entities where no related entity matches. */
278
+ none?: PrincipalFilter;
279
+ }
280
+ /** A filter to be used against `Principal` object types. All fields are combined with a logical ‘and.’ */
281
+ export interface PrincipalFilter {
282
+ /** Filter by the object’s `id` field. */
283
+ id?: UUIDFilter;
284
+ /** Filter by the object’s `createdAt` field. */
285
+ createdAt?: DatetimeFilter;
286
+ /** Filter by the object’s `updatedAt` field. */
287
+ updatedAt?: DatetimeFilter;
288
+ /** Filter by the object’s `ownerId` field. */
289
+ ownerId?: UUIDFilter;
290
+ /** Filter by the object’s `userId` field. */
291
+ userId?: UUIDFilter;
292
+ /** Filter by the object’s `name` field. */
293
+ name?: StringFilter;
294
+ /** Filter by the object’s `allowedMask` field. */
295
+ allowedMask?: BitStringFilter;
296
+ /** Filter by the object’s `isReadOnly` field. */
297
+ isReadOnly?: BooleanFilter;
298
+ /** Filter by the object’s `bypassStepUp` field. */
299
+ bypassStepUp?: BooleanFilter;
300
+ /** Checks for all expressions in this list. */
301
+ and?: PrincipalFilter[];
302
+ /** Checks for any expressions in this list. */
303
+ or?: PrincipalFilter[];
304
+ /** Negates the expression. */
305
+ not?: PrincipalFilter;
306
+ /** Filter by the object’s `owner` relation. */
307
+ owner?: UserFilter;
308
+ /** Filter by the object’s `user` relation. */
309
+ user?: UserFilter;
310
+ /** Filter by the object’s `principalEntities` relation. */
311
+ principalEntities?: PrincipalToManyPrincipalEntityFilter;
312
+ /** `principalEntities` exist. */
313
+ principalEntitiesExist?: boolean;
314
+ /** Filter by the object’s `principalScopeOverrides` relation. */
315
+ principalScopeOverrides?: PrincipalToManyPrincipalScopeOverrideFilter;
316
+ /** `principalScopeOverrides` exist. */
317
+ principalScopeOverridesExist?: boolean;
318
+ }
319
+ /** A filter to be used against many `PrincipalEntity` object types. All fields are combined with a logical ‘and.’ */
320
+ export interface PrincipalToManyPrincipalEntityFilter {
321
+ /** Filters to entities where at least one related entity matches. */
322
+ some?: PrincipalEntityFilter;
323
+ /** Filters to entities where every related entity matches. */
324
+ every?: PrincipalEntityFilter;
325
+ /** Filters to entities where no related entity matches. */
326
+ none?: PrincipalEntityFilter;
327
+ }
328
+ /** A filter to be used against many `PrincipalScopeOverride` object types. All fields are combined with a logical ‘and.’ */
329
+ export interface PrincipalToManyPrincipalScopeOverrideFilter {
330
+ /** Filters to entities where at least one related entity matches. */
331
+ some?: PrincipalScopeOverrideFilter;
332
+ /** Filters to entities where every related entity matches. */
333
+ every?: PrincipalScopeOverrideFilter;
334
+ /** Filters to entities where no related entity matches. */
335
+ none?: PrincipalScopeOverrideFilter;
336
+ }
337
+ /** A filter to be used against `PrincipalScopeOverride` object types. All fields are combined with a logical ‘and.’ */
338
+ export interface PrincipalScopeOverrideFilter {
339
+ /** Filter by the object’s `id` field. */
340
+ id?: UUIDFilter;
341
+ /** Filter by the object’s `createdAt` field. */
342
+ createdAt?: DatetimeFilter;
343
+ /** Filter by the object’s `updatedAt` field. */
344
+ updatedAt?: DatetimeFilter;
345
+ /** Filter by the object’s `principalId` field. */
346
+ principalId?: UUIDFilter;
347
+ /** Filter by the object’s `membershipType` field. */
348
+ membershipType?: IntFilter;
349
+ /** Filter by the object’s `allowedMask` field. */
350
+ allowedMask?: BitStringFilter;
351
+ /** Filter by the object’s `isAdmin` field. */
352
+ isAdmin?: BooleanFilter;
353
+ /** Filter by the object’s `isReadOnly` field. */
354
+ isReadOnly?: BooleanFilter;
355
+ /** Checks for all expressions in this list. */
356
+ and?: PrincipalScopeOverrideFilter[];
357
+ /** Checks for any expressions in this list. */
358
+ or?: PrincipalScopeOverrideFilter[];
359
+ /** Negates the expression. */
360
+ not?: PrincipalScopeOverrideFilter;
361
+ /** Filter by the object’s `principal` relation. */
362
+ principal?: PrincipalFilter;
363
+ }
364
+ /** A filter to be used against many `PrincipalEntity` object types. All fields are combined with a logical ‘and.’ */
365
+ export interface UserToManyPrincipalEntityFilter {
366
+ /** Filters to entities where at least one related entity matches. */
367
+ some?: PrincipalEntityFilter;
368
+ /** Filters to entities where every related entity matches. */
369
+ every?: PrincipalEntityFilter;
370
+ /** Filters to entities where no related entity matches. */
371
+ none?: PrincipalEntityFilter;
372
+ }
328
373
  /** A filter to be used against many `Email` object types. All fields are combined with a logical ‘and.’ */
329
374
  export interface UserToManyEmailFilter {
330
375
  /** Filters to entities where at least one related entity matches. */
@@ -334,6 +379,110 @@ export interface UserToManyEmailFilter {
334
379
  /** Filters to entities where no related entity matches. */
335
380
  none?: EmailFilter;
336
381
  }
382
+ /** A filter to be used against `Email` object types. All fields are combined with a logical ‘and.’ */
383
+ export interface EmailFilter {
384
+ /** Filter by the object’s `id` field. */
385
+ id?: UUIDFilter;
386
+ /** Filter by the object’s `ownerId` field. */
387
+ ownerId?: UUIDFilter;
388
+ /** Filter by the object’s `email` field. */
389
+ email?: ConstructiveInternalTypeEmailFilter;
390
+ /** Filter by the object’s `isVerified` field. */
391
+ isVerified?: BooleanFilter;
392
+ /** Filter by the object’s `isPrimary` field. */
393
+ isPrimary?: BooleanFilter;
394
+ /** Filter by the object’s `name` field. */
395
+ name?: StringFilter;
396
+ /** Filter by the object’s `createdAt` field. */
397
+ createdAt?: DatetimeFilter;
398
+ /** Filter by the object’s `updatedAt` field. */
399
+ updatedAt?: DatetimeFilter;
400
+ /** Checks for all expressions in this list. */
401
+ and?: EmailFilter[];
402
+ /** Checks for any expressions in this list. */
403
+ or?: EmailFilter[];
404
+ /** Negates the expression. */
405
+ not?: EmailFilter;
406
+ /** Filter by the object’s `owner` relation. */
407
+ owner?: UserFilter;
408
+ }
409
+ /** A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ */
410
+ export interface ConstructiveInternalTypeEmailFilter {
411
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
412
+ isNull?: boolean;
413
+ /** Equal to the specified value. */
414
+ equalTo?: string;
415
+ /** Not equal to the specified value. */
416
+ notEqualTo?: string;
417
+ /** Not equal to the specified value, treating null like an ordinary value. */
418
+ distinctFrom?: string;
419
+ /** Equal to the specified value, treating null like an ordinary value. */
420
+ notDistinctFrom?: string;
421
+ /** Included in the specified list. */
422
+ in?: string[];
423
+ /** Not included in the specified list. */
424
+ notIn?: string[];
425
+ /** Less than the specified value. */
426
+ lessThan?: string;
427
+ /** Less than or equal to the specified value. */
428
+ lessThanOrEqualTo?: string;
429
+ /** Greater than the specified value. */
430
+ greaterThan?: string;
431
+ /** Greater than or equal to the specified value. */
432
+ greaterThanOrEqualTo?: string;
433
+ /** Contains the specified string (case-sensitive). */
434
+ includes?: string;
435
+ /** Does not contain the specified string (case-sensitive). */
436
+ notIncludes?: string;
437
+ /** Contains the specified string (case-insensitive). */
438
+ includesInsensitive?: ConstructiveInternalTypeEmail;
439
+ /** Does not contain the specified string (case-insensitive). */
440
+ notIncludesInsensitive?: ConstructiveInternalTypeEmail;
441
+ /** Starts with the specified string (case-sensitive). */
442
+ startsWith?: string;
443
+ /** Does not start with the specified string (case-sensitive). */
444
+ notStartsWith?: string;
445
+ /** Starts with the specified string (case-insensitive). */
446
+ startsWithInsensitive?: ConstructiveInternalTypeEmail;
447
+ /** Does not start with the specified string (case-insensitive). */
448
+ notStartsWithInsensitive?: ConstructiveInternalTypeEmail;
449
+ /** Ends with the specified string (case-sensitive). */
450
+ endsWith?: string;
451
+ /** Does not end with the specified string (case-sensitive). */
452
+ notEndsWith?: string;
453
+ /** Ends with the specified string (case-insensitive). */
454
+ endsWithInsensitive?: ConstructiveInternalTypeEmail;
455
+ /** Does not end with the specified string (case-insensitive). */
456
+ notEndsWithInsensitive?: ConstructiveInternalTypeEmail;
457
+ /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
458
+ like?: string;
459
+ /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
460
+ notLike?: string;
461
+ /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
462
+ likeInsensitive?: ConstructiveInternalTypeEmail;
463
+ /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
464
+ notLikeInsensitive?: ConstructiveInternalTypeEmail;
465
+ /** Equal to the specified value (case-insensitive). */
466
+ equalToInsensitive?: ConstructiveInternalTypeEmail;
467
+ /** Not equal to the specified value (case-insensitive). */
468
+ notEqualToInsensitive?: ConstructiveInternalTypeEmail;
469
+ /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
470
+ distinctFromInsensitive?: ConstructiveInternalTypeEmail;
471
+ /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
472
+ notDistinctFromInsensitive?: ConstructiveInternalTypeEmail;
473
+ /** Included in the specified list (case-insensitive). */
474
+ inInsensitive?: ConstructiveInternalTypeEmail[];
475
+ /** Not included in the specified list (case-insensitive). */
476
+ notInInsensitive?: ConstructiveInternalTypeEmail[];
477
+ /** Less than the specified value (case-insensitive). */
478
+ lessThanInsensitive?: ConstructiveInternalTypeEmail;
479
+ /** Less than or equal to the specified value (case-insensitive). */
480
+ lessThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
481
+ /** Greater than the specified value (case-insensitive). */
482
+ greaterThanInsensitive?: ConstructiveInternalTypeEmail;
483
+ /** Greater than or equal to the specified value (case-insensitive). */
484
+ greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
485
+ }
337
486
  /** A filter to be used against many `PhoneNumber` object types. All fields are combined with a logical ‘and.’ */
338
487
  export interface UserToManyPhoneNumberFilter {
339
488
  /** Filters to entities where at least one related entity matches. */
@@ -632,6 +781,39 @@ export interface UserConnectedAccountFilter {
632
781
  /** Negates the expression. */
633
782
  not?: UserConnectedAccountFilter;
634
783
  }
784
+ /** A filter to be used against `OrgApiKeyList` object types. All fields are combined with a logical ‘and.’ */
785
+ export interface OrgApiKeyListFilter {
786
+ /** Filter by the object’s `id` field. */
787
+ id?: UUIDFilter;
788
+ /** Filter by the object’s `keyId` field. */
789
+ keyId?: StringFilter;
790
+ /** Filter by the object’s `name` field. */
791
+ name?: StringFilter;
792
+ /** Filter by the object’s `principalId` field. */
793
+ principalId?: UUIDFilter;
794
+ /** Filter by the object’s `orgId` field. */
795
+ orgId?: UUIDFilter;
796
+ /** Filter by the object’s `expiresAt` field. */
797
+ expiresAt?: DatetimeFilter;
798
+ /** Filter by the object’s `revokedAt` field. */
799
+ revokedAt?: DatetimeFilter;
800
+ /** Filter by the object’s `lastUsedAt` field. */
801
+ lastUsedAt?: DatetimeFilter;
802
+ /** Filter by the object’s `mfaLevel` field. */
803
+ mfaLevel?: StringFilter;
804
+ /** Filter by the object’s `accessLevel` field. */
805
+ accessLevel?: StringFilter;
806
+ /** Filter by the object’s `createdAt` field. */
807
+ createdAt?: DatetimeFilter;
808
+ /** Filter by the object’s `updatedAt` field. */
809
+ updatedAt?: DatetimeFilter;
810
+ /** Checks for all expressions in this list. */
811
+ and?: OrgApiKeyListFilter[];
812
+ /** Checks for any expressions in this list. */
813
+ or?: OrgApiKeyListFilter[];
814
+ /** Negates the expression. */
815
+ not?: OrgApiKeyListFilter;
816
+ }
635
817
  export interface SignOutInput {
636
818
  clientMutationId?: string;
637
819
  }
@@ -642,6 +824,14 @@ export interface CheckPasswordInput {
642
824
  clientMutationId?: string;
643
825
  password?: string;
644
826
  }
827
+ export interface DeleteOrgPrincipalInput {
828
+ clientMutationId?: string;
829
+ principalId?: string;
830
+ }
831
+ export interface DeletePrincipalInput {
832
+ clientMutationId?: string;
833
+ principalId?: string;
834
+ }
645
835
  export interface DisconnectAccountInput {
646
836
  clientMutationId?: string;
647
837
  accountId: string;
@@ -667,6 +857,11 @@ export interface ConfirmDeleteAccountInput {
667
857
  userId?: string;
668
858
  token?: string;
669
859
  }
860
+ export interface RevokeOrgApiKeyInput {
861
+ clientMutationId?: string;
862
+ keyId: string;
863
+ orgId: string;
864
+ }
670
865
  export interface SetPasswordInput {
671
866
  clientMutationId?: string;
672
867
  currentPassword?: string;
@@ -733,6 +928,14 @@ export interface LinkIdentityInput {
733
928
  identifier: string;
734
929
  details?: unknown;
735
930
  }
931
+ export interface CreateOrgPrincipalInput {
932
+ clientMutationId?: string;
933
+ name?: string;
934
+ orgId?: string;
935
+ allowedMask?: string;
936
+ isReadOnly?: boolean;
937
+ bypassStepUp?: boolean;
938
+ }
736
939
  export interface ExtendTokenExpiresInput {
737
940
  clientMutationId?: string;
738
941
  amount?: IntervalInput;
@@ -756,12 +959,22 @@ export interface IntervalInput {
756
959
  /** A quantity of years. */
757
960
  years?: number;
758
961
  }
962
+ export interface CreateOrgApiKeyInput {
963
+ clientMutationId?: string;
964
+ orgId?: string;
965
+ principalId?: string;
966
+ keyName?: string;
967
+ accessLevel?: string;
968
+ mfaLevel?: string;
969
+ expiresIn?: IntervalInput;
970
+ }
759
971
  export interface CreateApiKeyInput {
760
972
  clientMutationId?: string;
761
973
  keyName?: string;
762
974
  accessLevel?: string;
763
975
  mfaLevel?: string;
764
976
  expiresIn?: IntervalInput;
977
+ principalId?: string;
765
978
  }
766
979
  export interface RequestCrossOriginTokenInput {
767
980
  clientMutationId?: string;
@@ -770,6 +983,14 @@ export interface RequestCrossOriginTokenInput {
770
983
  origin?: ConstructiveInternalTypeOrigin;
771
984
  rememberMe?: boolean;
772
985
  }
986
+ export interface CreatePrincipalInput {
987
+ clientMutationId?: string;
988
+ name?: string;
989
+ allowedMask?: string;
990
+ entityIds?: string[];
991
+ isReadOnly?: boolean;
992
+ bypassStepUp?: boolean;
993
+ }
773
994
  export interface ForgotPasswordInput {
774
995
  clientMutationId?: string;
775
996
  email?: ConstructiveInternalTypeEmail;
@@ -801,6 +1022,23 @@ export interface RoleTypeInput {
801
1022
  id: number;
802
1023
  name: string;
803
1024
  }
1025
+ export interface CreatePrincipalEntityInput {
1026
+ clientMutationId?: string;
1027
+ /** The `PrincipalEntity` to be created by this mutation. */
1028
+ principalEntity: PrincipalEntityInput;
1029
+ }
1030
+ /** An input for mutations affecting `PrincipalEntity` */
1031
+ export interface PrincipalEntityInput {
1032
+ id?: string;
1033
+ createdAt?: string;
1034
+ updatedAt?: string;
1035
+ /** The principal this scoping row belongs to */
1036
+ principalId: string;
1037
+ /** The organization this principal is scoped to */
1038
+ entityId: string;
1039
+ /** Denormalized owner_id from principals table for RLS */
1040
+ ownerId: string;
1041
+ }
804
1042
  export interface CreateUserConnectedAccountInput {
805
1043
  clientMutationId?: string;
806
1044
  /** The `UserConnectedAccount` to be created by this mutation. */
@@ -882,6 +1120,26 @@ export interface AuditLogAuthInput {
882
1120
  /** Whether the authentication attempt succeeded */
883
1121
  success: boolean;
884
1122
  }
1123
+ export interface CreateOrgApiKeyListInput {
1124
+ clientMutationId?: string;
1125
+ /** The `OrgApiKeyList` to be created by this mutation. */
1126
+ orgApiKeyList: OrgApiKeyListInput;
1127
+ }
1128
+ /** An input for mutations affecting `OrgApiKeyList` */
1129
+ export interface OrgApiKeyListInput {
1130
+ id?: string;
1131
+ keyId?: string;
1132
+ name?: string;
1133
+ principalId?: string;
1134
+ orgId?: string;
1135
+ expiresAt?: string;
1136
+ revokedAt?: string;
1137
+ lastUsedAt?: string;
1138
+ mfaLevel?: string;
1139
+ accessLevel?: string;
1140
+ createdAt?: string;
1141
+ updatedAt?: string;
1142
+ }
885
1143
  export interface CreateEmailInput {
886
1144
  clientMutationId?: string;
887
1145
  /** The `Email` to be created by this mutation. */
@@ -960,6 +1218,24 @@ export interface RoleTypePatch {
960
1218
  id?: number;
961
1219
  name?: string;
962
1220
  }
1221
+ export interface UpdatePrincipalEntityInput {
1222
+ clientMutationId?: string;
1223
+ id: string;
1224
+ /** An object where the defined keys will be set on the `PrincipalEntity` being updated. */
1225
+ principalEntityPatch: PrincipalEntityPatch;
1226
+ }
1227
+ /** Represents an update to a `PrincipalEntity`. Fields that are set will be updated. */
1228
+ export interface PrincipalEntityPatch {
1229
+ id?: string;
1230
+ createdAt?: string;
1231
+ updatedAt?: string;
1232
+ /** The principal this scoping row belongs to */
1233
+ principalId?: string;
1234
+ /** The organization this principal is scoped to */
1235
+ entityId?: string;
1236
+ /** Denormalized owner_id from principals table for RLS */
1237
+ ownerId?: string;
1238
+ }
963
1239
  export interface UpdateCryptoAddressInput {
964
1240
  clientMutationId?: string;
965
1241
  id: string;
@@ -1106,6 +1382,10 @@ export interface DeleteRoleTypeInput {
1106
1382
  clientMutationId?: string;
1107
1383
  id: number;
1108
1384
  }
1385
+ export interface DeletePrincipalEntityInput {
1386
+ clientMutationId?: string;
1387
+ id: string;
1388
+ }
1109
1389
  export interface DeleteCryptoAddressInput {
1110
1390
  clientMutationId?: string;
1111
1391
  id: string;
@@ -1155,6 +1435,13 @@ export interface RoleTypeConnection {
1155
1435
  pageInfo: PageInfo;
1156
1436
  totalCount: number;
1157
1437
  }
1438
+ /** A connection to a list of `PrincipalEntity` values. */
1439
+ export interface PrincipalEntityConnection {
1440
+ nodes: PrincipalEntity[];
1441
+ edges: PrincipalEntityEdge[];
1442
+ pageInfo: PageInfo;
1443
+ totalCount: number;
1444
+ }
1158
1445
  /** A connection to a list of `UserConnectedAccount` values. */
1159
1446
  export interface UserConnectedAccountConnection {
1160
1447
  nodes: UserConnectedAccount[];
@@ -1169,6 +1456,13 @@ export interface CryptoAddressConnection {
1169
1456
  pageInfo: PageInfo;
1170
1457
  totalCount: number;
1171
1458
  }
1459
+ /** A connection to a list of `Principal` values. */
1460
+ export interface PrincipalConnection {
1461
+ nodes: Principal[];
1462
+ edges: PrincipalEdge[];
1463
+ pageInfo: PageInfo;
1464
+ totalCount: number;
1465
+ }
1172
1466
  /** A connection to a list of `PhoneNumber` values. */
1173
1467
  export interface PhoneNumberConnection {
1174
1468
  nodes: PhoneNumber[];
@@ -1183,6 +1477,20 @@ export interface AuditLogAuthConnection {
1183
1477
  pageInfo: PageInfo;
1184
1478
  totalCount: number;
1185
1479
  }
1480
+ /** A connection to a list of `PrincipalScopeOverride` values. */
1481
+ export interface PrincipalScopeOverrideConnection {
1482
+ nodes: PrincipalScopeOverride[];
1483
+ edges: PrincipalScopeOverrideEdge[];
1484
+ pageInfo: PageInfo;
1485
+ totalCount: number;
1486
+ }
1487
+ /** A connection to a list of `OrgApiKeyList` values. */
1488
+ export interface OrgApiKeyListConnection {
1489
+ nodes: OrgApiKeyList[];
1490
+ edges: OrgApiKeyListEdge[];
1491
+ pageInfo: PageInfo;
1492
+ totalCount: number;
1493
+ }
1186
1494
  /** A connection to a list of `Email` values. */
1187
1495
  export interface EmailConnection {
1188
1496
  nodes: Email[];
@@ -1218,6 +1526,14 @@ export interface SendAccountDeletionEmailPayload {
1218
1526
  export interface CheckPasswordPayload {
1219
1527
  clientMutationId?: string | null;
1220
1528
  }
1529
+ export interface DeleteOrgPrincipalPayload {
1530
+ clientMutationId?: string | null;
1531
+ result?: boolean | null;
1532
+ }
1533
+ export interface DeletePrincipalPayload {
1534
+ clientMutationId?: string | null;
1535
+ result?: boolean | null;
1536
+ }
1221
1537
  export interface DisconnectAccountPayload {
1222
1538
  clientMutationId?: string | null;
1223
1539
  result?: boolean | null;
@@ -1242,6 +1558,10 @@ export interface ConfirmDeleteAccountPayload {
1242
1558
  clientMutationId?: string | null;
1243
1559
  result?: boolean | null;
1244
1560
  }
1561
+ export interface RevokeOrgApiKeyPayload {
1562
+ clientMutationId?: string | null;
1563
+ result?: boolean | null;
1564
+ }
1245
1565
  export interface SetPasswordPayload {
1246
1566
  clientMutationId?: string | null;
1247
1567
  result?: boolean | null;
@@ -1282,10 +1602,18 @@ export interface LinkIdentityPayload {
1282
1602
  clientMutationId?: string | null;
1283
1603
  result?: boolean | null;
1284
1604
  }
1605
+ export interface CreateOrgPrincipalPayload {
1606
+ clientMutationId?: string | null;
1607
+ result?: string | null;
1608
+ }
1285
1609
  export interface ExtendTokenExpiresPayload {
1286
1610
  clientMutationId?: string | null;
1287
1611
  result?: ExtendTokenExpiresRecord[] | null;
1288
1612
  }
1613
+ export interface CreateOrgApiKeyPayload {
1614
+ clientMutationId?: string | null;
1615
+ result?: CreateOrgApiKeyRecord | null;
1616
+ }
1289
1617
  export interface CreateApiKeyPayload {
1290
1618
  clientMutationId?: string | null;
1291
1619
  result?: CreateApiKeyRecord | null;
@@ -1294,6 +1622,10 @@ export interface RequestCrossOriginTokenPayload {
1294
1622
  clientMutationId?: string | null;
1295
1623
  result?: string | null;
1296
1624
  }
1625
+ export interface CreatePrincipalPayload {
1626
+ clientMutationId?: string | null;
1627
+ result?: string | null;
1628
+ }
1297
1629
  export interface ForgotPasswordPayload {
1298
1630
  clientMutationId?: string | null;
1299
1631
  }
@@ -1312,6 +1644,12 @@ export interface CreateRoleTypePayload {
1312
1644
  roleType?: RoleType | null;
1313
1645
  roleTypeEdge?: RoleTypeEdge | null;
1314
1646
  }
1647
+ export interface CreatePrincipalEntityPayload {
1648
+ clientMutationId?: string | null;
1649
+ /** The `PrincipalEntity` that was created by this mutation. */
1650
+ principalEntity?: PrincipalEntity | null;
1651
+ principalEntityEdge?: PrincipalEntityEdge | null;
1652
+ }
1315
1653
  export interface CreateUserConnectedAccountPayload {
1316
1654
  clientMutationId?: string | null;
1317
1655
  /** The `UserConnectedAccount` that was created by this mutation. */
@@ -1335,6 +1673,11 @@ export interface CreateAuditLogAuthPayload {
1335
1673
  auditLogAuth?: AuditLogAuth | null;
1336
1674
  auditLogAuthEdge?: AuditLogAuthEdge | null;
1337
1675
  }
1676
+ export interface CreateOrgApiKeyListPayload {
1677
+ clientMutationId?: string | null;
1678
+ /** The `OrgApiKeyList` that was created by this mutation. */
1679
+ orgApiKeyList?: OrgApiKeyList | null;
1680
+ }
1338
1681
  export interface CreateEmailPayload {
1339
1682
  clientMutationId?: string | null;
1340
1683
  /** The `Email` that was created by this mutation. */
@@ -1359,6 +1702,12 @@ export interface UpdateRoleTypePayload {
1359
1702
  roleType?: RoleType | null;
1360
1703
  roleTypeEdge?: RoleTypeEdge | null;
1361
1704
  }
1705
+ export interface UpdatePrincipalEntityPayload {
1706
+ clientMutationId?: string | null;
1707
+ /** The `PrincipalEntity` that was updated by this mutation. */
1708
+ principalEntity?: PrincipalEntity | null;
1709
+ principalEntityEdge?: PrincipalEntityEdge | null;
1710
+ }
1362
1711
  export interface UpdateCryptoAddressPayload {
1363
1712
  clientMutationId?: string | null;
1364
1713
  /** The `CryptoAddress` that was updated by this mutation. */
@@ -1401,6 +1750,12 @@ export interface DeleteRoleTypePayload {
1401
1750
  roleType?: RoleType | null;
1402
1751
  roleTypeEdge?: RoleTypeEdge | null;
1403
1752
  }
1753
+ export interface DeletePrincipalEntityPayload {
1754
+ clientMutationId?: string | null;
1755
+ /** The `PrincipalEntity` that was deleted by this mutation. */
1756
+ principalEntity?: PrincipalEntity | null;
1757
+ principalEntityEdge?: PrincipalEntityEdge | null;
1758
+ }
1404
1759
  export interface DeleteCryptoAddressPayload {
1405
1760
  clientMutationId?: string | null;
1406
1761
  /** The `CryptoAddress` that was deleted by this mutation. */
@@ -1474,6 +1829,12 @@ export interface RoleTypeEdge {
1474
1829
  /** The `RoleType` at the end of the edge. */
1475
1830
  node?: RoleType | null;
1476
1831
  }
1832
+ /** A `PrincipalEntity` edge in the connection. */
1833
+ export interface PrincipalEntityEdge {
1834
+ cursor?: string | null;
1835
+ /** The `PrincipalEntity` at the end of the edge. */
1836
+ node?: PrincipalEntity | null;
1837
+ }
1477
1838
  /** A `UserConnectedAccount` edge in the connection. */
1478
1839
  export interface UserConnectedAccountEdge {
1479
1840
  cursor?: string | null;
@@ -1486,6 +1847,12 @@ export interface CryptoAddressEdge {
1486
1847
  /** The `CryptoAddress` at the end of the edge. */
1487
1848
  node?: CryptoAddress | null;
1488
1849
  }
1850
+ /** A `Principal` edge in the connection. */
1851
+ export interface PrincipalEdge {
1852
+ cursor?: string | null;
1853
+ /** The `Principal` at the end of the edge. */
1854
+ node?: Principal | null;
1855
+ }
1489
1856
  /** A `PhoneNumber` edge in the connection. */
1490
1857
  export interface PhoneNumberEdge {
1491
1858
  cursor?: string | null;
@@ -1498,6 +1865,18 @@ export interface AuditLogAuthEdge {
1498
1865
  /** The `AuditLogAuth` at the end of the edge. */
1499
1866
  node?: AuditLogAuth | null;
1500
1867
  }
1868
+ /** A `PrincipalScopeOverride` edge in the connection. */
1869
+ export interface PrincipalScopeOverrideEdge {
1870
+ cursor?: string | null;
1871
+ /** The `PrincipalScopeOverride` at the end of the edge. */
1872
+ node?: PrincipalScopeOverride | null;
1873
+ }
1874
+ /** A `OrgApiKeyList` edge in the connection. */
1875
+ export interface OrgApiKeyListEdge {
1876
+ cursor?: string | null;
1877
+ /** The `OrgApiKeyList` at the end of the edge. */
1878
+ node?: OrgApiKeyList | null;
1879
+ }
1501
1880
  /** A `Email` edge in the connection. */
1502
1881
  export interface EmailEdge {
1503
1882
  cursor?: string | null;
@@ -1579,6 +1958,11 @@ export interface ExtendTokenExpiresRecord {
1579
1958
  sessionId?: string | null;
1580
1959
  expiresAt?: string | null;
1581
1960
  }
1961
+ export interface CreateOrgApiKeyRecord {
1962
+ apiKey?: string | null;
1963
+ keyId?: string | null;
1964
+ expiresAt?: string | null;
1965
+ }
1582
1966
  export interface CreateApiKeyRecord {
1583
1967
  apiKey?: string | null;
1584
1968
  keyId?: string | null;