@constructive-io/sdk 1.19.2 → 1.19.4

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 (723) hide show
  1. package/README.md +2 -0
  2. package/admin/orm/index.d.ts +36 -69
  3. package/admin/orm/index.js +4 -32
  4. package/admin/orm/input-types.d.ts +426 -3916
  5. package/admin/orm/input-types.js +1 -37
  6. package/admin/orm/models/index.d.ts +2 -16
  7. package/admin/orm/models/index.js +5 -33
  8. package/admin/orm/models/myPendingAppInvitesRecord.d.ts +36 -0
  9. package/admin/orm/models/myPendingAppInvitesRecord.js +80 -0
  10. package/admin/orm/models/myPendingOrgInvitesRecord.d.ts +36 -0
  11. package/admin/orm/models/myPendingOrgInvitesRecord.js +80 -0
  12. package/admin/orm/mutation/index.d.ts +54 -5
  13. package/admin/orm/mutation/index.js +72 -0
  14. package/admin/orm/query/index.d.ts +5 -79
  15. package/admin/orm/query/index.js +8 -112
  16. package/agent/orm/index.d.ts +30 -0
  17. package/agent/orm/index.js +30 -0
  18. package/agent/orm/input-types.d.ts +6040 -1415
  19. package/agent/orm/input-types.js +34 -0
  20. package/agent/orm/models/agentEvent.d.ts +54 -0
  21. package/{admin/orm/models/orgProfile.js → agent/orm/models/agentEvent.js} +27 -27
  22. package/agent/orm/models/agentRun.d.ts +54 -0
  23. package/{usage/orm/models/appLevel.js → agent/orm/models/agentRun.js} +27 -27
  24. package/agent/orm/models/agentRunWorkspace.d.ts +54 -0
  25. package/{usage/orm/models/appEventAggregate.js → agent/orm/models/agentRunWorkspace.js} +27 -27
  26. package/agent/orm/models/index.d.ts +15 -0
  27. package/agent/orm/models/index.js +31 -1
  28. package/agent/orm/models/platformAgent.d.ts +54 -0
  29. package/{usage/orm/models/appLevelGrant.js → agent/orm/models/platformAgent.js} +27 -27
  30. package/agent/orm/models/platformAgentEvent.d.ts +54 -0
  31. package/{admin/orm/models/orgProfileTemplate.js → agent/orm/models/platformAgentEvent.js} +27 -27
  32. package/agent/orm/models/platformAgentMessage.d.ts +54 -0
  33. package/{admin/orm/models/appMembershipProfile.js → agent/orm/models/platformAgentMessage.js} +27 -27
  34. package/agent/orm/models/platformAgentPersona.d.ts +54 -0
  35. package/{admin/orm/models/orgCapabilityDefault.js → agent/orm/models/platformAgentPersona.js} +27 -27
  36. package/agent/orm/models/platformAgentPlan.d.ts +54 -0
  37. package/agent/orm/models/platformAgentPlan.js +104 -0
  38. package/agent/orm/models/platformAgentPrompt.d.ts +54 -0
  39. package/{usage/orm/models/appLevelRequirement.js → agent/orm/models/platformAgentPrompt.js} +27 -27
  40. package/agent/orm/models/platformAgentResource.d.ts +54 -0
  41. package/agent/orm/models/platformAgentResource.js +104 -0
  42. package/agent/orm/models/platformAgentResourceChunk.d.ts +54 -0
  43. package/agent/orm/models/platformAgentResourceChunk.js +104 -0
  44. package/agent/orm/models/platformAgentRun.d.ts +54 -0
  45. package/agent/orm/models/platformAgentRun.js +104 -0
  46. package/agent/orm/models/platformAgentRunWorkspace.d.ts +54 -0
  47. package/{admin/orm/models/appProfileDefinitionGrant.js → agent/orm/models/platformAgentRunWorkspace.js} +27 -27
  48. package/agent/orm/models/platformAgentTask.d.ts +54 -0
  49. package/agent/orm/models/platformAgentTask.js +104 -0
  50. package/agent/orm/models/platformAgentThread.d.ts +54 -0
  51. package/{usage/orm/models/billingUsageSummary.js → agent/orm/models/platformAgentThread.js} +27 -27
  52. package/agent/orm/mutation/index.d.ts +5 -4
  53. package/api/orm/index.d.ts +177 -22
  54. package/api/orm/index.js +16 -6
  55. package/api/orm/input-types.d.ts +2520 -1059
  56. package/api/orm/input-types.js +7 -4
  57. package/api/orm/models/astMigration.d.ts +36 -0
  58. package/api/orm/models/astMigration.js +80 -0
  59. package/api/orm/models/getSitePreviewsRecord.d.ts +30 -0
  60. package/api/orm/models/getSitePreviewsRecord.js +59 -0
  61. package/api/orm/models/identityProviderRegistry.d.ts +54 -0
  62. package/api/orm/models/identityProviderRegistry.js +104 -0
  63. package/api/orm/models/index.d.ts +8 -3
  64. package/api/orm/models/index.js +18 -8
  65. package/api/orm/models/platformGetSitePreviewsRecord.d.ts +30 -0
  66. package/api/orm/models/platformGetSitePreviewsRecord.js +59 -0
  67. package/api/orm/models/platformSiteRelease.d.ts +54 -0
  68. package/api/orm/models/platformSiteRelease.js +104 -0
  69. package/api/orm/models/redirect.d.ts +54 -0
  70. package/{usage/orm/models/appEvent.js → api/orm/models/redirect.js} +27 -30
  71. package/api/orm/models/siteRelease.d.ts +54 -0
  72. package/{usage/orm/models/meterSource.js → api/orm/models/siteRelease.js} +27 -27
  73. package/api/orm/models/sqlAction.d.ts +36 -0
  74. package/api/orm/models/sqlAction.js +80 -0
  75. package/api/orm/mutation/index.d.ts +170 -24
  76. package/api/orm/mutation/index.js +240 -24
  77. package/api/orm/query/index.d.ts +107 -11
  78. package/api/orm/query/index.js +177 -13
  79. package/auth/orm/index.d.ts +104 -0
  80. package/auth/orm/index.js +4 -0
  81. package/auth/orm/input-types.d.ts +1017 -238
  82. package/auth/orm/input-types.js +1 -0
  83. package/auth/orm/models/index.d.ts +2 -0
  84. package/auth/orm/models/index.js +5 -1
  85. package/auth/orm/models/principalEntity.d.ts +2 -20
  86. package/auth/orm/models/principalEntity.js +0 -24
  87. package/auth/orm/models/userSetting.d.ts +54 -0
  88. package/{usage/orm/models/meterCredit.js → auth/orm/models/userSetting.js} +27 -27
  89. package/auth/orm/models/userSettingsSecurity.d.ts +54 -0
  90. package/{admin/orm/models/appProfileCapability.js → auth/orm/models/userSettingsSecurity.js} +27 -27
  91. package/auth/orm/mutation/index.d.ts +158 -5
  92. package/auth/orm/mutation/index.js +228 -0
  93. package/auth/orm/query/index.d.ts +6 -1
  94. package/auth/orm/query/index.js +7 -0
  95. package/compute/orm/index.d.ts +208 -0
  96. package/compute/orm/index.js +98 -0
  97. package/compute/orm/input-types.d.ts +23534 -8853
  98. package/compute/orm/input-types.js +78 -0
  99. package/compute/orm/models/build.d.ts +54 -0
  100. package/{usage/orm/models/meter.js → compute/orm/models/build.js} +27 -27
  101. package/compute/orm/models/buildStep.d.ts +56 -0
  102. package/{usage/orm/models/planLimit.js → compute/orm/models/buildStep.js} +30 -27
  103. package/compute/orm/models/builderBinding.d.ts +54 -0
  104. package/{usage/orm/models/planMeterLimit.js → compute/orm/models/builderBinding.js} +27 -27
  105. package/compute/orm/models/databaseFunctionGraph.d.ts +54 -0
  106. package/compute/orm/models/databaseFunctionGraph.js +104 -0
  107. package/compute/orm/models/databaseFunctionGraphExecution.d.ts +56 -0
  108. package/compute/orm/models/databaseFunctionGraphExecution.js +107 -0
  109. package/compute/orm/models/databaseFunctionGraphExecutionNodeState.d.ts +56 -0
  110. package/compute/orm/models/databaseFunctionGraphExecutionNodeState.js +107 -0
  111. package/compute/orm/models/databaseFunctionGraphExecutionOutput.d.ts +56 -0
  112. package/compute/orm/models/databaseFunctionGraphExecutionOutput.js +107 -0
  113. package/compute/orm/models/databaseGraphCommit.d.ts +56 -0
  114. package/compute/orm/models/databaseGraphCommit.js +107 -0
  115. package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +30 -0
  116. package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +59 -0
  117. package/compute/orm/models/databaseGraphObject.d.ts +56 -0
  118. package/compute/orm/models/databaseGraphObject.js +97 -0
  119. package/compute/orm/models/databaseGraphRef.d.ts +56 -0
  120. package/compute/orm/models/databaseGraphRef.js +107 -0
  121. package/compute/orm/models/databaseGraphStore.d.ts +54 -0
  122. package/{admin/orm/models/appProfileTemplate.js → compute/orm/models/databaseGraphStore.js} +27 -27
  123. package/compute/orm/models/image.d.ts +54 -0
  124. package/{api/orm/models/app.js → compute/orm/models/image.js} +27 -27
  125. package/compute/orm/models/imageGrant.d.ts +54 -0
  126. package/{admin/orm/models/appProfile.js → compute/orm/models/imageGrant.js} +27 -27
  127. package/compute/orm/models/index.d.ts +49 -0
  128. package/compute/orm/models/index.js +101 -2
  129. package/compute/orm/models/platformBuild.d.ts +54 -0
  130. package/{admin/orm/models/appCapability.js → compute/orm/models/platformBuild.js} +27 -27
  131. package/compute/orm/models/platformBuildStep.d.ts +56 -0
  132. package/compute/orm/models/platformBuildStep.js +107 -0
  133. package/compute/orm/models/platformBuilderBinding.d.ts +54 -0
  134. package/{admin/orm/models/appCapabilityDefault.js → compute/orm/models/platformBuilderBinding.js} +27 -27
  135. package/compute/orm/models/platformImage.d.ts +54 -0
  136. package/{admin/orm/models/orgCapability.js → compute/orm/models/platformImage.js} +27 -27
  137. package/compute/orm/models/platformImageGrant.d.ts +54 -0
  138. package/compute/orm/models/platformImageGrant.js +104 -0
  139. package/compute/orm/models/platformK8sResourceKind.d.ts +54 -0
  140. package/{modules/orm/models/configSecretsUserModule.js → compute/orm/models/platformK8sResourceKind.js} +27 -27
  141. package/compute/orm/models/platformK8sSpecRule.d.ts +54 -0
  142. package/compute/orm/models/platformK8sSpecRule.js +104 -0
  143. package/compute/orm/models/platformProposal.d.ts +54 -0
  144. package/compute/orm/models/platformProposal.js +104 -0
  145. package/compute/orm/models/platformProposalComment.d.ts +54 -0
  146. package/compute/orm/models/platformProposalComment.js +104 -0
  147. package/compute/orm/models/platformProposalFileView.d.ts +54 -0
  148. package/compute/orm/models/platformProposalFileView.js +104 -0
  149. package/compute/orm/models/platformProposalReaction.d.ts +54 -0
  150. package/compute/orm/models/platformProposalReaction.js +104 -0
  151. package/compute/orm/models/platformProposalReview.d.ts +54 -0
  152. package/compute/orm/models/platformProposalReview.js +104 -0
  153. package/compute/orm/models/platformProposalsChunk.d.ts +54 -0
  154. package/compute/orm/models/platformProposalsChunk.js +104 -0
  155. package/compute/orm/models/platformRegistry.d.ts +54 -0
  156. package/compute/orm/models/platformRegistry.js +104 -0
  157. package/compute/orm/models/platformRegistryBinding.d.ts +54 -0
  158. package/compute/orm/models/platformRegistryBinding.js +104 -0
  159. package/compute/orm/models/platformRegistryGrant.d.ts +54 -0
  160. package/compute/orm/models/platformRegistryGrant.js +104 -0
  161. package/compute/orm/models/platformRepository.d.ts +54 -0
  162. package/compute/orm/models/platformRepository.js +104 -0
  163. package/compute/orm/models/platformRepositoryEvent.d.ts +54 -0
  164. package/compute/orm/models/platformRepositoryEvent.js +104 -0
  165. package/compute/orm/models/platformRepositoryRequiredCheck.d.ts +54 -0
  166. package/compute/orm/models/platformRepositoryRequiredCheck.js +104 -0
  167. package/compute/orm/models/platformRepositoryWorkflow.d.ts +54 -0
  168. package/compute/orm/models/platformRepositoryWorkflow.js +104 -0
  169. package/compute/orm/models/platformResourceObservedStorage.d.ts +30 -0
  170. package/compute/orm/models/platformResourceObservedStorage.js +59 -0
  171. package/compute/orm/models/proposal.d.ts +54 -0
  172. package/compute/orm/models/proposal.js +104 -0
  173. package/compute/orm/models/proposalComment.d.ts +54 -0
  174. package/{admin/orm/models/appProfileGrant.js → compute/orm/models/proposalComment.js} +27 -27
  175. package/compute/orm/models/proposalFileView.d.ts +54 -0
  176. package/compute/orm/models/proposalFileView.js +104 -0
  177. package/compute/orm/models/proposalReaction.d.ts +54 -0
  178. package/{usage/orm/models/planSubscription.js → compute/orm/models/proposalReaction.js} +27 -27
  179. package/compute/orm/models/proposalReview.d.ts +54 -0
  180. package/compute/orm/models/proposalReview.js +104 -0
  181. package/compute/orm/models/proposalsChunk.d.ts +54 -0
  182. package/compute/orm/models/proposalsChunk.js +104 -0
  183. package/compute/orm/models/registry.d.ts +54 -0
  184. package/compute/orm/models/registry.js +104 -0
  185. package/compute/orm/models/registryBinding.d.ts +54 -0
  186. package/{modules/orm/models/httpRouteModule.js → compute/orm/models/registryBinding.js} +27 -27
  187. package/compute/orm/models/registryGrant.d.ts +54 -0
  188. package/{usage/orm/models/appEventType.js → compute/orm/models/registryGrant.js} +27 -27
  189. package/compute/orm/models/repository.d.ts +54 -0
  190. package/{api/orm/models/httpRoute.js → compute/orm/models/repository.js} +27 -27
  191. package/compute/orm/models/repositoryEvent.d.ts +54 -0
  192. package/{admin/orm/models/orgProfileGrant.js → compute/orm/models/repositoryEvent.js} +27 -27
  193. package/compute/orm/models/repositoryRequiredCheck.d.ts +54 -0
  194. package/compute/orm/models/repositoryRequiredCheck.js +104 -0
  195. package/compute/orm/models/repositoryWorkflow.d.ts +54 -0
  196. package/compute/orm/models/repositoryWorkflow.js +104 -0
  197. package/compute/orm/models/resourceObservedStorage.d.ts +30 -0
  198. package/compute/orm/models/resourceObservedStorage.js +59 -0
  199. package/compute/orm/mutation/index.d.ts +174 -5
  200. package/compute/orm/mutation/index.js +252 -0
  201. package/compute/orm/query/index.d.ts +8 -0
  202. package/compute/orm/query/index.js +12 -0
  203. package/config/orm/index.d.ts +48 -0
  204. package/config/orm/index.js +8 -0
  205. package/config/orm/input-types.d.ts +711 -41
  206. package/config/orm/models/appInternalSecret.d.ts +36 -0
  207. package/config/orm/models/appInternalSecret.js +80 -0
  208. package/config/orm/models/index.d.ts +4 -0
  209. package/config/orm/models/index.js +9 -1
  210. package/config/orm/models/internalConfig.d.ts +54 -0
  211. package/config/orm/models/internalConfig.js +104 -0
  212. package/config/orm/models/internalSecret.d.ts +36 -0
  213. package/config/orm/models/internalSecret.js +80 -0
  214. package/config/orm/models/platformInternalConfig.d.ts +54 -0
  215. package/config/orm/models/platformInternalConfig.js +104 -0
  216. package/config/orm/mutation/index.d.ts +70 -5
  217. package/config/orm/mutation/index.js +96 -0
  218. package/esm/admin/orm/index.d.ts +36 -69
  219. package/esm/admin/orm/index.js +4 -32
  220. package/esm/admin/orm/input-types.d.ts +426 -3916
  221. package/esm/admin/orm/input-types.js +1 -37
  222. package/esm/admin/orm/models/index.d.ts +2 -16
  223. package/esm/admin/orm/models/index.js +2 -16
  224. package/esm/admin/orm/models/myPendingAppInvitesRecord.d.ts +36 -0
  225. package/esm/admin/orm/models/myPendingAppInvitesRecord.js +76 -0
  226. package/esm/admin/orm/models/myPendingOrgInvitesRecord.d.ts +36 -0
  227. package/esm/admin/orm/models/myPendingOrgInvitesRecord.js +76 -0
  228. package/esm/admin/orm/mutation/index.d.ts +54 -5
  229. package/esm/admin/orm/mutation/index.js +72 -0
  230. package/esm/admin/orm/query/index.d.ts +5 -79
  231. package/esm/admin/orm/query/index.js +8 -112
  232. package/esm/agent/orm/index.d.ts +30 -0
  233. package/esm/agent/orm/index.js +30 -0
  234. package/esm/agent/orm/input-types.d.ts +6040 -1415
  235. package/esm/agent/orm/input-types.js +34 -0
  236. package/esm/agent/orm/models/agentEvent.d.ts +54 -0
  237. package/esm/{admin/orm/models/appProfile.js → agent/orm/models/agentEvent.js} +25 -25
  238. package/esm/agent/orm/models/agentRun.d.ts +54 -0
  239. package/esm/{usage/orm/models/appLevel.js → agent/orm/models/agentRun.js} +25 -25
  240. package/esm/agent/orm/models/agentRunWorkspace.d.ts +54 -0
  241. package/esm/{usage/orm/models/appEventAggregate.js → agent/orm/models/agentRunWorkspace.js} +25 -25
  242. package/esm/agent/orm/models/index.d.ts +15 -0
  243. package/esm/agent/orm/models/index.js +15 -0
  244. package/esm/agent/orm/models/platformAgent.d.ts +54 -0
  245. package/esm/{usage/orm/models/planLimit.js → agent/orm/models/platformAgent.js} +25 -25
  246. package/esm/agent/orm/models/platformAgentEvent.d.ts +54 -0
  247. package/esm/agent/orm/models/platformAgentEvent.js +100 -0
  248. package/esm/agent/orm/models/platformAgentMessage.d.ts +54 -0
  249. package/esm/{admin/orm/models/appMembershipProfile.js → agent/orm/models/platformAgentMessage.js} +25 -25
  250. package/esm/agent/orm/models/platformAgentPersona.d.ts +54 -0
  251. package/esm/{admin/orm/models/appCapabilityDefault.js → agent/orm/models/platformAgentPersona.js} +25 -25
  252. package/esm/agent/orm/models/platformAgentPlan.d.ts +54 -0
  253. package/esm/agent/orm/models/platformAgentPlan.js +100 -0
  254. package/esm/agent/orm/models/platformAgentPrompt.d.ts +54 -0
  255. package/esm/agent/orm/models/platformAgentPrompt.js +100 -0
  256. package/esm/agent/orm/models/platformAgentResource.d.ts +54 -0
  257. package/esm/agent/orm/models/platformAgentResource.js +100 -0
  258. package/esm/agent/orm/models/platformAgentResourceChunk.d.ts +54 -0
  259. package/esm/agent/orm/models/platformAgentResourceChunk.js +100 -0
  260. package/esm/agent/orm/models/platformAgentRun.d.ts +54 -0
  261. package/esm/{usage/orm/models/planSubscription.js → agent/orm/models/platformAgentRun.js} +25 -25
  262. package/esm/agent/orm/models/platformAgentRunWorkspace.d.ts +54 -0
  263. package/esm/agent/orm/models/platformAgentRunWorkspace.js +100 -0
  264. package/esm/agent/orm/models/platformAgentTask.d.ts +54 -0
  265. package/esm/agent/orm/models/platformAgentTask.js +100 -0
  266. package/esm/agent/orm/models/platformAgentThread.d.ts +54 -0
  267. package/esm/agent/orm/models/platformAgentThread.js +100 -0
  268. package/esm/agent/orm/mutation/index.d.ts +5 -4
  269. package/esm/api/orm/index.d.ts +177 -22
  270. package/esm/api/orm/index.js +16 -6
  271. package/esm/api/orm/input-types.d.ts +2520 -1059
  272. package/esm/api/orm/input-types.js +7 -4
  273. package/esm/api/orm/models/astMigration.d.ts +36 -0
  274. package/esm/api/orm/models/astMigration.js +76 -0
  275. package/esm/api/orm/models/getSitePreviewsRecord.d.ts +30 -0
  276. package/esm/api/orm/models/getSitePreviewsRecord.js +55 -0
  277. package/esm/api/orm/models/identityProviderRegistry.d.ts +54 -0
  278. package/esm/api/orm/models/identityProviderRegistry.js +100 -0
  279. package/esm/api/orm/models/index.d.ts +8 -3
  280. package/esm/api/orm/models/index.js +8 -3
  281. package/esm/api/orm/models/platformGetSitePreviewsRecord.d.ts +30 -0
  282. package/esm/api/orm/models/platformGetSitePreviewsRecord.js +55 -0
  283. package/esm/api/orm/models/platformSiteRelease.d.ts +54 -0
  284. package/esm/api/orm/models/platformSiteRelease.js +100 -0
  285. package/esm/api/orm/models/redirect.d.ts +54 -0
  286. package/esm/api/orm/models/redirect.js +100 -0
  287. package/esm/api/orm/models/siteRelease.d.ts +54 -0
  288. package/esm/{usage/orm/models/planPricing.js → api/orm/models/siteRelease.js} +25 -25
  289. package/esm/api/orm/models/sqlAction.d.ts +36 -0
  290. package/esm/api/orm/models/sqlAction.js +76 -0
  291. package/esm/api/orm/mutation/index.d.ts +170 -24
  292. package/esm/api/orm/mutation/index.js +240 -24
  293. package/esm/api/orm/query/index.d.ts +107 -11
  294. package/esm/api/orm/query/index.js +177 -13
  295. package/esm/auth/orm/index.d.ts +104 -0
  296. package/esm/auth/orm/index.js +4 -0
  297. package/esm/auth/orm/input-types.d.ts +1017 -238
  298. package/esm/auth/orm/input-types.js +1 -0
  299. package/esm/auth/orm/models/index.d.ts +2 -0
  300. package/esm/auth/orm/models/index.js +2 -0
  301. package/esm/auth/orm/models/principalEntity.d.ts +2 -20
  302. package/esm/auth/orm/models/principalEntity.js +1 -25
  303. package/esm/auth/orm/models/userSetting.d.ts +54 -0
  304. package/esm/auth/orm/models/userSetting.js +100 -0
  305. package/esm/auth/orm/models/userSettingsSecurity.d.ts +54 -0
  306. package/esm/{admin/orm/models/orgProfileCapability.js → auth/orm/models/userSettingsSecurity.js} +25 -25
  307. package/esm/auth/orm/mutation/index.d.ts +158 -5
  308. package/esm/auth/orm/mutation/index.js +228 -0
  309. package/esm/auth/orm/query/index.d.ts +6 -1
  310. package/esm/auth/orm/query/index.js +7 -0
  311. package/esm/compute/orm/index.d.ts +208 -0
  312. package/esm/compute/orm/index.js +98 -0
  313. package/esm/compute/orm/input-types.d.ts +23534 -8853
  314. package/esm/compute/orm/input-types.js +78 -0
  315. package/esm/compute/orm/models/build.d.ts +54 -0
  316. package/esm/{api/orm/models/app.js → compute/orm/models/build.js} +25 -25
  317. package/esm/compute/orm/models/buildStep.d.ts +56 -0
  318. package/esm/{api/orm/models/httpRoute.js → compute/orm/models/buildStep.js} +28 -25
  319. package/esm/compute/orm/models/builderBinding.d.ts +54 -0
  320. package/esm/{usage/orm/models/billingUsageSummary.js → compute/orm/models/builderBinding.js} +25 -25
  321. package/esm/compute/orm/models/databaseFunctionGraph.d.ts +54 -0
  322. package/esm/{admin/orm/models/orgProfileGrant.js → compute/orm/models/databaseFunctionGraph.js} +25 -25
  323. package/esm/compute/orm/models/databaseFunctionGraphExecution.d.ts +56 -0
  324. package/esm/compute/orm/models/databaseFunctionGraphExecution.js +103 -0
  325. package/esm/compute/orm/models/databaseFunctionGraphExecutionNodeState.d.ts +56 -0
  326. package/esm/compute/orm/models/databaseFunctionGraphExecutionNodeState.js +103 -0
  327. package/esm/compute/orm/models/databaseFunctionGraphExecutionOutput.d.ts +56 -0
  328. package/esm/compute/orm/models/databaseFunctionGraphExecutionOutput.js +103 -0
  329. package/esm/compute/orm/models/databaseGraphCommit.d.ts +56 -0
  330. package/esm/{usage/orm/models/appLevelRequirement.js → compute/orm/models/databaseGraphCommit.js} +28 -25
  331. package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +30 -0
  332. package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +55 -0
  333. package/esm/compute/orm/models/databaseGraphObject.d.ts +56 -0
  334. package/esm/compute/orm/models/databaseGraphObject.js +93 -0
  335. package/esm/compute/orm/models/databaseGraphRef.d.ts +56 -0
  336. package/esm/{usage/orm/models/appEvent.js → compute/orm/models/databaseGraphRef.js} +27 -27
  337. package/esm/compute/orm/models/databaseGraphStore.d.ts +54 -0
  338. package/esm/{admin/orm/models/orgProfileTemplate.js → compute/orm/models/databaseGraphStore.js} +25 -25
  339. package/esm/compute/orm/models/image.d.ts +54 -0
  340. package/esm/compute/orm/models/image.js +100 -0
  341. package/esm/compute/orm/models/imageGrant.d.ts +54 -0
  342. package/esm/{admin/orm/models/orgProfile.js → compute/orm/models/imageGrant.js} +25 -25
  343. package/esm/compute/orm/models/index.d.ts +49 -0
  344. package/esm/compute/orm/models/index.js +49 -0
  345. package/esm/compute/orm/models/platformBuild.d.ts +54 -0
  346. package/esm/compute/orm/models/platformBuild.js +100 -0
  347. package/esm/compute/orm/models/platformBuildStep.d.ts +56 -0
  348. package/esm/compute/orm/models/platformBuildStep.js +103 -0
  349. package/esm/compute/orm/models/platformBuilderBinding.d.ts +54 -0
  350. package/esm/compute/orm/models/platformBuilderBinding.js +100 -0
  351. package/esm/compute/orm/models/platformImage.d.ts +54 -0
  352. package/esm/compute/orm/models/platformImage.js +100 -0
  353. package/esm/compute/orm/models/platformImageGrant.d.ts +54 -0
  354. package/esm/compute/orm/models/platformImageGrant.js +100 -0
  355. package/esm/compute/orm/models/platformK8sResourceKind.d.ts +54 -0
  356. package/esm/compute/orm/models/platformK8sResourceKind.js +100 -0
  357. package/esm/compute/orm/models/platformK8sSpecRule.d.ts +54 -0
  358. package/esm/compute/orm/models/platformK8sSpecRule.js +100 -0
  359. package/esm/compute/orm/models/platformProposal.d.ts +54 -0
  360. package/esm/compute/orm/models/platformProposal.js +100 -0
  361. package/esm/compute/orm/models/platformProposalComment.d.ts +54 -0
  362. package/esm/compute/orm/models/platformProposalComment.js +100 -0
  363. package/esm/compute/orm/models/platformProposalFileView.d.ts +54 -0
  364. package/esm/compute/orm/models/platformProposalFileView.js +100 -0
  365. package/esm/compute/orm/models/platformProposalReaction.d.ts +54 -0
  366. package/esm/compute/orm/models/platformProposalReaction.js +100 -0
  367. package/esm/compute/orm/models/platformProposalReview.d.ts +54 -0
  368. package/esm/compute/orm/models/platformProposalReview.js +100 -0
  369. package/esm/compute/orm/models/platformProposalsChunk.d.ts +54 -0
  370. package/esm/compute/orm/models/platformProposalsChunk.js +100 -0
  371. package/esm/compute/orm/models/platformRegistry.d.ts +54 -0
  372. package/esm/compute/orm/models/platformRegistry.js +100 -0
  373. package/esm/compute/orm/models/platformRegistryBinding.d.ts +54 -0
  374. package/esm/compute/orm/models/platformRegistryBinding.js +100 -0
  375. package/esm/compute/orm/models/platformRegistryGrant.d.ts +54 -0
  376. package/esm/compute/orm/models/platformRegistryGrant.js +100 -0
  377. package/esm/compute/orm/models/platformRepository.d.ts +54 -0
  378. package/esm/compute/orm/models/platformRepository.js +100 -0
  379. package/esm/compute/orm/models/platformRepositoryEvent.d.ts +54 -0
  380. package/esm/compute/orm/models/platformRepositoryEvent.js +100 -0
  381. package/esm/compute/orm/models/platformRepositoryRequiredCheck.d.ts +54 -0
  382. package/esm/compute/orm/models/platformRepositoryRequiredCheck.js +100 -0
  383. package/esm/compute/orm/models/platformRepositoryWorkflow.d.ts +54 -0
  384. package/esm/compute/orm/models/platformRepositoryWorkflow.js +100 -0
  385. package/esm/compute/orm/models/platformResourceObservedStorage.d.ts +30 -0
  386. package/esm/compute/orm/models/platformResourceObservedStorage.js +55 -0
  387. package/esm/compute/orm/models/proposal.d.ts +54 -0
  388. package/esm/{usage/orm/models/planCap.js → compute/orm/models/proposal.js} +25 -25
  389. package/esm/compute/orm/models/proposalComment.d.ts +54 -0
  390. package/esm/compute/orm/models/proposalComment.js +100 -0
  391. package/esm/compute/orm/models/proposalFileView.d.ts +54 -0
  392. package/esm/compute/orm/models/proposalFileView.js +100 -0
  393. package/esm/compute/orm/models/proposalReaction.d.ts +54 -0
  394. package/esm/compute/orm/models/proposalReaction.js +100 -0
  395. package/esm/compute/orm/models/proposalReview.d.ts +54 -0
  396. package/esm/compute/orm/models/proposalReview.js +100 -0
  397. package/esm/compute/orm/models/proposalsChunk.d.ts +54 -0
  398. package/esm/compute/orm/models/proposalsChunk.js +100 -0
  399. package/esm/compute/orm/models/registry.d.ts +54 -0
  400. package/esm/compute/orm/models/registry.js +100 -0
  401. package/esm/compute/orm/models/registryBinding.d.ts +54 -0
  402. package/esm/{modules/orm/models/httpRouteModule.js → compute/orm/models/registryBinding.js} +25 -25
  403. package/esm/compute/orm/models/registryGrant.d.ts +54 -0
  404. package/esm/{usage/orm/models/appLevelGrant.js → compute/orm/models/registryGrant.js} +25 -25
  405. package/esm/compute/orm/models/repository.d.ts +54 -0
  406. package/esm/{usage/orm/models/ledger.js → compute/orm/models/repository.js} +25 -28
  407. package/esm/compute/orm/models/repositoryEvent.d.ts +54 -0
  408. package/esm/{admin/orm/models/appProfileGrant.js → compute/orm/models/repositoryEvent.js} +25 -25
  409. package/esm/compute/orm/models/repositoryRequiredCheck.d.ts +54 -0
  410. package/esm/{modules/orm/models/configSecretsUserModule.js → compute/orm/models/repositoryRequiredCheck.js} +25 -25
  411. package/esm/compute/orm/models/repositoryWorkflow.d.ts +54 -0
  412. package/esm/{admin/orm/models/appProfileTemplate.js → compute/orm/models/repositoryWorkflow.js} +25 -25
  413. package/esm/compute/orm/models/resourceObservedStorage.d.ts +30 -0
  414. package/esm/compute/orm/models/resourceObservedStorage.js +55 -0
  415. package/esm/compute/orm/mutation/index.d.ts +174 -5
  416. package/esm/compute/orm/mutation/index.js +252 -0
  417. package/esm/compute/orm/query/index.d.ts +8 -0
  418. package/esm/compute/orm/query/index.js +12 -0
  419. package/esm/config/orm/index.d.ts +48 -0
  420. package/esm/config/orm/index.js +8 -0
  421. package/esm/config/orm/input-types.d.ts +711 -41
  422. package/esm/config/orm/models/appInternalSecret.d.ts +36 -0
  423. package/esm/config/orm/models/appInternalSecret.js +76 -0
  424. package/esm/config/orm/models/index.d.ts +4 -0
  425. package/esm/config/orm/models/index.js +4 -0
  426. package/esm/config/orm/models/internalConfig.d.ts +54 -0
  427. package/esm/config/orm/models/internalConfig.js +100 -0
  428. package/esm/config/orm/models/internalSecret.d.ts +36 -0
  429. package/esm/config/orm/models/internalSecret.js +76 -0
  430. package/esm/config/orm/models/platformInternalConfig.d.ts +54 -0
  431. package/esm/config/orm/models/platformInternalConfig.js +100 -0
  432. package/esm/config/orm/mutation/index.d.ts +70 -5
  433. package/esm/config/orm/mutation/index.js +96 -0
  434. package/esm/index.d.ts +2 -0
  435. package/esm/index.js +2 -0
  436. package/esm/infra/orm/index.d.ts +17 -0
  437. package/esm/infra/orm/index.js +2 -0
  438. package/esm/infra/orm/input-types.d.ts +297 -36
  439. package/esm/infra/orm/models/contentPreset.d.ts +54 -0
  440. package/esm/{admin/orm/models/appCapability.js → infra/orm/models/contentPreset.js} +25 -25
  441. package/esm/infra/orm/models/index.d.ts +1 -0
  442. package/esm/infra/orm/models/index.js +1 -0
  443. package/esm/infra/orm/mutation/index.d.ts +30 -5
  444. package/esm/infra/orm/mutation/index.js +36 -0
  445. package/esm/modules/orm/index.d.ts +14 -4
  446. package/esm/modules/orm/index.js +14 -4
  447. package/esm/modules/orm/input-types.d.ts +2752 -747
  448. package/esm/modules/orm/input-types.js +1 -5
  449. package/esm/modules/orm/models/clusterModule.d.ts +54 -0
  450. package/esm/{admin/orm/models/orgCapability.js → modules/orm/models/clusterModule.js} +25 -25
  451. package/esm/modules/orm/models/imageModule.d.ts +54 -0
  452. package/esm/modules/orm/models/imageModule.js +100 -0
  453. package/esm/modules/orm/models/index.d.ts +7 -2
  454. package/esm/modules/orm/models/index.js +7 -2
  455. package/esm/modules/orm/models/internalConfigModule.d.ts +54 -0
  456. package/esm/{admin/orm/models/orgMembershipProfile.js → modules/orm/models/internalConfigModule.js} +25 -25
  457. package/esm/modules/orm/models/k8sAdmissionModule.d.ts +54 -0
  458. package/esm/modules/orm/models/k8sAdmissionModule.js +100 -0
  459. package/esm/modules/orm/models/machineModule.d.ts +54 -0
  460. package/esm/{usage/orm/models/meterCredit.js → modules/orm/models/machineModule.js} +25 -25
  461. package/esm/modules/orm/models/refusalLogModule.d.ts +54 -0
  462. package/esm/modules/orm/models/refusalLogModule.js +100 -0
  463. package/esm/modules/orm/models/repositoryModule.d.ts +54 -0
  464. package/esm/modules/orm/models/repositoryModule.js +100 -0
  465. package/esm/modules/orm/mutation/index.d.ts +6 -5
  466. package/esm/objects/orm/input-types.d.ts +11 -18
  467. package/esm/objects/orm/mutation/index.d.ts +5 -4
  468. package/esm/remote/index.d.ts +5 -0
  469. package/esm/remote/index.js +5 -0
  470. package/esm/remote/orm/client.d.ts +97 -0
  471. package/esm/remote/orm/client.js +155 -0
  472. package/esm/remote/orm/index.d.ts +50 -0
  473. package/esm/remote/orm/index.js +47 -0
  474. package/esm/remote/orm/input-types.d.ts +1482 -0
  475. package/esm/remote/orm/input-types.js +9 -0
  476. package/esm/remote/orm/models/index.d.ts +8 -0
  477. package/esm/remote/orm/models/index.js +8 -0
  478. package/esm/remote/orm/models/machine.d.ts +54 -0
  479. package/esm/{usage/orm/models/meter.js → remote/orm/models/machine.js} +25 -25
  480. package/esm/remote/orm/models/machineMessage.d.ts +56 -0
  481. package/esm/{usage/orm/models/meterDefault.js → remote/orm/models/machineMessage.js} +28 -25
  482. package/esm/remote/orm/models/machineSession.d.ts +54 -0
  483. package/esm/{usage/orm/models/meterSource.js → remote/orm/models/machineSession.js} +25 -25
  484. package/esm/remote/orm/mutation/index.d.ts +35 -0
  485. package/esm/remote/orm/mutation/index.js +30 -0
  486. package/esm/remote/orm/query-builder.d.ts +110 -0
  487. package/esm/remote/orm/query-builder.js +705 -0
  488. package/esm/remote/orm/realtime.d.ts +142 -0
  489. package/esm/remote/orm/realtime.js +100 -0
  490. package/esm/remote/orm/select-types.d.ts +125 -0
  491. package/esm/remote/orm/select-types.js +1 -0
  492. package/esm/remote/orm/types.d.ts +6 -0
  493. package/esm/remote/orm/types.js +7 -0
  494. package/esm/storage/index.d.ts +5 -0
  495. package/esm/storage/index.js +5 -0
  496. package/esm/storage/orm/client.d.ts +97 -0
  497. package/esm/storage/orm/client.js +155 -0
  498. package/esm/storage/orm/index.d.ts +77 -0
  499. package/esm/storage/orm/index.js +49 -0
  500. package/esm/storage/orm/input-types.d.ts +2076 -0
  501. package/esm/storage/orm/input-types.js +11 -0
  502. package/esm/storage/orm/models/bucket.d.ts +54 -0
  503. package/esm/storage/orm/models/bucket.js +100 -0
  504. package/esm/storage/orm/models/file.d.ts +54 -0
  505. package/esm/{usage/orm/models/plan.js → storage/orm/models/file.js} +25 -25
  506. package/esm/storage/orm/models/index.d.ts +9 -0
  507. package/esm/storage/orm/models/index.js +9 -0
  508. package/esm/storage/orm/models/platformBucket.d.ts +54 -0
  509. package/esm/{usage/orm/models/planMeterLimit.js → storage/orm/models/platformBucket.js} +25 -25
  510. package/esm/storage/orm/models/platformFile.d.ts +54 -0
  511. package/esm/{usage/orm/models/planOverride.js → storage/orm/models/platformFile.js} +25 -25
  512. package/esm/storage/orm/mutation/index.d.ts +91 -0
  513. package/esm/storage/orm/mutation/index.js +90 -0
  514. package/esm/storage/orm/query-builder.d.ts +110 -0
  515. package/esm/storage/orm/query-builder.js +705 -0
  516. package/esm/storage/orm/realtime.d.ts +142 -0
  517. package/esm/storage/orm/realtime.js +100 -0
  518. package/esm/storage/orm/select-types.d.ts +125 -0
  519. package/esm/storage/orm/select-types.js +1 -0
  520. package/esm/storage/orm/types.d.ts +6 -0
  521. package/esm/storage/orm/types.js +7 -0
  522. package/esm/usage/orm/index.d.ts +0 -85
  523. package/esm/usage/orm/index.js +0 -40
  524. package/esm/usage/orm/input-types.d.ts +130 -3767
  525. package/esm/usage/orm/input-types.js +0 -10
  526. package/esm/usage/orm/models/index.d.ts +0 -20
  527. package/esm/usage/orm/models/index.js +0 -20
  528. package/esm/usage/orm/mutation/index.d.ts +6 -53
  529. package/esm/usage/orm/mutation/index.js +0 -72
  530. package/esm/usage/orm/query/index.d.ts +0 -33
  531. package/esm/usage/orm/query/index.js +0 -51
  532. package/index.d.ts +2 -0
  533. package/index.js +3 -1
  534. package/infra/orm/index.d.ts +17 -0
  535. package/infra/orm/index.js +2 -0
  536. package/infra/orm/input-types.d.ts +297 -36
  537. package/infra/orm/models/contentPreset.d.ts +54 -0
  538. package/infra/orm/models/contentPreset.js +104 -0
  539. package/infra/orm/models/index.d.ts +1 -0
  540. package/infra/orm/models/index.js +3 -1
  541. package/infra/orm/mutation/index.d.ts +30 -5
  542. package/infra/orm/mutation/index.js +36 -0
  543. package/modules/orm/index.d.ts +14 -4
  544. package/modules/orm/index.js +14 -4
  545. package/modules/orm/input-types.d.ts +2752 -747
  546. package/modules/orm/input-types.js +1 -5
  547. package/modules/orm/models/clusterModule.d.ts +54 -0
  548. package/modules/orm/models/clusterModule.js +104 -0
  549. package/modules/orm/models/imageModule.d.ts +54 -0
  550. package/{usage/orm/models/planPricing.js → modules/orm/models/imageModule.js} +27 -27
  551. package/modules/orm/models/index.d.ts +7 -2
  552. package/modules/orm/models/index.js +16 -6
  553. package/modules/orm/models/internalConfigModule.d.ts +54 -0
  554. package/{admin/orm/models/orgMembershipProfile.js → modules/orm/models/internalConfigModule.js} +27 -27
  555. package/modules/orm/models/k8sAdmissionModule.d.ts +54 -0
  556. package/modules/orm/models/k8sAdmissionModule.js +104 -0
  557. package/modules/orm/models/machineModule.d.ts +54 -0
  558. package/modules/orm/models/machineModule.js +104 -0
  559. package/modules/orm/models/refusalLogModule.d.ts +54 -0
  560. package/modules/orm/models/refusalLogModule.js +104 -0
  561. package/modules/orm/models/repositoryModule.d.ts +54 -0
  562. package/modules/orm/models/repositoryModule.js +104 -0
  563. package/modules/orm/mutation/index.d.ts +6 -5
  564. package/objects/orm/input-types.d.ts +11 -18
  565. package/objects/orm/mutation/index.d.ts +5 -4
  566. package/package.json +5 -5
  567. package/remote/index.d.ts +5 -0
  568. package/remote/index.js +21 -0
  569. package/remote/orm/client.d.ts +97 -0
  570. package/remote/orm/client.js +162 -0
  571. package/remote/orm/index.d.ts +50 -0
  572. package/remote/orm/index.js +69 -0
  573. package/remote/orm/input-types.d.ts +1482 -0
  574. package/remote/orm/input-types.js +12 -0
  575. package/remote/orm/models/index.d.ts +8 -0
  576. package/remote/orm/models/index.js +14 -0
  577. package/remote/orm/models/machine.d.ts +54 -0
  578. package/{usage/orm/models/planCap.js → remote/orm/models/machine.js} +27 -27
  579. package/remote/orm/models/machineMessage.d.ts +56 -0
  580. package/remote/orm/models/machineMessage.js +107 -0
  581. package/remote/orm/models/machineSession.d.ts +54 -0
  582. package/{usage/orm/models/meterDefault.js → remote/orm/models/machineSession.js} +27 -27
  583. package/remote/orm/mutation/index.d.ts +35 -0
  584. package/remote/orm/mutation/index.js +33 -0
  585. package/remote/orm/query-builder.d.ts +110 -0
  586. package/remote/orm/query-builder.js +757 -0
  587. package/remote/orm/realtime.d.ts +142 -0
  588. package/remote/orm/realtime.js +104 -0
  589. package/remote/orm/select-types.d.ts +125 -0
  590. package/remote/orm/select-types.js +2 -0
  591. package/remote/orm/types.d.ts +6 -0
  592. package/remote/orm/types.js +23 -0
  593. package/storage/index.d.ts +5 -0
  594. package/storage/index.js +21 -0
  595. package/storage/orm/client.d.ts +97 -0
  596. package/storage/orm/client.js +162 -0
  597. package/storage/orm/index.d.ts +77 -0
  598. package/storage/orm/index.js +71 -0
  599. package/storage/orm/input-types.d.ts +2076 -0
  600. package/storage/orm/input-types.js +14 -0
  601. package/storage/orm/models/bucket.d.ts +54 -0
  602. package/{usage/orm/models/ledger.js → storage/orm/models/bucket.js} +27 -30
  603. package/storage/orm/models/file.d.ts +54 -0
  604. package/{usage/orm/models/plan.js → storage/orm/models/file.js} +27 -27
  605. package/storage/orm/models/index.d.ts +9 -0
  606. package/storage/orm/models/index.js +16 -0
  607. package/storage/orm/models/platformBucket.d.ts +54 -0
  608. package/storage/orm/models/platformBucket.js +104 -0
  609. package/storage/orm/models/platformFile.d.ts +54 -0
  610. package/{api/orm/models/appComponent.js → storage/orm/models/platformFile.js} +27 -27
  611. package/storage/orm/mutation/index.d.ts +91 -0
  612. package/storage/orm/mutation/index.js +93 -0
  613. package/storage/orm/query-builder.d.ts +110 -0
  614. package/storage/orm/query-builder.js +757 -0
  615. package/storage/orm/realtime.d.ts +142 -0
  616. package/storage/orm/realtime.js +104 -0
  617. package/storage/orm/select-types.d.ts +125 -0
  618. package/storage/orm/select-types.js +2 -0
  619. package/storage/orm/types.d.ts +6 -0
  620. package/storage/orm/types.js +23 -0
  621. package/usage/orm/index.d.ts +0 -85
  622. package/usage/orm/index.js +0 -40
  623. package/usage/orm/input-types.d.ts +130 -3767
  624. package/usage/orm/input-types.js +0 -10
  625. package/usage/orm/models/index.d.ts +0 -20
  626. package/usage/orm/models/index.js +1 -41
  627. package/usage/orm/mutation/index.d.ts +6 -53
  628. package/usage/orm/mutation/index.js +0 -72
  629. package/usage/orm/query/index.d.ts +0 -33
  630. package/usage/orm/query/index.js +0 -51
  631. package/admin/orm/models/appCapability.d.ts +0 -54
  632. package/admin/orm/models/appCapabilityDefault.d.ts +0 -54
  633. package/admin/orm/models/appMembershipProfile.d.ts +0 -54
  634. package/admin/orm/models/appProfile.d.ts +0 -54
  635. package/admin/orm/models/appProfileCapability.d.ts +0 -54
  636. package/admin/orm/models/appProfileDefinitionGrant.d.ts +0 -54
  637. package/admin/orm/models/appProfileGrant.d.ts +0 -54
  638. package/admin/orm/models/appProfileTemplate.d.ts +0 -54
  639. package/admin/orm/models/orgCapability.d.ts +0 -54
  640. package/admin/orm/models/orgCapabilityDefault.d.ts +0 -54
  641. package/admin/orm/models/orgMembershipProfile.d.ts +0 -54
  642. package/admin/orm/models/orgProfile.d.ts +0 -54
  643. package/admin/orm/models/orgProfileCapability.d.ts +0 -54
  644. package/admin/orm/models/orgProfileCapability.js +0 -104
  645. package/admin/orm/models/orgProfileDefinitionGrant.d.ts +0 -54
  646. package/admin/orm/models/orgProfileDefinitionGrant.js +0 -104
  647. package/admin/orm/models/orgProfileGrant.d.ts +0 -54
  648. package/admin/orm/models/orgProfileTemplate.d.ts +0 -54
  649. package/api/orm/models/app.d.ts +0 -54
  650. package/api/orm/models/appComponent.d.ts +0 -54
  651. package/api/orm/models/httpRoute.d.ts +0 -54
  652. package/esm/admin/orm/models/appCapability.d.ts +0 -54
  653. package/esm/admin/orm/models/appCapabilityDefault.d.ts +0 -54
  654. package/esm/admin/orm/models/appMembershipProfile.d.ts +0 -54
  655. package/esm/admin/orm/models/appProfile.d.ts +0 -54
  656. package/esm/admin/orm/models/appProfileCapability.d.ts +0 -54
  657. package/esm/admin/orm/models/appProfileCapability.js +0 -100
  658. package/esm/admin/orm/models/appProfileDefinitionGrant.d.ts +0 -54
  659. package/esm/admin/orm/models/appProfileDefinitionGrant.js +0 -100
  660. package/esm/admin/orm/models/appProfileGrant.d.ts +0 -54
  661. package/esm/admin/orm/models/appProfileTemplate.d.ts +0 -54
  662. package/esm/admin/orm/models/orgCapability.d.ts +0 -54
  663. package/esm/admin/orm/models/orgCapabilityDefault.d.ts +0 -54
  664. package/esm/admin/orm/models/orgCapabilityDefault.js +0 -100
  665. package/esm/admin/orm/models/orgMembershipProfile.d.ts +0 -54
  666. package/esm/admin/orm/models/orgProfile.d.ts +0 -54
  667. package/esm/admin/orm/models/orgProfileCapability.d.ts +0 -54
  668. package/esm/admin/orm/models/orgProfileDefinitionGrant.d.ts +0 -54
  669. package/esm/admin/orm/models/orgProfileDefinitionGrant.js +0 -100
  670. package/esm/admin/orm/models/orgProfileGrant.d.ts +0 -54
  671. package/esm/admin/orm/models/orgProfileTemplate.d.ts +0 -54
  672. package/esm/api/orm/models/app.d.ts +0 -54
  673. package/esm/api/orm/models/appComponent.d.ts +0 -54
  674. package/esm/api/orm/models/appComponent.js +0 -100
  675. package/esm/api/orm/models/httpRoute.d.ts +0 -54
  676. package/esm/modules/orm/models/configSecretsUserModule.d.ts +0 -54
  677. package/esm/modules/orm/models/httpRouteModule.d.ts +0 -54
  678. package/esm/usage/orm/models/appAchievementReward.d.ts +0 -54
  679. package/esm/usage/orm/models/appAchievementReward.js +0 -100
  680. package/esm/usage/orm/models/appEvent.d.ts +0 -56
  681. package/esm/usage/orm/models/appEventAggregate.d.ts +0 -54
  682. package/esm/usage/orm/models/appEventType.d.ts +0 -54
  683. package/esm/usage/orm/models/appEventType.js +0 -100
  684. package/esm/usage/orm/models/appLevel.d.ts +0 -54
  685. package/esm/usage/orm/models/appLevelGrant.d.ts +0 -54
  686. package/esm/usage/orm/models/appLevelRequirement.d.ts +0 -54
  687. package/esm/usage/orm/models/billingUsageSummary.d.ts +0 -54
  688. package/esm/usage/orm/models/ledger.d.ts +0 -56
  689. package/esm/usage/orm/models/meter.d.ts +0 -54
  690. package/esm/usage/orm/models/meterCredit.d.ts +0 -54
  691. package/esm/usage/orm/models/meterDefault.d.ts +0 -54
  692. package/esm/usage/orm/models/meterSource.d.ts +0 -54
  693. package/esm/usage/orm/models/plan.d.ts +0 -54
  694. package/esm/usage/orm/models/planCap.d.ts +0 -54
  695. package/esm/usage/orm/models/planLimit.d.ts +0 -54
  696. package/esm/usage/orm/models/planMeterLimit.d.ts +0 -54
  697. package/esm/usage/orm/models/planOverride.d.ts +0 -54
  698. package/esm/usage/orm/models/planPricing.d.ts +0 -54
  699. package/esm/usage/orm/models/planSubscription.d.ts +0 -54
  700. package/modules/orm/models/configSecretsUserModule.d.ts +0 -54
  701. package/modules/orm/models/httpRouteModule.d.ts +0 -54
  702. package/usage/orm/models/appAchievementReward.d.ts +0 -54
  703. package/usage/orm/models/appAchievementReward.js +0 -104
  704. package/usage/orm/models/appEvent.d.ts +0 -56
  705. package/usage/orm/models/appEventAggregate.d.ts +0 -54
  706. package/usage/orm/models/appEventType.d.ts +0 -54
  707. package/usage/orm/models/appLevel.d.ts +0 -54
  708. package/usage/orm/models/appLevelGrant.d.ts +0 -54
  709. package/usage/orm/models/appLevelRequirement.d.ts +0 -54
  710. package/usage/orm/models/billingUsageSummary.d.ts +0 -54
  711. package/usage/orm/models/ledger.d.ts +0 -56
  712. package/usage/orm/models/meter.d.ts +0 -54
  713. package/usage/orm/models/meterCredit.d.ts +0 -54
  714. package/usage/orm/models/meterDefault.d.ts +0 -54
  715. package/usage/orm/models/meterSource.d.ts +0 -54
  716. package/usage/orm/models/plan.d.ts +0 -54
  717. package/usage/orm/models/planCap.d.ts +0 -54
  718. package/usage/orm/models/planLimit.d.ts +0 -54
  719. package/usage/orm/models/planMeterLimit.d.ts +0 -54
  720. package/usage/orm/models/planOverride.d.ts +0 -54
  721. package/usage/orm/models/planOverride.js +0 -104
  722. package/usage/orm/models/planPricing.d.ts +0 -54
  723. package/usage/orm/models/planSubscription.d.ts +0 -54
