@constructive-io/react 0.15.2 → 0.15.3

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 (379) 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 +65 -47
  4. package/admin/hooks/invalidation.js +143 -95
  5. package/admin/hooks/mutation-keys.d.ts +130 -96
  6. package/admin/hooks/mutation-keys.js +78 -60
  7. package/admin/hooks/mutations/index.d.ts +32 -28
  8. package/admin/hooks/mutations/index.js +32 -28
  9. package/admin/hooks/mutations/useCreateAppLimitEventMutation.d.ts +34 -0
  10. package/{auth/hooks/mutations/useConfirmUploadMutation.js → admin/hooks/mutations/useCreateAppLimitEventMutation.js} +14 -6
  11. package/admin/hooks/mutations/useCreateOrgLimitAggregateMutation.d.ts +34 -0
  12. package/admin/hooks/mutations/useCreateOrgLimitAggregateMutation.js +34 -0
  13. package/admin/hooks/mutations/useCreateOrgLimitEventMutation.d.ts +34 -0
  14. package/admin/hooks/mutations/useCreateOrgLimitEventMutation.js +34 -0
  15. package/admin/hooks/mutations/useDeleteOrgLimitAggregateMutation.d.ts +38 -0
  16. package/admin/hooks/mutations/useDeleteOrgLimitAggregateMutation.js +39 -0
  17. package/admin/hooks/mutations/useUpdateOrgLimitAggregateMutation.d.ts +40 -0
  18. package/admin/hooks/mutations/useUpdateOrgLimitAggregateMutation.js +40 -0
  19. package/admin/hooks/queries/index.d.ts +22 -18
  20. package/admin/hooks/queries/index.js +22 -18
  21. package/admin/hooks/queries/useAppLimitEventsQuery.d.ts +69 -0
  22. package/admin/hooks/queries/useAppLimitEventsQuery.js +38 -0
  23. package/admin/hooks/queries/useOrgLimitAggregateQuery.d.ts +65 -0
  24. package/admin/hooks/queries/useOrgLimitAggregateQuery.js +53 -0
  25. package/admin/hooks/queries/useOrgLimitAggregatesQuery.d.ts +69 -0
  26. package/admin/hooks/queries/useOrgLimitAggregatesQuery.js +38 -0
  27. package/admin/hooks/queries/useOrgLimitEventsQuery.d.ts +69 -0
  28. package/admin/hooks/queries/useOrgLimitEventsQuery.js +38 -0
  29. package/admin/hooks/query-keys.d.ts +154 -112
  30. package/admin/hooks/query-keys.js +90 -66
  31. package/admin/orm/index.d.ts +24 -23
  32. package/admin/orm/index.js +24 -18
  33. package/admin/orm/input-types.d.ts +1297 -839
  34. package/admin/orm/models/appLimitEvent.d.ts +32 -0
  35. package/admin/orm/models/appLimitEvent.js +55 -0
  36. package/admin/orm/models/index.d.ts +12 -9
  37. package/admin/orm/models/index.js +25 -19
  38. package/admin/orm/models/orgLimitAggregate.d.ts +56 -0
  39. package/admin/orm/models/orgLimitAggregate.js +100 -0
  40. package/admin/orm/models/orgLimitEvent.d.ts +32 -0
  41. package/admin/orm/models/orgLimitEvent.js +55 -0
  42. package/admin/orm/mutation/index.d.ts +1 -15
  43. package/admin/orm/mutation/index.js +0 -12
  44. package/admin/schema-types.d.ts +1207 -856
  45. package/admin/types.d.ts +96 -53
  46. package/auth/hooks/mutation-keys.d.ts +0 -2
  47. package/auth/hooks/mutation-keys.js +0 -3
  48. package/auth/hooks/mutations/index.d.ts +0 -1
  49. package/auth/hooks/mutations/index.js +0 -1
  50. package/auth/orm/index.d.ts +0 -5
  51. package/auth/orm/input-types.d.ts +0 -20
  52. package/auth/orm/mutation/index.d.ts +1 -15
  53. package/auth/orm/mutation/index.js +0 -12
  54. package/auth/schema-types.d.ts +0 -14
  55. package/esm/admin/hooks/index.d.ts +1 -1
  56. package/esm/admin/hooks/index.js +1 -1
  57. package/esm/admin/hooks/invalidation.d.ts +65 -47
  58. package/esm/admin/hooks/invalidation.js +144 -96
  59. package/esm/admin/hooks/mutation-keys.d.ts +130 -96
  60. package/esm/admin/hooks/mutation-keys.js +77 -59
  61. package/esm/admin/hooks/mutations/index.d.ts +32 -28
  62. package/esm/admin/hooks/mutations/index.js +32 -28
  63. package/esm/admin/hooks/mutations/useCreateAppLimitEventMutation.d.ts +34 -0
  64. package/esm/admin/hooks/mutations/useCreateAppLimitEventMutation.js +31 -0
  65. package/esm/admin/hooks/mutations/useCreateOrgLimitAggregateMutation.d.ts +34 -0
  66. package/esm/admin/hooks/mutations/useCreateOrgLimitAggregateMutation.js +31 -0
  67. package/esm/admin/hooks/mutations/useCreateOrgLimitEventMutation.d.ts +34 -0
  68. package/esm/admin/hooks/mutations/useCreateOrgLimitEventMutation.js +31 -0
  69. package/esm/admin/hooks/mutations/useDeleteOrgLimitAggregateMutation.d.ts +38 -0
  70. package/esm/admin/hooks/mutations/useDeleteOrgLimitAggregateMutation.js +36 -0
  71. package/esm/admin/hooks/mutations/useUpdateOrgLimitAggregateMutation.d.ts +40 -0
  72. package/esm/admin/hooks/mutations/useUpdateOrgLimitAggregateMutation.js +37 -0
  73. package/esm/admin/hooks/queries/index.d.ts +22 -18
  74. package/esm/admin/hooks/queries/index.js +22 -18
  75. package/esm/admin/hooks/queries/useAppLimitEventsQuery.d.ts +69 -0
  76. package/esm/admin/hooks/queries/useAppLimitEventsQuery.js +32 -0
  77. package/esm/admin/hooks/queries/useOrgLimitAggregateQuery.d.ts +65 -0
  78. package/esm/admin/hooks/queries/useOrgLimitAggregateQuery.js +47 -0
  79. package/esm/admin/hooks/queries/useOrgLimitAggregatesQuery.d.ts +69 -0
  80. package/esm/admin/hooks/queries/useOrgLimitAggregatesQuery.js +32 -0
  81. package/esm/admin/hooks/queries/useOrgLimitEventsQuery.d.ts +69 -0
  82. package/esm/admin/hooks/queries/useOrgLimitEventsQuery.js +32 -0
  83. package/esm/admin/hooks/query-keys.d.ts +154 -112
  84. package/esm/admin/hooks/query-keys.js +89 -65
  85. package/esm/admin/orm/index.d.ts +24 -23
  86. package/esm/admin/orm/index.js +24 -18
  87. package/esm/admin/orm/input-types.d.ts +1297 -839
  88. package/esm/admin/orm/models/appLimitEvent.d.ts +32 -0
  89. package/esm/admin/orm/models/appLimitEvent.js +51 -0
  90. package/esm/admin/orm/models/index.d.ts +12 -9
  91. package/esm/admin/orm/models/index.js +12 -9
  92. package/esm/admin/orm/models/orgLimitAggregate.d.ts +56 -0
  93. package/esm/admin/orm/models/orgLimitAggregate.js +96 -0
  94. package/esm/admin/orm/models/orgLimitEvent.d.ts +32 -0
  95. package/esm/admin/orm/models/orgLimitEvent.js +51 -0
  96. package/esm/admin/orm/mutation/index.d.ts +1 -15
  97. package/esm/admin/orm/mutation/index.js +0 -12
  98. package/esm/admin/schema-types.d.ts +1207 -856
  99. package/esm/admin/types.d.ts +96 -53
  100. package/esm/auth/hooks/mutation-keys.d.ts +0 -2
  101. package/esm/auth/hooks/mutation-keys.js +0 -3
  102. package/esm/auth/hooks/mutations/index.d.ts +0 -1
  103. package/esm/auth/hooks/mutations/index.js +0 -1
  104. package/esm/auth/orm/index.d.ts +0 -5
  105. package/esm/auth/orm/input-types.d.ts +0 -20
  106. package/esm/auth/orm/mutation/index.d.ts +1 -15
  107. package/esm/auth/orm/mutation/index.js +0 -12
  108. package/esm/auth/schema-types.d.ts +0 -14
  109. package/esm/objects/hooks/mutation-keys.d.ts +0 -2
  110. package/esm/objects/hooks/mutation-keys.js +0 -3
  111. package/esm/objects/hooks/mutations/index.d.ts +0 -1
  112. package/esm/objects/hooks/mutations/index.js +0 -1
  113. package/esm/objects/orm/index.d.ts +0 -5
  114. package/esm/objects/orm/input-types.d.ts +0 -20
  115. package/esm/objects/orm/mutation/index.d.ts +1 -15
  116. package/esm/objects/orm/mutation/index.js +0 -12
  117. package/esm/objects/schema-types.d.ts +0 -14
  118. package/esm/public/hooks/index.d.ts +1 -1
  119. package/esm/public/hooks/index.js +1 -1
  120. package/esm/public/hooks/invalidation.d.ts +101 -47
  121. package/esm/public/hooks/invalidation.js +239 -95
  122. package/esm/public/hooks/mutation-keys.d.ts +206 -100
  123. package/esm/public/hooks/mutation-keys.js +125 -65
  124. package/esm/public/hooks/mutations/index.d.ts +50 -28
  125. package/esm/public/hooks/mutations/index.js +50 -28
  126. package/esm/public/hooks/mutations/useCreateAgentMessageMutation.d.ts +34 -0
  127. package/esm/public/hooks/mutations/useCreateAgentMessageMutation.js +31 -0
  128. package/esm/public/hooks/mutations/useCreateAgentTaskMutation.d.ts +34 -0
  129. package/esm/public/hooks/mutations/useCreateAgentTaskMutation.js +31 -0
  130. package/esm/public/hooks/mutations/useCreateAgentThreadMutation.d.ts +34 -0
  131. package/esm/public/hooks/mutations/useCreateAgentThreadMutation.js +31 -0
  132. package/esm/public/hooks/mutations/useCreateAppLimitEventMutation.d.ts +34 -0
  133. package/esm/public/hooks/mutations/useCreateAppLimitEventMutation.js +31 -0
  134. package/esm/public/hooks/mutations/useCreateBillingModuleMutation.d.ts +34 -0
  135. package/esm/public/hooks/mutations/useCreateBillingModuleMutation.js +31 -0
  136. package/esm/public/hooks/mutations/useCreateNodeTypeRegistryMutation.d.ts +34 -0
  137. package/esm/public/hooks/mutations/useCreateNodeTypeRegistryMutation.js +31 -0
  138. package/esm/public/hooks/mutations/useCreateOrgLimitAggregateMutation.d.ts +34 -0
  139. package/esm/public/hooks/mutations/useCreateOrgLimitAggregateMutation.js +31 -0
  140. package/esm/public/hooks/mutations/useCreateOrgLimitEventMutation.d.ts +34 -0
  141. package/esm/public/hooks/mutations/useCreateOrgLimitEventMutation.js +31 -0
  142. package/esm/public/hooks/mutations/useCreatePlansModuleMutation.d.ts +34 -0
  143. package/esm/public/hooks/mutations/useCreatePlansModuleMutation.js +31 -0
  144. package/esm/public/hooks/mutations/useDeleteAgentMessageMutation.d.ts +38 -0
  145. package/esm/public/hooks/mutations/useDeleteAgentMessageMutation.js +36 -0
  146. package/esm/public/hooks/mutations/useDeleteAgentTaskMutation.d.ts +38 -0
  147. package/esm/public/hooks/mutations/useDeleteAgentTaskMutation.js +36 -0
  148. package/esm/public/hooks/mutations/useDeleteAgentThreadMutation.d.ts +38 -0
  149. package/esm/public/hooks/mutations/useDeleteAgentThreadMutation.js +36 -0
  150. package/esm/public/hooks/mutations/useDeleteBillingModuleMutation.d.ts +38 -0
  151. package/esm/public/hooks/mutations/useDeleteBillingModuleMutation.js +36 -0
  152. package/esm/public/hooks/mutations/useDeleteNodeTypeRegistryMutation.d.ts +38 -0
  153. package/esm/public/hooks/mutations/useDeleteNodeTypeRegistryMutation.js +36 -0
  154. package/esm/public/hooks/mutations/useDeleteOrgLimitAggregateMutation.d.ts +38 -0
  155. package/esm/public/hooks/mutations/useDeleteOrgLimitAggregateMutation.js +36 -0
  156. package/esm/public/hooks/mutations/useDeletePlansModuleMutation.d.ts +38 -0
  157. package/esm/public/hooks/mutations/useDeletePlansModuleMutation.js +36 -0
  158. package/esm/public/hooks/mutations/useUpdateAgentMessageMutation.d.ts +40 -0
  159. package/esm/public/hooks/mutations/useUpdateAgentMessageMutation.js +37 -0
  160. package/esm/public/hooks/mutations/useUpdateAgentTaskMutation.d.ts +40 -0
  161. package/esm/public/hooks/mutations/useUpdateAgentTaskMutation.js +37 -0
  162. package/esm/public/hooks/mutations/useUpdateAgentThreadMutation.d.ts +40 -0
  163. package/esm/public/hooks/mutations/useUpdateAgentThreadMutation.js +37 -0
  164. package/esm/public/hooks/mutations/useUpdateBillingModuleMutation.d.ts +40 -0
  165. package/esm/public/hooks/mutations/useUpdateBillingModuleMutation.js +37 -0
  166. package/esm/public/hooks/mutations/useUpdateNodeTypeRegistryMutation.d.ts +40 -0
  167. package/esm/public/hooks/mutations/useUpdateNodeTypeRegistryMutation.js +37 -0
  168. package/esm/public/hooks/mutations/useUpdateOrgLimitAggregateMutation.d.ts +40 -0
  169. package/esm/public/hooks/mutations/useUpdateOrgLimitAggregateMutation.js +37 -0
  170. package/esm/public/hooks/mutations/useUpdatePlansModuleMutation.d.ts +40 -0
  171. package/esm/public/hooks/mutations/useUpdatePlansModuleMutation.js +37 -0
  172. package/esm/public/hooks/queries/index.d.ts +36 -20
  173. package/esm/public/hooks/queries/index.js +36 -20
  174. package/esm/public/hooks/queries/useAgentMessageQuery.d.ts +65 -0
  175. package/esm/public/hooks/queries/useAgentMessageQuery.js +47 -0
  176. package/esm/public/hooks/queries/useAgentMessagesQuery.d.ts +69 -0
  177. package/esm/public/hooks/queries/useAgentMessagesQuery.js +32 -0
  178. package/esm/public/hooks/queries/useAgentTaskQuery.d.ts +65 -0
  179. package/esm/public/hooks/queries/useAgentTaskQuery.js +47 -0
  180. package/esm/public/hooks/queries/useAgentTasksQuery.d.ts +69 -0
  181. package/esm/public/hooks/queries/useAgentTasksQuery.js +32 -0
  182. package/esm/public/hooks/queries/useAgentThreadQuery.d.ts +65 -0
  183. package/esm/public/hooks/queries/useAgentThreadQuery.js +47 -0
  184. package/esm/public/hooks/queries/useAgentThreadsQuery.d.ts +69 -0
  185. package/esm/public/hooks/queries/useAgentThreadsQuery.js +32 -0
  186. package/esm/public/hooks/queries/useAppLimitEventsQuery.d.ts +69 -0
  187. package/esm/public/hooks/queries/useAppLimitEventsQuery.js +32 -0
  188. package/esm/public/hooks/queries/useBillingModuleQuery.d.ts +65 -0
  189. package/esm/public/hooks/queries/useBillingModuleQuery.js +47 -0
  190. package/esm/public/hooks/queries/useBillingModulesQuery.d.ts +69 -0
  191. package/esm/public/hooks/queries/useBillingModulesQuery.js +32 -0
  192. package/esm/public/hooks/queries/useNodeTypeRegistriesQuery.d.ts +69 -0
  193. package/esm/public/hooks/queries/useNodeTypeRegistriesQuery.js +32 -0
  194. package/esm/public/hooks/queries/useNodeTypeRegistryQuery.d.ts +65 -0
  195. package/esm/public/hooks/queries/useNodeTypeRegistryQuery.js +47 -0
  196. package/esm/public/hooks/queries/useOrgLimitAggregateQuery.d.ts +65 -0
  197. package/esm/public/hooks/queries/useOrgLimitAggregateQuery.js +47 -0
  198. package/esm/public/hooks/queries/useOrgLimitAggregatesQuery.d.ts +69 -0
  199. package/esm/public/hooks/queries/useOrgLimitAggregatesQuery.js +32 -0
  200. package/esm/public/hooks/queries/useOrgLimitEventsQuery.d.ts +69 -0
  201. package/esm/public/hooks/queries/useOrgLimitEventsQuery.js +32 -0
  202. package/esm/public/hooks/queries/usePlansModuleQuery.d.ts +65 -0
  203. package/esm/public/hooks/queries/usePlansModuleQuery.js +47 -0
  204. package/esm/public/hooks/queries/usePlansModulesQuery.d.ts +69 -0
  205. package/esm/public/hooks/queries/usePlansModulesQuery.js +32 -0
  206. package/esm/public/hooks/query-keys.d.ts +246 -120
  207. package/esm/public/hooks/query-keys.js +141 -69
  208. package/esm/public/orm/index.d.ts +56 -43
  209. package/esm/public/orm/index.js +36 -18
  210. package/esm/public/orm/input-types.d.ts +2983 -1112
  211. package/esm/public/orm/input-types.js +9 -0
  212. package/esm/public/orm/models/agentMessage.d.ts +56 -0
  213. package/esm/public/orm/models/agentMessage.js +96 -0
  214. package/esm/public/orm/models/agentTask.d.ts +56 -0
  215. package/esm/public/orm/models/agentTask.js +96 -0
  216. package/esm/public/orm/models/agentThread.d.ts +56 -0
  217. package/esm/public/orm/models/agentThread.js +96 -0
  218. package/esm/public/orm/models/appLimitEvent.d.ts +32 -0
  219. package/esm/public/orm/models/appLimitEvent.js +51 -0
  220. package/esm/public/orm/models/billingModule.d.ts +56 -0
  221. package/esm/public/orm/models/billingModule.js +96 -0
  222. package/esm/public/orm/models/index.d.ts +18 -9
  223. package/esm/public/orm/models/index.js +18 -9
  224. package/esm/public/orm/models/nodeTypeRegistry.d.ts +56 -0
  225. package/esm/public/orm/models/nodeTypeRegistry.js +96 -0
  226. package/esm/public/orm/models/orgLimitAggregate.d.ts +56 -0
  227. package/esm/public/orm/models/orgLimitAggregate.js +96 -0
  228. package/esm/public/orm/models/orgLimitEvent.d.ts +32 -0
  229. package/esm/public/orm/models/orgLimitEvent.js +51 -0
  230. package/esm/public/orm/models/plansModule.d.ts +56 -0
  231. package/esm/public/orm/models/plansModule.js +96 -0
  232. package/esm/public/orm/mutation/index.d.ts +17 -31
  233. package/esm/public/orm/mutation/index.js +24 -36
  234. package/esm/public/orm/query/index.d.ts +28 -28
  235. package/esm/public/orm/query/index.js +48 -48
  236. package/esm/public/schema-types.d.ts +3948 -2833
  237. package/esm/public/types.d.ts +194 -77
  238. package/objects/hooks/mutation-keys.d.ts +0 -2
  239. package/objects/hooks/mutation-keys.js +0 -3
  240. package/objects/hooks/mutations/index.d.ts +0 -1
  241. package/objects/hooks/mutations/index.js +0 -1
  242. package/objects/orm/index.d.ts +0 -5
  243. package/objects/orm/input-types.d.ts +0 -20
  244. package/objects/orm/mutation/index.d.ts +1 -15
  245. package/objects/orm/mutation/index.js +0 -12
  246. package/objects/schema-types.d.ts +0 -14
  247. package/package.json +4 -4
  248. package/public/hooks/index.d.ts +1 -1
  249. package/public/hooks/index.js +1 -1
  250. package/public/hooks/invalidation.d.ts +101 -47
  251. package/public/hooks/invalidation.js +238 -94
  252. package/public/hooks/mutation-keys.d.ts +206 -100
  253. package/public/hooks/mutation-keys.js +128 -68
  254. package/public/hooks/mutations/index.d.ts +50 -28
  255. package/public/hooks/mutations/index.js +50 -28
  256. package/public/hooks/mutations/useCreateAgentMessageMutation.d.ts +34 -0
  257. package/public/hooks/mutations/useCreateAgentMessageMutation.js +34 -0
  258. package/public/hooks/mutations/useCreateAgentTaskMutation.d.ts +34 -0
  259. package/public/hooks/mutations/useCreateAgentTaskMutation.js +34 -0
  260. package/public/hooks/mutations/useCreateAgentThreadMutation.d.ts +34 -0
  261. package/public/hooks/mutations/useCreateAgentThreadMutation.js +34 -0
  262. package/public/hooks/mutations/useCreateAppLimitEventMutation.d.ts +34 -0
  263. package/public/hooks/mutations/useCreateAppLimitEventMutation.js +34 -0
  264. package/public/hooks/mutations/useCreateBillingModuleMutation.d.ts +34 -0
  265. package/{admin/hooks/mutations/useConfirmUploadMutation.js → public/hooks/mutations/useCreateBillingModuleMutation.js} +14 -6
  266. package/public/hooks/mutations/useCreateNodeTypeRegistryMutation.d.ts +34 -0
  267. package/public/hooks/mutations/{useConfirmUploadMutation.js → useCreateNodeTypeRegistryMutation.js} +14 -6
  268. package/public/hooks/mutations/useCreateOrgLimitAggregateMutation.d.ts +34 -0
  269. package/public/hooks/mutations/useCreateOrgLimitAggregateMutation.js +34 -0
  270. package/public/hooks/mutations/useCreateOrgLimitEventMutation.d.ts +34 -0
  271. package/public/hooks/mutations/useCreateOrgLimitEventMutation.js +34 -0
  272. package/public/hooks/mutations/useCreatePlansModuleMutation.d.ts +34 -0
  273. package/{objects/hooks/mutations/useConfirmUploadMutation.js → public/hooks/mutations/useCreatePlansModuleMutation.js} +14 -6
  274. package/public/hooks/mutations/useDeleteAgentMessageMutation.d.ts +38 -0
  275. package/public/hooks/mutations/useDeleteAgentMessageMutation.js +39 -0
  276. package/public/hooks/mutations/useDeleteAgentTaskMutation.d.ts +38 -0
  277. package/public/hooks/mutations/useDeleteAgentTaskMutation.js +39 -0
  278. package/public/hooks/mutations/useDeleteAgentThreadMutation.d.ts +38 -0
  279. package/public/hooks/mutations/useDeleteAgentThreadMutation.js +39 -0
  280. package/public/hooks/mutations/useDeleteBillingModuleMutation.d.ts +38 -0
  281. package/public/hooks/mutations/useDeleteBillingModuleMutation.js +39 -0
  282. package/public/hooks/mutations/useDeleteNodeTypeRegistryMutation.d.ts +38 -0
  283. package/public/hooks/mutations/useDeleteNodeTypeRegistryMutation.js +39 -0
  284. package/public/hooks/mutations/useDeleteOrgLimitAggregateMutation.d.ts +38 -0
  285. package/public/hooks/mutations/useDeleteOrgLimitAggregateMutation.js +39 -0
  286. package/public/hooks/mutations/useDeletePlansModuleMutation.d.ts +38 -0
  287. package/public/hooks/mutations/useDeletePlansModuleMutation.js +39 -0
  288. package/public/hooks/mutations/useUpdateAgentMessageMutation.d.ts +40 -0
  289. package/public/hooks/mutations/useUpdateAgentMessageMutation.js +40 -0
  290. package/public/hooks/mutations/useUpdateAgentTaskMutation.d.ts +40 -0
  291. package/public/hooks/mutations/useUpdateAgentTaskMutation.js +40 -0
  292. package/public/hooks/mutations/useUpdateAgentThreadMutation.d.ts +40 -0
  293. package/public/hooks/mutations/useUpdateAgentThreadMutation.js +40 -0
  294. package/public/hooks/mutations/useUpdateBillingModuleMutation.d.ts +40 -0
  295. package/public/hooks/mutations/useUpdateBillingModuleMutation.js +40 -0
  296. package/public/hooks/mutations/useUpdateNodeTypeRegistryMutation.d.ts +40 -0
  297. package/public/hooks/mutations/useUpdateNodeTypeRegistryMutation.js +40 -0
  298. package/public/hooks/mutations/useUpdateOrgLimitAggregateMutation.d.ts +40 -0
  299. package/public/hooks/mutations/useUpdateOrgLimitAggregateMutation.js +40 -0
  300. package/public/hooks/mutations/useUpdatePlansModuleMutation.d.ts +40 -0
  301. package/public/hooks/mutations/useUpdatePlansModuleMutation.js +40 -0
  302. package/public/hooks/queries/index.d.ts +36 -20
  303. package/public/hooks/queries/index.js +36 -20
  304. package/public/hooks/queries/useAgentMessageQuery.d.ts +65 -0
  305. package/public/hooks/queries/useAgentMessageQuery.js +53 -0
  306. package/public/hooks/queries/useAgentMessagesQuery.d.ts +69 -0
  307. package/public/hooks/queries/useAgentMessagesQuery.js +38 -0
  308. package/public/hooks/queries/useAgentTaskQuery.d.ts +65 -0
  309. package/public/hooks/queries/useAgentTaskQuery.js +53 -0
  310. package/public/hooks/queries/useAgentTasksQuery.d.ts +69 -0
  311. package/public/hooks/queries/useAgentTasksQuery.js +38 -0
  312. package/public/hooks/queries/useAgentThreadQuery.d.ts +65 -0
  313. package/public/hooks/queries/useAgentThreadQuery.js +53 -0
  314. package/public/hooks/queries/useAgentThreadsQuery.d.ts +69 -0
  315. package/public/hooks/queries/useAgentThreadsQuery.js +38 -0
  316. package/public/hooks/queries/useAppLimitEventsQuery.d.ts +69 -0
  317. package/public/hooks/queries/useAppLimitEventsQuery.js +38 -0
  318. package/public/hooks/queries/useBillingModuleQuery.d.ts +65 -0
  319. package/public/hooks/queries/useBillingModuleQuery.js +53 -0
  320. package/public/hooks/queries/useBillingModulesQuery.d.ts +69 -0
  321. package/public/hooks/queries/useBillingModulesQuery.js +38 -0
  322. package/public/hooks/queries/useNodeTypeRegistriesQuery.d.ts +69 -0
  323. package/public/hooks/queries/useNodeTypeRegistriesQuery.js +38 -0
  324. package/public/hooks/queries/useNodeTypeRegistryQuery.d.ts +65 -0
  325. package/public/hooks/queries/useNodeTypeRegistryQuery.js +53 -0
  326. package/public/hooks/queries/useOrgLimitAggregateQuery.d.ts +65 -0
  327. package/public/hooks/queries/useOrgLimitAggregateQuery.js +53 -0
  328. package/public/hooks/queries/useOrgLimitAggregatesQuery.d.ts +69 -0
  329. package/public/hooks/queries/useOrgLimitAggregatesQuery.js +38 -0
  330. package/public/hooks/queries/useOrgLimitEventsQuery.d.ts +69 -0
  331. package/public/hooks/queries/useOrgLimitEventsQuery.js +38 -0
  332. package/public/hooks/queries/usePlansModuleQuery.d.ts +65 -0
  333. package/public/hooks/queries/usePlansModuleQuery.js +53 -0
  334. package/public/hooks/queries/usePlansModulesQuery.d.ts +69 -0
  335. package/public/hooks/queries/usePlansModulesQuery.js +38 -0
  336. package/public/hooks/query-keys.d.ts +246 -120
  337. package/public/hooks/query-keys.js +144 -72
  338. package/public/orm/index.d.ts +56 -43
  339. package/public/orm/index.js +36 -18
  340. package/public/orm/input-types.d.ts +2983 -1112
  341. package/public/orm/input-types.js +9 -0
  342. package/public/orm/models/agentMessage.d.ts +56 -0
  343. package/public/orm/models/agentMessage.js +100 -0
  344. package/public/orm/models/agentTask.d.ts +56 -0
  345. package/public/orm/models/agentTask.js +100 -0
  346. package/public/orm/models/agentThread.d.ts +56 -0
  347. package/public/orm/models/agentThread.js +100 -0
  348. package/public/orm/models/appLimitEvent.d.ts +32 -0
  349. package/public/orm/models/appLimitEvent.js +55 -0
  350. package/public/orm/models/billingModule.d.ts +56 -0
  351. package/public/orm/models/billingModule.js +100 -0
  352. package/public/orm/models/index.d.ts +18 -9
  353. package/public/orm/models/index.js +39 -21
  354. package/public/orm/models/nodeTypeRegistry.d.ts +56 -0
  355. package/public/orm/models/nodeTypeRegistry.js +100 -0
  356. package/public/orm/models/orgLimitAggregate.d.ts +56 -0
  357. package/public/orm/models/orgLimitAggregate.js +100 -0
  358. package/public/orm/models/orgLimitEvent.d.ts +32 -0
  359. package/public/orm/models/orgLimitEvent.js +55 -0
  360. package/public/orm/models/plansModule.d.ts +56 -0
  361. package/public/orm/models/plansModule.js +100 -0
  362. package/public/orm/mutation/index.d.ts +17 -31
  363. package/public/orm/mutation/index.js +24 -36
  364. package/public/orm/query/index.d.ts +28 -28
  365. package/public/orm/query/index.js +48 -48
  366. package/public/schema-types.d.ts +3948 -2833
  367. package/public/types.d.ts +194 -77
  368. package/admin/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
  369. package/auth/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
  370. package/esm/admin/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
  371. package/esm/admin/hooks/mutations/useConfirmUploadMutation.js +0 -23
  372. package/esm/auth/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
  373. package/esm/auth/hooks/mutations/useConfirmUploadMutation.js +0 -23
  374. package/esm/objects/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
  375. package/esm/objects/hooks/mutations/useConfirmUploadMutation.js +0 -23
  376. package/esm/public/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
  377. package/esm/public/hooks/mutations/useConfirmUploadMutation.js +0 -23
  378. package/objects/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
  379. package/public/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
