@treeseed/sdk 0.13.0-rc.18 → 0.13.0-rc.19

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 (250) hide show
  1. package/README.md +19 -9
  2. package/dist/agent-capacity/artifacts.d.ts +17 -1
  3. package/dist/content/validation/agent-operational-content-schemas.d.ts +8 -8
  4. package/dist/content/validation/auxiliary-content-schemas.d.ts +12 -12
  5. package/dist/content/validation/content-model-schemas.d.ts +28 -28
  6. package/dist/content/validation/portable-content-data.d.ts +4 -4
  7. package/dist/operator-contracts/canonical-command-tree.js +16 -0
  8. package/dist/operator-contracts/control-plane-operation.d.ts +7 -0
  9. package/dist/operator-contracts/control-plane-operation.js +3 -0
  10. package/dist/operator-contracts/control-plane-operations.d.ts +280 -39
  11. package/dist/operator-contracts/control-plane-operations.js +89 -38
  12. package/dist/operator-contracts/operation-builder.d.ts +17 -0
  13. package/dist/operator-contracts/operation-builder.js +60 -0
  14. package/dist/treedx/client.d.ts +589 -0
  15. package/dist/treedx/client.js +39 -0
  16. package/dist/treedx/contract.d.ts +32 -0
  17. package/dist/treedx/contract.js +63 -0
  18. package/dist/treedx/index.d.ts +3 -0
  19. package/dist/treedx/index.js +2 -0
  20. package/dist/treedx/types.d.ts +8 -7
  21. package/dist/treedx/types.js +0 -7
  22. package/package.json +8 -10
  23. package/dist/treedx/accounts/auth.d.ts +0 -17
  24. package/dist/treedx/accounts/auth.js +0 -48
  25. package/dist/treedx/client/accounts/contracts/auth-mode.d.ts +0 -3
  26. package/dist/treedx/client/accounts/contracts/auth-mode.js +0 -6
  27. package/dist/treedx/client/build/creation/build-context.d.ts +0 -3
  28. package/dist/treedx/client/build/creation/build-context.js +0 -7
  29. package/dist/treedx/client/build/creation/build-snapshot.d.ts +0 -3
  30. package/dist/treedx/client/build/creation/build-snapshot.js +0 -8
  31. package/dist/treedx/client/capacity/allocations/contracts/put-capability-grant.d.ts +0 -3
  32. package/dist/treedx/client/capacity/allocations/contracts/put-capability-grant.js +0 -7
  33. package/dist/treedx/client/capacity/allocations/queries/list-capability-grants.d.ts +0 -6
  34. package/dist/treedx/client/capacity/allocations/queries/list-capability-grants.js +0 -10
  35. package/dist/treedx/client/methods.d.ts +0 -102
  36. package/dist/treedx/client/methods.js +0 -209
  37. package/dist/treedx/client/persistence/contracts/restore-storage.d.ts +0 -3
  38. package/dist/treedx/client/persistence/contracts/restore-storage.js +0 -6
  39. package/dist/treedx/client/persistence/lifecycle/verify-storage-restore.d.ts +0 -3
  40. package/dist/treedx/client/persistence/lifecycle/verify-storage-restore.js +0 -6
  41. package/dist/treedx/client/repositories/creation/register-repository.d.ts +0 -3
  42. package/dist/treedx/client/repositories/creation/register-repository.js +0 -7
  43. package/dist/treedx/client/repositories/queries/get-repository.d.ts +0 -3
  44. package/dist/treedx/client/repositories/queries/get-repository.js +0 -7
  45. package/dist/treedx/client/repositories/queries/list-repository-paths.d.ts +0 -3
  46. package/dist/treedx/client/repositories/queries/list-repository-paths.js +0 -7
  47. package/dist/treedx/client/repositories/queries/list-repository-refs.d.ts +0 -3
  48. package/dist/treedx/client/repositories/queries/list-repository-refs.js +0 -12
  49. package/dist/treedx/client/repositories/queries/query-repository.d.ts +0 -3
  50. package/dist/treedx/client/repositories/queries/query-repository.js +0 -7
  51. package/dist/treedx/client/repositories/queries/read-repository-file.d.ts +0 -3
  52. package/dist/treedx/client/repositories/queries/read-repository-file.js +0 -6
  53. package/dist/treedx/client/repositories/queries/read-repository-files.d.ts +0 -3
  54. package/dist/treedx/client/repositories/queries/read-repository-files.js +0 -7
  55. package/dist/treedx/client/repositories/queries/search-repository-files.d.ts +0 -3
  56. package/dist/treedx/client/repositories/queries/search-repository-files.js +0 -7
  57. package/dist/treedx/client/support/contracts/treedx/artifacts/contracts/download-artifact.d.ts +0 -3
  58. package/dist/treedx/client/support/contracts/treedx/artifacts/contracts/download-artifact.js +0 -9
  59. package/dist/treedx/client/support/contracts/treedx/authorization/contracts/whoami.d.ts +0 -3
  60. package/dist/treedx/client/support/contracts/treedx/authorization/contracts/whoami.js +0 -6
  61. package/dist/treedx/client/support/contracts/treedx/graph/contracts/parse-context-dsl.d.ts +0 -3
  62. package/dist/treedx/client/support/contracts/treedx/graph/contracts/parse-context-dsl.js +0 -7
  63. package/dist/treedx/client/support/contracts/treedx/health/contracts/deep-health.d.ts +0 -5
  64. package/dist/treedx/client/support/contracts/treedx/health/contracts/deep-health.js +0 -7
  65. package/dist/treedx/client/support/contracts/treedx/health/contracts/health.d.ts +0 -3
  66. package/dist/treedx/client/support/contracts/treedx/health/contracts/health.js +0 -6
  67. package/dist/treedx/client/support/contracts/treedx/health/contracts/metrics.d.ts +0 -3
  68. package/dist/treedx/client/support/contracts/treedx/health/contracts/metrics.js +0 -7
  69. package/dist/treedx/client/support/contracts/treedx/health/contracts/prometheus-metrics.d.ts +0 -2
  70. package/dist/treedx/client/support/contracts/treedx/health/contracts/prometheus-metrics.js +0 -19
  71. package/dist/treedx/client/support/contracts/treedx/health/contracts/ready.d.ts +0 -3
  72. package/dist/treedx/client/support/contracts/treedx/health/contracts/ready.js +0 -7
  73. package/dist/treedx/client/support/contracts/treedx/health/contracts/status.d.ts +0 -3
  74. package/dist/treedx/client/support/contracts/treedx/health/contracts/status.js +0 -6
  75. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/commit.d.ts +0 -3
  76. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/commit.js +0 -7
  77. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/diff.d.ts +0 -3
  78. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/diff.js +0 -6
  79. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/fetch-remote.d.ts +0 -3
  80. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/fetch-remote.js +0 -7
  81. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/push.d.ts +0 -6
  82. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/push.js +0 -23
  83. package/dist/treedx/client/support/contracts/treedx/search/contracts/compact-search-index.d.ts +0 -3
  84. package/dist/treedx/client/support/contracts/treedx/search/contracts/compact-search-index.js +0 -8
  85. package/dist/treedx/client/support/contracts/treedx/search/contracts/search.d.ts +0 -3
  86. package/dist/treedx/client/support/contracts/treedx/search/contracts/search.js +0 -7
  87. package/dist/treedx/client/support/contracts/treedx/storage/contracts/backup-storage.d.ts +0 -3
  88. package/dist/treedx/client/support/contracts/treedx/storage/contracts/backup-storage.js +0 -8
  89. package/dist/treedx/client/support/contracts/treedx/storage/contracts/compact-storage.d.ts +0 -3
  90. package/dist/treedx/client/support/contracts/treedx/storage/contracts/compact-storage.js +0 -8
  91. package/dist/treedx/client/support/contracts/treedx/transport/contracts/assert-binary-ok.d.ts +0 -2
  92. package/dist/treedx/client/support/contracts/treedx/transport/contracts/assert-binary-ok.js +0 -15
  93. package/dist/treedx/client/support/contracts/treedx/transport/contracts/fetch-with-timeout.d.ts +0 -2
  94. package/dist/treedx/client/support/contracts/treedx/transport/contracts/fetch-with-timeout.js +0 -38
  95. package/dist/treedx/client/support/contracts/treedx/transport/contracts/headers.d.ts +0 -2
  96. package/dist/treedx/client/support/contracts/treedx/transport/contracts/headers.js +0 -15
  97. package/dist/treedx/client/support/contracts/treedx/transport/contracts/parse-json-response.d.ts +0 -2
  98. package/dist/treedx/client/support/contracts/treedx/transport/contracts/parse-json-response.js +0 -15
  99. package/dist/treedx/client/support/contracts/treedx/transport/contracts/query.d.ts +0 -2
  100. package/dist/treedx/client/support/contracts/treedx/transport/contracts/query.js +0 -14
  101. package/dist/treedx/client/support/contracts/treedx/transport/contracts/repo-id.d.ts +0 -2
  102. package/dist/treedx/client/support/contracts/treedx/transport/contracts/repo-id.js +0 -14
  103. package/dist/treedx/client/support/contracts/treedx/transport/contracts/request.d.ts +0 -6
  104. package/dist/treedx/client/support/contracts/treedx/transport/contracts/request.js +0 -41
  105. package/dist/treedx/client/support/contracts/treedx/transport/contracts/throw-api-error.d.ts +0 -2
  106. package/dist/treedx/client/support/contracts/treedx/transport/contracts/throw-api-error.js +0 -14
  107. package/dist/treedx/client/support/contracts/treedx/workspaces/contracts/exec.d.ts +0 -3
  108. package/dist/treedx/client/support/contracts/treedx/workspaces/contracts/exec.js +0 -7
  109. package/dist/treedx/client/support/creation/apply-changeset.d.ts +0 -3
  110. package/dist/treedx/client/support/creation/apply-changeset.js +0 -10
  111. package/dist/treedx/client/support/creation/apply-storage-migration.d.ts +0 -3
  112. package/dist/treedx/client/support/creation/apply-storage-migration.js +0 -7
  113. package/dist/treedx/client/support/creation/create-migration.d.ts +0 -6
  114. package/dist/treedx/client/support/creation/create-migration.js +0 -7
  115. package/dist/treedx/client/support/creation/export-artifact.d.ts +0 -3
  116. package/dist/treedx/client/support/creation/export-artifact.js +0 -8
  117. package/dist/treedx/client/support/creation/plan-storage-migration.d.ts +0 -3
  118. package/dist/treedx/client/support/creation/plan-storage-migration.js +0 -7
  119. package/dist/treedx/client/support/creation/request-binary.d.ts +0 -6
  120. package/dist/treedx/client/support/creation/request-binary.js +0 -42
  121. package/dist/treedx/client/support/creation/write-file.d.ts +0 -3
  122. package/dist/treedx/client/support/creation/write-file.js +0 -10
  123. package/dist/treedx/client/support/creation/write-files.d.ts +0 -3
  124. package/dist/treedx/client/support/creation/write-files.js +0 -12
  125. package/dist/treedx/client/support/queries/treedx/artifacts/queries/get-artifact.d.ts +0 -3
  126. package/dist/treedx/client/support/queries/treedx/artifacts/queries/get-artifact.js +0 -7
  127. package/dist/treedx/client/support/queries/treedx/artifacts/queries/list-artifacts.d.ts +0 -3
  128. package/dist/treedx/client/support/queries/treedx/artifacts/queries/list-artifacts.js +0 -7
  129. package/dist/treedx/client/support/queries/treedx/authorization/queries/effective-scope.d.ts +0 -3
  130. package/dist/treedx/client/support/queries/treedx/authorization/queries/effective-scope.js +0 -9
  131. package/dist/treedx/client/support/queries/treedx/authorization/queries/list-capabilities.d.ts +0 -4
  132. package/dist/treedx/client/support/queries/treedx/authorization/queries/list-capabilities.js +0 -6
  133. package/dist/treedx/client/support/queries/treedx/federation/queries/get-placement.d.ts +0 -3
  134. package/dist/treedx/client/support/queries/treedx/federation/queries/get-placement.js +0 -7
  135. package/dist/treedx/client/support/queries/treedx/graph/queries/get-node.d.ts +0 -3
  136. package/dist/treedx/client/support/queries/treedx/graph/queries/get-node.js +0 -7
  137. package/dist/treedx/client/support/queries/treedx/graph/queries/get-related.d.ts +0 -3
  138. package/dist/treedx/client/support/queries/treedx/graph/queries/get-related.js +0 -7
  139. package/dist/treedx/client/support/queries/treedx/graph/queries/list-nodes.d.ts +0 -3
  140. package/dist/treedx/client/support/queries/treedx/graph/queries/list-nodes.js +0 -7
  141. package/dist/treedx/client/support/queries/treedx/repositories/queries/list-tree.d.ts +0 -3
  142. package/dist/treedx/client/support/queries/treedx/repositories/queries/list-tree.js +0 -10
  143. package/dist/treedx/client/support/queries/treedx/repositories/queries/read-file.d.ts +0 -3
  144. package/dist/treedx/client/support/queries/treedx/repositories/queries/read-file.js +0 -9
  145. package/dist/treedx/client/support/queries/treedx/search/queries/get-search-index-status.d.ts +0 -3
  146. package/dist/treedx/client/support/queries/treedx/search/queries/get-search-index-status.js +0 -7
  147. package/dist/treedx/client/support/queries/treedx/storage/queries/get-migration.d.ts +0 -6
  148. package/dist/treedx/client/support/queries/treedx/storage/queries/get-migration.js +0 -7
  149. package/dist/treedx/client/support/queries/treedx/storage/queries/get-snapshot.d.ts +0 -6
  150. package/dist/treedx/client/support/queries/treedx/storage/queries/get-snapshot.js +0 -7
  151. package/dist/treedx/client/support/queries/treedx/storage/queries/list-storage-migrations.d.ts +0 -6
  152. package/dist/treedx/client/support/queries/treedx/storage/queries/list-storage-migrations.js +0 -6
  153. package/dist/treedx/client/support/queries/treedx/transport/queries/list-audit-events.d.ts +0 -15
  154. package/dist/treedx/client/support/queries/treedx/transport/queries/list-audit-events.js +0 -6
  155. package/dist/treedx/client/support/queries/treedx/transport/queries/list-repositories.d.ts +0 -3
  156. package/dist/treedx/client/support/queries/treedx/transport/queries/list-repositories.js +0 -7
  157. package/dist/treedx/client/support/retirement/cleanup-artifacts.d.ts +0 -3
  158. package/dist/treedx/client/support/retirement/cleanup-artifacts.js +0 -7
  159. package/dist/treedx/client/support/retirement/delete-artifact.d.ts +0 -3
  160. package/dist/treedx/client/support/retirement/delete-artifact.js +0 -7
  161. package/dist/treedx/client/support/retirement/delete-file.d.ts +0 -3
  162. package/dist/treedx/client/support/retirement/delete-file.js +0 -10
  163. package/dist/treedx/client/support/retirement/rollback-storage-migration.d.ts +0 -3
  164. package/dist/treedx/client/support/retirement/rollback-storage-migration.js +0 -7
  165. package/dist/treedx/client/support/updates/patch-file.d.ts +0 -3
  166. package/dist/treedx/client/support/updates/patch-file.js +0 -10
  167. package/dist/treedx/client/support/updates/refresh-search-index.d.ts +0 -3
  168. package/dist/treedx/client/support/updates/refresh-search-index.js +0 -8
  169. package/dist/treedx/client/treedx/blobs/contracts/download-blob.d.ts +0 -3
  170. package/dist/treedx/client/treedx/blobs/contracts/download-blob.js +0 -6
  171. package/dist/treedx/client/treedx/blobs/creation/create-blob-upload.d.ts +0 -3
  172. package/dist/treedx/client/treedx/blobs/creation/create-blob-upload.js +0 -8
  173. package/dist/treedx/client/treedx/blobs/creation/request-blob-download.d.ts +0 -3
  174. package/dist/treedx/client/treedx/blobs/creation/request-blob-download.js +0 -27
  175. package/dist/treedx/client/treedx/blobs/creation/request-blob-upload.d.ts +0 -3
  176. package/dist/treedx/client/treedx/blobs/creation/request-blob-upload.js +0 -41
  177. package/dist/treedx/client/treedx/blobs/creation/upload-blob-part.d.ts +0 -3
  178. package/dist/treedx/client/treedx/blobs/creation/upload-blob-part.js +0 -27
  179. package/dist/treedx/client/treedx/blobs/creation/upload-blob.d.ts +0 -3
  180. package/dist/treedx/client/treedx/blobs/creation/upload-blob.js +0 -6
  181. package/dist/treedx/client/treedx/blobs/creation/write-blob.d.ts +0 -3
  182. package/dist/treedx/client/treedx/blobs/creation/write-blob.js +0 -8
  183. package/dist/treedx/client/treedx/blobs/lifecycle/complete-blob-upload.d.ts +0 -3
  184. package/dist/treedx/client/treedx/blobs/lifecycle/complete-blob-upload.js +0 -8
  185. package/dist/treedx/client/treedx/blobs/queries/read-blob.d.ts +0 -3
  186. package/dist/treedx/client/treedx/blobs/queries/read-blob.js +0 -10
  187. package/dist/treedx/client/treedx/blobs/retirement/abort-blob-upload.d.ts +0 -3
  188. package/dist/treedx/client/treedx/blobs/retirement/abort-blob-upload.js +0 -7
  189. package/dist/treedx/client/treedx/blobs/retirement/delete-blob.d.ts +0 -3
  190. package/dist/treedx/client/treedx/blobs/retirement/delete-blob.js +0 -8
  191. package/dist/treedx/client/treedx/federation/contracts/federated-query.d.ts +0 -3
  192. package/dist/treedx/client/treedx/federation/contracts/federated-query.js +0 -7
  193. package/dist/treedx/client/treedx/federation/creation/plan-federated-query.d.ts +0 -3
  194. package/dist/treedx/client/treedx/federation/creation/plan-federated-query.js +0 -6
  195. package/dist/treedx/client/treedx/federation/queries/check-mirror-health.d.ts +0 -3
  196. package/dist/treedx/client/treedx/federation/queries/check-mirror-health.js +0 -7
  197. package/dist/treedx/client/treedx/federation/updates/promote-mirror.d.ts +0 -3
  198. package/dist/treedx/client/treedx/federation/updates/promote-mirror.js +0 -7
  199. package/dist/treedx/client/treedx/federation/updates/sync-mirror.d.ts +0 -3
  200. package/dist/treedx/client/treedx/federation/updates/sync-mirror.js +0 -7
  201. package/dist/treedx/client/treedx/graph/contracts/federated-context.d.ts +0 -3
  202. package/dist/treedx/client/treedx/graph/contracts/federated-context.js +0 -7
  203. package/dist/treedx/client/treedx/graph/contracts/federated-graph.d.ts +0 -3
  204. package/dist/treedx/client/treedx/graph/contracts/federated-graph.js +0 -7
  205. package/dist/treedx/client/treedx/graph/contracts/graph-search.d.ts +0 -3
  206. package/dist/treedx/client/treedx/graph/contracts/graph-search.js +0 -8
  207. package/dist/treedx/client/treedx/graph/queries/get-graph-node.d.ts +0 -3
  208. package/dist/treedx/client/treedx/graph/queries/get-graph-node.js +0 -10
  209. package/dist/treedx/client/treedx/graph/queries/get-graph-refresh-job.d.ts +0 -3
  210. package/dist/treedx/client/treedx/graph/queries/get-graph-refresh-job.js +0 -7
  211. package/dist/treedx/client/treedx/graph/queries/get-subgraph.d.ts +0 -3
  212. package/dist/treedx/client/treedx/graph/queries/get-subgraph.js +0 -7
  213. package/dist/treedx/client/treedx/graph/queries/query-graph.d.ts +0 -3
  214. package/dist/treedx/client/treedx/graph/queries/query-graph.js +0 -7
  215. package/dist/treedx/client/treedx/graph/queries/search-graph-entities.d.ts +0 -3
  216. package/dist/treedx/client/treedx/graph/queries/search-graph-entities.js +0 -6
  217. package/dist/treedx/client/treedx/graph/queries/search-graph-files.d.ts +0 -3
  218. package/dist/treedx/client/treedx/graph/queries/search-graph-files.js +0 -6
  219. package/dist/treedx/client/treedx/graph/queries/search-graph-sections.d.ts +0 -3
  220. package/dist/treedx/client/treedx/graph/queries/search-graph-sections.js +0 -6
  221. package/dist/treedx/client/treedx/graph/updates/refresh-graph.d.ts +0 -3
  222. package/dist/treedx/client/treedx/graph/updates/refresh-graph.js +0 -7
  223. package/dist/treedx/client/treedx/search/contracts/federated-search.d.ts +0 -3
  224. package/dist/treedx/client/treedx/search/contracts/federated-search.js +0 -7
  225. package/dist/treedx/client/treedx/workspaces/creation/create-workspace.d.ts +0 -3
  226. package/dist/treedx/client/treedx/workspaces/creation/create-workspace.js +0 -7
  227. package/dist/treedx/client/treedx/workspaces/retirement/abandon-workspace.d.ts +0 -3
  228. package/dist/treedx/client/treedx/workspaces/retirement/abandon-workspace.js +0 -12
  229. package/dist/treedx/client/treedx/workspaces/retirement/close-workspace.d.ts +0 -2
  230. package/dist/treedx/client/treedx/workspaces/retirement/close-workspace.js +0 -6
  231. package/dist/treedx/generated/openapi-types.d.ts +0 -3662
  232. package/dist/treedx/generated/openapi-types.js +0 -0
  233. package/dist/treedx/support/client.d.ts +0 -251
  234. package/dist/treedx/support/client.js +0 -252
  235. package/dist/treedx/support/errors.d.ts +0 -13
  236. package/dist/treedx/support/errors.js +0 -17
  237. package/dist/treedx/types/tree-dx-actor.d.ts +0 -209
  238. package/dist/treedx/types/tree-dx-actor.js +0 -8
  239. package/dist/treedx/types/tree-dx-artifact-list-response.d.ts +0 -13
  240. package/dist/treedx/types/tree-dx-artifact-list-response.js +0 -0
  241. package/dist/treedx/types/tree-dx-changeset.d.ts +0 -51
  242. package/dist/treedx/types/tree-dx-changeset.js +0 -6
  243. package/dist/treedx/types/tree-dx-context-request.d.ts +0 -245
  244. package/dist/treedx/types/tree-dx-context-request.js +0 -0
  245. package/dist/treedx/types/tree-dx-exec-result.d.ts +0 -249
  246. package/dist/treedx/types/tree-dx-exec-result.js +0 -0
  247. package/dist/treedx/types/tree-dx-list-tree-request.d.ts +0 -222
  248. package/dist/treedx/types/tree-dx-list-tree-request.js +0 -0
  249. package/dist/treedx/types/tree-dx-push-request.d.ts +0 -229
  250. package/dist/treedx/types/tree-dx-push-request.js +0 -0
