@constructive-io/sdk 0.32.2 → 0.32.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/agent/orm/input-types.d.ts +24 -0
  2. package/agent/orm/input-types.js +3 -0
  3. package/api/orm/index.d.ts +9 -2
  4. package/api/orm/index.js +4 -2
  5. package/api/orm/input-types.d.ts +498 -143
  6. package/api/orm/input-types.js +4 -0
  7. package/api/orm/models/httpRoute.d.ts +54 -0
  8. package/{infra/orm/models/infraRef.js → api/orm/models/httpRoute.js} +27 -30
  9. package/api/orm/models/index.d.ts +2 -1
  10. package/api/orm/models/index.js +5 -3
  11. package/api/orm/models/managedDomain.d.ts +54 -0
  12. package/{infra/orm/models/infraCommit.js → api/orm/models/managedDomain.js} +27 -30
  13. package/api/orm/query/index.d.ts +12 -0
  14. package/api/orm/query/index.js +20 -0
  15. package/auth/orm/input-types.d.ts +155 -182
  16. package/auth/orm/input-types.js +4 -0
  17. package/compute/orm/index.d.ts +101 -4
  18. package/compute/orm/index.js +46 -4
  19. package/compute/orm/input-types.d.ts +5356 -772
  20. package/compute/orm/input-types.js +34 -2
  21. package/compute/orm/models/declaredCapacity.d.ts +30 -0
  22. package/compute/orm/models/{infraGetAllRecord.js → declaredCapacity.js} +15 -15
  23. package/compute/orm/models/getAllTreeNodesRecord.d.ts +30 -0
  24. package/{objects/orm/models/getAllRecord.js → compute/orm/models/getAllTreeNodesRecord.js} +15 -15
  25. package/compute/orm/models/index.d.ts +23 -2
  26. package/compute/orm/models/index.js +48 -5
  27. package/compute/orm/models/infraCommit.d.ts +2 -2
  28. package/compute/orm/models/infraCommit.js +2 -2
  29. package/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +30 -0
  30. package/compute/orm/models/infraGetAllTreeNodesRecord.js +59 -0
  31. package/compute/orm/models/infraObject.d.ts +2 -2
  32. package/compute/orm/models/infraObject.js +2 -2
  33. package/compute/orm/models/infraRef.d.ts +2 -2
  34. package/compute/orm/models/infraRef.js +2 -2
  35. package/compute/orm/models/platformDeclaredCapacity.d.ts +30 -0
  36. package/compute/orm/models/{getAllRecord.js → platformDeclaredCapacity.js} +15 -15
  37. package/compute/orm/models/platformInfraCommit.d.ts +56 -0
  38. package/compute/orm/models/platformInfraCommit.js +107 -0
  39. package/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
  40. package/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +59 -0
  41. package/compute/orm/models/platformInfraObject.d.ts +56 -0
  42. package/{infra/orm/models/infraObject.js → compute/orm/models/platformInfraObject.js} +25 -25
  43. package/compute/orm/models/platformInfraRef.d.ts +56 -0
  44. package/compute/orm/models/platformInfraRef.js +107 -0
  45. package/compute/orm/models/platformInfraStore.d.ts +54 -0
  46. package/compute/orm/models/platformInfraStore.js +104 -0
  47. package/compute/orm/models/platformResourceInstallation.d.ts +54 -0
  48. package/compute/orm/models/platformResourceInstallation.js +104 -0
  49. package/compute/orm/models/platformResourceUsageLog.d.ts +56 -0
  50. package/compute/orm/models/platformResourceUsageLog.js +107 -0
  51. package/compute/orm/models/platformResourceUsageSummary.d.ts +56 -0
  52. package/compute/orm/models/platformResourceUsageSummary.js +107 -0
  53. package/compute/orm/models/platformResourceUtilizationDaily.d.ts +30 -0
  54. package/compute/orm/models/platformResourceUtilizationDaily.js +59 -0
  55. package/compute/orm/models/platformResourcesHealth.d.ts +36 -0
  56. package/compute/orm/models/platformResourcesHealth.js +80 -0
  57. package/compute/orm/models/platformWebhookEndpoint.d.ts +54 -0
  58. package/compute/orm/models/platformWebhookEndpoint.js +104 -0
  59. package/compute/orm/models/platformWebhookEvent.d.ts +54 -0
  60. package/compute/orm/models/platformWebhookEvent.js +104 -0
  61. package/compute/orm/models/resourceInstallation.d.ts +54 -0
  62. package/compute/orm/models/resourceInstallation.js +104 -0
  63. package/compute/orm/models/resourceUsageLog.d.ts +56 -0
  64. package/compute/orm/models/resourceUsageLog.js +107 -0
  65. package/compute/orm/models/resourceUsageSummary.d.ts +56 -0
  66. package/compute/orm/models/resourceUsageSummary.js +107 -0
  67. package/compute/orm/models/resourceUtilizationDaily.d.ts +30 -0
  68. package/compute/orm/models/resourceUtilizationDaily.js +59 -0
  69. package/compute/orm/models/resourcesHealth.d.ts +36 -0
  70. package/{api/orm/models/migrateFile.js → compute/orm/models/resourcesHealth.js} +20 -20
  71. package/compute/orm/models/webhookEndpoint.d.ts +54 -0
  72. package/compute/orm/models/webhookEndpoint.js +104 -0
  73. package/compute/orm/models/webhookEvent.d.ts +54 -0
  74. package/{infra/orm/models/infraStore.js → compute/orm/models/webhookEvent.js} +27 -27
  75. package/compute/orm/mutation/index.d.ts +89 -1
  76. package/compute/orm/mutation/index.js +132 -0
  77. package/config/orm/input-types.d.ts +4 -79
  78. package/esm/agent/orm/input-types.d.ts +24 -0
  79. package/esm/agent/orm/input-types.js +3 -0
  80. package/esm/api/orm/index.d.ts +9 -2
  81. package/esm/api/orm/index.js +4 -2
  82. package/esm/api/orm/input-types.d.ts +498 -143
  83. package/esm/api/orm/input-types.js +4 -0
  84. package/esm/api/orm/models/httpRoute.d.ts +54 -0
  85. package/esm/{infra/orm/models/infraRef.js → api/orm/models/httpRoute.js} +25 -28
  86. package/esm/api/orm/models/index.d.ts +2 -1
  87. package/esm/api/orm/models/index.js +2 -1
  88. package/esm/api/orm/models/managedDomain.d.ts +54 -0
  89. package/esm/{infra/orm/models/infraCommit.js → api/orm/models/managedDomain.js} +25 -28
  90. package/esm/api/orm/query/index.d.ts +12 -0
  91. package/esm/api/orm/query/index.js +20 -0
  92. package/esm/auth/orm/input-types.d.ts +155 -182
  93. package/esm/auth/orm/input-types.js +4 -0
  94. package/esm/compute/orm/index.d.ts +101 -4
  95. package/esm/compute/orm/index.js +46 -4
  96. package/esm/compute/orm/input-types.d.ts +5356 -772
  97. package/esm/compute/orm/input-types.js +34 -2
  98. package/esm/compute/orm/models/declaredCapacity.d.ts +30 -0
  99. package/esm/{infra/orm/models/infraGetAllRecord.js → compute/orm/models/declaredCapacity.js} +13 -13
  100. package/esm/compute/orm/models/getAllTreeNodesRecord.d.ts +30 -0
  101. package/esm/compute/orm/models/{getAllRecord.js → getAllTreeNodesRecord.js} +13 -13
  102. package/esm/compute/orm/models/index.d.ts +23 -2
  103. package/esm/compute/orm/models/index.js +23 -2
  104. package/esm/compute/orm/models/infraCommit.d.ts +2 -2
  105. package/esm/compute/orm/models/infraCommit.js +2 -2
  106. package/esm/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +30 -0
  107. package/esm/compute/orm/models/{infraGetAllRecord.js → infraGetAllTreeNodesRecord.js} +13 -13
  108. package/esm/compute/orm/models/infraObject.d.ts +2 -2
  109. package/esm/compute/orm/models/infraObject.js +2 -2
  110. package/esm/compute/orm/models/infraRef.d.ts +2 -2
  111. package/esm/compute/orm/models/infraRef.js +2 -2
  112. package/esm/compute/orm/models/platformDeclaredCapacity.d.ts +30 -0
  113. package/esm/compute/orm/models/platformDeclaredCapacity.js +55 -0
  114. package/esm/compute/orm/models/platformInfraCommit.d.ts +56 -0
  115. package/esm/compute/orm/models/platformInfraCommit.js +103 -0
  116. package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
  117. package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +55 -0
  118. package/esm/compute/orm/models/platformInfraObject.d.ts +56 -0
  119. package/esm/{infra/orm/models/infraObject.js → compute/orm/models/platformInfraObject.js} +23 -23
  120. package/esm/compute/orm/models/platformInfraRef.d.ts +56 -0
  121. package/esm/compute/orm/models/platformInfraRef.js +103 -0
  122. package/esm/compute/orm/models/platformInfraStore.d.ts +54 -0
  123. package/esm/compute/orm/models/platformInfraStore.js +100 -0
  124. package/esm/compute/orm/models/platformResourceInstallation.d.ts +54 -0
  125. package/esm/compute/orm/models/platformResourceInstallation.js +100 -0
  126. package/esm/compute/orm/models/platformResourceUsageLog.d.ts +56 -0
  127. package/esm/compute/orm/models/platformResourceUsageLog.js +103 -0
  128. package/esm/compute/orm/models/platformResourceUsageSummary.d.ts +56 -0
  129. package/esm/compute/orm/models/platformResourceUsageSummary.js +103 -0
  130. package/esm/compute/orm/models/platformResourceUtilizationDaily.d.ts +30 -0
  131. package/esm/compute/orm/models/platformResourceUtilizationDaily.js +55 -0
  132. package/esm/compute/orm/models/platformResourcesHealth.d.ts +36 -0
  133. package/esm/compute/orm/models/platformResourcesHealth.js +76 -0
  134. package/esm/compute/orm/models/platformWebhookEndpoint.d.ts +54 -0
  135. package/esm/compute/orm/models/platformWebhookEndpoint.js +100 -0
  136. package/esm/compute/orm/models/platformWebhookEvent.d.ts +54 -0
  137. package/esm/compute/orm/models/platformWebhookEvent.js +100 -0
  138. package/esm/compute/orm/models/resourceInstallation.d.ts +54 -0
  139. package/esm/compute/orm/models/resourceInstallation.js +100 -0
  140. package/esm/compute/orm/models/resourceUsageLog.d.ts +56 -0
  141. package/esm/compute/orm/models/resourceUsageLog.js +103 -0
  142. package/esm/compute/orm/models/resourceUsageSummary.d.ts +56 -0
  143. package/esm/compute/orm/models/resourceUsageSummary.js +103 -0
  144. package/esm/compute/orm/models/resourceUtilizationDaily.d.ts +30 -0
  145. package/esm/compute/orm/models/resourceUtilizationDaily.js +55 -0
  146. package/esm/compute/orm/models/resourcesHealth.d.ts +36 -0
  147. package/esm/{api/orm/models/migrateFile.js → compute/orm/models/resourcesHealth.js} +18 -18
  148. package/esm/compute/orm/models/webhookEndpoint.d.ts +54 -0
  149. package/esm/compute/orm/models/webhookEndpoint.js +100 -0
  150. package/esm/compute/orm/models/webhookEvent.d.ts +54 -0
  151. package/esm/{infra/orm/models/infraStore.js → compute/orm/models/webhookEvent.js} +25 -25
  152. package/esm/compute/orm/mutation/index.d.ts +89 -1
  153. package/esm/compute/orm/mutation/index.js +132 -0
  154. package/esm/config/orm/input-types.d.ts +4 -79
  155. package/esm/infra/orm/index.d.ts +19 -19
  156. package/esm/infra/orm/index.js +10 -10
  157. package/esm/infra/orm/input-types.d.ts +542 -668
  158. package/esm/infra/orm/models/index.d.ts +5 -5
  159. package/esm/infra/orm/models/index.js +5 -5
  160. package/esm/infra/orm/models/platformInfraCommit.d.ts +56 -0
  161. package/esm/infra/orm/models/platformInfraCommit.js +103 -0
  162. package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
  163. package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +55 -0
  164. package/esm/infra/orm/models/platformInfraObject.d.ts +56 -0
  165. package/esm/infra/orm/models/platformInfraObject.js +93 -0
  166. package/esm/infra/orm/models/platformInfraRef.d.ts +56 -0
  167. package/esm/infra/orm/models/platformInfraRef.js +103 -0
  168. package/esm/infra/orm/models/platformInfraStore.d.ts +54 -0
  169. package/esm/infra/orm/models/platformInfraStore.js +100 -0
  170. package/esm/infra/orm/mutation/index.d.ts +16 -16
  171. package/esm/infra/orm/mutation/index.js +18 -18
  172. package/esm/modules/orm/index.d.ts +4 -0
  173. package/esm/modules/orm/index.js +4 -0
  174. package/esm/modules/orm/input-types.d.ts +802 -166
  175. package/esm/modules/orm/models/httpRouteModule.d.ts +54 -0
  176. package/esm/modules/orm/models/httpRouteModule.js +100 -0
  177. package/esm/modules/orm/models/index.d.ts +2 -0
  178. package/esm/modules/orm/models/index.js +2 -0
  179. package/esm/modules/orm/models/webhookModule.d.ts +54 -0
  180. package/esm/modules/orm/models/webhookModule.js +100 -0
  181. package/esm/objects/orm/index.d.ts +2 -2
  182. package/esm/objects/orm/index.js +2 -2
  183. package/esm/objects/orm/input-types.d.ts +15 -15
  184. package/esm/objects/orm/models/getAllTreeNodesRecord.d.ts +30 -0
  185. package/esm/objects/orm/models/{getAllRecord.js → getAllTreeNodesRecord.js} +13 -13
  186. package/esm/objects/orm/models/index.d.ts +1 -1
  187. package/esm/objects/orm/models/index.js +1 -1
  188. package/infra/orm/index.d.ts +19 -19
  189. package/infra/orm/index.js +10 -10
  190. package/infra/orm/input-types.d.ts +542 -668
  191. package/infra/orm/models/index.d.ts +5 -5
  192. package/infra/orm/models/index.js +11 -11
  193. package/infra/orm/models/platformInfraCommit.d.ts +56 -0
  194. package/infra/orm/models/platformInfraCommit.js +107 -0
  195. package/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
  196. package/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +59 -0
  197. package/infra/orm/models/platformInfraObject.d.ts +56 -0
  198. package/infra/orm/models/platformInfraObject.js +97 -0
  199. package/infra/orm/models/platformInfraRef.d.ts +56 -0
  200. package/infra/orm/models/platformInfraRef.js +107 -0
  201. package/infra/orm/models/platformInfraStore.d.ts +54 -0
  202. package/infra/orm/models/platformInfraStore.js +104 -0
  203. package/infra/orm/mutation/index.d.ts +16 -16
  204. package/infra/orm/mutation/index.js +18 -18
  205. package/modules/orm/index.d.ts +4 -0
  206. package/modules/orm/index.js +4 -0
  207. package/modules/orm/input-types.d.ts +802 -166
  208. package/modules/orm/models/httpRouteModule.d.ts +54 -0
  209. package/modules/orm/models/httpRouteModule.js +104 -0
  210. package/modules/orm/models/index.d.ts +2 -0
  211. package/modules/orm/models/index.js +6 -2
  212. package/modules/orm/models/webhookModule.d.ts +54 -0
  213. package/modules/orm/models/webhookModule.js +104 -0
  214. package/objects/orm/index.d.ts +2 -2
  215. package/objects/orm/index.js +2 -2
  216. package/objects/orm/input-types.d.ts +15 -15
  217. package/objects/orm/models/getAllTreeNodesRecord.d.ts +30 -0
  218. package/{infra/orm/models/infraGetAllRecord.js → objects/orm/models/getAllTreeNodesRecord.js} +15 -15
  219. package/objects/orm/models/index.d.ts +1 -1
  220. package/objects/orm/models/index.js +3 -3
  221. package/package.json +5 -5
  222. package/api/orm/models/migrateFile.d.ts +0 -36
  223. package/compute/orm/models/getAllRecord.d.ts +0 -30
  224. package/compute/orm/models/infraGetAllRecord.d.ts +0 -30
  225. package/esm/api/orm/models/migrateFile.d.ts +0 -36
  226. package/esm/compute/orm/models/getAllRecord.d.ts +0 -30
  227. package/esm/compute/orm/models/infraGetAllRecord.d.ts +0 -30
  228. package/esm/infra/orm/models/infraCommit.d.ts +0 -56
  229. package/esm/infra/orm/models/infraGetAllRecord.d.ts +0 -30
  230. package/esm/infra/orm/models/infraObject.d.ts +0 -56
  231. package/esm/infra/orm/models/infraRef.d.ts +0 -56
  232. package/esm/infra/orm/models/infraStore.d.ts +0 -54
  233. package/esm/objects/orm/models/getAllRecord.d.ts +0 -30
  234. package/infra/orm/models/infraCommit.d.ts +0 -56
  235. package/infra/orm/models/infraGetAllRecord.d.ts +0 -30
  236. package/infra/orm/models/infraObject.d.ts +0 -56
  237. package/infra/orm/models/infraRef.d.ts +0 -56
  238. package/infra/orm/models/infraStore.d.ts +0 -54
  239. package/objects/orm/models/getAllRecord.d.ts +0 -30
