@constructive-io/react 1.21.34 → 1.21.36

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 (736) hide show
  1. package/admin/hooks/mutations/index.d.ts +0 -4
  2. package/admin/hooks/mutations/index.js +0 -4
  3. package/admin/orm/input-types.d.ts +32 -32
  4. package/admin/orm/models/myPendingAppInvitesRecord.d.ts +2 -9
  5. package/admin/orm/models/myPendingAppInvitesRecord.js +0 -11
  6. package/admin/orm/models/myPendingOrgInvitesRecord.d.ts +2 -9
  7. package/admin/orm/models/myPendingOrgInvitesRecord.js +0 -11
  8. package/admin/orm/models/orgGetManagersRecord.d.ts +2 -9
  9. package/admin/orm/models/orgGetManagersRecord.js +0 -11
  10. package/admin/orm/models/orgGetSubordinatesRecord.d.ts +2 -9
  11. package/admin/orm/models/orgGetSubordinatesRecord.js +0 -11
  12. package/admin/orm/query-builder.js +1 -3
  13. package/admin/orm/select-types.d.ts +1 -1
  14. package/admin/schema-types.d.ts +54 -19
  15. package/admin/types.d.ts +3 -0
  16. package/agent/orm/input-types.d.ts +36 -8
  17. package/agent/orm/query-builder.js +1 -3
  18. package/agent/orm/select-types.d.ts +1 -1
  19. package/agent/schema-types.d.ts +76 -29
  20. package/agent/types.d.ts +4 -0
  21. package/api/hooks/index.d.ts +1 -1
  22. package/api/hooks/index.js +1 -1
  23. package/api/hooks/invalidation.d.ts +6 -0
  24. package/api/hooks/invalidation.js +16 -0
  25. package/api/hooks/mutation-keys.d.ts +12 -0
  26. package/api/hooks/mutation-keys.js +12 -2
  27. package/api/hooks/mutations/index.d.ts +3 -5
  28. package/api/hooks/mutations/index.js +3 -5
  29. package/api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.d.ts +34 -0
  30. package/{admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.js → api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.js} +6 -6
  31. package/api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.d.ts +38 -0
  32. package/api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.js +39 -0
  33. package/api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.d.ts +40 -0
  34. package/api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.js +40 -0
  35. package/api/hooks/queries/index.d.ts +2 -4
  36. package/api/hooks/queries/index.js +2 -4
  37. package/api/hooks/queries/usePlatformReservedSubdomainQuery.d.ts +65 -0
  38. package/api/hooks/queries/usePlatformReservedSubdomainQuery.js +53 -0
  39. package/api/hooks/queries/usePlatformReservedSubdomainsQuery.d.ts +69 -0
  40. package/api/hooks/queries/usePlatformReservedSubdomainsQuery.js +38 -0
  41. package/api/hooks/query-keys.d.ts +14 -8
  42. package/api/hooks/query-keys.js +10 -6
  43. package/api/orm/index.d.ts +2 -20
  44. package/api/orm/index.js +2 -0
  45. package/api/orm/input-types.d.ts +281 -159
  46. package/api/orm/models/astMigration.d.ts +2 -9
  47. package/api/orm/models/astMigration.js +0 -11
  48. package/api/orm/models/getSitePreviewsRecord.d.ts +2 -9
  49. package/api/orm/models/getSitePreviewsRecord.js +0 -11
  50. package/api/orm/models/index.d.ts +1 -0
  51. package/api/orm/models/index.js +4 -2
  52. package/api/orm/models/listSuspendedDatabasesRecord.d.ts +2 -9
  53. package/api/orm/models/listSuspendedDatabasesRecord.js +0 -11
  54. package/api/orm/models/platformGetSitePreviewsRecord.d.ts +2 -9
  55. package/api/orm/models/platformGetSitePreviewsRecord.js +0 -11
  56. package/api/orm/models/platformReservedSubdomain.d.ts +54 -0
  57. package/api/orm/models/platformReservedSubdomain.js +104 -0
  58. package/api/orm/models/sqlAction.d.ts +2 -9
  59. package/api/orm/models/sqlAction.js +0 -11
  60. package/api/orm/query/index.d.ts +0 -37
  61. package/api/orm/query/index.js +0 -60
  62. package/api/orm/query-builder.js +1 -3
  63. package/api/orm/select-types.d.ts +1 -1
  64. package/api/schema-types.d.ts +161 -88
  65. package/api/types.d.ts +29 -5
  66. package/auth/hooks/mutation-keys.d.ts +12 -0
  67. package/auth/hooks/mutation-keys.js +18 -0
  68. package/auth/hooks/mutations/index.d.ts +6 -6
  69. package/auth/hooks/mutations/index.js +6 -6
  70. package/auth/hooks/mutations/useCancelSignUpHandoffMutation.d.ts +20 -0
  71. package/{api/hooks/mutations/useCreateSqlActionMutation.js → auth/hooks/mutations/useCancelSignUpHandoffMutation.js} +6 -14
  72. package/auth/hooks/mutations/useCreatePrincipalMutation.d.ts +12 -26
  73. package/auth/hooks/mutations/useCreatePrincipalMutation.js +4 -12
  74. package/auth/hooks/mutations/useEnsureAuthCsrfMutation.d.ts +20 -0
  75. package/{api/hooks/mutations/useCreateAstMigrationMutation.js → auth/hooks/mutations/useEnsureAuthCsrfMutation.js} +6 -14
  76. package/auth/hooks/mutations/useExchangeNativeHandoffMutation.d.ts +20 -0
  77. package/{storage/hooks/mutations/useCreateFileMutation.js → auth/hooks/mutations/useExchangeNativeHandoffMutation.js} +6 -14
  78. package/auth/hooks/mutations/useRequestDeviceApprovalMutation.d.ts +20 -0
  79. package/auth/hooks/mutations/useRequestDeviceApprovalMutation.js +26 -0
  80. package/auth/hooks/mutations/useVerifyEmailHandoffMutation.d.ts +20 -0
  81. package/{config/hooks/mutations/useCreateSecretMutation.js → auth/hooks/mutations/useVerifyEmailHandoffMutation.js} +6 -14
  82. package/auth/hooks/queries/index.d.ts +1 -0
  83. package/auth/hooks/queries/index.js +1 -0
  84. package/auth/hooks/queries/useSignInOptionsQuery.d.ts +60 -0
  85. package/{api/hooks/queries/useResolveRouteQuery.js → auth/hooks/queries/useSignInOptionsQuery.js} +15 -19
  86. package/auth/hooks/query-keys.d.ts +2 -0
  87. package/auth/hooks/query-keys.js +1 -0
  88. package/auth/orm/index.d.ts +35 -0
  89. package/auth/orm/input-types.d.ts +202 -78
  90. package/auth/orm/models/identityProvider.d.ts +2 -9
  91. package/auth/orm/models/identityProvider.js +0 -11
  92. package/auth/orm/models/orgApiKeyList.d.ts +2 -9
  93. package/auth/orm/models/orgApiKeyList.js +0 -11
  94. package/auth/orm/models/principal.d.ts +2 -9
  95. package/auth/orm/models/principal.js +0 -11
  96. package/auth/orm/models/principalEntity.d.ts +2 -9
  97. package/auth/orm/models/principalEntity.js +0 -11
  98. package/auth/orm/models/principalScopeOverride.d.ts +2 -9
  99. package/auth/orm/models/principalScopeOverride.js +0 -11
  100. package/auth/orm/models/userConnectedAccount.d.ts +2 -9
  101. package/auth/orm/models/userConnectedAccount.js +0 -11
  102. package/auth/orm/mutation/index.d.ts +53 -1
  103. package/auth/orm/mutation/index.js +72 -0
  104. package/auth/orm/query/index.d.ts +6 -1
  105. package/auth/orm/query/index.js +7 -0
  106. package/auth/orm/query-builder.js +1 -3
  107. package/auth/orm/select-types.d.ts +1 -1
  108. package/auth/schema-types.d.ts +146 -20
  109. package/auth/types.d.ts +3 -0
  110. package/compute/hooks/index.d.ts +1 -1
  111. package/compute/hooks/index.js +1 -1
  112. package/compute/hooks/invalidation.d.ts +12 -12
  113. package/compute/hooks/invalidation.js +32 -32
  114. package/compute/hooks/mutation-keys.d.ts +26 -24
  115. package/compute/hooks/mutation-keys.js +23 -20
  116. package/compute/hooks/mutations/index.d.ts +7 -24
  117. package/compute/hooks/mutations/index.js +7 -24
  118. package/compute/hooks/mutations/useCreateFunctionGraphMutation.d.ts +12 -26
  119. package/compute/hooks/mutations/useCreateFunctionGraphMutation.js +4 -12
  120. package/compute/hooks/mutations/useCreatePlatformServiceBindingMutation.d.ts +34 -0
  121. package/{auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.js → compute/hooks/mutations/useCreatePlatformServiceBindingMutation.js} +6 -6
  122. package/compute/hooks/mutations/useCreateServiceBindingMutation.d.ts +34 -0
  123. package/compute/hooks/mutations/{useCreateBuilderBindingMutation.js → useCreateServiceBindingMutation.js} +6 -6
  124. package/compute/hooks/mutations/useDeletePlatformServiceBindingMutation.d.ts +38 -0
  125. package/compute/hooks/mutations/{useDeletePlatformBuilderBindingMutation.js → useDeletePlatformServiceBindingMutation.js} +7 -7
  126. package/compute/hooks/mutations/useDeleteServiceBindingMutation.d.ts +38 -0
  127. package/compute/hooks/mutations/{useDeleteBuilderBindingMutation.js → useDeleteServiceBindingMutation.js} +7 -7
  128. package/compute/hooks/mutations/useUpdatePlatformServiceBindingMutation.d.ts +40 -0
  129. package/compute/hooks/mutations/{useUpdatePlatformBuilderBindingMutation.js → useUpdatePlatformServiceBindingMutation.js} +9 -9
  130. package/compute/hooks/mutations/useUpdateServiceBindingMutation.d.ts +40 -0
  131. package/compute/hooks/mutations/{useUpdateBuilderBindingMutation.js → useUpdateServiceBindingMutation.js} +9 -9
  132. package/compute/hooks/queries/index.d.ts +4 -4
  133. package/compute/hooks/queries/index.js +4 -4
  134. package/compute/hooks/queries/usePlatformServiceBindingQuery.d.ts +65 -0
  135. package/compute/hooks/queries/{usePlatformBuilderBindingQuery.js → usePlatformServiceBindingQuery.js} +14 -14
  136. package/compute/hooks/queries/usePlatformServiceBindingsQuery.d.ts +69 -0
  137. package/compute/hooks/queries/usePlatformServiceBindingsQuery.js +38 -0
  138. package/compute/hooks/queries/useServiceBindingQuery.d.ts +65 -0
  139. package/compute/hooks/queries/{useBuilderBindingQuery.js → useServiceBindingQuery.js} +14 -14
  140. package/compute/hooks/queries/useServiceBindingsQuery.d.ts +69 -0
  141. package/compute/hooks/queries/{useBuilderBindingsQuery.js → useServiceBindingsQuery.js} +14 -14
  142. package/compute/hooks/query-keys.d.ts +28 -28
  143. package/compute/hooks/query-keys.js +19 -19
  144. package/compute/orm/index.d.ts +9 -4
  145. package/compute/orm/index.js +4 -4
  146. package/compute/orm/input-types.d.ts +965 -1025
  147. package/compute/orm/input-types.js +8 -8
  148. package/compute/orm/models/databaseFunctionGraph.d.ts +2 -9
  149. package/compute/orm/models/databaseFunctionGraph.js +0 -11
  150. package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +2 -9
  151. package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +0 -11
  152. package/compute/orm/models/functionGraph.d.ts +2 -9
  153. package/compute/orm/models/functionGraph.js +0 -11
  154. package/compute/orm/models/getAllTreeNodesRecord.d.ts +2 -9
  155. package/compute/orm/models/getAllTreeNodesRecord.js +0 -11
  156. package/compute/orm/models/index.d.ts +2 -2
  157. package/compute/orm/models/index.js +7 -7
  158. package/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +2 -9
  159. package/compute/orm/models/infraGetAllTreeNodesRecord.js +0 -11
  160. package/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
  161. package/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +0 -11
  162. package/compute/orm/models/platformResourceDeclaredCapacity.d.ts +2 -9
  163. package/compute/orm/models/platformResourceDeclaredCapacity.js +0 -11
  164. package/compute/orm/models/platformResourceObservedStorage.d.ts +2 -9
  165. package/compute/orm/models/platformResourceObservedStorage.js +0 -11
  166. package/compute/orm/models/platformResourceUtilization.d.ts +2 -9
  167. package/compute/orm/models/platformResourceUtilization.js +0 -11
  168. package/compute/orm/models/platformResourcesHealth.d.ts +2 -9
  169. package/compute/orm/models/platformResourcesHealth.js +0 -11
  170. package/compute/orm/models/platformResourcesRequirementsState.d.ts +2 -9
  171. package/compute/orm/models/platformResourcesRequirementsState.js +0 -11
  172. package/compute/orm/models/platformResourcesResolvedRequirement.d.ts +2 -9
  173. package/compute/orm/models/platformResourcesResolvedRequirement.js +0 -11
  174. package/compute/orm/models/platformServiceBinding.d.ts +54 -0
  175. package/compute/orm/models/{platformBuilderBinding.js → platformServiceBinding.js} +27 -27
  176. package/compute/orm/models/resourceDeclaredCapacity.d.ts +2 -9
  177. package/compute/orm/models/resourceDeclaredCapacity.js +0 -11
  178. package/compute/orm/models/resourceObservedStorage.d.ts +2 -9
  179. package/compute/orm/models/resourceObservedStorage.js +0 -11
  180. package/compute/orm/models/resourceUtilization.d.ts +2 -9
  181. package/compute/orm/models/resourceUtilization.js +0 -11
  182. package/compute/orm/models/resourcesHealth.d.ts +2 -9
  183. package/compute/orm/models/resourcesHealth.js +0 -11
  184. package/compute/orm/models/resourcesRequirementsState.d.ts +2 -9
  185. package/compute/orm/models/resourcesRequirementsState.js +0 -11
  186. package/compute/orm/models/resourcesResolvedRequirement.d.ts +2 -9
  187. package/compute/orm/models/resourcesResolvedRequirement.js +0 -11
  188. package/compute/orm/models/serviceBinding.d.ts +54 -0
  189. package/compute/orm/models/{builderBinding.js → serviceBinding.js} +27 -27
  190. package/compute/orm/mutation/index.d.ts +9 -1
  191. package/compute/orm/mutation/index.js +12 -0
  192. package/compute/orm/query-builder.js +1 -3
  193. package/compute/orm/select-types.d.ts +1 -1
  194. package/compute/schema-types.d.ts +467 -386
  195. package/compute/types.d.ts +60 -33
  196. package/config/hooks/mutations/index.d.ts +0 -5
  197. package/config/hooks/mutations/index.js +0 -5
  198. package/config/orm/input-types.d.ts +0 -66
  199. package/config/orm/models/appInternalSecret.d.ts +2 -9
  200. package/config/orm/models/appInternalSecret.js +0 -11
  201. package/config/orm/models/internalSecret.d.ts +2 -9
  202. package/config/orm/models/internalSecret.js +0 -11
  203. package/config/orm/models/platformInternalSecret.d.ts +2 -9
  204. package/config/orm/models/platformInternalSecret.js +0 -11
  205. package/config/orm/models/platformSecret.d.ts +2 -9
  206. package/config/orm/models/platformSecret.js +0 -11
  207. package/config/orm/models/secret.d.ts +2 -9
  208. package/config/orm/models/secret.js +0 -11
  209. package/config/orm/query-builder.js +1 -3
  210. package/config/orm/select-types.d.ts +1 -1
  211. package/config/schema-types.d.ts +54 -17
  212. package/esm/admin/hooks/mutations/index.d.ts +0 -4
  213. package/esm/admin/hooks/mutations/index.js +0 -4
  214. package/esm/admin/orm/input-types.d.ts +32 -32
  215. package/esm/admin/orm/models/myPendingAppInvitesRecord.d.ts +2 -9
  216. package/esm/admin/orm/models/myPendingAppInvitesRecord.js +1 -12
  217. package/esm/admin/orm/models/myPendingOrgInvitesRecord.d.ts +2 -9
  218. package/esm/admin/orm/models/myPendingOrgInvitesRecord.js +1 -12
  219. package/esm/admin/orm/models/orgGetManagersRecord.d.ts +2 -9
  220. package/esm/admin/orm/models/orgGetManagersRecord.js +1 -12
  221. package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +2 -9
  222. package/esm/admin/orm/models/orgGetSubordinatesRecord.js +1 -12
  223. package/esm/admin/orm/query-builder.js +1 -3
  224. package/esm/admin/orm/select-types.d.ts +1 -1
  225. package/esm/admin/schema-types.d.ts +54 -19
  226. package/esm/admin/types.d.ts +3 -0
  227. package/esm/agent/orm/input-types.d.ts +36 -8
  228. package/esm/agent/orm/query-builder.js +1 -3
  229. package/esm/agent/orm/select-types.d.ts +1 -1
  230. package/esm/agent/schema-types.d.ts +76 -29
  231. package/esm/agent/types.d.ts +4 -0
  232. package/esm/api/hooks/index.d.ts +1 -1
  233. package/esm/api/hooks/index.js +1 -1
  234. package/esm/api/hooks/invalidation.d.ts +6 -0
  235. package/esm/api/hooks/invalidation.js +17 -1
  236. package/esm/api/hooks/mutation-keys.d.ts +12 -0
  237. package/esm/api/hooks/mutation-keys.js +10 -0
  238. package/esm/api/hooks/mutations/index.d.ts +3 -5
  239. package/esm/api/hooks/mutations/index.js +3 -5
  240. package/esm/api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.d.ts +34 -0
  241. package/esm/{admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.js → api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.js} +7 -7
  242. package/esm/api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.d.ts +38 -0
  243. package/esm/{compute/hooks/mutations/useDeleteBuilderBindingMutation.js → api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.js} +8 -8
  244. package/esm/api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.d.ts +40 -0
  245. package/esm/{compute/hooks/mutations/useUpdateBuilderBindingMutation.js → api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.js} +10 -10
  246. package/esm/api/hooks/queries/index.d.ts +2 -4
  247. package/esm/api/hooks/queries/index.js +2 -4
  248. package/esm/api/hooks/queries/usePlatformReservedSubdomainQuery.d.ts +65 -0
  249. package/esm/api/hooks/queries/usePlatformReservedSubdomainQuery.js +47 -0
  250. package/esm/api/hooks/queries/usePlatformReservedSubdomainsQuery.d.ts +69 -0
  251. package/esm/api/hooks/queries/usePlatformReservedSubdomainsQuery.js +32 -0
  252. package/esm/api/hooks/query-keys.d.ts +14 -8
  253. package/esm/api/hooks/query-keys.js +8 -4
  254. package/esm/api/orm/index.d.ts +2 -20
  255. package/esm/api/orm/index.js +2 -0
  256. package/esm/api/orm/input-types.d.ts +281 -159
  257. package/esm/api/orm/models/astMigration.d.ts +2 -9
  258. package/esm/api/orm/models/astMigration.js +1 -12
  259. package/esm/api/orm/models/getSitePreviewsRecord.d.ts +2 -9
  260. package/esm/api/orm/models/getSitePreviewsRecord.js +1 -12
  261. package/esm/api/orm/models/index.d.ts +1 -0
  262. package/esm/api/orm/models/index.js +1 -0
  263. package/esm/api/orm/models/listSuspendedDatabasesRecord.d.ts +2 -9
  264. package/esm/api/orm/models/listSuspendedDatabasesRecord.js +1 -12
  265. package/esm/api/orm/models/platformGetSitePreviewsRecord.d.ts +2 -9
  266. package/esm/api/orm/models/platformGetSitePreviewsRecord.js +1 -12
  267. package/esm/api/orm/models/platformReservedSubdomain.d.ts +54 -0
  268. package/esm/api/orm/models/platformReservedSubdomain.js +100 -0
  269. package/esm/api/orm/models/sqlAction.d.ts +2 -9
  270. package/esm/api/orm/models/sqlAction.js +1 -12
  271. package/esm/api/orm/query/index.d.ts +0 -37
  272. package/esm/api/orm/query/index.js +0 -60
  273. package/esm/api/orm/query-builder.js +1 -3
  274. package/esm/api/orm/select-types.d.ts +1 -1
  275. package/esm/api/schema-types.d.ts +161 -88
  276. package/esm/api/types.d.ts +29 -5
  277. package/esm/auth/hooks/mutation-keys.d.ts +12 -0
  278. package/esm/auth/hooks/mutation-keys.js +18 -0
  279. package/esm/auth/hooks/mutations/index.d.ts +6 -6
  280. package/esm/auth/hooks/mutations/index.js +6 -6
  281. package/esm/auth/hooks/mutations/useCancelSignUpHandoffMutation.d.ts +20 -0
  282. package/esm/auth/hooks/mutations/useCancelSignUpHandoffMutation.js +23 -0
  283. package/esm/auth/hooks/mutations/useCreatePrincipalMutation.d.ts +12 -26
  284. package/esm/auth/hooks/mutations/useCreatePrincipalMutation.js +6 -14
  285. package/esm/auth/hooks/mutations/useEnsureAuthCsrfMutation.d.ts +20 -0
  286. package/esm/auth/hooks/mutations/useEnsureAuthCsrfMutation.js +23 -0
  287. package/esm/auth/hooks/mutations/useExchangeNativeHandoffMutation.d.ts +20 -0
  288. package/esm/auth/hooks/mutations/useExchangeNativeHandoffMutation.js +23 -0
  289. package/esm/auth/hooks/mutations/useRequestDeviceApprovalMutation.d.ts +20 -0
  290. package/esm/auth/hooks/mutations/useRequestDeviceApprovalMutation.js +23 -0
  291. package/esm/auth/hooks/mutations/useVerifyEmailHandoffMutation.d.ts +20 -0
  292. package/esm/auth/hooks/mutations/useVerifyEmailHandoffMutation.js +23 -0
  293. package/esm/auth/hooks/queries/index.d.ts +1 -0
  294. package/esm/auth/hooks/queries/index.js +1 -0
  295. package/esm/auth/hooks/queries/useSignInOptionsQuery.d.ts +60 -0
  296. package/esm/{api/hooks/queries/useResolveRouteQuery.js → auth/hooks/queries/useSignInOptionsQuery.js} +11 -15
  297. package/esm/auth/hooks/query-keys.d.ts +2 -0
  298. package/esm/auth/hooks/query-keys.js +1 -0
  299. package/esm/auth/orm/index.d.ts +35 -0
  300. package/esm/auth/orm/input-types.d.ts +202 -78
  301. package/esm/auth/orm/models/identityProvider.d.ts +2 -9
  302. package/esm/auth/orm/models/identityProvider.js +1 -12
  303. package/esm/auth/orm/models/orgApiKeyList.d.ts +2 -9
  304. package/esm/auth/orm/models/orgApiKeyList.js +1 -12
  305. package/esm/auth/orm/models/principal.d.ts +2 -9
  306. package/esm/auth/orm/models/principal.js +1 -12
  307. package/esm/auth/orm/models/principalEntity.d.ts +2 -9
  308. package/esm/auth/orm/models/principalEntity.js +1 -12
  309. package/esm/auth/orm/models/principalScopeOverride.d.ts +2 -9
  310. package/esm/auth/orm/models/principalScopeOverride.js +1 -12
  311. package/esm/auth/orm/models/userConnectedAccount.d.ts +2 -9
  312. package/esm/auth/orm/models/userConnectedAccount.js +1 -12
  313. package/esm/auth/orm/mutation/index.d.ts +53 -1
  314. package/esm/auth/orm/mutation/index.js +72 -0
  315. package/esm/auth/orm/query/index.d.ts +6 -1
  316. package/esm/auth/orm/query/index.js +7 -0
  317. package/esm/auth/orm/query-builder.js +1 -3
  318. package/esm/auth/orm/select-types.d.ts +1 -1
  319. package/esm/auth/schema-types.d.ts +146 -20
  320. package/esm/auth/types.d.ts +3 -0
  321. package/esm/compute/hooks/index.d.ts +1 -1
  322. package/esm/compute/hooks/index.js +1 -1
  323. package/esm/compute/hooks/invalidation.d.ts +12 -12
  324. package/esm/compute/hooks/invalidation.js +33 -33
  325. package/esm/compute/hooks/mutation-keys.d.ts +26 -24
  326. package/esm/compute/hooks/mutation-keys.js +20 -17
  327. package/esm/compute/hooks/mutations/index.d.ts +7 -24
  328. package/esm/compute/hooks/mutations/index.js +7 -24
  329. package/esm/compute/hooks/mutations/useCreateFunctionGraphMutation.d.ts +12 -26
  330. package/esm/compute/hooks/mutations/useCreateFunctionGraphMutation.js +6 -14
  331. package/esm/compute/hooks/mutations/useCreatePlatformServiceBindingMutation.d.ts +34 -0
  332. package/esm/{auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.js → compute/hooks/mutations/useCreatePlatformServiceBindingMutation.js} +7 -7
  333. package/esm/compute/hooks/mutations/useCreateServiceBindingMutation.d.ts +34 -0
  334. package/esm/{api/hooks/mutations/useCreateSqlActionMutation.js → compute/hooks/mutations/useCreateServiceBindingMutation.js} +7 -7
  335. package/esm/compute/hooks/mutations/useDeletePlatformServiceBindingMutation.d.ts +38 -0
  336. package/esm/compute/hooks/mutations/{useDeletePlatformBuilderBindingMutation.js → useDeletePlatformServiceBindingMutation.js} +8 -8
  337. package/esm/compute/hooks/mutations/useDeleteServiceBindingMutation.d.ts +38 -0
  338. package/esm/compute/hooks/mutations/useDeleteServiceBindingMutation.js +36 -0
  339. package/esm/compute/hooks/mutations/useUpdatePlatformServiceBindingMutation.d.ts +40 -0
  340. package/esm/compute/hooks/mutations/{useUpdatePlatformBuilderBindingMutation.js → useUpdatePlatformServiceBindingMutation.js} +10 -10
  341. package/esm/compute/hooks/mutations/useUpdateServiceBindingMutation.d.ts +40 -0
  342. package/esm/compute/hooks/mutations/useUpdateServiceBindingMutation.js +37 -0
  343. package/esm/compute/hooks/queries/index.d.ts +4 -4
  344. package/esm/compute/hooks/queries/index.js +4 -4
  345. package/esm/compute/hooks/queries/usePlatformServiceBindingQuery.d.ts +65 -0
  346. package/esm/compute/hooks/queries/{usePlatformBuilderBindingQuery.js → usePlatformServiceBindingQuery.js} +11 -11
  347. package/esm/compute/hooks/queries/usePlatformServiceBindingsQuery.d.ts +69 -0
  348. package/esm/compute/hooks/queries/usePlatformServiceBindingsQuery.js +32 -0
  349. package/esm/compute/hooks/queries/useServiceBindingQuery.d.ts +65 -0
  350. package/esm/compute/hooks/queries/{useBuilderBindingQuery.js → useServiceBindingQuery.js} +11 -11
  351. package/esm/compute/hooks/queries/useServiceBindingsQuery.d.ts +69 -0
  352. package/esm/compute/hooks/queries/useServiceBindingsQuery.js +32 -0
  353. package/esm/compute/hooks/query-keys.d.ts +28 -28
  354. package/esm/compute/hooks/query-keys.js +16 -16
  355. package/esm/compute/orm/index.d.ts +9 -4
  356. package/esm/compute/orm/index.js +4 -4
  357. package/esm/compute/orm/input-types.d.ts +965 -1025
  358. package/esm/compute/orm/input-types.js +8 -8
  359. package/esm/compute/orm/models/databaseFunctionGraph.d.ts +2 -9
  360. package/esm/compute/orm/models/databaseFunctionGraph.js +1 -12
  361. package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +2 -9
  362. package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +1 -12
  363. package/esm/compute/orm/models/functionGraph.d.ts +2 -9
  364. package/esm/compute/orm/models/functionGraph.js +1 -12
  365. package/esm/compute/orm/models/getAllTreeNodesRecord.d.ts +2 -9
  366. package/esm/compute/orm/models/getAllTreeNodesRecord.js +1 -12
  367. package/esm/compute/orm/models/index.d.ts +2 -2
  368. package/esm/compute/orm/models/index.js +2 -2
  369. package/esm/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +2 -9
  370. package/esm/compute/orm/models/infraGetAllTreeNodesRecord.js +1 -12
  371. package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
  372. package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +1 -12
  373. package/esm/compute/orm/models/platformResourceDeclaredCapacity.d.ts +2 -9
  374. package/esm/compute/orm/models/platformResourceDeclaredCapacity.js +1 -12
  375. package/esm/compute/orm/models/platformResourceObservedStorage.d.ts +2 -9
  376. package/esm/compute/orm/models/platformResourceObservedStorage.js +1 -12
  377. package/esm/compute/orm/models/platformResourceUtilization.d.ts +2 -9
  378. package/esm/compute/orm/models/platformResourceUtilization.js +1 -12
  379. package/esm/compute/orm/models/platformResourcesHealth.d.ts +2 -9
  380. package/esm/compute/orm/models/platformResourcesHealth.js +1 -12
  381. package/esm/compute/orm/models/platformResourcesRequirementsState.d.ts +2 -9
  382. package/esm/compute/orm/models/platformResourcesRequirementsState.js +1 -12
  383. package/esm/compute/orm/models/platformResourcesResolvedRequirement.d.ts +2 -9
  384. package/esm/compute/orm/models/platformResourcesResolvedRequirement.js +1 -12
  385. package/esm/compute/orm/models/platformServiceBinding.d.ts +54 -0
  386. package/esm/compute/orm/models/{platformBuilderBinding.js → platformServiceBinding.js} +25 -25
  387. package/esm/compute/orm/models/resourceDeclaredCapacity.d.ts +2 -9
  388. package/esm/compute/orm/models/resourceDeclaredCapacity.js +1 -12
  389. package/esm/compute/orm/models/resourceObservedStorage.d.ts +2 -9
  390. package/esm/compute/orm/models/resourceObservedStorage.js +1 -12
  391. package/esm/compute/orm/models/resourceUtilization.d.ts +2 -9
  392. package/esm/compute/orm/models/resourceUtilization.js +1 -12
  393. package/esm/compute/orm/models/resourcesHealth.d.ts +2 -9
  394. package/esm/compute/orm/models/resourcesHealth.js +1 -12
  395. package/esm/compute/orm/models/resourcesRequirementsState.d.ts +2 -9
  396. package/esm/compute/orm/models/resourcesRequirementsState.js +1 -12
  397. package/esm/compute/orm/models/resourcesResolvedRequirement.d.ts +2 -9
  398. package/esm/compute/orm/models/resourcesResolvedRequirement.js +1 -12
  399. package/esm/compute/orm/models/serviceBinding.d.ts +54 -0
  400. package/esm/compute/orm/models/{builderBinding.js → serviceBinding.js} +25 -25
  401. package/esm/compute/orm/mutation/index.d.ts +9 -1
  402. package/esm/compute/orm/mutation/index.js +12 -0
  403. package/esm/compute/orm/query-builder.js +1 -3
  404. package/esm/compute/orm/select-types.d.ts +1 -1
  405. package/esm/compute/schema-types.d.ts +467 -386
  406. package/esm/compute/types.d.ts +60 -33
  407. package/esm/config/hooks/mutations/index.d.ts +0 -5
  408. package/esm/config/hooks/mutations/index.js +0 -5
  409. package/esm/config/orm/input-types.d.ts +0 -66
  410. package/esm/config/orm/models/appInternalSecret.d.ts +2 -9
  411. package/esm/config/orm/models/appInternalSecret.js +1 -12
  412. package/esm/config/orm/models/internalSecret.d.ts +2 -9
  413. package/esm/config/orm/models/internalSecret.js +1 -12
  414. package/esm/config/orm/models/platformInternalSecret.d.ts +2 -9
  415. package/esm/config/orm/models/platformInternalSecret.js +1 -12
  416. package/esm/config/orm/models/platformSecret.d.ts +2 -9
  417. package/esm/config/orm/models/platformSecret.js +1 -12
  418. package/esm/config/orm/models/secret.d.ts +2 -9
  419. package/esm/config/orm/models/secret.js +1 -12
  420. package/esm/config/orm/query-builder.js +1 -3
  421. package/esm/config/orm/select-types.d.ts +1 -1
  422. package/esm/config/schema-types.d.ts +54 -17
  423. package/esm/infra/hooks/mutations/index.d.ts +0 -1
  424. package/esm/infra/hooks/mutations/index.js +0 -1
  425. package/esm/infra/orm/input-types.d.ts +0 -7
  426. package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
  427. package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +1 -12
  428. package/esm/infra/orm/query-builder.js +1 -3
  429. package/esm/infra/orm/select-types.d.ts +1 -1
  430. package/esm/infra/schema-types.d.ts +54 -17
  431. package/esm/modules/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +2 -2
  432. package/esm/modules/hooks/mutations/useCreateBlueprintConstructionMutation.js +1 -1
  433. package/esm/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +2 -2
  434. package/esm/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.js +1 -1
  435. package/esm/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +2 -2
  436. package/esm/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.js +1 -1
  437. package/esm/modules/hooks/queries/useBlueprintConstructionQuery.d.ts +4 -4
  438. package/esm/modules/hooks/queries/useBlueprintConstructionQuery.js +1 -1
  439. package/esm/modules/hooks/queries/useBlueprintConstructionsQuery.d.ts +4 -4
  440. package/esm/modules/hooks/queries/useBlueprintConstructionsQuery.js +1 -1
  441. package/esm/modules/orm/input-types.d.ts +95 -38
  442. package/esm/modules/orm/mutation/index.d.ts +1 -1
  443. package/esm/modules/orm/query-builder.js +1 -3
  444. package/esm/modules/orm/select-types.d.ts +1 -1
  445. package/esm/modules/schema-types.d.ts +104 -39
  446. package/esm/modules/types.d.ts +10 -3
  447. package/esm/objects/hooks/mutations/index.d.ts +0 -1
  448. package/esm/objects/hooks/mutations/index.js +0 -1
  449. package/esm/objects/orm/input-types.d.ts +0 -7
  450. package/esm/objects/orm/models/getAllTreeNodesRecord.d.ts +2 -9
  451. package/esm/objects/orm/models/getAllTreeNodesRecord.js +1 -12
  452. package/esm/objects/orm/query-builder.js +1 -3
  453. package/esm/objects/orm/select-types.d.ts +1 -1
  454. package/esm/objects/schema-types.d.ts +54 -17
  455. package/esm/remote/hooks/queries/index.d.ts +1 -0
  456. package/esm/remote/hooks/queries/index.js +1 -0
  457. package/esm/remote/hooks/queries/useCurrentDatabaseIdQuery.d.ts +45 -0
  458. package/esm/remote/hooks/queries/useCurrentDatabaseIdQuery.js +43 -0
  459. package/esm/remote/hooks/query-keys.d.ts +6 -0
  460. package/esm/remote/hooks/query-keys.js +7 -0
  461. package/esm/remote/orm/index.d.ts +8 -0
  462. package/esm/remote/orm/index.js +3 -0
  463. package/esm/remote/orm/query/index.d.ts +14 -0
  464. package/esm/remote/orm/query/index.js +13 -0
  465. package/esm/remote/orm/query-builder.js +1 -3
  466. package/esm/remote/orm/select-types.d.ts +1 -1
  467. package/esm/remote/schema-types.d.ts +54 -17
  468. package/esm/storage/hooks/mutations/index.d.ts +0 -2
  469. package/esm/storage/hooks/mutations/index.js +0 -2
  470. package/esm/storage/orm/input-types.d.ts +84 -139
  471. package/esm/storage/orm/models/file.d.ts +2 -9
  472. package/esm/storage/orm/models/file.js +1 -12
  473. package/esm/storage/orm/models/platformFile.d.ts +2 -9
  474. package/esm/storage/orm/models/platformFile.js +1 -12
  475. package/esm/storage/orm/query-builder.js +1 -3
  476. package/esm/storage/orm/select-types.d.ts +1 -1
  477. package/esm/storage/schema-types.d.ts +79 -112
  478. package/esm/storage/types.d.ts +7 -0
  479. package/esm/usage/orm/query-builder.js +1 -3
  480. package/esm/usage/orm/select-types.d.ts +1 -1
  481. package/esm/usage/schema-types.d.ts +54 -17
  482. package/infra/hooks/mutations/index.d.ts +0 -1
  483. package/infra/hooks/mutations/index.js +0 -1
  484. package/infra/orm/input-types.d.ts +0 -7
  485. package/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
  486. package/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +0 -11
  487. package/infra/orm/query-builder.js +1 -3
  488. package/infra/orm/select-types.d.ts +1 -1
  489. package/infra/schema-types.d.ts +54 -17
  490. package/modules/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +2 -2
  491. package/modules/hooks/mutations/useCreateBlueprintConstructionMutation.js +1 -1
  492. package/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +2 -2
  493. package/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.js +1 -1
  494. package/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +2 -2
  495. package/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.js +1 -1
  496. package/modules/hooks/queries/useBlueprintConstructionQuery.d.ts +4 -4
  497. package/modules/hooks/queries/useBlueprintConstructionQuery.js +1 -1
  498. package/modules/hooks/queries/useBlueprintConstructionsQuery.d.ts +4 -4
  499. package/modules/hooks/queries/useBlueprintConstructionsQuery.js +1 -1
  500. package/modules/orm/input-types.d.ts +95 -38
  501. package/modules/orm/mutation/index.d.ts +1 -1
  502. package/modules/orm/query-builder.js +1 -3
  503. package/modules/orm/select-types.d.ts +1 -1
  504. package/modules/schema-types.d.ts +104 -39
  505. package/modules/types.d.ts +10 -3
  506. package/objects/hooks/mutations/index.d.ts +0 -1
  507. package/objects/hooks/mutations/index.js +0 -1
  508. package/objects/orm/input-types.d.ts +0 -7
  509. package/objects/orm/models/getAllTreeNodesRecord.d.ts +2 -9
  510. package/objects/orm/models/getAllTreeNodesRecord.js +0 -11
  511. package/objects/orm/query-builder.js +1 -3
  512. package/objects/orm/select-types.d.ts +1 -1
  513. package/objects/schema-types.d.ts +54 -17
  514. package/package.json +5 -5
  515. package/remote/hooks/queries/index.d.ts +1 -0
  516. package/remote/hooks/queries/index.js +1 -0
  517. package/remote/hooks/queries/useCurrentDatabaseIdQuery.d.ts +45 -0
  518. package/remote/hooks/queries/useCurrentDatabaseIdQuery.js +49 -0
  519. package/remote/hooks/query-keys.d.ts +6 -0
  520. package/remote/hooks/query-keys.js +8 -1
  521. package/remote/orm/index.d.ts +8 -0
  522. package/remote/orm/index.js +5 -1
  523. package/remote/orm/query/index.d.ts +14 -0
  524. package/remote/orm/query/index.js +16 -0
  525. package/remote/orm/query-builder.js +1 -3
  526. package/remote/orm/select-types.d.ts +1 -1
  527. package/remote/schema-types.d.ts +54 -17
  528. package/storage/hooks/mutations/index.d.ts +0 -2
  529. package/storage/hooks/mutations/index.js +0 -2
  530. package/storage/orm/input-types.d.ts +84 -139
  531. package/storage/orm/models/file.d.ts +2 -9
  532. package/storage/orm/models/file.js +0 -11
  533. package/storage/orm/models/platformFile.d.ts +2 -9
  534. package/storage/orm/models/platformFile.js +0 -11
  535. package/storage/orm/query-builder.js +1 -3
  536. package/storage/orm/select-types.d.ts +1 -1
  537. package/storage/schema-types.d.ts +79 -112
  538. package/storage/types.d.ts +7 -0
  539. package/usage/orm/query-builder.js +1 -3
  540. package/usage/orm/select-types.d.ts +1 -1
  541. package/usage/schema-types.d.ts +54 -17
  542. package/admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.d.ts +0 -34
  543. package/admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.d.ts +0 -34
  544. package/admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.js +0 -34
  545. package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +0 -34
  546. package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +0 -34
  547. package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +0 -34
  548. package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +0 -34
  549. package/api/hooks/mutations/useCreateAstMigrationMutation.d.ts +0 -34
  550. package/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.d.ts +0 -34
  551. package/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.js +0 -34
  552. package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +0 -34
  553. package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +0 -34
  554. package/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.d.ts +0 -34
  555. package/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.js +0 -34
  556. package/api/hooks/mutations/useCreateSqlActionMutation.d.ts +0 -34
  557. package/api/hooks/queries/useApiSchemaNamesQuery.d.ts +0 -53
  558. package/api/hooks/queries/useApiSchemaNamesQuery.js +0 -53
  559. package/api/hooks/queries/useResolveDeepLinkQuery.d.ts +0 -53
  560. package/api/hooks/queries/useResolveDeepLinkQuery.js +0 -53
  561. package/api/hooks/queries/useResolveRouteQuery.d.ts +0 -65
  562. package/api/hooks/queries/useResolveSiteAppLinksQuery.d.ts +0 -53
  563. package/api/hooks/queries/useResolveSiteAppLinksQuery.js +0 -53
  564. package/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +0 -34
  565. package/auth/hooks/mutations/useCreateIdentityProviderMutation.js +0 -34
  566. package/auth/hooks/mutations/useCreateOrgApiKeyListMutation.d.ts +0 -34
  567. package/auth/hooks/mutations/useCreateOrgApiKeyListMutation.js +0 -34
  568. package/auth/hooks/mutations/useCreatePrincipalEntityMutation.d.ts +0 -34
  569. package/auth/hooks/mutations/useCreatePrincipalEntityMutation.js +0 -34
  570. package/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.d.ts +0 -34
  571. package/auth/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +0 -34
  572. package/auth/hooks/mutations/useCreateUserConnectedAccountMutation.js +0 -34
  573. package/compute/hooks/mutations/useCreateBuilderBindingMutation.d.ts +0 -34
  574. package/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.d.ts +0 -34
  575. package/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.js +0 -34
  576. package/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.d.ts +0 -34
  577. package/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.js +0 -34
  578. package/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
  579. package/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -34
  580. package/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
  581. package/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.js +0 -34
  582. package/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.d.ts +0 -34
  583. package/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.js +0 -34
  584. package/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
  585. package/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -34
  586. package/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.d.ts +0 -34
  587. package/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.js +0 -34
  588. package/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.d.ts +0 -34
  589. package/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.js +0 -34
  590. package/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.d.ts +0 -34
  591. package/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.js +0 -34
  592. package/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.d.ts +0 -34
  593. package/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.js +0 -34
  594. package/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.d.ts +0 -34
  595. package/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.js +0 -34
  596. package/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.d.ts +0 -34
  597. package/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.js +0 -34
  598. package/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.d.ts +0 -34
  599. package/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.js +0 -34
  600. package/compute/hooks/mutations/useCreateResourceObservedStorageMutation.d.ts +0 -34
  601. package/compute/hooks/mutations/useCreateResourceObservedStorageMutation.js +0 -34
  602. package/compute/hooks/mutations/useCreateResourceUtilizationMutation.d.ts +0 -34
  603. package/compute/hooks/mutations/useCreateResourceUtilizationMutation.js +0 -34
  604. package/compute/hooks/mutations/useCreateResourcesHealthMutation.d.ts +0 -34
  605. package/compute/hooks/mutations/useCreateResourcesHealthMutation.js +0 -34
  606. package/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.d.ts +0 -34
  607. package/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.js +0 -34
  608. package/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.d.ts +0 -34
  609. package/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.js +0 -34
  610. package/compute/hooks/mutations/useDeleteBuilderBindingMutation.d.ts +0 -38
  611. package/compute/hooks/mutations/useDeletePlatformBuilderBindingMutation.d.ts +0 -38
  612. package/compute/hooks/mutations/useUpdateBuilderBindingMutation.d.ts +0 -40
  613. package/compute/hooks/mutations/useUpdatePlatformBuilderBindingMutation.d.ts +0 -40
  614. package/compute/hooks/queries/useBuilderBindingQuery.d.ts +0 -65
  615. package/compute/hooks/queries/useBuilderBindingsQuery.d.ts +0 -69
  616. package/compute/hooks/queries/usePlatformBuilderBindingQuery.d.ts +0 -65
  617. package/compute/hooks/queries/usePlatformBuilderBindingsQuery.d.ts +0 -69
  618. package/compute/hooks/queries/usePlatformBuilderBindingsQuery.js +0 -38
  619. package/compute/orm/models/builderBinding.d.ts +0 -54
  620. package/compute/orm/models/platformBuilderBinding.d.ts +0 -54
  621. package/config/hooks/mutations/useCreateAppInternalSecretMutation.d.ts +0 -34
  622. package/config/hooks/mutations/useCreateAppInternalSecretMutation.js +0 -34
  623. package/config/hooks/mutations/useCreateInternalSecretMutation.d.ts +0 -34
  624. package/config/hooks/mutations/useCreateInternalSecretMutation.js +0 -34
  625. package/config/hooks/mutations/useCreatePlatformInternalSecretMutation.d.ts +0 -34
  626. package/config/hooks/mutations/useCreatePlatformInternalSecretMutation.js +0 -34
  627. package/config/hooks/mutations/useCreatePlatformSecretMutation.d.ts +0 -34
  628. package/config/hooks/mutations/useCreatePlatformSecretMutation.js +0 -34
  629. package/config/hooks/mutations/useCreateSecretMutation.d.ts +0 -34
  630. package/esm/admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.d.ts +0 -34
  631. package/esm/admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.js +0 -31
  632. package/esm/admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.d.ts +0 -34
  633. package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +0 -34
  634. package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +0 -31
  635. package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +0 -34
  636. package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +0 -31
  637. package/esm/api/hooks/mutations/useCreateAstMigrationMutation.d.ts +0 -34
  638. package/esm/api/hooks/mutations/useCreateAstMigrationMutation.js +0 -31
  639. package/esm/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.d.ts +0 -34
  640. package/esm/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.js +0 -31
  641. package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +0 -34
  642. package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +0 -31
  643. package/esm/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.d.ts +0 -34
  644. package/esm/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.js +0 -31
  645. package/esm/api/hooks/mutations/useCreateSqlActionMutation.d.ts +0 -34
  646. package/esm/api/hooks/queries/useApiSchemaNamesQuery.d.ts +0 -53
  647. package/esm/api/hooks/queries/useApiSchemaNamesQuery.js +0 -47
  648. package/esm/api/hooks/queries/useResolveDeepLinkQuery.d.ts +0 -53
  649. package/esm/api/hooks/queries/useResolveDeepLinkQuery.js +0 -47
  650. package/esm/api/hooks/queries/useResolveRouteQuery.d.ts +0 -65
  651. package/esm/api/hooks/queries/useResolveSiteAppLinksQuery.d.ts +0 -53
  652. package/esm/api/hooks/queries/useResolveSiteAppLinksQuery.js +0 -47
  653. package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +0 -34
  654. package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.js +0 -31
  655. package/esm/auth/hooks/mutations/useCreateOrgApiKeyListMutation.d.ts +0 -34
  656. package/esm/auth/hooks/mutations/useCreateOrgApiKeyListMutation.js +0 -31
  657. package/esm/auth/hooks/mutations/useCreatePrincipalEntityMutation.d.ts +0 -34
  658. package/esm/auth/hooks/mutations/useCreatePrincipalEntityMutation.js +0 -31
  659. package/esm/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.d.ts +0 -34
  660. package/esm/auth/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +0 -34
  661. package/esm/auth/hooks/mutations/useCreateUserConnectedAccountMutation.js +0 -31
  662. package/esm/compute/hooks/mutations/useCreateBuilderBindingMutation.d.ts +0 -34
  663. package/esm/compute/hooks/mutations/useCreateBuilderBindingMutation.js +0 -31
  664. package/esm/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.d.ts +0 -34
  665. package/esm/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.js +0 -31
  666. package/esm/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.d.ts +0 -34
  667. package/esm/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.js +0 -31
  668. package/esm/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
  669. package/esm/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -31
  670. package/esm/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
  671. package/esm/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.js +0 -31
  672. package/esm/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.d.ts +0 -34
  673. package/esm/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.js +0 -31
  674. package/esm/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
  675. package/esm/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -31
  676. package/esm/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.d.ts +0 -34
  677. package/esm/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.js +0 -31
  678. package/esm/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.d.ts +0 -34
  679. package/esm/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.js +0 -31
  680. package/esm/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.d.ts +0 -34
  681. package/esm/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.js +0 -31
  682. package/esm/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.d.ts +0 -34
  683. package/esm/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.js +0 -31
  684. package/esm/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.d.ts +0 -34
  685. package/esm/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.js +0 -31
  686. package/esm/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.d.ts +0 -34
  687. package/esm/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.js +0 -31
  688. package/esm/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.d.ts +0 -34
  689. package/esm/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.js +0 -31
  690. package/esm/compute/hooks/mutations/useCreateResourceObservedStorageMutation.d.ts +0 -34
  691. package/esm/compute/hooks/mutations/useCreateResourceObservedStorageMutation.js +0 -31
  692. package/esm/compute/hooks/mutations/useCreateResourceUtilizationMutation.d.ts +0 -34
  693. package/esm/compute/hooks/mutations/useCreateResourceUtilizationMutation.js +0 -31
  694. package/esm/compute/hooks/mutations/useCreateResourcesHealthMutation.d.ts +0 -34
  695. package/esm/compute/hooks/mutations/useCreateResourcesHealthMutation.js +0 -31
  696. package/esm/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.d.ts +0 -34
  697. package/esm/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.js +0 -31
  698. package/esm/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.d.ts +0 -34
  699. package/esm/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.js +0 -31
  700. package/esm/compute/hooks/mutations/useDeleteBuilderBindingMutation.d.ts +0 -38
  701. package/esm/compute/hooks/mutations/useDeletePlatformBuilderBindingMutation.d.ts +0 -38
  702. package/esm/compute/hooks/mutations/useUpdateBuilderBindingMutation.d.ts +0 -40
  703. package/esm/compute/hooks/mutations/useUpdatePlatformBuilderBindingMutation.d.ts +0 -40
  704. package/esm/compute/hooks/queries/useBuilderBindingQuery.d.ts +0 -65
  705. package/esm/compute/hooks/queries/useBuilderBindingsQuery.d.ts +0 -69
  706. package/esm/compute/hooks/queries/useBuilderBindingsQuery.js +0 -32
  707. package/esm/compute/hooks/queries/usePlatformBuilderBindingQuery.d.ts +0 -65
  708. package/esm/compute/hooks/queries/usePlatformBuilderBindingsQuery.d.ts +0 -69
  709. package/esm/compute/hooks/queries/usePlatformBuilderBindingsQuery.js +0 -32
  710. package/esm/compute/orm/models/builderBinding.d.ts +0 -54
  711. package/esm/compute/orm/models/platformBuilderBinding.d.ts +0 -54
  712. package/esm/config/hooks/mutations/useCreateAppInternalSecretMutation.d.ts +0 -34
  713. package/esm/config/hooks/mutations/useCreateAppInternalSecretMutation.js +0 -31
  714. package/esm/config/hooks/mutations/useCreateInternalSecretMutation.d.ts +0 -34
  715. package/esm/config/hooks/mutations/useCreateInternalSecretMutation.js +0 -31
  716. package/esm/config/hooks/mutations/useCreatePlatformInternalSecretMutation.d.ts +0 -34
  717. package/esm/config/hooks/mutations/useCreatePlatformInternalSecretMutation.js +0 -31
  718. package/esm/config/hooks/mutations/useCreatePlatformSecretMutation.d.ts +0 -34
  719. package/esm/config/hooks/mutations/useCreatePlatformSecretMutation.js +0 -31
  720. package/esm/config/hooks/mutations/useCreateSecretMutation.d.ts +0 -34
  721. package/esm/config/hooks/mutations/useCreateSecretMutation.js +0 -31
  722. package/esm/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
  723. package/esm/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -31
  724. package/esm/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
  725. package/esm/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -31
  726. package/esm/storage/hooks/mutations/useCreateFileMutation.d.ts +0 -34
  727. package/esm/storage/hooks/mutations/useCreateFileMutation.js +0 -31
  728. package/esm/storage/hooks/mutations/useCreatePlatformFileMutation.d.ts +0 -34
  729. package/esm/storage/hooks/mutations/useCreatePlatformFileMutation.js +0 -31
  730. package/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
  731. package/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -34
  732. package/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
  733. package/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -34
  734. package/storage/hooks/mutations/useCreateFileMutation.d.ts +0 -34
  735. package/storage/hooks/mutations/useCreatePlatformFileMutation.d.ts +0 -34
  736. package/storage/hooks/mutations/useCreatePlatformFileMutation.js +0 -34
