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.
- package/README.md +64 -15
- package/dist/api/admin-api.d.ts +16 -16
- package/dist/api/admin-api.js +274 -16
- package/dist/api/ads-api.js +21 -0
- package/dist/api/affiliates-api.js +30 -0
- package/dist/api/agent-api.js +12 -0
- package/dist/api/agents-api.js +96 -0
- package/dist/api/ai-api.d.ts +1409 -2449
- package/dist/api/ai-api.js +1650 -1623
- package/dist/api/allowance-api.d.ts +71 -0
- package/dist/api/allowance-api.js +122 -0
- package/dist/api/analytics-api.js +12 -0
- package/dist/api/appearance-api.js +6 -0
- package/dist/api/ask-api.js +6 -0
- package/dist/api/audio-api.d.ts +8 -8
- package/dist/api/audio-api.js +23 -8
- package/dist/api/audit-api.js +3 -0
- package/dist/api/authors-api.js +15 -0
- package/dist/api/authz-api.js +9 -0
- package/dist/api/auto-api.js +33 -0
- package/dist/api/automations-api.js +54 -0
- package/dist/api/avatar-api.js +6 -0
- package/dist/api/base-api.js +3 -0
- package/dist/api/benchmark-api.d.ts +182 -0
- package/dist/api/benchmark-api.js +242 -0
- package/dist/api/billing-api.d.ts +58 -0
- package/dist/api/billing-api.js +247 -0
- package/dist/api/blueprint-api.js +9 -0
- package/dist/api/books-api.js +75 -0
- package/dist/api/bot-api.js +27 -0
- package/dist/api/bots-api.js +9 -0
- package/dist/api/builds-api.js +3 -0
- package/dist/api/campaign-api.js +33 -0
- package/dist/api/captable-api.js +93 -0
- package/dist/api/cart-api.js +12 -0
- package/dist/api/catalog-api.js +24 -0
- package/dist/api/chains-api.js +6 -0
- package/dist/api/channels-api.js +21 -0
- package/dist/api/chat-api.d.ts +29 -0
- package/dist/api/chat-api.js +65 -0
- package/dist/api/cloud-api.js +15 -0
- package/dist/api/cloudflare-api.js +99 -0
- package/dist/api/clusters-api.js +18 -0
- package/dist/api/code-api.js +36 -0
- package/dist/api/coding-api.js +3 -0
- package/dist/api/commerce-api.js +369 -0
- package/dist/api/company-api.js +66 -0
- package/dist/api/compat-api.js +69 -0
- package/dist/api/completions-api.js +3 -0
- package/dist/api/compliance-api.d.ts +8 -8
- package/dist/api/compliance-api.js +59 -8
- package/dist/api/compute-api.js +21 -0
- package/dist/api/connectors-api.js +24 -0
- package/dist/api/content-api.js +18 -0
- package/dist/api/crawl-api.js +3 -0
- package/dist/api/crm-api.js +60 -0
- package/dist/api/csrf-api.js +3 -0
- package/dist/api/dataroom-api.js +51 -0
- package/dist/api/default-api.d.ts +29 -0
- package/dist/api/default-api.js +203 -0
- package/dist/api/deploy-api.js +63 -0
- package/dist/api/destinations-api.js +15 -0
- package/dist/api/dev-bridge-api.js +3 -0
- package/dist/api/dns-api.js +15 -0
- package/dist/api/docs-api.js +3 -0
- package/dist/api/documents-api.d.ts +21 -4
- package/dist/api/documents-api.js +21 -8
- package/dist/api/domain-api.js +21 -0
- package/dist/api/download-api.js +3 -0
- package/dist/api/edge-api.d.ts +71 -0
- package/dist/api/edge-api.js +122 -0
- package/dist/api/embed-api.js +3 -0
- package/dist/api/embeddings-api.js +3 -0
- package/dist/api/enablement-api.js +9 -0
- package/dist/api/engine-api.js +12 -0
- package/dist/api/entitlements-api.js +3 -0
- package/dist/api/environments-api.js +3 -0
- package/dist/api/errors-api.js +3 -0
- package/dist/api/esign-api.d.ts +12 -12
- package/dist/api/esign-api.js +51 -12
- package/dist/api/evals-api.js +48 -0
- package/dist/api/event-api.js +9 -0
- package/dist/api/exec-api.js +6 -0
- package/dist/api/experiments-api.js +21 -0
- package/dist/api/feedback-api.js +3 -0
- package/dist/api/files-api.js +3 -0
- package/dist/api/finance-api.js +24 -0
- package/dist/api/finetune-api.js +27 -0
- package/dist/api/flags-api.js +27 -0
- package/dist/api/fleet-api.js +18 -0
- package/dist/api/flow-api.js +24 -0
- package/dist/api/framework-api.js +57 -0
- package/dist/api/functions-api.js +33 -0
- package/dist/api/gateway-api.js +9 -0
- package/dist/api/git-api.js +120 -0
- package/dist/api/git-webhook-api.js +3 -0
- package/dist/api/gpus-api.js +6 -0
- package/dist/api/guide-api.js +57 -0
- package/dist/api/help-api.js +12 -0
- package/dist/api/iam-api.d.ts +435 -13
- package/dist/api/iam-api.js +1214 -17
- package/dist/api/images-api.js +3 -0
- package/dist/api/index-api.js +51 -0
- package/dist/api/indexers-api.js +3 -0
- package/dist/api/ingress-api.js +54 -0
- package/dist/api/insights-api.js +6 -0
- package/dist/api/install-patch-api.js +3 -0
- package/dist/api/instances-api.d.ts +1214 -0
- package/dist/api/instances-api.js +1855 -0
- package/dist/api/integrations-api.d.ts +30 -0
- package/dist/api/integrations-api.js +176 -0
- package/dist/api/k8s-api.js +15 -0
- package/dist/api/kb-api.js +27 -0
- package/dist/api/keys-api.js +9 -0
- package/dist/api/kms-api.js +21 -0
- package/dist/api/legal-api.js +33 -0
- package/dist/api/licensing-api.js +33 -0
- package/dist/api/links-api.js +33 -0
- package/dist/api/logs-api.js +9 -0
- package/dist/api/machines-api.js +24 -0
- package/dist/api/marketing-api.js +105 -0
- package/dist/api/marketplace-api.js +18 -0
- package/dist/api/mcp-api.js +9 -0
- package/dist/api/meet-api.js +9 -0
- package/dist/api/memory-api.js +21 -0
- package/dist/api/mesh-api.js +3 -0
- package/dist/api/messages-api.js +6 -0
- package/dist/api/metrics-api.js +12 -0
- package/dist/api/ml-api.js +21 -0
- package/dist/api/models-api.js +6 -0
- package/dist/api/mq-api.js +45 -0
- package/dist/api/networks-api.js +9 -0
- package/dist/api/notify-api.js +12 -0
- package/dist/api/o11y-api.d.ts +4 -4
- package/dist/api/o11y-api.js +1099 -4
- package/dist/api/oracles-api.js +3 -0
- package/dist/api/org-api.js +30 -0
- package/dist/api/orgs-api.js +9 -0
- package/dist/api/payments-api.js +6 -0
- package/dist/api/pipelines-api.js +3 -0
- package/dist/api/plans-api.js +60 -0
- package/dist/api/platform-api.js +147 -0
- package/dist/api/plugins-api.js +12 -0
- package/dist/api/prefs-api.js +6 -0
- package/dist/api/pricing-api.js +75 -0
- package/dist/api/projects-api.js +48 -0
- package/dist/api/prompts-api.js +18 -0
- package/dist/api/pubsub-api.js +54 -0
- package/dist/api/query-api.js +3 -0
- package/dist/api/query-multiple-api.js +3 -0
- package/dist/api/rag-api.js +15 -0
- package/dist/api/referrals-api.js +6 -0
- package/dist/api/registry-api.js +18 -0
- package/dist/api/releases-api.js +3 -0
- package/dist/api/replay-api.js +3 -0
- package/dist/api/rerank-api.js +3 -0
- package/dist/api/research-api.js +24 -0
- package/dist/api/responses-api.d.ts +4 -4
- package/dist/api/responses-api.js +7 -4
- package/dist/api/risk-api.js +93 -0
- package/dist/api/router-api.d.ts +6 -7
- package/dist/api/router-api.js +90 -0
- package/dist/api/rpc-api.js +3 -0
- package/dist/api/run-api.js +3 -0
- package/dist/api/runner-api.d.ts +4 -81
- package/dist/api/runner-api.js +7 -123
- package/dist/api/s3-api.d.ts +0 -171
- package/dist/api/s3-api.js +24 -244
- package/dist/api/sandboxes-api.js +57 -0
- package/dist/api/sbom-api.js +9 -0
- package/dist/api/scrape-api.js +3 -0
- package/dist/api/search-api.d.ts +24 -147
- package/dist/api/search-api.js +32 -203
- package/dist/api/security-api.js +21 -0
- package/dist/api/{sentry-api.d.ts → sentinel-api.d.ts} +282 -282
- package/dist/api/{sentry-api.js → sentinel-api.js} +384 -318
- package/dist/api/settings-api.js +6 -0
- package/dist/api/share-api.js +6 -0
- package/dist/api/sites-api.d.ts +461 -0
- package/dist/api/sites-api.js +657 -0
- package/dist/api/skills-api.js +12 -0
- package/dist/api/social-api.js +39 -0
- package/dist/api/store-api.js +102 -0
- package/dist/api/summary-api.js +3 -0
- package/dist/api/sync-api.js +18 -0
- package/dist/api/tags-api.js +3 -0
- package/dist/api/tasks-api.js +30 -0
- package/dist/api/taxonomy-api.js +15 -0
- package/dist/api/team-api.js +51 -0
- package/dist/api/tel-api.js +30 -0
- package/dist/api/templates-api.js +15 -0
- package/dist/api/todo-api.js +36 -0
- package/dist/api/tokens-api.js +3 -0
- package/dist/api/tools-api.js +24 -0
- package/dist/api/traces-api.js +12 -0
- package/dist/api/traffic-api.js +3 -0
- package/dist/api/translate-api.js +9 -0
- package/dist/api/upload-api.js +3 -0
- package/dist/api/usage-api.js +33 -0
- package/dist/api/validators-api.js +12 -0
- package/dist/api/vector-api.d.ts +0 -171
- package/dist/api/vector-api.js +6 -244
- package/dist/api/videos-api.d.ts +42 -8
- package/dist/api/videos-api.js +39 -16
- package/dist/api/wallets-api.js +24 -0
- package/dist/api/webhooks-api.js +24 -0
- package/dist/api/websearch-api.js +18 -0
- package/dist/api/wecom-bot-api.d.ts +42 -8
- package/dist/api/wecom-bot-api.js +36 -16
- package/dist/api/world-api.js +18 -0
- package/dist/api/x402-api.js +3 -0
- package/dist/api.d.ts +4 -11
- package/dist/api.js +4 -11
- package/dist/esm/api/admin-api.d.ts +16 -16
- package/dist/esm/api/admin-api.js +275 -17
- package/dist/esm/api/ads-api.js +22 -1
- package/dist/esm/api/affiliates-api.js +31 -1
- package/dist/esm/api/agent-api.js +13 -1
- package/dist/esm/api/agents-api.js +97 -1
- package/dist/esm/api/ai-api.d.ts +1409 -2449
- package/dist/esm/api/ai-api.js +1651 -1624
- package/dist/esm/api/allowance-api.d.ts +70 -0
- package/dist/esm/api/allowance-api.js +112 -0
- package/dist/esm/api/analytics-api.js +13 -1
- package/dist/esm/api/appearance-api.js +7 -1
- package/dist/esm/api/ask-api.js +7 -1
- package/dist/esm/api/audio-api.d.ts +8 -8
- package/dist/esm/api/audio-api.js +24 -9
- package/dist/esm/api/audit-api.js +4 -1
- package/dist/esm/api/authors-api.js +16 -1
- package/dist/esm/api/authz-api.js +10 -1
- package/dist/esm/api/auto-api.js +34 -1
- package/dist/esm/api/automations-api.js +55 -1
- package/dist/esm/api/avatar-api.js +7 -1
- package/dist/esm/api/base-api.js +4 -1
- package/dist/esm/api/benchmark-api.d.ts +182 -0
- package/dist/esm/api/benchmark-api.js +243 -1
- package/dist/esm/api/billing-api.d.ts +58 -0
- package/dist/esm/api/billing-api.js +248 -1
- package/dist/esm/api/blueprint-api.js +10 -1
- package/dist/esm/api/books-api.js +76 -1
- package/dist/esm/api/bot-api.js +28 -1
- package/dist/esm/api/bots-api.js +10 -1
- package/dist/esm/api/builds-api.js +4 -1
- package/dist/esm/api/campaign-api.js +34 -1
- package/dist/esm/api/captable-api.js +94 -1
- package/dist/esm/api/cart-api.js +13 -1
- package/dist/esm/api/catalog-api.js +25 -1
- package/dist/esm/api/chains-api.js +7 -1
- package/dist/esm/api/channels-api.js +22 -1
- package/dist/esm/api/chat-api.d.ts +29 -0
- package/dist/esm/api/chat-api.js +66 -1
- package/dist/esm/api/cloud-api.js +16 -1
- package/dist/esm/api/cloudflare-api.js +100 -1
- package/dist/esm/api/clusters-api.js +19 -1
- package/dist/esm/api/code-api.js +37 -1
- package/dist/esm/api/coding-api.js +4 -1
- package/dist/esm/api/commerce-api.js +370 -1
- package/dist/esm/api/company-api.js +67 -1
- package/dist/esm/api/compat-api.js +70 -1
- package/dist/esm/api/completions-api.js +4 -1
- package/dist/esm/api/compliance-api.d.ts +8 -8
- package/dist/esm/api/compliance-api.js +60 -9
- package/dist/esm/api/compute-api.js +22 -1
- package/dist/esm/api/connectors-api.js +25 -1
- package/dist/esm/api/content-api.js +19 -1
- package/dist/esm/api/crawl-api.js +4 -1
- package/dist/esm/api/crm-api.js +61 -1
- package/dist/esm/api/csrf-api.js +4 -1
- package/dist/esm/api/dataroom-api.js +52 -1
- package/dist/esm/api/default-api.d.ts +29 -0
- package/dist/esm/api/default-api.js +204 -1
- package/dist/esm/api/deploy-api.js +64 -1
- package/dist/esm/api/destinations-api.js +16 -1
- package/dist/esm/api/dev-bridge-api.js +4 -1
- package/dist/esm/api/dns-api.js +16 -1
- package/dist/esm/api/docs-api.js +4 -1
- package/dist/esm/api/documents-api.d.ts +21 -4
- package/dist/esm/api/documents-api.js +22 -9
- package/dist/esm/api/domain-api.js +22 -1
- package/dist/esm/api/download-api.js +4 -1
- package/dist/esm/api/edge-api.d.ts +70 -0
- package/dist/esm/api/edge-api.js +112 -0
- package/dist/esm/api/embed-api.js +4 -1
- package/dist/esm/api/embeddings-api.js +4 -1
- package/dist/esm/api/enablement-api.js +10 -1
- package/dist/esm/api/engine-api.js +13 -1
- package/dist/esm/api/entitlements-api.js +4 -1
- package/dist/esm/api/environments-api.js +4 -1
- package/dist/esm/api/errors-api.js +4 -1
- package/dist/esm/api/esign-api.d.ts +12 -12
- package/dist/esm/api/esign-api.js +52 -13
- package/dist/esm/api/evals-api.js +49 -1
- package/dist/esm/api/event-api.js +10 -1
- package/dist/esm/api/exec-api.js +7 -1
- package/dist/esm/api/experiments-api.js +22 -1
- package/dist/esm/api/feedback-api.js +4 -1
- package/dist/esm/api/files-api.js +4 -1
- package/dist/esm/api/finance-api.js +25 -1
- package/dist/esm/api/finetune-api.js +28 -1
- package/dist/esm/api/flags-api.js +28 -1
- package/dist/esm/api/fleet-api.js +19 -1
- package/dist/esm/api/flow-api.js +25 -1
- package/dist/esm/api/framework-api.js +58 -1
- package/dist/esm/api/functions-api.js +34 -1
- package/dist/esm/api/gateway-api.js +10 -1
- package/dist/esm/api/git-api.js +121 -1
- package/dist/esm/api/git-webhook-api.js +4 -1
- package/dist/esm/api/gpus-api.js +7 -1
- package/dist/esm/api/guide-api.js +58 -1
- package/dist/esm/api/help-api.js +13 -1
- package/dist/esm/api/iam-api.d.ts +435 -13
- package/dist/esm/api/iam-api.js +1215 -18
- package/dist/esm/api/images-api.js +4 -1
- package/dist/esm/api/index-api.js +52 -1
- package/dist/esm/api/indexers-api.js +4 -1
- package/dist/esm/api/ingress-api.js +55 -1
- package/dist/esm/api/insights-api.js +7 -1
- package/dist/esm/api/install-patch-api.js +4 -1
- package/dist/esm/api/instances-api.d.ts +1213 -0
- package/dist/esm/api/instances-api.js +1845 -0
- package/dist/esm/api/integrations-api.d.ts +30 -0
- package/dist/esm/api/integrations-api.js +177 -1
- package/dist/esm/api/k8s-api.js +16 -1
- package/dist/esm/api/kb-api.js +28 -1
- package/dist/esm/api/keys-api.js +10 -1
- package/dist/esm/api/kms-api.js +22 -1
- package/dist/esm/api/legal-api.js +34 -1
- package/dist/esm/api/licensing-api.js +34 -1
- package/dist/esm/api/links-api.js +34 -1
- package/dist/esm/api/logs-api.js +10 -1
- package/dist/esm/api/machines-api.js +25 -1
- package/dist/esm/api/marketing-api.js +106 -1
- package/dist/esm/api/marketplace-api.js +19 -1
- package/dist/esm/api/mcp-api.js +10 -1
- package/dist/esm/api/meet-api.js +10 -1
- package/dist/esm/api/memory-api.js +22 -1
- package/dist/esm/api/mesh-api.js +4 -1
- package/dist/esm/api/messages-api.js +7 -1
- package/dist/esm/api/metrics-api.js +13 -1
- package/dist/esm/api/ml-api.js +22 -1
- package/dist/esm/api/models-api.js +7 -1
- package/dist/esm/api/mq-api.js +46 -1
- package/dist/esm/api/networks-api.js +10 -1
- package/dist/esm/api/notify-api.js +13 -1
- package/dist/esm/api/o11y-api.d.ts +4 -4
- package/dist/esm/api/o11y-api.js +1100 -5
- package/dist/esm/api/oracles-api.js +4 -1
- package/dist/esm/api/org-api.js +31 -1
- package/dist/esm/api/orgs-api.js +10 -1
- package/dist/esm/api/payments-api.js +7 -1
- package/dist/esm/api/pipelines-api.js +4 -1
- package/dist/esm/api/plans-api.js +61 -1
- package/dist/esm/api/platform-api.js +148 -1
- package/dist/esm/api/plugins-api.js +13 -1
- package/dist/esm/api/prefs-api.js +7 -1
- package/dist/esm/api/pricing-api.js +76 -1
- package/dist/esm/api/projects-api.js +49 -1
- package/dist/esm/api/prompts-api.js +19 -1
- package/dist/esm/api/pubsub-api.js +55 -1
- package/dist/esm/api/query-api.js +4 -1
- package/dist/esm/api/query-multiple-api.js +4 -1
- package/dist/esm/api/rag-api.js +16 -1
- package/dist/esm/api/referrals-api.js +7 -1
- package/dist/esm/api/registry-api.js +19 -1
- package/dist/esm/api/releases-api.js +4 -1
- package/dist/esm/api/replay-api.js +4 -1
- package/dist/esm/api/rerank-api.js +4 -1
- package/dist/esm/api/research-api.js +25 -1
- package/dist/esm/api/responses-api.d.ts +4 -4
- package/dist/esm/api/responses-api.js +8 -5
- package/dist/esm/api/risk-api.js +94 -1
- package/dist/esm/api/router-api.d.ts +6 -7
- package/dist/esm/api/router-api.js +91 -1
- package/dist/esm/api/rpc-api.js +4 -1
- package/dist/esm/api/run-api.js +4 -1
- package/dist/esm/api/runner-api.d.ts +4 -81
- package/dist/esm/api/runner-api.js +8 -124
- package/dist/esm/api/s3-api.d.ts +0 -171
- package/dist/esm/api/s3-api.js +25 -245
- package/dist/esm/api/sandboxes-api.js +58 -1
- package/dist/esm/api/sbom-api.js +10 -1
- package/dist/esm/api/scrape-api.js +4 -1
- package/dist/esm/api/search-api.d.ts +24 -147
- package/dist/esm/api/search-api.js +33 -204
- package/dist/esm/api/security-api.js +22 -1
- package/dist/esm/api/{sentry-api.d.ts → sentinel-api.d.ts} +282 -282
- package/dist/esm/api/{sentry-api.js → sentinel-api.js} +380 -314
- package/dist/esm/api/settings-api.js +7 -1
- package/dist/esm/api/share-api.js +7 -1
- package/dist/esm/api/sites-api.d.ts +461 -0
- package/dist/esm/api/sites-api.js +658 -1
- package/dist/esm/api/skills-api.js +13 -1
- package/dist/esm/api/social-api.js +40 -1
- package/dist/esm/api/store-api.js +103 -1
- package/dist/esm/api/summary-api.js +4 -1
- package/dist/esm/api/sync-api.js +19 -1
- package/dist/esm/api/tags-api.js +4 -1
- package/dist/esm/api/tasks-api.js +31 -1
- package/dist/esm/api/taxonomy-api.js +16 -1
- package/dist/esm/api/team-api.js +52 -1
- package/dist/esm/api/tel-api.js +31 -1
- package/dist/esm/api/templates-api.js +16 -1
- package/dist/esm/api/todo-api.js +37 -1
- package/dist/esm/api/tokens-api.js +4 -1
- package/dist/esm/api/tools-api.js +25 -1
- package/dist/esm/api/traces-api.js +13 -1
- package/dist/esm/api/traffic-api.js +4 -1
- package/dist/esm/api/translate-api.js +10 -1
- package/dist/esm/api/upload-api.js +4 -1
- package/dist/esm/api/usage-api.js +34 -1
- package/dist/esm/api/validators-api.js +13 -1
- package/dist/esm/api/vector-api.d.ts +0 -171
- package/dist/esm/api/vector-api.js +7 -245
- package/dist/esm/api/videos-api.d.ts +42 -8
- package/dist/esm/api/videos-api.js +40 -17
- package/dist/esm/api/wallets-api.js +25 -1
- package/dist/esm/api/webhooks-api.js +25 -1
- package/dist/esm/api/websearch-api.js +19 -1
- package/dist/esm/api/wecom-bot-api.d.ts +42 -8
- package/dist/esm/api/wecom-bot-api.js +37 -17
- package/dist/esm/api/world-api.js +19 -1
- package/dist/esm/api/x402-api.js +4 -1
- package/dist/esm/api.d.ts +4 -11
- package/dist/esm/api.js +4 -11
- package/dist/{models/resource-metrics.d.ts → esm/models/allowance.d.ts} +17 -17
- package/dist/{models/service-port.d.ts → esm/models/backend-status.d.ts} +14 -14
- package/dist/esm/models/claim-row.d.ts +72 -0
- package/dist/esm/models/claims-out.d.ts +31 -0
- package/dist/esm/models/edge-state.d.ts +62 -0
- package/dist/esm/models/gitlab-project-view.d.ts +66 -0
- package/dist/esm/models/gitlab-projects-out.d.ts +31 -0
- package/dist/{models/remote-app.d.ts → esm/models/history-out.d.ts} +14 -19
- package/dist/{models/block.d.ts → esm/models/iam-account-body.d.ts} +10 -16
- package/dist/esm/models/{get-ai-chats200-response.d.ts → iam-assume-body.d.ts} +10 -3
- package/dist/esm/models/iam-create-organization-input.d.ts +12 -0
- package/dist/esm/models/iam-organization.d.ts +12 -0
- package/dist/esm/models/{activity.d.ts → iam-search-organizations-output.d.ts} +9 -10
- package/dist/esm/models/{session.d.ts → iam-set-avatar-input.d.ts} +11 -11
- package/dist/esm/models/iam-update-organization-input.d.ts +12 -0
- package/dist/esm/models/iam-webauthn-credential.d.ts +6 -0
- package/dist/esm/models/index.d.ts +21 -103
- package/dist/esm/models/index.js +21 -103
- package/dist/esm/models/integrity.d.ts +13 -7
- package/dist/esm/models/leader-row.d.ts +42 -0
- package/dist/esm/models/{vector-score.d.ts → match.d.ts} +13 -7
- package/dist/esm/models/{lb-view.d.ts → model-history.d.ts} +13 -30
- package/dist/esm/models/published-claim.d.ts +54 -0
- package/dist/esm/models/put-claims-in.d.ts +31 -0
- package/dist/esm/models/{env-variable.d.ts → put-claims-out.d.ts} +10 -10
- package/dist/esm/models/request.d.ts +60 -0
- package/dist/esm/models/response.d.ts +50 -0
- package/dist/esm/models/run-point.d.ts +48 -0
- package/dist/esm/models/runner-build-req.d.ts +0 -6
- package/dist/esm/models/runner-build-resp.d.ts +2 -2
- package/dist/esm/models/trail.d.ts +49 -0
- package/dist/{esm/models/resource-metrics.d.ts → models/allowance.d.ts} +17 -17
- package/dist/{esm/models/service-port.d.ts → models/backend-status.d.ts} +14 -14
- package/dist/models/claim-row.d.ts +72 -0
- package/dist/models/claims-out.d.ts +31 -0
- package/dist/models/edge-state.d.ts +62 -0
- package/dist/models/gitlab-project-view.d.ts +66 -0
- package/dist/models/gitlab-projects-out.d.ts +31 -0
- package/dist/{esm/models/remote-app.d.ts → models/history-out.d.ts} +14 -19
- package/dist/{esm/models/block.d.ts → models/iam-account-body.d.ts} +10 -16
- package/dist/{esm/models/get-ai-activities200-response.d.ts → models/iam-assume-body.d.ts} +10 -3
- package/dist/models/iam-create-organization-input.d.ts +12 -0
- package/dist/models/iam-organization.d.ts +12 -0
- package/dist/{esm/models/application-config-option.d.ts → models/iam-search-organizations-output.d.ts} +8 -7
- package/dist/models/{session.d.ts → iam-set-avatar-input.d.ts} +11 -11
- package/dist/models/iam-update-organization-input.d.ts +12 -0
- package/dist/models/iam-webauthn-credential.d.ts +6 -0
- package/dist/models/index.d.ts +21 -103
- package/dist/models/index.js +21 -103
- package/dist/models/integrity.d.ts +13 -7
- package/dist/models/leader-row.d.ts +42 -0
- package/dist/models/{vector-score.d.ts → match.d.ts} +13 -7
- package/dist/{esm/models/model-search-result.d.ts → models/model-history.d.ts} +14 -25
- package/dist/models/published-claim.d.ts +54 -0
- package/dist/models/put-claims-in.d.ts +31 -0
- package/dist/models/put-claims-out.d.ts +30 -0
- package/dist/models/request.d.ts +60 -0
- package/dist/models/response.d.ts +50 -0
- package/dist/models/run-point.d.ts +48 -0
- package/dist/models/runner-build-req.d.ts +0 -6
- package/dist/models/runner-build-resp.d.ts +2 -2
- package/dist/models/trail.d.ts +49 -0
- package/package.json +1 -1
- package/src/api/admin-api.ts +360 -16
- package/src/api/ads-api.ts +28 -0
- package/src/api/affiliates-api.ts +40 -0
- package/src/api/agent-api.ts +16 -0
- package/src/api/agents-api.ts +128 -0
- package/src/api/ai-api.ts +2430 -3224
- package/src/api/allowance-api.ts +128 -0
- package/src/api/analytics-api.ts +16 -0
- package/src/api/appearance-api.ts +8 -0
- package/src/api/ask-api.ts +8 -0
- package/src/api/audio-api.ts +28 -8
- package/src/api/audit-api.ts +4 -0
- package/src/api/authors-api.ts +20 -0
- package/src/api/authz-api.ts +12 -0
- package/src/api/auto-api.ts +44 -0
- package/src/api/automations-api.ts +72 -0
- package/src/api/avatar-api.ts +8 -0
- package/src/api/base-api.ts +4 -0
- package/src/api/benchmark-api.ts +362 -0
- package/src/api/billing-api.ts +304 -0
- package/src/api/blueprint-api.ts +12 -0
- package/src/api/books-api.ts +100 -0
- package/src/api/bot-api.ts +36 -0
- package/src/api/bots-api.ts +12 -0
- package/src/api/builds-api.ts +4 -0
- package/src/api/campaign-api.ts +44 -0
- package/src/api/captable-api.ts +124 -0
- package/src/api/cart-api.ts +16 -0
- package/src/api/catalog-api.ts +32 -0
- package/src/api/chains-api.ts +8 -0
- package/src/api/channels-api.ts +28 -0
- package/src/api/chat-api.ts +74 -0
- package/src/api/cloud-api.ts +20 -0
- package/src/api/cloudflare-api.ts +132 -0
- package/src/api/clusters-api.ts +24 -0
- package/src/api/code-api.ts +48 -0
- package/src/api/coding-api.ts +4 -0
- package/src/api/commerce-api.ts +492 -0
- package/src/api/company-api.ts +88 -0
- package/src/api/compat-api.ts +92 -0
- package/src/api/completions-api.ts +4 -0
- package/src/api/compliance-api.ts +76 -8
- package/src/api/compute-api.ts +28 -0
- package/src/api/connectors-api.ts +32 -0
- package/src/api/content-api.ts +24 -0
- package/src/api/crawl-api.ts +4 -0
- package/src/api/crm-api.ts +80 -0
- package/src/api/csrf-api.ts +4 -0
- package/src/api/dataroom-api.ts +68 -0
- package/src/api/default-api.ts +258 -0
- package/src/api/deploy-api.ts +84 -0
- package/src/api/destinations-api.ts +20 -0
- package/src/api/dev-bridge-api.ts +4 -0
- package/src/api/dns-api.ts +20 -0
- package/src/api/docs-api.ts +4 -0
- package/src/api/documents-api.ts +37 -8
- package/src/api/domain-api.ts +28 -0
- package/src/api/download-api.ts +4 -0
- package/src/api/edge-api.ts +128 -0
- package/src/api/embed-api.ts +4 -0
- package/src/api/embeddings-api.ts +4 -0
- package/src/api/enablement-api.ts +12 -0
- package/src/api/engine-api.ts +16 -0
- package/src/api/entitlements-api.ts +4 -0
- package/src/api/environments-api.ts +4 -0
- package/src/api/errors-api.ts +4 -0
- package/src/api/esign-api.ts +64 -12
- package/src/api/evals-api.ts +64 -0
- package/src/api/event-api.ts +12 -0
- package/src/api/exec-api.ts +8 -0
- package/src/api/experiments-api.ts +28 -0
- package/src/api/feedback-api.ts +4 -0
- package/src/api/files-api.ts +4 -0
- package/src/api/finance-api.ts +32 -0
- package/src/api/finetune-api.ts +36 -0
- package/src/api/flags-api.ts +36 -0
- package/src/api/fleet-api.ts +24 -0
- package/src/api/flow-api.ts +32 -0
- package/src/api/framework-api.ts +76 -0
- package/src/api/functions-api.ts +44 -0
- package/src/api/gateway-api.ts +12 -0
- package/src/api/git-api.ts +160 -0
- package/src/api/git-webhook-api.ts +4 -0
- package/src/api/gpus-api.ts +8 -0
- package/src/api/guide-api.ts +76 -0
- package/src/api/help-api.ts +16 -0
- package/src/api/iam-api.ts +1620 -18
- package/src/api/images-api.ts +4 -0
- package/src/api/index-api.ts +68 -0
- package/src/api/indexers-api.ts +4 -0
- package/src/api/ingress-api.ts +72 -0
- package/src/api/insights-api.ts +8 -0
- package/src/api/install-patch-api.ts +4 -0
- package/src/api/instances-api.ts +2357 -0
- package/src/api/integrations-api.ts +224 -0
- package/src/api/k8s-api.ts +20 -0
- package/src/api/kb-api.ts +36 -0
- package/src/api/keys-api.ts +12 -0
- package/src/api/kms-api.ts +28 -0
- package/src/api/legal-api.ts +44 -0
- package/src/api/licensing-api.ts +44 -0
- package/src/api/links-api.ts +44 -0
- package/src/api/logs-api.ts +12 -0
- package/src/api/machines-api.ts +32 -0
- package/src/api/marketing-api.ts +140 -0
- package/src/api/marketplace-api.ts +24 -0
- package/src/api/mcp-api.ts +12 -0
- package/src/api/meet-api.ts +12 -0
- package/src/api/memory-api.ts +28 -0
- package/src/api/mesh-api.ts +4 -0
- package/src/api/messages-api.ts +8 -0
- package/src/api/metrics-api.ts +16 -0
- package/src/api/ml-api.ts +28 -0
- package/src/api/models-api.ts +8 -0
- package/src/api/mq-api.ts +60 -0
- package/src/api/networks-api.ts +12 -0
- package/src/api/notify-api.ts +16 -0
- package/src/api/o11y-api.ts +1464 -4
- package/src/api/oracles-api.ts +4 -0
- package/src/api/org-api.ts +40 -0
- package/src/api/orgs-api.ts +12 -0
- package/src/api/payments-api.ts +8 -0
- package/src/api/pipelines-api.ts +4 -0
- package/src/api/plans-api.ts +80 -0
- package/src/api/platform-api.ts +196 -0
- package/src/api/plugins-api.ts +16 -0
- package/src/api/prefs-api.ts +8 -0
- package/src/api/pricing-api.ts +100 -0
- package/src/api/projects-api.ts +64 -0
- package/src/api/prompts-api.ts +24 -0
- package/src/api/pubsub-api.ts +72 -0
- package/src/api/query-api.ts +4 -0
- package/src/api/query-multiple-api.ts +4 -0
- package/src/api/rag-api.ts +20 -0
- package/src/api/referrals-api.ts +8 -0
- package/src/api/registry-api.ts +24 -0
- package/src/api/releases-api.ts +4 -0
- package/src/api/replay-api.ts +4 -0
- package/src/api/rerank-api.ts +4 -0
- package/src/api/research-api.ts +32 -0
- package/src/api/responses-api.ts +8 -4
- package/src/api/risk-api.ts +124 -0
- package/src/api/router-api.ts +124 -6
- package/src/api/rpc-api.ts +4 -0
- package/src/api/run-api.ts +4 -0
- package/src/api/runner-api.ts +8 -153
- package/src/api/s3-api.ts +29 -316
- package/src/api/sandboxes-api.ts +76 -0
- package/src/api/sbom-api.ts +12 -0
- package/src/api/scrape-api.ts +4 -0
- package/src/api/search-api.ts +43 -261
- package/src/api/security-api.ts +28 -0
- package/src/api/{sentry-api.ts → sentinel-api.ts} +506 -418
- package/src/api/settings-api.ts +8 -0
- package/src/api/share-api.ts +8 -0
- package/src/api/sites-api.ts +912 -1
- package/src/api/skills-api.ts +16 -0
- package/src/api/social-api.ts +52 -0
- package/src/api/store-api.ts +136 -0
- package/src/api/summary-api.ts +4 -0
- package/src/api/sync-api.ts +24 -0
- package/src/api/tags-api.ts +4 -0
- package/src/api/tasks-api.ts +40 -0
- package/src/api/taxonomy-api.ts +20 -0
- package/src/api/team-api.ts +68 -0
- package/src/api/tel-api.ts +40 -0
- package/src/api/templates-api.ts +20 -0
- package/src/api/todo-api.ts +48 -0
- package/src/api/tokens-api.ts +4 -0
- package/src/api/tools-api.ts +32 -0
- package/src/api/traces-api.ts +16 -0
- package/src/api/traffic-api.ts +4 -0
- package/src/api/translate-api.ts +12 -0
- package/src/api/upload-api.ts +4 -0
- package/src/api/usage-api.ts +44 -0
- package/src/api/validators-api.ts +16 -0
- package/src/api/vector-api.ts +8 -319
- package/src/api/videos-api.ts +70 -16
- package/src/api/wallets-api.ts +32 -0
- package/src/api/webhooks-api.ts +32 -0
- package/src/api/websearch-api.ts +24 -0
- package/src/api/wecom-bot-api.ts +66 -16
- package/src/api/world-api.ts +24 -0
- package/src/api/x402-api.ts +4 -0
- package/src/api.ts +4 -11
- package/src/models/{resource-metrics.ts → allowance.ts} +17 -17
- package/src/models/{service-port.ts → backend-status.ts} +14 -14
- package/src/models/claim-row.ts +78 -0
- package/src/models/{lb-list.ts → claims-out.ts} +13 -7
- package/src/models/edge-state.ts +66 -0
- package/src/models/gitlab-project-view.ts +72 -0
- package/src/models/{vpc-list.ts → gitlab-projects-out.ts} +13 -7
- package/src/models/{remote-app.ts → history-out.ts} +16 -19
- package/src/models/{block.ts → iam-account-body.ts} +10 -16
- package/src/models/{get-ai-files200-response.ts → iam-assume-body.ts} +10 -6
- package/src/models/iam-create-organization-input.ts +12 -0
- package/src/models/iam-organization.ts +12 -0
- package/src/models/{container-detail.ts → iam-search-organizations-output.ts} +8 -14
- package/src/models/{session.ts → iam-set-avatar-input.ts} +11 -11
- package/src/models/iam-update-organization-input.ts +12 -0
- package/src/models/iam-webauthn-credential.ts +6 -0
- package/src/models/index.ts +21 -103
- package/src/models/integrity.ts +13 -7
- package/src/models/leader-row.ts +42 -0
- package/src/models/{vector-score.ts → match.ts} +13 -7
- package/src/models/{lb-view.ts → model-history.ts} +15 -30
- package/src/models/published-claim.ts +60 -0
- package/src/models/{self-release-list.ts → put-claims-in.ts} +13 -7
- package/src/models/{application-config-option.ts → put-claims-out.ts} +10 -10
- package/src/models/request.ts +66 -0
- package/src/models/response.ts +60 -0
- package/src/models/run-point.ts +54 -0
- package/src/models/runner-build-req.ts +0 -6
- package/src/models/runner-build-resp.ts +2 -2
- package/src/models/trail.ts +57 -0
- package/dist/api/balancers-api.d.ts +0 -211
- package/dist/api/balancers-api.js +0 -309
- package/dist/api/datastore-api.d.ts +0 -212
- package/dist/api/datastore-api.js +0 -307
- package/dist/api/docdb-api.d.ts +0 -212
- package/dist/api/docdb-api.js +0 -307
- package/dist/api/generate-text-to-speech-audio-api.d.ts +0 -70
- package/dist/api/generate-text-to-speech-audio-api.js +0 -119
- package/dist/api/generate-text-to-speech-audio-stream-api.d.ts +0 -70
- package/dist/api/generate-text-to-speech-audio-stream-api.js +0 -119
- package/dist/api/health-api.d.ts +0 -70
- package/dist/api/health-api.js +0 -119
- package/dist/api/kv-api.d.ts +0 -212
- package/dist/api/kv-api.js +0 -307
- package/dist/api/process-speech-to-text-api.d.ts +0 -70
- package/dist/api/process-speech-to-text-api.js +0 -119
- package/dist/api/sql-api.d.ts +0 -212
- package/dist/api/sql-api.js +0 -307
- package/dist/api/vpcs-api.d.ts +0 -211
- package/dist/api/vpcs-api.js +0 -309
- package/dist/esm/api/balancers-api.d.ts +0 -210
- package/dist/esm/api/balancers-api.js +0 -299
- package/dist/esm/api/datastore-api.d.ts +0 -211
- package/dist/esm/api/datastore-api.js +0 -297
- package/dist/esm/api/docdb-api.d.ts +0 -211
- package/dist/esm/api/docdb-api.js +0 -297
- package/dist/esm/api/generate-text-to-speech-audio-api.d.ts +0 -69
- package/dist/esm/api/generate-text-to-speech-audio-api.js +0 -109
- package/dist/esm/api/generate-text-to-speech-audio-stream-api.d.ts +0 -69
- package/dist/esm/api/generate-text-to-speech-audio-stream-api.js +0 -109
- package/dist/esm/api/health-api.d.ts +0 -69
- package/dist/esm/api/health-api.js +0 -109
- package/dist/esm/api/kv-api.d.ts +0 -211
- package/dist/esm/api/kv-api.js +0 -297
- package/dist/esm/api/process-speech-to-text-api.d.ts +0 -69
- package/dist/esm/api/process-speech-to-text-api.js +0 -109
- package/dist/esm/api/sql-api.d.ts +0 -211
- package/dist/esm/api/sql-api.js +0 -297
- package/dist/esm/api/vpcs-api.d.ts +0 -210
- package/dist/esm/api/vpcs-api.js +0 -299
- package/dist/esm/models/agent-mcp-tools.d.ts +0 -36
- package/dist/esm/models/application-event.d.ts +0 -72
- package/dist/esm/models/application-view.d.ts +0 -71
- package/dist/esm/models/article.d.ts +0 -73
- package/dist/esm/models/asset.d.ts +0 -108
- package/dist/esm/models/audit.d.ts +0 -204
- package/dist/esm/models/chat.d.ts +0 -168
- package/dist/esm/models/connection.d.ts +0 -156
- package/dist/esm/models/container-detail.d.ts +0 -37
- package/dist/esm/models/create-lbreq.d.ts +0 -49
- package/dist/esm/models/create-vpcreq.d.ts +0 -36
- package/dist/esm/models/deployment-detail.d.ts +0 -55
- package/dist/esm/models/envelope.d.ts +0 -47
- package/dist/esm/models/envelope.js +0 -17
- package/dist/esm/models/example-question.d.ts +0 -36
- package/dist/esm/models/form-item.d.ts +0 -48
- package/dist/esm/models/form.d.ts +0 -79
- package/dist/esm/models/fwd-rule.d.ts +0 -42
- package/dist/esm/models/get-ai-articles200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-articles200-response.js +0 -14
- package/dist/esm/models/get-ai-assets200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-assets200-response.js +0 -14
- package/dist/esm/models/get-ai-chats200-response.js +0 -14
- package/dist/esm/models/get-ai-deployments200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-deployments200-response.js +0 -14
- package/dist/esm/models/get-ai-files200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-files200-response.js +0 -14
- package/dist/esm/models/get-ai-forms200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-forms200-response.js +0 -14
- package/dist/esm/models/get-ai-graphs200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-graphs200-response.js +0 -14
- package/dist/esm/models/get-ai-messages200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-messages200-response.js +0 -14
- package/dist/esm/models/get-ai-nodes200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-nodes200-response.js +0 -14
- package/dist/esm/models/get-ai-providers200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-providers200-response.js +0 -14
- package/dist/esm/models/get-ai-records200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-records200-response.js +0 -14
- package/dist/esm/models/get-ai-remote-connections200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-remote-connections200-response.js +0 -14
- package/dist/esm/models/get-ai-routes200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-routes200-response.js +0 -14
- package/dist/esm/models/get-ai-scales200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-scales200-response.js +0 -14
- package/dist/esm/models/get-ai-scans200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-scans200-response.js +0 -14
- package/dist/esm/models/get-ai-signin-sessions200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-signin-sessions200-response.js +0 -14
- package/dist/esm/models/get-ai-stores200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-stores200-response.js +0 -14
- package/dist/esm/models/get-ai-tasks200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-tasks200-response.js +0 -14
- package/dist/esm/models/get-ai-templates200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-templates200-response.js +0 -14
- package/dist/esm/models/get-ai-usages200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-usages200-response.js +0 -14
- package/dist/esm/models/get-ai-vectors200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-vectors200-response.js +0 -14
- package/dist/esm/models/get-ai-videos200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-videos200-response.js +0 -14
- package/dist/esm/models/get-ai-workflows200-response.d.ts +0 -17
- package/dist/esm/models/get-ai-workflows200-response.js +0 -14
- package/dist/esm/models/graph.d.ts +0 -90
- package/dist/esm/models/graph.js +0 -14
- package/dist/esm/models/label.d.ts +0 -78
- package/dist/esm/models/label.js +0 -14
- package/dist/esm/models/lb-list.d.ts +0 -25
- package/dist/esm/models/lb-list.js +0 -14
- package/dist/esm/models/lb-view.js +0 -14
- package/dist/esm/models/message.d.ts +0 -232
- package/dist/esm/models/message.js +0 -14
- package/dist/esm/models/model-file.d.ts +0 -84
- package/dist/esm/models/model-file.js +0 -14
- package/dist/esm/models/model-route.d.ts +0 -126
- package/dist/esm/models/model-route.js +0 -14
- package/dist/esm/models/model-search-result.js +0 -14
- package/dist/esm/models/model-tool-call.d.ts +0 -36
- package/dist/esm/models/model-tool-call.js +0 -14
- package/dist/esm/models/node.d.ts +0 -183
- package/dist/esm/models/node.js +0 -14
- package/dist/esm/models/patch.d.ts +0 -72
- package/dist/esm/models/patch.js +0 -14
- package/dist/esm/models/post-ai-articles200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-articles200-response.js +0 -14
- package/dist/esm/models/post-ai-assets200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-assets200-response.js +0 -14
- package/dist/esm/models/post-ai-chats200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-chats200-response.js +0 -14
- package/dist/esm/models/post-ai-deployments200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-deployments200-response.js +0 -14
- package/dist/esm/models/post-ai-files200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-files200-response.js +0 -14
- package/dist/esm/models/post-ai-forms200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-forms200-response.js +0 -14
- package/dist/esm/models/post-ai-graphs200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-graphs200-response.js +0 -14
- package/dist/esm/models/post-ai-messages200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-messages200-response.js +0 -14
- package/dist/esm/models/post-ai-nodes200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-nodes200-response.js +0 -14
- package/dist/esm/models/post-ai-providers200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-providers200-response.js +0 -14
- package/dist/esm/models/post-ai-records200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-records200-response.js +0 -14
- package/dist/esm/models/post-ai-remote-connections200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-remote-connections200-response.js +0 -14
- package/dist/esm/models/post-ai-routes200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-routes200-response.js +0 -14
- package/dist/esm/models/post-ai-scales200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-scales200-response.js +0 -14
- package/dist/esm/models/post-ai-scans200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-scans200-response.js +0 -14
- package/dist/esm/models/post-ai-signin-sessions200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-signin-sessions200-response.js +0 -14
- package/dist/esm/models/post-ai-stores200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-stores200-response.js +0 -14
- package/dist/esm/models/post-ai-tasks200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-tasks200-response.js +0 -14
- package/dist/esm/models/post-ai-templates200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-templates200-response.js +0 -14
- package/dist/esm/models/post-ai-tree-files200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-tree-files200-response.js +0 -14
- package/dist/esm/models/post-ai-vectors200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-vectors200-response.js +0 -14
- package/dist/esm/models/post-ai-videos200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-videos200-response.js +0 -14
- package/dist/esm/models/post-ai-workflows200-response.d.ts +0 -17
- package/dist/esm/models/post-ai-workflows200-response.js +0 -14
- package/dist/esm/models/properties.d.ts +0 -30
- package/dist/esm/models/properties.js +0 -14
- package/dist/esm/models/provider.d.ts +0 -301
- package/dist/esm/models/provider.js +0 -14
- package/dist/esm/models/release-state.d.ts +0 -72
- package/dist/esm/models/release-state.js +0 -14
- package/dist/esm/models/remark.d.ts +0 -48
- package/dist/esm/models/remark.js +0 -14
- package/dist/esm/models/remote-app.js +0 -14
- package/dist/esm/models/resource-metrics.js +0 -14
- package/dist/esm/models/resource-requests.d.ts +0 -30
- package/dist/esm/models/resource-requests.js +0 -14
- package/dist/esm/models/scale.d.ts +0 -54
- package/dist/esm/models/scale.js +0 -14
- package/dist/esm/models/self-release-list.d.ts +0 -25
- package/dist/esm/models/self-release-list.js +0 -14
- package/dist/esm/models/service-detail.d.ts +0 -67
- package/dist/esm/models/service-detail.js +0 -14
- package/dist/esm/models/service-port.js +0 -14
- package/dist/esm/models/service.d.ts +0 -72
- package/dist/esm/models/service.js +0 -14
- package/dist/esm/models/session.js +0 -14
- package/dist/esm/models/store.d.ts +0 -311
- package/dist/esm/models/store.js +0 -14
- package/dist/esm/models/task.d.ts +0 -132
- package/dist/esm/models/task.js +0 -14
- package/dist/esm/models/template-config-option.d.ts +0 -54
- package/dist/esm/models/template-config-option.js +0 -14
- package/dist/esm/models/template.d.ts +0 -91
- package/dist/esm/models/template.js +0 -14
- package/dist/esm/models/tree-file.d.ts +0 -60
- package/dist/esm/models/tree-file.js +0 -14
- package/dist/esm/models/vector-score.js +0 -14
- package/dist/esm/models/vector.d.ts +0 -108
- package/dist/esm/models/vector.js +0 -14
- package/dist/esm/models/video.d.ts +0 -274
- package/dist/esm/models/video.js +0 -14
- package/dist/esm/models/vpc-list.d.ts +0 -25
- package/dist/esm/models/vpc-list.js +0 -14
- package/dist/esm/models/vpc-view.d.ts +0 -54
- package/dist/esm/models/vpc-view.js +0 -14
- package/dist/esm/models/workflow.d.ts +0 -66
- package/dist/esm/models/workflow.js +0 -14
- package/dist/models/activity.d.ts +0 -32
- package/dist/models/agent-mcp-tools.d.ts +0 -36
- package/dist/models/application-config-option.d.ts +0 -30
- package/dist/models/application-event.d.ts +0 -72
- package/dist/models/application-view.d.ts +0 -71
- package/dist/models/article.d.ts +0 -73
- package/dist/models/asset.d.ts +0 -108
- package/dist/models/audit.d.ts +0 -204
- package/dist/models/chat.d.ts +0 -168
- package/dist/models/connection.d.ts +0 -156
- package/dist/models/container-detail.d.ts +0 -37
- package/dist/models/create-lbreq.d.ts +0 -49
- package/dist/models/create-vpcreq.d.ts +0 -36
- package/dist/models/deployment-detail.d.ts +0 -55
- package/dist/models/env-variable.d.ts +0 -30
- package/dist/models/envelope.d.ts +0 -47
- package/dist/models/envelope.js +0 -20
- package/dist/models/example-question.d.ts +0 -36
- package/dist/models/form-item.d.ts +0 -48
- package/dist/models/form.d.ts +0 -79
- package/dist/models/fwd-rule.d.ts +0 -42
- package/dist/models/get-ai-activities200-response.d.ts +0 -17
- package/dist/models/get-ai-articles200-response.d.ts +0 -17
- package/dist/models/get-ai-articles200-response.js +0 -15
- package/dist/models/get-ai-assets200-response.d.ts +0 -17
- package/dist/models/get-ai-assets200-response.js +0 -15
- package/dist/models/get-ai-chats200-response.d.ts +0 -17
- package/dist/models/get-ai-chats200-response.js +0 -15
- package/dist/models/get-ai-deployments200-response.d.ts +0 -17
- package/dist/models/get-ai-deployments200-response.js +0 -15
- package/dist/models/get-ai-files200-response.d.ts +0 -17
- package/dist/models/get-ai-files200-response.js +0 -15
- package/dist/models/get-ai-forms200-response.d.ts +0 -17
- package/dist/models/get-ai-forms200-response.js +0 -15
- package/dist/models/get-ai-graphs200-response.d.ts +0 -17
- package/dist/models/get-ai-graphs200-response.js +0 -15
- package/dist/models/get-ai-messages200-response.d.ts +0 -17
- package/dist/models/get-ai-messages200-response.js +0 -15
- package/dist/models/get-ai-nodes200-response.d.ts +0 -17
- package/dist/models/get-ai-nodes200-response.js +0 -15
- package/dist/models/get-ai-providers200-response.d.ts +0 -17
- package/dist/models/get-ai-providers200-response.js +0 -15
- package/dist/models/get-ai-records200-response.d.ts +0 -17
- package/dist/models/get-ai-records200-response.js +0 -15
- package/dist/models/get-ai-remote-connections200-response.d.ts +0 -17
- package/dist/models/get-ai-remote-connections200-response.js +0 -15
- package/dist/models/get-ai-routes200-response.d.ts +0 -17
- package/dist/models/get-ai-routes200-response.js +0 -15
- package/dist/models/get-ai-scales200-response.d.ts +0 -17
- package/dist/models/get-ai-scales200-response.js +0 -15
- package/dist/models/get-ai-scans200-response.d.ts +0 -17
- package/dist/models/get-ai-scans200-response.js +0 -15
- package/dist/models/get-ai-signin-sessions200-response.d.ts +0 -17
- package/dist/models/get-ai-signin-sessions200-response.js +0 -15
- package/dist/models/get-ai-stores200-response.d.ts +0 -17
- package/dist/models/get-ai-stores200-response.js +0 -15
- package/dist/models/get-ai-tasks200-response.d.ts +0 -17
- package/dist/models/get-ai-tasks200-response.js +0 -15
- package/dist/models/get-ai-templates200-response.d.ts +0 -17
- package/dist/models/get-ai-templates200-response.js +0 -15
- package/dist/models/get-ai-usages200-response.d.ts +0 -17
- package/dist/models/get-ai-usages200-response.js +0 -15
- package/dist/models/get-ai-vectors200-response.d.ts +0 -17
- package/dist/models/get-ai-vectors200-response.js +0 -15
- package/dist/models/get-ai-videos200-response.d.ts +0 -17
- package/dist/models/get-ai-videos200-response.js +0 -15
- package/dist/models/get-ai-workflows200-response.d.ts +0 -17
- package/dist/models/get-ai-workflows200-response.js +0 -15
- package/dist/models/graph.d.ts +0 -90
- package/dist/models/graph.js +0 -15
- package/dist/models/label.d.ts +0 -78
- package/dist/models/label.js +0 -15
- package/dist/models/lb-list.d.ts +0 -25
- package/dist/models/lb-list.js +0 -15
- package/dist/models/lb-view.d.ts +0 -54
- package/dist/models/lb-view.js +0 -15
- package/dist/models/message.d.ts +0 -232
- package/dist/models/message.js +0 -15
- package/dist/models/model-file.d.ts +0 -84
- package/dist/models/model-file.js +0 -15
- package/dist/models/model-route.d.ts +0 -126
- package/dist/models/model-route.js +0 -15
- package/dist/models/model-search-result.d.ts +0 -48
- package/dist/models/model-search-result.js +0 -15
- package/dist/models/model-tool-call.d.ts +0 -36
- package/dist/models/model-tool-call.js +0 -15
- package/dist/models/node.d.ts +0 -183
- package/dist/models/node.js +0 -15
- package/dist/models/patch.d.ts +0 -72
- package/dist/models/patch.js +0 -15
- package/dist/models/post-ai-articles200-response.d.ts +0 -17
- package/dist/models/post-ai-articles200-response.js +0 -15
- package/dist/models/post-ai-assets200-response.d.ts +0 -17
- package/dist/models/post-ai-assets200-response.js +0 -15
- package/dist/models/post-ai-chats200-response.d.ts +0 -17
- package/dist/models/post-ai-chats200-response.js +0 -15
- package/dist/models/post-ai-deployments200-response.d.ts +0 -17
- package/dist/models/post-ai-deployments200-response.js +0 -15
- package/dist/models/post-ai-files200-response.d.ts +0 -17
- package/dist/models/post-ai-files200-response.js +0 -15
- package/dist/models/post-ai-forms200-response.d.ts +0 -17
- package/dist/models/post-ai-forms200-response.js +0 -15
- package/dist/models/post-ai-graphs200-response.d.ts +0 -17
- package/dist/models/post-ai-graphs200-response.js +0 -15
- package/dist/models/post-ai-messages200-response.d.ts +0 -17
- package/dist/models/post-ai-messages200-response.js +0 -15
- package/dist/models/post-ai-nodes200-response.d.ts +0 -17
- package/dist/models/post-ai-nodes200-response.js +0 -15
- package/dist/models/post-ai-providers200-response.d.ts +0 -17
- package/dist/models/post-ai-providers200-response.js +0 -15
- package/dist/models/post-ai-records200-response.d.ts +0 -17
- package/dist/models/post-ai-records200-response.js +0 -15
- package/dist/models/post-ai-remote-connections200-response.d.ts +0 -17
- package/dist/models/post-ai-remote-connections200-response.js +0 -15
- package/dist/models/post-ai-routes200-response.d.ts +0 -17
- package/dist/models/post-ai-routes200-response.js +0 -15
- package/dist/models/post-ai-scales200-response.d.ts +0 -17
- package/dist/models/post-ai-scales200-response.js +0 -15
- package/dist/models/post-ai-scans200-response.d.ts +0 -17
- package/dist/models/post-ai-scans200-response.js +0 -15
- package/dist/models/post-ai-signin-sessions200-response.d.ts +0 -17
- package/dist/models/post-ai-signin-sessions200-response.js +0 -15
- package/dist/models/post-ai-stores200-response.d.ts +0 -17
- package/dist/models/post-ai-stores200-response.js +0 -15
- package/dist/models/post-ai-tasks200-response.d.ts +0 -17
- package/dist/models/post-ai-tasks200-response.js +0 -15
- package/dist/models/post-ai-templates200-response.d.ts +0 -17
- package/dist/models/post-ai-templates200-response.js +0 -15
- package/dist/models/post-ai-tree-files200-response.d.ts +0 -17
- package/dist/models/post-ai-tree-files200-response.js +0 -15
- package/dist/models/post-ai-vectors200-response.d.ts +0 -17
- package/dist/models/post-ai-vectors200-response.js +0 -15
- package/dist/models/post-ai-videos200-response.d.ts +0 -17
- package/dist/models/post-ai-videos200-response.js +0 -15
- package/dist/models/post-ai-workflows200-response.d.ts +0 -17
- package/dist/models/post-ai-workflows200-response.js +0 -15
- package/dist/models/properties.d.ts +0 -30
- package/dist/models/properties.js +0 -15
- package/dist/models/provider.d.ts +0 -301
- package/dist/models/provider.js +0 -15
- package/dist/models/release-state.d.ts +0 -72
- package/dist/models/release-state.js +0 -15
- package/dist/models/remark.d.ts +0 -48
- package/dist/models/remark.js +0 -15
- package/dist/models/remote-app.js +0 -15
- package/dist/models/resource-metrics.js +0 -15
- package/dist/models/resource-requests.d.ts +0 -30
- package/dist/models/resource-requests.js +0 -15
- package/dist/models/scale.d.ts +0 -54
- package/dist/models/scale.js +0 -15
- package/dist/models/self-release-list.d.ts +0 -25
- package/dist/models/self-release-list.js +0 -15
- package/dist/models/service-detail.d.ts +0 -67
- package/dist/models/service-detail.js +0 -15
- package/dist/models/service-port.js +0 -15
- package/dist/models/service.d.ts +0 -72
- package/dist/models/service.js +0 -15
- package/dist/models/session.js +0 -15
- package/dist/models/store.d.ts +0 -311
- package/dist/models/store.js +0 -15
- package/dist/models/task.d.ts +0 -132
- package/dist/models/task.js +0 -15
- package/dist/models/template-config-option.d.ts +0 -54
- package/dist/models/template-config-option.js +0 -15
- package/dist/models/template.d.ts +0 -91
- package/dist/models/template.js +0 -15
- package/dist/models/tree-file.d.ts +0 -60
- package/dist/models/tree-file.js +0 -15
- package/dist/models/vector-score.js +0 -15
- package/dist/models/vector.d.ts +0 -108
- package/dist/models/vector.js +0 -15
- package/dist/models/video.d.ts +0 -274
- package/dist/models/video.js +0 -15
- package/dist/models/vpc-list.d.ts +0 -25
- package/dist/models/vpc-list.js +0 -15
- package/dist/models/vpc-view.d.ts +0 -54
- package/dist/models/vpc-view.js +0 -15
- package/dist/models/workflow.d.ts +0 -66
- package/dist/models/workflow.js +0 -15
- package/src/api/balancers-api.ts +0 -379
- package/src/api/datastore-api.ts +0 -379
- package/src/api/docdb-api.ts +0 -379
- package/src/api/generate-text-to-speech-audio-api.ts +0 -122
- package/src/api/generate-text-to-speech-audio-stream-api.ts +0 -122
- package/src/api/health-api.ts +0 -122
- package/src/api/kv-api.ts +0 -379
- package/src/api/process-speech-to-text-api.ts +0 -122
- package/src/api/sql-api.ts +0 -379
- package/src/api/vpcs-api.ts +0 -379
- package/src/models/activity.ts +0 -36
- package/src/models/agent-mcp-tools.ts +0 -42
- package/src/models/application-event.ts +0 -78
- package/src/models/application-view.ts +0 -87
- package/src/models/article.ts +0 -81
- package/src/models/asset.ts +0 -114
- package/src/models/audit.ts +0 -210
- package/src/models/chat.ts +0 -174
- package/src/models/connection.ts +0 -162
- package/src/models/create-lbreq.ts +0 -57
- package/src/models/create-vpcreq.ts +0 -42
- package/src/models/deployment-detail.ts +0 -63
- package/src/models/env-variable.ts +0 -36
- package/src/models/envelope.ts +0 -56
- package/src/models/example-question.ts +0 -42
- package/src/models/form-item.ts +0 -54
- package/src/models/form.ts +0 -87
- package/src/models/fwd-rule.ts +0 -48
- package/src/models/get-ai-activities200-response.ts +0 -29
- package/src/models/get-ai-articles200-response.ts +0 -29
- package/src/models/get-ai-assets200-response.ts +0 -29
- package/src/models/get-ai-chats200-response.ts +0 -29
- package/src/models/get-ai-deployments200-response.ts +0 -29
- package/src/models/get-ai-forms200-response.ts +0 -29
- package/src/models/get-ai-graphs200-response.ts +0 -29
- package/src/models/get-ai-messages200-response.ts +0 -29
- package/src/models/get-ai-nodes200-response.ts +0 -29
- package/src/models/get-ai-providers200-response.ts +0 -29
- package/src/models/get-ai-records200-response.ts +0 -29
- package/src/models/get-ai-remote-connections200-response.ts +0 -29
- package/src/models/get-ai-routes200-response.ts +0 -29
- package/src/models/get-ai-scales200-response.ts +0 -29
- package/src/models/get-ai-scans200-response.ts +0 -29
- package/src/models/get-ai-signin-sessions200-response.ts +0 -29
- package/src/models/get-ai-stores200-response.ts +0 -29
- package/src/models/get-ai-tasks200-response.ts +0 -29
- package/src/models/get-ai-templates200-response.ts +0 -29
- package/src/models/get-ai-usages200-response.ts +0 -29
- package/src/models/get-ai-vectors200-response.ts +0 -29
- package/src/models/get-ai-videos200-response.ts +0 -29
- package/src/models/get-ai-workflows200-response.ts +0 -29
- package/src/models/graph.ts +0 -96
- package/src/models/label.ts +0 -84
- package/src/models/message.ts +0 -246
- package/src/models/model-file.ts +0 -90
- package/src/models/model-route.ts +0 -132
- package/src/models/model-search-result.ts +0 -54
- package/src/models/model-tool-call.ts +0 -42
- package/src/models/node.ts +0 -195
- package/src/models/patch.ts +0 -78
- package/src/models/post-ai-articles200-response.ts +0 -29
- package/src/models/post-ai-assets200-response.ts +0 -29
- package/src/models/post-ai-chats200-response.ts +0 -29
- package/src/models/post-ai-deployments200-response.ts +0 -29
- package/src/models/post-ai-files200-response.ts +0 -26
- package/src/models/post-ai-forms200-response.ts +0 -29
- package/src/models/post-ai-graphs200-response.ts +0 -29
- package/src/models/post-ai-messages200-response.ts +0 -29
- package/src/models/post-ai-nodes200-response.ts +0 -29
- package/src/models/post-ai-providers200-response.ts +0 -29
- package/src/models/post-ai-records200-response.ts +0 -29
- package/src/models/post-ai-remote-connections200-response.ts +0 -29
- package/src/models/post-ai-routes200-response.ts +0 -29
- package/src/models/post-ai-scales200-response.ts +0 -29
- package/src/models/post-ai-scans200-response.ts +0 -29
- package/src/models/post-ai-signin-sessions200-response.ts +0 -29
- package/src/models/post-ai-stores200-response.ts +0 -29
- package/src/models/post-ai-tasks200-response.ts +0 -29
- package/src/models/post-ai-templates200-response.ts +0 -29
- package/src/models/post-ai-tree-files200-response.ts +0 -29
- package/src/models/post-ai-vectors200-response.ts +0 -29
- package/src/models/post-ai-videos200-response.ts +0 -29
- package/src/models/post-ai-workflows200-response.ts +0 -29
- package/src/models/properties.ts +0 -36
- package/src/models/provider.ts +0 -309
- package/src/models/release-state.ts +0 -78
- package/src/models/remark.ts +0 -54
- package/src/models/resource-requests.ts +0 -36
- package/src/models/scale.ts +0 -60
- package/src/models/service-detail.ts +0 -75
- package/src/models/service.ts +0 -78
- package/src/models/store.ts +0 -321
- package/src/models/task.ts +0 -138
- package/src/models/template-config-option.ts +0 -60
- package/src/models/template.ts +0 -99
- package/src/models/tree-file.ts +0 -66
- package/src/models/vector.ts +0 -114
- package/src/models/video.ts +0 -282
- package/src/models/vpc-view.ts +0 -60
- package/src/models/workflow.ts +0 -72
- /package/dist/esm/models/{activity.js → allowance.js} +0 -0
- /package/dist/esm/models/{agent-mcp-tools.js → backend-status.js} +0 -0
- /package/dist/esm/models/{application-config-option.js → claim-row.js} +0 -0
- /package/dist/esm/models/{application-event.js → claims-out.js} +0 -0
- /package/dist/esm/models/{application-view.js → edge-state.js} +0 -0
- /package/dist/esm/models/{article.js → gitlab-project-view.js} +0 -0
- /package/dist/esm/models/{asset.js → gitlab-projects-out.js} +0 -0
- /package/dist/esm/models/{audit.js → history-out.js} +0 -0
- /package/dist/esm/models/{block.js → iam-account-body.js} +0 -0
- /package/dist/esm/models/{chat.js → iam-assume-body.js} +0 -0
- /package/dist/esm/models/{connection.js → iam-search-organizations-output.js} +0 -0
- /package/dist/esm/models/{container-detail.js → iam-set-avatar-input.js} +0 -0
- /package/dist/esm/models/{create-lbreq.js → match.js} +0 -0
- /package/dist/esm/models/{create-vpcreq.js → model-history.js} +0 -0
- /package/dist/esm/models/{deployment-detail.js → published-claim.js} +0 -0
- /package/dist/esm/models/{env-variable.js → put-claims-in.js} +0 -0
- /package/dist/esm/models/{example-question.js → put-claims-out.js} +0 -0
- /package/dist/esm/models/{form-item.js → request.js} +0 -0
- /package/dist/esm/models/{form.js → response.js} +0 -0
- /package/dist/esm/models/{fwd-rule.js → run-point.js} +0 -0
- /package/dist/esm/models/{get-ai-activities200-response.js → trail.js} +0 -0
- /package/dist/models/{activity.js → allowance.js} +0 -0
- /package/dist/models/{agent-mcp-tools.js → backend-status.js} +0 -0
- /package/dist/models/{application-config-option.js → claim-row.js} +0 -0
- /package/dist/models/{application-event.js → claims-out.js} +0 -0
- /package/dist/models/{application-view.js → edge-state.js} +0 -0
- /package/dist/models/{article.js → gitlab-project-view.js} +0 -0
- /package/dist/models/{asset.js → gitlab-projects-out.js} +0 -0
- /package/dist/models/{audit.js → history-out.js} +0 -0
- /package/dist/models/{block.js → iam-account-body.js} +0 -0
- /package/dist/models/{chat.js → iam-assume-body.js} +0 -0
- /package/dist/models/{connection.js → iam-search-organizations-output.js} +0 -0
- /package/dist/models/{container-detail.js → iam-set-avatar-input.js} +0 -0
- /package/dist/models/{create-lbreq.js → match.js} +0 -0
- /package/dist/models/{create-vpcreq.js → model-history.js} +0 -0
- /package/dist/models/{deployment-detail.js → published-claim.js} +0 -0
- /package/dist/models/{env-variable.js → put-claims-in.js} +0 -0
- /package/dist/models/{example-question.js → put-claims-out.js} +0 -0
- /package/dist/models/{form-item.js → request.js} +0 -0
- /package/dist/models/{form.js → response.js} +0 -0
- /package/dist/models/{fwd-rule.js → run-point.js} +0 -0
- /package/dist/models/{get-ai-activities200-response.js → trail.js} +0 -0
package/dist/api/sites-api.d.ts
CHANGED
|
@@ -13,20 +13,44 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import globalAxios from 'axios';
|
|
15
15
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
16
|
+
import type { ProjectsBoundDomains } from '../models';
|
|
16
17
|
import type { ProjectsBuildSite } from '../models';
|
|
17
18
|
import type { ProjectsComplete } from '../models';
|
|
18
19
|
import type { ProjectsDeploySite } from '../models';
|
|
19
20
|
import type { ProjectsDeployStart } from '../models';
|
|
20
21
|
import type { ProjectsDeployment } from '../models';
|
|
22
|
+
import type { ProjectsDomain } from '../models';
|
|
23
|
+
import type { ProjectsDomains } from '../models';
|
|
24
|
+
import type { ProjectsDomainsBind } from '../models';
|
|
25
|
+
import type { ProjectsFork } from '../models';
|
|
26
|
+
import type { ProjectsProject } from '../models';
|
|
21
27
|
import type { ProjectsPublish } from '../models';
|
|
22
28
|
import type { ProjectsRelease } from '../models';
|
|
23
29
|
import type { ProjectsSite } from '../models';
|
|
24
30
|
import type { ProjectsSiteDeploy } from '../models';
|
|
31
|
+
import type { ProjectsUpdate } from '../models';
|
|
25
32
|
/**
|
|
26
33
|
* SitesApi - axios parameter creator
|
|
27
34
|
* @export
|
|
28
35
|
*/
|
|
29
36
|
export declare const SitesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
37
|
+
/**
|
|
38
|
+
* 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.
|
|
39
|
+
* @summary Deletes a project and takes its site off the internet.
|
|
40
|
+
* @param {string} slug Slug is the project to act on, from the path. It is unique within the caller\'s org and nowhere else, so another tenant\'s slug is a 404.
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
*/
|
|
44
|
+
deleteSitesBySlug: (slug: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
+
/**
|
|
46
|
+
* 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.
|
|
47
|
+
* @summary Gives a custom hostname back, so the name is free to reuse.
|
|
48
|
+
* @param {string} slug Slug is the project the host is attached to, from the path.
|
|
49
|
+
* @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.
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
deleteSitesBySlugDomainsByHost: (slug: string, host: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
54
|
/**
|
|
31
55
|
* 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.
|
|
32
56
|
* @summary Returns the org\'s deployed sites at the pretty URLs they serve at.
|
|
@@ -59,6 +83,14 @@ export declare const SitesApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
59
83
|
* @throws {RequiredError}
|
|
60
84
|
*/
|
|
61
85
|
getSitesBySlugDeploymentsById: (slug: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
86
|
+
/**
|
|
87
|
+
* 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.
|
|
88
|
+
* @summary Returns every custom hostname this site holds: the live ones, plus any pending claim with the DNS records it still owes.
|
|
89
|
+
* @param {string} slug Slug is the project to act on, from the path. It is unique within the caller\'s org and nowhere else, so another tenant\'s slug is a 404.
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
getSitesBySlugDomains: (slug: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
94
|
/**
|
|
63
95
|
* 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.
|
|
64
96
|
* @summary Returns a site\'s releases newest-first, marking the active one — the rollback menu.
|
|
@@ -67,6 +99,15 @@ export declare const SitesApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
67
99
|
* @throws {RequiredError}
|
|
68
100
|
*/
|
|
69
101
|
getSitesBySlugReleases: (slug: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
102
|
+
/**
|
|
103
|
+
* 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.
|
|
104
|
+
* @summary Changes a project\'s settings, and only the settings you send.
|
|
105
|
+
* @param {string} slug Slug is the project to update, from the path. The URL is the addressing authority — a `slug` in the body cannot move the write to another project.
|
|
106
|
+
* @param {ProjectsUpdate} projectsUpdate
|
|
107
|
+
* @param {*} [options] Override http request option.
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
*/
|
|
110
|
+
patchSitesBySlug: (slug: string, projectsUpdate: ProjectsUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
111
|
/**
|
|
71
112
|
* 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.
|
|
72
113
|
* @summary Generates a self-contained, mobile-responsive static site from a natural-language brief and deploys it live in one call.
|
|
@@ -75,6 +116,15 @@ export declare const SitesApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
75
116
|
* @throws {RequiredError}
|
|
76
117
|
*/
|
|
77
118
|
postSites: (projectsBuildSite: ProjectsBuildSite, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
119
|
+
/**
|
|
120
|
+
* 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.
|
|
121
|
+
* @summary Upload a built site as one archive and serve it
|
|
122
|
+
* @param {string} slug
|
|
123
|
+
* @param {File} [body]
|
|
124
|
+
* @param {*} [options] Override http request option.
|
|
125
|
+
* @throws {RequiredError}
|
|
126
|
+
*/
|
|
127
|
+
postSitesBySlugDeploy: (slug: string, body?: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
78
128
|
/**
|
|
79
129
|
* 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.
|
|
80
130
|
* @summary Opens a deployment and hands back a short-lived, prefix-scoped grant to write its bytes straight to object storage.
|
|
@@ -94,6 +144,24 @@ export declare const SitesApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
94
144
|
* @throws {RequiredError}
|
|
95
145
|
*/
|
|
96
146
|
postSitesBySlugDeploymentsByIdComplete: (slug: string, id: string, projectsComplete: ProjectsComplete, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
147
|
+
/**
|
|
148
|
+
* 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.
|
|
149
|
+
* @summary Attaches one or more CUSTOM public hostnames to this org\'s site.
|
|
150
|
+
* @param {string} slug Slug is the site the hosts attach to, from the path.
|
|
151
|
+
* @param {ProjectsDomainsBind} projectsDomainsBind
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
postSitesBySlugDomains: (slug: string, projectsDomainsBind: ProjectsDomainsBind, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
156
|
+
/**
|
|
157
|
+
* 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\".
|
|
158
|
+
* @summary Checks the DNS challenge for a pending custom hostname and, when it passes, promotes the host so it begins routing at the edge.
|
|
159
|
+
* @param {string} slug Slug is the project the host is attached to, from the path.
|
|
160
|
+
* @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.
|
|
161
|
+
* @param {*} [options] Override http request option.
|
|
162
|
+
* @throws {RequiredError}
|
|
163
|
+
*/
|
|
164
|
+
postSitesBySlugDomainsByHostVerify: (slug: string, host: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
97
165
|
/**
|
|
98
166
|
* 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.
|
|
99
167
|
* @summary Promotes a build output into a new release AND goes live with it — create+activate in one call, which is the 99% path.
|
|
@@ -103,6 +171,14 @@ export declare const SitesApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
103
171
|
* @throws {RequiredError}
|
|
104
172
|
*/
|
|
105
173
|
postSitesBySlugPublish: (slug: string, projectsPublish: ProjectsPublish, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
174
|
+
/**
|
|
175
|
+
* 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.
|
|
176
|
+
* @summary Flushes the site\'s edge cache without redeploying anything.
|
|
177
|
+
* @param {string} slug Slug is the project to act on, from the path. It is unique within the caller\'s org and nowhere else, so another tenant\'s slug is a 404.
|
|
178
|
+
* @param {*} [options] Override http request option.
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
*/
|
|
181
|
+
postSitesBySlugPurge: (slug: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
106
182
|
/**
|
|
107
183
|
* 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.
|
|
108
184
|
* @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.
|
|
@@ -129,12 +205,37 @@ export declare const SitesApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
129
205
|
* @throws {RequiredError}
|
|
130
206
|
*/
|
|
131
207
|
postSitesDeploy: (projectsDeploySite: ProjectsDeploySite, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
208
|
+
/**
|
|
209
|
+
* 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.
|
|
210
|
+
* @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).
|
|
211
|
+
* @param {ProjectsFork} projectsFork
|
|
212
|
+
* @param {*} [options] Override http request option.
|
|
213
|
+
* @throws {RequiredError}
|
|
214
|
+
*/
|
|
215
|
+
postSitesFork: (projectsFork: ProjectsFork, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
132
216
|
};
|
|
133
217
|
/**
|
|
134
218
|
* SitesApi - functional programming interface
|
|
135
219
|
* @export
|
|
136
220
|
*/
|
|
137
221
|
export declare const SitesApiFp: (configuration?: Configuration) => {
|
|
222
|
+
/**
|
|
223
|
+
* 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.
|
|
224
|
+
* @summary Deletes a project and takes its site off the internet.
|
|
225
|
+
* @param {string} slug Slug is the project to act on, from the path. It is unique within the caller\'s org and nowhere else, so another tenant\'s slug is a 404.
|
|
226
|
+
* @param {*} [options] Override http request option.
|
|
227
|
+
* @throws {RequiredError}
|
|
228
|
+
*/
|
|
229
|
+
deleteSitesBySlug(slug: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
230
|
+
/**
|
|
231
|
+
* 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.
|
|
232
|
+
* @summary Gives a custom hostname back, so the name is free to reuse.
|
|
233
|
+
* @param {string} slug Slug is the project the host is attached to, from the path.
|
|
234
|
+
* @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.
|
|
235
|
+
* @param {*} [options] Override http request option.
|
|
236
|
+
* @throws {RequiredError}
|
|
237
|
+
*/
|
|
238
|
+
deleteSitesBySlugDomainsByHost(slug: string, host: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
138
239
|
/**
|
|
139
240
|
* 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.
|
|
140
241
|
* @summary Returns the org\'s deployed sites at the pretty URLs they serve at.
|
|
@@ -167,6 +268,14 @@ export declare const SitesApiFp: (configuration?: Configuration) => {
|
|
|
167
268
|
* @throws {RequiredError}
|
|
168
269
|
*/
|
|
169
270
|
getSitesBySlugDeploymentsById(slug: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsDeployment>>;
|
|
271
|
+
/**
|
|
272
|
+
* 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.
|
|
273
|
+
* @summary Returns every custom hostname this site holds: the live ones, plus any pending claim with the DNS records it still owes.
|
|
274
|
+
* @param {string} slug Slug is the project to act on, from the path. It is unique within the caller\'s org and nowhere else, so another tenant\'s slug is a 404.
|
|
275
|
+
* @param {*} [options] Override http request option.
|
|
276
|
+
* @throws {RequiredError}
|
|
277
|
+
*/
|
|
278
|
+
getSitesBySlugDomains(slug: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsDomains>>;
|
|
170
279
|
/**
|
|
171
280
|
* 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.
|
|
172
281
|
* @summary Returns a site\'s releases newest-first, marking the active one — the rollback menu.
|
|
@@ -175,6 +284,15 @@ export declare const SitesApiFp: (configuration?: Configuration) => {
|
|
|
175
284
|
* @throws {RequiredError}
|
|
176
285
|
*/
|
|
177
286
|
getSitesBySlugReleases(slug: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProjectsRelease>>>;
|
|
287
|
+
/**
|
|
288
|
+
* 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.
|
|
289
|
+
* @summary Changes a project\'s settings, and only the settings you send.
|
|
290
|
+
* @param {string} slug Slug is the project to update, from the path. The URL is the addressing authority — a `slug` in the body cannot move the write to another project.
|
|
291
|
+
* @param {ProjectsUpdate} projectsUpdate
|
|
292
|
+
* @param {*} [options] Override http request option.
|
|
293
|
+
* @throws {RequiredError}
|
|
294
|
+
*/
|
|
295
|
+
patchSitesBySlug(slug: string, projectsUpdate: ProjectsUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsProject>>;
|
|
178
296
|
/**
|
|
179
297
|
* 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.
|
|
180
298
|
* @summary Generates a self-contained, mobile-responsive static site from a natural-language brief and deploys it live in one call.
|
|
@@ -183,6 +301,15 @@ export declare const SitesApiFp: (configuration?: Configuration) => {
|
|
|
183
301
|
* @throws {RequiredError}
|
|
184
302
|
*/
|
|
185
303
|
postSites(projectsBuildSite: ProjectsBuildSite, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsSiteDeploy>>;
|
|
304
|
+
/**
|
|
305
|
+
* 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.
|
|
306
|
+
* @summary Upload a built site as one archive and serve it
|
|
307
|
+
* @param {string} slug
|
|
308
|
+
* @param {File} [body]
|
|
309
|
+
* @param {*} [options] Override http request option.
|
|
310
|
+
* @throws {RequiredError}
|
|
311
|
+
*/
|
|
312
|
+
postSitesBySlugDeploy(slug: string, body?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsDeployment>>;
|
|
186
313
|
/**
|
|
187
314
|
* 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.
|
|
188
315
|
* @summary Opens a deployment and hands back a short-lived, prefix-scoped grant to write its bytes straight to object storage.
|
|
@@ -202,6 +329,24 @@ export declare const SitesApiFp: (configuration?: Configuration) => {
|
|
|
202
329
|
* @throws {RequiredError}
|
|
203
330
|
*/
|
|
204
331
|
postSitesBySlugDeploymentsByIdComplete(slug: string, id: string, projectsComplete: ProjectsComplete, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsDeployment>>;
|
|
332
|
+
/**
|
|
333
|
+
* 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.
|
|
334
|
+
* @summary Attaches one or more CUSTOM public hostnames to this org\'s site.
|
|
335
|
+
* @param {string} slug Slug is the site the hosts attach to, from the path.
|
|
336
|
+
* @param {ProjectsDomainsBind} projectsDomainsBind
|
|
337
|
+
* @param {*} [options] Override http request option.
|
|
338
|
+
* @throws {RequiredError}
|
|
339
|
+
*/
|
|
340
|
+
postSitesBySlugDomains(slug: string, projectsDomainsBind: ProjectsDomainsBind, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsBoundDomains>>;
|
|
341
|
+
/**
|
|
342
|
+
* 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\".
|
|
343
|
+
* @summary Checks the DNS challenge for a pending custom hostname and, when it passes, promotes the host so it begins routing at the edge.
|
|
344
|
+
* @param {string} slug Slug is the project the host is attached to, from the path.
|
|
345
|
+
* @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.
|
|
346
|
+
* @param {*} [options] Override http request option.
|
|
347
|
+
* @throws {RequiredError}
|
|
348
|
+
*/
|
|
349
|
+
postSitesBySlugDomainsByHostVerify(slug: string, host: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsDomain>>;
|
|
205
350
|
/**
|
|
206
351
|
* 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.
|
|
207
352
|
* @summary Promotes a build output into a new release AND goes live with it — create+activate in one call, which is the 99% path.
|
|
@@ -211,6 +356,14 @@ export declare const SitesApiFp: (configuration?: Configuration) => {
|
|
|
211
356
|
* @throws {RequiredError}
|
|
212
357
|
*/
|
|
213
358
|
postSitesBySlugPublish(slug: string, projectsPublish: ProjectsPublish, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsRelease>>;
|
|
359
|
+
/**
|
|
360
|
+
* 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.
|
|
361
|
+
* @summary Flushes the site\'s edge cache without redeploying anything.
|
|
362
|
+
* @param {string} slug Slug is the project to act on, from the path. It is unique within the caller\'s org and nowhere else, so another tenant\'s slug is a 404.
|
|
363
|
+
* @param {*} [options] Override http request option.
|
|
364
|
+
* @throws {RequiredError}
|
|
365
|
+
*/
|
|
366
|
+
postSitesBySlugPurge(slug: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsProject>>;
|
|
214
367
|
/**
|
|
215
368
|
* 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.
|
|
216
369
|
* @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.
|
|
@@ -237,12 +390,36 @@ export declare const SitesApiFp: (configuration?: Configuration) => {
|
|
|
237
390
|
* @throws {RequiredError}
|
|
238
391
|
*/
|
|
239
392
|
postSitesDeploy(projectsDeploySite: ProjectsDeploySite, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsSiteDeploy>>;
|
|
393
|
+
/**
|
|
394
|
+
* 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.
|
|
395
|
+
* @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).
|
|
396
|
+
* @param {ProjectsFork} projectsFork
|
|
397
|
+
* @param {*} [options] Override http request option.
|
|
398
|
+
* @throws {RequiredError}
|
|
399
|
+
*/
|
|
400
|
+
postSitesFork(projectsFork: ProjectsFork, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsProject>>;
|
|
240
401
|
};
|
|
241
402
|
/**
|
|
242
403
|
* SitesApi - factory interface
|
|
243
404
|
* @export
|
|
244
405
|
*/
|
|
245
406
|
export declare const SitesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
407
|
+
/**
|
|
408
|
+
* 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.
|
|
409
|
+
* @summary Deletes a project and takes its site off the internet.
|
|
410
|
+
* @param {SitesApiDeleteSitesBySlugRequest} requestParameters Request parameters.
|
|
411
|
+
* @param {*} [options] Override http request option.
|
|
412
|
+
* @throws {RequiredError}
|
|
413
|
+
*/
|
|
414
|
+
deleteSitesBySlug(requestParameters: SitesApiDeleteSitesBySlugRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
415
|
+
/**
|
|
416
|
+
* 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.
|
|
417
|
+
* @summary Gives a custom hostname back, so the name is free to reuse.
|
|
418
|
+
* @param {SitesApiDeleteSitesBySlugDomainsByHostRequest} requestParameters Request parameters.
|
|
419
|
+
* @param {*} [options] Override http request option.
|
|
420
|
+
* @throws {RequiredError}
|
|
421
|
+
*/
|
|
422
|
+
deleteSitesBySlugDomainsByHost(requestParameters: SitesApiDeleteSitesBySlugDomainsByHostRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
246
423
|
/**
|
|
247
424
|
* 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.
|
|
248
425
|
* @summary Returns the org\'s deployed sites at the pretty URLs they serve at.
|
|
@@ -274,6 +451,14 @@ export declare const SitesApiFactory: (configuration?: Configuration, basePath?:
|
|
|
274
451
|
* @throws {RequiredError}
|
|
275
452
|
*/
|
|
276
453
|
getSitesBySlugDeploymentsById(requestParameters: SitesApiGetSitesBySlugDeploymentsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsDeployment>;
|
|
454
|
+
/**
|
|
455
|
+
* 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.
|
|
456
|
+
* @summary Returns every custom hostname this site holds: the live ones, plus any pending claim with the DNS records it still owes.
|
|
457
|
+
* @param {SitesApiGetSitesBySlugDomainsRequest} requestParameters Request parameters.
|
|
458
|
+
* @param {*} [options] Override http request option.
|
|
459
|
+
* @throws {RequiredError}
|
|
460
|
+
*/
|
|
461
|
+
getSitesBySlugDomains(requestParameters: SitesApiGetSitesBySlugDomainsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsDomains>;
|
|
277
462
|
/**
|
|
278
463
|
* 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.
|
|
279
464
|
* @summary Returns a site\'s releases newest-first, marking the active one — the rollback menu.
|
|
@@ -282,6 +467,14 @@ export declare const SitesApiFactory: (configuration?: Configuration, basePath?:
|
|
|
282
467
|
* @throws {RequiredError}
|
|
283
468
|
*/
|
|
284
469
|
getSitesBySlugReleases(requestParameters: SitesApiGetSitesBySlugReleasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProjectsRelease>>;
|
|
470
|
+
/**
|
|
471
|
+
* 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.
|
|
472
|
+
* @summary Changes a project\'s settings, and only the settings you send.
|
|
473
|
+
* @param {SitesApiPatchSitesBySlugRequest} requestParameters Request parameters.
|
|
474
|
+
* @param {*} [options] Override http request option.
|
|
475
|
+
* @throws {RequiredError}
|
|
476
|
+
*/
|
|
477
|
+
patchSitesBySlug(requestParameters: SitesApiPatchSitesBySlugRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsProject>;
|
|
285
478
|
/**
|
|
286
479
|
* 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.
|
|
287
480
|
* @summary Generates a self-contained, mobile-responsive static site from a natural-language brief and deploys it live in one call.
|
|
@@ -290,6 +483,14 @@ export declare const SitesApiFactory: (configuration?: Configuration, basePath?:
|
|
|
290
483
|
* @throws {RequiredError}
|
|
291
484
|
*/
|
|
292
485
|
postSites(requestParameters: SitesApiPostSitesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsSiteDeploy>;
|
|
486
|
+
/**
|
|
487
|
+
* 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.
|
|
488
|
+
* @summary Upload a built site as one archive and serve it
|
|
489
|
+
* @param {SitesApiPostSitesBySlugDeployRequest} requestParameters Request parameters.
|
|
490
|
+
* @param {*} [options] Override http request option.
|
|
491
|
+
* @throws {RequiredError}
|
|
492
|
+
*/
|
|
493
|
+
postSitesBySlugDeploy(requestParameters: SitesApiPostSitesBySlugDeployRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsDeployment>;
|
|
293
494
|
/**
|
|
294
495
|
* 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.
|
|
295
496
|
* @summary Opens a deployment and hands back a short-lived, prefix-scoped grant to write its bytes straight to object storage.
|
|
@@ -306,6 +507,22 @@ export declare const SitesApiFactory: (configuration?: Configuration, basePath?:
|
|
|
306
507
|
* @throws {RequiredError}
|
|
307
508
|
*/
|
|
308
509
|
postSitesBySlugDeploymentsByIdComplete(requestParameters: SitesApiPostSitesBySlugDeploymentsByIdCompleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsDeployment>;
|
|
510
|
+
/**
|
|
511
|
+
* 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.
|
|
512
|
+
* @summary Attaches one or more CUSTOM public hostnames to this org\'s site.
|
|
513
|
+
* @param {SitesApiPostSitesBySlugDomainsRequest} requestParameters Request parameters.
|
|
514
|
+
* @param {*} [options] Override http request option.
|
|
515
|
+
* @throws {RequiredError}
|
|
516
|
+
*/
|
|
517
|
+
postSitesBySlugDomains(requestParameters: SitesApiPostSitesBySlugDomainsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsBoundDomains>;
|
|
518
|
+
/**
|
|
519
|
+
* 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\".
|
|
520
|
+
* @summary Checks the DNS challenge for a pending custom hostname and, when it passes, promotes the host so it begins routing at the edge.
|
|
521
|
+
* @param {SitesApiPostSitesBySlugDomainsByHostVerifyRequest} requestParameters Request parameters.
|
|
522
|
+
* @param {*} [options] Override http request option.
|
|
523
|
+
* @throws {RequiredError}
|
|
524
|
+
*/
|
|
525
|
+
postSitesBySlugDomainsByHostVerify(requestParameters: SitesApiPostSitesBySlugDomainsByHostVerifyRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsDomain>;
|
|
309
526
|
/**
|
|
310
527
|
* 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.
|
|
311
528
|
* @summary Promotes a build output into a new release AND goes live with it — create+activate in one call, which is the 99% path.
|
|
@@ -314,6 +531,14 @@ export declare const SitesApiFactory: (configuration?: Configuration, basePath?:
|
|
|
314
531
|
* @throws {RequiredError}
|
|
315
532
|
*/
|
|
316
533
|
postSitesBySlugPublish(requestParameters: SitesApiPostSitesBySlugPublishRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsRelease>;
|
|
534
|
+
/**
|
|
535
|
+
* 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.
|
|
536
|
+
* @summary Flushes the site\'s edge cache without redeploying anything.
|
|
537
|
+
* @param {SitesApiPostSitesBySlugPurgeRequest} requestParameters Request parameters.
|
|
538
|
+
* @param {*} [options] Override http request option.
|
|
539
|
+
* @throws {RequiredError}
|
|
540
|
+
*/
|
|
541
|
+
postSitesBySlugPurge(requestParameters: SitesApiPostSitesBySlugPurgeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsProject>;
|
|
317
542
|
/**
|
|
318
543
|
* 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.
|
|
319
544
|
* @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.
|
|
@@ -338,7 +563,47 @@ export declare const SitesApiFactory: (configuration?: Configuration, basePath?:
|
|
|
338
563
|
* @throws {RequiredError}
|
|
339
564
|
*/
|
|
340
565
|
postSitesDeploy(requestParameters: SitesApiPostSitesDeployRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsSiteDeploy>;
|
|
566
|
+
/**
|
|
567
|
+
* 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.
|
|
568
|
+
* @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).
|
|
569
|
+
* @param {SitesApiPostSitesForkRequest} requestParameters Request parameters.
|
|
570
|
+
* @param {*} [options] Override http request option.
|
|
571
|
+
* @throws {RequiredError}
|
|
572
|
+
*/
|
|
573
|
+
postSitesFork(requestParameters: SitesApiPostSitesForkRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsProject>;
|
|
341
574
|
};
|
|
575
|
+
/**
|
|
576
|
+
* Request parameters for deleteSitesBySlug operation in SitesApi.
|
|
577
|
+
* @export
|
|
578
|
+
* @interface SitesApiDeleteSitesBySlugRequest
|
|
579
|
+
*/
|
|
580
|
+
export interface SitesApiDeleteSitesBySlugRequest {
|
|
581
|
+
/**
|
|
582
|
+
* Slug is the project to act on, from the path. It is unique within the caller\'s org and nowhere else, so another tenant\'s slug is a 404.
|
|
583
|
+
* @type {string}
|
|
584
|
+
* @memberof SitesApiDeleteSitesBySlug
|
|
585
|
+
*/
|
|
586
|
+
readonly slug: string;
|
|
587
|
+
}
|
|
588
|
+
/**
|
|
589
|
+
* Request parameters for deleteSitesBySlugDomainsByHost operation in SitesApi.
|
|
590
|
+
* @export
|
|
591
|
+
* @interface SitesApiDeleteSitesBySlugDomainsByHostRequest
|
|
592
|
+
*/
|
|
593
|
+
export interface SitesApiDeleteSitesBySlugDomainsByHostRequest {
|
|
594
|
+
/**
|
|
595
|
+
* Slug is the project the host is attached to, from the path.
|
|
596
|
+
* @type {string}
|
|
597
|
+
* @memberof SitesApiDeleteSitesBySlugDomainsByHost
|
|
598
|
+
*/
|
|
599
|
+
readonly slug: string;
|
|
600
|
+
/**
|
|
601
|
+
* Host is the custom hostname, from the path. It is cleaned to its canonical form (lowercased, trailing dot dropped) before anything is looked up.
|
|
602
|
+
* @type {string}
|
|
603
|
+
* @memberof SitesApiDeleteSitesBySlugDomainsByHost
|
|
604
|
+
*/
|
|
605
|
+
readonly host: string;
|
|
606
|
+
}
|
|
342
607
|
/**
|
|
343
608
|
* Request parameters for getSitesBySlug operation in SitesApi.
|
|
344
609
|
* @export
|
|
@@ -384,6 +649,19 @@ export interface SitesApiGetSitesBySlugDeploymentsByIdRequest {
|
|
|
384
649
|
*/
|
|
385
650
|
readonly id: string;
|
|
386
651
|
}
|
|
652
|
+
/**
|
|
653
|
+
* Request parameters for getSitesBySlugDomains operation in SitesApi.
|
|
654
|
+
* @export
|
|
655
|
+
* @interface SitesApiGetSitesBySlugDomainsRequest
|
|
656
|
+
*/
|
|
657
|
+
export interface SitesApiGetSitesBySlugDomainsRequest {
|
|
658
|
+
/**
|
|
659
|
+
* Slug is the project to act on, from the path. It is unique within the caller\'s org and nowhere else, so another tenant\'s slug is a 404.
|
|
660
|
+
* @type {string}
|
|
661
|
+
* @memberof SitesApiGetSitesBySlugDomains
|
|
662
|
+
*/
|
|
663
|
+
readonly slug: string;
|
|
664
|
+
}
|
|
387
665
|
/**
|
|
388
666
|
* Request parameters for getSitesBySlugReleases operation in SitesApi.
|
|
389
667
|
* @export
|
|
@@ -397,6 +675,25 @@ export interface SitesApiGetSitesBySlugReleasesRequest {
|
|
|
397
675
|
*/
|
|
398
676
|
readonly slug: string;
|
|
399
677
|
}
|
|
678
|
+
/**
|
|
679
|
+
* Request parameters for patchSitesBySlug operation in SitesApi.
|
|
680
|
+
* @export
|
|
681
|
+
* @interface SitesApiPatchSitesBySlugRequest
|
|
682
|
+
*/
|
|
683
|
+
export interface SitesApiPatchSitesBySlugRequest {
|
|
684
|
+
/**
|
|
685
|
+
* Slug is the project to update, from the path. The URL is the addressing authority — a `slug` in the body cannot move the write to another project.
|
|
686
|
+
* @type {string}
|
|
687
|
+
* @memberof SitesApiPatchSitesBySlug
|
|
688
|
+
*/
|
|
689
|
+
readonly slug: string;
|
|
690
|
+
/**
|
|
691
|
+
*
|
|
692
|
+
* @type {ProjectsUpdate}
|
|
693
|
+
* @memberof SitesApiPatchSitesBySlug
|
|
694
|
+
*/
|
|
695
|
+
readonly projectsUpdate: ProjectsUpdate;
|
|
696
|
+
}
|
|
400
697
|
/**
|
|
401
698
|
* Request parameters for postSites operation in SitesApi.
|
|
402
699
|
* @export
|
|
@@ -410,6 +707,25 @@ export interface SitesApiPostSitesRequest {
|
|
|
410
707
|
*/
|
|
411
708
|
readonly projectsBuildSite: ProjectsBuildSite;
|
|
412
709
|
}
|
|
710
|
+
/**
|
|
711
|
+
* Request parameters for postSitesBySlugDeploy operation in SitesApi.
|
|
712
|
+
* @export
|
|
713
|
+
* @interface SitesApiPostSitesBySlugDeployRequest
|
|
714
|
+
*/
|
|
715
|
+
export interface SitesApiPostSitesBySlugDeployRequest {
|
|
716
|
+
/**
|
|
717
|
+
*
|
|
718
|
+
* @type {string}
|
|
719
|
+
* @memberof SitesApiPostSitesBySlugDeploy
|
|
720
|
+
*/
|
|
721
|
+
readonly slug: string;
|
|
722
|
+
/**
|
|
723
|
+
*
|
|
724
|
+
* @type {File}
|
|
725
|
+
* @memberof SitesApiPostSitesBySlugDeploy
|
|
726
|
+
*/
|
|
727
|
+
readonly body?: File;
|
|
728
|
+
}
|
|
413
729
|
/**
|
|
414
730
|
* Request parameters for postSitesBySlugDeployments operation in SitesApi.
|
|
415
731
|
* @export
|
|
@@ -454,6 +770,44 @@ export interface SitesApiPostSitesBySlugDeploymentsByIdCompleteRequest {
|
|
|
454
770
|
*/
|
|
455
771
|
readonly projectsComplete: ProjectsComplete;
|
|
456
772
|
}
|
|
773
|
+
/**
|
|
774
|
+
* Request parameters for postSitesBySlugDomains operation in SitesApi.
|
|
775
|
+
* @export
|
|
776
|
+
* @interface SitesApiPostSitesBySlugDomainsRequest
|
|
777
|
+
*/
|
|
778
|
+
export interface SitesApiPostSitesBySlugDomainsRequest {
|
|
779
|
+
/**
|
|
780
|
+
* Slug is the site the hosts attach to, from the path.
|
|
781
|
+
* @type {string}
|
|
782
|
+
* @memberof SitesApiPostSitesBySlugDomains
|
|
783
|
+
*/
|
|
784
|
+
readonly slug: string;
|
|
785
|
+
/**
|
|
786
|
+
*
|
|
787
|
+
* @type {ProjectsDomainsBind}
|
|
788
|
+
* @memberof SitesApiPostSitesBySlugDomains
|
|
789
|
+
*/
|
|
790
|
+
readonly projectsDomainsBind: ProjectsDomainsBind;
|
|
791
|
+
}
|
|
792
|
+
/**
|
|
793
|
+
* Request parameters for postSitesBySlugDomainsByHostVerify operation in SitesApi.
|
|
794
|
+
* @export
|
|
795
|
+
* @interface SitesApiPostSitesBySlugDomainsByHostVerifyRequest
|
|
796
|
+
*/
|
|
797
|
+
export interface SitesApiPostSitesBySlugDomainsByHostVerifyRequest {
|
|
798
|
+
/**
|
|
799
|
+
* Slug is the project the host is attached to, from the path.
|
|
800
|
+
* @type {string}
|
|
801
|
+
* @memberof SitesApiPostSitesBySlugDomainsByHostVerify
|
|
802
|
+
*/
|
|
803
|
+
readonly slug: string;
|
|
804
|
+
/**
|
|
805
|
+
* Host is the custom hostname, from the path. It is cleaned to its canonical form (lowercased, trailing dot dropped) before anything is looked up.
|
|
806
|
+
* @type {string}
|
|
807
|
+
* @memberof SitesApiPostSitesBySlugDomainsByHostVerify
|
|
808
|
+
*/
|
|
809
|
+
readonly host: string;
|
|
810
|
+
}
|
|
457
811
|
/**
|
|
458
812
|
* Request parameters for postSitesBySlugPublish operation in SitesApi.
|
|
459
813
|
* @export
|
|
@@ -473,6 +827,19 @@ export interface SitesApiPostSitesBySlugPublishRequest {
|
|
|
473
827
|
*/
|
|
474
828
|
readonly projectsPublish: ProjectsPublish;
|
|
475
829
|
}
|
|
830
|
+
/**
|
|
831
|
+
* Request parameters for postSitesBySlugPurge operation in SitesApi.
|
|
832
|
+
* @export
|
|
833
|
+
* @interface SitesApiPostSitesBySlugPurgeRequest
|
|
834
|
+
*/
|
|
835
|
+
export interface SitesApiPostSitesBySlugPurgeRequest {
|
|
836
|
+
/**
|
|
837
|
+
* Slug is the project to act on, from the path. It is unique within the caller\'s org and nowhere else, so another tenant\'s slug is a 404.
|
|
838
|
+
* @type {string}
|
|
839
|
+
* @memberof SitesApiPostSitesBySlugPurge
|
|
840
|
+
*/
|
|
841
|
+
readonly slug: string;
|
|
842
|
+
}
|
|
476
843
|
/**
|
|
477
844
|
* Request parameters for postSitesBySlugReleases operation in SitesApi.
|
|
478
845
|
* @export
|
|
@@ -524,6 +891,19 @@ export interface SitesApiPostSitesDeployRequest {
|
|
|
524
891
|
*/
|
|
525
892
|
readonly projectsDeploySite: ProjectsDeploySite;
|
|
526
893
|
}
|
|
894
|
+
/**
|
|
895
|
+
* Request parameters for postSitesFork operation in SitesApi.
|
|
896
|
+
* @export
|
|
897
|
+
* @interface SitesApiPostSitesForkRequest
|
|
898
|
+
*/
|
|
899
|
+
export interface SitesApiPostSitesForkRequest {
|
|
900
|
+
/**
|
|
901
|
+
*
|
|
902
|
+
* @type {ProjectsFork}
|
|
903
|
+
* @memberof SitesApiPostSitesFork
|
|
904
|
+
*/
|
|
905
|
+
readonly projectsFork: ProjectsFork;
|
|
906
|
+
}
|
|
527
907
|
/**
|
|
528
908
|
* SitesApi - object-oriented interface
|
|
529
909
|
* @export
|
|
@@ -531,6 +911,24 @@ export interface SitesApiPostSitesDeployRequest {
|
|
|
531
911
|
* @extends {BaseAPI}
|
|
532
912
|
*/
|
|
533
913
|
export declare class SitesApi extends BaseAPI {
|
|
914
|
+
/**
|
|
915
|
+
* 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.
|
|
916
|
+
* @summary Deletes a project and takes its site off the internet.
|
|
917
|
+
* @param {SitesApiDeleteSitesBySlugRequest} requestParameters Request parameters.
|
|
918
|
+
* @param {*} [options] Override http request option.
|
|
919
|
+
* @throws {RequiredError}
|
|
920
|
+
* @memberof SitesApi
|
|
921
|
+
*/
|
|
922
|
+
deleteSitesBySlug(requestParameters: SitesApiDeleteSitesBySlugRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
|
|
923
|
+
/**
|
|
924
|
+
* 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.
|
|
925
|
+
* @summary Gives a custom hostname back, so the name is free to reuse.
|
|
926
|
+
* @param {SitesApiDeleteSitesBySlugDomainsByHostRequest} requestParameters Request parameters.
|
|
927
|
+
* @param {*} [options] Override http request option.
|
|
928
|
+
* @throws {RequiredError}
|
|
929
|
+
* @memberof SitesApi
|
|
930
|
+
*/
|
|
931
|
+
deleteSitesBySlugDomainsByHost(requestParameters: SitesApiDeleteSitesBySlugDomainsByHostRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
|
|
534
932
|
/**
|
|
535
933
|
* 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.
|
|
536
934
|
* @summary Returns the org\'s deployed sites at the pretty URLs they serve at.
|
|
@@ -566,6 +964,15 @@ export declare class SitesApi extends BaseAPI {
|
|
|
566
964
|
* @memberof SitesApi
|
|
567
965
|
*/
|
|
568
966
|
getSitesBySlugDeploymentsById(requestParameters: SitesApiGetSitesBySlugDeploymentsByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ProjectsDeployment, any, {}>>;
|
|
967
|
+
/**
|
|
968
|
+
* 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.
|
|
969
|
+
* @summary Returns every custom hostname this site holds: the live ones, plus any pending claim with the DNS records it still owes.
|
|
970
|
+
* @param {SitesApiGetSitesBySlugDomainsRequest} requestParameters Request parameters.
|
|
971
|
+
* @param {*} [options] Override http request option.
|
|
972
|
+
* @throws {RequiredError}
|
|
973
|
+
* @memberof SitesApi
|
|
974
|
+
*/
|
|
975
|
+
getSitesBySlugDomains(requestParameters: SitesApiGetSitesBySlugDomainsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ProjectsDomains, any, {}>>;
|
|
569
976
|
/**
|
|
570
977
|
* 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.
|
|
571
978
|
* @summary Returns a site\'s releases newest-first, marking the active one — the rollback menu.
|
|
@@ -575,6 +982,15 @@ export declare class SitesApi extends BaseAPI {
|
|
|
575
982
|
* @memberof SitesApi
|
|
576
983
|
*/
|
|
577
984
|
getSitesBySlugReleases(requestParameters: SitesApiGetSitesBySlugReleasesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ProjectsRelease[], any, {}>>;
|
|
985
|
+
/**
|
|
986
|
+
* 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.
|
|
987
|
+
* @summary Changes a project\'s settings, and only the settings you send.
|
|
988
|
+
* @param {SitesApiPatchSitesBySlugRequest} requestParameters Request parameters.
|
|
989
|
+
* @param {*} [options] Override http request option.
|
|
990
|
+
* @throws {RequiredError}
|
|
991
|
+
* @memberof SitesApi
|
|
992
|
+
*/
|
|
993
|
+
patchSitesBySlug(requestParameters: SitesApiPatchSitesBySlugRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ProjectsProject, any, {}>>;
|
|
578
994
|
/**
|
|
579
995
|
* 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.
|
|
580
996
|
* @summary Generates a self-contained, mobile-responsive static site from a natural-language brief and deploys it live in one call.
|
|
@@ -584,6 +1000,15 @@ export declare class SitesApi extends BaseAPI {
|
|
|
584
1000
|
* @memberof SitesApi
|
|
585
1001
|
*/
|
|
586
1002
|
postSites(requestParameters: SitesApiPostSitesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ProjectsSiteDeploy, any, {}>>;
|
|
1003
|
+
/**
|
|
1004
|
+
* 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.
|
|
1005
|
+
* @summary Upload a built site as one archive and serve it
|
|
1006
|
+
* @param {SitesApiPostSitesBySlugDeployRequest} requestParameters Request parameters.
|
|
1007
|
+
* @param {*} [options] Override http request option.
|
|
1008
|
+
* @throws {RequiredError}
|
|
1009
|
+
* @memberof SitesApi
|
|
1010
|
+
*/
|
|
1011
|
+
postSitesBySlugDeploy(requestParameters: SitesApiPostSitesBySlugDeployRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ProjectsDeployment, any, {}>>;
|
|
587
1012
|
/**
|
|
588
1013
|
* 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.
|
|
589
1014
|
* @summary Opens a deployment and hands back a short-lived, prefix-scoped grant to write its bytes straight to object storage.
|
|
@@ -602,6 +1027,24 @@ export declare class SitesApi extends BaseAPI {
|
|
|
602
1027
|
* @memberof SitesApi
|
|
603
1028
|
*/
|
|
604
1029
|
postSitesBySlugDeploymentsByIdComplete(requestParameters: SitesApiPostSitesBySlugDeploymentsByIdCompleteRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ProjectsDeployment, any, {}>>;
|
|
1030
|
+
/**
|
|
1031
|
+
* 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.
|
|
1032
|
+
* @summary Attaches one or more CUSTOM public hostnames to this org\'s site.
|
|
1033
|
+
* @param {SitesApiPostSitesBySlugDomainsRequest} requestParameters Request parameters.
|
|
1034
|
+
* @param {*} [options] Override http request option.
|
|
1035
|
+
* @throws {RequiredError}
|
|
1036
|
+
* @memberof SitesApi
|
|
1037
|
+
*/
|
|
1038
|
+
postSitesBySlugDomains(requestParameters: SitesApiPostSitesBySlugDomainsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ProjectsBoundDomains, any, {}>>;
|
|
1039
|
+
/**
|
|
1040
|
+
* 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\".
|
|
1041
|
+
* @summary Checks the DNS challenge for a pending custom hostname and, when it passes, promotes the host so it begins routing at the edge.
|
|
1042
|
+
* @param {SitesApiPostSitesBySlugDomainsByHostVerifyRequest} requestParameters Request parameters.
|
|
1043
|
+
* @param {*} [options] Override http request option.
|
|
1044
|
+
* @throws {RequiredError}
|
|
1045
|
+
* @memberof SitesApi
|
|
1046
|
+
*/
|
|
1047
|
+
postSitesBySlugDomainsByHostVerify(requestParameters: SitesApiPostSitesBySlugDomainsByHostVerifyRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ProjectsDomain, any, {}>>;
|
|
605
1048
|
/**
|
|
606
1049
|
* 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.
|
|
607
1050
|
* @summary Promotes a build output into a new release AND goes live with it — create+activate in one call, which is the 99% path.
|
|
@@ -611,6 +1054,15 @@ export declare class SitesApi extends BaseAPI {
|
|
|
611
1054
|
* @memberof SitesApi
|
|
612
1055
|
*/
|
|
613
1056
|
postSitesBySlugPublish(requestParameters: SitesApiPostSitesBySlugPublishRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ProjectsRelease, any, {}>>;
|
|
1057
|
+
/**
|
|
1058
|
+
* 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.
|
|
1059
|
+
* @summary Flushes the site\'s edge cache without redeploying anything.
|
|
1060
|
+
* @param {SitesApiPostSitesBySlugPurgeRequest} requestParameters Request parameters.
|
|
1061
|
+
* @param {*} [options] Override http request option.
|
|
1062
|
+
* @throws {RequiredError}
|
|
1063
|
+
* @memberof SitesApi
|
|
1064
|
+
*/
|
|
1065
|
+
postSitesBySlugPurge(requestParameters: SitesApiPostSitesBySlugPurgeRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ProjectsProject, any, {}>>;
|
|
614
1066
|
/**
|
|
615
1067
|
* 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.
|
|
616
1068
|
* @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.
|
|
@@ -638,4 +1090,13 @@ export declare class SitesApi extends BaseAPI {
|
|
|
638
1090
|
* @memberof SitesApi
|
|
639
1091
|
*/
|
|
640
1092
|
postSitesDeploy(requestParameters: SitesApiPostSitesDeployRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ProjectsSiteDeploy, any, {}>>;
|
|
1093
|
+
/**
|
|
1094
|
+
* 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.
|
|
1095
|
+
* @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).
|
|
1096
|
+
* @param {SitesApiPostSitesForkRequest} requestParameters Request parameters.
|
|
1097
|
+
* @param {*} [options] Override http request option.
|
|
1098
|
+
* @throws {RequiredError}
|
|
1099
|
+
* @memberof SitesApi
|
|
1100
|
+
*/
|
|
1101
|
+
postSitesFork(requestParameters: SitesApiPostSitesForkRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ProjectsProject, any, {}>>;
|
|
641
1102
|
}
|