@@ -229,116 +229,6 @@ export interface UUIDListFilter {
229
229
  anyGreaterThan?: string;
230
230
  anyGreaterThanOrEqualTo?: string;
231
231
  }
232
- export type ConstructiveInternalTypeImage = unknown;
233
- /** Defines rewards granted when a level is achieved; supports limit_credits and meter_credits */
234
- export interface AppAchievementReward {
235
- /** Number of credits to grant; unused by capability rewards */
236
- amount?: number | null;
237
- createdAt?: string | null;
238
- /** Credit type: permanent, expiring, etc. */
239
- creditType?: string | null;
240
- /** Optional duration after which the granted credit expires; NULL means never expires */
241
- expiresInterval?: string | null;
242
- id: string;
243
- /** Name of the level this reward is granted for */
244
- levelName?: string | null;
245
- /** Type of reward: limit_credit, meter_credit, or capability */
246
- rewardType?: string | null;
247
- /** Target limit name, meter slug, or capability catalog name */
248
- targetName?: string | null;
249
- updatedAt?: string | null;
250
- }
251
- /** Aggregated user progress for level requirements, tallying the total count; updated via triggers and should not be modified manually */
252
- export interface AppEventAggregate {
253
- actorId?: string | null;
254
- /** Cumulative count of completed steps toward this requirement */
255
- count?: number | null;
256
- createdAt?: string | null;
257
- id: string;
258
- /** Name identifier of the level requirement being tracked */
259
- name?: string | null;
260
- /** Start of current counting period; NULL means lifetime counting */
261
- periodStart?: string | null;
262
- updatedAt?: string | null;
263
- }
264
- /** Partitioned append-only log of individual user actions; every single event ever recorded */
265
- export interface AppEvent {
266
- actorId?: string | null;
267
- /** Number of units completed in this step action */
268
- count?: number | null;
269
- createdAt?: string | null;
270
- /** Unique identifier for each event (uuidv7 provides temporal ordering) */
271
- id: string;
272
- /** Name identifier of the level requirement this step fulfills */
273
- name?: string | null;
274
- }
275
- /** Catalog of known event types with per-type configuration for aggregation, retention, and level participation */
276
- export interface AppEventType {
277
- /** Aggregation mode: count, sum, last_value, or none */
278
- aggregation?: string | null;
279
- /** Grouping category: onboarding, engagement, analytics, commerce, etc. */
280
- category?: string | null;
281
- createdAt?: string | null;
282
- /** Human-readable description of this event type */
283
- description?: string | null;
284
- /** Whether this event type participates in the levels/badge system by updating aggregates */
285
- feedsLevels?: boolean | null;
286
- id: string;
287
- /** Whether recording of this event type is enabled */
288
- isActive?: boolean | null;
289
- /** Unique name identifier for this event type */
290
- name?: string | null;
291
- /** Optional period for aggregate count reset; NULL means lifetime counting */
292
- periodInterval?: string | null;
293
- updatedAt?: string | null;
294
- }
295
- /** Defines available levels that users can achieve by completing requirements */
296
- export interface AppLevel {
297
- createdAt?: string | null;
298
- /** Human-readable description of what this level represents */
299
- description?: string | null;
300
- id: string;
301
- /** Badge or icon image associated with this level */
302
- image?: ConstructiveInternalTypeImage | null;
303
- /** Unique name of the level */
304
- name?: string | null;
305
- /** Optional owner (actor) who created or manages this level */
306
- ownerId?: string | null;
307
- updatedAt?: string | null;
308
- }
309
- /** Records when a user achieves a level; prevents duplicate reward grants */
310
- export interface AppLevelGrant {
311
- actorId?: string | null;
312
- createdAt?: string | null;
313
- /** When this grant lapses; NULL means it holds until revoked */
314
- expiresAt?: string | null;
315
- id: string;
316
- /** Name of the level that was achieved */
317
- levelName?: string | null;
318
- /** Period start for periodic achievements; -infinity for non-periodic (earn-once) */
319
- periodStart?: string | null;
320
- updatedAt?: string | null;
321
- }
322
- /** Defines the specific requirements that must be met to achieve a level */
323
- export interface AppLevelRequirement {
324
- createdAt?: string | null;
325
- /** Human-readable description of what this requirement entails */
326
- description?: string | null;
327
- /** Requirements of a level sharing this key satisfy it as alternatives; NULL requires this one on its own */
328
- groupKey?: string | null;
329
- id: string;
330
- /** Name of the level this requirement belongs to */
331
- level?: string | null;
332
- /** Computed signal to compare against required_count instead of an event count; currently only account_age_days */
333
- metric?: string | null;
334
- /** Name identifier of the requirement (matches step names) */
335
- name?: string | null;
336
- /** Display ordering priority; lower values appear first */
337
- priority?: number | null;
338
- /** Number of steps needed to satisfy this requirement */
339
- requiredCount?: number | null;
340
- updatedAt?: string | null;
341
- }
342
232
  /** Per-entity cap overrides. Allows specific orgs/entities to have different cap values than the scope default. */