@@ -5,8 +5,8 @@
5
5
  */
6
6
  import { OrmClient } from '../client';
7
7
  import { QueryBuilder } from '../query-builder';
8
- import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, InferSelectResult, StrictSelect } from '../select-types';
9
- import type { PrincipalScopeOverrideWithRelations, PrincipalScopeOverrideSelect, PrincipalScopeOverrideFilter, PrincipalScopeOverrideOrderBy, CreatePrincipalScopeOverrideInput } from '../input-types';
8
+ import type { ConnectionResult, FindManyArgs, FindFirstArgs, InferSelectResult, StrictSelect } from '../select-types';
9
+ import type { PrincipalScopeOverrideWithRelations, PrincipalScopeOverrideSelect, PrincipalScopeOverrideFilter, PrincipalScopeOverrideOrderBy } from '../input-types';
10
10
  export declare class PrincipalScopeOverrideModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
@@ -26,11 +26,4 @@ export declare class PrincipalScopeOverrideModel {
26
26
  } & StrictSelect<S, PrincipalScopeOverrideSelect>): QueryBuilder<{
27
27
  principalScopeOverride: InferSelectResult<PrincipalScopeOverrideWithRelations, S> | null;
28
28
  }>;
29
- create<S extends PrincipalScopeOverrideSelect>(args: CreateArgs<S, CreatePrincipalScopeOverrideInput['principalScopeOverride']> & {
30
- select: S;
31
- } & StrictSelect<S, PrincipalScopeOverrideSelect>): QueryBuilder<{
32
- createPrincipalScopeOverride: {
33
- principalScopeOverride: InferSelectResult<PrincipalScopeOverrideWithRelations, S>;
34
- };
35
- }>;
36
29
  }
