@constructive-io/react 0.23.9 → 0.23.10

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 (305) 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 +30 -6
  4. package/admin/hooks/invalidation.js +80 -16
  5. package/admin/hooks/mutation-keys.d.ts +60 -12
  6. package/admin/hooks/mutation-keys.js +48 -8
  7. package/admin/hooks/mutations/index.d.ts +15 -3
  8. package/admin/hooks/mutations/index.js +15 -3
  9. package/admin/hooks/mutations/useCreateAppPermissionDefaultGrantMutation.d.ts +34 -0
  10. package/admin/hooks/mutations/useCreateAppPermissionDefaultGrantMutation.js +34 -0
  11. package/admin/hooks/mutations/useCreateAppPermissionDefaultPermissionMutation.d.ts +34 -0
  12. package/admin/hooks/mutations/useCreateAppPermissionDefaultPermissionMutation.js +34 -0
  13. package/admin/hooks/mutations/useCreateOrgPermissionDefaultGrantMutation.d.ts +34 -0
  14. package/admin/hooks/mutations/useCreateOrgPermissionDefaultGrantMutation.js +34 -0
  15. package/admin/hooks/mutations/useCreateOrgPermissionDefaultPermissionMutation.d.ts +34 -0
  16. package/admin/hooks/mutations/useCreateOrgPermissionDefaultPermissionMutation.js +34 -0
  17. package/admin/hooks/mutations/useDeleteAppPermissionDefaultGrantMutation.d.ts +38 -0
  18. package/admin/hooks/mutations/useDeleteAppPermissionDefaultGrantMutation.js +39 -0
  19. package/admin/hooks/mutations/useDeleteAppPermissionDefaultPermissionMutation.d.ts +38 -0
  20. package/admin/hooks/mutations/useDeleteAppPermissionDefaultPermissionMutation.js +39 -0
  21. package/admin/hooks/mutations/useDeleteOrgPermissionDefaultGrantMutation.d.ts +38 -0
  22. package/admin/hooks/mutations/useDeleteOrgPermissionDefaultGrantMutation.js +39 -0
  23. package/admin/hooks/mutations/useDeleteOrgPermissionDefaultPermissionMutation.d.ts +38 -0
  24. package/admin/hooks/mutations/useDeleteOrgPermissionDefaultPermissionMutation.js +39 -0
  25. package/admin/hooks/mutations/useUpdateAppPermissionDefaultGrantMutation.d.ts +40 -0
  26. package/admin/hooks/mutations/useUpdateAppPermissionDefaultGrantMutation.js +40 -0
  27. package/admin/hooks/mutations/useUpdateAppPermissionDefaultPermissionMutation.d.ts +40 -0
  28. package/admin/hooks/mutations/useUpdateAppPermissionDefaultPermissionMutation.js +40 -0
  29. package/admin/hooks/mutations/useUpdateOrgPermissionDefaultGrantMutation.d.ts +40 -0
  30. package/admin/hooks/mutations/useUpdateOrgPermissionDefaultGrantMutation.js +40 -0
  31. package/admin/hooks/mutations/useUpdateOrgPermissionDefaultPermissionMutation.d.ts +40 -0
  32. package/admin/hooks/mutations/useUpdateOrgPermissionDefaultPermissionMutation.js +40 -0
  33. package/admin/hooks/queries/index.d.ts +10 -2
  34. package/admin/hooks/queries/index.js +10 -2
  35. package/admin/hooks/queries/useAppPermissionDefaultGrantQuery.d.ts +65 -0
  36. package/admin/hooks/queries/useAppPermissionDefaultGrantQuery.js +53 -0
  37. package/admin/hooks/queries/useAppPermissionDefaultGrantsQuery.d.ts +69 -0
  38. package/admin/hooks/queries/useAppPermissionDefaultGrantsQuery.js +38 -0
  39. package/admin/hooks/queries/useAppPermissionDefaultPermissionQuery.d.ts +65 -0
  40. package/admin/hooks/queries/useAppPermissionDefaultPermissionQuery.js +53 -0
  41. package/admin/hooks/queries/useAppPermissionDefaultPermissionsQuery.d.ts +69 -0
  42. package/admin/hooks/queries/useAppPermissionDefaultPermissionsQuery.js +38 -0
  43. package/admin/hooks/queries/useOrgPermissionDefaultGrantQuery.d.ts +65 -0
  44. package/admin/hooks/queries/useOrgPermissionDefaultGrantQuery.js +53 -0
  45. package/admin/hooks/queries/useOrgPermissionDefaultGrantsQuery.d.ts +69 -0
  46. package/admin/hooks/queries/useOrgPermissionDefaultGrantsQuery.js +38 -0
  47. package/admin/hooks/queries/useOrgPermissionDefaultPermissionQuery.d.ts +65 -0
  48. package/admin/hooks/queries/useOrgPermissionDefaultPermissionQuery.js +53 -0
  49. package/admin/hooks/queries/useOrgPermissionDefaultPermissionsQuery.d.ts +69 -0
  50. package/admin/hooks/queries/useOrgPermissionDefaultPermissionsQuery.js +38 -0
  51. package/admin/hooks/query-keys.d.ts +70 -14
  52. package/admin/hooks/query-keys.js +45 -9
  53. package/admin/orm/index.d.ts +10 -2
  54. package/admin/orm/index.js +10 -2
  55. package/admin/orm/input-types.d.ts +1611 -230
  56. package/admin/orm/input-types.js +9 -1
  57. package/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
  58. package/admin/orm/models/appPermissionDefaultGrant.js +104 -0
  59. package/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
  60. package/admin/orm/models/appPermissionDefaultPermission.js +104 -0
  61. package/admin/orm/models/index.d.ts +5 -1
  62. package/admin/orm/models/index.js +11 -3
  63. package/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
  64. package/admin/orm/models/orgPermissionDefaultGrant.js +104 -0
  65. package/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
  66. package/admin/orm/models/orgPermissionDefaultPermission.js +104 -0
  67. package/admin/schema-types.d.ts +702 -271
  68. package/admin/types.d.ts +49 -15
  69. package/agent/orm/input-types.d.ts +289 -47
  70. package/agent/orm/input-types.js +1 -0
  71. package/agent/schema-types.d.ts +37 -14
  72. package/agent/types.d.ts +3 -2
  73. package/api/hooks/index.d.ts +1 -1
  74. package/api/hooks/index.js +1 -1
  75. package/api/hooks/invalidation.d.ts +6 -0
  76. package/api/hooks/invalidation.js +16 -0
  77. package/api/hooks/mutation-keys.d.ts +12 -0
  78. package/api/hooks/mutation-keys.js +8 -1
  79. package/api/hooks/mutations/index.d.ts +3 -0
  80. package/api/hooks/mutations/index.js +3 -0
  81. package/api/hooks/mutations/useCreateCompositeTypeMutation.d.ts +34 -0
  82. package/api/hooks/mutations/useCreateCompositeTypeMutation.js +34 -0
  83. package/api/hooks/mutations/useDeleteCompositeTypeMutation.d.ts +38 -0
  84. package/api/hooks/mutations/useDeleteCompositeTypeMutation.js +39 -0
  85. package/api/hooks/mutations/useUpdateCompositeTypeMutation.d.ts +40 -0
  86. package/api/hooks/mutations/useUpdateCompositeTypeMutation.js +40 -0
  87. package/api/hooks/queries/index.d.ts +2 -0
  88. package/api/hooks/queries/index.js +2 -0
  89. package/api/hooks/queries/useCompositeTypeQuery.d.ts +65 -0
  90. package/api/hooks/queries/useCompositeTypeQuery.js +53 -0
  91. package/api/hooks/queries/useCompositeTypesQuery.d.ts +69 -0
  92. package/api/hooks/queries/useCompositeTypesQuery.js +38 -0
  93. package/api/hooks/query-keys.d.ts +14 -0
  94. package/api/hooks/query-keys.js +9 -1
  95. package/api/orm/index.d.ts +2 -0
  96. package/api/orm/index.js +2 -0
  97. package/api/orm/input-types.d.ts +1064 -125
  98. package/api/orm/input-types.js +3 -0
  99. package/api/orm/models/compositeType.d.ts +54 -0
  100. package/api/orm/models/compositeType.js +104 -0
  101. package/api/orm/models/index.d.ts +1 -0
  102. package/api/orm/models/index.js +3 -1
  103. package/api/schema-types.d.ts +664 -560
  104. package/api/types.d.ts +15 -14
  105. package/auth/hooks/mutation-keys.d.ts +6 -0
  106. package/auth/hooks/mutation-keys.js +9 -0
  107. package/auth/hooks/mutations/index.d.ts +3 -0
  108. package/auth/hooks/mutations/index.js +3 -0
  109. package/auth/hooks/mutations/useLinkIdentityMutation.d.ts +20 -0
  110. package/auth/hooks/mutations/useLinkIdentityMutation.js +26 -0
  111. package/auth/hooks/mutations/useSignInSmsOtpMutation.d.ts +20 -0
  112. package/auth/hooks/mutations/useSignInSmsOtpMutation.js +26 -0
  113. package/auth/hooks/mutations/useSignUpSmsMutation.d.ts +20 -0
  114. package/auth/hooks/mutations/useSignUpSmsMutation.js +26 -0
  115. package/auth/orm/index.d.ts +15 -0
  116. package/auth/orm/input-types.d.ts +197 -1
  117. package/auth/orm/mutation/index.d.ts +25 -1
  118. package/auth/orm/mutation/index.js +36 -0
  119. package/auth/schema-types.d.ts +78 -34
  120. package/esm/admin/hooks/index.d.ts +1 -1
  121. package/esm/admin/hooks/index.js +1 -1
  122. package/esm/admin/hooks/invalidation.d.ts +30 -6
  123. package/esm/admin/hooks/invalidation.js +81 -17
  124. package/esm/admin/hooks/mutation-keys.d.ts +60 -12
  125. package/esm/admin/hooks/mutation-keys.js +47 -7
  126. package/esm/admin/hooks/mutations/index.d.ts +15 -3
  127. package/esm/admin/hooks/mutations/index.js +15 -3
  128. package/esm/admin/hooks/mutations/useCreateAppPermissionDefaultGrantMutation.d.ts +34 -0
  129. package/esm/admin/hooks/mutations/useCreateAppPermissionDefaultGrantMutation.js +31 -0
  130. package/esm/admin/hooks/mutations/useCreateAppPermissionDefaultPermissionMutation.d.ts +34 -0
  131. package/esm/admin/hooks/mutations/useCreateAppPermissionDefaultPermissionMutation.js +31 -0
  132. package/esm/admin/hooks/mutations/useCreateOrgPermissionDefaultGrantMutation.d.ts +34 -0
  133. package/esm/admin/hooks/mutations/useCreateOrgPermissionDefaultGrantMutation.js +31 -0
  134. package/esm/admin/hooks/mutations/useCreateOrgPermissionDefaultPermissionMutation.d.ts +34 -0
  135. package/esm/admin/hooks/mutations/useCreateOrgPermissionDefaultPermissionMutation.js +31 -0
  136. package/esm/admin/hooks/mutations/useDeleteAppPermissionDefaultGrantMutation.d.ts +38 -0
  137. package/esm/admin/hooks/mutations/useDeleteAppPermissionDefaultGrantMutation.js +36 -0
  138. package/esm/admin/hooks/mutations/useDeleteAppPermissionDefaultPermissionMutation.d.ts +38 -0
  139. package/esm/admin/hooks/mutations/useDeleteAppPermissionDefaultPermissionMutation.js +36 -0
  140. package/esm/admin/hooks/mutations/useDeleteOrgPermissionDefaultGrantMutation.d.ts +38 -0
  141. package/esm/admin/hooks/mutations/useDeleteOrgPermissionDefaultGrantMutation.js +36 -0
  142. package/esm/admin/hooks/mutations/useDeleteOrgPermissionDefaultPermissionMutation.d.ts +38 -0
  143. package/esm/admin/hooks/mutations/useDeleteOrgPermissionDefaultPermissionMutation.js +36 -0
  144. package/esm/admin/hooks/mutations/useUpdateAppPermissionDefaultGrantMutation.d.ts +40 -0
  145. package/esm/admin/hooks/mutations/useUpdateAppPermissionDefaultGrantMutation.js +37 -0
  146. package/esm/admin/hooks/mutations/useUpdateAppPermissionDefaultPermissionMutation.d.ts +40 -0
  147. package/esm/admin/hooks/mutations/useUpdateAppPermissionDefaultPermissionMutation.js +37 -0
  148. package/esm/admin/hooks/mutations/useUpdateOrgPermissionDefaultGrantMutation.d.ts +40 -0
  149. package/esm/admin/hooks/mutations/useUpdateOrgPermissionDefaultGrantMutation.js +37 -0
  150. package/esm/admin/hooks/mutations/useUpdateOrgPermissionDefaultPermissionMutation.d.ts +40 -0
  151. package/esm/admin/hooks/mutations/useUpdateOrgPermissionDefaultPermissionMutation.js +37 -0
  152. package/esm/admin/hooks/queries/index.d.ts +10 -2
  153. package/esm/admin/hooks/queries/index.js +10 -2
  154. package/esm/admin/hooks/queries/useAppPermissionDefaultGrantQuery.d.ts +65 -0
  155. package/esm/admin/hooks/queries/useAppPermissionDefaultGrantQuery.js +47 -0
  156. package/esm/admin/hooks/queries/useAppPermissionDefaultGrantsQuery.d.ts +69 -0
  157. package/esm/admin/hooks/queries/useAppPermissionDefaultGrantsQuery.js +32 -0
  158. package/esm/admin/hooks/queries/useAppPermissionDefaultPermissionQuery.d.ts +65 -0
  159. package/esm/admin/hooks/queries/useAppPermissionDefaultPermissionQuery.js +47 -0
  160. package/esm/admin/hooks/queries/useAppPermissionDefaultPermissionsQuery.d.ts +69 -0
  161. package/esm/admin/hooks/queries/useAppPermissionDefaultPermissionsQuery.js +32 -0
  162. package/esm/admin/hooks/queries/useOrgPermissionDefaultGrantQuery.d.ts +65 -0
  163. package/esm/admin/hooks/queries/useOrgPermissionDefaultGrantQuery.js +47 -0
  164. package/esm/admin/hooks/queries/useOrgPermissionDefaultGrantsQuery.d.ts +69 -0
  165. package/esm/admin/hooks/queries/useOrgPermissionDefaultGrantsQuery.js +32 -0
  166. package/esm/admin/hooks/queries/useOrgPermissionDefaultPermissionQuery.d.ts +65 -0
  167. package/esm/admin/hooks/queries/useOrgPermissionDefaultPermissionQuery.js +47 -0
  168. package/esm/admin/hooks/queries/useOrgPermissionDefaultPermissionsQuery.d.ts +69 -0
  169. package/esm/admin/hooks/queries/useOrgPermissionDefaultPermissionsQuery.js +32 -0
  170. package/esm/admin/hooks/query-keys.d.ts +70 -14
  171. package/esm/admin/hooks/query-keys.js +44 -8
  172. package/esm/admin/orm/index.d.ts +10 -2
  173. package/esm/admin/orm/index.js +10 -2
  174. package/esm/admin/orm/input-types.d.ts +1611 -230
  175. package/esm/admin/orm/input-types.js +9 -1
  176. package/esm/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
  177. package/esm/admin/orm/models/appPermissionDefaultGrant.js +100 -0
  178. package/esm/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
  179. package/esm/admin/orm/models/appPermissionDefaultPermission.js +100 -0
  180. package/esm/admin/orm/models/index.d.ts +5 -1
  181. package/esm/admin/orm/models/index.js +5 -1
  182. package/esm/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
  183. package/esm/admin/orm/models/orgPermissionDefaultGrant.js +100 -0
  184. package/esm/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
  185. package/esm/admin/orm/models/orgPermissionDefaultPermission.js +100 -0
  186. package/esm/admin/schema-types.d.ts +702 -271
  187. package/esm/admin/types.d.ts +49 -15
  188. package/esm/agent/orm/input-types.d.ts +289 -47
  189. package/esm/agent/orm/input-types.js +1 -0
  190. package/esm/agent/schema-types.d.ts +37 -14
  191. package/esm/agent/types.d.ts +3 -2
  192. package/esm/api/hooks/index.d.ts +1 -1
  193. package/esm/api/hooks/index.js +1 -1
  194. package/esm/api/hooks/invalidation.d.ts +6 -0
  195. package/esm/api/hooks/invalidation.js +17 -1
  196. package/esm/api/hooks/mutation-keys.d.ts +12 -0
  197. package/esm/api/hooks/mutation-keys.js +7 -0
  198. package/esm/api/hooks/mutations/index.d.ts +3 -0
  199. package/esm/api/hooks/mutations/index.js +3 -0
  200. package/esm/api/hooks/mutations/useCreateCompositeTypeMutation.d.ts +34 -0
  201. package/esm/api/hooks/mutations/useCreateCompositeTypeMutation.js +31 -0
  202. package/esm/api/hooks/mutations/useDeleteCompositeTypeMutation.d.ts +38 -0
  203. package/esm/api/hooks/mutations/useDeleteCompositeTypeMutation.js +36 -0
  204. package/esm/api/hooks/mutations/useUpdateCompositeTypeMutation.d.ts +40 -0
  205. package/esm/api/hooks/mutations/useUpdateCompositeTypeMutation.js +37 -0
  206. package/esm/api/hooks/queries/index.d.ts +2 -0
  207. package/esm/api/hooks/queries/index.js +2 -0
  208. package/esm/api/hooks/queries/useCompositeTypeQuery.d.ts +65 -0
  209. package/esm/api/hooks/queries/useCompositeTypeQuery.js +47 -0
  210. package/esm/api/hooks/queries/useCompositeTypesQuery.d.ts +69 -0
  211. package/esm/api/hooks/queries/useCompositeTypesQuery.js +32 -0
  212. package/esm/api/hooks/query-keys.d.ts +14 -0
  213. package/esm/api/hooks/query-keys.js +8 -0
  214. package/esm/api/orm/index.d.ts +2 -0
  215. package/esm/api/orm/index.js +2 -0
  216. package/esm/api/orm/input-types.d.ts +1064 -125
  217. package/esm/api/orm/input-types.js +3 -0
  218. package/esm/api/orm/models/compositeType.d.ts +54 -0
  219. package/esm/api/orm/models/compositeType.js +100 -0
  220. package/esm/api/orm/models/index.d.ts +1 -0
  221. package/esm/api/orm/models/index.js +1 -0
  222. package/esm/api/schema-types.d.ts +664 -560
  223. package/esm/api/types.d.ts +15 -14
  224. package/esm/auth/hooks/mutation-keys.d.ts +6 -0
  225. package/esm/auth/hooks/mutation-keys.js +9 -0
  226. package/esm/auth/hooks/mutations/index.d.ts +3 -0
  227. package/esm/auth/hooks/mutations/index.js +3 -0
  228. package/esm/auth/hooks/mutations/useLinkIdentityMutation.d.ts +20 -0
  229. package/esm/auth/hooks/mutations/useLinkIdentityMutation.js +23 -0
  230. package/esm/auth/hooks/mutations/useSignInSmsOtpMutation.d.ts +20 -0
  231. package/esm/auth/hooks/mutations/useSignInSmsOtpMutation.js +23 -0
  232. package/esm/auth/hooks/mutations/useSignUpSmsMutation.d.ts +20 -0
  233. package/esm/auth/hooks/mutations/useSignUpSmsMutation.js +23 -0
  234. package/esm/auth/orm/index.d.ts +15 -0
  235. package/esm/auth/orm/input-types.d.ts +197 -1
  236. package/esm/auth/orm/mutation/index.d.ts +25 -1
  237. package/esm/auth/orm/mutation/index.js +36 -0
  238. package/esm/auth/schema-types.d.ts +78 -34
  239. package/esm/modules/hooks/index.d.ts +1 -1
  240. package/esm/modules/hooks/index.js +1 -1
  241. package/esm/modules/hooks/invalidation.d.ts +79 -73
  242. package/esm/modules/hooks/invalidation.js +183 -167
  243. package/esm/modules/hooks/mutation-keys.d.ts +158 -146
  244. package/esm/modules/hooks/mutation-keys.js +104 -94
  245. package/esm/modules/hooks/mutations/index.d.ts +42 -39
  246. package/esm/modules/hooks/mutations/index.js +42 -39
  247. package/esm/modules/hooks/mutations/useCreateFunctionInvocationModuleMutation.d.ts +34 -0
  248. package/esm/modules/hooks/mutations/useCreateFunctionInvocationModuleMutation.js +31 -0
  249. package/esm/modules/hooks/mutations/useDeleteFunctionInvocationModuleMutation.d.ts +38 -0
  250. package/esm/modules/hooks/mutations/useDeleteFunctionInvocationModuleMutation.js +36 -0
  251. package/esm/modules/hooks/mutations/useUpdateFunctionInvocationModuleMutation.d.ts +40 -0
  252. package/esm/modules/hooks/mutations/useUpdateFunctionInvocationModuleMutation.js +37 -0
  253. package/esm/modules/hooks/queries/index.d.ts +28 -26
  254. package/esm/modules/hooks/queries/index.js +28 -26
  255. package/esm/modules/hooks/queries/useFunctionInvocationModuleQuery.d.ts +65 -0
  256. package/esm/modules/hooks/queries/useFunctionInvocationModuleQuery.js +47 -0
  257. package/esm/modules/hooks/queries/useFunctionInvocationModulesQuery.d.ts +69 -0
  258. package/esm/modules/hooks/queries/useFunctionInvocationModulesQuery.js +32 -0
  259. package/esm/modules/hooks/query-keys.d.ts +186 -172
  260. package/esm/modules/hooks/query-keys.js +107 -99
  261. package/esm/modules/orm/index.d.ts +28 -26
  262. package/esm/modules/orm/index.js +28 -26
  263. package/esm/modules/orm/input-types.d.ts +4485 -2514
  264. package/esm/modules/orm/models/functionInvocationModule.d.ts +54 -0
  265. package/esm/modules/orm/models/functionInvocationModule.js +100 -0
  266. package/esm/modules/orm/models/index.d.ts +14 -13
  267. package/esm/modules/orm/models/index.js +14 -13
  268. package/esm/modules/schema-types.d.ts +2258 -1951
  269. package/esm/modules/types.d.ts +296 -233
  270. package/esm/objects/orm/input-types.d.ts +62 -0
  271. package/esm/usage/orm/input-types.d.ts +314 -19
  272. package/modules/hooks/index.d.ts +1 -1
  273. package/modules/hooks/index.js +1 -1
  274. package/modules/hooks/invalidation.d.ts +79 -73
  275. package/modules/hooks/invalidation.js +182 -166
  276. package/modules/hooks/mutation-keys.d.ts +158 -146
  277. package/modules/hooks/mutation-keys.js +106 -96
  278. package/modules/hooks/mutations/index.d.ts +42 -39
  279. package/modules/hooks/mutations/index.js +42 -39
  280. package/modules/hooks/mutations/useCreateFunctionInvocationModuleMutation.d.ts +34 -0
  281. package/modules/hooks/mutations/useCreateFunctionInvocationModuleMutation.js +34 -0
  282. package/modules/hooks/mutations/useDeleteFunctionInvocationModuleMutation.d.ts +38 -0
  283. package/modules/hooks/mutations/useDeleteFunctionInvocationModuleMutation.js +39 -0
  284. package/modules/hooks/mutations/useUpdateFunctionInvocationModuleMutation.d.ts +40 -0
  285. package/modules/hooks/mutations/useUpdateFunctionInvocationModuleMutation.js +40 -0
  286. package/modules/hooks/queries/index.d.ts +28 -26
  287. package/modules/hooks/queries/index.js +28 -26
  288. package/modules/hooks/queries/useFunctionInvocationModuleQuery.d.ts +65 -0
  289. package/modules/hooks/queries/useFunctionInvocationModuleQuery.js +53 -0
  290. package/modules/hooks/queries/useFunctionInvocationModulesQuery.d.ts +69 -0
  291. package/modules/hooks/queries/useFunctionInvocationModulesQuery.js +38 -0
  292. package/modules/hooks/query-keys.d.ts +186 -172
  293. package/modules/hooks/query-keys.js +109 -101
  294. package/modules/orm/index.d.ts +28 -26
  295. package/modules/orm/index.js +28 -26
  296. package/modules/orm/input-types.d.ts +4485 -2514
  297. package/modules/orm/models/functionInvocationModule.d.ts +54 -0
  298. package/modules/orm/models/functionInvocationModule.js +104 -0
  299. package/modules/orm/models/index.d.ts +14 -13
  300. package/modules/orm/models/index.js +30 -28
  301. package/modules/schema-types.d.ts +2258 -1951
  302. package/modules/types.d.ts +296 -233
  303. package/objects/orm/input-types.d.ts +62 -0
  304. package/package.json +4 -4
  305. package/usage/orm/input-types.d.ts +314 -19
