hanzoai 2.2.9 → 2.2.11

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 (1236) hide show
  1. package/README.md +64 -15
  2. package/dist/api/admin-api.d.ts +16 -16
  3. package/dist/api/admin-api.js +274 -16
  4. package/dist/api/ads-api.js +21 -0
  5. package/dist/api/affiliates-api.js +30 -0
  6. package/dist/api/agent-api.js +12 -0
  7. package/dist/api/agents-api.js +96 -0
  8. package/dist/api/ai-api.d.ts +1409 -2449
  9. package/dist/api/ai-api.js +1650 -1623
  10. package/dist/api/allowance-api.d.ts +71 -0
  11. package/dist/api/allowance-api.js +122 -0
  12. package/dist/api/analytics-api.js +12 -0
  13. package/dist/api/appearance-api.js +6 -0
  14. package/dist/api/ask-api.js +6 -0
  15. package/dist/api/audio-api.d.ts +8 -8
  16. package/dist/api/audio-api.js +23 -8
  17. package/dist/api/audit-api.js +3 -0
  18. package/dist/api/authors-api.js +15 -0
  19. package/dist/api/authz-api.js +9 -0
  20. package/dist/api/auto-api.js +33 -0
  21. package/dist/api/automations-api.js +54 -0
  22. package/dist/api/avatar-api.js +6 -0
  23. package/dist/api/base-api.js +3 -0
  24. package/dist/api/benchmark-api.d.ts +182 -0
  25. package/dist/api/benchmark-api.js +242 -0
  26. package/dist/api/billing-api.d.ts +58 -0
  27. package/dist/api/billing-api.js +247 -0
  28. package/dist/api/blueprint-api.js +9 -0
  29. package/dist/api/books-api.js +75 -0
  30. package/dist/api/bot-api.js +27 -0
  31. package/dist/api/bots-api.js +9 -0
  32. package/dist/api/builds-api.js +3 -0
  33. package/dist/api/campaign-api.js +33 -0
  34. package/dist/api/captable-api.js +93 -0
  35. package/dist/api/cart-api.js +12 -0
  36. package/dist/api/catalog-api.js +24 -0
  37. package/dist/api/chains-api.js +6 -0
  38. package/dist/api/channels-api.js +21 -0
  39. package/dist/api/chat-api.d.ts +29 -0
  40. package/dist/api/chat-api.js +65 -0
  41. package/dist/api/cloud-api.js +15 -0
  42. package/dist/api/cloudflare-api.js +99 -0
  43. package/dist/api/clusters-api.js +18 -0
  44. package/dist/api/code-api.js +36 -0
  45. package/dist/api/coding-api.js +3 -0
  46. package/dist/api/commerce-api.js +369 -0
  47. package/dist/api/company-api.js +66 -0
  48. package/dist/api/compat-api.js +69 -0
  49. package/dist/api/completions-api.js +3 -0
  50. package/dist/api/compliance-api.d.ts +8 -8
  51. package/dist/api/compliance-api.js +59 -8
  52. package/dist/api/compute-api.js +21 -0
  53. package/dist/api/connectors-api.js +24 -0
  54. package/dist/api/content-api.js +18 -0
  55. package/dist/api/crawl-api.js +3 -0
  56. package/dist/api/crm-api.js +60 -0
  57. package/dist/api/csrf-api.js +3 -0
  58. package/dist/api/dataroom-api.js +51 -0
  59. package/dist/api/default-api.d.ts +29 -0
  60. package/dist/api/default-api.js +203 -0
  61. package/dist/api/deploy-api.js +63 -0
  62. package/dist/api/destinations-api.js +15 -0
  63. package/dist/api/dev-bridge-api.js +3 -0
  64. package/dist/api/dns-api.js +15 -0
  65. package/dist/api/docs-api.js +3 -0
  66. package/dist/api/documents-api.d.ts +21 -4
  67. package/dist/api/documents-api.js +21 -8
  68. package/dist/api/domain-api.js +21 -0
  69. package/dist/api/download-api.js +3 -0
  70. package/dist/api/edge-api.d.ts +71 -0
  71. package/dist/api/edge-api.js +122 -0
  72. package/dist/api/embed-api.js +3 -0
  73. package/dist/api/embeddings-api.js +3 -0
  74. package/dist/api/enablement-api.js +9 -0
  75. package/dist/api/engine-api.js +12 -0
  76. package/dist/api/entitlements-api.js +3 -0
  77. package/dist/api/environments-api.js +3 -0
  78. package/dist/api/errors-api.js +3 -0
  79. package/dist/api/esign-api.d.ts +12 -12
  80. package/dist/api/esign-api.js +51 -12
  81. package/dist/api/evals-api.js +48 -0
  82. package/dist/api/event-api.js +9 -0
  83. package/dist/api/exec-api.js +6 -0
  84. package/dist/api/experiments-api.js +21 -0
  85. package/dist/api/feedback-api.js +3 -0
  86. package/dist/api/files-api.js +3 -0
  87. package/dist/api/finance-api.js +24 -0
  88. package/dist/api/finetune-api.js +27 -0
  89. package/dist/api/flags-api.js +27 -0
  90. package/dist/api/fleet-api.js +18 -0
  91. package/dist/api/flow-api.js +24 -0
  92. package/dist/api/framework-api.js +57 -0
  93. package/dist/api/functions-api.js +33 -0
  94. package/dist/api/gateway-api.js +9 -0
  95. package/dist/api/git-api.js +120 -0
  96. package/dist/api/git-webhook-api.js +3 -0
  97. package/dist/api/gpus-api.js +6 -0
  98. package/dist/api/guide-api.js +57 -0
  99. package/dist/api/help-api.js +12 -0
  100. package/dist/api/iam-api.d.ts +435 -13
  101. package/dist/api/iam-api.js +1214 -17
  102. package/dist/api/images-api.js +3 -0
  103. package/dist/api/index-api.js +51 -0
  104. package/dist/api/indexers-api.js +3 -0
  105. package/dist/api/ingress-api.js +54 -0
  106. package/dist/api/insights-api.js +6 -0
  107. package/dist/api/install-patch-api.js +3 -0
  108. package/dist/api/instances-api.d.ts +1214 -0
  109. package/dist/api/instances-api.js +1855 -0
  110. package/dist/api/integrations-api.d.ts +30 -0
  111. package/dist/api/integrations-api.js +176 -0
  112. package/dist/api/k8s-api.js +15 -0
  113. package/dist/api/kb-api.js +27 -0
  114. package/dist/api/keys-api.js +9 -0
  115. package/dist/api/kms-api.js +21 -0
  116. package/dist/api/legal-api.js +33 -0
  117. package/dist/api/licensing-api.js +33 -0
  118. package/dist/api/links-api.js +33 -0
  119. package/dist/api/logs-api.js +9 -0
  120. package/dist/api/machines-api.js +24 -0
  121. package/dist/api/marketing-api.js +105 -0
  122. package/dist/api/marketplace-api.js +18 -0
  123. package/dist/api/mcp-api.js +9 -0
  124. package/dist/api/meet-api.js +9 -0
  125. package/dist/api/memory-api.js +21 -0
  126. package/dist/api/mesh-api.js +3 -0
  127. package/dist/api/messages-api.js +6 -0
  128. package/dist/api/metrics-api.js +12 -0
  129. package/dist/api/ml-api.js +21 -0
  130. package/dist/api/models-api.js +6 -0
  131. package/dist/api/mq-api.js +45 -0
  132. package/dist/api/networks-api.js +9 -0
  133. package/dist/api/notify-api.js +12 -0
  134. package/dist/api/o11y-api.d.ts +4 -4
  135. package/dist/api/o11y-api.js +1099 -4
  136. package/dist/api/oracles-api.js +3 -0
  137. package/dist/api/org-api.js +30 -0
  138. package/dist/api/orgs-api.js +9 -0
  139. package/dist/api/payments-api.js +6 -0
  140. package/dist/api/pipelines-api.js +3 -0
  141. package/dist/api/plans-api.js +60 -0
  142. package/dist/api/platform-api.js +147 -0
  143. package/dist/api/plugins-api.js +12 -0
  144. package/dist/api/prefs-api.js +6 -0
  145. package/dist/api/pricing-api.js +75 -0
  146. package/dist/api/projects-api.js +48 -0
  147. package/dist/api/prompts-api.js +18 -0
  148. package/dist/api/pubsub-api.js +54 -0
  149. package/dist/api/query-api.js +3 -0
  150. package/dist/api/query-multiple-api.js +3 -0
  151. package/dist/api/rag-api.js +15 -0
  152. package/dist/api/referrals-api.js +6 -0
  153. package/dist/api/registry-api.js +18 -0
  154. package/dist/api/releases-api.js +3 -0
  155. package/dist/api/replay-api.js +3 -0
  156. package/dist/api/rerank-api.js +3 -0
  157. package/dist/api/research-api.js +24 -0
  158. package/dist/api/responses-api.d.ts +4 -4
  159. package/dist/api/responses-api.js +7 -4
  160. package/dist/api/risk-api.js +93 -0
  161. package/dist/api/router-api.d.ts +6 -7
  162. package/dist/api/router-api.js +90 -0
  163. package/dist/api/rpc-api.js +3 -0
  164. package/dist/api/run-api.js +3 -0
  165. package/dist/api/runner-api.d.ts +4 -81
  166. package/dist/api/runner-api.js +7 -123
  167. package/dist/api/s3-api.d.ts +0 -171
  168. package/dist/api/s3-api.js +24 -244
  169. package/dist/api/sandboxes-api.js +57 -0
  170. package/dist/api/sbom-api.js +9 -0
  171. package/dist/api/scrape-api.js +3 -0
  172. package/dist/api/search-api.d.ts +24 -147
  173. package/dist/api/search-api.js +32 -203
  174. package/dist/api/security-api.js +21 -0
  175. package/dist/api/{sentry-api.d.ts → sentinel-api.d.ts} +282 -282
  176. package/dist/api/{sentry-api.js → sentinel-api.js} +384 -318
  177. package/dist/api/settings-api.js +6 -0
  178. package/dist/api/share-api.js +6 -0
  179. package/dist/api/sites-api.d.ts +461 -0
  180. package/dist/api/sites-api.js +657 -0
  181. package/dist/api/skills-api.js +12 -0
  182. package/dist/api/social-api.js +39 -0
  183. package/dist/api/store-api.js +102 -0
  184. package/dist/api/summary-api.js +3 -0
  185. package/dist/api/sync-api.js +18 -0
  186. package/dist/api/tags-api.js +3 -0
  187. package/dist/api/tasks-api.js +30 -0
  188. package/dist/api/taxonomy-api.js +15 -0
  189. package/dist/api/team-api.js +51 -0
  190. package/dist/api/tel-api.js +30 -0
  191. package/dist/api/templates-api.js +15 -0
  192. package/dist/api/todo-api.js +36 -0
  193. package/dist/api/tokens-api.js +3 -0
  194. package/dist/api/tools-api.js +24 -0
  195. package/dist/api/traces-api.js +12 -0
  196. package/dist/api/traffic-api.js +3 -0
  197. package/dist/api/translate-api.js +9 -0
  198. package/dist/api/upload-api.js +3 -0
  199. package/dist/api/usage-api.js +33 -0
  200. package/dist/api/validators-api.js +12 -0
  201. package/dist/api/vector-api.d.ts +0 -171
  202. package/dist/api/vector-api.js +6 -244
  203. package/dist/api/videos-api.d.ts +42 -8
  204. package/dist/api/videos-api.js +39 -16
  205. package/dist/api/wallets-api.js +24 -0
  206. package/dist/api/webhooks-api.js +24 -0
  207. package/dist/api/websearch-api.js +18 -0
  208. package/dist/api/wecom-bot-api.d.ts +42 -8
  209. package/dist/api/wecom-bot-api.js +36 -16
  210. package/dist/api/world-api.js +18 -0
  211. package/dist/api/x402-api.js +3 -0
  212. package/dist/api.d.ts +4 -11
  213. package/dist/api.js +4 -11
  214. package/dist/esm/api/admin-api.d.ts +16 -16
  215. package/dist/esm/api/admin-api.js +275 -17
  216. package/dist/esm/api/ads-api.js +22 -1
  217. package/dist/esm/api/affiliates-api.js +31 -1
  218. package/dist/esm/api/agent-api.js +13 -1
  219. package/dist/esm/api/agents-api.js +97 -1
  220. package/dist/esm/api/ai-api.d.ts +1409 -2449
  221. package/dist/esm/api/ai-api.js +1651 -1624
  222. package/dist/esm/api/allowance-api.d.ts +70 -0
  223. package/dist/esm/api/allowance-api.js +112 -0
  224. package/dist/esm/api/analytics-api.js +13 -1
  225. package/dist/esm/api/appearance-api.js +7 -1
  226. package/dist/esm/api/ask-api.js +7 -1
  227. package/dist/esm/api/audio-api.d.ts +8 -8
  228. package/dist/esm/api/audio-api.js +24 -9
  229. package/dist/esm/api/audit-api.js +4 -1
  230. package/dist/esm/api/authors-api.js +16 -1
  231. package/dist/esm/api/authz-api.js +10 -1
  232. package/dist/esm/api/auto-api.js +34 -1
  233. package/dist/esm/api/automations-api.js +55 -1
  234. package/dist/esm/api/avatar-api.js +7 -1
  235. package/dist/esm/api/base-api.js +4 -1
  236. package/dist/esm/api/benchmark-api.d.ts +182 -0
  237. package/dist/esm/api/benchmark-api.js +243 -1
  238. package/dist/esm/api/billing-api.d.ts +58 -0
  239. package/dist/esm/api/billing-api.js +248 -1
  240. package/dist/esm/api/blueprint-api.js +10 -1
  241. package/dist/esm/api/books-api.js +76 -1
  242. package/dist/esm/api/bot-api.js +28 -1
  243. package/dist/esm/api/bots-api.js +10 -1
  244. package/dist/esm/api/builds-api.js +4 -1
  245. package/dist/esm/api/campaign-api.js +34 -1
  246. package/dist/esm/api/captable-api.js +94 -1
  247. package/dist/esm/api/cart-api.js +13 -1
  248. package/dist/esm/api/catalog-api.js +25 -1
  249. package/dist/esm/api/chains-api.js +7 -1
  250. package/dist/esm/api/channels-api.js +22 -1
  251. package/dist/esm/api/chat-api.d.ts +29 -0
  252. package/dist/esm/api/chat-api.js +66 -1
  253. package/dist/esm/api/cloud-api.js +16 -1
  254. package/dist/esm/api/cloudflare-api.js +100 -1
  255. package/dist/esm/api/clusters-api.js +19 -1
  256. package/dist/esm/api/code-api.js +37 -1
  257. package/dist/esm/api/coding-api.js +4 -1
  258. package/dist/esm/api/commerce-api.js +370 -1
  259. package/dist/esm/api/company-api.js +67 -1
  260. package/dist/esm/api/compat-api.js +70 -1
  261. package/dist/esm/api/completions-api.js +4 -1
  262. package/dist/esm/api/compliance-api.d.ts +8 -8
  263. package/dist/esm/api/compliance-api.js +60 -9
  264. package/dist/esm/api/compute-api.js +22 -1
  265. package/dist/esm/api/connectors-api.js +25 -1
  266. package/dist/esm/api/content-api.js +19 -1
  267. package/dist/esm/api/crawl-api.js +4 -1
  268. package/dist/esm/api/crm-api.js +61 -1
  269. package/dist/esm/api/csrf-api.js +4 -1
  270. package/dist/esm/api/dataroom-api.js +52 -1
  271. package/dist/esm/api/default-api.d.ts +29 -0
  272. package/dist/esm/api/default-api.js +204 -1
  273. package/dist/esm/api/deploy-api.js +64 -1
  274. package/dist/esm/api/destinations-api.js +16 -1
  275. package/dist/esm/api/dev-bridge-api.js +4 -1
  276. package/dist/esm/api/dns-api.js +16 -1
  277. package/dist/esm/api/docs-api.js +4 -1
  278. package/dist/esm/api/documents-api.d.ts +21 -4
  279. package/dist/esm/api/documents-api.js +22 -9
  280. package/dist/esm/api/domain-api.js +22 -1
  281. package/dist/esm/api/download-api.js +4 -1
  282. package/dist/esm/api/edge-api.d.ts +70 -0
  283. package/dist/esm/api/edge-api.js +112 -0
  284. package/dist/esm/api/embed-api.js +4 -1
  285. package/dist/esm/api/embeddings-api.js +4 -1
  286. package/dist/esm/api/enablement-api.js +10 -1
  287. package/dist/esm/api/engine-api.js +13 -1
  288. package/dist/esm/api/entitlements-api.js +4 -1
  289. package/dist/esm/api/environments-api.js +4 -1
  290. package/dist/esm/api/errors-api.js +4 -1
  291. package/dist/esm/api/esign-api.d.ts +12 -12
  292. package/dist/esm/api/esign-api.js +52 -13
  293. package/dist/esm/api/evals-api.js +49 -1
  294. package/dist/esm/api/event-api.js +10 -1
  295. package/dist/esm/api/exec-api.js +7 -1
  296. package/dist/esm/api/experiments-api.js +22 -1
  297. package/dist/esm/api/feedback-api.js +4 -1
  298. package/dist/esm/api/files-api.js +4 -1
  299. package/dist/esm/api/finance-api.js +25 -1
  300. package/dist/esm/api/finetune-api.js +28 -1
  301. package/dist/esm/api/flags-api.js +28 -1
  302. package/dist/esm/api/fleet-api.js +19 -1
  303. package/dist/esm/api/flow-api.js +25 -1
  304. package/dist/esm/api/framework-api.js +58 -1
  305. package/dist/esm/api/functions-api.js +34 -1
  306. package/dist/esm/api/gateway-api.js +10 -1
  307. package/dist/esm/api/git-api.js +121 -1
  308. package/dist/esm/api/git-webhook-api.js +4 -1
  309. package/dist/esm/api/gpus-api.js +7 -1
  310. package/dist/esm/api/guide-api.js +58 -1
  311. package/dist/esm/api/help-api.js +13 -1
  312. package/dist/esm/api/iam-api.d.ts +435 -13
  313. package/dist/esm/api/iam-api.js +1215 -18
  314. package/dist/esm/api/images-api.js +4 -1
  315. package/dist/esm/api/index-api.js +52 -1
  316. package/dist/esm/api/indexers-api.js +4 -1
  317. package/dist/esm/api/ingress-api.js +55 -1
  318. package/dist/esm/api/insights-api.js +7 -1
  319. package/dist/esm/api/install-patch-api.js +4 -1
  320. package/dist/esm/api/instances-api.d.ts +1213 -0
  321. package/dist/esm/api/instances-api.js +1845 -0
  322. package/dist/esm/api/integrations-api.d.ts +30 -0
  323. package/dist/esm/api/integrations-api.js +177 -1
  324. package/dist/esm/api/k8s-api.js +16 -1
  325. package/dist/esm/api/kb-api.js +28 -1
  326. package/dist/esm/api/keys-api.js +10 -1
  327. package/dist/esm/api/kms-api.js +22 -1
  328. package/dist/esm/api/legal-api.js +34 -1
  329. package/dist/esm/api/licensing-api.js +34 -1
  330. package/dist/esm/api/links-api.js +34 -1
  331. package/dist/esm/api/logs-api.js +10 -1
  332. package/dist/esm/api/machines-api.js +25 -1
  333. package/dist/esm/api/marketing-api.js +106 -1
  334. package/dist/esm/api/marketplace-api.js +19 -1
  335. package/dist/esm/api/mcp-api.js +10 -1
  336. package/dist/esm/api/meet-api.js +10 -1
  337. package/dist/esm/api/memory-api.js +22 -1
  338. package/dist/esm/api/mesh-api.js +4 -1
  339. package/dist/esm/api/messages-api.js +7 -1
  340. package/dist/esm/api/metrics-api.js +13 -1
  341. package/dist/esm/api/ml-api.js +22 -1
  342. package/dist/esm/api/models-api.js +7 -1
  343. package/dist/esm/api/mq-api.js +46 -1
  344. package/dist/esm/api/networks-api.js +10 -1
  345. package/dist/esm/api/notify-api.js +13 -1
  346. package/dist/esm/api/o11y-api.d.ts +4 -4
  347. package/dist/esm/api/o11y-api.js +1100 -5
  348. package/dist/esm/api/oracles-api.js +4 -1
  349. package/dist/esm/api/org-api.js +31 -1
  350. package/dist/esm/api/orgs-api.js +10 -1
  351. package/dist/esm/api/payments-api.js +7 -1
  352. package/dist/esm/api/pipelines-api.js +4 -1
  353. package/dist/esm/api/plans-api.js +61 -1
  354. package/dist/esm/api/platform-api.js +148 -1
  355. package/dist/esm/api/plugins-api.js +13 -1
  356. package/dist/esm/api/prefs-api.js +7 -1
  357. package/dist/esm/api/pricing-api.js +76 -1
  358. package/dist/esm/api/projects-api.js +49 -1
  359. package/dist/esm/api/prompts-api.js +19 -1
  360. package/dist/esm/api/pubsub-api.js +55 -1
  361. package/dist/esm/api/query-api.js +4 -1
  362. package/dist/esm/api/query-multiple-api.js +4 -1
  363. package/dist/esm/api/rag-api.js +16 -1
  364. package/dist/esm/api/referrals-api.js +7 -1
  365. package/dist/esm/api/registry-api.js +19 -1
  366. package/dist/esm/api/releases-api.js +4 -1
  367. package/dist/esm/api/replay-api.js +4 -1
  368. package/dist/esm/api/rerank-api.js +4 -1
  369. package/dist/esm/api/research-api.js +25 -1
  370. package/dist/esm/api/responses-api.d.ts +4 -4
  371. package/dist/esm/api/responses-api.js +8 -5
  372. package/dist/esm/api/risk-api.js +94 -1
  373. package/dist/esm/api/router-api.d.ts +6 -7
  374. package/dist/esm/api/router-api.js +91 -1
  375. package/dist/esm/api/rpc-api.js +4 -1
  376. package/dist/esm/api/run-api.js +4 -1
  377. package/dist/esm/api/runner-api.d.ts +4 -81
  378. package/dist/esm/api/runner-api.js +8 -124
  379. package/dist/esm/api/s3-api.d.ts +0 -171
  380. package/dist/esm/api/s3-api.js +25 -245
  381. package/dist/esm/api/sandboxes-api.js +58 -1
  382. package/dist/esm/api/sbom-api.js +10 -1
  383. package/dist/esm/api/scrape-api.js +4 -1
  384. package/dist/esm/api/search-api.d.ts +24 -147
  385. package/dist/esm/api/search-api.js +33 -204
  386. package/dist/esm/api/security-api.js +22 -1
  387. package/dist/esm/api/{sentry-api.d.ts → sentinel-api.d.ts} +282 -282
  388. package/dist/esm/api/{sentry-api.js → sentinel-api.js} +380 -314
  389. package/dist/esm/api/settings-api.js +7 -1
  390. package/dist/esm/api/share-api.js +7 -1
  391. package/dist/esm/api/sites-api.d.ts +461 -0
  392. package/dist/esm/api/sites-api.js +658 -1
  393. package/dist/esm/api/skills-api.js +13 -1
  394. package/dist/esm/api/social-api.js +40 -1
  395. package/dist/esm/api/store-api.js +103 -1
  396. package/dist/esm/api/summary-api.js +4 -1
  397. package/dist/esm/api/sync-api.js +19 -1
  398. package/dist/esm/api/tags-api.js +4 -1
  399. package/dist/esm/api/tasks-api.js +31 -1
  400. package/dist/esm/api/taxonomy-api.js +16 -1
  401. package/dist/esm/api/team-api.js +52 -1
  402. package/dist/esm/api/tel-api.js +31 -1
  403. package/dist/esm/api/templates-api.js +16 -1
  404. package/dist/esm/api/todo-api.js +37 -1
  405. package/dist/esm/api/tokens-api.js +4 -1
  406. package/dist/esm/api/tools-api.js +25 -1
  407. package/dist/esm/api/traces-api.js +13 -1
  408. package/dist/esm/api/traffic-api.js +4 -1
  409. package/dist/esm/api/translate-api.js +10 -1
  410. package/dist/esm/api/upload-api.js +4 -1
  411. package/dist/esm/api/usage-api.js +34 -1
  412. package/dist/esm/api/validators-api.js +13 -1
  413. package/dist/esm/api/vector-api.d.ts +0 -171
  414. package/dist/esm/api/vector-api.js +7 -245
  415. package/dist/esm/api/videos-api.d.ts +42 -8
  416. package/dist/esm/api/videos-api.js +40 -17
  417. package/dist/esm/api/wallets-api.js +25 -1
  418. package/dist/esm/api/webhooks-api.js +25 -1
  419. package/dist/esm/api/websearch-api.js +19 -1
  420. package/dist/esm/api/wecom-bot-api.d.ts +42 -8
  421. package/dist/esm/api/wecom-bot-api.js +37 -17
  422. package/dist/esm/api/world-api.js +19 -1
  423. package/dist/esm/api/x402-api.js +4 -1
  424. package/dist/esm/api.d.ts +4 -11
  425. package/dist/esm/api.js +4 -11
  426. package/dist/{models/resource-metrics.d.ts → esm/models/allowance.d.ts} +17 -17
  427. package/dist/{models/service-port.d.ts → esm/models/backend-status.d.ts} +14 -14
  428. package/dist/esm/models/claim-row.d.ts +72 -0
  429. package/dist/esm/models/claims-out.d.ts +31 -0
  430. package/dist/esm/models/edge-state.d.ts +62 -0
  431. package/dist/esm/models/gitlab-project-view.d.ts +66 -0
  432. package/dist/esm/models/gitlab-projects-out.d.ts +31 -0
  433. package/dist/{models/remote-app.d.ts → esm/models/history-out.d.ts} +14 -19
  434. package/dist/{models/block.d.ts → esm/models/iam-account-body.d.ts} +10 -16
  435. package/dist/esm/models/{get-ai-chats200-response.d.ts → iam-assume-body.d.ts} +10 -3
  436. package/dist/esm/models/iam-create-organization-input.d.ts +12 -0
  437. package/dist/esm/models/iam-organization.d.ts +12 -0
  438. package/dist/esm/models/{activity.d.ts → iam-search-organizations-output.d.ts} +9 -10
  439. package/dist/esm/models/{session.d.ts → iam-set-avatar-input.d.ts} +11 -11
  440. package/dist/esm/models/iam-update-organization-input.d.ts +12 -0
  441. package/dist/esm/models/iam-webauthn-credential.d.ts +6 -0
  442. package/dist/esm/models/index.d.ts +21 -103
  443. package/dist/esm/models/index.js +21 -103
  444. package/dist/esm/models/integrity.d.ts +13 -7
  445. package/dist/esm/models/leader-row.d.ts +42 -0
  446. package/dist/esm/models/{vector-score.d.ts → match.d.ts} +13 -7
  447. package/dist/esm/models/{lb-view.d.ts → model-history.d.ts} +13 -30
  448. package/dist/esm/models/published-claim.d.ts +54 -0
  449. package/dist/esm/models/put-claims-in.d.ts +31 -0
  450. package/dist/esm/models/{env-variable.d.ts → put-claims-out.d.ts} +10 -10
  451. package/dist/esm/models/request.d.ts +60 -0
  452. package/dist/esm/models/response.d.ts +50 -0
  453. package/dist/esm/models/run-point.d.ts +48 -0
  454. package/dist/esm/models/runner-build-req.d.ts +0 -6
  455. package/dist/esm/models/runner-build-resp.d.ts +2 -2
  456. package/dist/esm/models/trail.d.ts +49 -0
  457. package/dist/{esm/models/resource-metrics.d.ts → models/allowance.d.ts} +17 -17
  458. package/dist/{esm/models/service-port.d.ts → models/backend-status.d.ts} +14 -14
  459. package/dist/models/claim-row.d.ts +72 -0
  460. package/dist/models/claims-out.d.ts +31 -0
  461. package/dist/models/edge-state.d.ts +62 -0
  462. package/dist/models/gitlab-project-view.d.ts +66 -0
  463. package/dist/models/gitlab-projects-out.d.ts +31 -0
  464. package/dist/{esm/models/remote-app.d.ts → models/history-out.d.ts} +14 -19
  465. package/dist/{esm/models/block.d.ts → models/iam-account-body.d.ts} +10 -16
  466. package/dist/{esm/models/get-ai-activities200-response.d.ts → models/iam-assume-body.d.ts} +10 -3
  467. package/dist/models/iam-create-organization-input.d.ts +12 -0
  468. package/dist/models/iam-organization.d.ts +12 -0
  469. package/dist/{esm/models/application-config-option.d.ts → models/iam-search-organizations-output.d.ts} +8 -7
  470. package/dist/models/{session.d.ts → iam-set-avatar-input.d.ts} +11 -11
  471. package/dist/models/iam-update-organization-input.d.ts +12 -0
  472. package/dist/models/iam-webauthn-credential.d.ts +6 -0
  473. package/dist/models/index.d.ts +21 -103
  474. package/dist/models/index.js +21 -103
  475. package/dist/models/integrity.d.ts +13 -7
  476. package/dist/models/leader-row.d.ts +42 -0
  477. package/dist/models/{vector-score.d.ts → match.d.ts} +13 -7
  478. package/dist/{esm/models/model-search-result.d.ts → models/model-history.d.ts} +14 -25
  479. package/dist/models/published-claim.d.ts +54 -0
  480. package/dist/models/put-claims-in.d.ts +31 -0
  481. package/dist/models/put-claims-out.d.ts +30 -0
  482. package/dist/models/request.d.ts +60 -0
  483. package/dist/models/response.d.ts +50 -0
  484. package/dist/models/run-point.d.ts +48 -0
  485. package/dist/models/runner-build-req.d.ts +0 -6
  486. package/dist/models/runner-build-resp.d.ts +2 -2
  487. package/dist/models/trail.d.ts +49 -0
  488. package/package.json +1 -1
  489. package/src/api/admin-api.ts +360 -16
  490. package/src/api/ads-api.ts +28 -0
  491. package/src/api/affiliates-api.ts +40 -0
  492. package/src/api/agent-api.ts +16 -0
  493. package/src/api/agents-api.ts +128 -0
  494. package/src/api/ai-api.ts +2430 -3224
  495. package/src/api/allowance-api.ts +128 -0
  496. package/src/api/analytics-api.ts +16 -0
  497. package/src/api/appearance-api.ts +8 -0
  498. package/src/api/ask-api.ts +8 -0
  499. package/src/api/audio-api.ts +28 -8
  500. package/src/api/audit-api.ts +4 -0
  501. package/src/api/authors-api.ts +20 -0
  502. package/src/api/authz-api.ts +12 -0
  503. package/src/api/auto-api.ts +44 -0
  504. package/src/api/automations-api.ts +72 -0
  505. package/src/api/avatar-api.ts +8 -0
  506. package/src/api/base-api.ts +4 -0
  507. package/src/api/benchmark-api.ts +362 -0
  508. package/src/api/billing-api.ts +304 -0
  509. package/src/api/blueprint-api.ts +12 -0
  510. package/src/api/books-api.ts +100 -0
  511. package/src/api/bot-api.ts +36 -0
  512. package/src/api/bots-api.ts +12 -0
  513. package/src/api/builds-api.ts +4 -0
  514. package/src/api/campaign-api.ts +44 -0
  515. package/src/api/captable-api.ts +124 -0
  516. package/src/api/cart-api.ts +16 -0
  517. package/src/api/catalog-api.ts +32 -0
  518. package/src/api/chains-api.ts +8 -0
  519. package/src/api/channels-api.ts +28 -0
  520. package/src/api/chat-api.ts +74 -0
  521. package/src/api/cloud-api.ts +20 -0
  522. package/src/api/cloudflare-api.ts +132 -0
  523. package/src/api/clusters-api.ts +24 -0
  524. package/src/api/code-api.ts +48 -0
  525. package/src/api/coding-api.ts +4 -0
  526. package/src/api/commerce-api.ts +492 -0
  527. package/src/api/company-api.ts +88 -0
  528. package/src/api/compat-api.ts +92 -0
  529. package/src/api/completions-api.ts +4 -0
  530. package/src/api/compliance-api.ts +76 -8
  531. package/src/api/compute-api.ts +28 -0
  532. package/src/api/connectors-api.ts +32 -0
  533. package/src/api/content-api.ts +24 -0
  534. package/src/api/crawl-api.ts +4 -0
  535. package/src/api/crm-api.ts +80 -0
  536. package/src/api/csrf-api.ts +4 -0
  537. package/src/api/dataroom-api.ts +68 -0
  538. package/src/api/default-api.ts +258 -0
  539. package/src/api/deploy-api.ts +84 -0
  540. package/src/api/destinations-api.ts +20 -0
  541. package/src/api/dev-bridge-api.ts +4 -0
  542. package/src/api/dns-api.ts +20 -0
  543. package/src/api/docs-api.ts +4 -0
  544. package/src/api/documents-api.ts +37 -8
  545. package/src/api/domain-api.ts +28 -0
  546. package/src/api/download-api.ts +4 -0
  547. package/src/api/edge-api.ts +128 -0
  548. package/src/api/embed-api.ts +4 -0
  549. package/src/api/embeddings-api.ts +4 -0
  550. package/src/api/enablement-api.ts +12 -0
  551. package/src/api/engine-api.ts +16 -0
  552. package/src/api/entitlements-api.ts +4 -0
  553. package/src/api/environments-api.ts +4 -0
  554. package/src/api/errors-api.ts +4 -0
  555. package/src/api/esign-api.ts +64 -12
  556. package/src/api/evals-api.ts +64 -0
  557. package/src/api/event-api.ts +12 -0
  558. package/src/api/exec-api.ts +8 -0
  559. package/src/api/experiments-api.ts +28 -0
  560. package/src/api/feedback-api.ts +4 -0
  561. package/src/api/files-api.ts +4 -0
  562. package/src/api/finance-api.ts +32 -0
  563. package/src/api/finetune-api.ts +36 -0
  564. package/src/api/flags-api.ts +36 -0
  565. package/src/api/fleet-api.ts +24 -0
  566. package/src/api/flow-api.ts +32 -0
  567. package/src/api/framework-api.ts +76 -0
  568. package/src/api/functions-api.ts +44 -0
  569. package/src/api/gateway-api.ts +12 -0
  570. package/src/api/git-api.ts +160 -0
  571. package/src/api/git-webhook-api.ts +4 -0
  572. package/src/api/gpus-api.ts +8 -0
  573. package/src/api/guide-api.ts +76 -0
  574. package/src/api/help-api.ts +16 -0
  575. package/src/api/iam-api.ts +1620 -18
  576. package/src/api/images-api.ts +4 -0
  577. package/src/api/index-api.ts +68 -0
  578. package/src/api/indexers-api.ts +4 -0
  579. package/src/api/ingress-api.ts +72 -0
  580. package/src/api/insights-api.ts +8 -0
  581. package/src/api/install-patch-api.ts +4 -0
  582. package/src/api/instances-api.ts +2357 -0
  583. package/src/api/integrations-api.ts +224 -0
  584. package/src/api/k8s-api.ts +20 -0
  585. package/src/api/kb-api.ts +36 -0
  586. package/src/api/keys-api.ts +12 -0
  587. package/src/api/kms-api.ts +28 -0
  588. package/src/api/legal-api.ts +44 -0
  589. package/src/api/licensing-api.ts +44 -0
  590. package/src/api/links-api.ts +44 -0
  591. package/src/api/logs-api.ts +12 -0
  592. package/src/api/machines-api.ts +32 -0
  593. package/src/api/marketing-api.ts +140 -0
  594. package/src/api/marketplace-api.ts +24 -0
  595. package/src/api/mcp-api.ts +12 -0
  596. package/src/api/meet-api.ts +12 -0
  597. package/src/api/memory-api.ts +28 -0
  598. package/src/api/mesh-api.ts +4 -0
  599. package/src/api/messages-api.ts +8 -0
  600. package/src/api/metrics-api.ts +16 -0
  601. package/src/api/ml-api.ts +28 -0
  602. package/src/api/models-api.ts +8 -0
  603. package/src/api/mq-api.ts +60 -0
  604. package/src/api/networks-api.ts +12 -0
  605. package/src/api/notify-api.ts +16 -0
  606. package/src/api/o11y-api.ts +1464 -4
  607. package/src/api/oracles-api.ts +4 -0
  608. package/src/api/org-api.ts +40 -0
  609. package/src/api/orgs-api.ts +12 -0
  610. package/src/api/payments-api.ts +8 -0
  611. package/src/api/pipelines-api.ts +4 -0
  612. package/src/api/plans-api.ts +80 -0
  613. package/src/api/platform-api.ts +196 -0
  614. package/src/api/plugins-api.ts +16 -0
  615. package/src/api/prefs-api.ts +8 -0
  616. package/src/api/pricing-api.ts +100 -0
  617. package/src/api/projects-api.ts +64 -0
  618. package/src/api/prompts-api.ts +24 -0
  619. package/src/api/pubsub-api.ts +72 -0
  620. package/src/api/query-api.ts +4 -0
  621. package/src/api/query-multiple-api.ts +4 -0
  622. package/src/api/rag-api.ts +20 -0
  623. package/src/api/referrals-api.ts +8 -0
  624. package/src/api/registry-api.ts +24 -0
  625. package/src/api/releases-api.ts +4 -0
  626. package/src/api/replay-api.ts +4 -0
  627. package/src/api/rerank-api.ts +4 -0
  628. package/src/api/research-api.ts +32 -0
  629. package/src/api/responses-api.ts +8 -4
  630. package/src/api/risk-api.ts +124 -0
  631. package/src/api/router-api.ts +124 -6
  632. package/src/api/rpc-api.ts +4 -0
  633. package/src/api/run-api.ts +4 -0
  634. package/src/api/runner-api.ts +8 -153
  635. package/src/api/s3-api.ts +29 -316
  636. package/src/api/sandboxes-api.ts +76 -0
  637. package/src/api/sbom-api.ts +12 -0
  638. package/src/api/scrape-api.ts +4 -0
  639. package/src/api/search-api.ts +43 -261
  640. package/src/api/security-api.ts +28 -0
  641. package/src/api/{sentry-api.ts → sentinel-api.ts} +506 -418
  642. package/src/api/settings-api.ts +8 -0
  643. package/src/api/share-api.ts +8 -0
  644. package/src/api/sites-api.ts +912 -1
  645. package/src/api/skills-api.ts +16 -0
  646. package/src/api/social-api.ts +52 -0
  647. package/src/api/store-api.ts +136 -0
  648. package/src/api/summary-api.ts +4 -0
  649. package/src/api/sync-api.ts +24 -0
  650. package/src/api/tags-api.ts +4 -0
  651. package/src/api/tasks-api.ts +40 -0
  652. package/src/api/taxonomy-api.ts +20 -0
  653. package/src/api/team-api.ts +68 -0
  654. package/src/api/tel-api.ts +40 -0
  655. package/src/api/templates-api.ts +20 -0
  656. package/src/api/todo-api.ts +48 -0
  657. package/src/api/tokens-api.ts +4 -0
  658. package/src/api/tools-api.ts +32 -0
  659. package/src/api/traces-api.ts +16 -0
  660. package/src/api/traffic-api.ts +4 -0
  661. package/src/api/translate-api.ts +12 -0
  662. package/src/api/upload-api.ts +4 -0
  663. package/src/api/usage-api.ts +44 -0
  664. package/src/api/validators-api.ts +16 -0
  665. package/src/api/vector-api.ts +8 -319
  666. package/src/api/videos-api.ts +70 -16
  667. package/src/api/wallets-api.ts +32 -0
  668. package/src/api/webhooks-api.ts +32 -0
  669. package/src/api/websearch-api.ts +24 -0
  670. package/src/api/wecom-bot-api.ts +66 -16
  671. package/src/api/world-api.ts +24 -0
  672. package/src/api/x402-api.ts +4 -0
  673. package/src/api.ts +4 -11
  674. package/src/models/{resource-metrics.ts → allowance.ts} +17 -17
  675. package/src/models/{service-port.ts → backend-status.ts} +14 -14
  676. package/src/models/claim-row.ts +78 -0
  677. package/src/models/{lb-list.ts → claims-out.ts} +13 -7
  678. package/src/models/edge-state.ts +66 -0
  679. package/src/models/gitlab-project-view.ts +72 -0
  680. package/src/models/{vpc-list.ts → gitlab-projects-out.ts} +13 -7
  681. package/src/models/{remote-app.ts → history-out.ts} +16 -19
  682. package/src/models/{block.ts → iam-account-body.ts} +10 -16
  683. package/src/models/{get-ai-files200-response.ts → iam-assume-body.ts} +10 -6
  684. package/src/models/iam-create-organization-input.ts +12 -0
  685. package/src/models/iam-organization.ts +12 -0
  686. package/src/models/{container-detail.ts → iam-search-organizations-output.ts} +8 -14
  687. package/src/models/{session.ts → iam-set-avatar-input.ts} +11 -11
  688. package/src/models/iam-update-organization-input.ts +12 -0
  689. package/src/models/iam-webauthn-credential.ts +6 -0
  690. package/src/models/index.ts +21 -103
  691. package/src/models/integrity.ts +13 -7
  692. package/src/models/leader-row.ts +42 -0
  693. package/src/models/{vector-score.ts → match.ts} +13 -7
  694. package/src/models/{lb-view.ts → model-history.ts} +15 -30
  695. package/src/models/published-claim.ts +60 -0
  696. package/src/models/{self-release-list.ts → put-claims-in.ts} +13 -7
  697. package/src/models/{application-config-option.ts → put-claims-out.ts} +10 -10
  698. package/src/models/request.ts +66 -0
  699. package/src/models/response.ts +60 -0
  700. package/src/models/run-point.ts +54 -0
  701. package/src/models/runner-build-req.ts +0 -6
  702. package/src/models/runner-build-resp.ts +2 -2
  703. package/src/models/trail.ts +57 -0
  704. package/dist/api/balancers-api.d.ts +0 -211
  705. package/dist/api/balancers-api.js +0 -309
  706. package/dist/api/datastore-api.d.ts +0 -212
  707. package/dist/api/datastore-api.js +0 -307
  708. package/dist/api/docdb-api.d.ts +0 -212
  709. package/dist/api/docdb-api.js +0 -307
  710. package/dist/api/generate-text-to-speech-audio-api.d.ts +0 -70
  711. package/dist/api/generate-text-to-speech-audio-api.js +0 -119
  712. package/dist/api/generate-text-to-speech-audio-stream-api.d.ts +0 -70
  713. package/dist/api/generate-text-to-speech-audio-stream-api.js +0 -119
  714. package/dist/api/health-api.d.ts +0 -70
  715. package/dist/api/health-api.js +0 -119
  716. package/dist/api/kv-api.d.ts +0 -212
  717. package/dist/api/kv-api.js +0 -307
  718. package/dist/api/process-speech-to-text-api.d.ts +0 -70
  719. package/dist/api/process-speech-to-text-api.js +0 -119
  720. package/dist/api/sql-api.d.ts +0 -212
  721. package/dist/api/sql-api.js +0 -307
  722. package/dist/api/vpcs-api.d.ts +0 -211
  723. package/dist/api/vpcs-api.js +0 -309
  724. package/dist/esm/api/balancers-api.d.ts +0 -210
  725. package/dist/esm/api/balancers-api.js +0 -299
  726. package/dist/esm/api/datastore-api.d.ts +0 -211
  727. package/dist/esm/api/datastore-api.js +0 -297
  728. package/dist/esm/api/docdb-api.d.ts +0 -211
  729. package/dist/esm/api/docdb-api.js +0 -297
  730. package/dist/esm/api/generate-text-to-speech-audio-api.d.ts +0 -69
  731. package/dist/esm/api/generate-text-to-speech-audio-api.js +0 -109
  732. package/dist/esm/api/generate-text-to-speech-audio-stream-api.d.ts +0 -69
  733. package/dist/esm/api/generate-text-to-speech-audio-stream-api.js +0 -109
  734. package/dist/esm/api/health-api.d.ts +0 -69
  735. package/dist/esm/api/health-api.js +0 -109
  736. package/dist/esm/api/kv-api.d.ts +0 -211
  737. package/dist/esm/api/kv-api.js +0 -297
  738. package/dist/esm/api/process-speech-to-text-api.d.ts +0 -69
  739. package/dist/esm/api/process-speech-to-text-api.js +0 -109
  740. package/dist/esm/api/sql-api.d.ts +0 -211
  741. package/dist/esm/api/sql-api.js +0 -297
  742. package/dist/esm/api/vpcs-api.d.ts +0 -210
  743. package/dist/esm/api/vpcs-api.js +0 -299
  744. package/dist/esm/models/agent-mcp-tools.d.ts +0 -36
  745. package/dist/esm/models/application-event.d.ts +0 -72
  746. package/dist/esm/models/application-view.d.ts +0 -71
  747. package/dist/esm/models/article.d.ts +0 -73
  748. package/dist/esm/models/asset.d.ts +0 -108
  749. package/dist/esm/models/audit.d.ts +0 -204
  750. package/dist/esm/models/chat.d.ts +0 -168
  751. package/dist/esm/models/connection.d.ts +0 -156
  752. package/dist/esm/models/container-detail.d.ts +0 -37
  753. package/dist/esm/models/create-lbreq.d.ts +0 -49
  754. package/dist/esm/models/create-vpcreq.d.ts +0 -36
  755. package/dist/esm/models/deployment-detail.d.ts +0 -55
  756. package/dist/esm/models/envelope.d.ts +0 -47
  757. package/dist/esm/models/envelope.js +0 -17
  758. package/dist/esm/models/example-question.d.ts +0 -36
  759. package/dist/esm/models/form-item.d.ts +0 -48
  760. package/dist/esm/models/form.d.ts +0 -79
  761. package/dist/esm/models/fwd-rule.d.ts +0 -42
  762. package/dist/esm/models/get-ai-articles200-response.d.ts +0 -17
  763. package/dist/esm/models/get-ai-articles200-response.js +0 -14
  764. package/dist/esm/models/get-ai-assets200-response.d.ts +0 -17
  765. package/dist/esm/models/get-ai-assets200-response.js +0 -14
  766. package/dist/esm/models/get-ai-chats200-response.js +0 -14
  767. package/dist/esm/models/get-ai-deployments200-response.d.ts +0 -17
  768. package/dist/esm/models/get-ai-deployments200-response.js +0 -14
  769. package/dist/esm/models/get-ai-files200-response.d.ts +0 -17
  770. package/dist/esm/models/get-ai-files200-response.js +0 -14
  771. package/dist/esm/models/get-ai-forms200-response.d.ts +0 -17
  772. package/dist/esm/models/get-ai-forms200-response.js +0 -14
  773. package/dist/esm/models/get-ai-graphs200-response.d.ts +0 -17
  774. package/dist/esm/models/get-ai-graphs200-response.js +0 -14
  775. package/dist/esm/models/get-ai-messages200-response.d.ts +0 -17
  776. package/dist/esm/models/get-ai-messages200-response.js +0 -14
  777. package/dist/esm/models/get-ai-nodes200-response.d.ts +0 -17
  778. package/dist/esm/models/get-ai-nodes200-response.js +0 -14
  779. package/dist/esm/models/get-ai-providers200-response.d.ts +0 -17
  780. package/dist/esm/models/get-ai-providers200-response.js +0 -14
  781. package/dist/esm/models/get-ai-records200-response.d.ts +0 -17
  782. package/dist/esm/models/get-ai-records200-response.js +0 -14
  783. package/dist/esm/models/get-ai-remote-connections200-response.d.ts +0 -17
  784. package/dist/esm/models/get-ai-remote-connections200-response.js +0 -14
  785. package/dist/esm/models/get-ai-routes200-response.d.ts +0 -17
  786. package/dist/esm/models/get-ai-routes200-response.js +0 -14
  787. package/dist/esm/models/get-ai-scales200-response.d.ts +0 -17
  788. package/dist/esm/models/get-ai-scales200-response.js +0 -14
  789. package/dist/esm/models/get-ai-scans200-response.d.ts +0 -17
  790. package/dist/esm/models/get-ai-scans200-response.js +0 -14
  791. package/dist/esm/models/get-ai-signin-sessions200-response.d.ts +0 -17
  792. package/dist/esm/models/get-ai-signin-sessions200-response.js +0 -14
  793. package/dist/esm/models/get-ai-stores200-response.d.ts +0 -17
  794. package/dist/esm/models/get-ai-stores200-response.js +0 -14
  795. package/dist/esm/models/get-ai-tasks200-response.d.ts +0 -17
  796. package/dist/esm/models/get-ai-tasks200-response.js +0 -14
  797. package/dist/esm/models/get-ai-templates200-response.d.ts +0 -17
  798. package/dist/esm/models/get-ai-templates200-response.js +0 -14
  799. package/dist/esm/models/get-ai-usages200-response.d.ts +0 -17
  800. package/dist/esm/models/get-ai-usages200-response.js +0 -14
  801. package/dist/esm/models/get-ai-vectors200-response.d.ts +0 -17
  802. package/dist/esm/models/get-ai-vectors200-response.js +0 -14
  803. package/dist/esm/models/get-ai-videos200-response.d.ts +0 -17
  804. package/dist/esm/models/get-ai-videos200-response.js +0 -14
  805. package/dist/esm/models/get-ai-workflows200-response.d.ts +0 -17
  806. package/dist/esm/models/get-ai-workflows200-response.js +0 -14
  807. package/dist/esm/models/graph.d.ts +0 -90
  808. package/dist/esm/models/graph.js +0 -14
  809. package/dist/esm/models/label.d.ts +0 -78
  810. package/dist/esm/models/label.js +0 -14
  811. package/dist/esm/models/lb-list.d.ts +0 -25
  812. package/dist/esm/models/lb-list.js +0 -14
  813. package/dist/esm/models/lb-view.js +0 -14
  814. package/dist/esm/models/message.d.ts +0 -232
  815. package/dist/esm/models/message.js +0 -14
  816. package/dist/esm/models/model-file.d.ts +0 -84
  817. package/dist/esm/models/model-file.js +0 -14
  818. package/dist/esm/models/model-route.d.ts +0 -126
  819. package/dist/esm/models/model-route.js +0 -14
  820. package/dist/esm/models/model-search-result.js +0 -14
  821. package/dist/esm/models/model-tool-call.d.ts +0 -36
  822. package/dist/esm/models/model-tool-call.js +0 -14
  823. package/dist/esm/models/node.d.ts +0 -183
  824. package/dist/esm/models/node.js +0 -14
  825. package/dist/esm/models/patch.d.ts +0 -72
  826. package/dist/esm/models/patch.js +0 -14
  827. package/dist/esm/models/post-ai-articles200-response.d.ts +0 -17
  828. package/dist/esm/models/post-ai-articles200-response.js +0 -14
  829. package/dist/esm/models/post-ai-assets200-response.d.ts +0 -17
  830. package/dist/esm/models/post-ai-assets200-response.js +0 -14
  831. package/dist/esm/models/post-ai-chats200-response.d.ts +0 -17
  832. package/dist/esm/models/post-ai-chats200-response.js +0 -14
  833. package/dist/esm/models/post-ai-deployments200-response.d.ts +0 -17
  834. package/dist/esm/models/post-ai-deployments200-response.js +0 -14
  835. package/dist/esm/models/post-ai-files200-response.d.ts +0 -17
  836. package/dist/esm/models/post-ai-files200-response.js +0 -14
  837. package/dist/esm/models/post-ai-forms200-response.d.ts +0 -17
  838. package/dist/esm/models/post-ai-forms200-response.js +0 -14
  839. package/dist/esm/models/post-ai-graphs200-response.d.ts +0 -17
  840. package/dist/esm/models/post-ai-graphs200-response.js +0 -14
  841. package/dist/esm/models/post-ai-messages200-response.d.ts +0 -17
  842. package/dist/esm/models/post-ai-messages200-response.js +0 -14
  843. package/dist/esm/models/post-ai-nodes200-response.d.ts +0 -17
  844. package/dist/esm/models/post-ai-nodes200-response.js +0 -14
  845. package/dist/esm/models/post-ai-providers200-response.d.ts +0 -17
  846. package/dist/esm/models/post-ai-providers200-response.js +0 -14
  847. package/dist/esm/models/post-ai-records200-response.d.ts +0 -17
  848. package/dist/esm/models/post-ai-records200-response.js +0 -14
  849. package/dist/esm/models/post-ai-remote-connections200-response.d.ts +0 -17
  850. package/dist/esm/models/post-ai-remote-connections200-response.js +0 -14
  851. package/dist/esm/models/post-ai-routes200-response.d.ts +0 -17
  852. package/dist/esm/models/post-ai-routes200-response.js +0 -14
  853. package/dist/esm/models/post-ai-scales200-response.d.ts +0 -17
  854. package/dist/esm/models/post-ai-scales200-response.js +0 -14
  855. package/dist/esm/models/post-ai-scans200-response.d.ts +0 -17
  856. package/dist/esm/models/post-ai-scans200-response.js +0 -14
  857. package/dist/esm/models/post-ai-signin-sessions200-response.d.ts +0 -17
  858. package/dist/esm/models/post-ai-signin-sessions200-response.js +0 -14
  859. package/dist/esm/models/post-ai-stores200-response.d.ts +0 -17
  860. package/dist/esm/models/post-ai-stores200-response.js +0 -14
  861. package/dist/esm/models/post-ai-tasks200-response.d.ts +0 -17
  862. package/dist/esm/models/post-ai-tasks200-response.js +0 -14
  863. package/dist/esm/models/post-ai-templates200-response.d.ts +0 -17
  864. package/dist/esm/models/post-ai-templates200-response.js +0 -14
  865. package/dist/esm/models/post-ai-tree-files200-response.d.ts +0 -17
  866. package/dist/esm/models/post-ai-tree-files200-response.js +0 -14
  867. package/dist/esm/models/post-ai-vectors200-response.d.ts +0 -17
  868. package/dist/esm/models/post-ai-vectors200-response.js +0 -14
  869. package/dist/esm/models/post-ai-videos200-response.d.ts +0 -17
  870. package/dist/esm/models/post-ai-videos200-response.js +0 -14
  871. package/dist/esm/models/post-ai-workflows200-response.d.ts +0 -17
  872. package/dist/esm/models/post-ai-workflows200-response.js +0 -14
  873. package/dist/esm/models/properties.d.ts +0 -30
  874. package/dist/esm/models/properties.js +0 -14
  875. package/dist/esm/models/provider.d.ts +0 -301
  876. package/dist/esm/models/provider.js +0 -14
  877. package/dist/esm/models/release-state.d.ts +0 -72
  878. package/dist/esm/models/release-state.js +0 -14
  879. package/dist/esm/models/remark.d.ts +0 -48
  880. package/dist/esm/models/remark.js +0 -14
  881. package/dist/esm/models/remote-app.js +0 -14
  882. package/dist/esm/models/resource-metrics.js +0 -14
  883. package/dist/esm/models/resource-requests.d.ts +0 -30
  884. package/dist/esm/models/resource-requests.js +0 -14
  885. package/dist/esm/models/scale.d.ts +0 -54
  886. package/dist/esm/models/scale.js +0 -14
  887. package/dist/esm/models/self-release-list.d.ts +0 -25
  888. package/dist/esm/models/self-release-list.js +0 -14
  889. package/dist/esm/models/service-detail.d.ts +0 -67
  890. package/dist/esm/models/service-detail.js +0 -14
  891. package/dist/esm/models/service-port.js +0 -14
  892. package/dist/esm/models/service.d.ts +0 -72
  893. package/dist/esm/models/service.js +0 -14
  894. package/dist/esm/models/session.js +0 -14
  895. package/dist/esm/models/store.d.ts +0 -311
  896. package/dist/esm/models/store.js +0 -14
  897. package/dist/esm/models/task.d.ts +0 -132
  898. package/dist/esm/models/task.js +0 -14
  899. package/dist/esm/models/template-config-option.d.ts +0 -54
  900. package/dist/esm/models/template-config-option.js +0 -14
  901. package/dist/esm/models/template.d.ts +0 -91
  902. package/dist/esm/models/template.js +0 -14
  903. package/dist/esm/models/tree-file.d.ts +0 -60
  904. package/dist/esm/models/tree-file.js +0 -14
  905. package/dist/esm/models/vector-score.js +0 -14
  906. package/dist/esm/models/vector.d.ts +0 -108
  907. package/dist/esm/models/vector.js +0 -14
  908. package/dist/esm/models/video.d.ts +0 -274
  909. package/dist/esm/models/video.js +0 -14
  910. package/dist/esm/models/vpc-list.d.ts +0 -25
  911. package/dist/esm/models/vpc-list.js +0 -14
  912. package/dist/esm/models/vpc-view.d.ts +0 -54
  913. package/dist/esm/models/vpc-view.js +0 -14
  914. package/dist/esm/models/workflow.d.ts +0 -66
  915. package/dist/esm/models/workflow.js +0 -14
  916. package/dist/models/activity.d.ts +0 -32
  917. package/dist/models/agent-mcp-tools.d.ts +0 -36
  918. package/dist/models/application-config-option.d.ts +0 -30
  919. package/dist/models/application-event.d.ts +0 -72
  920. package/dist/models/application-view.d.ts +0 -71
  921. package/dist/models/article.d.ts +0 -73
  922. package/dist/models/asset.d.ts +0 -108
  923. package/dist/models/audit.d.ts +0 -204
  924. package/dist/models/chat.d.ts +0 -168
  925. package/dist/models/connection.d.ts +0 -156
  926. package/dist/models/container-detail.d.ts +0 -37
  927. package/dist/models/create-lbreq.d.ts +0 -49
  928. package/dist/models/create-vpcreq.d.ts +0 -36
  929. package/dist/models/deployment-detail.d.ts +0 -55
  930. package/dist/models/env-variable.d.ts +0 -30
  931. package/dist/models/envelope.d.ts +0 -47
  932. package/dist/models/envelope.js +0 -20
  933. package/dist/models/example-question.d.ts +0 -36
  934. package/dist/models/form-item.d.ts +0 -48
  935. package/dist/models/form.d.ts +0 -79
  936. package/dist/models/fwd-rule.d.ts +0 -42
  937. package/dist/models/get-ai-activities200-response.d.ts +0 -17
  938. package/dist/models/get-ai-articles200-response.d.ts +0 -17
  939. package/dist/models/get-ai-articles200-response.js +0 -15
  940. package/dist/models/get-ai-assets200-response.d.ts +0 -17
  941. package/dist/models/get-ai-assets200-response.js +0 -15
  942. package/dist/models/get-ai-chats200-response.d.ts +0 -17
  943. package/dist/models/get-ai-chats200-response.js +0 -15
  944. package/dist/models/get-ai-deployments200-response.d.ts +0 -17
  945. package/dist/models/get-ai-deployments200-response.js +0 -15
  946. package/dist/models/get-ai-files200-response.d.ts +0 -17
  947. package/dist/models/get-ai-files200-response.js +0 -15
  948. package/dist/models/get-ai-forms200-response.d.ts +0 -17
  949. package/dist/models/get-ai-forms200-response.js +0 -15
  950. package/dist/models/get-ai-graphs200-response.d.ts +0 -17
  951. package/dist/models/get-ai-graphs200-response.js +0 -15
  952. package/dist/models/get-ai-messages200-response.d.ts +0 -17
  953. package/dist/models/get-ai-messages200-response.js +0 -15
  954. package/dist/models/get-ai-nodes200-response.d.ts +0 -17
  955. package/dist/models/get-ai-nodes200-response.js +0 -15
  956. package/dist/models/get-ai-providers200-response.d.ts +0 -17
  957. package/dist/models/get-ai-providers200-response.js +0 -15
  958. package/dist/models/get-ai-records200-response.d.ts +0 -17
  959. package/dist/models/get-ai-records200-response.js +0 -15
  960. package/dist/models/get-ai-remote-connections200-response.d.ts +0 -17
  961. package/dist/models/get-ai-remote-connections200-response.js +0 -15
  962. package/dist/models/get-ai-routes200-response.d.ts +0 -17
  963. package/dist/models/get-ai-routes200-response.js +0 -15
  964. package/dist/models/get-ai-scales200-response.d.ts +0 -17
  965. package/dist/models/get-ai-scales200-response.js +0 -15
  966. package/dist/models/get-ai-scans200-response.d.ts +0 -17
  967. package/dist/models/get-ai-scans200-response.js +0 -15
  968. package/dist/models/get-ai-signin-sessions200-response.d.ts +0 -17
  969. package/dist/models/get-ai-signin-sessions200-response.js +0 -15
  970. package/dist/models/get-ai-stores200-response.d.ts +0 -17
  971. package/dist/models/get-ai-stores200-response.js +0 -15
  972. package/dist/models/get-ai-tasks200-response.d.ts +0 -17
  973. package/dist/models/get-ai-tasks200-response.js +0 -15
  974. package/dist/models/get-ai-templates200-response.d.ts +0 -17
  975. package/dist/models/get-ai-templates200-response.js +0 -15
  976. package/dist/models/get-ai-usages200-response.d.ts +0 -17
  977. package/dist/models/get-ai-usages200-response.js +0 -15
  978. package/dist/models/get-ai-vectors200-response.d.ts +0 -17
  979. package/dist/models/get-ai-vectors200-response.js +0 -15
  980. package/dist/models/get-ai-videos200-response.d.ts +0 -17
  981. package/dist/models/get-ai-videos200-response.js +0 -15
  982. package/dist/models/get-ai-workflows200-response.d.ts +0 -17
  983. package/dist/models/get-ai-workflows200-response.js +0 -15
  984. package/dist/models/graph.d.ts +0 -90
  985. package/dist/models/graph.js +0 -15
  986. package/dist/models/label.d.ts +0 -78
  987. package/dist/models/label.js +0 -15
  988. package/dist/models/lb-list.d.ts +0 -25
  989. package/dist/models/lb-list.js +0 -15
  990. package/dist/models/lb-view.d.ts +0 -54
  991. package/dist/models/lb-view.js +0 -15
  992. package/dist/models/message.d.ts +0 -232
  993. package/dist/models/message.js +0 -15
  994. package/dist/models/model-file.d.ts +0 -84
  995. package/dist/models/model-file.js +0 -15
  996. package/dist/models/model-route.d.ts +0 -126
  997. package/dist/models/model-route.js +0 -15
  998. package/dist/models/model-search-result.d.ts +0 -48
  999. package/dist/models/model-search-result.js +0 -15
  1000. package/dist/models/model-tool-call.d.ts +0 -36
  1001. package/dist/models/model-tool-call.js +0 -15
  1002. package/dist/models/node.d.ts +0 -183
  1003. package/dist/models/node.js +0 -15
  1004. package/dist/models/patch.d.ts +0 -72
  1005. package/dist/models/patch.js +0 -15
  1006. package/dist/models/post-ai-articles200-response.d.ts +0 -17
  1007. package/dist/models/post-ai-articles200-response.js +0 -15
  1008. package/dist/models/post-ai-assets200-response.d.ts +0 -17
  1009. package/dist/models/post-ai-assets200-response.js +0 -15
  1010. package/dist/models/post-ai-chats200-response.d.ts +0 -17
  1011. package/dist/models/post-ai-chats200-response.js +0 -15
  1012. package/dist/models/post-ai-deployments200-response.d.ts +0 -17
  1013. package/dist/models/post-ai-deployments200-response.js +0 -15
  1014. package/dist/models/post-ai-files200-response.d.ts +0 -17
  1015. package/dist/models/post-ai-files200-response.js +0 -15
  1016. package/dist/models/post-ai-forms200-response.d.ts +0 -17
  1017. package/dist/models/post-ai-forms200-response.js +0 -15
  1018. package/dist/models/post-ai-graphs200-response.d.ts +0 -17
  1019. package/dist/models/post-ai-graphs200-response.js +0 -15
  1020. package/dist/models/post-ai-messages200-response.d.ts +0 -17
  1021. package/dist/models/post-ai-messages200-response.js +0 -15
  1022. package/dist/models/post-ai-nodes200-response.d.ts +0 -17
  1023. package/dist/models/post-ai-nodes200-response.js +0 -15
  1024. package/dist/models/post-ai-providers200-response.d.ts +0 -17
  1025. package/dist/models/post-ai-providers200-response.js +0 -15
  1026. package/dist/models/post-ai-records200-response.d.ts +0 -17
  1027. package/dist/models/post-ai-records200-response.js +0 -15
  1028. package/dist/models/post-ai-remote-connections200-response.d.ts +0 -17
  1029. package/dist/models/post-ai-remote-connections200-response.js +0 -15
  1030. package/dist/models/post-ai-routes200-response.d.ts +0 -17
  1031. package/dist/models/post-ai-routes200-response.js +0 -15
  1032. package/dist/models/post-ai-scales200-response.d.ts +0 -17
  1033. package/dist/models/post-ai-scales200-response.js +0 -15
  1034. package/dist/models/post-ai-scans200-response.d.ts +0 -17
  1035. package/dist/models/post-ai-scans200-response.js +0 -15
  1036. package/dist/models/post-ai-signin-sessions200-response.d.ts +0 -17
  1037. package/dist/models/post-ai-signin-sessions200-response.js +0 -15
  1038. package/dist/models/post-ai-stores200-response.d.ts +0 -17
  1039. package/dist/models/post-ai-stores200-response.js +0 -15
  1040. package/dist/models/post-ai-tasks200-response.d.ts +0 -17
  1041. package/dist/models/post-ai-tasks200-response.js +0 -15
  1042. package/dist/models/post-ai-templates200-response.d.ts +0 -17
  1043. package/dist/models/post-ai-templates200-response.js +0 -15
  1044. package/dist/models/post-ai-tree-files200-response.d.ts +0 -17
  1045. package/dist/models/post-ai-tree-files200-response.js +0 -15
  1046. package/dist/models/post-ai-vectors200-response.d.ts +0 -17
  1047. package/dist/models/post-ai-vectors200-response.js +0 -15
  1048. package/dist/models/post-ai-videos200-response.d.ts +0 -17
  1049. package/dist/models/post-ai-videos200-response.js +0 -15
  1050. package/dist/models/post-ai-workflows200-response.d.ts +0 -17
  1051. package/dist/models/post-ai-workflows200-response.js +0 -15
  1052. package/dist/models/properties.d.ts +0 -30
  1053. package/dist/models/properties.js +0 -15
  1054. package/dist/models/provider.d.ts +0 -301
  1055. package/dist/models/provider.js +0 -15
  1056. package/dist/models/release-state.d.ts +0 -72
  1057. package/dist/models/release-state.js +0 -15
  1058. package/dist/models/remark.d.ts +0 -48
  1059. package/dist/models/remark.js +0 -15
  1060. package/dist/models/remote-app.js +0 -15
  1061. package/dist/models/resource-metrics.js +0 -15
  1062. package/dist/models/resource-requests.d.ts +0 -30
  1063. package/dist/models/resource-requests.js +0 -15
  1064. package/dist/models/scale.d.ts +0 -54
  1065. package/dist/models/scale.js +0 -15
  1066. package/dist/models/self-release-list.d.ts +0 -25
  1067. package/dist/models/self-release-list.js +0 -15
  1068. package/dist/models/service-detail.d.ts +0 -67
  1069. package/dist/models/service-detail.js +0 -15
  1070. package/dist/models/service-port.js +0 -15
  1071. package/dist/models/service.d.ts +0 -72
  1072. package/dist/models/service.js +0 -15
  1073. package/dist/models/session.js +0 -15
  1074. package/dist/models/store.d.ts +0 -311
  1075. package/dist/models/store.js +0 -15
  1076. package/dist/models/task.d.ts +0 -132
  1077. package/dist/models/task.js +0 -15
  1078. package/dist/models/template-config-option.d.ts +0 -54
  1079. package/dist/models/template-config-option.js +0 -15
  1080. package/dist/models/template.d.ts +0 -91
  1081. package/dist/models/template.js +0 -15
  1082. package/dist/models/tree-file.d.ts +0 -60
  1083. package/dist/models/tree-file.js +0 -15
  1084. package/dist/models/vector-score.js +0 -15
  1085. package/dist/models/vector.d.ts +0 -108
  1086. package/dist/models/vector.js +0 -15
  1087. package/dist/models/video.d.ts +0 -274
  1088. package/dist/models/video.js +0 -15
  1089. package/dist/models/vpc-list.d.ts +0 -25
  1090. package/dist/models/vpc-list.js +0 -15
  1091. package/dist/models/vpc-view.d.ts +0 -54
  1092. package/dist/models/vpc-view.js +0 -15
  1093. package/dist/models/workflow.d.ts +0 -66
  1094. package/dist/models/workflow.js +0 -15
  1095. package/src/api/balancers-api.ts +0 -379
  1096. package/src/api/datastore-api.ts +0 -379
  1097. package/src/api/docdb-api.ts +0 -379
  1098. package/src/api/generate-text-to-speech-audio-api.ts +0 -122
  1099. package/src/api/generate-text-to-speech-audio-stream-api.ts +0 -122
  1100. package/src/api/health-api.ts +0 -122
  1101. package/src/api/kv-api.ts +0 -379
  1102. package/src/api/process-speech-to-text-api.ts +0 -122
  1103. package/src/api/sql-api.ts +0 -379
  1104. package/src/api/vpcs-api.ts +0 -379
  1105. package/src/models/activity.ts +0 -36
  1106. package/src/models/agent-mcp-tools.ts +0 -42
  1107. package/src/models/application-event.ts +0 -78
  1108. package/src/models/application-view.ts +0 -87
  1109. package/src/models/article.ts +0 -81
  1110. package/src/models/asset.ts +0 -114
  1111. package/src/models/audit.ts +0 -210
  1112. package/src/models/chat.ts +0 -174
  1113. package/src/models/connection.ts +0 -162
  1114. package/src/models/create-lbreq.ts +0 -57
  1115. package/src/models/create-vpcreq.ts +0 -42
  1116. package/src/models/deployment-detail.ts +0 -63
  1117. package/src/models/env-variable.ts +0 -36
  1118. package/src/models/envelope.ts +0 -56
  1119. package/src/models/example-question.ts +0 -42
  1120. package/src/models/form-item.ts +0 -54
  1121. package/src/models/form.ts +0 -87
  1122. package/src/models/fwd-rule.ts +0 -48
  1123. package/src/models/get-ai-activities200-response.ts +0 -29
  1124. package/src/models/get-ai-articles200-response.ts +0 -29
  1125. package/src/models/get-ai-assets200-response.ts +0 -29
  1126. package/src/models/get-ai-chats200-response.ts +0 -29
  1127. package/src/models/get-ai-deployments200-response.ts +0 -29
  1128. package/src/models/get-ai-forms200-response.ts +0 -29
  1129. package/src/models/get-ai-graphs200-response.ts +0 -29
  1130. package/src/models/get-ai-messages200-response.ts +0 -29
  1131. package/src/models/get-ai-nodes200-response.ts +0 -29
  1132. package/src/models/get-ai-providers200-response.ts +0 -29
  1133. package/src/models/get-ai-records200-response.ts +0 -29
  1134. package/src/models/get-ai-remote-connections200-response.ts +0 -29
  1135. package/src/models/get-ai-routes200-response.ts +0 -29
  1136. package/src/models/get-ai-scales200-response.ts +0 -29
  1137. package/src/models/get-ai-scans200-response.ts +0 -29
  1138. package/src/models/get-ai-signin-sessions200-response.ts +0 -29
  1139. package/src/models/get-ai-stores200-response.ts +0 -29
  1140. package/src/models/get-ai-tasks200-response.ts +0 -29
  1141. package/src/models/get-ai-templates200-response.ts +0 -29
  1142. package/src/models/get-ai-usages200-response.ts +0 -29
  1143. package/src/models/get-ai-vectors200-response.ts +0 -29
  1144. package/src/models/get-ai-videos200-response.ts +0 -29
  1145. package/src/models/get-ai-workflows200-response.ts +0 -29
  1146. package/src/models/graph.ts +0 -96
  1147. package/src/models/label.ts +0 -84
  1148. package/src/models/message.ts +0 -246
  1149. package/src/models/model-file.ts +0 -90
  1150. package/src/models/model-route.ts +0 -132
  1151. package/src/models/model-search-result.ts +0 -54
  1152. package/src/models/model-tool-call.ts +0 -42
  1153. package/src/models/node.ts +0 -195
  1154. package/src/models/patch.ts +0 -78
  1155. package/src/models/post-ai-articles200-response.ts +0 -29
  1156. package/src/models/post-ai-assets200-response.ts +0 -29
  1157. package/src/models/post-ai-chats200-response.ts +0 -29
  1158. package/src/models/post-ai-deployments200-response.ts +0 -29
  1159. package/src/models/post-ai-files200-response.ts +0 -26
  1160. package/src/models/post-ai-forms200-response.ts +0 -29
  1161. package/src/models/post-ai-graphs200-response.ts +0 -29
  1162. package/src/models/post-ai-messages200-response.ts +0 -29
  1163. package/src/models/post-ai-nodes200-response.ts +0 -29
  1164. package/src/models/post-ai-providers200-response.ts +0 -29
  1165. package/src/models/post-ai-records200-response.ts +0 -29
  1166. package/src/models/post-ai-remote-connections200-response.ts +0 -29
  1167. package/src/models/post-ai-routes200-response.ts +0 -29
  1168. package/src/models/post-ai-scales200-response.ts +0 -29
  1169. package/src/models/post-ai-scans200-response.ts +0 -29
  1170. package/src/models/post-ai-signin-sessions200-response.ts +0 -29
  1171. package/src/models/post-ai-stores200-response.ts +0 -29
  1172. package/src/models/post-ai-tasks200-response.ts +0 -29
  1173. package/src/models/post-ai-templates200-response.ts +0 -29
  1174. package/src/models/post-ai-tree-files200-response.ts +0 -29
  1175. package/src/models/post-ai-vectors200-response.ts +0 -29
  1176. package/src/models/post-ai-videos200-response.ts +0 -29
  1177. package/src/models/post-ai-workflows200-response.ts +0 -29
  1178. package/src/models/properties.ts +0 -36
  1179. package/src/models/provider.ts +0 -309
  1180. package/src/models/release-state.ts +0 -78
  1181. package/src/models/remark.ts +0 -54
  1182. package/src/models/resource-requests.ts +0 -36
  1183. package/src/models/scale.ts +0 -60
  1184. package/src/models/service-detail.ts +0 -75
  1185. package/src/models/service.ts +0 -78
  1186. package/src/models/store.ts +0 -321
  1187. package/src/models/task.ts +0 -138
  1188. package/src/models/template-config-option.ts +0 -60
  1189. package/src/models/template.ts +0 -99
  1190. package/src/models/tree-file.ts +0 -66
  1191. package/src/models/vector.ts +0 -114
  1192. package/src/models/video.ts +0 -282
  1193. package/src/models/vpc-view.ts +0 -60
  1194. package/src/models/workflow.ts +0 -72
  1195. /package/dist/esm/models/{activity.js → allowance.js} +0 -0
  1196. /package/dist/esm/models/{agent-mcp-tools.js → backend-status.js} +0 -0
  1197. /package/dist/esm/models/{application-config-option.js → claim-row.js} +0 -0
  1198. /package/dist/esm/models/{application-event.js → claims-out.js} +0 -0
  1199. /package/dist/esm/models/{application-view.js → edge-state.js} +0 -0
  1200. /package/dist/esm/models/{article.js → gitlab-project-view.js} +0 -0
  1201. /package/dist/esm/models/{asset.js → gitlab-projects-out.js} +0 -0
  1202. /package/dist/esm/models/{audit.js → history-out.js} +0 -0
  1203. /package/dist/esm/models/{block.js → iam-account-body.js} +0 -0
  1204. /package/dist/esm/models/{chat.js → iam-assume-body.js} +0 -0
  1205. /package/dist/esm/models/{connection.js → iam-search-organizations-output.js} +0 -0
  1206. /package/dist/esm/models/{container-detail.js → iam-set-avatar-input.js} +0 -0
  1207. /package/dist/esm/models/{create-lbreq.js → match.js} +0 -0
  1208. /package/dist/esm/models/{create-vpcreq.js → model-history.js} +0 -0
  1209. /package/dist/esm/models/{deployment-detail.js → published-claim.js} +0 -0
  1210. /package/dist/esm/models/{env-variable.js → put-claims-in.js} +0 -0
  1211. /package/dist/esm/models/{example-question.js → put-claims-out.js} +0 -0
  1212. /package/dist/esm/models/{form-item.js → request.js} +0 -0
  1213. /package/dist/esm/models/{form.js → response.js} +0 -0
  1214. /package/dist/esm/models/{fwd-rule.js → run-point.js} +0 -0
  1215. /package/dist/esm/models/{get-ai-activities200-response.js → trail.js} +0 -0
  1216. /package/dist/models/{activity.js → allowance.js} +0 -0
  1217. /package/dist/models/{agent-mcp-tools.js → backend-status.js} +0 -0
  1218. /package/dist/models/{application-config-option.js → claim-row.js} +0 -0
  1219. /package/dist/models/{application-event.js → claims-out.js} +0 -0
  1220. /package/dist/models/{application-view.js → edge-state.js} +0 -0
  1221. /package/dist/models/{article.js → gitlab-project-view.js} +0 -0
  1222. /package/dist/models/{asset.js → gitlab-projects-out.js} +0 -0
  1223. /package/dist/models/{audit.js → history-out.js} +0 -0
  1224. /package/dist/models/{block.js → iam-account-body.js} +0 -0
  1225. /package/dist/models/{chat.js → iam-assume-body.js} +0 -0
  1226. /package/dist/models/{connection.js → iam-search-organizations-output.js} +0 -0
  1227. /package/dist/models/{container-detail.js → iam-set-avatar-input.js} +0 -0
  1228. /package/dist/models/{create-lbreq.js → match.js} +0 -0
  1229. /package/dist/models/{create-vpcreq.js → model-history.js} +0 -0
  1230. /package/dist/models/{deployment-detail.js → published-claim.js} +0 -0
  1231. /package/dist/models/{env-variable.js → put-claims-in.js} +0 -0
  1232. /package/dist/models/{example-question.js → put-claims-out.js} +0 -0
  1233. /package/dist/models/{form-item.js → request.js} +0 -0
  1234. /package/dist/models/{form.js → response.js} +0 -0
  1235. /package/dist/models/{fwd-rule.js → run-point.js} +0 -0
  1236. /package/dist/models/{get-ai-activities200-response.js → trail.js} +0 -0
