@constructive-sdk/cli 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 (830) 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/cli/commands/schema.js +22 -0
  45. package/api/orm/input-types.d.ts +36 -1
  46. package/api/orm/models/api.js +1 -1
  47. package/api/orm/models/apiModule.js +1 -1
  48. package/api/orm/models/apiSchema.js +1 -1
  49. package/api/orm/models/apiSetting.js +1 -1
  50. package/api/orm/models/app.js +1 -1
  51. package/api/orm/models/checkConstraint.js +1 -1
  52. package/api/orm/models/compositeType.js +1 -1
  53. package/api/orm/models/corsSetting.js +1 -1
  54. package/api/orm/models/database.js +1 -1
  55. package/api/orm/models/databaseSetting.js +1 -1
  56. package/api/orm/models/databaseTransfer.js +1 -1
  57. package/api/orm/models/defaultPrivilege.js +1 -1
  58. package/api/orm/models/domain.js +1 -1
  59. package/api/orm/models/embeddingChunk.js +1 -1
  60. package/api/orm/models/enum.js +1 -1
  61. package/api/orm/models/field.js +1 -1
  62. package/api/orm/models/foreignKeyConstraint.js +1 -1
  63. package/api/orm/models/fullTextSearch.js +1 -1
  64. package/api/orm/models/function.js +1 -1
  65. package/api/orm/models/indexModel.js +1 -1
  66. package/api/orm/models/nodeTypeRegistry.js +1 -1
  67. package/api/orm/models/partition.js +1 -1
  68. package/api/orm/models/policy.js +1 -1
  69. package/api/orm/models/primaryKeyConstraint.js +1 -1
  70. package/api/orm/models/pubkeySetting.js +1 -1
  71. package/api/orm/models/rlsSetting.js +1 -1
  72. package/api/orm/models/schema.js +1 -1
  73. package/api/orm/models/schemaGrant.js +1 -1
  74. package/api/orm/models/site.js +1 -1
  75. package/api/orm/models/siteMetadatum.js +1 -1
  76. package/api/orm/models/siteModule.js +1 -1
  77. package/api/orm/models/siteTheme.js +1 -1
  78. package/api/orm/models/spatialRelation.js +1 -1
  79. package/api/orm/models/table.js +1 -1
  80. package/api/orm/models/tableGrant.js +1 -1
  81. package/api/orm/models/trigger.js +1 -1
  82. package/api/orm/models/triggerFunction.js +1 -1
  83. package/api/orm/models/uniqueConstraint.js +1 -1
  84. package/api/orm/models/view.js +1 -1
  85. package/api/orm/models/viewGrant.js +1 -1
  86. package/api/orm/models/viewRule.js +1 -1
  87. package/api/orm/models/viewTable.js +1 -1
  88. package/api/orm/models/webauthnSetting.js +1 -1
  89. package/api/orm/query-builder.d.ts +1 -1
  90. package/api/orm/query-builder.js +2 -1
  91. package/auth/cli/commands/audit-log-auth.js +14 -0
  92. package/auth/orm/input-types.d.ts +4 -2
  93. package/auth/orm/models/auditLogAuth.d.ts +2 -0
  94. package/auth/orm/models/auditLogAuth.js +4 -1
  95. package/auth/orm/models/cryptoAddress.js +1 -1
  96. package/auth/orm/models/email.js +1 -1
  97. package/auth/orm/models/phoneNumber.js +1 -1
  98. package/auth/orm/models/roleType.js +1 -1
  99. package/auth/orm/models/user.js +1 -1
  100. package/auth/orm/models/webauthnCredential.js +1 -1
  101. package/auth/orm/query-builder.d.ts +1 -1
  102. package/auth/orm/query-builder.js +2 -1
  103. package/cli-commands.js +6 -6
  104. package/compute/cli/commands/add-edge-and-save.d.ts +8 -0
  105. package/compute/cli/commands/add-edge-and-save.js +36 -0
  106. package/compute/cli/commands/add-edge.d.ts +8 -0
  107. package/compute/cli/commands/add-edge.js +36 -0
  108. package/compute/cli/commands/add-node-and-save.d.ts +8 -0
  109. package/compute/cli/commands/add-node-and-save.js +36 -0
  110. package/compute/cli/commands/add-node.d.ts +8 -0
  111. package/compute/cli/commands/add-node.js +36 -0
  112. package/compute/cli/commands/auth.d.ts +8 -0
  113. package/compute/cli/commands/auth.js +107 -0
  114. package/compute/cli/commands/context.d.ts +8 -0
  115. package/compute/cli/commands/context.js +158 -0
  116. package/compute/cli/commands/copy-graph.d.ts +8 -0
  117. package/compute/cli/commands/copy-graph.js +36 -0
  118. package/compute/cli/commands/function-api-binding.d.ts +8 -0
  119. package/compute/cli/commands/function-api-binding.js +294 -0
  120. package/compute/cli/commands/function-definition.d.ts +8 -0
  121. package/compute/cli/commands/function-definition.js +788 -0
  122. package/compute/cli/commands/function-deployment-event.d.ts +8 -0
  123. package/compute/cli/commands/function-deployment-event.js +356 -0
  124. package/compute/cli/commands/function-deployment.d.ts +8 -0
  125. package/compute/cli/commands/function-deployment.js +612 -0
  126. package/compute/cli/commands/function-execution-log.d.ts +8 -0
  127. package/compute/cli/commands/function-execution-log.js +380 -0
  128. package/compute/cli/commands/function-graph-commit.d.ts +8 -0
  129. package/compute/cli/commands/function-graph-commit.js +389 -0
  130. package/compute/cli/commands/function-graph-execution-node-state.d.ts +8 -0
  131. package/compute/cli/commands/function-graph-execution-node-state.js +444 -0
  132. package/compute/cli/commands/function-graph-execution-output.d.ts +8 -0
  133. package/compute/cli/commands/function-graph-execution-output.js +290 -0
  134. package/compute/cli/commands/function-graph-execution.d.ts +8 -0
  135. package/compute/cli/commands/function-graph-execution.js +716 -0
  136. package/compute/cli/commands/function-graph-object.d.ts +8 -0
  137. package/compute/cli/commands/function-graph-object.js +309 -0
  138. package/compute/cli/commands/function-graph-ref.d.ts +8 -0
  139. package/compute/cli/commands/function-graph-ref.js +299 -0
  140. package/compute/cli/commands/function-graph-store.d.ts +8 -0
  141. package/compute/cli/commands/function-graph-store.js +278 -0
  142. package/compute/cli/commands/function-graph.d.ts +8 -0
  143. package/compute/cli/commands/function-graph.js +422 -0
  144. package/compute/cli/commands/function-invocation.d.ts +8 -0
  145. package/compute/cli/commands/function-invocation.js +512 -0
  146. package/compute/cli/commands/get-all-record.d.ts +8 -0
  147. package/compute/cli/commands/get-all-record.js +126 -0
  148. package/compute/cli/commands/import-definitions.d.ts +8 -0
  149. package/compute/cli/commands/import-definitions.js +36 -0
  150. package/compute/cli/commands/import-graph-json.d.ts +8 -0
  151. package/compute/cli/commands/import-graph-json.js +36 -0
  152. package/compute/cli/commands/init-empty-repo.d.ts +8 -0
  153. package/compute/cli/commands/init-empty-repo.js +36 -0
  154. package/compute/cli/commands/insert-node-at-path.d.ts +8 -0
  155. package/compute/cli/commands/insert-node-at-path.js +36 -0
  156. package/compute/cli/commands/org-function-execution-log.d.ts +8 -0
  157. package/compute/cli/commands/org-function-execution-log.js +360 -0
  158. package/compute/cli/commands/org-function-invocation.d.ts +8 -0
  159. package/compute/cli/commands/org-function-invocation.js +492 -0
  160. package/compute/cli/commands/provision-bucket.d.ts +8 -0
  161. package/compute/cli/commands/provision-bucket.js +36 -0
  162. package/compute/cli/commands/read-function-graph.d.ts +8 -0
  163. package/compute/cli/commands/read-function-graph.js +30 -0
  164. package/compute/cli/commands/save-graph.d.ts +8 -0
  165. package/compute/cli/commands/save-graph.js +36 -0
  166. package/compute/cli/commands/secret-definition.d.ts +8 -0
  167. package/compute/cli/commands/secret-definition.js +350 -0
  168. package/compute/cli/commands/set-data-at-path.d.ts +8 -0
  169. package/compute/cli/commands/set-data-at-path.js +36 -0
  170. package/compute/cli/commands/start-execution.d.ts +8 -0
  171. package/compute/cli/commands/start-execution.js +36 -0
  172. package/compute/cli/commands/validate-function-graph.d.ts +8 -0
  173. package/compute/cli/commands/validate-function-graph.js +36 -0
  174. package/compute/cli/commands.d.ts +7 -0
  175. package/compute/cli/commands.js +114 -0
  176. package/compute/cli/executor.d.ts +100 -0
  177. package/compute/cli/executor.js +40 -0
  178. package/compute/cli/index.d.ts +1 -0
  179. package/compute/cli/index.js +26 -0
  180. package/compute/cli/utils.d.ts +88 -0
  181. package/compute/cli/utils.js +297 -0
  182. package/compute/index.d.ts +6 -0
  183. package/compute/index.js +22 -0
  184. package/compute/orm/client.d.ts +97 -0
  185. package/compute/orm/client.js +152 -0
  186. package/compute/orm/index.d.ts +148 -0
  187. package/compute/orm/index.js +103 -0
  188. package/compute/orm/input-types.d.ts +4243 -0
  189. package/compute/orm/input-types.js +10 -0
  190. package/compute/orm/models/functionApiBinding.d.ts +54 -0
  191. package/compute/orm/models/functionApiBinding.js +104 -0
  192. package/compute/orm/models/functionDefinition.d.ts +54 -0
  193. package/compute/orm/models/functionDefinition.js +104 -0
  194. package/compute/orm/models/functionDeployment.d.ts +54 -0
  195. package/compute/orm/models/functionDeployment.js +104 -0
  196. package/compute/orm/models/functionDeploymentEvent.d.ts +56 -0
  197. package/compute/orm/models/functionDeploymentEvent.js +107 -0
  198. package/compute/orm/models/functionExecutionLog.d.ts +56 -0
  199. package/compute/orm/models/functionExecutionLog.js +107 -0
  200. package/compute/orm/models/functionGraph.d.ts +54 -0
  201. package/compute/orm/models/functionGraph.js +104 -0
  202. package/compute/orm/models/functionGraphCommit.d.ts +56 -0
  203. package/compute/orm/models/functionGraphCommit.js +107 -0
  204. package/compute/orm/models/functionGraphExecution.d.ts +56 -0
  205. package/compute/orm/models/functionGraphExecution.js +107 -0
  206. package/compute/orm/models/functionGraphExecutionNodeState.d.ts +56 -0
  207. package/compute/orm/models/functionGraphExecutionNodeState.js +107 -0
  208. package/compute/orm/models/functionGraphExecutionOutput.d.ts +56 -0
  209. package/compute/orm/models/functionGraphExecutionOutput.js +107 -0
  210. package/compute/orm/models/functionGraphObject.d.ts +56 -0
  211. package/compute/orm/models/functionGraphObject.js +97 -0
  212. package/compute/orm/models/functionGraphRef.d.ts +56 -0
  213. package/compute/orm/models/functionGraphRef.js +107 -0
  214. package/compute/orm/models/functionGraphStore.d.ts +54 -0
  215. package/compute/orm/models/functionGraphStore.js +104 -0
  216. package/compute/orm/models/functionInvocation.d.ts +56 -0
  217. package/compute/orm/models/functionInvocation.js +107 -0
  218. package/compute/orm/models/getAllRecord.d.ts +30 -0
  219. package/compute/orm/models/getAllRecord.js +59 -0
  220. package/compute/orm/models/index.d.ts +23 -0
  221. package/compute/orm/models/index.js +44 -0
  222. package/compute/orm/models/orgFunctionExecutionLog.d.ts +56 -0
  223. package/compute/orm/models/orgFunctionExecutionLog.js +107 -0
  224. package/compute/orm/models/orgFunctionInvocation.d.ts +56 -0
  225. package/compute/orm/models/orgFunctionInvocation.js +107 -0
  226. package/compute/orm/models/secretDefinition.d.ts +54 -0
  227. package/compute/orm/models/secretDefinition.js +104 -0
  228. package/compute/orm/mutation/index.d.ts +130 -0
  229. package/compute/orm/mutation/index.js +177 -0
  230. package/compute/orm/query/index.d.ts +17 -0
  231. package/compute/orm/query/index.js +21 -0
  232. package/compute/orm/query-builder.d.ts +110 -0
  233. package/compute/orm/query-builder.js +757 -0
  234. package/compute/orm/realtime.d.ts +142 -0
  235. package/compute/orm/realtime.js +104 -0
  236. package/compute/orm/select-types.d.ts +125 -0
  237. package/compute/orm/select-types.js +2 -0
  238. package/compute/orm/types.d.ts +6 -0
  239. package/compute/orm/types.js +23 -0
  240. package/config/cli/commands/auth.d.ts +8 -0
  241. package/config/cli/commands/auth.js +107 -0
  242. package/config/cli/commands/context.d.ts +8 -0
  243. package/config/cli/commands/context.js +158 -0
  244. package/config/cli/commands/org-secrets-del.d.ts +8 -0
  245. package/config/cli/commands/org-secrets-del.js +36 -0
  246. package/config/cli/commands/org-secrets-remove-array.d.ts +8 -0
  247. package/config/cli/commands/org-secrets-remove-array.js +36 -0
  248. package/config/cli/commands/org-secrets-rotate.d.ts +8 -0
  249. package/config/cli/commands/org-secrets-rotate.js +36 -0
  250. package/config/cli/commands/org-secrets-set.d.ts +8 -0
  251. package/config/cli/commands/org-secrets-set.js +36 -0
  252. package/config/cli/commands/platform-config-definition.d.ts +8 -0
  253. package/config/cli/commands/platform-config-definition.js +352 -0
  254. package/config/cli/commands/platform-config.d.ts +8 -0
  255. package/config/cli/commands/platform-config.js +372 -0
  256. package/config/cli/commands/platform-secrets-del.d.ts +8 -0
  257. package/config/cli/commands/platform-secrets-del.js +36 -0
  258. package/config/cli/commands/platform-secrets-remove-array.d.ts +8 -0
  259. package/config/cli/commands/platform-secrets-remove-array.js +36 -0
  260. package/config/cli/commands/platform-secrets-rotate.d.ts +8 -0
  261. package/config/cli/commands/platform-secrets-rotate.js +36 -0
  262. package/config/cli/commands/platform-secrets-set.d.ts +8 -0
  263. package/config/cli/commands/platform-secrets-set.js +36 -0
  264. package/config/cli/commands/provision-bucket.d.ts +8 -0
  265. package/config/cli/commands/provision-bucket.js +36 -0
  266. package/config/cli/commands.d.ts +7 -0
  267. package/config/cli/commands.js +70 -0
  268. package/config/cli/executor.d.ts +52 -0
  269. package/config/cli/executor.js +40 -0
  270. package/config/cli/index.d.ts +1 -0
  271. package/config/cli/index.js +26 -0
  272. package/config/cli/utils.d.ts +88 -0
  273. package/config/cli/utils.js +297 -0
  274. package/config/index.d.ts +6 -2
  275. package/config/index.js +20 -4
  276. package/config/orm/client.d.ts +97 -0
  277. package/config/orm/client.js +152 -0
  278. package/config/orm/index.d.ts +83 -0
  279. package/config/orm/index.js +67 -0
  280. package/config/orm/input-types.d.ts +719 -0
  281. package/config/orm/input-types.js +5 -0
  282. package/config/orm/models/index.d.ts +7 -0
  283. package/config/orm/models/index.js +12 -0
  284. package/config/orm/models/platformConfig.d.ts +54 -0
  285. package/config/orm/models/platformConfig.js +104 -0
  286. package/config/orm/models/platformConfigDefinition.d.ts +54 -0
  287. package/config/orm/models/platformConfigDefinition.js +104 -0
  288. package/config/orm/mutation/index.d.ts +90 -0
  289. package/config/orm/mutation/index.js +117 -0
  290. package/config/orm/query-builder.d.ts +110 -0
  291. package/config/orm/query-builder.js +757 -0
  292. package/config/orm/realtime.d.ts +142 -0
  293. package/config/orm/realtime.js +104 -0
  294. package/config/orm/select-types.d.ts +125 -0
  295. package/config/orm/select-types.js +2 -0
  296. package/config/orm/types.d.ts +6 -0
  297. package/config/orm/types.js +23 -0
  298. package/config-store.d.ts +28 -0
  299. package/config-store.js +149 -0
  300. package/esm/admin/orm/models/appAdminGrant.js +1 -1
  301. package/esm/admin/orm/models/appClaimedInvite.js +1 -1
  302. package/esm/admin/orm/models/appGrant.js +1 -1
  303. package/esm/admin/orm/models/appInvite.js +1 -1
  304. package/esm/admin/orm/models/appMembership.js +1 -1
  305. package/esm/admin/orm/models/appMembershipDefault.js +1 -1
  306. package/esm/admin/orm/models/appOwnerGrant.js +1 -1
  307. package/esm/admin/orm/models/appPermission.js +1 -1
  308. package/esm/admin/orm/models/appPermissionDefault.js +1 -1
  309. package/esm/admin/orm/models/appPermissionDefaultGrant.js +1 -1
  310. package/esm/admin/orm/models/appPermissionDefaultPermission.js +1 -1
  311. package/esm/admin/orm/models/membershipType.js +1 -1
  312. package/esm/admin/orm/models/orgAdminGrant.js +1 -1
  313. package/esm/admin/orm/models/orgChartEdge.js +1 -1
  314. package/esm/admin/orm/models/orgChartEdgeGrant.js +1 -1
  315. package/esm/admin/orm/models/orgClaimedInvite.js +1 -1
  316. package/esm/admin/orm/models/orgGrant.js +1 -1
  317. package/esm/admin/orm/models/orgInvite.js +1 -1
  318. package/esm/admin/orm/models/orgMember.js +1 -1
  319. package/esm/admin/orm/models/orgMemberProfile.js +1 -1
  320. package/esm/admin/orm/models/orgMembership.js +1 -1
  321. package/esm/admin/orm/models/orgMembershipDefault.js +1 -1
  322. package/esm/admin/orm/models/orgMembershipSetting.js +1 -1
  323. package/esm/admin/orm/models/orgOwnerGrant.js +1 -1
  324. package/esm/admin/orm/models/orgPermission.js +1 -1
  325. package/esm/admin/orm/models/orgPermissionDefault.js +1 -1
  326. package/esm/admin/orm/models/orgPermissionDefaultGrant.js +1 -1
  327. package/esm/admin/orm/models/orgPermissionDefaultPermission.js +1 -1
  328. package/esm/admin/orm/query-builder.d.ts +1 -1
  329. package/esm/admin/orm/query-builder.js +2 -1
  330. package/esm/agent/orm/input-types.d.ts +14 -2
  331. package/esm/agent/orm/models/agent.js +1 -1
  332. package/esm/agent/orm/models/agentMessage.js +1 -1
  333. package/esm/agent/orm/models/agentPersona.js +1 -1
  334. package/esm/agent/orm/models/agentPlan.js +1 -1
  335. package/esm/agent/orm/models/agentPrompt.js +1 -1
  336. package/esm/agent/orm/models/agentResource.js +1 -1
  337. package/esm/agent/orm/models/agentResourceChunk.js +1 -1
  338. package/esm/agent/orm/models/agentTask.js +1 -1
  339. package/esm/agent/orm/models/agentThread.js +1 -1
  340. package/esm/agent/orm/query-builder.d.ts +1 -1
  341. package/esm/agent/orm/query-builder.js +2 -1
  342. package/esm/api/cli/commands/schema.js +22 -0
  343. package/esm/api/orm/input-types.d.ts +36 -1
  344. package/esm/api/orm/models/api.js +1 -1
  345. package/esm/api/orm/models/apiModule.js +1 -1
  346. package/esm/api/orm/models/apiSchema.js +1 -1
  347. package/esm/api/orm/models/apiSetting.js +1 -1
  348. package/esm/api/orm/models/app.js +1 -1
  349. package/esm/api/orm/models/checkConstraint.js +1 -1
  350. package/esm/api/orm/models/compositeType.js +1 -1
  351. package/esm/api/orm/models/corsSetting.js +1 -1
  352. package/esm/api/orm/models/database.js +1 -1
  353. package/esm/api/orm/models/databaseSetting.js +1 -1
  354. package/esm/api/orm/models/databaseTransfer.js +1 -1
  355. package/esm/api/orm/models/defaultPrivilege.js +1 -1
  356. package/esm/api/orm/models/domain.js +1 -1
  357. package/esm/api/orm/models/embeddingChunk.js +1 -1
  358. package/esm/api/orm/models/enum.js +1 -1
  359. package/esm/api/orm/models/field.js +1 -1
  360. package/esm/api/orm/models/foreignKeyConstraint.js +1 -1
  361. package/esm/api/orm/models/fullTextSearch.js +1 -1
  362. package/esm/api/orm/models/function.js +1 -1
  363. package/esm/api/orm/models/indexModel.js +1 -1
  364. package/esm/api/orm/models/nodeTypeRegistry.js +1 -1
  365. package/esm/api/orm/models/partition.js +1 -1
  366. package/esm/api/orm/models/policy.js +1 -1
  367. package/esm/api/orm/models/primaryKeyConstraint.js +1 -1
  368. package/esm/api/orm/models/pubkeySetting.js +1 -1
  369. package/esm/api/orm/models/rlsSetting.js +1 -1
  370. package/esm/api/orm/models/schema.js +1 -1
  371. package/esm/api/orm/models/schemaGrant.js +1 -1
  372. package/esm/api/orm/models/site.js +1 -1
  373. package/esm/api/orm/models/siteMetadatum.js +1 -1
  374. package/esm/api/orm/models/siteModule.js +1 -1
  375. package/esm/api/orm/models/siteTheme.js +1 -1
  376. package/esm/api/orm/models/spatialRelation.js +1 -1
  377. package/esm/api/orm/models/table.js +1 -1
  378. package/esm/api/orm/models/tableGrant.js +1 -1
  379. package/esm/api/orm/models/trigger.js +1 -1
  380. package/esm/api/orm/models/triggerFunction.js +1 -1
  381. package/esm/api/orm/models/uniqueConstraint.js +1 -1
  382. package/esm/api/orm/models/view.js +1 -1
  383. package/esm/api/orm/models/viewGrant.js +1 -1
  384. package/esm/api/orm/models/viewRule.js +1 -1
  385. package/esm/api/orm/models/viewTable.js +1 -1
  386. package/esm/api/orm/models/webauthnSetting.js +1 -1
  387. package/esm/api/orm/query-builder.d.ts +1 -1
  388. package/esm/api/orm/query-builder.js +2 -1
  389. package/esm/auth/cli/commands/audit-log-auth.js +14 -0
  390. package/esm/auth/orm/input-types.d.ts +4 -2
  391. package/esm/auth/orm/models/auditLogAuth.d.ts +2 -0
  392. package/esm/auth/orm/models/auditLogAuth.js +4 -1
  393. package/esm/auth/orm/models/cryptoAddress.js +1 -1
  394. package/esm/auth/orm/models/email.js +1 -1
  395. package/esm/auth/orm/models/phoneNumber.js +1 -1
  396. package/esm/auth/orm/models/roleType.js +1 -1
  397. package/esm/auth/orm/models/user.js +1 -1
  398. package/esm/auth/orm/models/webauthnCredential.js +1 -1
  399. package/esm/auth/orm/query-builder.d.ts +1 -1
  400. package/esm/auth/orm/query-builder.js +2 -1
  401. package/esm/cli-commands.js +1 -1
  402. package/esm/compute/cli/commands/add-edge-and-save.d.ts +8 -0
  403. package/esm/compute/cli/commands/add-edge-and-save.js +34 -0
  404. package/esm/compute/cli/commands/add-edge.d.ts +8 -0
  405. package/esm/compute/cli/commands/add-edge.js +34 -0
  406. package/esm/compute/cli/commands/add-node-and-save.d.ts +8 -0
  407. package/esm/compute/cli/commands/add-node-and-save.js +34 -0
  408. package/esm/compute/cli/commands/add-node.d.ts +8 -0
  409. package/esm/compute/cli/commands/add-node.js +34 -0
  410. package/esm/compute/cli/commands/auth.d.ts +8 -0
  411. package/esm/compute/cli/commands/auth.js +105 -0
  412. package/esm/compute/cli/commands/context.d.ts +8 -0
  413. package/esm/compute/cli/commands/context.js +156 -0
  414. package/esm/compute/cli/commands/copy-graph.d.ts +8 -0
  415. package/esm/compute/cli/commands/copy-graph.js +34 -0
  416. package/esm/compute/cli/commands/function-api-binding.d.ts +8 -0
  417. package/esm/compute/cli/commands/function-api-binding.js +292 -0
  418. package/esm/compute/cli/commands/function-definition.d.ts +8 -0
  419. package/esm/compute/cli/commands/function-definition.js +786 -0
  420. package/esm/compute/cli/commands/function-deployment-event.d.ts +8 -0
  421. package/esm/compute/cli/commands/function-deployment-event.js +354 -0
  422. package/esm/compute/cli/commands/function-deployment.d.ts +8 -0
  423. package/esm/compute/cli/commands/function-deployment.js +610 -0
  424. package/esm/compute/cli/commands/function-execution-log.d.ts +8 -0
  425. package/esm/compute/cli/commands/function-execution-log.js +378 -0
  426. package/esm/compute/cli/commands/function-graph-commit.d.ts +8 -0
  427. package/esm/compute/cli/commands/function-graph-commit.js +387 -0
  428. package/esm/compute/cli/commands/function-graph-execution-node-state.d.ts +8 -0
  429. package/esm/compute/cli/commands/function-graph-execution-node-state.js +442 -0
  430. package/esm/compute/cli/commands/function-graph-execution-output.d.ts +8 -0
  431. package/esm/compute/cli/commands/function-graph-execution-output.js +288 -0
  432. package/esm/compute/cli/commands/function-graph-execution.d.ts +8 -0
  433. package/esm/compute/cli/commands/function-graph-execution.js +714 -0
  434. package/esm/compute/cli/commands/function-graph-object.d.ts +8 -0
  435. package/esm/compute/cli/commands/function-graph-object.js +307 -0
  436. package/esm/compute/cli/commands/function-graph-ref.d.ts +8 -0
  437. package/esm/compute/cli/commands/function-graph-ref.js +297 -0
  438. package/esm/compute/cli/commands/function-graph-store.d.ts +8 -0
  439. package/esm/compute/cli/commands/function-graph-store.js +276 -0
  440. package/esm/compute/cli/commands/function-graph.d.ts +8 -0
  441. package/esm/compute/cli/commands/function-graph.js +420 -0
  442. package/esm/compute/cli/commands/function-invocation.d.ts +8 -0
  443. package/esm/compute/cli/commands/function-invocation.js +510 -0
  444. package/esm/compute/cli/commands/get-all-record.d.ts +8 -0
  445. package/esm/compute/cli/commands/get-all-record.js +124 -0
  446. package/esm/compute/cli/commands/import-definitions.d.ts +8 -0
  447. package/esm/compute/cli/commands/import-definitions.js +34 -0
  448. package/esm/compute/cli/commands/import-graph-json.d.ts +8 -0
  449. package/esm/compute/cli/commands/import-graph-json.js +34 -0
  450. package/esm/compute/cli/commands/init-empty-repo.d.ts +8 -0
  451. package/esm/compute/cli/commands/init-empty-repo.js +34 -0
  452. package/esm/compute/cli/commands/insert-node-at-path.d.ts +8 -0
  453. package/esm/compute/cli/commands/insert-node-at-path.js +34 -0
  454. package/esm/compute/cli/commands/org-function-execution-log.d.ts +8 -0
  455. package/esm/compute/cli/commands/org-function-execution-log.js +358 -0
  456. package/esm/compute/cli/commands/org-function-invocation.d.ts +8 -0
  457. package/esm/compute/cli/commands/org-function-invocation.js +490 -0
  458. package/esm/compute/cli/commands/provision-bucket.d.ts +8 -0
  459. package/esm/compute/cli/commands/provision-bucket.js +34 -0
  460. package/esm/compute/cli/commands/read-function-graph.d.ts +8 -0
  461. package/esm/compute/cli/commands/read-function-graph.js +28 -0
  462. package/esm/compute/cli/commands/save-graph.d.ts +8 -0
  463. package/esm/compute/cli/commands/save-graph.js +34 -0
  464. package/esm/compute/cli/commands/secret-definition.d.ts +8 -0
  465. package/esm/compute/cli/commands/secret-definition.js +348 -0
  466. package/esm/compute/cli/commands/set-data-at-path.d.ts +8 -0
  467. package/esm/compute/cli/commands/set-data-at-path.js +34 -0
  468. package/esm/compute/cli/commands/start-execution.d.ts +8 -0
  469. package/esm/compute/cli/commands/start-execution.js +34 -0
  470. package/esm/compute/cli/commands/validate-function-graph.d.ts +8 -0
  471. package/esm/compute/cli/commands/validate-function-graph.js +34 -0
  472. package/esm/compute/cli/commands.d.ts +7 -0
  473. package/esm/compute/cli/commands.js +107 -0
  474. package/esm/compute/cli/executor.d.ts +100 -0
  475. package/esm/compute/cli/executor.js +35 -0
  476. package/esm/compute/cli/index.d.ts +1 -0
  477. package/esm/compute/cli/index.js +24 -0
  478. package/esm/compute/cli/utils.d.ts +88 -0
  479. package/esm/compute/cli/utils.js +281 -0
  480. package/esm/compute/index.d.ts +6 -0
  481. package/esm/compute/index.js +6 -0
  482. package/esm/compute/orm/client.d.ts +97 -0
  483. package/esm/compute/orm/client.js +145 -0
  484. package/esm/compute/orm/index.d.ts +148 -0
  485. package/esm/compute/orm/index.js +80 -0
  486. package/esm/compute/orm/input-types.d.ts +4243 -0
  487. package/esm/compute/orm/input-types.js +7 -0
  488. package/esm/compute/orm/models/functionApiBinding.d.ts +54 -0
  489. package/esm/compute/orm/models/functionApiBinding.js +100 -0
  490. package/esm/compute/orm/models/functionDefinition.d.ts +54 -0
  491. package/esm/compute/orm/models/functionDefinition.js +100 -0
  492. package/esm/compute/orm/models/functionDeployment.d.ts +54 -0
  493. package/esm/compute/orm/models/functionDeployment.js +100 -0
  494. package/esm/compute/orm/models/functionDeploymentEvent.d.ts +56 -0
  495. package/esm/compute/orm/models/functionDeploymentEvent.js +103 -0
  496. package/esm/compute/orm/models/functionExecutionLog.d.ts +56 -0
  497. package/esm/compute/orm/models/functionExecutionLog.js +103 -0
  498. package/esm/compute/orm/models/functionGraph.d.ts +54 -0
  499. package/esm/compute/orm/models/functionGraph.js +100 -0
  500. package/esm/compute/orm/models/functionGraphCommit.d.ts +56 -0
  501. package/esm/compute/orm/models/functionGraphCommit.js +103 -0
  502. package/esm/compute/orm/models/functionGraphExecution.d.ts +56 -0
  503. package/esm/compute/orm/models/functionGraphExecution.js +103 -0
  504. package/esm/compute/orm/models/functionGraphExecutionNodeState.d.ts +56 -0
  505. package/esm/compute/orm/models/functionGraphExecutionNodeState.js +103 -0
  506. package/esm/compute/orm/models/functionGraphExecutionOutput.d.ts +56 -0
  507. package/esm/compute/orm/models/functionGraphExecutionOutput.js +103 -0
  508. package/esm/compute/orm/models/functionGraphObject.d.ts +56 -0
  509. package/esm/compute/orm/models/functionGraphObject.js +93 -0
  510. package/esm/compute/orm/models/functionGraphRef.d.ts +56 -0
  511. package/esm/compute/orm/models/functionGraphRef.js +103 -0
  512. package/esm/compute/orm/models/functionGraphStore.d.ts +54 -0
  513. package/esm/compute/orm/models/functionGraphStore.js +100 -0
  514. package/esm/compute/orm/models/functionInvocation.d.ts +56 -0
  515. package/esm/compute/orm/models/functionInvocation.js +103 -0
  516. package/esm/compute/orm/models/getAllRecord.d.ts +30 -0
  517. package/esm/compute/orm/models/getAllRecord.js +55 -0
  518. package/esm/compute/orm/models/index.d.ts +23 -0
  519. package/esm/compute/orm/models/index.js +23 -0
  520. package/esm/compute/orm/models/orgFunctionExecutionLog.d.ts +56 -0
  521. package/esm/compute/orm/models/orgFunctionExecutionLog.js +103 -0
  522. package/esm/compute/orm/models/orgFunctionInvocation.d.ts +56 -0
  523. package/esm/compute/orm/models/orgFunctionInvocation.js +103 -0
  524. package/esm/compute/orm/models/secretDefinition.d.ts +54 -0
  525. package/esm/compute/orm/models/secretDefinition.js +100 -0
  526. package/esm/compute/orm/mutation/index.d.ts +130 -0
  527. package/esm/compute/orm/mutation/index.js +174 -0
  528. package/esm/compute/orm/query/index.d.ts +17 -0
  529. package/esm/compute/orm/query/index.js +18 -0
  530. package/esm/compute/orm/query-builder.d.ts +110 -0
  531. package/esm/compute/orm/query-builder.js +705 -0
  532. package/esm/compute/orm/realtime.d.ts +142 -0
  533. package/esm/compute/orm/realtime.js +100 -0
  534. package/esm/compute/orm/select-types.d.ts +125 -0
  535. package/esm/compute/orm/select-types.js +1 -0
  536. package/esm/compute/orm/types.d.ts +6 -0
  537. package/esm/compute/orm/types.js +7 -0
  538. package/esm/config/cli/commands/auth.d.ts +8 -0
  539. package/esm/config/cli/commands/auth.js +105 -0
  540. package/esm/config/cli/commands/context.d.ts +8 -0
  541. package/esm/config/cli/commands/context.js +156 -0
  542. package/esm/config/cli/commands/org-secrets-del.d.ts +8 -0
  543. package/esm/config/cli/commands/org-secrets-del.js +34 -0
  544. package/esm/config/cli/commands/org-secrets-remove-array.d.ts +8 -0
  545. package/esm/config/cli/commands/org-secrets-remove-array.js +34 -0
  546. package/esm/config/cli/commands/org-secrets-rotate.d.ts +8 -0
  547. package/esm/config/cli/commands/org-secrets-rotate.js +34 -0
  548. package/esm/config/cli/commands/org-secrets-set.d.ts +8 -0
  549. package/esm/config/cli/commands/org-secrets-set.js +34 -0
  550. package/esm/config/cli/commands/platform-config-definition.d.ts +8 -0
  551. package/esm/config/cli/commands/platform-config-definition.js +350 -0
  552. package/esm/config/cli/commands/platform-config.d.ts +8 -0
  553. package/esm/config/cli/commands/platform-config.js +370 -0
  554. package/esm/config/cli/commands/platform-secrets-del.d.ts +8 -0
  555. package/esm/config/cli/commands/platform-secrets-del.js +34 -0
  556. package/esm/config/cli/commands/platform-secrets-remove-array.d.ts +8 -0
  557. package/esm/config/cli/commands/platform-secrets-remove-array.js +34 -0
  558. package/esm/config/cli/commands/platform-secrets-rotate.d.ts +8 -0
  559. package/esm/config/cli/commands/platform-secrets-rotate.js +34 -0
  560. package/esm/config/cli/commands/platform-secrets-set.d.ts +8 -0
  561. package/esm/config/cli/commands/platform-secrets-set.js +34 -0
  562. package/esm/config/cli/commands/provision-bucket.d.ts +8 -0
  563. package/esm/config/cli/commands/provision-bucket.js +34 -0
  564. package/esm/config/cli/commands.d.ts +7 -0
  565. package/esm/config/cli/commands.js +63 -0
  566. package/esm/config/cli/executor.d.ts +52 -0
  567. package/esm/config/cli/executor.js +35 -0
  568. package/esm/config/cli/index.d.ts +1 -0
  569. package/esm/config/cli/index.js +24 -0
  570. package/esm/config/cli/utils.d.ts +88 -0
  571. package/esm/config/cli/utils.js +281 -0
  572. package/esm/config/index.d.ts +6 -2
  573. package/esm/config/index.js +6 -1
  574. package/esm/config/orm/client.d.ts +97 -0
  575. package/esm/config/orm/client.js +145 -0
  576. package/esm/config/orm/index.d.ts +83 -0
  577. package/esm/config/orm/index.js +45 -0
  578. package/esm/config/orm/input-types.d.ts +719 -0
  579. package/esm/config/orm/input-types.js +2 -0
  580. package/esm/config/orm/models/index.d.ts +7 -0
  581. package/esm/config/orm/models/index.js +7 -0
  582. package/esm/config/orm/models/platformConfig.d.ts +54 -0
  583. package/esm/config/orm/models/platformConfig.js +100 -0
  584. package/esm/config/orm/models/platformConfigDefinition.d.ts +54 -0
  585. package/esm/config/orm/models/platformConfigDefinition.js +100 -0
  586. package/esm/config/orm/mutation/index.d.ts +90 -0
  587. package/esm/config/orm/mutation/index.js +114 -0
  588. package/esm/config/orm/query-builder.d.ts +110 -0
  589. package/esm/config/orm/query-builder.js +705 -0
  590. package/esm/config/orm/realtime.d.ts +142 -0
  591. package/esm/config/orm/realtime.js +100 -0
  592. package/esm/config/orm/select-types.d.ts +125 -0
  593. package/esm/config/orm/select-types.js +1 -0
  594. package/esm/config/orm/types.d.ts +6 -0
  595. package/esm/config/orm/types.js +7 -0
  596. package/esm/config-store.d.ts +28 -0
  597. package/esm/config-store.js +113 -0
  598. package/esm/index.d.ts +2 -0
  599. package/esm/index.js +2 -0
  600. package/esm/modules/cli/commands/function-deployment-module.d.ts +8 -0
  601. package/esm/modules/cli/commands/function-deployment-module.js +624 -0
  602. package/esm/modules/cli/commands/graph-execution-module.d.ts +8 -0
  603. package/esm/modules/cli/commands/graph-execution-module.js +650 -0
  604. package/esm/modules/cli/commands/graph-module.js +0 -44
  605. package/esm/modules/cli/commands/namespace-module.js +22 -0
  606. package/esm/modules/cli/commands.js +7 -3
  607. package/esm/modules/cli/executor.d.ts +3 -1
  608. package/esm/modules/orm/index.d.ts +6 -2
  609. package/esm/modules/orm/index.js +6 -2
  610. package/esm/modules/orm/input-types.d.ts +722 -239
  611. package/esm/modules/orm/models/agentModule.js +1 -1
  612. package/esm/modules/orm/models/billingModule.js +1 -1
  613. package/esm/modules/orm/models/billingProviderModule.js +1 -1
  614. package/esm/modules/orm/models/blueprint.js +1 -1
  615. package/esm/modules/orm/models/blueprintConstruction.js +1 -1
  616. package/esm/modules/orm/models/blueprintTemplate.js +1 -1
  617. package/esm/modules/orm/models/computeLogModule.js +1 -1
  618. package/esm/modules/orm/models/configSecretsModule.js +1 -1
  619. package/esm/modules/orm/models/configSecretsOrgModule.js +1 -1
  620. package/esm/modules/orm/models/configSecretsUserModule.js +1 -1
  621. package/esm/modules/orm/models/connectedAccountsModule.js +1 -1
  622. package/esm/modules/orm/models/cryptoAddressesModule.js +1 -1
  623. package/esm/modules/orm/models/cryptoAuthModule.js +1 -1
  624. package/esm/modules/orm/models/databaseProvisionModule.js +1 -1
  625. package/esm/modules/orm/models/dbUsageModule.js +1 -1
  626. package/esm/modules/orm/models/defaultIdsModule.js +1 -1
  627. package/esm/modules/orm/models/denormalizedTableField.js +1 -1
  628. package/esm/modules/orm/models/devicesModule.js +1 -1
  629. package/esm/modules/orm/models/emailsModule.js +1 -1
  630. package/esm/modules/orm/models/entityTypeProvision.js +1 -1
  631. package/esm/modules/orm/models/eventsModule.js +1 -1
  632. package/esm/modules/orm/models/functionDeploymentModule.d.ts +54 -0
  633. package/esm/modules/orm/models/functionDeploymentModule.js +100 -0
  634. package/esm/modules/orm/models/functionInvocationModule.js +1 -1
  635. package/esm/modules/orm/models/functionModule.js +1 -1
  636. package/esm/modules/orm/models/graphExecutionModule.d.ts +54 -0
  637. package/esm/modules/orm/models/graphExecutionModule.js +100 -0
  638. package/esm/modules/orm/models/graphModule.js +1 -1
  639. package/esm/modules/orm/models/hierarchyModule.js +1 -1
  640. package/esm/modules/orm/models/i18NModule.js +1 -1
  641. package/esm/modules/orm/models/identityProvidersModule.js +1 -1
  642. package/esm/modules/orm/models/index.d.ts +3 -1
  643. package/esm/modules/orm/models/index.js +3 -1
  644. package/esm/modules/orm/models/inferenceLogModule.js +1 -1
  645. package/esm/modules/orm/models/invitesModule.js +1 -1
  646. package/esm/modules/orm/models/limitsModule.js +1 -1
  647. package/esm/modules/orm/models/membershipTypesModule.js +1 -1
  648. package/esm/modules/orm/models/membershipsModule.js +1 -1
  649. package/esm/modules/orm/models/merkleStoreModule.js +1 -1
  650. package/esm/modules/orm/models/namespaceModule.js +1 -1
  651. package/esm/modules/orm/models/notificationsModule.js +1 -1
  652. package/esm/modules/orm/models/permissionsModule.js +1 -1
  653. package/esm/modules/orm/models/phoneNumbersModule.js +1 -1
  654. package/esm/modules/orm/models/plansModule.js +1 -1
  655. package/esm/modules/orm/models/profilesModule.js +1 -1
  656. package/esm/modules/orm/models/rateLimitMetersModule.js +1 -1
  657. package/esm/modules/orm/models/rateLimitsModule.js +1 -1
  658. package/esm/modules/orm/models/realtimeModule.js +1 -1
  659. package/esm/modules/orm/models/relationProvision.js +1 -1
  660. package/esm/modules/orm/models/rlsModule.js +1 -1
  661. package/esm/modules/orm/models/secureTableProvision.js +1 -1
  662. package/esm/modules/orm/models/sessionSecretsModule.js +1 -1
  663. package/esm/modules/orm/models/sessionsModule.js +1 -1
  664. package/esm/modules/orm/models/storageLogModule.js +1 -1
  665. package/esm/modules/orm/models/storageModule.js +1 -1
  666. package/esm/modules/orm/models/transferLogModule.js +1 -1
  667. package/esm/modules/orm/models/userAuthModule.js +1 -1
  668. package/esm/modules/orm/models/userCredentialsModule.js +1 -1
  669. package/esm/modules/orm/models/userSettingsModule.js +1 -1
  670. package/esm/modules/orm/models/userStateModule.js +1 -1
  671. package/esm/modules/orm/models/usersModule.js +1 -1
  672. package/esm/modules/orm/models/webauthnAuthModule.js +1 -1
  673. package/esm/modules/orm/models/webauthnCredentialsModule.js +1 -1
  674. package/esm/modules/orm/query-builder.d.ts +1 -1
  675. package/esm/modules/orm/query-builder.js +2 -1
  676. package/esm/objects/cli/commands/commit.js +14 -7
  677. package/esm/objects/cli/commands/object.js +9 -2
  678. package/esm/objects/cli/commands/ref.js +13 -6
  679. package/esm/objects/orm/models/commit.d.ts +2 -0
  680. package/esm/objects/orm/models/commit.js +4 -1
  681. package/esm/objects/orm/models/object.d.ts +2 -0
  682. package/esm/objects/orm/models/object.js +4 -1
  683. package/esm/objects/orm/models/ref.d.ts +2 -0
  684. package/esm/objects/orm/models/ref.js +4 -1
  685. package/esm/objects/orm/models/store.js +1 -1
  686. package/esm/objects/orm/query-builder.d.ts +1 -1
  687. package/esm/objects/orm/query-builder.js +2 -1
  688. package/esm/usage/cli/commands/app-limit-event.js +14 -0
  689. package/esm/usage/cli/commands/org-limit-event.js +14 -0
  690. package/esm/usage/orm/models/appLimit.js +1 -1
  691. package/esm/usage/orm/models/appLimitCap.js +1 -1
  692. package/esm/usage/orm/models/appLimitCapsDefault.js +1 -1
  693. package/esm/usage/orm/models/appLimitCredit.js +1 -1
  694. package/esm/usage/orm/models/appLimitCreditCode.js +1 -1
  695. package/esm/usage/orm/models/appLimitCreditCodeItem.js +1 -1
  696. package/esm/usage/orm/models/appLimitCreditRedemption.js +1 -1
  697. package/esm/usage/orm/models/appLimitDefault.js +1 -1
  698. package/esm/usage/orm/models/appLimitEvent.d.ts +2 -0
  699. package/esm/usage/orm/models/appLimitEvent.js +4 -1
  700. package/esm/usage/orm/models/appLimitWarning.js +1 -1
  701. package/esm/usage/orm/models/orgLimit.js +1 -1
  702. package/esm/usage/orm/models/orgLimitAggregate.js +1 -1
  703. package/esm/usage/orm/models/orgLimitCap.js +1 -1
  704. package/esm/usage/orm/models/orgLimitCapsDefault.js +1 -1
  705. package/esm/usage/orm/models/orgLimitCredit.js +1 -1
  706. package/esm/usage/orm/models/orgLimitDefault.js +1 -1
  707. package/esm/usage/orm/models/orgLimitEvent.d.ts +2 -0
  708. package/esm/usage/orm/models/orgLimitEvent.js +4 -1
  709. package/esm/usage/orm/models/orgLimitWarning.js +1 -1
  710. package/esm/usage/orm/query-builder.d.ts +1 -1
  711. package/esm/usage/orm/query-builder.js +2 -1
  712. package/index.d.ts +2 -0
  713. package/index.js +3 -1
  714. package/modules/cli/commands/function-deployment-module.d.ts +8 -0
  715. package/modules/cli/commands/function-deployment-module.js +626 -0
  716. package/modules/cli/commands/graph-execution-module.d.ts +8 -0
  717. package/modules/cli/commands/graph-execution-module.js +652 -0
  718. package/modules/cli/commands/graph-module.js +0 -44
  719. package/modules/cli/commands/namespace-module.js +22 -0
  720. package/modules/cli/commands.js +7 -3
  721. package/modules/cli/executor.d.ts +3 -1
  722. package/modules/orm/index.d.ts +6 -2
  723. package/modules/orm/index.js +6 -2
  724. package/modules/orm/input-types.d.ts +722 -239
  725. package/modules/orm/models/agentModule.js +1 -1
  726. package/modules/orm/models/billingModule.js +1 -1
  727. package/modules/orm/models/billingProviderModule.js +1 -1
  728. package/modules/orm/models/blueprint.js +1 -1
  729. package/modules/orm/models/blueprintConstruction.js +1 -1
  730. package/modules/orm/models/blueprintTemplate.js +1 -1
  731. package/modules/orm/models/computeLogModule.js +1 -1
  732. package/modules/orm/models/configSecretsModule.js +1 -1
  733. package/modules/orm/models/configSecretsOrgModule.js +1 -1
  734. package/modules/orm/models/configSecretsUserModule.js +1 -1
  735. package/modules/orm/models/connectedAccountsModule.js +1 -1
  736. package/modules/orm/models/cryptoAddressesModule.js +1 -1
  737. package/modules/orm/models/cryptoAuthModule.js +1 -1
  738. package/modules/orm/models/databaseProvisionModule.js +1 -1
  739. package/modules/orm/models/dbUsageModule.js +1 -1
  740. package/modules/orm/models/defaultIdsModule.js +1 -1
  741. package/modules/orm/models/denormalizedTableField.js +1 -1
  742. package/modules/orm/models/devicesModule.js +1 -1
  743. package/modules/orm/models/emailsModule.js +1 -1
  744. package/modules/orm/models/entityTypeProvision.js +1 -1
  745. package/modules/orm/models/eventsModule.js +1 -1
  746. package/modules/orm/models/functionDeploymentModule.d.ts +54 -0
  747. package/modules/orm/models/functionDeploymentModule.js +104 -0
  748. package/modules/orm/models/functionInvocationModule.js +1 -1
  749. package/modules/orm/models/functionModule.js +1 -1
  750. package/modules/orm/models/graphExecutionModule.d.ts +54 -0
  751. package/modules/orm/models/graphExecutionModule.js +104 -0
  752. package/modules/orm/models/graphModule.js +1 -1
  753. package/modules/orm/models/hierarchyModule.js +1 -1
  754. package/modules/orm/models/i18NModule.js +1 -1
  755. package/modules/orm/models/identityProvidersModule.js +1 -1
  756. package/modules/orm/models/index.d.ts +3 -1
  757. package/modules/orm/models/index.js +8 -4
  758. package/modules/orm/models/inferenceLogModule.js +1 -1
  759. package/modules/orm/models/invitesModule.js +1 -1
  760. package/modules/orm/models/limitsModule.js +1 -1
  761. package/modules/orm/models/membershipTypesModule.js +1 -1
  762. package/modules/orm/models/membershipsModule.js +1 -1
  763. package/modules/orm/models/merkleStoreModule.js +1 -1
  764. package/modules/orm/models/namespaceModule.js +1 -1
  765. package/modules/orm/models/notificationsModule.js +1 -1
  766. package/modules/orm/models/permissionsModule.js +1 -1
  767. package/modules/orm/models/phoneNumbersModule.js +1 -1
  768. package/modules/orm/models/plansModule.js +1 -1
  769. package/modules/orm/models/profilesModule.js +1 -1
  770. package/modules/orm/models/rateLimitMetersModule.js +1 -1
  771. package/modules/orm/models/rateLimitsModule.js +1 -1
  772. package/modules/orm/models/realtimeModule.js +1 -1
  773. package/modules/orm/models/relationProvision.js +1 -1
  774. package/modules/orm/models/rlsModule.js +1 -1
  775. package/modules/orm/models/secureTableProvision.js +1 -1
  776. package/modules/orm/models/sessionSecretsModule.js +1 -1
  777. package/modules/orm/models/sessionsModule.js +1 -1
  778. package/modules/orm/models/storageLogModule.js +1 -1
  779. package/modules/orm/models/storageModule.js +1 -1
  780. package/modules/orm/models/transferLogModule.js +1 -1
  781. package/modules/orm/models/userAuthModule.js +1 -1
  782. package/modules/orm/models/userCredentialsModule.js +1 -1
  783. package/modules/orm/models/userSettingsModule.js +1 -1
  784. package/modules/orm/models/userStateModule.js +1 -1
  785. package/modules/orm/models/usersModule.js +1 -1
  786. package/modules/orm/models/webauthnAuthModule.js +1 -1
  787. package/modules/orm/models/webauthnCredentialsModule.js +1 -1
  788. package/modules/orm/query-builder.d.ts +1 -1
  789. package/modules/orm/query-builder.js +2 -1
  790. package/objects/cli/commands/commit.js +14 -7
  791. package/objects/cli/commands/object.js +9 -2
  792. package/objects/cli/commands/ref.js +13 -6
  793. package/objects/orm/models/commit.d.ts +2 -0
  794. package/objects/orm/models/commit.js +4 -1
  795. package/objects/orm/models/object.d.ts +2 -0
  796. package/objects/orm/models/object.js +4 -1
  797. package/objects/orm/models/ref.d.ts +2 -0
  798. package/objects/orm/models/ref.js +4 -1
  799. package/objects/orm/models/store.js +1 -1
  800. package/objects/orm/query-builder.d.ts +1 -1
  801. package/objects/orm/query-builder.js +2 -1
  802. package/package.json +3 -3
  803. package/usage/cli/commands/app-limit-event.js +14 -0
  804. package/usage/cli/commands/org-limit-event.js +14 -0
  805. package/usage/orm/models/appLimit.js +1 -1
  806. package/usage/orm/models/appLimitCap.js +1 -1
  807. package/usage/orm/models/appLimitCapsDefault.js +1 -1
  808. package/usage/orm/models/appLimitCredit.js +1 -1
  809. package/usage/orm/models/appLimitCreditCode.js +1 -1
  810. package/usage/orm/models/appLimitCreditCodeItem.js +1 -1
  811. package/usage/orm/models/appLimitCreditRedemption.js +1 -1
  812. package/usage/orm/models/appLimitDefault.js +1 -1
  813. package/usage/orm/models/appLimitEvent.d.ts +2 -0
  814. package/usage/orm/models/appLimitEvent.js +4 -1
  815. package/usage/orm/models/appLimitWarning.js +1 -1
  816. package/usage/orm/models/orgLimit.js +1 -1
  817. package/usage/orm/models/orgLimitAggregate.js +1 -1
  818. package/usage/orm/models/orgLimitCap.js +1 -1
  819. package/usage/orm/models/orgLimitCapsDefault.js +1 -1
  820. package/usage/orm/models/orgLimitCredit.js +1 -1
  821. package/usage/orm/models/orgLimitDefault.js +1 -1
  822. package/usage/orm/models/orgLimitEvent.d.ts +2 -0
  823. package/usage/orm/models/orgLimitEvent.js +4 -1
  824. package/usage/orm/models/orgLimitWarning.js +1 -1
  825. package/usage/orm/query-builder.d.ts +1 -1
  826. package/usage/orm/query-builder.js +2 -1
  827. package/config/app-dirs.d.ts +0 -31
  828. package/config/app-dirs.js +0 -33
  829. package/esm/config/app-dirs.d.ts +0 -31
  830. package/esm/config/app-dirs.js +0 -29
