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
|
@@ -0,0 +1,1855 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Hanzo Cloud API
|
|
6
|
+
* Composed from each subsystem\'s own projection of its router, in the fleet\'s mount order — every operation below is a route the subsystem that publishes it registered. Tagged by product: the first path segment after /v1/.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.InstancesApi = exports.InstancesApiFactory = exports.InstancesApiFp = exports.InstancesApiAxiosParamCreator = void 0;
|
|
20
|
+
const axios_1 = __importDefault(require("axios"));
|
|
21
|
+
// Some imports not used depending on template conditions
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
const common_1 = require("../common");
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
const base_1 = require("../base");
|
|
26
|
+
/**
|
|
27
|
+
* InstancesApi - axios parameter creator
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
const InstancesApiAxiosParamCreator = function (configuration) {
|
|
31
|
+
return {
|
|
32
|
+
/**
|
|
33
|
+
* Deprovisions one Hanzo Datastore warehouse. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
34
|
+
* @summary Deprovisions one Hanzo Datastore warehouse.
|
|
35
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
36
|
+
* @param {*} [options] Override http request option.
|
|
37
|
+
* @throws {RequiredError}
|
|
38
|
+
*/
|
|
39
|
+
deleteInstancesDatastoreByName: async (name, options = {}) => {
|
|
40
|
+
// verify required parameter 'name' is not null or undefined
|
|
41
|
+
(0, common_1.assertParamExists)('deleteInstancesDatastoreByName', 'name', name);
|
|
42
|
+
const localVarPath = `/v1/instances/datastore/{name}`
|
|
43
|
+
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
44
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
46
|
+
let baseOptions;
|
|
47
|
+
if (configuration) {
|
|
48
|
+
baseOptions = configuration.baseOptions;
|
|
49
|
+
}
|
|
50
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
51
|
+
const localVarHeaderParameter = {};
|
|
52
|
+
const localVarQueryParameter = {};
|
|
53
|
+
// authentication bearer required
|
|
54
|
+
// http bearer authentication required
|
|
55
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
56
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
57
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
58
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
59
|
+
return {
|
|
60
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
61
|
+
options: localVarRequestOptions,
|
|
62
|
+
};
|
|
63
|
+
},
|
|
64
|
+
/**
|
|
65
|
+
* DropDocDB deprovisions one Hanzo DocDB database. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated FerretDB instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
66
|
+
* @summary DropDocDB deprovisions one Hanzo DocDB database.
|
|
67
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
deleteInstancesDocdbByName: async (name, options = {}) => {
|
|
72
|
+
// verify required parameter 'name' is not null or undefined
|
|
73
|
+
(0, common_1.assertParamExists)('deleteInstancesDocdbByName', 'name', name);
|
|
74
|
+
const localVarPath = `/v1/instances/docdb/{name}`
|
|
75
|
+
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
76
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
77
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
78
|
+
let baseOptions;
|
|
79
|
+
if (configuration) {
|
|
80
|
+
baseOptions = configuration.baseOptions;
|
|
81
|
+
}
|
|
82
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
83
|
+
const localVarHeaderParameter = {};
|
|
84
|
+
const localVarQueryParameter = {};
|
|
85
|
+
// authentication bearer required
|
|
86
|
+
// http bearer authentication required
|
|
87
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
88
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
89
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
90
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
91
|
+
return {
|
|
92
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
93
|
+
options: localVarRequestOptions,
|
|
94
|
+
};
|
|
95
|
+
},
|
|
96
|
+
/**
|
|
97
|
+
* DropKV deprovisions one Hanzo KV store. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated Valkey instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
98
|
+
* @summary DropKV deprovisions one Hanzo KV store.
|
|
99
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
100
|
+
* @param {*} [options] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
deleteInstancesKvByName: async (name, options = {}) => {
|
|
104
|
+
// verify required parameter 'name' is not null or undefined
|
|
105
|
+
(0, common_1.assertParamExists)('deleteInstancesKvByName', 'name', name);
|
|
106
|
+
const localVarPath = `/v1/instances/kv/{name}`
|
|
107
|
+
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
108
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
109
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
110
|
+
let baseOptions;
|
|
111
|
+
if (configuration) {
|
|
112
|
+
baseOptions = configuration.baseOptions;
|
|
113
|
+
}
|
|
114
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
115
|
+
const localVarHeaderParameter = {};
|
|
116
|
+
const localVarQueryParameter = {};
|
|
117
|
+
// authentication bearer required
|
|
118
|
+
// http bearer authentication required
|
|
119
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
120
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
121
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
122
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
123
|
+
return {
|
|
124
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
125
|
+
options: localVarRequestOptions,
|
|
126
|
+
};
|
|
127
|
+
},
|
|
128
|
+
/**
|
|
129
|
+
* Deletes one bucket from the shared object store and removes its metadata row. Answers 204 with no body; a second call is a 404.
|
|
130
|
+
* @summary Deletes one bucket from the shared object store and removes its metadata row.
|
|
131
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
132
|
+
* @param {*} [options] Override http request option.
|
|
133
|
+
* @throws {RequiredError}
|
|
134
|
+
*/
|
|
135
|
+
deleteInstancesS3ByName: async (name, options = {}) => {
|
|
136
|
+
// verify required parameter 'name' is not null or undefined
|
|
137
|
+
(0, common_1.assertParamExists)('deleteInstancesS3ByName', 'name', name);
|
|
138
|
+
const localVarPath = `/v1/instances/s3/{name}`
|
|
139
|
+
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
140
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
141
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
142
|
+
let baseOptions;
|
|
143
|
+
if (configuration) {
|
|
144
|
+
baseOptions = configuration.baseOptions;
|
|
145
|
+
}
|
|
146
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
147
|
+
const localVarHeaderParameter = {};
|
|
148
|
+
const localVarQueryParameter = {};
|
|
149
|
+
// authentication bearer required
|
|
150
|
+
// http bearer authentication required
|
|
151
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
152
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
153
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
154
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
155
|
+
return {
|
|
156
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
157
|
+
options: localVarRequestOptions,
|
|
158
|
+
};
|
|
159
|
+
},
|
|
160
|
+
/**
|
|
161
|
+
* Deletes one search index from the shared backend and removes its metadata row. Answers 204 with no body; a second call is a 404.
|
|
162
|
+
* @summary Deletes one search index from the shared backend and removes its metadata row.
|
|
163
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
164
|
+
* @param {*} [options] Override http request option.
|
|
165
|
+
* @throws {RequiredError}
|
|
166
|
+
*/
|
|
167
|
+
deleteInstancesSearchByName: async (name, options = {}) => {
|
|
168
|
+
// verify required parameter 'name' is not null or undefined
|
|
169
|
+
(0, common_1.assertParamExists)('deleteInstancesSearchByName', 'name', name);
|
|
170
|
+
const localVarPath = `/v1/instances/search/{name}`
|
|
171
|
+
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
172
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
173
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
174
|
+
let baseOptions;
|
|
175
|
+
if (configuration) {
|
|
176
|
+
baseOptions = configuration.baseOptions;
|
|
177
|
+
}
|
|
178
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
179
|
+
const localVarHeaderParameter = {};
|
|
180
|
+
const localVarQueryParameter = {};
|
|
181
|
+
// authentication bearer required
|
|
182
|
+
// http bearer authentication required
|
|
183
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
184
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
185
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
186
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
187
|
+
return {
|
|
188
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
189
|
+
options: localVarRequestOptions,
|
|
190
|
+
};
|
|
191
|
+
},
|
|
192
|
+
/**
|
|
193
|
+
* DropSQL deprovisions one Hanzo SQL database. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated Postgres instance — never a live app pointed at a deleted backend — then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404, not a second delete.
|
|
194
|
+
* @summary DropSQL deprovisions one Hanzo SQL database.
|
|
195
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
196
|
+
* @param {*} [options] Override http request option.
|
|
197
|
+
* @throws {RequiredError}
|
|
198
|
+
*/
|
|
199
|
+
deleteInstancesSqlByName: async (name, options = {}) => {
|
|
200
|
+
// verify required parameter 'name' is not null or undefined
|
|
201
|
+
(0, common_1.assertParamExists)('deleteInstancesSqlByName', 'name', name);
|
|
202
|
+
const localVarPath = `/v1/instances/sql/{name}`
|
|
203
|
+
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
204
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
205
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
206
|
+
let baseOptions;
|
|
207
|
+
if (configuration) {
|
|
208
|
+
baseOptions = configuration.baseOptions;
|
|
209
|
+
}
|
|
210
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
211
|
+
const localVarHeaderParameter = {};
|
|
212
|
+
const localVarQueryParameter = {};
|
|
213
|
+
// authentication bearer required
|
|
214
|
+
// http bearer authentication required
|
|
215
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
216
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
217
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
218
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
219
|
+
return {
|
|
220
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
221
|
+
options: localVarRequestOptions,
|
|
222
|
+
};
|
|
223
|
+
},
|
|
224
|
+
/**
|
|
225
|
+
* Deletes one vector collection from the shared backend and removes its metadata row. Answers 204 with no body; a second call is a 404.
|
|
226
|
+
* @summary Deletes one vector collection from the shared backend and removes its metadata row.
|
|
227
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
228
|
+
* @param {*} [options] Override http request option.
|
|
229
|
+
* @throws {RequiredError}
|
|
230
|
+
*/
|
|
231
|
+
deleteInstancesVectorByName: async (name, options = {}) => {
|
|
232
|
+
// verify required parameter 'name' is not null or undefined
|
|
233
|
+
(0, common_1.assertParamExists)('deleteInstancesVectorByName', 'name', name);
|
|
234
|
+
const localVarPath = `/v1/instances/vector/{name}`
|
|
235
|
+
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
236
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
237
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
238
|
+
let baseOptions;
|
|
239
|
+
if (configuration) {
|
|
240
|
+
baseOptions = configuration.baseOptions;
|
|
241
|
+
}
|
|
242
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
243
|
+
const localVarHeaderParameter = {};
|
|
244
|
+
const localVarQueryParameter = {};
|
|
245
|
+
// authentication bearer required
|
|
246
|
+
// http bearer authentication required
|
|
247
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
248
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
249
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
250
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
251
|
+
return {
|
|
252
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
253
|
+
options: localVarRequestOptions,
|
|
254
|
+
};
|
|
255
|
+
},
|
|
256
|
+
/**
|
|
257
|
+
* Lists the caller org\'s Hanzo Datastore warehouses. Each one is a DEDICATED analytical instance the org alone runs, so the host is that instance\'s own in-cluster Service and the port is its HTTP port, 8123.
|
|
258
|
+
* @summary Lists the caller org\'s Hanzo Datastore warehouses.
|
|
259
|
+
* @param {*} [options] Override http request option.
|
|
260
|
+
* @throws {RequiredError}
|
|
261
|
+
*/
|
|
262
|
+
getInstancesDatastore: async (options = {}) => {
|
|
263
|
+
const localVarPath = `/v1/instances/datastore`;
|
|
264
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
265
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
266
|
+
let baseOptions;
|
|
267
|
+
if (configuration) {
|
|
268
|
+
baseOptions = configuration.baseOptions;
|
|
269
|
+
}
|
|
270
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
271
|
+
const localVarHeaderParameter = {};
|
|
272
|
+
const localVarQueryParameter = {};
|
|
273
|
+
// authentication bearer required
|
|
274
|
+
// http bearer authentication required
|
|
275
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
276
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
277
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
278
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
279
|
+
return {
|
|
280
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
281
|
+
options: localVarRequestOptions,
|
|
282
|
+
};
|
|
283
|
+
},
|
|
284
|
+
/**
|
|
285
|
+
* Returns one Hanzo Datastore warehouse\'s metadata. It carries the warehouse\'s status, its instance address and the admin user the instance booted with — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view rather than the row.
|
|
286
|
+
* @summary Returns one Hanzo Datastore warehouse\'s metadata.
|
|
287
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
288
|
+
* @param {*} [options] Override http request option.
|
|
289
|
+
* @throws {RequiredError}
|
|
290
|
+
*/
|
|
291
|
+
getInstancesDatastoreByName: async (name, options = {}) => {
|
|
292
|
+
// verify required parameter 'name' is not null or undefined
|
|
293
|
+
(0, common_1.assertParamExists)('getInstancesDatastoreByName', 'name', name);
|
|
294
|
+
const localVarPath = `/v1/instances/datastore/{name}`
|
|
295
|
+
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
296
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
297
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
298
|
+
let baseOptions;
|
|
299
|
+
if (configuration) {
|
|
300
|
+
baseOptions = configuration.baseOptions;
|
|
301
|
+
}
|
|
302
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
303
|
+
const localVarHeaderParameter = {};
|
|
304
|
+
const localVarQueryParameter = {};
|
|
305
|
+
// authentication bearer required
|
|
306
|
+
// http bearer authentication required
|
|
307
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
308
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
309
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
310
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
311
|
+
return {
|
|
312
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
313
|
+
options: localVarRequestOptions,
|
|
314
|
+
};
|
|
315
|
+
},
|
|
316
|
+
/**
|
|
317
|
+
* ListDocDB lists the caller org\'s Hanzo DocDB document databases. Each one is a DEDICATED FerretDB instance the org alone runs, speaking the MongoDB wire protocol, so the host is that instance\'s own in-cluster Service and the port is 27017.
|
|
318
|
+
* @summary ListDocDB lists the caller org\'s Hanzo DocDB document databases.
|
|
319
|
+
* @param {*} [options] Override http request option.
|
|
320
|
+
* @throws {RequiredError}
|
|
321
|
+
*/
|
|
322
|
+
getInstancesDocdb: async (options = {}) => {
|
|
323
|
+
const localVarPath = `/v1/instances/docdb`;
|
|
324
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
325
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
326
|
+
let baseOptions;
|
|
327
|
+
if (configuration) {
|
|
328
|
+
baseOptions = configuration.baseOptions;
|
|
329
|
+
}
|
|
330
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
331
|
+
const localVarHeaderParameter = {};
|
|
332
|
+
const localVarQueryParameter = {};
|
|
333
|
+
// authentication bearer required
|
|
334
|
+
// http bearer authentication required
|
|
335
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
336
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
337
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
338
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
339
|
+
return {
|
|
340
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
341
|
+
options: localVarRequestOptions,
|
|
342
|
+
};
|
|
343
|
+
},
|
|
344
|
+
/**
|
|
345
|
+
* GetDocDB returns one Hanzo DocDB database\'s metadata. It carries the database\'s status, its instance address and the SCRAM user the instance was set up with — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view.
|
|
346
|
+
* @summary GetDocDB returns one Hanzo DocDB database\'s metadata.
|
|
347
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
348
|
+
* @param {*} [options] Override http request option.
|
|
349
|
+
* @throws {RequiredError}
|
|
350
|
+
*/
|
|
351
|
+
getInstancesDocdbByName: async (name, options = {}) => {
|
|
352
|
+
// verify required parameter 'name' is not null or undefined
|
|
353
|
+
(0, common_1.assertParamExists)('getInstancesDocdbByName', 'name', name);
|
|
354
|
+
const localVarPath = `/v1/instances/docdb/{name}`
|
|
355
|
+
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
356
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
357
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
358
|
+
let baseOptions;
|
|
359
|
+
if (configuration) {
|
|
360
|
+
baseOptions = configuration.baseOptions;
|
|
361
|
+
}
|
|
362
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
363
|
+
const localVarHeaderParameter = {};
|
|
364
|
+
const localVarQueryParameter = {};
|
|
365
|
+
// authentication bearer required
|
|
366
|
+
// http bearer authentication required
|
|
367
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
368
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
369
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
370
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
371
|
+
return {
|
|
372
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
373
|
+
options: localVarRequestOptions,
|
|
374
|
+
};
|
|
375
|
+
},
|
|
376
|
+
/**
|
|
377
|
+
* ListKV lists the caller org\'s Hanzo KV stores. Each one is a DEDICATED Valkey instance the org alone runs, so the host is that instance\'s own in-cluster Service and the port is 6379.
|
|
378
|
+
* @summary ListKV lists the caller org\'s Hanzo KV stores.
|
|
379
|
+
* @param {*} [options] Override http request option.
|
|
380
|
+
* @throws {RequiredError}
|
|
381
|
+
*/
|
|
382
|
+
getInstancesKv: async (options = {}) => {
|
|
383
|
+
const localVarPath = `/v1/instances/kv`;
|
|
384
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
385
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
386
|
+
let baseOptions;
|
|
387
|
+
if (configuration) {
|
|
388
|
+
baseOptions = configuration.baseOptions;
|
|
389
|
+
}
|
|
390
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
391
|
+
const localVarHeaderParameter = {};
|
|
392
|
+
const localVarQueryParameter = {};
|
|
393
|
+
// authentication bearer required
|
|
394
|
+
// http bearer authentication required
|
|
395
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
396
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
397
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
398
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
399
|
+
return {
|
|
400
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
401
|
+
options: localVarRequestOptions,
|
|
402
|
+
};
|
|
403
|
+
},
|
|
404
|
+
/**
|
|
405
|
+
* GetKV returns one Hanzo KV store\'s metadata. It carries the store\'s status, its instance address and the Valkey user it authenticates as (\"default\", the only user a requirepass instance has) — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view.
|
|
406
|
+
* @summary GetKV returns one Hanzo KV store\'s metadata.
|
|
407
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
408
|
+
* @param {*} [options] Override http request option.
|
|
409
|
+
* @throws {RequiredError}
|
|
410
|
+
*/
|
|
411
|
+
getInstancesKvByName: async (name, options = {}) => {
|
|
412
|
+
// verify required parameter 'name' is not null or undefined
|
|
413
|
+
(0, common_1.assertParamExists)('getInstancesKvByName', 'name', name);
|
|
414
|
+
const localVarPath = `/v1/instances/kv/{name}`
|
|
415
|
+
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
416
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
417
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
418
|
+
let baseOptions;
|
|
419
|
+
if (configuration) {
|
|
420
|
+
baseOptions = configuration.baseOptions;
|
|
421
|
+
}
|
|
422
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
423
|
+
const localVarHeaderParameter = {};
|
|
424
|
+
const localVarQueryParameter = {};
|
|
425
|
+
// authentication bearer required
|
|
426
|
+
// http bearer authentication required
|
|
427
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
428
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
429
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
430
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
431
|
+
return {
|
|
432
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
433
|
+
options: localVarRequestOptions,
|
|
434
|
+
};
|
|
435
|
+
},
|
|
436
|
+
/**
|
|
437
|
+
* Lists the caller org\'s object-storage buckets. A bucket lives in an already-live shared object store and is reached through the public gateway. The names here are the friendly ones the org provisioned; the physical bucket is org-namespaced underneath, which is what keeps two tenants\' buckets distinct.
|
|
438
|
+
* @summary Lists the caller org\'s object-storage buckets.
|
|
439
|
+
* @param {*} [options] Override http request option.
|
|
440
|
+
* @throws {RequiredError}
|
|
441
|
+
*/
|
|
442
|
+
getInstancesS3: async (options = {}) => {
|
|
443
|
+
const localVarPath = `/v1/instances/s3`;
|
|
444
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
445
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
446
|
+
let baseOptions;
|
|
447
|
+
if (configuration) {
|
|
448
|
+
baseOptions = configuration.baseOptions;
|
|
449
|
+
}
|
|
450
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
451
|
+
const localVarHeaderParameter = {};
|
|
452
|
+
const localVarQueryParameter = {};
|
|
453
|
+
// authentication bearer required
|
|
454
|
+
// http bearer authentication required
|
|
455
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
456
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
457
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
458
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
459
|
+
return {
|
|
460
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
461
|
+
options: localVarRequestOptions,
|
|
462
|
+
};
|
|
463
|
+
},
|
|
464
|
+
/**
|
|
465
|
+
* Returns one bucket\'s metadata. It carries the bucket\'s status and the gateway address it is reached at, and no username: the object store authenticates with a shared, out-of-band key rather than a per-bucket credential.
|
|
466
|
+
* @summary Returns one bucket\'s metadata.
|
|
467
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
468
|
+
* @param {*} [options] Override http request option.
|
|
469
|
+
* @throws {RequiredError}
|
|
470
|
+
*/
|
|
471
|
+
getInstancesS3ByName: async (name, options = {}) => {
|
|
472
|
+
// verify required parameter 'name' is not null or undefined
|
|
473
|
+
(0, common_1.assertParamExists)('getInstancesS3ByName', 'name', name);
|
|
474
|
+
const localVarPath = `/v1/instances/s3/{name}`
|
|
475
|
+
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
476
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
477
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
478
|
+
let baseOptions;
|
|
479
|
+
if (configuration) {
|
|
480
|
+
baseOptions = configuration.baseOptions;
|
|
481
|
+
}
|
|
482
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
483
|
+
const localVarHeaderParameter = {};
|
|
484
|
+
const localVarQueryParameter = {};
|
|
485
|
+
// authentication bearer required
|
|
486
|
+
// http bearer authentication required
|
|
487
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
488
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
489
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
490
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
491
|
+
return {
|
|
492
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
493
|
+
options: localVarRequestOptions,
|
|
494
|
+
};
|
|
495
|
+
},
|
|
496
|
+
/**
|
|
497
|
+
* Lists the caller org\'s search indexes. An index is a logical resource inside an already-live shared backend, so every one of them is reached through the public gateway rather than at an instance of its own.
|
|
498
|
+
* @summary Lists the caller org\'s search indexes.
|
|
499
|
+
* @param {*} [options] Override http request option.
|
|
500
|
+
* @throws {RequiredError}
|
|
501
|
+
*/
|
|
502
|
+
getInstancesSearch: async (options = {}) => {
|
|
503
|
+
const localVarPath = `/v1/instances/search`;
|
|
504
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
505
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
506
|
+
let baseOptions;
|
|
507
|
+
if (configuration) {
|
|
508
|
+
baseOptions = configuration.baseOptions;
|
|
509
|
+
}
|
|
510
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
511
|
+
const localVarHeaderParameter = {};
|
|
512
|
+
const localVarQueryParameter = {};
|
|
513
|
+
// authentication bearer required
|
|
514
|
+
// http bearer authentication required
|
|
515
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
516
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
517
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
518
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
519
|
+
return {
|
|
520
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
521
|
+
options: localVarRequestOptions,
|
|
522
|
+
};
|
|
523
|
+
},
|
|
524
|
+
/**
|
|
525
|
+
* Returns one search index\'s metadata. It carries the index\'s status and the gateway address it is reached at, and no username: the backend authenticates with a shared, out-of-band key rather than a per-index credential.
|
|
526
|
+
* @summary Returns one search index\'s metadata.
|
|
527
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
528
|
+
* @param {*} [options] Override http request option.
|
|
529
|
+
* @throws {RequiredError}
|
|
530
|
+
*/
|
|
531
|
+
getInstancesSearchByName: async (name, options = {}) => {
|
|
532
|
+
// verify required parameter 'name' is not null or undefined
|
|
533
|
+
(0, common_1.assertParamExists)('getInstancesSearchByName', 'name', name);
|
|
534
|
+
const localVarPath = `/v1/instances/search/{name}`
|
|
535
|
+
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
536
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
537
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
538
|
+
let baseOptions;
|
|
539
|
+
if (configuration) {
|
|
540
|
+
baseOptions = configuration.baseOptions;
|
|
541
|
+
}
|
|
542
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
543
|
+
const localVarHeaderParameter = {};
|
|
544
|
+
const localVarQueryParameter = {};
|
|
545
|
+
// authentication bearer required
|
|
546
|
+
// http bearer authentication required
|
|
547
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
548
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
549
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
550
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
551
|
+
return {
|
|
552
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
553
|
+
options: localVarRequestOptions,
|
|
554
|
+
};
|
|
555
|
+
},
|
|
556
|
+
/**
|
|
557
|
+
* ListSQL lists the caller org\'s Hanzo SQL databases. Each one is a DEDICATED PostgreSQL instance the org alone runs, so the host is that instance\'s own in-cluster Service and the port is 5432.
|
|
558
|
+
* @summary ListSQL lists the caller org\'s Hanzo SQL databases.
|
|
559
|
+
* @param {*} [options] Override http request option.
|
|
560
|
+
* @throws {RequiredError}
|
|
561
|
+
*/
|
|
562
|
+
getInstancesSql: async (options = {}) => {
|
|
563
|
+
const localVarPath = `/v1/instances/sql`;
|
|
564
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
565
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
566
|
+
let baseOptions;
|
|
567
|
+
if (configuration) {
|
|
568
|
+
baseOptions = configuration.baseOptions;
|
|
569
|
+
}
|
|
570
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
571
|
+
const localVarHeaderParameter = {};
|
|
572
|
+
const localVarQueryParameter = {};
|
|
573
|
+
// authentication bearer required
|
|
574
|
+
// http bearer authentication required
|
|
575
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
576
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
577
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
578
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
579
|
+
return {
|
|
580
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
581
|
+
options: localVarRequestOptions,
|
|
582
|
+
};
|
|
583
|
+
},
|
|
584
|
+
/**
|
|
585
|
+
* GetSQL returns one Hanzo SQL database\'s metadata. It carries the database\'s status, its instance address and the admin user Postgres booted with — never the password, which is returned once at create and otherwise lives only in Hanzo KMS. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view rather than from the row.
|
|
586
|
+
* @summary GetSQL returns one Hanzo SQL database\'s metadata.
|
|
587
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
588
|
+
* @param {*} [options] Override http request option.
|
|
589
|
+
* @throws {RequiredError}
|
|
590
|
+
*/
|
|
591
|
+
getInstancesSqlByName: async (name, options = {}) => {
|
|
592
|
+
// verify required parameter 'name' is not null or undefined
|
|
593
|
+
(0, common_1.assertParamExists)('getInstancesSqlByName', 'name', name);
|
|
594
|
+
const localVarPath = `/v1/instances/sql/{name}`
|
|
595
|
+
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
596
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
597
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
598
|
+
let baseOptions;
|
|
599
|
+
if (configuration) {
|
|
600
|
+
baseOptions = configuration.baseOptions;
|
|
601
|
+
}
|
|
602
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
603
|
+
const localVarHeaderParameter = {};
|
|
604
|
+
const localVarQueryParameter = {};
|
|
605
|
+
// authentication bearer required
|
|
606
|
+
// http bearer authentication required
|
|
607
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
608
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
609
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
610
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
611
|
+
return {
|
|
612
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
613
|
+
options: localVarRequestOptions,
|
|
614
|
+
};
|
|
615
|
+
},
|
|
616
|
+
/**
|
|
617
|
+
* Lists the caller org\'s vector collections. A collection is a logical resource inside an already-live shared backend, so every one of them is reached through the public gateway rather than at an instance of its own.
|
|
618
|
+
* @summary Lists the caller org\'s vector collections.
|
|
619
|
+
* @param {*} [options] Override http request option.
|
|
620
|
+
* @throws {RequiredError}
|
|
621
|
+
*/
|
|
622
|
+
getInstancesVector: async (options = {}) => {
|
|
623
|
+
const localVarPath = `/v1/instances/vector`;
|
|
624
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
625
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
626
|
+
let baseOptions;
|
|
627
|
+
if (configuration) {
|
|
628
|
+
baseOptions = configuration.baseOptions;
|
|
629
|
+
}
|
|
630
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
631
|
+
const localVarHeaderParameter = {};
|
|
632
|
+
const localVarQueryParameter = {};
|
|
633
|
+
// authentication bearer required
|
|
634
|
+
// http bearer authentication required
|
|
635
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
636
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
637
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
638
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
639
|
+
return {
|
|
640
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
641
|
+
options: localVarRequestOptions,
|
|
642
|
+
};
|
|
643
|
+
},
|
|
644
|
+
/**
|
|
645
|
+
* Returns one vector collection\'s metadata. It carries the collection\'s status and the gateway address it is reached at, and no username: the backend authenticates with a shared, out-of-band key rather than a per-collection credential, so there is no per-resource user to report.
|
|
646
|
+
* @summary Returns one vector collection\'s metadata.
|
|
647
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
648
|
+
* @param {*} [options] Override http request option.
|
|
649
|
+
* @throws {RequiredError}
|
|
650
|
+
*/
|
|
651
|
+
getInstancesVectorByName: async (name, options = {}) => {
|
|
652
|
+
// verify required parameter 'name' is not null or undefined
|
|
653
|
+
(0, common_1.assertParamExists)('getInstancesVectorByName', 'name', name);
|
|
654
|
+
const localVarPath = `/v1/instances/vector/{name}`
|
|
655
|
+
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
656
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
657
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
658
|
+
let baseOptions;
|
|
659
|
+
if (configuration) {
|
|
660
|
+
baseOptions = configuration.baseOptions;
|
|
661
|
+
}
|
|
662
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
663
|
+
const localVarHeaderParameter = {};
|
|
664
|
+
const localVarQueryParameter = {};
|
|
665
|
+
// authentication bearer required
|
|
666
|
+
// http bearer authentication required
|
|
667
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
668
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
669
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
670
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
671
|
+
return {
|
|
672
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
673
|
+
options: localVarRequestOptions,
|
|
674
|
+
};
|
|
675
|
+
},
|
|
676
|
+
/**
|
|
677
|
+
* Launches your org\'s OWN Hanzo Datastore instance and answers with its `datastore://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
678
|
+
* @summary Provision a Hanzo Datastore instance for your org
|
|
679
|
+
* @param {ProvisionRequest} [provisionRequest]
|
|
680
|
+
* @param {*} [options] Override http request option.
|
|
681
|
+
* @throws {RequiredError}
|
|
682
|
+
*/
|
|
683
|
+
postInstancesDatastore: async (provisionRequest, options = {}) => {
|
|
684
|
+
const localVarPath = `/v1/instances/datastore`;
|
|
685
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
686
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
687
|
+
let baseOptions;
|
|
688
|
+
if (configuration) {
|
|
689
|
+
baseOptions = configuration.baseOptions;
|
|
690
|
+
}
|
|
691
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
692
|
+
const localVarHeaderParameter = {};
|
|
693
|
+
const localVarQueryParameter = {};
|
|
694
|
+
// authentication bearer required
|
|
695
|
+
// http bearer authentication required
|
|
696
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
697
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
698
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
699
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
700
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
701
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(provisionRequest, localVarRequestOptions, configuration);
|
|
702
|
+
return {
|
|
703
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
704
|
+
options: localVarRequestOptions,
|
|
705
|
+
};
|
|
706
|
+
},
|
|
707
|
+
/**
|
|
708
|
+
* Launches your org\'s OWN document-database instance — it speaks the MongoDB wire protocol, so existing MongoDB drivers connect unchanged — and answers with its `mongodb://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
709
|
+
* @summary Provision a document database for your org
|
|
710
|
+
* @param {ProvisionRequest} [provisionRequest]
|
|
711
|
+
* @param {*} [options] Override http request option.
|
|
712
|
+
* @throws {RequiredError}
|
|
713
|
+
*/
|
|
714
|
+
postInstancesDocdb: async (provisionRequest, options = {}) => {
|
|
715
|
+
const localVarPath = `/v1/instances/docdb`;
|
|
716
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
717
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
718
|
+
let baseOptions;
|
|
719
|
+
if (configuration) {
|
|
720
|
+
baseOptions = configuration.baseOptions;
|
|
721
|
+
}
|
|
722
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
723
|
+
const localVarHeaderParameter = {};
|
|
724
|
+
const localVarQueryParameter = {};
|
|
725
|
+
// authentication bearer required
|
|
726
|
+
// http bearer authentication required
|
|
727
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
728
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
729
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
730
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
731
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
732
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(provisionRequest, localVarRequestOptions, configuration);
|
|
733
|
+
return {
|
|
734
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
735
|
+
options: localVarRequestOptions,
|
|
736
|
+
};
|
|
737
|
+
},
|
|
738
|
+
/**
|
|
739
|
+
* Launches your org\'s OWN key-value instance and answers with its `kv://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
740
|
+
* @summary Provision a key-value store for your org
|
|
741
|
+
* @param {ProvisionRequest} [provisionRequest]
|
|
742
|
+
* @param {*} [options] Override http request option.
|
|
743
|
+
* @throws {RequiredError}
|
|
744
|
+
*/
|
|
745
|
+
postInstancesKv: async (provisionRequest, options = {}) => {
|
|
746
|
+
const localVarPath = `/v1/instances/kv`;
|
|
747
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
748
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
749
|
+
let baseOptions;
|
|
750
|
+
if (configuration) {
|
|
751
|
+
baseOptions = configuration.baseOptions;
|
|
752
|
+
}
|
|
753
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
754
|
+
const localVarHeaderParameter = {};
|
|
755
|
+
const localVarQueryParameter = {};
|
|
756
|
+
// authentication bearer required
|
|
757
|
+
// http bearer authentication required
|
|
758
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
759
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
760
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
761
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
762
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
763
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(provisionRequest, localVarRequestOptions, configuration);
|
|
764
|
+
return {
|
|
765
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
766
|
+
options: localVarRequestOptions,
|
|
767
|
+
};
|
|
768
|
+
},
|
|
769
|
+
/**
|
|
770
|
+
* Creates an S3-compatible bucket inside the already-running shared object store and answers with the endpoint that reaches it. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
771
|
+
* @summary Provision an object storage bucket for your org
|
|
772
|
+
* @param {ProvisionRequest} [provisionRequest]
|
|
773
|
+
* @param {*} [options] Override http request option.
|
|
774
|
+
* @throws {RequiredError}
|
|
775
|
+
*/
|
|
776
|
+
postInstancesS3: async (provisionRequest, options = {}) => {
|
|
777
|
+
const localVarPath = `/v1/instances/s3`;
|
|
778
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
779
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
780
|
+
let baseOptions;
|
|
781
|
+
if (configuration) {
|
|
782
|
+
baseOptions = configuration.baseOptions;
|
|
783
|
+
}
|
|
784
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
785
|
+
const localVarHeaderParameter = {};
|
|
786
|
+
const localVarQueryParameter = {};
|
|
787
|
+
// authentication bearer required
|
|
788
|
+
// http bearer authentication required
|
|
789
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
790
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
791
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
792
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
793
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
794
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(provisionRequest, localVarRequestOptions, configuration);
|
|
795
|
+
return {
|
|
796
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
797
|
+
options: localVarRequestOptions,
|
|
798
|
+
};
|
|
799
|
+
},
|
|
800
|
+
/**
|
|
801
|
+
* Creates a search index inside the already-running shared search backend and answers with the endpoint that reaches it. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
802
|
+
* @summary Provision a search index for your org
|
|
803
|
+
* @param {ProvisionRequest} [provisionRequest]
|
|
804
|
+
* @param {*} [options] Override http request option.
|
|
805
|
+
* @throws {RequiredError}
|
|
806
|
+
*/
|
|
807
|
+
postInstancesSearch: async (provisionRequest, options = {}) => {
|
|
808
|
+
const localVarPath = `/v1/instances/search`;
|
|
809
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
810
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
811
|
+
let baseOptions;
|
|
812
|
+
if (configuration) {
|
|
813
|
+
baseOptions = configuration.baseOptions;
|
|
814
|
+
}
|
|
815
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
816
|
+
const localVarHeaderParameter = {};
|
|
817
|
+
const localVarQueryParameter = {};
|
|
818
|
+
// authentication bearer required
|
|
819
|
+
// http bearer authentication required
|
|
820
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
821
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
822
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
823
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
824
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
825
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(provisionRequest, localVarRequestOptions, configuration);
|
|
826
|
+
return {
|
|
827
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
828
|
+
options: localVarRequestOptions,
|
|
829
|
+
};
|
|
830
|
+
},
|
|
831
|
+
/**
|
|
832
|
+
* Launches your org\'s OWN PostgreSQL instance and answers with its `postgres://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
833
|
+
* @summary Provision a PostgreSQL database for your org
|
|
834
|
+
* @param {ProvisionRequest} [provisionRequest]
|
|
835
|
+
* @param {*} [options] Override http request option.
|
|
836
|
+
* @throws {RequiredError}
|
|
837
|
+
*/
|
|
838
|
+
postInstancesSql: async (provisionRequest, options = {}) => {
|
|
839
|
+
const localVarPath = `/v1/instances/sql`;
|
|
840
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
841
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
842
|
+
let baseOptions;
|
|
843
|
+
if (configuration) {
|
|
844
|
+
baseOptions = configuration.baseOptions;
|
|
845
|
+
}
|
|
846
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
847
|
+
const localVarHeaderParameter = {};
|
|
848
|
+
const localVarQueryParameter = {};
|
|
849
|
+
// authentication bearer required
|
|
850
|
+
// http bearer authentication required
|
|
851
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
852
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
853
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
854
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
855
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
856
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(provisionRequest, localVarRequestOptions, configuration);
|
|
857
|
+
return {
|
|
858
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
859
|
+
options: localVarRequestOptions,
|
|
860
|
+
};
|
|
861
|
+
},
|
|
862
|
+
/**
|
|
863
|
+
* Creates a vector collection inside the already-running shared vector backend and answers with the endpoint that reaches it. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
864
|
+
* @summary Provision a vector collection for your org
|
|
865
|
+
* @param {ProvisionRequest} [provisionRequest]
|
|
866
|
+
* @param {*} [options] Override http request option.
|
|
867
|
+
* @throws {RequiredError}
|
|
868
|
+
*/
|
|
869
|
+
postInstancesVector: async (provisionRequest, options = {}) => {
|
|
870
|
+
const localVarPath = `/v1/instances/vector`;
|
|
871
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
872
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
873
|
+
let baseOptions;
|
|
874
|
+
if (configuration) {
|
|
875
|
+
baseOptions = configuration.baseOptions;
|
|
876
|
+
}
|
|
877
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
878
|
+
const localVarHeaderParameter = {};
|
|
879
|
+
const localVarQueryParameter = {};
|
|
880
|
+
// authentication bearer required
|
|
881
|
+
// http bearer authentication required
|
|
882
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
883
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
884
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
885
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
886
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
887
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(provisionRequest, localVarRequestOptions, configuration);
|
|
888
|
+
return {
|
|
889
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
890
|
+
options: localVarRequestOptions,
|
|
891
|
+
};
|
|
892
|
+
},
|
|
893
|
+
};
|
|
894
|
+
};
|
|
895
|
+
exports.InstancesApiAxiosParamCreator = InstancesApiAxiosParamCreator;
|
|
896
|
+
/**
|
|
897
|
+
* InstancesApi - functional programming interface
|
|
898
|
+
* @export
|
|
899
|
+
*/
|
|
900
|
+
const InstancesApiFp = function (configuration) {
|
|
901
|
+
const localVarAxiosParamCreator = (0, exports.InstancesApiAxiosParamCreator)(configuration);
|
|
902
|
+
return {
|
|
903
|
+
/**
|
|
904
|
+
* Deprovisions one Hanzo Datastore warehouse. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
905
|
+
* @summary Deprovisions one Hanzo Datastore warehouse.
|
|
906
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
907
|
+
* @param {*} [options] Override http request option.
|
|
908
|
+
* @throws {RequiredError}
|
|
909
|
+
*/
|
|
910
|
+
async deleteInstancesDatastoreByName(name, options) {
|
|
911
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteInstancesDatastoreByName(name, options);
|
|
912
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
913
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.deleteInstancesDatastoreByName']?.[localVarOperationServerIndex]?.url;
|
|
914
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
915
|
+
},
|
|
916
|
+
/**
|
|
917
|
+
* DropDocDB deprovisions one Hanzo DocDB database. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated FerretDB instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
918
|
+
* @summary DropDocDB deprovisions one Hanzo DocDB database.
|
|
919
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
920
|
+
* @param {*} [options] Override http request option.
|
|
921
|
+
* @throws {RequiredError}
|
|
922
|
+
*/
|
|
923
|
+
async deleteInstancesDocdbByName(name, options) {
|
|
924
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteInstancesDocdbByName(name, options);
|
|
925
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
926
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.deleteInstancesDocdbByName']?.[localVarOperationServerIndex]?.url;
|
|
927
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
928
|
+
},
|
|
929
|
+
/**
|
|
930
|
+
* DropKV deprovisions one Hanzo KV store. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated Valkey instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
931
|
+
* @summary DropKV deprovisions one Hanzo KV store.
|
|
932
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
933
|
+
* @param {*} [options] Override http request option.
|
|
934
|
+
* @throws {RequiredError}
|
|
935
|
+
*/
|
|
936
|
+
async deleteInstancesKvByName(name, options) {
|
|
937
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteInstancesKvByName(name, options);
|
|
938
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
939
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.deleteInstancesKvByName']?.[localVarOperationServerIndex]?.url;
|
|
940
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
941
|
+
},
|
|
942
|
+
/**
|
|
943
|
+
* Deletes one bucket from the shared object store and removes its metadata row. Answers 204 with no body; a second call is a 404.
|
|
944
|
+
* @summary Deletes one bucket from the shared object store and removes its metadata row.
|
|
945
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
946
|
+
* @param {*} [options] Override http request option.
|
|
947
|
+
* @throws {RequiredError}
|
|
948
|
+
*/
|
|
949
|
+
async deleteInstancesS3ByName(name, options) {
|
|
950
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteInstancesS3ByName(name, options);
|
|
951
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
952
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.deleteInstancesS3ByName']?.[localVarOperationServerIndex]?.url;
|
|
953
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
954
|
+
},
|
|
955
|
+
/**
|
|
956
|
+
* Deletes one search index from the shared backend and removes its metadata row. Answers 204 with no body; a second call is a 404.
|
|
957
|
+
* @summary Deletes one search index from the shared backend and removes its metadata row.
|
|
958
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
959
|
+
* @param {*} [options] Override http request option.
|
|
960
|
+
* @throws {RequiredError}
|
|
961
|
+
*/
|
|
962
|
+
async deleteInstancesSearchByName(name, options) {
|
|
963
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteInstancesSearchByName(name, options);
|
|
964
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
965
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.deleteInstancesSearchByName']?.[localVarOperationServerIndex]?.url;
|
|
966
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
967
|
+
},
|
|
968
|
+
/**
|
|
969
|
+
* DropSQL deprovisions one Hanzo SQL database. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated Postgres instance — never a live app pointed at a deleted backend — then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404, not a second delete.
|
|
970
|
+
* @summary DropSQL deprovisions one Hanzo SQL database.
|
|
971
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
972
|
+
* @param {*} [options] Override http request option.
|
|
973
|
+
* @throws {RequiredError}
|
|
974
|
+
*/
|
|
975
|
+
async deleteInstancesSqlByName(name, options) {
|
|
976
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteInstancesSqlByName(name, options);
|
|
977
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
978
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.deleteInstancesSqlByName']?.[localVarOperationServerIndex]?.url;
|
|
979
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
980
|
+
},
|
|
981
|
+
/**
|
|
982
|
+
* Deletes one vector collection from the shared backend and removes its metadata row. Answers 204 with no body; a second call is a 404.
|
|
983
|
+
* @summary Deletes one vector collection from the shared backend and removes its metadata row.
|
|
984
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
985
|
+
* @param {*} [options] Override http request option.
|
|
986
|
+
* @throws {RequiredError}
|
|
987
|
+
*/
|
|
988
|
+
async deleteInstancesVectorByName(name, options) {
|
|
989
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteInstancesVectorByName(name, options);
|
|
990
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
991
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.deleteInstancesVectorByName']?.[localVarOperationServerIndex]?.url;
|
|
992
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
993
|
+
},
|
|
994
|
+
/**
|
|
995
|
+
* Lists the caller org\'s Hanzo Datastore warehouses. Each one is a DEDICATED analytical instance the org alone runs, so the host is that instance\'s own in-cluster Service and the port is its HTTP port, 8123.
|
|
996
|
+
* @summary Lists the caller org\'s Hanzo Datastore warehouses.
|
|
997
|
+
* @param {*} [options] Override http request option.
|
|
998
|
+
* @throws {RequiredError}
|
|
999
|
+
*/
|
|
1000
|
+
async getInstancesDatastore(options) {
|
|
1001
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstancesDatastore(options);
|
|
1002
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1003
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.getInstancesDatastore']?.[localVarOperationServerIndex]?.url;
|
|
1004
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1005
|
+
},
|
|
1006
|
+
/**
|
|
1007
|
+
* Returns one Hanzo Datastore warehouse\'s metadata. It carries the warehouse\'s status, its instance address and the admin user the instance booted with — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view rather than the row.
|
|
1008
|
+
* @summary Returns one Hanzo Datastore warehouse\'s metadata.
|
|
1009
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
1010
|
+
* @param {*} [options] Override http request option.
|
|
1011
|
+
* @throws {RequiredError}
|
|
1012
|
+
*/
|
|
1013
|
+
async getInstancesDatastoreByName(name, options) {
|
|
1014
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstancesDatastoreByName(name, options);
|
|
1015
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1016
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.getInstancesDatastoreByName']?.[localVarOperationServerIndex]?.url;
|
|
1017
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1018
|
+
},
|
|
1019
|
+
/**
|
|
1020
|
+
* ListDocDB lists the caller org\'s Hanzo DocDB document databases. Each one is a DEDICATED FerretDB instance the org alone runs, speaking the MongoDB wire protocol, so the host is that instance\'s own in-cluster Service and the port is 27017.
|
|
1021
|
+
* @summary ListDocDB lists the caller org\'s Hanzo DocDB document databases.
|
|
1022
|
+
* @param {*} [options] Override http request option.
|
|
1023
|
+
* @throws {RequiredError}
|
|
1024
|
+
*/
|
|
1025
|
+
async getInstancesDocdb(options) {
|
|
1026
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstancesDocdb(options);
|
|
1027
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1028
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.getInstancesDocdb']?.[localVarOperationServerIndex]?.url;
|
|
1029
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1030
|
+
},
|
|
1031
|
+
/**
|
|
1032
|
+
* GetDocDB returns one Hanzo DocDB database\'s metadata. It carries the database\'s status, its instance address and the SCRAM user the instance was set up with — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view.
|
|
1033
|
+
* @summary GetDocDB returns one Hanzo DocDB database\'s metadata.
|
|
1034
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
1035
|
+
* @param {*} [options] Override http request option.
|
|
1036
|
+
* @throws {RequiredError}
|
|
1037
|
+
*/
|
|
1038
|
+
async getInstancesDocdbByName(name, options) {
|
|
1039
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstancesDocdbByName(name, options);
|
|
1040
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1041
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.getInstancesDocdbByName']?.[localVarOperationServerIndex]?.url;
|
|
1042
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1043
|
+
},
|
|
1044
|
+
/**
|
|
1045
|
+
* ListKV lists the caller org\'s Hanzo KV stores. Each one is a DEDICATED Valkey instance the org alone runs, so the host is that instance\'s own in-cluster Service and the port is 6379.
|
|
1046
|
+
* @summary ListKV lists the caller org\'s Hanzo KV stores.
|
|
1047
|
+
* @param {*} [options] Override http request option.
|
|
1048
|
+
* @throws {RequiredError}
|
|
1049
|
+
*/
|
|
1050
|
+
async getInstancesKv(options) {
|
|
1051
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstancesKv(options);
|
|
1052
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1053
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.getInstancesKv']?.[localVarOperationServerIndex]?.url;
|
|
1054
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1055
|
+
},
|
|
1056
|
+
/**
|
|
1057
|
+
* GetKV returns one Hanzo KV store\'s metadata. It carries the store\'s status, its instance address and the Valkey user it authenticates as (\"default\", the only user a requirepass instance has) — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view.
|
|
1058
|
+
* @summary GetKV returns one Hanzo KV store\'s metadata.
|
|
1059
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
1060
|
+
* @param {*} [options] Override http request option.
|
|
1061
|
+
* @throws {RequiredError}
|
|
1062
|
+
*/
|
|
1063
|
+
async getInstancesKvByName(name, options) {
|
|
1064
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstancesKvByName(name, options);
|
|
1065
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1066
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.getInstancesKvByName']?.[localVarOperationServerIndex]?.url;
|
|
1067
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1068
|
+
},
|
|
1069
|
+
/**
|
|
1070
|
+
* Lists the caller org\'s object-storage buckets. A bucket lives in an already-live shared object store and is reached through the public gateway. The names here are the friendly ones the org provisioned; the physical bucket is org-namespaced underneath, which is what keeps two tenants\' buckets distinct.
|
|
1071
|
+
* @summary Lists the caller org\'s object-storage buckets.
|
|
1072
|
+
* @param {*} [options] Override http request option.
|
|
1073
|
+
* @throws {RequiredError}
|
|
1074
|
+
*/
|
|
1075
|
+
async getInstancesS3(options) {
|
|
1076
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstancesS3(options);
|
|
1077
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1078
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.getInstancesS3']?.[localVarOperationServerIndex]?.url;
|
|
1079
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1080
|
+
},
|
|
1081
|
+
/**
|
|
1082
|
+
* Returns one bucket\'s metadata. It carries the bucket\'s status and the gateway address it is reached at, and no username: the object store authenticates with a shared, out-of-band key rather than a per-bucket credential.
|
|
1083
|
+
* @summary Returns one bucket\'s metadata.
|
|
1084
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
1085
|
+
* @param {*} [options] Override http request option.
|
|
1086
|
+
* @throws {RequiredError}
|
|
1087
|
+
*/
|
|
1088
|
+
async getInstancesS3ByName(name, options) {
|
|
1089
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstancesS3ByName(name, options);
|
|
1090
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1091
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.getInstancesS3ByName']?.[localVarOperationServerIndex]?.url;
|
|
1092
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1093
|
+
},
|
|
1094
|
+
/**
|
|
1095
|
+
* Lists the caller org\'s search indexes. An index is a logical resource inside an already-live shared backend, so every one of them is reached through the public gateway rather than at an instance of its own.
|
|
1096
|
+
* @summary Lists the caller org\'s search indexes.
|
|
1097
|
+
* @param {*} [options] Override http request option.
|
|
1098
|
+
* @throws {RequiredError}
|
|
1099
|
+
*/
|
|
1100
|
+
async getInstancesSearch(options) {
|
|
1101
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstancesSearch(options);
|
|
1102
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1103
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.getInstancesSearch']?.[localVarOperationServerIndex]?.url;
|
|
1104
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1105
|
+
},
|
|
1106
|
+
/**
|
|
1107
|
+
* Returns one search index\'s metadata. It carries the index\'s status and the gateway address it is reached at, and no username: the backend authenticates with a shared, out-of-band key rather than a per-index credential.
|
|
1108
|
+
* @summary Returns one search index\'s metadata.
|
|
1109
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
1110
|
+
* @param {*} [options] Override http request option.
|
|
1111
|
+
* @throws {RequiredError}
|
|
1112
|
+
*/
|
|
1113
|
+
async getInstancesSearchByName(name, options) {
|
|
1114
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstancesSearchByName(name, options);
|
|
1115
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1116
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.getInstancesSearchByName']?.[localVarOperationServerIndex]?.url;
|
|
1117
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1118
|
+
},
|
|
1119
|
+
/**
|
|
1120
|
+
* ListSQL lists the caller org\'s Hanzo SQL databases. Each one is a DEDICATED PostgreSQL instance the org alone runs, so the host is that instance\'s own in-cluster Service and the port is 5432.
|
|
1121
|
+
* @summary ListSQL lists the caller org\'s Hanzo SQL databases.
|
|
1122
|
+
* @param {*} [options] Override http request option.
|
|
1123
|
+
* @throws {RequiredError}
|
|
1124
|
+
*/
|
|
1125
|
+
async getInstancesSql(options) {
|
|
1126
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstancesSql(options);
|
|
1127
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1128
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.getInstancesSql']?.[localVarOperationServerIndex]?.url;
|
|
1129
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1130
|
+
},
|
|
1131
|
+
/**
|
|
1132
|
+
* GetSQL returns one Hanzo SQL database\'s metadata. It carries the database\'s status, its instance address and the admin user Postgres booted with — never the password, which is returned once at create and otherwise lives only in Hanzo KMS. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view rather than from the row.
|
|
1133
|
+
* @summary GetSQL returns one Hanzo SQL database\'s metadata.
|
|
1134
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
1135
|
+
* @param {*} [options] Override http request option.
|
|
1136
|
+
* @throws {RequiredError}
|
|
1137
|
+
*/
|
|
1138
|
+
async getInstancesSqlByName(name, options) {
|
|
1139
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstancesSqlByName(name, options);
|
|
1140
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1141
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.getInstancesSqlByName']?.[localVarOperationServerIndex]?.url;
|
|
1142
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1143
|
+
},
|
|
1144
|
+
/**
|
|
1145
|
+
* Lists the caller org\'s vector collections. A collection is a logical resource inside an already-live shared backend, so every one of them is reached through the public gateway rather than at an instance of its own.
|
|
1146
|
+
* @summary Lists the caller org\'s vector collections.
|
|
1147
|
+
* @param {*} [options] Override http request option.
|
|
1148
|
+
* @throws {RequiredError}
|
|
1149
|
+
*/
|
|
1150
|
+
async getInstancesVector(options) {
|
|
1151
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstancesVector(options);
|
|
1152
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1153
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.getInstancesVector']?.[localVarOperationServerIndex]?.url;
|
|
1154
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1155
|
+
},
|
|
1156
|
+
/**
|
|
1157
|
+
* Returns one vector collection\'s metadata. It carries the collection\'s status and the gateway address it is reached at, and no username: the backend authenticates with a shared, out-of-band key rather than a per-collection credential, so there is no per-resource user to report.
|
|
1158
|
+
* @summary Returns one vector collection\'s metadata.
|
|
1159
|
+
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
1160
|
+
* @param {*} [options] Override http request option.
|
|
1161
|
+
* @throws {RequiredError}
|
|
1162
|
+
*/
|
|
1163
|
+
async getInstancesVectorByName(name, options) {
|
|
1164
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstancesVectorByName(name, options);
|
|
1165
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1166
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.getInstancesVectorByName']?.[localVarOperationServerIndex]?.url;
|
|
1167
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1168
|
+
},
|
|
1169
|
+
/**
|
|
1170
|
+
* Launches your org\'s OWN Hanzo Datastore instance and answers with its `datastore://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1171
|
+
* @summary Provision a Hanzo Datastore instance for your org
|
|
1172
|
+
* @param {ProvisionRequest} [provisionRequest]
|
|
1173
|
+
* @param {*} [options] Override http request option.
|
|
1174
|
+
* @throws {RequiredError}
|
|
1175
|
+
*/
|
|
1176
|
+
async postInstancesDatastore(provisionRequest, options) {
|
|
1177
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postInstancesDatastore(provisionRequest, options);
|
|
1178
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1179
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.postInstancesDatastore']?.[localVarOperationServerIndex]?.url;
|
|
1180
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1181
|
+
},
|
|
1182
|
+
/**
|
|
1183
|
+
* Launches your org\'s OWN document-database instance — it speaks the MongoDB wire protocol, so existing MongoDB drivers connect unchanged — and answers with its `mongodb://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1184
|
+
* @summary Provision a document database for your org
|
|
1185
|
+
* @param {ProvisionRequest} [provisionRequest]
|
|
1186
|
+
* @param {*} [options] Override http request option.
|
|
1187
|
+
* @throws {RequiredError}
|
|
1188
|
+
*/
|
|
1189
|
+
async postInstancesDocdb(provisionRequest, options) {
|
|
1190
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postInstancesDocdb(provisionRequest, options);
|
|
1191
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1192
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.postInstancesDocdb']?.[localVarOperationServerIndex]?.url;
|
|
1193
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1194
|
+
},
|
|
1195
|
+
/**
|
|
1196
|
+
* Launches your org\'s OWN key-value instance and answers with its `kv://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1197
|
+
* @summary Provision a key-value store for your org
|
|
1198
|
+
* @param {ProvisionRequest} [provisionRequest]
|
|
1199
|
+
* @param {*} [options] Override http request option.
|
|
1200
|
+
* @throws {RequiredError}
|
|
1201
|
+
*/
|
|
1202
|
+
async postInstancesKv(provisionRequest, options) {
|
|
1203
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postInstancesKv(provisionRequest, options);
|
|
1204
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1205
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.postInstancesKv']?.[localVarOperationServerIndex]?.url;
|
|
1206
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1207
|
+
},
|
|
1208
|
+
/**
|
|
1209
|
+
* Creates an S3-compatible bucket inside the already-running shared object store and answers with the endpoint that reaches it. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1210
|
+
* @summary Provision an object storage bucket for your org
|
|
1211
|
+
* @param {ProvisionRequest} [provisionRequest]
|
|
1212
|
+
* @param {*} [options] Override http request option.
|
|
1213
|
+
* @throws {RequiredError}
|
|
1214
|
+
*/
|
|
1215
|
+
async postInstancesS3(provisionRequest, options) {
|
|
1216
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postInstancesS3(provisionRequest, options);
|
|
1217
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1218
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.postInstancesS3']?.[localVarOperationServerIndex]?.url;
|
|
1219
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1220
|
+
},
|
|
1221
|
+
/**
|
|
1222
|
+
* Creates a search index inside the already-running shared search backend and answers with the endpoint that reaches it. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1223
|
+
* @summary Provision a search index for your org
|
|
1224
|
+
* @param {ProvisionRequest} [provisionRequest]
|
|
1225
|
+
* @param {*} [options] Override http request option.
|
|
1226
|
+
* @throws {RequiredError}
|
|
1227
|
+
*/
|
|
1228
|
+
async postInstancesSearch(provisionRequest, options) {
|
|
1229
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postInstancesSearch(provisionRequest, options);
|
|
1230
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1231
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.postInstancesSearch']?.[localVarOperationServerIndex]?.url;
|
|
1232
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1233
|
+
},
|
|
1234
|
+
/**
|
|
1235
|
+
* Launches your org\'s OWN PostgreSQL instance and answers with its `postgres://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1236
|
+
* @summary Provision a PostgreSQL database for your org
|
|
1237
|
+
* @param {ProvisionRequest} [provisionRequest]
|
|
1238
|
+
* @param {*} [options] Override http request option.
|
|
1239
|
+
* @throws {RequiredError}
|
|
1240
|
+
*/
|
|
1241
|
+
async postInstancesSql(provisionRequest, options) {
|
|
1242
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postInstancesSql(provisionRequest, options);
|
|
1243
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1244
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.postInstancesSql']?.[localVarOperationServerIndex]?.url;
|
|
1245
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1246
|
+
},
|
|
1247
|
+
/**
|
|
1248
|
+
* Creates a vector collection inside the already-running shared vector backend and answers with the endpoint that reaches it. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1249
|
+
* @summary Provision a vector collection for your org
|
|
1250
|
+
* @param {ProvisionRequest} [provisionRequest]
|
|
1251
|
+
* @param {*} [options] Override http request option.
|
|
1252
|
+
* @throws {RequiredError}
|
|
1253
|
+
*/
|
|
1254
|
+
async postInstancesVector(provisionRequest, options) {
|
|
1255
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postInstancesVector(provisionRequest, options);
|
|
1256
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1257
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InstancesApi.postInstancesVector']?.[localVarOperationServerIndex]?.url;
|
|
1258
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1259
|
+
},
|
|
1260
|
+
};
|
|
1261
|
+
};
|
|
1262
|
+
exports.InstancesApiFp = InstancesApiFp;
|
|
1263
|
+
/**
|
|
1264
|
+
* InstancesApi - factory interface
|
|
1265
|
+
* @export
|
|
1266
|
+
*/
|
|
1267
|
+
const InstancesApiFactory = function (configuration, basePath, axios) {
|
|
1268
|
+
const localVarFp = (0, exports.InstancesApiFp)(configuration);
|
|
1269
|
+
return {
|
|
1270
|
+
/**
|
|
1271
|
+
* Deprovisions one Hanzo Datastore warehouse. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
1272
|
+
* @summary Deprovisions one Hanzo Datastore warehouse.
|
|
1273
|
+
* @param {InstancesApiDeleteInstancesDatastoreByNameRequest} requestParameters Request parameters.
|
|
1274
|
+
* @param {*} [options] Override http request option.
|
|
1275
|
+
* @throws {RequiredError}
|
|
1276
|
+
*/
|
|
1277
|
+
deleteInstancesDatastoreByName(requestParameters, options) {
|
|
1278
|
+
return localVarFp.deleteInstancesDatastoreByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1279
|
+
},
|
|
1280
|
+
/**
|
|
1281
|
+
* DropDocDB deprovisions one Hanzo DocDB database. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated FerretDB instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
1282
|
+
* @summary DropDocDB deprovisions one Hanzo DocDB database.
|
|
1283
|
+
* @param {InstancesApiDeleteInstancesDocdbByNameRequest} requestParameters Request parameters.
|
|
1284
|
+
* @param {*} [options] Override http request option.
|
|
1285
|
+
* @throws {RequiredError}
|
|
1286
|
+
*/
|
|
1287
|
+
deleteInstancesDocdbByName(requestParameters, options) {
|
|
1288
|
+
return localVarFp.deleteInstancesDocdbByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1289
|
+
},
|
|
1290
|
+
/**
|
|
1291
|
+
* DropKV deprovisions one Hanzo KV store. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated Valkey instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
1292
|
+
* @summary DropKV deprovisions one Hanzo KV store.
|
|
1293
|
+
* @param {InstancesApiDeleteInstancesKvByNameRequest} requestParameters Request parameters.
|
|
1294
|
+
* @param {*} [options] Override http request option.
|
|
1295
|
+
* @throws {RequiredError}
|
|
1296
|
+
*/
|
|
1297
|
+
deleteInstancesKvByName(requestParameters, options) {
|
|
1298
|
+
return localVarFp.deleteInstancesKvByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1299
|
+
},
|
|
1300
|
+
/**
|
|
1301
|
+
* Deletes one bucket from the shared object store and removes its metadata row. Answers 204 with no body; a second call is a 404.
|
|
1302
|
+
* @summary Deletes one bucket from the shared object store and removes its metadata row.
|
|
1303
|
+
* @param {InstancesApiDeleteInstancesS3ByNameRequest} requestParameters Request parameters.
|
|
1304
|
+
* @param {*} [options] Override http request option.
|
|
1305
|
+
* @throws {RequiredError}
|
|
1306
|
+
*/
|
|
1307
|
+
deleteInstancesS3ByName(requestParameters, options) {
|
|
1308
|
+
return localVarFp.deleteInstancesS3ByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1309
|
+
},
|
|
1310
|
+
/**
|
|
1311
|
+
* Deletes one search index from the shared backend and removes its metadata row. Answers 204 with no body; a second call is a 404.
|
|
1312
|
+
* @summary Deletes one search index from the shared backend and removes its metadata row.
|
|
1313
|
+
* @param {InstancesApiDeleteInstancesSearchByNameRequest} requestParameters Request parameters.
|
|
1314
|
+
* @param {*} [options] Override http request option.
|
|
1315
|
+
* @throws {RequiredError}
|
|
1316
|
+
*/
|
|
1317
|
+
deleteInstancesSearchByName(requestParameters, options) {
|
|
1318
|
+
return localVarFp.deleteInstancesSearchByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1319
|
+
},
|
|
1320
|
+
/**
|
|
1321
|
+
* DropSQL deprovisions one Hanzo SQL database. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated Postgres instance — never a live app pointed at a deleted backend — then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404, not a second delete.
|
|
1322
|
+
* @summary DropSQL deprovisions one Hanzo SQL database.
|
|
1323
|
+
* @param {InstancesApiDeleteInstancesSqlByNameRequest} requestParameters Request parameters.
|
|
1324
|
+
* @param {*} [options] Override http request option.
|
|
1325
|
+
* @throws {RequiredError}
|
|
1326
|
+
*/
|
|
1327
|
+
deleteInstancesSqlByName(requestParameters, options) {
|
|
1328
|
+
return localVarFp.deleteInstancesSqlByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1329
|
+
},
|
|
1330
|
+
/**
|
|
1331
|
+
* Deletes one vector collection from the shared backend and removes its metadata row. Answers 204 with no body; a second call is a 404.
|
|
1332
|
+
* @summary Deletes one vector collection from the shared backend and removes its metadata row.
|
|
1333
|
+
* @param {InstancesApiDeleteInstancesVectorByNameRequest} requestParameters Request parameters.
|
|
1334
|
+
* @param {*} [options] Override http request option.
|
|
1335
|
+
* @throws {RequiredError}
|
|
1336
|
+
*/
|
|
1337
|
+
deleteInstancesVectorByName(requestParameters, options) {
|
|
1338
|
+
return localVarFp.deleteInstancesVectorByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1339
|
+
},
|
|
1340
|
+
/**
|
|
1341
|
+
* Lists the caller org\'s Hanzo Datastore warehouses. Each one is a DEDICATED analytical instance the org alone runs, so the host is that instance\'s own in-cluster Service and the port is its HTTP port, 8123.
|
|
1342
|
+
* @summary Lists the caller org\'s Hanzo Datastore warehouses.
|
|
1343
|
+
* @param {*} [options] Override http request option.
|
|
1344
|
+
* @throws {RequiredError}
|
|
1345
|
+
*/
|
|
1346
|
+
getInstancesDatastore(options) {
|
|
1347
|
+
return localVarFp.getInstancesDatastore(options).then((request) => request(axios, basePath));
|
|
1348
|
+
},
|
|
1349
|
+
/**
|
|
1350
|
+
* Returns one Hanzo Datastore warehouse\'s metadata. It carries the warehouse\'s status, its instance address and the admin user the instance booted with — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view rather than the row.
|
|
1351
|
+
* @summary Returns one Hanzo Datastore warehouse\'s metadata.
|
|
1352
|
+
* @param {InstancesApiGetInstancesDatastoreByNameRequest} requestParameters Request parameters.
|
|
1353
|
+
* @param {*} [options] Override http request option.
|
|
1354
|
+
* @throws {RequiredError}
|
|
1355
|
+
*/
|
|
1356
|
+
getInstancesDatastoreByName(requestParameters, options) {
|
|
1357
|
+
return localVarFp.getInstancesDatastoreByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1358
|
+
},
|
|
1359
|
+
/**
|
|
1360
|
+
* ListDocDB lists the caller org\'s Hanzo DocDB document databases. Each one is a DEDICATED FerretDB instance the org alone runs, speaking the MongoDB wire protocol, so the host is that instance\'s own in-cluster Service and the port is 27017.
|
|
1361
|
+
* @summary ListDocDB lists the caller org\'s Hanzo DocDB document databases.
|
|
1362
|
+
* @param {*} [options] Override http request option.
|
|
1363
|
+
* @throws {RequiredError}
|
|
1364
|
+
*/
|
|
1365
|
+
getInstancesDocdb(options) {
|
|
1366
|
+
return localVarFp.getInstancesDocdb(options).then((request) => request(axios, basePath));
|
|
1367
|
+
},
|
|
1368
|
+
/**
|
|
1369
|
+
* GetDocDB returns one Hanzo DocDB database\'s metadata. It carries the database\'s status, its instance address and the SCRAM user the instance was set up with — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view.
|
|
1370
|
+
* @summary GetDocDB returns one Hanzo DocDB database\'s metadata.
|
|
1371
|
+
* @param {InstancesApiGetInstancesDocdbByNameRequest} requestParameters Request parameters.
|
|
1372
|
+
* @param {*} [options] Override http request option.
|
|
1373
|
+
* @throws {RequiredError}
|
|
1374
|
+
*/
|
|
1375
|
+
getInstancesDocdbByName(requestParameters, options) {
|
|
1376
|
+
return localVarFp.getInstancesDocdbByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1377
|
+
},
|
|
1378
|
+
/**
|
|
1379
|
+
* ListKV lists the caller org\'s Hanzo KV stores. Each one is a DEDICATED Valkey instance the org alone runs, so the host is that instance\'s own in-cluster Service and the port is 6379.
|
|
1380
|
+
* @summary ListKV lists the caller org\'s Hanzo KV stores.
|
|
1381
|
+
* @param {*} [options] Override http request option.
|
|
1382
|
+
* @throws {RequiredError}
|
|
1383
|
+
*/
|
|
1384
|
+
getInstancesKv(options) {
|
|
1385
|
+
return localVarFp.getInstancesKv(options).then((request) => request(axios, basePath));
|
|
1386
|
+
},
|
|
1387
|
+
/**
|
|
1388
|
+
* GetKV returns one Hanzo KV store\'s metadata. It carries the store\'s status, its instance address and the Valkey user it authenticates as (\"default\", the only user a requirepass instance has) — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view.
|
|
1389
|
+
* @summary GetKV returns one Hanzo KV store\'s metadata.
|
|
1390
|
+
* @param {InstancesApiGetInstancesKvByNameRequest} requestParameters Request parameters.
|
|
1391
|
+
* @param {*} [options] Override http request option.
|
|
1392
|
+
* @throws {RequiredError}
|
|
1393
|
+
*/
|
|
1394
|
+
getInstancesKvByName(requestParameters, options) {
|
|
1395
|
+
return localVarFp.getInstancesKvByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1396
|
+
},
|
|
1397
|
+
/**
|
|
1398
|
+
* Lists the caller org\'s object-storage buckets. A bucket lives in an already-live shared object store and is reached through the public gateway. The names here are the friendly ones the org provisioned; the physical bucket is org-namespaced underneath, which is what keeps two tenants\' buckets distinct.
|
|
1399
|
+
* @summary Lists the caller org\'s object-storage buckets.
|
|
1400
|
+
* @param {*} [options] Override http request option.
|
|
1401
|
+
* @throws {RequiredError}
|
|
1402
|
+
*/
|
|
1403
|
+
getInstancesS3(options) {
|
|
1404
|
+
return localVarFp.getInstancesS3(options).then((request) => request(axios, basePath));
|
|
1405
|
+
},
|
|
1406
|
+
/**
|
|
1407
|
+
* Returns one bucket\'s metadata. It carries the bucket\'s status and the gateway address it is reached at, and no username: the object store authenticates with a shared, out-of-band key rather than a per-bucket credential.
|
|
1408
|
+
* @summary Returns one bucket\'s metadata.
|
|
1409
|
+
* @param {InstancesApiGetInstancesS3ByNameRequest} requestParameters Request parameters.
|
|
1410
|
+
* @param {*} [options] Override http request option.
|
|
1411
|
+
* @throws {RequiredError}
|
|
1412
|
+
*/
|
|
1413
|
+
getInstancesS3ByName(requestParameters, options) {
|
|
1414
|
+
return localVarFp.getInstancesS3ByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1415
|
+
},
|
|
1416
|
+
/**
|
|
1417
|
+
* Lists the caller org\'s search indexes. An index is a logical resource inside an already-live shared backend, so every one of them is reached through the public gateway rather than at an instance of its own.
|
|
1418
|
+
* @summary Lists the caller org\'s search indexes.
|
|
1419
|
+
* @param {*} [options] Override http request option.
|
|
1420
|
+
* @throws {RequiredError}
|
|
1421
|
+
*/
|
|
1422
|
+
getInstancesSearch(options) {
|
|
1423
|
+
return localVarFp.getInstancesSearch(options).then((request) => request(axios, basePath));
|
|
1424
|
+
},
|
|
1425
|
+
/**
|
|
1426
|
+
* Returns one search index\'s metadata. It carries the index\'s status and the gateway address it is reached at, and no username: the backend authenticates with a shared, out-of-band key rather than a per-index credential.
|
|
1427
|
+
* @summary Returns one search index\'s metadata.
|
|
1428
|
+
* @param {InstancesApiGetInstancesSearchByNameRequest} requestParameters Request parameters.
|
|
1429
|
+
* @param {*} [options] Override http request option.
|
|
1430
|
+
* @throws {RequiredError}
|
|
1431
|
+
*/
|
|
1432
|
+
getInstancesSearchByName(requestParameters, options) {
|
|
1433
|
+
return localVarFp.getInstancesSearchByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1434
|
+
},
|
|
1435
|
+
/**
|
|
1436
|
+
* ListSQL lists the caller org\'s Hanzo SQL databases. Each one is a DEDICATED PostgreSQL instance the org alone runs, so the host is that instance\'s own in-cluster Service and the port is 5432.
|
|
1437
|
+
* @summary ListSQL lists the caller org\'s Hanzo SQL databases.
|
|
1438
|
+
* @param {*} [options] Override http request option.
|
|
1439
|
+
* @throws {RequiredError}
|
|
1440
|
+
*/
|
|
1441
|
+
getInstancesSql(options) {
|
|
1442
|
+
return localVarFp.getInstancesSql(options).then((request) => request(axios, basePath));
|
|
1443
|
+
},
|
|
1444
|
+
/**
|
|
1445
|
+
* GetSQL returns one Hanzo SQL database\'s metadata. It carries the database\'s status, its instance address and the admin user Postgres booted with — never the password, which is returned once at create and otherwise lives only in Hanzo KMS. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view rather than from the row.
|
|
1446
|
+
* @summary GetSQL returns one Hanzo SQL database\'s metadata.
|
|
1447
|
+
* @param {InstancesApiGetInstancesSqlByNameRequest} requestParameters Request parameters.
|
|
1448
|
+
* @param {*} [options] Override http request option.
|
|
1449
|
+
* @throws {RequiredError}
|
|
1450
|
+
*/
|
|
1451
|
+
getInstancesSqlByName(requestParameters, options) {
|
|
1452
|
+
return localVarFp.getInstancesSqlByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1453
|
+
},
|
|
1454
|
+
/**
|
|
1455
|
+
* Lists the caller org\'s vector collections. A collection is a logical resource inside an already-live shared backend, so every one of them is reached through the public gateway rather than at an instance of its own.
|
|
1456
|
+
* @summary Lists the caller org\'s vector collections.
|
|
1457
|
+
* @param {*} [options] Override http request option.
|
|
1458
|
+
* @throws {RequiredError}
|
|
1459
|
+
*/
|
|
1460
|
+
getInstancesVector(options) {
|
|
1461
|
+
return localVarFp.getInstancesVector(options).then((request) => request(axios, basePath));
|
|
1462
|
+
},
|
|
1463
|
+
/**
|
|
1464
|
+
* Returns one vector collection\'s metadata. It carries the collection\'s status and the gateway address it is reached at, and no username: the backend authenticates with a shared, out-of-band key rather than a per-collection credential, so there is no per-resource user to report.
|
|
1465
|
+
* @summary Returns one vector collection\'s metadata.
|
|
1466
|
+
* @param {InstancesApiGetInstancesVectorByNameRequest} requestParameters Request parameters.
|
|
1467
|
+
* @param {*} [options] Override http request option.
|
|
1468
|
+
* @throws {RequiredError}
|
|
1469
|
+
*/
|
|
1470
|
+
getInstancesVectorByName(requestParameters, options) {
|
|
1471
|
+
return localVarFp.getInstancesVectorByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1472
|
+
},
|
|
1473
|
+
/**
|
|
1474
|
+
* Launches your org\'s OWN Hanzo Datastore instance and answers with its `datastore://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1475
|
+
* @summary Provision a Hanzo Datastore instance for your org
|
|
1476
|
+
* @param {InstancesApiPostInstancesDatastoreRequest} requestParameters Request parameters.
|
|
1477
|
+
* @param {*} [options] Override http request option.
|
|
1478
|
+
* @throws {RequiredError}
|
|
1479
|
+
*/
|
|
1480
|
+
postInstancesDatastore(requestParameters = {}, options) {
|
|
1481
|
+
return localVarFp.postInstancesDatastore(requestParameters.provisionRequest, options).then((request) => request(axios, basePath));
|
|
1482
|
+
},
|
|
1483
|
+
/**
|
|
1484
|
+
* Launches your org\'s OWN document-database instance — it speaks the MongoDB wire protocol, so existing MongoDB drivers connect unchanged — and answers with its `mongodb://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1485
|
+
* @summary Provision a document database for your org
|
|
1486
|
+
* @param {InstancesApiPostInstancesDocdbRequest} requestParameters Request parameters.
|
|
1487
|
+
* @param {*} [options] Override http request option.
|
|
1488
|
+
* @throws {RequiredError}
|
|
1489
|
+
*/
|
|
1490
|
+
postInstancesDocdb(requestParameters = {}, options) {
|
|
1491
|
+
return localVarFp.postInstancesDocdb(requestParameters.provisionRequest, options).then((request) => request(axios, basePath));
|
|
1492
|
+
},
|
|
1493
|
+
/**
|
|
1494
|
+
* Launches your org\'s OWN key-value instance and answers with its `kv://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1495
|
+
* @summary Provision a key-value store for your org
|
|
1496
|
+
* @param {InstancesApiPostInstancesKvRequest} requestParameters Request parameters.
|
|
1497
|
+
* @param {*} [options] Override http request option.
|
|
1498
|
+
* @throws {RequiredError}
|
|
1499
|
+
*/
|
|
1500
|
+
postInstancesKv(requestParameters = {}, options) {
|
|
1501
|
+
return localVarFp.postInstancesKv(requestParameters.provisionRequest, options).then((request) => request(axios, basePath));
|
|
1502
|
+
},
|
|
1503
|
+
/**
|
|
1504
|
+
* Creates an S3-compatible bucket inside the already-running shared object store and answers with the endpoint that reaches it. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1505
|
+
* @summary Provision an object storage bucket for your org
|
|
1506
|
+
* @param {InstancesApiPostInstancesS3Request} requestParameters Request parameters.
|
|
1507
|
+
* @param {*} [options] Override http request option.
|
|
1508
|
+
* @throws {RequiredError}
|
|
1509
|
+
*/
|
|
1510
|
+
postInstancesS3(requestParameters = {}, options) {
|
|
1511
|
+
return localVarFp.postInstancesS3(requestParameters.provisionRequest, options).then((request) => request(axios, basePath));
|
|
1512
|
+
},
|
|
1513
|
+
/**
|
|
1514
|
+
* Creates a search index inside the already-running shared search backend and answers with the endpoint that reaches it. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1515
|
+
* @summary Provision a search index for your org
|
|
1516
|
+
* @param {InstancesApiPostInstancesSearchRequest} requestParameters Request parameters.
|
|
1517
|
+
* @param {*} [options] Override http request option.
|
|
1518
|
+
* @throws {RequiredError}
|
|
1519
|
+
*/
|
|
1520
|
+
postInstancesSearch(requestParameters = {}, options) {
|
|
1521
|
+
return localVarFp.postInstancesSearch(requestParameters.provisionRequest, options).then((request) => request(axios, basePath));
|
|
1522
|
+
},
|
|
1523
|
+
/**
|
|
1524
|
+
* Launches your org\'s OWN PostgreSQL instance and answers with its `postgres://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1525
|
+
* @summary Provision a PostgreSQL database for your org
|
|
1526
|
+
* @param {InstancesApiPostInstancesSqlRequest} requestParameters Request parameters.
|
|
1527
|
+
* @param {*} [options] Override http request option.
|
|
1528
|
+
* @throws {RequiredError}
|
|
1529
|
+
*/
|
|
1530
|
+
postInstancesSql(requestParameters = {}, options) {
|
|
1531
|
+
return localVarFp.postInstancesSql(requestParameters.provisionRequest, options).then((request) => request(axios, basePath));
|
|
1532
|
+
},
|
|
1533
|
+
/**
|
|
1534
|
+
* Creates a vector collection inside the already-running shared vector backend and answers with the endpoint that reaches it. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1535
|
+
* @summary Provision a vector collection for your org
|
|
1536
|
+
* @param {InstancesApiPostInstancesVectorRequest} requestParameters Request parameters.
|
|
1537
|
+
* @param {*} [options] Override http request option.
|
|
1538
|
+
* @throws {RequiredError}
|
|
1539
|
+
*/
|
|
1540
|
+
postInstancesVector(requestParameters = {}, options) {
|
|
1541
|
+
return localVarFp.postInstancesVector(requestParameters.provisionRequest, options).then((request) => request(axios, basePath));
|
|
1542
|
+
},
|
|
1543
|
+
};
|
|
1544
|
+
};
|
|
1545
|
+
exports.InstancesApiFactory = InstancesApiFactory;
|
|
1546
|
+
/**
|
|
1547
|
+
* InstancesApi - object-oriented interface
|
|
1548
|
+
* @export
|
|
1549
|
+
* @class InstancesApi
|
|
1550
|
+
* @extends {BaseAPI}
|
|
1551
|
+
*/
|
|
1552
|
+
class InstancesApi extends base_1.BaseAPI {
|
|
1553
|
+
/**
|
|
1554
|
+
* Deprovisions one Hanzo Datastore warehouse. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
1555
|
+
* @summary Deprovisions one Hanzo Datastore warehouse.
|
|
1556
|
+
* @param {InstancesApiDeleteInstancesDatastoreByNameRequest} requestParameters Request parameters.
|
|
1557
|
+
* @param {*} [options] Override http request option.
|
|
1558
|
+
* @throws {RequiredError}
|
|
1559
|
+
* @memberof InstancesApi
|
|
1560
|
+
*/
|
|
1561
|
+
deleteInstancesDatastoreByName(requestParameters, options) {
|
|
1562
|
+
return (0, exports.InstancesApiFp)(this.configuration).deleteInstancesDatastoreByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1563
|
+
}
|
|
1564
|
+
/**
|
|
1565
|
+
* DropDocDB deprovisions one Hanzo DocDB database. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated FerretDB instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
1566
|
+
* @summary DropDocDB deprovisions one Hanzo DocDB database.
|
|
1567
|
+
* @param {InstancesApiDeleteInstancesDocdbByNameRequest} requestParameters Request parameters.
|
|
1568
|
+
* @param {*} [options] Override http request option.
|
|
1569
|
+
* @throws {RequiredError}
|
|
1570
|
+
* @memberof InstancesApi
|
|
1571
|
+
*/
|
|
1572
|
+
deleteInstancesDocdbByName(requestParameters, options) {
|
|
1573
|
+
return (0, exports.InstancesApiFp)(this.configuration).deleteInstancesDocdbByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1574
|
+
}
|
|
1575
|
+
/**
|
|
1576
|
+
* DropKV deprovisions one Hanzo KV store. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated Valkey instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
1577
|
+
* @summary DropKV deprovisions one Hanzo KV store.
|
|
1578
|
+
* @param {InstancesApiDeleteInstancesKvByNameRequest} requestParameters Request parameters.
|
|
1579
|
+
* @param {*} [options] Override http request option.
|
|
1580
|
+
* @throws {RequiredError}
|
|
1581
|
+
* @memberof InstancesApi
|
|
1582
|
+
*/
|
|
1583
|
+
deleteInstancesKvByName(requestParameters, options) {
|
|
1584
|
+
return (0, exports.InstancesApiFp)(this.configuration).deleteInstancesKvByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1585
|
+
}
|
|
1586
|
+
/**
|
|
1587
|
+
* Deletes one bucket from the shared object store and removes its metadata row. Answers 204 with no body; a second call is a 404.
|
|
1588
|
+
* @summary Deletes one bucket from the shared object store and removes its metadata row.
|
|
1589
|
+
* @param {InstancesApiDeleteInstancesS3ByNameRequest} requestParameters Request parameters.
|
|
1590
|
+
* @param {*} [options] Override http request option.
|
|
1591
|
+
* @throws {RequiredError}
|
|
1592
|
+
* @memberof InstancesApi
|
|
1593
|
+
*/
|
|
1594
|
+
deleteInstancesS3ByName(requestParameters, options) {
|
|
1595
|
+
return (0, exports.InstancesApiFp)(this.configuration).deleteInstancesS3ByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1596
|
+
}
|
|
1597
|
+
/**
|
|
1598
|
+
* Deletes one search index from the shared backend and removes its metadata row. Answers 204 with no body; a second call is a 404.
|
|
1599
|
+
* @summary Deletes one search index from the shared backend and removes its metadata row.
|
|
1600
|
+
* @param {InstancesApiDeleteInstancesSearchByNameRequest} requestParameters Request parameters.
|
|
1601
|
+
* @param {*} [options] Override http request option.
|
|
1602
|
+
* @throws {RequiredError}
|
|
1603
|
+
* @memberof InstancesApi
|
|
1604
|
+
*/
|
|
1605
|
+
deleteInstancesSearchByName(requestParameters, options) {
|
|
1606
|
+
return (0, exports.InstancesApiFp)(this.configuration).deleteInstancesSearchByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1607
|
+
}
|
|
1608
|
+
/**
|
|
1609
|
+
* DropSQL deprovisions one Hanzo SQL database. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated Postgres instance — never a live app pointed at a deleted backend — then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404, not a second delete.
|
|
1610
|
+
* @summary DropSQL deprovisions one Hanzo SQL database.
|
|
1611
|
+
* @param {InstancesApiDeleteInstancesSqlByNameRequest} requestParameters Request parameters.
|
|
1612
|
+
* @param {*} [options] Override http request option.
|
|
1613
|
+
* @throws {RequiredError}
|
|
1614
|
+
* @memberof InstancesApi
|
|
1615
|
+
*/
|
|
1616
|
+
deleteInstancesSqlByName(requestParameters, options) {
|
|
1617
|
+
return (0, exports.InstancesApiFp)(this.configuration).deleteInstancesSqlByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1618
|
+
}
|
|
1619
|
+
/**
|
|
1620
|
+
* Deletes one vector collection from the shared backend and removes its metadata row. Answers 204 with no body; a second call is a 404.
|
|
1621
|
+
* @summary Deletes one vector collection from the shared backend and removes its metadata row.
|
|
1622
|
+
* @param {InstancesApiDeleteInstancesVectorByNameRequest} requestParameters Request parameters.
|
|
1623
|
+
* @param {*} [options] Override http request option.
|
|
1624
|
+
* @throws {RequiredError}
|
|
1625
|
+
* @memberof InstancesApi
|
|
1626
|
+
*/
|
|
1627
|
+
deleteInstancesVectorByName(requestParameters, options) {
|
|
1628
|
+
return (0, exports.InstancesApiFp)(this.configuration).deleteInstancesVectorByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1629
|
+
}
|
|
1630
|
+
/**
|
|
1631
|
+
* Lists the caller org\'s Hanzo Datastore warehouses. Each one is a DEDICATED analytical instance the org alone runs, so the host is that instance\'s own in-cluster Service and the port is its HTTP port, 8123.
|
|
1632
|
+
* @summary Lists the caller org\'s Hanzo Datastore warehouses.
|
|
1633
|
+
* @param {*} [options] Override http request option.
|
|
1634
|
+
* @throws {RequiredError}
|
|
1635
|
+
* @memberof InstancesApi
|
|
1636
|
+
*/
|
|
1637
|
+
getInstancesDatastore(options) {
|
|
1638
|
+
return (0, exports.InstancesApiFp)(this.configuration).getInstancesDatastore(options).then((request) => request(this.axios, this.basePath));
|
|
1639
|
+
}
|
|
1640
|
+
/**
|
|
1641
|
+
* Returns one Hanzo Datastore warehouse\'s metadata. It carries the warehouse\'s status, its instance address and the admin user the instance booted with — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view rather than the row.
|
|
1642
|
+
* @summary Returns one Hanzo Datastore warehouse\'s metadata.
|
|
1643
|
+
* @param {InstancesApiGetInstancesDatastoreByNameRequest} requestParameters Request parameters.
|
|
1644
|
+
* @param {*} [options] Override http request option.
|
|
1645
|
+
* @throws {RequiredError}
|
|
1646
|
+
* @memberof InstancesApi
|
|
1647
|
+
*/
|
|
1648
|
+
getInstancesDatastoreByName(requestParameters, options) {
|
|
1649
|
+
return (0, exports.InstancesApiFp)(this.configuration).getInstancesDatastoreByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1650
|
+
}
|
|
1651
|
+
/**
|
|
1652
|
+
* ListDocDB lists the caller org\'s Hanzo DocDB document databases. Each one is a DEDICATED FerretDB instance the org alone runs, speaking the MongoDB wire protocol, so the host is that instance\'s own in-cluster Service and the port is 27017.
|
|
1653
|
+
* @summary ListDocDB lists the caller org\'s Hanzo DocDB document databases.
|
|
1654
|
+
* @param {*} [options] Override http request option.
|
|
1655
|
+
* @throws {RequiredError}
|
|
1656
|
+
* @memberof InstancesApi
|
|
1657
|
+
*/
|
|
1658
|
+
getInstancesDocdb(options) {
|
|
1659
|
+
return (0, exports.InstancesApiFp)(this.configuration).getInstancesDocdb(options).then((request) => request(this.axios, this.basePath));
|
|
1660
|
+
}
|
|
1661
|
+
/**
|
|
1662
|
+
* GetDocDB returns one Hanzo DocDB database\'s metadata. It carries the database\'s status, its instance address and the SCRAM user the instance was set up with — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view.
|
|
1663
|
+
* @summary GetDocDB returns one Hanzo DocDB database\'s metadata.
|
|
1664
|
+
* @param {InstancesApiGetInstancesDocdbByNameRequest} requestParameters Request parameters.
|
|
1665
|
+
* @param {*} [options] Override http request option.
|
|
1666
|
+
* @throws {RequiredError}
|
|
1667
|
+
* @memberof InstancesApi
|
|
1668
|
+
*/
|
|
1669
|
+
getInstancesDocdbByName(requestParameters, options) {
|
|
1670
|
+
return (0, exports.InstancesApiFp)(this.configuration).getInstancesDocdbByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1671
|
+
}
|
|
1672
|
+
/**
|
|
1673
|
+
* ListKV lists the caller org\'s Hanzo KV stores. Each one is a DEDICATED Valkey instance the org alone runs, so the host is that instance\'s own in-cluster Service and the port is 6379.
|
|
1674
|
+
* @summary ListKV lists the caller org\'s Hanzo KV stores.
|
|
1675
|
+
* @param {*} [options] Override http request option.
|
|
1676
|
+
* @throws {RequiredError}
|
|
1677
|
+
* @memberof InstancesApi
|
|
1678
|
+
*/
|
|
1679
|
+
getInstancesKv(options) {
|
|
1680
|
+
return (0, exports.InstancesApiFp)(this.configuration).getInstancesKv(options).then((request) => request(this.axios, this.basePath));
|
|
1681
|
+
}
|
|
1682
|
+
/**
|
|
1683
|
+
* GetKV returns one Hanzo KV store\'s metadata. It carries the store\'s status, its instance address and the Valkey user it authenticates as (\"default\", the only user a requirepass instance has) — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view.
|
|
1684
|
+
* @summary GetKV returns one Hanzo KV store\'s metadata.
|
|
1685
|
+
* @param {InstancesApiGetInstancesKvByNameRequest} requestParameters Request parameters.
|
|
1686
|
+
* @param {*} [options] Override http request option.
|
|
1687
|
+
* @throws {RequiredError}
|
|
1688
|
+
* @memberof InstancesApi
|
|
1689
|
+
*/
|
|
1690
|
+
getInstancesKvByName(requestParameters, options) {
|
|
1691
|
+
return (0, exports.InstancesApiFp)(this.configuration).getInstancesKvByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1692
|
+
}
|
|
1693
|
+
/**
|
|
1694
|
+
* Lists the caller org\'s object-storage buckets. A bucket lives in an already-live shared object store and is reached through the public gateway. The names here are the friendly ones the org provisioned; the physical bucket is org-namespaced underneath, which is what keeps two tenants\' buckets distinct.
|
|
1695
|
+
* @summary Lists the caller org\'s object-storage buckets.
|
|
1696
|
+
* @param {*} [options] Override http request option.
|
|
1697
|
+
* @throws {RequiredError}
|
|
1698
|
+
* @memberof InstancesApi
|
|
1699
|
+
*/
|
|
1700
|
+
getInstancesS3(options) {
|
|
1701
|
+
return (0, exports.InstancesApiFp)(this.configuration).getInstancesS3(options).then((request) => request(this.axios, this.basePath));
|
|
1702
|
+
}
|
|
1703
|
+
/**
|
|
1704
|
+
* Returns one bucket\'s metadata. It carries the bucket\'s status and the gateway address it is reached at, and no username: the object store authenticates with a shared, out-of-band key rather than a per-bucket credential.
|
|
1705
|
+
* @summary Returns one bucket\'s metadata.
|
|
1706
|
+
* @param {InstancesApiGetInstancesS3ByNameRequest} requestParameters Request parameters.
|
|
1707
|
+
* @param {*} [options] Override http request option.
|
|
1708
|
+
* @throws {RequiredError}
|
|
1709
|
+
* @memberof InstancesApi
|
|
1710
|
+
*/
|
|
1711
|
+
getInstancesS3ByName(requestParameters, options) {
|
|
1712
|
+
return (0, exports.InstancesApiFp)(this.configuration).getInstancesS3ByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1713
|
+
}
|
|
1714
|
+
/**
|
|
1715
|
+
* Lists the caller org\'s search indexes. An index is a logical resource inside an already-live shared backend, so every one of them is reached through the public gateway rather than at an instance of its own.
|
|
1716
|
+
* @summary Lists the caller org\'s search indexes.
|
|
1717
|
+
* @param {*} [options] Override http request option.
|
|
1718
|
+
* @throws {RequiredError}
|
|
1719
|
+
* @memberof InstancesApi
|
|
1720
|
+
*/
|
|
1721
|
+
getInstancesSearch(options) {
|
|
1722
|
+
return (0, exports.InstancesApiFp)(this.configuration).getInstancesSearch(options).then((request) => request(this.axios, this.basePath));
|
|
1723
|
+
}
|
|
1724
|
+
/**
|
|
1725
|
+
* Returns one search index\'s metadata. It carries the index\'s status and the gateway address it is reached at, and no username: the backend authenticates with a shared, out-of-band key rather than a per-index credential.
|
|
1726
|
+
* @summary Returns one search index\'s metadata.
|
|
1727
|
+
* @param {InstancesApiGetInstancesSearchByNameRequest} requestParameters Request parameters.
|
|
1728
|
+
* @param {*} [options] Override http request option.
|
|
1729
|
+
* @throws {RequiredError}
|
|
1730
|
+
* @memberof InstancesApi
|
|
1731
|
+
*/
|
|
1732
|
+
getInstancesSearchByName(requestParameters, options) {
|
|
1733
|
+
return (0, exports.InstancesApiFp)(this.configuration).getInstancesSearchByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1734
|
+
}
|
|
1735
|
+
/**
|
|
1736
|
+
* ListSQL lists the caller org\'s Hanzo SQL databases. Each one is a DEDICATED PostgreSQL instance the org alone runs, so the host is that instance\'s own in-cluster Service and the port is 5432.
|
|
1737
|
+
* @summary ListSQL lists the caller org\'s Hanzo SQL databases.
|
|
1738
|
+
* @param {*} [options] Override http request option.
|
|
1739
|
+
* @throws {RequiredError}
|
|
1740
|
+
* @memberof InstancesApi
|
|
1741
|
+
*/
|
|
1742
|
+
getInstancesSql(options) {
|
|
1743
|
+
return (0, exports.InstancesApiFp)(this.configuration).getInstancesSql(options).then((request) => request(this.axios, this.basePath));
|
|
1744
|
+
}
|
|
1745
|
+
/**
|
|
1746
|
+
* GetSQL returns one Hanzo SQL database\'s metadata. It carries the database\'s status, its instance address and the admin user Postgres booted with — never the password, which is returned once at create and otherwise lives only in Hanzo KMS. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view rather than from the row.
|
|
1747
|
+
* @summary GetSQL returns one Hanzo SQL database\'s metadata.
|
|
1748
|
+
* @param {InstancesApiGetInstancesSqlByNameRequest} requestParameters Request parameters.
|
|
1749
|
+
* @param {*} [options] Override http request option.
|
|
1750
|
+
* @throws {RequiredError}
|
|
1751
|
+
* @memberof InstancesApi
|
|
1752
|
+
*/
|
|
1753
|
+
getInstancesSqlByName(requestParameters, options) {
|
|
1754
|
+
return (0, exports.InstancesApiFp)(this.configuration).getInstancesSqlByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1755
|
+
}
|
|
1756
|
+
/**
|
|
1757
|
+
* Lists the caller org\'s vector collections. A collection is a logical resource inside an already-live shared backend, so every one of them is reached through the public gateway rather than at an instance of its own.
|
|
1758
|
+
* @summary Lists the caller org\'s vector collections.
|
|
1759
|
+
* @param {*} [options] Override http request option.
|
|
1760
|
+
* @throws {RequiredError}
|
|
1761
|
+
* @memberof InstancesApi
|
|
1762
|
+
*/
|
|
1763
|
+
getInstancesVector(options) {
|
|
1764
|
+
return (0, exports.InstancesApiFp)(this.configuration).getInstancesVector(options).then((request) => request(this.axios, this.basePath));
|
|
1765
|
+
}
|
|
1766
|
+
/**
|
|
1767
|
+
* Returns one vector collection\'s metadata. It carries the collection\'s status and the gateway address it is reached at, and no username: the backend authenticates with a shared, out-of-band key rather than a per-collection credential, so there is no per-resource user to report.
|
|
1768
|
+
* @summary Returns one vector collection\'s metadata.
|
|
1769
|
+
* @param {InstancesApiGetInstancesVectorByNameRequest} requestParameters Request parameters.
|
|
1770
|
+
* @param {*} [options] Override http request option.
|
|
1771
|
+
* @throws {RequiredError}
|
|
1772
|
+
* @memberof InstancesApi
|
|
1773
|
+
*/
|
|
1774
|
+
getInstancesVectorByName(requestParameters, options) {
|
|
1775
|
+
return (0, exports.InstancesApiFp)(this.configuration).getInstancesVectorByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1776
|
+
}
|
|
1777
|
+
/**
|
|
1778
|
+
* Launches your org\'s OWN Hanzo Datastore instance and answers with its `datastore://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1779
|
+
* @summary Provision a Hanzo Datastore instance for your org
|
|
1780
|
+
* @param {InstancesApiPostInstancesDatastoreRequest} requestParameters Request parameters.
|
|
1781
|
+
* @param {*} [options] Override http request option.
|
|
1782
|
+
* @throws {RequiredError}
|
|
1783
|
+
* @memberof InstancesApi
|
|
1784
|
+
*/
|
|
1785
|
+
postInstancesDatastore(requestParameters = {}, options) {
|
|
1786
|
+
return (0, exports.InstancesApiFp)(this.configuration).postInstancesDatastore(requestParameters.provisionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1787
|
+
}
|
|
1788
|
+
/**
|
|
1789
|
+
* Launches your org\'s OWN document-database instance — it speaks the MongoDB wire protocol, so existing MongoDB drivers connect unchanged — and answers with its `mongodb://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1790
|
+
* @summary Provision a document database for your org
|
|
1791
|
+
* @param {InstancesApiPostInstancesDocdbRequest} requestParameters Request parameters.
|
|
1792
|
+
* @param {*} [options] Override http request option.
|
|
1793
|
+
* @throws {RequiredError}
|
|
1794
|
+
* @memberof InstancesApi
|
|
1795
|
+
*/
|
|
1796
|
+
postInstancesDocdb(requestParameters = {}, options) {
|
|
1797
|
+
return (0, exports.InstancesApiFp)(this.configuration).postInstancesDocdb(requestParameters.provisionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1798
|
+
}
|
|
1799
|
+
/**
|
|
1800
|
+
* Launches your org\'s OWN key-value instance and answers with its `kv://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1801
|
+
* @summary Provision a key-value store for your org
|
|
1802
|
+
* @param {InstancesApiPostInstancesKvRequest} requestParameters Request parameters.
|
|
1803
|
+
* @param {*} [options] Override http request option.
|
|
1804
|
+
* @throws {RequiredError}
|
|
1805
|
+
* @memberof InstancesApi
|
|
1806
|
+
*/
|
|
1807
|
+
postInstancesKv(requestParameters = {}, options) {
|
|
1808
|
+
return (0, exports.InstancesApiFp)(this.configuration).postInstancesKv(requestParameters.provisionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1809
|
+
}
|
|
1810
|
+
/**
|
|
1811
|
+
* Creates an S3-compatible bucket inside the already-running shared object store and answers with the endpoint that reaches it. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1812
|
+
* @summary Provision an object storage bucket for your org
|
|
1813
|
+
* @param {InstancesApiPostInstancesS3Request} requestParameters Request parameters.
|
|
1814
|
+
* @param {*} [options] Override http request option.
|
|
1815
|
+
* @throws {RequiredError}
|
|
1816
|
+
* @memberof InstancesApi
|
|
1817
|
+
*/
|
|
1818
|
+
postInstancesS3(requestParameters = {}, options) {
|
|
1819
|
+
return (0, exports.InstancesApiFp)(this.configuration).postInstancesS3(requestParameters.provisionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1820
|
+
}
|
|
1821
|
+
/**
|
|
1822
|
+
* Creates a search index inside the already-running shared search backend and answers with the endpoint that reaches it. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1823
|
+
* @summary Provision a search index for your org
|
|
1824
|
+
* @param {InstancesApiPostInstancesSearchRequest} requestParameters Request parameters.
|
|
1825
|
+
* @param {*} [options] Override http request option.
|
|
1826
|
+
* @throws {RequiredError}
|
|
1827
|
+
* @memberof InstancesApi
|
|
1828
|
+
*/
|
|
1829
|
+
postInstancesSearch(requestParameters = {}, options) {
|
|
1830
|
+
return (0, exports.InstancesApiFp)(this.configuration).postInstancesSearch(requestParameters.provisionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1831
|
+
}
|
|
1832
|
+
/**
|
|
1833
|
+
* Launches your org\'s OWN PostgreSQL instance and answers with its `postgres://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1834
|
+
* @summary Provision a PostgreSQL database for your org
|
|
1835
|
+
* @param {InstancesApiPostInstancesSqlRequest} requestParameters Request parameters.
|
|
1836
|
+
* @param {*} [options] Override http request option.
|
|
1837
|
+
* @throws {RequiredError}
|
|
1838
|
+
* @memberof InstancesApi
|
|
1839
|
+
*/
|
|
1840
|
+
postInstancesSql(requestParameters = {}, options) {
|
|
1841
|
+
return (0, exports.InstancesApiFp)(this.configuration).postInstancesSql(requestParameters.provisionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1842
|
+
}
|
|
1843
|
+
/**
|
|
1844
|
+
* Creates a vector collection inside the already-running shared vector backend and answers with the endpoint that reaches it. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
1845
|
+
* @summary Provision a vector collection for your org
|
|
1846
|
+
* @param {InstancesApiPostInstancesVectorRequest} requestParameters Request parameters.
|
|
1847
|
+
* @param {*} [options] Override http request option.
|
|
1848
|
+
* @throws {RequiredError}
|
|
1849
|
+
* @memberof InstancesApi
|
|
1850
|
+
*/
|
|
1851
|
+
postInstancesVector(requestParameters = {}, options) {
|
|
1852
|
+
return (0, exports.InstancesApiFp)(this.configuration).postInstancesVector(requestParameters.provisionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1853
|
+
}
|
|
1854
|
+
}
|
|
1855
|
+
exports.InstancesApi = InstancesApi;
|