@@ -3,15 +3,23 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- import type { AppAdminGrant, AppClaimedInvite, AppGrant, AppInvite, AppMembership, AppMembershipDefault, AppOwnerGrant, AppPermission, AppPermissionDefault, MembershipType, OrgAdminGrant, OrgChartEdge, OrgChartEdgeGrant, OrgClaimedInvite, OrgGetManagersRecord, OrgGetSubordinatesRecord, OrgGrant, OrgInvite, OrgMember, OrgMemberProfile, OrgMembership, OrgMembershipDefault, OrgMembershipSetting, OrgOwnerGrant, OrgPermission, OrgPermissionDefault, BitStringFilter, BooleanFilter, DatetimeFilter, IntFilter, StringFilter, UUIDFilter } from './types';
6
+ import type { AppAdminGrant, AppClaimedInvite, AppGrant, AppInvite, AppMembership, AppMembershipDefault, AppOwnerGrant, AppPermission, AppPermissionDefault, AppPermissionDefaultGrant, AppPermissionDefaultPermission, MembershipType, OrgAdminGrant, OrgChartEdge, OrgChartEdgeGrant, OrgClaimedInvite, OrgGetManagersRecord, OrgGetSubordinatesRecord, OrgGrant, OrgInvite, OrgMember, OrgMemberProfile, OrgMembership, OrgMembershipDefault, OrgMembershipSetting, OrgOwnerGrant, OrgPermission, OrgPermissionDefault, OrgPermissionDefaultGrant, OrgPermissionDefaultPermission, BitStringFilter, BooleanFilter, DatetimeFilter, IntFilter, StringFilter, UUIDFilter } from './types';
7
7
  export type ConstructiveInternalTypeEmail = unknown;
