@constructive-io/sdk 0.30.0 → 0.30.1

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 (324) hide show
  1. package/README.md +1 -0
  2. package/agent/orm/input-types.d.ts +96 -8
  3. package/api/orm/index.d.ts +5 -15
  4. package/api/orm/index.js +2 -2
  5. package/api/orm/input-types.d.ts +250 -231
  6. package/api/orm/models/index.d.ts +1 -1
  7. package/api/orm/models/index.js +3 -3
  8. package/api/orm/mutation/index.d.ts +11 -36
  9. package/api/orm/mutation/index.js +6 -30
  10. package/auth/orm/index.d.ts +10 -5
  11. package/auth/orm/input-types.d.ts +54 -45
  12. package/auth/orm/models/principal.d.ts +1 -10
  13. package/auth/orm/models/principal.js +0 -13
  14. package/auth/orm/mutation/index.d.ts +17 -9
  15. package/auth/orm/mutation/index.js +24 -12
  16. package/compute/orm/index.d.ts +76 -17
  17. package/compute/orm/index.js +56 -12
  18. package/compute/orm/input-types.d.ts +5893 -1343
  19. package/compute/orm/input-types.js +17 -3
  20. package/compute/orm/models/dbPreset.d.ts +54 -0
  21. package/compute/orm/models/dbPreset.js +104 -0
  22. package/compute/orm/models/functionGraphCommit.d.ts +2 -2
  23. package/compute/orm/models/functionGraphCommit.js +2 -2
  24. package/compute/orm/models/functionGraphObject.d.ts +2 -2
  25. package/compute/orm/models/functionGraphObject.js +2 -2
  26. package/compute/orm/models/functionGraphRef.d.ts +2 -2
  27. package/compute/orm/models/functionGraphRef.js +2 -2
  28. package/compute/orm/models/index.d.ts +28 -6
  29. package/compute/orm/models/index.js +57 -13
  30. package/compute/orm/models/infraCommit.d.ts +56 -0
  31. package/compute/orm/models/infraCommit.js +107 -0
  32. package/compute/orm/models/infraGetAllRecord.d.ts +30 -0
  33. package/compute/orm/models/infraGetAllRecord.js +59 -0
  34. package/compute/orm/models/infraObject.d.ts +56 -0
  35. package/compute/orm/models/infraObject.js +97 -0
  36. package/compute/orm/models/infraRef.d.ts +56 -0
  37. package/compute/orm/models/infraRef.js +107 -0
  38. package/compute/orm/models/infraStore.d.ts +54 -0
  39. package/compute/orm/models/infraStore.js +104 -0
  40. package/compute/orm/models/integrationProvider.d.ts +54 -0
  41. package/{modules/orm/models/configSecretsModule.js → compute/orm/models/integrationProvider.js} +27 -27
  42. package/compute/orm/models/namespace.d.ts +54 -0
  43. package/compute/orm/models/namespace.js +104 -0
  44. package/compute/orm/models/namespaceEvent.d.ts +56 -0
  45. package/compute/orm/models/{orgFunctionExecutionLog.js → namespaceEvent.js} +27 -27
  46. package/compute/orm/models/platformFunctionApiBinding.d.ts +54 -0
  47. package/compute/orm/models/platformFunctionApiBinding.js +104 -0
  48. package/compute/orm/models/platformFunctionDefinition.d.ts +54 -0
  49. package/compute/orm/models/platformFunctionDefinition.js +104 -0
  50. package/compute/orm/models/platformFunctionDeployment.d.ts +54 -0
  51. package/compute/orm/models/platformFunctionDeployment.js +104 -0
  52. package/compute/orm/models/platformFunctionDeploymentEvent.d.ts +56 -0
  53. package/compute/orm/models/platformFunctionDeploymentEvent.js +107 -0
  54. package/compute/orm/models/platformFunctionExecutionLog.d.ts +56 -0
  55. package/compute/orm/models/platformFunctionExecutionLog.js +107 -0
  56. package/compute/orm/models/platformFunctionInvocation.d.ts +56 -0
  57. package/compute/orm/models/platformFunctionInvocation.js +107 -0
  58. package/compute/orm/models/platformResource.d.ts +54 -0
  59. package/compute/orm/models/{secretDefinition.js → platformResource.js} +27 -27
  60. package/compute/orm/models/platformResourceDefinition.d.ts +54 -0
  61. package/compute/orm/models/platformResourceDefinition.js +104 -0
  62. package/compute/orm/models/platformResourceEvent.d.ts +56 -0
  63. package/compute/orm/models/{orgFunctionInvocation.js → platformResourceEvent.js} +27 -27
  64. package/compute/orm/models/platformResourceStatusCheck.d.ts +54 -0
  65. package/compute/orm/models/platformResourceStatusCheck.js +104 -0
  66. package/compute/orm/models/platformResourcesRequirementsState.d.ts +30 -0
  67. package/compute/orm/models/platformResourcesRequirementsState.js +59 -0
  68. package/compute/orm/models/platformResourcesResolvedRequirement.d.ts +30 -0
  69. package/compute/orm/models/platformResourcesResolvedRequirement.js +59 -0
  70. package/compute/orm/models/resourceDefinition.d.ts +54 -0
  71. package/compute/orm/models/resourceDefinition.js +104 -0
  72. package/compute/orm/models/resourceStatusCheck.d.ts +54 -0
  73. package/compute/orm/models/resourceStatusCheck.js +104 -0
  74. package/compute/orm/models/resourcesRequirementsState.d.ts +30 -0
  75. package/compute/orm/models/resourcesRequirementsState.js +59 -0
  76. package/compute/orm/models/resourcesResolvedRequirement.d.ts +30 -0
  77. package/compute/orm/models/resourcesResolvedRequirement.js +59 -0
  78. package/compute/orm/mutation/index.d.ts +33 -9
  79. package/compute/orm/mutation/index.js +48 -12
  80. package/config/orm/index.d.ts +42 -16
  81. package/config/orm/index.js +8 -2
  82. package/config/orm/input-types.d.ts +595 -154
  83. package/config/orm/models/config.d.ts +54 -0
  84. package/{modules/orm/models/configSecretsOrgModule.js → config/orm/models/config.js} +27 -27
  85. package/config/orm/models/index.d.ts +4 -1
  86. package/config/orm/models/index.js +9 -3
  87. package/config/orm/models/platformInternalSecret.d.ts +36 -0
  88. package/config/orm/models/platformInternalSecret.js +80 -0
  89. package/config/orm/models/platformSecret.d.ts +36 -0
  90. package/config/orm/models/platformSecret.js +80 -0
  91. package/config/orm/models/secret.d.ts +36 -0
  92. package/config/orm/models/secret.js +80 -0
  93. package/config/orm/mutation/index.d.ts +56 -24
  94. package/config/orm/mutation/index.js +78 -30
  95. package/esm/agent/orm/input-types.d.ts +96 -8
  96. package/esm/api/orm/index.d.ts +5 -15
  97. package/esm/api/orm/index.js +2 -2
  98. package/esm/api/orm/input-types.d.ts +250 -231
  99. package/esm/api/orm/models/index.d.ts +1 -1
  100. package/esm/api/orm/models/index.js +1 -1
  101. package/esm/api/orm/mutation/index.d.ts +11 -36
  102. package/esm/api/orm/mutation/index.js +6 -30
  103. package/esm/auth/orm/index.d.ts +10 -5
  104. package/esm/auth/orm/input-types.d.ts +54 -45
  105. package/esm/auth/orm/models/principal.d.ts +1 -10
  106. package/esm/auth/orm/models/principal.js +1 -14
  107. package/esm/auth/orm/mutation/index.d.ts +17 -9
  108. package/esm/auth/orm/mutation/index.js +24 -12
  109. package/esm/compute/orm/index.d.ts +76 -17
  110. package/esm/compute/orm/index.js +56 -12
  111. package/esm/compute/orm/input-types.d.ts +5893 -1343
  112. package/esm/compute/orm/input-types.js +17 -3
  113. package/esm/compute/orm/models/dbPreset.d.ts +54 -0
  114. package/esm/compute/orm/models/dbPreset.js +100 -0
  115. package/esm/compute/orm/models/functionGraphCommit.d.ts +2 -2
  116. package/esm/compute/orm/models/functionGraphCommit.js +2 -2
  117. package/esm/compute/orm/models/functionGraphObject.d.ts +2 -2
  118. package/esm/compute/orm/models/functionGraphObject.js +2 -2
  119. package/esm/compute/orm/models/functionGraphRef.d.ts +2 -2
  120. package/esm/compute/orm/models/functionGraphRef.js +2 -2
  121. package/esm/compute/orm/models/index.d.ts +28 -6
  122. package/esm/compute/orm/models/index.js +28 -6
  123. package/esm/compute/orm/models/infraCommit.d.ts +56 -0
  124. package/esm/compute/orm/models/infraCommit.js +103 -0
  125. package/esm/compute/orm/models/infraGetAllRecord.d.ts +30 -0
  126. package/esm/compute/orm/models/infraGetAllRecord.js +55 -0
  127. package/esm/compute/orm/models/infraObject.d.ts +56 -0
  128. package/esm/compute/orm/models/infraObject.js +93 -0
  129. package/esm/compute/orm/models/infraRef.d.ts +56 -0
  130. package/esm/compute/orm/models/infraRef.js +103 -0
  131. package/esm/compute/orm/models/infraStore.d.ts +54 -0
  132. package/esm/compute/orm/models/infraStore.js +100 -0
  133. package/esm/compute/orm/models/integrationProvider.d.ts +54 -0
  134. package/esm/compute/orm/models/integrationProvider.js +100 -0
  135. package/esm/compute/orm/models/namespace.d.ts +54 -0
  136. package/esm/compute/orm/models/namespace.js +100 -0
  137. package/esm/compute/orm/models/namespaceEvent.d.ts +56 -0
  138. package/esm/compute/orm/models/{orgFunctionExecutionLog.js → namespaceEvent.js} +25 -25
  139. package/esm/compute/orm/models/platformFunctionApiBinding.d.ts +54 -0
  140. package/esm/compute/orm/models/platformFunctionApiBinding.js +100 -0
  141. package/esm/compute/orm/models/platformFunctionDefinition.d.ts +54 -0
  142. package/esm/compute/orm/models/platformFunctionDefinition.js +100 -0
  143. package/esm/compute/orm/models/platformFunctionDeployment.d.ts +54 -0
  144. package/esm/compute/orm/models/platformFunctionDeployment.js +100 -0
  145. package/esm/compute/orm/models/platformFunctionDeploymentEvent.d.ts +56 -0
  146. package/esm/compute/orm/models/platformFunctionDeploymentEvent.js +103 -0
  147. package/esm/compute/orm/models/platformFunctionExecutionLog.d.ts +56 -0
  148. package/esm/compute/orm/models/platformFunctionExecutionLog.js +103 -0
  149. package/esm/compute/orm/models/platformFunctionInvocation.d.ts +56 -0
  150. package/esm/compute/orm/models/platformFunctionInvocation.js +103 -0
  151. package/esm/compute/orm/models/platformResource.d.ts +54 -0
  152. package/esm/compute/orm/models/{secretDefinition.js → platformResource.js} +25 -25
  153. package/esm/compute/orm/models/platformResourceDefinition.d.ts +54 -0
  154. package/esm/compute/orm/models/platformResourceDefinition.js +100 -0
  155. package/esm/compute/orm/models/platformResourceEvent.d.ts +56 -0
  156. package/esm/compute/orm/models/{orgFunctionInvocation.js → platformResourceEvent.js} +25 -25
  157. package/esm/compute/orm/models/platformResourceStatusCheck.d.ts +54 -0
  158. package/esm/compute/orm/models/platformResourceStatusCheck.js +100 -0
  159. package/esm/compute/orm/models/platformResourcesRequirementsState.d.ts +30 -0
  160. package/esm/compute/orm/models/platformResourcesRequirementsState.js +55 -0
  161. package/esm/compute/orm/models/platformResourcesResolvedRequirement.d.ts +30 -0
  162. package/esm/compute/orm/models/platformResourcesResolvedRequirement.js +55 -0
  163. package/esm/compute/orm/models/resourceDefinition.d.ts +54 -0
  164. package/esm/{modules/orm/models/configSecretsOrgModule.js → compute/orm/models/resourceDefinition.js} +25 -25
  165. package/esm/compute/orm/models/resourceStatusCheck.d.ts +54 -0
  166. package/esm/compute/orm/models/resourceStatusCheck.js +100 -0
  167. package/esm/compute/orm/models/resourcesRequirementsState.d.ts +30 -0
  168. package/esm/compute/orm/models/resourcesRequirementsState.js +55 -0
  169. package/esm/compute/orm/models/resourcesResolvedRequirement.d.ts +30 -0
  170. package/esm/compute/orm/models/resourcesResolvedRequirement.js +55 -0
  171. package/esm/compute/orm/mutation/index.d.ts +33 -9
  172. package/esm/compute/orm/mutation/index.js +48 -12
  173. package/esm/config/orm/index.d.ts +42 -16
  174. package/esm/config/orm/index.js +8 -2
  175. package/esm/config/orm/input-types.d.ts +595 -154
  176. package/esm/config/orm/models/config.d.ts +54 -0
  177. package/esm/{modules/orm/models/configSecretsModule.js → config/orm/models/config.js} +25 -25
  178. package/esm/config/orm/models/index.d.ts +4 -1
  179. package/esm/config/orm/models/index.js +4 -1
  180. package/esm/config/orm/models/platformInternalSecret.d.ts +36 -0
  181. package/esm/config/orm/models/platformInternalSecret.js +76 -0
  182. package/esm/config/orm/models/platformSecret.d.ts +36 -0
  183. package/esm/config/orm/models/platformSecret.js +76 -0
  184. package/esm/config/orm/models/secret.d.ts +36 -0
  185. package/esm/config/orm/models/secret.js +76 -0
  186. package/esm/config/orm/mutation/index.d.ts +56 -24
  187. package/esm/config/orm/mutation/index.js +78 -30
  188. package/esm/index.d.ts +1 -0
  189. package/esm/index.js +1 -0
  190. package/esm/infra/index.d.ts +5 -0
  191. package/esm/infra/index.js +5 -0
  192. package/esm/infra/orm/client.d.ts +97 -0
  193. package/esm/infra/orm/client.js +145 -0
  194. package/esm/infra/orm/index.d.ts +74 -0
  195. package/esm/infra/orm/index.js +61 -0
  196. package/esm/infra/orm/input-types.d.ts +1953 -0
  197. package/esm/infra/orm/input-types.js +2 -0
  198. package/esm/infra/orm/models/dbPreset.d.ts +54 -0
  199. package/esm/infra/orm/models/dbPreset.js +100 -0
  200. package/esm/infra/orm/models/index.d.ts +15 -0
  201. package/esm/infra/orm/models/index.js +15 -0
  202. package/esm/infra/orm/models/infraCommit.d.ts +56 -0
  203. package/esm/infra/orm/models/infraCommit.js +103 -0
  204. package/esm/infra/orm/models/infraGetAllRecord.d.ts +30 -0
  205. package/esm/infra/orm/models/infraGetAllRecord.js +55 -0
  206. package/esm/infra/orm/models/infraObject.d.ts +56 -0
  207. package/esm/infra/orm/models/infraObject.js +93 -0
  208. package/esm/infra/orm/models/infraRef.d.ts +56 -0
  209. package/esm/infra/orm/models/infraRef.js +103 -0
  210. package/esm/infra/orm/models/infraStore.d.ts +54 -0
  211. package/esm/infra/orm/models/infraStore.js +100 -0
  212. package/esm/infra/orm/models/namespace.d.ts +54 -0
  213. package/esm/infra/orm/models/namespace.js +100 -0
  214. package/esm/infra/orm/models/namespaceEvent.d.ts +56 -0
  215. package/esm/infra/orm/models/namespaceEvent.js +103 -0
  216. package/esm/infra/orm/models/platformNamespace.d.ts +54 -0
  217. package/esm/{config/orm/models/platformConfigDefinition.js → infra/orm/models/platformNamespace.js} +25 -25
  218. package/esm/infra/orm/models/platformNamespaceEvent.d.ts +56 -0
  219. package/esm/infra/orm/models/platformNamespaceEvent.js +103 -0
  220. package/esm/infra/orm/mutation/index.d.ts +50 -0
  221. package/esm/infra/orm/mutation/index.js +54 -0
  222. package/esm/infra/orm/query-builder.d.ts +110 -0
  223. package/esm/infra/orm/query-builder.js +705 -0
  224. package/esm/infra/orm/realtime.d.ts +142 -0
  225. package/esm/infra/orm/realtime.js +100 -0
  226. package/esm/infra/orm/select-types.d.ts +125 -0
  227. package/esm/infra/orm/select-types.js +1 -0
  228. package/esm/infra/orm/types.d.ts +6 -0
  229. package/esm/infra/orm/types.js +7 -0
  230. package/esm/modules/orm/index.d.ts +48 -38
  231. package/esm/modules/orm/index.js +48 -38
  232. package/esm/modules/orm/input-types.d.ts +5378 -4022
  233. package/esm/modules/orm/input-types.js +1 -0
  234. package/esm/modules/orm/models/dbPool.d.ts +54 -0
  235. package/esm/modules/orm/models/dbPool.js +100 -0
  236. package/esm/modules/orm/models/dbPoolConfig.d.ts +54 -0
  237. package/esm/modules/orm/models/dbPoolConfig.js +100 -0
  238. package/esm/modules/orm/models/dbPresetModule.d.ts +54 -0
  239. package/esm/modules/orm/models/dbPresetModule.js +100 -0
  240. package/esm/modules/orm/models/index.d.ts +24 -19
  241. package/esm/modules/orm/models/index.js +24 -19
  242. package/esm/modules/orm/models/infraConfigModule.d.ts +54 -0
  243. package/esm/modules/orm/models/infraConfigModule.js +100 -0
  244. package/esm/modules/orm/models/infraSecretsModule.d.ts +54 -0
  245. package/esm/modules/orm/models/infraSecretsModule.js +100 -0
  246. package/esm/modules/orm/models/integrationProvidersModule.d.ts +54 -0
  247. package/esm/modules/orm/models/integrationProvidersModule.js +100 -0
  248. package/esm/modules/orm/models/internalSecretsModule.d.ts +54 -0
  249. package/esm/modules/orm/models/internalSecretsModule.js +100 -0
  250. package/index.d.ts +1 -0
  251. package/index.js +2 -1
  252. package/infra/index.d.ts +5 -0
  253. package/infra/index.js +21 -0
  254. package/infra/orm/client.d.ts +97 -0
  255. package/infra/orm/client.js +152 -0
  256. package/infra/orm/index.d.ts +74 -0
  257. package/infra/orm/index.js +83 -0
  258. package/infra/orm/input-types.d.ts +1953 -0
  259. package/infra/orm/input-types.js +5 -0
  260. package/infra/orm/models/dbPreset.d.ts +54 -0
  261. package/infra/orm/models/dbPreset.js +104 -0
  262. package/infra/orm/models/index.d.ts +15 -0
  263. package/infra/orm/models/index.js +28 -0
  264. package/infra/orm/models/infraCommit.d.ts +56 -0
  265. package/infra/orm/models/infraCommit.js +107 -0
  266. package/infra/orm/models/infraGetAllRecord.d.ts +30 -0
  267. package/infra/orm/models/infraGetAllRecord.js +59 -0
  268. package/infra/orm/models/infraObject.d.ts +56 -0
  269. package/infra/orm/models/infraObject.js +97 -0
  270. package/infra/orm/models/infraRef.d.ts +56 -0
  271. package/infra/orm/models/infraRef.js +107 -0
  272. package/infra/orm/models/infraStore.d.ts +54 -0
  273. package/infra/orm/models/infraStore.js +104 -0
  274. package/infra/orm/models/namespace.d.ts +54 -0
  275. package/infra/orm/models/namespace.js +104 -0
  276. package/infra/orm/models/namespaceEvent.d.ts +56 -0
  277. package/infra/orm/models/namespaceEvent.js +107 -0
  278. package/infra/orm/models/platformNamespace.d.ts +54 -0
  279. package/infra/orm/models/platformNamespace.js +104 -0
  280. package/infra/orm/models/platformNamespaceEvent.d.ts +56 -0
  281. package/{config/orm/models/platformConfigDefinition.js → infra/orm/models/platformNamespaceEvent.js} +30 -27
  282. package/infra/orm/mutation/index.d.ts +50 -0
  283. package/infra/orm/mutation/index.js +57 -0
  284. package/infra/orm/query-builder.d.ts +110 -0
  285. package/infra/orm/query-builder.js +757 -0
  286. package/infra/orm/realtime.d.ts +142 -0
  287. package/infra/orm/realtime.js +104 -0
  288. package/infra/orm/select-types.d.ts +125 -0
  289. package/infra/orm/select-types.js +2 -0
  290. package/infra/orm/types.d.ts +6 -0
  291. package/infra/orm/types.js +23 -0
  292. package/modules/orm/index.d.ts +48 -38
  293. package/modules/orm/index.js +48 -38
  294. package/modules/orm/input-types.d.ts +5378 -4022
  295. package/modules/orm/input-types.js +1 -0
  296. package/modules/orm/models/dbPool.d.ts +54 -0
  297. package/modules/orm/models/dbPool.js +104 -0
  298. package/modules/orm/models/dbPoolConfig.d.ts +54 -0
  299. package/modules/orm/models/dbPoolConfig.js +104 -0
  300. package/modules/orm/models/dbPresetModule.d.ts +54 -0
  301. package/modules/orm/models/dbPresetModule.js +104 -0
  302. package/modules/orm/models/index.d.ts +24 -19
  303. package/modules/orm/models/index.js +50 -40
  304. package/modules/orm/models/infraConfigModule.d.ts +54 -0
  305. package/modules/orm/models/infraConfigModule.js +104 -0
  306. package/modules/orm/models/infraSecretsModule.d.ts +54 -0
  307. package/modules/orm/models/infraSecretsModule.js +104 -0
  308. package/modules/orm/models/integrationProvidersModule.d.ts +54 -0
  309. package/modules/orm/models/integrationProvidersModule.js +104 -0
  310. package/modules/orm/models/internalSecretsModule.d.ts +54 -0
  311. package/modules/orm/models/internalSecretsModule.js +104 -0
  312. package/package.json +4 -4
  313. package/compute/orm/models/orgFunctionExecutionLog.d.ts +0 -56
  314. package/compute/orm/models/orgFunctionInvocation.d.ts +0 -56
  315. package/compute/orm/models/secretDefinition.d.ts +0 -54
  316. package/config/orm/models/platformConfigDefinition.d.ts +0 -54
  317. package/esm/compute/orm/models/orgFunctionExecutionLog.d.ts +0 -56
  318. package/esm/compute/orm/models/orgFunctionInvocation.d.ts +0 -56
  319. package/esm/compute/orm/models/secretDefinition.d.ts +0 -54
  320. package/esm/config/orm/models/platformConfigDefinition.d.ts +0 -54
  321. package/esm/modules/orm/models/configSecretsModule.d.ts +0 -54
  322. package/esm/modules/orm/models/configSecretsOrgModule.d.ts +0 -54
  323. package/modules/orm/models/configSecretsModule.d.ts +0 -54
  324. package/modules/orm/models/configSecretsOrgModule.d.ts +0 -54