@@ -29,6 +29,74 @@ const base_1 = require("../base");
29
29
  */
30
30
  const SitesApiAxiosParamCreator = function (configuration) {
31
31
  return {
32
+ /**
33
+ * Deletes a project and takes its site off the internet. The metadata delete is authoritative and everything after it is best-effort, in this order: the public `<slug>` subdomain binding is released so the slug is free to reclaim, the release rows are dropped so a reclaimed slug never inherits the previous owner\'s rollback menu, the git source is retired on every copy it has so a reclaimed slug never adopts a repository left behind (visibility.go), the S3 origin is purged under BOTH `<org>/<slug>/` and the site\'s sibling release space, and the edge cache-tag is flushed. A failure in any of those is logged and the delete still answers 204 — resurrecting a project because a purge missed would be worse than a leaked prefix. Scope: a validated principal is required (403 without one) and the project is resolved within that principal\'s org, so another tenant\'s slug is a 404 and nothing of theirs is touched.
34
+ * @summary Deletes a project and takes its site off the internet.
35
+ * @param {string} slug Slug is the project to act on, from the path. It is unique within the caller\&#39;s org and nowhere else, so another tenant\&#39;s slug is a 404.
36
+ * @param {*} [options] Override http request option.
37
+ * @throws {RequiredError}
38
+ */
39
+ deleteSitesBySlug: async (slug, options = {}) => {
40
+ // verify required parameter 'slug' is not null or undefined
41
+ (0, common_1.assertParamExists)('deleteSitesBySlug', 'slug', slug);
42
+ const localVarPath = `/v1/sites/{slug}`
43
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
44
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
45
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
46
+ let baseOptions;
47
+ if (configuration) {
48
+ baseOptions = configuration.baseOptions;
49
+ }
50
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
51
+ const localVarHeaderParameter = {};
52
+ const localVarQueryParameter = {};
53
+ // authentication bearer required
54
+ // http bearer authentication required
55
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
56
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
57
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
58
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
59
+ return {
60
+ url: (0, common_1.toPathString)(localVarUrlObj),
61
+ options: localVarRequestOptions,
62
+ };
63
+ },
64
+ /**
65
+ * Gives a custom hostname back, so the name is free to reuse. A claim is FIRST-COME and global, so an add-only surface was not ownership but a leak: a customer who mistyped a domain, or claimed one they later moved elsewhere, could neither reuse it nor let anyone else. This is the third writer that closes it. The release is scoped to (host, org, slug), so it can only ever drop THIS tenant\'s own claim, and it is IDEMPOTENT: releasing a host we do not hold is a clean 204, never a 404 that would let a caller probe which hosts other tenants hold. The edge cache-tag is flushed, since the host stops routing here. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
66
+ * @summary Gives a custom hostname back, so the name is free to reuse.
67
+ * @param {string} slug Slug is the project the host is attached to, from the path.
68
+ * @param {string} host Host is the custom hostname, from the path. It is cleaned to its canonical form (lowercased, trailing dot dropped) before anything is looked up.
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ deleteSitesBySlugDomainsByHost: async (slug, host, options = {}) => {
73
+ // verify required parameter 'slug' is not null or undefined
74
+ (0, common_1.assertParamExists)('deleteSitesBySlugDomainsByHost', 'slug', slug);
75
+ // verify required parameter 'host' is not null or undefined
76
+ (0, common_1.assertParamExists)('deleteSitesBySlugDomainsByHost', 'host', host);
77
+ const localVarPath = `/v1/sites/{slug}/domains/{host}`
78
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)))
79
+ .replace(`{${"host"}}`, encodeURIComponent(String(host)));
80
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
81
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
82
+ let baseOptions;
83
+ if (configuration) {
84
+ baseOptions = configuration.baseOptions;
85
+ }
86
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
87
+ const localVarHeaderParameter = {};
88
+ const localVarQueryParameter = {};
89
+ // authentication bearer required
90
+ // http bearer authentication required
91
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
92
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
93
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
94
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
95
+ return {
96
+ url: (0, common_1.toPathString)(localVarUrlObj),
97
+ options: localVarRequestOptions,
98
+ };
99
+ },
32
100
  /**
33
101
  * Returns the org\'s deployed sites at the pretty URLs they serve at. It reads the SAME org-scoped store as /v1/projects and keeps only the projects that are actually `live`, so a draft or a failed build is not advertised as a site. Scope: a validated principal is required (403 without one) and the list is keyed by that principal\'s org.
34
102
  * @summary Returns the org\'s deployed sites at the pretty URLs they serve at.
@@ -46,6 +114,9 @@ const SitesApiAxiosParamCreator = function (configuration) {
46
114
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
47
115
  const localVarHeaderParameter = {};
48
116
  const localVarQueryParameter = {};
117
+ // authentication bearer required
118
+ // http bearer authentication required
119
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
49
120
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
50
121
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
51
122
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -75,6 +146,9 @@ const SitesApiAxiosParamCreator = function (configuration) {
75
146
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
76
147
  const localVarHeaderParameter = {};
77
148
  const localVarQueryParameter = {};
149
+ // authentication bearer required
150
+ // http bearer authentication required
151
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
78
152
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
79
153
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
80
154
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -104,6 +178,9 @@ const SitesApiAxiosParamCreator = function (configuration) {
104
178
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
105
179
  const localVarHeaderParameter = {};
106
180
  const localVarQueryParameter = {};
181
+ // authentication bearer required
182
+ // http bearer authentication required
183
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
107
184
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
108
185
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
109
186
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -137,6 +214,41 @@ const SitesApiAxiosParamCreator = function (configuration) {
137
214
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
138
215
  const localVarHeaderParameter = {};
139
216
  const localVarQueryParameter = {};
217
+ // authentication bearer required
218
+ // http bearer authentication required
219
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
220
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
221
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
222
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
223
+ return {
224
+ url: (0, common_1.toPathString)(localVarUrlObj),
225
+ options: localVarRequestOptions,
226
+ };
227
+ },
228
+ /**
229
+ * Returns every custom hostname this site holds: the live ones, plus any pending claim with the DNS records it still owes. `domains` is the routing answer — the hosts that are verified right now — while `claims` is the full panel, one row per host, each saying whether it is live or pending and, if pending, exactly what to publish. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
230
+ * @summary Returns every custom hostname this site holds: the live ones, plus any pending claim with the DNS records it still owes.
231
+ * @param {string} slug Slug is the project to act on, from the path. It is unique within the caller\&#39;s org and nowhere else, so another tenant\&#39;s slug is a 404.
232
+ * @param {*} [options] Override http request option.
233
+ * @throws {RequiredError}
234
+ */
235
+ getSitesBySlugDomains: async (slug, options = {}) => {
236
+ // verify required parameter 'slug' is not null or undefined
237
+ (0, common_1.assertParamExists)('getSitesBySlugDomains', 'slug', slug);
238
+ const localVarPath = `/v1/sites/{slug}/domains`
239
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
240
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
241
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
242
+ let baseOptions;
243
+ if (configuration) {
244
+ baseOptions = configuration.baseOptions;
245
+ }
246
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
247
+ const localVarHeaderParameter = {};
248
+ const localVarQueryParameter = {};
249
+ // authentication bearer required
250
+ // http bearer authentication required
251
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
140
252
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
141
253
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
142
254
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -166,9 +278,49 @@ const SitesApiAxiosParamCreator = function (configuration) {
166
278
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
167
279
  const localVarHeaderParameter = {};
168
280
  const localVarQueryParameter = {};
281
+ // authentication bearer required
282
+ // http bearer authentication required
283
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
284
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
285
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
286
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
287
+ return {
288
+ url: (0, common_1.toPathString)(localVarUrlObj),
289
+ options: localVarRequestOptions,
290
+ };
291
+ },
292
+ /**
293
+ * Changes a project\'s settings, and only the settings you send. Every field is optional and absent means \"leave it\": `name` may not be blanked, `framework` must stay a known build hint, and `cacheControl` is capped at 256 characters with no newlines (it becomes a response header). `visibility` flips public/private under the same rule as create — public is free, private needs a funded org. `upstream` and `license` are free-text credit for third-party work, and sending \"\" clears one. Changing anything reconciles the project\'s canonical git repo, so a visibility change reaches the source and not just the listing. `hidden`/`hiddenReason` are platform MODERATION and are ignored unless the caller is a platform admin; they remove a project from the public catalogue without touching the publisher\'s own visibility choice, so un-hiding restores exactly what they asked for. Scope: a validated principal is required (403 without one) and the project is resolved within that principal\'s org, so another tenant\'s slug is a 404.
294
+ * @summary Changes a project\'s settings, and only the settings you send.
295
+ * @param {string} slug Slug is the project to update, from the path. The URL is the addressing authority — a &#x60;slug&#x60; in the body cannot move the write to another project.
296
+ * @param {ProjectsUpdate} projectsUpdate
297
+ * @param {*} [options] Override http request option.
298
+ * @throws {RequiredError}
299
+ */
300
+ patchSitesBySlug: async (slug, projectsUpdate, options = {}) => {
301
+ // verify required parameter 'slug' is not null or undefined
302
+ (0, common_1.assertParamExists)('patchSitesBySlug', 'slug', slug);
303
+ // verify required parameter 'projectsUpdate' is not null or undefined
304
+ (0, common_1.assertParamExists)('patchSitesBySlug', 'projectsUpdate', projectsUpdate);
305
+ const localVarPath = `/v1/sites/{slug}`
306
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
307
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
308
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
309
+ let baseOptions;
310
+ if (configuration) {
311
+ baseOptions = configuration.baseOptions;
312
+ }
313
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
314
+ const localVarHeaderParameter = {};
315
+ const localVarQueryParameter = {};
316
+ // authentication bearer required
317
+ // http bearer authentication required
318
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
319
+ localVarHeaderParameter['Content-Type'] = 'application/json';
169
320
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
170
321
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
171
322
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
323
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(projectsUpdate, localVarRequestOptions, configuration);
172
324
  return {
173
325
  url: (0, common_1.toPathString)(localVarUrlObj),
174
326
  options: localVarRequestOptions,
@@ -194,6 +346,9 @@ const SitesApiAxiosParamCreator = function (configuration) {
194
346
  const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
195
347
  const localVarHeaderParameter = {};
196
348
  const localVarQueryParameter = {};
349
+ // authentication bearer required
350
+ // http bearer authentication required
351
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
197
352
  localVarHeaderParameter['Content-Type'] = 'application/json';
198
353
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
199
354
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -204,6 +359,41 @@ const SitesApiAxiosParamCreator = function (configuration) {
204
359
  options: localVarRequestOptions,
205
360
  };
206
361
  },
362
+ /**
363
+ * Takes a built site live at `https://<slug>.hanzo.app` in one call. The body is the site itself — a `zip` or `tar.gz` holding `index.html` at its root (or a single wrapper directory that does), sent raw or as a multipart file part. It is unpacked to the site\'s own storage prefix and served immediately, answering the finished deployment. It is bounded by the edge body limit (16 MiB by default), and that bound is the whole reason the other path exists: an oversized POST is refused by the server BEFORE any handler runs and surfaces as an opaque `400 Error when parsing request` that reads like a malformed payload rather than a size cap. A site too large for one archive opens a deployment with `POST /v1/sites/{slug}/deployments` instead and writes its files straight to storage against the scoped grant that answers with — no body limit, and no bytes through this API at all. Billing is fail-closed and fails FIRST: the hosting gate runs before anything is parsed or uploaded, so an unfunded org is 402 and an unreachable commerce is 503 with nothing written. The debit lands only on success — a failed upload is never billed and never flips the live site — and a redeploy answers the SAME URL, because slug and apex are stable. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404. Object storage must be configured (503); an archive that does not walk is a 400 and one over the size cap is a 413.
364
+ * @summary Upload a built site as one archive and serve it
365
+ * @param {string} slug
366
+ * @param {File} [body]
367
+ * @param {*} [options] Override http request option.
368
+ * @throws {RequiredError}
369
+ */
370
+ postSitesBySlugDeploy: async (slug, body, options = {}) => {
371
+ // verify required parameter 'slug' is not null or undefined
372
+ (0, common_1.assertParamExists)('postSitesBySlugDeploy', 'slug', slug);
373
+ const localVarPath = `/v1/sites/{slug}/deploy`
374
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
375
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
376
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
377
+ let baseOptions;
378
+ if (configuration) {
379
+ baseOptions = configuration.baseOptions;
380
+ }
381
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
382
+ const localVarHeaderParameter = {};
383
+ const localVarQueryParameter = {};
384
+ // authentication bearer required
385
+ // http bearer authentication required
386
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
387
+ localVarHeaderParameter['Content-Type'] = 'application/octet-stream';
388
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
389
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
390
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
391
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
392
+ return {
393
+ url: (0, common_1.toPathString)(localVarUrlObj),
394
+ options: localVarRequestOptions,
395
+ };
396
+ },
207
397
  /**
208
398
  * Opens a deployment and hands back a short-lived, prefix-scoped grant to write its bytes straight to object storage. Answers 202. This is the path for a site too large to send as one archive: a real export is hundreds of megabytes against a 16 MiB body limit, so the bytes deliberately do NOT pass through the API. The answer carries `bucket`, `prefix` and `upload` — a presigned POST policy that S3 itself confines to this site\'s prefix (starts-with `<org>/<slug>/`), expires in 30 minutes and bounds each object. So a build writes its own files and holds no standing bucket credential; there is nothing to rotate and nothing that leaks between tenants. Never guess the prefix — it is server-derived, and a guessed one lands where nothing is served. The deployment is `queued` until POST .../deployments/{id}/complete flips it live (or error). That completion is also where DELETION happens: the grant authorizes writes only, so a build cannot remove a file, and cloud reconciles the prefix against the `keys` manifest the completion carries. A build that dies before completing leaves the deployment queued rather than a half-live site. The grant is on the 202 and NOWHERE else — it is never stored and never replayed on a later read, so it cannot outlive the build it was minted for. A deployment whose grant could not be minted is still created and still completable; it simply carries no `upload`, and a caller with no other way to write should treat that as the failure it is. Billing: the hosting gate runs BEFORE anything is created (402 unfunded, 503 commerce unreachable), and the debit lands on the completion that goes live — never on a queued or failed build. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
209
399
  * @summary Opens a deployment and hands back a short-lived, prefix-scoped grant to write its bytes straight to object storage.
@@ -228,6 +418,9 @@ const SitesApiAxiosParamCreator = function (configuration) {
228
418
  const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
229
419
  const localVarHeaderParameter = {};
230
420
  const localVarQueryParameter = {};
421
+ // authentication bearer required
422
+ // http bearer authentication required
423
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
231
424
  localVarHeaderParameter['Content-Type'] = 'application/json';
232
425
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
233
426
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -266,6 +459,9 @@ const SitesApiAxiosParamCreator = function (configuration) {
266
459
  const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
267
460
  const localVarHeaderParameter = {};
268
461
  const localVarQueryParameter = {};
462
+ // authentication bearer required
463
+ // http bearer authentication required
464
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
269
465
  localVarHeaderParameter['Content-Type'] = 'application/json';
270
466
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
271
467
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -276,6 +472,79 @@ const SitesApiAxiosParamCreator = function (configuration) {
276
472
  options: localVarRequestOptions,
277
473
  };
278
474
  },
475
+ /**
476
+ * Attaches one or more CUSTOM public hostnames to this org\'s site. Binding a host you do not own would let you shadow it at the edge, so which outcome you get depends on whether ownership is already established: a SuperAdmin vouches (the operator manages the customer\'s DNS, so its bind IS the proof) and binds VERIFIED immediately; every other caller, INCLUDING an admin of the deployment\'s own brand org, has the host CLAIMED as pending and gets the DNS challenge back in `bound[].records`. A pending claim HOLDS the name so nobody else can take it, but it does not route until POST .../domains/{host}/verify proves control. A hostname we operate is refused to a non-vouched caller (those are assigned by the platform, never claimed), a host another site already holds is a 409, and a name the platform holds is a 400 for EVERY caller — a vouch skips the ownership proof, never the host table\'s own invariant. Claims and binds are idempotent for the same (org, slug), and re-claiming returns the SAME token rather than invalidating a record the customer has already published. The edge cache-tag is flushed afterwards so a newly-verified host serves the current build immediately. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
477
+ * @summary Attaches one or more CUSTOM public hostnames to this org\'s site.
478
+ * @param {string} slug Slug is the site the hosts attach to, from the path.
479
+ * @param {ProjectsDomainsBind} projectsDomainsBind
480
+ * @param {*} [options] Override http request option.
481
+ * @throws {RequiredError}
482
+ */
483
+ postSitesBySlugDomains: async (slug, projectsDomainsBind, options = {}) => {
484
+ // verify required parameter 'slug' is not null or undefined
485
+ (0, common_1.assertParamExists)('postSitesBySlugDomains', 'slug', slug);
486
+ // verify required parameter 'projectsDomainsBind' is not null or undefined
487
+ (0, common_1.assertParamExists)('postSitesBySlugDomains', 'projectsDomainsBind', projectsDomainsBind);
488
+ const localVarPath = `/v1/sites/{slug}/domains`
489
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
490
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
491
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
492
+ let baseOptions;
493
+ if (configuration) {
494
+ baseOptions = configuration.baseOptions;
495
+ }
496
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
497
+ const localVarHeaderParameter = {};
498
+ const localVarQueryParameter = {};
499
+ // authentication bearer required
500
+ // http bearer authentication required
501
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
502
+ localVarHeaderParameter['Content-Type'] = 'application/json';
503
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
504
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
505
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
506
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(projectsDomainsBind, localVarRequestOptions, configuration);
507
+ return {
508
+ url: (0, common_1.toPathString)(localVarUrlObj),
509
+ options: localVarRequestOptions,
510
+ };
511
+ },
512
+ /**
513
+ * Checks the DNS challenge for a pending custom hostname and, when it passes, promotes the host so it begins routing at the edge. It answers 200 either way, with the host\'s honest current state: verified once the TXT record is found, still pending — with the records to publish and the resolver\'s own explanation in `detail` — when it is not. A not-yet is not an error: the check ran, DNS simply has not propagated, and the customer retries. An already-verified host is returned unchanged without re-resolving. On a successful promotion the edge cache-tag is flushed, since the host routes as of that moment. Scope: a validated principal is required (403 without one). Both the site and the claim are resolved within that principal\'s org, so a host claimed by another tenant is \"not claimed by this site\".
514
+ * @summary Checks the DNS challenge for a pending custom hostname and, when it passes, promotes the host so it begins routing at the edge.
515
+ * @param {string} slug Slug is the project the host is attached to, from the path.
516
+ * @param {string} host Host is the custom hostname, from the path. It is cleaned to its canonical form (lowercased, trailing dot dropped) before anything is looked up.
517
+ * @param {*} [options] Override http request option.
518
+ * @throws {RequiredError}
519
+ */
520
+ postSitesBySlugDomainsByHostVerify: async (slug, host, options = {}) => {
521
+ // verify required parameter 'slug' is not null or undefined
522
+ (0, common_1.assertParamExists)('postSitesBySlugDomainsByHostVerify', 'slug', slug);
523
+ // verify required parameter 'host' is not null or undefined
524
+ (0, common_1.assertParamExists)('postSitesBySlugDomainsByHostVerify', 'host', host);
525
+ const localVarPath = `/v1/sites/{slug}/domains/{host}/verify`
526
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)))
527
+ .replace(`{${"host"}}`, encodeURIComponent(String(host)));
528
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
529
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
530
+ let baseOptions;
531
+ if (configuration) {
532
+ baseOptions = configuration.baseOptions;
533
+ }
534
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
535
+ const localVarHeaderParameter = {};
536
+ const localVarQueryParameter = {};
537
+ // authentication bearer required
538
+ // http bearer authentication required
539
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
540
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
541
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
542
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
543
+ return {
544
+ url: (0, common_1.toPathString)(localVarUrlObj),
545
+ options: localVarRequestOptions,
546
+ };
547
+ },
279
548
  /**
280
549
  * Promotes a build output into a new release AND goes live with it — create+activate in one call, which is the 99% path. It is exactly the two halves in sequence with no extra semantics, so the staged flow and the one-shot flow can never drift apart: `source` is promoted under the same org-relative rule and the same guards CreateRelease applies, then the site\'s pointer is flipped to it, the public host is claimed and the edge is purged. Idempotent on unchanged bytes — same manifest, same release id, no copy — and billed once, after the release exists. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
281
550
  * @summary Promotes a build output into a new release AND goes live with it — create+activate in one call, which is the 99% path.
@@ -300,6 +569,9 @@ const SitesApiAxiosParamCreator = function (configuration) {
300
569
  const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
301
570
  const localVarHeaderParameter = {};
302
571
  const localVarQueryParameter = {};
572
+ // authentication bearer required
573
+ // http bearer authentication required
574
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
303
575
  localVarHeaderParameter['Content-Type'] = 'application/json';
304
576
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
305
577
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -310,6 +582,38 @@ const SitesApiAxiosParamCreator = function (configuration) {
310
582
  options: localVarRequestOptions,
311
583
  };
312
584
  },
585
+ /**
586
+ * Flushes the site\'s edge cache without redeploying anything. It invalidates the edge cache-tag `site-<org>-<slug>` and stamps `lastPurgeAt` (unix seconds), and it NEVER writes or deletes the S3 origin — the live build keeps serving; only stale copies held at the edge drop, so the next request re-fetches the current artifact from origin. Idempotent, and an edge that is unconfigured or failing is not fatal: `lastPurgeAt` is still stamped and the answer is still the updated project. Scope: a validated principal is required (403 without one) and the project is resolved within that principal\'s org, so another tenant\'s slug is a 404.
587
+ * @summary Flushes the site\'s edge cache without redeploying anything.
588
+ * @param {string} slug Slug is the project to act on, from the path. It is unique within the caller\&#39;s org and nowhere else, so another tenant\&#39;s slug is a 404.
589
+ * @param {*} [options] Override http request option.
590
+ * @throws {RequiredError}
591
+ */
592
+ postSitesBySlugPurge: async (slug, options = {}) => {
593
+ // verify required parameter 'slug' is not null or undefined
594
+ (0, common_1.assertParamExists)('postSitesBySlugPurge', 'slug', slug);
595
+ const localVarPath = `/v1/sites/{slug}/purge`
596
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
597
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
598
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
599
+ let baseOptions;
600
+ if (configuration) {
601
+ baseOptions = configuration.baseOptions;
602
+ }
603
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
604
+ const localVarHeaderParameter = {};
605
+ const localVarQueryParameter = {};
606
+ // authentication bearer required
607
+ // http bearer authentication required
608
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
609
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
610
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
611
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
612
+ return {
613
+ url: (0, common_1.toPathString)(localVarUrlObj),
614
+ options: localVarRequestOptions,
615
+ };
616
+ },
313
617
  /**
314
618
  * Promotes a build output into a new immutable release WITHOUT serving it — the staged half of publishing, for when you want to check a release before it goes live. Answers 201. `source` is a path RELATIVE to your org\'s own storage space: the org segment is prepended server-side from the validated principal and the bucket is never in the request at all, so a server-side copy can only ever reach bytes your org already owns. The prefix is listed, content-addressed (SHA-256 over the sorted manifest of key/size/etag), and copied into an immutable `<org>/.releases/<slug>/<id>/` prefix; the row is written LAST, so a partial copy is unreachable rather than merely unlikely. Re-publishing an unchanged source is idempotent BY CONSTRUCTION — same bytes, same id, no copy at all. The source must contain index.html at its root and stay under the same file and byte caps an artifact deploy does (413 past them); a source that changes mid-copy is a 409 and the release is abandoned. Each publish also reclaims releases past the retention depth, so a site\'s release space stays bounded. This is the billable half — the hosting gate runs before any copy, and the debit lands once the release exists. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
315
619
  * @summary Promotes a build output into a new immutable release WITHOUT serving it — the staged half of publishing, for when you want to check a release before it goes live.
@@ -334,6 +638,9 @@ const SitesApiAxiosParamCreator = function (configuration) {
334
638
  const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
335
639
  const localVarHeaderParameter = {};
336
640
  const localVarQueryParameter = {};
641
+ // authentication bearer required
642
+ // http bearer authentication required
643
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
337
644
  localVarHeaderParameter['Content-Type'] = 'application/json';
338
645
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
339
646
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -369,6 +676,9 @@ const SitesApiAxiosParamCreator = function (configuration) {
369
676
  const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
370
677
  const localVarHeaderParameter = {};
371
678
  const localVarQueryParameter = {};
679
+ // authentication bearer required
680
+ // http bearer authentication required
681
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
372
682
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
373
683
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
374
684
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -397,6 +707,9 @@ const SitesApiAxiosParamCreator = function (configuration) {
397
707
  const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
398
708
  const localVarHeaderParameter = {};
399
709
  const localVarQueryParameter = {};
710
+ // authentication bearer required
711
+ // http bearer authentication required
712
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
400
713
  localVarHeaderParameter['Content-Type'] = 'application/json';
401
714
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
402
715
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -407,6 +720,39 @@ const SitesApiAxiosParamCreator = function (configuration) {
407
720
  options: localVarRequestOptions,
408
721
  };
409
722
  },
723
+ /**
724
+ * Creates a project seeded from a PUBLISHED EXAMPLE — either a starter-kit template from the ONE embedded gallery catalog, or any live project on the platform (an example a seeded creator published, or another org\'s app serving at <slug>.hanzo.app). Answers 201 with the new project. `slug` names the PARENT to fork and is required. Templates resolve first, and the caller org\'s own private templates ahead of the public gallery, so a curated template slug keeps meaning the same thing even if someone later publishes a live project under it; `variant` picks that template\'s format/page/theme. If no template matches, the slug resolves to the UNIQUE live project that owns it across all orgs — the same resolution the site edge uses to serve <slug>.hanzo.app, so what you can browse is what you can fork. `name` and `target` override the derived project name and slug; everything else is inherited from the parent. A live parent contributes its REPO, so the child builds from the same source — the parent\'s deployed bytes are never copied, because releases are per-tenant by design and the fork publishes its own. The parent it actually resolved is stamped on the child as `forkedFrom`, so attribution is a fact recorded at fork time rather than a claim reconstructed later. It funnels through the SAME create path POST /v1/projects uses, so slug validation, org scoping, ID minting and the 409 on a slug the caller\'s own org already uses are identical. Scope: a validated principal is required (403 without one) and the child is created in THAT principal\'s org.
725
+ * @summary Creates a project seeded from a PUBLISHED EXAMPLE — either a starter-kit template from the ONE embedded gallery catalog, or any live project on the platform (an example a seeded creator published, or another org\'s app serving at <slug>.hanzo.app).
726
+ * @param {ProjectsFork} projectsFork
727
+ * @param {*} [options] Override http request option.
728
+ * @throws {RequiredError}
729
+ */
730
+ postSitesFork: async (projectsFork, options = {}) => {
731
+ // verify required parameter 'projectsFork' is not null or undefined
732
+ (0, common_1.assertParamExists)('postSitesFork', 'projectsFork', projectsFork);
733
+ const localVarPath = `/v1/sites/fork`;
734
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
735
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
736
+ let baseOptions;
737
+ if (configuration) {
738
+ baseOptions = configuration.baseOptions;
739
+ }
740
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
741
+ const localVarHeaderParameter = {};
742
+ const localVarQueryParameter = {};
743
+ // authentication bearer required
744
+ // http bearer authentication required
745
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
746
+ localVarHeaderParameter['Content-Type'] = 'application/json';
747
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
748
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
749
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
750
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(projectsFork, localVarRequestOptions, configuration);
751
+ return {
752
+ url: (0, common_1.toPathString)(localVarUrlObj),
753
+ options: localVarRequestOptions,
754
+ };
755
+ },
410
756
  };
411
757
  };