8
8
  export type ConstructiveInternalTypeImage = unknown;
9
+ /** Methods to use when ordering `AppPermissionDefaultGrant`. */
10
+ export type AppPermissionDefaultGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSION_ID_ASC' | 'PERMISSION_ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
11
+ /** Methods to use when ordering `OrgPermissionDefaultPermission`. */
12
+ export type OrgPermissionDefaultPermissionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSION_ID_ASC' | 'PERMISSION_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
13
+ /** Methods to use when ordering `OrgPermissionDefaultGrant`. */
14
+ export type OrgPermissionDefaultGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSION_ID_ASC' | 'PERMISSION_ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
9
15
  /** Methods to use when ordering `OrgMember`. */
10
16
  export type OrgMemberOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
11
17
  /** Methods to use when ordering `AppPermissionDefault`. */
12
18
  export type AppPermissionDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC';
13
19
  /** Methods to use when ordering `OrgPermissionDefault`. */
14
20
  export type OrgPermissionDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
21
+ /** Methods to use when ordering `AppPermissionDefaultPermission`. */
22
+ export type AppPermissionDefaultPermissionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSION_ID_ASC' | 'PERMISSION_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
15
23
  /** Methods to use when ordering `AppAdminGrant`. */
16
24
  export type AppAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_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';
17
25
  /** Methods to use when ordering `AppOwnerGrant`. */
@@ -46,14 +54,183 @@ export type OrgChartEdgeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_D
46
54
  export type OrgMembershipSettingOrderBy = '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' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'DELETE_MEMBER_CASCADE_CHILDREN_ASC' | 'DELETE_MEMBER_CASCADE_CHILDREN_DESC' | 'CREATE_CHILD_CASCADE_OWNERS_ASC' | 'CREATE_CHILD_CASCADE_OWNERS_DESC' | 'CREATE_CHILD_CASCADE_ADMINS_ASC' | 'CREATE_CHILD_CASCADE_ADMINS_DESC' | 'CREATE_CHILD_CASCADE_MEMBERS_ASC' | 'CREATE_CHILD_CASCADE_MEMBERS_DESC' | 'ALLOW_EXTERNAL_MEMBERS_ASC' | 'ALLOW_EXTERNAL_MEMBERS_DESC' | 'INVITE_PROFILE_ASSIGNMENT_MODE_ASC' | 'INVITE_PROFILE_ASSIGNMENT_MODE_DESC' | 'POPULATE_MEMBER_EMAIL_ASC' | 'POPULATE_MEMBER_EMAIL_DESC' | 'LIMIT_ALLOCATION_MODE_ASC' | 'LIMIT_ALLOCATION_MODE_DESC';
47
55
  /** Methods to use when ordering `AppMembership`. */
48
56
  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';
49
- /** Methods to use when ordering `AppInvite`. */
50
- 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' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
51
57
  /** Methods to use when ordering `OrgMembership`. */
52
58
  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';
53
59
  /** Methods to use when ordering `OrgMemberProfile`. */
54
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';
61
+ /** Methods to use when ordering `AppInvite`. */
62
+ export type AppInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CHANNEL_ASC' | 'CHANNEL_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'PHONE_ASC' | 'PHONE_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' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
55
63
  /** Methods to use when ordering `OrgInvite`. */
56
- 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' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_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';
64
+ export type OrgInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CHANNEL_ASC' | 'CHANNEL_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'PHONE_ASC' | 'PHONE_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' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_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';
65
+ /** A filter to be used against `AppPermissionDefaultGrant` object types. All fields are combined with a logical ‘and.’ */
66
+ export interface AppPermissionDefaultGrantFilter {
67
+ /** Filter by the object’s `id` field. */
68
+ id?: UUIDFilter;
69
+ /** Filter by the object’s `permissionId` field. */
70
+ permissionId?: UUIDFilter;
71
+ /** Filter by the object’s `isGrant` field. */
72
+ isGrant?: BooleanFilter;
73
+ /** Filter by the object’s `grantorId` field. */
74
+ grantorId?: UUIDFilter;
75
+ /** Filter by the object’s `createdAt` field. */
76
+ createdAt?: DatetimeFilter;
77
+ /** Filter by the object’s `updatedAt` field. */
78
+ updatedAt?: DatetimeFilter;
79
+ /** Checks for all expressions in this list. */
80
+ and?: AppPermissionDefaultGrantFilter[];
81
+ /** Checks for any expressions in this list. */
82
+ or?: AppPermissionDefaultGrantFilter[];
83
+ /** Negates the expression. */
84
+ not?: AppPermissionDefaultGrantFilter;
85
+ /** Filter by the object’s `permission` relation. */
86
+ permission?: AppPermissionFilter;
87
+ }
88
+ /** A filter to be used against `AppPermission` object types. All fields are combined with a logical ‘and.’ */
89
+ export interface AppPermissionFilter {
90
+ /** Filter by the object’s `id` field. */
91
+ id?: UUIDFilter;
92
+ /** Filter by the object’s `name` field. */
93
+ name?: StringFilter;
94
+ /** Filter by the object’s `bitnum` field. */
95
+ bitnum?: IntFilter;
96
+ /** Filter by the object’s `bitstr` field. */
97
+ bitstr?: BitStringFilter;
98
+ /** Filter by the object’s `description` field. */
99
+ description?: StringFilter;
100
+ /** Checks for all expressions in this list. */
101
+ and?: AppPermissionFilter[];
102
+ /** Checks for any expressions in this list. */
103
+ or?: AppPermissionFilter[];
104
+ /** Negates the expression. */
105
+ not?: AppPermissionFilter;
106
+ /** Filter by the object’s `appPermissionDefaultPermissionByPermissionId` relation. */
107
+ appPermissionDefaultPermissionByPermissionId?: AppPermissionDefaultPermissionFilter;
108
+ /** A related `appPermissionDefaultPermissionByPermissionId` exists. */
109
+ appPermissionDefaultPermissionByPermissionIdExists?: boolean;
110
+ /** Filter by the object’s `appPermissionDefaultGrantsByPermissionId` relation. */
111
+ appPermissionDefaultGrantsByPermissionId?: AppPermissionToManyAppPermissionDefaultGrantFilter;
112
+ /** `appPermissionDefaultGrantsByPermissionId` exist. */
113
+ appPermissionDefaultGrantsByPermissionIdExist?: boolean;
114
+ }
115
+ /** A filter to be used against `AppPermissionDefaultPermission` object types. All fields are combined with a logical ‘and.’ */
116
+ export interface AppPermissionDefaultPermissionFilter {
117
+ /** Filter by the object’s `id` field. */
118
+ id?: UUIDFilter;
119
+ /** Filter by the object’s `permissionId` field. */
120
+ permissionId?: UUIDFilter;
121
+ /** Filter by the object’s `createdAt` field. */
122
+ createdAt?: DatetimeFilter;
123
+ /** Filter by the object’s `updatedAt` field. */
124
+ updatedAt?: DatetimeFilter;
125
+ /** Checks for all expressions in this list. */
126
+ and?: AppPermissionDefaultPermissionFilter[];
127
+ /** Checks for any expressions in this list. */
128
+ or?: AppPermissionDefaultPermissionFilter[];
129
+ /** Negates the expression. */
130
+ not?: AppPermissionDefaultPermissionFilter;
131
+ /** Filter by the object’s `permission` relation. */
132
+ permission?: AppPermissionFilter;
133
+ }
134
+ /** A filter to be used against many `AppPermissionDefaultGrant` object types. All fields are combined with a logical ‘and.’ */
135
+ export interface AppPermissionToManyAppPermissionDefaultGrantFilter {
136
+ /** Filters to entities where at least one related entity matches. */
137
+ some?: AppPermissionDefaultGrantFilter;
138
+ /** Filters to entities where every related entity matches. */
139
+ every?: AppPermissionDefaultGrantFilter;
140
+ /** Filters to entities where no related entity matches. */
141
+ none?: AppPermissionDefaultGrantFilter;
142
+ }
143
+ /** A filter to be used against `OrgPermissionDefaultPermission` object types. All fields are combined with a logical ‘and.’ */
144
+ export interface OrgPermissionDefaultPermissionFilter {
145
+ /** Filter by the object’s `id` field. */
146
+ id?: UUIDFilter;
147
+ /** Filter by the object’s `permissionId` field. */
148
+ permissionId?: UUIDFilter;
149
+ /** Filter by the object’s `entityId` field. */
150
+ entityId?: UUIDFilter;
151
+ /** Filter by the object’s `createdAt` field. */
152
+ createdAt?: DatetimeFilter;
153
+ /** Filter by the object’s `updatedAt` field. */
154
+ updatedAt?: DatetimeFilter;
155
+ /** Checks for all expressions in this list. */
156
+ and?: OrgPermissionDefaultPermissionFilter[];
157
+ /** Checks for any expressions in this list. */
158
+ or?: OrgPermissionDefaultPermissionFilter[];
159
+ /** Negates the expression. */
160
+ not?: OrgPermissionDefaultPermissionFilter;
161
+ /** Filter by the object’s `permission` relation. */
162
+ permission?: OrgPermissionFilter;
163
+ }
164
+ /** A filter to be used against `OrgPermission` object types. All fields are combined with a logical ‘and.’ */
165
+ export interface OrgPermissionFilter {
166
+ /** Filter by the object’s `id` field. */
167
+ id?: UUIDFilter;
168
+ /** Filter by the object’s `name` field. */
169
+ name?: StringFilter;
170
+ /** Filter by the object’s `bitnum` field. */
171
+ bitnum?: IntFilter;
172
+ /** Filter by the object’s `bitstr` field. */
173
+ bitstr?: BitStringFilter;
174
+ /** Filter by the object’s `description` field. */
175
+ description?: StringFilter;
176
+ /** Checks for all expressions in this list. */
177
+ and?: OrgPermissionFilter[];
178
+ /** Checks for any expressions in this list. */
179
+ or?: OrgPermissionFilter[];
180
+ /** Negates the expression. */
181
+ not?: OrgPermissionFilter;
182
+ /** Filter by the object’s `orgPermissionDefaultPermissionsByPermissionId` relation. */
183
+ orgPermissionDefaultPermissionsByPermissionId?: OrgPermissionToManyOrgPermissionDefaultPermissionFilter;
184
+ /** `orgPermissionDefaultPermissionsByPermissionId` exist. */
185
+ orgPermissionDefaultPermissionsByPermissionIdExist?: boolean;
186
+ /** Filter by the object’s `orgPermissionDefaultGrantsByPermissionId` relation. */
187
+ orgPermissionDefaultGrantsByPermissionId?: OrgPermissionToManyOrgPermissionDefaultGrantFilter;
188
+ /** `orgPermissionDefaultGrantsByPermissionId` exist. */
189
+ orgPermissionDefaultGrantsByPermissionIdExist?: boolean;
190
+ }
191
+ /** A filter to be used against many `OrgPermissionDefaultPermission` object types. All fields are combined with a logical ‘and.’ */
192
+ export interface OrgPermissionToManyOrgPermissionDefaultPermissionFilter {
193
+ /** Filters to entities where at least one related entity matches. */
194
+ some?: OrgPermissionDefaultPermissionFilter;
195
+ /** Filters to entities where every related entity matches. */
196
+ every?: OrgPermissionDefaultPermissionFilter;
197
+ /** Filters to entities where no related entity matches. */
198
+ none?: OrgPermissionDefaultPermissionFilter;
199
+ }
200
+ /** A filter to be used against many `OrgPermissionDefaultGrant` object types. All fields are combined with a logical ‘and.’ */
201
+ export interface OrgPermissionToManyOrgPermissionDefaultGrantFilter {
202
+ /** Filters to entities where at least one related entity matches. */
203
+ some?: OrgPermissionDefaultGrantFilter;
204
+ /** Filters to entities where every related entity matches. */
205
+ every?: OrgPermissionDefaultGrantFilter;
206
+ /** Filters to entities where no related entity matches. */
207
+ none?: OrgPermissionDefaultGrantFilter;
208
+ }
209
+ /** A filter to be used against `OrgPermissionDefaultGrant` object types. All fields are combined with a logical ‘and.’ */
210
+ export interface OrgPermissionDefaultGrantFilter {
211
+ /** Filter by the object’s `id` field. */
212
+ id?: UUIDFilter;
213
+ /** Filter by the object’s `permissionId` field. */
214
+ permissionId?: UUIDFilter;
215
+ /** Filter by the object’s `isGrant` field. */
216
+ isGrant?: BooleanFilter;
217
+ /** Filter by the object’s `grantorId` field. */
218
+ grantorId?: UUIDFilter;
219
+ /** Filter by the object’s `entityId` field. */
220
+ entityId?: UUIDFilter;
221
+ /** Filter by the object’s `createdAt` field. */
222
+ createdAt?: DatetimeFilter;
223
+ /** Filter by the object’s `updatedAt` field. */
224
+ updatedAt?: DatetimeFilter;
225
+ /** Checks for all expressions in this list. */
226
+ and?: OrgPermissionDefaultGrantFilter[];
227
+ /** Checks for any expressions in this list. */
228
+ or?: OrgPermissionDefaultGrantFilter[];
229
+ /** Negates the expression. */
230
+ not?: OrgPermissionDefaultGrantFilter;
231
+ /** Filter by the object’s `permission` relation. */
232
+ permission?: OrgPermissionFilter;
233
+ }
57
234
  /** A filter to be used against `OrgMember` object types. All fields are combined with a logical ‘and.’ */