@@ -149,6 +149,90 @@ function createMutationOperations(client) {
149
149
  },
150
150
  ], input_types_1.connectionFieldsMap, 'InsertNodeAtPathPayload'),
151
151
  }),
152
+ platformInfraInitEmptyRepo: (args, options) => new query_builder_1.QueryBuilder({
153
+ client,
154
+ operation: 'mutation',
155
+ operationName: 'PlatformInfraInitEmptyRepo',
156
+ fieldName: 'platformInfraInitEmptyRepo',
157
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'PlatformInfraInitEmptyRepo', 'platformInfraInitEmptyRepo', options.select, args, [
158
+ {
159
+ name: 'input',
160
+ type: 'PlatformInfraInitEmptyRepoInput!',
161
+ },
162
+ ], input_types_1.connectionFieldsMap, 'PlatformInfraInitEmptyRepoPayload'),
163
+ }),
164
+ platformInfraInsertNodeAtPath: (args, options) => new query_builder_1.QueryBuilder({
165
+ client,
166
+ operation: 'mutation',
167
+ operationName: 'PlatformInfraInsertNodeAtPath',
168
+ fieldName: 'platformInfraInsertNodeAtPath',
169
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'PlatformInfraInsertNodeAtPath', 'platformInfraInsertNodeAtPath', options.select, args, [
170
+ {
171
+ name: 'input',
172
+ type: 'PlatformInfraInsertNodeAtPathInput!',
173
+ },
174
+ ], input_types_1.connectionFieldsMap, 'PlatformInfraInsertNodeAtPathPayload'),
175
+ }),
176
+ platformInfraSetDataAtPath: (args, options) => new query_builder_1.QueryBuilder({
177
+ client,
178
+ operation: 'mutation',
179
+ operationName: 'PlatformInfraSetDataAtPath',
180
+ fieldName: 'platformInfraSetDataAtPath',
181
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'PlatformInfraSetDataAtPath', 'platformInfraSetDataAtPath', options.select, args, [
182
+ {
183
+ name: 'input',
184
+ type: 'PlatformInfraSetDataAtPathInput!',
185
+ },
186
+ ], input_types_1.connectionFieldsMap, 'PlatformInfraSetDataAtPathPayload'),
187
+ }),
188
+ platformResourceInstallationsInstall: (args, options) => new query_builder_1.QueryBuilder({
189
+ client,
190
+ operation: 'mutation',
191
+ operationName: 'PlatformResourceInstallationsInstall',
192
+ fieldName: 'platformResourceInstallationsInstall',
193
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'PlatformResourceInstallationsInstall', 'platformResourceInstallationsInstall', options.select, args, [
194
+ {
195
+ name: 'input',
196
+ type: 'PlatformResourceInstallationsInstallInput!',
197
+ },
198
+ ], input_types_1.connectionFieldsMap, 'PlatformResourceInstallationsInstallPayload'),
199
+ }),
200
+ platformResourceInstallationsRollback: (args, options) => new query_builder_1.QueryBuilder({
201
+ client,
202
+ operation: 'mutation',
203
+ operationName: 'PlatformResourceInstallationsRollback',
204
+ fieldName: 'platformResourceInstallationsRollback',
205
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'PlatformResourceInstallationsRollback', 'platformResourceInstallationsRollback', options.select, args, [
206
+ {
207
+ name: 'input',
208
+ type: 'PlatformResourceInstallationsRollbackInput!',
209
+ },
210
+ ], input_types_1.connectionFieldsMap, 'PlatformResourceInstallationsRollbackPayload'),
211
+ }),
212
+ platformResourceInstallationsUninstall: (args, options) => new query_builder_1.QueryBuilder({
213
+ client,
214
+ operation: 'mutation',
215
+ operationName: 'PlatformResourceInstallationsUninstall',
216
+ fieldName: 'platformResourceInstallationsUninstall',
217
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'PlatformResourceInstallationsUninstall', 'platformResourceInstallationsUninstall', options.select, args, [
218
+ {
219
+ name: 'input',
220
+ type: 'PlatformResourceInstallationsUninstallInput!',
221
+ },
222
+ ], input_types_1.connectionFieldsMap, 'PlatformResourceInstallationsUninstallPayload'),
223
+ }),
224
+ platformResourceInstallationsUpgrade: (args, options) => new query_builder_1.QueryBuilder({
225
+ client,
226
+ operation: 'mutation',
227
+ operationName: 'PlatformResourceInstallationsUpgrade',
228
+ fieldName: 'platformResourceInstallationsUpgrade',
229
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'PlatformResourceInstallationsUpgrade', 'platformResourceInstallationsUpgrade', options.select, args, [
230
+ {
231
+ name: 'input',
232
+ type: 'PlatformResourceInstallationsUpgradeInput!',
233
+ },
234
+ ], input_types_1.connectionFieldsMap, 'PlatformResourceInstallationsUpgradePayload'),
235
+ }),
152
236
  provisionBucket: (args, options) => new query_builder_1.QueryBuilder({
153
237
  client,
154
238
  operation: 'mutation',
@@ -161,6 +245,54 @@ function createMutationOperations(client) {
161
245
  },
162
246
  ], input_types_1.connectionFieldsMap, 'ProvisionBucketPayload'),
