@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
@@ -238,6 +238,8 @@ export interface AuditLogAuth {
238
238
  /** User who performed the authentication action; NULL if user was deleted */
239
239
  actorId?: string | null;
240
240
  createdAt?: string | null;
241
+ /** Event-specific structured payload (e.g. preset slug and catalog commit id for create_principal_from_preset) */
242
+ details?: Record<string, unknown> | null;
241
243
  /** Type of authentication event (e.g. sign_in, sign_up, password_change, verify_email) */
242
244
  event?: string | null;
243
245
  /** Unique identifier for each audit event (uuidv7 provides temporal ordering) */
@@ -320,9 +322,17 @@ export interface PhoneNumber {
320
322
  }
321
323
  /** Scoped sub-identities (API keys and agents) with precomputed SPRT */
322
324
  export interface Principal {
325
+ /** Upper bound on the lifetime of API keys minted for this principal; clamps expires_in below auth_settings.api_key_max_duration. NULL means no additional cap */
326
+ apiKeyMaxDuration?: string | null;
323
327
  /** Whether this principal bypasses MFA step-up requirements */
324
328
  bypassStepUp?: boolean | null;
325
329
  createdAt?: string | null;
330
+ /** Session that minted this child principal; NULL for principals created outside a session chain */
331
+ createdBySessionId?: string | null;
332
+ /** Depth of this principal below its owner-derived root (0 for standing principals), bounded by auth_settings.max_principal_depth */
333
+ depth?: number | null;
334
+ /** When this ephemeral child principal expires; NULL for standing principals */
335
+ expiresAt?: string | null;
326
336
  id: string;
327
337
  /** Whether this principal is restricted to read-only operations */
328
338
  isReadOnly?: boolean | null;
@@ -330,6 +340,8 @@ export interface Principal {
330
340
  name?: string | null;
331
341
  /** The human user who owns and manages this principal */
332
342
  ownerId?: string | null;
343
+ /** Principal this child principal derives its authority from; NULL for principals that derive from owner_id */
344
+ parentPrincipalId?: string | null;
333
345
  updatedAt?: string | null;
334
346
  /** Whether this principal inherits admin/owner privileges from the owner */
335
347
  useAdminOwner?: boolean | null;
@@ -396,6 +408,32 @@ export interface User {
396
408
  updatedAt?: string | null;
397
409
  username?: string | null;
398
410
  }
411
+ /** Per-user settings and preferences. Extended by other modules (i18n, notifications, MFA) via metaschema.create_field(). */
412
+ export interface UserSetting {
413
+ createdAt?: string | null;
414
+ id: string;
415
+ ownerId?: string | null;
416
+ updatedAt?: string | null;
417
+ }
418
+ /** Per-user security settings for MFA configuration (separate from user_settings preferences) */
419
+ export interface UserSettingsSecurity {
420
+ /** Number of remaining unused backup codes */
421
+ backupCodesCount?: number | null;
422
+ createdAt?: string | null;
423
+ /** Whether email-based MFA codes are active for this user */
424
+ emailMfaEnabled?: boolean | null;
425
+ id: string;
426
+ /** When the first MFA method was enabled */
427
+ mfaEnrolledAt?: string | null;
428
+ /** When MFA was last successfully verified */
429
+ mfaLastUsedAt?: string | null;
430
+ ownerId?: string | null;
431
+ /** Whether SMS-based MFA codes are active for this user */
432
+ smsMfaEnabled?: boolean | null;
433
+ /** Whether TOTP (authenticator app) MFA is active for this user */
434
+ totpEnabled?: boolean | null;
435
+ updatedAt?: string | null;
436
+ }
399
437
  /** WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object. */
400
438
  export interface WebauthnCredential {
401
439
  /** Whether this credential is eligible for backup (syncing) per the authenticator's flags at registration. */
@@ -452,7 +490,9 @@ export interface PhoneNumberRelations {
452
490
  }
453
491
  export interface PrincipalRelations {
454
492
  owner?: User | null;
493
+ parentPrincipal?: Principal | null;
455
494
  user?: User | null;
495
+ child_principals?: ConnectionResult<Principal>;
456
496
  principalEntities?: ConnectionResult<PrincipalEntity>;
457
497
  principalScopeOverrides?: ConnectionResult<PrincipalScopeOverride>;
458
498
  }
@@ -469,6 +509,8 @@ export interface RoleTypeRelations {
469
509
  export interface UserConnectedAccountRelations {
470
510
  }
471
511
  export interface UserRelations {
512
+ ownedUserSetting?: UserSetting | null;
513
+ ownedUserSettingsSecurity?: UserSettingsSecurity | null;
472
514
  roleType?: RoleType | null;
473
515
  authAuditLog?: ConnectionResult<AuditLogAuth>;
474
516
  cryptoAddresses?: ConnectionResult<CryptoAddress>;
@@ -478,6 +520,12 @@ export interface UserRelations {
478
520
  scopedPrincipals?: ConnectionResult<PrincipalEntity>;
479
521
  webauthnCredentials?: ConnectionResult<WebauthnCredential>;
480
522
  }
523
+ export interface UserSettingRelations {
524
+ owner?: User | null;
525
+ }
526
+ export interface UserSettingsSecurityRelations {
527
+ owner?: User | null;
528
+ }
481
529
  export interface WebauthnCredentialRelations {
482
530
  owner?: User | null;
483
531
  }
@@ -493,10 +541,13 @@ export type PrincipalScopeOverrideWithRelations = PrincipalScopeOverride & Princ
493
541
  export type RoleTypeWithRelations = RoleType & RoleTypeRelations;
494
542
  export type UserConnectedAccountWithRelations = UserConnectedAccount & UserConnectedAccountRelations;
495
543
  export type UserWithRelations = User & UserRelations;
544
+ export type UserSettingWithRelations = UserSetting & UserSettingRelations;
545
+ export type UserSettingsSecurityWithRelations = UserSettingsSecurity & UserSettingsSecurityRelations;
496
546
  export type WebauthnCredentialWithRelations = WebauthnCredential & WebauthnCredentialRelations;
497
547
  export type AuditLogAuthSelect = {
498
548
  actorId?: boolean;
499
549
  createdAt?: boolean;
550
+ details?: boolean;
500
551
  event?: boolean;
501
552
  id?: boolean;
502
553
  ipAddress?: boolean;
@@ -568,21 +619,35 @@ export type PhoneNumberSelect = {
568
619
  };
569
620
  };
570
621
  export type PrincipalSelect = {
622
+ apiKeyMaxDuration?: boolean;
571
623
  bypassStepUp?: boolean;
572
624
  createdAt?: boolean;
625
+ createdBySessionId?: boolean;
626
+ depth?: boolean;
627
+ expiresAt?: boolean;
573
628
  id?: boolean;
574
629
  isReadOnly?: boolean;
575
630
  name?: boolean;
576
631
  ownerId?: boolean;
632
+ parentPrincipalId?: boolean;
577
633
  updatedAt?: boolean;
578
634
  useAdminOwner?: boolean;
579
635
  userId?: boolean;
580
636
  owner?: {
581
637
  select: UserSelect;
582
638
  };
639
+ parentPrincipal?: {
640
+ select: PrincipalSelect;
641
+ };
583
642
  user?: {
584
643
  select: UserSelect;
585
644
  };
645
+ child_principals?: {
646
+ select: PrincipalSelect;
647
+ first?: number;
648
+ filter?: PrincipalFilter;
649
+ orderBy?: PrincipalOrderBy[];
650
+ };
586
651
  principalEntities?: {
587
652
  select: PrincipalEntitySelect;
588
653
  first?: number;
@@ -653,6 +718,12 @@ export type UserSelect = {
653
718
  type?: boolean;
654
719
  updatedAt?: boolean;
655
720
  username?: boolean;
721
+ ownedUserSetting?: {
722
+ select: UserSettingSelect;
723
+ };
724
+ ownedUserSettingsSecurity?: {
725
+ select: UserSettingsSecuritySelect;
726
+ };
656
727
  roleType?: {
657
728
  select: RoleTypeSelect;
658
729
  };
@@ -699,6 +770,30 @@ export type UserSelect = {
699
770
  orderBy?: WebauthnCredentialOrderBy[];
700
771
  };
701
772
  };
773
+ export type UserSettingSelect = {
774
+ createdAt?: boolean;
775
+ id?: boolean;
776
+ ownerId?: boolean;
777
+ updatedAt?: boolean;
778
+ owner?: {
779
+ select: UserSelect;
780
+ };
781
+ };
782
+ export type UserSettingsSecuritySelect = {
783
+ backupCodesCount?: boolean;
784
+ createdAt?: boolean;
785
+ emailMfaEnabled?: boolean;
786
+ id?: boolean;
787
+ mfaEnrolledAt?: boolean;
788
+ mfaLastUsedAt?: boolean;
789
+ ownerId?: boolean;
790
+ smsMfaEnabled?: boolean;
791
+ totpEnabled?: boolean;
792
+ updatedAt?: boolean;
793
+ owner?: {
794
+ select: UserSelect;
795
+ };
796
+ };
702
797
  export type WebauthnCredentialSelect = {
703
798
  backupEligible?: boolean;
704
799
  backupState?: boolean;
@@ -729,6 +824,8 @@ export interface AuditLogAuthFilter {
729
824
  and?: AuditLogAuthFilter[];
730
825
  /** Filter by the object’s `createdAt` field. */
731
826
  createdAt?: DatetimeFilter;
827
+ /** Filter by the object’s `details` field. */
828
+ details?: JSONFilter;
732
829
  /** Filter by the object’s `event` field. */
733
830
  event?: StringFilter;
734
831
  /** Filter by the object’s `id` field. */
@@ -877,10 +974,22 @@ export interface PhoneNumberFilter {
877
974
  export interface PrincipalFilter {
878
975
  /** Checks for all expressions in this list. */
879
976
  and?: PrincipalFilter[];
977
+ /** Filter by the object’s `apiKeyMaxDuration` field. */
978
+ apiKeyMaxDuration?: IntervalFilter;
880
979
  /** Filter by the object’s `bypassStepUp` field. */
881
980
  bypassStepUp?: BooleanFilter;
981
+ /** Filter by the object’s `child_principals` relation. */
982
+ child_principals?: PrincipalToManyPrincipalFilter;
983
+ /** `child_principals` exist. */
984
+ child_principalsExist?: boolean;
882
985
  /** Filter by the object’s `createdAt` field. */
883
986
  createdAt?: DatetimeFilter;
987
+ /** Filter by the object’s `createdBySessionId` field. */
988
+ createdBySessionId?: UUIDFilter;
989
+ /** Filter by the object’s `depth` field. */
990
+ depth?: IntFilter;
991
+ /** Filter by the object’s `expiresAt` field. */
992
+ expiresAt?: DatetimeFilter;
884
993
  /** Filter by the object’s `id` field. */
885
994
  id?: UUIDFilter;
886
995
  /** Filter by the object’s `isReadOnly` field. */
@@ -895,6 +1004,12 @@ export interface PrincipalFilter {
895
1004
  owner?: UserFilter;
896
1005
  /** Filter by the object’s `ownerId` field. */
897
1006
  ownerId?: UUIDFilter;
1007
+ /** Filter by the object’s `parentPrincipal` relation. */
1008
+ parentPrincipal?: PrincipalFilter;
1009
+ /** A related `parentPrincipal` exists. */
1010
+ parentPrincipalExists?: boolean;
1011
+ /** Filter by the object’s `parentPrincipalId` field. */
1012
+ parentPrincipalId?: UUIDFilter;
898
1013
  /** Filter by the object’s `principalEntities` relation. */
899
1014
  principalEntities?: PrincipalToManyPrincipalEntityFilter;
900
1015
  /** `principalEntities` exist. */
@@ -1027,6 +1142,14 @@ export interface UserFilter {
1027
1142
  not?: UserFilter;
1028
1143
  /** Checks for any expressions in this list. */
1029
1144
  or?: UserFilter[];
1145
+ /** Filter by the object’s `ownedUserSetting` relation. */
1146
+ ownedUserSetting?: UserSettingFilter;
1147
+ /** A related `ownedUserSetting` exists. */
1148
+ ownedUserSettingExists?: boolean;
1149
+ /** Filter by the object’s `ownedUserSettingsSecurity` relation. */
1150
+ ownedUserSettingsSecurity?: UserSettingsSecurityFilter;
1151
+ /** A related `ownedUserSettingsSecurity` exists. */
1152
+ ownedUserSettingsSecurityExists?: boolean;
1030
1153
  /** Filter by the object’s `phoneNumbers` relation. */
1031
1154
  phoneNumbers?: UserToManyPhoneNumberFilter;
1032
1155
  /** `phoneNumbers` exist. */
@@ -1068,6 +1191,54 @@ export interface UserFilter {
1068
1191
  /** `webauthnCredentials` exist. */
1069
1192
  webauthnCredentialsExist?: boolean;
1070
1193
  }
1194
+ export interface UserSettingFilter {
1195
+ /** Checks for all expressions in this list. */
1196
+ and?: UserSettingFilter[];
1197
+ /** Filter by the object’s `createdAt` field. */
1198
+ createdAt?: DatetimeFilter;
1199
+ /** Filter by the object’s `id` field. */
1200
+ id?: UUIDFilter;
1201
+ /** Negates the expression. */
1202
+ not?: UserSettingFilter;
1203
+ /** Checks for any expressions in this list. */
1204
+ or?: UserSettingFilter[];
1205
+ /** Filter by the object’s `owner` relation. */
1206
+ owner?: UserFilter;
1207
+ /** Filter by the object’s `ownerId` field. */
1208
+ ownerId?: UUIDFilter;
1209
+ /** Filter by the object’s `updatedAt` field. */
1210
+ updatedAt?: DatetimeFilter;
1211
+ }
1212
+ export interface UserSettingsSecurityFilter {
1213
+ /** Checks for all expressions in this list. */
1214
+ and?: UserSettingsSecurityFilter[];
1215
+ /** Filter by the object’s `backupCodesCount` field. */
1216
+ backupCodesCount?: IntFilter;
1217
+ /** Filter by the object’s `createdAt` field. */
1218
+ createdAt?: DatetimeFilter;
1219
+ /** Filter by the object’s `emailMfaEnabled` field. */
1220
+ emailMfaEnabled?: BooleanFilter;
1221
+ /** Filter by the object’s `id` field. */
1222
+ id?: UUIDFilter;
1223
+ /** Filter by the object’s `mfaEnrolledAt` field. */
1224
+ mfaEnrolledAt?: DatetimeFilter;
1225
+ /** Filter by the object’s `mfaLastUsedAt` field. */
1226
+ mfaLastUsedAt?: DatetimeFilter;
1227
+ /** Negates the expression. */
1228
+ not?: UserSettingsSecurityFilter;
1229
+ /** Checks for any expressions in this list. */
1230
+ or?: UserSettingsSecurityFilter[];
1231
+ /** Filter by the object’s `owner` relation. */
1232
+ owner?: UserFilter;
1233
+ /** Filter by the object’s `ownerId` field. */
1234
+ ownerId?: UUIDFilter;
1235
+ /** Filter by the object’s `smsMfaEnabled` field. */
1236
+ smsMfaEnabled?: BooleanFilter;
1237
+ /** Filter by the object’s `totpEnabled` field. */
1238
+ totpEnabled?: BooleanFilter;
1239
+ /** Filter by the object’s `updatedAt` field. */
1240
+ updatedAt?: DatetimeFilter;
1241
+ }
1071
1242
  export interface WebauthnCredentialFilter {
1072
1243
  /** Checks for all expressions in this list. */
1073
1244
  and?: WebauthnCredentialFilter[];
@@ -1106,23 +1277,26 @@ export interface WebauthnCredentialFilter {
1106
1277
  /** Filter by the object’s `webauthnUserId` field. */
1107
1278
  webauthnUserId?: StringFilter;
1108
1279
  }
1109
- export type AuditLogAuthOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IP_ADDRESS_ASC' | 'IP_ADDRESS_DESC' | 'NATURAL' | 'ORIGIN_ASC' | 'ORIGIN_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'USER_AGENT_ASC' | 'USER_AGENT_DESC';
1280
+ export type AuditLogAuthOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DETAILS_ASC' | 'DETAILS_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IP_ADDRESS_ASC' | 'IP_ADDRESS_DESC' | 'NATURAL' | 'ORIGIN_ASC' | 'ORIGIN_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'USER_AGENT_ASC' | 'USER_AGENT_DESC';
1110
1281
  export type CryptoAddressOrderBy = 'ADDRESS_ASC' | 'ADDRESS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1111
1282
  export type EmailOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1112
1283
  export type IdentityProviderOrderBy = 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'ENABLED_ASC' | 'ENABLED_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'NATURAL' | 'SLUG_ASC' | 'SLUG_DESC';
1113
1284
  export type OrgApiKeyListOrderBy = 'ACCESS_LEVEL_ASC' | 'ACCESS_LEVEL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'KEY_ID_ASC' | 'KEY_ID_DESC' | 'LAST_USED_AT_ASC' | 'LAST_USED_AT_DESC' | 'MFA_LEVEL_ASC' | 'MFA_LEVEL_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'ORG_ID_ASC' | 'ORG_ID_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'REVOKED_AT_ASC' | 'REVOKED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1114
1285
  export type PhoneNumberOrderBy = 'CC_ASC' | 'CC_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NUMBER_ASC' | 'NUMBER_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1115
- export type PrincipalOrderBy = 'BYPASS_STEP_UP_ASC' | 'BYPASS_STEP_UP_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'USER_ID_ASC' | 'USER_ID_DESC' | 'USE_ADMIN_OWNER_ASC' | 'USE_ADMIN_OWNER_DESC';
1286
+ export type PrincipalOrderBy = 'API_KEY_MAX_DURATION_ASC' | 'API_KEY_MAX_DURATION_DESC' | 'BYPASS_STEP_UP_ASC' | 'BYPASS_STEP_UP_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_SESSION_ID_ASC' | 'CREATED_BY_SESSION_ID_DESC' | 'DEPTH_ASC' | 'DEPTH_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PARENT_PRINCIPAL_ID_ASC' | 'PARENT_PRINCIPAL_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'USER_ID_ASC' | 'USER_ID_DESC' | 'USE_ADMIN_OWNER_ASC' | 'USE_ADMIN_OWNER_DESC';
1116
1287
  export type PrincipalEntityOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1117
1288
  export type PrincipalScopeOverrideOrderBy = 'ALLOWED_MASK_ASC' | 'ALLOWED_MASK_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'USE_ADMIN_OWNER_ASC' | 'USE_ADMIN_OWNER_DESC';
1118
1289
  export type RoleTypeOrderBy = 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
1119
1290
  export type UserConnectedAccountOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DETAILS_ASC' | 'DETAILS_DESC' | 'IDENTIFIER_ASC' | 'IDENTIFIER_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'SERVICE_ASC' | 'SERVICE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1120
1291
  export type UserOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'DISPLAY_NAME_TRGM_SIMILARITY_ASC' | 'DISPLAY_NAME_TRGM_SIMILARITY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROFILE_PICTURE_ASC' | 'PROFILE_PICTURE_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC' | 'SEARCH_TSV_ASC' | 'SEARCH_TSV_DESC' | 'SEARCH_TSV_RANK_ASC' | 'SEARCH_TSV_RANK_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'USERNAME_ASC' | 'USERNAME_DESC';
1292
+ export type UserSettingOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1293
+ export type UserSettingsSecurityOrderBy = 'BACKUP_CODES_COUNT_ASC' | 'BACKUP_CODES_COUNT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'EMAIL_MFA_ENABLED_ASC' | 'EMAIL_MFA_ENABLED_DESC' | 'ID_ASC' | 'ID_DESC' | 'MFA_ENROLLED_AT_ASC' | 'MFA_ENROLLED_AT_DESC' | 'MFA_LAST_USED_AT_ASC' | 'MFA_LAST_USED_AT_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SMS_MFA_ENABLED_ASC' | 'SMS_MFA_ENABLED_DESC' | 'TOTP_ENABLED_ASC' | 'TOTP_ENABLED_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1121
1294
  export type WebauthnCredentialOrderBy = 'BACKUP_ELIGIBLE_ASC' | 'BACKUP_ELIGIBLE_DESC' | 'BACKUP_STATE_ASC' | 'BACKUP_STATE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREDENTIAL_DEVICE_TYPE_ASC' | 'CREDENTIAL_DEVICE_TYPE_DESC' | 'CREDENTIAL_ID_ASC' | 'CREDENTIAL_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'LAST_USED_AT_ASC' | 'LAST_USED_AT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PUBLIC_KEY_ASC' | 'PUBLIC_KEY_DESC' | 'SIGN_COUNT_ASC' | 'SIGN_COUNT_DESC' | 'TRANSPORTS_ASC' | 'TRANSPORTS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'WEBAUTHN_USER_ID_ASC' | 'WEBAUTHN_USER_ID_DESC';
1122
1295
  export interface CreateAuditLogAuthInput {
1123
1296
  clientMutationId?: string;
1124
1297
  auditLogAuth: {
1125
1298
  actorId?: string;
1299
+ details?: Record<string, unknown>;
1126
1300
  event: string;
1127
1301
  ipAddress?: string;
1128
1302
  origin?: ConstructiveInternalTypeOrigin;
@@ -1132,6 +1306,7 @@ export interface CreateAuditLogAuthInput {
1132
1306
  }
1133
1307
  export interface AuditLogAuthPatch {
1134
1308
  actorId?: string | null;
1309
+ details?: Record<string, unknown> | null;
1135
1310
  event?: string | null;
1136
1311
  ipAddress?: string | null;
1137
1312
  origin?: ConstructiveInternalTypeOrigin | null;
@@ -1288,19 +1463,29 @@ export interface DeletePhoneNumberInput {
1288
1463
  export interface CreatePrincipalInput {
1289
1464
  clientMutationId?: string;
1290
1465
  principal: {
1466
+ apiKeyMaxDuration?: string;
1291
1467
  bypassStepUp?: boolean;
1468
+ createdBySessionId: string;
1469
+ depth?: number;
1470
+ expiresAt?: string;
1292
1471
  isReadOnly?: boolean;
1293
1472
  name?: string;
1294
1473
  ownerId: string;
1474
+ parentPrincipalId: string;
1295
1475
  useAdminOwner?: boolean;
1296
1476
  userId: string;
1297
1477
  };
1298
1478
  }
1299
1479
  export interface PrincipalPatch {
1480
+ apiKeyMaxDuration?: string | null;
1300
1481
  bypassStepUp?: boolean | null;
1482
+ createdBySessionId?: string | null;
1483
+ depth?: number | null;
1484
+ expiresAt?: string | null;
1301
1485
  isReadOnly?: boolean | null;
1302
1486
  name?: string | null;
1303
1487
  ownerId?: string | null;
1488
+ parentPrincipalId?: string | null;
1304
1489
  useAdminOwner?: boolean | null;
1305
1490
  userId?: string | null;
1306
1491
  }
@@ -1432,6 +1617,54 @@ export interface DeleteUserInput {
1432
1617
  clientMutationId?: string;
1433
1618
  id: string;
1434
1619
  }
1620
+ export interface CreateUserSettingInput {
1621
+ clientMutationId?: string;
1622
+ userSetting: {
1623
+ ownerId?: string;
1624
+ };
1625
+ }
1626
+ export interface UserSettingPatch {
1627
+ ownerId?: string | null;
1628
+ }
1629
+ export interface UpdateUserSettingInput {
1630
+ clientMutationId?: string;
1631
+ id: string;
1632
+ userSettingPatch: UserSettingPatch;
1633
+ }
1634
+ export interface DeleteUserSettingInput {
1635
+ clientMutationId?: string;
1636
+ id: string;
1637
+ }
1638
+ export interface CreateUserSettingsSecurityInput {
1639
+ clientMutationId?: string;
1640
+ userSettingsSecurity: {
1641
+ backupCodesCount?: number;
1642
+ emailMfaEnabled?: boolean;
1643
+ mfaEnrolledAt?: string;
1644
+ mfaLastUsedAt?: string;
1645
+ ownerId?: string;
1646
+ smsMfaEnabled?: boolean;
1647
+ totpEnabled?: boolean;
1648
+ };
1649
+ }
1650
+ export interface UserSettingsSecurityPatch {
1651
+ backupCodesCount?: number | null;
1652
+ emailMfaEnabled?: boolean | null;
1653
+ mfaEnrolledAt?: string | null;
1654
+ mfaLastUsedAt?: string | null;
1655
+ ownerId?: string | null;
1656
+ smsMfaEnabled?: boolean | null;
1657
+ totpEnabled?: boolean | null;
1658
+ }
1659
+ export interface UpdateUserSettingsSecurityInput {
1660
+ clientMutationId?: string;
1661
+ id: string;
1662
+ userSettingsSecurityPatch: UserSettingsSecurityPatch;
1663
+ }
1664
+ export interface DeleteUserSettingsSecurityInput {
1665
+ clientMutationId?: string;
1666
+ id: string;
1667
+ }
1435
1668
  export interface CreateWebauthnCredentialInput {
1436
1669
  clientMutationId?: string;
1437
1670
  webauthnCredential: {
@@ -1471,15 +1704,35 @@ export interface DeleteWebauthnCredentialInput {
1471
1704
  id: string;
1472
1705
  }
1473
1706
  export declare const connectionFieldsMap: Record<string, Record<string, string>>;
1707
+ export interface ApproveDeviceInput {
1708
+ approvalToken: string;
1709
+ clientMutationId?: string;
1710
+ }
1474
1711
  export interface CheckPasswordInput {
1475
1712
  clientMutationId?: string;
1476
1713
  password?: string;
1477
1714
  }
1715
+ export interface CompleteMfaChallengeInput {
1716
+ authMethod?: string;
1717
+ clientMutationId?: string;
1718
+ credentialKind?: string;
1719
+ deviceToken?: string;
1720
+ mfaChallengeToken?: string;
1721
+ mfaMethod?: string;
1722
+ rememberMe?: boolean;
1723
+ totpCode?: string;
1724
+ trustDevice?: boolean;
1725
+ userId?: string;
1726
+ }
1478
1727
  export interface ConfirmDeleteAccountInput {
1479
1728
  clientMutationId?: string;
1480
1729
  token?: string;
1481
1730
  userId?: string;
1482
1731
  }
1732
+ export interface ConfirmTotpSetupInput {
1733
+ clientMutationId?: string;
1734
+ totpValue: string;
1735
+ }
1483
1736
  export interface CreateApiKeyInput {
1484
1737
  accessLevel?: string;
1485
1738
  clientMutationId?: string;
@@ -1488,6 +1741,16 @@ export interface CreateApiKeyInput {
1488
1741
  mfaLevel?: string;
1489
1742
  principalId?: string;
1490
1743
  }
1744
+ export interface CreateChildPrincipalInput {
1745
+ allowedMask?: string;
1746
+ clientMutationId?: string;
1747
+ entityIds?: string[];
1748
+ expiresAt?: string;
1749
+ intent?: string;
1750
+ isReadOnly?: boolean;
1751
+ name?: string;
1752
+ parentPrincipalId?: string;
1753
+ }
1491
1754
  export interface CreateOrgApiKeyInput {
1492
1755
  accessLevel?: string;
1493
1756
  clientMutationId?: string;
@@ -1505,14 +1768,40 @@ export interface CreateOrgPrincipalInput {
1505
1768
  orgId?: string;
1506
1769
  useAdminOwner?: boolean;
1507
1770
  }
1771
+ export interface CreatePrincipalFromPresetInput {
1772
+ clientMutationId?: string;
1773
+ entityIds?: string[];
1774
+ name?: string;
1775
+ overrides?: Record<string, unknown>;
1776
+ slug?: string;
1777
+ }
1508
1778
  export interface DeleteOrgPrincipalInput {
1509
1779
  clientMutationId?: string;
1510
1780
  principalId?: string;
1511
1781
  }
1782
+ export interface DisableEmailMfaInput {
1783
+ clientMutationId?: string;
1784
+ }
1785
+ export interface DisableSmsMfaInput {
1786
+ clientMutationId?: string;
1787
+ }
1788
+ export interface DisableTotpInput {
1789
+ clientMutationId?: string;
1790
+ totpValue: string;
1791
+ }
1512
1792
  export interface DisconnectAccountInput {
1513
1793
  accountId: string;
1514
1794
  clientMutationId?: string;
1515
1795
  }
1796
+ export interface EnableEmailMfaInput {
1797
+ clientMutationId?: string;
1798
+ }
1799
+ export interface EnableSmsMfaInput {
1800
+ clientMutationId?: string;
1801
+ }
1802
+ export interface EnableTotpInput {
1803
+ clientMutationId?: string;
1804
+ }
1516
1805
  export interface ExtendTokenExpiresInput {
1517
1806
  amount?: IntervalInput;
1518
1807
  clientMutationId?: string;
@@ -1521,12 +1810,21 @@ export interface ForgotPasswordInput {
1521
1810
  clientMutationId?: string;
1522
1811
  email?: ConstructiveInternalTypeEmail;
1523
1812
  }
1813
+ export interface GenerateBackupCodesInput {
1814
+ clientMutationId?: string;
1815
+ }
1524
1816
  export interface LinkIdentityInput {
1525
1817
  clientMutationId?: string;
1526
1818
  details?: Record<string, unknown>;
1527
1819
  identifier: string;
1528
1820
  service: string;
1529
1821
  }
1822
+ export interface MintAccessTokenInput {
1823
+ accessTtl?: IntervalInput;
1824
+ clientMutationId?: string;
1825
+ intent?: string;
1826
+ principalId?: string;
1827
+ }
1530
1828
  export interface ProvisionBucketInput {
1531
1829
  /** The logical bucket key (e.g., "public", "private") */
1532
1830
  bucketKey: string;
@@ -1541,6 +1839,10 @@ export interface ProvisionNewUserInput {
1541
1839
  email?: string;
1542
1840
  password?: string;
1543
1841
  }
1842
+ export interface RefreshAccessTokenInput {
1843
+ clientMutationId?: string;
1844
+ token?: string;
1845
+ }
1544
1846
  export interface RequestCrossOriginTokenInput {
1545
1847
  clientMutationId?: string;
1546
1848
  email?: string;
@@ -1570,6 +1872,10 @@ export interface RevokeSessionInput {
1570
1872
  export interface SendAccountDeletionEmailInput {
1571
1873
  clientMutationId?: string;
1572
1874
  }
1875
+ export interface SendPhoneVerificationCodeInput {
1876
+ clientMutationId?: string;
1877
+ phone?: string;
1878
+ }
1573
1879
  export interface SendVerificationEmailInput {
1574
1880
  clientMutationId?: string;
1575
1881
  email?: ConstructiveInternalTypeEmail;
@@ -1579,6 +1885,20 @@ export interface SetPasswordInput {
1579
1885
  currentPassword?: string;
1580
1886
  newPassword?: string;
1581
1887
  }
1888
+ export interface SetPrincipalEntitiesInput {
1889
+ clientMutationId?: string;
1890
+ entityIds?: string[];
1891
+ principalId?: string;
1892
+ }
1893
+ export interface SetPrincipalScopeInput {
1894
+ allowedMask?: string;
1895
+ clientMutationId?: string;
1896
+ isActive?: boolean;
1897
+ isReadOnly?: boolean;
1898
+ membershipType?: number;
1899
+ principalId?: string;
1900
+ useAdminOwner?: boolean;
1901
+ }
1582
1902
  export interface SignInInput {
1583
1903
  clientMutationId?: string;
1584
1904
  credentialKind?: string;
@@ -1617,6 +1937,7 @@ export interface SignUpInput {
1617
1937
  csrfToken?: string;
1618
1938
  deviceToken?: string;
1619
1939
  email?: string;
1940
+ inviteToken?: string;
1620
1941
  password?: string;
1621
1942
  rememberMe?: boolean;
1622
1943
  }
@@ -1624,6 +1945,7 @@ export interface SignUpMagicLinkInput {
1624
1945
  clientMutationId?: string;
1625
1946
  credentialKind?: string;
1626
1947
  deviceToken?: string;
1948
+ inviteToken?: string;
1627
1949
  rememberMe?: boolean;
1628
1950
  token?: string;
1629
1951
  }
@@ -1632,6 +1954,7 @@ export interface SignUpSmsInput {
1632
1954
  code?: string;
1633
1955
  credentialKind?: string;
1634
1956
  deviceToken?: string;
1957
+ inviteToken?: string;
1635
1958
  phone?: string;
1636
1959
  rememberMe?: boolean;
1637
1960
  }
@@ -1644,6 +1967,11 @@ export interface VerifyPasswordInput {
1644
1967
  clientMutationId?: string;
1645
1968
  password: string;
1646
1969
  }
1970
+ export interface VerifyPhoneInput {
1971
+ clientMutationId?: string;
1972
+ code?: string;
1973
+ phone?: string;
1974
+ }
1647
1975
  export interface VerifyTotpInput {
1648
1976
  clientMutationId?: string;
1649
1977
  totpValue: string;
@@ -1802,6 +2130,40 @@ export interface ConstructiveInternalTypeEmailFilter {
1802
2130
  /** Starts with the specified string (case-insensitive). */
1803
2131
  startsWithInsensitive?: ConstructiveInternalTypeEmail;
1804
2132
  }
2133
+ /** A filter to be used against Interval fields. All fields are combined with a logical ‘and.’ */
2134
+ export interface IntervalFilter {
2135
+ /** Not equal to the specified value, treating null like an ordinary value. */
2136
+ distinctFrom?: IntervalInput;
2137
+ /** Equal to the specified value. */
2138
+ equalTo?: IntervalInput;
2139
+ /** Greater than the specified value. */
2140
+ greaterThan?: IntervalInput;
2141
+ /** Greater than or equal to the specified value. */
2142
+ greaterThanOrEqualTo?: IntervalInput;
2143
+ /** Included in the specified list. */
2144
+ in?: IntervalInput[];
2145
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
2146
+ isNull?: boolean;
2147
+ /** Less than the specified value. */
2148
+ lessThan?: IntervalInput;
2149
+ /** Less than or equal to the specified value. */
2150
+ lessThanOrEqualTo?: IntervalInput;
2151
+ /** Equal to the specified value, treating null like an ordinary value. */
2152
+ notDistinctFrom?: IntervalInput;
2153
+ /** Not equal to the specified value. */
2154
+ notEqualTo?: IntervalInput;
2155
+ /** Not included in the specified list. */
2156
+ notIn?: IntervalInput[];
2157
+ }
2158
+ /** A filter to be used against many `Principal` object types. All fields are combined with a logical ‘and.’ */
2159
+ export interface PrincipalToManyPrincipalFilter {
2160
+ /** Filters to entities where every related entity matches. */
2161
+ every?: PrincipalFilter;
2162
+ /** Filters to entities where no related entity matches. */
2163
+ none?: PrincipalFilter;
2164
+ /** Filters to entities where at least one related entity matches. */
2165
+ some?: PrincipalFilter;
2166
+ }
1805
2167
  /** A filter to be used against many `PrincipalEntity` object types. All fields are combined with a logical ‘and.’ */
1806
2168
  export interface PrincipalToManyPrincipalEntityFilter {
1807
2169
  /** Filters to entities where every related entity matches. */
@@ -2028,6 +2390,8 @@ export interface AuditLogAuthInput {
2028
2390
  /** User who performed the authentication action; NULL if user was deleted */
2029
2391
  actorId?: string;
2030
2392
  createdAt?: string;
2393
+ /** Event-specific structured payload (e.g. preset slug and catalog commit id for create_principal_from_preset) */
2394
+ details?: Record<string, unknown>;
2031
2395
  /** Type of authentication event (e.g. sign_in, sign_up, password_change, verify_email) */
2032
2396
  event: string;
2033
2397
  /** Unique identifier for each audit event (uuidv7 provides temporal ordering) */
@@ -2088,18 +2452,6 @@ export interface PhoneNumberInput {
2088
2452
  ownerId?: string;
2089
2453
  updatedAt?: string;
2090
2454
  }
2091
- /** An input for mutations affecting `PrincipalEntity` */
2092
- export interface PrincipalEntityInput {
2093
- createdAt?: string;
2094
- /** The organization this principal is scoped to */
2095
- entityId: string;
2096
- id?: string;
2097
- /** Denormalized owner_id from principals table for RLS */
2098
- ownerId: string;
2099
- /** The principal this scoping row belongs to */
2100
- principalId: string;
2101
- updatedAt?: string;
2102
- }
2103
2455
  /** An input for mutations affecting `RoleType` */
2104
2456
  export interface RoleTypeInput {
2105
2457
  id: number;
@@ -2115,6 +2467,32 @@ export interface UserInput {
2115
2467
  updatedAt?: string;
2116
2468
  username?: string;
2117
2469
  }
2470
+ /** An input for mutations affecting `UserSetting` */
2471
+ export interface UserSettingInput {
2472
+ createdAt?: string;
2473
+ id?: string;
2474
+ ownerId?: string;
2475
+ updatedAt?: string;
2476
+ }
2477
+ /** An input for mutations affecting `UserSettingsSecurity` */
2478
+ export interface UserSettingsSecurityInput {
2479
+ /** Number of remaining unused backup codes */
2480
+ backupCodesCount?: number;
2481
+ createdAt?: string;
2482
+ /** Whether email-based MFA codes are active for this user */
2483
+ emailMfaEnabled?: boolean;
2484
+ id?: string;
2485
+ /** When the first MFA method was enabled */
2486
+ mfaEnrolledAt?: string;
2487
+ /** When MFA was last successfully verified */
2488
+ mfaLastUsedAt?: string;
2489
+ ownerId?: string;
2490
+ /** Whether SMS-based MFA codes are active for this user */
2491
+ smsMfaEnabled?: boolean;
2492
+ /** Whether TOTP (authenticator app) MFA is active for this user */
2493
+ totpEnabled?: boolean;
2494
+ updatedAt?: string;
2495
+ }
2118
2496
  /** An input for mutations affecting `WebauthnCredential` */
2119
2497
  export interface WebauthnCredentialInput {
2120
2498
  /** Whether this credential is eligible for backup (syncing) per the authenticator's flags at registration. */
@@ -2161,6 +2539,63 @@ export interface IntervalInput {
2161
2539
  /** A quantity of years. */
2162
2540
  years?: number;
2163
2541
  }
2542
+ /** A filter to be used against `Principal` object types. All fields are combined with a logical ‘and.’ */
2543
+ export interface PrincipalFilter {
2544
+ /** Checks for all expressions in this list. */
2545
+ and?: PrincipalFilter[];
2546
+ /** Filter by the object’s `apiKeyMaxDuration` field. */
2547
+ apiKeyMaxDuration?: IntervalFilter;
2548
+ /** Filter by the object’s `bypassStepUp` field. */
2549
+ bypassStepUp?: BooleanFilter;
2550
+ /** Filter by the object’s `child_principals` relation. */
2551
+ child_principals?: PrincipalToManyPrincipalFilter;
2552
+ /** `child_principals` exist. */
2553
+ child_principalsExist?: boolean;
2554
+ /** Filter by the object’s `createdAt` field. */
2555
+ createdAt?: DatetimeFilter;
2556
+ /** Filter by the object’s `createdBySessionId` field. */
2557
+ createdBySessionId?: UUIDFilter;
2558
+ /** Filter by the object’s `depth` field. */
2559
+ depth?: IntFilter;
2560
+ /** Filter by the object’s `expiresAt` field. */
2561
+ expiresAt?: DatetimeFilter;
2562
+ /** Filter by the object’s `id` field. */
2563
+ id?: UUIDFilter;
2564
+ /** Filter by the object’s `isReadOnly` field. */
2565
+ isReadOnly?: BooleanFilter;
2566
+ /** Filter by the object’s `name` field. */
2567
+ name?: StringFilter;
2568
+ /** Negates the expression. */
2569
+ not?: PrincipalFilter;
2570
+ /** Checks for any expressions in this list. */
2571
+ or?: PrincipalFilter[];
2572
+ /** Filter by the object’s `owner` relation. */
2573
+ owner?: UserFilter;
2574
+ /** Filter by the object’s `ownerId` field. */
2575
+ ownerId?: UUIDFilter;
2576
+ /** Filter by the object’s `parentPrincipal` relation. */
2577
+ parentPrincipal?: PrincipalFilter;
2578
+ /** A related `parentPrincipal` exists. */
2579
+ parentPrincipalExists?: boolean;
2580
+ /** Filter by the object’s `parentPrincipalId` field. */
2581
+ parentPrincipalId?: UUIDFilter;
2582
+ /** Filter by the object’s `principalEntities` relation. */
2583
+ principalEntities?: PrincipalToManyPrincipalEntityFilter;
2584
+ /** `principalEntities` exist. */
2585
+ principalEntitiesExist?: boolean;
2586
+ /** Filter by the object’s `principalScopeOverrides` relation. */
2587
+ principalScopeOverrides?: PrincipalToManyPrincipalScopeOverrideFilter;
2588
+ /** `principalScopeOverrides` exist. */
2589
+ principalScopeOverridesExist?: boolean;
2590
+ /** Filter by the object’s `updatedAt` field. */
2591
+ updatedAt?: DatetimeFilter;
2592
+ /** Filter by the object’s `useAdminOwner` field. */
2593
+ useAdminOwner?: BooleanFilter;
2594
+ /** Filter by the object’s `user` relation. */
2595
+ user?: UserFilter;
2596
+ /** Filter by the object’s `userId` field. */
2597
+ userId?: UUIDFilter;
2598
+ }
2164
2599
  /** A filter to be used against `PrincipalEntity` object types. All fields are combined with a logical ‘and.’ */
2165
2600
  export interface PrincipalEntityFilter {
2166
2601
  /** Checks for all expressions in this list. */
@@ -2229,6 +2664,8 @@ export interface AuditLogAuthFilter {
2229
2664
  and?: AuditLogAuthFilter[];
2230
2665
  /** Filter by the object’s `createdAt` field. */
2231
2666
  createdAt?: DatetimeFilter;
2667
+ /** Filter by the object’s `details` field. */
2668
+ details?: JSONFilter;
2232
2669
  /** Filter by the object’s `event` field. */
2233
2670
  event?: StringFilter;
2234
2671
  /** Filter by the object’s `id` field. */
@@ -2329,47 +2766,8 @@ export interface PhoneNumberFilter {
2329
2766
  /** Filter by the object’s `updatedAt` field. */
2330
2767
  updatedAt?: DatetimeFilter;
2331
2768
  }
2332
- /** A filter to be used against `Principal` object types. All fields are combined with a logical ‘and.’ */
2333
- export interface PrincipalFilter {
2334
- /** Checks for all expressions in this list. */
2335
- and?: PrincipalFilter[];
2336
- /** Filter by the object’s `bypassStepUp` field. */
2337
- bypassStepUp?: BooleanFilter;
2338
- /** Filter by the object’s `createdAt` field. */
2339
- createdAt?: DatetimeFilter;
2340
- /** Filter by the object’s `id` field. */
2341
- id?: UUIDFilter;
2342
- /** Filter by the object’s `isReadOnly` field. */
2343
- isReadOnly?: BooleanFilter;
2344
- /** Filter by the object’s `name` field. */
2345
- name?: StringFilter;
2346
- /** Negates the expression. */
2347
- not?: PrincipalFilter;
2348
- /** Checks for any expressions in this list. */
2349
- or?: PrincipalFilter[];
2350
- /** Filter by the object’s `owner` relation. */
2351
- owner?: UserFilter;
2352
- /** Filter by the object’s `ownerId` field. */
2353
- ownerId?: UUIDFilter;
2354
- /** Filter by the object’s `principalEntities` relation. */
2355
- principalEntities?: PrincipalToManyPrincipalEntityFilter;
2356
- /** `principalEntities` exist. */
2357
- principalEntitiesExist?: boolean;
2358
- /** Filter by the object’s `principalScopeOverrides` relation. */
2359
- principalScopeOverrides?: PrincipalToManyPrincipalScopeOverrideFilter;
2360
- /** `principalScopeOverrides` exist. */
2361
- principalScopeOverridesExist?: boolean;
2362
- /** Filter by the object’s `updatedAt` field. */
2363
- updatedAt?: DatetimeFilter;
2364
- /** Filter by the object’s `useAdminOwner` field. */
2365
- useAdminOwner?: BooleanFilter;
2366
- /** Filter by the object’s `user` relation. */
2367
- user?: UserFilter;
2368
- /** Filter by the object’s `userId` field. */
2369
- userId?: UUIDFilter;
2370
- }
2371
- /** A filter to be used against `WebauthnCredential` object types. All fields are combined with a logical ‘and.’ */
2372
- export interface WebauthnCredentialFilter {
2769
+ /** A filter to be used against `WebauthnCredential` object types. All fields are combined with a logical ‘and.’ */
2770
+ export interface WebauthnCredentialFilter {
2373
2771
  /** Checks for all expressions in this list. */
2374
2772
  and?: WebauthnCredentialFilter[];
2375
2773
  /** Filter by the object’s `backupEligible` field. */
@@ -2407,100 +2805,33 @@ export interface WebauthnCredentialFilter {
2407
2805
  /** Filter by the object’s `webauthnUserId` field. */
2408
2806
  webauthnUserId?: StringFilter;
2409
2807
  }
2410
- /** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */
2411
- export interface DatetimeFilter {
2808
+ /** A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ */
2809
+ export interface BooleanFilter {
2412
2810
  /** Not equal to the specified value, treating null like an ordinary value. */
2413
- distinctFrom?: string;
2811
+ distinctFrom?: boolean;
2414
2812
  /** Equal to the specified value. */
2415
- equalTo?: string;
2813
+ equalTo?: boolean;
2416
2814
  /** Greater than the specified value. */
2417
- greaterThan?: string;
2815
+ greaterThan?: boolean;
2418
2816
  /** Greater than or equal to the specified value. */
2419
- greaterThanOrEqualTo?: string;
2817
+ greaterThanOrEqualTo?: boolean;
2420
2818
  /** Included in the specified list. */
2421
- in?: string[];
2819
+ in?: boolean[];
2422
2820
  /** Is null (if `true` is specified) or is not null (if `false` is specified). */
2423
2821
  isNull?: boolean;
2424
2822
  /** Less than the specified value. */
2425
- lessThan?: string;
2823
+ lessThan?: boolean;
2426
2824
  /** Less than or equal to the specified value. */
2427
- lessThanOrEqualTo?: string;
2825
+ lessThanOrEqualTo?: boolean;
2428
2826
  /** Equal to the specified value, treating null like an ordinary value. */
2429
- notDistinctFrom?: string;
2827
+ notDistinctFrom?: boolean;
2430
2828
  /** Not equal to the specified value. */
2431
- notEqualTo?: string;
2829
+ notEqualTo?: boolean;
2432
2830
  /** Not included in the specified list. */
2433
- notIn?: string[];
2434
- }
2435
- /** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */
2436
- export interface UserFilter {
2437
- /** Checks for all expressions in this list. */
2438
- and?: UserFilter[];
2439
- /** Filter by the object’s `authAuditLog` relation. */
2440
- authAuditLog?: UserToManyAuditLogAuthFilter;
2441
- /** `authAuditLog` exist. */
2442
- authAuditLogExist?: boolean;
2443
- /** Filter by the object’s `createdAt` field. */
2444
- createdAt?: DatetimeFilter;
2445
- /** Filter by the object’s `cryptoAddresses` relation. */
2446
- cryptoAddresses?: UserToManyCryptoAddressFilter;
2447
- /** `cryptoAddresses` exist. */
2448
- cryptoAddressesExist?: boolean;
2449
- /** Filter by the object’s `displayName` field. */
2450
- displayName?: StringTrgmFilter;
2451
- /** Filter by the object’s `emails` relation. */
2452
- emails?: UserToManyEmailFilter;
2453
- /** `emails` exist. */
2454
- emailsExist?: boolean;
2455
- /** Filter by the object’s `id` field. */
2456
- id?: UUIDFilter;
2457
- /** Negates the expression. */
2458
- not?: UserFilter;
2459
- /** Checks for any expressions in this list. */
2460
- or?: UserFilter[];
2461
- /** Filter by the object’s `phoneNumbers` relation. */
2462
- phoneNumbers?: UserToManyPhoneNumberFilter;
2463
- /** `phoneNumbers` exist. */
2464
- phoneNumbersExist?: boolean;
2465
- /** Filter by the object’s `principals` relation. */
2466
- principals?: UserToManyPrincipalFilter;
2467
- /** `principals` exist. */
2468
- principalsExist?: boolean;
2469
- /** Filter by the object’s `profilePicture` field. */
2470
- profilePicture?: ConstructiveInternalTypeImageFilter;
2471
- /** Filter by the object’s `roleType` relation. */
2472
- roleType?: RoleTypeFilter;
2473
- /** Filter by the object’s `scopedPrincipals` relation. */
2474
- scopedPrincipals?: UserToManyPrincipalEntityFilter;
2475
- /** `scopedPrincipals` exist. */
2476
- scopedPrincipalsExist?: boolean;
2477
- /** Filter by the object’s `searchTsv` field. */
2478
- searchTsv?: FullTextFilter;
2479
- /** TRGM search on the `display_name` column. */
2480
- trgmDisplayName?: TrgmSearchInput;
2481
- /** TSV search on the `search_tsv` column. */
2482
- tsvSearchTsv?: string;
2483
- /** Filter by the object’s `type` field. */
2484
- type?: IntFilter;
2485
- /**
2486
- * Composite unified search. Provide a search string and it will be dispatched to
2487
- * all text-compatible search algorithms (tsvector, BM25, pg_trgm)
2488
- * simultaneously. When the LLM plugin is active, pgvector also participates via
2489
- * auto-embedding. Rows matching ANY algorithm are returned. All matching score
2490
- * fields are populated.
2491
- */
2492
- unifiedSearch?: string;
2493
- /** Filter by the object’s `updatedAt` field. */
2494
- updatedAt?: DatetimeFilter;
2495
- /** Filter by the object’s `username` field. */
2496
- username?: StringTrgmFilter;
2497
- /** Filter by the object’s `webauthnCredentials` relation. */
2498
- webauthnCredentials?: UserToManyWebauthnCredentialFilter;
2499
- /** `webauthnCredentials` exist. */
2500
- webauthnCredentialsExist?: boolean;
2831
+ notIn?: boolean[];
2501
2832
  }
2502
- /** A filter to be used against UUID fields. All fields are combined with a logical ‘and.’ */
2503
- export interface UUIDFilter {
2833
+ /** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */
2834
+ export interface DatetimeFilter {
2504
2835
  /** Not equal to the specified value, treating null like an ordinary value. */
2505
2836
  distinctFrom?: string;
2506
2837
  /** Equal to the specified value. */
@@ -2524,8 +2855,8 @@ export interface UUIDFilter {
2524
2855
  /** Not included in the specified list. */
2525
2856
  notIn?: string[];
2526
2857
  }
2527
- /** A filter to be used against BitString fields. All fields are combined with a logical ‘and.’ */
2528
- export interface BitStringFilter {
2858
+ /** A filter to be used against UUID fields. All fields are combined with a logical ‘and.’ */
2859
+ export interface UUIDFilter {
2529
2860
  /** Not equal to the specified value, treating null like an ordinary value. */
2530
2861
  distinctFrom?: string;
2531
2862
  /** Equal to the specified value. */
@@ -2549,31 +2880,6 @@ export interface BitStringFilter {
2549
2880
  /** Not included in the specified list. */
2550
2881
  notIn?: string[];
2551
2882
  }
2552
- /** A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ */
2553
- export interface BooleanFilter {
2554
- /** Not equal to the specified value, treating null like an ordinary value. */
2555
- distinctFrom?: boolean;
2556
- /** Equal to the specified value. */
2557
- equalTo?: boolean;
2558
- /** Greater than the specified value. */
2559
- greaterThan?: boolean;
2560
- /** Greater than or equal to the specified value. */
2561
- greaterThanOrEqualTo?: boolean;
2562
- /** Included in the specified list. */
2563
- in?: boolean[];
2564
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
2565
- isNull?: boolean;
2566
- /** Less than the specified value. */
2567
- lessThan?: boolean;
2568
- /** Less than or equal to the specified value. */
2569
- lessThanOrEqualTo?: boolean;
2570
- /** Equal to the specified value, treating null like an ordinary value. */
2571
- notDistinctFrom?: boolean;
2572
- /** Not equal to the specified value. */
2573
- notEqualTo?: boolean;
2574
- /** Not included in the specified list. */
2575
- notIn?: boolean[];
2576
- }
2577
2883
  /** A filter to be used against Int fields. All fields are combined with a logical ‘and.’ */
2578
2884
  export interface IntFilter {
2579
2885
  /** Not equal to the specified value, treating null like an ordinary value. */
@@ -2676,6 +2982,141 @@ export interface StringFilter {
2676
2982
  /** Starts with the specified string (case-insensitive). */
2677
2983
  startsWithInsensitive?: string;
2678
2984
  }
2985
+ /** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */
2986
+ export interface UserFilter {
2987
+ /** Checks for all expressions in this list. */
2988
+ and?: UserFilter[];
2989
+ /** Filter by the object’s `authAuditLog` relation. */
2990
+ authAuditLog?: UserToManyAuditLogAuthFilter;
2991
+ /** `authAuditLog` exist. */
2992
+ authAuditLogExist?: boolean;
2993
+ /** Filter by the object’s `createdAt` field. */
2994
+ createdAt?: DatetimeFilter;
2995
+ /** Filter by the object’s `cryptoAddresses` relation. */
2996
+ cryptoAddresses?: UserToManyCryptoAddressFilter;
2997
+ /** `cryptoAddresses` exist. */
2998
+ cryptoAddressesExist?: boolean;
2999
+ /** Filter by the object’s `displayName` field. */
3000
+ displayName?: StringTrgmFilter;
3001
+ /** Filter by the object’s `emails` relation. */
3002
+ emails?: UserToManyEmailFilter;
3003
+ /** `emails` exist. */
3004
+ emailsExist?: boolean;
3005
+ /** Filter by the object’s `id` field. */
3006
+ id?: UUIDFilter;
3007
+ /** Negates the expression. */
3008
+ not?: UserFilter;
3009
+ /** Checks for any expressions in this list. */
3010
+ or?: UserFilter[];
3011
+ /** Filter by the object’s `ownedUserSetting` relation. */
3012
+ ownedUserSetting?: UserSettingFilter;
3013
+ /** A related `ownedUserSetting` exists. */
3014
+ ownedUserSettingExists?: boolean;
3015
+ /** Filter by the object’s `ownedUserSettingsSecurity` relation. */
3016
+ ownedUserSettingsSecurity?: UserSettingsSecurityFilter;
3017
+ /** A related `ownedUserSettingsSecurity` exists. */
3018
+ ownedUserSettingsSecurityExists?: boolean;
3019
+ /** Filter by the object’s `phoneNumbers` relation. */
3020
+ phoneNumbers?: UserToManyPhoneNumberFilter;
3021
+ /** `phoneNumbers` exist. */
3022
+ phoneNumbersExist?: boolean;
3023
+ /** Filter by the object’s `principals` relation. */
3024
+ principals?: UserToManyPrincipalFilter;
3025
+ /** `principals` exist. */
3026
+ principalsExist?: boolean;
3027
+ /** Filter by the object’s `profilePicture` field. */
3028
+ profilePicture?: ConstructiveInternalTypeImageFilter;
3029
+ /** Filter by the object’s `roleType` relation. */
3030
+ roleType?: RoleTypeFilter;
3031
+ /** Filter by the object’s `scopedPrincipals` relation. */
3032
+ scopedPrincipals?: UserToManyPrincipalEntityFilter;
3033
+ /** `scopedPrincipals` exist. */
3034
+ scopedPrincipalsExist?: boolean;
3035
+ /** Filter by the object’s `searchTsv` field. */
3036
+ searchTsv?: FullTextFilter;
3037
+ /** TRGM search on the `display_name` column. */
3038
+ trgmDisplayName?: TrgmSearchInput;
3039
+ /** TSV search on the `search_tsv` column. */
3040
+ tsvSearchTsv?: string;
3041
+ /** Filter by the object’s `type` field. */
3042
+ type?: IntFilter;
3043
+ /**
3044
+ * Composite unified search. Provide a search string and it will be dispatched to
3045
+ * all text-compatible search algorithms (tsvector, BM25, pg_trgm)
3046
+ * simultaneously. When the LLM plugin is active, pgvector also participates via
3047
+ * auto-embedding. Rows matching ANY algorithm are returned. All matching score
3048
+ * fields are populated.
3049
+ */
3050
+ unifiedSearch?: string;
3051
+ /** Filter by the object’s `updatedAt` field. */
3052
+ updatedAt?: DatetimeFilter;
3053
+ /** Filter by the object’s `username` field. */
3054
+ username?: StringTrgmFilter;
3055
+ /** Filter by the object’s `webauthnCredentials` relation. */
3056
+ webauthnCredentials?: UserToManyWebauthnCredentialFilter;
3057
+ /** `webauthnCredentials` exist. */
3058
+ webauthnCredentialsExist?: boolean;
3059
+ }
3060
+ /** A filter to be used against BitString fields. All fields are combined with a logical ‘and.’ */
3061
+ export interface BitStringFilter {
3062
+ /** Not equal to the specified value, treating null like an ordinary value. */
3063
+ distinctFrom?: string;
3064
+ /** Equal to the specified value. */
3065
+ equalTo?: string;
3066
+ /** Greater than the specified value. */
3067
+ greaterThan?: string;
3068
+ /** Greater than or equal to the specified value. */
3069
+ greaterThanOrEqualTo?: string;
3070
+ /** Included in the specified list. */
3071
+ in?: string[];
3072
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
3073
+ isNull?: boolean;
3074
+ /** Less than the specified value. */
3075
+ lessThan?: string;
3076
+ /** Less than or equal to the specified value. */
3077
+ lessThanOrEqualTo?: string;
3078
+ /** Equal to the specified value, treating null like an ordinary value. */
3079
+ notDistinctFrom?: string;
3080
+ /** Not equal to the specified value. */
3081
+ notEqualTo?: string;
3082
+ /** Not included in the specified list. */
3083
+ notIn?: string[];
3084
+ }
3085
+ /** A filter to be used against JSON fields. All fields are combined with a logical ‘and.’ */
3086
+ export interface JSONFilter {
3087
+ /** Contained by the specified JSON. */
3088
+ containedBy?: Record<string, unknown>;
3089
+ /** Contains the specified JSON. */
3090
+ contains?: Record<string, unknown>;
3091
+ /** Contains all of the specified keys. */
3092
+ containsAllKeys?: string[];
3093
+ /** Contains any of the specified keys. */
3094
+ containsAnyKeys?: string[];
3095
+ /** Contains the specified key. */
3096
+ containsKey?: string;
3097
+ /** Not equal to the specified value, treating null like an ordinary value. */
3098
+ distinctFrom?: Record<string, unknown>;
3099
+ /** Equal to the specified value. */
3100
+ equalTo?: Record<string, unknown>;
3101
+ /** Greater than the specified value. */
3102
+ greaterThan?: Record<string, unknown>;
3103
+ /** Greater than or equal to the specified value. */
3104
+ greaterThanOrEqualTo?: Record<string, unknown>;
3105
+ /** Included in the specified list. */
3106
+ in?: Record<string, unknown>[];
3107
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
3108
+ isNull?: boolean;
3109
+ /** Less than the specified value. */
3110
+ lessThan?: Record<string, unknown>;
3111
+ /** Less than or equal to the specified value. */
3112
+ lessThanOrEqualTo?: Record<string, unknown>;
3113
+ /** Equal to the specified value, treating null like an ordinary value. */
3114
+ notDistinctFrom?: Record<string, unknown>;
3115
+ /** Not equal to the specified value. */
3116
+ notEqualTo?: Record<string, unknown>;
3117
+ /** Not included in the specified list. */
3118
+ notIn?: Record<string, unknown>[];
3119
+ }
2679
3120
  /** A filter to be used against InternetAddress fields. All fields are combined with a logical ‘and.’ */
2680
3121
  export interface InternetAddressFilter {
2681
3122
  /** Contained by the specified internet address. */
@@ -2775,6 +3216,56 @@ export interface StringListFilter {
2775
3216
  /** Overlaps the specified list of values. */
2776
3217
  overlaps?: string[];
2777
3218
  }
3219
+ /** A filter to be used against `UserSetting` object types. All fields are combined with a logical ‘and.’ */
3220
+ export interface UserSettingFilter {
3221
+ /** Checks for all expressions in this list. */
3222
+ and?: UserSettingFilter[];
3223
+ /** Filter by the object’s `createdAt` field. */
3224
+ createdAt?: DatetimeFilter;
3225
+ /** Filter by the object’s `id` field. */
3226
+ id?: UUIDFilter;
3227
+ /** Negates the expression. */
3228
+ not?: UserSettingFilter;
3229
+ /** Checks for any expressions in this list. */
3230
+ or?: UserSettingFilter[];
3231
+ /** Filter by the object’s `owner` relation. */
3232
+ owner?: UserFilter;
3233
+ /** Filter by the object’s `ownerId` field. */
3234
+ ownerId?: UUIDFilter;
3235
+ /** Filter by the object’s `updatedAt` field. */
3236
+ updatedAt?: DatetimeFilter;
3237
+ }
3238
+ /** A filter to be used against `UserSettingsSecurity` object types. All fields are combined with a logical ‘and.’ */
3239
+ export interface UserSettingsSecurityFilter {
3240
+ /** Checks for all expressions in this list. */
3241
+ and?: UserSettingsSecurityFilter[];
3242
+ /** Filter by the object’s `backupCodesCount` field. */
3243
+ backupCodesCount?: IntFilter;
3244
+ /** Filter by the object’s `createdAt` field. */
3245
+ createdAt?: DatetimeFilter;
3246
+ /** Filter by the object’s `emailMfaEnabled` field. */
3247
+ emailMfaEnabled?: BooleanFilter;
3248
+ /** Filter by the object’s `id` field. */
3249
+ id?: UUIDFilter;
3250
+ /** Filter by the object’s `mfaEnrolledAt` field. */
3251
+ mfaEnrolledAt?: DatetimeFilter;
3252
+ /** Filter by the object’s `mfaLastUsedAt` field. */
3253
+ mfaLastUsedAt?: DatetimeFilter;
3254
+ /** Negates the expression. */
3255
+ not?: UserSettingsSecurityFilter;
3256
+ /** Checks for any expressions in this list. */
3257
+ or?: UserSettingsSecurityFilter[];
3258
+ /** Filter by the object’s `owner` relation. */
3259
+ owner?: UserFilter;
3260
+ /** Filter by the object’s `ownerId` field. */
3261
+ ownerId?: UUIDFilter;
3262
+ /** Filter by the object’s `smsMfaEnabled` field. */
3263
+ smsMfaEnabled?: BooleanFilter;
3264
+ /** Filter by the object’s `totpEnabled` field. */
3265
+ totpEnabled?: BooleanFilter;
3266
+ /** Filter by the object’s `updatedAt` field. */
3267
+ updatedAt?: DatetimeFilter;
3268
+ }
2778
3269
  /** A filter to be used against `RoleType` object types. All fields are combined with a logical ‘and.’ */
2779
3270
  export interface RoleTypeFilter {
2780
3271
  /** Checks for all expressions in this list. */
@@ -2807,12 +3298,42 @@ export interface FullTextFilter {
2807
3298
  /** Not included in the specified list. */
2808
3299
  notIn?: string[];
2809
3300
  }
3301
+ export interface GetMfaStatusRecord {
3302
+ backupCodesCount?: number | null;
3303
+ emailMfaEnabled?: boolean | null;
3304
+ smsMfaEnabled?: boolean | null;
3305
+ totpEnabled?: boolean | null;
3306
+ }
3307
+ export type GetMfaStatusRecordSelect = {
3308
+ backupCodesCount?: boolean;
3309
+ emailMfaEnabled?: boolean;
3310
+ smsMfaEnabled?: boolean;
3311
+ totpEnabled?: boolean;
3312
+ };
3313
+ export interface ApproveDevicePayload {
3314
+ clientMutationId?: string | null;
3315
+ result?: boolean | null;
3316
+ }
3317
+ export type ApproveDevicePayloadSelect = {
3318
+ clientMutationId?: boolean;
3319
+ result?: boolean;
3320
+ };
2810
3321
  export interface CheckPasswordPayload {
2811
3322
  clientMutationId?: string | null;
2812
3323
  }
2813
3324
  export type CheckPasswordPayloadSelect = {
2814
3325
  clientMutationId?: boolean;
2815
3326
  };
3327
+ export interface CompleteMfaChallengePayload {
3328
+ clientMutationId?: string | null;
3329
+ result?: CompleteMfaChallengeRecord | null;
3330
+ }
3331
+ export type CompleteMfaChallengePayloadSelect = {
3332
+ clientMutationId?: boolean;
3333
+ result?: {
3334
+ select: CompleteMfaChallengeRecordSelect;
3335
+ };
3336
+ };
2816
3337
  export interface ConfirmDeleteAccountPayload {
2817
3338
  clientMutationId?: string | null;
2818
3339
  result?: boolean | null;
@@ -2821,6 +3342,14 @@ export type ConfirmDeleteAccountPayloadSelect = {
2821
3342
  clientMutationId?: boolean;
2822
3343
  result?: boolean;
2823
3344
  };
3345
+ export interface ConfirmTotpSetupPayload {
3346
+ clientMutationId?: string | null;
3347
+ result?: boolean | null;
3348
+ }
3349
+ export type ConfirmTotpSetupPayloadSelect = {
3350
+ clientMutationId?: boolean;
3351
+ result?: boolean;
3352
+ };
2824
3353
  export interface CreateApiKeyPayload {
2825
3354
  clientMutationId?: string | null;
2826
3355
  result?: CreateApiKeyRecord | null;
@@ -2831,6 +3360,14 @@ export type CreateApiKeyPayloadSelect = {
2831
3360
  select: CreateApiKeyRecordSelect;
2832
3361
  };
2833
3362
  };
3363
+ export interface CreateChildPrincipalPayload {
3364
+ clientMutationId?: string | null;
3365
+ result?: string | null;
3366
+ }
3367
+ export type CreateChildPrincipalPayloadSelect = {
3368
+ clientMutationId?: boolean;
3369
+ result?: boolean;
3370
+ };
2834
3371
  export interface CreateOrgApiKeyPayload {
2835
3372
  clientMutationId?: string | null;
2836
3373
  result?: CreateOrgApiKeyRecord | null;
@@ -2849,6 +3386,14 @@ export type CreateOrgPrincipalPayloadSelect = {
2849
3386
  clientMutationId?: boolean;
2850
3387
  result?: boolean;
2851
3388
  };
3389
+ export interface CreatePrincipalFromPresetPayload {
3390
+ clientMutationId?: string | null;
3391
+ result?: string | null;
3392
+ }
3393
+ export type CreatePrincipalFromPresetPayloadSelect = {
3394
+ clientMutationId?: boolean;
3395
+ result?: boolean;
3396
+ };
2852
3397
  export interface DeleteOrgPrincipalPayload {
2853
3398
  clientMutationId?: string | null;
2854
3399
  result?: boolean | null;
@@ -2865,6 +3410,30 @@ export type DeletePrincipalPayloadSelect = {
2865
3410
  clientMutationId?: boolean;
2866
3411
  result?: boolean;
2867
3412
  };
3413
+ export interface DisableEmailMfaPayload {
3414
+ clientMutationId?: string | null;
3415
+ result?: boolean | null;
3416
+ }
3417
+ export type DisableEmailMfaPayloadSelect = {
3418
+ clientMutationId?: boolean;
3419
+ result?: boolean;
3420
+ };
3421
+ export interface DisableSmsMfaPayload {
3422
+ clientMutationId?: string | null;
3423
+ result?: boolean | null;
3424
+ }
3425
+ export type DisableSmsMfaPayloadSelect = {
3426
+ clientMutationId?: boolean;
3427
+ result?: boolean;
3428
+ };
3429
+ export interface DisableTotpPayload {
3430
+ clientMutationId?: string | null;
3431
+ result?: boolean | null;
3432
+ }
3433
+ export type DisableTotpPayloadSelect = {
3434
+ clientMutationId?: boolean;
3435
+ result?: boolean;
3436
+ };
2868
3437
  export interface DisconnectAccountPayload {
2869
3438
  clientMutationId?: string | null;
2870
3439
  result?: boolean | null;
@@ -2873,6 +3442,30 @@ export type DisconnectAccountPayloadSelect = {
2873
3442
  clientMutationId?: boolean;
2874
3443
  result?: boolean;
2875
3444
  };
3445
+ export interface EnableEmailMfaPayload {
3446
+ clientMutationId?: string | null;
3447
+ result?: boolean | null;
3448
+ }
3449
+ export type EnableEmailMfaPayloadSelect = {
3450
+ clientMutationId?: boolean;
3451
+ result?: boolean;
3452
+ };
3453
+ export interface EnableSmsMfaPayload {
3454
+ clientMutationId?: string | null;
3455
+ result?: boolean | null;
3456
+ }
3457
+ export type EnableSmsMfaPayloadSelect = {
3458
+ clientMutationId?: boolean;
3459
+ result?: boolean;
3460
+ };
3461
+ export interface EnableTotpPayload {
3462
+ clientMutationId?: string | null;
3463
+ result?: string | null;
3464
+ }
3465
+ export type EnableTotpPayloadSelect = {
3466
+ clientMutationId?: boolean;
3467
+ result?: boolean;
3468
+ };
2876
3469
  export interface ExtendTokenExpiresPayload {
2877
3470
  clientMutationId?: string | null;
2878
3471
  result?: ExtendTokenExpiresRecord[] | null;
@@ -2889,6 +3482,14 @@ export interface ForgotPasswordPayload {
2889
3482
  export type ForgotPasswordPayloadSelect = {
2890
3483
  clientMutationId?: boolean;
2891
3484
  };
3485
+ export interface GenerateBackupCodesPayload {
3486
+ clientMutationId?: string | null;
3487
+ result?: string | null;
3488
+ }
3489
+ export type GenerateBackupCodesPayloadSelect = {
3490
+ clientMutationId?: boolean;
3491
+ result?: boolean;
3492
+ };
2892
3493
  export interface LinkIdentityPayload {
2893
3494
  clientMutationId?: string | null;
2894
3495
  result?: boolean | null;
@@ -2897,27 +3498,30 @@ export type LinkIdentityPayloadSelect = {
2897
3498
  clientMutationId?: boolean;
2898
3499
  result?: boolean;
2899
3500
  };
3501
+ export interface MintAccessTokenPayload {
3502
+ clientMutationId?: string | null;
3503
+ result?: MintAccessTokenRecord | null;
3504
+ }
3505
+ export type MintAccessTokenPayloadSelect = {
3506
+ clientMutationId?: boolean;
3507
+ result?: {
3508
+ select: MintAccessTokenRecordSelect;
3509
+ };
3510
+ };
2900
3511
  export interface ProvisionBucketPayload {
2901
- /** The access type applied */
2902
- accessType: string;
2903
- /** The S3 bucket name that was provisioned */
2904
- bucketName: string;
2905
- /** The S3 endpoint (null for AWS S3 default) */
2906
- endpoint?: string | null;
2907
- /** Error message if provisioning failed */
2908
- error?: string | null;
2909
- /** The storage provider used */
2910
- provider: string;
2911
- /** Whether provisioning succeeded */
2912
- success: boolean;
3512
+ /** The logical bucket row that was queued for reconciliation. */
3513
+ bucketId: string;
3514
+ bucketKey: string;
3515
+ /** The reconciler job enqueued to provision this bucket. */
3516
+ jobId: string;
3517
+ /** The physical bucket name already recorded, or null when reconciliation has not completed. */
3518
+ physicalName?: string | null;
2913
3519
  }
2914
3520
  export type ProvisionBucketPayloadSelect = {
2915
- accessType?: boolean;
2916
- bucketName?: boolean;
2917
- endpoint?: boolean;
2918
- error?: boolean;
2919
- provider?: boolean;
2920
- success?: boolean;
3521
+ bucketId?: boolean;
3522
+ bucketKey?: boolean;
3523
+ jobId?: boolean;
3524
+ physicalName?: boolean;
2921
3525
  };
2922
3526
  export interface ProvisionNewUserPayload {
2923
3527
  clientMutationId?: string | null;
@@ -2927,6 +3531,16 @@ export type ProvisionNewUserPayloadSelect = {
2927
3531
  clientMutationId?: boolean;
2928
3532
  result?: boolean;
2929
3533
  };
3534
+ export interface RefreshAccessTokenPayload {
3535
+ clientMutationId?: string | null;
3536
+ result?: RefreshAccessTokenRecord | null;
3537
+ }
3538
+ export type RefreshAccessTokenPayloadSelect = {
3539
+ clientMutationId?: boolean;
3540
+ result?: {
3541
+ select: RefreshAccessTokenRecordSelect;
3542
+ };
3543
+ };
2930
3544
  export interface RequestCrossOriginTokenPayload {
2931
3545
  clientMutationId?: string | null;
2932
3546
  result?: string | null;
@@ -2975,6 +3589,14 @@ export type SendAccountDeletionEmailPayloadSelect = {
2975
3589
  clientMutationId?: boolean;
2976
3590
  result?: boolean;
2977
3591
  };
3592
+ export interface SendPhoneVerificationCodePayload {
3593
+ clientMutationId?: string | null;
3594
+ result?: boolean | null;
3595
+ }
3596
+ export type SendPhoneVerificationCodePayloadSelect = {
3597
+ clientMutationId?: boolean;
3598
+ result?: boolean;
3599
+ };
2978
3600
  export interface SendVerificationEmailPayload {
2979
3601
  clientMutationId?: string | null;
2980
3602
  result?: boolean | null;
@@ -2991,6 +3613,22 @@ export type SetPasswordPayloadSelect = {
2991
3613
  clientMutationId?: boolean;
2992
3614
  result?: boolean;
2993
3615
  };
3616
+ export interface SetPrincipalEntitiesPayload {
3617
+ clientMutationId?: string | null;
3618
+ result?: boolean | null;
3619
+ }
3620
+ export type SetPrincipalEntitiesPayloadSelect = {
3621
+ clientMutationId?: boolean;
3622
+ result?: boolean;
3623
+ };
3624
+ export interface SetPrincipalScopePayload {
3625
+ clientMutationId?: string | null;
3626
+ result?: boolean | null;
3627
+ }
3628
+ export type SetPrincipalScopePayloadSelect = {
3629
+ clientMutationId?: boolean;
3630
+ result?: boolean;
3631
+ };
2994
3632
  export interface SignInPayload {
2995
3633
  clientMutationId?: string | null;
2996
3634
  result?: SignInRecord | null;
@@ -3067,6 +3705,14 @@ export type SignUpSmsPayloadSelect = {
3067
3705
  select: SignUpSmsRecordSelect;
3068
3706
  };
3069
3707
  };
3708
+ export interface UpdatePrincipalPayload {
3709
+ clientMutationId?: string | null;
3710
+ result?: boolean | null;
3711
+ }
3712
+ export type UpdatePrincipalPayloadSelect = {
3713
+ clientMutationId?: boolean;
3714
+ result?: boolean;
3715
+ };
3070
3716
  export interface VerifyEmailPayload {
3071
3717
  clientMutationId?: string | null;
3072
3718
  result?: boolean | null;
@@ -3083,6 +3729,14 @@ export type VerifyPasswordPayloadSelect = {
3083
3729
  clientMutationId?: boolean;
3084
3730
  result?: boolean;
3085
3731
  };
3732
+ export interface VerifyPhonePayload {
3733
+ clientMutationId?: string | null;
3734
+ result?: boolean | null;
3735
+ }
3736
+ export type VerifyPhonePayloadSelect = {
3737
+ clientMutationId?: boolean;
3738
+ result?: boolean;
3739
+ };
3086
3740
  export interface VerifyTotpPayload {
3087
3741
  clientMutationId?: string | null;
3088
3742
  result?: boolean | null;
@@ -3279,51 +3933,6 @@ export type CreatePrincipalPayloadSelect = {
3279
3933
  clientMutationId?: boolean;
3280
3934
  result?: boolean;
3281
3935
  };
3282
- export interface CreatePrincipalEntityPayload {
3283
- clientMutationId?: string | null;
3284
- /** The `PrincipalEntity` that was created by this mutation. */
3285
- principalEntity?: PrincipalEntity | null;
3286
- principalEntityEdge?: PrincipalEntityEdge | null;
3287
- }
3288
- export type CreatePrincipalEntityPayloadSelect = {
3289
- clientMutationId?: boolean;
3290
- principalEntity?: {
3291
- select: PrincipalEntitySelect;
3292
- };
3293
- principalEntityEdge?: {
3294
- select: PrincipalEntityEdgeSelect;
3295
- };
3296
- };
3297
- export interface UpdatePrincipalEntityPayload {
3298
- clientMutationId?: string | null;
3299
- /** The `PrincipalEntity` that was updated by this mutation. */
3300
- principalEntity?: PrincipalEntity | null;
3301
- principalEntityEdge?: PrincipalEntityEdge | null;
3302
- }
3303
- export type UpdatePrincipalEntityPayloadSelect = {
3304
- clientMutationId?: boolean;
3305
- principalEntity?: {
3306
- select: PrincipalEntitySelect;
3307
- };
3308
- principalEntityEdge?: {
3309
- select: PrincipalEntityEdgeSelect;
3310
- };
3311
- };
3312
- export interface DeletePrincipalEntityPayload {
3313
- clientMutationId?: string | null;
3314
- /** The `PrincipalEntity` that was deleted by this mutation. */
3315
- principalEntity?: PrincipalEntity | null;
3316
- principalEntityEdge?: PrincipalEntityEdge | null;
3317
- }
3318
- export type DeletePrincipalEntityPayloadSelect = {
3319
- clientMutationId?: boolean;
3320
- principalEntity?: {
3321
- select: PrincipalEntitySelect;
3322
- };
3323
- principalEntityEdge?: {
3324
- select: PrincipalEntityEdgeSelect;
3325
- };
3326
- };
3327
3936
  export interface CreateRoleTypePayload {
3328
3937
  clientMutationId?: string | null;
3329
3938
  /** The `RoleType` that was created by this mutation. */
@@ -3414,6 +4023,96 @@ export type DeleteUserPayloadSelect = {
3414
4023
  select: UserEdgeSelect;
3415
4024
  };
3416
4025
  };
4026
+ export interface CreateUserSettingPayload {
4027
+ clientMutationId?: string | null;
4028
+ /** The `UserSetting` that was created by this mutation. */
4029
+ userSetting?: UserSetting | null;
4030
+ userSettingEdge?: UserSettingEdge | null;
4031
+ }
4032
+ export type CreateUserSettingPayloadSelect = {
4033
+ clientMutationId?: boolean;
4034
+ userSetting?: {
4035
+ select: UserSettingSelect;
4036
+ };
4037
+ userSettingEdge?: {
4038
+ select: UserSettingEdgeSelect;
4039
+ };
4040
+ };
4041
+ export interface UpdateUserSettingPayload {
4042
+ clientMutationId?: string | null;
4043
+ /** The `UserSetting` that was updated by this mutation. */
4044
+ userSetting?: UserSetting | null;
4045
+ userSettingEdge?: UserSettingEdge | null;
4046
+ }
4047
+ export type UpdateUserSettingPayloadSelect = {
4048
+ clientMutationId?: boolean;
4049
+ userSetting?: {
4050
+ select: UserSettingSelect;
4051
+ };
4052
+ userSettingEdge?: {
4053
+ select: UserSettingEdgeSelect;
4054
+ };
4055
+ };
4056
+ export interface DeleteUserSettingPayload {
4057
+ clientMutationId?: string | null;
4058
+ /** The `UserSetting` that was deleted by this mutation. */
4059
+ userSetting?: UserSetting | null;
4060
+ userSettingEdge?: UserSettingEdge | null;
4061
+ }
4062
+ export type DeleteUserSettingPayloadSelect = {
4063
+ clientMutationId?: boolean;
4064
+ userSetting?: {
4065
+ select: UserSettingSelect;
4066
+ };
4067
+ userSettingEdge?: {
4068
+ select: UserSettingEdgeSelect;
4069
+ };
4070
+ };
4071
+ export interface CreateUserSettingsSecurityPayload {
4072
+ clientMutationId?: string | null;
4073
+ /** The `UserSettingsSecurity` that was created by this mutation. */
4074
+ userSettingsSecurity?: UserSettingsSecurity | null;
4075
+ userSettingsSecurityEdge?: UserSettingsSecurityEdge | null;
4076
+ }
4077
+ export type CreateUserSettingsSecurityPayloadSelect = {
4078
+ clientMutationId?: boolean;
4079
+ userSettingsSecurity?: {
4080
+ select: UserSettingsSecuritySelect;
4081
+ };
4082
+ userSettingsSecurityEdge?: {
4083
+ select: UserSettingsSecurityEdgeSelect;
4084
+ };
4085
+ };
4086
+ export interface UpdateUserSettingsSecurityPayload {
4087
+ clientMutationId?: string | null;
4088
+ /** The `UserSettingsSecurity` that was updated by this mutation. */
4089
+ userSettingsSecurity?: UserSettingsSecurity | null;
4090
+ userSettingsSecurityEdge?: UserSettingsSecurityEdge | null;
4091
+ }
4092
+ export type UpdateUserSettingsSecurityPayloadSelect = {
4093
+ clientMutationId?: boolean;
4094
+ userSettingsSecurity?: {
4095
+ select: UserSettingsSecuritySelect;
4096
+ };
4097
+ userSettingsSecurityEdge?: {
4098
+ select: UserSettingsSecurityEdgeSelect;
4099
+ };
4100
+ };
4101
+ export interface DeleteUserSettingsSecurityPayload {
4102
+ clientMutationId?: string | null;
4103
+ /** The `UserSettingsSecurity` that was deleted by this mutation. */
4104
+ userSettingsSecurity?: UserSettingsSecurity | null;
4105
+ userSettingsSecurityEdge?: UserSettingsSecurityEdge | null;
4106
+ }
4107
+ export type DeleteUserSettingsSecurityPayloadSelect = {
4108
+ clientMutationId?: boolean;
4109
+ userSettingsSecurity?: {
4110
+ select: UserSettingsSecuritySelect;
4111
+ };
4112
+ userSettingsSecurityEdge?: {
4113
+ select: UserSettingsSecurityEdgeSelect;
4114
+ };
4115
+ };
3417
4116
  export interface CreateWebauthnCredentialPayload {
3418
4117
  clientMutationId?: string | null;
3419
4118
  /** The `WebauthnCredential` that was created by this mutation. */
@@ -3459,6 +4158,24 @@ export type DeleteWebauthnCredentialPayloadSelect = {
3459
4158
  select: WebauthnCredentialEdgeSelect;
3460
4159
  };
3461
4160
  };
4161
+ export interface CompleteMfaChallengeRecord {
4162
+ accessToken?: string | null;
4163
+ accessTokenExpiresAt?: string | null;
4164
+ deviceApprovalRequired?: boolean | null;
4165
+ id?: string | null;
4166
+ isVerified?: boolean | null;
4167
+ outDeviceToken?: string | null;
4168
+ outUserId?: string | null;
4169
+ }
4170
+ export type CompleteMfaChallengeRecordSelect = {
4171
+ accessToken?: boolean;
4172
+ accessTokenExpiresAt?: boolean;
4173
+ deviceApprovalRequired?: boolean;
4174
+ id?: boolean;
4175
+ isVerified?: boolean;
4176
+ outDeviceToken?: boolean;
4177
+ outUserId?: boolean;
4178
+ };
3462
4179
  export interface CreateApiKeyRecord {
3463
4180
  apiKey?: string | null;
3464
4181
  expiresAt?: string | null;
@@ -3489,23 +4206,59 @@ export type ExtendTokenExpiresRecordSelect = {
3489
4206
  id?: boolean;
3490
4207
  sessionId?: boolean;
3491
4208
  };
4209
+ export interface MintAccessTokenRecord {
4210
+ accessExpiresAt?: string | null;
4211
+ accessToken?: string | null;
4212
+ principalUserId?: string | null;
4213
+ refreshExpiresAt?: string | null;
4214
+ refreshToken?: string | null;
4215
+ sessionId?: string | null;
4216
+ }
4217
+ export type MintAccessTokenRecordSelect = {
4218
+ accessExpiresAt?: boolean;
4219
+ accessToken?: boolean;
4220
+ principalUserId?: boolean;
4221
+ refreshExpiresAt?: boolean;
4222
+ refreshToken?: boolean;
4223
+ sessionId?: boolean;
4224
+ };
4225
+ export interface RefreshAccessTokenRecord {
4226
+ accessExpiresAt?: string | null;
4227
+ accessToken?: string | null;
4228
+ principalUserId?: string | null;
4229
+ refreshExpiresAt?: string | null;
4230
+ refreshToken?: string | null;
4231
+ sessionId?: string | null;
4232
+ }
4233
+ export type RefreshAccessTokenRecordSelect = {
4234
+ accessExpiresAt?: boolean;
4235
+ accessToken?: boolean;
4236
+ principalUserId?: boolean;
4237
+ refreshExpiresAt?: boolean;
4238
+ refreshToken?: boolean;
4239
+ sessionId?: boolean;
4240
+ };
3492
4241
  export interface SignInRecord {
3493
4242
  accessToken?: string | null;
3494
4243
  accessTokenExpiresAt?: string | null;
4244
+ deviceApprovalRequired?: boolean | null;
3495
4245
  id?: string | null;
3496
4246
  isVerified?: boolean | null;
3497
4247
  mfaChallengeToken?: string | null;
3498
4248
  mfaRequired?: boolean | null;
4249
+ outDeviceToken?: string | null;
3499
4250
  totpEnabled?: boolean | null;
3500
4251
  userId?: string | null;
3501
4252
  }
3502
4253
  export type SignInRecordSelect = {
3503
4254
  accessToken?: boolean;
3504
4255
  accessTokenExpiresAt?: boolean;
4256
+ deviceApprovalRequired?: boolean;
3505
4257
  id?: boolean;
3506
4258
  isVerified?: boolean;
3507
4259
  mfaChallengeToken?: boolean;
3508
4260
  mfaRequired?: boolean;
4261
+ outDeviceToken?: boolean;
3509
4262
  totpEnabled?: boolean;
3510
4263
  userId?: boolean;
3511
4264
  };
@@ -3528,21 +4281,29 @@ export type SignInCrossOriginRecordSelect = {
3528
4281
  export interface SignInMagicLinkRecord {
3529
4282
  accessToken?: string | null;
3530
4283
  accessTokenExpiresAt?: string | null;
4284
+ deviceApprovalRequired?: boolean | null;
4285
+ outDeviceToken?: string | null;
3531
4286
  userId?: string | null;
3532
4287
  }
3533
4288
  export type SignInMagicLinkRecordSelect = {
3534
4289
  accessToken?: boolean;
3535
4290
  accessTokenExpiresAt?: boolean;
4291
+ deviceApprovalRequired?: boolean;
4292
+ outDeviceToken?: boolean;
3536
4293
  userId?: boolean;
3537
4294
  };
3538
4295
  export interface SignInSmsOtpRecord {
3539
4296
  accessToken?: string | null;
3540
4297
  accessTokenExpiresAt?: string | null;
4298
+ deviceApprovalRequired?: boolean | null;
4299
+ outDeviceToken?: string | null;
3541
4300
  userId?: string | null;
3542
4301
  }
3543
4302
  export type SignInSmsOtpRecordSelect = {
3544
4303
  accessToken?: boolean;
3545
4304
  accessTokenExpiresAt?: boolean;
4305
+ deviceApprovalRequired?: boolean;
4306
+ outDeviceToken?: boolean;
3546
4307
  userId?: boolean;
3547
4308
  };
3548
4309
  export interface SignUpRecord {
@@ -3550,6 +4311,7 @@ export interface SignUpRecord {
3550
4311
  accessTokenExpiresAt?: string | null;
3551
4312
  id?: string | null;
3552
4313
  isVerified?: boolean | null;
4314
+ outDeviceToken?: string | null;
3553
4315
  totpEnabled?: boolean | null;
3554
4316
  userId?: string | null;
3555
4317
  }
@@ -3558,27 +4320,32 @@ export type SignUpRecordSelect = {
3558
4320
  accessTokenExpiresAt?: boolean;
3559
4321
  id?: boolean;
3560
4322
  isVerified?: boolean;
4323
+ outDeviceToken?: boolean;
3561
4324
  totpEnabled?: boolean;
3562
4325
  userId?: boolean;
3563
4326
  };
3564
4327
  export interface SignUpMagicLinkRecord {
3565
4328
  accessToken?: string | null;
3566
4329
  accessTokenExpiresAt?: string | null;
4330
+ outDeviceToken?: string | null;
3567
4331
  userId?: string | null;
3568
4332
  }
3569
4333
  export type SignUpMagicLinkRecordSelect = {
3570
4334
  accessToken?: boolean;
3571
4335
  accessTokenExpiresAt?: boolean;
4336
+ outDeviceToken?: boolean;
3572
4337
  userId?: boolean;
3573
4338
  };
3574
4339
  export interface SignUpSmsRecord {
3575
4340
  accessToken?: string | null;
3576
4341
  accessTokenExpiresAt?: string | null;
4342
+ outDeviceToken?: string | null;
3577
4343
  userId?: string | null;
3578
4344
  }
3579
4345
  export type SignUpSmsRecordSelect = {
3580
4346
  accessToken?: boolean;
3581
4347
  accessTokenExpiresAt?: boolean;
4348
+ outDeviceToken?: boolean;
3582
4349
  userId?: boolean;
3583
4350
  };
3584
4351
  /** A `AuditLogAuth` edge in the connection. */
@@ -3629,18 +4396,6 @@ export type PhoneNumberEdgeSelect = {
3629
4396
  select: PhoneNumberSelect;
3630
4397
  };
3631
4398
  };
3632
- /** A `PrincipalEntity` edge in the connection. */
3633
- export interface PrincipalEntityEdge {
3634
- cursor?: string | null;
3635
- /** The `PrincipalEntity` at the end of the edge. */
3636
- node?: PrincipalEntity | null;
3637
- }
3638
- export type PrincipalEntityEdgeSelect = {
3639
- cursor?: boolean;
3640
- node?: {
3641
- select: PrincipalEntitySelect;
3642
- };
3643
- };
3644
4399
  /** A `RoleType` edge in the connection. */
3645
4400
  export interface RoleTypeEdge {
3646
4401
  cursor?: string | null;
@@ -3665,6 +4420,30 @@ export type UserEdgeSelect = {
3665
4420
  select: UserSelect;
3666
4421
  };
3667
4422
  };
4423
+ /** A `UserSetting` edge in the connection. */
4424
+ export interface UserSettingEdge {
4425
+ cursor?: string | null;
4426
+ /** The `UserSetting` at the end of the edge. */
4427
+ node?: UserSetting | null;
4428
+ }
4429
+ export type UserSettingEdgeSelect = {
4430
+ cursor?: boolean;
4431
+ node?: {
4432
+ select: UserSettingSelect;
4433
+ };
4434
+ };
4435
+ /** A `UserSettingsSecurity` edge in the connection. */
4436
+ export interface UserSettingsSecurityEdge {
4437
+ cursor?: string | null;
4438
+ /** The `UserSettingsSecurity` at the end of the edge. */
4439
+ node?: UserSettingsSecurity | null;
4440
+ }
4441
+ export type UserSettingsSecurityEdgeSelect = {
4442
+ cursor?: boolean;
4443
+ node?: {
4444
+ select: UserSettingsSecuritySelect;
4445
+ };
4446
+ };
3668
4447
  /** A `WebauthnCredential` edge in the connection. */
3669
4448
  export interface WebauthnCredentialEdge {
3670
4449
  cursor?: string | null;