343
233
  export interface AppLimitCap {
344
234
  /** Entity this cap override applies to */
@@ -485,134 +375,6 @@ export interface AppLimitWarning {
485
375
  /** Threshold type: absolute (fixed count) or percentage (of max) */
486
376
  warningType?: string | null;
487
377
  }
488
- /** Permanent monthly usage summary per entity per meter (user-facing billing dashboard) */
489
- export interface BillingUsageSummary {
490
- /** Universal credits consumed during this period */
491
- creditsConsumed?: string | null;
492
- /** The entity (org, team, user) this summary belongs to */
493
- entityId?: string | null;
494
- /** Entity type prefix (org, team, app, etc.) for interpreting entity_id */
495
- entityType?: string | null;
496
- id: string;
497
- /** Which meter this summary tracks */
498
- meterSlug?: string | null;
499
- /** Resolved billable organization via get_organization_id */
500
- organizationId?: string | null;
501
- /** Units consumed beyond the plan limit (quantity_used - plan_limit when positive) */
502
- overageUnits?: string | null;
503
- /** End of the billing period this summary covers */
504
- periodEnd?: string | null;
505
- /** Start of the billing period this summary covers */
506
- periodStart?: string | null;
507
- /** Plan limit that was in effect during this period */
508
- planLimit?: string | null;
509
- /** Total units consumed during this period */
510
- quantityUsed?: string | null;
511
- }
512
- /** Append-only event log for all billing events (usage, grants, adjustments) */
513
- export interface Ledger {
514
- createdAt?: string | null;
515
- /** Change amount (positive = grant/credit, negative = consumption/debit) */
516
- delta?: string | null;
517
- /** The entity this ledger entry belongs to */
518
- entityId?: string | null;
519
- /** Entity type prefix (org, team, app, etc.) for interpreting entity_id */
520
- entityType?: string | null;
521
- /** Specific type: increment, decrement, credit_purchase, plan_grant, reset, adjustment */
522
- entryType?: string | null;
523
- /** Unique identifier for each ledger entry */
524
- id: string;
525
- /** Classification: usage, grant, adjustment, refund */
526
- ledgerClass?: string | null;
527
- /** Additional context (reason, source, Stripe receipt, etc.) */
528
- metadata?: Record<string, unknown> | null;
529
- /** Which meter this entry is for */
530
- meterSlug?: string | null;
531
- /** Resolved billable organization via get_organization_id */
532
- organizationId?: string | null;
533
- /** Running total of usage after this entry */
534
- usageAfter?: string | null;
535
- }
536
- /** Defines billable meters (what to track: quotas, feature flags, credit pools) */
537
- export interface Meter {
538
- /** How usage is aggregated: cumulative (sum over period) or peak (max watermark) */
539
- aggregation?: string | null;
540
- /** Slug of the category pool meter this meter belongs to. When set, usage overflow charges the category pool before falling through to universal credits. NULL means skip category pool and fall through directly to universal. */
541
- categoryMeter?: string | null;
542
- /** Universal credits consumed per unit of this meter. NULL disables universal credit fallback. */
543
- creditCost?: number | null;
544
- /** Human-readable name for the meter */
545
- displayName?: string | null;
546
- id: string;
547
- /** Whether this meter is currently active */
548
- isActive?: boolean | null;
549
- /** Type of meter: quota (consumable), boolean (feature flag), or usage_pool (category aggregator) */
550
- meterType?: string | null;
551
- /** Reset cadence for this meter (e.g. 1 month, 1 year). NULL means no periodic reset. */
552
- periodInterval?: string | null;
553
- /** Maximum unused units that carry forward on rollover reset. NULL means unlimited rollover. */
554
- rolloverCap?: string | null;
555
- /** Unique identifier for the meter (e.g. api_requests, storage_gb, seats) */
556
- slug?: string | null;
557
- /** Unit of measurement for this meter (e.g. tokens, characters, audio_seconds, pages, images, megapixels, bytes, requests, compute_ms, credits) */
558
- unit?: string | null;
559
- }
560
- /** Append-only ledger of credit grants for billing meters that automatically update balances */
561
- export interface MeterCredit {
562
- /** Number of credits to grant (positive to add, negative to revoke) */
563
- amount?: string | null;
564
- /** When this credit was granted */
565
- createdAt?: string | null;
566
- /** Credit behavior: permanent (survives reset), period (zeroed on reset), or rollover (unused portion carries forward) */
567
- creditType?: string | null;
568
- /** Entity this credit applies to */
569
- entityId?: string | null;
570
- /** Membership prefix identifying the entity kind (org, team, app) */
571
- entityType?: string | null;
572
- /** When this credit expires. NULL means the credit never expires. */
573
- expiresAt?: string | null;
574
- id: string;
575
- /** FK to meters — which meter definition this credit applies to */
576
- meterId?: string | null;
577
- /** Resolved billable organization via get_organization_id */
578
- organizationId?: string | null;
579
- /** Optional reason for the credit grant (promo code, admin grant, etc.) */
580
- reason?: string | null;
581
- }
582
- /** Default meter catalog: defines which meters are available and their default plan_limit values for new entities */
583
- export interface MeterDefault {
584
- /** Slug of the category pool meter (usage_pool) this meter belongs to, enabling the per-task -> category -> universal waterfall for default-provisioned meters. NULL skips the category pool. */
585
- categoryMeter?: string | null;
586
- /** Universal credits consumed per unit of this meter. NULL disables universal credit fallback. */
587
- creditCost?: string | null;
588
- /** Default plan_limit value for new entity balances. 0 means no quota; -1 (negative) means unlimited. */
589
- defaultPlanLimit?: string | null;
590
- /** Human-readable name for the default meter */
591
- displayName?: string | null;
592
- id: string;
593
- /** Whether this default meter is actively provisioned for new entities */
594
- isActive?: boolean | null;
595
- /** Type of meter: quota, boolean, or usage_pool */
596
- meterType?: string | null;
597
- /** Meter slug that matches the slug in the meters table */
598
- slug?: string | null;
599
- /** Unit of measurement for this meter (e.g. tokens, requests, images, compute_ms, credits) */
600
- unit?: string | null;
601
- }
602
- /** Maps billing meters to typed usage summary table columns for automated usage reconciliation. Each row tells reconcile_typed_usage() which column to aggregate and how. */
603
- export interface MeterSource {
604
- /** How to aggregate the column. Built-in types: sum, sum_bytes_to_gb, peak. Custom types supported. */
605
- aggregationType?: string | null;
606
- /** Column name in the typed usage summary table (e.g. total_reads, avg_read_time_ms, size_bytes) */
607
- dimensionPath?: string | null;
608
- id: string;
609
- /** Soft-delete flag. Inactive sources are skipped during reconciliation. */
610
- isActive?: boolean | null;
611
- /** Slug of the billing meter this source feeds (matches meters.slug in the billing module) */
612
- meterSlug?: string | null;
613
- /** Source table type: table_usage (db_table_stats_usage_summary), query_time (db_query_stats_usage_summary), or row_count (trigger-based, skipped by reconcile) */
614
- sourceMetric?: string | null;
615
- }
616
378
  /** Tracks aggregate entity-level usage counts (org-wide caps, no per-user breakdown) */
617
379
  export interface OrgLimitAggregate {
618
380
  /** Entity (org) whose aggregate usage is being tracked */
@@ -762,94 +524,6 @@ export interface OrgLimitWarning {
762
524
  /** Threshold type: absolute (fixed count) or percentage (of max) */
763
525
  warningType?: string | null;
764
526
  }
765
- /** Maps each plan to feature flag cap values (written to limit_caps when plan is applied) */
766
- export interface PlanCap {
767
- /** Name of the cap/feature flag this plan sets (must match a name in caps_defaults or limit_caps) */
768
- capName?: string | null;
769
- /** Cap value to set when this plan is applied. Convention: 0=disabled, 1=enabled, N=numeric cap, negative=unlimited */
770
- capValue?: string | null;
771
- id: string;
772
- /** Reference to the plan this cap setting belongs to */
773
- planId?: string | null;
774
- }
775
- /** Defines plan tiers with named limit configurations */
776
- export interface Plan {
777
- /** Human-readable description of the plan tier */
778
- description?: string | null;
779
- id: string;
780
- /** Whether this plan can currently be applied to entities */
781
- isActive?: boolean | null;
782
- /** Unique name identifier of the plan (e.g. free, pro, enterprise) */
783
- name?: string | null;
784
- }
785
- /** Maps each plan to specific limit names and their maximum allowed values */
786
- export interface PlanLimit {
787
- id: string;
788
- /** Name of the limit this plan sets (must match the name field in a limits table) */
789
- limitName?: string | null;
790
- /** Maximum value to set on the limit when this plan is applied; negative means unlimited */
791
- maxValue?: string | null;
792
- /** Reference to the plan this limit configuration belongs to */
793
- planId?: string | null;
794
- }
795
- /** Maps each plan to billing meter quotas (plan_limit values written to balances when plan is applied) */
796
- export interface PlanMeterLimit {
797
- id: string;
798
- /** Slug of the billing meter this plan sets a quota for (must match a slug in the meters table) */
799
- meterSlug?: string | null;
800
- /** Reference to the plan this meter limit belongs to */
801
- planId?: string | null;
802
- /** Billing quota to set on the balance when this plan is applied; negative means unlimited */
803
- planLimit?: string | null;
804
- }
805
- /** Per-entity limit overrides that take precedence over plan defaults */
806
- export interface PlanOverride {
807
- /** Entity receiving the custom override (personal org or actual org) */
808
- entityId?: string | null;
809
- /** When this override expires; NULL means permanent */
810
- expiresAt?: string | null;
811
- id: string;
812
- /** Name of the limit being overridden */
813
- limitName?: string | null;
814
- /** Override maximum value; negative means unlimited */
815
- maxValue?: string | null;
816
- /** Admin note explaining why this override was granted */
817
- reason?: string | null;
818
- }
819
- /** Billing intervals and pricing for each plan tier */
820
- export interface PlanPricing {
821
- /** Billing cycle identifier (e.g. monthly, yearly, lifetime) */
822
- billingInterval?: string | null;
823
- /** ISO 4217 currency code (lowercase) */
824
- currency?: string | null;
825
- /** Discount percentage off the base price (0-100); NULL means no discount */
826
- discountPercent?: string | null;
827
- id: string;
828
- /** Whether this pricing option is currently available */
829
- isActive?: boolean | null;
830
- /** Reference to the plan this pricing belongs to */
831
- planId?: string | null;
832
- /** Price in smallest currency unit (e.g. cents); negative means contact-sales */
833
- price?: string | null;
834
- }
835
- /** Assigns a plan to an entity with subscription lifecycle (start, end, active state) */
836
- export interface PlanSubscription {
837
- /** When the subscription expires (NULL = no expiration) */
838
- endsAt?: string | null;
839
- /** The entity (org, team, user) this subscription belongs to */
840
- entityId?: string | null;
841
- /** Membership prefix identifying the entity kind (org, team, app) */
842
- entityType?: string | null;
843
- id: string;
844
- /** Whether the subscription is currently active */
845
- isActive?: boolean | null;
846
- /** Resolved billable organization via get_organization_id */
847
- organizationId?: string | null;
848
- /** Reference to the plan this subscription is for */
849
- planId?: string | null;
850
- /** When the subscription becomes active */
851
- startsAt?: string | null;
852
- }
853
527
  export interface ConnectionResult<T> {
854
528
  nodes: T[];
855
529
  totalCount: number;
@@ -861,20 +535,6 @@ export interface PageInfo {
861
535
  startCursor?: string | null;
862
536
  endCursor?: string | null;
863
537
  }
864
- export interface AppAchievementRewardRelations {
865
- }
866
- export interface AppEventAggregateRelations {
867
- }
868
- export interface AppEventRelations {
869
- }
870
- export interface AppEventTypeRelations {
871
- }
872
- export interface AppLevelRelations {
873
- }
874
- export interface AppLevelGrantRelations {
875
- }
876
- export interface AppLevelRequirementRelations {
877
- }
878
538
  export interface AppLimitCapRelations {
879
539
  }
880
540
  export interface AppLimitCapsDefaultRelations {
@@ -903,20 +563,6 @@ export interface AppLimitEventRelations {
903
563
  }
904
564
  export interface AppLimitWarningRelations {
905
565
  }
906
- export interface BillingUsageSummaryRelations {
907
- }
908
- export interface LedgerRelations {
909
- }
910
- export interface MeterRelations {
911
- meterCredits?: ConnectionResult<MeterCredit>;
912
- }
913
- export interface MeterCreditRelations {
914
- meter?: Meter | null;
915
- }
916
- export interface MeterDefaultRelations {
917
- }
918
- export interface MeterSourceRelations {
919
- }
920
566
  export interface OrgLimitAggregateRelations {
921
567
  }
922
568
  export interface OrgLimitCapRelations {
@@ -935,37 +581,6 @@ export interface OrgLimitEventRelations {
935
581
  }
936
582
  export interface OrgLimitWarningRelations {
937
583
  }
938
- export interface PlanCapRelations {
939
- plan?: Plan | null;
940
- }
941
- export interface PlanRelations {
942
- planCaps?: ConnectionResult<PlanCap>;
943
- planLimits?: ConnectionResult<PlanLimit>;
944
- planMeterLimits?: ConnectionResult<PlanMeterLimit>;
945
- planPricings?: ConnectionResult<PlanPricing>;
946
- planSubscriptions?: ConnectionResult<PlanSubscription>;
947
- }
948
- export interface PlanLimitRelations {
949
- plan?: Plan | null;
950
- }
951
- export interface PlanMeterLimitRelations {
952
- plan?: Plan | null;
953
- }
954
- export interface PlanOverrideRelations {
955
- }
956
- export interface PlanPricingRelations {
957
- plan?: Plan | null;
958
- }
959
- export interface PlanSubscriptionRelations {
960
- plan?: Plan | null;
961
- }
962
- export type AppAchievementRewardWithRelations = AppAchievementReward & AppAchievementRewardRelations;
963
- export type AppEventAggregateWithRelations = AppEventAggregate & AppEventAggregateRelations;
964
- export type AppEventWithRelations = AppEvent & AppEventRelations;
965
- export type AppEventTypeWithRelations = AppEventType & AppEventTypeRelations;
966
- export type AppLevelWithRelations = AppLevel & AppLevelRelations;
967
- export type AppLevelGrantWithRelations = AppLevelGrant & AppLevelGrantRelations;
968
- export type AppLevelRequirementWithRelations = AppLevelRequirement & AppLevelRequirementRelations;
969
584
  export type AppLimitCapWithRelations = AppLimitCap & AppLimitCapRelations;
970
585
  export type AppLimitCapsDefaultWithRelations = AppLimitCapsDefault & AppLimitCapsDefaultRelations;
971
586
  export type AppLimitWithRelations = AppLimit & AppLimitRelations;
@@ -976,12 +591,6 @@ export type AppLimitCreditRedemptionWithRelations = AppLimitCreditRedemption & A
976
591
  export type AppLimitDefaultWithRelations = AppLimitDefault & AppLimitDefaultRelations;
977
592
  export type AppLimitEventWithRelations = AppLimitEvent & AppLimitEventRelations;
978
593
  export type AppLimitWarningWithRelations = AppLimitWarning & AppLimitWarningRelations;
979
- export type BillingUsageSummaryWithRelations = BillingUsageSummary & BillingUsageSummaryRelations;
980
- export type LedgerWithRelations = Ledger & LedgerRelations;
981
- export type MeterWithRelations = Meter & MeterRelations;
982
- export type MeterCreditWithRelations = MeterCredit & MeterCreditRelations;
983
- export type MeterDefaultWithRelations = MeterDefault & MeterDefaultRelations;
984
- export type MeterSourceWithRelations = MeterSource & MeterSourceRelations;
985
594
  export type OrgLimitAggregateWithRelations = OrgLimitAggregate & OrgLimitAggregateRelations;
986
595
  export type OrgLimitCapWithRelations = OrgLimitCap & OrgLimitCapRelations;
987
596
  export type OrgLimitCapsDefaultWithRelations = OrgLimitCapsDefault & OrgLimitCapsDefaultRelations;
@@ -990,82 +599,6 @@ export type OrgLimitCreditWithRelations = OrgLimitCredit & OrgLimitCreditRelatio
990
599
  export type OrgLimitDefaultWithRelations = OrgLimitDefault & OrgLimitDefaultRelations;
991
600
  export type OrgLimitEventWithRelations = OrgLimitEvent & OrgLimitEventRelations;
992
601
  export type OrgLimitWarningWithRelations = OrgLimitWarning & OrgLimitWarningRelations;
993
- export type PlanCapWithRelations = PlanCap & PlanCapRelations;
994
- export type PlanWithRelations = Plan & PlanRelations;
995
- export type PlanLimitWithRelations = PlanLimit & PlanLimitRelations;
996
- export type PlanMeterLimitWithRelations = PlanMeterLimit & PlanMeterLimitRelations;
997
- export type PlanOverrideWithRelations = PlanOverride & PlanOverrideRelations;
998
- export type PlanPricingWithRelations = PlanPricing & PlanPricingRelations;
999
- export type PlanSubscriptionWithRelations = PlanSubscription & PlanSubscriptionRelations;
1000
- export type AppAchievementRewardSelect = {
1001
- amount?: boolean;
1002
- createdAt?: boolean;
1003
- creditType?: boolean;
1004
- expiresInterval?: boolean;
1005
- id?: boolean;
1006
- levelName?: boolean;
1007
- rewardType?: boolean;
1008
- targetName?: boolean;
1009
- updatedAt?: boolean;
1010
- };
1011
- export type AppEventAggregateSelect = {
1012
- actorId?: boolean;
1013
- count?: boolean;
1014
- createdAt?: boolean;
1015
- id?: boolean;
1016
- name?: boolean;
1017
- periodStart?: boolean;
1018
- updatedAt?: boolean;
1019
- };
1020
- export type AppEventSelect = {
1021
- actorId?: boolean;
1022
- count?: boolean;
1023
- createdAt?: boolean;
1024
- id?: boolean;
1025
- name?: boolean;
1026
- };
1027
- export type AppEventTypeSelect = {
1028
- aggregation?: boolean;
1029
- category?: boolean;
1030
- createdAt?: boolean;
1031
- description?: boolean;
1032
- feedsLevels?: boolean;
1033
- id?: boolean;
1034
- isActive?: boolean;
1035
- name?: boolean;
1036
- periodInterval?: boolean;
1037
- updatedAt?: boolean;
1038
- };
1039
- export type AppLevelSelect = {
1040
- createdAt?: boolean;
1041
- description?: boolean;
1042
- id?: boolean;
1043
- image?: boolean;
1044
- name?: boolean;
1045
- ownerId?: boolean;
1046
- updatedAt?: boolean;
1047
- };
1048
- export type AppLevelGrantSelect = {
1049
- actorId?: boolean;
1050
- createdAt?: boolean;
1051
- expiresAt?: boolean;
1052
- id?: boolean;
1053
- levelName?: boolean;
1054
- periodStart?: boolean;
1055
- updatedAt?: boolean;
1056
- };
1057
- export type AppLevelRequirementSelect = {
1058
- createdAt?: boolean;
1059
- description?: boolean;
1060
- groupKey?: boolean;
1061
- id?: boolean;
1062
- level?: boolean;
1063
- metric?: boolean;
1064
- name?: boolean;
1065
- priority?: boolean;
1066
- requiredCount?: boolean;
1067
- updatedAt?: boolean;
1068
- };
1069
602
  export type AppLimitCapSelect = {
1070
603
  entityId?: boolean;
1071
604
  id?: boolean;
@@ -1185,85 +718,6 @@ export type AppLimitWarningSelect = {
1185
718
  thresholdValue?: boolean;
1186
719
  warningType?: boolean;
1187
720
  };
1188
- export type BillingUsageSummarySelect = {
1189
- creditsConsumed?: boolean;
1190
- entityId?: boolean;
1191
- entityType?: boolean;
1192
- id?: boolean;
1193
- meterSlug?: boolean;
1194
- organizationId?: boolean;
1195
- overageUnits?: boolean;
1196
- periodEnd?: boolean;
1197
- periodStart?: boolean;
1198
- planLimit?: boolean;
1199
- quantityUsed?: boolean;
1200
- };
1201
- export type LedgerSelect = {
1202
- createdAt?: boolean;
1203
- delta?: boolean;
1204
- entityId?: boolean;
1205
- entityType?: boolean;
1206
- entryType?: boolean;
1207
- id?: boolean;
1208
- ledgerClass?: boolean;
1209
- metadata?: boolean;
1210
- meterSlug?: boolean;
1211
- organizationId?: boolean;
1212
- usageAfter?: boolean;
1213
- };
1214
- export type MeterSelect = {
1215
- aggregation?: boolean;
1216
- categoryMeter?: boolean;
1217
- creditCost?: boolean;
1218
- displayName?: boolean;
1219
- id?: boolean;
1220
- isActive?: boolean;
1221
- meterType?: boolean;
1222
- periodInterval?: boolean;
1223
- rolloverCap?: boolean;
1224
- slug?: boolean;
1225
- unit?: boolean;
1226
- meterCredits?: {
1227
- select: MeterCreditSelect;
1228
- first?: number;
1229
- filter?: MeterCreditFilter;
1230
- orderBy?: MeterCreditOrderBy[];
1231
- };
1232
- };
1233
- export type MeterCreditSelect = {
1234
- amount?: boolean;
1235
- createdAt?: boolean;
1236
- creditType?: boolean;
1237
- entityId?: boolean;
1238
- entityType?: boolean;
1239
- expiresAt?: boolean;
1240
- id?: boolean;
1241
- meterId?: boolean;
1242
- organizationId?: boolean;
1243
- reason?: boolean;
1244
- meter?: {
1245
- select: MeterSelect;
1246
- };
1247
- };
1248
- export type MeterDefaultSelect = {
1249
- categoryMeter?: boolean;
1250
- creditCost?: boolean;
1251
- defaultPlanLimit?: boolean;
1252
- displayName?: boolean;
1253
- id?: boolean;
1254
- isActive?: boolean;
1255
- meterType?: boolean;
1256
- slug?: boolean;
1257
- unit?: boolean;
1258
- };
1259
- export type MeterSourceSelect = {
1260
- aggregationType?: boolean;
1261
- dimensionPath?: boolean;
1262
- id?: boolean;
1263
- isActive?: boolean;
1264
- meterSlug?: boolean;
1265
- sourceMetric?: boolean;
1266
- };
1267
721
  export type OrgLimitAggregateSelect = {
1268
722
  entityId?: boolean;
1269
723
  entityType?: boolean;
@@ -1356,333 +810,71 @@ export type OrgLimitWarningSelect = {
1356
810
  thresholdValue?: boolean;
1357
811
  warningType?: boolean;
1358
812
  };
1359
- export type PlanCapSelect = {
1360
- capName?: boolean;
1361
- capValue?: boolean;
1362
- id?: boolean;
1363
- planId?: boolean;
1364
- plan?: {
1365
- select: PlanSelect;
1366
- };
1367
- };
1368
- export type PlanSelect = {
1369
- description?: boolean;
1370
- id?: boolean;
1371
- isActive?: boolean;
1372
- name?: boolean;
1373
- planCaps?: {
1374
- select: PlanCapSelect;
1375
- first?: number;
1376
- filter?: PlanCapFilter;
1377
- orderBy?: PlanCapOrderBy[];
1378
- };
1379
- planLimits?: {
1380
- select: PlanLimitSelect;
1381
- first?: number;
1382
- filter?: PlanLimitFilter;
1383
- orderBy?: PlanLimitOrderBy[];
1384
- };
1385
- planMeterLimits?: {
1386
- select: PlanMeterLimitSelect;
1387
- first?: number;
1388
- filter?: PlanMeterLimitFilter;
1389
- orderBy?: PlanMeterLimitOrderBy[];
1390
- };
1391
- planPricings?: {
1392
- select: PlanPricingSelect;
1393
- first?: number;
1394
- filter?: PlanPricingFilter;
1395
- orderBy?: PlanPricingOrderBy[];
1396
- };
1397
- planSubscriptions?: {
1398
- select: PlanSubscriptionSelect;
1399
- first?: number;
1400
- filter?: PlanSubscriptionFilter;
1401
- orderBy?: PlanSubscriptionOrderBy[];
1402
- };
1403
- };
1404
- export type PlanLimitSelect = {
1405
- id?: boolean;
1406
- limitName?: boolean;
1407
- maxValue?: boolean;
1408
- planId?: boolean;
1409
- plan?: {
1410
- select: PlanSelect;
1411
- };
1412
- };
1413
- export type PlanMeterLimitSelect = {
1414
- id?: boolean;
1415
- meterSlug?: boolean;
1416
- planId?: boolean;
1417
- planLimit?: boolean;
1418
- plan?: {
1419
- select: PlanSelect;
1420
- };
1421
- };
1422
- export type PlanOverrideSelect = {
1423
- entityId?: boolean;
1424
- expiresAt?: boolean;
1425
- id?: boolean;
1426
- limitName?: boolean;
1427
- maxValue?: boolean;
1428
- reason?: boolean;
1429
- };
1430
- export type PlanPricingSelect = {
1431
- billingInterval?: boolean;
1432
- currency?: boolean;
1433
- discountPercent?: boolean;
1434
- id?: boolean;
1435
- isActive?: boolean;
1436
- planId?: boolean;
1437
- price?: boolean;
1438
- plan?: {
1439
- select: PlanSelect;
1440
- };
1441
- };
1442
- export type PlanSubscriptionSelect = {
1443
- endsAt?: boolean;
1444
- entityId?: boolean;
1445
- entityType?: boolean;
1446
- id?: boolean;
1447
- isActive?: boolean;
1448
- organizationId?: boolean;
1449
- planId?: boolean;
1450
- startsAt?: boolean;
1451
- plan?: {
1452
- select: PlanSelect;
1453
- };
1454
- };
1455
- export interface AppAchievementRewardFilter {
1456
- /** Filter by the object’s `amount` field. */
1457
- amount?: IntFilter;
813
+ export interface AppLimitCapFilter {
1458
814
  /** Checks for all expressions in this list. */
1459
- and?: AppAchievementRewardFilter[];
1460
- /** Filter by the object’s `createdAt` field. */
1461
- createdAt?: DatetimeFilter;
1462
- /** Filter by the object’s `creditType` field. */
1463
- creditType?: StringFilter;
1464
- /** Filter by the object’s `expiresInterval` field. */
1465
- expiresInterval?: IntervalFilter;
815
+ and?: AppLimitCapFilter[];
816
+ /** Filter by the object’s `entityId` field. */
817
+ entityId?: UUIDFilter;
1466
818
  /** Filter by the object’s `id` field. */
1467
819
  id?: UUIDFilter;
1468
- /** Filter by the object’s `levelName` field. */
1469
- levelName?: StringFilter;
820
+ /** Filter by the object’s `max` field. */
821
+ max?: BigIntFilter;
822
+ /** Filter by the object’s `name` field. */
823
+ name?: StringFilter;
1470
824
  /** Negates the expression. */
1471
- not?: AppAchievementRewardFilter;
825
+ not?: AppLimitCapFilter;
1472
826
  /** Checks for any expressions in this list. */
1473
- or?: AppAchievementRewardFilter[];
1474
- /** Filter by the object’s `rewardType` field. */
1475
- rewardType?: StringFilter;
1476
- /** Filter by the object’s `targetName` field. */
1477
- targetName?: StringFilter;
1478
- /** Filter by the object’s `updatedAt` field. */
1479
- updatedAt?: DatetimeFilter;
1480
- }
1481
- export interface AppEventAggregateFilter {
1482
- /** Filter by the object’s `actorId` field. */
1483
- actorId?: UUIDFilter;
827
+ or?: AppLimitCapFilter[];
828
+ }
829
+ export interface AppLimitCapsDefaultFilter {
1484
830
  /** Checks for all expressions in this list. */
1485
- and?: AppEventAggregateFilter[];
1486
- /** Filter by the object’s `count` field. */
1487
- count?: IntFilter;
1488
- /** Filter by the object’s `createdAt` field. */
1489
- createdAt?: DatetimeFilter;
831
+ and?: AppLimitCapsDefaultFilter[];
1490
832
  /** Filter by the object’s `id` field. */
1491
833
  id?: UUIDFilter;
834
+ /** Filter by the object’s `max` field. */
835
+ max?: BigIntFilter;
1492
836
  /** Filter by the object’s `name` field. */
1493
837
  name?: StringFilter;
1494
838
  /** Negates the expression. */
1495
- not?: AppEventAggregateFilter;
839
+ not?: AppLimitCapsDefaultFilter;
1496
840
  /** Checks for any expressions in this list. */
1497
- or?: AppEventAggregateFilter[];
1498
- /** Filter by the object’s `periodStart` field. */
1499
- periodStart?: DatetimeFilter;
1500
- /** Filter by the object’s `updatedAt` field. */
1501
- updatedAt?: DatetimeFilter;
841
+ or?: AppLimitCapsDefaultFilter[];
1502
842
  }
1503
- export interface AppEventFilter {
843
+ export interface AppLimitFilter {
1504
844
  /** Filter by the object’s `actorId` field. */
1505
845
  actorId?: UUIDFilter;
1506
846
  /** Checks for all expressions in this list. */
1507
- and?: AppEventFilter[];
1508
- /** Filter by the object’s `count` field. */
1509
- count?: IntFilter;
1510
- /** Filter by the object’s `createdAt` field. */
1511
- createdAt?: DatetimeFilter;
847
+ and?: AppLimitFilter[];
848
+ /** Filter by the object’s `entityType` field. */
849
+ entityType?: StringFilter;
1512
850
  /** Filter by the object’s `id` field. */
1513
851
  id?: UUIDFilter;
852
+ /** Filter by the object’s `max` field. */
853
+ max?: BigIntFilter;
1514
854
  /** Filter by the object’s `name` field. */
1515
855
  name?: StringFilter;
1516
856
  /** Negates the expression. */
1517
- not?: AppEventFilter;
857
+ not?: AppLimitFilter;
858
+ /** Filter by the object’s `num` field. */
859
+ num?: BigIntFilter;
1518
860
  /** Checks for any expressions in this list. */
1519
- or?: AppEventFilter[];
861
+ or?: AppLimitFilter[];
862
+ /** Filter by the object’s `organizationId` field. */
863
+ organizationId?: UUIDFilter;
864
+ /** Filter by the object’s `periodCredits` field. */
865
+ periodCredits?: BigIntFilter;
866
+ /** Filter by the object’s `planMax` field. */
867
+ planMax?: BigIntFilter;
868
+ /** Filter by the object’s `purchasedCredits` field. */
869
+ purchasedCredits?: BigIntFilter;
870
+ /** Filter by the object’s `softMax` field. */
871
+ softMax?: BigIntFilter;
872
+ /** Filter by the object’s `windowDuration` field. */
873
+ windowDuration?: IntervalFilter;
874
+ /** Filter by the object’s `windowStart` field. */
875
+ windowStart?: DatetimeFilter;
1520
876
  }
1521
- export interface AppEventTypeFilter {
1522
- /** Filter by the object’s `aggregation` field. */
1523
- aggregation?: StringFilter;
1524
- /** Checks for all expressions in this list. */
1525
- and?: AppEventTypeFilter[];
1526
- /** Filter by the object’s `category` field. */
1527
- category?: StringFilter;
1528
- /** Filter by the object’s `createdAt` field. */
1529
- createdAt?: DatetimeFilter;
1530
- /** Filter by the object’s `description` field. */
1531
- description?: StringFilter;
1532
- /** Filter by the object’s `feedsLevels` field. */
1533
- feedsLevels?: BooleanFilter;
1534
- /** Filter by the object’s `id` field. */
1535
- id?: UUIDFilter;
1536
- /** Filter by the object’s `isActive` field. */
1537
- isActive?: BooleanFilter;
1538
- /** Filter by the object’s `name` field. */
1539
- name?: StringFilter;
1540
- /** Negates the expression. */
1541
- not?: AppEventTypeFilter;
1542
- /** Checks for any expressions in this list. */
1543
- or?: AppEventTypeFilter[];
1544
- /** Filter by the object’s `periodInterval` field. */
1545
- periodInterval?: IntervalFilter;
1546
- /** Filter by the object’s `updatedAt` field. */
1547
- updatedAt?: DatetimeFilter;
1548
- }
1549
- export interface AppLevelFilter {
1550
- /** Checks for all expressions in this list. */
1551
- and?: AppLevelFilter[];
1552
- /** Filter by the object’s `createdAt` field. */
1553
- createdAt?: DatetimeFilter;
1554
- /** Filter by the object’s `description` field. */
1555
- description?: StringFilter;
1556
- /** Filter by the object’s `id` field. */
1557
- id?: UUIDFilter;
1558
- /** Filter by the object’s `image` field. */
1559
- image?: ConstructiveInternalTypeImageFilter;
1560
- /** Filter by the object’s `name` field. */
1561
- name?: StringFilter;
1562
- /** Negates the expression. */
1563
- not?: AppLevelFilter;
1564
- /** Checks for any expressions in this list. */
1565
- or?: AppLevelFilter[];
1566
- /** Filter by the object’s `ownerId` field. */
1567
- ownerId?: UUIDFilter;
1568
- /** Filter by the object’s `updatedAt` field. */
1569
- updatedAt?: DatetimeFilter;
1570
- }
1571
- export interface AppLevelGrantFilter {
1572
- /** Filter by the object’s `actorId` field. */
1573
- actorId?: UUIDFilter;
1574
- /** Checks for all expressions in this list. */
1575
- and?: AppLevelGrantFilter[];
1576
- /** Filter by the object’s `createdAt` field. */
1577
- createdAt?: DatetimeFilter;
1578
- /** Filter by the object’s `expiresAt` field. */
1579
- expiresAt?: DatetimeFilter;
1580
- /** Filter by the object’s `id` field. */
1581
- id?: UUIDFilter;
1582
- /** Filter by the object’s `levelName` field. */
1583
- levelName?: StringFilter;
1584
- /** Negates the expression. */
1585
- not?: AppLevelGrantFilter;
1586
- /** Checks for any expressions in this list. */
1587
- or?: AppLevelGrantFilter[];
1588
- /** Filter by the object’s `periodStart` field. */
1589
- periodStart?: DatetimeFilter;
1590
- /** Filter by the object’s `updatedAt` field. */
1591
- updatedAt?: DatetimeFilter;
1592
- }
1593
- export interface AppLevelRequirementFilter {
1594
- /** Checks for all expressions in this list. */
1595
- and?: AppLevelRequirementFilter[];
1596
- /** Filter by the object’s `createdAt` field. */
1597
- createdAt?: DatetimeFilter;
1598
- /** Filter by the object’s `description` field. */
1599
- description?: StringFilter;
1600
- /** Filter by the object’s `groupKey` field. */
1601
- groupKey?: StringFilter;
1602
- /** Filter by the object’s `id` field. */
1603
- id?: UUIDFilter;
1604
- /** Filter by the object’s `level` field. */
1605
- level?: StringFilter;
1606
- /** Filter by the object’s `metric` field. */
1607
- metric?: StringFilter;
1608
- /** Filter by the object’s `name` field. */
1609
- name?: StringFilter;
1610
- /** Negates the expression. */
1611
- not?: AppLevelRequirementFilter;
1612
- /** Checks for any expressions in this list. */
1613
- or?: AppLevelRequirementFilter[];
1614
- /** Filter by the object’s `priority` field. */
1615
- priority?: IntFilter;
1616
- /** Filter by the object’s `requiredCount` field. */
1617
- requiredCount?: IntFilter;
1618
- /** Filter by the object’s `updatedAt` field. */
1619
- updatedAt?: DatetimeFilter;
1620
- }
1621
- export interface AppLimitCapFilter {
1622
- /** Checks for all expressions in this list. */
1623
- and?: AppLimitCapFilter[];
1624
- /** Filter by the object’s `entityId` field. */
1625
- entityId?: UUIDFilter;
1626
- /** Filter by the object’s `id` field. */
1627
- id?: UUIDFilter;
1628
- /** Filter by the object’s `max` field. */
1629
- max?: BigIntFilter;
1630
- /** Filter by the object’s `name` field. */
1631
- name?: StringFilter;
1632
- /** Negates the expression. */
1633
- not?: AppLimitCapFilter;
1634
- /** Checks for any expressions in this list. */
1635
- or?: AppLimitCapFilter[];
1636
- }
1637
- export interface AppLimitCapsDefaultFilter {
1638
- /** Checks for all expressions in this list. */
1639
- and?: AppLimitCapsDefaultFilter[];
1640
- /** Filter by the object’s `id` field. */
1641
- id?: UUIDFilter;
1642
- /** Filter by the object’s `max` field. */
1643
- max?: BigIntFilter;
1644
- /** Filter by the object’s `name` field. */
1645
- name?: StringFilter;
1646
- /** Negates the expression. */
1647
- not?: AppLimitCapsDefaultFilter;
1648
- /** Checks for any expressions in this list. */
1649
- or?: AppLimitCapsDefaultFilter[];
1650
- }
1651
- export interface AppLimitFilter {
1652
- /** Filter by the object’s `actorId` field. */
1653
- actorId?: UUIDFilter;
1654
- /** Checks for all expressions in this list. */
1655
- and?: AppLimitFilter[];
1656
- /** Filter by the object’s `entityType` field. */
1657
- entityType?: StringFilter;
1658
- /** Filter by the object’s `id` field. */
1659
- id?: UUIDFilter;
1660
- /** Filter by the object’s `max` field. */
1661
- max?: BigIntFilter;
1662
- /** Filter by the object’s `name` field. */
1663
- name?: StringFilter;
1664
- /** Negates the expression. */
1665
- not?: AppLimitFilter;
1666
- /** Filter by the object’s `num` field. */
1667
- num?: BigIntFilter;
1668
- /** Checks for any expressions in this list. */
1669
- or?: AppLimitFilter[];
1670
- /** Filter by the object’s `organizationId` field. */
1671
- organizationId?: UUIDFilter;
1672
- /** Filter by the object’s `periodCredits` field. */
1673
- periodCredits?: BigIntFilter;
1674
- /** Filter by the object’s `planMax` field. */
1675
- planMax?: BigIntFilter;
1676
- /** Filter by the object’s `purchasedCredits` field. */
1677
- purchasedCredits?: BigIntFilter;
1678
- /** Filter by the object’s `softMax` field. */
1679
- softMax?: BigIntFilter;
1680
- /** Filter by the object’s `windowDuration` field. */
1681
- windowDuration?: IntervalFilter;
1682
- /** Filter by the object’s `windowStart` field. */
1683
- windowStart?: DatetimeFilter;
1684
- }
1685
- export interface AppLimitCreditCodeFilter {
877
+ export interface AppLimitCreditCodeFilter {
1686
878
  /** Checks for all expressions in this list. */
1687
879
  and?: AppLimitCreditCodeFilter[];
1688
880
  /** Filter by the object’s `appLimitCreditCodeItemsByCreditCodeId` relation. */
@@ -1848,176 +1040,6 @@ export interface AppLimitWarningFilter {
1848
1040
  /** Filter by the object’s `warningType` field. */
1849
1041
  warningType?: StringFilter;
1850
1042
  }
1851
- export interface BillingUsageSummaryFilter {
1852
- /** Checks for all expressions in this list. */
1853
- and?: BillingUsageSummaryFilter[];
1854
- /** Filter by the object’s `creditsConsumed` field. */
1855
- creditsConsumed?: BigIntFilter;
1856
- /** Filter by the object’s `entityId` field. */
1857
- entityId?: UUIDFilter;
1858
- /** Filter by the object’s `entityType` field. */
1859
- entityType?: StringFilter;
1860
- /** Filter by the object’s `id` field. */
1861
- id?: UUIDFilter;
1862
- /** Filter by the object’s `meterSlug` field. */
1863
- meterSlug?: StringFilter;
1864
- /** Negates the expression. */
1865
- not?: BillingUsageSummaryFilter;
1866
- /** Checks for any expressions in this list. */
1867
- or?: BillingUsageSummaryFilter[];
1868
- /** Filter by the object’s `organizationId` field. */
1869
- organizationId?: UUIDFilter;
1870
- /** Filter by the object’s `overageUnits` field. */
1871
- overageUnits?: BigIntFilter;
1872
- /** Filter by the object’s `periodEnd` field. */
1873
- periodEnd?: DatetimeFilter;
1874
- /** Filter by the object’s `periodStart` field. */
1875
- periodStart?: DatetimeFilter;
1876
- /** Filter by the object’s `planLimit` field. */
1877
- planLimit?: BigIntFilter;
1878
- /** Filter by the object’s `quantityUsed` field. */
1879
- quantityUsed?: BigIntFilter;
1880
- }
1881
- export interface LedgerFilter {
1882
- /** Checks for all expressions in this list. */
1883
- and?: LedgerFilter[];
1884
- /** Filter by the object’s `createdAt` field. */
1885
- createdAt?: DatetimeFilter;
1886
- /** Filter by the object’s `delta` field. */
1887
- delta?: BigIntFilter;
1888
- /** Filter by the object’s `entityId` field. */
1889
- entityId?: UUIDFilter;
1890
- /** Filter by the object’s `entityType` field. */
1891
- entityType?: StringFilter;
1892
- /** Filter by the object’s `entryType` field. */
1893
- entryType?: StringFilter;
1894
- /** Filter by the object’s `id` field. */
1895
- id?: UUIDFilter;
1896
- /** Filter by the object’s `ledgerClass` field. */
1897
- ledgerClass?: StringFilter;
1898
- /** Filter by the object’s `metadata` field. */
1899
- metadata?: JSONFilter;
1900
- /** Filter by the object’s `meterSlug` field. */
1901
- meterSlug?: StringFilter;
1902
- /** Negates the expression. */
1903
- not?: LedgerFilter;
1904
- /** Checks for any expressions in this list. */
1905
- or?: LedgerFilter[];
1906
- /** Filter by the object’s `organizationId` field. */
1907
- organizationId?: UUIDFilter;
1908
- /** Filter by the object’s `usageAfter` field. */
1909
- usageAfter?: BigIntFilter;
1910
- }
1911
- export interface MeterFilter {
1912
- /** Filter by the object’s `aggregation` field. */
1913
- aggregation?: StringFilter;
1914
- /** Checks for all expressions in this list. */
1915
- and?: MeterFilter[];
1916
- /** Filter by the object’s `categoryMeter` field. */
1917
- categoryMeter?: StringFilter;
1918
- /** Filter by the object’s `creditCost` field. */
1919
- creditCost?: IntFilter;
1920
- /** Filter by the object’s `displayName` field. */
1921
- displayName?: StringFilter;
1922
- /** Filter by the object’s `id` field. */
1923
- id?: UUIDFilter;
1924
- /** Filter by the object’s `isActive` field. */
1925
- isActive?: BooleanFilter;
1926
- /** Filter by the object’s `meterCredits` relation. */
1927
- meterCredits?: MeterToManyMeterCreditFilter;
1928
- /** `meterCredits` exist. */
1929
- meterCreditsExist?: boolean;
1930
- /** Filter by the object’s `meterType` field. */
1931
- meterType?: StringFilter;
1932
- /** Negates the expression. */
1933
- not?: MeterFilter;
1934
- /** Checks for any expressions in this list. */
1935
- or?: MeterFilter[];
1936
- /** Filter by the object’s `periodInterval` field. */
1937
- periodInterval?: IntervalFilter;
1938
- /** Filter by the object’s `rolloverCap` field. */
1939
- rolloverCap?: BigIntFilter;
1940
- /** Filter by the object’s `slug` field. */
1941
- slug?: StringFilter;
1942
- /** Filter by the object’s `unit` field. */
1943
- unit?: StringFilter;
1944
- }
1945
- export interface MeterCreditFilter {
1946
- /** Filter by the object’s `amount` field. */
1947
- amount?: BigIntFilter;
1948
- /** Checks for all expressions in this list. */
1949
- and?: MeterCreditFilter[];
1950
- /** Filter by the object’s `createdAt` field. */
1951
- createdAt?: DatetimeFilter;
1952
- /** Filter by the object’s `creditType` field. */
1953
- creditType?: StringFilter;
1954
- /** Filter by the object’s `entityId` field. */
1955
- entityId?: UUIDFilter;
1956
- /** Filter by the object’s `entityType` field. */
1957
- entityType?: StringFilter;
1958
- /** Filter by the object’s `expiresAt` field. */
1959
- expiresAt?: DatetimeFilter;
1960
- /** Filter by the object’s `id` field. */
1961
- id?: UUIDFilter;
1962
- /** Filter by the object’s `meter` relation. */
1963
- meter?: MeterFilter;
1964
- /** Filter by the object’s `meterId` field. */
1965
- meterId?: UUIDFilter;
1966
- /** Negates the expression. */
1967
- not?: MeterCreditFilter;
1968
- /** Checks for any expressions in this list. */
1969
- or?: MeterCreditFilter[];
1970
- /** Filter by the object’s `organizationId` field. */
1971
- organizationId?: UUIDFilter;
1972
- /** Filter by the object’s `reason` field. */
1973
- reason?: StringFilter;
1974
- }
1975
- export interface MeterDefaultFilter {
1976
- /** Checks for all expressions in this list. */
1977
- and?: MeterDefaultFilter[];
1978
- /** Filter by the object’s `categoryMeter` field. */
1979
- categoryMeter?: StringFilter;
1980
- /** Filter by the object’s `creditCost` field. */
1981
- creditCost?: BigFloatFilter;
1982
- /** Filter by the object’s `defaultPlanLimit` field. */
1983
- defaultPlanLimit?: BigIntFilter;
1984
- /** Filter by the object’s `displayName` field. */
1985
- displayName?: StringFilter;
1986
- /** Filter by the object’s `id` field. */
1987
- id?: UUIDFilter;
1988
- /** Filter by the object’s `isActive` field. */
1989
- isActive?: BooleanFilter;
1990
- /** Filter by the object’s `meterType` field. */
1991
- meterType?: StringFilter;
1992
- /** Negates the expression. */
1993
- not?: MeterDefaultFilter;
1994
- /** Checks for any expressions in this list. */
1995
- or?: MeterDefaultFilter[];
1996
- /** Filter by the object’s `slug` field. */
1997
- slug?: StringFilter;
1998
- /** Filter by the object’s `unit` field. */
1999
- unit?: StringFilter;
2000
- }
2001
- export interface MeterSourceFilter {
2002
- /** Filter by the object’s `aggregationType` field. */
2003
- aggregationType?: StringFilter;
2004
- /** Checks for all expressions in this list. */
2005
- and?: MeterSourceFilter[];
2006
- /** Filter by the object’s `dimensionPath` field. */
2007
- dimensionPath?: StringFilter;
2008
- /** Filter by the object’s `id` field. */
2009
- id?: UUIDFilter;
2010
- /** Filter by the object’s `isActive` field. */
2011
- isActive?: BooleanFilter;
2012
- /** Filter by the object’s `meterSlug` field. */
2013
- meterSlug?: StringFilter;
2014
- /** Negates the expression. */
2015
- not?: MeterSourceFilter;
2016
- /** Checks for any expressions in this list. */
2017
- or?: MeterSourceFilter[];
2018
- /** Filter by the object’s `sourceMetric` field. */
2019
- sourceMetric?: StringFilter;
2020
- }
2021
1043
  export interface OrgLimitAggregateFilter {
2022
1044
  /** Checks for all expressions in this list. */
2023
1045
  and?: OrgLimitAggregateFilter[];
@@ -2222,173 +1244,6 @@ export interface OrgLimitWarningFilter {
2222
1244
  /** Filter by the object’s `warningType` field. */
2223
1245
  warningType?: StringFilter;
2224
1246
  }
2225
- export interface PlanCapFilter {
2226
- /** Checks for all expressions in this list. */
2227
- and?: PlanCapFilter[];
2228
- /** Filter by the object’s `capName` field. */
2229
- capName?: StringFilter;
2230
- /** Filter by the object’s `capValue` field. */
2231
- capValue?: BigIntFilter;
2232
- /** Filter by the object’s `id` field. */
2233
- id?: UUIDFilter;
2234
- /** Negates the expression. */
2235
- not?: PlanCapFilter;
2236
- /** Checks for any expressions in this list. */
2237
- or?: PlanCapFilter[];
2238
- /** Filter by the object’s `plan` relation. */
2239
- plan?: PlanFilter;
2240
- /** Filter by the object’s `planId` field. */
2241
- planId?: UUIDFilter;
2242
- }
2243
- export interface PlanFilter {
2244
- /** Checks for all expressions in this list. */
2245
- and?: PlanFilter[];
2246
- /** Filter by the object’s `description` field. */
2247
- description?: StringFilter;
2248
- /** Filter by the object’s `id` field. */
2249
- id?: UUIDFilter;
2250
- /** Filter by the object’s `isActive` field. */
2251
- isActive?: BooleanFilter;
2252
- /** Filter by the object’s `name` field. */
2253
- name?: StringFilter;
2254
- /** Negates the expression. */
2255
- not?: PlanFilter;
2256
- /** Checks for any expressions in this list. */
2257
- or?: PlanFilter[];
2258
- /** Filter by the object’s `planCaps` relation. */
2259
- planCaps?: PlanToManyPlanCapFilter;
2260
- /** `planCaps` exist. */
2261
- planCapsExist?: boolean;
2262
- /** Filter by the object’s `planLimits` relation. */
2263
- planLimits?: PlanToManyPlanLimitFilter;
2264
- /** `planLimits` exist. */
2265
- planLimitsExist?: boolean;
2266
- /** Filter by the object’s `planMeterLimits` relation. */
2267
- planMeterLimits?: PlanToManyPlanMeterLimitFilter;
2268
- /** `planMeterLimits` exist. */
2269
- planMeterLimitsExist?: boolean;
2270
- /** Filter by the object’s `planPricings` relation. */
2271
- planPricings?: PlanToManyPlanPricingFilter;
2272
- /** `planPricings` exist. */
2273
- planPricingsExist?: boolean;
2274
- /** Filter by the object’s `planSubscriptions` relation. */
2275
- planSubscriptions?: PlanToManyPlanSubscriptionFilter;
2276
- /** `planSubscriptions` exist. */
2277
- planSubscriptionsExist?: boolean;
2278
- }
2279
- export interface PlanLimitFilter {
2280
- /** Checks for all expressions in this list. */
2281
- and?: PlanLimitFilter[];
2282
- /** Filter by the object’s `id` field. */
2283
- id?: UUIDFilter;
2284
- /** Filter by the object’s `limitName` field. */
2285
- limitName?: StringFilter;
2286
- /** Filter by the object’s `maxValue` field. */
2287
- maxValue?: BigIntFilter;
2288
- /** Negates the expression. */
2289
- not?: PlanLimitFilter;
2290
- /** Checks for any expressions in this list. */
2291
- or?: PlanLimitFilter[];
2292
- /** Filter by the object’s `plan` relation. */
2293
- plan?: PlanFilter;
2294
- /** Filter by the object’s `planId` field. */
2295
- planId?: UUIDFilter;
2296
- }
2297
- export interface PlanMeterLimitFilter {
2298
- /** Checks for all expressions in this list. */
2299
- and?: PlanMeterLimitFilter[];
2300
- /** Filter by the object’s `id` field. */
2301
- id?: UUIDFilter;
2302
- /** Filter by the object’s `meterSlug` field. */
2303
- meterSlug?: StringFilter;
2304
- /** Negates the expression. */
2305
- not?: PlanMeterLimitFilter;
2306
- /** Checks for any expressions in this list. */
2307
- or?: PlanMeterLimitFilter[];
2308
- /** Filter by the object’s `plan` relation. */
2309
- plan?: PlanFilter;
2310
- /** Filter by the object’s `planId` field. */
2311
- planId?: UUIDFilter;
2312
- /** Filter by the object’s `planLimit` field. */
2313
- planLimit?: BigIntFilter;
2314
- }
2315
- export interface PlanOverrideFilter {
2316
- /** Checks for all expressions in this list. */
2317
- and?: PlanOverrideFilter[];
2318
- /** Filter by the object’s `entityId` field. */
2319
- entityId?: UUIDFilter;
2320
- /** Filter by the object’s `expiresAt` field. */
2321
- expiresAt?: DatetimeFilter;
2322
- /** Filter by the object’s `id` field. */
2323
- id?: UUIDFilter;
2324
- /** Filter by the object’s `limitName` field. */
2325
- limitName?: StringFilter;
2326
- /** Filter by the object’s `maxValue` field. */
2327
- maxValue?: BigIntFilter;
2328
- /** Negates the expression. */
2329
- not?: PlanOverrideFilter;
2330
- /** Checks for any expressions in this list. */
2331
- or?: PlanOverrideFilter[];
2332
- /** Filter by the object’s `reason` field. */
2333
- reason?: StringFilter;
2334
- }
2335
- export interface PlanPricingFilter {
2336
- /** Checks for all expressions in this list. */
2337
- and?: PlanPricingFilter[];
2338
- /** Filter by the object’s `billingInterval` field. */
2339
- billingInterval?: StringFilter;
2340
- /** Filter by the object’s `currency` field. */
2341
- currency?: StringFilter;
2342
- /** Filter by the object’s `discountPercent` field. */
2343
- discountPercent?: BigFloatFilter;
2344
- /** Filter by the object’s `id` field. */
2345
- id?: UUIDFilter;
2346
- /** Filter by the object’s `isActive` field. */
2347
- isActive?: BooleanFilter;
2348
- /** Negates the expression. */
2349
- not?: PlanPricingFilter;
2350
- /** Checks for any expressions in this list. */
2351
- or?: PlanPricingFilter[];
2352
- /** Filter by the object’s `plan` relation. */
2353
- plan?: PlanFilter;
2354
- /** Filter by the object’s `planId` field. */
2355
- planId?: UUIDFilter;
2356
- /** Filter by the object’s `price` field. */
2357
- price?: BigIntFilter;
2358
- }
2359
- export interface PlanSubscriptionFilter {
2360
- /** Checks for all expressions in this list. */
2361
- and?: PlanSubscriptionFilter[];
2362
- /** Filter by the object’s `endsAt` field. */
2363
- endsAt?: DatetimeFilter;
2364
- /** Filter by the object’s `entityId` field. */
2365
- entityId?: UUIDFilter;
2366
- /** Filter by the object’s `entityType` field. */
2367
- entityType?: StringFilter;
2368
- /** Filter by the object’s `id` field. */
2369
- id?: UUIDFilter;
2370
- /** Filter by the object’s `isActive` field. */
2371
- isActive?: BooleanFilter;
2372
- /** Negates the expression. */
2373
- not?: PlanSubscriptionFilter;
2374
- /** Checks for any expressions in this list. */
2375
- or?: PlanSubscriptionFilter[];
2376
- /** Filter by the object’s `organizationId` field. */
2377
- organizationId?: UUIDFilter;
2378
- /** Filter by the object’s `plan` relation. */
2379
- plan?: PlanFilter;
2380
- /** Filter by the object’s `planId` field. */
2381
- planId?: UUIDFilter;
2382
- /** Filter by the object’s `startsAt` field. */
2383
- startsAt?: DatetimeFilter;
2384
- }
2385
- export type AppAchievementRewardOrderBy = 'AMOUNT_ASC' | 'AMOUNT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREDIT_TYPE_ASC' | 'CREDIT_TYPE_DESC' | 'EXPIRES_INTERVAL_ASC' | 'EXPIRES_INTERVAL_DESC' | 'ID_ASC' | 'ID_DESC' | 'LEVEL_NAME_ASC' | 'LEVEL_NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REWARD_TYPE_ASC' | 'REWARD_TYPE_DESC' | 'TARGET_NAME_ASC' | 'TARGET_NAME_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
2386
- export type AppEventAggregateOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'COUNT_ASC' | 'COUNT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PERIOD_START_ASC' | 'PERIOD_START_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
2387
- export type AppEventOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'COUNT_ASC' | 'COUNT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
2388
- export type AppEventTypeOrderBy = 'AGGREGATION_ASC' | 'AGGREGATION_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'FEEDS_LEVELS_ASC' | 'FEEDS_LEVELS_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PERIOD_INTERVAL_ASC' | 'PERIOD_INTERVAL_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
2389
- export type AppLevelOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'IMAGE_ASC' | 'IMAGE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
2390
- export type AppLevelGrantOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LEVEL_NAME_ASC' | 'LEVEL_NAME_DESC' | 'NATURAL' | 'PERIOD_START_ASC' | 'PERIOD_START_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
2391
- export type AppLevelRequirementOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'GROUP_KEY_ASC' | 'GROUP_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'LEVEL_ASC' | 'LEVEL_DESC' | 'METRIC_ASC' | 'METRIC_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIORITY_ASC' | 'PRIORITY_DESC' | 'REQUIRED_COUNT_ASC' | 'REQUIRED_COUNT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
2392
1247
  export type AppLimitCapOrderBy = 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
2393
1248
  export type AppLimitCapsDefaultOrderBy = 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
2394
1249
  export type AppLimitOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NUM_ASC' | 'NUM_DESC' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PERIOD_CREDITS_ASC' | 'PERIOD_CREDITS_DESC' | 'PLAN_MAX_ASC' | 'PLAN_MAX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PURCHASED_CREDITS_ASC' | 'PURCHASED_CREDITS_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC' | 'WINDOW_DURATION_ASC' | 'WINDOW_DURATION_DESC' | 'WINDOW_START_ASC' | 'WINDOW_START_DESC';
@@ -2399,12 +1254,6 @@ export type AppLimitCreditRedemptionOrderBy = 'CREDIT_CODE_ID_ASC' | 'CREDIT_COD
2399
1254
  export type AppLimitDefaultOrderBy = 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC';
2400
1255
  export type AppLimitEventOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DELTA_ASC' | 'DELTA_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_AT_EVENT_ASC' | 'MAX_AT_EVENT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NUM_AFTER_ASC' | 'NUM_AFTER_DESC' | 'NUM_BEFORE_ASC' | 'NUM_BEFORE_DESC' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REASON_ASC' | 'REASON_DESC';
2401
1256
  export type AppLimitWarningOrderBy = 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'THRESHOLD_VALUE_ASC' | 'THRESHOLD_VALUE_DESC' | 'WARNING_TYPE_ASC' | 'WARNING_TYPE_DESC';
2402
- export type BillingUsageSummaryOrderBy = 'CREDITS_CONSUMED_ASC' | 'CREDITS_CONSUMED_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'METER_SLUG_ASC' | 'METER_SLUG_DESC' | 'NATURAL' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'OVERAGE_UNITS_ASC' | 'OVERAGE_UNITS_DESC' | 'PERIOD_END_ASC' | 'PERIOD_END_DESC' | 'PERIOD_START_ASC' | 'PERIOD_START_DESC' | 'PLAN_LIMIT_ASC' | 'PLAN_LIMIT_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'QUANTITY_USED_ASC' | 'QUANTITY_USED_DESC';
2403
- export type LedgerOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DELTA_ASC' | 'DELTA_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'ENTRY_TYPE_ASC' | 'ENTRY_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'LEDGER_CLASS_ASC' | 'LEDGER_CLASS_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'METER_SLUG_ASC' | 'METER_SLUG_DESC' | 'NATURAL' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'USAGE_AFTER_ASC' | 'USAGE_AFTER_DESC';
2404
- export type MeterOrderBy = 'AGGREGATION_ASC' | 'AGGREGATION_DESC' | 'CATEGORY_METER_ASC' | 'CATEGORY_METER_DESC' | 'CREDIT_COST_ASC' | 'CREDIT_COST_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'METER_TYPE_ASC' | 'METER_TYPE_DESC' | 'NATURAL' | 'PERIOD_INTERVAL_ASC' | 'PERIOD_INTERVAL_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ROLLOVER_CAP_ASC' | 'ROLLOVER_CAP_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'UNIT_ASC' | 'UNIT_DESC';
2405
- export type MeterCreditOrderBy = 'AMOUNT_ASC' | 'AMOUNT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREDIT_TYPE_ASC' | 'CREDIT_TYPE_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'METER_ID_ASC' | 'METER_ID_DESC' | 'NATURAL' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REASON_ASC' | 'REASON_DESC';
2406
- export type MeterDefaultOrderBy = 'CATEGORY_METER_ASC' | 'CATEGORY_METER_DESC' | 'CREDIT_COST_ASC' | 'CREDIT_COST_DESC' | 'DEFAULT_PLAN_LIMIT_ASC' | 'DEFAULT_PLAN_LIMIT_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'METER_TYPE_ASC' | 'METER_TYPE_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'UNIT_ASC' | 'UNIT_DESC';
2407
- export type MeterSourceOrderBy = 'AGGREGATION_TYPE_ASC' | 'AGGREGATION_TYPE_DESC' | 'DIMENSION_PATH_ASC' | 'DIMENSION_PATH_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'METER_SLUG_ASC' | 'METER_SLUG_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SOURCE_METRIC_ASC' | 'SOURCE_METRIC_DESC';
2408
1257
  export type OrgLimitAggregateOrderBy = 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NUM_ASC' | 'NUM_DESC' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PERIOD_CREDITS_ASC' | 'PERIOD_CREDITS_DESC' | 'PLAN_MAX_ASC' | 'PLAN_MAX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PURCHASED_CREDITS_ASC' | 'PURCHASED_CREDITS_DESC' | 'RESERVED_ASC' | 'RESERVED_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC' | 'WINDOW_DURATION_ASC' | 'WINDOW_DURATION_DESC' | 'WINDOW_START_ASC' | 'WINDOW_START_DESC';
2409
1258
  export type OrgLimitCapOrderBy = 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
2410
1259
  export type OrgLimitCapsDefaultOrderBy = 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
@@ -2413,239 +1262,49 @@ export type OrgLimitCreditOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'AMOUNT_A
2413
1262
  export type OrgLimitDefaultOrderBy = 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC';
2414
1263
  export type OrgLimitEventOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DELTA_ASC' | 'DELTA_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_AT_EVENT_ASC' | 'MAX_AT_EVENT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NUM_AFTER_ASC' | 'NUM_AFTER_DESC' | 'NUM_BEFORE_ASC' | 'NUM_BEFORE_DESC' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REASON_ASC' | 'REASON_DESC';
2415
1264
  export type OrgLimitWarningOrderBy = 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'THRESHOLD_VALUE_ASC' | 'THRESHOLD_VALUE_DESC' | 'WARNING_TYPE_ASC' | 'WARNING_TYPE_DESC';
2416
- export type PlanCapOrderBy = 'CAP_NAME_ASC' | 'CAP_NAME_DESC' | 'CAP_VALUE_ASC' | 'CAP_VALUE_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PLAN_ID_ASC' | 'PLAN_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
2417
- export type PlanOrderBy = 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
2418
- export type PlanLimitOrderBy = 'ID_ASC' | 'ID_DESC' | 'LIMIT_NAME_ASC' | 'LIMIT_NAME_DESC' | 'MAX_VALUE_ASC' | 'MAX_VALUE_DESC' | 'NATURAL' | 'PLAN_ID_ASC' | 'PLAN_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
2419
- export type PlanMeterLimitOrderBy = 'ID_ASC' | 'ID_DESC' | 'METER_SLUG_ASC' | 'METER_SLUG_DESC' | 'NATURAL' | 'PLAN_ID_ASC' | 'PLAN_ID_DESC' | 'PLAN_LIMIT_ASC' | 'PLAN_LIMIT_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
2420
- export type PlanOverrideOrderBy = 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LIMIT_NAME_ASC' | 'LIMIT_NAME_DESC' | 'MAX_VALUE_ASC' | 'MAX_VALUE_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REASON_ASC' | 'REASON_DESC';
2421
- export type PlanPricingOrderBy = 'BILLING_INTERVAL_ASC' | 'BILLING_INTERVAL_DESC' | 'CURRENCY_ASC' | 'CURRENCY_DESC' | 'DISCOUNT_PERCENT_ASC' | 'DISCOUNT_PERCENT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'NATURAL' | 'PLAN_ID_ASC' | 'PLAN_ID_DESC' | 'PRICE_ASC' | 'PRICE_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
2422
- export type PlanSubscriptionOrderBy = 'ENDS_AT_ASC' | 'ENDS_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'NATURAL' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PLAN_ID_ASC' | 'PLAN_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STARTS_AT_ASC' | 'STARTS_AT_DESC';
2423
- export interface CreateAppAchievementRewardInput {
2424
- clientMutationId?: string;
2425
- appAchievementReward: {
2426
- amount?: number;
2427
- creditType?: string;
2428
- expiresInterval?: IntervalInput;
2429
- levelName: string;
2430
- rewardType: string;
2431
- targetName: string;
2432
- };
2433
- }
2434
- export interface AppAchievementRewardPatch {
2435
- amount?: number | null;
2436
- creditType?: string | null;
2437
- expiresInterval?: IntervalInput | null;
2438
- levelName?: string | null;
2439
- rewardType?: string | null;
2440
- targetName?: string | null;
2441
- }
2442
- export interface UpdateAppAchievementRewardInput {
2443
- clientMutationId?: string;
2444
- id: string;
2445
- appAchievementRewardPatch: AppAchievementRewardPatch;
2446
- }
2447
- export interface DeleteAppAchievementRewardInput {
2448
- clientMutationId?: string;
2449
- id: string;
2450
- }
2451
- export interface CreateAppEventAggregateInput {
1265
+ export interface CreateAppLimitCapInput {
2452
1266
  clientMutationId?: string;
2453
- appEventAggregate: {
2454
- actorId?: string;
2455
- count?: number;
1267
+ appLimitCap: {
1268
+ entityId: string;
1269
+ max?: string;
2456
1270
  name: string;
2457
- periodStart?: string;
2458
1271
  };
2459
1272
  }
2460
- export interface AppEventAggregatePatch {
2461
- actorId?: string | null;
2462
- count?: number | null;
1273
+ export interface AppLimitCapPatch {
1274
+ entityId?: string | null;
1275
+ max?: string | null;
2463
1276
  name?: string | null;
2464
- periodStart?: string | null;
2465
1277
  }
2466
- export interface UpdateAppEventAggregateInput {
1278
+ export interface UpdateAppLimitCapInput {
2467
1279
  clientMutationId?: string;
2468
1280
  id: string;
2469
- appEventAggregatePatch: AppEventAggregatePatch;
1281
+ appLimitCapPatch: AppLimitCapPatch;
2470
1282
  }
2471
- export interface DeleteAppEventAggregateInput {
1283
+ export interface DeleteAppLimitCapInput {
2472
1284
  clientMutationId?: string;
2473
1285
  id: string;
2474
1286
  }
2475
- export interface CreateAppEventInput {
1287
+ export interface CreateAppLimitCapsDefaultInput {
2476
1288
  clientMutationId?: string;
2477
- appEvent: {
2478
- actorId?: string;
2479
- count?: number;
1289
+ appLimitCapsDefault: {
1290
+ max?: string;
2480
1291
  name: string;
2481
1292
  };
2482
1293
  }
2483
- export interface AppEventPatch {
2484
- actorId?: string | null;
2485
- count?: number | null;
1294
+ export interface AppLimitCapsDefaultPatch {
1295
+ max?: string | null;
2486
1296
  name?: string | null;
2487
1297
  }
2488
- export interface UpdateAppEventInput {
1298
+ export interface UpdateAppLimitCapsDefaultInput {
2489
1299
  clientMutationId?: string;
2490
1300
  id: string;
2491
- appEventPatch: AppEventPatch;
1301
+ appLimitCapsDefaultPatch: AppLimitCapsDefaultPatch;
2492
1302
  }
2493
- export interface DeleteAppEventInput {
1303
+ export interface DeleteAppLimitCapsDefaultInput {
2494
1304
  clientMutationId?: string;
2495
1305
  id: string;
2496
1306
  }
2497
- export interface CreateAppEventTypeInput {
2498
- clientMutationId?: string;
2499
- appEventType: {
2500
- aggregation?: string;
2501
- category?: string;
2502
- description?: string;
2503
- feedsLevels?: boolean;
2504
- isActive?: boolean;
2505
- name: string;
2506
- periodInterval?: IntervalInput;
2507
- };
2508
- }
2509
- export interface AppEventTypePatch {
2510
- aggregation?: string | null;
2511
- category?: string | null;
2512
- description?: string | null;
2513
- feedsLevels?: boolean | null;
2514
- isActive?: boolean | null;
2515
- name?: string | null;
2516
- periodInterval?: IntervalInput | null;
2517
- }
2518
- export interface UpdateAppEventTypeInput {
2519
- clientMutationId?: string;
2520
- id: string;
2521
- appEventTypePatch: AppEventTypePatch;
2522
- }
2523
- export interface DeleteAppEventTypeInput {
2524
- clientMutationId?: string;
2525
- id: string;
2526
- }
2527
- export interface CreateAppLevelInput {
2528
- clientMutationId?: string;
2529
- appLevel: {
2530
- description?: string;
2531
- image?: ConstructiveInternalTypeImage;
2532
- name: string;
2533
- ownerId?: string;
2534
- };
2535
- }
2536
- export interface AppLevelPatch {
2537
- description?: string | null;
2538
- image?: ConstructiveInternalTypeImage | null;
2539
- imageUpload?: File | null;
2540
- name?: string | null;
2541
- ownerId?: string | null;
2542
- }
2543
- export interface UpdateAppLevelInput {
2544
- clientMutationId?: string;
2545
- id: string;
2546
- appLevelPatch: AppLevelPatch;
2547
- }
2548
- export interface DeleteAppLevelInput {
2549
- clientMutationId?: string;
2550
- id: string;
2551
- }
2552
- export interface CreateAppLevelGrantInput {
2553
- clientMutationId?: string;
2554
- appLevelGrant: {
2555
- actorId?: string;
2556
- expiresAt?: string;
2557
- levelName: string;
2558
- periodStart?: string;
2559
- };
2560
- }
2561
- export interface AppLevelGrantPatch {
2562
- actorId?: string | null;
2563
- expiresAt?: string | null;
2564
- levelName?: string | null;
2565
- periodStart?: string | null;
2566
- }
2567
- export interface UpdateAppLevelGrantInput {
2568
- clientMutationId?: string;
2569
- id: string;
2570
- appLevelGrantPatch: AppLevelGrantPatch;
2571
- }
2572
- export interface DeleteAppLevelGrantInput {
2573
- clientMutationId?: string;
2574
- id: string;
2575
- }
2576
- export interface CreateAppLevelRequirementInput {
2577
- clientMutationId?: string;
2578
- appLevelRequirement: {
2579
- description?: string;
2580
- groupKey?: string;
2581
- level: string;
2582
- metric?: string;
2583
- name: string;
2584
- priority?: number;
2585
- requiredCount?: number;
2586
- };
2587
- }
2588
- export interface AppLevelRequirementPatch {
2589
- description?: string | null;
2590
- groupKey?: string | null;
2591
- level?: string | null;
2592
- metric?: string | null;
2593
- name?: string | null;
2594
- priority?: number | null;
2595
- requiredCount?: number | null;
2596
- }
2597
- export interface UpdateAppLevelRequirementInput {
2598
- clientMutationId?: string;
2599
- id: string;
2600
- appLevelRequirementPatch: AppLevelRequirementPatch;
2601
- }
2602
- export interface DeleteAppLevelRequirementInput {
2603
- clientMutationId?: string;
2604
- id: string;
2605
- }
2606
- export interface CreateAppLimitCapInput {
2607
- clientMutationId?: string;
2608
- appLimitCap: {
2609
- entityId: string;
2610
- max?: string;
2611
- name: string;
2612
- };
2613
- }
2614
- export interface AppLimitCapPatch {
2615
- entityId?: string | null;
2616
- max?: string | null;
2617
- name?: string | null;
2618
- }
2619
- export interface UpdateAppLimitCapInput {
2620
- clientMutationId?: string;
2621
- id: string;
2622
- appLimitCapPatch: AppLimitCapPatch;
2623
- }
2624
- export interface DeleteAppLimitCapInput {
2625
- clientMutationId?: string;
2626
- id: string;
2627
- }
2628
- export interface CreateAppLimitCapsDefaultInput {
2629
- clientMutationId?: string;
2630
- appLimitCapsDefault: {
2631
- max?: string;
2632
- name: string;
2633
- };
2634
- }
2635
- export interface AppLimitCapsDefaultPatch {
2636
- max?: string | null;
2637
- name?: string | null;
2638
- }
2639
- export interface UpdateAppLimitCapsDefaultInput {
2640
- clientMutationId?: string;
2641
- id: string;
2642
- appLimitCapsDefaultPatch: AppLimitCapsDefaultPatch;
2643
- }
2644
- export interface DeleteAppLimitCapsDefaultInput {
2645
- clientMutationId?: string;
2646
- id: string;
2647
- }
2648
- export interface CreateAppLimitInput {
1307
+ export interface CreateAppLimitInput {
2649
1308
  clientMutationId?: string;
2650
1309
  appLimit: {
2651
1310
  actorId: string;
@@ -2867,202 +1526,6 @@ export interface DeleteAppLimitWarningInput {
2867
1526
  clientMutationId?: string;
2868
1527
  id: string;
2869
1528
  }
2870
- export interface CreateBillingUsageSummaryInput {
2871
- clientMutationId?: string;
2872
- billingUsageSummary: {
2873
- creditsConsumed?: string;
2874
- entityId: string;
2875
- entityType?: string;
2876
- meterSlug: string;
2877
- organizationId?: string;
2878
- overageUnits?: string;
2879
- periodEnd: string;
2880
- periodStart: string;
2881
- planLimit?: string;
2882
- quantityUsed?: string;
2883
- };
2884
- }
2885
- export interface BillingUsageSummaryPatch {
2886
- creditsConsumed?: string | null;
2887
- entityId?: string | null;
2888
- entityType?: string | null;
2889
- meterSlug?: string | null;
2890
- organizationId?: string | null;
2891
- overageUnits?: string | null;
2892
- periodEnd?: string | null;
2893
- periodStart?: string | null;
2894
- planLimit?: string | null;
2895
- quantityUsed?: string | null;
2896
- }
2897
- export interface UpdateBillingUsageSummaryInput {
2898
- clientMutationId?: string;
2899
- id: string;
2900
- billingUsageSummaryPatch: BillingUsageSummaryPatch;
2901
- }
2902
- export interface DeleteBillingUsageSummaryInput {
2903
- clientMutationId?: string;
2904
- id: string;
2905
- }
2906
- export interface CreateLedgerInput {
2907
- clientMutationId?: string;
2908
- ledger: {
2909
- delta: string;
2910
- entityId: string;
2911
- entityType?: string;
2912
- entryType?: string;
2913
- ledgerClass?: string;
2914
- metadata?: Record<string, unknown>;
2915
- meterSlug: string;
2916
- organizationId?: string;
2917
- usageAfter: string;
2918
- };
2919
- }
2920
- export interface LedgerPatch {
2921
- delta?: string | null;
2922
- entityId?: string | null;
2923
- entityType?: string | null;
2924
- entryType?: string | null;
2925
- ledgerClass?: string | null;
2926
- metadata?: Record<string, unknown> | null;
2927
- meterSlug?: string | null;
2928
- organizationId?: string | null;
2929
- usageAfter?: string | null;
2930
- }
2931
- export interface UpdateLedgerInput {
2932
- clientMutationId?: string;
2933
- id: string;
2934
- ledgerPatch: LedgerPatch;
2935
- }
2936
- export interface DeleteLedgerInput {
2937
- clientMutationId?: string;
2938
- id: string;
2939
- }
2940
- export interface CreateMeterInput {
2941
- clientMutationId?: string;
2942
- meter: {
2943
- aggregation?: string;
2944
- categoryMeter?: string;
2945
- creditCost?: number;
2946
- displayName?: string;
2947
- isActive?: boolean;
2948
- meterType?: string;
2949
- periodInterval?: IntervalInput;
2950
- rolloverCap?: string;
2951
- slug: string;
2952
- unit?: string;
2953
- };
2954
- }
2955
- export interface MeterPatch {
2956
- aggregation?: string | null;
2957
- categoryMeter?: string | null;
2958
- creditCost?: number | null;
2959
- displayName?: string | null;
2960
- isActive?: boolean | null;
2961
- meterType?: string | null;
2962
- periodInterval?: IntervalInput | null;
2963
- rolloverCap?: string | null;
2964
- slug?: string | null;
2965
- unit?: string | null;
2966
- }
2967
- export interface UpdateMeterInput {
2968
- clientMutationId?: string;
2969
- id: string;
2970
- meterPatch: MeterPatch;
2971
- }
2972
- export interface DeleteMeterInput {
2973
- clientMutationId?: string;
2974
- id: string;
2975
- }
2976
- export interface CreateMeterCreditInput {
2977
- clientMutationId?: string;
2978
- meterCredit: {
2979
- amount: string;
2980
- creditType?: string;
2981
- entityId: string;
2982
- entityType?: string;
2983
- expiresAt?: string;
2984
- meterId: string;
2985
- organizationId?: string;
2986
- reason?: string;
2987
- };
2988
- }
2989
- export interface MeterCreditPatch {
2990
- amount?: string | null;
2991
- creditType?: string | null;
2992
- entityId?: string | null;
2993
- entityType?: string | null;
2994
- expiresAt?: string | null;
2995
- meterId?: string | null;
2996
- organizationId?: string | null;
2997
- reason?: string | null;
2998
- }
2999
- export interface UpdateMeterCreditInput {
3000
- clientMutationId?: string;
3001
- id: string;
3002
- meterCreditPatch: MeterCreditPatch;
3003
- }
3004
- export interface DeleteMeterCreditInput {
3005
- clientMutationId?: string;
3006
- id: string;
3007
- }
3008
- export interface CreateMeterDefaultInput {
3009
- clientMutationId?: string;
3010
- meterDefault: {
3011
- categoryMeter?: string;
3012
- creditCost?: string;
3013
- defaultPlanLimit?: string;
3014
- displayName?: string;
3015
- isActive?: boolean;
3016
- meterType?: string;
3017
- slug: string;
3018
- unit?: string;
3019
- };
3020
- }
3021
- export interface MeterDefaultPatch {
3022
- categoryMeter?: string | null;
3023
- creditCost?: string | null;
3024
- defaultPlanLimit?: string | null;
3025
- displayName?: string | null;
3026
- isActive?: boolean | null;
3027
- meterType?: string | null;
3028
- slug?: string | null;
3029
- unit?: string | null;
3030
- }
3031
- export interface UpdateMeterDefaultInput {
3032
- clientMutationId?: string;
3033
- id: string;
3034
- meterDefaultPatch: MeterDefaultPatch;
3035
- }
3036
- export interface DeleteMeterDefaultInput {
3037
- clientMutationId?: string;
3038
- id: string;
3039
- }
3040
- export interface CreateMeterSourceInput {
3041
- clientMutationId?: string;
3042
- meterSource: {
3043
- aggregationType?: string;
3044
- dimensionPath: string;
3045
- isActive?: boolean;
3046
- meterSlug: string;
3047
- sourceMetric: string;
3048
- };
3049
- }
3050
- export interface MeterSourcePatch {
3051
- aggregationType?: string | null;
3052
- dimensionPath?: string | null;
3053
- isActive?: boolean | null;
3054
- meterSlug?: string | null;
3055
- sourceMetric?: string | null;
3056
- }
3057
- export interface UpdateMeterSourceInput {
3058
- clientMutationId?: string;
3059
- id: string;
3060
- meterSourcePatch: MeterSourcePatch;
3061
- }
3062
- export interface DeleteMeterSourceInput {
3063
- clientMutationId?: string;
3064
- id: string;
3065
- }
3066
1529
  export interface CreateOrgLimitAggregateInput {
3067
1530
  clientMutationId?: string;
3068
1531
  orgLimitAggregate: {
@@ -3307,184 +1770,7 @@ export interface DeleteOrgLimitWarningInput {
3307
1770
  clientMutationId?: string;
3308
1771
  id: string;
3309
1772
  }
3310
- export interface CreatePlanCapInput {
3311
- clientMutationId?: string;
3312
- planCap: {
3313
- capName: string;
3314
- capValue?: string;
3315
- planId: string;
3316
- };
3317
- }
3318
- export interface PlanCapPatch {
3319
- capName?: string | null;
3320
- capValue?: string | null;
3321
- planId?: string | null;
3322
- }
3323
- export interface UpdatePlanCapInput {
3324
- clientMutationId?: string;
3325
- id: string;
3326
- planCapPatch: PlanCapPatch;
3327
- }
3328
- export interface DeletePlanCapInput {
3329
- clientMutationId?: string;
3330
- id: string;
3331
- }
3332
- export interface CreatePlanInput {
3333
- clientMutationId?: string;
3334
- plan: {
3335
- description?: string;
3336
- isActive?: boolean;
3337
- name: string;
3338
- };
3339
- }
3340
- export interface PlanPatch {
3341
- description?: string | null;
3342
- isActive?: boolean | null;
3343
- name?: string | null;
3344
- }
3345
- export interface UpdatePlanInput {
3346
- clientMutationId?: string;
3347
- id: string;
3348
- planPatch: PlanPatch;
3349
- }
3350
- export interface DeletePlanInput {
3351
- clientMutationId?: string;
3352
- id: string;
3353
- }
3354
- export interface CreatePlanLimitInput {
3355
- clientMutationId?: string;
3356
- planLimit: {
3357
- limitName: string;
3358
- maxValue: string;
3359
- planId: string;
3360
- };
3361
- }
3362
- export interface PlanLimitPatch {
3363
- limitName?: string | null;
3364
- maxValue?: string | null;
3365
- planId?: string | null;
3366
- }
3367
- export interface UpdatePlanLimitInput {
3368
- clientMutationId?: string;
3369
- id: string;
3370
- planLimitPatch: PlanLimitPatch;
3371
- }
3372
- export interface DeletePlanLimitInput {
3373
- clientMutationId?: string;
3374
- id: string;
3375
- }
3376
- export interface CreatePlanMeterLimitInput {
3377
- clientMutationId?: string;
3378
- planMeterLimit: {
3379
- meterSlug: string;
3380
- planId: string;
3381
- planLimit: string;
3382
- };
3383
- }
3384
- export interface PlanMeterLimitPatch {
3385
- meterSlug?: string | null;
3386
- planId?: string | null;
3387
- planLimit?: string | null;
3388
- }
3389
- export interface UpdatePlanMeterLimitInput {
3390
- clientMutationId?: string;
3391
- id: string;
3392
- planMeterLimitPatch: PlanMeterLimitPatch;
3393
- }
3394
- export interface DeletePlanMeterLimitInput {
3395
- clientMutationId?: string;
3396
- id: string;
3397
- }
3398
- export interface CreatePlanOverrideInput {
3399
- clientMutationId?: string;
3400
- planOverride: {
3401
- entityId: string;
3402
- expiresAt?: string;
3403
- limitName: string;
3404
- maxValue: string;
3405
- reason?: string;
3406
- };
3407
- }
3408
- export interface PlanOverridePatch {
3409
- entityId?: string | null;
3410
- expiresAt?: string | null;
3411
- limitName?: string | null;
3412
- maxValue?: string | null;
3413
- reason?: string | null;
3414
- }
3415
- export interface UpdatePlanOverrideInput {
3416
- clientMutationId?: string;
3417
- id: string;
3418
- planOverridePatch: PlanOverridePatch;
3419
- }
3420
- export interface DeletePlanOverrideInput {
3421
- clientMutationId?: string;
3422
- id: string;
3423
- }
3424
- export interface CreatePlanPricingInput {
3425
- clientMutationId?: string;
3426
- planPricing: {
3427
- billingInterval: string;
3428
- currency?: string;
3429
- discountPercent?: string;
3430
- isActive?: boolean;
3431
- planId: string;
3432
- price: string;
3433
- };
3434
- }
3435
- export interface PlanPricingPatch {
3436
- billingInterval?: string | null;
3437
- currency?: string | null;
3438
- discountPercent?: string | null;
3439
- isActive?: boolean | null;
3440
- planId?: string | null;
3441
- price?: string | null;
3442
- }
3443
- export interface UpdatePlanPricingInput {
3444
- clientMutationId?: string;
3445
- id: string;
3446
- planPricingPatch: PlanPricingPatch;
3447
- }
3448
- export interface DeletePlanPricingInput {
3449
- clientMutationId?: string;
3450
- id: string;
3451
- }
3452
- export interface CreatePlanSubscriptionInput {
3453
- clientMutationId?: string;
3454
- planSubscription: {
3455
- endsAt?: string;
3456
- entityId: string;
3457
- entityType?: string;
3458
- isActive?: boolean;
3459
- organizationId?: string;
3460
- planId: string;
3461
- startsAt?: string;
3462
- };
3463
- }
3464
- export interface PlanSubscriptionPatch {
3465
- endsAt?: string | null;
3466
- entityId?: string | null;
3467
- entityType?: string | null;
3468
- isActive?: boolean | null;
3469
- organizationId?: string | null;
3470
- planId?: string | null;
3471
- startsAt?: string | null;
3472
- }
3473
- export interface UpdatePlanSubscriptionInput {
3474
- clientMutationId?: string;
3475
- id: string;
3476
- planSubscriptionPatch: PlanSubscriptionPatch;
3477
- }
3478
- export interface DeletePlanSubscriptionInput {
3479
- clientMutationId?: string;
3480
- id: string;
3481
- }
3482
1773
  export declare const connectionFieldsMap: Record<string, Record<string, string>>;
3483
- export interface GrantAchievementInput {
3484
- actorId?: string;
3485
- clientMutationId?: string;
3486
- levelName?: string;
3487
- }
3488
1774
  export interface ProvisionBucketInput {
3489
1775
  /** The logical bucket key (e.g., "public", "private") */
3490
1776
  bucketKey: string;
@@ -3494,15 +1780,6 @@ export interface ProvisionBucketInput {
3494
1780
  */
3495
1781
  ownerId?: string;
3496
1782
  }
3497
- export interface RecomputeCapabilitiesInput {
3498
- actorId?: string;
3499
- clientMutationId?: string;
3500
- }
3501
- export interface RevokeAchievementInput {
3502
- actorId?: string;
3503
- clientMutationId?: string;
3504
- levelName?: string;
3505
- }
3506
1783
  export interface SeedAppLimitCapsDefaultsInput {
3507
1784
  clientMutationId?: string;
3508
1785
  defaults?: Record<string, unknown>;
@@ -3511,10 +1788,6 @@ export interface SeedAppLimitDefaultsInput {
3511
1788
  clientMutationId?: string;
3512
1789
  defaults?: Record<string, unknown>;
3513
1790
  }
3514
- export interface SeedMeterDefaultsInput {
3515
- clientMutationId?: string;
3516
- defaults?: Record<string, unknown>;
3517
- }
3518
1791
  export interface SeedOrgLimitCapsDefaultsInput {
3519
1792
  clientMutationId?: string;
3520
1793
  defaults?: Record<string, unknown>;
@@ -3523,15 +1796,6 @@ export interface SeedOrgLimitDefaultsInput {
3523
1796
  clientMutationId?: string;
3524
1797
  defaults?: Record<string, unknown>;
3525
1798
  }
3526
- export interface SeedPlanInput {
3527
- clientMutationId?: string;
3528
- planConfig?: Record<string, unknown>;
3529
- planName?: string;
3530
- }
3531
- export interface SeedTrustLadderInput {
3532
- clientMutationId?: string;
3533
- ladder?: Record<string, unknown>;
3534
- }
3535
1799
  /** A filter to be used against Interval fields. All fields are combined with a logical ‘and.’ */
3536
1800
  export interface IntervalFilter {
3537
1801
  /** Not equal to the specified value, treating null like an ordinary value. */
@@ -3557,41 +1821,6 @@ export interface IntervalFilter {
3557
1821
  /** Not included in the specified list. */
3558
1822
  notIn?: IntervalInput[];
3559
1823
  }
3560
- /** A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ */
3561
- export interface ConstructiveInternalTypeImageFilter {
3562
- /** Contained by the specified JSON. */
3563
- containedBy?: ConstructiveInternalTypeImage;
3564
- /** Contains the specified JSON. */
3565
- contains?: ConstructiveInternalTypeImage;
3566
- /** Contains all of the specified keys. */
3567
- containsAllKeys?: string[];
3568
- /** Contains any of the specified keys. */
3569
- containsAnyKeys?: string[];
3570
- /** Contains the specified key. */
3571
- containsKey?: string;
3572
- /** Not equal to the specified value, treating null like an ordinary value. */
3573
- distinctFrom?: ConstructiveInternalTypeImage;
3574
- /** Equal to the specified value. */
3575
- equalTo?: ConstructiveInternalTypeImage;
3576
- /** Greater than the specified value. */
3577
- greaterThan?: ConstructiveInternalTypeImage;
3578
- /** Greater than or equal to the specified value. */
3579
- greaterThanOrEqualTo?: ConstructiveInternalTypeImage;
3580
- /** Included in the specified list. */
3581
- in?: ConstructiveInternalTypeImage[];
3582
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
3583
- isNull?: boolean;
3584
- /** Less than the specified value. */
3585
- lessThan?: ConstructiveInternalTypeImage;
3586
- /** Less than or equal to the specified value. */
3587
- lessThanOrEqualTo?: ConstructiveInternalTypeImage;
3588
- /** Equal to the specified value, treating null like an ordinary value. */
3589
- notDistinctFrom?: ConstructiveInternalTypeImage;
3590
- /** Not equal to the specified value. */
3591
- notEqualTo?: ConstructiveInternalTypeImage;
3592
- /** Not included in the specified list. */
3593
- notIn?: ConstructiveInternalTypeImage[];
3594
- }
3595
1824
  /** A filter to be used against many `AppLimitCreditCodeItem` object types. All fields are combined with a logical ‘and.’ */
3596
1825
  export interface AppLimitCreditCodeToManyAppLimitCreditCodeItemFilter {
3597
1826
  /** Filters to entities where every related entity matches. */
@@ -3625,199 +1854,17 @@ export interface AppLimitDefaultToManyAppLimitCreditFilter {
3625
1854
  every?: AppLimitCreditFilter;
3626
1855
  /** Filters to entities where no related entity matches. */
3627
1856
  none?: AppLimitCreditFilter;
3628
- /** Filters to entities where at least one related entity matches. */
3629
- some?: AppLimitCreditFilter;
3630
- }
3631
- /** A filter to be used against many `MeterCredit` object types. All fields are combined with a logical ‘and.’ */
3632
- export interface MeterToManyMeterCreditFilter {
3633
- /** Filters to entities where every related entity matches. */
3634
- every?: MeterCreditFilter;
3635
- /** Filters to entities where no related entity matches. */
3636
- none?: MeterCreditFilter;
3637
- /** Filters to entities where at least one related entity matches. */
3638
- some?: MeterCreditFilter;
3639
- }
3640
- /** A filter to be used against many `OrgLimitCredit` object types. All fields are combined with a logical ‘and.’ */
3641
- export interface OrgLimitDefaultToManyOrgLimitCreditFilter {
3642
- /** Filters to entities where every related entity matches. */
3643
- every?: OrgLimitCreditFilter;
3644
- /** Filters to entities where no related entity matches. */
3645
- none?: OrgLimitCreditFilter;
3646
- /** Filters to entities where at least one related entity matches. */
3647
- some?: OrgLimitCreditFilter;
3648
- }
3649
- /** A filter to be used against many `PlanCap` object types. All fields are combined with a logical ‘and.’ */
3650
- export interface PlanToManyPlanCapFilter {
3651
- /** Filters to entities where every related entity matches. */
3652
- every?: PlanCapFilter;
3653
- /** Filters to entities where no related entity matches. */
3654
- none?: PlanCapFilter;
3655
- /** Filters to entities where at least one related entity matches. */
3656
- some?: PlanCapFilter;
3657
- }
3658
- /** A filter to be used against many `PlanLimit` object types. All fields are combined with a logical ‘and.’ */
3659
- export interface PlanToManyPlanLimitFilter {
3660
- /** Filters to entities where every related entity matches. */
3661
- every?: PlanLimitFilter;
3662
- /** Filters to entities where no related entity matches. */
3663
- none?: PlanLimitFilter;
3664
- /** Filters to entities where at least one related entity matches. */
3665
- some?: PlanLimitFilter;
3666
- }
3667
- /** A filter to be used against many `PlanMeterLimit` object types. All fields are combined with a logical ‘and.’ */
3668
- export interface PlanToManyPlanMeterLimitFilter {
3669
- /** Filters to entities where every related entity matches. */
3670
- every?: PlanMeterLimitFilter;
3671
- /** Filters to entities where no related entity matches. */
3672
- none?: PlanMeterLimitFilter;
3673
- /** Filters to entities where at least one related entity matches. */
3674
- some?: PlanMeterLimitFilter;
3675
- }
3676
- /** A filter to be used against many `PlanPricing` object types. All fields are combined with a logical ‘and.’ */
3677
- export interface PlanToManyPlanPricingFilter {
3678
- /** Filters to entities where every related entity matches. */
3679
- every?: PlanPricingFilter;
3680
- /** Filters to entities where no related entity matches. */
3681
- none?: PlanPricingFilter;
3682
- /** Filters to entities where at least one related entity matches. */
3683
- some?: PlanPricingFilter;
3684
- }
3685
- /** A filter to be used against many `PlanSubscription` object types. All fields are combined with a logical ‘and.’ */
3686
- export interface PlanToManyPlanSubscriptionFilter {
3687
- /** Filters to entities where every related entity matches. */
3688
- every?: PlanSubscriptionFilter;
3689
- /** Filters to entities where no related entity matches. */
3690
- none?: PlanSubscriptionFilter;
3691
- /** Filters to entities where at least one related entity matches. */
3692
- some?: PlanSubscriptionFilter;
3693
- }
3694
- /** An input for mutations affecting `AppAchievementReward` */
3695
- export interface AppAchievementRewardInput {
3696
- /** Number of credits to grant; unused by capability rewards */
3697
- amount?: number;
3698
- createdAt?: string;
3699
- /** Credit type: permanent, expiring, etc. */
3700
- creditType?: string;
3701
- /** Optional duration after which the granted credit expires; NULL means never expires */
3702
- expiresInterval?: IntervalInput;
3703
- id?: string;
3704
- /** Name of the level this reward is granted for */
3705
- levelName: string;
3706
- /** Type of reward: limit_credit, meter_credit, or capability */
3707
- rewardType: string;
3708
- /** Target limit name, meter slug, or capability catalog name */
3709
- targetName: string;
3710
- updatedAt?: string;
3711
- }
3712
- /** An interval of time that has passed where the smallest distinct unit is a second. */
3713
- export interface IntervalInput {
3714
- /** A quantity of days. */
3715
- days?: number;
3716
- /** A quantity of hours. */
3717
- hours?: number;
3718
- /** A quantity of minutes. */
3719
- minutes?: number;
3720
- /** A quantity of months. */
3721
- months?: number;
3722
- /**
3723
- * A quantity of seconds. This is the only non-integer field, as all the other
3724
- * fields will dump their overflow into a smaller unit of time. Intervals don’t
3725
- * have a smaller unit than seconds.
3726
- */
3727
- seconds?: number;
3728
- /** A quantity of years. */
3729
- years?: number;
3730
- }
3731
- /** An input for mutations affecting `AppEventAggregate` */
3732
- export interface AppEventAggregateInput {
3733
- actorId?: string;
3734
- /** Cumulative count of completed steps toward this requirement */
3735
- count?: number;
3736
- createdAt?: string;
3737
- id?: string;
3738
- /** Name identifier of the level requirement being tracked */
3739
- name: string;
3740
- /** Start of current counting period; NULL means lifetime counting */
3741
- periodStart?: string;
3742
- updatedAt?: string;
3743
- }
3744
- /** An input for mutations affecting `AppEvent` */
3745
- export interface AppEventInput {
3746
- actorId?: string;
3747
- /** Number of units completed in this step action */
3748
- count?: number;
3749
- createdAt?: string;
3750
- /** Unique identifier for each event (uuidv7 provides temporal ordering) */
3751
- id?: string;
3752
- /** Name identifier of the level requirement this step fulfills */
3753
- name: string;
3754
- }
3755
- /** An input for mutations affecting `AppEventType` */
3756
- export interface AppEventTypeInput {
3757
- /** Aggregation mode: count, sum, last_value, or none */
3758
- aggregation?: string;
3759
- /** Grouping category: onboarding, engagement, analytics, commerce, etc. */
3760
- category?: string;
3761
- createdAt?: string;
3762
- /** Human-readable description of this event type */
3763
- description?: string;
3764
- /** Whether this event type participates in the levels/badge system by updating aggregates */
3765
- feedsLevels?: boolean;
3766
- id?: string;
3767
- /** Whether recording of this event type is enabled */
3768
- isActive?: boolean;
3769
- /** Unique name identifier for this event type */
3770
- name: string;
3771
- /** Optional period for aggregate count reset; NULL means lifetime counting */
3772
- periodInterval?: IntervalInput;
3773
- updatedAt?: string;
3774
- }
3775
- /** An input for mutations affecting `AppLevel` */
3776
- export interface AppLevelInput {
3777
- createdAt?: string;
3778
- /** Human-readable description of what this level represents */
3779
- description?: string;
3780
- id?: string;
3781
- /** Badge or icon image associated with this level */
3782
- image?: ConstructiveInternalTypeImage;
3783
- /** Unique name of the level */
3784
- name: string;
3785
- /** Optional owner (actor) who created or manages this level */
3786
- ownerId?: string;
3787
- updatedAt?: string;
3788
- }
3789
- /** An input for mutations affecting `AppLevelGrant` */
3790
- export interface AppLevelGrantInput {
3791
- actorId?: string;
3792
- createdAt?: string;
3793
- /** When this grant lapses; NULL means it holds until revoked */
3794
- expiresAt?: string;
3795
- id?: string;
3796
- /** Name of the level that was achieved */
3797
- levelName: string;
3798
- /** Period start for periodic achievements; -infinity for non-periodic (earn-once) */
3799
- periodStart?: string;
3800
- updatedAt?: string;
3801
- }
3802
- /** An input for mutations affecting `AppLevelRequirement` */
3803
- export interface AppLevelRequirementInput {
3804
- createdAt?: string;
3805
- /** Human-readable description of what this requirement entails */
3806
- description?: string;
3807
- /** Requirements of a level sharing this key satisfy it as alternatives; NULL requires this one on its own */
3808
- groupKey?: string;
3809
- id?: string;
3810
- /** Name of the level this requirement belongs to */
3811
- level: string;
3812
- /** Computed signal to compare against required_count instead of an event count; currently only account_age_days */
3813
- metric?: string;
3814
- /** Name identifier of the requirement (matches step names) */
3815
- name: string;
3816
- /** Display ordering priority; lower values appear first */
3817
- priority?: number;
3818
- /** Number of steps needed to satisfy this requirement */
3819
- requiredCount?: number;
3820
- updatedAt?: string;
1857
+ /** Filters to entities where at least one related entity matches. */
1858
+ some?: AppLimitCreditFilter;
1859
+ }
1860
+ /** A filter to be used against many `OrgLimitCredit` object types. All fields are combined with a logical ‘and.’ */
1861
+ export interface OrgLimitDefaultToManyOrgLimitCreditFilter {
1862
+ /** Filters to entities where every related entity matches. */
1863
+ every?: OrgLimitCreditFilter;
1864
+ /** Filters to entities where no related entity matches. */
1865
+ none?: OrgLimitCreditFilter;
1866
+ /** Filters to entities where at least one related entity matches. */
1867
+ some?: OrgLimitCreditFilter;
3821
1868
  }
3822
1869
  /** An input for mutations affecting `AppLimitCap` */
3823
1870
  export interface AppLimitCapInput {
@@ -3865,6 +1912,25 @@ export interface AppLimitInput {
3865
1912
  /** Start of the current metering window; NULL means no time window */
3866
1913
  windowStart?: string;
3867
1914
  }
1915
+ /** An interval of time that has passed where the smallest distinct unit is a second. */
1916
+ export interface IntervalInput {
1917
+ /** A quantity of days. */
1918
+ days?: number;
1919
+ /** A quantity of hours. */
1920
+ hours?: number;
1921
+ /** A quantity of minutes. */
1922
+ minutes?: number;
1923
+ /** A quantity of months. */
1924
+ months?: number;
1925
+ /**
1926
+ * A quantity of seconds. This is the only non-integer field, as all the other
1927
+ * fields will dump their overflow into a smaller unit of time. Intervals don’t
1928
+ * have a smaller unit than seconds.
1929
+ */
1930
+ seconds?: number;
1931
+ /** A quantity of years. */
1932
+ years?: number;
1933
+ }
3868
1934
  /** An input for mutations affecting `AppLimitCreditCode` */
3869
1935
  export interface AppLimitCreditCodeInput {
3870
1936
  /** Human-readable credit code (case-insensitive, unique) */
@@ -3965,134 +2031,6 @@ export interface AppLimitWarningInput {
3965
2031
  /** Threshold type: absolute (fixed count) or percentage (of max) */
3966
2032
  warningType: string;
3967
2033
  }
3968
- /** An input for mutations affecting `BillingUsageSummary` */
3969
- export interface BillingUsageSummaryInput {
3970
- /** Universal credits consumed during this period */
3971
- creditsConsumed?: string;
3972
- /** The entity (org, team, user) this summary belongs to */
3973
- entityId: string;
3974
- /** Entity type prefix (org, team, app, etc.) for interpreting entity_id */
3975
- entityType?: string;
3976
- id?: string;
3977
- /** Which meter this summary tracks */
3978
- meterSlug: string;
3979
- /** Resolved billable organization via get_organization_id */
3980
- organizationId?: string;
3981
- /** Units consumed beyond the plan limit (quantity_used - plan_limit when positive) */
3982
- overageUnits?: string;
3983
- /** End of the billing period this summary covers */
3984
- periodEnd: string;
3985
- /** Start of the billing period this summary covers */
3986
- periodStart: string;
3987
- /** Plan limit that was in effect during this period */
3988
- planLimit?: string;
3989
- /** Total units consumed during this period */
3990
- quantityUsed?: string;
3991
- }
3992
- /** An input for mutations affecting `Ledger` */
3993
- export interface LedgerInput {
3994
- createdAt?: string;
3995
- /** Change amount (positive = grant/credit, negative = consumption/debit) */
3996
- delta: string;
3997
- /** The entity this ledger entry belongs to */
3998
- entityId: string;
3999
- /** Entity type prefix (org, team, app, etc.) for interpreting entity_id */
4000
- entityType?: string;
4001
- /** Specific type: increment, decrement, credit_purchase, plan_grant, reset, adjustment */
4002
- entryType?: string;
4003
- /** Unique identifier for each ledger entry */
4004
- id?: string;
4005
- /** Classification: usage, grant, adjustment, refund */
4006
- ledgerClass?: string;
4007
- /** Additional context (reason, source, Stripe receipt, etc.) */
4008
- metadata?: Record<string, unknown>;
4009
- /** Which meter this entry is for */
4010
- meterSlug: string;
4011
- /** Resolved billable organization via get_organization_id */
4012
- organizationId?: string;
4013
- /** Running total of usage after this entry */
4014
- usageAfter: string;
4015
- }
4016
- /** An input for mutations affecting `Meter` */
4017
- export interface MeterInput {
4018
- /** How usage is aggregated: cumulative (sum over period) or peak (max watermark) */
4019
- aggregation?: string;
4020
- /** Slug of the category pool meter this meter belongs to. When set, usage overflow charges the category pool before falling through to universal credits. NULL means skip category pool and fall through directly to universal. */
4021
- categoryMeter?: string;
4022
- /** Universal credits consumed per unit of this meter. NULL disables universal credit fallback. */
4023
- creditCost?: number;
4024
- /** Human-readable name for the meter */
4025
- displayName?: string;
4026
- id?: string;
4027
- /** Whether this meter is currently active */
4028
- isActive?: boolean;
4029
- /** Type of meter: quota (consumable), boolean (feature flag), or usage_pool (category aggregator) */
4030
- meterType?: string;
4031
- /** Reset cadence for this meter (e.g. 1 month, 1 year). NULL means no periodic reset. */
4032
- periodInterval?: IntervalInput;
4033
- /** Maximum unused units that carry forward on rollover reset. NULL means unlimited rollover. */
4034
- rolloverCap?: string;
4035
- /** Unique identifier for the meter (e.g. api_requests, storage_gb, seats) */
4036
- slug: string;
4037
- /** Unit of measurement for this meter (e.g. tokens, characters, audio_seconds, pages, images, megapixels, bytes, requests, compute_ms, credits) */
4038
- unit?: string;
4039
- }
4040
- /** An input for mutations affecting `MeterCredit` */
4041
- export interface MeterCreditInput {
4042
- /** Number of credits to grant (positive to add, negative to revoke) */
4043
- amount: string;
4044
- /** When this credit was granted */
4045
- createdAt?: string;
4046
- /** Credit behavior: permanent (survives reset), period (zeroed on reset), or rollover (unused portion carries forward) */
4047
- creditType?: string;
4048
- /** Entity this credit applies to */
4049
- entityId: string;
4050
- /** Membership prefix identifying the entity kind (org, team, app) */
4051
- entityType?: string;
4052
- /** When this credit expires. NULL means the credit never expires. */
4053
- expiresAt?: string;
4054
- id?: string;
4055
- /** FK to meters — which meter definition this credit applies to */
4056
- meterId: string;
4057
- /** Resolved billable organization via get_organization_id */
4058
- organizationId?: string;
4059
- /** Optional reason for the credit grant (promo code, admin grant, etc.) */
4060
- reason?: string;
4061
- }
4062
- /** An input for mutations affecting `MeterDefault` */
4063
- export interface MeterDefaultInput {
4064
- /** Slug of the category pool meter (usage_pool) this meter belongs to, enabling the per-task -> category -> universal waterfall for default-provisioned meters. NULL skips the category pool. */
4065
- categoryMeter?: string;
4066
- /** Universal credits consumed per unit of this meter. NULL disables universal credit fallback. */
4067
- creditCost?: string;
4068
- /** Default plan_limit value for new entity balances. 0 means no quota; -1 (negative) means unlimited. */
4069
- defaultPlanLimit?: string;
4070
- /** Human-readable name for the default meter */
4071
- displayName?: string;
4072
- id?: string;
4073
- /** Whether this default meter is actively provisioned for new entities */
4074
- isActive?: boolean;
4075
- /** Type of meter: quota, boolean, or usage_pool */
4076
- meterType?: string;
4077
- /** Meter slug that matches the slug in the meters table */
4078
- slug: string;
4079
- /** Unit of measurement for this meter (e.g. tokens, requests, images, compute_ms, credits) */
4080
- unit?: string;
4081
- }
4082
- /** An input for mutations affecting `MeterSource` */
4083
- export interface MeterSourceInput {
4084
- /** How to aggregate the column. Built-in types: sum, sum_bytes_to_gb, peak. Custom types supported. */
4085
- aggregationType?: string;
4086
- /** Column name in the typed usage summary table (e.g. total_reads, avg_read_time_ms, size_bytes) */
4087
- dimensionPath: string;
4088
- id?: string;
4089
- /** Soft-delete flag. Inactive sources are skipped during reconciliation. */
4090
- isActive?: boolean;
4091
- /** Slug of the billing meter this source feeds (matches meters.slug in the billing module) */
4092
- meterSlug: string;
4093
- /** Source table type: table_usage (db_table_stats_usage_summary), query_time (db_query_stats_usage_summary), or row_count (trigger-based, skipped by reconcile) */
4094
- sourceMetric: string;
4095
- }
4096
2034
  /** An input for mutations affecting `OrgLimitAggregate` */
4097
2035
  export interface OrgLimitAggregateInput {
4098
2036
  /** Entity (org) whose aggregate usage is being tracked */
@@ -4242,94 +2180,6 @@ export interface OrgLimitWarningInput {
4242
2180
  /** Threshold type: absolute (fixed count) or percentage (of max) */
4243
2181
  warningType: string;
4244
2182
  }
4245
- /** An input for mutations affecting `PlanCap` */
4246
- export interface PlanCapInput {
4247
- /** Name of the cap/feature flag this plan sets (must match a name in caps_defaults or limit_caps) */
4248
- capName: string;
4249
- /** Cap value to set when this plan is applied. Convention: 0=disabled, 1=enabled, N=numeric cap, negative=unlimited */
4250
- capValue?: string;
4251
- id?: string;
4252
- /** Reference to the plan this cap setting belongs to */
4253
- planId: string;
4254
- }
4255
- /** An input for mutations affecting `Plan` */
4256
- export interface PlanInput {
4257
- /** Human-readable description of the plan tier */
4258
- description?: string;
4259
- id?: string;
4260
- /** Whether this plan can currently be applied to entities */
4261
- isActive?: boolean;
4262
- /** Unique name identifier of the plan (e.g. free, pro, enterprise) */
4263
- name: string;
4264
- }
4265
- /** An input for mutations affecting `PlanLimit` */
4266
- export interface PlanLimitInput {
4267
- id?: string;
4268
- /** Name of the limit this plan sets (must match the name field in a limits table) */
4269
- limitName: string;
4270
- /** Maximum value to set on the limit when this plan is applied; negative means unlimited */
4271
- maxValue: string;
4272
- /** Reference to the plan this limit configuration belongs to */
4273
- planId: string;
4274
- }
4275
- /** An input for mutations affecting `PlanMeterLimit` */
4276
- export interface PlanMeterLimitInput {
4277
- id?: string;
4278
- /** Slug of the billing meter this plan sets a quota for (must match a slug in the meters table) */
4279
- meterSlug: string;
4280
- /** Reference to the plan this meter limit belongs to */
4281
- planId: string;
4282
- /** Billing quota to set on the balance when this plan is applied; negative means unlimited */
4283
- planLimit: string;
4284
- }
4285
- /** An input for mutations affecting `PlanOverride` */
4286
- export interface PlanOverrideInput {
4287
- /** Entity receiving the custom override (personal org or actual org) */
4288
- entityId: string;
4289
- /** When this override expires; NULL means permanent */
4290
- expiresAt?: string;
4291
- id?: string;
4292
- /** Name of the limit being overridden */
4293
- limitName: string;
4294
- /** Override maximum value; negative means unlimited */
4295
- maxValue: string;
4296
- /** Admin note explaining why this override was granted */
4297
- reason?: string;
4298
- }
4299
- /** An input for mutations affecting `PlanPricing` */
4300
- export interface PlanPricingInput {
4301
- /** Billing cycle identifier (e.g. monthly, yearly, lifetime) */
4302
- billingInterval: string;
4303
- /** ISO 4217 currency code (lowercase) */
4304
- currency?: string;
4305
- /** Discount percentage off the base price (0-100); NULL means no discount */
4306
- discountPercent?: string;
4307
- id?: string;
4308
- /** Whether this pricing option is currently available */
4309
- isActive?: boolean;
4310
- /** Reference to the plan this pricing belongs to */
4311
- planId: string;
4312
- /** Price in smallest currency unit (e.g. cents); negative means contact-sales */
4313
- price: string;
4314
- }
4315
- /** An input for mutations affecting `PlanSubscription` */
4316
- export interface PlanSubscriptionInput {
4317
- /** When the subscription expires (NULL = no expiration) */
4318
- endsAt?: string;
4319
- /** The entity (org, team, user) this subscription belongs to */
4320
- entityId: string;
4321
- /** Membership prefix identifying the entity kind (org, team, app) */
4322
- entityType?: string;
4323
- id?: string;
4324
- /** Whether the subscription is currently active */
4325
- isActive?: boolean;
4326
- /** Resolved billable organization via get_organization_id */
4327
- organizationId?: string;
4328
- /** Reference to the plan this subscription is for */
4329
- planId: string;
4330
- /** When the subscription becomes active */
4331
- startsAt?: string;
4332
- }
4333
2183
  /** A filter to be used against `AppLimitCreditCodeItem` object types. All fields are combined with a logical ‘and.’ */
4334
2184
  export interface AppLimitCreditCodeItemFilter {
4335
2185
  /** Filter by the object’s `amount` field. */
@@ -4397,37 +2247,6 @@ export interface AppLimitCreditFilter {
4397
2247
  /** Filter by the object’s `reason` field. */
4398
2248
  reason?: StringFilter;
4399
2249
  }
4400
- /** A filter to be used against `MeterCredit` object types. All fields are combined with a logical ‘and.’ */
4401
- export interface MeterCreditFilter {
4402
- /** Filter by the object’s `amount` field. */
4403
- amount?: BigIntFilter;
4404
- /** Checks for all expressions in this list. */
4405
- and?: MeterCreditFilter[];
4406
- /** Filter by the object’s `createdAt` field. */
4407
- createdAt?: DatetimeFilter;
4408
- /** Filter by the object’s `creditType` field. */
4409
- creditType?: StringFilter;
4410
- /** Filter by the object’s `entityId` field. */
4411
- entityId?: UUIDFilter;
4412
- /** Filter by the object’s `entityType` field. */
4413
- entityType?: StringFilter;
4414
- /** Filter by the object’s `expiresAt` field. */
4415
- expiresAt?: DatetimeFilter;
4416
- /** Filter by the object’s `id` field. */
4417
- id?: UUIDFilter;
4418
- /** Filter by the object’s `meter` relation. */
4419
- meter?: MeterFilter;
4420
- /** Filter by the object’s `meterId` field. */
4421
- meterId?: UUIDFilter;
4422
- /** Negates the expression. */
4423
- not?: MeterCreditFilter;
4424
- /** Checks for any expressions in this list. */
4425
- or?: MeterCreditFilter[];
4426
- /** Filter by the object’s `organizationId` field. */
4427
- organizationId?: UUIDFilter;
4428
- /** Filter by the object’s `reason` field. */
4429
- reason?: StringFilter;
4430
- }
4431
2250
  /** A filter to be used against `OrgLimitCredit` object types. All fields are combined with a logical ‘and.’ */
4432
2251
  export interface OrgLimitCreditFilter {
4433
2252
  /** Filter by the object’s `actorId` field. */
@@ -4457,115 +2276,6 @@ export interface OrgLimitCreditFilter {
4457
2276
  /** Filter by the object’s `reason` field. */
4458
2277
  reason?: StringFilter;
4459
2278
  }
4460
- /** A filter to be used against `PlanCap` object types. All fields are combined with a logical ‘and.’ */
4461
- export interface PlanCapFilter {
4462
- /** Checks for all expressions in this list. */
4463
- and?: PlanCapFilter[];
4464
- /** Filter by the object’s `capName` field. */
4465
- capName?: StringFilter;
4466
- /** Filter by the object’s `capValue` field. */
4467
- capValue?: BigIntFilter;
4468
- /** Filter by the object’s `id` field. */
4469
- id?: UUIDFilter;
4470
- /** Negates the expression. */
4471
- not?: PlanCapFilter;
4472
- /** Checks for any expressions in this list. */
4473
- or?: PlanCapFilter[];
4474
- /** Filter by the object’s `plan` relation. */
4475
- plan?: PlanFilter;
4476
- /** Filter by the object’s `planId` field. */
4477
- planId?: UUIDFilter;
4478
- }
4479
- /** A filter to be used against `PlanLimit` object types. All fields are combined with a logical ‘and.’ */
4480
- export interface PlanLimitFilter {
4481
- /** Checks for all expressions in this list. */
4482
- and?: PlanLimitFilter[];
4483
- /** Filter by the object’s `id` field. */
4484
- id?: UUIDFilter;
4485
- /** Filter by the object’s `limitName` field. */
4486
- limitName?: StringFilter;
4487
- /** Filter by the object’s `maxValue` field. */
4488
- maxValue?: BigIntFilter;
4489
- /** Negates the expression. */
4490
- not?: PlanLimitFilter;
4491
- /** Checks for any expressions in this list. */
4492
- or?: PlanLimitFilter[];
4493
- /** Filter by the object’s `plan` relation. */
4494
- plan?: PlanFilter;
4495
- /** Filter by the object’s `planId` field. */
4496
- planId?: UUIDFilter;
4497
- }
4498
- /** A filter to be used against `PlanMeterLimit` object types. All fields are combined with a logical ‘and.’ */
4499
- export interface PlanMeterLimitFilter {
4500
- /** Checks for all expressions in this list. */
4501
- and?: PlanMeterLimitFilter[];
4502
- /** Filter by the object’s `id` field. */
4503
- id?: UUIDFilter;
4504
- /** Filter by the object’s `meterSlug` field. */
4505
- meterSlug?: StringFilter;
4506
- /** Negates the expression. */
4507
- not?: PlanMeterLimitFilter;
4508
- /** Checks for any expressions in this list. */
4509
- or?: PlanMeterLimitFilter[];
4510
- /** Filter by the object’s `plan` relation. */
4511
- plan?: PlanFilter;
4512
- /** Filter by the object’s `planId` field. */
4513
- planId?: UUIDFilter;
4514
- /** Filter by the object’s `planLimit` field. */
4515
- planLimit?: BigIntFilter;
4516
- }
4517
- /** A filter to be used against `PlanPricing` object types. All fields are combined with a logical ‘and.’ */
4518
- export interface PlanPricingFilter {
4519
- /** Checks for all expressions in this list. */
4520
- and?: PlanPricingFilter[];
4521
- /** Filter by the object’s `billingInterval` field. */
4522
- billingInterval?: StringFilter;
4523
- /** Filter by the object’s `currency` field. */
4524
- currency?: StringFilter;
4525
- /** Filter by the object’s `discountPercent` field. */
4526
- discountPercent?: BigFloatFilter;
4527
- /** Filter by the object’s `id` field. */
4528
- id?: UUIDFilter;
4529
- /** Filter by the object’s `isActive` field. */
4530
- isActive?: BooleanFilter;
4531
- /** Negates the expression. */
4532
- not?: PlanPricingFilter;
4533
- /** Checks for any expressions in this list. */
4534
- or?: PlanPricingFilter[];
4535
- /** Filter by the object’s `plan` relation. */
4536
- plan?: PlanFilter;
4537
- /** Filter by the object’s `planId` field. */
4538
- planId?: UUIDFilter;
4539
- /** Filter by the object’s `price` field. */
4540
- price?: BigIntFilter;
4541
- }
4542
- /** A filter to be used against `PlanSubscription` object types. All fields are combined with a logical ‘and.’ */
4543
- export interface PlanSubscriptionFilter {
4544
- /** Checks for all expressions in this list. */
4545
- and?: PlanSubscriptionFilter[];
4546
- /** Filter by the object’s `endsAt` field. */
4547
- endsAt?: DatetimeFilter;
4548
- /** Filter by the object’s `entityId` field. */
4549
- entityId?: UUIDFilter;
4550
- /** Filter by the object’s `entityType` field. */
4551
- entityType?: StringFilter;
4552
- /** Filter by the object’s `id` field. */
4553
- id?: UUIDFilter;
4554
- /** Filter by the object’s `isActive` field. */
4555
- isActive?: BooleanFilter;
4556
- /** Negates the expression. */
4557
- not?: PlanSubscriptionFilter;
4558
- /** Checks for any expressions in this list. */
4559
- or?: PlanSubscriptionFilter[];
4560
- /** Filter by the object’s `organizationId` field. */
4561
- organizationId?: UUIDFilter;
4562
- /** Filter by the object’s `plan` relation. */
4563
- plan?: PlanFilter;
4564
- /** Filter by the object’s `planId` field. */
4565
- planId?: UUIDFilter;
4566
- /** Filter by the object’s `startsAt` field. */
4567
- startsAt?: DatetimeFilter;
4568
- }
4569
2279
  /** A filter to be used against BigInt fields. All fields are combined with a logical ‘and.’ */
4570
2280
  export interface BigIntFilter {
4571
2281
  /** Not equal to the specified value, treating null like an ordinary value. */
@@ -4745,66 +2455,6 @@ export interface AppLimitDefaultFilter {
4745
2455
  /** Filter by the object’s `softMax` field. */
4746
2456
  softMax?: BigIntFilter;
4747
2457
  }
4748
- /** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */
4749
- export interface DatetimeFilter {
4750
- /** Not equal to the specified value, treating null like an ordinary value. */
4751
- distinctFrom?: string;
4752
- /** Equal to the specified value. */
4753
- equalTo?: string;
4754
- /** Greater than the specified value. */
4755
- greaterThan?: string;
4756
- /** Greater than or equal to the specified value. */
4757
- greaterThanOrEqualTo?: string;
4758
- /** Included in the specified list. */
4759
- in?: string[];
4760
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
4761
- isNull?: boolean;
4762
- /** Less than the specified value. */
4763
- lessThan?: string;
4764
- /** Less than or equal to the specified value. */
4765
- lessThanOrEqualTo?: string;
4766
- /** Equal to the specified value, treating null like an ordinary value. */
4767
- notDistinctFrom?: string;
4768
- /** Not equal to the specified value. */
4769
- notEqualTo?: string;
4770
- /** Not included in the specified list. */
4771
- notIn?: string[];
4772
- }
4773
- /** A filter to be used against `Meter` object types. All fields are combined with a logical ‘and.’ */
4774
- export interface MeterFilter {
4775
- /** Filter by the object’s `aggregation` field. */
4776
- aggregation?: StringFilter;
4777
- /** Checks for all expressions in this list. */
4778
- and?: MeterFilter[];
4779
- /** Filter by the object’s `categoryMeter` field. */
4780
- categoryMeter?: StringFilter;
4781
- /** Filter by the object’s `creditCost` field. */
4782
- creditCost?: IntFilter;
4783
- /** Filter by the object’s `displayName` field. */
4784
- displayName?: StringFilter;
4785
- /** Filter by the object’s `id` field. */
4786
- id?: UUIDFilter;
4787
- /** Filter by the object’s `isActive` field. */
4788
- isActive?: BooleanFilter;
4789
- /** Filter by the object’s `meterCredits` relation. */
4790
- meterCredits?: MeterToManyMeterCreditFilter;
4791
- /** `meterCredits` exist. */
4792
- meterCreditsExist?: boolean;
4793
- /** Filter by the object’s `meterType` field. */
4794
- meterType?: StringFilter;
4795
- /** Negates the expression. */
4796
- not?: MeterFilter;
4797
- /** Checks for any expressions in this list. */
4798
- or?: MeterFilter[];
4799
- /** Filter by the object’s `periodInterval` field. */
4800
- periodInterval?: IntervalFilter;
4801
- /** Filter by the object’s `rolloverCap` field. */
4802
- rolloverCap?: BigIntFilter;
4803
- /** Filter by the object’s `slug` field. */
4804
- slug?: StringFilter;
4805
- /** Filter by the object’s `unit` field. */
4806
- unit?: StringFilter;
4807
- }
4808
2458
  /** A filter to be used against `OrgLimitDefault` object types. All fields are combined with a logical ‘and.’ */
4809
2459
  export interface OrgLimitDefaultFilter {
4810
2460
  /** Checks for all expressions in this list. */
@@ -4826,93 +2476,6 @@ export interface OrgLimitDefaultFilter {
4826
2476
  /** Filter by the object’s `softMax` field. */
4827
2477
  softMax?: BigIntFilter;
4828
2478
  }
4829
- /** A filter to be used against `Plan` object types. All fields are combined with a logical ‘and.’ */
4830
- export interface PlanFilter {
4831
- /** Checks for all expressions in this list. */
4832
- and?: PlanFilter[];
4833
- /** Filter by the object’s `description` field. */
4834
- description?: StringFilter;
4835
- /** Filter by the object’s `id` field. */
4836
- id?: UUIDFilter;
4837
- /** Filter by the object’s `isActive` field. */
4838
- isActive?: BooleanFilter;
4839
- /** Filter by the object’s `name` field. */
4840
- name?: StringFilter;
4841
- /** Negates the expression. */
4842
- not?: PlanFilter;
4843
- /** Checks for any expressions in this list. */
4844
- or?: PlanFilter[];
4845
- /** Filter by the object’s `planCaps` relation. */
4846
- planCaps?: PlanToManyPlanCapFilter;
4847
- /** `planCaps` exist. */
4848
- planCapsExist?: boolean;
4849
- /** Filter by the object’s `planLimits` relation. */
4850
- planLimits?: PlanToManyPlanLimitFilter;
4851
- /** `planLimits` exist. */
4852
- planLimitsExist?: boolean;
4853
- /** Filter by the object’s `planMeterLimits` relation. */
4854
- planMeterLimits?: PlanToManyPlanMeterLimitFilter;
4855
- /** `planMeterLimits` exist. */
4856
- planMeterLimitsExist?: boolean;
4857
- /** Filter by the object’s `planPricings` relation. */
4858
- planPricings?: PlanToManyPlanPricingFilter;
4859
- /** `planPricings` exist. */
4860
- planPricingsExist?: boolean;
4861
- /** Filter by the object’s `planSubscriptions` relation. */
4862
- planSubscriptions?: PlanToManyPlanSubscriptionFilter;
4863
- /** `planSubscriptions` exist. */
4864
- planSubscriptionsExist?: boolean;
4865
- }
4866
- /** A filter to be used against BigFloat fields. All fields are combined with a logical ‘and.’ */
4867
- export interface BigFloatFilter {
4868
- /** Not equal to the specified value, treating null like an ordinary value. */
4869
- distinctFrom?: string;
4870
- /** Equal to the specified value. */
4871
- equalTo?: string;
4872
- /** Greater than the specified value. */
4873
- greaterThan?: string;
4874
- /** Greater than or equal to the specified value. */
4875
- greaterThanOrEqualTo?: string;
4876
- /** Included in the specified list. */
4877
- in?: string[];
4878
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
4879
- isNull?: boolean;
4880
- /** Less than the specified value. */
4881
- lessThan?: string;
4882
- /** Less than or equal to the specified value. */
4883
- lessThanOrEqualTo?: string;
4884
- /** Equal to the specified value, treating null like an ordinary value. */
4885
- notDistinctFrom?: string;
4886
- /** Not equal to the specified value. */
4887
- notEqualTo?: string;
4888
- /** Not included in the specified list. */
4889
- notIn?: string[];
4890
- }
4891
- /** A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ */
4892
- export interface BooleanFilter {
4893
- /** Not equal to the specified value, treating null like an ordinary value. */
4894
- distinctFrom?: boolean;
4895
- /** Equal to the specified value. */
4896
- equalTo?: boolean;
4897
- /** Greater than the specified value. */
4898
- greaterThan?: boolean;
4899
- /** Greater than or equal to the specified value. */
4900
- greaterThanOrEqualTo?: boolean;
4901
- /** Included in the specified list. */
4902
- in?: boolean[];
4903
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
4904
- isNull?: boolean;
4905
- /** Less than the specified value. */
4906
- lessThan?: boolean;
4907
- /** Less than or equal to the specified value. */
4908
- lessThanOrEqualTo?: boolean;
4909
- /** Equal to the specified value, treating null like an ordinary value. */
4910
- notDistinctFrom?: boolean;
4911
- /** Not equal to the specified value. */
4912
- notEqualTo?: boolean;
4913
- /** Not included in the specified list. */
4914
- notIn?: boolean[];
4915
- }
4916
2479
  /** A filter to be used against Int fields. All fields are combined with a logical ‘and.’ */
4917
2480
  export interface IntFilter {
4918
2481
  /** Not equal to the specified value, treating null like an ordinary value. */
@@ -4938,64 +2501,45 @@ export interface IntFilter {
4938
2501
  /** Not included in the specified list. */
4939
2502
  notIn?: number[];
4940
2503
  }
4941
- /** A connection to a list of `AppLevelRequirement` values. */
4942
- export interface AppLevelRequirementConnection {
4943
- edges: AppLevelRequirementEdge[];
4944
- nodes: AppLevelRequirement[];
4945
- pageInfo: PageInfo;
4946
- totalCount: number;
4947
- }
4948
- export type AppLevelRequirementConnectionSelect = {
4949
- edges?: {
4950
- select: AppLevelRequirementEdgeSelect;
4951
- };
4952
- nodes?: {
4953
- select: AppLevelRequirementSelect;
4954
- };
4955
- pageInfo?: {
4956
- select: PageInfoSelect;
4957
- };
4958
- totalCount?: boolean;
4959
- };
4960
- export interface GrantAchievementPayload {
4961
- clientMutationId?: string | null;
2504
+ /** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */
2505
+ export interface DatetimeFilter {
2506
+ /** Not equal to the specified value, treating null like an ordinary value. */
2507
+ distinctFrom?: string;
2508
+ /** Equal to the specified value. */
2509
+ equalTo?: string;
2510
+ /** Greater than the specified value. */
2511
+ greaterThan?: string;
2512
+ /** Greater than or equal to the specified value. */
2513
+ greaterThanOrEqualTo?: string;
2514
+ /** Included in the specified list. */
2515
+ in?: string[];
2516
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
2517
+ isNull?: boolean;
2518
+ /** Less than the specified value. */
2519
+ lessThan?: string;
2520
+ /** Less than or equal to the specified value. */
2521
+ lessThanOrEqualTo?: string;
2522
+ /** Equal to the specified value, treating null like an ordinary value. */
2523
+ notDistinctFrom?: string;
2524
+ /** Not equal to the specified value. */
2525
+ notEqualTo?: string;
2526
+ /** Not included in the specified list. */
2527
+ notIn?: string[];
4962
2528
  }
4963
- export type GrantAchievementPayloadSelect = {
4964
- clientMutationId?: boolean;
4965
- };
4966
2529
  export interface ProvisionBucketPayload {
4967
- /** The access type applied */
4968
- accessType: string;
4969
- /** The S3 bucket name that was provisioned */
4970
- bucketName: string;
4971
- /** The S3 endpoint (null for AWS S3 default) */
4972
- endpoint?: string | null;
4973
- /** Error message if provisioning failed */
4974
- error?: string | null;
4975
- /** The storage provider used */
4976
- provider: string;
4977
- /** Whether provisioning succeeded */
4978
- success: boolean;
4979
- }
4980
- export type ProvisionBucketPayloadSelect = {
4981
- accessType?: boolean;
4982
- bucketName?: boolean;
4983
- endpoint?: boolean;
4984
- error?: boolean;
4985
- provider?: boolean;
4986
- success?: boolean;
4987
- };
4988
- export interface RecomputeCapabilitiesPayload {
4989
- clientMutationId?: string | null;
4990
- }
4991
- export type RecomputeCapabilitiesPayloadSelect = {
4992
- clientMutationId?: boolean;
4993
- };
4994
- export interface RevokeAchievementPayload {
4995
- clientMutationId?: string | null;
2530
+ /** The logical bucket row that was queued for reconciliation. */
2531
+ bucketId: string;
2532
+ bucketKey: string;
2533
+ /** The reconciler job enqueued to provision this bucket. */
2534
+ jobId: string;
2535
+ /** The physical bucket name already recorded, or null when reconciliation has not completed. */
2536
+ physicalName?: string | null;
4996
2537
  }
4997
- export type RevokeAchievementPayloadSelect = {
4998
- clientMutationId?: boolean;
2538
+ export type ProvisionBucketPayloadSelect = {
2539
+ bucketId?: boolean;
2540
+ bucketKey?: boolean;
2541
+ jobId?: boolean;
2542
+ physicalName?: boolean;
4999
2543
  };
5000
2544
  export interface SeedAppLimitCapsDefaultsPayload {
5001
2545
  clientMutationId?: string | null;
@@ -5013,14 +2557,6 @@ export type SeedAppLimitDefaultsPayloadSelect = {
5013
2557
  clientMutationId?: boolean;
5014
2558
  result?: boolean;
5015
2559
  };
5016
- export interface SeedMeterDefaultsPayload {
5017
- clientMutationId?: string | null;
5018
- result?: boolean | null;
5019
- }
5020
- export type SeedMeterDefaultsPayloadSelect = {
5021
- clientMutationId?: boolean;
5022
- result?: boolean;
5023
- };
5024
2560
  export interface SeedOrgLimitCapsDefaultsPayload {
5025
2561
  clientMutationId?: string | null;
5026
2562
  result?: boolean | null;
@@ -5037,337 +2573,6 @@ export type SeedOrgLimitDefaultsPayloadSelect = {
5037
2573
  clientMutationId?: boolean;
5038
2574
  result?: boolean;
5039
2575
  };
5040
- export interface SeedPlanPayload {
5041
- clientMutationId?: string | null;
5042
- result?: string | null;
5043
- }
5044
- export type SeedPlanPayloadSelect = {
5045
- clientMutationId?: boolean;
5046
- result?: boolean;
5047
- };
5048
- export interface SeedTrustLadderPayload {
5049
- clientMutationId?: string | null;
5050
- result?: boolean | null;
5051
- }
5052
- export type SeedTrustLadderPayloadSelect = {
5053
- clientMutationId?: boolean;
5054
- result?: boolean;
5055
- };
5056
- export interface CreateAppAchievementRewardPayload {
5057
- /** The `AppAchievementReward` that was created by this mutation. */
5058
- appAchievementReward?: AppAchievementReward | null;
5059
- appAchievementRewardEdge?: AppAchievementRewardEdge | null;
5060
- clientMutationId?: string | null;
5061
- }
5062
- export type CreateAppAchievementRewardPayloadSelect = {
5063
- appAchievementReward?: {
5064
- select: AppAchievementRewardSelect;
5065
- };
5066
- appAchievementRewardEdge?: {
5067
- select: AppAchievementRewardEdgeSelect;
5068
- };
5069
- clientMutationId?: boolean;
5070
- };
5071
- export interface UpdateAppAchievementRewardPayload {
5072
- /** The `AppAchievementReward` that was updated by this mutation. */
5073
- appAchievementReward?: AppAchievementReward | null;
5074
- appAchievementRewardEdge?: AppAchievementRewardEdge | null;
5075
- clientMutationId?: string | null;
5076
- }
5077
- export type UpdateAppAchievementRewardPayloadSelect = {
5078
- appAchievementReward?: {
5079
- select: AppAchievementRewardSelect;
5080
- };
5081
- appAchievementRewardEdge?: {
5082
- select: AppAchievementRewardEdgeSelect;
5083
- };
5084
- clientMutationId?: boolean;
5085
- };
5086
- export interface DeleteAppAchievementRewardPayload {
5087
- /** The `AppAchievementReward` that was deleted by this mutation. */
5088
- appAchievementReward?: AppAchievementReward | null;
5089
- appAchievementRewardEdge?: AppAchievementRewardEdge | null;
5090
- clientMutationId?: string | null;
5091
- }
5092
- export type DeleteAppAchievementRewardPayloadSelect = {
5093
- appAchievementReward?: {
5094
- select: AppAchievementRewardSelect;
5095
- };
5096
- appAchievementRewardEdge?: {
5097
- select: AppAchievementRewardEdgeSelect;
5098
- };
5099
- clientMutationId?: boolean;
5100
- };
5101
- export interface CreateAppEventAggregatePayload {
5102
- /** The `AppEventAggregate` that was created by this mutation. */
5103
- appEventAggregate?: AppEventAggregate | null;
5104
- appEventAggregateEdge?: AppEventAggregateEdge | null;
5105
- clientMutationId?: string | null;
5106
- }
5107
- export type CreateAppEventAggregatePayloadSelect = {
5108
- appEventAggregate?: {
5109
- select: AppEventAggregateSelect;
5110
- };
5111
- appEventAggregateEdge?: {
5112
- select: AppEventAggregateEdgeSelect;
5113
- };
5114
- clientMutationId?: boolean;
5115
- };
5116
- export interface UpdateAppEventAggregatePayload {
5117
- /** The `AppEventAggregate` that was updated by this mutation. */
5118
- appEventAggregate?: AppEventAggregate | null;
5119
- appEventAggregateEdge?: AppEventAggregateEdge | null;
5120
- clientMutationId?: string | null;
5121
- }
5122
- export type UpdateAppEventAggregatePayloadSelect = {
5123
- appEventAggregate?: {
5124
- select: AppEventAggregateSelect;
5125
- };
5126
- appEventAggregateEdge?: {
5127
- select: AppEventAggregateEdgeSelect;
5128
- };
5129
- clientMutationId?: boolean;
5130
- };
5131
- export interface DeleteAppEventAggregatePayload {
5132
- /** The `AppEventAggregate` that was deleted by this mutation. */
5133
- appEventAggregate?: AppEventAggregate | null;
5134
- appEventAggregateEdge?: AppEventAggregateEdge | null;
5135
- clientMutationId?: string | null;
5136
- }
5137
- export type DeleteAppEventAggregatePayloadSelect = {
5138
- appEventAggregate?: {
5139
- select: AppEventAggregateSelect;
5140
- };
5141
- appEventAggregateEdge?: {
5142
- select: AppEventAggregateEdgeSelect;
5143
- };
5144
- clientMutationId?: boolean;
5145
- };
5146
- export interface CreateAppEventPayload {
5147
- /** The `AppEvent` that was created by this mutation. */
5148
- appEvent?: AppEvent | null;
5149
- appEventEdge?: AppEventEdge | null;
5150
- clientMutationId?: string | null;
5151
- }
5152
- export type CreateAppEventPayloadSelect = {
5153
- appEvent?: {
5154
- select: AppEventSelect;
5155
- };
5156
- appEventEdge?: {
5157
- select: AppEventEdgeSelect;
5158
- };
5159
- clientMutationId?: boolean;
5160
- };
5161
- export interface UpdateAppEventPayload {
5162
- /** The `AppEvent` that was updated by this mutation. */
5163
- appEvent?: AppEvent | null;
5164
- appEventEdge?: AppEventEdge | null;
5165
- clientMutationId?: string | null;
5166
- }
5167
- export type UpdateAppEventPayloadSelect = {
5168
- appEvent?: {
5169
- select: AppEventSelect;
5170
- };
5171
- appEventEdge?: {
5172
- select: AppEventEdgeSelect;
5173
- };
5174
- clientMutationId?: boolean;
5175
- };
5176
- export interface DeleteAppEventPayload {
5177
- /** The `AppEvent` that was deleted by this mutation. */
5178
- appEvent?: AppEvent | null;
5179
- appEventEdge?: AppEventEdge | null;
5180
- clientMutationId?: string | null;
5181
- }
5182
- export type DeleteAppEventPayloadSelect = {
5183
- appEvent?: {
5184
- select: AppEventSelect;
5185
- };
5186
- appEventEdge?: {
5187
- select: AppEventEdgeSelect;
5188
- };
5189
- clientMutationId?: boolean;
5190
- };
5191
- export interface CreateAppEventTypePayload {
5192
- /** The `AppEventType` that was created by this mutation. */
5193
- appEventType?: AppEventType | null;
5194
- appEventTypeEdge?: AppEventTypeEdge | null;
5195
- clientMutationId?: string | null;
5196
- }
5197
- export type CreateAppEventTypePayloadSelect = {
5198
- appEventType?: {
5199
- select: AppEventTypeSelect;
5200
- };
5201
- appEventTypeEdge?: {
5202
- select: AppEventTypeEdgeSelect;
5203
- };
5204
- clientMutationId?: boolean;
5205
- };
5206
- export interface UpdateAppEventTypePayload {
5207
- /** The `AppEventType` that was updated by this mutation. */
5208
- appEventType?: AppEventType | null;
5209
- appEventTypeEdge?: AppEventTypeEdge | null;
5210
- clientMutationId?: string | null;
5211
- }
5212
- export type UpdateAppEventTypePayloadSelect = {
5213
- appEventType?: {
5214
- select: AppEventTypeSelect;
5215
- };
5216
- appEventTypeEdge?: {
5217
- select: AppEventTypeEdgeSelect;
5218
- };
5219
- clientMutationId?: boolean;
5220
- };
5221
- export interface DeleteAppEventTypePayload {
5222
- /** The `AppEventType` that was deleted by this mutation. */
5223
- appEventType?: AppEventType | null;
5224
- appEventTypeEdge?: AppEventTypeEdge | null;
5225
- clientMutationId?: string | null;
5226
- }
5227
- export type DeleteAppEventTypePayloadSelect = {
5228
- appEventType?: {
5229
- select: AppEventTypeSelect;
5230
- };
5231
- appEventTypeEdge?: {
5232
- select: AppEventTypeEdgeSelect;
5233
- };
5234
- clientMutationId?: boolean;
5235
- };
5236
- export interface CreateAppLevelPayload {
5237
- /** The `AppLevel` that was created by this mutation. */
5238
- appLevel?: AppLevel | null;
5239
- appLevelEdge?: AppLevelEdge | null;
5240
- clientMutationId?: string | null;
5241
- }
5242
- export type CreateAppLevelPayloadSelect = {
5243
- appLevel?: {
5244
- select: AppLevelSelect;
5245
- };
5246
- appLevelEdge?: {
5247
- select: AppLevelEdgeSelect;
5248
- };
5249
- clientMutationId?: boolean;
5250
- };
5251
- export interface UpdateAppLevelPayload {
5252
- /** The `AppLevel` that was updated by this mutation. */
5253
- appLevel?: AppLevel | null;
5254
- appLevelEdge?: AppLevelEdge | null;
5255
- clientMutationId?: string | null;
5256
- }
5257
- export type UpdateAppLevelPayloadSelect = {
5258
- appLevel?: {
5259
- select: AppLevelSelect;
5260
- };
5261
- appLevelEdge?: {
5262
- select: AppLevelEdgeSelect;
5263
- };
5264
- clientMutationId?: boolean;
5265
- };
5266
- export interface DeleteAppLevelPayload {
5267
- /** The `AppLevel` that was deleted by this mutation. */
5268
- appLevel?: AppLevel | null;
5269
- appLevelEdge?: AppLevelEdge | null;
5270
- clientMutationId?: string | null;
5271
- }
5272
- export type DeleteAppLevelPayloadSelect = {
5273
- appLevel?: {
5274
- select: AppLevelSelect;
5275
- };
5276
- appLevelEdge?: {
5277
- select: AppLevelEdgeSelect;
5278
- };
5279
- clientMutationId?: boolean;
5280
- };
5281
- export interface CreateAppLevelGrantPayload {
5282
- /** The `AppLevelGrant` that was created by this mutation. */
5283
- appLevelGrant?: AppLevelGrant | null;
5284
- appLevelGrantEdge?: AppLevelGrantEdge | null;
5285
- clientMutationId?: string | null;
5286
- }
5287
- export type CreateAppLevelGrantPayloadSelect = {
5288
- appLevelGrant?: {
5289
- select: AppLevelGrantSelect;
5290
- };
5291
- appLevelGrantEdge?: {
5292
- select: AppLevelGrantEdgeSelect;
5293
- };
5294
- clientMutationId?: boolean;
5295
- };
5296
- export interface UpdateAppLevelGrantPayload {
5297
- /** The `AppLevelGrant` that was updated by this mutation. */
5298
- appLevelGrant?: AppLevelGrant | null;
5299
- appLevelGrantEdge?: AppLevelGrantEdge | null;
5300
- clientMutationId?: string | null;
5301
- }
5302
- export type UpdateAppLevelGrantPayloadSelect = {
5303
- appLevelGrant?: {
5304
- select: AppLevelGrantSelect;
5305
- };
5306
- appLevelGrantEdge?: {
5307
- select: AppLevelGrantEdgeSelect;
5308
- };
5309
- clientMutationId?: boolean;
5310
- };
5311
- export interface DeleteAppLevelGrantPayload {
5312
- /** The `AppLevelGrant` that was deleted by this mutation. */
5313
- appLevelGrant?: AppLevelGrant | null;
5314
- appLevelGrantEdge?: AppLevelGrantEdge | null;
5315
- clientMutationId?: string | null;
5316
- }
5317
- export type DeleteAppLevelGrantPayloadSelect = {
5318
- appLevelGrant?: {
5319
- select: AppLevelGrantSelect;
5320
- };
5321
- appLevelGrantEdge?: {
5322
- select: AppLevelGrantEdgeSelect;
5323
- };
5324
- clientMutationId?: boolean;
5325
- };
5326
- export interface CreateAppLevelRequirementPayload {
5327
- /** The `AppLevelRequirement` that was created by this mutation. */
5328
- appLevelRequirement?: AppLevelRequirement | null;
5329
- appLevelRequirementEdge?: AppLevelRequirementEdge | null;
5330
- clientMutationId?: string | null;
5331
- }
5332
- export type CreateAppLevelRequirementPayloadSelect = {
5333
- appLevelRequirement?: {
5334
- select: AppLevelRequirementSelect;
5335
- };
5336
- appLevelRequirementEdge?: {
5337
- select: AppLevelRequirementEdgeSelect;
5338
- };
5339
- clientMutationId?: boolean;
5340
- };
5341
- export interface UpdateAppLevelRequirementPayload {
5342
- /** The `AppLevelRequirement` that was updated by this mutation. */
5343
- appLevelRequirement?: AppLevelRequirement | null;
5344
- appLevelRequirementEdge?: AppLevelRequirementEdge | null;
5345
- clientMutationId?: string | null;
5346
- }
5347
- export type UpdateAppLevelRequirementPayloadSelect = {
5348
- appLevelRequirement?: {
5349
- select: AppLevelRequirementSelect;
5350
- };
5351
- appLevelRequirementEdge?: {
5352
- select: AppLevelRequirementEdgeSelect;
5353
- };
5354
- clientMutationId?: boolean;
5355
- };
5356
- export interface DeleteAppLevelRequirementPayload {
5357
- /** The `AppLevelRequirement` that was deleted by this mutation. */
5358
- appLevelRequirement?: AppLevelRequirement | null;
5359
- appLevelRequirementEdge?: AppLevelRequirementEdge | null;
5360
- clientMutationId?: string | null;
5361
- }
5362
- export type DeleteAppLevelRequirementPayloadSelect = {
5363
- appLevelRequirement?: {
5364
- select: AppLevelRequirementSelect;
5365
- };
5366
- appLevelRequirementEdge?: {
5367
- select: AppLevelRequirementEdgeSelect;
5368
- };
5369
- clientMutationId?: boolean;
5370
- };
5371
2576
  export interface CreateAppLimitCapPayload {
5372
2577
  /** The `AppLimitCap` that was created by this mutation. */
5373
2578
  appLimitCap?: AppLimitCap | null;
@@ -5813,280 +3018,10 @@ export type DeleteAppLimitWarningPayloadSelect = {
5813
3018
  appLimitWarning?: {
5814
3019
  select: AppLimitWarningSelect;
5815
3020
  };
5816
- appLimitWarningEdge?: {
5817
- select: AppLimitWarningEdgeSelect;
5818
- };
5819
- clientMutationId?: boolean;
5820
- };
5821
- export interface CreateBillingUsageSummaryPayload {
5822
- /** The `BillingUsageSummary` that was created by this mutation. */
5823
- billingUsageSummary?: BillingUsageSummary | null;
5824
- billingUsageSummaryEdge?: BillingUsageSummaryEdge | null;
5825
- clientMutationId?: string | null;
5826
- }
5827
- export type CreateBillingUsageSummaryPayloadSelect = {
5828
- billingUsageSummary?: {
5829
- select: BillingUsageSummarySelect;
5830
- };
5831
- billingUsageSummaryEdge?: {
5832
- select: BillingUsageSummaryEdgeSelect;
5833
- };
5834
- clientMutationId?: boolean;
5835
- };
5836
- export interface UpdateBillingUsageSummaryPayload {
5837
- /** The `BillingUsageSummary` that was updated by this mutation. */
5838
- billingUsageSummary?: BillingUsageSummary | null;
5839
- billingUsageSummaryEdge?: BillingUsageSummaryEdge | null;
5840
- clientMutationId?: string | null;
5841
- }
5842
- export type UpdateBillingUsageSummaryPayloadSelect = {
5843
- billingUsageSummary?: {
5844
- select: BillingUsageSummarySelect;
5845
- };
5846
- billingUsageSummaryEdge?: {
5847
- select: BillingUsageSummaryEdgeSelect;
5848
- };
5849
- clientMutationId?: boolean;
5850
- };
5851
- export interface DeleteBillingUsageSummaryPayload {
5852
- /** The `BillingUsageSummary` that was deleted by this mutation. */
5853
- billingUsageSummary?: BillingUsageSummary | null;
5854
- billingUsageSummaryEdge?: BillingUsageSummaryEdge | null;
5855
- clientMutationId?: string | null;
5856
- }
5857
- export type DeleteBillingUsageSummaryPayloadSelect = {
5858
- billingUsageSummary?: {
5859
- select: BillingUsageSummarySelect;
5860
- };
5861
- billingUsageSummaryEdge?: {
5862
- select: BillingUsageSummaryEdgeSelect;
5863
- };
5864
- clientMutationId?: boolean;
5865
- };
5866
- export interface CreateLedgerPayload {
5867
- clientMutationId?: string | null;
5868
- /** The `Ledger` that was created by this mutation. */
5869
- ledger?: Ledger | null;
5870
- ledgerEdge?: LedgerEdge | null;
5871
- }
5872
- export type CreateLedgerPayloadSelect = {
5873
- clientMutationId?: boolean;
5874
- ledger?: {
5875
- select: LedgerSelect;
5876
- };
5877
- ledgerEdge?: {
5878
- select: LedgerEdgeSelect;
5879
- };
5880
- };
5881
- export interface UpdateLedgerPayload {
5882
- clientMutationId?: string | null;
5883
- /** The `Ledger` that was updated by this mutation. */
5884
- ledger?: Ledger | null;
5885
- ledgerEdge?: LedgerEdge | null;
5886
- }
5887
- export type UpdateLedgerPayloadSelect = {
5888
- clientMutationId?: boolean;
5889
- ledger?: {
5890
- select: LedgerSelect;
5891
- };
5892
- ledgerEdge?: {
5893
- select: LedgerEdgeSelect;
5894
- };
5895
- };
5896
- export interface DeleteLedgerPayload {
5897
- clientMutationId?: string | null;
5898
- /** The `Ledger` that was deleted by this mutation. */
5899
- ledger?: Ledger | null;
5900
- ledgerEdge?: LedgerEdge | null;
5901
- }
5902
- export type DeleteLedgerPayloadSelect = {
5903
- clientMutationId?: boolean;
5904
- ledger?: {
5905
- select: LedgerSelect;
5906
- };
5907
- ledgerEdge?: {
5908
- select: LedgerEdgeSelect;
5909
- };
5910
- };
5911
- export interface CreateMeterPayload {
5912
- clientMutationId?: string | null;
5913
- /** The `Meter` that was created by this mutation. */
5914
- meter?: Meter | null;
5915
- meterEdge?: MeterEdge | null;
5916
- }
5917
- export type CreateMeterPayloadSelect = {
5918
- clientMutationId?: boolean;
5919
- meter?: {
5920
- select: MeterSelect;
5921
- };
5922
- meterEdge?: {
5923
- select: MeterEdgeSelect;
5924
- };
5925
- };
5926
- export interface UpdateMeterPayload {
5927
- clientMutationId?: string | null;
5928
- /** The `Meter` that was updated by this mutation. */
5929
- meter?: Meter | null;
5930
- meterEdge?: MeterEdge | null;
5931
- }
5932
- export type UpdateMeterPayloadSelect = {
5933
- clientMutationId?: boolean;
5934
- meter?: {
5935
- select: MeterSelect;
5936
- };
5937
- meterEdge?: {
5938
- select: MeterEdgeSelect;
5939
- };
5940
- };
5941
- export interface DeleteMeterPayload {
5942
- clientMutationId?: string | null;
5943
- /** The `Meter` that was deleted by this mutation. */
5944
- meter?: Meter | null;
5945
- meterEdge?: MeterEdge | null;
5946
- }
5947
- export type DeleteMeterPayloadSelect = {
5948
- clientMutationId?: boolean;
5949
- meter?: {
5950
- select: MeterSelect;
5951
- };
5952
- meterEdge?: {
5953
- select: MeterEdgeSelect;
5954
- };
5955
- };
5956
- export interface CreateMeterCreditPayload {
5957
- clientMutationId?: string | null;
5958
- /** The `MeterCredit` that was created by this mutation. */
5959
- meterCredit?: MeterCredit | null;
5960
- meterCreditEdge?: MeterCreditEdge | null;
5961
- }
5962
- export type CreateMeterCreditPayloadSelect = {
5963
- clientMutationId?: boolean;
5964
- meterCredit?: {
5965
- select: MeterCreditSelect;
5966
- };
5967
- meterCreditEdge?: {
5968
- select: MeterCreditEdgeSelect;
5969
- };
5970
- };
5971
- export interface UpdateMeterCreditPayload {
5972
- clientMutationId?: string | null;
5973
- /** The `MeterCredit` that was updated by this mutation. */
5974
- meterCredit?: MeterCredit | null;
5975
- meterCreditEdge?: MeterCreditEdge | null;
5976
- }
5977
- export type UpdateMeterCreditPayloadSelect = {
5978
- clientMutationId?: boolean;
5979
- meterCredit?: {
5980
- select: MeterCreditSelect;
5981
- };
5982
- meterCreditEdge?: {
5983
- select: MeterCreditEdgeSelect;
5984
- };
5985
- };
5986
- export interface DeleteMeterCreditPayload {
5987
- clientMutationId?: string | null;
5988
- /** The `MeterCredit` that was deleted by this mutation. */
5989
- meterCredit?: MeterCredit | null;
5990
- meterCreditEdge?: MeterCreditEdge | null;
5991
- }
5992
- export type DeleteMeterCreditPayloadSelect = {
5993
- clientMutationId?: boolean;
5994
- meterCredit?: {
5995
- select: MeterCreditSelect;
5996
- };
5997
- meterCreditEdge?: {
5998
- select: MeterCreditEdgeSelect;
5999
- };
6000
- };
6001
- export interface CreateMeterDefaultPayload {
6002
- clientMutationId?: string | null;
6003
- /** The `MeterDefault` that was created by this mutation. */
6004
- meterDefault?: MeterDefault | null;
6005
- meterDefaultEdge?: MeterDefaultEdge | null;
6006
- }
6007
- export type CreateMeterDefaultPayloadSelect = {
6008
- clientMutationId?: boolean;
6009
- meterDefault?: {
6010
- select: MeterDefaultSelect;
6011
- };
6012
- meterDefaultEdge?: {
6013
- select: MeterDefaultEdgeSelect;
6014
- };
6015
- };
6016
- export interface UpdateMeterDefaultPayload {
6017
- clientMutationId?: string | null;
6018
- /** The `MeterDefault` that was updated by this mutation. */
6019
- meterDefault?: MeterDefault | null;
6020
- meterDefaultEdge?: MeterDefaultEdge | null;
6021
- }
6022
- export type UpdateMeterDefaultPayloadSelect = {
6023
- clientMutationId?: boolean;
6024
- meterDefault?: {
6025
- select: MeterDefaultSelect;
6026
- };
6027
- meterDefaultEdge?: {
6028
- select: MeterDefaultEdgeSelect;
6029
- };
6030
- };
6031
- export interface DeleteMeterDefaultPayload {
6032
- clientMutationId?: string | null;
6033
- /** The `MeterDefault` that was deleted by this mutation. */
6034
- meterDefault?: MeterDefault | null;
6035
- meterDefaultEdge?: MeterDefaultEdge | null;
6036
- }
6037
- export type DeleteMeterDefaultPayloadSelect = {
6038
- clientMutationId?: boolean;
6039
- meterDefault?: {
6040
- select: MeterDefaultSelect;
6041
- };
6042
- meterDefaultEdge?: {
6043
- select: MeterDefaultEdgeSelect;
6044
- };
6045
- };
6046
- export interface CreateMeterSourcePayload {
6047
- clientMutationId?: string | null;
6048
- /** The `MeterSource` that was created by this mutation. */
6049
- meterSource?: MeterSource | null;
6050
- meterSourceEdge?: MeterSourceEdge | null;
6051
- }
6052
- export type CreateMeterSourcePayloadSelect = {
6053
- clientMutationId?: boolean;
6054
- meterSource?: {
6055
- select: MeterSourceSelect;
6056
- };
6057
- meterSourceEdge?: {
6058
- select: MeterSourceEdgeSelect;
6059
- };
6060
- };
6061
- export interface UpdateMeterSourcePayload {
6062
- clientMutationId?: string | null;
6063
- /** The `MeterSource` that was updated by this mutation. */
6064
- meterSource?: MeterSource | null;
6065
- meterSourceEdge?: MeterSourceEdge | null;
6066
- }
6067
- export type UpdateMeterSourcePayloadSelect = {
6068
- clientMutationId?: boolean;
6069
- meterSource?: {
6070
- select: MeterSourceSelect;
6071
- };
6072
- meterSourceEdge?: {
6073
- select: MeterSourceEdgeSelect;
6074
- };
6075
- };
6076
- export interface DeleteMeterSourcePayload {
6077
- clientMutationId?: string | null;
6078
- /** The `MeterSource` that was deleted by this mutation. */
6079
- meterSource?: MeterSource | null;
6080
- meterSourceEdge?: MeterSourceEdge | null;
6081
- }
6082
- export type DeleteMeterSourcePayloadSelect = {
6083
- clientMutationId?: boolean;
6084
- meterSource?: {
6085
- select: MeterSourceSelect;
6086
- };
6087
- meterSourceEdge?: {
6088
- select: MeterSourceEdgeSelect;
3021
+ appLimitWarningEdge?: {
3022
+ select: AppLimitWarningEdgeSelect;
6089
3023
  };
3024
+ clientMutationId?: boolean;
6090
3025
  };
6091
3026
  export interface CreateOrgLimitAggregatePayload {
6092
3027
  clientMutationId?: string | null;
@@ -6448,422 +3383,6 @@ export type DeleteOrgLimitWarningPayloadSelect = {
6448
3383
  select: OrgLimitWarningEdgeSelect;
6449
3384
  };
6450
3385
  };
6451
- export interface CreatePlanCapPayload {
6452
- clientMutationId?: string | null;
6453
- /** The `PlanCap` that was created by this mutation. */
6454
- planCap?: PlanCap | null;
6455
- planCapEdge?: PlanCapEdge | null;
6456
- }
6457
- export type CreatePlanCapPayloadSelect = {
6458
- clientMutationId?: boolean;
6459
- planCap?: {
6460
- select: PlanCapSelect;
6461
- };
6462
- planCapEdge?: {
6463
- select: PlanCapEdgeSelect;
6464
- };
6465
- };
6466
- export interface UpdatePlanCapPayload {
6467
- clientMutationId?: string | null;
6468
- /** The `PlanCap` that was updated by this mutation. */
6469
- planCap?: PlanCap | null;
6470
- planCapEdge?: PlanCapEdge | null;
6471
- }
6472
- export type UpdatePlanCapPayloadSelect = {
6473
- clientMutationId?: boolean;
6474
- planCap?: {
6475
- select: PlanCapSelect;
6476
- };
6477
- planCapEdge?: {
6478
- select: PlanCapEdgeSelect;
6479
- };
6480
- };
6481
- export interface DeletePlanCapPayload {
6482
- clientMutationId?: string | null;
6483
- /** The `PlanCap` that was deleted by this mutation. */
6484
- planCap?: PlanCap | null;
6485
- planCapEdge?: PlanCapEdge | null;
6486
- }
6487
- export type DeletePlanCapPayloadSelect = {
6488
- clientMutationId?: boolean;
6489
- planCap?: {
6490
- select: PlanCapSelect;
6491
- };
6492
- planCapEdge?: {
6493
- select: PlanCapEdgeSelect;
6494
- };
6495
- };
6496
- export interface CreatePlanPayload {
6497
- clientMutationId?: string | null;
6498
- /** The `Plan` that was created by this mutation. */
6499
- plan?: Plan | null;
6500
- planEdge?: PlanEdge | null;
6501
- }
6502
- export type CreatePlanPayloadSelect = {
6503
- clientMutationId?: boolean;
6504
- plan?: {
6505
- select: PlanSelect;
6506
- };
6507
- planEdge?: {
6508
- select: PlanEdgeSelect;
6509
- };
6510
- };
6511
- export interface UpdatePlanPayload {
6512
- clientMutationId?: string | null;
6513
- /** The `Plan` that was updated by this mutation. */
6514
- plan?: Plan | null;
6515
- planEdge?: PlanEdge | null;
6516
- }
6517
- export type UpdatePlanPayloadSelect = {
6518
- clientMutationId?: boolean;
6519
- plan?: {
6520
- select: PlanSelect;
6521
- };
6522
- planEdge?: {
6523
- select: PlanEdgeSelect;
6524
- };
6525
- };
6526
- export interface DeletePlanPayload {
6527
- clientMutationId?: string | null;
6528
- /** The `Plan` that was deleted by this mutation. */
6529
- plan?: Plan | null;
6530
- planEdge?: PlanEdge | null;
6531
- }
6532
- export type DeletePlanPayloadSelect = {
6533
- clientMutationId?: boolean;
6534
- plan?: {
6535
- select: PlanSelect;
6536
- };
6537
- planEdge?: {
6538
- select: PlanEdgeSelect;
6539
- };
6540
- };
6541
- export interface CreatePlanLimitPayload {
6542
- clientMutationId?: string | null;
6543
- /** The `PlanLimit` that was created by this mutation. */
6544
- planLimit?: PlanLimit | null;
6545
- planLimitEdge?: PlanLimitEdge | null;
6546
- }
6547
- export type CreatePlanLimitPayloadSelect = {
6548
- clientMutationId?: boolean;
6549
- planLimit?: {
6550
- select: PlanLimitSelect;
6551
- };
6552
- planLimitEdge?: {
6553
- select: PlanLimitEdgeSelect;
6554
- };
6555
- };
6556
- export interface UpdatePlanLimitPayload {
6557
- clientMutationId?: string | null;
6558
- /** The `PlanLimit` that was updated by this mutation. */
6559
- planLimit?: PlanLimit | null;
6560
- planLimitEdge?: PlanLimitEdge | null;
6561
- }
6562
- export type UpdatePlanLimitPayloadSelect = {
6563
- clientMutationId?: boolean;
6564
- planLimit?: {
6565
- select: PlanLimitSelect;
6566
- };
6567
- planLimitEdge?: {
6568
- select: PlanLimitEdgeSelect;
6569
- };
6570
- };
6571
- export interface DeletePlanLimitPayload {
6572
- clientMutationId?: string | null;
6573
- /** The `PlanLimit` that was deleted by this mutation. */
6574
- planLimit?: PlanLimit | null;
6575
- planLimitEdge?: PlanLimitEdge | null;
6576
- }
6577
- export type DeletePlanLimitPayloadSelect = {
6578
- clientMutationId?: boolean;
6579
- planLimit?: {
6580
- select: PlanLimitSelect;
6581
- };
6582
- planLimitEdge?: {
6583
- select: PlanLimitEdgeSelect;
6584
- };
6585
- };
6586
- export interface CreatePlanMeterLimitPayload {
6587
- clientMutationId?: string | null;
6588
- /** The `PlanMeterLimit` that was created by this mutation. */
6589
- planMeterLimit?: PlanMeterLimit | null;
6590
- planMeterLimitEdge?: PlanMeterLimitEdge | null;
6591
- }
6592
- export type CreatePlanMeterLimitPayloadSelect = {
6593
- clientMutationId?: boolean;
6594
- planMeterLimit?: {
6595
- select: PlanMeterLimitSelect;
6596
- };
6597
- planMeterLimitEdge?: {
6598
- select: PlanMeterLimitEdgeSelect;
6599
- };
6600
- };
6601
- export interface UpdatePlanMeterLimitPayload {
6602
- clientMutationId?: string | null;
6603
- /** The `PlanMeterLimit` that was updated by this mutation. */
6604
- planMeterLimit?: PlanMeterLimit | null;
6605
- planMeterLimitEdge?: PlanMeterLimitEdge | null;
6606
- }
6607
- export type UpdatePlanMeterLimitPayloadSelect = {
6608
- clientMutationId?: boolean;
6609
- planMeterLimit?: {
6610
- select: PlanMeterLimitSelect;
6611
- };
6612
- planMeterLimitEdge?: {
6613
- select: PlanMeterLimitEdgeSelect;
6614
- };
6615
- };
6616
- export interface DeletePlanMeterLimitPayload {
6617
- clientMutationId?: string | null;
6618
- /** The `PlanMeterLimit` that was deleted by this mutation. */
6619
- planMeterLimit?: PlanMeterLimit | null;
6620
- planMeterLimitEdge?: PlanMeterLimitEdge | null;
6621
- }
6622
- export type DeletePlanMeterLimitPayloadSelect = {
6623
- clientMutationId?: boolean;
6624
- planMeterLimit?: {
6625
- select: PlanMeterLimitSelect;
6626
- };
6627
- planMeterLimitEdge?: {
6628
- select: PlanMeterLimitEdgeSelect;
6629
- };
6630
- };
6631
- export interface CreatePlanOverridePayload {
6632
- clientMutationId?: string | null;
6633
- /** The `PlanOverride` that was created by this mutation. */
6634
- planOverride?: PlanOverride | null;
6635
- planOverrideEdge?: PlanOverrideEdge | null;
6636
- }
6637
- export type CreatePlanOverridePayloadSelect = {
6638
- clientMutationId?: boolean;
6639
- planOverride?: {
6640
- select: PlanOverrideSelect;
6641
- };
6642
- planOverrideEdge?: {
6643
- select: PlanOverrideEdgeSelect;
6644
- };
6645
- };
6646
- export interface UpdatePlanOverridePayload {
6647
- clientMutationId?: string | null;
6648
- /** The `PlanOverride` that was updated by this mutation. */
6649
- planOverride?: PlanOverride | null;
6650
- planOverrideEdge?: PlanOverrideEdge | null;
6651
- }
6652
- export type UpdatePlanOverridePayloadSelect = {
6653
- clientMutationId?: boolean;
6654
- planOverride?: {
6655
- select: PlanOverrideSelect;
6656
- };
6657
- planOverrideEdge?: {
6658
- select: PlanOverrideEdgeSelect;
6659
- };
6660
- };
6661
- export interface DeletePlanOverridePayload {
6662
- clientMutationId?: string | null;
6663
- /** The `PlanOverride` that was deleted by this mutation. */
6664
- planOverride?: PlanOverride | null;
6665
- planOverrideEdge?: PlanOverrideEdge | null;
6666
- }
6667
- export type DeletePlanOverridePayloadSelect = {
6668
- clientMutationId?: boolean;
6669
- planOverride?: {
6670
- select: PlanOverrideSelect;
6671
- };
6672
- planOverrideEdge?: {
6673
- select: PlanOverrideEdgeSelect;
6674
- };
6675
- };
6676
- export interface CreatePlanPricingPayload {
6677
- clientMutationId?: string | null;
6678
- /** The `PlanPricing` that was created by this mutation. */
6679
- planPricing?: PlanPricing | null;
6680
- planPricingEdge?: PlanPricingEdge | null;
6681
- }
6682
- export type CreatePlanPricingPayloadSelect = {
6683
- clientMutationId?: boolean;
6684
- planPricing?: {
6685
- select: PlanPricingSelect;
6686
- };
6687
- planPricingEdge?: {
6688
- select: PlanPricingEdgeSelect;
6689
- };
6690
- };
6691
- export interface UpdatePlanPricingPayload {
6692
- clientMutationId?: string | null;
6693
- /** The `PlanPricing` that was updated by this mutation. */
6694
- planPricing?: PlanPricing | null;
6695
- planPricingEdge?: PlanPricingEdge | null;
6696
- }
6697
- export type UpdatePlanPricingPayloadSelect = {
6698
- clientMutationId?: boolean;
6699
- planPricing?: {
6700
- select: PlanPricingSelect;
6701
- };
6702
- planPricingEdge?: {
6703
- select: PlanPricingEdgeSelect;
6704
- };
6705
- };
6706
- export interface DeletePlanPricingPayload {
6707
- clientMutationId?: string | null;
6708
- /** The `PlanPricing` that was deleted by this mutation. */
6709
- planPricing?: PlanPricing | null;
6710
- planPricingEdge?: PlanPricingEdge | null;
6711
- }
6712
- export type DeletePlanPricingPayloadSelect = {
6713
- clientMutationId?: boolean;
6714
- planPricing?: {
6715
- select: PlanPricingSelect;
6716
- };
6717
- planPricingEdge?: {
6718
- select: PlanPricingEdgeSelect;
6719
- };
6720
- };
6721
- export interface CreatePlanSubscriptionPayload {
6722
- clientMutationId?: string | null;
6723
- /** The `PlanSubscription` that was created by this mutation. */
6724
- planSubscription?: PlanSubscription | null;
6725
- planSubscriptionEdge?: PlanSubscriptionEdge | null;
6726
- }
6727
- export type CreatePlanSubscriptionPayloadSelect = {
6728
- clientMutationId?: boolean;
6729
- planSubscription?: {
6730
- select: PlanSubscriptionSelect;
6731
- };
6732
- planSubscriptionEdge?: {
6733
- select: PlanSubscriptionEdgeSelect;
6734
- };
6735
- };
6736
- export interface UpdatePlanSubscriptionPayload {
6737
- clientMutationId?: string | null;
6738
- /** The `PlanSubscription` that was updated by this mutation. */
6739
- planSubscription?: PlanSubscription | null;
6740
- planSubscriptionEdge?: PlanSubscriptionEdge | null;
6741
- }
6742
- export type UpdatePlanSubscriptionPayloadSelect = {
6743
- clientMutationId?: boolean;
6744
- planSubscription?: {
6745
- select: PlanSubscriptionSelect;
6746
- };
6747
- planSubscriptionEdge?: {
6748
- select: PlanSubscriptionEdgeSelect;
6749
- };
6750
- };
6751
- export interface DeletePlanSubscriptionPayload {
6752
- clientMutationId?: string | null;
6753
- /** The `PlanSubscription` that was deleted by this mutation. */
6754
- planSubscription?: PlanSubscription | null;
6755
- planSubscriptionEdge?: PlanSubscriptionEdge | null;
6756
- }
6757
- export type DeletePlanSubscriptionPayloadSelect = {
6758
- clientMutationId?: boolean;
6759
- planSubscription?: {
6760
- select: PlanSubscriptionSelect;
6761
- };
6762
- planSubscriptionEdge?: {
6763
- select: PlanSubscriptionEdgeSelect;
6764
- };
6765
- };
6766
- /** A `AppLevelRequirement` edge in the connection. */
6767
- export interface AppLevelRequirementEdge {
6768
- cursor?: string | null;
6769
- /** The `AppLevelRequirement` at the end of the edge. */
6770
- node?: AppLevelRequirement | null;
6771
- }
6772
- export type AppLevelRequirementEdgeSelect = {
6773
- cursor?: boolean;
6774
- node?: {
6775
- select: AppLevelRequirementSelect;
6776
- };
6777
- };
6778
- /** Information about pagination in a connection. */
6779
- export interface PageInfo {
6780
- /** When paginating forwards, the cursor to continue. */
6781
- endCursor?: string | null;
6782
- /** When paginating forwards, are there more items? */
6783
- hasNextPage: boolean;
6784
- /** When paginating backwards, are there more items? */
6785
- hasPreviousPage: boolean;
6786
- /** When paginating backwards, the cursor to continue. */
6787
- startCursor?: string | null;
6788
- }
6789
- export type PageInfoSelect = {
6790
- endCursor?: boolean;
6791
- hasNextPage?: boolean;
6792
- hasPreviousPage?: boolean;
6793
- startCursor?: boolean;
6794
- };
6795
- /** A `AppAchievementReward` edge in the connection. */
6796
- export interface AppAchievementRewardEdge {
6797
- cursor?: string | null;
6798
- /** The `AppAchievementReward` at the end of the edge. */
6799
- node?: AppAchievementReward | null;
6800
- }
6801
- export type AppAchievementRewardEdgeSelect = {
6802
- cursor?: boolean;
6803
- node?: {
6804
- select: AppAchievementRewardSelect;
6805
- };
6806
- };
6807
- /** A `AppEventAggregate` edge in the connection. */
6808
- export interface AppEventAggregateEdge {
6809
- cursor?: string | null;
6810
- /** The `AppEventAggregate` at the end of the edge. */
6811
- node?: AppEventAggregate | null;
6812
- }
6813
- export type AppEventAggregateEdgeSelect = {
6814
- cursor?: boolean;
6815
- node?: {
6816
- select: AppEventAggregateSelect;
6817
- };
6818
- };
6819
- /** A `AppEvent` edge in the connection. */
6820
- export interface AppEventEdge {
6821
- cursor?: string | null;
6822
- /** The `AppEvent` at the end of the edge. */
6823
- node?: AppEvent | null;
6824
- }
6825
- export type AppEventEdgeSelect = {
6826
- cursor?: boolean;
6827
- node?: {
6828
- select: AppEventSelect;
6829
- };
6830
- };
6831
- /** A `AppEventType` edge in the connection. */
6832
- export interface AppEventTypeEdge {
6833
- cursor?: string | null;
6834
- /** The `AppEventType` at the end of the edge. */
6835
- node?: AppEventType | null;
6836
- }
6837
- export type AppEventTypeEdgeSelect = {
6838
- cursor?: boolean;
6839
- node?: {
6840
- select: AppEventTypeSelect;
6841
- };
6842
- };
6843
- /** A `AppLevel` edge in the connection. */
6844
- export interface AppLevelEdge {
6845
- cursor?: string | null;
6846
- /** The `AppLevel` at the end of the edge. */
6847
- node?: AppLevel | null;
6848
- }
6849
- export type AppLevelEdgeSelect = {
6850
- cursor?: boolean;
6851
- node?: {
6852
- select: AppLevelSelect;
6853
- };
6854
- };
6855
- /** A `AppLevelGrant` edge in the connection. */
6856
- export interface AppLevelGrantEdge {
6857
- cursor?: string | null;
6858
- /** The `AppLevelGrant` at the end of the edge. */
6859
- node?: AppLevelGrant | null;
6860
- }
6861
- export type AppLevelGrantEdgeSelect = {
6862
- cursor?: boolean;
6863
- node?: {
6864
- select: AppLevelGrantSelect;
6865
- };
6866
- };
6867
3386
  /** A `AppLimitCap` edge in the connection. */
6868
3387
  export interface AppLimitCapEdge {
6869
3388
  cursor?: string | null;
@@ -6984,78 +3503,6 @@ export type AppLimitWarningEdgeSelect = {
6984
3503
  select: AppLimitWarningSelect;
6985
3504
  };
6986
3505
  };
6987
- /** A `BillingUsageSummary` edge in the connection. */
6988
- export interface BillingUsageSummaryEdge {
6989
- cursor?: string | null;
6990
- /** The `BillingUsageSummary` at the end of the edge. */
6991
- node?: BillingUsageSummary | null;
6992
- }
6993
- export type BillingUsageSummaryEdgeSelect = {
6994
- cursor?: boolean;
6995
- node?: {
6996
- select: BillingUsageSummarySelect;
6997
- };
6998
- };
6999
- /** A `Ledger` edge in the connection. */
7000
- export interface LedgerEdge {
7001
- cursor?: string | null;
7002
- /** The `Ledger` at the end of the edge. */
7003
- node?: Ledger | null;
7004
- }
7005
- export type LedgerEdgeSelect = {
7006
- cursor?: boolean;
7007
- node?: {
7008
- select: LedgerSelect;
7009
- };
7010
- };
7011
- /** A `Meter` edge in the connection. */
7012
- export interface MeterEdge {
7013
- cursor?: string | null;
7014
- /** The `Meter` at the end of the edge. */
7015
- node?: Meter | null;
7016
- }
7017
- export type MeterEdgeSelect = {
7018
- cursor?: boolean;
7019
- node?: {
7020
- select: MeterSelect;
7021
- };
7022
- };
7023
- /** A `MeterCredit` edge in the connection. */
7024
- export interface MeterCreditEdge {
7025
- cursor?: string | null;
7026
- /** The `MeterCredit` at the end of the edge. */
7027
- node?: MeterCredit | null;
7028
- }
7029
- export type MeterCreditEdgeSelect = {
7030
- cursor?: boolean;
7031
- node?: {
7032
- select: MeterCreditSelect;
7033
- };
7034
- };
7035
- /** A `MeterDefault` edge in the connection. */
7036
- export interface MeterDefaultEdge {
7037
- cursor?: string | null;
7038
- /** The `MeterDefault` at the end of the edge. */
7039
- node?: MeterDefault | null;
7040
- }
7041
- export type MeterDefaultEdgeSelect = {
7042
- cursor?: boolean;
7043
- node?: {
7044
- select: MeterDefaultSelect;
7045
- };
7046
- };
7047
- /** A `MeterSource` edge in the connection. */
7048
- export interface MeterSourceEdge {
7049
- cursor?: string | null;
7050
- /** The `MeterSource` at the end of the edge. */
7051
- node?: MeterSource | null;
7052
- }
7053
- export type MeterSourceEdgeSelect = {
7054
- cursor?: boolean;
7055
- node?: {
7056
- select: MeterSourceSelect;
7057
- };
7058
- };
7059
3506
  /** A `OrgLimitAggregate` edge in the connection. */
7060
3507
  export interface OrgLimitAggregateEdge {
7061
3508
  cursor?: string | null;
@@ -7152,87 +3599,3 @@ export type OrgLimitWarningEdgeSelect = {
7152
3599
  select: OrgLimitWarningSelect;
7153
3600
  };
7154
3601
  };
7155
- /** A `PlanCap` edge in the connection. */
7156
- export interface PlanCapEdge {
7157
- cursor?: string | null;
7158
- /** The `PlanCap` at the end of the edge. */
7159
- node?: PlanCap | null;
7160
- }
7161
- export type PlanCapEdgeSelect = {
7162
- cursor?: boolean;
7163
- node?: {
7164
- select: PlanCapSelect;
7165
- };
7166
- };
7167
- /** A `Plan` edge in the connection. */
7168
- export interface PlanEdge {
7169
- cursor?: string | null;
7170
- /** The `Plan` at the end of the edge. */
7171
- node?: Plan | null;
7172
- }
7173
- export type PlanEdgeSelect = {
7174
- cursor?: boolean;
7175
- node?: {
7176
- select: PlanSelect;
7177
- };
7178
- };
7179
- /** A `PlanLimit` edge in the connection. */
7180
- export interface PlanLimitEdge {
7181
- cursor?: string | null;
7182
- /** The `PlanLimit` at the end of the edge. */
7183
- node?: PlanLimit | null;
7184
- }
7185
- export type PlanLimitEdgeSelect = {
7186
- cursor?: boolean;
7187
- node?: {
7188
- select: PlanLimitSelect;
7189
- };
7190
- };
7191
- /** A `PlanMeterLimit` edge in the connection. */
7192
- export interface PlanMeterLimitEdge {
7193
- cursor?: string | null;
7194
- /** The `PlanMeterLimit` at the end of the edge. */
7195
- node?: PlanMeterLimit | null;
7196
- }
7197
- export type PlanMeterLimitEdgeSelect = {
7198
- cursor?: boolean;
7199
- node?: {
7200
- select: PlanMeterLimitSelect;
7201
- };
7202
- };
7203
- /** A `PlanOverride` edge in the connection. */
7204
- export interface PlanOverrideEdge {
7205
- cursor?: string | null;
7206
- /** The `PlanOverride` at the end of the edge. */
7207
- node?: PlanOverride | null;
7208
- }
7209
- export type PlanOverrideEdgeSelect = {
7210
- cursor?: boolean;
7211
- node?: {
7212
- select: PlanOverrideSelect;
7213
- };
7214
- };
7215
- /** A `PlanPricing` edge in the connection. */
7216
- export interface PlanPricingEdge {
7217
- cursor?: string | null;
7218
- /** The `PlanPricing` at the end of the edge. */
7219
- node?: PlanPricing | null;
7220
- }
7221
- export type PlanPricingEdgeSelect = {
7222
- cursor?: boolean;
7223
- node?: {
7224
- select: PlanPricingSelect;
7225
- };
7226
- };
7227
- /** A `PlanSubscription` edge in the connection. */
7228
- export interface PlanSubscriptionEdge {
7229
- cursor?: string | null;
7230
- /** The `PlanSubscription` at the end of the edge. */
7231
- node?: PlanSubscription | null;
7232
- }
7233
- export type PlanSubscriptionEdgeSelect = {
7234
- cursor?: boolean;
7235
- node?: {
7236
- select: PlanSubscriptionSelect;
7237
- };
7238
- };