163
247
  }),
248
+ resourceInstallationsInstall: (args, options) => new query_builder_1.QueryBuilder({
249
+ client,
250
+ operation: 'mutation',
251
+ operationName: 'ResourceInstallationsInstall',
252
+ fieldName: 'resourceInstallationsInstall',
253
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'ResourceInstallationsInstall', 'resourceInstallationsInstall', options.select, args, [
254
+ {
255
+ name: 'input',
256
+ type: 'ResourceInstallationsInstallInput!',
257
+ },
258
+ ], input_types_1.connectionFieldsMap, 'ResourceInstallationsInstallPayload'),
259
+ }),
260
+ resourceInstallationsRollback: (args, options) => new query_builder_1.QueryBuilder({
261
+ client,
262
+ operation: 'mutation',
263
+ operationName: 'ResourceInstallationsRollback',
264
+ fieldName: 'resourceInstallationsRollback',
265
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'ResourceInstallationsRollback', 'resourceInstallationsRollback', options.select, args, [
266
+ {
267
+ name: 'input',
268
+ type: 'ResourceInstallationsRollbackInput!',
269
+ },
270
+ ], input_types_1.connectionFieldsMap, 'ResourceInstallationsRollbackPayload'),
271
+ }),
272
+ resourceInstallationsUninstall: (args, options) => new query_builder_1.QueryBuilder({
273
+ client,
274
+ operation: 'mutation',
275
+ operationName: 'ResourceInstallationsUninstall',
276
+ fieldName: 'resourceInstallationsUninstall',
277
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'ResourceInstallationsUninstall', 'resourceInstallationsUninstall', options.select, args, [
278
+ {
279
+ name: 'input',
280
+ type: 'ResourceInstallationsUninstallInput!',
281
+ },
282
+ ], input_types_1.connectionFieldsMap, 'ResourceInstallationsUninstallPayload'),
283
+ }),
284
+ resourceInstallationsUpgrade: (args, options) => new query_builder_1.QueryBuilder({
285
+ client,
286
+ operation: 'mutation',
287
+ operationName: 'ResourceInstallationsUpgrade',
288
+ fieldName: 'resourceInstallationsUpgrade',
289
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'ResourceInstallationsUpgrade', 'resourceInstallationsUpgrade', options.select, args, [
290
+ {
291
+ name: 'input',
292
+ type: 'ResourceInstallationsUpgradeInput!',
293
+ },
294
+ ], input_types_1.connectionFieldsMap, 'ResourceInstallationsUpgradePayload'),
295
+ }),
164
296
  saveGraph: (args, options) => new query_builder_1.QueryBuilder({
165
297
  client,
166
298
  operation: 'mutation',
@@ -638,7 +638,7 @@ export interface CreatePlatformInternalSecretInput {
638
638
  description?: string;
639
639
  labels?: Record<string, unknown>;
640
640
  name?: string;
641
- namespaceId?: string;
641
+ namespaceId: string;
642
642
  retiredAt?: string;
643
643
  rotatedAt?: string;
644
644
  };
@@ -668,7 +668,7 @@ export interface CreatePlatformSecretInput {
668
668
  description?: string;
669
669
  labels?: Record<string, unknown>;
670
670
  name?: string;
671
- namespaceId?: string;
671
+ namespaceId: string;
672
672
  provider?: string;
673
673
  retiredAt?: string;
674
674
  rotatedAt?: string;
@@ -697,11 +697,11 @@ export interface CreateSecretInput {
697
697
  clientMutationId?: string;
698
698
  secret: {
699
699
  annotations?: Record<string, unknown>;
700
- databaseId?: string;
700
+ databaseId: string;
701
701
  description?: string;
702
702
  labels?: Record<string, unknown>;
703
703
  name?: string;
704
- namespaceId?: string;
704
+ namespaceId: string;
705
705
  provider?: string;
706
706
  retiredAt?: string;
707
707
  rotatedAt?: string;
@@ -863,48 +863,6 @@ export interface PlatformConfigInput {
863
863
  /** Plaintext config value */
864
864
  value?: string;
865
865
  }
866
- /** An input for mutations affecting `PlatformInternalSecret` */
867
- export interface PlatformInternalSecretInput {
868
- annotations?: Record<string, unknown>;
869
- createdAt?: string;
870
- description?: string;
871
- id?: string;
872
- labels?: Record<string, unknown>;
873
- name?: string;
874
- namespaceId?: string;
875
- retiredAt?: string;
876
- rotatedAt?: string;
877
- updatedAt?: string;
878
- }
879
- /** An input for mutations affecting `PlatformSecret` */
880
- export interface PlatformSecretInput {
881
- annotations?: Record<string, unknown>;
882
- createdAt?: string;
883
- description?: string;
884
- id?: string;
885
- labels?: Record<string, unknown>;
886
- name?: string;
887
- namespaceId?: string;
888
- provider?: string;
889
- retiredAt?: string;
890
- rotatedAt?: string;
891
- updatedAt?: string;
892
- }
893
- /** An input for mutations affecting `Secret` */
894
- export interface SecretInput {
895
- annotations?: Record<string, unknown>;
896
- createdAt?: string;
897
- databaseId?: string;
898
- description?: string;
899
- id?: string;
900
- labels?: Record<string, unknown>;
901
- name?: string;
902
- namespaceId?: string;
903
- provider?: string;
904
- retiredAt?: string;
905
- rotatedAt?: string;
906
- updatedAt?: string;
907
- }
908
866
  export interface _SecretsDelPayload {
909
867
  clientMutationId?: string | null;
910
868
  }
@@ -1101,39 +1059,6 @@ export type DeletePlatformConfigPayloadSelect = {
1101
1059
  select: PlatformConfigEdgeSelect;
1102
1060
  };
1103
1061
  };
1104
- export interface CreatePlatformInternalSecretPayload {
1105
- clientMutationId?: string | null;
1106
- /** The `PlatformInternalSecret` that was created by this mutation. */
1107
- platformInternalSecret?: PlatformInternalSecret | null;
1108
- }
1109
- export type CreatePlatformInternalSecretPayloadSelect = {
1110
- clientMutationId?: boolean;
1111
- platformInternalSecret?: {
1112
- select: PlatformInternalSecretSelect;
1113
- };
1114
- };
1115
- export interface CreatePlatformSecretPayload {
1116
- clientMutationId?: string | null;
1117
- /** The `PlatformSecret` that was created by this mutation. */
1118
- platformSecret?: PlatformSecret | null;
1119
- }
1120
- export type CreatePlatformSecretPayloadSelect = {
1121
- clientMutationId?: boolean;
1122
- platformSecret?: {
1123
- select: PlatformSecretSelect;
1124
- };
1125
- };
1126
- export interface CreateSecretPayload {
1127
- clientMutationId?: string | null;
1128
- /** The `Secret` that was created by this mutation. */
1129
- secret?: Secret | null;
1130
- }
1131
- export type CreateSecretPayloadSelect = {
1132
- clientMutationId?: boolean;
1133
- secret?: {
1134
- select: SecretSelect;
1135
- };
1136
- };
1137
1062
  /** A `Config` edge in the connection. */
1138
1063
  export interface ConfigEdge {
1139
1064
  cursor?: string | null;
@@ -490,6 +490,7 @@ export interface AgentPlanRelations {
490
490
  agentTasksByPlanId?: ConnectionResult<AgentTask>;
491
491
  }
492
492
  export interface AgentPromptRelations {
493
+ agentThreadsByPromptTemplateId?: ConnectionResult<AgentThread>;
493
494
  }
494
495
  export interface AgentResourceChunkRelations {
495
496
  agentResource?: AgentResource | null;
@@ -626,6 +627,12 @@ export type AgentPromptSelect = {
626
627
  name?: boolean;
627
628
  updatedAt?: boolean;
628
629
  updatedBy?: boolean;
630
+ agentThreadsByPromptTemplateId?: {
631
+ select: AgentThreadSelect;
632
+ first?: number;
633
+ filter?: AgentThreadFilter;
634
+ orderBy?: AgentThreadOrderBy[];
635
+ };
629
636
  };
630
637
  export type AgentResourceChunkSelect = {
631
638
  agentResourceId?: boolean;
@@ -899,6 +906,10 @@ export interface AgentPlanFilter {
899
906
  updatedAt?: DatetimeFilter;
900
907
  }
901
908
  export interface AgentPromptFilter {
909
+ /** Filter by the object’s `agentThreadsByPromptTemplateId` relation. */
910
+ agentThreadsByPromptTemplateId?: AgentPromptToManyAgentThreadFilter;
911
+ /** `agentThreadsByPromptTemplateId` exist. */
912
+ agentThreadsByPromptTemplateIdExist?: boolean;
902
913
  /** Checks for all expressions in this list. */
903
914
  and?: AgentPromptFilter[];
904
915
  /** Filter by the object’s `content` field. */
@@ -1516,6 +1527,15 @@ export interface AgentPlanToManyAgentTaskFilter {
1516
1527
  /** Filters to entities where at least one related entity matches. */
1517
1528
  some?: AgentTaskFilter;
1518
1529
  }
1530
+ /** A filter to be used against many `AgentThread` object types. All fields are combined with a logical ‘and.’ */
1531
+ export interface AgentPromptToManyAgentThreadFilter {
1532
+ /** Filters to entities where every related entity matches. */
1533
+ every?: AgentThreadFilter;
1534
+ /** Filters to entities where no related entity matches. */
1535
+ none?: AgentThreadFilter;
1536
+ /** Filters to entities where at least one related entity matches. */
1537
+ some?: AgentThreadFilter;
1538
+ }
1519
1539
  /** Input for vector similarity search. Provide a query vector, optional metric, and optional max distance threshold. */
1520
1540
  export interface VectorNearbyInput {
1521
1541
  /** Maximum distance threshold. Only rows within this distance are returned. */
@@ -2319,6 +2339,10 @@ export interface BooleanFilter {
2319
2339
  }
2320
2340
  /** A filter to be used against `AgentPrompt` object types. All fields are combined with a logical ‘and.’ */
2321
2341
  export interface AgentPromptFilter {
2342
+ /** Filter by the object’s `agentThreadsByPromptTemplateId` relation. */
2343
+ agentThreadsByPromptTemplateId?: AgentPromptToManyAgentThreadFilter;
2344
+ /** `agentThreadsByPromptTemplateId` exist. */
2345
+ agentThreadsByPromptTemplateIdExist?: boolean;
2322
2346
  /** Checks for all expressions in this list. */
2323
2347
  and?: AgentPromptFilter[];
2324
2348
  /** Filter by the object’s `content` field. */
@@ -11,6 +11,9 @@ export const connectionFieldsMap = {
11
11
  AgentPlan: {
12
12
  agentTasksByPlanId: 'AgentTask',
13
13
  },
14
+ AgentPrompt: {
15
+ agentThreadsByPromptTemplateId: 'AgentThread',
16
+ },
14
17
  AgentResource: {
15
18
  agentResourceChunks: 'AgentResourceChunk',
16
19
  },
@@ -19,8 +19,9 @@ import { FieldModel } from './models/field';
19
19
  import { ForeignKeyConstraintModel } from './models/foreignKeyConstraint';
20
20
  import { FullTextSearchModel } from './models/fullTextSearch';
21
21
  import { FunctionModel } from './models/function';
22
+ import { HttpRouteModel } from './models/httpRoute';
22
23
  import { IndexModel } from './models/index';
23
- import { MigrateFileModel } from './models/migrateFile';
24
+ import { ManagedDomainModel } from './models/managedDomain';
24
25
  import { NodeTypeRegistryModel } from './models/nodeTypeRegistry';
25
26
  import { PartitionModel } from './models/partition';
26
27
  import { PolicyModel } from './models/policy';
@@ -96,8 +97,9 @@ export declare function createClient(config: OrmClientConfig): {
96
97
  foreignKeyConstraint: ForeignKeyConstraintModel;
97
98
  fullTextSearch: FullTextSearchModel;
98
99
  function: FunctionModel;
100
+ httpRoute: HttpRouteModel;
99
101
  index: IndexModel;
100
- migrateFile: MigrateFileModel;
102
+ managedDomain: ManagedDomainModel;
101
103
  nodeTypeRegistry: NodeTypeRegistryModel;
102
104
  partition: PartitionModel;
103
105
  policy: PolicyModel;
@@ -128,6 +130,11 @@ export declare function createClient(config: OrmClientConfig): {
128
130
  }) => import("./query-builder").QueryBuilder<{
129
131
  applyRegistryDefaults: unknown | null;
130
132
  }>;
133
+ resolveHttpRoute: <S extends import("./input-types").ResolveHttpRouteRecordSelect>(args: import("./query").ResolveHttpRouteVariables, options: {
134
+ select: S;
135
+ } & import("./select-types").StrictSelect<S, import("./input-types").ResolveHttpRouteRecordSelect>) => import("./query-builder").QueryBuilder<{
136
+ resolveHttpRoute: import("./select-types").InferSelectResult<import("./input-types").ResolveHttpRouteRecord, S> | null;
137
+ }>;
131
138
  };
132
139
  mutation: {
133
140
  acceptDatabaseTransfer: <S extends import("./input-types").AcceptDatabaseTransferPayloadSelect>(args: import("./mutation").AcceptDatabaseTransferVariables, options: {
@@ -24,8 +24,9 @@ import { FieldModel } from './models/field';
24
24
  import { ForeignKeyConstraintModel } from './models/foreignKeyConstraint';
25
25
  import { FullTextSearchModel } from './models/fullTextSearch';
26
26
  import { FunctionModel } from './models/function';
27
+ import { HttpRouteModel } from './models/httpRoute';
27
28
  import { IndexModel } from './models/index';
28
- import { MigrateFileModel } from './models/migrateFile';
29
+ import { ManagedDomainModel } from './models/managedDomain';
29
30
  import { NodeTypeRegistryModel } from './models/nodeTypeRegistry';
30
31
  import { PartitionModel } from './models/partition';
31
32
  import { PolicyModel } from './models/policy';
@@ -104,8 +105,9 @@ export function createClient(config) {
104
105
  foreignKeyConstraint: new ForeignKeyConstraintModel(client),
105
106
  fullTextSearch: new FullTextSearchModel(client),
106
107
  function: new FunctionModel(client),
108
+ httpRoute: new HttpRouteModel(client),
107
109
  index: new IndexModel(client),
108
- migrateFile: new MigrateFileModel(client),
110
+ managedDomain: new ManagedDomainModel(client),
109
111
  nodeTypeRegistry: new NodeTypeRegistryModel(client),
110
112
  partition: new PartitionModel(client),
111
113
  policy: new PolicyModel(client),