@constructive-io/sdk 0.25.16 → 0.25.17

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 (566) hide show
  1. package/README.md +2 -0
  2. package/admin/orm/models/appAdminGrant.js +1 -1
  3. package/admin/orm/models/appClaimedInvite.js +1 -1
  4. package/admin/orm/models/appGrant.js +1 -1
  5. package/admin/orm/models/appInvite.js +1 -1
  6. package/admin/orm/models/appMembership.js +1 -1
  7. package/admin/orm/models/appMembershipDefault.js +1 -1
  8. package/admin/orm/models/appOwnerGrant.js +1 -1
  9. package/admin/orm/models/appPermission.js +1 -1
  10. package/admin/orm/models/appPermissionDefault.js +1 -1
  11. package/admin/orm/models/appPermissionDefaultGrant.js +1 -1
  12. package/admin/orm/models/appPermissionDefaultPermission.js +1 -1
  13. package/admin/orm/models/membershipType.js +1 -1
  14. package/admin/orm/models/orgAdminGrant.js +1 -1
  15. package/admin/orm/models/orgChartEdge.js +1 -1
  16. package/admin/orm/models/orgChartEdgeGrant.js +1 -1
  17. package/admin/orm/models/orgClaimedInvite.js +1 -1
  18. package/admin/orm/models/orgGrant.js +1 -1
  19. package/admin/orm/models/orgInvite.js +1 -1
  20. package/admin/orm/models/orgMember.js +1 -1
  21. package/admin/orm/models/orgMemberProfile.js +1 -1
  22. package/admin/orm/models/orgMembership.js +1 -1
  23. package/admin/orm/models/orgMembershipDefault.js +1 -1
  24. package/admin/orm/models/orgMembershipSetting.js +1 -1
  25. package/admin/orm/models/orgOwnerGrant.js +1 -1
  26. package/admin/orm/models/orgPermission.js +1 -1
  27. package/admin/orm/models/orgPermissionDefault.js +1 -1
  28. package/admin/orm/models/orgPermissionDefaultGrant.js +1 -1
  29. package/admin/orm/models/orgPermissionDefaultPermission.js +1 -1
  30. package/admin/orm/query-builder.d.ts +1 -1
  31. package/admin/orm/query-builder.js +2 -1
  32. package/agent/orm/input-types.d.ts +14 -2
  33. package/agent/orm/models/agent.js +1 -1
  34. package/agent/orm/models/agentMessage.js +1 -1
  35. package/agent/orm/models/agentPersona.js +1 -1
  36. package/agent/orm/models/agentPlan.js +1 -1
  37. package/agent/orm/models/agentPrompt.js +1 -1
  38. package/agent/orm/models/agentResource.js +1 -1
  39. package/agent/orm/models/agentResourceChunk.js +1 -1
  40. package/agent/orm/models/agentTask.js +1 -1
  41. package/agent/orm/models/agentThread.js +1 -1
  42. package/agent/orm/query-builder.d.ts +1 -1
  43. package/agent/orm/query-builder.js +2 -1
  44. package/api/orm/input-types.d.ts +36 -1
  45. package/api/orm/models/api.js +1 -1
  46. package/api/orm/models/apiModule.js +1 -1
  47. package/api/orm/models/apiSchema.js +1 -1
  48. package/api/orm/models/apiSetting.js +1 -1
  49. package/api/orm/models/app.js +1 -1
  50. package/api/orm/models/checkConstraint.js +1 -1
  51. package/api/orm/models/compositeType.js +1 -1
  52. package/api/orm/models/corsSetting.js +1 -1
  53. package/api/orm/models/database.js +1 -1
  54. package/api/orm/models/databaseSetting.js +1 -1
  55. package/api/orm/models/databaseTransfer.js +1 -1
  56. package/api/orm/models/defaultPrivilege.js +1 -1
  57. package/api/orm/models/domain.js +1 -1
  58. package/api/orm/models/embeddingChunk.js +1 -1
  59. package/api/orm/models/enum.js +1 -1
  60. package/api/orm/models/field.js +1 -1
  61. package/api/orm/models/foreignKeyConstraint.js +1 -1
  62. package/api/orm/models/fullTextSearch.js +1 -1
  63. package/api/orm/models/function.js +1 -1
  64. package/api/orm/models/indexModel.js +1 -1
  65. package/api/orm/models/nodeTypeRegistry.js +1 -1
  66. package/api/orm/models/partition.js +1 -1
  67. package/api/orm/models/policy.js +1 -1
  68. package/api/orm/models/primaryKeyConstraint.js +1 -1
  69. package/api/orm/models/pubkeySetting.js +1 -1
  70. package/api/orm/models/rlsSetting.js +1 -1
  71. package/api/orm/models/schema.js +1 -1
  72. package/api/orm/models/schemaGrant.js +1 -1
  73. package/api/orm/models/site.js +1 -1
  74. package/api/orm/models/siteMetadatum.js +1 -1
  75. package/api/orm/models/siteModule.js +1 -1
  76. package/api/orm/models/siteTheme.js +1 -1
  77. package/api/orm/models/spatialRelation.js +1 -1
  78. package/api/orm/models/table.js +1 -1
  79. package/api/orm/models/tableGrant.js +1 -1
  80. package/api/orm/models/trigger.js +1 -1
  81. package/api/orm/models/triggerFunction.js +1 -1
  82. package/api/orm/models/uniqueConstraint.js +1 -1
  83. package/api/orm/models/view.js +1 -1
  84. package/api/orm/models/viewGrant.js +1 -1
  85. package/api/orm/models/viewRule.js +1 -1
  86. package/api/orm/models/viewTable.js +1 -1
  87. package/api/orm/models/webauthnSetting.js +1 -1
  88. package/api/orm/query-builder.d.ts +1 -1
  89. package/api/orm/query-builder.js +2 -1
  90. package/auth/orm/input-types.d.ts +4 -2
  91. package/auth/orm/models/auditLogAuth.d.ts +2 -0
  92. package/auth/orm/models/auditLogAuth.js +4 -1
  93. package/auth/orm/models/cryptoAddress.js +1 -1
  94. package/auth/orm/models/email.js +1 -1
  95. package/auth/orm/models/phoneNumber.js +1 -1
  96. package/auth/orm/models/roleType.js +1 -1
  97. package/auth/orm/models/user.js +1 -1
  98. package/auth/orm/models/webauthnCredential.js +1 -1
  99. package/auth/orm/query-builder.d.ts +1 -1
  100. package/auth/orm/query-builder.js +2 -1
  101. package/compute/index.d.ts +5 -0
  102. package/compute/index.js +21 -0
  103. package/compute/orm/client.d.ts +97 -0
  104. package/compute/orm/client.js +152 -0
  105. package/compute/orm/index.d.ts +148 -0
  106. package/compute/orm/index.js +103 -0
  107. package/compute/orm/input-types.d.ts +4243 -0
  108. package/compute/orm/input-types.js +10 -0
  109. package/compute/orm/models/functionApiBinding.d.ts +54 -0
  110. package/compute/orm/models/functionApiBinding.js +104 -0
  111. package/compute/orm/models/functionDefinition.d.ts +54 -0
  112. package/compute/orm/models/functionDefinition.js +104 -0
  113. package/compute/orm/models/functionDeployment.d.ts +54 -0
  114. package/compute/orm/models/functionDeployment.js +104 -0
  115. package/compute/orm/models/functionDeploymentEvent.d.ts +56 -0
  116. package/compute/orm/models/functionDeploymentEvent.js +107 -0
  117. package/compute/orm/models/functionExecutionLog.d.ts +56 -0
  118. package/compute/orm/models/functionExecutionLog.js +107 -0
  119. package/compute/orm/models/functionGraph.d.ts +54 -0
  120. package/compute/orm/models/functionGraph.js +104 -0
  121. package/compute/orm/models/functionGraphCommit.d.ts +56 -0
  122. package/compute/orm/models/functionGraphCommit.js +107 -0
  123. package/compute/orm/models/functionGraphExecution.d.ts +56 -0
  124. package/compute/orm/models/functionGraphExecution.js +107 -0
  125. package/compute/orm/models/functionGraphExecutionNodeState.d.ts +56 -0
  126. package/compute/orm/models/functionGraphExecutionNodeState.js +107 -0
  127. package/compute/orm/models/functionGraphExecutionOutput.d.ts +56 -0
  128. package/compute/orm/models/functionGraphExecutionOutput.js +107 -0
  129. package/compute/orm/models/functionGraphObject.d.ts +56 -0
  130. package/compute/orm/models/functionGraphObject.js +97 -0
  131. package/compute/orm/models/functionGraphRef.d.ts +56 -0
  132. package/compute/orm/models/functionGraphRef.js +107 -0
  133. package/compute/orm/models/functionGraphStore.d.ts +54 -0
  134. package/compute/orm/models/functionGraphStore.js +104 -0
  135. package/compute/orm/models/functionInvocation.d.ts +56 -0
  136. package/compute/orm/models/functionInvocation.js +107 -0
  137. package/compute/orm/models/getAllRecord.d.ts +30 -0
  138. package/compute/orm/models/getAllRecord.js +59 -0
  139. package/compute/orm/models/index.d.ts +23 -0
  140. package/compute/orm/models/index.js +44 -0
  141. package/compute/orm/models/orgFunctionExecutionLog.d.ts +56 -0
  142. package/compute/orm/models/orgFunctionExecutionLog.js +107 -0
  143. package/compute/orm/models/orgFunctionInvocation.d.ts +56 -0
  144. package/compute/orm/models/orgFunctionInvocation.js +107 -0
  145. package/compute/orm/models/secretDefinition.d.ts +54 -0
  146. package/compute/orm/models/secretDefinition.js +104 -0
  147. package/compute/orm/mutation/index.d.ts +130 -0
  148. package/compute/orm/mutation/index.js +177 -0
  149. package/compute/orm/query/index.d.ts +17 -0
  150. package/compute/orm/query/index.js +21 -0
  151. package/compute/orm/query-builder.d.ts +110 -0
  152. package/compute/orm/query-builder.js +757 -0
  153. package/compute/orm/realtime.d.ts +142 -0
  154. package/compute/orm/realtime.js +104 -0
  155. package/compute/orm/select-types.d.ts +125 -0
  156. package/compute/orm/select-types.js +2 -0
  157. package/compute/orm/types.d.ts +6 -0
  158. package/compute/orm/types.js +23 -0
  159. package/config/index.d.ts +5 -0
  160. package/config/index.js +21 -0
  161. package/config/orm/client.d.ts +97 -0
  162. package/config/orm/client.js +152 -0
  163. package/config/orm/index.d.ts +83 -0
  164. package/config/orm/index.js +67 -0
  165. package/config/orm/input-types.d.ts +719 -0
  166. package/config/orm/input-types.js +5 -0
  167. package/config/orm/models/index.d.ts +7 -0
  168. package/config/orm/models/index.js +12 -0
  169. package/config/orm/models/platformConfig.d.ts +54 -0
  170. package/config/orm/models/platformConfig.js +104 -0
  171. package/config/orm/models/platformConfigDefinition.d.ts +54 -0
  172. package/config/orm/models/platformConfigDefinition.js +104 -0
  173. package/config/orm/mutation/index.d.ts +90 -0
  174. package/config/orm/mutation/index.js +117 -0
  175. package/config/orm/query-builder.d.ts +110 -0
  176. package/config/orm/query-builder.js +757 -0
  177. package/config/orm/realtime.d.ts +142 -0
  178. package/config/orm/realtime.js +104 -0
  179. package/config/orm/select-types.d.ts +125 -0
  180. package/config/orm/select-types.js +2 -0
  181. package/config/orm/types.d.ts +6 -0
  182. package/config/orm/types.js +23 -0
  183. package/esm/admin/orm/models/appAdminGrant.js +1 -1
  184. package/esm/admin/orm/models/appClaimedInvite.js +1 -1
  185. package/esm/admin/orm/models/appGrant.js +1 -1
  186. package/esm/admin/orm/models/appInvite.js +1 -1
  187. package/esm/admin/orm/models/appMembership.js +1 -1
  188. package/esm/admin/orm/models/appMembershipDefault.js +1 -1
  189. package/esm/admin/orm/models/appOwnerGrant.js +1 -1
  190. package/esm/admin/orm/models/appPermission.js +1 -1
  191. package/esm/admin/orm/models/appPermissionDefault.js +1 -1
  192. package/esm/admin/orm/models/appPermissionDefaultGrant.js +1 -1
  193. package/esm/admin/orm/models/appPermissionDefaultPermission.js +1 -1
  194. package/esm/admin/orm/models/membershipType.js +1 -1
  195. package/esm/admin/orm/models/orgAdminGrant.js +1 -1
  196. package/esm/admin/orm/models/orgChartEdge.js +1 -1
  197. package/esm/admin/orm/models/orgChartEdgeGrant.js +1 -1
  198. package/esm/admin/orm/models/orgClaimedInvite.js +1 -1
  199. package/esm/admin/orm/models/orgGrant.js +1 -1
  200. package/esm/admin/orm/models/orgInvite.js +1 -1
  201. package/esm/admin/orm/models/orgMember.js +1 -1
  202. package/esm/admin/orm/models/orgMemberProfile.js +1 -1
  203. package/esm/admin/orm/models/orgMembership.js +1 -1
  204. package/esm/admin/orm/models/orgMembershipDefault.js +1 -1
  205. package/esm/admin/orm/models/orgMembershipSetting.js +1 -1
  206. package/esm/admin/orm/models/orgOwnerGrant.js +1 -1
  207. package/esm/admin/orm/models/orgPermission.js +1 -1
  208. package/esm/admin/orm/models/orgPermissionDefault.js +1 -1
  209. package/esm/admin/orm/models/orgPermissionDefaultGrant.js +1 -1
  210. package/esm/admin/orm/models/orgPermissionDefaultPermission.js +1 -1
  211. package/esm/admin/orm/query-builder.d.ts +1 -1
  212. package/esm/admin/orm/query-builder.js +2 -1
  213. package/esm/agent/orm/input-types.d.ts +14 -2
  214. package/esm/agent/orm/models/agent.js +1 -1
  215. package/esm/agent/orm/models/agentMessage.js +1 -1
  216. package/esm/agent/orm/models/agentPersona.js +1 -1
  217. package/esm/agent/orm/models/agentPlan.js +1 -1
  218. package/esm/agent/orm/models/agentPrompt.js +1 -1
  219. package/esm/agent/orm/models/agentResource.js +1 -1
  220. package/esm/agent/orm/models/agentResourceChunk.js +1 -1
  221. package/esm/agent/orm/models/agentTask.js +1 -1
  222. package/esm/agent/orm/models/agentThread.js +1 -1
  223. package/esm/agent/orm/query-builder.d.ts +1 -1
  224. package/esm/agent/orm/query-builder.js +2 -1
  225. package/esm/api/orm/input-types.d.ts +36 -1
  226. package/esm/api/orm/models/api.js +1 -1
  227. package/esm/api/orm/models/apiModule.js +1 -1
  228. package/esm/api/orm/models/apiSchema.js +1 -1
  229. package/esm/api/orm/models/apiSetting.js +1 -1
  230. package/esm/api/orm/models/app.js +1 -1
  231. package/esm/api/orm/models/checkConstraint.js +1 -1
  232. package/esm/api/orm/models/compositeType.js +1 -1
  233. package/esm/api/orm/models/corsSetting.js +1 -1
  234. package/esm/api/orm/models/database.js +1 -1
  235. package/esm/api/orm/models/databaseSetting.js +1 -1
  236. package/esm/api/orm/models/databaseTransfer.js +1 -1
  237. package/esm/api/orm/models/defaultPrivilege.js +1 -1
  238. package/esm/api/orm/models/domain.js +1 -1
  239. package/esm/api/orm/models/embeddingChunk.js +1 -1
  240. package/esm/api/orm/models/enum.js +1 -1
  241. package/esm/api/orm/models/field.js +1 -1
  242. package/esm/api/orm/models/foreignKeyConstraint.js +1 -1
  243. package/esm/api/orm/models/fullTextSearch.js +1 -1
  244. package/esm/api/orm/models/function.js +1 -1
  245. package/esm/api/orm/models/indexModel.js +1 -1
  246. package/esm/api/orm/models/nodeTypeRegistry.js +1 -1
  247. package/esm/api/orm/models/partition.js +1 -1
  248. package/esm/api/orm/models/policy.js +1 -1
  249. package/esm/api/orm/models/primaryKeyConstraint.js +1 -1
  250. package/esm/api/orm/models/pubkeySetting.js +1 -1
  251. package/esm/api/orm/models/rlsSetting.js +1 -1
  252. package/esm/api/orm/models/schema.js +1 -1
  253. package/esm/api/orm/models/schemaGrant.js +1 -1
  254. package/esm/api/orm/models/site.js +1 -1
  255. package/esm/api/orm/models/siteMetadatum.js +1 -1
  256. package/esm/api/orm/models/siteModule.js +1 -1
  257. package/esm/api/orm/models/siteTheme.js +1 -1
  258. package/esm/api/orm/models/spatialRelation.js +1 -1
  259. package/esm/api/orm/models/table.js +1 -1
  260. package/esm/api/orm/models/tableGrant.js +1 -1
  261. package/esm/api/orm/models/trigger.js +1 -1
  262. package/esm/api/orm/models/triggerFunction.js +1 -1
  263. package/esm/api/orm/models/uniqueConstraint.js +1 -1
  264. package/esm/api/orm/models/view.js +1 -1
  265. package/esm/api/orm/models/viewGrant.js +1 -1
  266. package/esm/api/orm/models/viewRule.js +1 -1
  267. package/esm/api/orm/models/viewTable.js +1 -1
  268. package/esm/api/orm/models/webauthnSetting.js +1 -1
  269. package/esm/api/orm/query-builder.d.ts +1 -1
  270. package/esm/api/orm/query-builder.js +2 -1
  271. package/esm/auth/orm/input-types.d.ts +4 -2
  272. package/esm/auth/orm/models/auditLogAuth.d.ts +2 -0
  273. package/esm/auth/orm/models/auditLogAuth.js +4 -1
  274. package/esm/auth/orm/models/cryptoAddress.js +1 -1
  275. package/esm/auth/orm/models/email.js +1 -1
  276. package/esm/auth/orm/models/phoneNumber.js +1 -1
  277. package/esm/auth/orm/models/roleType.js +1 -1
  278. package/esm/auth/orm/models/user.js +1 -1
  279. package/esm/auth/orm/models/webauthnCredential.js +1 -1
  280. package/esm/auth/orm/query-builder.d.ts +1 -1
  281. package/esm/auth/orm/query-builder.js +2 -1
  282. package/esm/compute/index.d.ts +5 -0
  283. package/esm/compute/index.js +5 -0
  284. package/esm/compute/orm/client.d.ts +97 -0
  285. package/esm/compute/orm/client.js +145 -0
  286. package/esm/compute/orm/index.d.ts +148 -0
  287. package/esm/compute/orm/index.js +80 -0
  288. package/esm/compute/orm/input-types.d.ts +4243 -0
  289. package/esm/compute/orm/input-types.js +7 -0
  290. package/esm/compute/orm/models/functionApiBinding.d.ts +54 -0
  291. package/esm/compute/orm/models/functionApiBinding.js +100 -0
  292. package/esm/compute/orm/models/functionDefinition.d.ts +54 -0
  293. package/esm/compute/orm/models/functionDefinition.js +100 -0
  294. package/esm/compute/orm/models/functionDeployment.d.ts +54 -0
  295. package/esm/compute/orm/models/functionDeployment.js +100 -0
  296. package/esm/compute/orm/models/functionDeploymentEvent.d.ts +56 -0
  297. package/esm/compute/orm/models/functionDeploymentEvent.js +103 -0
  298. package/esm/compute/orm/models/functionExecutionLog.d.ts +56 -0
  299. package/esm/compute/orm/models/functionExecutionLog.js +103 -0
  300. package/esm/compute/orm/models/functionGraph.d.ts +54 -0
  301. package/esm/compute/orm/models/functionGraph.js +100 -0
  302. package/esm/compute/orm/models/functionGraphCommit.d.ts +56 -0
  303. package/esm/compute/orm/models/functionGraphCommit.js +103 -0
  304. package/esm/compute/orm/models/functionGraphExecution.d.ts +56 -0
  305. package/esm/compute/orm/models/functionGraphExecution.js +103 -0
  306. package/esm/compute/orm/models/functionGraphExecutionNodeState.d.ts +56 -0
  307. package/esm/compute/orm/models/functionGraphExecutionNodeState.js +103 -0
  308. package/esm/compute/orm/models/functionGraphExecutionOutput.d.ts +56 -0
  309. package/esm/compute/orm/models/functionGraphExecutionOutput.js +103 -0
  310. package/esm/compute/orm/models/functionGraphObject.d.ts +56 -0
  311. package/esm/compute/orm/models/functionGraphObject.js +93 -0
  312. package/esm/compute/orm/models/functionGraphRef.d.ts +56 -0
  313. package/esm/compute/orm/models/functionGraphRef.js +103 -0
  314. package/esm/compute/orm/models/functionGraphStore.d.ts +54 -0
  315. package/esm/compute/orm/models/functionGraphStore.js +100 -0
  316. package/esm/compute/orm/models/functionInvocation.d.ts +56 -0
  317. package/esm/compute/orm/models/functionInvocation.js +103 -0
  318. package/esm/compute/orm/models/getAllRecord.d.ts +30 -0
  319. package/esm/compute/orm/models/getAllRecord.js +55 -0
  320. package/esm/compute/orm/models/index.d.ts +23 -0
  321. package/esm/compute/orm/models/index.js +23 -0
  322. package/esm/compute/orm/models/orgFunctionExecutionLog.d.ts +56 -0
  323. package/esm/compute/orm/models/orgFunctionExecutionLog.js +103 -0
  324. package/esm/compute/orm/models/orgFunctionInvocation.d.ts +56 -0
  325. package/esm/compute/orm/models/orgFunctionInvocation.js +103 -0
  326. package/esm/compute/orm/models/secretDefinition.d.ts +54 -0
  327. package/esm/compute/orm/models/secretDefinition.js +100 -0
  328. package/esm/compute/orm/mutation/index.d.ts +130 -0
  329. package/esm/compute/orm/mutation/index.js +174 -0
  330. package/esm/compute/orm/query/index.d.ts +17 -0
  331. package/esm/compute/orm/query/index.js +18 -0
  332. package/esm/compute/orm/query-builder.d.ts +110 -0
  333. package/esm/compute/orm/query-builder.js +705 -0
  334. package/esm/compute/orm/realtime.d.ts +142 -0
  335. package/esm/compute/orm/realtime.js +100 -0
  336. package/esm/compute/orm/select-types.d.ts +125 -0
  337. package/esm/compute/orm/select-types.js +1 -0
  338. package/esm/compute/orm/types.d.ts +6 -0
  339. package/esm/compute/orm/types.js +7 -0
  340. package/esm/config/index.d.ts +5 -0
  341. package/esm/config/index.js +5 -0
  342. package/esm/config/orm/client.d.ts +97 -0
  343. package/esm/config/orm/client.js +145 -0
  344. package/esm/config/orm/index.d.ts +83 -0
  345. package/esm/config/orm/index.js +45 -0
  346. package/esm/config/orm/input-types.d.ts +719 -0
  347. package/esm/config/orm/input-types.js +2 -0
  348. package/esm/config/orm/models/index.d.ts +7 -0
  349. package/esm/config/orm/models/index.js +7 -0
  350. package/esm/config/orm/models/platformConfig.d.ts +54 -0
  351. package/esm/config/orm/models/platformConfig.js +100 -0
  352. package/esm/config/orm/models/platformConfigDefinition.d.ts +54 -0
  353. package/esm/config/orm/models/platformConfigDefinition.js +100 -0
  354. package/esm/config/orm/mutation/index.d.ts +90 -0
  355. package/esm/config/orm/mutation/index.js +114 -0
  356. package/esm/config/orm/query-builder.d.ts +110 -0
  357. package/esm/config/orm/query-builder.js +705 -0
  358. package/esm/config/orm/realtime.d.ts +142 -0
  359. package/esm/config/orm/realtime.js +100 -0
  360. package/esm/config/orm/select-types.d.ts +125 -0
  361. package/esm/config/orm/select-types.js +1 -0
  362. package/esm/config/orm/types.d.ts +6 -0
  363. package/esm/config/orm/types.js +7 -0
  364. package/esm/index.d.ts +2 -0
  365. package/esm/index.js +2 -0
  366. package/esm/modules/orm/index.d.ts +6 -2
  367. package/esm/modules/orm/index.js +6 -2
  368. package/esm/modules/orm/input-types.d.ts +722 -239
  369. package/esm/modules/orm/models/agentModule.js +1 -1
  370. package/esm/modules/orm/models/billingModule.js +1 -1
  371. package/esm/modules/orm/models/billingProviderModule.js +1 -1
  372. package/esm/modules/orm/models/blueprint.js +1 -1
  373. package/esm/modules/orm/models/blueprintConstruction.js +1 -1
  374. package/esm/modules/orm/models/blueprintTemplate.js +1 -1
  375. package/esm/modules/orm/models/computeLogModule.js +1 -1
  376. package/esm/modules/orm/models/configSecretsModule.js +1 -1
  377. package/esm/modules/orm/models/configSecretsOrgModule.js +1 -1
  378. package/esm/modules/orm/models/configSecretsUserModule.js +1 -1
  379. package/esm/modules/orm/models/connectedAccountsModule.js +1 -1
  380. package/esm/modules/orm/models/cryptoAddressesModule.js +1 -1
  381. package/esm/modules/orm/models/cryptoAuthModule.js +1 -1
  382. package/esm/modules/orm/models/databaseProvisionModule.js +1 -1
  383. package/esm/modules/orm/models/dbUsageModule.js +1 -1
  384. package/esm/modules/orm/models/defaultIdsModule.js +1 -1
  385. package/esm/modules/orm/models/denormalizedTableField.js +1 -1
  386. package/esm/modules/orm/models/devicesModule.js +1 -1
  387. package/esm/modules/orm/models/emailsModule.js +1 -1
  388. package/esm/modules/orm/models/entityTypeProvision.js +1 -1
  389. package/esm/modules/orm/models/eventsModule.js +1 -1
  390. package/esm/modules/orm/models/functionDeploymentModule.d.ts +54 -0
  391. package/esm/modules/orm/models/functionDeploymentModule.js +100 -0
  392. package/esm/modules/orm/models/functionInvocationModule.js +1 -1
  393. package/esm/modules/orm/models/functionModule.js +1 -1
  394. package/esm/modules/orm/models/graphExecutionModule.d.ts +54 -0
  395. package/esm/modules/orm/models/graphExecutionModule.js +100 -0
  396. package/esm/modules/orm/models/graphModule.js +1 -1
  397. package/esm/modules/orm/models/hierarchyModule.js +1 -1
  398. package/esm/modules/orm/models/i18NModule.js +1 -1
  399. package/esm/modules/orm/models/identityProvidersModule.js +1 -1
  400. package/esm/modules/orm/models/index.d.ts +3 -1
  401. package/esm/modules/orm/models/index.js +3 -1
  402. package/esm/modules/orm/models/inferenceLogModule.js +1 -1
  403. package/esm/modules/orm/models/invitesModule.js +1 -1
  404. package/esm/modules/orm/models/limitsModule.js +1 -1
  405. package/esm/modules/orm/models/membershipTypesModule.js +1 -1
  406. package/esm/modules/orm/models/membershipsModule.js +1 -1
  407. package/esm/modules/orm/models/merkleStoreModule.js +1 -1
  408. package/esm/modules/orm/models/namespaceModule.js +1 -1
  409. package/esm/modules/orm/models/notificationsModule.js +1 -1
  410. package/esm/modules/orm/models/permissionsModule.js +1 -1
  411. package/esm/modules/orm/models/phoneNumbersModule.js +1 -1
  412. package/esm/modules/orm/models/plansModule.js +1 -1
  413. package/esm/modules/orm/models/profilesModule.js +1 -1
  414. package/esm/modules/orm/models/rateLimitMetersModule.js +1 -1
  415. package/esm/modules/orm/models/rateLimitsModule.js +1 -1
  416. package/esm/modules/orm/models/realtimeModule.js +1 -1
  417. package/esm/modules/orm/models/relationProvision.js +1 -1
  418. package/esm/modules/orm/models/rlsModule.js +1 -1
  419. package/esm/modules/orm/models/secureTableProvision.js +1 -1
  420. package/esm/modules/orm/models/sessionSecretsModule.js +1 -1
  421. package/esm/modules/orm/models/sessionsModule.js +1 -1
  422. package/esm/modules/orm/models/storageLogModule.js +1 -1
  423. package/esm/modules/orm/models/storageModule.js +1 -1
  424. package/esm/modules/orm/models/transferLogModule.js +1 -1
  425. package/esm/modules/orm/models/userAuthModule.js +1 -1
  426. package/esm/modules/orm/models/userCredentialsModule.js +1 -1
  427. package/esm/modules/orm/models/userSettingsModule.js +1 -1
  428. package/esm/modules/orm/models/userStateModule.js +1 -1
  429. package/esm/modules/orm/models/usersModule.js +1 -1
  430. package/esm/modules/orm/models/webauthnAuthModule.js +1 -1
  431. package/esm/modules/orm/models/webauthnCredentialsModule.js +1 -1
  432. package/esm/modules/orm/query-builder.d.ts +1 -1
  433. package/esm/modules/orm/query-builder.js +2 -1
  434. package/esm/objects/orm/models/commit.d.ts +2 -0
  435. package/esm/objects/orm/models/commit.js +4 -1
  436. package/esm/objects/orm/models/object.d.ts +2 -0
  437. package/esm/objects/orm/models/object.js +4 -1
  438. package/esm/objects/orm/models/ref.d.ts +2 -0
  439. package/esm/objects/orm/models/ref.js +4 -1
  440. package/esm/objects/orm/models/store.js +1 -1
  441. package/esm/objects/orm/query-builder.d.ts +1 -1
  442. package/esm/objects/orm/query-builder.js +2 -1
  443. package/esm/usage/orm/models/appLimit.js +1 -1
  444. package/esm/usage/orm/models/appLimitCap.js +1 -1
  445. package/esm/usage/orm/models/appLimitCapsDefault.js +1 -1
  446. package/esm/usage/orm/models/appLimitCredit.js +1 -1
  447. package/esm/usage/orm/models/appLimitCreditCode.js +1 -1
  448. package/esm/usage/orm/models/appLimitCreditCodeItem.js +1 -1
  449. package/esm/usage/orm/models/appLimitCreditRedemption.js +1 -1
  450. package/esm/usage/orm/models/appLimitDefault.js +1 -1
  451. package/esm/usage/orm/models/appLimitEvent.d.ts +2 -0
  452. package/esm/usage/orm/models/appLimitEvent.js +4 -1
  453. package/esm/usage/orm/models/appLimitWarning.js +1 -1
  454. package/esm/usage/orm/models/orgLimit.js +1 -1
  455. package/esm/usage/orm/models/orgLimitAggregate.js +1 -1
  456. package/esm/usage/orm/models/orgLimitCap.js +1 -1
  457. package/esm/usage/orm/models/orgLimitCapsDefault.js +1 -1
  458. package/esm/usage/orm/models/orgLimitCredit.js +1 -1
  459. package/esm/usage/orm/models/orgLimitDefault.js +1 -1
  460. package/esm/usage/orm/models/orgLimitEvent.d.ts +2 -0
  461. package/esm/usage/orm/models/orgLimitEvent.js +4 -1
  462. package/esm/usage/orm/models/orgLimitWarning.js +1 -1
  463. package/esm/usage/orm/query-builder.d.ts +1 -1
  464. package/esm/usage/orm/query-builder.js +2 -1
  465. package/index.d.ts +2 -0
  466. package/index.js +3 -1
  467. package/modules/orm/index.d.ts +6 -2
  468. package/modules/orm/index.js +6 -2
  469. package/modules/orm/input-types.d.ts +722 -239
  470. package/modules/orm/models/agentModule.js +1 -1
  471. package/modules/orm/models/billingModule.js +1 -1
  472. package/modules/orm/models/billingProviderModule.js +1 -1
  473. package/modules/orm/models/blueprint.js +1 -1
  474. package/modules/orm/models/blueprintConstruction.js +1 -1
  475. package/modules/orm/models/blueprintTemplate.js +1 -1
  476. package/modules/orm/models/computeLogModule.js +1 -1
  477. package/modules/orm/models/configSecretsModule.js +1 -1
  478. package/modules/orm/models/configSecretsOrgModule.js +1 -1
  479. package/modules/orm/models/configSecretsUserModule.js +1 -1
  480. package/modules/orm/models/connectedAccountsModule.js +1 -1
  481. package/modules/orm/models/cryptoAddressesModule.js +1 -1
  482. package/modules/orm/models/cryptoAuthModule.js +1 -1
  483. package/modules/orm/models/databaseProvisionModule.js +1 -1
  484. package/modules/orm/models/dbUsageModule.js +1 -1
  485. package/modules/orm/models/defaultIdsModule.js +1 -1
  486. package/modules/orm/models/denormalizedTableField.js +1 -1
  487. package/modules/orm/models/devicesModule.js +1 -1
  488. package/modules/orm/models/emailsModule.js +1 -1
  489. package/modules/orm/models/entityTypeProvision.js +1 -1
  490. package/modules/orm/models/eventsModule.js +1 -1
  491. package/modules/orm/models/functionDeploymentModule.d.ts +54 -0
  492. package/modules/orm/models/functionDeploymentModule.js +104 -0
  493. package/modules/orm/models/functionInvocationModule.js +1 -1
  494. package/modules/orm/models/functionModule.js +1 -1
  495. package/modules/orm/models/graphExecutionModule.d.ts +54 -0
  496. package/modules/orm/models/graphExecutionModule.js +104 -0
  497. package/modules/orm/models/graphModule.js +1 -1
  498. package/modules/orm/models/hierarchyModule.js +1 -1
  499. package/modules/orm/models/i18NModule.js +1 -1
  500. package/modules/orm/models/identityProvidersModule.js +1 -1
  501. package/modules/orm/models/index.d.ts +3 -1
  502. package/modules/orm/models/index.js +8 -4
  503. package/modules/orm/models/inferenceLogModule.js +1 -1
  504. package/modules/orm/models/invitesModule.js +1 -1
  505. package/modules/orm/models/limitsModule.js +1 -1
  506. package/modules/orm/models/membershipTypesModule.js +1 -1
  507. package/modules/orm/models/membershipsModule.js +1 -1
  508. package/modules/orm/models/merkleStoreModule.js +1 -1
  509. package/modules/orm/models/namespaceModule.js +1 -1
  510. package/modules/orm/models/notificationsModule.js +1 -1
  511. package/modules/orm/models/permissionsModule.js +1 -1
  512. package/modules/orm/models/phoneNumbersModule.js +1 -1
  513. package/modules/orm/models/plansModule.js +1 -1
  514. package/modules/orm/models/profilesModule.js +1 -1
  515. package/modules/orm/models/rateLimitMetersModule.js +1 -1
  516. package/modules/orm/models/rateLimitsModule.js +1 -1
  517. package/modules/orm/models/realtimeModule.js +1 -1
  518. package/modules/orm/models/relationProvision.js +1 -1
  519. package/modules/orm/models/rlsModule.js +1 -1
  520. package/modules/orm/models/secureTableProvision.js +1 -1
  521. package/modules/orm/models/sessionSecretsModule.js +1 -1
  522. package/modules/orm/models/sessionsModule.js +1 -1
  523. package/modules/orm/models/storageLogModule.js +1 -1
  524. package/modules/orm/models/storageModule.js +1 -1
  525. package/modules/orm/models/transferLogModule.js +1 -1
  526. package/modules/orm/models/userAuthModule.js +1 -1
  527. package/modules/orm/models/userCredentialsModule.js +1 -1
  528. package/modules/orm/models/userSettingsModule.js +1 -1
  529. package/modules/orm/models/userStateModule.js +1 -1
  530. package/modules/orm/models/usersModule.js +1 -1
  531. package/modules/orm/models/webauthnAuthModule.js +1 -1
  532. package/modules/orm/models/webauthnCredentialsModule.js +1 -1
  533. package/modules/orm/query-builder.d.ts +1 -1
  534. package/modules/orm/query-builder.js +2 -1
  535. package/objects/orm/models/commit.d.ts +2 -0
  536. package/objects/orm/models/commit.js +4 -1
  537. package/objects/orm/models/object.d.ts +2 -0
  538. package/objects/orm/models/object.js +4 -1
  539. package/objects/orm/models/ref.d.ts +2 -0
  540. package/objects/orm/models/ref.js +4 -1
  541. package/objects/orm/models/store.js +1 -1
  542. package/objects/orm/query-builder.d.ts +1 -1
  543. package/objects/orm/query-builder.js +2 -1
  544. package/package.json +3 -3
  545. package/usage/orm/models/appLimit.js +1 -1
  546. package/usage/orm/models/appLimitCap.js +1 -1
  547. package/usage/orm/models/appLimitCapsDefault.js +1 -1
  548. package/usage/orm/models/appLimitCredit.js +1 -1
  549. package/usage/orm/models/appLimitCreditCode.js +1 -1
  550. package/usage/orm/models/appLimitCreditCodeItem.js +1 -1
  551. package/usage/orm/models/appLimitCreditRedemption.js +1 -1
  552. package/usage/orm/models/appLimitDefault.js +1 -1
  553. package/usage/orm/models/appLimitEvent.d.ts +2 -0
  554. package/usage/orm/models/appLimitEvent.js +4 -1
  555. package/usage/orm/models/appLimitWarning.js +1 -1
  556. package/usage/orm/models/orgLimit.js +1 -1
  557. package/usage/orm/models/orgLimitAggregate.js +1 -1
  558. package/usage/orm/models/orgLimitCap.js +1 -1
  559. package/usage/orm/models/orgLimitCapsDefault.js +1 -1
  560. package/usage/orm/models/orgLimitCredit.js +1 -1
  561. package/usage/orm/models/orgLimitDefault.js +1 -1
  562. package/usage/orm/models/orgLimitEvent.d.ts +2 -0
  563. package/usage/orm/models/orgLimitEvent.js +4 -1
  564. package/usage/orm/models/orgLimitWarning.js +1 -1
  565. package/usage/orm/query-builder.d.ts +1 -1
  566. package/usage/orm/query-builder.js +2 -1