@@ -1,4 +1,4 @@
1
- import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, } from '../query-builder';
1
+ import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, } from '../query-builder';
2
2
  import { connectionFieldsMap } from '../input-types';
3
3
  export class PrincipalScopeOverrideModel {
4
4
  client;
@@ -62,15 +62,4 @@ export class PrincipalScopeOverrideModel {
62
62
  }),
63
63
  });
64
64
  }
65
- create(args) {
66
- const { document, variables } = buildCreateDocument('PrincipalScopeOverride', 'createPrincipalScopeOverride', 'principalScopeOverride', args.select, args.data, 'CreatePrincipalScopeOverrideInput', connectionFieldsMap);
67
- return new QueryBuilder({
68
- client: this.client,
69
- operation: 'mutation',
70
- operationName: 'PrincipalScopeOverride',
71
- fieldName: 'createPrincipalScopeOverride',
72
- document,
73
- variables,
74
- });
75
- }
76
65
  }
@@ -5,8 +5,8 @@
5
5
  */
6
6
  import { OrmClient } from '../client';
7
7
  import { QueryBuilder } from '../query-builder';
8
- import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, InferSelectResult, StrictSelect } from '../select-types';
9
- import type { UserConnectedAccountWithRelations, UserConnectedAccountSelect, UserConnectedAccountFilter, UserConnectedAccountOrderBy, CreateUserConnectedAccountInput } from '../input-types';
8
+ import type { ConnectionResult, FindManyArgs, FindFirstArgs, InferSelectResult, StrictSelect } from '../select-types';
9
+ import type { UserConnectedAccountWithRelations, UserConnectedAccountSelect, UserConnectedAccountFilter, UserConnectedAccountOrderBy } from '../input-types';
10
10
  export declare class UserConnectedAccountModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