@@ -229,6 +229,7 @@ export interface UUIDListFilter {
229
229
  anyGreaterThan?: string;
230
230
  anyGreaterThanOrEqualTo?: string;
231
231
  }
232
+ export type ApiExposureLevel = 'EXPOSABLE' | 'INTERNAL_ONLY' | 'NEVER_EXPOSE';
232
233
  export type ObjectCategory = 'CORE' | 'MODULE' | 'PERMISSIONS' | 'AUTH' | 'MEMBERSHIPS' | 'APP';
233
234
  export type ConstructiveInternalTypeAttachment = unknown;
234
235
  export type ConstructiveInternalTypeHostname = unknown;
@@ -253,6 +254,7 @@ export interface Schema {
253
254
  scope?: number | null;
254
255
  tags?: string[] | null;
255
256
  isPublic?: boolean | null;
257
+ apiExposure?: ApiExposureLevel | null;
256
258
  createdAt?: string | null;
257
259
  updatedAt?: string | null;
258
260
  }
@@ -1323,6 +1325,7 @@ export type SchemaSelect = {
1323
1325
  scope?: boolean;
1324
1326
  tags?: boolean;
1325
1327
  isPublic?: boolean;
1328
+ apiExposure?: boolean;
1326
1329
  createdAt?: boolean;
1327
1330
  updatedAt?: boolean;
1328
1331
  database?: {
@@ -2711,6 +2714,8 @@ export interface SchemaFilter {
2711
2714
  tags?: StringListFilter;
2712
2715
  /** Filter by the object’s `isPublic` field. */
2713
2716
  isPublic?: BooleanFilter;
2717
+ /** Filter by the object’s `apiExposure` field. */
2718
+ apiExposure?: ApiExposureLevelFilter;
2714
2719
  /** Filter by the object’s `createdAt` field. */
2715
2720
  createdAt?: DatetimeFilter;
2716
2721
  /** Filter by the object’s `updatedAt` field. */
@@ -4607,7 +4612,7 @@ export interface AstMigrationFilter {
4607
4612
  not?: AstMigrationFilter;
4608
4613
  }
4609
4614
  export type FunctionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
4610
- export type SchemaOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'SCHEMA_NAME_ASC' | 'SCHEMA_NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
4615
+ export type SchemaOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'SCHEMA_NAME_ASC' | 'SCHEMA_NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'API_EXPOSURE_ASC' | 'API_EXPOSURE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
4611
4616
  export type TableOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'USE_RLS_ASC' | 'USE_RLS_DESC' | 'TIMESTAMPS_ASC' | 'TIMESTAMPS_DESC' | 'PEOPLESTAMPS_ASC' | 'PEOPLESTAMPS_DESC' | 'PLURAL_NAME_ASC' | 'PLURAL_NAME_DESC' | 'SINGULAR_NAME_ASC' | 'SINGULAR_NAME_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'PARTITIONED_ASC' | 'PARTITIONED_DESC' | 'PARTITION_STRATEGY_ASC' | 'PARTITION_STRATEGY_DESC' | 'PARTITION_KEY_NAMES_ASC' | 'PARTITION_KEY_NAMES_DESC' | 'PARTITION_KEY_TYPES_ASC' | 'PARTITION_KEY_TYPES_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'INHERITS_ID_ASC' | 'INHERITS_ID_DESC';
4612
4617
  export type CheckConstraintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'EXPR_ASC' | 'EXPR_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
4613
4618
  export type FieldOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'IS_REQUIRED_ASC' | 'IS_REQUIRED_DESC' | 'API_REQUIRED_ASC' | 'API_REQUIRED_DESC' | 'DEFAULT_VALUE_ASC' | 'DEFAULT_VALUE_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'FIELD_ORDER_ASC' | 'FIELD_ORDER_DESC' | 'REGEXP_ASC' | 'REGEXP_DESC' | 'CHK_ASC' | 'CHK_DESC' | 'CHK_EXPR_ASC' | 'CHK_EXPR_DESC' | 'MIN_ASC' | 'MIN_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
@@ -4687,6 +4692,7 @@ export interface CreateSchemaInput {
4687
4692
  scope?: number;
4688
4693
  tags?: string[];
4689
4694
  isPublic?: boolean;
4695
+ apiExposure?: ApiExposureLevel;
4690
4696
  };
4691
4697
  }
4692
4698
  export interface SchemaPatch {
@@ -4700,6 +4706,7 @@ export interface SchemaPatch {
4700
4706
  scope?: number | null;
4701
4707
  tags?: string[] | null;
4702
4708
  isPublic?: boolean | null;
4709
+ apiExposure?: ApiExposureLevel | null;
4703
4710
  }
4704
4711
  export interface UpdateSchemaInput {
4705
4712
  clientMutationId?: string;
@@ -6289,6 +6296,31 @@ export interface ObjectCategoryFilter {
6289
6296
  /** Greater than or equal to the specified value. */
6290
6297
  greaterThanOrEqualTo?: ObjectCategory;
6291
6298
  }
6299
+ /** A filter to be used against ApiExposureLevel fields. All fields are combined with a logical ‘and.’ */
6300
+ export interface ApiExposureLevelFilter {
6301
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
6302
+ isNull?: boolean;
6303
+ /** Equal to the specified value. */
6304
+ equalTo?: ApiExposureLevel;
6305
+ /** Not equal to the specified value. */
6306
+ notEqualTo?: ApiExposureLevel;
6307
+ /** Not equal to the specified value, treating null like an ordinary value. */
6308
+ distinctFrom?: ApiExposureLevel;
6309
+ /** Equal to the specified value, treating null like an ordinary value. */
6310
+ notDistinctFrom?: ApiExposureLevel;
6311
+ /** Included in the specified list. */
6312
+ in?: ApiExposureLevel[];
6313
+ /** Not included in the specified list. */
6314
+ notIn?: ApiExposureLevel[];
6315
+ /** Less than the specified value. */
6316
+ lessThan?: ApiExposureLevel;
6317
+ /** Less than or equal to the specified value. */
6318
+ lessThanOrEqualTo?: ApiExposureLevel;
6319
+ /** Greater than the specified value. */
6320
+ greaterThan?: ApiExposureLevel;
6321
+ /** Greater than or equal to the specified value. */
6322
+ greaterThanOrEqualTo?: ApiExposureLevel;
6323
+ }
6292
6324
  /** A filter to be used against many `Table` object types. All fields are combined with a logical ‘and.’ */
6293
6325
  export interface SchemaToManyTableFilter {
6294
6326
  /** Filters to entities where at least one related entity matches. */
@@ -7249,6 +7281,7 @@ export interface SchemaInput {
7249
7281
  scope?: number;
7250
7282
  tags?: string[];
7251
7283
  isPublic?: boolean;
7284
+ apiExposure?: ApiExposureLevel;
7252
7285
  createdAt?: string;
7253
7286
  updatedAt?: string;
7254
7287
  }
@@ -9138,6 +9171,8 @@ export interface SchemaFilter {
9138
9171
  tags?: StringListFilter;
9139
9172
  /** Filter by the object’s `isPublic` field. */
9140
9173
  isPublic?: BooleanFilter;
9174
+ /** Filter by the object’s `apiExposure` field. */
9175
+ apiExposure?: ApiExposureLevelFilter;
9141
9176
  /** Filter by the object’s `createdAt` field. */
9142
9177
  createdAt?: DatetimeFilter;
9143
9178
  /** Filter by the object’s `updatedAt` field. */
@@ -74,7 +74,7 @@ export class ApiModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('Api', 'updateApi', 'api', args.select, args.where.id, args.data, 'UpdateApiInput', 'id', 'apiPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('Api', 'updateApi', 'api', args.select, args.where.id, args.data, 'UpdateApiInput', 'id', 'apiPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class ApiModuleModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('ApiModule', 'updateApiModule', 'apiModule', args.select, args.where.id, args.data, 'UpdateApiModuleInput', 'id', 'apiModulePatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('ApiModule', 'updateApiModule', 'apiModule', args.select, args.where.id, args.data, 'UpdateApiModuleInput', 'id', 'apiModulePatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class ApiSchemaModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('ApiSchema', 'updateApiSchema', 'apiSchema', args.select, args.where.id, args.data, 'UpdateApiSchemaInput', 'id', 'apiSchemaPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('ApiSchema', 'updateApiSchema', 'apiSchema', args.select, args.where.id, args.data, 'UpdateApiSchemaInput', 'id', 'apiSchemaPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class ApiSettingModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('ApiSetting', 'updateApiSetting', 'apiSetting', args.select, args.where.id, args.data, 'UpdateApiSettingInput', 'id', 'apiSettingPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('ApiSetting', 'updateApiSetting', 'apiSetting', args.select, args.where.id, args.data, 'UpdateApiSettingInput', 'id', 'apiSettingPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class AppModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('App', 'updateApp', 'app', args.select, args.where.id, args.data, 'UpdateAppInput', 'id', 'appPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('App', 'updateApp', 'app', args.select, args.where.id, args.data, 'UpdateAppInput', 'id', 'appPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class CheckConstraintModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('CheckConstraint', 'updateCheckConstraint', 'checkConstraint', args.select, args.where.id, args.data, 'UpdateCheckConstraintInput', 'id', 'checkConstraintPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('CheckConstraint', 'updateCheckConstraint', 'checkConstraint', args.select, args.where.id, args.data, 'UpdateCheckConstraintInput', 'id', 'checkConstraintPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class CompositeTypeModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('CompositeType', 'updateCompositeType', 'compositeType', args.select, args.where.id, args.data, 'UpdateCompositeTypeInput', 'id', 'compositeTypePatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('CompositeType', 'updateCompositeType', 'compositeType', args.select, args.where.id, args.data, 'UpdateCompositeTypeInput', 'id', 'compositeTypePatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class CorsSettingModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('CorsSetting', 'updateCorsSetting', 'corsSetting', args.select, args.where.id, args.data, 'UpdateCorsSettingInput', 'id', 'corsSettingPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('CorsSetting', 'updateCorsSetting', 'corsSetting', args.select, args.where.id, args.data, 'UpdateCorsSettingInput', 'id', 'corsSettingPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class DatabaseModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('Database', 'updateDatabase', 'database', args.select, args.where.id, args.data, 'UpdateDatabaseInput', 'id', 'databasePatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('Database', 'updateDatabase', 'database', args.select, args.where.id, args.data, 'UpdateDatabaseInput', 'id', 'databasePatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class DatabaseSettingModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('DatabaseSetting', 'updateDatabaseSetting', 'databaseSetting', args.select, args.where.id, args.data, 'UpdateDatabaseSettingInput', 'id', 'databaseSettingPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('DatabaseSetting', 'updateDatabaseSetting', 'databaseSetting', args.select, args.where.id, args.data, 'UpdateDatabaseSettingInput', 'id', 'databaseSettingPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class DatabaseTransferModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('DatabaseTransfer', 'updateDatabaseTransfer', 'databaseTransfer', args.select, args.where.id, args.data, 'UpdateDatabaseTransferInput', 'id', 'databaseTransferPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('DatabaseTransfer', 'updateDatabaseTransfer', 'databaseTransfer', args.select, args.where.id, args.data, 'UpdateDatabaseTransferInput', 'id', 'databaseTransferPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class DefaultPrivilegeModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('DefaultPrivilege', 'updateDefaultPrivilege', 'defaultPrivilege', args.select, args.where.id, args.data, 'UpdateDefaultPrivilegeInput', 'id', 'defaultPrivilegePatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('DefaultPrivilege', 'updateDefaultPrivilege', 'defaultPrivilege', args.select, args.where.id, args.data, 'UpdateDefaultPrivilegeInput', 'id', 'defaultPrivilegePatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class DomainModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('Domain', 'updateDomain', 'domain', args.select, args.where.id, args.data, 'UpdateDomainInput', 'id', 'domainPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('Domain', 'updateDomain', 'domain', args.select, args.where.id, args.data, 'UpdateDomainInput', 'id', 'domainPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class EmbeddingChunkModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('EmbeddingChunk', 'updateEmbeddingChunk', 'embeddingChunk', args.select, args.where.id, args.data, 'UpdateEmbeddingChunkInput', 'id', 'embeddingChunkPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('EmbeddingChunk', 'updateEmbeddingChunk', 'embeddingChunk', args.select, args.where.id, args.data, 'UpdateEmbeddingChunkInput', 'id', 'embeddingChunkPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class EnumModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('Enum', 'updateEnum', 'enum', args.select, args.where.id, args.data, 'UpdateEnumInput', 'id', 'enumPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('Enum', 'updateEnum', 'enum', args.select, args.where.id, args.data, 'UpdateEnumInput', 'id', 'enumPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class FieldModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('Field', 'updateField', 'field', args.select, args.where.id, args.data, 'UpdateFieldInput', 'id', 'fieldPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('Field', 'updateField', 'field', args.select, args.where.id, args.data, 'UpdateFieldInput', 'id', 'fieldPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class ForeignKeyConstraintModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('ForeignKeyConstraint', 'updateForeignKeyConstraint', 'foreignKeyConstraint', args.select, args.where.id, args.data, 'UpdateForeignKeyConstraintInput', 'id', 'foreignKeyConstraintPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('ForeignKeyConstraint', 'updateForeignKeyConstraint', 'foreignKeyConstraint', args.select, args.where.id, args.data, 'UpdateForeignKeyConstraintInput', 'id', 'foreignKeyConstraintPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class FullTextSearchModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('FullTextSearch', 'updateFullTextSearch', 'fullTextSearch', args.select, args.where.id, args.data, 'UpdateFullTextSearchInput', 'id', 'fullTextSearchPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('FullTextSearch', 'updateFullTextSearch', 'fullTextSearch', args.select, args.where.id, args.data, 'UpdateFullTextSearchInput', 'id', 'fullTextSearchPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class FunctionModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('Function', 'updateFunction', 'function', args.select, args.where.id, args.data, 'UpdateFunctionInput', 'id', 'functionPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('Function', 'updateFunction', 'function', args.select, args.where.id, args.data, 'UpdateFunctionInput', 'id', 'functionPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class IndexModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('Index', 'updateIndex', 'index', args.select, args.where.id, args.data, 'UpdateIndexInput', 'id', 'indexPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('Index', 'updateIndex', 'index', args.select, args.where.id, args.data, 'UpdateIndexInput', 'id', 'indexPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class NodeTypeRegistryModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('NodeTypeRegistry', 'updateNodeTypeRegistry', 'nodeTypeRegistry', args.select, args.where.name, args.data, 'UpdateNodeTypeRegistryInput', 'name', 'nodeTypeRegistryPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('NodeTypeRegistry', 'updateNodeTypeRegistry', 'nodeTypeRegistry', args.select, args.where.name, args.data, 'UpdateNodeTypeRegistryInput', 'name', 'nodeTypeRegistryPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class PartitionModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('Partition', 'updatePartition', 'partition', args.select, args.where.id, args.data, 'UpdatePartitionInput', 'id', 'partitionPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('Partition', 'updatePartition', 'partition', args.select, args.where.id, args.data, 'UpdatePartitionInput', 'id', 'partitionPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class PolicyModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('Policy', 'updatePolicy', 'policy', args.select, args.where.id, args.data, 'UpdatePolicyInput', 'id', 'policyPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('Policy', 'updatePolicy', 'policy', args.select, args.where.id, args.data, 'UpdatePolicyInput', 'id', 'policyPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class PrimaryKeyConstraintModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('PrimaryKeyConstraint', 'updatePrimaryKeyConstraint', 'primaryKeyConstraint', args.select, args.where.id, args.data, 'UpdatePrimaryKeyConstraintInput', 'id', 'primaryKeyConstraintPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('PrimaryKeyConstraint', 'updatePrimaryKeyConstraint', 'primaryKeyConstraint', args.select, args.where.id, args.data, 'UpdatePrimaryKeyConstraintInput', 'id', 'primaryKeyConstraintPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class PubkeySettingModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('PubkeySetting', 'updatePubkeySetting', 'pubkeySetting', args.select, args.where.id, args.data, 'UpdatePubkeySettingInput', 'id', 'pubkeySettingPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('PubkeySetting', 'updatePubkeySetting', 'pubkeySetting', args.select, args.where.id, args.data, 'UpdatePubkeySettingInput', 'id', 'pubkeySettingPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class RlsSettingModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('RlsSetting', 'updateRlsSetting', 'rlsSetting', args.select, args.where.id, args.data, 'UpdateRlsSettingInput', 'id', 'rlsSettingPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('RlsSetting', 'updateRlsSetting', 'rlsSetting', args.select, args.where.id, args.data, 'UpdateRlsSettingInput', 'id', 'rlsSettingPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class SchemaModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('Schema', 'updateSchema', 'schema', args.select, args.where.id, args.data, 'UpdateSchemaInput', 'id', 'schemaPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('Schema', 'updateSchema', 'schema', args.select, args.where.id, args.data, 'UpdateSchemaInput', 'id', 'schemaPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class SchemaGrantModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('SchemaGrant', 'updateSchemaGrant', 'schemaGrant', args.select, args.where.id, args.data, 'UpdateSchemaGrantInput', 'id', 'schemaGrantPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('SchemaGrant', 'updateSchemaGrant', 'schemaGrant', args.select, args.where.id, args.data, 'UpdateSchemaGrantInput', 'id', 'schemaGrantPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class SiteModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('Site', 'updateSite', 'site', args.select, args.where.id, args.data, 'UpdateSiteInput', 'id', 'sitePatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('Site', 'updateSite', 'site', args.select, args.where.id, args.data, 'UpdateSiteInput', 'id', 'sitePatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class SiteMetadatumModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('SiteMetadatum', 'updateSiteMetadatum', 'siteMetadatum', args.select, args.where.id, args.data, 'UpdateSiteMetadatumInput', 'id', 'siteMetadatumPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('SiteMetadatum', 'updateSiteMetadatum', 'siteMetadatum', args.select, args.where.id, args.data, 'UpdateSiteMetadatumInput', 'id', 'siteMetadatumPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class SiteModuleModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('SiteModule', 'updateSiteModule', 'siteModule', args.select, args.where.id, args.data, 'UpdateSiteModuleInput', 'id', 'siteModulePatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('SiteModule', 'updateSiteModule', 'siteModule', args.select, args.where.id, args.data, 'UpdateSiteModuleInput', 'id', 'siteModulePatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class SiteThemeModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('SiteTheme', 'updateSiteTheme', 'siteTheme', args.select, args.where.id, args.data, 'UpdateSiteThemeInput', 'id', 'siteThemePatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('SiteTheme', 'updateSiteTheme', 'siteTheme', args.select, args.where.id, args.data, 'UpdateSiteThemeInput', 'id', 'siteThemePatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class SpatialRelationModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('SpatialRelation', 'updateSpatialRelation', 'spatialRelation', args.select, args.where.id, args.data, 'UpdateSpatialRelationInput', 'id', 'spatialRelationPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('SpatialRelation', 'updateSpatialRelation', 'spatialRelation', args.select, args.where.id, args.data, 'UpdateSpatialRelationInput', 'id', 'spatialRelationPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class TableModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('Table', 'updateTable', 'table', args.select, args.where.id, args.data, 'UpdateTableInput', 'id', 'tablePatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('Table', 'updateTable', 'table', args.select, args.where.id, args.data, 'UpdateTableInput', 'id', 'tablePatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class TableGrantModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('TableGrant', 'updateTableGrant', 'tableGrant', args.select, args.where.id, args.data, 'UpdateTableGrantInput', 'id', 'tableGrantPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('TableGrant', 'updateTableGrant', 'tableGrant', args.select, args.where.id, args.data, 'UpdateTableGrantInput', 'id', 'tableGrantPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class TriggerModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('Trigger', 'updateTrigger', 'trigger', args.select, args.where.id, args.data, 'UpdateTriggerInput', 'id', 'triggerPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('Trigger', 'updateTrigger', 'trigger', args.select, args.where.id, args.data, 'UpdateTriggerInput', 'id', 'triggerPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class TriggerFunctionModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('TriggerFunction', 'updateTriggerFunction', 'triggerFunction', args.select, args.where.id, args.data, 'UpdateTriggerFunctionInput', 'id', 'triggerFunctionPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('TriggerFunction', 'updateTriggerFunction', 'triggerFunction', args.select, args.where.id, args.data, 'UpdateTriggerFunctionInput', 'id', 'triggerFunctionPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class UniqueConstraintModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('UniqueConstraint', 'updateUniqueConstraint', 'uniqueConstraint', args.select, args.where.id, args.data, 'UpdateUniqueConstraintInput', 'id', 'uniqueConstraintPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('UniqueConstraint', 'updateUniqueConstraint', 'uniqueConstraint', args.select, args.where.id, args.data, 'UpdateUniqueConstraintInput', 'id', 'uniqueConstraintPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class ViewModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('View', 'updateView', 'view', args.select, args.where.id, args.data, 'UpdateViewInput', 'id', 'viewPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('View', 'updateView', 'view', args.select, args.where.id, args.data, 'UpdateViewInput', 'id', 'viewPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class ViewGrantModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('ViewGrant', 'updateViewGrant', 'viewGrant', args.select, args.where.id, args.data, 'UpdateViewGrantInput', 'id', 'viewGrantPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('ViewGrant', 'updateViewGrant', 'viewGrant', args.select, args.where.id, args.data, 'UpdateViewGrantInput', 'id', 'viewGrantPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class ViewRuleModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('ViewRule', 'updateViewRule', 'viewRule', args.select, args.where.id, args.data, 'UpdateViewRuleInput', 'id', 'viewRulePatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('ViewRule', 'updateViewRule', 'viewRule', args.select, args.where.id, args.data, 'UpdateViewRuleInput', 'id', 'viewRulePatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class ViewTableModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('ViewTable', 'updateViewTable', 'viewTable', args.select, args.where.id, args.data, 'UpdateViewTableInput', 'id', 'viewTablePatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('ViewTable', 'updateViewTable', 'viewTable', args.select, args.where.id, args.data, 'UpdateViewTableInput', 'id', 'viewTablePatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -74,7 +74,7 @@ export class WebauthnSettingModel {
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('WebauthnSetting', 'updateWebauthnSetting', 'webauthnSetting', args.select, args.where.id, args.data, 'UpdateWebauthnSettingInput', 'id', 'webauthnSettingPatch', connectionFieldsMap);
77
+ const { document, variables } = buildUpdateByPkDocument('WebauthnSetting', 'updateWebauthnSetting', 'webauthnSetting', args.select, args.where.id, args.data, 'UpdateWebauthnSettingInput', 'id', 'webauthnSettingPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
@@ -63,7 +63,7 @@ export declare function buildUpdateDocument<TSelect, TWhere extends {
63
63
  document: string;
64
64
  variables: Record<string, unknown>;
65
65
  };
66
- export declare function buildUpdateByPkDocument<TSelect, TData>(operationName: string, mutationField: string, entityField: string, select: TSelect, id: string | number, data: TData, inputTypeName: string, idFieldName: string, patchFieldName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
66
+ export declare function buildUpdateByPkDocument<TSelect, TData>(operationName: string, mutationField: string, entityField: string, select: TSelect, id: string | number, data: TData, inputTypeName: string, idFieldName: string, patchFieldName: string, connectionFieldsMap?: Record<string, Record<string, string>>, extraKeys?: Record<string, unknown>): {
67
67
  document: string;
68
68
  variables: Record<string, unknown>;
69
69
  };
@@ -292,7 +292,7 @@ export function buildUpdateDocument(operationName, mutationField, entityField, s
292
292
  },
293
293
  };
294
294
  }
295
- export function buildUpdateByPkDocument(operationName, mutationField, entityField, select, id, data, inputTypeName, idFieldName, patchFieldName, connectionFieldsMap) {
295
+ export function buildUpdateByPkDocument(operationName, mutationField, entityField, select, id, data, inputTypeName, idFieldName, patchFieldName, connectionFieldsMap, extraKeys) {
296
296
  const selections = select
297
297
  ? buildSelections(select, connectionFieldsMap, operationName)
298
298
  : [t.field({ name: 'id' })];
@@ -311,6 +311,7 @@ export function buildUpdateByPkDocument(operationName, mutationField, entityFiel
311
311
  variables: {
312
312
  input: {
313
313
  [idFieldName]: id,
314
+ ...extraKeys,
314
315
  [patchFieldName]: data,
315
316
  },
316
317
  },