@@ -0,0 +1,56 @@
1
+ /**
2
+ * OrgFunctionInvocation model for ORM client
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import { OrmClient } from '../client';
7
+ import { QueryBuilder } from '../query-builder';
8
+ import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
9
+ import type { OrgFunctionInvocationWithRelations, OrgFunctionInvocationSelect, OrgFunctionInvocationFilter, OrgFunctionInvocationOrderBy, CreateOrgFunctionInvocationInput, OrgFunctionInvocationPatch } from '../input-types';
10
+ export declare class OrgFunctionInvocationModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends OrgFunctionInvocationSelect>(args: FindManyArgs<S, OrgFunctionInvocationFilter, OrgFunctionInvocationOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, OrgFunctionInvocationSelect>): QueryBuilder<{
16
+ orgFunctionInvocations: ConnectionResult<InferSelectResult<OrgFunctionInvocationWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends OrgFunctionInvocationSelect>(args: FindFirstArgs<S, OrgFunctionInvocationFilter, OrgFunctionInvocationOrderBy> & {
19
+ select: S;
20
+ } & StrictSelect<S, OrgFunctionInvocationSelect>): QueryBuilder<{
21
+ orgFunctionInvocation: InferSelectResult<OrgFunctionInvocationWithRelations, S> | null;
22
+ }>;
23
+ findOne<S extends OrgFunctionInvocationSelect>(args: {
24
+ id: string;
25
+ select: S;
26
+ } & StrictSelect<S, OrgFunctionInvocationSelect>): QueryBuilder<{
27
+ orgFunctionInvocation: InferSelectResult<OrgFunctionInvocationWithRelations, S> | null;
28
+ }>;
29
+ create<S extends OrgFunctionInvocationSelect>(args: CreateArgs<S, CreateOrgFunctionInvocationInput['orgFunctionInvocation']> & {
30
+ select: S;
31
+ } & StrictSelect<S, OrgFunctionInvocationSelect>): QueryBuilder<{
32
+ createOrgFunctionInvocation: {
33
+ orgFunctionInvocation: InferSelectResult<OrgFunctionInvocationWithRelations, S>;
34
+ };
35
+ }>;
36
+ update<S extends OrgFunctionInvocationSelect>(args: UpdateArgs<S, {
37
+ id: string;
38
+ createdAt: string;
39
+ }, OrgFunctionInvocationPatch> & {
40
+ select: S;
41
+ } & StrictSelect<S, OrgFunctionInvocationSelect>): QueryBuilder<{
42
+ updateOrgFunctionInvocation: {
43
+ orgFunctionInvocation: InferSelectResult<OrgFunctionInvocationWithRelations, S>;
44
+ };
45
+ }>;
46
+ delete<S extends OrgFunctionInvocationSelect>(args: DeleteArgs<{
47
+ id: string;
48
+ createdAt: string;
49
+ }, S> & {
50
+ select: S;
51
+ } & StrictSelect<S, OrgFunctionInvocationSelect>): QueryBuilder<{
52
+ deleteOrgFunctionInvocation: {
53
+ orgFunctionInvocation: InferSelectResult<OrgFunctionInvocationWithRelations, S>;
54
+ };
55
+ }>;
56
+ }
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OrgFunctionInvocationModel = void 0;
4
+ const query_builder_1 = require("../query-builder");
5
+ const input_types_1 = require("../input-types");
6
+ class OrgFunctionInvocationModel {
7
+ client;
8
+ constructor(client) {
9
+ this.client = client;
10
+ }
11
+ findMany(args) {
12
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('OrgFunctionInvocation', 'orgFunctionInvocations', args.select, {
13
+ where: args?.where,
14
+ orderBy: args?.orderBy,
15
+ first: args?.first,
16
+ last: args?.last,
17
+ after: args?.after,
18
+ before: args?.before,
19
+ offset: args?.offset,
20
+ }, 'OrgFunctionInvocationFilter', 'OrgFunctionInvocationOrderBy', input_types_1.connectionFieldsMap);
21
+ return new query_builder_1.QueryBuilder({
22
+ client: this.client,
23
+ operation: 'query',
24
+ operationName: 'OrgFunctionInvocation',
25
+ fieldName: 'orgFunctionInvocations',
26
+ document,
27
+ variables,
28
+ });
29
+ }
30
+ findFirst(args) {
31
+ const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('OrgFunctionInvocation', 'orgFunctionInvocations', args.select, {
32
+ where: args?.where,
33
+ orderBy: args?.orderBy,
34
+ }, 'OrgFunctionInvocationFilter', 'OrgFunctionInvocationOrderBy', input_types_1.connectionFieldsMap);
35
+ return new query_builder_1.QueryBuilder({
36
+ client: this.client,
37
+ operation: 'query',
38
+ operationName: 'OrgFunctionInvocation',
39
+ fieldName: 'orgFunctionInvocation',
40
+ document,
41
+ variables,
42
+ transform: (data) => ({
43
+ orgFunctionInvocation: data.orgFunctionInvocations?.nodes?.[0] ?? null,
44
+ }),
45
+ });
46
+ }
47
+ findOne(args) {
48
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('OrgFunctionInvocation', 'orgFunctionInvocations', args.select, {
49
+ where: {
50
+ id: {
51
+ equalTo: args.id,
52
+ },
53
+ },
54
+ first: 1,
55
+ }, 'OrgFunctionInvocationFilter', 'OrgFunctionInvocationOrderBy', input_types_1.connectionFieldsMap);
56
+ return new query_builder_1.QueryBuilder({
57
+ client: this.client,
58
+ operation: 'query',
59
+ operationName: 'OrgFunctionInvocation',
60
+ fieldName: 'orgFunctionInvocation',
61
+ document,
62
+ variables,
63
+ transform: (data) => ({
64
+ orgFunctionInvocation: data.orgFunctionInvocations?.nodes?.[0] ?? null,
65
+ }),
66
+ });
67
+ }
68
+ create(args) {
69
+ const { document, variables } = (0, query_builder_1.buildCreateDocument)('OrgFunctionInvocation', 'createOrgFunctionInvocation', 'orgFunctionInvocation', args.select, args.data, 'CreateOrgFunctionInvocationInput', input_types_1.connectionFieldsMap);
70
+ return new query_builder_1.QueryBuilder({
71
+ client: this.client,
72
+ operation: 'mutation',
73
+ operationName: 'OrgFunctionInvocation',
74
+ fieldName: 'createOrgFunctionInvocation',
75
+ document,
76
+ variables,
77
+ });
78
+ }
79
+ update(args) {
80
+ const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('OrgFunctionInvocation', 'updateOrgFunctionInvocation', 'orgFunctionInvocation', args.select, args.where.id, args.data, 'UpdateOrgFunctionInvocationInput', 'id', 'orgFunctionInvocationPatch', input_types_1.connectionFieldsMap, {
81
+ createdAt: args.where.createdAt,
82
+ });
83
+ return new query_builder_1.QueryBuilder({
84
+ client: this.client,
85
+ operation: 'mutation',
86
+ operationName: 'OrgFunctionInvocation',
87
+ fieldName: 'updateOrgFunctionInvocation',
88
+ document,
89
+ variables,
90
+ });
91
+ }
92
+ delete(args) {
93
+ const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('OrgFunctionInvocation', 'deleteOrgFunctionInvocation', 'orgFunctionInvocation', {
94
+ id: args.where.id,
95
+ createdAt: args.where.createdAt,
96
+ }, 'DeleteOrgFunctionInvocationInput', args.select, input_types_1.connectionFieldsMap);
97
+ return new query_builder_1.QueryBuilder({
98
+ client: this.client,
99
+ operation: 'mutation',
100
+ operationName: 'OrgFunctionInvocation',
101
+ fieldName: 'deleteOrgFunctionInvocation',
102
+ document,
103
+ variables,
104
+ });
105
+ }
106
+ }
107
+ exports.OrgFunctionInvocationModel = OrgFunctionInvocationModel;
@@ -0,0 +1,54 @@
1
+ /**
2
+ * SecretDefinition model for ORM client
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import { OrmClient } from '../client';
7
+ import { QueryBuilder } from '../query-builder';
8
+ import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
9
+ import type { SecretDefinitionWithRelations, SecretDefinitionSelect, SecretDefinitionFilter, SecretDefinitionOrderBy, CreateSecretDefinitionInput, SecretDefinitionPatch } from '../input-types';
10
+ export declare class SecretDefinitionModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends SecretDefinitionSelect>(args: FindManyArgs<S, SecretDefinitionFilter, SecretDefinitionOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, SecretDefinitionSelect>): QueryBuilder<{
16
+ secretDefinitions: ConnectionResult<InferSelectResult<SecretDefinitionWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends SecretDefinitionSelect>(args: FindFirstArgs<S, SecretDefinitionFilter, SecretDefinitionOrderBy> & {
19
+ select: S;
20
+ } & StrictSelect<S, SecretDefinitionSelect>): QueryBuilder<{
21
+ secretDefinition: InferSelectResult<SecretDefinitionWithRelations, S> | null;
22
+ }>;
23
+ findOne<S extends SecretDefinitionSelect>(args: {
24
+ id: string;
25
+ select: S;
26
+ } & StrictSelect<S, SecretDefinitionSelect>): QueryBuilder<{
27
+ secretDefinition: InferSelectResult<SecretDefinitionWithRelations, S> | null;
28
+ }>;
29
+ create<S extends SecretDefinitionSelect>(args: CreateArgs<S, CreateSecretDefinitionInput['secretDefinition']> & {
30
+ select: S;
31
+ } & StrictSelect<S, SecretDefinitionSelect>): QueryBuilder<{
32
+ createSecretDefinition: {
33
+ secretDefinition: InferSelectResult<SecretDefinitionWithRelations, S>;
34
+ };
35
+ }>;
36
+ update<S extends SecretDefinitionSelect>(args: UpdateArgs<S, {
37
+ id: string;
38
+ }, SecretDefinitionPatch> & {
39
+ select: S;
40
+ } & StrictSelect<S, SecretDefinitionSelect>): QueryBuilder<{
41
+ updateSecretDefinition: {
42
+ secretDefinition: InferSelectResult<SecretDefinitionWithRelations, S>;
43
+ };
44
+ }>;
45
+ delete<S extends SecretDefinitionSelect>(args: DeleteArgs<{
46
+ id: string;
47
+ }, S> & {
48
+ select: S;
49
+ } & StrictSelect<S, SecretDefinitionSelect>): QueryBuilder<{
50
+ deleteSecretDefinition: {
51
+ secretDefinition: InferSelectResult<SecretDefinitionWithRelations, S>;
52
+ };
53
+ }>;
54
+ }
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SecretDefinitionModel = void 0;
4
+ const query_builder_1 = require("../query-builder");
5
+ const input_types_1 = require("../input-types");
6
+ class SecretDefinitionModel {
7
+ client;
8
+ constructor(client) {
9
+ this.client = client;
10
+ }
11
+ findMany(args) {
12
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('SecretDefinition', 'secretDefinitions', args.select, {
13
+ where: args?.where,
14
+ orderBy: args?.orderBy,
15
+ first: args?.first,
16
+ last: args?.last,
17
+ after: args?.after,
18
+ before: args?.before,
19
+ offset: args?.offset,
20
+ }, 'SecretDefinitionFilter', 'SecretDefinitionOrderBy', input_types_1.connectionFieldsMap);
21
+ return new query_builder_1.QueryBuilder({
22
+ client: this.client,
23
+ operation: 'query',
24
+ operationName: 'SecretDefinition',
25
+ fieldName: 'secretDefinitions',
26
+ document,
27
+ variables,
28
+ });
29
+ }
30
+ findFirst(args) {
31
+ const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('SecretDefinition', 'secretDefinitions', args.select, {
32
+ where: args?.where,
33
+ orderBy: args?.orderBy,
34
+ }, 'SecretDefinitionFilter', 'SecretDefinitionOrderBy', input_types_1.connectionFieldsMap);
35
+ return new query_builder_1.QueryBuilder({
36
+ client: this.client,
37
+ operation: 'query',
38
+ operationName: 'SecretDefinition',
39
+ fieldName: 'secretDefinition',
40
+ document,
41
+ variables,
42
+ transform: (data) => ({
43
+ secretDefinition: data.secretDefinitions?.nodes?.[0] ?? null,
44
+ }),
45
+ });
46
+ }
47
+ findOne(args) {
48
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('SecretDefinition', 'secretDefinitions', args.select, {
49
+ where: {
50
+ id: {
51
+ equalTo: args.id,
52
+ },
53
+ },
54
+ first: 1,
55
+ }, 'SecretDefinitionFilter', 'SecretDefinitionOrderBy', input_types_1.connectionFieldsMap);
56
+ return new query_builder_1.QueryBuilder({
57
+ client: this.client,
58
+ operation: 'query',
59
+ operationName: 'SecretDefinition',
60
+ fieldName: 'secretDefinition',
61
+ document,
62
+ variables,
63
+ transform: (data) => ({
64
+ secretDefinition: data.secretDefinitions?.nodes?.[0] ?? null,
65
+ }),
66
+ });
67
+ }
68
+ create(args) {
69
+ const { document, variables } = (0, query_builder_1.buildCreateDocument)('SecretDefinition', 'createSecretDefinition', 'secretDefinition', args.select, args.data, 'CreateSecretDefinitionInput', input_types_1.connectionFieldsMap);
70
+ return new query_builder_1.QueryBuilder({
71
+ client: this.client,
72
+ operation: 'mutation',
73
+ operationName: 'SecretDefinition',
74
+ fieldName: 'createSecretDefinition',
75
+ document,
76
+ variables,
77
+ });
78
+ }
79
+ update(args) {
80
+ const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('SecretDefinition', 'updateSecretDefinition', 'secretDefinition', args.select, args.where.id, args.data, 'UpdateSecretDefinitionInput', 'id', 'secretDefinitionPatch', input_types_1.connectionFieldsMap, undefined);
81
+ return new query_builder_1.QueryBuilder({
82
+ client: this.client,
83
+ operation: 'mutation',
84
+ operationName: 'SecretDefinition',
85
+ fieldName: 'updateSecretDefinition',
86
+ document,
87
+ variables,
88
+ });
89
+ }
90
+ delete(args) {
91
+ const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('SecretDefinition', 'deleteSecretDefinition', 'secretDefinition', {
92
+ id: args.where.id,
93
+ }, 'DeleteSecretDefinitionInput', args.select, input_types_1.connectionFieldsMap);
94
+ return new query_builder_1.QueryBuilder({
95
+ client: this.client,
96
+ operation: 'mutation',
97
+ operationName: 'SecretDefinition',
98
+ fieldName: 'deleteSecretDefinition',
99
+ document,
100
+ variables,
101
+ });
102
+ }
103
+ }
104
+ exports.SecretDefinitionModel = SecretDefinitionModel;
@@ -0,0 +1,130 @@
1
+ /**
2
+ * Custom mutation operations
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import { OrmClient } from '../client';
7
+ import { QueryBuilder } from '../query-builder';
8
+ import type { InferSelectResult, StrictSelect } from '../select-types';
9
+ import type { ValidateFunctionGraphInput, InitEmptyRepoInput, SetDataAtPathInput, ImportDefinitionsInput, CopyGraphInput, SaveGraphInput, AddEdgeAndSaveInput, AddNodeAndSaveInput, AddEdgeInput, AddNodeInput, ImportGraphJsonInput, InsertNodeAtPathInput, StartExecutionInput, ProvisionBucketInput, ValidateFunctionGraphPayload, InitEmptyRepoPayload, SetDataAtPathPayload, ImportDefinitionsPayload, CopyGraphPayload, SaveGraphPayload, AddEdgeAndSavePayload, AddNodeAndSavePayload, AddEdgePayload, AddNodePayload, ImportGraphJsonPayload, InsertNodeAtPathPayload, StartExecutionPayload, ProvisionBucketPayload, ValidateFunctionGraphPayloadSelect, InitEmptyRepoPayloadSelect, SetDataAtPathPayloadSelect, ImportDefinitionsPayloadSelect, CopyGraphPayloadSelect, SaveGraphPayloadSelect, AddEdgeAndSavePayloadSelect, AddNodeAndSavePayloadSelect, AddEdgePayloadSelect, AddNodePayloadSelect, ImportGraphJsonPayloadSelect, InsertNodeAtPathPayloadSelect, StartExecutionPayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
10
+ export interface ValidateFunctionGraphVariables {
11
+ input: ValidateFunctionGraphInput;
12
+ }
13
+ export interface InitEmptyRepoVariables {
14
+ input: InitEmptyRepoInput;
15
+ }
16
+ export interface SetDataAtPathVariables {
17
+ input: SetDataAtPathInput;
18
+ }
19
+ export interface ImportDefinitionsVariables {
20
+ input: ImportDefinitionsInput;
21
+ }
22
+ export interface CopyGraphVariables {
23
+ input: CopyGraphInput;
24
+ }
25
+ export interface SaveGraphVariables {
26
+ input: SaveGraphInput;
27
+ }
28
+ export interface AddEdgeAndSaveVariables {
29
+ input: AddEdgeAndSaveInput;
30
+ }
31
+ export interface AddNodeAndSaveVariables {
32
+ input: AddNodeAndSaveInput;
33
+ }
34
+ export interface AddEdgeVariables {
35
+ input: AddEdgeInput;
36
+ }
37
+ export interface AddNodeVariables {
38
+ input: AddNodeInput;
39
+ }
40
+ export interface ImportGraphJsonVariables {
41
+ input: ImportGraphJsonInput;
42
+ }
43
+ export interface InsertNodeAtPathVariables {
44
+ input: InsertNodeAtPathInput;
45
+ }
46
+ export interface StartExecutionVariables {
47
+ input: StartExecutionInput;
48
+ }
49
+ /**
50
+ * Variables for provisionBucket
51
+ * Provision an S3 bucket for a logical bucket in the database.
52
+ Reads the bucket config via RLS, then creates and configures
53
+ the S3 bucket with the appropriate privacy policies, CORS rules,
54
+ and lifecycle settings.
55
+ */
56
+ export interface ProvisionBucketVariables {
57
+ input: ProvisionBucketInput;
58
+ }
59
+ export declare function createMutationOperations(client: OrmClient): {
60
+ validateFunctionGraph: <S extends ValidateFunctionGraphPayloadSelect>(args: ValidateFunctionGraphVariables, options: {
61
+ select: S;
62
+ } & StrictSelect<S, ValidateFunctionGraphPayloadSelect>) => QueryBuilder<{
63
+ validateFunctionGraph: InferSelectResult<ValidateFunctionGraphPayload, S> | null;
64
+ }>;
65
+ initEmptyRepo: <S extends InitEmptyRepoPayloadSelect>(args: InitEmptyRepoVariables, options: {
66
+ select: S;
67
+ } & StrictSelect<S, InitEmptyRepoPayloadSelect>) => QueryBuilder<{
68
+ initEmptyRepo: InferSelectResult<InitEmptyRepoPayload, S> | null;
69
+ }>;
70
+ setDataAtPath: <S extends SetDataAtPathPayloadSelect>(args: SetDataAtPathVariables, options: {
71
+ select: S;
72
+ } & StrictSelect<S, SetDataAtPathPayloadSelect>) => QueryBuilder<{
73
+ setDataAtPath: InferSelectResult<SetDataAtPathPayload, S> | null;
74
+ }>;
75
+ importDefinitions: <S extends ImportDefinitionsPayloadSelect>(args: ImportDefinitionsVariables, options: {
76
+ select: S;
77
+ } & StrictSelect<S, ImportDefinitionsPayloadSelect>) => QueryBuilder<{
78
+ importDefinitions: InferSelectResult<ImportDefinitionsPayload, S> | null;
79
+ }>;
80
+ copyGraph: <S extends CopyGraphPayloadSelect>(args: CopyGraphVariables, options: {
81
+ select: S;
82
+ } & StrictSelect<S, CopyGraphPayloadSelect>) => QueryBuilder<{
83
+ copyGraph: InferSelectResult<CopyGraphPayload, S> | null;
84
+ }>;
85
+ saveGraph: <S extends SaveGraphPayloadSelect>(args: SaveGraphVariables, options: {
86
+ select: S;
87
+ } & StrictSelect<S, SaveGraphPayloadSelect>) => QueryBuilder<{
88
+ saveGraph: InferSelectResult<SaveGraphPayload, S> | null;
89
+ }>;
90
+ addEdgeAndSave: <S extends AddEdgeAndSavePayloadSelect>(args: AddEdgeAndSaveVariables, options: {
91
+ select: S;
92
+ } & StrictSelect<S, AddEdgeAndSavePayloadSelect>) => QueryBuilder<{
93
+ addEdgeAndSave: InferSelectResult<AddEdgeAndSavePayload, S> | null;
94
+ }>;
95
+ addNodeAndSave: <S extends AddNodeAndSavePayloadSelect>(args: AddNodeAndSaveVariables, options: {
96
+ select: S;
97
+ } & StrictSelect<S, AddNodeAndSavePayloadSelect>) => QueryBuilder<{
98
+ addNodeAndSave: InferSelectResult<AddNodeAndSavePayload, S> | null;
99
+ }>;
100
+ addEdge: <S extends AddEdgePayloadSelect>(args: AddEdgeVariables, options: {
101
+ select: S;
102
+ } & StrictSelect<S, AddEdgePayloadSelect>) => QueryBuilder<{
103
+ addEdge: InferSelectResult<AddEdgePayload, S> | null;
104
+ }>;
105
+ addNode: <S extends AddNodePayloadSelect>(args: AddNodeVariables, options: {
106
+ select: S;
107
+ } & StrictSelect<S, AddNodePayloadSelect>) => QueryBuilder<{
108
+ addNode: InferSelectResult<AddNodePayload, S> | null;
109
+ }>;
110
+ importGraphJson: <S extends ImportGraphJsonPayloadSelect>(args: ImportGraphJsonVariables, options: {
111
+ select: S;
112
+ } & StrictSelect<S, ImportGraphJsonPayloadSelect>) => QueryBuilder<{
113
+ importGraphJson: InferSelectResult<ImportGraphJsonPayload, S> | null;
114
+ }>;
115
+ insertNodeAtPath: <S extends InsertNodeAtPathPayloadSelect>(args: InsertNodeAtPathVariables, options: {
116
+ select: S;
117
+ } & StrictSelect<S, InsertNodeAtPathPayloadSelect>) => QueryBuilder<{
118
+ insertNodeAtPath: InferSelectResult<InsertNodeAtPathPayload, S> | null;
119
+ }>;
120
+ startExecution: <S extends StartExecutionPayloadSelect>(args: StartExecutionVariables, options: {
121
+ select: S;
122
+ } & StrictSelect<S, StartExecutionPayloadSelect>) => QueryBuilder<{
123
+ startExecution: InferSelectResult<StartExecutionPayload, S> | null;
124
+ }>;
125
+ provisionBucket: <S extends ProvisionBucketPayloadSelect>(args: ProvisionBucketVariables, options: {
126
+ select: S;
127
+ } & StrictSelect<S, ProvisionBucketPayloadSelect>) => QueryBuilder<{
128
+ provisionBucket: InferSelectResult<ProvisionBucketPayload, S> | null;
129
+ }>;
130
+ };
@@ -0,0 +1,177 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createMutationOperations = createMutationOperations;
4
+ const query_builder_1 = require("../query-builder");
5
+ const input_types_1 = require("../input-types");
6
+ function createMutationOperations(client) {
7
+ return {
8
+ validateFunctionGraph: (args, options) => new query_builder_1.QueryBuilder({
9
+ client,
10
+ operation: 'mutation',
11
+ operationName: 'ValidateFunctionGraph',
12
+ fieldName: 'validateFunctionGraph',
13
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'ValidateFunctionGraph', 'validateFunctionGraph', options.select, args, [
14
+ {
15
+ name: 'input',
16
+ type: 'ValidateFunctionGraphInput!',
17
+ },
18
+ ], input_types_1.connectionFieldsMap, 'ValidateFunctionGraphPayload'),
19
+ }),
20
+ initEmptyRepo: (args, options) => new query_builder_1.QueryBuilder({
21
+ client,
22
+ operation: 'mutation',
23
+ operationName: 'InitEmptyRepo',
24
+ fieldName: 'initEmptyRepo',
25
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'InitEmptyRepo', 'initEmptyRepo', options.select, args, [
26
+ {
27
+ name: 'input',
28
+ type: 'InitEmptyRepoInput!',
29
+ },
30
+ ], input_types_1.connectionFieldsMap, 'InitEmptyRepoPayload'),
31
+ }),
32
+ setDataAtPath: (args, options) => new query_builder_1.QueryBuilder({
33
+ client,
34
+ operation: 'mutation',
35
+ operationName: 'SetDataAtPath',
36
+ fieldName: 'setDataAtPath',
37
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'SetDataAtPath', 'setDataAtPath', options.select, args, [
38
+ {
39
+ name: 'input',
40
+ type: 'SetDataAtPathInput!',
41
+ },
42
+ ], input_types_1.connectionFieldsMap, 'SetDataAtPathPayload'),
43
+ }),
44
+ importDefinitions: (args, options) => new query_builder_1.QueryBuilder({
45
+ client,
46
+ operation: 'mutation',
47
+ operationName: 'ImportDefinitions',
48
+ fieldName: 'importDefinitions',
49
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'ImportDefinitions', 'importDefinitions', options.select, args, [
50
+ {
51
+ name: 'input',
52
+ type: 'ImportDefinitionsInput!',
53
+ },
54
+ ], input_types_1.connectionFieldsMap, 'ImportDefinitionsPayload'),
55
+ }),
56
+ copyGraph: (args, options) => new query_builder_1.QueryBuilder({
57
+ client,
58
+ operation: 'mutation',
59
+ operationName: 'CopyGraph',
60
+ fieldName: 'copyGraph',
61
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'CopyGraph', 'copyGraph', options.select, args, [
62
+ {
63
+ name: 'input',
64
+ type: 'CopyGraphInput!',
65
+ },
66
+ ], input_types_1.connectionFieldsMap, 'CopyGraphPayload'),
67
+ }),
68
+ saveGraph: (args, options) => new query_builder_1.QueryBuilder({
69
+ client,
70
+ operation: 'mutation',
71
+ operationName: 'SaveGraph',
72
+ fieldName: 'saveGraph',
73
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'SaveGraph', 'saveGraph', options.select, args, [
74
+ {
75
+ name: 'input',
76
+ type: 'SaveGraphInput!',
77
+ },
78
+ ], input_types_1.connectionFieldsMap, 'SaveGraphPayload'),
79
+ }),
80
+ addEdgeAndSave: (args, options) => new query_builder_1.QueryBuilder({
81
+ client,
82
+ operation: 'mutation',
83
+ operationName: 'AddEdgeAndSave',
84
+ fieldName: 'addEdgeAndSave',
85
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'AddEdgeAndSave', 'addEdgeAndSave', options.select, args, [
86
+ {
87
+ name: 'input',
88
+ type: 'AddEdgeAndSaveInput!',
89
+ },
90
+ ], input_types_1.connectionFieldsMap, 'AddEdgeAndSavePayload'),
91
+ }),
92
+ addNodeAndSave: (args, options) => new query_builder_1.QueryBuilder({
93
+ client,
94
+ operation: 'mutation',
95
+ operationName: 'AddNodeAndSave',
96
+ fieldName: 'addNodeAndSave',
97
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'AddNodeAndSave', 'addNodeAndSave', options.select, args, [
98
+ {
99
+ name: 'input',
100
+ type: 'AddNodeAndSaveInput!',
101
+ },
102
+ ], input_types_1.connectionFieldsMap, 'AddNodeAndSavePayload'),
103
+ }),
104
+ addEdge: (args, options) => new query_builder_1.QueryBuilder({
105
+ client,
106
+ operation: 'mutation',
107
+ operationName: 'AddEdge',
108
+ fieldName: 'addEdge',
109
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'AddEdge', 'addEdge', options.select, args, [
110
+ {
111
+ name: 'input',
112
+ type: 'AddEdgeInput!',
113
+ },
114
+ ], input_types_1.connectionFieldsMap, 'AddEdgePayload'),
115
+ }),
116
+ addNode: (args, options) => new query_builder_1.QueryBuilder({
117
+ client,
118
+ operation: 'mutation',
119
+ operationName: 'AddNode',
120
+ fieldName: 'addNode',
121
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'AddNode', 'addNode', options.select, args, [
122
+ {
123
+ name: 'input',
124
+ type: 'AddNodeInput!',
125
+ },
126
+ ], input_types_1.connectionFieldsMap, 'AddNodePayload'),
127
+ }),
128
+ importGraphJson: (args, options) => new query_builder_1.QueryBuilder({
129
+ client,
130
+ operation: 'mutation',
131
+ operationName: 'ImportGraphJson',
132
+ fieldName: 'importGraphJson',
133
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'ImportGraphJson', 'importGraphJson', options.select, args, [
134
+ {
135
+ name: 'input',
136
+ type: 'ImportGraphJsonInput!',
137
+ },
138
+ ], input_types_1.connectionFieldsMap, 'ImportGraphJsonPayload'),
139
+ }),
140
+ insertNodeAtPath: (args, options) => new query_builder_1.QueryBuilder({
141
+ client,
142
+ operation: 'mutation',
143
+ operationName: 'InsertNodeAtPath',
144
+ fieldName: 'insertNodeAtPath',
145
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'InsertNodeAtPath', 'insertNodeAtPath', options.select, args, [
146
+ {
147
+ name: 'input',
148
+ type: 'InsertNodeAtPathInput!',
149
+ },
150
+ ], input_types_1.connectionFieldsMap, 'InsertNodeAtPathPayload'),
151
+ }),
152
+ startExecution: (args, options) => new query_builder_1.QueryBuilder({
153
+ client,
154
+ operation: 'mutation',
155
+ operationName: 'StartExecution',
156
+ fieldName: 'startExecution',
157
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'StartExecution', 'startExecution', options.select, args, [
158
+ {
159
+ name: 'input',
160
+ type: 'StartExecutionInput!',
161
+ },
162
+ ], input_types_1.connectionFieldsMap, 'StartExecutionPayload'),
163
+ }),
164
+ provisionBucket: (args, options) => new query_builder_1.QueryBuilder({
165
+ client,
166
+ operation: 'mutation',
167
+ operationName: 'ProvisionBucket',
168
+ fieldName: 'provisionBucket',
169
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionBucket', 'provisionBucket', options.select, args, [
170
+ {
171
+ name: 'input',
172
+ type: 'ProvisionBucketInput!',
173
+ },
174
+ ], input_types_1.connectionFieldsMap, 'ProvisionBucketPayload'),
175
+ }),
176
+ };
177
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Custom query operations
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import { OrmClient } from '../client';
7
+ import { QueryBuilder } from '../query-builder';
8
+ export interface ReadFunctionGraphVariables {
9
+ graphId?: string;
10
+ }
11
+ export declare function createQueryOperations(client: OrmClient): {
12
+ readFunctionGraph: (args: ReadFunctionGraphVariables, options?: {
13
+ select?: Record<string, unknown>;
14
+ }) => QueryBuilder<{
15
+ readFunctionGraph: unknown | null;
16
+ }>;
17
+ };
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createQueryOperations = createQueryOperations;
4
+ const query_builder_1 = require("../query-builder");
5
+ const input_types_1 = require("../input-types");
6
+ function createQueryOperations(client) {
7
+ return {
8
+ readFunctionGraph: (args, options) => new query_builder_1.QueryBuilder({
9
+ client,
10
+ operation: 'query',
11
+ operationName: 'ReadFunctionGraph',
12
+ fieldName: 'readFunctionGraph',
13
+ ...(0, query_builder_1.buildCustomDocument)('query', 'ReadFunctionGraph', 'readFunctionGraph', options?.select, args, [
14
+ {
15
+ name: 'graphId',
16
+ type: 'UUID',
17
+ },
18
+ ], input_types_1.connectionFieldsMap, undefined),
19
+ }),
20
+ };
21
+ }