@@ -26,11 +26,4 @@ export declare class UserConnectedAccountModel {
26
26
  } & StrictSelect<S, UserConnectedAccountSelect>): QueryBuilder<{
27
27
  userConnectedAccount: InferSelectResult<UserConnectedAccountWithRelations, S> | null;
28
28
  }>;
29
- create<S extends UserConnectedAccountSelect>(args: CreateArgs<S, CreateUserConnectedAccountInput['userConnectedAccount']> & {
30
- select: S;
31
- } & StrictSelect<S, UserConnectedAccountSelect>): QueryBuilder<{
32
- createUserConnectedAccount: {
33
- userConnectedAccount: InferSelectResult<UserConnectedAccountWithRelations, S>;
34
- };
35
- }>;
36
29
  }
@@ -1,4 +1,4 @@
1
- import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, } from '../query-builder';
1
+ import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, } from '../query-builder';
2
2
  import { connectionFieldsMap } from '../input-types';
3
3
  export class UserConnectedAccountModel {
4
4
  client;
@@ -62,15 +62,4 @@ export class UserConnectedAccountModel {
62
62
  }),
63
63
  });
64
64
  }
65
- create(args) {
66
- const { document, variables } = buildCreateDocument('UserConnectedAccount', 'createUserConnectedAccount', 'userConnectedAccount', args.select, args.data, 'CreateUserConnectedAccountInput', connectionFieldsMap);
67
- return new QueryBuilder({
68
- client: this.client,
69
- operation: 'mutation',
70
- operationName: 'UserConnectedAccount',
71
- fieldName: 'createUserConnectedAccount',
72
- document,
73
- variables,
74
- });
75
- }
76
65
  }