@@ -0,0 +1,589 @@
1
+ import type { ControlPlaneOperationBinding, ControlPlaneOperationBody, ControlPlaneOperationOutput, ControlPlaneOperationPath, ControlPlaneOperationQuery } from '../operator-contracts/control-plane-operation.js';
2
+ import type { ControlPlaneClient, ControlPlaneInvocation, ControlPlaneOperationCallOptions, ControlPlaneResponseEnvelope } from '../entrypoints/clients/control-plane-client.js';
3
+ export declare const TREESEED_TREEDX_OPERATIONS: {
4
+ readonly library: ControlPlaneOperationBinding<{
5
+ projectId: string;
6
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
7
+ readonly bindLibrary: ControlPlaneOperationBinding<{
8
+ projectId: string;
9
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
10
+ readonly serviceContract: ControlPlaneOperationBinding<{
11
+ projectId: string;
12
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
13
+ readonly health: ControlPlaneOperationBinding<{
14
+ projectId: string;
15
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
16
+ readonly readiness: ControlPlaneOperationBinding<{
17
+ projectId: string;
18
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
19
+ readonly version: ControlPlaneOperationBinding<{
20
+ projectId: string;
21
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
22
+ readonly capabilities: ControlPlaneOperationBinding<{
23
+ projectId: string;
24
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
25
+ readonly effectiveScope: ControlPlaneOperationBinding<{
26
+ projectId: string;
27
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
28
+ readonly repositories: {
29
+ readonly list: ControlPlaneOperationBinding<{
30
+ projectId: string;
31
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
32
+ readonly create: ControlPlaneOperationBinding<{
33
+ projectId: string;
34
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
35
+ readonly show: ControlPlaneOperationBinding<{
36
+ projectId: string;
37
+ repoId: string;
38
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
39
+ readonly status: ControlPlaneOperationBinding<{
40
+ projectId: string;
41
+ repoId: string;
42
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
43
+ readonly refs: ControlPlaneOperationBinding<{
44
+ projectId: string;
45
+ repoId: string;
46
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
47
+ readonly sync: ControlPlaneOperationBinding<{
48
+ projectId: string;
49
+ repoId: string;
50
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
51
+ readonly push: ControlPlaneOperationBinding<{
52
+ projectId: string;
53
+ repoId: string;
54
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
55
+ readonly promoteRef: ControlPlaneOperationBinding<{
56
+ projectId: string;
57
+ repoId: string;
58
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
59
+ readonly retireRef: ControlPlaneOperationBinding<{
60
+ projectId: string;
61
+ repoId: string;
62
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
63
+ readonly readFiles: ControlPlaneOperationBinding<{
64
+ projectId: string;
65
+ repoId: string;
66
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
67
+ readonly listPaths: ControlPlaneOperationBinding<{
68
+ projectId: string;
69
+ repoId: string;
70
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
71
+ readonly searchFiles: ControlPlaneOperationBinding<{
72
+ projectId: string;
73
+ repoId: string;
74
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
75
+ readonly query: ControlPlaneOperationBinding<{
76
+ projectId: string;
77
+ repoId: string;
78
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
79
+ };
80
+ readonly workspaces: {
81
+ readonly list: ControlPlaneOperationBinding<{
82
+ projectId: string;
83
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
84
+ readonly create: ControlPlaneOperationBinding<{
85
+ projectId: string;
86
+ repoId: string;
87
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
88
+ readonly show: ControlPlaneOperationBinding<{
89
+ projectId: string;
90
+ workspaceId: string;
91
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
92
+ readonly status: ControlPlaneOperationBinding<{
93
+ projectId: string;
94
+ workspaceId: string;
95
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
96
+ readonly diff: ControlPlaneOperationBinding<{
97
+ projectId: string;
98
+ workspaceId: string;
99
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
100
+ readonly tree: ControlPlaneOperationBinding<{
101
+ projectId: string;
102
+ workspaceId: string;
103
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
104
+ readonly close: ControlPlaneOperationBinding<{
105
+ projectId: string;
106
+ workspaceId: string;
107
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
108
+ readonly abandon: ControlPlaneOperationBinding<{
109
+ projectId: string;
110
+ workspaceId: string;
111
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
112
+ };
113
+ readonly files: {
114
+ readonly read: ControlPlaneOperationBinding<{
115
+ projectId: string;
116
+ workspaceId: string;
117
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
118
+ readonly write: ControlPlaneOperationBinding<{
119
+ projectId: string;
120
+ workspaceId: string;
121
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
122
+ readonly writeBatch: ControlPlaneOperationBinding<{
123
+ projectId: string;
124
+ workspaceId: string;
125
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
126
+ readonly patch: ControlPlaneOperationBinding<{
127
+ projectId: string;
128
+ workspaceId: string;
129
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
130
+ readonly remove: ControlPlaneOperationBinding<{
131
+ projectId: string;
132
+ workspaceId: string;
133
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
134
+ readonly search: ControlPlaneOperationBinding<{
135
+ projectId: string;
136
+ workspaceId: string;
137
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
138
+ readonly applyChangeset: ControlPlaneOperationBinding<{
139
+ projectId: string;
140
+ workspaceId: string;
141
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
142
+ readonly commit: ControlPlaneOperationBinding<{
143
+ projectId: string;
144
+ workspaceId: string;
145
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
146
+ };
147
+ readonly blobs: {
148
+ readonly read: ControlPlaneOperationBinding<{
149
+ projectId: string;
150
+ repoId: string;
151
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
152
+ readonly write: ControlPlaneOperationBinding<{
153
+ projectId: string;
154
+ workspaceId: string;
155
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
156
+ readonly remove: ControlPlaneOperationBinding<{
157
+ projectId: string;
158
+ workspaceId: string;
159
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
160
+ readonly download: ControlPlaneOperationBinding<{
161
+ projectId: string;
162
+ workspaceId: string;
163
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
164
+ readonly upload: ControlPlaneOperationBinding<{
165
+ projectId: string;
166
+ workspaceId: string;
167
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
168
+ readonly createUpload: ControlPlaneOperationBinding<{
169
+ projectId: string;
170
+ workspaceId: string;
171
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
172
+ readonly uploadPart: ControlPlaneOperationBinding<{
173
+ projectId: string;
174
+ workspaceId: string;
175
+ uploadId: string;
176
+ partNumber: string;
177
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
178
+ readonly completeUpload: ControlPlaneOperationBinding<{
179
+ projectId: string;
180
+ workspaceId: string;
181
+ uploadId: string;
182
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
183
+ readonly abortUpload: ControlPlaneOperationBinding<{
184
+ projectId: string;
185
+ workspaceId: string;
186
+ uploadId: string;
187
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
188
+ };
189
+ readonly graph: {
190
+ readonly refresh: ControlPlaneOperationBinding<{
191
+ projectId: string;
192
+ repoId: string;
193
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
194
+ readonly refreshJob: ControlPlaneOperationBinding<{
195
+ projectId: string;
196
+ repoId: string;
197
+ jobId: string;
198
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
199
+ readonly query: ControlPlaneOperationBinding<{
200
+ projectId: string;
201
+ repoId: string;
202
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
203
+ readonly node: ControlPlaneOperationBinding<{
204
+ projectId: string;
205
+ repoId: string;
206
+ nodeId: string;
207
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
208
+ readonly related: ControlPlaneOperationBinding<{
209
+ projectId: string;
210
+ repoId: string;
211
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
212
+ readonly subgraph: ControlPlaneOperationBinding<{
213
+ projectId: string;
214
+ repoId: string;
215
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
216
+ readonly searchFiles: ControlPlaneOperationBinding<{
217
+ projectId: string;
218
+ repoId: string;
219
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
220
+ readonly searchSections: ControlPlaneOperationBinding<{
221
+ projectId: string;
222
+ repoId: string;
223
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
224
+ readonly searchEntities: ControlPlaneOperationBinding<{
225
+ projectId: string;
226
+ repoId: string;
227
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
228
+ };
229
+ readonly context: {
230
+ readonly build: ControlPlaneOperationBinding<{
231
+ projectId: string;
232
+ repoId: string;
233
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
234
+ readonly parse: ControlPlaneOperationBinding<{
235
+ projectId: string;
236
+ repoId: string;
237
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
238
+ };
239
+ readonly federated: {
240
+ readonly search: ControlPlaneOperationBinding<{
241
+ projectId: string;
242
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
243
+ readonly query: ControlPlaneOperationBinding<{
244
+ projectId: string;
245
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
246
+ readonly context: ControlPlaneOperationBinding<{
247
+ projectId: string;
248
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
249
+ readonly graph: ControlPlaneOperationBinding<{
250
+ projectId: string;
251
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
252
+ };
253
+ readonly snapshots: {
254
+ readonly build: ControlPlaneOperationBinding<{
255
+ projectId: string;
256
+ repoId: string;
257
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
258
+ readonly show: ControlPlaneOperationBinding<{
259
+ projectId: string;
260
+ repoId: string;
261
+ snapshotId: string;
262
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
263
+ };
264
+ readonly artifacts: {
265
+ readonly export: ControlPlaneOperationBinding<{
266
+ projectId: string;
267
+ repoId: string;
268
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
269
+ readonly list: ControlPlaneOperationBinding<{
270
+ projectId: string;
271
+ repoId: string;
272
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
273
+ readonly show: ControlPlaneOperationBinding<{
274
+ projectId: string;
275
+ artifactId: string;
276
+ repoId: string;
277
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
278
+ readonly remove: ControlPlaneOperationBinding<{
279
+ projectId: string;
280
+ artifactId: string;
281
+ repoId: string;
282
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
283
+ };
284
+ readonly searchIndex: {
285
+ readonly status: ControlPlaneOperationBinding<{
286
+ projectId: string;
287
+ repoId: string;
288
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
289
+ };
290
+ };
291
+ type TreeDxProxyMethod<TOperation extends ControlPlaneOperationBinding<any, any, any, any>> = (input: ControlPlaneInvocation<ControlPlaneOperationPath<TOperation>, ControlPlaneOperationQuery<TOperation>, ControlPlaneOperationBody<TOperation>>, options?: ControlPlaneOperationCallOptions) => Promise<ControlPlaneResponseEnvelope<ControlPlaneOperationOutput<TOperation>>>;
292
+ export type TreeDxProxyGroups<TTree> = {
293
+ readonly [TKey in keyof TTree]: TTree[TKey] extends ControlPlaneOperationBinding<any, any, any, any> ? TreeDxProxyMethod<TTree[TKey]> : TreeDxProxyGroups<TTree[TKey]>;
294
+ };
295
+ export declare class TreeSeedTreeDxClient {
296
+ readonly controlPlane: ControlPlaneClient;
297
+ readonly operations: {
298
+ readonly library: ControlPlaneOperationBinding<{
299
+ projectId: string;
300
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
301
+ readonly bindLibrary: ControlPlaneOperationBinding<{
302
+ projectId: string;
303
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
304
+ readonly serviceContract: ControlPlaneOperationBinding<{
305
+ projectId: string;
306
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
307
+ readonly health: ControlPlaneOperationBinding<{
308
+ projectId: string;
309
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
310
+ readonly readiness: ControlPlaneOperationBinding<{
311
+ projectId: string;
312
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
313
+ readonly version: ControlPlaneOperationBinding<{
314
+ projectId: string;
315
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
316
+ readonly capabilities: ControlPlaneOperationBinding<{
317
+ projectId: string;
318
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
319
+ readonly effectiveScope: ControlPlaneOperationBinding<{
320
+ projectId: string;
321
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
322
+ readonly repositories: {
323
+ readonly list: ControlPlaneOperationBinding<{
324
+ projectId: string;
325
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
326
+ readonly create: ControlPlaneOperationBinding<{
327
+ projectId: string;
328
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
329
+ readonly show: ControlPlaneOperationBinding<{
330
+ projectId: string;
331
+ repoId: string;
332
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
333
+ readonly status: ControlPlaneOperationBinding<{
334
+ projectId: string;
335
+ repoId: string;
336
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
337
+ readonly refs: ControlPlaneOperationBinding<{
338
+ projectId: string;
339
+ repoId: string;
340
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
341
+ readonly sync: ControlPlaneOperationBinding<{
342
+ projectId: string;
343
+ repoId: string;
344
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
345
+ readonly push: ControlPlaneOperationBinding<{
346
+ projectId: string;
347
+ repoId: string;
348
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
349
+ readonly promoteRef: ControlPlaneOperationBinding<{
350
+ projectId: string;
351
+ repoId: string;
352
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
353
+ readonly retireRef: ControlPlaneOperationBinding<{
354
+ projectId: string;
355
+ repoId: string;
356
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
357
+ readonly readFiles: ControlPlaneOperationBinding<{
358
+ projectId: string;
359
+ repoId: string;
360
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
361
+ readonly listPaths: ControlPlaneOperationBinding<{
362
+ projectId: string;
363
+ repoId: string;
364
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
365
+ readonly searchFiles: ControlPlaneOperationBinding<{
366
+ projectId: string;
367
+ repoId: string;
368
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
369
+ readonly query: ControlPlaneOperationBinding<{
370
+ projectId: string;
371
+ repoId: string;
372
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
373
+ };
374
+ readonly workspaces: {
375
+ readonly list: ControlPlaneOperationBinding<{
376
+ projectId: string;
377
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
378
+ readonly create: ControlPlaneOperationBinding<{
379
+ projectId: string;
380
+ repoId: string;
381
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
382
+ readonly show: ControlPlaneOperationBinding<{
383
+ projectId: string;
384
+ workspaceId: string;
385
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
386
+ readonly status: ControlPlaneOperationBinding<{
387
+ projectId: string;
388
+ workspaceId: string;
389
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
390
+ readonly diff: ControlPlaneOperationBinding<{
391
+ projectId: string;
392
+ workspaceId: string;
393
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
394
+ readonly tree: ControlPlaneOperationBinding<{
395
+ projectId: string;
396
+ workspaceId: string;
397
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
398
+ readonly close: ControlPlaneOperationBinding<{
399
+ projectId: string;
400
+ workspaceId: string;
401
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
402
+ readonly abandon: ControlPlaneOperationBinding<{
403
+ projectId: string;
404
+ workspaceId: string;
405
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
406
+ };
407
+ readonly files: {
408
+ readonly read: ControlPlaneOperationBinding<{
409
+ projectId: string;
410
+ workspaceId: string;
411
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
412
+ readonly write: ControlPlaneOperationBinding<{
413
+ projectId: string;
414
+ workspaceId: string;
415
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
416
+ readonly writeBatch: ControlPlaneOperationBinding<{
417
+ projectId: string;
418
+ workspaceId: string;
419
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
420
+ readonly patch: ControlPlaneOperationBinding<{
421
+ projectId: string;
422
+ workspaceId: string;
423
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
424
+ readonly remove: ControlPlaneOperationBinding<{
425
+ projectId: string;
426
+ workspaceId: string;
427
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
428
+ readonly search: ControlPlaneOperationBinding<{
429
+ projectId: string;
430
+ workspaceId: string;
431
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
432
+ readonly applyChangeset: ControlPlaneOperationBinding<{
433
+ projectId: string;
434
+ workspaceId: string;
435
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
436
+ readonly commit: ControlPlaneOperationBinding<{
437
+ projectId: string;
438
+ workspaceId: string;
439
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
440
+ };
441
+ readonly blobs: {
442
+ readonly read: ControlPlaneOperationBinding<{
443
+ projectId: string;
444
+ repoId: string;
445
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
446
+ readonly write: ControlPlaneOperationBinding<{
447
+ projectId: string;
448
+ workspaceId: string;
449
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
450
+ readonly remove: ControlPlaneOperationBinding<{
451
+ projectId: string;
452
+ workspaceId: string;
453
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
454
+ readonly download: ControlPlaneOperationBinding<{
455
+ projectId: string;
456
+ workspaceId: string;
457
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
458
+ readonly upload: ControlPlaneOperationBinding<{
459
+ projectId: string;
460
+ workspaceId: string;
461
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
462
+ readonly createUpload: ControlPlaneOperationBinding<{
463
+ projectId: string;
464
+ workspaceId: string;
465
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
466
+ readonly uploadPart: ControlPlaneOperationBinding<{
467
+ projectId: string;
468
+ workspaceId: string;
469
+ uploadId: string;
470
+ partNumber: string;
471
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
472
+ readonly completeUpload: ControlPlaneOperationBinding<{
473
+ projectId: string;
474
+ workspaceId: string;
475
+ uploadId: string;
476
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
477
+ readonly abortUpload: ControlPlaneOperationBinding<{
478
+ projectId: string;
479
+ workspaceId: string;
480
+ uploadId: string;
481
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
482
+ };
483
+ readonly graph: {
484
+ readonly refresh: ControlPlaneOperationBinding<{
485
+ projectId: string;
486
+ repoId: string;
487
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
488
+ readonly refreshJob: ControlPlaneOperationBinding<{
489
+ projectId: string;
490
+ repoId: string;
491
+ jobId: string;
492
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
493
+ readonly query: ControlPlaneOperationBinding<{
494
+ projectId: string;
495
+ repoId: string;
496
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
497
+ readonly node: ControlPlaneOperationBinding<{
498
+ projectId: string;
499
+ repoId: string;
500
+ nodeId: string;
501
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
502
+ readonly related: ControlPlaneOperationBinding<{
503
+ projectId: string;
504
+ repoId: string;
505
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
506
+ readonly subgraph: ControlPlaneOperationBinding<{
507
+ projectId: string;
508
+ repoId: string;
509
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
510
+ readonly searchFiles: ControlPlaneOperationBinding<{
511
+ projectId: string;
512
+ repoId: string;
513
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
514
+ readonly searchSections: ControlPlaneOperationBinding<{
515
+ projectId: string;
516
+ repoId: string;
517
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
518
+ readonly searchEntities: ControlPlaneOperationBinding<{
519
+ projectId: string;
520
+ repoId: string;
521
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
522
+ };
523
+ readonly context: {
524
+ readonly build: ControlPlaneOperationBinding<{
525
+ projectId: string;
526
+ repoId: string;
527
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
528
+ readonly parse: ControlPlaneOperationBinding<{
529
+ projectId: string;
530
+ repoId: string;
531
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
532
+ };
533
+ readonly federated: {
534
+ readonly search: ControlPlaneOperationBinding<{
535
+ projectId: string;
536
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
537
+ readonly query: ControlPlaneOperationBinding<{
538
+ projectId: string;
539
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
540
+ readonly context: ControlPlaneOperationBinding<{
541
+ projectId: string;
542
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
543
+ readonly graph: ControlPlaneOperationBinding<{
544
+ projectId: string;
545
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
546
+ };
547
+ readonly snapshots: {
548
+ readonly build: ControlPlaneOperationBinding<{
549
+ projectId: string;
550
+ repoId: string;
551
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
552
+ readonly show: ControlPlaneOperationBinding<{
553
+ projectId: string;
554
+ repoId: string;
555
+ snapshotId: string;
556
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
557
+ };
558
+ readonly artifacts: {
559
+ readonly export: ControlPlaneOperationBinding<{
560
+ projectId: string;
561
+ repoId: string;
562
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
563
+ readonly list: ControlPlaneOperationBinding<{
564
+ projectId: string;
565
+ repoId: string;
566
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
567
+ readonly show: ControlPlaneOperationBinding<{
568
+ projectId: string;
569
+ artifactId: string;
570
+ repoId: string;
571
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
572
+ readonly remove: ControlPlaneOperationBinding<{
573
+ projectId: string;
574
+ artifactId: string;
575
+ repoId: string;
576
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
577
+ };
578
+ readonly searchIndex: {
579
+ readonly status: ControlPlaneOperationBinding<{
580
+ projectId: string;
581
+ repoId: string;
582
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
583
+ };
584
+ };
585
+ readonly proxy: TreeDxProxyGroups<typeof TREESEED_TREEDX_OPERATIONS>;
586
+ constructor(controlPlane: ControlPlaneClient);
587
+ invoke<TOperation extends ControlPlaneOperationBinding<any, any, any, any>>(operation: TOperation, input: ControlPlaneInvocation<ControlPlaneOperationPath<TOperation>, ControlPlaneOperationQuery<TOperation>, ControlPlaneOperationBody<TOperation>>, options?: ControlPlaneOperationCallOptions): Promise<ControlPlaneResponseEnvelope<ControlPlaneOperationOutput<TOperation>>>;
588
+ }
589
+ export {};
@@ -0,0 +1,39 @@
1
+ import { CONTROL_PLANE_OPERATIONS } from "../operator-contracts/control-plane-operations.js";
2
+ const TREESEED_TREEDX_OPERATIONS = CONTROL_PLANE_OPERATIONS.treedx;
3
+ function flattenBindings(value, output = /* @__PURE__ */ new Set()) {
4
+ if (value && typeof value === "object" && "descriptor" in value && "schema" in value) {
5
+ output.add(value);
6
+ } else if (value && typeof value === "object") {
7
+ for (const child of Object.values(value)) flattenBindings(child, output);
8
+ }
9
+ return output;
10
+ }
11
+ const TREESEED_TREEDX_OPERATION_BINDINGS = flattenBindings(TREESEED_TREEDX_OPERATIONS);
12
+ function bindProxyGroups(controlPlane, tree) {
13
+ return Object.fromEntries(Object.entries(tree).map(([key, value]) => {
14
+ if (value && typeof value === "object" && "descriptor" in value && "schema" in value) {
15
+ const operation = value;
16
+ return [key, (input, options) => controlPlane.invoke(operation, input, options)];
17
+ }
18
+ return [key, bindProxyGroups(controlPlane, value)];
19
+ }));
20
+ }
21
+ class TreeSeedTreeDxClient {
22
+ constructor(controlPlane) {
23
+ this.controlPlane = controlPlane;
24
+ this.proxy = bindProxyGroups(controlPlane, TREESEED_TREEDX_OPERATIONS);
25
+ }
26
+ controlPlane;
27
+ operations = TREESEED_TREEDX_OPERATIONS;
28
+ proxy;
29
+ async invoke(operation, input, options = {}) {
30
+ if (!TREESEED_TREEDX_OPERATION_BINDINGS.has(operation)) {
31
+ throw new Error(`Operation ${operation.descriptor.operationId} is not part of the TreeSeed TreeDX proxy catalog.`);
32
+ }
33
+ return this.controlPlane.invoke(operation, input, options);
34
+ }
35
+ }
36
+ export {
37
+ TREESEED_TREEDX_OPERATIONS,
38
+ TreeSeedTreeDxClient
39
+ };
@@ -0,0 +1,32 @@
1
+ export declare const TREESEED_TREEDX_SERVICE_CONTRACT_SCHEMA: "treeseed.treedx-service-contract/v1";
2
+ export interface TreeDxAdoptionEvidence {
3
+ treedxSourceCommit: string;
4
+ treedxPackageArtifactDigest: `sha256:${string}`;
5
+ }
6
+ export declare const TREESEED_PRIVATE_TREEDX_OPERATION_IDS: Set<string>;
7
+ export declare function treeDxProxyOperationMapping(): {
8
+ treeseedOperationId: `${string}.${string}`;
9
+ treedxOperationId: string;
10
+ contractVersion: string;
11
+ contractDigest: `sha256:${string}`;
12
+ }[];
13
+ export declare function validateTreeDxProxyOperationMapping(): string[];
14
+ export declare function createTreeDxServiceContractReceipt(controlPlaneCatalogDigest: `sha256:${string}`, evidence: TreeDxAdoptionEvidence): Promise<{
15
+ readonly schema: "treeseed.treedx-service-contract/v1";
16
+ readonly treedxPackageVersion: "0.3.0-rc.3";
17
+ readonly treedxOpenapiVersion: "0.11.0";
18
+ readonly treedxOpenapiDigest: "sha256:52ed190300922c388b115981e60635c306c643d48a3308ef9f79975510ae1926";
19
+ readonly treedxOperationInventoryDigest: "sha256:bcfaa9233fcfe7fb49dd0807f08105b3e4056e07ffc8a5dd890e5ec27f975764";
20
+ readonly treedxGeneratedTypesDigest: "sha256:505c89e5a0778f79853d8ab652e1a5f8d1bb1fcf2c135571be4972fc3326166e";
21
+ readonly treedxSourceCommit: string;
22
+ readonly treedxPackageArtifactDigest: `sha256:${string}`;
23
+ readonly controlPlaneCatalogDigest: `sha256:${string}`;
24
+ readonly operationMapping: {
25
+ treeseedOperationId: `${string}.${string}`;
26
+ treedxOperationId: string;
27
+ contractVersion: string;
28
+ contractDigest: `sha256:${string}`;
29
+ }[];
30
+ readonly operationMappingDigest: `sha256:${string}`;
31
+ readonly compatibility: "breaking-prerelease";
32
+ }>;