@@ -3,7 +3,7 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- import type { AppAchievement, AppAdminGrant, AppClaimedInvite, AppGrant, AppInvite, AppLevel, AppLevelRequirement, AppLimit, AppLimitDefault, AppMembership, AppMembershipDefault, AppOwnerGrant, AppPermission, AppPermissionDefault, AppStep, MembershipType, OrgAdminGrant, OrgChartEdge, OrgChartEdgeGrant, OrgClaimedInvite, OrgGetManagersRecord, OrgGetSubordinatesRecord, OrgGrant, OrgInvite, OrgLimit, OrgLimitDefault, OrgMember, OrgMemberProfile, OrgMembership, OrgMembershipDefault, OrgMembershipSetting, OrgOwnerGrant, OrgPermission, OrgPermissionDefault, BitStringFilter, BooleanFilter, DatetimeFilter, IntFilter, StringFilter, UUIDFilter } from './types';
6
+ import type { AppAchievement, AppAdminGrant, AppClaimedInvite, AppGrant, AppInvite, AppLevel, AppLevelRequirement, AppLimit, AppLimitDefault, AppLimitEvent, AppMembership, AppMembershipDefault, AppOwnerGrant, AppPermission, AppPermissionDefault, AppStep, MembershipType, OrgAdminGrant, OrgChartEdge, OrgChartEdgeGrant, OrgClaimedInvite, OrgGetManagersRecord, OrgGetSubordinatesRecord, OrgGrant, OrgInvite, OrgLimit, OrgLimitAggregate, OrgLimitDefault, OrgLimitEvent, OrgMember, OrgMemberProfile, OrgMembership, OrgMembershipDefault, OrgMembershipSetting, OrgOwnerGrant, OrgPermission, OrgPermissionDefault, BigIntFilter, BitStringFilter, BooleanFilter, DatetimeFilter, IntFilter, StringFilter, UUIDFilter } from './types';
7
7
  export type ConstructiveInternalTypeEmail = unknown;
8
8
  export type ConstructiveInternalTypeImage = unknown;
9
9
  /** Methods to use when ordering `OrgMember`. */
@@ -12,36 +12,34 @@ export type OrgMemberOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC
12
12
  export type AppPermissionDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC';
13
13
  /** Methods to use when ordering `OrgPermissionDefault`. */
14
14
  export type OrgPermissionDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
15
- /** Methods to use when ordering `AppAdminGrant`. */
16
- 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
- /** Methods to use when ordering `AppOwnerGrant`. */
18
- export type AppOwnerGrantOrderBy = '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';
19
- /** Methods to use when ordering `AppLimitDefault`. */
20
- export type AppLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC';
21
- /** Methods to use when ordering `OrgLimitDefault`. */
22
- export type OrgLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC';
23
- /** Methods to use when ordering `OrgAdminGrant`. */
24
- export type OrgAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
25
- /** Methods to use when ordering `OrgOwnerGrant`. */
26
- export type OrgOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
27
15
  /** Methods to use when ordering `AppPermission`. */
28
16
  export type AppPermissionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC' | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC';
29
17
  /** Methods to use when ordering `OrgPermission`. */
30
18
  export type OrgPermissionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC' | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC';
31
- /** Methods to use when ordering `AppLimit`. */
32
- export type AppLimitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NUM_ASC' | 'NUM_DESC' | 'MAX_ASC' | 'MAX_DESC';
19
+ /** Methods to use when ordering `AppAdminGrant`. */
20
+ 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';
21
+ /** Methods to use when ordering `AppOwnerGrant`. */
22
+ export type AppOwnerGrantOrderBy = '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';
33
23
  /** Methods to use when ordering `AppAchievement`. */
34
24
  export type AppAchievementOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'COUNT_ASC' | 'COUNT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
35
25
  /** Methods to use when ordering `AppStep`. */
36
26
  export type AppStepOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'COUNT_ASC' | 'COUNT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
37
- /** Methods to use when ordering `AppClaimedInvite`. */
38
- export type AppClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
39
- /** Methods to use when ordering `OrgChartEdgeGrant`. */
40
- export type OrgChartEdgeGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
41
- /** Methods to use when ordering `OrgLimit`. */
42
- export type OrgLimitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NUM_ASC' | 'NUM_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
27
+ /** Methods to use when ordering `OrgAdminGrant`. */
28
+ export type OrgAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
29
+ /** Methods to use when ordering `OrgOwnerGrant`. */
30
+ export type OrgOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
43
31
  /** Methods to use when ordering `MembershipType`. */
44
32
  export type MembershipTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PARENT_MEMBERSHIP_TYPE_ASC' | 'PARENT_MEMBERSHIP_TYPE_DESC' | 'HAS_USERS_TABLE_ENTRY_ASC' | 'HAS_USERS_TABLE_ENTRY_DESC';
33
+ /** Methods to use when ordering `AppLimitDefault`. */
34
+ export type AppLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC';
35
+ /** Methods to use when ordering `OrgLimitDefault`. */
36
+ export type OrgLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC';
37
+ /** Methods to use when ordering `AppLevelRequirement`. */
38
+ export type AppLevelRequirementOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LEVEL_ASC' | 'LEVEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'REQUIRED_COUNT_ASC' | 'REQUIRED_COUNT_DESC' | 'PRIORITY_ASC' | 'PRIORITY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
39
+ /** Methods to use when ordering `OrgChartEdgeGrant`. */
40
+ export type OrgChartEdgeGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
41
+ /** Methods to use when ordering `AppClaimedInvite`. */
42
+ export type AppClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
45
43
  /** Methods to use when ordering `AppGrant`. */
46
44
  export type AppGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
47
45
  /** Methods to use when ordering `AppMembershipDefault`. */
@@ -50,24 +48,32 @@ export type AppMembershipDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMA
50
48
  export type OrgMembershipDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
51
49
  /** Methods to use when ordering `OrgClaimedInvite`. */
52
50
  export type OrgClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
51
+ /** Methods to use when ordering `AppLimitEvent`. */
52
+ export type AppLimitEventOrderBy = 'NATURAL' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'DELTA_ASC' | 'DELTA_DESC' | 'NUM_BEFORE_ASC' | 'NUM_BEFORE_DESC' | 'NUM_AFTER_ASC' | 'NUM_AFTER_DESC' | 'MAX_AT_EVENT_ASC' | 'MAX_AT_EVENT_DESC' | 'REASON_ASC' | 'REASON_DESC';
53
+ /** Methods to use when ordering `OrgLimitEvent`. */
54
+ export type OrgLimitEventOrderBy = 'NATURAL' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'DELTA_ASC' | 'DELTA_DESC' | 'NUM_BEFORE_ASC' | 'NUM_BEFORE_DESC' | 'NUM_AFTER_ASC' | 'NUM_AFTER_DESC' | 'MAX_AT_EVENT_ASC' | 'MAX_AT_EVENT_DESC' | 'REASON_ASC' | 'REASON_DESC';
53
55
  /** Methods to use when ordering `OrgGrant`. */
54
56
  export type OrgGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
55
57
  /** Methods to use when ordering `OrgChartEdge`. */
56
58
  export type OrgChartEdgeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC';
57
- /** Methods to use when ordering `AppLevelRequirement`. */
58
- export type AppLevelRequirementOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LEVEL_ASC' | 'LEVEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'REQUIRED_COUNT_ASC' | 'REQUIRED_COUNT_DESC' | 'PRIORITY_ASC' | 'PRIORITY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
59
+ /** Methods to use when ordering `AppLimit`. */
60
+ export type AppLimitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NUM_ASC' | 'NUM_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC' | 'WINDOW_START_ASC' | 'WINDOW_START_DESC' | 'WINDOW_DURATION_ASC' | 'WINDOW_DURATION_DESC';
61
+ /** Methods to use when ordering `OrgLimitAggregate`. */
62
+ export type OrgLimitAggregateOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'NUM_ASC' | 'NUM_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC' | 'WINDOW_START_ASC' | 'WINDOW_START_DESC' | 'WINDOW_DURATION_ASC' | 'WINDOW_DURATION_DESC';
59
63
  /** Methods to use when ordering `OrgMemberProfile`. */
60
64
  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 `OrgMembershipSetting`. */
62
- 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' | 'POPULATE_MEMBER_EMAIL_ASC' | 'POPULATE_MEMBER_EMAIL_DESC';
65
+ /** Methods to use when ordering `OrgLimit`. */
66
+ export type OrgLimitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NUM_ASC' | 'NUM_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC' | 'WINDOW_START_ASC' | 'WINDOW_START_DESC' | 'WINDOW_DURATION_ASC' | 'WINDOW_DURATION_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
63
67
  /** Methods to use when ordering `AppLevel`. */
64
68
  export type AppLevelOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'IMAGE_ASC' | 'IMAGE_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
65
69
  /** Methods to use when ordering `AppInvite`. */
66
- export type AppInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
70
+ 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';
71
+ /** Methods to use when ordering `OrgMembershipSetting`. */
72
+ 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';
67
73
  /** Methods to use when ordering `OrgInvite`. */
68
- export type OrgInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
74
+ 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' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
69
75
  /** Methods to use when ordering `AppMembership`. */
70
- export type AppMembershipOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_EXTERNAL_ASC' | 'IS_EXTERNAL_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
76
+ 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';
71
77
  /** Methods to use when ordering `OrgMembership`. */
72
78
  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';
73
79
  /** A filter to be used against `OrgMember` object types. All fields are combined with a logical ‘and.’ */
@@ -115,6 +121,44 @@ export interface OrgPermissionDefaultFilter {
115
121
  /** Negates the expression. */
116
122
  not?: OrgPermissionDefaultFilter;
117
123
  }
124
+ /** A filter to be used against `AppPermission` object types. All fields are combined with a logical ‘and.’ */
125
+ export interface AppPermissionFilter {
126
+ /** Filter by the object’s `id` field. */
127
+ id?: UUIDFilter;
128
+ /** Filter by the object’s `name` field. */
129
+ name?: StringFilter;
130
+ /** Filter by the object’s `bitnum` field. */
131
+ bitnum?: IntFilter;
132
+ /** Filter by the object’s `bitstr` field. */
133
+ bitstr?: BitStringFilter;
134
+ /** Filter by the object’s `description` field. */
135
+ description?: StringFilter;
136
+ /** Checks for all expressions in this list. */
137
+ and?: AppPermissionFilter[];
138
+ /** Checks for any expressions in this list. */
139
+ or?: AppPermissionFilter[];
140
+ /** Negates the expression. */
141
+ not?: AppPermissionFilter;
142
+ }
143
+ /** A filter to be used against `OrgPermission` object types. All fields are combined with a logical ‘and.’ */
144
+ export interface OrgPermissionFilter {
145
+ /** Filter by the object’s `id` field. */
146
+ id?: UUIDFilter;
147
+ /** Filter by the object’s `name` field. */
148
+ name?: StringFilter;
149
+ /** Filter by the object’s `bitnum` field. */
150
+ bitnum?: IntFilter;
151
+ /** Filter by the object’s `bitstr` field. */
152
+ bitstr?: BitStringFilter;
153
+ /** Filter by the object’s `description` field. */
154
+ description?: StringFilter;
155
+ /** Checks for all expressions in this list. */
156
+ and?: OrgPermissionFilter[];
157
+ /** Checks for any expressions in this list. */
158
+ or?: OrgPermissionFilter[];
159
+ /** Negates the expression. */
160
+ not?: OrgPermissionFilter;
161
+ }
118
162
  /** A filter to be used against `AppAdminGrant` object types. All fields are combined with a logical ‘and.’ */