412
758
  exports.SitesApiAxiosParamCreator = SitesApiAxiosParamCreator;
@@ -417,6 +763,33 @@ exports.SitesApiAxiosParamCreator = SitesApiAxiosParamCreator;
417
763
  const SitesApiFp = function (configuration) {
418
764
  const localVarAxiosParamCreator = (0, exports.SitesApiAxiosParamCreator)(configuration);
419
765
  return {
766
+ /**
767
+ * Deletes a project and takes its site off the internet. The metadata delete is authoritative and everything after it is best-effort, in this order: the public `<slug>` subdomain binding is released so the slug is free to reclaim, the release rows are dropped so a reclaimed slug never inherits the previous owner\'s rollback menu, the git source is retired on every copy it has so a reclaimed slug never adopts a repository left behind (visibility.go), the S3 origin is purged under BOTH `<org>/<slug>/` and the site\'s sibling release space, and the edge cache-tag is flushed. A failure in any of those is logged and the delete still answers 204 — resurrecting a project because a purge missed would be worse than a leaked prefix. Scope: a validated principal is required (403 without one) and the project is resolved within that principal\'s org, so another tenant\'s slug is a 404 and nothing of theirs is touched.
768
+ * @summary Deletes a project and takes its site off the internet.
769
+ * @param {string} slug Slug is the project to act on, from the path. It is unique within the caller\&#39;s org and nowhere else, so another tenant\&#39;s slug is a 404.
770
+ * @param {*} [options] Override http request option.
771
+ * @throws {RequiredError}
772
+ */
773
+ async deleteSitesBySlug(slug, options) {
774
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSitesBySlug(slug, options);
775
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
776
+ const localVarOperationServerBasePath = base_1.operationServerMap['SitesApi.deleteSitesBySlug']?.[localVarOperationServerIndex]?.url;
777
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
778
+ },
779
+ /**
780
+ * Gives a custom hostname back, so the name is free to reuse. A claim is FIRST-COME and global, so an add-only surface was not ownership but a leak: a customer who mistyped a domain, or claimed one they later moved elsewhere, could neither reuse it nor let anyone else. This is the third writer that closes it. The release is scoped to (host, org, slug), so it can only ever drop THIS tenant\'s own claim, and it is IDEMPOTENT: releasing a host we do not hold is a clean 204, never a 404 that would let a caller probe which hosts other tenants hold. The edge cache-tag is flushed, since the host stops routing here. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
781
+ * @summary Gives a custom hostname back, so the name is free to reuse.
782
+ * @param {string} slug Slug is the project the host is attached to, from the path.
783
+ * @param {string} host Host is the custom hostname, from the path. It is cleaned to its canonical form (lowercased, trailing dot dropped) before anything is looked up.
784
+ * @param {*} [options] Override http request option.
785
+ * @throws {RequiredError}
786
+ */
787
+ async deleteSitesBySlugDomainsByHost(slug, host, options) {
788
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSitesBySlugDomainsByHost(slug, host, options);
789
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
790
+ const localVarOperationServerBasePath = base_1.operationServerMap['SitesApi.deleteSitesBySlugDomainsByHost']?.[localVarOperationServerIndex]?.url;
791
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
792
+ },
420
793
  /**
421
794
  * Returns the org\'s deployed sites at the pretty URLs they serve at. It reads the SAME org-scoped store as /v1/projects and keeps only the projects that are actually `live`, so a draft or a failed build is not advertised as a site. Scope: a validated principal is required (403 without one) and the list is keyed by that principal\'s org.
422
795
  * @summary Returns the org\'s deployed sites at the pretty URLs they serve at.
@@ -469,6 +842,19 @@ const SitesApiFp = function (configuration) {
469
842
  const localVarOperationServerBasePath = base_1.operationServerMap['SitesApi.getSitesBySlugDeploymentsById']?.[localVarOperationServerIndex]?.url;
470
843
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
471
844
  },
845
+ /**
846
+ * Returns every custom hostname this site holds: the live ones, plus any pending claim with the DNS records it still owes. `domains` is the routing answer — the hosts that are verified right now — while `claims` is the full panel, one row per host, each saying whether it is live or pending and, if pending, exactly what to publish. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
847
+ * @summary Returns every custom hostname this site holds: the live ones, plus any pending claim with the DNS records it still owes.
848
+ * @param {string} slug Slug is the project to act on, from the path. It is unique within the caller\&#39;s org and nowhere else, so another tenant\&#39;s slug is a 404.
849
+ * @param {*} [options] Override http request option.
850
+ * @throws {RequiredError}
851
+ */
852
+ async getSitesBySlugDomains(slug, options) {
853
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSitesBySlugDomains(slug, options);
854
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
855
+ const localVarOperationServerBasePath = base_1.operationServerMap['SitesApi.getSitesBySlugDomains']?.[localVarOperationServerIndex]?.url;
856
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
857
+ },
472
858
  /**
473
859
  * Returns a site\'s releases newest-first, marking the active one — the rollback menu. Each row carries the release id to activate, the source it was promoted from, its object and byte counts, and the URL if it is the one serving. Retention bounds the list, so it is the set that can actually still be rolled back to, not a full history. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
474
860
  * @summary Returns a site\'s releases newest-first, marking the active one — the rollback menu.
@@ -482,6 +868,20 @@ const SitesApiFp = function (configuration) {
482
868
  const localVarOperationServerBasePath = base_1.operationServerMap['SitesApi.getSitesBySlugReleases']?.[localVarOperationServerIndex]?.url;
483
869
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
484
870
  },
871
+ /**
872
+ * Changes a project\'s settings, and only the settings you send. Every field is optional and absent means \"leave it\": `name` may not be blanked, `framework` must stay a known build hint, and `cacheControl` is capped at 256 characters with no newlines (it becomes a response header). `visibility` flips public/private under the same rule as create — public is free, private needs a funded org. `upstream` and `license` are free-text credit for third-party work, and sending \"\" clears one. Changing anything reconciles the project\'s canonical git repo, so a visibility change reaches the source and not just the listing. `hidden`/`hiddenReason` are platform MODERATION and are ignored unless the caller is a platform admin; they remove a project from the public catalogue without touching the publisher\'s own visibility choice, so un-hiding restores exactly what they asked for. Scope: a validated principal is required (403 without one) and the project is resolved within that principal\'s org, so another tenant\'s slug is a 404.
873
+ * @summary Changes a project\'s settings, and only the settings you send.
874
+ * @param {string} slug Slug is the project to update, from the path. The URL is the addressing authority — a &#x60;slug&#x60; in the body cannot move the write to another project.
875
+ * @param {ProjectsUpdate} projectsUpdate
876
+ * @param {*} [options] Override http request option.
877
+ * @throws {RequiredError}
878
+ */
879
+ async patchSitesBySlug(slug, projectsUpdate, options) {
880
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchSitesBySlug(slug, projectsUpdate, options);
881
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
882
+ const localVarOperationServerBasePath = base_1.operationServerMap['SitesApi.patchSitesBySlug']?.[localVarOperationServerIndex]?.url;
883
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
884
+ },
485
885
  /**
486
886
  * Generates a self-contained, mobile-responsive static site from a natural-language brief and deploys it live in one call. One inference call turns `brief` (capped at 8 KiB) into a file manifest, which then runs through the SAME validation, guards and viewport guarantee as a hand-supplied manifest: index.html required at the root, absolute and traversal paths rejected, per-file and total size capped, and a mobile viewport meta tag injected into every HTML document that lacks one. The generated site is fully inline — no CDNs, no remote fonts or images — so it is CSP-safe. `slug` and `name` are optional: the model\'s own title is preferred, and a slug is derived or minted when none is given. It writes into the SAME org-scoped store as /v1/projects — it ensures a project (framework `static`) for the resolved slug and records a deployment — so this is a second door onto one publish pipeline, not a second copy of project state. Ordering is the billing contract: the hosting gate runs BEFORE any inference or upload, so a denied gate generates and uploads NOTHING, and the debit lands once, only after the site is actually live. The tokens are billed to the same ledger the hosting fee was reserved against. Answers 503 when object storage or inference is unconfigured, and 400 when the model\'s manifest cannot be parsed or fails the guards. Scope: a validated principal is required (403 without one) and the site is published into THAT principal\'s org.
487
887
  * @summary Generates a self-contained, mobile-responsive static site from a natural-language brief and deploys it live in one call.
@@ -495,6 +895,20 @@ const SitesApiFp = function (configuration) {
495
895
  const localVarOperationServerBasePath = base_1.operationServerMap['SitesApi.postSites']?.[localVarOperationServerIndex]?.url;
496
896
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
497
897
  },
898
+ /**
899
+ * Takes a built site live at `https://<slug>.hanzo.app` in one call. The body is the site itself — a `zip` or `tar.gz` holding `index.html` at its root (or a single wrapper directory that does), sent raw or as a multipart file part. It is unpacked to the site\'s own storage prefix and served immediately, answering the finished deployment. It is bounded by the edge body limit (16 MiB by default), and that bound is the whole reason the other path exists: an oversized POST is refused by the server BEFORE any handler runs and surfaces as an opaque `400 Error when parsing request` that reads like a malformed payload rather than a size cap. A site too large for one archive opens a deployment with `POST /v1/sites/{slug}/deployments` instead and writes its files straight to storage against the scoped grant that answers with — no body limit, and no bytes through this API at all. Billing is fail-closed and fails FIRST: the hosting gate runs before anything is parsed or uploaded, so an unfunded org is 402 and an unreachable commerce is 503 with nothing written. The debit lands only on success — a failed upload is never billed and never flips the live site — and a redeploy answers the SAME URL, because slug and apex are stable. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404. Object storage must be configured (503); an archive that does not walk is a 400 and one over the size cap is a 413.
900
+ * @summary Upload a built site as one archive and serve it
901
+ * @param {string} slug
902
+ * @param {File} [body]
903
+ * @param {*} [options] Override http request option.
904
+ * @throws {RequiredError}
905
+ */
906
+ async postSitesBySlugDeploy(slug, body, options) {
907
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postSitesBySlugDeploy(slug, body, options);
908
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
909
+ const localVarOperationServerBasePath = base_1.operationServerMap['SitesApi.postSitesBySlugDeploy']?.[localVarOperationServerIndex]?.url;
910
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
911
+ },
498
912
  /**
499
913
  * Opens a deployment and hands back a short-lived, prefix-scoped grant to write its bytes straight to object storage. Answers 202. This is the path for a site too large to send as one archive: a real export is hundreds of megabytes against a 16 MiB body limit, so the bytes deliberately do NOT pass through the API. The answer carries `bucket`, `prefix` and `upload` — a presigned POST policy that S3 itself confines to this site\'s prefix (starts-with `<org>/<slug>/`), expires in 30 minutes and bounds each object. So a build writes its own files and holds no standing bucket credential; there is nothing to rotate and nothing that leaks between tenants. Never guess the prefix — it is server-derived, and a guessed one lands where nothing is served. The deployment is `queued` until POST .../deployments/{id}/complete flips it live (or error). That completion is also where DELETION happens: the grant authorizes writes only, so a build cannot remove a file, and cloud reconciles the prefix against the `keys` manifest the completion carries. A build that dies before completing leaves the deployment queued rather than a half-live site. The grant is on the 202 and NOWHERE else — it is never stored and never replayed on a later read, so it cannot outlive the build it was minted for. A deployment whose grant could not be minted is still created and still completable; it simply carries no `upload`, and a caller with no other way to write should treat that as the failure it is. Billing: the hosting gate runs BEFORE anything is created (402 unfunded, 503 commerce unreachable), and the debit lands on the completion that goes live — never on a queued or failed build. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
500
914
  * @summary Opens a deployment and hands back a short-lived, prefix-scoped grant to write its bytes straight to object storage.
@@ -524,6 +938,34 @@ const SitesApiFp = function (configuration) {
524
938
  const localVarOperationServerBasePath = base_1.operationServerMap['SitesApi.postSitesBySlugDeploymentsByIdComplete']?.[localVarOperationServerIndex]?.url;
525
939
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
526
940
  },
941
+ /**
942
+ * Attaches one or more CUSTOM public hostnames to this org\'s site. Binding a host you do not own would let you shadow it at the edge, so which outcome you get depends on whether ownership is already established: a SuperAdmin vouches (the operator manages the customer\'s DNS, so its bind IS the proof) and binds VERIFIED immediately; every other caller, INCLUDING an admin of the deployment\'s own brand org, has the host CLAIMED as pending and gets the DNS challenge back in `bound[].records`. A pending claim HOLDS the name so nobody else can take it, but it does not route until POST .../domains/{host}/verify proves control. A hostname we operate is refused to a non-vouched caller (those are assigned by the platform, never claimed), a host another site already holds is a 409, and a name the platform holds is a 400 for EVERY caller — a vouch skips the ownership proof, never the host table\'s own invariant. Claims and binds are idempotent for the same (org, slug), and re-claiming returns the SAME token rather than invalidating a record the customer has already published. The edge cache-tag is flushed afterwards so a newly-verified host serves the current build immediately. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
943
+ * @summary Attaches one or more CUSTOM public hostnames to this org\'s site.
944
+ * @param {string} slug Slug is the site the hosts attach to, from the path.
945
+ * @param {ProjectsDomainsBind} projectsDomainsBind
946
+ * @param {*} [options] Override http request option.
947
+ * @throws {RequiredError}
948
+ */
949
+ async postSitesBySlugDomains(slug, projectsDomainsBind, options) {
950
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postSitesBySlugDomains(slug, projectsDomainsBind, options);
951
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
952
+ const localVarOperationServerBasePath = base_1.operationServerMap['SitesApi.postSitesBySlugDomains']?.[localVarOperationServerIndex]?.url;
953
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
954
+ },
955
+ /**
956
+ * Checks the DNS challenge for a pending custom hostname and, when it passes, promotes the host so it begins routing at the edge. It answers 200 either way, with the host\'s honest current state: verified once the TXT record is found, still pending — with the records to publish and the resolver\'s own explanation in `detail` — when it is not. A not-yet is not an error: the check ran, DNS simply has not propagated, and the customer retries. An already-verified host is returned unchanged without re-resolving. On a successful promotion the edge cache-tag is flushed, since the host routes as of that moment. Scope: a validated principal is required (403 without one). Both the site and the claim are resolved within that principal\'s org, so a host claimed by another tenant is \"not claimed by this site\".
957
+ * @summary Checks the DNS challenge for a pending custom hostname and, when it passes, promotes the host so it begins routing at the edge.
958
+ * @param {string} slug Slug is the project the host is attached to, from the path.
959
+ * @param {string} host Host is the custom hostname, from the path. It is cleaned to its canonical form (lowercased, trailing dot dropped) before anything is looked up.
960
+ * @param {*} [options] Override http request option.
961
+ * @throws {RequiredError}
962
+ */
963
+ async postSitesBySlugDomainsByHostVerify(slug, host, options) {
964
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postSitesBySlugDomainsByHostVerify(slug, host, options);
965
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
966
+ const localVarOperationServerBasePath = base_1.operationServerMap['SitesApi.postSitesBySlugDomainsByHostVerify']?.[localVarOperationServerIndex]?.url;
967
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
968
+ },
527
969
  /**
528
970
  * Promotes a build output into a new release AND goes live with it — create+activate in one call, which is the 99% path. It is exactly the two halves in sequence with no extra semantics, so the staged flow and the one-shot flow can never drift apart: `source` is promoted under the same org-relative rule and the same guards CreateRelease applies, then the site\'s pointer is flipped to it, the public host is claimed and the edge is purged. Idempotent on unchanged bytes — same manifest, same release id, no copy — and billed once, after the release exists. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
529
971
  * @summary Promotes a build output into a new release AND goes live with it — create+activate in one call, which is the 99% path.
@@ -538,6 +980,19 @@ const SitesApiFp = function (configuration) {
538
980
  const localVarOperationServerBasePath = base_1.operationServerMap['SitesApi.postSitesBySlugPublish']?.[localVarOperationServerIndex]?.url;
539
981
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
540
982
  },
983
+ /**
984
+ * Flushes the site\'s edge cache without redeploying anything. It invalidates the edge cache-tag `site-<org>-<slug>` and stamps `lastPurgeAt` (unix seconds), and it NEVER writes or deletes the S3 origin — the live build keeps serving; only stale copies held at the edge drop, so the next request re-fetches the current artifact from origin. Idempotent, and an edge that is unconfigured or failing is not fatal: `lastPurgeAt` is still stamped and the answer is still the updated project. Scope: a validated principal is required (403 without one) and the project is resolved within that principal\'s org, so another tenant\'s slug is a 404.
985
+ * @summary Flushes the site\'s edge cache without redeploying anything.
986
+ * @param {string} slug Slug is the project to act on, from the path. It is unique within the caller\&#39;s org and nowhere else, so another tenant\&#39;s slug is a 404.
987
+ * @param {*} [options] Override http request option.
988
+ * @throws {RequiredError}
989
+ */
990
+ async postSitesBySlugPurge(slug, options) {
991
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postSitesBySlugPurge(slug, options);
992
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
993
+ const localVarOperationServerBasePath = base_1.operationServerMap['SitesApi.postSitesBySlugPurge']?.[localVarOperationServerIndex]?.url;
994
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
995
+ },
541
996
  /**
542
997
  * Promotes a build output into a new immutable release WITHOUT serving it — the staged half of publishing, for when you want to check a release before it goes live. Answers 201. `source` is a path RELATIVE to your org\'s own storage space: the org segment is prepended server-side from the validated principal and the bucket is never in the request at all, so a server-side copy can only ever reach bytes your org already owns. The prefix is listed, content-addressed (SHA-256 over the sorted manifest of key/size/etag), and copied into an immutable `<org>/.releases/<slug>/<id>/` prefix; the row is written LAST, so a partial copy is unreachable rather than merely unlikely. Re-publishing an unchanged source is idempotent BY CONSTRUCTION — same bytes, same id, no copy at all. The source must contain index.html at its root and stay under the same file and byte caps an artifact deploy does (413 past them); a source that changes mid-copy is a 409 and the release is abandoned. Each publish also reclaims releases past the retention depth, so a site\'s release space stays bounded. This is the billable half — the hosting gate runs before any copy, and the debit lands once the release exists. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
543
998
  * @summary Promotes a build output into a new immutable release WITHOUT serving it — the staged half of publishing, for when you want to check a release before it goes live.
@@ -579,6 +1034,19 @@ const SitesApiFp = function (configuration) {
579
1034
  const localVarOperationServerBasePath = base_1.operationServerMap['SitesApi.postSitesDeploy']?.[localVarOperationServerIndex]?.url;
580
1035
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
581
1036
  },
1037
+ /**
1038
+ * Creates a project seeded from a PUBLISHED EXAMPLE — either a starter-kit template from the ONE embedded gallery catalog, or any live project on the platform (an example a seeded creator published, or another org\'s app serving at <slug>.hanzo.app). Answers 201 with the new project. `slug` names the PARENT to fork and is required. Templates resolve first, and the caller org\'s own private templates ahead of the public gallery, so a curated template slug keeps meaning the same thing even if someone later publishes a live project under it; `variant` picks that template\'s format/page/theme. If no template matches, the slug resolves to the UNIQUE live project that owns it across all orgs — the same resolution the site edge uses to serve <slug>.hanzo.app, so what you can browse is what you can fork. `name` and `target` override the derived project name and slug; everything else is inherited from the parent. A live parent contributes its REPO, so the child builds from the same source — the parent\'s deployed bytes are never copied, because releases are per-tenant by design and the fork publishes its own. The parent it actually resolved is stamped on the child as `forkedFrom`, so attribution is a fact recorded at fork time rather than a claim reconstructed later. It funnels through the SAME create path POST /v1/projects uses, so slug validation, org scoping, ID minting and the 409 on a slug the caller\'s own org already uses are identical. Scope: a validated principal is required (403 without one) and the child is created in THAT principal\'s org.
1039
+ * @summary Creates a project seeded from a PUBLISHED EXAMPLE — either a starter-kit template from the ONE embedded gallery catalog, or any live project on the platform (an example a seeded creator published, or another org\'s app serving at <slug>.hanzo.app).
1040
+ * @param {ProjectsFork} projectsFork
1041
+ * @param {*} [options] Override http request option.
1042
+ * @throws {RequiredError}
1043
+ */
1044
+ async postSitesFork(projectsFork, options) {
1045
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postSitesFork(projectsFork, options);
1046
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1047
+ const localVarOperationServerBasePath = base_1.operationServerMap['SitesApi.postSitesFork']?.[localVarOperationServerIndex]?.url;
1048
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1049
+ },
582
1050
  };
583
1051
  };