@@ -6,10 +6,13 @@
6
6
  import { OrmClient } from '../client';
7
7
  import { QueryBuilder } from '../query-builder';
8
8
  import type { InferSelectResult, StrictSelect } from '../select-types';
9
- import type { ApproveDeviceInput, CheckPasswordInput, CompleteMfaChallengeInput, ConfirmDeleteAccountInput, ConfirmTotpSetupInput, CreateApiKeyInput, CreateChildPrincipalInput, CreateOrgApiKeyInput, CreateOrgPrincipalInput, CreatePrincipalFromPresetInput, DeleteOrgPrincipalInput, DeletePrincipalInput, DisableEmailMfaInput, DisableSmsMfaInput, DisableTotpInput, DisconnectAccountInput, EnableEmailMfaInput, EnableSmsMfaInput, EnableTotpInput, ExtendTokenExpiresInput, ForgotPasswordInput, GenerateBackupCodesInput, LinkIdentityInput, MintAccessTokenInput, ProvisionBucketInput, RefreshAccessTokenInput, RequestCrossOriginTokenInput, RequestMagicLinkInput, ResetPasswordInput, RevokeApiKeyInput, RevokeOrgApiKeyInput, RevokeSessionInput, SendAccountDeletionEmailInput, SendMfaChallengeCodeInput, SendPhoneVerificationCodeInput, SendSmsOtpInput, SendStepUpCodeInput, SendVerificationEmailInput, SetPasswordInput, SetPrincipalEntitiesInput, SetPrincipalScopeInput, SignInInput, SignInCrossOriginInput, SignInMagicLinkInput, SignInSmsOtpInput, SignOutInput, SignUpInput, SignUpMagicLinkInput, SignUpSmsInput, UpdatePrincipalInput, VerifyEmailInput, VerifyPasswordInput, VerifyPhoneInput, VerifyStepUpCodeInput, VerifyTotpInput, ApproveDevicePayload, CheckPasswordPayload, CompleteMfaChallengePayload, ConfirmDeleteAccountPayload, ConfirmTotpSetupPayload, CreateApiKeyPayload, CreateChildPrincipalPayload, CreateOrgApiKeyPayload, CreateOrgPrincipalPayload, CreatePrincipalFromPresetPayload, DeleteOrgPrincipalPayload, DeletePrincipalPayload, DisableEmailMfaPayload, DisableSmsMfaPayload, DisableTotpPayload, DisconnectAccountPayload, EnableEmailMfaPayload, EnableSmsMfaPayload, EnableTotpPayload, ExtendTokenExpiresPayload, ForgotPasswordPayload, GenerateBackupCodesPayload, LinkIdentityPayload, MintAccessTokenPayload, ProvisionBucketPayload, RefreshAccessTokenPayload, RequestCrossOriginTokenPayload, RequestMagicLinkPayload, ResetPasswordPayload, RevokeApiKeyPayload, RevokeOrgApiKeyPayload, RevokeSessionPayload, SendAccountDeletionEmailPayload, SendMfaChallengeCodePayload, SendPhoneVerificationCodePayload, SendSmsOtpPayload, SendStepUpCodePayload, SendVerificationEmailPayload, SetPasswordPayload, SetPrincipalEntitiesPayload, SetPrincipalScopePayload, SignInPayload, SignInCrossOriginPayload, SignInMagicLinkPayload, SignInSmsOtpPayload, SignOutPayload, SignUpPayload, SignUpMagicLinkPayload, SignUpSmsPayload, UpdatePrincipalPayload, VerifyEmailPayload, VerifyPasswordPayload, VerifyPhonePayload, VerifyStepUpCodePayload, VerifyTotpPayload, ApproveDevicePayloadSelect, CheckPasswordPayloadSelect, CompleteMfaChallengePayloadSelect, ConfirmDeleteAccountPayloadSelect, ConfirmTotpSetupPayloadSelect, CreateApiKeyPayloadSelect, CreateChildPrincipalPayloadSelect, CreateOrgApiKeyPayloadSelect, CreateOrgPrincipalPayloadSelect, CreatePrincipalFromPresetPayloadSelect, DeleteOrgPrincipalPayloadSelect, DeletePrincipalPayloadSelect, DisableEmailMfaPayloadSelect, DisableSmsMfaPayloadSelect, DisableTotpPayloadSelect, DisconnectAccountPayloadSelect, EnableEmailMfaPayloadSelect, EnableSmsMfaPayloadSelect, EnableTotpPayloadSelect, ExtendTokenExpiresPayloadSelect, ForgotPasswordPayloadSelect, GenerateBackupCodesPayloadSelect, LinkIdentityPayloadSelect, MintAccessTokenPayloadSelect, ProvisionBucketPayloadSelect, RefreshAccessTokenPayloadSelect, RequestCrossOriginTokenPayloadSelect, RequestMagicLinkPayloadSelect, ResetPasswordPayloadSelect, RevokeApiKeyPayloadSelect, RevokeOrgApiKeyPayloadSelect, RevokeSessionPayloadSelect, SendAccountDeletionEmailPayloadSelect, SendMfaChallengeCodePayloadSelect, SendPhoneVerificationCodePayloadSelect, SendSmsOtpPayloadSelect, SendStepUpCodePayloadSelect, SendVerificationEmailPayloadSelect, SetPasswordPayloadSelect, SetPrincipalEntitiesPayloadSelect, SetPrincipalScopePayloadSelect, SignInPayloadSelect, SignInCrossOriginPayloadSelect, SignInMagicLinkPayloadSelect, SignInSmsOtpPayloadSelect, SignOutPayloadSelect, SignUpPayloadSelect, SignUpMagicLinkPayloadSelect, SignUpSmsPayloadSelect, UpdatePrincipalPayloadSelect, VerifyEmailPayloadSelect, VerifyPasswordPayloadSelect, VerifyPhonePayloadSelect, VerifyStepUpCodePayloadSelect, VerifyTotpPayloadSelect } from '../input-types';
9
+ import type { ApproveDeviceInput, CancelSignUpHandoffInput, CheckPasswordInput, CompleteMfaChallengeInput, ConfirmDeleteAccountInput, ConfirmTotpSetupInput, CreateApiKeyInput, CreateChildPrincipalInput, CreateOrgApiKeyInput, CreateOrgPrincipalInput, CreatePrincipalInput, CreatePrincipalFromPresetInput, DeleteOrgPrincipalInput, DeletePrincipalInput, DisableEmailMfaInput, DisableSmsMfaInput, DisableTotpInput, DisconnectAccountInput, EnableEmailMfaInput, EnableSmsMfaInput, EnableTotpInput, EnsureAuthCsrfInput, ExchangeNativeHandoffInput, ExtendTokenExpiresInput, ForgotPasswordInput, GenerateBackupCodesInput, LinkIdentityInput, MintAccessTokenInput, ProvisionBucketInput, RefreshAccessTokenInput, RequestCrossOriginTokenInput, RequestDeviceApprovalInput, RequestMagicLinkInput, ResetPasswordInput, RevokeApiKeyInput, RevokeOrgApiKeyInput, RevokeSessionInput, SendAccountDeletionEmailInput, SendMfaChallengeCodeInput, SendPhoneVerificationCodeInput, SendSmsOtpInput, SendStepUpCodeInput, SendVerificationEmailInput, SetPasswordInput, SetPrincipalEntitiesInput, SetPrincipalScopeInput, SignInInput, SignInCrossOriginInput, SignInMagicLinkInput, SignInSmsOtpInput, SignOutInput, SignUpInput, SignUpMagicLinkInput, SignUpSmsInput, UpdatePrincipalInput, VerifyEmailInput, VerifyEmailHandoffInput, VerifyPasswordInput, VerifyPhoneInput, VerifyStepUpCodeInput, VerifyTotpInput, ApproveDevicePayload, CancelSignUpHandoffPayload, CheckPasswordPayload, CompleteMfaChallengePayload, ConfirmDeleteAccountPayload, ConfirmTotpSetupPayload, CreateApiKeyPayload, CreateChildPrincipalPayload, CreateOrgApiKeyPayload, CreateOrgPrincipalPayload, CreatePrincipalPayload, CreatePrincipalFromPresetPayload, DeleteOrgPrincipalPayload, DeletePrincipalPayload, DisableEmailMfaPayload, DisableSmsMfaPayload, DisableTotpPayload, DisconnectAccountPayload, EnableEmailMfaPayload, EnableSmsMfaPayload, EnableTotpPayload, EnsureAuthCsrfPayload, ExchangeNativeHandoffPayload, ExtendTokenExpiresPayload, ForgotPasswordPayload, GenerateBackupCodesPayload, LinkIdentityPayload, MintAccessTokenPayload, ProvisionBucketPayload, RefreshAccessTokenPayload, RequestCrossOriginTokenPayload, RequestDeviceApprovalPayload, RequestMagicLinkPayload, ResetPasswordPayload, RevokeApiKeyPayload, RevokeOrgApiKeyPayload, RevokeSessionPayload, SendAccountDeletionEmailPayload, SendMfaChallengeCodePayload, SendPhoneVerificationCodePayload, SendSmsOtpPayload, SendStepUpCodePayload, SendVerificationEmailPayload, SetPasswordPayload, SetPrincipalEntitiesPayload, SetPrincipalScopePayload, SignInPayload, SignInCrossOriginPayload, SignInMagicLinkPayload, SignInSmsOtpPayload, SignOutPayload, SignUpPayload, SignUpMagicLinkPayload, SignUpSmsPayload, UpdatePrincipalPayload, VerifyEmailPayload, VerifyEmailHandoffPayload, VerifyPasswordPayload, VerifyPhonePayload, VerifyStepUpCodePayload, VerifyTotpPayload, ApproveDevicePayloadSelect, CancelSignUpHandoffPayloadSelect, CheckPasswordPayloadSelect, CompleteMfaChallengePayloadSelect, ConfirmDeleteAccountPayloadSelect, ConfirmTotpSetupPayloadSelect, CreateApiKeyPayloadSelect, CreateChildPrincipalPayloadSelect, CreateOrgApiKeyPayloadSelect, CreateOrgPrincipalPayloadSelect, CreatePrincipalPayloadSelect, CreatePrincipalFromPresetPayloadSelect, DeleteOrgPrincipalPayloadSelect, DeletePrincipalPayloadSelect, DisableEmailMfaPayloadSelect, DisableSmsMfaPayloadSelect, DisableTotpPayloadSelect, DisconnectAccountPayloadSelect, EnableEmailMfaPayloadSelect, EnableSmsMfaPayloadSelect, EnableTotpPayloadSelect, EnsureAuthCsrfPayloadSelect, ExchangeNativeHandoffPayloadSelect, ExtendTokenExpiresPayloadSelect, ForgotPasswordPayloadSelect, GenerateBackupCodesPayloadSelect, LinkIdentityPayloadSelect, MintAccessTokenPayloadSelect, ProvisionBucketPayloadSelect, RefreshAccessTokenPayloadSelect, RequestCrossOriginTokenPayloadSelect, RequestDeviceApprovalPayloadSelect, RequestMagicLinkPayloadSelect, ResetPasswordPayloadSelect, RevokeApiKeyPayloadSelect, RevokeOrgApiKeyPayloadSelect, RevokeSessionPayloadSelect, SendAccountDeletionEmailPayloadSelect, SendMfaChallengeCodePayloadSelect, SendPhoneVerificationCodePayloadSelect, SendSmsOtpPayloadSelect, SendStepUpCodePayloadSelect, SendVerificationEmailPayloadSelect, SetPasswordPayloadSelect, SetPrincipalEntitiesPayloadSelect, SetPrincipalScopePayloadSelect, SignInPayloadSelect, SignInCrossOriginPayloadSelect, SignInMagicLinkPayloadSelect, SignInSmsOtpPayloadSelect, SignOutPayloadSelect, SignUpPayloadSelect, SignUpMagicLinkPayloadSelect, SignUpSmsPayloadSelect, UpdatePrincipalPayloadSelect, VerifyEmailPayloadSelect, VerifyEmailHandoffPayloadSelect, VerifyPasswordPayloadSelect, VerifyPhonePayloadSelect, VerifyStepUpCodePayloadSelect, VerifyTotpPayloadSelect } from '../input-types';
10
10
  export interface ApproveDeviceVariables {
11
11
  input: ApproveDeviceInput;
12
12
  }