@@ -1,12 +1,12 @@
1
1
  import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
2
2
  import { connectionFieldsMap } from '../input-types';
3
- export class PlatformConfigDefinitionModel {
3
+ export class PlatformNamespaceModel {
4
4
  client;
5
5
  constructor(client) {
6
6
  this.client = client;
7
7
  }
8
8
  findMany(args) {
9
- const { document, variables } = buildFindManyDocument('PlatformConfigDefinition', 'platformConfigDefinitions', args.select, {
9
+ const { document, variables } = buildFindManyDocument('PlatformNamespace', 'platformNamespaces', args.select, {
10
10
  where: args?.where,
11
11
  orderBy: args?.orderBy,
12
12
  first: args?.first,
@@ -14,85 +14,85 @@ export class PlatformConfigDefinitionModel {
14
14
  after: args?.after,
15
15
  before: args?.before,
16
16
  offset: args?.offset,
17
- }, 'PlatformConfigDefinitionFilter', 'PlatformConfigDefinitionOrderBy', connectionFieldsMap);
17
+ }, 'PlatformNamespaceFilter', 'PlatformNamespaceOrderBy', connectionFieldsMap);
18
18
  return new QueryBuilder({
19
19
  client: this.client,
20
20
  operation: 'query',
21
- operationName: 'PlatformConfigDefinition',
22
- fieldName: 'platformConfigDefinitions',
21
+ operationName: 'PlatformNamespace',
22
+ fieldName: 'platformNamespaces',
23
23
  document,
24
24
  variables,
25
25
  });
26
26
  }
27
27
  findFirst(args) {
28
- const { document, variables } = buildFindFirstDocument('PlatformConfigDefinition', 'platformConfigDefinitions', args.select, {
28
+ const { document, variables } = buildFindFirstDocument('PlatformNamespace', 'platformNamespaces', args.select, {
29
29
  where: args?.where,
30
30
  orderBy: args?.orderBy,
31
- }, 'PlatformConfigDefinitionFilter', 'PlatformConfigDefinitionOrderBy', connectionFieldsMap);
31
+ }, 'PlatformNamespaceFilter', 'PlatformNamespaceOrderBy', connectionFieldsMap);
32
32
  return new QueryBuilder({
33
33
  client: this.client,
34
34
  operation: 'query',
35
- operationName: 'PlatformConfigDefinition',
36
- fieldName: 'platformConfigDefinition',
35
+ operationName: 'PlatformNamespace',
36
+ fieldName: 'platformNamespace',
37
37
  document,
38
38
  variables,
39
39
  transform: (data) => ({
40
- platformConfigDefinition: data.platformConfigDefinitions?.nodes?.[0] ?? null,
40
+ platformNamespace: data.platformNamespaces?.nodes?.[0] ?? null,
41
41
  }),
42
42
  });
43
43
  }
44
44
  findOne(args) {
45
- const { document, variables } = buildFindManyDocument('PlatformConfigDefinition', 'platformConfigDefinitions', args.select, {
45
+ const { document, variables } = buildFindManyDocument('PlatformNamespace', 'platformNamespaces', args.select, {
46
46
  where: {
47
47
  id: {
48
48
  equalTo: args.id,
49
49
  },
50
50
  },
51
51
  first: 1,
52
- }, 'PlatformConfigDefinitionFilter', 'PlatformConfigDefinitionOrderBy', connectionFieldsMap);
52
+ }, 'PlatformNamespaceFilter', 'PlatformNamespaceOrderBy', connectionFieldsMap);
53
53
  return new QueryBuilder({
54
54
  client: this.client,
55
55
  operation: 'query',
56
- operationName: 'PlatformConfigDefinition',
57
- fieldName: 'platformConfigDefinition',
56
+ operationName: 'PlatformNamespace',
57
+ fieldName: 'platformNamespace',
58
58
  document,
59
59
  variables,
60
60
  transform: (data) => ({
61
- platformConfigDefinition: data.platformConfigDefinitions?.nodes?.[0] ?? null,
61
+ platformNamespace: data.platformNamespaces?.nodes?.[0] ?? null,
62
62
  }),
63
63
  });
64
64
  }
65
65
  create(args) {
66
- const { document, variables } = buildCreateDocument('PlatformConfigDefinition', 'createPlatformConfigDefinition', 'platformConfigDefinition', args.select, args.data, 'CreatePlatformConfigDefinitionInput', connectionFieldsMap);
66
+ const { document, variables } = buildCreateDocument('PlatformNamespace', 'createPlatformNamespace', 'platformNamespace', args.select, args.data, 'CreatePlatformNamespaceInput', connectionFieldsMap);
67
67
  return new QueryBuilder({
68
68
  client: this.client,
69
69
  operation: 'mutation',
70
- operationName: 'PlatformConfigDefinition',
71
- fieldName: 'createPlatformConfigDefinition',
70
+ operationName: 'PlatformNamespace',
71
+ fieldName: 'createPlatformNamespace',
72
72
  document,
73
73
  variables,
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('PlatformConfigDefinition', 'updatePlatformConfigDefinition', 'platformConfigDefinition', args.select, args.where.id, args.data, 'UpdatePlatformConfigDefinitionInput', 'id', 'platformConfigDefinitionPatch', connectionFieldsMap, undefined);
77
+ const { document, variables } = buildUpdateByPkDocument('PlatformNamespace', 'updatePlatformNamespace', 'platformNamespace', args.select, args.where.id, args.data, 'UpdatePlatformNamespaceInput', 'id', 'platformNamespacePatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
81
- operationName: 'PlatformConfigDefinition',
82
- fieldName: 'updatePlatformConfigDefinition',
81
+ operationName: 'PlatformNamespace',
82
+ fieldName: 'updatePlatformNamespace',
83
83
  document,
84
84
  variables,
85
85
  });
86
86
  }
87
87
  delete(args) {
88
- const { document, variables } = buildDeleteByPkDocument('PlatformConfigDefinition', 'deletePlatformConfigDefinition', 'platformConfigDefinition', {
88
+ const { document, variables } = buildDeleteByPkDocument('PlatformNamespace', 'deletePlatformNamespace', 'platformNamespace', {
89
89
  id: args.where.id,
90
- }, 'DeletePlatformConfigDefinitionInput', args.select, connectionFieldsMap);
90
+ }, 'DeletePlatformNamespaceInput', args.select, connectionFieldsMap);
91
91
  return new QueryBuilder({
92
92
  client: this.client,
93
93
  operation: 'mutation',
94
- operationName: 'PlatformConfigDefinition',
95
- fieldName: 'deletePlatformConfigDefinition',
94
+ operationName: 'PlatformNamespace',
95
+ fieldName: 'deletePlatformNamespace',
96
96
  document,
97
97
  variables,
98
98
  });
@@ -0,0 +1,56 @@
1
+ /**
2
+ * PlatformNamespaceEvent 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 { PlatformNamespaceEventWithRelations, PlatformNamespaceEventSelect, PlatformNamespaceEventFilter, PlatformNamespaceEventOrderBy, CreatePlatformNamespaceEventInput, PlatformNamespaceEventPatch } from '../input-types';
10
+ export declare class PlatformNamespaceEventModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends PlatformNamespaceEventSelect>(args: FindManyArgs<S, PlatformNamespaceEventFilter, PlatformNamespaceEventOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, PlatformNamespaceEventSelect>): QueryBuilder<{
16
+ platformNamespaceEvents: ConnectionResult<InferSelectResult<PlatformNamespaceEventWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends PlatformNamespaceEventSelect>(args: FindFirstArgs<S, PlatformNamespaceEventFilter, PlatformNamespaceEventOrderBy> & {
19
+ select: S;
20
+ } & StrictSelect<S, PlatformNamespaceEventSelect>): QueryBuilder<{
21
+ platformNamespaceEvent: InferSelectResult<PlatformNamespaceEventWithRelations, S> | null;
22
+ }>;
23
+ findOne<S extends PlatformNamespaceEventSelect>(args: {
24
+ id: string;
25
+ select: S;
26
+ } & StrictSelect<S, PlatformNamespaceEventSelect>): QueryBuilder<{
27
+ platformNamespaceEvent: InferSelectResult<PlatformNamespaceEventWithRelations, S> | null;
28
+ }>;
29
+ create<S extends PlatformNamespaceEventSelect>(args: CreateArgs<S, CreatePlatformNamespaceEventInput['platformNamespaceEvent']> & {
30
+ select: S;
31
+ } & StrictSelect<S, PlatformNamespaceEventSelect>): QueryBuilder<{
32
+ createPlatformNamespaceEvent: {
33
+ platformNamespaceEvent: InferSelectResult<PlatformNamespaceEventWithRelations, S>;
34
+ };
35
+ }>;
36
+ update<S extends PlatformNamespaceEventSelect>(args: UpdateArgs<S, {
37
+ id: string;
38
+ createdAt: string;
39
+ }, PlatformNamespaceEventPatch> & {
40
+ select: S;
41
+ } & StrictSelect<S, PlatformNamespaceEventSelect>): QueryBuilder<{
42
+ updatePlatformNamespaceEvent: {
43
+ platformNamespaceEvent: InferSelectResult<PlatformNamespaceEventWithRelations, S>;
44
+ };
45
+ }>;
46
+ delete<S extends PlatformNamespaceEventSelect>(args: DeleteArgs<{
47
+ id: string;
48
+ createdAt: string;
49
+ }, S> & {
50
+ select: S;
51
+ } & StrictSelect<S, PlatformNamespaceEventSelect>): QueryBuilder<{
52
+ deletePlatformNamespaceEvent: {
53
+ platformNamespaceEvent: InferSelectResult<PlatformNamespaceEventWithRelations, S>;
54
+ };
55
+ }>;
56
+ }
@@ -0,0 +1,103 @@
1
+ import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
2
+ import { connectionFieldsMap } from '../input-types';
3
+ export class PlatformNamespaceEventModel {
4
+ client;
5
+ constructor(client) {
6
+ this.client = client;
7
+ }
8
+ findMany(args) {
9
+ const { document, variables } = buildFindManyDocument('PlatformNamespaceEvent', 'platformNamespaceEvents', args.select, {
10
+ where: args?.where,
11
+ orderBy: args?.orderBy,
12
+ first: args?.first,
13
+ last: args?.last,
14
+ after: args?.after,
15
+ before: args?.before,
16
+ offset: args?.offset,
17
+ }, 'PlatformNamespaceEventFilter', 'PlatformNamespaceEventOrderBy', connectionFieldsMap);
18
+ return new QueryBuilder({
19
+ client: this.client,
20
+ operation: 'query',
21
+ operationName: 'PlatformNamespaceEvent',
22
+ fieldName: 'platformNamespaceEvents',
23
+ document,
24
+ variables,
25
+ });
26
+ }
27
+ findFirst(args) {
28
+ const { document, variables } = buildFindFirstDocument('PlatformNamespaceEvent', 'platformNamespaceEvents', args.select, {
29
+ where: args?.where,
30
+ orderBy: args?.orderBy,
31
+ }, 'PlatformNamespaceEventFilter', 'PlatformNamespaceEventOrderBy', connectionFieldsMap);
32
+ return new QueryBuilder({
33
+ client: this.client,
34
+ operation: 'query',
35
+ operationName: 'PlatformNamespaceEvent',
36
+ fieldName: 'platformNamespaceEvent',
37
+ document,
38
+ variables,
39
+ transform: (data) => ({
40
+ platformNamespaceEvent: data.platformNamespaceEvents?.nodes?.[0] ?? null,
41
+ }),
42
+ });
43
+ }
44
+ findOne(args) {
45
+ const { document, variables } = buildFindManyDocument('PlatformNamespaceEvent', 'platformNamespaceEvents', args.select, {
46
+ where: {
47
+ id: {
48
+ equalTo: args.id,
49
+ },
50
+ },
51
+ first: 1,
52
+ }, 'PlatformNamespaceEventFilter', 'PlatformNamespaceEventOrderBy', connectionFieldsMap);
53
+ return new QueryBuilder({
54
+ client: this.client,
55
+ operation: 'query',
56
+ operationName: 'PlatformNamespaceEvent',
57
+ fieldName: 'platformNamespaceEvent',
58
+ document,
59
+ variables,
60
+ transform: (data) => ({
61
+ platformNamespaceEvent: data.platformNamespaceEvents?.nodes?.[0] ?? null,
62
+ }),
63
+ });
64
+ }
65
+ create(args) {
66
+ const { document, variables } = buildCreateDocument('PlatformNamespaceEvent', 'createPlatformNamespaceEvent', 'platformNamespaceEvent', args.select, args.data, 'CreatePlatformNamespaceEventInput', connectionFieldsMap);
67
+ return new QueryBuilder({
68
+ client: this.client,
69
+ operation: 'mutation',
70
+ operationName: 'PlatformNamespaceEvent',
71
+ fieldName: 'createPlatformNamespaceEvent',
72
+ document,
73
+ variables,
74
+ });
75
+ }
76
+ update(args) {
77
+ const { document, variables } = buildUpdateByPkDocument('PlatformNamespaceEvent', 'updatePlatformNamespaceEvent', 'platformNamespaceEvent', args.select, args.where.id, args.data, 'UpdatePlatformNamespaceEventInput', 'id', 'platformNamespaceEventPatch', connectionFieldsMap, {
78
+ createdAt: args.where.createdAt,
79
+ });
80
+ return new QueryBuilder({
81
+ client: this.client,
82
+ operation: 'mutation',
83
+ operationName: 'PlatformNamespaceEvent',
84
+ fieldName: 'updatePlatformNamespaceEvent',
85
+ document,
86
+ variables,
87
+ });
88
+ }
89
+ delete(args) {
90
+ const { document, variables } = buildDeleteByPkDocument('PlatformNamespaceEvent', 'deletePlatformNamespaceEvent', 'platformNamespaceEvent', {
91
+ id: args.where.id,
92
+ createdAt: args.where.createdAt,
93
+ }, 'DeletePlatformNamespaceEventInput', args.select, connectionFieldsMap);
94
+ return new QueryBuilder({
95
+ client: this.client,
96
+ operation: 'mutation',
97
+ operationName: 'PlatformNamespaceEvent',
98
+ fieldName: 'deletePlatformNamespaceEvent',
99
+ document,
100
+ variables,
101
+ });
102
+ }
103
+ }
@@ -0,0 +1,50 @@
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 { InfraInitEmptyRepoInput, InfraSetDataAtPathInput, InfraInsertNodeAtPathInput, ProvisionBucketInput, InfraInitEmptyRepoPayload, InfraSetDataAtPathPayload, InfraInsertNodeAtPathPayload, ProvisionBucketPayload, InfraInitEmptyRepoPayloadSelect, InfraSetDataAtPathPayloadSelect, InfraInsertNodeAtPathPayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
10
+ export interface InfraInitEmptyRepoVariables {
11
+ input: InfraInitEmptyRepoInput;
12
+ }
13
+ export interface InfraSetDataAtPathVariables {
14
+ input: InfraSetDataAtPathInput;
15
+ }
16
+ export interface InfraInsertNodeAtPathVariables {
17
+ input: InfraInsertNodeAtPathInput;
18
+ }
19
+ /**
20
+ * Variables for provisionBucket
21
+ * Provision an S3 bucket for a logical bucket in the database.
22
+ Reads the bucket config via RLS, then creates and configures
23
+ the S3 bucket with the appropriate privacy policies, CORS rules,
24
+ and lifecycle settings.
25
+ */
26
+ export interface ProvisionBucketVariables {
27
+ input: ProvisionBucketInput;
28
+ }
29
+ export declare function createMutationOperations(client: OrmClient): {
30
+ infraInitEmptyRepo: <S extends InfraInitEmptyRepoPayloadSelect>(args: InfraInitEmptyRepoVariables, options: {
31
+ select: S;
32
+ } & StrictSelect<S, InfraInitEmptyRepoPayloadSelect>) => QueryBuilder<{
33
+ infraInitEmptyRepo: InferSelectResult<InfraInitEmptyRepoPayload, S> | null;
34
+ }>;
35
+ infraSetDataAtPath: <S extends InfraSetDataAtPathPayloadSelect>(args: InfraSetDataAtPathVariables, options: {
36
+ select: S;
37
+ } & StrictSelect<S, InfraSetDataAtPathPayloadSelect>) => QueryBuilder<{
38
+ infraSetDataAtPath: InferSelectResult<InfraSetDataAtPathPayload, S> | null;
39
+ }>;
40
+ infraInsertNodeAtPath: <S extends InfraInsertNodeAtPathPayloadSelect>(args: InfraInsertNodeAtPathVariables, options: {
41
+ select: S;
42
+ } & StrictSelect<S, InfraInsertNodeAtPathPayloadSelect>) => QueryBuilder<{
43
+ infraInsertNodeAtPath: InferSelectResult<InfraInsertNodeAtPathPayload, S> | null;
44
+ }>;
45
+ provisionBucket: <S extends ProvisionBucketPayloadSelect>(args: ProvisionBucketVariables, options: {
46
+ select: S;
47
+ } & StrictSelect<S, ProvisionBucketPayloadSelect>) => QueryBuilder<{
48
+ provisionBucket: InferSelectResult<ProvisionBucketPayload, S> | null;
49
+ }>;
50
+ };
@@ -0,0 +1,54 @@
1
+ import { QueryBuilder, buildCustomDocument } from '../query-builder';
2
+ import { connectionFieldsMap } from '../input-types';
3
+ export function createMutationOperations(client) {
4
+ return {
5
+ infraInitEmptyRepo: (args, options) => new QueryBuilder({
6
+ client,
7
+ operation: 'mutation',
8
+ operationName: 'InfraInitEmptyRepo',
9
+ fieldName: 'infraInitEmptyRepo',
10
+ ...buildCustomDocument('mutation', 'InfraInitEmptyRepo', 'infraInitEmptyRepo', options.select, args, [
11
+ {
12
+ name: 'input',
13
+ type: 'InfraInitEmptyRepoInput!',
14
+ },
15
+ ], connectionFieldsMap, 'InfraInitEmptyRepoPayload'),
16
+ }),
17
+ infraSetDataAtPath: (args, options) => new QueryBuilder({
18
+ client,
19
+ operation: 'mutation',
20
+ operationName: 'InfraSetDataAtPath',
21
+ fieldName: 'infraSetDataAtPath',
22
+ ...buildCustomDocument('mutation', 'InfraSetDataAtPath', 'infraSetDataAtPath', options.select, args, [
23
+ {
24
+ name: 'input',
25
+ type: 'InfraSetDataAtPathInput!',
26
+ },
27
+ ], connectionFieldsMap, 'InfraSetDataAtPathPayload'),
28
+ }),
29
+ infraInsertNodeAtPath: (args, options) => new QueryBuilder({
30
+ client,
31
+ operation: 'mutation',
32
+ operationName: 'InfraInsertNodeAtPath',
33
+ fieldName: 'infraInsertNodeAtPath',
34
+ ...buildCustomDocument('mutation', 'InfraInsertNodeAtPath', 'infraInsertNodeAtPath', options.select, args, [
35
+ {
36
+ name: 'input',
37
+ type: 'InfraInsertNodeAtPathInput!',
38
+ },
39
+ ], connectionFieldsMap, 'InfraInsertNodeAtPathPayload'),
40
+ }),
41
+ provisionBucket: (args, options) => new QueryBuilder({
42
+ client,
43
+ operation: 'mutation',
44
+ operationName: 'ProvisionBucket',
45
+ fieldName: 'provisionBucket',
46
+ ...buildCustomDocument('mutation', 'ProvisionBucket', 'provisionBucket', options.select, args, [
47
+ {
48
+ name: 'input',
49
+ type: 'ProvisionBucketInput!',
50
+ },
51
+ ], connectionFieldsMap, 'ProvisionBucketPayload'),
52
+ }),
53
+ };
54
+ }
@@ -0,0 +1,110 @@
1
+ import type { FieldNode } from 'graphql';
2
+ import { OrmClient, QueryResult } from './client';
3
+ export interface QueryBuilderConfig<TResult> {
4
+ client: OrmClient;
5
+ operation: 'query' | 'mutation';
6
+ operationName: string;
7
+ fieldName: string;
8
+ document: string;
9
+ variables?: Record<string, unknown>;
10
+ transform?: (data: any) => TResult;
11
+ }
12
+ export declare class QueryBuilder<TResult> {
13
+ private config;
14
+ constructor(config: QueryBuilderConfig<TResult>);
15
+ /**
16
+ * Execute the query and return a discriminated union result
17
+ * Use result.ok to check success, or .unwrap() to throw on error
18
+ */
19
+ execute(): Promise<QueryResult<TResult>>;
20
+ /**
21
+ * Execute and unwrap the result, throwing GraphQLRequestError on failure
22
+ * @throws {GraphQLRequestError} If the query returns errors
23
+ */
24
+ unwrap(): Promise<TResult>;
25
+ /**
26
+ * Execute and unwrap, returning defaultValue on error instead of throwing
27
+ */
28
+ unwrapOr<D>(defaultValue: D): Promise<TResult | D>;
29
+ /**
30
+ * Execute and unwrap, calling onError callback on failure
31
+ */
32
+ unwrapOrElse<D>(onError: (errors: import('./client').GraphQLError[]) => D): Promise<TResult | D>;
33
+ toGraphQL(): string;
34
+ getVariables(): Record<string, unknown> | undefined;
35
+ }
36
+ export declare function buildSelections(select: Record<string, unknown> | undefined, connectionFieldsMap?: Record<string, Record<string, string>>, entityType?: string): FieldNode[];
37
+ export declare function buildFindManyDocument<TSelect, TWhere>(operationName: string, queryField: string, select: TSelect, args: {
38
+ where?: TWhere;
39
+ orderBy?: string[];
40
+ first?: number;
41
+ last?: number;
42
+ after?: string;
43
+ before?: string;
44
+ offset?: number;
45
+ }, filterTypeName: string, orderByTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
46
+ document: string;
47
+ variables: Record<string, unknown>;
48
+ };
49
+ export declare function buildFindFirstDocument<TSelect, TWhere>(operationName: string, queryField: string, select: TSelect, args: {
50
+ where?: TWhere;
51
+ orderBy?: string[];
52
+ }, filterTypeName: string, orderByTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
53
+ document: string;
54
+ variables: Record<string, unknown>;
55
+ };
56
+ export declare function buildCreateDocument<TSelect, TData>(operationName: string, mutationField: string, entityField: string, select: TSelect, data: TData, inputTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
57
+ document: string;
58
+ variables: Record<string, unknown>;
59
+ };
60
+ export declare function buildUpdateDocument<TSelect, TWhere extends {
61
+ id: string;
62
+ }, TData>(operationName: string, mutationField: string, entityField: string, select: TSelect, where: TWhere, data: TData, inputTypeName: string, patchFieldName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
63
+ document: string;
64
+ variables: Record<string, unknown>;
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>>, extraKeys?: Record<string, unknown>): {
67
+ document: string;
68
+ variables: Record<string, unknown>;
69
+ };
70
+ export declare function buildFindOneDocument<TSelect>(operationName: string, queryField: string, id: string | number, select: TSelect, idArgName: string, idTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
71
+ document: string;
72
+ variables: Record<string, unknown>;
73
+ };
74
+ export declare function buildDeleteDocument<TWhere extends {
75
+ id: string;
76
+ }, TSelect = undefined>(operationName: string, mutationField: string, entityField: string, where: TWhere, inputTypeName: string, select?: TSelect, connectionFieldsMap?: Record<string, Record<string, string>>): {
77
+ document: string;
78
+ variables: Record<string, unknown>;
79
+ };
80
+ export declare function buildDeleteByPkDocument<TSelect = undefined>(operationName: string, mutationField: string, entityField: string, keys: Record<string, unknown>, inputTypeName: string, select?: TSelect, connectionFieldsMap?: Record<string, Record<string, string>>): {
81
+ document: string;
82
+ variables: Record<string, unknown>;
83
+ };
84
+ export declare function buildJunctionRemoveDocument(operationName: string, mutationField: string, keys: Record<string, unknown>, inputTypeName: string): {
85
+ document: string;
86
+ variables: Record<string, unknown>;
87
+ };
88
+ export declare function buildCustomDocument<TSelect, TArgs>(operationType: 'query' | 'mutation', operationName: string, fieldName: string, select: TSelect, args: TArgs, variableDefinitions: Array<{
89
+ name: string;
90
+ type: string;
91
+ }>, connectionFieldsMap?: Record<string, Record<string, string>>, entityType?: string): {
92
+ document: string;
93
+ variables: Record<string, unknown>;
94
+ };
95
+ export declare function buildBulkInsertDocument<TSelect, TData>(operationName: string, mutationField: string, select: TSelect, data: TData[], inputTypeName: string, onConflict?: unknown, connectionFieldsMap?: Record<string, Record<string, string>>): {
96
+ document: string;
97
+ variables: Record<string, unknown>;
98
+ };
99
+ export declare function buildBulkUpsertDocument<TSelect, TData>(operationName: string, mutationField: string, select: TSelect, data: TData[], inputTypeName: string, onConflict: unknown, connectionFieldsMap?: Record<string, Record<string, string>>): {
100
+ document: string;
101
+ variables: Record<string, unknown>;
102
+ };
103
+ export declare function buildBulkUpdateDocument<TSelect, TWhere, TData>(operationName: string, mutationField: string, select: TSelect, where: TWhere, data: TData, inputTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
104
+ document: string;
105
+ variables: Record<string, unknown>;
106
+ };
107
+ export declare function buildBulkDeleteDocument<TSelect, TWhere>(operationName: string, mutationField: string, select: TSelect, where: TWhere, inputTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
108
+ document: string;
109
+ variables: Record<string, unknown>;
110
+ };