584
1052
  exports.SitesApiFp = SitesApiFp;
@@ -589,6 +1057,26 @@ exports.SitesApiFp = SitesApiFp;
589
1057
  const SitesApiFactory = function (configuration, basePath, axios) {
590
1058
  const localVarFp = (0, exports.SitesApiFp)(configuration);
591
1059
  return {
1060
+ /**
1061
+ * Deletes a project and takes its site off the internet. The metadata delete is authoritative and everything after it is best-effort, in this order: the public `<slug>` subdomain binding is released so the slug is free to reclaim, the release rows are dropped so a reclaimed slug never inherits the previous owner\'s rollback menu, the git source is retired on every copy it has so a reclaimed slug never adopts a repository left behind (visibility.go), the S3 origin is purged under BOTH `<org>/<slug>/` and the site\'s sibling release space, and the edge cache-tag is flushed. A failure in any of those is logged and the delete still answers 204 — resurrecting a project because a purge missed would be worse than a leaked prefix. Scope: a validated principal is required (403 without one) and the project is resolved within that principal\'s org, so another tenant\'s slug is a 404 and nothing of theirs is touched.
1062
+ * @summary Deletes a project and takes its site off the internet.
1063
+ * @param {SitesApiDeleteSitesBySlugRequest} requestParameters Request parameters.
1064
+ * @param {*} [options] Override http request option.
1065
+ * @throws {RequiredError}
1066
+ */
1067
+ deleteSitesBySlug(requestParameters, options) {
1068
+ return localVarFp.deleteSitesBySlug(requestParameters.slug, options).then((request) => request(axios, basePath));
1069
+ },
1070
+ /**
1071
+ * Gives a custom hostname back, so the name is free to reuse. A claim is FIRST-COME and global, so an add-only surface was not ownership but a leak: a customer who mistyped a domain, or claimed one they later moved elsewhere, could neither reuse it nor let anyone else. This is the third writer that closes it. The release is scoped to (host, org, slug), so it can only ever drop THIS tenant\'s own claim, and it is IDEMPOTENT: releasing a host we do not hold is a clean 204, never a 404 that would let a caller probe which hosts other tenants hold. The edge cache-tag is flushed, since the host stops routing here. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
1072
+ * @summary Gives a custom hostname back, so the name is free to reuse.
1073
+ * @param {SitesApiDeleteSitesBySlugDomainsByHostRequest} requestParameters Request parameters.
1074
+ * @param {*} [options] Override http request option.
1075
+ * @throws {RequiredError}
1076
+ */
1077
+ deleteSitesBySlugDomainsByHost(requestParameters, options) {
1078
+ return localVarFp.deleteSitesBySlugDomainsByHost(requestParameters.slug, requestParameters.host, options).then((request) => request(axios, basePath));
1079
+ },
592
1080
  /**
593
1081
  * Returns the org\'s deployed sites at the pretty URLs they serve at. It reads the SAME org-scoped store as /v1/projects and keeps only the projects that are actually `live`, so a draft or a failed build is not advertised as a site. Scope: a validated principal is required (403 without one) and the list is keyed by that principal\'s org.
594
1082
  * @summary Returns the org\'s deployed sites at the pretty URLs they serve at.
@@ -628,6 +1116,16 @@ const SitesApiFactory = function (configuration, basePath, axios) {
628
1116
  getSitesBySlugDeploymentsById(requestParameters, options) {
629
1117
  return localVarFp.getSitesBySlugDeploymentsById(requestParameters.slug, requestParameters.id, options).then((request) => request(axios, basePath));
630
1118
  },
1119
+ /**
1120
+ * Returns every custom hostname this site holds: the live ones, plus any pending claim with the DNS records it still owes. `domains` is the routing answer — the hosts that are verified right now — while `claims` is the full panel, one row per host, each saying whether it is live or pending and, if pending, exactly what to publish. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
1121
+ * @summary Returns every custom hostname this site holds: the live ones, plus any pending claim with the DNS records it still owes.
1122
+ * @param {SitesApiGetSitesBySlugDomainsRequest} requestParameters Request parameters.
1123
+ * @param {*} [options] Override http request option.
1124
+ * @throws {RequiredError}
1125
+ */
1126
+ getSitesBySlugDomains(requestParameters, options) {
1127
+ return localVarFp.getSitesBySlugDomains(requestParameters.slug, options).then((request) => request(axios, basePath));
1128
+ },
631
1129
  /**
632
1130
  * Returns a site\'s releases newest-first, marking the active one — the rollback menu. Each row carries the release id to activate, the source it was promoted from, its object and byte counts, and the URL if it is the one serving. Retention bounds the list, so it is the set that can actually still be rolled back to, not a full history. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
633
1131
  * @summary Returns a site\'s releases newest-first, marking the active one — the rollback menu.
@@ -638,6 +1136,16 @@ const SitesApiFactory = function (configuration, basePath, axios) {
638
1136
  getSitesBySlugReleases(requestParameters, options) {
639
1137
  return localVarFp.getSitesBySlugReleases(requestParameters.slug, options).then((request) => request(axios, basePath));
640
1138
  },
1139
+ /**
1140
+ * Changes a project\'s settings, and only the settings you send. Every field is optional and absent means \"leave it\": `name` may not be blanked, `framework` must stay a known build hint, and `cacheControl` is capped at 256 characters with no newlines (it becomes a response header). `visibility` flips public/private under the same rule as create — public is free, private needs a funded org. `upstream` and `license` are free-text credit for third-party work, and sending \"\" clears one. Changing anything reconciles the project\'s canonical git repo, so a visibility change reaches the source and not just the listing. `hidden`/`hiddenReason` are platform MODERATION and are ignored unless the caller is a platform admin; they remove a project from the public catalogue without touching the publisher\'s own visibility choice, so un-hiding restores exactly what they asked for. Scope: a validated principal is required (403 without one) and the project is resolved within that principal\'s org, so another tenant\'s slug is a 404.
1141
+ * @summary Changes a project\'s settings, and only the settings you send.
1142
+ * @param {SitesApiPatchSitesBySlugRequest} requestParameters Request parameters.
1143
+ * @param {*} [options] Override http request option.
1144
+ * @throws {RequiredError}
1145
+ */
1146
+ patchSitesBySlug(requestParameters, options) {
1147
+ return localVarFp.patchSitesBySlug(requestParameters.slug, requestParameters.projectsUpdate, options).then((request) => request(axios, basePath));
1148
+ },
641
1149
  /**
642
1150
  * Generates a self-contained, mobile-responsive static site from a natural-language brief and deploys it live in one call. One inference call turns `brief` (capped at 8 KiB) into a file manifest, which then runs through the SAME validation, guards and viewport guarantee as a hand-supplied manifest: index.html required at the root, absolute and traversal paths rejected, per-file and total size capped, and a mobile viewport meta tag injected into every HTML document that lacks one. The generated site is fully inline — no CDNs, no remote fonts or images — so it is CSP-safe. `slug` and `name` are optional: the model\'s own title is preferred, and a slug is derived or minted when none is given. It writes into the SAME org-scoped store as /v1/projects — it ensures a project (framework `static`) for the resolved slug and records a deployment — so this is a second door onto one publish pipeline, not a second copy of project state. Ordering is the billing contract: the hosting gate runs BEFORE any inference or upload, so a denied gate generates and uploads NOTHING, and the debit lands once, only after the site is actually live. The tokens are billed to the same ledger the hosting fee was reserved against. Answers 503 when object storage or inference is unconfigured, and 400 when the model\'s manifest cannot be parsed or fails the guards. Scope: a validated principal is required (403 without one) and the site is published into THAT principal\'s org.
643
1151
  * @summary Generates a self-contained, mobile-responsive static site from a natural-language brief and deploys it live in one call.
@@ -648,6 +1156,16 @@ const SitesApiFactory = function (configuration, basePath, axios) {
648
1156
  postSites(requestParameters, options) {
649
1157
  return localVarFp.postSites(requestParameters.projectsBuildSite, options).then((request) => request(axios, basePath));
650
1158
  },
1159
+ /**
1160
+ * Takes a built site live at `https://<slug>.hanzo.app` in one call. The body is the site itself — a `zip` or `tar.gz` holding `index.html` at its root (or a single wrapper directory that does), sent raw or as a multipart file part. It is unpacked to the site\'s own storage prefix and served immediately, answering the finished deployment. It is bounded by the edge body limit (16 MiB by default), and that bound is the whole reason the other path exists: an oversized POST is refused by the server BEFORE any handler runs and surfaces as an opaque `400 Error when parsing request` that reads like a malformed payload rather than a size cap. A site too large for one archive opens a deployment with `POST /v1/sites/{slug}/deployments` instead and writes its files straight to storage against the scoped grant that answers with — no body limit, and no bytes through this API at all. Billing is fail-closed and fails FIRST: the hosting gate runs before anything is parsed or uploaded, so an unfunded org is 402 and an unreachable commerce is 503 with nothing written. The debit lands only on success — a failed upload is never billed and never flips the live site — and a redeploy answers the SAME URL, because slug and apex are stable. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404. Object storage must be configured (503); an archive that does not walk is a 400 and one over the size cap is a 413.
1161
+ * @summary Upload a built site as one archive and serve it
1162
+ * @param {SitesApiPostSitesBySlugDeployRequest} requestParameters Request parameters.
1163
+ * @param {*} [options] Override http request option.
1164
+ * @throws {RequiredError}
1165
+ */
1166
+ postSitesBySlugDeploy(requestParameters, options) {
1167
+ return localVarFp.postSitesBySlugDeploy(requestParameters.slug, requestParameters.body, options).then((request) => request(axios, basePath));
1168
+ },
651
1169
  /**
652
1170
  * Opens a deployment and hands back a short-lived, prefix-scoped grant to write its bytes straight to object storage. Answers 202. This is the path for a site too large to send as one archive: a real export is hundreds of megabytes against a 16 MiB body limit, so the bytes deliberately do NOT pass through the API. The answer carries `bucket`, `prefix` and `upload` — a presigned POST policy that S3 itself confines to this site\'s prefix (starts-with `<org>/<slug>/`), expires in 30 minutes and bounds each object. So a build writes its own files and holds no standing bucket credential; there is nothing to rotate and nothing that leaks between tenants. Never guess the prefix — it is server-derived, and a guessed one lands where nothing is served. The deployment is `queued` until POST .../deployments/{id}/complete flips it live (or error). That completion is also where DELETION happens: the grant authorizes writes only, so a build cannot remove a file, and cloud reconciles the prefix against the `keys` manifest the completion carries. A build that dies before completing leaves the deployment queued rather than a half-live site. The grant is on the 202 and NOWHERE else — it is never stored and never replayed on a later read, so it cannot outlive the build it was minted for. A deployment whose grant could not be minted is still created and still completable; it simply carries no `upload`, and a caller with no other way to write should treat that as the failure it is. Billing: the hosting gate runs BEFORE anything is created (402 unfunded, 503 commerce unreachable), and the debit lands on the completion that goes live — never on a queued or failed build. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
653
1171
  * @summary Opens a deployment and hands back a short-lived, prefix-scoped grant to write its bytes straight to object storage.
@@ -668,6 +1186,26 @@ const SitesApiFactory = function (configuration, basePath, axios) {
668
1186
  postSitesBySlugDeploymentsByIdComplete(requestParameters, options) {
669
1187
  return localVarFp.postSitesBySlugDeploymentsByIdComplete(requestParameters.slug, requestParameters.id, requestParameters.projectsComplete, options).then((request) => request(axios, basePath));
670
1188
  },
1189
+ /**
1190
+ * Attaches one or more CUSTOM public hostnames to this org\'s site. Binding a host you do not own would let you shadow it at the edge, so which outcome you get depends on whether ownership is already established: a SuperAdmin vouches (the operator manages the customer\'s DNS, so its bind IS the proof) and binds VERIFIED immediately; every other caller, INCLUDING an admin of the deployment\'s own brand org, has the host CLAIMED as pending and gets the DNS challenge back in `bound[].records`. A pending claim HOLDS the name so nobody else can take it, but it does not route until POST .../domains/{host}/verify proves control. A hostname we operate is refused to a non-vouched caller (those are assigned by the platform, never claimed), a host another site already holds is a 409, and a name the platform holds is a 400 for EVERY caller — a vouch skips the ownership proof, never the host table\'s own invariant. Claims and binds are idempotent for the same (org, slug), and re-claiming returns the SAME token rather than invalidating a record the customer has already published. The edge cache-tag is flushed afterwards so a newly-verified host serves the current build immediately. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
1191
+ * @summary Attaches one or more CUSTOM public hostnames to this org\'s site.
1192
+ * @param {SitesApiPostSitesBySlugDomainsRequest} requestParameters Request parameters.
1193
+ * @param {*} [options] Override http request option.
1194
+ * @throws {RequiredError}
1195
+ */
1196
+ postSitesBySlugDomains(requestParameters, options) {
1197
+ return localVarFp.postSitesBySlugDomains(requestParameters.slug, requestParameters.projectsDomainsBind, options).then((request) => request(axios, basePath));
1198
+ },
1199
+ /**
1200
+ * Checks the DNS challenge for a pending custom hostname and, when it passes, promotes the host so it begins routing at the edge. It answers 200 either way, with the host\'s honest current state: verified once the TXT record is found, still pending — with the records to publish and the resolver\'s own explanation in `detail` — when it is not. A not-yet is not an error: the check ran, DNS simply has not propagated, and the customer retries. An already-verified host is returned unchanged without re-resolving. On a successful promotion the edge cache-tag is flushed, since the host routes as of that moment. Scope: a validated principal is required (403 without one). Both the site and the claim are resolved within that principal\'s org, so a host claimed by another tenant is \"not claimed by this site\".
1201
+ * @summary Checks the DNS challenge for a pending custom hostname and, when it passes, promotes the host so it begins routing at the edge.
1202
+ * @param {SitesApiPostSitesBySlugDomainsByHostVerifyRequest} requestParameters Request parameters.
1203
+ * @param {*} [options] Override http request option.
1204
+ * @throws {RequiredError}
1205
+ */
1206
+ postSitesBySlugDomainsByHostVerify(requestParameters, options) {
1207
+ return localVarFp.postSitesBySlugDomainsByHostVerify(requestParameters.slug, requestParameters.host, options).then((request) => request(axios, basePath));
1208
+ },
671
1209
  /**
672
1210
  * Promotes a build output into a new release AND goes live with it — create+activate in one call, which is the 99% path. It is exactly the two halves in sequence with no extra semantics, so the staged flow and the one-shot flow can never drift apart: `source` is promoted under the same org-relative rule and the same guards CreateRelease applies, then the site\'s pointer is flipped to it, the public host is claimed and the edge is purged. Idempotent on unchanged bytes — same manifest, same release id, no copy — and billed once, after the release exists. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
673
1211
  * @summary Promotes a build output into a new release AND goes live with it — create+activate in one call, which is the 99% path.
@@ -678,6 +1216,16 @@ const SitesApiFactory = function (configuration, basePath, axios) {
678
1216
  postSitesBySlugPublish(requestParameters, options) {
679
1217
  return localVarFp.postSitesBySlugPublish(requestParameters.slug, requestParameters.projectsPublish, options).then((request) => request(axios, basePath));
680
1218
  },
1219
+ /**
1220
+ * Flushes the site\'s edge cache without redeploying anything. It invalidates the edge cache-tag `site-<org>-<slug>` and stamps `lastPurgeAt` (unix seconds), and it NEVER writes or deletes the S3 origin — the live build keeps serving; only stale copies held at the edge drop, so the next request re-fetches the current artifact from origin. Idempotent, and an edge that is unconfigured or failing is not fatal: `lastPurgeAt` is still stamped and the answer is still the updated project. Scope: a validated principal is required (403 without one) and the project is resolved within that principal\'s org, so another tenant\'s slug is a 404.
1221
+ * @summary Flushes the site\'s edge cache without redeploying anything.
1222
+ * @param {SitesApiPostSitesBySlugPurgeRequest} requestParameters Request parameters.
1223
+ * @param {*} [options] Override http request option.
1224
+ * @throws {RequiredError}
1225
+ */
1226
+ postSitesBySlugPurge(requestParameters, options) {
1227
+ return localVarFp.postSitesBySlugPurge(requestParameters.slug, options).then((request) => request(axios, basePath));
1228
+ },
681
1229
  /**
682
1230
  * Promotes a build output into a new immutable release WITHOUT serving it — the staged half of publishing, for when you want to check a release before it goes live. Answers 201. `source` is a path RELATIVE to your org\'s own storage space: the org segment is prepended server-side from the validated principal and the bucket is never in the request at all, so a server-side copy can only ever reach bytes your org already owns. The prefix is listed, content-addressed (SHA-256 over the sorted manifest of key/size/etag), and copied into an immutable `<org>/.releases/<slug>/<id>/` prefix; the row is written LAST, so a partial copy is unreachable rather than merely unlikely. Re-publishing an unchanged source is idempotent BY CONSTRUCTION — same bytes, same id, no copy at all. The source must contain index.html at its root and stay under the same file and byte caps an artifact deploy does (413 past them); a source that changes mid-copy is a 409 and the release is abandoned. Each publish also reclaims releases past the retention depth, so a site\'s release space stays bounded. This is the billable half — the hosting gate runs before any copy, and the debit lands once the release exists. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
683
1231
  * @summary Promotes a build output into a new immutable release WITHOUT serving it — the staged half of publishing, for when you want to check a release before it goes live.
@@ -708,6 +1256,16 @@ const SitesApiFactory = function (configuration, basePath, axios) {
708
1256
  postSitesDeploy(requestParameters, options) {
709
1257
  return localVarFp.postSitesDeploy(requestParameters.projectsDeploySite, options).then((request) => request(axios, basePath));
710
1258
  },
1259
+ /**
1260
+ * Creates a project seeded from a PUBLISHED EXAMPLE — either a starter-kit template from the ONE embedded gallery catalog, or any live project on the platform (an example a seeded creator published, or another org\'s app serving at <slug>.hanzo.app). Answers 201 with the new project. `slug` names the PARENT to fork and is required. Templates resolve first, and the caller org\'s own private templates ahead of the public gallery, so a curated template slug keeps meaning the same thing even if someone later publishes a live project under it; `variant` picks that template\'s format/page/theme. If no template matches, the slug resolves to the UNIQUE live project that owns it across all orgs — the same resolution the site edge uses to serve <slug>.hanzo.app, so what you can browse is what you can fork. `name` and `target` override the derived project name and slug; everything else is inherited from the parent. A live parent contributes its REPO, so the child builds from the same source — the parent\'s deployed bytes are never copied, because releases are per-tenant by design and the fork publishes its own. The parent it actually resolved is stamped on the child as `forkedFrom`, so attribution is a fact recorded at fork time rather than a claim reconstructed later. It funnels through the SAME create path POST /v1/projects uses, so slug validation, org scoping, ID minting and the 409 on a slug the caller\'s own org already uses are identical. Scope: a validated principal is required (403 without one) and the child is created in THAT principal\'s org.
1261
+ * @summary Creates a project seeded from a PUBLISHED EXAMPLE — either a starter-kit template from the ONE embedded gallery catalog, or any live project on the platform (an example a seeded creator published, or another org\'s app serving at <slug>.hanzo.app).
1262
+ * @param {SitesApiPostSitesForkRequest} requestParameters Request parameters.
1263
+ * @param {*} [options] Override http request option.
1264
+ * @throws {RequiredError}
1265
+ */
1266
+ postSitesFork(requestParameters, options) {
1267
+ return localVarFp.postSitesFork(requestParameters.projectsFork, options).then((request) => request(axios, basePath));
1268
+ },
711
1269
  };
712
1270
  };