13
+ export interface CancelSignUpHandoffVariables {
14
+ input: CancelSignUpHandoffInput;
15
+ }
13
16
  export interface CheckPasswordVariables {
14
17
  input: CheckPasswordInput;
15
18
  }
@@ -22,6 +25,10 @@ export interface ConfirmDeleteAccountVariables {
22
25
  export interface ConfirmTotpSetupVariables {
23
26
  input: ConfirmTotpSetupInput;
24
27
  }
28
+ /**
29
+ * Variables for createApiKey
30
+ * Mint an API key for the current user; the plaintext key is returned once. access_level: full_access (default) or read_only. mfa_level: none (default) or verified; verified needs a fresh MFA proof on the calling session. A key minted while authenticated by another API key never outlives that key.
31
+ */
25
32
  export interface CreateApiKeyVariables {
26
33
  input: CreateApiKeyInput;
27
34
  }
@@ -34,6 +41,9 @@ export interface CreateOrgApiKeyVariables {
34
41
  export interface CreateOrgPrincipalVariables {
35
42
  input: CreateOrgPrincipalInput;
36
43
  }
44
+ export interface CreatePrincipalVariables {
45
+ input: CreatePrincipalInput;
46
+ }
37
47
  export interface CreatePrincipalFromPresetVariables {
38
48
  input: CreatePrincipalFromPresetInput;
39
49
  }
@@ -64,6 +74,12 @@ export interface EnableSmsMfaVariables {
64
74
  export interface EnableTotpVariables {
65
75
  input: EnableTotpInput;
66
76
  }
77
+ export interface EnsureAuthCsrfVariables {
78
+ input: EnsureAuthCsrfInput;
79
+ }
80
+ export interface ExchangeNativeHandoffVariables {
81
+ input: ExchangeNativeHandoffInput;
82
+ }
67
83
  export interface ExtendTokenExpiresVariables {
68
84
  input: ExtendTokenExpiresInput;
69
85
  }
@@ -97,6 +113,9 @@ export interface RefreshAccessTokenVariables {
97
113
  export interface RequestCrossOriginTokenVariables {
98
114
  input: RequestCrossOriginTokenInput;
99
115
  }
116
+ export interface RequestDeviceApprovalVariables {
117
+ input: RequestDeviceApprovalInput;
118
+ }
100
119
  export interface RequestMagicLinkVariables {
101
120
  input: RequestMagicLinkInput;
102
121
  }
@@ -169,6 +188,9 @@ export interface UpdatePrincipalVariables {
169
188
  export interface VerifyEmailVariables {
170
189
  input: VerifyEmailInput;
171
190
  }
191
+ export interface VerifyEmailHandoffVariables {
192
+ input: VerifyEmailHandoffInput;
193
+ }
172
194
  export interface VerifyPasswordVariables {
173
195
  input: VerifyPasswordInput;
174
196
  }
@@ -187,6 +209,11 @@ export declare function createMutationOperations(client: OrmClient): {
187
209
  } & StrictSelect<S, ApproveDevicePayloadSelect>) => QueryBuilder<{
188
210
  approveDevice: InferSelectResult<ApproveDevicePayload, S> | null;
189
211
  }>;
212
+ cancelSignUpHandoff: <S extends CancelSignUpHandoffPayloadSelect>(args: CancelSignUpHandoffVariables, options: {
213
+ select: S;
214
+ } & StrictSelect<S, CancelSignUpHandoffPayloadSelect>) => QueryBuilder<{
215
+ cancelSignUpHandoff: InferSelectResult<CancelSignUpHandoffPayload, S> | null;
216
+ }>;
190
217
  checkPassword: <S extends CheckPasswordPayloadSelect>(args: CheckPasswordVariables, options: {
191
218
  select: S;
192
219
  } & StrictSelect<S, CheckPasswordPayloadSelect>) => QueryBuilder<{
@@ -227,6 +254,11 @@ export declare function createMutationOperations(client: OrmClient): {
227
254
  } & StrictSelect<S, CreateOrgPrincipalPayloadSelect>) => QueryBuilder<{
228
255
  createOrgPrincipal: InferSelectResult<CreateOrgPrincipalPayload, S> | null;
229
256
  }>;
257
+ createPrincipal: <S extends CreatePrincipalPayloadSelect>(args: CreatePrincipalVariables, options: {
258
+ select: S;
259
+ } & StrictSelect<S, CreatePrincipalPayloadSelect>) => QueryBuilder<{
260
+ createPrincipal: InferSelectResult<CreatePrincipalPayload, S> | null;
261
+ }>;
230
262
  createPrincipalFromPreset: <S extends CreatePrincipalFromPresetPayloadSelect>(args: CreatePrincipalFromPresetVariables, options: {
231
263
  select: S;
232
264
  } & StrictSelect<S, CreatePrincipalFromPresetPayloadSelect>) => QueryBuilder<{
@@ -277,6 +309,16 @@ export declare function createMutationOperations(client: OrmClient): {
277
309
  } & StrictSelect<S, EnableTotpPayloadSelect>) => QueryBuilder<{
278
310
  enableTotp: InferSelectResult<EnableTotpPayload, S> | null;
279
311
  }>;
312
+ ensureAuthCsrf: <S extends EnsureAuthCsrfPayloadSelect>(args: EnsureAuthCsrfVariables, options: {
313
+ select: S;
314
+ } & StrictSelect<S, EnsureAuthCsrfPayloadSelect>) => QueryBuilder<{
315
+ ensureAuthCsrf: InferSelectResult<EnsureAuthCsrfPayload, S> | null;
316
+ }>;
317
+ exchangeNativeHandoff: <S extends ExchangeNativeHandoffPayloadSelect>(args: ExchangeNativeHandoffVariables, options: {
318
+ select: S;
319
+ } & StrictSelect<S, ExchangeNativeHandoffPayloadSelect>) => QueryBuilder<{
320
+ exchangeNativeHandoff: InferSelectResult<ExchangeNativeHandoffPayload, S> | null;
321
+ }>;
280
322
  extendTokenExpires: <S extends ExtendTokenExpiresPayloadSelect>(args: ExtendTokenExpiresVariables, options: {
281
323
  select: S;
282
324
  } & StrictSelect<S, ExtendTokenExpiresPayloadSelect>) => QueryBuilder<{
@@ -317,6 +359,11 @@ export declare function createMutationOperations(client: OrmClient): {
317
359
  } & StrictSelect<S, RequestCrossOriginTokenPayloadSelect>) => QueryBuilder<{
318
360
  requestCrossOriginToken: InferSelectResult<RequestCrossOriginTokenPayload, S> | null;
319
361
  }>;
362
+ requestDeviceApproval: <S extends RequestDeviceApprovalPayloadSelect>(args: RequestDeviceApprovalVariables, options: {
363
+ select: S;
364
+ } & StrictSelect<S, RequestDeviceApprovalPayloadSelect>) => QueryBuilder<{
365
+ requestDeviceApproval: InferSelectResult<RequestDeviceApprovalPayload, S> | null;
366
+ }>;
320
367
  requestMagicLink: <S extends RequestMagicLinkPayloadSelect>(args: RequestMagicLinkVariables, options: {
321
368
  select: S;
322
369
  } & StrictSelect<S, RequestMagicLinkPayloadSelect>) => QueryBuilder<{
@@ -437,6 +484,11 @@ export declare function createMutationOperations(client: OrmClient): {
437
484
  } & StrictSelect<S, VerifyEmailPayloadSelect>) => QueryBuilder<{
438
485
  verifyEmail: InferSelectResult<VerifyEmailPayload, S> | null;
439
486
  }>;
487
+ verifyEmailHandoff: <S extends VerifyEmailHandoffPayloadSelect>(args: VerifyEmailHandoffVariables, options: {
488
+ select: S;
489
+ } & StrictSelect<S, VerifyEmailHandoffPayloadSelect>) => QueryBuilder<{
490
+ verifyEmailHandoff: InferSelectResult<VerifyEmailHandoffPayload, S> | null;
491
+ }>;
440
492
  verifyPassword: <S extends VerifyPasswordPayloadSelect>(args: VerifyPasswordVariables, options: {
441
493
  select: S;
442
494
  } & StrictSelect<S, VerifyPasswordPayloadSelect>) => QueryBuilder<{
@@ -14,6 +14,18 @@ export function createMutationOperations(client) {
14
14
  },
15
15
  ], connectionFieldsMap, 'ApproveDevicePayload'),
16
16
  }),
17
+ cancelSignUpHandoff: (args, options) => new QueryBuilder({
18
+ client,
19
+ operation: 'mutation',
20
+ operationName: 'CancelSignUpHandoff',
21
+ fieldName: 'cancelSignUpHandoff',
22
+ ...buildCustomDocument('mutation', 'CancelSignUpHandoff', 'cancelSignUpHandoff', options.select, args, [
23
+ {
24
+ name: 'input',
25
+ type: 'CancelSignUpHandoffInput!',
26
+ },
27
+ ], connectionFieldsMap, 'CancelSignUpHandoffPayload'),
28
+ }),
17
29
  checkPassword: (args, options) => new QueryBuilder({
18
30
  client,
19
31
  operation: 'mutation',
@@ -110,6 +122,18 @@ export function createMutationOperations(client) {
110
122
  },
111
123
  ], connectionFieldsMap, 'CreateOrgPrincipalPayload'),
112
124
  }),