119
163
  export interface AppAdminGrantFilter {
120
164
  /** Filter by the object’s `id` field. */
@@ -157,35 +201,47 @@ export interface AppOwnerGrantFilter {
157
201
  /** Negates the expression. */
158
202
  not?: AppOwnerGrantFilter;
159
203
  }
160
- /** A filter to be used against `AppLimitDefault` object types. All fields are combined with a logical ‘and.’ */
161
- export interface AppLimitDefaultFilter {
204
+ /** A filter to be used against `AppAchievement` object types. All fields are combined with a logical ‘and.’ */
205
+ export interface AppAchievementFilter {
162
206
  /** Filter by the object’s `id` field. */
163
207
  id?: UUIDFilter;
208
+ /** Filter by the object’s `actorId` field. */
209
+ actorId?: UUIDFilter;
164
210
  /** Filter by the object’s `name` field. */
165
211
  name?: StringFilter;
166
- /** Filter by the object’s `max` field. */
167
- max?: IntFilter;
212
+ /** Filter by the object’s `count` field. */
213
+ count?: IntFilter;
214
+ /** Filter by the object’s `createdAt` field. */
215
+ createdAt?: DatetimeFilter;
216
+ /** Filter by the object’s `updatedAt` field. */
217
+ updatedAt?: DatetimeFilter;
168
218
  /** Checks for all expressions in this list. */
169
- and?: AppLimitDefaultFilter[];
219
+ and?: AppAchievementFilter[];
170
220
  /** Checks for any expressions in this list. */
171
- or?: AppLimitDefaultFilter[];
221
+ or?: AppAchievementFilter[];
172
222
  /** Negates the expression. */
173
- not?: AppLimitDefaultFilter;
223
+ not?: AppAchievementFilter;
174
224
  }
175
- /** A filter to be used against `OrgLimitDefault` object types. All fields are combined with a logical ‘and.’ */
176
- export interface OrgLimitDefaultFilter {
225
+ /** A filter to be used against `AppStep` object types. All fields are combined with a logical ‘and.’ */
226
+ export interface AppStepFilter {
177
227
  /** Filter by the object’s `id` field. */
178
228
  id?: UUIDFilter;
229
+ /** Filter by the object’s `actorId` field. */
230
+ actorId?: UUIDFilter;
179
231
  /** Filter by the object’s `name` field. */
180
232
  name?: StringFilter;
181
- /** Filter by the object’s `max` field. */
182
- max?: IntFilter;
233
+ /** Filter by the object’s `count` field. */
234
+ count?: IntFilter;
235
+ /** Filter by the object’s `createdAt` field. */
236
+ createdAt?: DatetimeFilter;
237
+ /** Filter by the object’s `updatedAt` field. */
238
+ updatedAt?: DatetimeFilter;
183
239
  /** Checks for all expressions in this list. */
184
- and?: OrgLimitDefaultFilter[];
240
+ and?: AppStepFilter[];
185
241
  /** Checks for any expressions in this list. */
186
- or?: OrgLimitDefaultFilter[];
242
+ or?: AppStepFilter[];
187
243
  /** Negates the expression. */
188
- not?: OrgLimitDefaultFilter;
244
+ not?: AppStepFilter;
189
245
  }
190
246
  /** A filter to be used against `OrgAdminGrant` object types. All fields are combined with a logical ‘and.’ */
191
247
  export interface OrgAdminGrantFilter {
@@ -233,104 +289,112 @@ export interface OrgOwnerGrantFilter {
233
289
  /** Negates the expression. */
234
290
  not?: OrgOwnerGrantFilter;
235
291
  }
236
- /** A filter to be used against `AppPermission` object types. All fields are combined with a logical ‘and.’ */
237
- export interface AppPermissionFilter {
292
+ /** A filter to be used against `MembershipType` object types. All fields are combined with a logical ‘and.’ */
293
+ export interface MembershipTypeFilter {
238
294
  /** Filter by the object’s `id` field. */
239
- id?: UUIDFilter;
295
+ id?: IntFilter;
240
296
  /** Filter by the object’s `name` field. */
241
297
  name?: StringFilter;
242
- /** Filter by the object’s `bitnum` field. */
243
- bitnum?: IntFilter;
244
- /** Filter by the object’s `bitstr` field. */
245
- bitstr?: BitStringFilter;
246
298
  /** Filter by the object’s `description` field. */
247
299
  description?: StringFilter;
300
+ /** Filter by the object’s `prefix` field. */
301
+ prefix?: StringFilter;
302
+ /** Filter by the object’s `parentMembershipType` field. */
303
+ parentMembershipType?: IntFilter;
304
+ /** Filter by the object’s `hasUsersTableEntry` field. */
305
+ hasUsersTableEntry?: BooleanFilter;
248
306
  /** Checks for all expressions in this list. */
249
- and?: AppPermissionFilter[];
307
+ and?: MembershipTypeFilter[];
250
308
  /** Checks for any expressions in this list. */
251
- or?: AppPermissionFilter[];
309
+ or?: MembershipTypeFilter[];
252
310
  /** Negates the expression. */
253
- not?: AppPermissionFilter;
311
+ not?: MembershipTypeFilter;
254
312
  }
255
- /** A filter to be used against `OrgPermission` object types. All fields are combined with a logical ‘and.’ */
256
- export interface OrgPermissionFilter {
313
+ /** A filter to be used against `AppLimitDefault` object types. All fields are combined with a logical ‘and.’ */
314
+ export interface AppLimitDefaultFilter {
257
315
  /** Filter by the object’s `id` field. */
258
316
  id?: UUIDFilter;
259
317
  /** Filter by the object’s `name` field. */
260
318
  name?: StringFilter;
261
- /** Filter by the object’s `bitnum` field. */
262
- bitnum?: IntFilter;
263
- /** Filter by the object’s `bitstr` field. */
264
- bitstr?: BitStringFilter;
265
- /** Filter by the object’s `description` field. */
266
- description?: StringFilter;
319
+ /** Filter by the object’s `max` field. */
320
+ max?: BigIntFilter;
321
+ /** Filter by the object’s `softMax` field. */
322
+ softMax?: BigIntFilter;
267
323
  /** Checks for all expressions in this list. */
268
- and?: OrgPermissionFilter[];
324
+ and?: AppLimitDefaultFilter[];
269
325
  /** Checks for any expressions in this list. */
270
- or?: OrgPermissionFilter[];
326
+ or?: AppLimitDefaultFilter[];
271
327
  /** Negates the expression. */
272
- not?: OrgPermissionFilter;
328
+ not?: AppLimitDefaultFilter;
273
329
  }
274
- /** A filter to be used against `AppLimit` object types. All fields are combined with a logical ‘and.’ */
275
- export interface AppLimitFilter {
330
+ /** A filter to be used against `OrgLimitDefault` object types. All fields are combined with a logical ‘and.’ */
331
+ export interface OrgLimitDefaultFilter {
276
332
  /** Filter by the object’s `id` field. */
277
333
  id?: UUIDFilter;
278
334
  /** Filter by the object’s `name` field. */
279
335
  name?: StringFilter;
280
- /** Filter by the object’s `actorId` field. */
281
- actorId?: UUIDFilter;
282
- /** Filter by the object’s `num` field. */
283
- num?: IntFilter;
284
336
  /** Filter by the object’s `max` field. */
285
- max?: IntFilter;
337
+ max?: BigIntFilter;
338
+ /** Filter by the object’s `softMax` field. */
339
+ softMax?: BigIntFilter;
286
340
  /** Checks for all expressions in this list. */
287
- and?: AppLimitFilter[];
341
+ and?: OrgLimitDefaultFilter[];
288
342
  /** Checks for any expressions in this list. */
289
- or?: AppLimitFilter[];
343
+ or?: OrgLimitDefaultFilter[];
290
344
  /** Negates the expression. */
291
- not?: AppLimitFilter;
345
+ not?: OrgLimitDefaultFilter;
292
346
  }
293
- /** A filter to be used against `AppAchievement` object types. All fields are combined with a logical ‘and.’ */
294
- export interface AppAchievementFilter {
347
+ /** A filter to be used against `AppLevelRequirement` object types. All fields are combined with a logical ‘and.’ */
348
+ export interface AppLevelRequirementFilter {
295
349
  /** Filter by the object’s `id` field. */
296
350
  id?: UUIDFilter;
297
- /** Filter by the object’s `actorId` field. */
298
- actorId?: UUIDFilter;
299
351
  /** Filter by the object’s `name` field. */
300
352
  name?: StringFilter;
301
- /** Filter by the object’s `count` field. */
302
- count?: IntFilter;
353
+ /** Filter by the object’s `level` field. */
354
+ level?: StringFilter;
355
+ /** Filter by the object’s `description` field. */
356
+ description?: StringFilter;
357
+ /** Filter by the object’s `requiredCount` field. */
358
+ requiredCount?: IntFilter;
359
+ /** Filter by the object’s `priority` field. */
360
+ priority?: IntFilter;
303
361
  /** Filter by the object’s `createdAt` field. */
304
362
  createdAt?: DatetimeFilter;
305
363
  /** Filter by the object’s `updatedAt` field. */
306
364
  updatedAt?: DatetimeFilter;
307
365
  /** Checks for all expressions in this list. */
308
- and?: AppAchievementFilter[];
366
+ and?: AppLevelRequirementFilter[];
309
367
  /** Checks for any expressions in this list. */
310
- or?: AppAchievementFilter[];
368
+ or?: AppLevelRequirementFilter[];
311
369
  /** Negates the expression. */
312
- not?: AppAchievementFilter;
370
+ not?: AppLevelRequirementFilter;
313
371
  }
314
- /** A filter to be used against `AppStep` object types. All fields are combined with a logical ‘and.’ */
315
- export interface AppStepFilter {
372
+ /** A filter to be used against `OrgChartEdgeGrant` object types. All fields are combined with a logical ‘and.’ */
373
+ export interface OrgChartEdgeGrantFilter {
316
374
  /** Filter by the object’s `id` field. */
317
375
  id?: UUIDFilter;
318
- /** Filter by the object’s `actorId` field. */
319
- actorId?: UUIDFilter;
320
- /** Filter by the object’s `name` field. */
321
- name?: StringFilter;
322
- /** Filter by the object’s `count` field. */
323
- count?: IntFilter;
376
+ /** Filter by the object’s `entityId` field. */
377
+ entityId?: UUIDFilter;
378
+ /** Filter by the object’s `childId` field. */
379
+ childId?: UUIDFilter;
380
+ /** Filter by the object’s `parentId` field. */
381
+ parentId?: UUIDFilter;
382
+ /** Filter by the object’s `grantorId` field. */
383
+ grantorId?: UUIDFilter;
384
+ /** Filter by the object’s `isGrant` field. */
385
+ isGrant?: BooleanFilter;
386
+ /** Filter by the object’s `positionTitle` field. */
387
+ positionTitle?: StringFilter;
388
+ /** Filter by the object’s `positionLevel` field. */
389
+ positionLevel?: IntFilter;
324
390
  /** Filter by the object’s `createdAt` field. */
325
391
  createdAt?: DatetimeFilter;
326
- /** Filter by the object’s `updatedAt` field. */
327
- updatedAt?: DatetimeFilter;
328
392
  /** Checks for all expressions in this list. */
329
- and?: AppStepFilter[];
393
+ and?: OrgChartEdgeGrantFilter[];
330
394
  /** Checks for any expressions in this list. */
331
- or?: AppStepFilter[];
395
+ or?: OrgChartEdgeGrantFilter[];
332
396
  /** Negates the expression. */
333
- not?: AppStepFilter;
397
+ not?: OrgChartEdgeGrantFilter;
334
398
  }
335
399
  /** A filter to be used against `AppClaimedInvite` object types. All fields are combined with a logical ‘and.’ */
336
400
  export interface AppClaimedInviteFilter {
@@ -351,100 +415,31 @@ export interface AppClaimedInviteFilter {
351
415
  /** Negates the expression. */
352
416
  not?: AppClaimedInviteFilter;
353
417
  }
354
- /** A filter to be used against `OrgChartEdgeGrant` object types. All fields are combined with a logical ‘and.’ */
355
- export interface OrgChartEdgeGrantFilter {
418
+ /** A filter to be used against `AppGrant` object types. All fields are combined with a logical ‘and.’ */
419
+ export interface AppGrantFilter {
356
420
  /** Filter by the object’s `id` field. */
357
421
  id?: UUIDFilter;
358
- /** Filter by the object’s `entityId` field. */
359
- entityId?: UUIDFilter;
360
- /** Filter by the object’s `childId` field. */
361
- childId?: UUIDFilter;
362
- /** Filter by the object’s `parentId` field. */
363
- parentId?: UUIDFilter;
364
- /** Filter by the object’s `grantorId` field. */
365
- grantorId?: UUIDFilter;
422
+ /** Filter by the object’s `permissions` field. */
423
+ permissions?: BitStringFilter;
366
424
  /** Filter by the object’s `isGrant` field. */
367
425
  isGrant?: BooleanFilter;
368
- /** Filter by the object’s `positionTitle` field. */
369
- positionTitle?: StringFilter;
370
- /** Filter by the object’s `positionLevel` field. */
371
- positionLevel?: IntFilter;
426
+ /** Filter by the object’s `actorId` field. */
427
+ actorId?: UUIDFilter;
428
+ /** Filter by the object’s `grantorId` field. */
429
+ grantorId?: UUIDFilter;
372
430
  /** Filter by the object’s `createdAt` field. */
373
431
  createdAt?: DatetimeFilter;
432
+ /** Filter by the object’s `updatedAt` field. */
433
+ updatedAt?: DatetimeFilter;
374
434
  /** Checks for all expressions in this list. */
375
- and?: OrgChartEdgeGrantFilter[];
435
+ and?: AppGrantFilter[];
376
436
  /** Checks for any expressions in this list. */
377
- or?: OrgChartEdgeGrantFilter[];
437
+ or?: AppGrantFilter[];
378
438
  /** Negates the expression. */
379
- not?: OrgChartEdgeGrantFilter;
439
+ not?: AppGrantFilter;
380
440
  }
381
- /** A filter to be used against `OrgLimit` object types. All fields are combined with a logical ‘and.’ */
382
- export interface OrgLimitFilter {
383
- /** Filter by the object’s `id` field. */
384
- id?: UUIDFilter;
385
- /** Filter by the object’s `name` field. */
386
- name?: StringFilter;
387
- /** Filter by the object’s `actorId` field. */
388
- actorId?: UUIDFilter;
389
- /** Filter by the object’s `num` field. */
390
- num?: IntFilter;
391
- /** Filter by the object’s `max` field. */
392
- max?: IntFilter;
393
- /** Filter by the object’s `entityId` field. */
394
- entityId?: UUIDFilter;
395
- /** Checks for all expressions in this list. */
396
- and?: OrgLimitFilter[];
397
- /** Checks for any expressions in this list. */
398
- or?: OrgLimitFilter[];
399
- /** Negates the expression. */
400
- not?: OrgLimitFilter;
401
- }
402
- /** A filter to be used against `MembershipType` object types. All fields are combined with a logical ‘and.’ */
403
- export interface MembershipTypeFilter {
404
- /** Filter by the object’s `id` field. */
405
- id?: IntFilter;
406
- /** Filter by the object’s `name` field. */
407
- name?: StringFilter;
408
- /** Filter by the object’s `description` field. */
409
- description?: StringFilter;
410
- /** Filter by the object’s `prefix` field. */
411
- prefix?: StringFilter;
412
- /** Filter by the object’s `parentMembershipType` field. */
413
- parentMembershipType?: IntFilter;
414
- /** Filter by the object’s `hasUsersTableEntry` field. */
415
- hasUsersTableEntry?: BooleanFilter;
416
- /** Checks for all expressions in this list. */
417
- and?: MembershipTypeFilter[];
418
- /** Checks for any expressions in this list. */
419
- or?: MembershipTypeFilter[];
420
- /** Negates the expression. */
421
- not?: MembershipTypeFilter;
422
- }
423
- /** A filter to be used against `AppGrant` object types. All fields are combined with a logical ‘and.’ */
424
- export interface AppGrantFilter {
425
- /** Filter by the object’s `id` field. */
426
- id?: UUIDFilter;
427
- /** Filter by the object’s `permissions` field. */
428
- permissions?: BitStringFilter;
429
- /** Filter by the object’s `isGrant` field. */
430
- isGrant?: BooleanFilter;
431
- /** Filter by the object’s `actorId` field. */
432
- actorId?: UUIDFilter;
433
- /** Filter by the object’s `grantorId` field. */
434
- grantorId?: UUIDFilter;
435
- /** Filter by the object’s `createdAt` field. */
436
- createdAt?: DatetimeFilter;
437
- /** Filter by the object’s `updatedAt` field. */
438
- updatedAt?: DatetimeFilter;
439
- /** Checks for all expressions in this list. */
440
- and?: AppGrantFilter[];
441
- /** Checks for any expressions in this list. */
442
- or?: AppGrantFilter[];
443
- /** Negates the expression. */
444
- not?: AppGrantFilter;
445
- }
446
- /** A filter to be used against `AppMembershipDefault` object types. All fields are combined with a logical ‘and.’ */
447
- export interface AppMembershipDefaultFilter {
441
+ /** A filter to be used against `AppMembershipDefault` object types. All fields are combined with a logical ‘and.’ */
442
+ export interface AppMembershipDefaultFilter {
448
443
  /** Filter by the object’s `id` field. */
449
444
  id?: UUIDFilter;
450
445
  /** Filter by the object’s `createdAt` field. */
@@ -510,6 +505,60 @@ export interface OrgClaimedInviteFilter {
510
505
  /** Negates the expression. */
511
506
  not?: OrgClaimedInviteFilter;
512
507
  }
508
+ /** A filter to be used against `AppLimitEvent` object types. All fields are combined with a logical ‘and.’ */
509
+ export interface AppLimitEventFilter {
510
+ /** Filter by the object’s `name` field. */
511
+ name?: StringFilter;
512
+ /** Filter by the object’s `actorId` field. */
513
+ actorId?: UUIDFilter;
514
+ /** Filter by the object’s `entityId` field. */
515
+ entityId?: UUIDFilter;
516
+ /** Filter by the object’s `eventType` field. */
517
+ eventType?: StringFilter;
518
+ /** Filter by the object’s `delta` field. */
519
+ delta?: BigIntFilter;
520
+ /** Filter by the object’s `numBefore` field. */
521
+ numBefore?: BigIntFilter;
522
+ /** Filter by the object’s `numAfter` field. */
523
+ numAfter?: BigIntFilter;
524
+ /** Filter by the object’s `maxAtEvent` field. */
525
+ maxAtEvent?: BigIntFilter;
526
+ /** Filter by the object’s `reason` field. */
527
+ reason?: StringFilter;
528
+ /** Checks for all expressions in this list. */
529
+ and?: AppLimitEventFilter[];
530
+ /** Checks for any expressions in this list. */
531
+ or?: AppLimitEventFilter[];
532
+ /** Negates the expression. */
533
+ not?: AppLimitEventFilter;
534
+ }
535
+ /** A filter to be used against `OrgLimitEvent` object types. All fields are combined with a logical ‘and.’ */
536
+ export interface OrgLimitEventFilter {
537
+ /** Filter by the object’s `name` field. */
538
+ name?: StringFilter;
539
+ /** Filter by the object’s `actorId` field. */
540
+ actorId?: UUIDFilter;
541
+ /** Filter by the object’s `entityId` field. */
542
+ entityId?: UUIDFilter;
543
+ /** Filter by the object’s `eventType` field. */
544
+ eventType?: StringFilter;
545
+ /** Filter by the object’s `delta` field. */
546
+ delta?: BigIntFilter;
547
+ /** Filter by the object’s `numBefore` field. */
548
+ numBefore?: BigIntFilter;
549
+ /** Filter by the object’s `numAfter` field. */
550
+ numAfter?: BigIntFilter;
551
+ /** Filter by the object’s `maxAtEvent` field. */
552
+ maxAtEvent?: BigIntFilter;
553
+ /** Filter by the object’s `reason` field. */
554
+ reason?: StringFilter;
555
+ /** Checks for all expressions in this list. */
556
+ and?: OrgLimitEventFilter[];
557
+ /** Checks for any expressions in this list. */
558
+ or?: OrgLimitEventFilter[];
559
+ /** Negates the expression. */
560
+ not?: OrgLimitEventFilter;
561
+ }
513
562
  /** A filter to be used against `OrgGrant` object types. All fields are combined with a logical ‘and.’ */
514
563
  export interface OrgGrantFilter {
515
564
  /** Filter by the object’s `id` field. */
@@ -560,30 +609,99 @@ export interface OrgChartEdgeFilter {
560
609
  /** Negates the expression. */
561
610
  not?: OrgChartEdgeFilter;
562
611
  }
563
- /** A filter to be used against `AppLevelRequirement` object types. All fields are combined with a logical ‘and.’ */
564
- export interface AppLevelRequirementFilter {
612
+ /** A filter to be used against `AppLimit` object types. All fields are combined with a logical ‘and.’ */
613
+ export interface AppLimitFilter {
565
614
  /** Filter by the object’s `id` field. */
566
615
  id?: UUIDFilter;
567
616
  /** Filter by the object’s `name` field. */
568
617
  name?: StringFilter;
569
- /** Filter by the object’s `level` field. */
570
- level?: StringFilter;
571
- /** Filter by the object’s `description` field. */
572
- description?: StringFilter;
573
- /** Filter by the object’s `requiredCount` field. */
574
- requiredCount?: IntFilter;
575
- /** Filter by the object’s `priority` field. */
576
- priority?: IntFilter;
577
- /** Filter by the object’s `createdAt` field. */
578
- createdAt?: DatetimeFilter;
579
- /** Filter by the object’s `updatedAt` field. */
580
- updatedAt?: DatetimeFilter;
618
+ /** Filter by the object’s `actorId` field. */
619
+ actorId?: UUIDFilter;
620
+ /** Filter by the object’s `num` field. */
621
+ num?: BigIntFilter;
622
+ /** Filter by the object’s `max` field. */
623
+ max?: BigIntFilter;
624
+ /** Filter by the object’s `softMax` field. */
625
+ softMax?: BigIntFilter;
626
+ /** Filter by the object’s `windowStart` field. */
627
+ windowStart?: DatetimeFilter;
628
+ /** Filter by the object’s `windowDuration` field. */
629
+ windowDuration?: IntervalFilter;
581
630
  /** Checks for all expressions in this list. */
582
- and?: AppLevelRequirementFilter[];
631
+ and?: AppLimitFilter[];
583
632
  /** Checks for any expressions in this list. */
584
- or?: AppLevelRequirementFilter[];
633
+ or?: AppLimitFilter[];
585
634
  /** Negates the expression. */
586
- not?: AppLevelRequirementFilter;
635
+ not?: AppLimitFilter;
636
+ }
637
+ /** A filter to be used against Interval fields. All fields are combined with a logical ‘and.’ */
638
+ export interface IntervalFilter {
639
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
640
+ isNull?: boolean;
641
+ /** Equal to the specified value. */
642
+ equalTo?: IntervalInput;
643
+ /** Not equal to the specified value. */
644
+ notEqualTo?: IntervalInput;
645
+ /** Not equal to the specified value, treating null like an ordinary value. */
646
+ distinctFrom?: IntervalInput;
647
+ /** Equal to the specified value, treating null like an ordinary value. */
648
+ notDistinctFrom?: IntervalInput;
649
+ /** Included in the specified list. */
650
+ in?: IntervalInput[];
651
+ /** Not included in the specified list. */
652
+ notIn?: IntervalInput[];
653
+ /** Less than the specified value. */
654
+ lessThan?: IntervalInput;
655
+ /** Less than or equal to the specified value. */
656
+ lessThanOrEqualTo?: IntervalInput;
657
+ /** Greater than the specified value. */
658
+ greaterThan?: IntervalInput;
659
+ /** Greater than or equal to the specified value. */
660
+ greaterThanOrEqualTo?: IntervalInput;
661
+ }
662
+ /** An interval of time that has passed where the smallest distinct unit is a second. */
663
+ export interface IntervalInput {
664
+ /**
665
+ * A quantity of seconds. This is the only non-integer field, as all the other
666
+ * fields will dump their overflow into a smaller unit of time. Intervals don’t
667
+ * have a smaller unit than seconds.
668
+ */
669
+ seconds?: number;
670
+ /** A quantity of minutes. */
671
+ minutes?: number;
672
+ /** A quantity of hours. */
673
+ hours?: number;
674
+ /** A quantity of days. */
675
+ days?: number;
676
+ /** A quantity of months. */
677
+ months?: number;
678
+ /** A quantity of years. */
679
+ years?: number;
680
+ }
681
+ /** A filter to be used against `OrgLimitAggregate` object types. All fields are combined with a logical ‘and.’ */
682
+ export interface OrgLimitAggregateFilter {
683
+ /** Filter by the object’s `id` field. */
684
+ id?: UUIDFilter;
685
+ /** Filter by the object’s `name` field. */
686
+ name?: StringFilter;
687
+ /** Filter by the object’s `entityId` field. */
688
+ entityId?: UUIDFilter;
689
+ /** Filter by the object’s `num` field. */
690
+ num?: BigIntFilter;
691
+ /** Filter by the object’s `max` field. */
692
+ max?: BigIntFilter;
693
+ /** Filter by the object’s `softMax` field. */
694
+ softMax?: BigIntFilter;
695
+ /** Filter by the object’s `windowStart` field. */
696
+ windowStart?: DatetimeFilter;
697
+ /** Filter by the object’s `windowDuration` field. */
698
+ windowDuration?: IntervalFilter;
699
+ /** Checks for all expressions in this list. */
700
+ and?: OrgLimitAggregateFilter[];
701
+ /** Checks for any expressions in this list. */
702
+ or?: OrgLimitAggregateFilter[];
703
+ /** Negates the expression. */
704
+ not?: OrgLimitAggregateFilter;
587
705
  }
588
706
  /** A filter to be used against `OrgMemberProfile` object types. All fields are combined with a logical ‘and.’ */
589
707
  export interface OrgMemberProfileFilter {
@@ -702,38 +820,32 @@ export interface OrgMembershipFilter {
702
820
  /** A related `orgMemberProfileByMembershipId` exists. */
703
821
  orgMemberProfileByMembershipIdExists?: boolean;
704
822
  }
705
- /** A filter to be used against `OrgMembershipSetting` object types. All fields are combined with a logical ‘and.’ */
706
- export interface OrgMembershipSettingFilter {
823
+ /** A filter to be used against `OrgLimit` object types. All fields are combined with a logical ‘and.’ */
824
+ export interface OrgLimitFilter {
707
825
  /** Filter by the object’s `id` field. */
708
826
  id?: UUIDFilter;
709
- /** Filter by the object’s `createdAt` field. */
710
- createdAt?: DatetimeFilter;
711
- /** Filter by the object’s `updatedAt` field. */
712
- updatedAt?: DatetimeFilter;
713
- /** Filter by the object’s `createdBy` field. */
714
- createdBy?: UUIDFilter;
715
- /** Filter by the object’s `updatedBy` field. */
716
- updatedBy?: UUIDFilter;
827
+ /** Filter by the object’s `name` field. */
828
+ name?: StringFilter;
829
+ /** Filter by the object’s `actorId` field. */
830
+ actorId?: UUIDFilter;
831
+ /** Filter by the object’s `num` field. */
832
+ num?: BigIntFilter;
833
+ /** Filter by the object’s `max` field. */
834
+ max?: BigIntFilter;
835
+ /** Filter by the object’s `softMax` field. */
836
+ softMax?: BigIntFilter;
837
+ /** Filter by the object’s `windowStart` field. */
838
+ windowStart?: DatetimeFilter;
839
+ /** Filter by the object’s `windowDuration` field. */
840
+ windowDuration?: IntervalFilter;
717
841
  /** Filter by the object’s `entityId` field. */
718
842
  entityId?: UUIDFilter;
719
- /** Filter by the object’s `deleteMemberCascadeChildren` field. */
720
- deleteMemberCascadeChildren?: BooleanFilter;
721
- /** Filter by the object’s `createChildCascadeOwners` field. */
722
- createChildCascadeOwners?: BooleanFilter;
723
- /** Filter by the object’s `createChildCascadeAdmins` field. */
724
- createChildCascadeAdmins?: BooleanFilter;
725
- /** Filter by the object’s `createChildCascadeMembers` field. */
726
- createChildCascadeMembers?: BooleanFilter;
727
- /** Filter by the object’s `allowExternalMembers` field. */
728
- allowExternalMembers?: BooleanFilter;
729
- /** Filter by the object’s `populateMemberEmail` field. */
730
- populateMemberEmail?: BooleanFilter;
731
843
  /** Checks for all expressions in this list. */
732
- and?: OrgMembershipSettingFilter[];
844
+ and?: OrgLimitFilter[];
733
845
  /** Checks for any expressions in this list. */
734
- or?: OrgMembershipSettingFilter[];
846
+ or?: OrgLimitFilter[];
735
847
  /** Negates the expression. */
736
- not?: OrgMembershipSettingFilter;
848
+ not?: OrgLimitFilter;
737
849
  }
738
850
  /** A filter to be used against `AppLevel` object types. All fields are combined with a logical ‘and.’ */
739
851
  export interface AppLevelFilter {
@@ -776,6 +888,8 @@ export interface AppInviteFilter {
776
888
  inviteCount?: IntFilter;
777
889
  /** Filter by the object’s `multiple` field. */
778
890
  multiple?: BooleanFilter;
891
+ /** Filter by the object’s `profileId` field. */
892
+ profileId?: UUIDFilter;
779
893
  /** Filter by the object’s `expiresAt` field. */
780
894
  expiresAt?: DatetimeFilter;
781
895
  /** Filter by the object’s `createdAt` field. */
@@ -866,6 +980,43 @@ export interface ConstructiveInternalTypeEmailFilter {
866
980
  /** Greater than or equal to the specified value (case-insensitive). */
867
981
  greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
868
982
  }
983
+ /** A filter to be used against `OrgMembershipSetting` object types. All fields are combined with a logical ‘and.’ */
984
+ export interface OrgMembershipSettingFilter {
985
+ /** Filter by the object’s `id` field. */
986
+ id?: UUIDFilter;
987
+ /** Filter by the object’s `createdAt` field. */
988
+ createdAt?: DatetimeFilter;
989
+ /** Filter by the object’s `updatedAt` field. */
990
+ updatedAt?: DatetimeFilter;
991
+ /** Filter by the object’s `createdBy` field. */
992
+ createdBy?: UUIDFilter;
993
+ /** Filter by the object’s `updatedBy` field. */
994
+ updatedBy?: UUIDFilter;
995
+ /** Filter by the object’s `entityId` field. */
996
+ entityId?: UUIDFilter;
997
+ /** Filter by the object’s `deleteMemberCascadeChildren` field. */
998
+ deleteMemberCascadeChildren?: BooleanFilter;
999
+ /** Filter by the object’s `createChildCascadeOwners` field. */
1000
+ createChildCascadeOwners?: BooleanFilter;
1001
+ /** Filter by the object’s `createChildCascadeAdmins` field. */
1002
+ createChildCascadeAdmins?: BooleanFilter;
1003
+ /** Filter by the object’s `createChildCascadeMembers` field. */
1004
+ createChildCascadeMembers?: BooleanFilter;
1005
+ /** Filter by the object’s `allowExternalMembers` field. */
1006
+ allowExternalMembers?: BooleanFilter;
1007
+ /** Filter by the object’s `inviteProfileAssignmentMode` field. */
1008
+ inviteProfileAssignmentMode?: StringFilter;
1009
+ /** Filter by the object’s `populateMemberEmail` field. */
1010
+ populateMemberEmail?: BooleanFilter;
1011
+ /** Filter by the object’s `limitAllocationMode` field. */
1012
+ limitAllocationMode?: StringFilter;
1013
+ /** Checks for all expressions in this list. */
1014
+ and?: OrgMembershipSettingFilter[];
1015
+ /** Checks for any expressions in this list. */
1016
+ or?: OrgMembershipSettingFilter[];
1017
+ /** Negates the expression. */
1018
+ not?: OrgMembershipSettingFilter;
1019
+ }
869
1020
  /** A filter to be used against `OrgInvite` object types. All fields are combined with a logical ‘and.’ */
870
1021
  export interface OrgInviteFilter {
871
1022
  /** Filter by the object’s `id` field. */
@@ -886,6 +1037,8 @@ export interface OrgInviteFilter {
886
1037
  inviteCount?: IntFilter;
887
1038
  /** Filter by the object’s `multiple` field. */
888
1039
  multiple?: BooleanFilter;
1040
+ /** Filter by the object’s `profileId` field. */
1041
+ profileId?: UUIDFilter;
889
1042
  /** Filter by the object’s `expiresAt` field. */
890
1043
  expiresAt?: DatetimeFilter;
891
1044
  /** Filter by the object’s `createdAt` field. */
@@ -923,8 +1076,6 @@ export interface AppMembershipFilter {
923
1076
  isVerified?: BooleanFilter;
924
1077
  /** Filter by the object’s `isActive` field. */
925
1078
  isActive?: BooleanFilter;
926
- /** Filter by the object’s `isExternal` field. */
927
- isExternal?: BooleanFilter;
928
1079
  /** Filter by the object’s `isOwner` field. */
929
1080
  isOwner?: BooleanFilter;
930
1081
  /** Filter by the object’s `isAdmin` field. */
@@ -991,6 +1142,40 @@ export interface OrgPermissionDefaultInput {
991
1142
  /** References the entity these default permissions apply to */
992
1143
  entityId: string;
993
1144
  }
1145
+ export interface CreateAppPermissionInput {
1146
+ clientMutationId?: string;
1147
+ /** The `AppPermission` to be created by this mutation. */
1148
+ appPermission: AppPermissionInput;
1149
+ }
1150
+ /** An input for mutations affecting `AppPermission` */
1151
+ export interface AppPermissionInput {
1152
+ id?: string;
1153
+ /** Human-readable permission name (e.g. read, write, manage) */
1154
+ name?: string;
1155
+ /** Position of this permission in the bitmask (1-indexed), must be unique per permission set */
1156
+ bitnum?: number;
1157
+ /** Pre-computed bitmask with only this permission bit set, used for bitwise OR/AND operations */
1158
+ bitstr?: string;
1159
+ /** Human-readable description of what this permission allows */
1160
+ description?: string;
1161
+ }
1162
+ export interface CreateOrgPermissionInput {
1163
+ clientMutationId?: string;
1164
+ /** The `OrgPermission` to be created by this mutation. */
1165
+ orgPermission: OrgPermissionInput;
1166
+ }
1167
+ /** An input for mutations affecting `OrgPermission` */
1168
+ export interface OrgPermissionInput {
1169
+ id?: string;
1170
+ /** Human-readable permission name (e.g. read, write, manage) */
1171
+ name?: string;
1172
+ /** Position of this permission in the bitmask (1-indexed), must be unique per permission set */
1173
+ bitnum?: number;
1174
+ /** Pre-computed bitmask with only this permission bit set, used for bitwise OR/AND operations */
1175
+ bitstr?: string;
1176
+ /** Human-readable description of what this permission allows */
1177
+ description?: string;
1178
+ }
994
1179
  export interface CreateAppAdminGrantInput {
995
1180
  clientMutationId?: string;
996
1181
  /** The `AppAdminGrant` to be created by this mutation. */
@@ -1023,31 +1208,37 @@ export interface AppOwnerGrantInput {
1023
1208
  createdAt?: string;
1024
1209
  updatedAt?: string;
1025
1210
  }
1026
- export interface CreateAppLimitDefaultInput {
1211
+ export interface CreateAppAchievementInput {
1027
1212
  clientMutationId?: string;
1028
- /** The `AppLimitDefault` to be created by this mutation. */
1029
- appLimitDefault: AppLimitDefaultInput;
1213
+ /** The `AppAchievement` to be created by this mutation. */
1214
+ appAchievement: AppAchievementInput;
1030
1215
  }
1031
- /** An input for mutations affecting `AppLimitDefault` */
1032
- export interface AppLimitDefaultInput {
1216
+ /** An input for mutations affecting `AppAchievement` */
1217
+ export interface AppAchievementInput {
1033
1218
  id?: string;
1034
- /** Name identifier of the limit this default applies to */
1219
+ actorId?: string;
1220
+ /** Name identifier of the level requirement being tracked */
1035
1221
  name: string;
1036
- /** Default maximum usage allowed for this limit */
1037
- max?: number;
1222
+ /** Cumulative count of completed steps toward this requirement */
1223
+ count?: number;
1224
+ createdAt?: string;
1225
+ updatedAt?: string;
1038
1226
  }
1039
- export interface CreateOrgLimitDefaultInput {
1227
+ export interface CreateAppStepInput {
1040
1228
  clientMutationId?: string;
1041
- /** The `OrgLimitDefault` to be created by this mutation. */
1042
- orgLimitDefault: OrgLimitDefaultInput;
1229
+ /** The `AppStep` to be created by this mutation. */
1230
+ appStep: AppStepInput;
1043
1231
  }
1044
- /** An input for mutations affecting `OrgLimitDefault` */
1045
- export interface OrgLimitDefaultInput {
1232
+ /** An input for mutations affecting `AppStep` */
1233
+ export interface AppStepInput {
1046
1234
  id?: string;
1047
- /** Name identifier of the limit this default applies to */
1235
+ actorId?: string;
1236
+ /** Name identifier of the level requirement this step fulfills */
1048
1237
  name: string;
1049
- /** Default maximum usage allowed for this limit */
1050
- max?: number;
1238
+ /** Number of units completed in this step action */
1239
+ count?: number;
1240
+ createdAt?: string;
1241
+ updatedAt?: string;
1051
1242
  }
1052
1243
  export interface CreateOrgAdminGrantInput {
1053
1244
  clientMutationId?: string;
@@ -1085,103 +1276,74 @@ export interface OrgOwnerGrantInput {
1085
1276
  createdAt?: string;
1086
1277
  updatedAt?: string;
1087
1278
  }
1088
- export interface CreateAppPermissionInput {
1089
- clientMutationId?: string;
1090
- /** The `AppPermission` to be created by this mutation. */
1091
- appPermission: AppPermissionInput;
1092
- }
1093
- /** An input for mutations affecting `AppPermission` */
1094
- export interface AppPermissionInput {
1095
- id?: string;
1096
- /** Human-readable permission name (e.g. read, write, manage) */
1097
- name?: string;
1098
- /** Position of this permission in the bitmask (1-indexed), must be unique per permission set */
1099
- bitnum?: number;
1100
- /** Pre-computed bitmask with only this permission bit set, used for bitwise OR/AND operations */
1101
- bitstr?: string;
1102
- /** Human-readable description of what this permission allows */
1103
- description?: string;
1104
- }
1105
- export interface CreateOrgPermissionInput {
1106
- clientMutationId?: string;
1107
- /** The `OrgPermission` to be created by this mutation. */
1108
- orgPermission: OrgPermissionInput;
1109
- }
1110
- /** An input for mutations affecting `OrgPermission` */
1111
- export interface OrgPermissionInput {
1112
- id?: string;
1113
- /** Human-readable permission name (e.g. read, write, manage) */
1114
- name?: string;
1115
- /** Position of this permission in the bitmask (1-indexed), must be unique per permission set */
1116
- bitnum?: number;
1117
- /** Pre-computed bitmask with only this permission bit set, used for bitwise OR/AND operations */
1118
- bitstr?: string;
1119
- /** Human-readable description of what this permission allows */
1120
- description?: string;
1121
- }
1122
- export interface CreateAppLimitInput {
1279
+ export interface CreateMembershipTypeInput {
1123
1280
  clientMutationId?: string;
1124
- /** The `AppLimit` to be created by this mutation. */
1125
- appLimit: AppLimitInput;
1281
+ /** The `MembershipType` to be created by this mutation. */
1282
+ membershipType: MembershipTypeInput;
1126
1283
  }
1127
- /** An input for mutations affecting `AppLimit` */
1128
- export interface AppLimitInput {
1129
- id?: string;
1130
- /** Name identifier of the limit being tracked */
1131
- name?: string;
1132
- /** User whose usage is being tracked against this limit */
1133
- actorId: string;
1134
- /** Current usage count for this actor and limit */
1135
- num?: number;
1136
- /** Maximum allowed usage; NULL means use the default limit value */
1137
- max?: number;
1284
+ /** An input for mutations affecting `MembershipType` */
1285
+ export interface MembershipTypeInput {
1286
+ /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
1287
+ id: number;
1288
+ /** Human-readable name of the membership type */
1289
+ name: string;
1290
+ /** Description of what this membership type represents */
1291
+ description: string;
1292
+ /** Short prefix used to namespace tables and functions for this membership scope */
1293
+ prefix: string;
1294
+ /** Parent membership type ID for SPRT cascade chain (e.g. type 2 parent=1, type 3 parent=2) */
1295
+ parentMembershipType?: number;
1296
+ /** When true, entities of this membership type get a one-to-one ID in the users table and a corresponding role_type entry, enabling them to own resources via owner_id FKs */
1297
+ hasUsersTableEntry?: boolean;
1138
1298
  }
1139
- export interface CreateAppAchievementInput {
1299
+ export interface CreateAppLimitDefaultInput {
1140
1300
  clientMutationId?: string;
1141
- /** The `AppAchievement` to be created by this mutation. */
1142
- appAchievement: AppAchievementInput;
1301
+ /** The `AppLimitDefault` to be created by this mutation. */
1302
+ appLimitDefault: AppLimitDefaultInput;
1143
1303
  }
1144
- /** An input for mutations affecting `AppAchievement` */
1145
- export interface AppAchievementInput {
1304
+ /** An input for mutations affecting `AppLimitDefault` */
1305
+ export interface AppLimitDefaultInput {
1146
1306
  id?: string;
1147
- actorId?: string;
1148
- /** Name identifier of the level requirement being tracked */
1307
+ /** Name identifier of the limit this default applies to */
1149
1308
  name: string;
1150
- /** Cumulative count of completed steps toward this requirement */
1151
- count?: number;
1152
- createdAt?: string;
1153
- updatedAt?: string;
1309
+ /** Default maximum usage allowed for this limit */
1310
+ max?: string;
1311
+ /** Default soft limit threshold for warnings; NULL means no soft limit */
1312
+ softMax?: string;
1154
1313
  }
1155
- export interface CreateAppStepInput {
1314
+ export interface CreateOrgLimitDefaultInput {
1156
1315
  clientMutationId?: string;
1157
- /** The `AppStep` to be created by this mutation. */
1158
- appStep: AppStepInput;
1316
+ /** The `OrgLimitDefault` to be created by this mutation. */
1317
+ orgLimitDefault: OrgLimitDefaultInput;
1159
1318
  }
1160
- /** An input for mutations affecting `AppStep` */
1161
- export interface AppStepInput {
1319
+ /** An input for mutations affecting `OrgLimitDefault` */
1320
+ export interface OrgLimitDefaultInput {
1162
1321
  id?: string;
1163
- actorId?: string;
1164
- /** Name identifier of the level requirement this step fulfills */
1322
+ /** Name identifier of the limit this default applies to */
1165
1323
  name: string;
1166
- /** Number of units completed in this step action */
1167
- count?: number;
1168
- createdAt?: string;
1169
- updatedAt?: string;
1324
+ /** Default maximum usage allowed for this limit */
1325
+ max?: string;
1326
+ /** Default soft limit threshold for warnings; NULL means no soft limit */
1327
+ softMax?: string;
1170
1328
  }
1171
- export interface CreateAppClaimedInviteInput {
1329
+ export interface CreateAppLevelRequirementInput {
1172
1330
  clientMutationId?: string;
1173
- /** The `AppClaimedInvite` to be created by this mutation. */
1174
- appClaimedInvite: AppClaimedInviteInput;
1331
+ /** The `AppLevelRequirement` to be created by this mutation. */
1332
+ appLevelRequirement: AppLevelRequirementInput;
1175
1333
  }
1176
- /** An input for mutations affecting `AppClaimedInvite` */
1177
- export interface AppClaimedInviteInput {
1334
+ /** An input for mutations affecting `AppLevelRequirement` */
1335
+ export interface AppLevelRequirementInput {
1178
1336
  id?: string;
1179
- /** Optional JSON payload captured at the time the invite was claimed */
1180
- data?: unknown;
1181
- /** User ID of the original invitation sender */
1182
- senderId?: string;
1183
- /** User ID of the person who claimed and redeemed the invitation */
1184
- receiverId?: string;
1337
+ /** Name identifier of the requirement (matches step names) */
1338
+ name: string;
1339
+ /** Name of the level this requirement belongs to */
1340
+ level: string;
1341
+ /** Human-readable description of what this requirement entails */
1342
+ description?: string;
1343
+ /** Number of steps needed to satisfy this requirement */
1344
+ requiredCount?: number;
1345
+ /** Display ordering priority; lower values appear first */
1346
+ priority?: number;
1185
1347
  createdAt?: string;
1186
1348
  updatedAt?: string;
1187
1349
  }
@@ -1205,48 +1367,27 @@ export interface OrgChartEdgeGrantInput {
1205
1367
  isGrant?: boolean;
1206
1368
  /** Job title or role name being assigned in this grant */
1207
1369
  positionTitle?: string;
1208
- /** Numeric seniority level being assigned in this grant */
1209
- positionLevel?: number;
1210
- /** Timestamp when this grant or revocation was recorded */
1211
- createdAt?: string;
1212
- }
1213
- export interface CreateOrgLimitInput {
1214
- clientMutationId?: string;
1215
- /** The `OrgLimit` to be created by this mutation. */
1216
- orgLimit: OrgLimitInput;
1217
- }
1218
- /** An input for mutations affecting `OrgLimit` */
1219
- export interface OrgLimitInput {
1220
- id?: string;
1221
- /** Name identifier of the limit being tracked */
1222
- name?: string;
1223
- /** User whose usage is being tracked against this limit */
1224
- actorId: string;
1225
- /** Current usage count for this actor and limit */
1226
- num?: number;
1227
- /** Maximum allowed usage; NULL means use the default limit value */
1228
- max?: number;
1229
- entityId: string;
1230
- }
1231
- export interface CreateMembershipTypeInput {
1232
- clientMutationId?: string;
1233
- /** The `MembershipType` to be created by this mutation. */
1234
- membershipType: MembershipTypeInput;
1235
- }
1236
- /** An input for mutations affecting `MembershipType` */
1237
- export interface MembershipTypeInput {
1238
- /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
1239
- id: number;
1240
- /** Human-readable name of the membership type */
1241
- name: string;
1242
- /** Description of what this membership type represents */
1243
- description: string;
1244
- /** Short prefix used to namespace tables and functions for this membership scope */
1245
- prefix: string;
1246
- /** Parent membership type ID for SPRT cascade chain (e.g. type 2 parent=1, type 3 parent=2) */
1247
- parentMembershipType?: number;
1248
- /** When true, entities of this membership type get a one-to-one ID in the users table and a corresponding role_type entry, enabling them to own resources via owner_id FKs */
1249
- hasUsersTableEntry?: boolean;
1370
+ /** Numeric seniority level being assigned in this grant */
1371
+ positionLevel?: number;
1372
+ /** Timestamp when this grant or revocation was recorded */
1373
+ createdAt?: string;
1374
+ }
1375
+ export interface CreateAppClaimedInviteInput {
1376
+ clientMutationId?: string;
1377
+ /** The `AppClaimedInvite` to be created by this mutation. */
1378
+ appClaimedInvite: AppClaimedInviteInput;
1379
+ }
1380
+ /** An input for mutations affecting `AppClaimedInvite` */
1381
+ export interface AppClaimedInviteInput {
1382
+ id?: string;
1383
+ /** Optional JSON payload captured at the time the invite was claimed */
1384
+ data?: unknown;
1385
+ /** User ID of the original invitation sender */
1386
+ senderId?: string;
1387
+ /** User ID of the person who claimed and redeemed the invitation */
1388
+ receiverId?: string;
1389
+ createdAt?: string;
1390
+ updatedAt?: string;
1250
1391
  }
1251
1392
  export interface CreateAppGrantInput {
1252
1393
  clientMutationId?: string;
@@ -1318,6 +1459,58 @@ export interface OrgClaimedInviteInput {
1318
1459
  updatedAt?: string;
1319
1460
  entityId: string;
1320
1461
  }
1462
+ export interface CreateAppLimitEventInput {
1463
+ clientMutationId?: string;
1464
+ /** The `AppLimitEvent` to be created by this mutation. */
1465
+ appLimitEvent: AppLimitEventInput;
1466
+ }
1467
+ /** An input for mutations affecting `AppLimitEvent` */
1468
+ export interface AppLimitEventInput {
1469
+ /** Limit name this event applies to */
1470
+ name?: string;
1471
+ /** User who triggered this event; NULL for system/aggregate events */
1472
+ actorId?: string;
1473
+ /** Entity this event applies to; NULL for app-level events */
1474
+ entityId?: string;
1475
+ /** Event type: inc, dec, check, modify, transfer, apply_plan, reset */
1476
+ eventType?: string;
1477
+ /** Change amount: positive for increment, negative for decrement */
1478
+ delta?: string;
1479
+ /** Usage count before this event */
1480
+ numBefore?: string;
1481
+ /** Usage count after this event */
1482
+ numAfter?: string;
1483
+ /** Max limit ceiling at the time of this event */
1484
+ maxAtEvent?: string;
1485
+ /** Optional reason or source: achievement, invite, plan_change, purchase, etc. */
1486
+ reason?: string;
1487
+ }
1488
+ export interface CreateOrgLimitEventInput {
1489
+ clientMutationId?: string;
1490
+ /** The `OrgLimitEvent` to be created by this mutation. */
1491
+ orgLimitEvent: OrgLimitEventInput;
1492
+ }
1493
+ /** An input for mutations affecting `OrgLimitEvent` */
1494
+ export interface OrgLimitEventInput {
1495
+ /** Limit name this event applies to */
1496
+ name?: string;
1497
+ /** User who triggered this event; NULL for system/aggregate events */
1498
+ actorId?: string;
1499
+ /** Entity this event applies to; NULL for app-level events */
1500
+ entityId?: string;
1501
+ /** Event type: inc, dec, check, modify, transfer, apply_plan, reset */
1502
+ eventType?: string;
1503
+ /** Change amount: positive for increment, negative for decrement */
1504
+ delta?: string;
1505
+ /** Usage count before this event */
1506
+ numBefore?: string;
1507
+ /** Usage count after this event */
1508
+ numAfter?: string;
1509
+ /** Max limit ceiling at the time of this event */
1510
+ maxAtEvent?: string;
1511
+ /** Optional reason or source: achievement, invite, plan_change, purchase, etc. */
1512
+ reason?: string;
1513
+ }
1321
1514
  export interface CreateOrgGrantInput {
1322
1515
  clientMutationId?: string;
1323
1516
  /** The `OrgGrant` to be created by this mutation. */
@@ -1359,26 +1552,51 @@ export interface OrgChartEdgeInput {
1359
1552
  /** Numeric seniority level for this position (higher = more senior) */
1360
1553
  positionLevel?: number;
1361
1554
  }
1362
- export interface CreateAppLevelRequirementInput {
1555
+ export interface CreateAppLimitInput {
1363
1556
  clientMutationId?: string;
1364
- /** The `AppLevelRequirement` to be created by this mutation. */
1365
- appLevelRequirement: AppLevelRequirementInput;
1557
+ /** The `AppLimit` to be created by this mutation. */
1558
+ appLimit: AppLimitInput;
1366
1559
  }
1367
- /** An input for mutations affecting `AppLevelRequirement` */
1368
- export interface AppLevelRequirementInput {
1560
+ /** An input for mutations affecting `AppLimit` */
1561
+ export interface AppLimitInput {
1369
1562
  id?: string;
1370
- /** Name identifier of the requirement (matches step names) */
1371
- name: string;
1372
- /** Name of the level this requirement belongs to */
1373
- level: string;
1374
- /** Human-readable description of what this requirement entails */
1375
- description?: string;
1376
- /** Number of steps needed to satisfy this requirement */
1377
- requiredCount?: number;
1378
- /** Display ordering priority; lower values appear first */
1379
- priority?: number;
1380
- createdAt?: string;
1381
- updatedAt?: string;
1563
+ /** Name identifier of the limit being tracked */
1564
+ name?: string;
1565
+ /** User whose usage is being tracked against this limit */
1566
+ actorId: string;
1567
+ /** Current usage count for this actor and limit */
1568
+ num?: string;
1569
+ /** Maximum allowed usage; negative means unlimited. Modified by plans, credits, and achievements. */
1570
+ max?: string;
1571
+ /** Soft limit threshold for warnings; NULL means no soft limit. When num >= soft_max, consumers should warn but still allow until max is reached. */
1572
+ softMax?: string;
1573
+ /** Start of the current metering window; NULL means no time window */
1574
+ windowStart?: string;
1575
+ /** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */
1576
+ windowDuration?: IntervalInput;
1577
+ }
1578
+ export interface CreateOrgLimitAggregateInput {
1579
+ clientMutationId?: string;
1580
+ /** The `OrgLimitAggregate` to be created by this mutation. */
1581
+ orgLimitAggregate: OrgLimitAggregateInput;
1582
+ }
1583
+ /** An input for mutations affecting `OrgLimitAggregate` */
1584
+ export interface OrgLimitAggregateInput {
1585
+ id?: string;
1586
+ /** Name identifier of the aggregate limit being tracked */
1587
+ name?: string;
1588
+ /** Entity (org) whose aggregate usage is being tracked */
1589
+ entityId: string;
1590
+ /** Current aggregate usage count for this entity and limit */
1591
+ num?: string;
1592
+ /** Maximum allowed aggregate usage; negative means unlimited */
1593
+ max?: string;
1594
+ /** Soft limit threshold for warnings; NULL means no soft limit */
1595
+ softMax?: string;
1596
+ /** Start of the current metering window; NULL means no time window */
1597
+ windowStart?: string;
1598
+ /** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */
1599
+ windowDuration?: IntervalInput;
1382
1600
  }
1383
1601
  export interface CreateOrgMemberProfileInput {
1384
1602
  clientMutationId?: string;
@@ -1407,32 +1625,29 @@ export interface OrgMemberProfileInput {
1407
1625
  /** Profile picture visible to other entity members */
1408
1626
  profilePicture?: ConstructiveInternalTypeImage;
1409
1627
  }
1410
- export interface CreateOrgMembershipSettingInput {
1628
+ export interface CreateOrgLimitInput {
1411
1629
  clientMutationId?: string;
1412
- /** The `OrgMembershipSetting` to be created by this mutation. */
1413
- orgMembershipSetting: OrgMembershipSettingInput;
1630
+ /** The `OrgLimit` to be created by this mutation. */
1631
+ orgLimit: OrgLimitInput;
1414
1632
  }
1415
- /** An input for mutations affecting `OrgMembershipSetting` */
1416
- export interface OrgMembershipSettingInput {
1633
+ /** An input for mutations affecting `OrgLimit` */
1634
+ export interface OrgLimitInput {
1417
1635
  id?: string;
1418
- createdAt?: string;
1419
- updatedAt?: string;
1420
- createdBy?: string;
1421
- updatedBy?: string;
1422
- /** References the entity these settings apply to */
1636
+ /** Name identifier of the limit being tracked */
1637
+ name?: string;
1638
+ /** User whose usage is being tracked against this limit */
1639
+ actorId: string;
1640
+ /** Current usage count for this actor and limit */
1641
+ num?: string;
1642
+ /** Maximum allowed usage; negative means unlimited. Modified by plans, credits, and achievements. */
1643
+ max?: string;
1644
+ /** Soft limit threshold for warnings; NULL means no soft limit. When num >= soft_max, consumers should warn but still allow until max is reached. */
1645
+ softMax?: string;
1646
+ /** Start of the current metering window; NULL means no time window */
1647
+ windowStart?: string;
1648
+ /** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */
1649
+ windowDuration?: IntervalInput;
1423
1650
  entityId: string;
1424
- /** When a member is deleted, whether to cascade-remove their descendant-entity memberships */
1425
- deleteMemberCascadeChildren?: boolean;
1426
- /** When a child entity is created, whether to auto-add existing org-level owners as child-entity owners */
1427
- createChildCascadeOwners?: boolean;
1428
- /** When a child entity is created, whether to auto-add existing org-level admins as child-entity admins */
1429
- createChildCascadeAdmins?: boolean;
1430
- /** When a child entity is created, whether to auto-add existing org-level members (non-admin, non-owner) as child-entity members */
1431
- createChildCascadeMembers?: boolean;
1432
- /** Whether descendants of this org may admit members who are not already org members (outside-collaborators toggle) */
1433
- allowExternalMembers?: boolean;
1434
- /** Whether member_profiles.email is snapshot on join and kept synced with the user's primary email. When FALSE, the email field is left blank and never synced from the user's primary email. */
1435
- populateMemberEmail?: boolean;
1436
1651
  }
1437
1652
  export interface CreateAppLevelInput {
1438
1653
  clientMutationId?: string;
@@ -1477,11 +1692,44 @@ export interface AppInviteInput {
1477
1692
  multiple?: boolean;
1478
1693
  /** Optional JSON payload of additional invite metadata */
1479
1694
  data?: unknown;
1695
+ /** Optional profile (role) to assign to the member when they claim this invite. Only allowed on email invites. */
1696
+ profileId?: string;
1480
1697
  /** Timestamp after which this invitation can no longer be redeemed */
1481
1698
  expiresAt?: string;
1482
1699
  createdAt?: string;
1483
1700
  updatedAt?: string;
1484
1701
  }
1702
+ export interface CreateOrgMembershipSettingInput {
1703
+ clientMutationId?: string;
1704
+ /** The `OrgMembershipSetting` to be created by this mutation. */
1705
+ orgMembershipSetting: OrgMembershipSettingInput;
1706
+ }
1707
+ /** An input for mutations affecting `OrgMembershipSetting` */
1708
+ export interface OrgMembershipSettingInput {
1709
+ id?: string;
1710
+ createdAt?: string;
1711
+ updatedAt?: string;
1712
+ createdBy?: string;
1713
+ updatedBy?: string;
1714
+ /** References the entity these settings apply to */
1715
+ entityId: string;
1716
+ /** When a member is deleted, whether to cascade-remove their descendant-entity memberships */
1717
+ deleteMemberCascadeChildren?: boolean;
1718
+ /** When a child entity is created, whether to auto-add existing org-level owners as child-entity owners */
1719
+ createChildCascadeOwners?: boolean;
1720
+ /** When a child entity is created, whether to auto-add existing org-level admins as child-entity admins */
1721
+ createChildCascadeAdmins?: boolean;
1722
+ /** When a child entity is created, whether to auto-add existing org-level members (non-admin, non-owner) as child-entity members */
1723
+ createChildCascadeMembers?: boolean;
1724
+ /** Whether descendants of this org may admit members who are not already org members (outside-collaborators toggle) */
1725
+ allowExternalMembers?: boolean;
1726
+ /** Controls how profile assignment on invites is validated: strict (permission + subset check), permission_only (permission only), or subset_only (subset check only) */
1727
+ inviteProfileAssignmentMode?: string;
1728
+ /** Whether member_profiles.email is snapshot on join and kept synced with the user's primary email. When FALSE, the email field is left blank and never synced from the user's primary email. */
1729
+ populateMemberEmail?: boolean;
1730
+ /** Allocation mode for sub-entity limits: pooled (shared parent cap, no per-entity budgets) or budgeted (explicit per-entity allocations, transfer enabled) */
1731
+ limitAllocationMode?: string;
1732
+ }
1485
1733
  export interface CreateOrgInviteInput {
1486
1734
  clientMutationId?: string;
1487
1735
  /** The `OrgInvite` to be created by this mutation. */
@@ -1508,6 +1756,8 @@ export interface OrgInviteInput {
1508
1756
  multiple?: boolean;
1509
1757
  /** Optional JSON payload of additional invite metadata */
1510
1758
  data?: unknown;
1759
+ /** Optional profile (role) to assign to the member when they claim this invite. Only allowed on email invites. */
1760
+ profileId?: string;
1511
1761
  /** Timestamp after which this invitation can no longer be redeemed */
1512
1762
  expiresAt?: string;
1513
1763
  createdAt?: string;
@@ -1536,8 +1786,6 @@ export interface AppMembershipInput {
1536
1786
  isVerified?: boolean;
1537
1787
  /** Computed field indicating the membership is approved, verified, not banned, and not disabled */
1538
1788
  isActive?: boolean;
1539
- /** Whether this member is external (not a member of the parent scope). External members may have restricted permissions. */
1540
- isExternal?: boolean;
1541
1789
  /** Whether the actor is the owner of this entity */
1542
1790
  isOwner?: boolean;
1543
1791
  /** Whether the actor has admin privileges on this entity */
@@ -1630,6 +1878,42 @@ export interface OrgPermissionDefaultPatch {
1630
1878
  /** References the entity these default permissions apply to */
1631
1879
  entityId?: string;
1632
1880
  }
1881
+ export interface UpdateAppPermissionInput {
1882
+ clientMutationId?: string;
1883
+ id: string;
1884
+ /** An object where the defined keys will be set on the `AppPermission` being updated. */
1885
+ appPermissionPatch: AppPermissionPatch;
1886
+ }
1887
+ /** Represents an update to a `AppPermission`. Fields that are set will be updated. */
1888
+ export interface AppPermissionPatch {
1889
+ id?: string;
1890
+ /** Human-readable permission name (e.g. read, write, manage) */
1891
+ name?: string;
1892
+ /** Position of this permission in the bitmask (1-indexed), must be unique per permission set */
1893
+ bitnum?: number;
1894
+ /** Pre-computed bitmask with only this permission bit set, used for bitwise OR/AND operations */
1895
+ bitstr?: string;
1896
+ /** Human-readable description of what this permission allows */
1897
+ description?: string;
1898
+ }
1899
+ export interface UpdateOrgPermissionInput {
1900
+ clientMutationId?: string;
1901
+ id: string;
1902
+ /** An object where the defined keys will be set on the `OrgPermission` being updated. */
1903
+ orgPermissionPatch: OrgPermissionPatch;
1904
+ }
1905
+ /** Represents an update to a `OrgPermission`. Fields that are set will be updated. */
1906
+ export interface OrgPermissionPatch {
1907
+ id?: string;
1908
+ /** Human-readable permission name (e.g. read, write, manage) */
1909
+ name?: string;
1910
+ /** Position of this permission in the bitmask (1-indexed), must be unique per permission set */
1911
+ bitnum?: number;
1912
+ /** Pre-computed bitmask with only this permission bit set, used for bitwise OR/AND operations */
1913
+ bitstr?: string;
1914
+ /** Human-readable description of what this permission allows */
1915
+ description?: string;
1916
+ }
1633
1917
  export interface UpdateAppAdminGrantInput {
1634
1918
  clientMutationId?: string;
1635
1919
  id: string;
@@ -1664,33 +1948,39 @@ export interface AppOwnerGrantPatch {
1664
1948
  createdAt?: string;
1665
1949
  updatedAt?: string;
1666
1950
  }
1667
- export interface UpdateAppLimitDefaultInput {
1951
+ export interface UpdateAppAchievementInput {
1668
1952
  clientMutationId?: string;
1669
1953
  id: string;
1670
- /** An object where the defined keys will be set on the `AppLimitDefault` being updated. */
1671
- appLimitDefaultPatch: AppLimitDefaultPatch;
1954
+ /** An object where the defined keys will be set on the `AppAchievement` being updated. */
1955
+ appAchievementPatch: AppAchievementPatch;
1672
1956
  }
1673
- /** Represents an update to a `AppLimitDefault`. Fields that are set will be updated. */
1674
- export interface AppLimitDefaultPatch {
1957
+ /** Represents an update to a `AppAchievement`. Fields that are set will be updated. */
1958
+ export interface AppAchievementPatch {
1675
1959
  id?: string;
1676
- /** Name identifier of the limit this default applies to */
1960
+ actorId?: string;
1961
+ /** Name identifier of the level requirement being tracked */
1677
1962
  name?: string;
1678
- /** Default maximum usage allowed for this limit */
1679
- max?: number;
1963
+ /** Cumulative count of completed steps toward this requirement */
1964
+ count?: number;
1965
+ createdAt?: string;
1966
+ updatedAt?: string;
1680
1967
  }
1681
- export interface UpdateOrgLimitDefaultInput {
1968
+ export interface UpdateAppStepInput {
1682
1969
  clientMutationId?: string;
1683
1970
  id: string;
1684
- /** An object where the defined keys will be set on the `OrgLimitDefault` being updated. */
1685
- orgLimitDefaultPatch: OrgLimitDefaultPatch;
1971
+ /** An object where the defined keys will be set on the `AppStep` being updated. */
1972
+ appStepPatch: AppStepPatch;
1686
1973
  }
1687
- /** Represents an update to a `OrgLimitDefault`. Fields that are set will be updated. */
1688
- export interface OrgLimitDefaultPatch {
1974
+ /** Represents an update to a `AppStep`. Fields that are set will be updated. */
1975
+ export interface AppStepPatch {
1689
1976
  id?: string;
1690
- /** Name identifier of the limit this default applies to */
1977
+ actorId?: string;
1978
+ /** Name identifier of the level requirement this step fulfills */
1691
1979
  name?: string;
1692
- /** Default maximum usage allowed for this limit */
1693
- max?: number;
1980
+ /** Number of units completed in this step action */
1981
+ count?: number;
1982
+ createdAt?: string;
1983
+ updatedAt?: string;
1694
1984
  }
1695
1985
  export interface UpdateOrgAdminGrantInput {
1696
1986
  clientMutationId?: string;
@@ -1730,109 +2020,79 @@ export interface OrgOwnerGrantPatch {
1730
2020
  createdAt?: string;
1731
2021
  updatedAt?: string;
1732
2022
  }
1733
- export interface UpdateAppPermissionInput {
1734
- clientMutationId?: string;
1735
- id: string;
1736
- /** An object where the defined keys will be set on the `AppPermission` being updated. */
1737
- appPermissionPatch: AppPermissionPatch;
1738
- }
1739
- /** Represents an update to a `AppPermission`. Fields that are set will be updated. */
1740
- export interface AppPermissionPatch {
1741
- id?: string;
1742
- /** Human-readable permission name (e.g. read, write, manage) */
1743
- name?: string;
1744
- /** Position of this permission in the bitmask (1-indexed), must be unique per permission set */
1745
- bitnum?: number;
1746
- /** Pre-computed bitmask with only this permission bit set, used for bitwise OR/AND operations */
1747
- bitstr?: string;
1748
- /** Human-readable description of what this permission allows */
1749
- description?: string;
1750
- }
1751
- export interface UpdateOrgPermissionInput {
2023
+ export interface UpdateMembershipTypeInput {
1752
2024
  clientMutationId?: string;
1753
- id: string;
1754
- /** An object where the defined keys will be set on the `OrgPermission` being updated. */
1755
- orgPermissionPatch: OrgPermissionPatch;
2025
+ /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
2026
+ id: number;
2027
+ /** An object where the defined keys will be set on the `MembershipType` being updated. */
2028
+ membershipTypePatch: MembershipTypePatch;
1756
2029
  }
1757
- /** Represents an update to a `OrgPermission`. Fields that are set will be updated. */
1758
- export interface OrgPermissionPatch {
1759
- id?: string;
1760
- /** Human-readable permission name (e.g. read, write, manage) */
2030
+ /** Represents an update to a `MembershipType`. Fields that are set will be updated. */
2031
+ export interface MembershipTypePatch {
2032
+ /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
2033
+ id?: number;
2034
+ /** Human-readable name of the membership type */
1761
2035
  name?: string;
1762
- /** Position of this permission in the bitmask (1-indexed), must be unique per permission set */
1763
- bitnum?: number;
1764
- /** Pre-computed bitmask with only this permission bit set, used for bitwise OR/AND operations */
1765
- bitstr?: string;
1766
- /** Human-readable description of what this permission allows */
2036
+ /** Description of what this membership type represents */
1767
2037
  description?: string;
2038
+ /** Short prefix used to namespace tables and functions for this membership scope */
2039
+ prefix?: string;
2040
+ /** Parent membership type ID for SPRT cascade chain (e.g. type 2 parent=1, type 3 parent=2) */
2041
+ parentMembershipType?: number;
2042
+ /** When true, entities of this membership type get a one-to-one ID in the users table and a corresponding role_type entry, enabling them to own resources via owner_id FKs */
2043
+ hasUsersTableEntry?: boolean;
1768
2044
  }
1769
- export interface UpdateAppLimitInput {
1770
- clientMutationId?: string;
1771
- id: string;
1772
- /** An object where the defined keys will be set on the `AppLimit` being updated. */
1773
- appLimitPatch: AppLimitPatch;
1774
- }
1775
- /** Represents an update to a `AppLimit`. Fields that are set will be updated. */
1776
- export interface AppLimitPatch {
1777
- id?: string;
1778
- /** Name identifier of the limit being tracked */
1779
- name?: string;
1780
- /** User whose usage is being tracked against this limit */
1781
- actorId?: string;
1782
- /** Current usage count for this actor and limit */
1783
- num?: number;
1784
- /** Maximum allowed usage; NULL means use the default limit value */
1785
- max?: number;
1786
- }
1787
- export interface UpdateAppAchievementInput {
2045
+ export interface UpdateAppLimitDefaultInput {
1788
2046
  clientMutationId?: string;
1789
2047
  id: string;
1790
- /** An object where the defined keys will be set on the `AppAchievement` being updated. */
1791
- appAchievementPatch: AppAchievementPatch;
2048
+ /** An object where the defined keys will be set on the `AppLimitDefault` being updated. */
2049
+ appLimitDefaultPatch: AppLimitDefaultPatch;
1792
2050
  }
1793
- /** Represents an update to a `AppAchievement`. Fields that are set will be updated. */
1794
- export interface AppAchievementPatch {
2051
+ /** Represents an update to a `AppLimitDefault`. Fields that are set will be updated. */
2052
+ export interface AppLimitDefaultPatch {
1795
2053
  id?: string;
1796
- actorId?: string;
1797
- /** Name identifier of the level requirement being tracked */
2054
+ /** Name identifier of the limit this default applies to */
1798
2055
  name?: string;
1799
- /** Cumulative count of completed steps toward this requirement */
1800
- count?: number;
1801
- createdAt?: string;
1802
- updatedAt?: string;
2056
+ /** Default maximum usage allowed for this limit */
2057
+ max?: string;
2058
+ /** Default soft limit threshold for warnings; NULL means no soft limit */
2059
+ softMax?: string;
1803
2060
  }
1804
- export interface UpdateAppStepInput {
2061
+ export interface UpdateOrgLimitDefaultInput {
1805
2062
  clientMutationId?: string;
1806
2063
  id: string;
1807
- /** An object where the defined keys will be set on the `AppStep` being updated. */
1808
- appStepPatch: AppStepPatch;
2064
+ /** An object where the defined keys will be set on the `OrgLimitDefault` being updated. */
2065
+ orgLimitDefaultPatch: OrgLimitDefaultPatch;
1809
2066
  }
1810
- /** Represents an update to a `AppStep`. Fields that are set will be updated. */
1811
- export interface AppStepPatch {
2067
+ /** Represents an update to a `OrgLimitDefault`. Fields that are set will be updated. */
2068
+ export interface OrgLimitDefaultPatch {
1812
2069
  id?: string;
1813
- actorId?: string;
1814
- /** Name identifier of the level requirement this step fulfills */
2070
+ /** Name identifier of the limit this default applies to */
1815
2071
  name?: string;
1816
- /** Number of units completed in this step action */
1817
- count?: number;
1818
- createdAt?: string;
1819
- updatedAt?: string;
2072
+ /** Default maximum usage allowed for this limit */
2073
+ max?: string;
2074
+ /** Default soft limit threshold for warnings; NULL means no soft limit */
2075
+ softMax?: string;
1820
2076
  }
1821
- export interface UpdateAppClaimedInviteInput {
2077
+ export interface UpdateAppLevelRequirementInput {
1822
2078
  clientMutationId?: string;
1823
2079
  id: string;
1824
- /** An object where the defined keys will be set on the `AppClaimedInvite` being updated. */
1825
- appClaimedInvitePatch: AppClaimedInvitePatch;
2080
+ /** An object where the defined keys will be set on the `AppLevelRequirement` being updated. */
2081
+ appLevelRequirementPatch: AppLevelRequirementPatch;
1826
2082
  }
1827
- /** Represents an update to a `AppClaimedInvite`. Fields that are set will be updated. */
1828
- export interface AppClaimedInvitePatch {
2083
+ /** Represents an update to a `AppLevelRequirement`. Fields that are set will be updated. */
2084
+ export interface AppLevelRequirementPatch {
1829
2085
  id?: string;
1830
- /** Optional JSON payload captured at the time the invite was claimed */
1831
- data?: unknown;
1832
- /** User ID of the original invitation sender */
1833
- senderId?: string;
1834
- /** User ID of the person who claimed and redeemed the invitation */
1835
- receiverId?: string;
2086
+ /** Name identifier of the requirement (matches step names) */
2087
+ name?: string;
2088
+ /** Name of the level this requirement belongs to */
2089
+ level?: string;
2090
+ /** Human-readable description of what this requirement entails */
2091
+ description?: string;
2092
+ /** Number of steps needed to satisfy this requirement */
2093
+ requiredCount?: number;
2094
+ /** Display ordering priority; lower values appear first */
2095
+ priority?: number;
1836
2096
  createdAt?: string;
1837
2097
  updatedAt?: string;
1838
2098
  }
@@ -1862,46 +2122,23 @@ export interface OrgChartEdgeGrantPatch {
1862
2122
  /** Timestamp when this grant or revocation was recorded */
1863
2123
  createdAt?: string;
1864
2124
  }
1865
- export interface UpdateOrgLimitInput {
2125
+ export interface UpdateAppClaimedInviteInput {
1866
2126
  clientMutationId?: string;
1867
2127
  id: string;
1868
- /** An object where the defined keys will be set on the `OrgLimit` being updated. */
1869
- orgLimitPatch: OrgLimitPatch;
2128
+ /** An object where the defined keys will be set on the `AppClaimedInvite` being updated. */
2129
+ appClaimedInvitePatch: AppClaimedInvitePatch;
1870
2130
  }
1871
- /** Represents an update to a `OrgLimit`. Fields that are set will be updated. */
1872
- export interface OrgLimitPatch {
2131
+ /** Represents an update to a `AppClaimedInvite`. Fields that are set will be updated. */
2132
+ export interface AppClaimedInvitePatch {
1873
2133
  id?: string;
1874
- /** Name identifier of the limit being tracked */
1875
- name?: string;
1876
- /** User whose usage is being tracked against this limit */
1877
- actorId?: string;
1878
- /** Current usage count for this actor and limit */
1879
- num?: number;
1880
- /** Maximum allowed usage; NULL means use the default limit value */
1881
- max?: number;
1882
- entityId?: string;
1883
- }
1884
- export interface UpdateMembershipTypeInput {
1885
- clientMutationId?: string;
1886
- /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
1887
- id: number;
1888
- /** An object where the defined keys will be set on the `MembershipType` being updated. */
1889
- membershipTypePatch: MembershipTypePatch;
1890
- }
1891
- /** Represents an update to a `MembershipType`. Fields that are set will be updated. */
1892
- export interface MembershipTypePatch {
1893
- /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
1894
- id?: number;
1895
- /** Human-readable name of the membership type */
1896
- name?: string;
1897
- /** Description of what this membership type represents */
1898
- description?: string;
1899
- /** Short prefix used to namespace tables and functions for this membership scope */
1900
- prefix?: string;
1901
- /** Parent membership type ID for SPRT cascade chain (e.g. type 2 parent=1, type 3 parent=2) */
1902
- parentMembershipType?: number;
1903
- /** When true, entities of this membership type get a one-to-one ID in the users table and a corresponding role_type entry, enabling them to own resources via owner_id FKs */
1904
- hasUsersTableEntry?: boolean;
2134
+ /** Optional JSON payload captured at the time the invite was claimed */
2135
+ data?: unknown;
2136
+ /** User ID of the original invitation sender */
2137
+ senderId?: string;
2138
+ /** User ID of the person who claimed and redeemed the invitation */
2139
+ receiverId?: string;
2140
+ createdAt?: string;
2141
+ updatedAt?: string;
1905
2142
  }
1906
2143
  export interface UpdateAppGrantInput {
1907
2144
  clientMutationId?: string;
@@ -2020,27 +2257,53 @@ export interface OrgChartEdgePatch {
2020
2257
  /** Numeric seniority level for this position (higher = more senior) */
2021
2258
  positionLevel?: number;
2022
2259
  }
2023
- export interface UpdateAppLevelRequirementInput {
2260
+ export interface UpdateAppLimitInput {
2024
2261
  clientMutationId?: string;
2025
2262
  id: string;
2026
- /** An object where the defined keys will be set on the `AppLevelRequirement` being updated. */
2027
- appLevelRequirementPatch: AppLevelRequirementPatch;
2263
+ /** An object where the defined keys will be set on the `AppLimit` being updated. */
2264
+ appLimitPatch: AppLimitPatch;
2028
2265
  }
2029
- /** Represents an update to a `AppLevelRequirement`. Fields that are set will be updated. */
2030
- export interface AppLevelRequirementPatch {
2266
+ /** Represents an update to a `AppLimit`. Fields that are set will be updated. */
2267
+ export interface AppLimitPatch {
2031
2268
  id?: string;
2032
- /** Name identifier of the requirement (matches step names) */
2269
+ /** Name identifier of the limit being tracked */
2033
2270
  name?: string;
2034
- /** Name of the level this requirement belongs to */
2035
- level?: string;
2036
- /** Human-readable description of what this requirement entails */
2037
- description?: string;
2038
- /** Number of steps needed to satisfy this requirement */
2039
- requiredCount?: number;
2040
- /** Display ordering priority; lower values appear first */
2041
- priority?: number;
2042
- createdAt?: string;
2043
- updatedAt?: string;
2271
+ /** User whose usage is being tracked against this limit */
2272
+ actorId?: string;
2273
+ /** Current usage count for this actor and limit */
2274
+ num?: string;
2275
+ /** Maximum allowed usage; negative means unlimited. Modified by plans, credits, and achievements. */
2276
+ max?: string;
2277
+ /** Soft limit threshold for warnings; NULL means no soft limit. When num >= soft_max, consumers should warn but still allow until max is reached. */
2278
+ softMax?: string;
2279
+ /** Start of the current metering window; NULL means no time window */
2280
+ windowStart?: string;
2281
+ /** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */
2282
+ windowDuration?: IntervalInput;
2283
+ }
2284
+ export interface UpdateOrgLimitAggregateInput {
2285
+ clientMutationId?: string;
2286
+ id: string;
2287
+ /** An object where the defined keys will be set on the `OrgLimitAggregate` being updated. */
2288
+ orgLimitAggregatePatch: OrgLimitAggregatePatch;
2289
+ }
2290
+ /** Represents an update to a `OrgLimitAggregate`. Fields that are set will be updated. */
2291
+ export interface OrgLimitAggregatePatch {
2292
+ id?: string;
2293
+ /** Name identifier of the aggregate limit being tracked */
2294
+ name?: string;
2295
+ /** Entity (org) whose aggregate usage is being tracked */
2296
+ entityId?: string;
2297
+ /** Current aggregate usage count for this entity and limit */
2298
+ num?: string;
2299
+ /** Maximum allowed aggregate usage; negative means unlimited */
2300
+ max?: string;
2301
+ /** Soft limit threshold for warnings; NULL means no soft limit */
2302
+ softMax?: string;
2303
+ /** Start of the current metering window; NULL means no time window */
2304
+ windowStart?: string;
2305
+ /** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */
2306
+ windowDuration?: IntervalInput;
2044
2307
  }
2045
2308
  export interface UpdateOrgMemberProfileInput {
2046
2309
  clientMutationId?: string;
@@ -2072,33 +2335,30 @@ export interface OrgMemberProfilePatch {
2072
2335
  /** Upload for Profile picture visible to other entity members */
2073
2336
  profilePictureUpload?: File;
2074
2337
  }
2075
- export interface UpdateOrgMembershipSettingInput {
2338
+ export interface UpdateOrgLimitInput {
2076
2339
  clientMutationId?: string;
2077
2340
  id: string;
2078
- /** An object where the defined keys will be set on the `OrgMembershipSetting` being updated. */
2079
- orgMembershipSettingPatch: OrgMembershipSettingPatch;
2341
+ /** An object where the defined keys will be set on the `OrgLimit` being updated. */
2342
+ orgLimitPatch: OrgLimitPatch;
2080
2343
  }
2081
- /** Represents an update to a `OrgMembershipSetting`. Fields that are set will be updated. */
2082
- export interface OrgMembershipSettingPatch {
2344
+ /** Represents an update to a `OrgLimit`. Fields that are set will be updated. */
2345
+ export interface OrgLimitPatch {
2083
2346
  id?: string;
2084
- createdAt?: string;
2085
- updatedAt?: string;
2086
- createdBy?: string;
2087
- updatedBy?: string;
2088
- /** References the entity these settings apply to */
2347
+ /** Name identifier of the limit being tracked */
2348
+ name?: string;
2349
+ /** User whose usage is being tracked against this limit */
2350
+ actorId?: string;
2351
+ /** Current usage count for this actor and limit */
2352
+ num?: string;
2353
+ /** Maximum allowed usage; negative means unlimited. Modified by plans, credits, and achievements. */
2354
+ max?: string;
2355
+ /** Soft limit threshold for warnings; NULL means no soft limit. When num >= soft_max, consumers should warn but still allow until max is reached. */
2356
+ softMax?: string;
2357
+ /** Start of the current metering window; NULL means no time window */
2358
+ windowStart?: string;
2359
+ /** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */
2360
+ windowDuration?: IntervalInput;
2089
2361
  entityId?: string;
2090
- /** When a member is deleted, whether to cascade-remove their descendant-entity memberships */
2091
- deleteMemberCascadeChildren?: boolean;
2092
- /** When a child entity is created, whether to auto-add existing org-level owners as child-entity owners */
2093
- createChildCascadeOwners?: boolean;
2094
- /** When a child entity is created, whether to auto-add existing org-level admins as child-entity admins */
2095
- createChildCascadeAdmins?: boolean;
2096
- /** When a child entity is created, whether to auto-add existing org-level members (non-admin, non-owner) as child-entity members */
2097
- createChildCascadeMembers?: boolean;
2098
- /** Whether descendants of this org may admit members who are not already org members (outside-collaborators toggle) */
2099
- allowExternalMembers?: boolean;
2100
- /** Whether member_profiles.email is snapshot on join and kept synced with the user's primary email. When FALSE, the email field is left blank and never synced from the user's primary email. */
2101
- populateMemberEmail?: boolean;
2102
2362
  }
2103
2363
  export interface UpdateAppLevelInput {
2104
2364
  clientMutationId?: string;
@@ -2147,11 +2407,45 @@ export interface AppInvitePatch {
2147
2407
  multiple?: boolean;
2148
2408
  /** Optional JSON payload of additional invite metadata */
2149
2409
  data?: unknown;
2410
+ /** Optional profile (role) to assign to the member when they claim this invite. Only allowed on email invites. */
2411
+ profileId?: string;
2150
2412
  /** Timestamp after which this invitation can no longer be redeemed */
2151
2413
  expiresAt?: string;
2152
2414
  createdAt?: string;
2153
2415
  updatedAt?: string;
2154
2416
  }
2417
+ export interface UpdateOrgMembershipSettingInput {
2418
+ clientMutationId?: string;
2419
+ id: string;
2420
+ /** An object where the defined keys will be set on the `OrgMembershipSetting` being updated. */
2421
+ orgMembershipSettingPatch: OrgMembershipSettingPatch;
2422
+ }
2423
+ /** Represents an update to a `OrgMembershipSetting`. Fields that are set will be updated. */
2424
+ export interface OrgMembershipSettingPatch {
2425
+ id?: string;
2426
+ createdAt?: string;
2427
+ updatedAt?: string;
2428
+ createdBy?: string;
2429
+ updatedBy?: string;
2430
+ /** References the entity these settings apply to */
2431
+ entityId?: string;
2432
+ /** When a member is deleted, whether to cascade-remove their descendant-entity memberships */
2433
+ deleteMemberCascadeChildren?: boolean;
2434
+ /** When a child entity is created, whether to auto-add existing org-level owners as child-entity owners */
2435
+ createChildCascadeOwners?: boolean;
2436
+ /** When a child entity is created, whether to auto-add existing org-level admins as child-entity admins */
2437
+ createChildCascadeAdmins?: boolean;
2438
+ /** When a child entity is created, whether to auto-add existing org-level members (non-admin, non-owner) as child-entity members */
2439
+ createChildCascadeMembers?: boolean;
2440
+ /** Whether descendants of this org may admit members who are not already org members (outside-collaborators toggle) */
2441
+ allowExternalMembers?: boolean;
2442
+ /** Controls how profile assignment on invites is validated: strict (permission + subset check), permission_only (permission only), or subset_only (subset check only) */
2443
+ inviteProfileAssignmentMode?: string;
2444
+ /** Whether member_profiles.email is snapshot on join and kept synced with the user's primary email. When FALSE, the email field is left blank and never synced from the user's primary email. */
2445
+ populateMemberEmail?: boolean;
2446
+ /** Allocation mode for sub-entity limits: pooled (shared parent cap, no per-entity budgets) or budgeted (explicit per-entity allocations, transfer enabled) */
2447
+ limitAllocationMode?: string;
2448
+ }
2155
2449
  export interface UpdateOrgInviteInput {
2156
2450
  clientMutationId?: string;
2157
2451
  id: string;
@@ -2179,6 +2473,8 @@ export interface OrgInvitePatch {
2179
2473
  multiple?: boolean;
2180
2474
  /** Optional JSON payload of additional invite metadata */
2181
2475
  data?: unknown;
2476
+ /** Optional profile (role) to assign to the member when they claim this invite. Only allowed on email invites. */
2477
+ profileId?: string;
2182
2478
  /** Timestamp after which this invitation can no longer be redeemed */
2183
2479
  expiresAt?: string;
2184
2480
  createdAt?: string;
@@ -2208,8 +2504,6 @@ export interface AppMembershipPatch {
2208
2504
  isVerified?: boolean;
2209
2505
  /** Computed field indicating the membership is approved, verified, not banned, and not disabled */
2210
2506
  isActive?: boolean;
2211
- /** Whether this member is external (not a member of the parent scope). External members may have restricted permissions. */
2212
- isExternal?: boolean;
2213
2507
  /** Whether the actor is the owner of this entity */
2214
2508
  isOwner?: boolean;
2215
2509
  /** Whether the actor has admin privileges on this entity */
@@ -2273,51 +2567,52 @@ export interface DeleteOrgPermissionDefaultInput {
2273
2567
  clientMutationId?: string;
2274
2568
  id: string;
2275
2569
  }
2276
- export interface DeleteAppAdminGrantInput {
2570
+ export interface DeleteAppPermissionInput {
2277
2571
  clientMutationId?: string;
2278
2572
  id: string;
2279
2573
  }
2280
- export interface DeleteAppOwnerGrantInput {
2574
+ export interface DeleteOrgPermissionInput {
2281
2575
  clientMutationId?: string;
2282
2576
  id: string;
2283
2577
  }
2284
- export interface DeleteAppLimitDefaultInput {
2578
+ export interface DeleteAppAdminGrantInput {
2285
2579
  clientMutationId?: string;
2286
2580
  id: string;
2287
2581
  }
2288
- export interface DeleteOrgLimitDefaultInput {
2582
+ export interface DeleteAppOwnerGrantInput {
2289
2583
  clientMutationId?: string;
2290
2584
  id: string;
2291
2585
  }
2292
- export interface DeleteOrgAdminGrantInput {
2586
+ export interface DeleteAppAchievementInput {
2293
2587
  clientMutationId?: string;
2294
2588
  id: string;
2295
2589
  }
2296
- export interface DeleteOrgOwnerGrantInput {
2590
+ export interface DeleteAppStepInput {
2297
2591
  clientMutationId?: string;
2298
2592
  id: string;
2299
2593
  }
2300
- export interface DeleteAppPermissionInput {
2594
+ export interface DeleteOrgAdminGrantInput {
2301
2595
  clientMutationId?: string;
2302
2596
  id: string;
2303
2597
  }
2304
- export interface DeleteOrgPermissionInput {
2598
+ export interface DeleteOrgOwnerGrantInput {
2305
2599
  clientMutationId?: string;
2306
2600
  id: string;
2307
2601
  }
2308
- export interface DeleteAppLimitInput {
2602
+ export interface DeleteMembershipTypeInput {
2309
2603
  clientMutationId?: string;
2310
- id: string;
2604
+ /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
2605
+ id: number;
2311
2606
  }
2312
- export interface DeleteAppAchievementInput {
2607
+ export interface DeleteAppLimitDefaultInput {
2313
2608
  clientMutationId?: string;
2314
2609
  id: string;
2315
2610
  }
2316
- export interface DeleteAppStepInput {
2611
+ export interface DeleteOrgLimitDefaultInput {
2317
2612
  clientMutationId?: string;
2318
2613
  id: string;
2319
2614
  }
2320
- export interface DeleteAppClaimedInviteInput {
2615
+ export interface DeleteAppLevelRequirementInput {
2321
2616
  clientMutationId?: string;
2322
2617
  id: string;
2323
2618
  }
@@ -2325,15 +2620,10 @@ export interface DeleteOrgChartEdgeGrantInput {
2325
2620
  clientMutationId?: string;
2326
2621
  id: string;
2327
2622
  }
2328
- export interface DeleteOrgLimitInput {
2623
+ export interface DeleteAppClaimedInviteInput {
2329
2624
  clientMutationId?: string;
2330
2625
  id: string;
2331
2626
  }
2332
- export interface DeleteMembershipTypeInput {
2333
- clientMutationId?: string;
2334
- /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
2335
- id: number;
2336
- }
2337
2627
  export interface DeleteAppGrantInput {
2338
2628
  clientMutationId?: string;
2339
2629
  id: string;
@@ -2358,7 +2648,11 @@ export interface DeleteOrgChartEdgeInput {
2358
2648
  clientMutationId?: string;
2359
2649
  id: string;
2360
2650
  }
2361
- export interface DeleteAppLevelRequirementInput {
2651
+ export interface DeleteAppLimitInput {
2652
+ clientMutationId?: string;
2653
+ id: string;
2654
+ }
2655
+ export interface DeleteOrgLimitAggregateInput {
2362
2656
  clientMutationId?: string;
2363
2657
  id: string;
2364
2658
  }
@@ -2366,7 +2660,7 @@ export interface DeleteOrgMemberProfileInput {
2366
2660
  clientMutationId?: string;
2367
2661
  id: string;
2368
2662
  }
2369
- export interface DeleteOrgMembershipSettingInput {
2663
+ export interface DeleteOrgLimitInput {
2370
2664
  clientMutationId?: string;
2371
2665
  id: string;
2372
2666
  }
@@ -2378,6 +2672,10 @@ export interface DeleteAppInviteInput {
2378
2672
  clientMutationId?: string;
2379
2673
  id: string;
2380
2674
  }
2675
+ export interface DeleteOrgMembershipSettingInput {
2676
+ clientMutationId?: string;
2677
+ id: string;
2678
+ }
2381
2679
  export interface DeleteOrgInviteInput {
2382
2680
  clientMutationId?: string;
2383
2681
  id: string;
@@ -2409,10 +2707,6 @@ export interface RequestUploadUrlInput {
2409
2707
  /** Original filename (optional, for display and Content-Disposition) */
2410
2708
  filename?: string;
2411
2709
  }
2412
- export interface ConfirmUploadInput {
2413
- /** The file ID returned by requestUploadUrl */
2414
- fileId: string;
2415
- }
2416
2710
  export interface ProvisionBucketInput {
2417
2711
  /** The logical bucket key (e.g., "public", "private") */
2418
2712
  bucketKey: string;
@@ -2492,17 +2786,17 @@ export interface AppOwnerGrantConnection {
2492
2786
  pageInfo: PageInfo;
2493
2787
  totalCount: number;
2494
2788
  }
2495
- /** A connection to a list of `AppLimitDefault` values. */
2496
- export interface AppLimitDefaultConnection {
2497
- nodes: AppLimitDefault[];
2498
- edges: AppLimitDefaultEdge[];
2789
+ /** A connection to a list of `AppAchievement` values. */
2790
+ export interface AppAchievementConnection {
2791
+ nodes: AppAchievement[];
2792
+ edges: AppAchievementEdge[];
2499
2793
  pageInfo: PageInfo;
2500
2794
  totalCount: number;
2501
2795
  }
2502
- /** A connection to a list of `OrgLimitDefault` values. */
2503
- export interface OrgLimitDefaultConnection {
2504
- nodes: OrgLimitDefault[];
2505
- edges: OrgLimitDefaultEdge[];
2796
+ /** A connection to a list of `AppStep` values. */
2797
+ export interface AppStepConnection {
2798
+ nodes: AppStep[];
2799
+ edges: AppStepEdge[];
2506
2800
  pageInfo: PageInfo;
2507
2801
  totalCount: number;
2508
2802
  }
@@ -2520,31 +2814,24 @@ export interface OrgOwnerGrantConnection {
2520
2814
  pageInfo: PageInfo;
2521
2815
  totalCount: number;
2522
2816
  }
2523
- /** A connection to a list of `AppLimit` values. */
2524
- export interface AppLimitConnection {
2525
- nodes: AppLimit[];
2526
- edges: AppLimitEdge[];
2527
- pageInfo: PageInfo;
2528
- totalCount: number;
2529
- }
2530
- /** A connection to a list of `AppAchievement` values. */
2531
- export interface AppAchievementConnection {
2532
- nodes: AppAchievement[];
2533
- edges: AppAchievementEdge[];
2817
+ /** A connection to a list of `MembershipType` values. */
2818
+ export interface MembershipTypeConnection {
2819
+ nodes: MembershipType[];
2820
+ edges: MembershipTypeEdge[];
2534
2821
  pageInfo: PageInfo;
2535
2822
  totalCount: number;
2536
2823
  }
2537
- /** A connection to a list of `AppStep` values. */
2538
- export interface AppStepConnection {
2539
- nodes: AppStep[];
2540
- edges: AppStepEdge[];
2824
+ /** A connection to a list of `AppLimitDefault` values. */
2825
+ export interface AppLimitDefaultConnection {
2826
+ nodes: AppLimitDefault[];
2827
+ edges: AppLimitDefaultEdge[];
2541
2828
  pageInfo: PageInfo;
2542
2829
  totalCount: number;
2543
2830
  }
2544
- /** A connection to a list of `AppClaimedInvite` values. */
2545
- export interface AppClaimedInviteConnection {
2546
- nodes: AppClaimedInvite[];
2547
- edges: AppClaimedInviteEdge[];
2831
+ /** A connection to a list of `OrgLimitDefault` values. */
2832
+ export interface OrgLimitDefaultConnection {
2833
+ nodes: OrgLimitDefault[];
2834
+ edges: OrgLimitDefaultEdge[];
2548
2835
  pageInfo: PageInfo;
2549
2836
  totalCount: number;
2550
2837
  }
@@ -2555,17 +2842,10 @@ export interface OrgChartEdgeGrantConnection {
2555
2842
  pageInfo: PageInfo;
2556
2843
  totalCount: number;
2557
2844
  }
2558
- /** A connection to a list of `OrgLimit` values. */
2559
- export interface OrgLimitConnection {
2560
- nodes: OrgLimit[];
2561
- edges: OrgLimitEdge[];
2562
- pageInfo: PageInfo;
2563
- totalCount: number;
2564
- }
2565
- /** A connection to a list of `MembershipType` values. */
2566
- export interface MembershipTypeConnection {
2567
- nodes: MembershipType[];
2568
- edges: MembershipTypeEdge[];
2845
+ /** A connection to a list of `AppClaimedInvite` values. */
2846
+ export interface AppClaimedInviteConnection {
2847
+ nodes: AppClaimedInvite[];
2848
+ edges: AppClaimedInviteEdge[];
2569
2849
  pageInfo: PageInfo;
2570
2850
  totalCount: number;
2571
2851
  }
@@ -2597,6 +2877,20 @@ export interface OrgClaimedInviteConnection {
2597
2877
  pageInfo: PageInfo;
2598
2878
  totalCount: number;
2599
2879
  }
2880
+ /** A connection to a list of `AppLimitEvent` values. */
2881
+ export interface AppLimitEventConnection {
2882
+ nodes: AppLimitEvent[];
2883
+ edges: AppLimitEventEdge[];
2884
+ pageInfo: PageInfo;
2885
+ totalCount: number;
2886
+ }
2887
+ /** A connection to a list of `OrgLimitEvent` values. */
2888
+ export interface OrgLimitEventConnection {
2889
+ nodes: OrgLimitEvent[];
2890
+ edges: OrgLimitEventEdge[];
2891
+ pageInfo: PageInfo;
2892
+ totalCount: number;
2893
+ }
2600
2894
  /** A connection to a list of `OrgGrant` values. */
2601
2895
  export interface OrgGrantConnection {
2602
2896
  nodes: OrgGrant[];
@@ -2611,6 +2905,20 @@ export interface OrgChartEdgeConnection {
2611
2905
  pageInfo: PageInfo;
2612
2906
  totalCount: number;
2613
2907
  }
2908
+ /** A connection to a list of `AppLimit` values. */
2909
+ export interface AppLimitConnection {
2910
+ nodes: AppLimit[];
2911
+ edges: AppLimitEdge[];
2912
+ pageInfo: PageInfo;
2913
+ totalCount: number;
2914
+ }
2915
+ /** A connection to a list of `OrgLimitAggregate` values. */
2916
+ export interface OrgLimitAggregateConnection {
2917
+ nodes: OrgLimitAggregate[];
2918
+ edges: OrgLimitAggregateEdge[];
2919
+ pageInfo: PageInfo;
2920
+ totalCount: number;
2921
+ }
2614
2922
  /** A connection to a list of `OrgMemberProfile` values. */
2615
2923
  export interface OrgMemberProfileConnection {
2616
2924
  nodes: OrgMemberProfile[];
@@ -2618,10 +2926,10 @@ export interface OrgMemberProfileConnection {
2618
2926
  pageInfo: PageInfo;
2619
2927
  totalCount: number;
2620
2928
  }
2621
- /** A connection to a list of `OrgMembershipSetting` values. */
2622
- export interface OrgMembershipSettingConnection {
2623
- nodes: OrgMembershipSetting[];
2624
- edges: OrgMembershipSettingEdge[];
2929
+ /** A connection to a list of `OrgLimit` values. */
2930
+ export interface OrgLimitConnection {
2931
+ nodes: OrgLimit[];
2932
+ edges: OrgLimitEdge[];
2625
2933
  pageInfo: PageInfo;
2626
2934
  totalCount: number;
2627
2935
  }
@@ -2639,6 +2947,13 @@ export interface AppInviteConnection {
2639
2947
  pageInfo: PageInfo;
2640
2948
  totalCount: number;
2641
2949
  }
2950
+ /** A connection to a list of `OrgMembershipSetting` values. */
2951
+ export interface OrgMembershipSettingConnection {
2952
+ nodes: OrgMembershipSetting[];
2953
+ edges: OrgMembershipSettingEdge[];
2954
+ pageInfo: PageInfo;
2955
+ totalCount: number;
2956
+ }
2642
2957
  /** A connection to a list of `OrgInvite` values. */
2643
2958
  export interface OrgInviteConnection {
2644
2959
  nodes: OrgInvite[];
@@ -2690,6 +3005,18 @@ export interface CreateOrgPermissionDefaultPayload {
2690
3005
  orgPermissionDefault?: OrgPermissionDefault | null;
2691
3006
  orgPermissionDefaultEdge?: OrgPermissionDefaultEdge | null;
2692
3007
  }
3008
+ export interface CreateAppPermissionPayload {
3009
+ clientMutationId?: string | null;
3010
+ /** The `AppPermission` that was created by this mutation. */
3011
+ appPermission?: AppPermission | null;
3012
+ appPermissionEdge?: AppPermissionEdge | null;
3013
+ }
3014
+ export interface CreateOrgPermissionPayload {
3015
+ clientMutationId?: string | null;
3016
+ /** The `OrgPermission` that was created by this mutation. */
3017
+ orgPermission?: OrgPermission | null;
3018
+ orgPermissionEdge?: OrgPermissionEdge | null;
3019
+ }
2693
3020
  export interface CreateAppAdminGrantPayload {
2694
3021
  clientMutationId?: string | null;
2695
3022
  /** The `AppAdminGrant` that was created by this mutation. */
@@ -2702,17 +3029,17 @@ export interface CreateAppOwnerGrantPayload {
2702
3029
  appOwnerGrant?: AppOwnerGrant | null;
2703
3030
  appOwnerGrantEdge?: AppOwnerGrantEdge | null;
2704
3031
  }
2705
- export interface CreateAppLimitDefaultPayload {
3032
+ export interface CreateAppAchievementPayload {
2706
3033
  clientMutationId?: string | null;
2707
- /** The `AppLimitDefault` that was created by this mutation. */
2708
- appLimitDefault?: AppLimitDefault | null;
2709
- appLimitDefaultEdge?: AppLimitDefaultEdge | null;
3034
+ /** The `AppAchievement` that was created by this mutation. */
3035
+ appAchievement?: AppAchievement | null;
3036
+ appAchievementEdge?: AppAchievementEdge | null;
2710
3037
  }
2711
- export interface CreateOrgLimitDefaultPayload {
3038
+ export interface CreateAppStepPayload {
2712
3039
  clientMutationId?: string | null;
2713
- /** The `OrgLimitDefault` that was created by this mutation. */
2714
- orgLimitDefault?: OrgLimitDefault | null;
2715
- orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
3040
+ /** The `AppStep` that was created by this mutation. */
3041
+ appStep?: AppStep | null;
3042
+ appStepEdge?: AppStepEdge | null;
2716
3043
  }
2717
3044
  export interface CreateOrgAdminGrantPayload {
2718
3045
  clientMutationId?: string | null;
@@ -2726,41 +3053,29 @@ export interface CreateOrgOwnerGrantPayload {
2726
3053
  orgOwnerGrant?: OrgOwnerGrant | null;
2727
3054
  orgOwnerGrantEdge?: OrgOwnerGrantEdge | null;
2728
3055
  }
2729
- export interface CreateAppPermissionPayload {
2730
- clientMutationId?: string | null;
2731
- /** The `AppPermission` that was created by this mutation. */
2732
- appPermission?: AppPermission | null;
2733
- appPermissionEdge?: AppPermissionEdge | null;
2734
- }
2735
- export interface CreateOrgPermissionPayload {
2736
- clientMutationId?: string | null;
2737
- /** The `OrgPermission` that was created by this mutation. */
2738
- orgPermission?: OrgPermission | null;
2739
- orgPermissionEdge?: OrgPermissionEdge | null;
2740
- }
2741
- export interface CreateAppLimitPayload {
3056
+ export interface CreateMembershipTypePayload {
2742
3057
  clientMutationId?: string | null;
2743
- /** The `AppLimit` that was created by this mutation. */
2744
- appLimit?: AppLimit | null;
2745
- appLimitEdge?: AppLimitEdge | null;
3058
+ /** The `MembershipType` that was created by this mutation. */
3059
+ membershipType?: MembershipType | null;
3060
+ membershipTypeEdge?: MembershipTypeEdge | null;
2746
3061
  }
2747
- export interface CreateAppAchievementPayload {
3062
+ export interface CreateAppLimitDefaultPayload {
2748
3063
  clientMutationId?: string | null;
2749
- /** The `AppAchievement` that was created by this mutation. */
2750
- appAchievement?: AppAchievement | null;
2751
- appAchievementEdge?: AppAchievementEdge | null;
3064
+ /** The `AppLimitDefault` that was created by this mutation. */
3065
+ appLimitDefault?: AppLimitDefault | null;
3066
+ appLimitDefaultEdge?: AppLimitDefaultEdge | null;
2752
3067
  }
2753
- export interface CreateAppStepPayload {
3068
+ export interface CreateOrgLimitDefaultPayload {
2754
3069
  clientMutationId?: string | null;
2755
- /** The `AppStep` that was created by this mutation. */
2756
- appStep?: AppStep | null;
2757
- appStepEdge?: AppStepEdge | null;
3070
+ /** The `OrgLimitDefault` that was created by this mutation. */
3071
+ orgLimitDefault?: OrgLimitDefault | null;
3072
+ orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
2758
3073
  }
2759
- export interface CreateAppClaimedInvitePayload {
3074
+ export interface CreateAppLevelRequirementPayload {
2760
3075
  clientMutationId?: string | null;
2761
- /** The `AppClaimedInvite` that was created by this mutation. */
2762
- appClaimedInvite?: AppClaimedInvite | null;
2763
- appClaimedInviteEdge?: AppClaimedInviteEdge | null;
3076
+ /** The `AppLevelRequirement` that was created by this mutation. */
3077
+ appLevelRequirement?: AppLevelRequirement | null;
3078
+ appLevelRequirementEdge?: AppLevelRequirementEdge | null;
2764
3079
  }
2765
3080
  export interface CreateOrgChartEdgeGrantPayload {
2766
3081
  clientMutationId?: string | null;
@@ -2768,17 +3083,11 @@ export interface CreateOrgChartEdgeGrantPayload {
2768
3083
  orgChartEdgeGrant?: OrgChartEdgeGrant | null;
2769
3084
  orgChartEdgeGrantEdge?: OrgChartEdgeGrantEdge | null;
2770
3085
  }
2771
- export interface CreateOrgLimitPayload {
2772
- clientMutationId?: string | null;
2773
- /** The `OrgLimit` that was created by this mutation. */
2774
- orgLimit?: OrgLimit | null;
2775
- orgLimitEdge?: OrgLimitEdge | null;
2776
- }
2777
- export interface CreateMembershipTypePayload {
3086
+ export interface CreateAppClaimedInvitePayload {
2778
3087
  clientMutationId?: string | null;
2779
- /** The `MembershipType` that was created by this mutation. */
2780
- membershipType?: MembershipType | null;
2781
- membershipTypeEdge?: MembershipTypeEdge | null;
3088
+ /** The `AppClaimedInvite` that was created by this mutation. */
3089
+ appClaimedInvite?: AppClaimedInvite | null;
3090
+ appClaimedInviteEdge?: AppClaimedInviteEdge | null;
2782
3091
  }
2783
3092
  export interface CreateAppGrantPayload {
2784
3093
  clientMutationId?: string | null;
@@ -2804,6 +3113,16 @@ export interface CreateOrgClaimedInvitePayload {
2804
3113
  orgClaimedInvite?: OrgClaimedInvite | null;
2805
3114
  orgClaimedInviteEdge?: OrgClaimedInviteEdge | null;
2806
3115
  }
3116
+ export interface CreateAppLimitEventPayload {
3117
+ clientMutationId?: string | null;
3118
+ /** The `AppLimitEvent` that was created by this mutation. */
3119
+ appLimitEvent?: AppLimitEvent | null;
3120
+ }
3121
+ export interface CreateOrgLimitEventPayload {
3122
+ clientMutationId?: string | null;
3123
+ /** The `OrgLimitEvent` that was created by this mutation. */
3124
+ orgLimitEvent?: OrgLimitEvent | null;
3125
+ }
2807
3126
  export interface CreateOrgGrantPayload {
2808
3127
  clientMutationId?: string | null;
2809
3128
  /** The `OrgGrant` that was created by this mutation. */
@@ -2816,11 +3135,17 @@ export interface CreateOrgChartEdgePayload {
2816
3135
  orgChartEdge?: OrgChartEdge | null;
2817
3136
  orgChartEdgeEdge?: OrgChartEdgeEdge | null;
2818
3137
  }
2819
- export interface CreateAppLevelRequirementPayload {
3138
+ export interface CreateAppLimitPayload {
2820
3139
  clientMutationId?: string | null;
2821
- /** The `AppLevelRequirement` that was created by this mutation. */
2822
- appLevelRequirement?: AppLevelRequirement | null;
2823
- appLevelRequirementEdge?: AppLevelRequirementEdge | null;
3140
+ /** The `AppLimit` that was created by this mutation. */
3141
+ appLimit?: AppLimit | null;
3142
+ appLimitEdge?: AppLimitEdge | null;
3143
+ }
3144
+ export interface CreateOrgLimitAggregatePayload {
3145
+ clientMutationId?: string | null;
3146
+ /** The `OrgLimitAggregate` that was created by this mutation. */
3147
+ orgLimitAggregate?: OrgLimitAggregate | null;
3148
+ orgLimitAggregateEdge?: OrgLimitAggregateEdge | null;
2824
3149
  }
2825
3150
  export interface CreateOrgMemberProfilePayload {
2826
3151
  clientMutationId?: string | null;
@@ -2828,11 +3153,11 @@ export interface CreateOrgMemberProfilePayload {
2828
3153
  orgMemberProfile?: OrgMemberProfile | null;
2829
3154
  orgMemberProfileEdge?: OrgMemberProfileEdge | null;
2830
3155
  }
2831
- export interface CreateOrgMembershipSettingPayload {
3156
+ export interface CreateOrgLimitPayload {
2832
3157
  clientMutationId?: string | null;
2833
- /** The `OrgMembershipSetting` that was created by this mutation. */
2834
- orgMembershipSetting?: OrgMembershipSetting | null;
2835
- orgMembershipSettingEdge?: OrgMembershipSettingEdge | null;
3158
+ /** The `OrgLimit` that was created by this mutation. */
3159
+ orgLimit?: OrgLimit | null;
3160
+ orgLimitEdge?: OrgLimitEdge | null;
2836
3161
  }
2837
3162
  export interface CreateAppLevelPayload {
2838
3163
  clientMutationId?: string | null;
@@ -2846,6 +3171,12 @@ export interface CreateAppInvitePayload {
2846
3171
  appInvite?: AppInvite | null;
2847
3172
  appInviteEdge?: AppInviteEdge | null;
2848
3173
  }
3174
+ export interface CreateOrgMembershipSettingPayload {
3175
+ clientMutationId?: string | null;
3176
+ /** The `OrgMembershipSetting` that was created by this mutation. */
3177
+ orgMembershipSetting?: OrgMembershipSetting | null;
3178
+ orgMembershipSettingEdge?: OrgMembershipSettingEdge | null;
3179
+ }
2849
3180
  export interface CreateOrgInvitePayload {
2850
3181
  clientMutationId?: string | null;
2851
3182
  /** The `OrgInvite` that was created by this mutation. */
@@ -2882,6 +3213,18 @@ export interface UpdateOrgPermissionDefaultPayload {
2882
3213
  orgPermissionDefault?: OrgPermissionDefault | null;
2883
3214
  orgPermissionDefaultEdge?: OrgPermissionDefaultEdge | null;
2884
3215
  }
3216
+ export interface UpdateAppPermissionPayload {
3217
+ clientMutationId?: string | null;
3218
+ /** The `AppPermission` that was updated by this mutation. */
3219
+ appPermission?: AppPermission | null;
3220
+ appPermissionEdge?: AppPermissionEdge | null;
3221
+ }
3222
+ export interface UpdateOrgPermissionPayload {
3223
+ clientMutationId?: string | null;
3224
+ /** The `OrgPermission` that was updated by this mutation. */
3225
+ orgPermission?: OrgPermission | null;
3226
+ orgPermissionEdge?: OrgPermissionEdge | null;
3227
+ }
2885
3228
  export interface UpdateAppAdminGrantPayload {
2886
3229
  clientMutationId?: string | null;
2887
3230
  /** The `AppAdminGrant` that was updated by this mutation. */
@@ -2894,17 +3237,17 @@ export interface UpdateAppOwnerGrantPayload {
2894
3237
  appOwnerGrant?: AppOwnerGrant | null;
2895
3238
  appOwnerGrantEdge?: AppOwnerGrantEdge | null;
2896
3239
  }
2897
- export interface UpdateAppLimitDefaultPayload {
3240
+ export interface UpdateAppAchievementPayload {
2898
3241
  clientMutationId?: string | null;
2899
- /** The `AppLimitDefault` that was updated by this mutation. */
2900
- appLimitDefault?: AppLimitDefault | null;
2901
- appLimitDefaultEdge?: AppLimitDefaultEdge | null;
3242
+ /** The `AppAchievement` that was updated by this mutation. */
3243
+ appAchievement?: AppAchievement | null;
3244
+ appAchievementEdge?: AppAchievementEdge | null;
2902
3245
  }
2903
- export interface UpdateOrgLimitDefaultPayload {
3246
+ export interface UpdateAppStepPayload {
2904
3247
  clientMutationId?: string | null;
2905
- /** The `OrgLimitDefault` that was updated by this mutation. */
2906
- orgLimitDefault?: OrgLimitDefault | null;
2907
- orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
3248
+ /** The `AppStep` that was updated by this mutation. */
3249
+ appStep?: AppStep | null;
3250
+ appStepEdge?: AppStepEdge | null;
2908
3251
  }
2909
3252
  export interface UpdateOrgAdminGrantPayload {
2910
3253
  clientMutationId?: string | null;
@@ -2918,41 +3261,29 @@ export interface UpdateOrgOwnerGrantPayload {
2918
3261
  orgOwnerGrant?: OrgOwnerGrant | null;
2919
3262
  orgOwnerGrantEdge?: OrgOwnerGrantEdge | null;
2920
3263
  }
2921
- export interface UpdateAppPermissionPayload {
2922
- clientMutationId?: string | null;
2923
- /** The `AppPermission` that was updated by this mutation. */
2924
- appPermission?: AppPermission | null;
2925
- appPermissionEdge?: AppPermissionEdge | null;
2926
- }
2927
- export interface UpdateOrgPermissionPayload {
2928
- clientMutationId?: string | null;
2929
- /** The `OrgPermission` that was updated by this mutation. */
2930
- orgPermission?: OrgPermission | null;
2931
- orgPermissionEdge?: OrgPermissionEdge | null;
2932
- }
2933
- export interface UpdateAppLimitPayload {
3264
+ export interface UpdateMembershipTypePayload {
2934
3265
  clientMutationId?: string | null;
2935
- /** The `AppLimit` that was updated by this mutation. */
2936
- appLimit?: AppLimit | null;
2937
- appLimitEdge?: AppLimitEdge | null;
3266
+ /** The `MembershipType` that was updated by this mutation. */
3267
+ membershipType?: MembershipType | null;
3268
+ membershipTypeEdge?: MembershipTypeEdge | null;
2938
3269
  }
2939
- export interface UpdateAppAchievementPayload {
3270
+ export interface UpdateAppLimitDefaultPayload {
2940
3271
  clientMutationId?: string | null;
2941
- /** The `AppAchievement` that was updated by this mutation. */
2942
- appAchievement?: AppAchievement | null;
2943
- appAchievementEdge?: AppAchievementEdge | null;
3272
+ /** The `AppLimitDefault` that was updated by this mutation. */
3273
+ appLimitDefault?: AppLimitDefault | null;
3274
+ appLimitDefaultEdge?: AppLimitDefaultEdge | null;
2944
3275
  }
2945
- export interface UpdateAppStepPayload {
3276
+ export interface UpdateOrgLimitDefaultPayload {
2946
3277
  clientMutationId?: string | null;
2947
- /** The `AppStep` that was updated by this mutation. */
2948
- appStep?: AppStep | null;
2949
- appStepEdge?: AppStepEdge | null;
3278
+ /** The `OrgLimitDefault` that was updated by this mutation. */
3279
+ orgLimitDefault?: OrgLimitDefault | null;
3280
+ orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
2950
3281
  }
2951
- export interface UpdateAppClaimedInvitePayload {
3282
+ export interface UpdateAppLevelRequirementPayload {
2952
3283
  clientMutationId?: string | null;
2953
- /** The `AppClaimedInvite` that was updated by this mutation. */
2954
- appClaimedInvite?: AppClaimedInvite | null;
2955
- appClaimedInviteEdge?: AppClaimedInviteEdge | null;
3284
+ /** The `AppLevelRequirement` that was updated by this mutation. */
3285
+ appLevelRequirement?: AppLevelRequirement | null;
3286
+ appLevelRequirementEdge?: AppLevelRequirementEdge | null;
2956
3287
  }
2957
3288
  export interface UpdateOrgChartEdgeGrantPayload {
2958
3289
  clientMutationId?: string | null;
@@ -2960,17 +3291,11 @@ export interface UpdateOrgChartEdgeGrantPayload {
2960
3291
  orgChartEdgeGrant?: OrgChartEdgeGrant | null;
2961
3292
  orgChartEdgeGrantEdge?: OrgChartEdgeGrantEdge | null;
2962
3293
  }
2963
- export interface UpdateOrgLimitPayload {
2964
- clientMutationId?: string | null;
2965
- /** The `OrgLimit` that was updated by this mutation. */
2966
- orgLimit?: OrgLimit | null;
2967
- orgLimitEdge?: OrgLimitEdge | null;
2968
- }
2969
- export interface UpdateMembershipTypePayload {
3294
+ export interface UpdateAppClaimedInvitePayload {
2970
3295
  clientMutationId?: string | null;
2971
- /** The `MembershipType` that was updated by this mutation. */
2972
- membershipType?: MembershipType | null;
2973
- membershipTypeEdge?: MembershipTypeEdge | null;
3296
+ /** The `AppClaimedInvite` that was updated by this mutation. */
3297
+ appClaimedInvite?: AppClaimedInvite | null;
3298
+ appClaimedInviteEdge?: AppClaimedInviteEdge | null;
2974
3299
  }
2975
3300
  export interface UpdateAppGrantPayload {
2976
3301
  clientMutationId?: string | null;
@@ -3008,11 +3333,17 @@ export interface UpdateOrgChartEdgePayload {
3008
3333
  orgChartEdge?: OrgChartEdge | null;
3009
3334
  orgChartEdgeEdge?: OrgChartEdgeEdge | null;
3010
3335
  }
3011
- export interface UpdateAppLevelRequirementPayload {
3336
+ export interface UpdateAppLimitPayload {
3012
3337
  clientMutationId?: string | null;
3013
- /** The `AppLevelRequirement` that was updated by this mutation. */
3014
- appLevelRequirement?: AppLevelRequirement | null;
3015
- appLevelRequirementEdge?: AppLevelRequirementEdge | null;
3338
+ /** The `AppLimit` that was updated by this mutation. */
3339
+ appLimit?: AppLimit | null;
3340
+ appLimitEdge?: AppLimitEdge | null;
3341
+ }
3342
+ export interface UpdateOrgLimitAggregatePayload {
3343
+ clientMutationId?: string | null;
3344
+ /** The `OrgLimitAggregate` that was updated by this mutation. */
3345
+ orgLimitAggregate?: OrgLimitAggregate | null;
3346
+ orgLimitAggregateEdge?: OrgLimitAggregateEdge | null;
3016
3347
  }
3017
3348
  export interface UpdateOrgMemberProfilePayload {
3018
3349
  clientMutationId?: string | null;
@@ -3020,11 +3351,11 @@ export interface UpdateOrgMemberProfilePayload {
3020
3351
  orgMemberProfile?: OrgMemberProfile | null;
3021
3352
  orgMemberProfileEdge?: OrgMemberProfileEdge | null;
3022
3353
  }
3023
- export interface UpdateOrgMembershipSettingPayload {
3354
+ export interface UpdateOrgLimitPayload {
3024
3355
  clientMutationId?: string | null;
3025
- /** The `OrgMembershipSetting` that was updated by this mutation. */
3026
- orgMembershipSetting?: OrgMembershipSetting | null;
3027
- orgMembershipSettingEdge?: OrgMembershipSettingEdge | null;
3356
+ /** The `OrgLimit` that was updated by this mutation. */
3357
+ orgLimit?: OrgLimit | null;
3358
+ orgLimitEdge?: OrgLimitEdge | null;
3028
3359
  }
3029
3360
  export interface UpdateAppLevelPayload {
3030
3361
  clientMutationId?: string | null;
@@ -3038,6 +3369,12 @@ export interface UpdateAppInvitePayload {
3038
3369
  appInvite?: AppInvite | null;
3039
3370
  appInviteEdge?: AppInviteEdge | null;
3040
3371
  }
3372
+ export interface UpdateOrgMembershipSettingPayload {
3373
+ clientMutationId?: string | null;
3374
+ /** The `OrgMembershipSetting` that was updated by this mutation. */
3375
+ orgMembershipSetting?: OrgMembershipSetting | null;
3376
+ orgMembershipSettingEdge?: OrgMembershipSettingEdge | null;
3377
+ }
3041
3378
  export interface UpdateOrgInvitePayload {
3042
3379
  clientMutationId?: string | null;
3043
3380
  /** The `OrgInvite` that was updated by this mutation. */
@@ -3074,6 +3411,18 @@ export interface DeleteOrgPermissionDefaultPayload {
3074
3411
  orgPermissionDefault?: OrgPermissionDefault | null;
3075
3412
  orgPermissionDefaultEdge?: OrgPermissionDefaultEdge | null;
3076
3413
  }
3414
+ export interface DeleteAppPermissionPayload {
3415
+ clientMutationId?: string | null;
3416
+ /** The `AppPermission` that was deleted by this mutation. */
3417
+ appPermission?: AppPermission | null;
3418
+ appPermissionEdge?: AppPermissionEdge | null;
3419
+ }
3420
+ export interface DeleteOrgPermissionPayload {
3421
+ clientMutationId?: string | null;
3422
+ /** The `OrgPermission` that was deleted by this mutation. */
3423
+ orgPermission?: OrgPermission | null;
3424
+ orgPermissionEdge?: OrgPermissionEdge | null;
3425
+ }
3077
3426
  export interface DeleteAppAdminGrantPayload {
3078
3427
  clientMutationId?: string | null;
3079
3428
  /** The `AppAdminGrant` that was deleted by this mutation. */
@@ -3086,17 +3435,17 @@ export interface DeleteAppOwnerGrantPayload {
3086
3435
  appOwnerGrant?: AppOwnerGrant | null;
3087
3436
  appOwnerGrantEdge?: AppOwnerGrantEdge | null;
3088
3437
  }
3089
- export interface DeleteAppLimitDefaultPayload {
3438
+ export interface DeleteAppAchievementPayload {
3090
3439
  clientMutationId?: string | null;
3091
- /** The `AppLimitDefault` that was deleted by this mutation. */
3092
- appLimitDefault?: AppLimitDefault | null;
3093
- appLimitDefaultEdge?: AppLimitDefaultEdge | null;
3440
+ /** The `AppAchievement` that was deleted by this mutation. */
3441
+ appAchievement?: AppAchievement | null;
3442
+ appAchievementEdge?: AppAchievementEdge | null;
3094
3443
  }
3095
- export interface DeleteOrgLimitDefaultPayload {
3444
+ export interface DeleteAppStepPayload {
3096
3445
  clientMutationId?: string | null;
3097
- /** The `OrgLimitDefault` that was deleted by this mutation. */
3098
- orgLimitDefault?: OrgLimitDefault | null;
3099
- orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
3446
+ /** The `AppStep` that was deleted by this mutation. */
3447
+ appStep?: AppStep | null;
3448
+ appStepEdge?: AppStepEdge | null;
3100
3449
  }
3101
3450
  export interface DeleteOrgAdminGrantPayload {
3102
3451
  clientMutationId?: string | null;
@@ -3110,41 +3459,29 @@ export interface DeleteOrgOwnerGrantPayload {
3110
3459
  orgOwnerGrant?: OrgOwnerGrant | null;
3111
3460
  orgOwnerGrantEdge?: OrgOwnerGrantEdge | null;
3112
3461
  }
3113
- export interface DeleteAppPermissionPayload {
3114
- clientMutationId?: string | null;
3115
- /** The `AppPermission` that was deleted by this mutation. */
3116
- appPermission?: AppPermission | null;
3117
- appPermissionEdge?: AppPermissionEdge | null;
3118
- }
3119
- export interface DeleteOrgPermissionPayload {
3120
- clientMutationId?: string | null;
3121
- /** The `OrgPermission` that was deleted by this mutation. */
3122
- orgPermission?: OrgPermission | null;
3123
- orgPermissionEdge?: OrgPermissionEdge | null;
3124
- }
3125
- export interface DeleteAppLimitPayload {
3462
+ export interface DeleteMembershipTypePayload {
3126
3463
  clientMutationId?: string | null;
3127
- /** The `AppLimit` that was deleted by this mutation. */
3128
- appLimit?: AppLimit | null;
3129
- appLimitEdge?: AppLimitEdge | null;
3464
+ /** The `MembershipType` that was deleted by this mutation. */
3465
+ membershipType?: MembershipType | null;
3466
+ membershipTypeEdge?: MembershipTypeEdge | null;
3130
3467
  }
3131
- export interface DeleteAppAchievementPayload {
3468
+ export interface DeleteAppLimitDefaultPayload {
3132
3469
  clientMutationId?: string | null;
3133
- /** The `AppAchievement` that was deleted by this mutation. */
3134
- appAchievement?: AppAchievement | null;
3135
- appAchievementEdge?: AppAchievementEdge | null;
3470
+ /** The `AppLimitDefault` that was deleted by this mutation. */
3471
+ appLimitDefault?: AppLimitDefault | null;
3472
+ appLimitDefaultEdge?: AppLimitDefaultEdge | null;
3136
3473
  }
3137
- export interface DeleteAppStepPayload {
3474
+ export interface DeleteOrgLimitDefaultPayload {
3138
3475
  clientMutationId?: string | null;
3139
- /** The `AppStep` that was deleted by this mutation. */
3140
- appStep?: AppStep | null;
3141
- appStepEdge?: AppStepEdge | null;
3476
+ /** The `OrgLimitDefault` that was deleted by this mutation. */
3477
+ orgLimitDefault?: OrgLimitDefault | null;
3478
+ orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
3142
3479
  }
3143
- export interface DeleteAppClaimedInvitePayload {
3480
+ export interface DeleteAppLevelRequirementPayload {
3144
3481
  clientMutationId?: string | null;
3145
- /** The `AppClaimedInvite` that was deleted by this mutation. */
3146
- appClaimedInvite?: AppClaimedInvite | null;
3147
- appClaimedInviteEdge?: AppClaimedInviteEdge | null;
3482
+ /** The `AppLevelRequirement` that was deleted by this mutation. */
3483
+ appLevelRequirement?: AppLevelRequirement | null;
3484
+ appLevelRequirementEdge?: AppLevelRequirementEdge | null;
3148
3485
  }
3149
3486
  export interface DeleteOrgChartEdgeGrantPayload {
3150
3487
  clientMutationId?: string | null;
@@ -3152,17 +3489,11 @@ export interface DeleteOrgChartEdgeGrantPayload {
3152
3489
  orgChartEdgeGrant?: OrgChartEdgeGrant | null;
3153
3490
  orgChartEdgeGrantEdge?: OrgChartEdgeGrantEdge | null;
3154
3491
  }
3155
- export interface DeleteOrgLimitPayload {
3156
- clientMutationId?: string | null;
3157
- /** The `OrgLimit` that was deleted by this mutation. */
3158
- orgLimit?: OrgLimit | null;
3159
- orgLimitEdge?: OrgLimitEdge | null;
3160
- }
3161
- export interface DeleteMembershipTypePayload {
3492
+ export interface DeleteAppClaimedInvitePayload {
3162
3493
  clientMutationId?: string | null;
3163
- /** The `MembershipType` that was deleted by this mutation. */
3164
- membershipType?: MembershipType | null;
3165
- membershipTypeEdge?: MembershipTypeEdge | null;
3494
+ /** The `AppClaimedInvite` that was deleted by this mutation. */
3495
+ appClaimedInvite?: AppClaimedInvite | null;
3496
+ appClaimedInviteEdge?: AppClaimedInviteEdge | null;
3166
3497
  }
3167
3498
  export interface DeleteAppGrantPayload {
3168
3499
  clientMutationId?: string | null;
@@ -3200,11 +3531,17 @@ export interface DeleteOrgChartEdgePayload {
3200
3531
  orgChartEdge?: OrgChartEdge | null;
3201
3532
  orgChartEdgeEdge?: OrgChartEdgeEdge | null;
3202
3533
  }
3203
- export interface DeleteAppLevelRequirementPayload {
3534
+ export interface DeleteAppLimitPayload {
3204
3535
  clientMutationId?: string | null;
3205
- /** The `AppLevelRequirement` that was deleted by this mutation. */
3206
- appLevelRequirement?: AppLevelRequirement | null;
3207
- appLevelRequirementEdge?: AppLevelRequirementEdge | null;
3536
+ /** The `AppLimit` that was deleted by this mutation. */
3537
+ appLimit?: AppLimit | null;
3538
+ appLimitEdge?: AppLimitEdge | null;
3539
+ }
3540
+ export interface DeleteOrgLimitAggregatePayload {
3541
+ clientMutationId?: string | null;
3542
+ /** The `OrgLimitAggregate` that was deleted by this mutation. */
3543
+ orgLimitAggregate?: OrgLimitAggregate | null;
3544
+ orgLimitAggregateEdge?: OrgLimitAggregateEdge | null;
3208
3545
  }
3209
3546
  export interface DeleteOrgMemberProfilePayload {
3210
3547
  clientMutationId?: string | null;
@@ -3212,11 +3549,11 @@ export interface DeleteOrgMemberProfilePayload {
3212
3549
  orgMemberProfile?: OrgMemberProfile | null;
3213
3550
  orgMemberProfileEdge?: OrgMemberProfileEdge | null;
3214
3551
  }
3215
- export interface DeleteOrgMembershipSettingPayload {
3552
+ export interface DeleteOrgLimitPayload {
3216
3553
  clientMutationId?: string | null;
3217
- /** The `OrgMembershipSetting` that was deleted by this mutation. */
3218
- orgMembershipSetting?: OrgMembershipSetting | null;
3219
- orgMembershipSettingEdge?: OrgMembershipSettingEdge | null;
3554
+ /** The `OrgLimit` that was deleted by this mutation. */
3555
+ orgLimit?: OrgLimit | null;
3556
+ orgLimitEdge?: OrgLimitEdge | null;
3220
3557
  }
3221
3558
  export interface DeleteAppLevelPayload {
3222
3559
  clientMutationId?: string | null;
@@ -3230,6 +3567,12 @@ export interface DeleteAppInvitePayload {
3230
3567
  appInvite?: AppInvite | null;
3231
3568
  appInviteEdge?: AppInviteEdge | null;
3232
3569
  }
3570
+ export interface DeleteOrgMembershipSettingPayload {
3571
+ clientMutationId?: string | null;
3572
+ /** The `OrgMembershipSetting` that was deleted by this mutation. */
3573
+ orgMembershipSetting?: OrgMembershipSetting | null;
3574
+ orgMembershipSettingEdge?: OrgMembershipSettingEdge | null;
3575
+ }
3233
3576
  export interface DeleteOrgInvitePayload {
3234
3577
  clientMutationId?: string | null;
3235
3578
  /** The `OrgInvite` that was deleted by this mutation. */
@@ -3259,16 +3602,6 @@ export interface RequestUploadUrlPayload {
3259
3602
  deduplicated: boolean;
3260
3603
  /** Presigned URL expiry time (null if deduplicated) */
3261
3604
  expiresAt?: string | null;
3262
- /** File status — 'pending' for fresh uploads, 'ready' or 'processed' for deduplicated files. Clients can use this to know immediately whether the file is usable. */
3263
- status: string;
3264
- }
3265
- export interface ConfirmUploadPayload {
3266
- /** The confirmed file ID */
3267
- fileId: string;
3268
- /** New file status */
3269
- status: string;
3270
- /** Whether confirmation succeeded */
3271
- success: boolean;
3272
3605
  }
3273
3606
  export interface ProvisionBucketPayload {
3274
3607
  /** Whether provisioning succeeded */
@@ -3355,17 +3688,17 @@ export interface AppOwnerGrantEdge {
3355
3688
  /** The `AppOwnerGrant` at the end of the edge. */
3356
3689
  node?: AppOwnerGrant | null;
3357
3690
  }
3358
- /** A `AppLimitDefault` edge in the connection. */
3359
- export interface AppLimitDefaultEdge {
3691
+ /** A `AppAchievement` edge in the connection. */
3692
+ export interface AppAchievementEdge {
3360
3693
  cursor?: string | null;
3361
- /** The `AppLimitDefault` at the end of the edge. */
3362
- node?: AppLimitDefault | null;
3694
+ /** The `AppAchievement` at the end of the edge. */
3695
+ node?: AppAchievement | null;
3363
3696
  }
3364
- /** A `OrgLimitDefault` edge in the connection. */
3365
- export interface OrgLimitDefaultEdge {
3697
+ /** A `AppStep` edge in the connection. */
3698
+ export interface AppStepEdge {
3366
3699
  cursor?: string | null;
3367
- /** The `OrgLimitDefault` at the end of the edge. */
3368
- node?: OrgLimitDefault | null;
3700
+ /** The `AppStep` at the end of the edge. */
3701
+ node?: AppStep | null;
3369
3702
  }
3370
3703
  /** A `OrgAdminGrant` edge in the connection. */
3371
3704
  export interface OrgAdminGrantEdge {
@@ -3379,29 +3712,23 @@ export interface OrgOwnerGrantEdge {
3379
3712
  /** The `OrgOwnerGrant` at the end of the edge. */
3380
3713
  node?: OrgOwnerGrant | null;
3381
3714
  }
3382
- /** A `AppLimit` edge in the connection. */
3383
- export interface AppLimitEdge {
3384
- cursor?: string | null;
3385
- /** The `AppLimit` at the end of the edge. */
3386
- node?: AppLimit | null;
3387
- }
3388
- /** A `AppAchievement` edge in the connection. */
3389
- export interface AppAchievementEdge {
3715
+ /** A `MembershipType` edge in the connection. */
3716
+ export interface MembershipTypeEdge {
3390
3717
  cursor?: string | null;
3391
- /** The `AppAchievement` at the end of the edge. */
3392
- node?: AppAchievement | null;
3718
+ /** The `MembershipType` at the end of the edge. */
3719
+ node?: MembershipType | null;
3393
3720
  }
3394
- /** A `AppStep` edge in the connection. */
3395
- export interface AppStepEdge {
3721
+ /** A `AppLimitDefault` edge in the connection. */
3722
+ export interface AppLimitDefaultEdge {
3396
3723
  cursor?: string | null;
3397
- /** The `AppStep` at the end of the edge. */
3398
- node?: AppStep | null;
3724
+ /** The `AppLimitDefault` at the end of the edge. */
3725
+ node?: AppLimitDefault | null;
3399
3726
  }
3400
- /** A `AppClaimedInvite` edge in the connection. */
3401
- export interface AppClaimedInviteEdge {
3727
+ /** A `OrgLimitDefault` edge in the connection. */
3728
+ export interface OrgLimitDefaultEdge {
3402
3729
  cursor?: string | null;
3403
- /** The `AppClaimedInvite` at the end of the edge. */
3404
- node?: AppClaimedInvite | null;
3730
+ /** The `OrgLimitDefault` at the end of the edge. */
3731
+ node?: OrgLimitDefault | null;
3405
3732
  }
3406
3733
  /** A `OrgChartEdgeGrant` edge in the connection. */
3407
3734
  export interface OrgChartEdgeGrantEdge {
@@ -3409,17 +3736,11 @@ export interface OrgChartEdgeGrantEdge {
3409
3736
  /** The `OrgChartEdgeGrant` at the end of the edge. */
3410
3737
  node?: OrgChartEdgeGrant | null;
3411
3738
  }
3412
- /** A `OrgLimit` edge in the connection. */
3413
- export interface OrgLimitEdge {
3414
- cursor?: string | null;
3415
- /** The `OrgLimit` at the end of the edge. */
3416
- node?: OrgLimit | null;
3417
- }
3418
- /** A `MembershipType` edge in the connection. */
3419
- export interface MembershipTypeEdge {
3739
+ /** A `AppClaimedInvite` edge in the connection. */
3740
+ export interface AppClaimedInviteEdge {
3420
3741
  cursor?: string | null;
3421
- /** The `MembershipType` at the end of the edge. */
3422
- node?: MembershipType | null;
3742
+ /** The `AppClaimedInvite` at the end of the edge. */
3743
+ node?: AppClaimedInvite | null;
3423
3744
  }
3424
3745
  /** A `AppGrant` edge in the connection. */
3425
3746
  export interface AppGrantEdge {
@@ -3445,6 +3766,18 @@ export interface OrgClaimedInviteEdge {
3445
3766
  /** The `OrgClaimedInvite` at the end of the edge. */
3446
3767
  node?: OrgClaimedInvite | null;
3447
3768
  }
3769
+ /** A `AppLimitEvent` edge in the connection. */
3770
+ export interface AppLimitEventEdge {
3771
+ cursor?: string | null;
3772
+ /** The `AppLimitEvent` at the end of the edge. */
3773
+ node?: AppLimitEvent | null;
3774
+ }
3775
+ /** A `OrgLimitEvent` edge in the connection. */
3776
+ export interface OrgLimitEventEdge {
3777
+ cursor?: string | null;
3778
+ /** The `OrgLimitEvent` at the end of the edge. */
3779
+ node?: OrgLimitEvent | null;
3780
+ }
3448
3781
  /** A `OrgGrant` edge in the connection. */
3449
3782
  export interface OrgGrantEdge {
3450
3783
  cursor?: string | null;
@@ -3457,17 +3790,29 @@ export interface OrgChartEdgeEdge {
3457
3790
  /** The `OrgChartEdge` at the end of the edge. */
3458
3791
  node?: OrgChartEdge | null;
3459
3792
  }
3793
+ /** A `AppLimit` edge in the connection. */
3794
+ export interface AppLimitEdge {
3795
+ cursor?: string | null;
3796
+ /** The `AppLimit` at the end of the edge. */
3797
+ node?: AppLimit | null;
3798
+ }
3799
+ /** A `OrgLimitAggregate` edge in the connection. */
3800
+ export interface OrgLimitAggregateEdge {
3801
+ cursor?: string | null;
3802
+ /** The `OrgLimitAggregate` at the end of the edge. */
3803
+ node?: OrgLimitAggregate | null;
3804
+ }
3460
3805
  /** A `OrgMemberProfile` edge in the connection. */
3461
3806
  export interface OrgMemberProfileEdge {
3462
3807
  cursor?: string | null;
3463
3808
  /** The `OrgMemberProfile` at the end of the edge. */
3464
3809
  node?: OrgMemberProfile | null;
3465
3810
  }
3466
- /** A `OrgMembershipSetting` edge in the connection. */
3467
- export interface OrgMembershipSettingEdge {
3811
+ /** A `OrgLimit` edge in the connection. */
3812
+ export interface OrgLimitEdge {
3468
3813
  cursor?: string | null;
3469
- /** The `OrgMembershipSetting` at the end of the edge. */
3470
- node?: OrgMembershipSetting | null;
3814
+ /** The `OrgLimit` at the end of the edge. */
3815
+ node?: OrgLimit | null;
3471
3816
  }
3472
3817
  /** A `AppLevel` edge in the connection. */
3473
3818
  export interface AppLevelEdge {
@@ -3481,6 +3826,12 @@ export interface AppInviteEdge {
3481
3826
  /** The `AppInvite` at the end of the edge. */
3482
3827
  node?: AppInvite | null;
3483
3828
  }
3829
+ /** A `OrgMembershipSetting` edge in the connection. */
3830
+ export interface OrgMembershipSettingEdge {
3831
+ cursor?: string | null;
3832
+ /** The `OrgMembershipSetting` at the end of the edge. */
3833
+ node?: OrgMembershipSetting | null;
3834
+ }
3484
3835
  /** A `OrgInvite` edge in the connection. */
3485
3836
  export interface OrgInviteEdge {
3486
3837
  cursor?: string | null;