713
1271
  exports.SitesApiFactory = SitesApiFactory;
@@ -718,6 +1276,28 @@ exports.SitesApiFactory = SitesApiFactory;
718
1276
  * @extends {BaseAPI}
719
1277
  */
720
1278
  class SitesApi extends base_1.BaseAPI {
1279
+ /**
1280
+ * Deletes a project and takes its site off the internet. The metadata delete is authoritative and everything after it is best-effort, in this order: the public `<slug>` subdomain binding is released so the slug is free to reclaim, the release rows are dropped so a reclaimed slug never inherits the previous owner\'s rollback menu, the git source is retired on every copy it has so a reclaimed slug never adopts a repository left behind (visibility.go), the S3 origin is purged under BOTH `<org>/<slug>/` and the site\'s sibling release space, and the edge cache-tag is flushed. A failure in any of those is logged and the delete still answers 204 — resurrecting a project because a purge missed would be worse than a leaked prefix. Scope: a validated principal is required (403 without one) and the project is resolved within that principal\'s org, so another tenant\'s slug is a 404 and nothing of theirs is touched.
1281
+ * @summary Deletes a project and takes its site off the internet.
1282
+ * @param {SitesApiDeleteSitesBySlugRequest} requestParameters Request parameters.
1283
+ * @param {*} [options] Override http request option.
1284
+ * @throws {RequiredError}
1285
+ * @memberof SitesApi
1286
+ */
1287
+ deleteSitesBySlug(requestParameters, options) {
1288
+ return (0, exports.SitesApiFp)(this.configuration).deleteSitesBySlug(requestParameters.slug, options).then((request) => request(this.axios, this.basePath));
1289
+ }
1290
+ /**
1291
+ * Gives a custom hostname back, so the name is free to reuse. A claim is FIRST-COME and global, so an add-only surface was not ownership but a leak: a customer who mistyped a domain, or claimed one they later moved elsewhere, could neither reuse it nor let anyone else. This is the third writer that closes it. The release is scoped to (host, org, slug), so it can only ever drop THIS tenant\'s own claim, and it is IDEMPOTENT: releasing a host we do not hold is a clean 204, never a 404 that would let a caller probe which hosts other tenants hold. The edge cache-tag is flushed, since the host stops routing here. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
1292
+ * @summary Gives a custom hostname back, so the name is free to reuse.
1293
+ * @param {SitesApiDeleteSitesBySlugDomainsByHostRequest} requestParameters Request parameters.
1294
+ * @param {*} [options] Override http request option.
1295
+ * @throws {RequiredError}
1296
+ * @memberof SitesApi
1297
+ */
1298
+ deleteSitesBySlugDomainsByHost(requestParameters, options) {
1299
+ return (0, exports.SitesApiFp)(this.configuration).deleteSitesBySlugDomainsByHost(requestParameters.slug, requestParameters.host, options).then((request) => request(this.axios, this.basePath));
1300
+ }
721
1301
  /**
722
1302
  * Returns the org\'s deployed sites at the pretty URLs they serve at. It reads the SAME org-scoped store as /v1/projects and keeps only the projects that are actually `live`, so a draft or a failed build is not advertised as a site. Scope: a validated principal is required (403 without one) and the list is keyed by that principal\'s org.
723
1303
  * @summary Returns the org\'s deployed sites at the pretty URLs they serve at.
@@ -761,6 +1341,17 @@ class SitesApi extends base_1.BaseAPI {
761
1341
  getSitesBySlugDeploymentsById(requestParameters, options) {
762
1342
  return (0, exports.SitesApiFp)(this.configuration).getSitesBySlugDeploymentsById(requestParameters.slug, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
763
1343
  }
1344
+ /**
1345
+ * Returns every custom hostname this site holds: the live ones, plus any pending claim with the DNS records it still owes. `domains` is the routing answer — the hosts that are verified right now — while `claims` is the full panel, one row per host, each saying whether it is live or pending and, if pending, exactly what to publish. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
1346
+ * @summary Returns every custom hostname this site holds: the live ones, plus any pending claim with the DNS records it still owes.
1347
+ * @param {SitesApiGetSitesBySlugDomainsRequest} requestParameters Request parameters.
1348
+ * @param {*} [options] Override http request option.
1349
+ * @throws {RequiredError}
1350
+ * @memberof SitesApi
1351
+ */
1352
+ getSitesBySlugDomains(requestParameters, options) {
1353
+ return (0, exports.SitesApiFp)(this.configuration).getSitesBySlugDomains(requestParameters.slug, options).then((request) => request(this.axios, this.basePath));
1354
+ }
764
1355
  /**
765
1356
  * Returns a site\'s releases newest-first, marking the active one — the rollback menu. Each row carries the release id to activate, the source it was promoted from, its object and byte counts, and the URL if it is the one serving. Retention bounds the list, so it is the set that can actually still be rolled back to, not a full history. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
766
1357
  * @summary Returns a site\'s releases newest-first, marking the active one — the rollback menu.
@@ -772,6 +1363,17 @@ class SitesApi extends base_1.BaseAPI {
772
1363
  getSitesBySlugReleases(requestParameters, options) {
773
1364
  return (0, exports.SitesApiFp)(this.configuration).getSitesBySlugReleases(requestParameters.slug, options).then((request) => request(this.axios, this.basePath));
774
1365
  }
1366
+ /**
1367
+ * Changes a project\'s settings, and only the settings you send. Every field is optional and absent means \"leave it\": `name` may not be blanked, `framework` must stay a known build hint, and `cacheControl` is capped at 256 characters with no newlines (it becomes a response header). `visibility` flips public/private under the same rule as create — public is free, private needs a funded org. `upstream` and `license` are free-text credit for third-party work, and sending \"\" clears one. Changing anything reconciles the project\'s canonical git repo, so a visibility change reaches the source and not just the listing. `hidden`/`hiddenReason` are platform MODERATION and are ignored unless the caller is a platform admin; they remove a project from the public catalogue without touching the publisher\'s own visibility choice, so un-hiding restores exactly what they asked for. Scope: a validated principal is required (403 without one) and the project is resolved within that principal\'s org, so another tenant\'s slug is a 404.
1368
+ * @summary Changes a project\'s settings, and only the settings you send.
1369
+ * @param {SitesApiPatchSitesBySlugRequest} requestParameters Request parameters.
1370
+ * @param {*} [options] Override http request option.
1371
+ * @throws {RequiredError}
1372
+ * @memberof SitesApi
1373
+ */
1374
+ patchSitesBySlug(requestParameters, options) {
1375
+ return (0, exports.SitesApiFp)(this.configuration).patchSitesBySlug(requestParameters.slug, requestParameters.projectsUpdate, options).then((request) => request(this.axios, this.basePath));
1376
+ }
775
1377
  /**
776
1378
  * Generates a self-contained, mobile-responsive static site from a natural-language brief and deploys it live in one call. One inference call turns `brief` (capped at 8 KiB) into a file manifest, which then runs through the SAME validation, guards and viewport guarantee as a hand-supplied manifest: index.html required at the root, absolute and traversal paths rejected, per-file and total size capped, and a mobile viewport meta tag injected into every HTML document that lacks one. The generated site is fully inline — no CDNs, no remote fonts or images — so it is CSP-safe. `slug` and `name` are optional: the model\'s own title is preferred, and a slug is derived or minted when none is given. It writes into the SAME org-scoped store as /v1/projects — it ensures a project (framework `static`) for the resolved slug and records a deployment — so this is a second door onto one publish pipeline, not a second copy of project state. Ordering is the billing contract: the hosting gate runs BEFORE any inference or upload, so a denied gate generates and uploads NOTHING, and the debit lands once, only after the site is actually live. The tokens are billed to the same ledger the hosting fee was reserved against. Answers 503 when object storage or inference is unconfigured, and 400 when the model\'s manifest cannot be parsed or fails the guards. Scope: a validated principal is required (403 without one) and the site is published into THAT principal\'s org.
777
1379
  * @summary Generates a self-contained, mobile-responsive static site from a natural-language brief and deploys it live in one call.
@@ -783,6 +1385,17 @@ class SitesApi extends base_1.BaseAPI {
783
1385
  postSites(requestParameters, options) {
784
1386
  return (0, exports.SitesApiFp)(this.configuration).postSites(requestParameters.projectsBuildSite, options).then((request) => request(this.axios, this.basePath));
785
1387
  }
1388
+ /**
1389
+ * Takes a built site live at `https://<slug>.hanzo.app` in one call. The body is the site itself — a `zip` or `tar.gz` holding `index.html` at its root (or a single wrapper directory that does), sent raw or as a multipart file part. It is unpacked to the site\'s own storage prefix and served immediately, answering the finished deployment. It is bounded by the edge body limit (16 MiB by default), and that bound is the whole reason the other path exists: an oversized POST is refused by the server BEFORE any handler runs and surfaces as an opaque `400 Error when parsing request` that reads like a malformed payload rather than a size cap. A site too large for one archive opens a deployment with `POST /v1/sites/{slug}/deployments` instead and writes its files straight to storage against the scoped grant that answers with — no body limit, and no bytes through this API at all. Billing is fail-closed and fails FIRST: the hosting gate runs before anything is parsed or uploaded, so an unfunded org is 402 and an unreachable commerce is 503 with nothing written. The debit lands only on success — a failed upload is never billed and never flips the live site — and a redeploy answers the SAME URL, because slug and apex are stable. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404. Object storage must be configured (503); an archive that does not walk is a 400 and one over the size cap is a 413.
1390
+ * @summary Upload a built site as one archive and serve it
1391
+ * @param {SitesApiPostSitesBySlugDeployRequest} requestParameters Request parameters.
1392
+ * @param {*} [options] Override http request option.
1393
+ * @throws {RequiredError}
1394
+ * @memberof SitesApi
1395
+ */
1396
+ postSitesBySlugDeploy(requestParameters, options) {
1397
+ return (0, exports.SitesApiFp)(this.configuration).postSitesBySlugDeploy(requestParameters.slug, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1398
+ }
786
1399
  /**
787
1400
  * Opens a deployment and hands back a short-lived, prefix-scoped grant to write its bytes straight to object storage. Answers 202. This is the path for a site too large to send as one archive: a real export is hundreds of megabytes against a 16 MiB body limit, so the bytes deliberately do NOT pass through the API. The answer carries `bucket`, `prefix` and `upload` — a presigned POST policy that S3 itself confines to this site\'s prefix (starts-with `<org>/<slug>/`), expires in 30 minutes and bounds each object. So a build writes its own files and holds no standing bucket credential; there is nothing to rotate and nothing that leaks between tenants. Never guess the prefix — it is server-derived, and a guessed one lands where nothing is served. The deployment is `queued` until POST .../deployments/{id}/complete flips it live (or error). That completion is also where DELETION happens: the grant authorizes writes only, so a build cannot remove a file, and cloud reconciles the prefix against the `keys` manifest the completion carries. A build that dies before completing leaves the deployment queued rather than a half-live site. The grant is on the 202 and NOWHERE else — it is never stored and never replayed on a later read, so it cannot outlive the build it was minted for. A deployment whose grant could not be minted is still created and still completable; it simply carries no `upload`, and a caller with no other way to write should treat that as the failure it is. Billing: the hosting gate runs BEFORE anything is created (402 unfunded, 503 commerce unreachable), and the debit lands on the completion that goes live — never on a queued or failed build. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
788
1401
  * @summary Opens a deployment and hands back a short-lived, prefix-scoped grant to write its bytes straight to object storage.
@@ -805,6 +1418,28 @@ class SitesApi extends base_1.BaseAPI {
805
1418
  postSitesBySlugDeploymentsByIdComplete(requestParameters, options) {
806
1419
  return (0, exports.SitesApiFp)(this.configuration).postSitesBySlugDeploymentsByIdComplete(requestParameters.slug, requestParameters.id, requestParameters.projectsComplete, options).then((request) => request(this.axios, this.basePath));
807
1420
  }
1421
+ /**
1422
+ * Attaches one or more CUSTOM public hostnames to this org\'s site. Binding a host you do not own would let you shadow it at the edge, so which outcome you get depends on whether ownership is already established: a SuperAdmin vouches (the operator manages the customer\'s DNS, so its bind IS the proof) and binds VERIFIED immediately; every other caller, INCLUDING an admin of the deployment\'s own brand org, has the host CLAIMED as pending and gets the DNS challenge back in `bound[].records`. A pending claim HOLDS the name so nobody else can take it, but it does not route until POST .../domains/{host}/verify proves control. A hostname we operate is refused to a non-vouched caller (those are assigned by the platform, never claimed), a host another site already holds is a 409, and a name the platform holds is a 400 for EVERY caller — a vouch skips the ownership proof, never the host table\'s own invariant. Claims and binds are idempotent for the same (org, slug), and re-claiming returns the SAME token rather than invalidating a record the customer has already published. The edge cache-tag is flushed afterwards so a newly-verified host serves the current build immediately. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
1423
+ * @summary Attaches one or more CUSTOM public hostnames to this org\'s site.
1424
+ * @param {SitesApiPostSitesBySlugDomainsRequest} requestParameters Request parameters.
1425
+ * @param {*} [options] Override http request option.
1426
+ * @throws {RequiredError}
1427
+ * @memberof SitesApi
1428
+ */
1429
+ postSitesBySlugDomains(requestParameters, options) {
1430
+ return (0, exports.SitesApiFp)(this.configuration).postSitesBySlugDomains(requestParameters.slug, requestParameters.projectsDomainsBind, options).then((request) => request(this.axios, this.basePath));
1431
+ }
1432
+ /**
1433
+ * Checks the DNS challenge for a pending custom hostname and, when it passes, promotes the host so it begins routing at the edge. It answers 200 either way, with the host\'s honest current state: verified once the TXT record is found, still pending — with the records to publish and the resolver\'s own explanation in `detail` — when it is not. A not-yet is not an error: the check ran, DNS simply has not propagated, and the customer retries. An already-verified host is returned unchanged without re-resolving. On a successful promotion the edge cache-tag is flushed, since the host routes as of that moment. Scope: a validated principal is required (403 without one). Both the site and the claim are resolved within that principal\'s org, so a host claimed by another tenant is \"not claimed by this site\".
1434
+ * @summary Checks the DNS challenge for a pending custom hostname and, when it passes, promotes the host so it begins routing at the edge.
1435
+ * @param {SitesApiPostSitesBySlugDomainsByHostVerifyRequest} requestParameters Request parameters.
1436
+ * @param {*} [options] Override http request option.
1437
+ * @throws {RequiredError}
1438
+ * @memberof SitesApi
1439
+ */
1440
+ postSitesBySlugDomainsByHostVerify(requestParameters, options) {
1441
+ return (0, exports.SitesApiFp)(this.configuration).postSitesBySlugDomainsByHostVerify(requestParameters.slug, requestParameters.host, options).then((request) => request(this.axios, this.basePath));
1442
+ }
808
1443
  /**
809
1444
  * Promotes a build output into a new release AND goes live with it — create+activate in one call, which is the 99% path. It is exactly the two halves in sequence with no extra semantics, so the staged flow and the one-shot flow can never drift apart: `source` is promoted under the same org-relative rule and the same guards CreateRelease applies, then the site\'s pointer is flipped to it, the public host is claimed and the edge is purged. Idempotent on unchanged bytes — same manifest, same release id, no copy — and billed once, after the release exists. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
810
1445
  * @summary Promotes a build output into a new release AND goes live with it — create+activate in one call, which is the 99% path.
@@ -816,6 +1451,17 @@ class SitesApi extends base_1.BaseAPI {
816
1451
  postSitesBySlugPublish(requestParameters, options) {
817
1452
  return (0, exports.SitesApiFp)(this.configuration).postSitesBySlugPublish(requestParameters.slug, requestParameters.projectsPublish, options).then((request) => request(this.axios, this.basePath));
818
1453
  }
1454
+ /**
1455
+ * Flushes the site\'s edge cache without redeploying anything. It invalidates the edge cache-tag `site-<org>-<slug>` and stamps `lastPurgeAt` (unix seconds), and it NEVER writes or deletes the S3 origin — the live build keeps serving; only stale copies held at the edge drop, so the next request re-fetches the current artifact from origin. Idempotent, and an edge that is unconfigured or failing is not fatal: `lastPurgeAt` is still stamped and the answer is still the updated project. Scope: a validated principal is required (403 without one) and the project is resolved within that principal\'s org, so another tenant\'s slug is a 404.
1456
+ * @summary Flushes the site\'s edge cache without redeploying anything.
1457
+ * @param {SitesApiPostSitesBySlugPurgeRequest} requestParameters Request parameters.
1458
+ * @param {*} [options] Override http request option.
1459
+ * @throws {RequiredError}
1460
+ * @memberof SitesApi
1461
+ */
1462
+ postSitesBySlugPurge(requestParameters, options) {
1463
+ return (0, exports.SitesApiFp)(this.configuration).postSitesBySlugPurge(requestParameters.slug, options).then((request) => request(this.axios, this.basePath));
1464
+ }
819
1465
  /**
820
1466
  * Promotes a build output into a new immutable release WITHOUT serving it — the staged half of publishing, for when you want to check a release before it goes live. Answers 201. `source` is a path RELATIVE to your org\'s own storage space: the org segment is prepended server-side from the validated principal and the bucket is never in the request at all, so a server-side copy can only ever reach bytes your org already owns. The prefix is listed, content-addressed (SHA-256 over the sorted manifest of key/size/etag), and copied into an immutable `<org>/.releases/<slug>/<id>/` prefix; the row is written LAST, so a partial copy is unreachable rather than merely unlikely. Re-publishing an unchanged source is idempotent BY CONSTRUCTION — same bytes, same id, no copy at all. The source must contain index.html at its root and stay under the same file and byte caps an artifact deploy does (413 past them); a source that changes mid-copy is a 409 and the release is abandoned. Each publish also reclaims releases past the retention depth, so a site\'s release space stays bounded. This is the billable half — the hosting gate runs before any copy, and the debit lands once the release exists. Scope: a validated principal is required (403 without one) and the site is resolved within that principal\'s org, so another tenant\'s slug is a 404.
821
1467
  * @summary Promotes a build output into a new immutable release WITHOUT serving it — the staged half of publishing, for when you want to check a release before it goes live.
@@ -849,5 +1495,16 @@ class SitesApi extends base_1.BaseAPI {
849
1495
  postSitesDeploy(requestParameters, options) {
850
1496
  return (0, exports.SitesApiFp)(this.configuration).postSitesDeploy(requestParameters.projectsDeploySite, options).then((request) => request(this.axios, this.basePath));
851
1497
  }
1498
+ /**
1499
+ * Creates a project seeded from a PUBLISHED EXAMPLE — either a starter-kit template from the ONE embedded gallery catalog, or any live project on the platform (an example a seeded creator published, or another org\'s app serving at <slug>.hanzo.app). Answers 201 with the new project. `slug` names the PARENT to fork and is required. Templates resolve first, and the caller org\'s own private templates ahead of the public gallery, so a curated template slug keeps meaning the same thing even if someone later publishes a live project under it; `variant` picks that template\'s format/page/theme. If no template matches, the slug resolves to the UNIQUE live project that owns it across all orgs — the same resolution the site edge uses to serve <slug>.hanzo.app, so what you can browse is what you can fork. `name` and `target` override the derived project name and slug; everything else is inherited from the parent. A live parent contributes its REPO, so the child builds from the same source — the parent\'s deployed bytes are never copied, because releases are per-tenant by design and the fork publishes its own. The parent it actually resolved is stamped on the child as `forkedFrom`, so attribution is a fact recorded at fork time rather than a claim reconstructed later. It funnels through the SAME create path POST /v1/projects uses, so slug validation, org scoping, ID minting and the 409 on a slug the caller\'s own org already uses are identical. Scope: a validated principal is required (403 without one) and the child is created in THAT principal\'s org.
1500
+ * @summary Creates a project seeded from a PUBLISHED EXAMPLE — either a starter-kit template from the ONE embedded gallery catalog, or any live project on the platform (an example a seeded creator published, or another org\'s app serving at <slug>.hanzo.app).
1501
+ * @param {SitesApiPostSitesForkRequest} requestParameters Request parameters.
1502
+ * @param {*} [options] Override http request option.
1503
+ * @throws {RequiredError}
1504
+ * @memberof SitesApi
1505
+ */
1506
+ postSitesFork(requestParameters, options) {
1507
+ return (0, exports.SitesApiFp)(this.configuration).postSitesFork(requestParameters.projectsFork, options).then((request) => request(this.axios, this.basePath));
1508
+ }
852
1509
  }
853
1510
  exports.SitesApi = SitesApi;