125
+ createPrincipal: (args, options) => new QueryBuilder({
126
+ client,
127
+ operation: 'mutation',
128
+ operationName: 'CreatePrincipal',
129
+ fieldName: 'createPrincipal',
130
+ ...buildCustomDocument('mutation', 'CreatePrincipal', 'createPrincipal', options.select, args, [
131
+ {
132
+ name: 'input',
133
+ type: 'CreatePrincipalInput!',
134
+ },
135
+ ], connectionFieldsMap, 'CreatePrincipalPayload'),
136
+ }),
113
137
  createPrincipalFromPreset: (args, options) => new QueryBuilder({
114
138
  client,
115
139
  operation: 'mutation',
@@ -230,6 +254,30 @@ export function createMutationOperations(client) {
230
254
  },
231
255
  ], connectionFieldsMap, 'EnableTotpPayload'),
232
256
  }),
257
+ ensureAuthCsrf: (args, options) => new QueryBuilder({
258
+ client,
259
+ operation: 'mutation',
260
+ operationName: 'EnsureAuthCsrf',
261
+ fieldName: 'ensureAuthCsrf',
262
+ ...buildCustomDocument('mutation', 'EnsureAuthCsrf', 'ensureAuthCsrf', options.select, args, [
263
+ {
264
+ name: 'input',
265
+ type: 'EnsureAuthCsrfInput!',
266
+ },
267
+ ], connectionFieldsMap, 'EnsureAuthCsrfPayload'),
268
+ }),
269
+ exchangeNativeHandoff: (args, options) => new QueryBuilder({
270
+ client,
271
+ operation: 'mutation',
272
+ operationName: 'ExchangeNativeHandoff',
273
+ fieldName: 'exchangeNativeHandoff',
274
+ ...buildCustomDocument('mutation', 'ExchangeNativeHandoff', 'exchangeNativeHandoff', options.select, args, [
275
+ {
276
+ name: 'input',
277
+ type: 'ExchangeNativeHandoffInput!',
278
+ },
279
+ ], connectionFieldsMap, 'ExchangeNativeHandoffPayload'),
280
+ }),
233
281
  extendTokenExpires: (args, options) => new QueryBuilder({
234
282
  client,
235
283
  operation: 'mutation',
@@ -326,6 +374,18 @@ export function createMutationOperations(client) {
326
374
  },
327
375
  ], connectionFieldsMap, 'RequestCrossOriginTokenPayload'),