58
235
  export interface OrgMemberFilter {
59
236
  /** Filter by the object’s `id` field. */
@@ -187,44 +364,6 @@ export interface OrgOwnerGrantFilter {
187
364
  /** Negates the expression. */
188
365
  not?: OrgOwnerGrantFilter;
189
366
  }
190
- /** A filter to be used against `AppPermission` object types. All fields are combined with a logical ‘and.’ */
191
- export interface AppPermissionFilter {
192
- /** Filter by the object’s `id` field. */
193
- id?: UUIDFilter;
194
- /** Filter by the object’s `name` field. */
195
- name?: StringFilter;
196
- /** Filter by the object’s `bitnum` field. */
197
- bitnum?: IntFilter;
198
- /** Filter by the object’s `bitstr` field. */
199
- bitstr?: BitStringFilter;
200
- /** Filter by the object’s `description` field. */
201
- description?: StringFilter;
202
- /** Checks for all expressions in this list. */
203
- and?: AppPermissionFilter[];
204
- /** Checks for any expressions in this list. */
205
- or?: AppPermissionFilter[];
206
- /** Negates the expression. */
207
- not?: AppPermissionFilter;
208
- }
209
- /** A filter to be used against `OrgPermission` object types. All fields are combined with a logical ‘and.’ */
210
- export interface OrgPermissionFilter {
211
- /** Filter by the object’s `id` field. */
212
- id?: UUIDFilter;
213
- /** Filter by the object’s `name` field. */
214
- name?: StringFilter;
215
- /** Filter by the object’s `bitnum` field. */
216
- bitnum?: IntFilter;
217
- /** Filter by the object’s `bitstr` field. */
218
- bitstr?: BitStringFilter;
219
- /** Filter by the object’s `description` field. */
220
- description?: StringFilter;
221
- /** Checks for all expressions in this list. */
222
- and?: OrgPermissionFilter[];
223
- /** Checks for any expressions in this list. */
224
- or?: OrgPermissionFilter[];
225
- /** Negates the expression. */
226
- not?: OrgPermissionFilter;
227
- }
228
367
  /** A filter to be used against `OrgChartEdgeGrant` object types. All fields are combined with a logical ‘and.’ */
229
368
  export interface OrgChartEdgeGrantFilter {
230
369
  /** Filter by the object’s `id` field. */
@@ -510,116 +649,6 @@ export interface AppMembershipFilter {
510
649
  /** Negates the expression. */
511
650
  not?: AppMembershipFilter;
512
651
  }
513
- /** A filter to be used against `AppInvite` object types. All fields are combined with a logical ‘and.’ */
514
- export interface AppInviteFilter {
515
- /** Filter by the object’s `id` field. */
516
- id?: UUIDFilter;
517
- /** Filter by the object’s `email` field. */
518
- email?: ConstructiveInternalTypeEmailFilter;
519
- /** Filter by the object’s `senderId` field. */
520
- senderId?: UUIDFilter;
521
- /** Filter by the object’s `inviteToken` field. */
522
- inviteToken?: StringFilter;
523
- /** Filter by the object’s `inviteValid` field. */
524
- inviteValid?: BooleanFilter;
525
- /** Filter by the object’s `inviteLimit` field. */
526
- inviteLimit?: IntFilter;
527
- /** Filter by the object’s `inviteCount` field. */
528
- inviteCount?: IntFilter;
529
- /** Filter by the object’s `multiple` field. */
530
- multiple?: BooleanFilter;
531
- /** Filter by the object’s `profileId` field. */
532
- profileId?: UUIDFilter;
533
- /** Filter by the object’s `expiresAt` field. */
534
- expiresAt?: DatetimeFilter;
535
- /** Filter by the object’s `createdAt` field. */
536
- createdAt?: DatetimeFilter;
537
- /** Filter by the object’s `updatedAt` field. */
538
- updatedAt?: DatetimeFilter;
539
- /** Checks for all expressions in this list. */
540
- and?: AppInviteFilter[];
541
- /** Checks for any expressions in this list. */
542
- or?: AppInviteFilter[];
543
- /** Negates the expression. */
544
- not?: AppInviteFilter;
545
- }
546
- /** A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ */
547
- export interface ConstructiveInternalTypeEmailFilter {
548
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
549
- isNull?: boolean;
550
- /** Equal to the specified value. */
551
- equalTo?: string;
552
- /** Not equal to the specified value. */
553
- notEqualTo?: string;
554
- /** Not equal to the specified value, treating null like an ordinary value. */
555
- distinctFrom?: string;
556
- /** Equal to the specified value, treating null like an ordinary value. */
557
- notDistinctFrom?: string;
558
- /** Included in the specified list. */
559
- in?: string[];
560
- /** Not included in the specified list. */
561
- notIn?: string[];
562
- /** Less than the specified value. */
563
- lessThan?: string;
564
- /** Less than or equal to the specified value. */
565
- lessThanOrEqualTo?: string;
566
- /** Greater than the specified value. */
567
- greaterThan?: string;
568
- /** Greater than or equal to the specified value. */
569
- greaterThanOrEqualTo?: string;
570
- /** Contains the specified string (case-sensitive). */
571
- includes?: string;
572
- /** Does not contain the specified string (case-sensitive). */
573
- notIncludes?: string;
574
- /** Contains the specified string (case-insensitive). */
575
- includesInsensitive?: ConstructiveInternalTypeEmail;
576
- /** Does not contain the specified string (case-insensitive). */
577
- notIncludesInsensitive?: ConstructiveInternalTypeEmail;
578
- /** Starts with the specified string (case-sensitive). */
579
- startsWith?: string;
580
- /** Does not start with the specified string (case-sensitive). */
581
- notStartsWith?: string;
582
- /** Starts with the specified string (case-insensitive). */
583
- startsWithInsensitive?: ConstructiveInternalTypeEmail;
584
- /** Does not start with the specified string (case-insensitive). */
585
- notStartsWithInsensitive?: ConstructiveInternalTypeEmail;
586
- /** Ends with the specified string (case-sensitive). */
587
- endsWith?: string;
588
- /** Does not end with the specified string (case-sensitive). */
589
- notEndsWith?: string;
590
- /** Ends with the specified string (case-insensitive). */
591
- endsWithInsensitive?: ConstructiveInternalTypeEmail;
592
- /** Does not end with the specified string (case-insensitive). */
593
- notEndsWithInsensitive?: ConstructiveInternalTypeEmail;
594
- /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
595
- like?: string;
596
- /** 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. */
597
- notLike?: string;
598
- /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
599
- likeInsensitive?: ConstructiveInternalTypeEmail;
600
- /** 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. */
601
- notLikeInsensitive?: ConstructiveInternalTypeEmail;
602
- /** Equal to the specified value (case-insensitive). */
603
- equalToInsensitive?: ConstructiveInternalTypeEmail;
604
- /** Not equal to the specified value (case-insensitive). */
605
- notEqualToInsensitive?: ConstructiveInternalTypeEmail;
606
- /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
607
- distinctFromInsensitive?: ConstructiveInternalTypeEmail;
608
- /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
609
- notDistinctFromInsensitive?: ConstructiveInternalTypeEmail;
610
- /** Included in the specified list (case-insensitive). */
611
- inInsensitive?: ConstructiveInternalTypeEmail[];
612
- /** Not included in the specified list (case-insensitive). */
613
- notInInsensitive?: ConstructiveInternalTypeEmail[];
614
- /** Less than the specified value (case-insensitive). */
615
- lessThanInsensitive?: ConstructiveInternalTypeEmail;
616
- /** Less than or equal to the specified value (case-insensitive). */
617
- lessThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
618
- /** Greater than the specified value (case-insensitive). */
619
- greaterThanInsensitive?: ConstructiveInternalTypeEmail;
620
- /** Greater than or equal to the specified value (case-insensitive). */
621
- greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
622
- }
623
652
  /** A filter to be used against `OrgMembership` object types. All fields are combined with a logical ‘and.’ */
624
653
  export interface OrgMembershipFilter {
625
654
  /** Filter by the object’s `id` field. */
@@ -737,12 +766,130 @@ export interface ConstructiveInternalTypeImageFilter {
737
766
  /** Contained by the specified JSON. */
738
767
  containedBy?: ConstructiveInternalTypeImage;
739
768
  }
769
+ /** A filter to be used against `AppInvite` object types. All fields are combined with a logical ‘and.’ */
770
+ export interface AppInviteFilter {
771
+ /** Filter by the object’s `id` field. */
772
+ id?: UUIDFilter;
773
+ /** Filter by the object’s `channel` field. */
774
+ channel?: StringFilter;
775
+ /** Filter by the object’s `email` field. */
776
+ email?: ConstructiveInternalTypeEmailFilter;
777
+ /** Filter by the object’s `phone` field. */
778
+ phone?: StringFilter;
779
+ /** Filter by the object’s `senderId` field. */
780
+ senderId?: UUIDFilter;
781
+ /** Filter by the object’s `inviteToken` field. */
782
+ inviteToken?: StringFilter;
783
+ /** Filter by the object’s `inviteValid` field. */
784
+ inviteValid?: BooleanFilter;
785
+ /** Filter by the object’s `inviteLimit` field. */
786
+ inviteLimit?: IntFilter;
787
+ /** Filter by the object’s `inviteCount` field. */
788
+ inviteCount?: IntFilter;
789
+ /** Filter by the object’s `multiple` field. */
790
+ multiple?: BooleanFilter;
791
+ /** Filter by the object’s `profileId` field. */
792
+ profileId?: UUIDFilter;
793
+ /** Filter by the object’s `expiresAt` field. */
794
+ expiresAt?: DatetimeFilter;
795
+ /** Filter by the object’s `createdAt` field. */
796
+ createdAt?: DatetimeFilter;
797
+ /** Filter by the object’s `updatedAt` field. */
798
+ updatedAt?: DatetimeFilter;
799
+ /** Checks for all expressions in this list. */
800
+ and?: AppInviteFilter[];
801
+ /** Checks for any expressions in this list. */
802
+ or?: AppInviteFilter[];
803
+ /** Negates the expression. */
804
+ not?: AppInviteFilter;
805
+ }
806
+ /** A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ */
807
+ export interface ConstructiveInternalTypeEmailFilter {
808
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
809
+ isNull?: boolean;
810
+ /** Equal to the specified value. */
811
+ equalTo?: string;
812
+ /** Not equal to the specified value. */
813
+ notEqualTo?: string;
814
+ /** Not equal to the specified value, treating null like an ordinary value. */
815
+ distinctFrom?: string;
816
+ /** Equal to the specified value, treating null like an ordinary value. */
817
+ notDistinctFrom?: string;
818
+ /** Included in the specified list. */
819
+ in?: string[];
820
+ /** Not included in the specified list. */
821
+ notIn?: string[];
822
+ /** Less than the specified value. */
823
+ lessThan?: string;
824
+ /** Less than or equal to the specified value. */
825
+ lessThanOrEqualTo?: string;
826
+ /** Greater than the specified value. */
827
+ greaterThan?: string;
828
+ /** Greater than or equal to the specified value. */
829
+ greaterThanOrEqualTo?: string;
830
+ /** Contains the specified string (case-sensitive). */
831
+ includes?: string;
832
+ /** Does not contain the specified string (case-sensitive). */
833
+ notIncludes?: string;
834
+ /** Contains the specified string (case-insensitive). */
835
+ includesInsensitive?: ConstructiveInternalTypeEmail;
836
+ /** Does not contain the specified string (case-insensitive). */
837
+ notIncludesInsensitive?: ConstructiveInternalTypeEmail;
838
+ /** Starts with the specified string (case-sensitive). */
839
+ startsWith?: string;
840
+ /** Does not start with the specified string (case-sensitive). */
841
+ notStartsWith?: string;
842
+ /** Starts with the specified string (case-insensitive). */
843
+ startsWithInsensitive?: ConstructiveInternalTypeEmail;
844
+ /** Does not start with the specified string (case-insensitive). */
845
+ notStartsWithInsensitive?: ConstructiveInternalTypeEmail;
846
+ /** Ends with the specified string (case-sensitive). */
847
+ endsWith?: string;
848
+ /** Does not end with the specified string (case-sensitive). */
849
+ notEndsWith?: string;
850
+ /** Ends with the specified string (case-insensitive). */
851
+ endsWithInsensitive?: ConstructiveInternalTypeEmail;
852
+ /** Does not end with the specified string (case-insensitive). */
853
+ notEndsWithInsensitive?: ConstructiveInternalTypeEmail;
854
+ /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
855
+ like?: string;
856
+ /** 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. */
857
+ notLike?: string;
858
+ /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
859
+ likeInsensitive?: ConstructiveInternalTypeEmail;
860
+ /** 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. */
861
+ notLikeInsensitive?: ConstructiveInternalTypeEmail;
862
+ /** Equal to the specified value (case-insensitive). */
863
+ equalToInsensitive?: ConstructiveInternalTypeEmail;
864
+ /** Not equal to the specified value (case-insensitive). */
865
+ notEqualToInsensitive?: ConstructiveInternalTypeEmail;
866
+ /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
867
+ distinctFromInsensitive?: ConstructiveInternalTypeEmail;
868
+ /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
869
+ notDistinctFromInsensitive?: ConstructiveInternalTypeEmail;
870
+ /** Included in the specified list (case-insensitive). */
871
+ inInsensitive?: ConstructiveInternalTypeEmail[];
872
+ /** Not included in the specified list (case-insensitive). */
873
+ notInInsensitive?: ConstructiveInternalTypeEmail[];
874
+ /** Less than the specified value (case-insensitive). */
875
+ lessThanInsensitive?: ConstructiveInternalTypeEmail;
876
+ /** Less than or equal to the specified value (case-insensitive). */
877
+ lessThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
878
+ /** Greater than the specified value (case-insensitive). */
879
+ greaterThanInsensitive?: ConstructiveInternalTypeEmail;
880
+ /** Greater than or equal to the specified value (case-insensitive). */
881
+ greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
882
+ }
740
883
  /** A filter to be used against `OrgInvite` object types. All fields are combined with a logical ‘and.’ */
741
884
  export interface OrgInviteFilter {
742
885
  /** Filter by the object’s `id` field. */
743
886
  id?: UUIDFilter;
887
+ /** Filter by the object’s `channel` field. */
888
+ channel?: StringFilter;
744
889
  /** Filter by the object’s `email` field. */
745
890
  email?: ConstructiveInternalTypeEmailFilter;
891
+ /** Filter by the object’s `phone` field. */
892
+ phone?: StringFilter;
746
893
  /** Filter by the object’s `senderId` field. */
747
894
  senderId?: UUIDFilter;
748
895
  /** Filter by the object’s `receiverId` field. */
@@ -823,6 +970,34 @@ export interface OrgPermissionDefaultInput {
823
970
  /** References the entity these default permissions apply to */
824
971
  entityId: string;
825
972
  }
973
+ export interface CreateAppPermissionDefaultPermissionInput {
974
+ clientMutationId?: string;
975
+ /** The `AppPermissionDefaultPermission` to be created by this mutation. */
976
+ appPermissionDefaultPermission: AppPermissionDefaultPermissionInput;
977
+ }
978
+ /** An input for mutations affecting `AppPermissionDefaultPermission` */
979
+ export interface AppPermissionDefaultPermissionInput {
980
+ id?: string;
981
+ /** References the permission included in the defaults bundle */
982
+ permissionId: string;
983
+ createdAt?: string;
984
+ updatedAt?: string;
985
+ }
986
+ export interface CreateOrgPermissionDefaultPermissionInput {
987
+ clientMutationId?: string;
988
+ /** The `OrgPermissionDefaultPermission` to be created by this mutation. */
989
+ orgPermissionDefaultPermission: OrgPermissionDefaultPermissionInput;
990
+ }
991
+ /** An input for mutations affecting `OrgPermissionDefaultPermission` */
992
+ export interface OrgPermissionDefaultPermissionInput {
993
+ id?: string;
994
+ /** References the permission included in the defaults bundle */
995
+ permissionId: string;
996
+ /** Scopes this default permission to a specific entity */
997
+ entityId: string;
998
+ createdAt?: string;
999
+ updatedAt?: string;
1000
+ }
826
1001
  export interface CreateAppAdminGrantInput {
827
1002
  clientMutationId?: string;
828
1003
  /** The `AppAdminGrant` to be created by this mutation. */
@@ -833,8 +1008,8 @@ export interface AppAdminGrantInput {
833
1008
  id?: string;
834
1009
  /** True to grant admin, false to revoke admin */
835
1010
  isGrant?: boolean;
836
- /** The member receiving or losing the admin grant */
837
- actorId: string;
1011
+ /** The member receiving or losing the admin grant; NULL if user was deleted */
1012
+ actorId?: string;
838
1013
  grantorId?: string;
839
1014
  createdAt?: string;
840
1015
  updatedAt?: string;
@@ -849,8 +1024,24 @@ export interface AppOwnerGrantInput {
849
1024
  id?: string;
850
1025
  /** True to grant ownership, false to revoke ownership */
851
1026
  isGrant?: boolean;
852
- /** The member receiving or losing the ownership grant */
853
- actorId: string;
1027
+ /** The member receiving or losing the ownership grant; NULL if user was deleted */
1028
+ actorId?: string;
1029
+ grantorId?: string;
1030
+ createdAt?: string;
1031
+ updatedAt?: string;
1032
+ }
1033
+ export interface CreateAppPermissionDefaultGrantInput {
1034
+ clientMutationId?: string;
1035
+ /** The `AppPermissionDefaultGrant` to be created by this mutation. */
1036
+ appPermissionDefaultGrant: AppPermissionDefaultGrantInput;
1037
+ }
1038
+ /** An input for mutations affecting `AppPermissionDefaultGrant` */
1039
+ export interface AppPermissionDefaultGrantInput {
1040
+ id?: string;
1041
+ /** References the permission being added to or removed from defaults */
1042
+ permissionId: string;
1043
+ /** True to add the permission to defaults, false to remove it */
1044
+ isGrant?: boolean;
854
1045
  grantorId?: string;
855
1046
  createdAt?: string;
856
1047
  updatedAt?: string;
@@ -865,8 +1056,8 @@ export interface OrgAdminGrantInput {
865
1056
  id?: string;
866
1057
  /** True to grant admin, false to revoke admin */
867
1058
  isGrant?: boolean;
868
- /** The member receiving or losing the admin grant */
869
- actorId: string;
1059
+ /** The member receiving or losing the admin grant; NULL if user was deleted */
1060
+ actorId?: string;
870
1061
  /** The entity (org or group) this admin grant applies to */
871
1062
  entityId: string;
872
1063
  grantorId?: string;
@@ -883,14 +1074,32 @@ export interface OrgOwnerGrantInput {
883
1074
  id?: string;
884
1075
  /** True to grant ownership, false to revoke ownership */
885
1076
  isGrant?: boolean;
886
- /** The member receiving or losing the ownership grant */
887
- actorId: string;
1077
+ /** The member receiving or losing the ownership grant; NULL if user was deleted */
1078
+ actorId?: string;
888
1079
  /** The entity (org or group) this ownership grant applies to */
889
1080
  entityId: string;
890
1081
  grantorId?: string;
891
1082
  createdAt?: string;
892
1083
  updatedAt?: string;
893
1084
  }
1085
+ export interface CreateOrgPermissionDefaultGrantInput {
1086
+ clientMutationId?: string;
1087
+ /** The `OrgPermissionDefaultGrant` to be created by this mutation. */
1088
+ orgPermissionDefaultGrant: OrgPermissionDefaultGrantInput;
1089
+ }
1090
+ /** An input for mutations affecting `OrgPermissionDefaultGrant` */
1091
+ export interface OrgPermissionDefaultGrantInput {
1092
+ id?: string;
1093
+ /** References the permission being added to or removed from defaults */
1094
+ permissionId: string;
1095
+ /** True to add the permission to defaults, false to remove it */
1096
+ isGrant?: boolean;
1097
+ grantorId?: string;
1098
+ /** Scopes this audit entry to a specific entity */
1099
+ entityId: string;
1100
+ createdAt?: string;
1101
+ updatedAt?: string;
1102
+ }
894
1103
  export interface CreateAppPermissionInput {
895
1104
  clientMutationId?: string;
896
1105
  /** The `AppPermission` to be created by this mutation. */
@@ -999,8 +1208,8 @@ export interface AppGrantInput {
999
1208
  permissions?: string;
1000
1209
  /** True to grant the permissions, false to revoke them */
1001
1210
  isGrant?: boolean;
1002
- /** The member receiving or losing the permission grant */
1003
- actorId: string;
1211
+ /** The member receiving or losing the permission grant; NULL if user was deleted */
1212
+ actorId?: string;
1004
1213
  grantorId?: string;
1005
1214
  createdAt?: string;
1006
1215
  updatedAt?: string;
@@ -1069,8 +1278,8 @@ export interface OrgGrantInput {
1069
1278
  permissions?: string;
1070
1279
  /** True to grant the permissions, false to revoke them */
1071
1280
  isGrant?: boolean;
1072
- /** The member receiving or losing the permission grant */
1073
- actorId: string;
1281
+ /** The member receiving or losing the permission grant; NULL if user was deleted */
1282
+ actorId?: string;
1074
1283
  /** The entity (org or group) this permission grant applies to */
1075
1284
  entityId: string;
1076
1285
  grantorId?: string;
@@ -1159,40 +1368,9 @@ export interface AppMembershipInput {
1159
1368
  permissions?: string;
1160
1369
  /** Bitmask of permissions directly granted to this member (not from profiles) */
1161
1370
  granted?: string;
1162
- /** References the user who holds this membership */
1163
- actorId: string;
1164
- profileId?: string;
1165
- }
1166
- export interface CreateAppInviteInput {
1167
- clientMutationId?: string;
1168
- /** The `AppInvite` to be created by this mutation. */
1169
- appInvite: AppInviteInput;
1170
- }
1171
- /** An input for mutations affecting `AppInvite` */
1172
- export interface AppInviteInput {
1173
- id?: string;
1174
- /** Email address of the invited recipient */
1175
- email?: ConstructiveInternalTypeEmail;
1176
- /** User ID of the member who sent this invitation */
1177
- senderId?: string;
1178
- /** Unique random hex token used to redeem this invitation */
1179
- inviteToken?: string;
1180
- /** Whether this invitation is still valid and can be redeemed */
1181
- inviteValid?: boolean;
1182
- /** Maximum number of times this invite can be claimed; -1 means unlimited */
1183
- inviteLimit?: number;
1184
- /** Running count of how many times this invite has been claimed */
1185
- inviteCount?: number;
1186
- /** Whether this invite can be claimed by multiple recipients */
1187
- multiple?: boolean;
1188
- /** Optional JSON payload of additional invite metadata */
1189
- data?: unknown;
1190
- /** Optional profile (role) to assign to the member when they claim this invite. Only allowed on email invites. */
1371
+ /** References the user who holds this membership */
1372
+ actorId: string;
1191
1373
  profileId?: string;
1192
- /** Timestamp after which this invitation can no longer be redeemed */
1193
- expiresAt?: string;
1194
- createdAt?: string;
1195
- updatedAt?: string;
1196
1374
  }
1197
1375
  export interface CreateOrgMembershipInput {
1198
1376
  clientMutationId?: string;
@@ -1259,6 +1437,41 @@ export interface OrgMemberProfileInput {
1259
1437
  /** Profile picture visible to other entity members */
1260
1438
  profilePicture?: ConstructiveInternalTypeImage;
1261
1439
  }
1440
+ export interface CreateAppInviteInput {
1441
+ clientMutationId?: string;
1442
+ /** The `AppInvite` to be created by this mutation. */
1443
+ appInvite: AppInviteInput;
1444
+ }
1445
+ /** An input for mutations affecting `AppInvite` */
1446
+ export interface AppInviteInput {
1447
+ id?: string;
1448
+ /** Delivery channel for this invitation: email, sms, or link */
1449
+ channel?: string;
1450
+ /** Email address of the invited recipient (required when channel=email) */
1451
+ email?: ConstructiveInternalTypeEmail;
1452
+ /** Phone number of the invited recipient in E.164 format (required when channel=sms) */
1453
+ phone?: string;
1454
+ /** User ID of the member who sent this invitation */
1455
+ senderId?: string;
1456
+ /** Unique random hex token used to redeem this invitation */
1457
+ inviteToken?: string;
1458
+ /** Whether this invitation is still valid and can be redeemed */
1459
+ inviteValid?: boolean;
1460
+ /** Maximum number of times this invite can be claimed; -1 means unlimited */
1461
+ inviteLimit?: number;
1462
+ /** Running count of how many times this invite has been claimed */
1463
+ inviteCount?: number;
1464
+ /** Whether this invite can be claimed by multiple recipients */
1465
+ multiple?: boolean;
1466
+ /** Optional JSON payload of additional invite metadata */
1467
+ data?: unknown;
1468
+ /** Optional profile (role) to assign to the member when they claim this invite. Only allowed on email invites. */
1469
+ profileId?: string;
1470
+ /** Timestamp after which this invitation can no longer be redeemed */
1471
+ expiresAt?: string;
1472
+ createdAt?: string;
1473
+ updatedAt?: string;
1474
+ }
1262
1475
  export interface CreateOrgInviteInput {
1263
1476
  clientMutationId?: string;
1264
1477
  /** The `OrgInvite` to be created by this mutation. */
@@ -1267,8 +1480,12 @@ export interface CreateOrgInviteInput {
1267
1480
  /** An input for mutations affecting `OrgInvite` */
1268
1481
  export interface OrgInviteInput {
1269
1482
  id?: string;
1270
- /** Email address of the invited recipient */
1483
+ /** Delivery channel for this invitation: email, sms, or link */
1484
+ channel?: string;
1485
+ /** Email address of the invited recipient (required when channel=email) */
1271
1486
  email?: ConstructiveInternalTypeEmail;
1487
+ /** Phone number of the invited recipient in E.164 format (required when channel=sms) */
1488
+ phone?: string;
1272
1489
  /** User ID of the member who sent this invitation */
1273
1490
  senderId?: string;
1274
1491
  /** User ID of the intended recipient, if targeting a specific user */
@@ -1337,6 +1554,36 @@ export interface OrgPermissionDefaultPatch {
1337
1554
  /** References the entity these default permissions apply to */
1338
1555
  entityId?: string;
1339
1556
  }
1557
+ export interface UpdateAppPermissionDefaultPermissionInput {
1558
+ clientMutationId?: string;
1559
+ id: string;
1560
+ /** An object where the defined keys will be set on the `AppPermissionDefaultPermission` being updated. */
1561
+ appPermissionDefaultPermissionPatch: AppPermissionDefaultPermissionPatch;
1562
+ }
1563
+ /** Represents an update to a `AppPermissionDefaultPermission`. Fields that are set will be updated. */
1564
+ export interface AppPermissionDefaultPermissionPatch {
1565
+ id?: string;
1566
+ /** References the permission included in the defaults bundle */
1567
+ permissionId?: string;
1568
+ createdAt?: string;
1569
+ updatedAt?: string;
1570
+ }
1571
+ export interface UpdateOrgPermissionDefaultPermissionInput {
1572
+ clientMutationId?: string;
1573
+ id: string;
1574
+ /** An object where the defined keys will be set on the `OrgPermissionDefaultPermission` being updated. */
1575
+ orgPermissionDefaultPermissionPatch: OrgPermissionDefaultPermissionPatch;
1576
+ }
1577
+ /** Represents an update to a `OrgPermissionDefaultPermission`. Fields that are set will be updated. */
1578
+ export interface OrgPermissionDefaultPermissionPatch {
1579
+ id?: string;
1580
+ /** References the permission included in the defaults bundle */
1581
+ permissionId?: string;
1582
+ /** Scopes this default permission to a specific entity */
1583
+ entityId?: string;
1584
+ createdAt?: string;
1585
+ updatedAt?: string;
1586
+ }
1340
1587
  export interface UpdateAppAdminGrantInput {
1341
1588
  clientMutationId?: string;
1342
1589
  id: string;
@@ -1348,7 +1595,7 @@ export interface AppAdminGrantPatch {
1348
1595
  id?: string;
1349
1596
  /** True to grant admin, false to revoke admin */
1350
1597
  isGrant?: boolean;
1351
- /** The member receiving or losing the admin grant */
1598
+ /** The member receiving or losing the admin grant; NULL if user was deleted */
1352
1599
  actorId?: string;
1353
1600
  grantorId?: string;
1354
1601
  createdAt?: string;
@@ -1365,12 +1612,29 @@ export interface AppOwnerGrantPatch {
1365
1612
  id?: string;
1366
1613
  /** True to grant ownership, false to revoke ownership */
1367
1614
  isGrant?: boolean;
1368
- /** The member receiving or losing the ownership grant */
1615
+ /** The member receiving or losing the ownership grant; NULL if user was deleted */
1369
1616
  actorId?: string;
1370
1617
  grantorId?: string;
1371
1618
  createdAt?: string;
1372
1619
  updatedAt?: string;
1373
1620
  }
1621
+ export interface UpdateAppPermissionDefaultGrantInput {
1622
+ clientMutationId?: string;
1623
+ id: string;
1624
+ /** An object where the defined keys will be set on the `AppPermissionDefaultGrant` being updated. */
1625
+ appPermissionDefaultGrantPatch: AppPermissionDefaultGrantPatch;
1626
+ }
1627
+ /** Represents an update to a `AppPermissionDefaultGrant`. Fields that are set will be updated. */
1628
+ export interface AppPermissionDefaultGrantPatch {
1629
+ id?: string;
1630
+ /** References the permission being added to or removed from defaults */
1631
+ permissionId?: string;
1632
+ /** True to add the permission to defaults, false to remove it */
1633
+ isGrant?: boolean;
1634
+ grantorId?: string;
1635
+ createdAt?: string;
1636
+ updatedAt?: string;
1637
+ }
1374
1638
  export interface UpdateOrgAdminGrantInput {
1375
1639
  clientMutationId?: string;
1376
1640
  id: string;
@@ -1382,7 +1646,7 @@ export interface OrgAdminGrantPatch {
1382
1646
  id?: string;
1383
1647
  /** True to grant admin, false to revoke admin */
1384
1648
  isGrant?: boolean;
1385
- /** The member receiving or losing the admin grant */
1649
+ /** The member receiving or losing the admin grant; NULL if user was deleted */
1386
1650
  actorId?: string;
1387
1651
  /** The entity (org or group) this admin grant applies to */
1388
1652
  entityId?: string;
@@ -1401,7 +1665,7 @@ export interface OrgOwnerGrantPatch {
1401
1665
  id?: string;
1402
1666
  /** True to grant ownership, false to revoke ownership */
1403
1667
  isGrant?: boolean;
1404
- /** The member receiving or losing the ownership grant */
1668
+ /** The member receiving or losing the ownership grant; NULL if user was deleted */
1405
1669
  actorId?: string;
1406
1670
  /** The entity (org or group) this ownership grant applies to */
1407
1671
  entityId?: string;
@@ -1409,6 +1673,25 @@ export interface OrgOwnerGrantPatch {
1409
1673
  createdAt?: string;
1410
1674
  updatedAt?: string;
1411
1675
  }
1676
+ export interface UpdateOrgPermissionDefaultGrantInput {
1677
+ clientMutationId?: string;
1678
+ id: string;
1679
+ /** An object where the defined keys will be set on the `OrgPermissionDefaultGrant` being updated. */
1680
+ orgPermissionDefaultGrantPatch: OrgPermissionDefaultGrantPatch;
1681
+ }
1682
+ /** Represents an update to a `OrgPermissionDefaultGrant`. Fields that are set will be updated. */
1683
+ export interface OrgPermissionDefaultGrantPatch {
1684
+ id?: string;
1685
+ /** References the permission being added to or removed from defaults */
1686
+ permissionId?: string;
1687
+ /** True to add the permission to defaults, false to remove it */
1688
+ isGrant?: boolean;
1689
+ grantorId?: string;
1690
+ /** Scopes this audit entry to a specific entity */
1691
+ entityId?: string;
1692
+ createdAt?: string;
1693
+ updatedAt?: string;
1694
+ }
1412
1695
  export interface UpdateAppPermissionInput {
1413
1696
  clientMutationId?: string;
1414
1697
  id: string;
@@ -1524,7 +1807,7 @@ export interface AppGrantPatch {
1524
1807
  permissions?: string;
1525
1808
  /** True to grant the permissions, false to revoke them */
1526
1809
  isGrant?: boolean;
1527
- /** The member receiving or losing the permission grant */
1810
+ /** The member receiving or losing the permission grant; NULL if user was deleted */
1528
1811
  actorId?: string;
1529
1812
  grantorId?: string;
1530
1813
  createdAt?: string;
@@ -1598,7 +1881,7 @@ export interface OrgGrantPatch {
1598
1881
  permissions?: string;
1599
1882
  /** True to grant the permissions, false to revoke them */
1600
1883
  isGrant?: boolean;
1601
- /** The member receiving or losing the permission grant */
1884
+ /** The member receiving or losing the permission grant; NULL if user was deleted */
1602
1885
  actorId?: string;
1603
1886
  /** The entity (org or group) this permission grant applies to */
1604
1887
  entityId?: string;
@@ -1695,38 +1978,6 @@ export interface AppMembershipPatch {
1695
1978
  actorId?: string;
1696
1979
  profileId?: string;
1697
1980
  }
1698
- export interface UpdateAppInviteInput {
1699
- clientMutationId?: string;
1700
- id: string;
1701
- /** An object where the defined keys will be set on the `AppInvite` being updated. */
1702
- appInvitePatch: AppInvitePatch;
1703
- }
1704
- /** Represents an update to a `AppInvite`. Fields that are set will be updated. */
1705
- export interface AppInvitePatch {
1706
- id?: string;
1707
- /** Email address of the invited recipient */
1708
- email?: ConstructiveInternalTypeEmail;
1709
- /** User ID of the member who sent this invitation */
1710
- senderId?: string;
1711
- /** Unique random hex token used to redeem this invitation */
1712
- inviteToken?: string;
1713
- /** Whether this invitation is still valid and can be redeemed */
1714
- inviteValid?: boolean;
1715
- /** Maximum number of times this invite can be claimed; -1 means unlimited */
1716
- inviteLimit?: number;
1717
- /** Running count of how many times this invite has been claimed */
1718
- inviteCount?: number;
1719
- /** Whether this invite can be claimed by multiple recipients */
1720
- multiple?: boolean;
1721
- /** Optional JSON payload of additional invite metadata */
1722
- data?: unknown;
1723
- /** Optional profile (role) to assign to the member when they claim this invite. Only allowed on email invites. */
1724
- profileId?: string;
1725
- /** Timestamp after which this invitation can no longer be redeemed */
1726
- expiresAt?: string;
1727
- createdAt?: string;
1728
- updatedAt?: string;
1729
- }
1730
1981
  export interface UpdateOrgMembershipInput {
1731
1982
  clientMutationId?: string;
1732
1983
  id: string;
@@ -1796,6 +2047,42 @@ export interface OrgMemberProfilePatch {
1796
2047
  /** Upload for Profile picture visible to other entity members */
1797
2048
  profilePictureUpload?: File;
1798
2049
  }
2050
+ export interface UpdateAppInviteInput {
2051
+ clientMutationId?: string;
2052
+ id: string;
2053
+ /** An object where the defined keys will be set on the `AppInvite` being updated. */
2054
+ appInvitePatch: AppInvitePatch;
2055
+ }
2056
+ /** Represents an update to a `AppInvite`. Fields that are set will be updated. */
2057
+ export interface AppInvitePatch {
2058
+ id?: string;
2059
+ /** Delivery channel for this invitation: email, sms, or link */
2060
+ channel?: string;
2061
+ /** Email address of the invited recipient (required when channel=email) */
2062
+ email?: ConstructiveInternalTypeEmail;
2063
+ /** Phone number of the invited recipient in E.164 format (required when channel=sms) */
2064
+ phone?: string;
2065
+ /** User ID of the member who sent this invitation */
2066
+ senderId?: string;
2067
+ /** Unique random hex token used to redeem this invitation */
2068
+ inviteToken?: string;
2069
+ /** Whether this invitation is still valid and can be redeemed */
2070
+ inviteValid?: boolean;
2071
+ /** Maximum number of times this invite can be claimed; -1 means unlimited */
2072
+ inviteLimit?: number;
2073
+ /** Running count of how many times this invite has been claimed */
2074
+ inviteCount?: number;
2075
+ /** Whether this invite can be claimed by multiple recipients */
2076
+ multiple?: boolean;
2077
+ /** Optional JSON payload of additional invite metadata */
2078
+ data?: unknown;
2079
+ /** Optional profile (role) to assign to the member when they claim this invite. Only allowed on email invites. */
2080
+ profileId?: string;
2081
+ /** Timestamp after which this invitation can no longer be redeemed */
2082
+ expiresAt?: string;
2083
+ createdAt?: string;
2084
+ updatedAt?: string;
2085
+ }
1799
2086
  export interface UpdateOrgInviteInput {
1800
2087
  clientMutationId?: string;
1801
2088
  id: string;
@@ -1805,8 +2092,12 @@ export interface UpdateOrgInviteInput {
1805
2092
  /** Represents an update to a `OrgInvite`. Fields that are set will be updated. */
1806
2093
  export interface OrgInvitePatch {
1807
2094
  id?: string;
1808
- /** Email address of the invited recipient */
2095
+ /** Delivery channel for this invitation: email, sms, or link */
2096
+ channel?: string;
2097
+ /** Email address of the invited recipient (required when channel=email) */
1809
2098
  email?: ConstructiveInternalTypeEmail;
2099
+ /** Phone number of the invited recipient in E.164 format (required when channel=sms) */
2100
+ phone?: string;
1810
2101
  /** User ID of the member who sent this invitation */
1811
2102
  senderId?: string;
1812
2103
  /** User ID of the intended recipient, if targeting a specific user */
@@ -1845,6 +2136,14 @@ export interface DeleteOrgPermissionDefaultInput {
1845
2136
  clientMutationId?: string;
1846
2137
  id: string;
1847
2138
  }
2139
+ export interface DeleteAppPermissionDefaultPermissionInput {
2140
+ clientMutationId?: string;
2141
+ id: string;
2142
+ }
2143
+ export interface DeleteOrgPermissionDefaultPermissionInput {
2144
+ clientMutationId?: string;
2145
+ id: string;
2146
+ }
1848
2147
  export interface DeleteAppAdminGrantInput {
1849
2148
  clientMutationId?: string;
1850
2149
  id: string;
@@ -1853,6 +2152,10 @@ export interface DeleteAppOwnerGrantInput {
1853
2152
  clientMutationId?: string;
1854
2153
  id: string;
1855
2154
  }
2155
+ export interface DeleteAppPermissionDefaultGrantInput {
2156
+ clientMutationId?: string;
2157
+ id: string;
2158
+ }
1856
2159
  export interface DeleteOrgAdminGrantInput {
1857
2160
  clientMutationId?: string;
1858
2161
  id: string;
@@ -1861,6 +2164,10 @@ export interface DeleteOrgOwnerGrantInput {
1861
2164
  clientMutationId?: string;
1862
2165
  id: string;
1863
2166
  }
2167
+ export interface DeleteOrgPermissionDefaultGrantInput {
2168
+ clientMutationId?: string;
2169
+ id: string;
2170
+ }
1864
2171
  export interface DeleteAppPermissionInput {
1865
2172
  clientMutationId?: string;
1866
2173
  id: string;
@@ -1914,15 +2221,15 @@ export interface DeleteAppMembershipInput {
1914
2221
  clientMutationId?: string;
1915
2222
  id: string;
1916
2223
  }
1917
- export interface DeleteAppInviteInput {
2224
+ export interface DeleteOrgMembershipInput {
1918
2225
  clientMutationId?: string;
1919
2226
  id: string;
1920
2227
  }
1921
- export interface DeleteOrgMembershipInput {
2228
+ export interface DeleteOrgMemberProfileInput {
1922
2229
  clientMutationId?: string;
1923
2230
  id: string;
1924
2231
  }
1925
- export interface DeleteOrgMemberProfileInput {
2232
+ export interface DeleteAppInviteInput {
1926
2233
  clientMutationId?: string;
1927
2234
  id: string;
1928
2235
  }
@@ -1988,6 +2295,20 @@ export interface OrgPermissionDefaultConnection {
1988
2295
  pageInfo: PageInfo;
1989
2296
  totalCount: number;
1990
2297
  }
2298
+ /** A connection to a list of `AppPermissionDefaultPermission` values. */
2299
+ export interface AppPermissionDefaultPermissionConnection {
2300
+ nodes: AppPermissionDefaultPermission[];
2301
+ edges: AppPermissionDefaultPermissionEdge[];
2302
+ pageInfo: PageInfo;
2303
+ totalCount: number;
2304
+ }
2305
+ /** A connection to a list of `OrgPermissionDefaultPermission` values. */
2306
+ export interface OrgPermissionDefaultPermissionConnection {
2307
+ nodes: OrgPermissionDefaultPermission[];
2308
+ edges: OrgPermissionDefaultPermissionEdge[];
2309
+ pageInfo: PageInfo;
2310
+ totalCount: number;
2311
+ }
1991
2312
  /** A connection to a list of `AppAdminGrant` values. */
1992
2313
  export interface AppAdminGrantConnection {
1993
2314
  nodes: AppAdminGrant[];
@@ -2002,6 +2323,13 @@ export interface AppOwnerGrantConnection {
2002
2323
  pageInfo: PageInfo;
2003
2324
  totalCount: number;
2004
2325
  }
2326
+ /** A connection to a list of `AppPermissionDefaultGrant` values. */
2327
+ export interface AppPermissionDefaultGrantConnection {
2328
+ nodes: AppPermissionDefaultGrant[];
2329
+ edges: AppPermissionDefaultGrantEdge[];
2330
+ pageInfo: PageInfo;
2331
+ totalCount: number;
2332
+ }
2005
2333
  /** A connection to a list of `OrgAdminGrant` values. */
2006
2334
  export interface OrgAdminGrantConnection {
2007
2335
  nodes: OrgAdminGrant[];
@@ -2016,6 +2344,13 @@ export interface OrgOwnerGrantConnection {
2016
2344
  pageInfo: PageInfo;
2017
2345
  totalCount: number;
2018
2346
  }
2347
+ /** A connection to a list of `OrgPermissionDefaultGrant` values. */
2348
+ export interface OrgPermissionDefaultGrantConnection {
2349
+ nodes: OrgPermissionDefaultGrant[];
2350
+ edges: OrgPermissionDefaultGrantEdge[];
2351
+ pageInfo: PageInfo;
2352
+ totalCount: number;
2353
+ }
2019
2354
  /** A connection to a list of `OrgChartEdgeGrant` values. */
2020
2355
  export interface OrgChartEdgeGrantConnection {
2021
2356
  nodes: OrgChartEdgeGrant[];
@@ -2093,13 +2428,6 @@ export interface AppMembershipConnection {
2093
2428
  pageInfo: PageInfo;
2094
2429
  totalCount: number;
2095
2430
  }
2096
- /** A connection to a list of `AppInvite` values. */
2097
- export interface AppInviteConnection {
2098
- nodes: AppInvite[];
2099
- edges: AppInviteEdge[];
2100
- pageInfo: PageInfo;
2101
- totalCount: number;
2102
- }
2103
2431
  /** A connection to a list of `OrgMembership` values. */
2104
2432
  export interface OrgMembershipConnection {
2105
2433
  nodes: OrgMembership[];
@@ -2114,6 +2442,13 @@ export interface OrgMemberProfileConnection {
2114
2442
  pageInfo: PageInfo;
2115
2443
  totalCount: number;
2116
2444
  }
2445
+ /** A connection to a list of `AppInvite` values. */
2446
+ export interface AppInviteConnection {
2447
+ nodes: AppInvite[];
2448
+ edges: AppInviteEdge[];
2449
+ pageInfo: PageInfo;
2450
+ totalCount: number;
2451
+ }
2117
2452
  /** A connection to a list of `OrgInvite` values. */
2118
2453
  export interface OrgInviteConnection {
2119
2454
  nodes: OrgInvite[];
@@ -2151,6 +2486,18 @@ export interface CreateOrgPermissionDefaultPayload {
2151
2486
  orgPermissionDefault?: OrgPermissionDefault | null;
2152
2487
  orgPermissionDefaultEdge?: OrgPermissionDefaultEdge | null;
2153
2488
  }
2489
+ export interface CreateAppPermissionDefaultPermissionPayload {
2490
+ clientMutationId?: string | null;
2491
+ /** The `AppPermissionDefaultPermission` that was created by this mutation. */
2492
+ appPermissionDefaultPermission?: AppPermissionDefaultPermission | null;
2493
+ appPermissionDefaultPermissionEdge?: AppPermissionDefaultPermissionEdge | null;
2494
+ }
2495
+ export interface CreateOrgPermissionDefaultPermissionPayload {
2496
+ clientMutationId?: string | null;
2497
+ /** The `OrgPermissionDefaultPermission` that was created by this mutation. */
2498
+ orgPermissionDefaultPermission?: OrgPermissionDefaultPermission | null;
2499
+ orgPermissionDefaultPermissionEdge?: OrgPermissionDefaultPermissionEdge | null;
2500
+ }
2154
2501
  export interface CreateAppAdminGrantPayload {
2155
2502
  clientMutationId?: string | null;
2156
2503
  /** The `AppAdminGrant` that was created by this mutation. */
@@ -2163,6 +2510,12 @@ export interface CreateAppOwnerGrantPayload {
2163
2510
  appOwnerGrant?: AppOwnerGrant | null;
2164
2511
  appOwnerGrantEdge?: AppOwnerGrantEdge | null;
2165
2512
  }
2513
+ export interface CreateAppPermissionDefaultGrantPayload {
2514
+ clientMutationId?: string | null;
2515
+ /** The `AppPermissionDefaultGrant` that was created by this mutation. */
2516
+ appPermissionDefaultGrant?: AppPermissionDefaultGrant | null;
2517
+ appPermissionDefaultGrantEdge?: AppPermissionDefaultGrantEdge | null;
2518
+ }
2166
2519
  export interface CreateOrgAdminGrantPayload {
2167
2520
  clientMutationId?: string | null;
2168
2521
  /** The `OrgAdminGrant` that was created by this mutation. */
@@ -2175,6 +2528,12 @@ export interface CreateOrgOwnerGrantPayload {
2175
2528
  orgOwnerGrant?: OrgOwnerGrant | null;
2176
2529
  orgOwnerGrantEdge?: OrgOwnerGrantEdge | null;
2177
2530
  }
2531
+ export interface CreateOrgPermissionDefaultGrantPayload {
2532
+ clientMutationId?: string | null;
2533
+ /** The `OrgPermissionDefaultGrant` that was created by this mutation. */
2534
+ orgPermissionDefaultGrant?: OrgPermissionDefaultGrant | null;
2535
+ orgPermissionDefaultGrantEdge?: OrgPermissionDefaultGrantEdge | null;
2536
+ }
2178
2537
  export interface CreateAppPermissionPayload {
2179
2538
  clientMutationId?: string | null;
2180
2539
  /** The `AppPermission` that was created by this mutation. */
@@ -2253,12 +2612,6 @@ export interface CreateAppMembershipPayload {
2253
2612
  appMembership?: AppMembership | null;
2254
2613
  appMembershipEdge?: AppMembershipEdge | null;
2255
2614
  }
2256
- export interface CreateAppInvitePayload {
2257
- clientMutationId?: string | null;
2258
- /** The `AppInvite` that was created by this mutation. */
2259
- appInvite?: AppInvite | null;
2260
- appInviteEdge?: AppInviteEdge | null;
2261
- }
2262
2615
  export interface CreateOrgMembershipPayload {
2263
2616
  clientMutationId?: string | null;
2264
2617
  /** The `OrgMembership` that was created by this mutation. */
@@ -2271,6 +2624,12 @@ export interface CreateOrgMemberProfilePayload {
2271
2624
  orgMemberProfile?: OrgMemberProfile | null;
2272
2625
  orgMemberProfileEdge?: OrgMemberProfileEdge | null;
2273
2626
  }
2627
+ export interface CreateAppInvitePayload {
2628
+ clientMutationId?: string | null;
2629
+ /** The `AppInvite` that was created by this mutation. */
2630
+ appInvite?: AppInvite | null;
2631
+ appInviteEdge?: AppInviteEdge | null;
2632
+ }
2274
2633
  export interface CreateOrgInvitePayload {
2275
2634
  clientMutationId?: string | null;
2276
2635
  /** The `OrgInvite` that was created by this mutation. */
@@ -2295,6 +2654,18 @@ export interface UpdateOrgPermissionDefaultPayload {
2295
2654
  orgPermissionDefault?: OrgPermissionDefault | null;
2296
2655
  orgPermissionDefaultEdge?: OrgPermissionDefaultEdge | null;
2297
2656
  }
2657
+ export interface UpdateAppPermissionDefaultPermissionPayload {
2658
+ clientMutationId?: string | null;
2659
+ /** The `AppPermissionDefaultPermission` that was updated by this mutation. */
2660
+ appPermissionDefaultPermission?: AppPermissionDefaultPermission | null;
2661
+ appPermissionDefaultPermissionEdge?: AppPermissionDefaultPermissionEdge | null;
2662
+ }
2663
+ export interface UpdateOrgPermissionDefaultPermissionPayload {
2664
+ clientMutationId?: string | null;
2665
+ /** The `OrgPermissionDefaultPermission` that was updated by this mutation. */
2666
+ orgPermissionDefaultPermission?: OrgPermissionDefaultPermission | null;
2667
+ orgPermissionDefaultPermissionEdge?: OrgPermissionDefaultPermissionEdge | null;
2668
+ }
2298
2669
  export interface UpdateAppAdminGrantPayload {
2299
2670
  clientMutationId?: string | null;
2300
2671
  /** The `AppAdminGrant` that was updated by this mutation. */
@@ -2307,6 +2678,12 @@ export interface UpdateAppOwnerGrantPayload {
2307
2678
  appOwnerGrant?: AppOwnerGrant | null;
2308
2679
  appOwnerGrantEdge?: AppOwnerGrantEdge | null;
2309
2680
  }
2681
+ export interface UpdateAppPermissionDefaultGrantPayload {
2682
+ clientMutationId?: string | null;
2683
+ /** The `AppPermissionDefaultGrant` that was updated by this mutation. */
2684
+ appPermissionDefaultGrant?: AppPermissionDefaultGrant | null;
2685
+ appPermissionDefaultGrantEdge?: AppPermissionDefaultGrantEdge | null;
2686
+ }
2310
2687
  export interface UpdateOrgAdminGrantPayload {
2311
2688
  clientMutationId?: string | null;
2312
2689
  /** The `OrgAdminGrant` that was updated by this mutation. */
@@ -2319,6 +2696,12 @@ export interface UpdateOrgOwnerGrantPayload {
2319
2696
  orgOwnerGrant?: OrgOwnerGrant | null;
2320
2697
  orgOwnerGrantEdge?: OrgOwnerGrantEdge | null;
2321
2698
  }
2699
+ export interface UpdateOrgPermissionDefaultGrantPayload {
2700
+ clientMutationId?: string | null;
2701
+ /** The `OrgPermissionDefaultGrant` that was updated by this mutation. */
2702
+ orgPermissionDefaultGrant?: OrgPermissionDefaultGrant | null;
2703
+ orgPermissionDefaultGrantEdge?: OrgPermissionDefaultGrantEdge | null;
2704
+ }
2322
2705
  export interface UpdateAppPermissionPayload {
2323
2706
  clientMutationId?: string | null;
2324
2707
  /** The `AppPermission` that was updated by this mutation. */
@@ -2397,12 +2780,6 @@ export interface UpdateAppMembershipPayload {
2397
2780
  appMembership?: AppMembership | null;
2398
2781
  appMembershipEdge?: AppMembershipEdge | null;
2399
2782
  }
2400
- export interface UpdateAppInvitePayload {
2401
- clientMutationId?: string | null;
2402
- /** The `AppInvite` that was updated by this mutation. */
2403
- appInvite?: AppInvite | null;
2404
- appInviteEdge?: AppInviteEdge | null;
2405
- }
2406
2783
  export interface UpdateOrgMembershipPayload {
2407
2784
  clientMutationId?: string | null;
2408
2785
  /** The `OrgMembership` that was updated by this mutation. */
@@ -2415,6 +2792,12 @@ export interface UpdateOrgMemberProfilePayload {
2415
2792
  orgMemberProfile?: OrgMemberProfile | null;
2416
2793
  orgMemberProfileEdge?: OrgMemberProfileEdge | null;
2417
2794
  }
2795
+ export interface UpdateAppInvitePayload {
2796
+ clientMutationId?: string | null;
2797
+ /** The `AppInvite` that was updated by this mutation. */
2798
+ appInvite?: AppInvite | null;
2799
+ appInviteEdge?: AppInviteEdge | null;
2800
+ }
2418
2801
  export interface UpdateOrgInvitePayload {
2419
2802
  clientMutationId?: string | null;
2420
2803
  /** The `OrgInvite` that was updated by this mutation. */
@@ -2439,6 +2822,18 @@ export interface DeleteOrgPermissionDefaultPayload {
2439
2822
  orgPermissionDefault?: OrgPermissionDefault | null;
2440
2823
  orgPermissionDefaultEdge?: OrgPermissionDefaultEdge | null;
2441
2824
  }
2825
+ export interface DeleteAppPermissionDefaultPermissionPayload {
2826
+ clientMutationId?: string | null;
2827
+ /** The `AppPermissionDefaultPermission` that was deleted by this mutation. */
2828
+ appPermissionDefaultPermission?: AppPermissionDefaultPermission | null;
2829
+ appPermissionDefaultPermissionEdge?: AppPermissionDefaultPermissionEdge | null;
2830
+ }
2831
+ export interface DeleteOrgPermissionDefaultPermissionPayload {
2832
+ clientMutationId?: string | null;
2833
+ /** The `OrgPermissionDefaultPermission` that was deleted by this mutation. */
2834
+ orgPermissionDefaultPermission?: OrgPermissionDefaultPermission | null;
2835
+ orgPermissionDefaultPermissionEdge?: OrgPermissionDefaultPermissionEdge | null;
2836
+ }
2442
2837
  export interface DeleteAppAdminGrantPayload {
2443
2838
  clientMutationId?: string | null;
2444
2839
  /** The `AppAdminGrant` that was deleted by this mutation. */
@@ -2451,6 +2846,12 @@ export interface DeleteAppOwnerGrantPayload {
2451
2846
  appOwnerGrant?: AppOwnerGrant | null;
2452
2847
  appOwnerGrantEdge?: AppOwnerGrantEdge | null;
2453
2848
  }
2849
+ export interface DeleteAppPermissionDefaultGrantPayload {
2850
+ clientMutationId?: string | null;
2851
+ /** The `AppPermissionDefaultGrant` that was deleted by this mutation. */
2852
+ appPermissionDefaultGrant?: AppPermissionDefaultGrant | null;
2853
+ appPermissionDefaultGrantEdge?: AppPermissionDefaultGrantEdge | null;
2854
+ }
2454
2855
  export interface DeleteOrgAdminGrantPayload {
2455
2856
  clientMutationId?: string | null;
2456
2857
  /** The `OrgAdminGrant` that was deleted by this mutation. */
@@ -2463,6 +2864,12 @@ export interface DeleteOrgOwnerGrantPayload {
2463
2864
  orgOwnerGrant?: OrgOwnerGrant | null;
2464
2865
  orgOwnerGrantEdge?: OrgOwnerGrantEdge | null;
2465
2866
  }
2867
+ export interface DeleteOrgPermissionDefaultGrantPayload {
2868
+ clientMutationId?: string | null;
2869
+ /** The `OrgPermissionDefaultGrant` that was deleted by this mutation. */
2870
+ orgPermissionDefaultGrant?: OrgPermissionDefaultGrant | null;
2871
+ orgPermissionDefaultGrantEdge?: OrgPermissionDefaultGrantEdge | null;
2872
+ }
2466
2873
  export interface DeleteAppPermissionPayload {
2467
2874
  clientMutationId?: string | null;
2468
2875
  /** The `AppPermission` that was deleted by this mutation. */
@@ -2541,12 +2948,6 @@ export interface DeleteAppMembershipPayload {
2541
2948
  appMembership?: AppMembership | null;
2542
2949
  appMembershipEdge?: AppMembershipEdge | null;
2543
2950
  }
2544
- export interface DeleteAppInvitePayload {
2545
- clientMutationId?: string | null;
2546
- /** The `AppInvite` that was deleted by this mutation. */
2547
- appInvite?: AppInvite | null;
2548
- appInviteEdge?: AppInviteEdge | null;
2549
- }
2550
2951
  export interface DeleteOrgMembershipPayload {
2551
2952
  clientMutationId?: string | null;
2552
2953
  /** The `OrgMembership` that was deleted by this mutation. */
@@ -2559,6 +2960,12 @@ export interface DeleteOrgMemberProfilePayload {
2559
2960
  orgMemberProfile?: OrgMemberProfile | null;
2560
2961
  orgMemberProfileEdge?: OrgMemberProfileEdge | null;
2561
2962
  }
2963
+ export interface DeleteAppInvitePayload {
2964
+ clientMutationId?: string | null;
2965
+ /** The `AppInvite` that was deleted by this mutation. */
2966
+ appInvite?: AppInvite | null;
2967
+ appInviteEdge?: AppInviteEdge | null;
2968
+ }
2562
2969
  export interface DeleteOrgInvitePayload {
2563
2970
  clientMutationId?: string | null;
2564
2971
  /** The `OrgInvite` that was deleted by this mutation. */
@@ -2632,6 +3039,18 @@ export interface OrgPermissionDefaultEdge {
2632
3039
  /** The `OrgPermissionDefault` at the end of the edge. */
2633
3040
  node?: OrgPermissionDefault | null;
2634
3041
  }
3042
+ /** A `AppPermissionDefaultPermission` edge in the connection. */
3043
+ export interface AppPermissionDefaultPermissionEdge {
3044
+ cursor?: string | null;
3045
+ /** The `AppPermissionDefaultPermission` at the end of the edge. */
3046
+ node?: AppPermissionDefaultPermission | null;
3047
+ }
3048
+ /** A `OrgPermissionDefaultPermission` edge in the connection. */
3049
+ export interface OrgPermissionDefaultPermissionEdge {
3050
+ cursor?: string | null;
3051
+ /** The `OrgPermissionDefaultPermission` at the end of the edge. */
3052
+ node?: OrgPermissionDefaultPermission | null;
3053
+ }
2635
3054
  /** A `AppAdminGrant` edge in the connection. */
2636
3055
  export interface AppAdminGrantEdge {
2637
3056
  cursor?: string | null;
@@ -2644,6 +3063,12 @@ export interface AppOwnerGrantEdge {
2644
3063
  /** The `AppOwnerGrant` at the end of the edge. */
2645
3064
  node?: AppOwnerGrant | null;
2646
3065
  }
3066
+ /** A `AppPermissionDefaultGrant` edge in the connection. */
3067
+ export interface AppPermissionDefaultGrantEdge {
3068
+ cursor?: string | null;
3069
+ /** The `AppPermissionDefaultGrant` at the end of the edge. */
3070
+ node?: AppPermissionDefaultGrant | null;
3071
+ }
2647
3072
  /** A `OrgAdminGrant` edge in the connection. */
2648
3073
  export interface OrgAdminGrantEdge {
2649
3074
  cursor?: string | null;
@@ -2656,6 +3081,12 @@ export interface OrgOwnerGrantEdge {
2656
3081
  /** The `OrgOwnerGrant` at the end of the edge. */
2657
3082
  node?: OrgOwnerGrant | null;
2658
3083
  }
3084
+ /** A `OrgPermissionDefaultGrant` edge in the connection. */
3085
+ export interface OrgPermissionDefaultGrantEdge {
3086
+ cursor?: string | null;
3087
+ /** The `OrgPermissionDefaultGrant` at the end of the edge. */
3088
+ node?: OrgPermissionDefaultGrant | null;
3089
+ }
2659
3090
  /** A `OrgChartEdgeGrant` edge in the connection. */
2660
3091
  export interface OrgChartEdgeGrantEdge {
2661
3092
  cursor?: string | null;
@@ -2722,12 +3153,6 @@ export interface AppMembershipEdge {
2722
3153
  /** The `AppMembership` at the end of the edge. */
2723
3154
  node?: AppMembership | null;
2724
3155
  }
2725
- /** A `AppInvite` edge in the connection. */
2726
- export interface AppInviteEdge {
2727
- cursor?: string | null;
2728
- /** The `AppInvite` at the end of the edge. */
2729
- node?: AppInvite | null;
2730
- }
2731
3156
  /** A `OrgMembership` edge in the connection. */
2732
3157
  export interface OrgMembershipEdge {
2733
3158
  cursor?: string | null;
@@ -2740,6 +3165,12 @@ export interface OrgMemberProfileEdge {
2740
3165
  /** The `OrgMemberProfile` at the end of the edge. */
2741
3166
  node?: OrgMemberProfile | null;
2742
3167
  }
3168
+ /** A `AppInvite` edge in the connection. */
3169
+ export interface AppInviteEdge {
3170
+ cursor?: string | null;
3171
+ /** The `AppInvite` at the end of the edge. */
3172
+ node?: AppInvite | null;
3173
+ }
2743
3174
  /** A `OrgInvite` edge in the connection. */
2744
3175
  export interface OrgInviteEdge {
2745
3176
  cursor?: string | null;