328
376
  }),
377
+ requestDeviceApproval: (args, options) => new QueryBuilder({
378
+ client,
379
+ operation: 'mutation',
380
+ operationName: 'RequestDeviceApproval',
381
+ fieldName: 'requestDeviceApproval',
382
+ ...buildCustomDocument('mutation', 'RequestDeviceApproval', 'requestDeviceApproval', options.select, args, [
383
+ {
384
+ name: 'input',
385
+ type: 'RequestDeviceApprovalInput!',
386
+ },
387
+ ], connectionFieldsMap, 'RequestDeviceApprovalPayload'),
388
+ }),
329
389
  requestMagicLink: (args, options) => new QueryBuilder({
330
390
  client,
331
391
  operation: 'mutation',
@@ -614,6 +674,18 @@ export function createMutationOperations(client) {
614
674
  },
615
675
  ], connectionFieldsMap, 'VerifyEmailPayload'),
616
676
  }),
677
+ verifyEmailHandoff: (args, options) => new QueryBuilder({
678
+ client,
679
+ operation: 'mutation',
680
+ operationName: 'VerifyEmailHandoff',
681
+ fieldName: 'verifyEmailHandoff',
682
+ ...buildCustomDocument('mutation', 'VerifyEmailHandoff', 'verifyEmailHandoff', options.select, args, [
683
+ {
684
+ name: 'input',
685
+ type: 'VerifyEmailHandoffInput!',
686
+ },
687
+ ], connectionFieldsMap, 'VerifyEmailHandoffPayload'),
688
+ }),
617
689
  verifyPassword: (args, options) => new QueryBuilder({
618
690
  client,
619
691
  operation: 'mutation',
@@ -6,7 +6,7 @@
6
6
  import { OrmClient } from '../client';
7
7
  import { QueryBuilder } from '../query-builder';
8
8
  import type { InferSelectResult, StrictSelect } from '../select-types';
9
- import type { User, GetMfaStatusRecord, UserSelect, GetMfaStatusRecordSelect } from '../input-types';
9
+ import type { User, GetMfaStatusRecord, SignInOptionsRecord, UserSelect, GetMfaStatusRecordSelect, SignInOptionsRecordSelect } from '../input-types';
10
10
  export interface RequireStepUpVariables {
11
11
  stepUpType?: string;
12
12
  }
@@ -41,4 +41,9 @@ export declare function createQueryOperations(client: OrmClient): {
41
41
  }) => QueryBuilder<{
42
42
  requireStepUp: boolean | null;
43
43
  }>;
44
+ signInOptions: <S extends SignInOptionsRecordSelect>(options: {
45
+ select: S;
46
+ } & StrictSelect<S, SignInOptionsRecordSelect>) => QueryBuilder<{
47
+ signInOptions: InferSelectResult<SignInOptionsRecord, S> | null;
48
+ }>;
44
49
  };
@@ -49,5 +49,12 @@ export function createQueryOperations(client) {
49
49
  },
50
50
  ], connectionFieldsMap, undefined),
51
51
  }),
52
+ signInOptions: (options) => new QueryBuilder({
53
+ client,
54
+ operation: 'query',
55
+ operationName: 'SignInOptions',
56
+ fieldName: 'signInOptions',
57
+ ...buildCustomDocument('query', 'SignInOptions', 'signInOptions', options.select, undefined, [], connectionFieldsMap, 'SignInOptionsRecord'),
58
+ }),
52
59
  };
53
60
  }
@@ -94,9 +94,7 @@ export function buildSelections(select, connectionFieldsMap, entityType) {
94
94
  const fieldArgs = Object.entries(nested.args).map(([argName, argValue]) => t.argument({ name: argName, value: buildValueAst(argValue) }));
95
95
  const nestedSelect = nested.select;
96
96
  if (nestedSelect && typeof nestedSelect === 'object') {
97
- const subSelections = Object.entries(nestedSelect)
98
- .filter(([, v]) => v)
99
- .map(([name]) => t.field({ name }));
97
+ const subSelections = buildSelections(nestedSelect, connectionFieldsMap);
100
98
  fields.push(t.field({
101
99
  name: key,
102
100
  args: fieldArgs.length ? fieldArgs : undefined,
@@ -120,6 +120,6 @@ export type HookStrictSelect<S, Shape> = S extends DeepExact<S, Shape, 5> ? {} :
120
120
  export type InferSelectResult<TEntity, TSelect> = TSelect extends undefined ? TEntity : {
121
121
  [K in keyof TSelect as TSelect[K] extends false | undefined ? never : K]: TSelect[K] extends true ? K extends keyof TEntity ? TEntity[K] : never : TSelect[K] extends {
122
122
  select: infer NestedSelect;
123
- } ? K extends keyof TEntity ? NonNullable<TEntity[K]> extends ConnectionResult<infer NodeType> ? ConnectionResult<InferSelectResult<NodeType, NestedSelect>> : InferSelectResult<NonNullable<TEntity[K]>, NestedSelect> | (null extends TEntity[K] ? null : never) : never : K extends keyof TEntity ? TEntity[K] : never;
123
+ } ? K extends keyof TEntity ? NonNullable<TEntity[K]> extends ConnectionResult<infer NodeType> ? ConnectionResult<InferSelectResult<NodeType, NestedSelect>> : NonNullable<TEntity[K]> extends readonly (infer Item)[] ? InferSelectResult<NonNullable<Item>, NestedSelect>[] | (null extends TEntity[K] ? null : never) : InferSelectResult<NonNullable<TEntity[K]>, NestedSelect> | (null extends TEntity[K] ? null : never) : never : K extends keyof TEntity ? TEntity[K] : never;
124
124
  };
125
125
  export {};