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
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
import globalAxios from 'axios';
|
|
15
15
|
// Some imports not used depending on template conditions
|
|
16
16
|
// @ts-ignore
|
|
17
|
-
import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
17
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
18
18
|
// @ts-ignore
|
|
19
19
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
20
20
|
/**
|
|
@@ -44,6 +44,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
44
44
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
45
45
|
const localVarHeaderParameter = {};
|
|
46
46
|
const localVarQueryParameter = {};
|
|
47
|
+
// authentication bearer required
|
|
48
|
+
// http bearer authentication required
|
|
49
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
47
50
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
48
51
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
49
52
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -73,6 +76,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
73
76
|
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
74
77
|
const localVarHeaderParameter = {};
|
|
75
78
|
const localVarQueryParameter = {};
|
|
79
|
+
// authentication bearer required
|
|
80
|
+
// http bearer authentication required
|
|
81
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
76
82
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
77
83
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
78
84
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -102,6 +108,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
102
108
|
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
103
109
|
const localVarHeaderParameter = {};
|
|
104
110
|
const localVarQueryParameter = {};
|
|
111
|
+
// authentication bearer required
|
|
112
|
+
// http bearer authentication required
|
|
113
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
105
114
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
106
115
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107
116
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -131,6 +140,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
131
140
|
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
132
141
|
const localVarHeaderParameter = {};
|
|
133
142
|
const localVarQueryParameter = {};
|
|
143
|
+
// authentication bearer required
|
|
144
|
+
// http bearer authentication required
|
|
145
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
134
146
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
135
147
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
136
148
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -156,6 +168,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
156
168
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
157
169
|
const localVarHeaderParameter = {};
|
|
158
170
|
const localVarQueryParameter = {};
|
|
171
|
+
// authentication bearer required
|
|
172
|
+
// http bearer authentication required
|
|
173
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
159
174
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
160
175
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
161
176
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -185,6 +200,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
185
200
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
186
201
|
const localVarHeaderParameter = {};
|
|
187
202
|
const localVarQueryParameter = {};
|
|
203
|
+
// authentication bearer required
|
|
204
|
+
// http bearer authentication required
|
|
205
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
188
206
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
189
207
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
190
208
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -210,6 +228,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
210
228
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
211
229
|
const localVarHeaderParameter = {};
|
|
212
230
|
const localVarQueryParameter = {};
|
|
231
|
+
// authentication bearer required
|
|
232
|
+
// http bearer authentication required
|
|
233
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
213
234
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
214
235
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
215
236
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -235,6 +256,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
235
256
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
236
257
|
const localVarHeaderParameter = {};
|
|
237
258
|
const localVarQueryParameter = {};
|
|
259
|
+
// authentication bearer required
|
|
260
|
+
// http bearer authentication required
|
|
261
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
238
262
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
239
263
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
240
264
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -260,6 +284,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
260
284
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
261
285
|
const localVarHeaderParameter = {};
|
|
262
286
|
const localVarQueryParameter = {};
|
|
287
|
+
// authentication bearer required
|
|
288
|
+
// http bearer authentication required
|
|
289
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
263
290
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
264
291
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
265
292
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -285,6 +312,37 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
285
312
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
286
313
|
const localVarHeaderParameter = {};
|
|
287
314
|
const localVarQueryParameter = {};
|
|
315
|
+
// authentication bearer required
|
|
316
|
+
// http bearer authentication required
|
|
317
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
318
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
319
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
320
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
321
|
+
return {
|
|
322
|
+
url: toPathString(localVarUrlObj),
|
|
323
|
+
options: localVarRequestOptions,
|
|
324
|
+
};
|
|
325
|
+
},
|
|
326
|
+
/**
|
|
327
|
+
* Returns the same balance /v1/billing/credit-balance reports, split by the tag each grant carries, so a reader can tell trial credit from bought credit and show the earliest expiry within each group. A console needs the split to say what will lapse and when; the single number cannot. The subject is pinned to the caller before the handler runs, exactly as in the sibling reads, so the userId parameter can never name another tenant. A subject with no grants is an empty breakdown and a zero total, which is an answer and not an error.
|
|
328
|
+
* @summary What is left of your credit, grouped by where it came from
|
|
329
|
+
* @param {*} [options] Override http request option.
|
|
330
|
+
* @throws {RequiredError}
|
|
331
|
+
*/
|
|
332
|
+
getBillingCreditBalanceBreakdown: async (options = {}) => {
|
|
333
|
+
const localVarPath = `/v1/billing/credit-balance/breakdown`;
|
|
334
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
335
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
336
|
+
let baseOptions;
|
|
337
|
+
if (configuration) {
|
|
338
|
+
baseOptions = configuration.baseOptions;
|
|
339
|
+
}
|
|
340
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
341
|
+
const localVarHeaderParameter = {};
|
|
342
|
+
const localVarQueryParameter = {};
|
|
343
|
+
// authentication bearer required
|
|
344
|
+
// http bearer authentication required
|
|
345
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
288
346
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
289
347
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
290
348
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -310,6 +368,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
310
368
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
311
369
|
const localVarHeaderParameter = {};
|
|
312
370
|
const localVarQueryParameter = {};
|
|
371
|
+
// authentication bearer required
|
|
372
|
+
// http bearer authentication required
|
|
373
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
313
374
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
314
375
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
315
376
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -339,6 +400,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
339
400
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
340
401
|
const localVarHeaderParameter = {};
|
|
341
402
|
const localVarQueryParameter = {};
|
|
403
|
+
// authentication bearer required
|
|
404
|
+
// http bearer authentication required
|
|
405
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
342
406
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
343
407
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
344
408
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -364,6 +428,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
364
428
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
365
429
|
const localVarHeaderParameter = {};
|
|
366
430
|
const localVarQueryParameter = {};
|
|
431
|
+
// authentication bearer required
|
|
432
|
+
// http bearer authentication required
|
|
433
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
367
434
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
368
435
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
369
436
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -389,6 +456,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
389
456
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
390
457
|
const localVarHeaderParameter = {};
|
|
391
458
|
const localVarQueryParameter = {};
|
|
459
|
+
// authentication bearer required
|
|
460
|
+
// http bearer authentication required
|
|
461
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
392
462
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
393
463
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
394
464
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -418,6 +488,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
418
488
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
419
489
|
const localVarHeaderParameter = {};
|
|
420
490
|
const localVarQueryParameter = {};
|
|
491
|
+
// authentication bearer required
|
|
492
|
+
// http bearer authentication required
|
|
493
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
421
494
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
422
495
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
423
496
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -443,6 +516,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
443
516
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
444
517
|
const localVarHeaderParameter = {};
|
|
445
518
|
const localVarQueryParameter = {};
|
|
519
|
+
// authentication bearer required
|
|
520
|
+
// http bearer authentication required
|
|
521
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
446
522
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
447
523
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
448
524
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -468,6 +544,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
468
544
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
469
545
|
const localVarHeaderParameter = {};
|
|
470
546
|
const localVarQueryParameter = {};
|
|
547
|
+
// authentication bearer required
|
|
548
|
+
// http bearer authentication required
|
|
549
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
471
550
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
472
551
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
473
552
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -493,6 +572,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
493
572
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
494
573
|
const localVarHeaderParameter = {};
|
|
495
574
|
const localVarQueryParameter = {};
|
|
575
|
+
// authentication bearer required
|
|
576
|
+
// http bearer authentication required
|
|
577
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
496
578
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
497
579
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
498
580
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -518,6 +600,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
518
600
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
519
601
|
const localVarHeaderParameter = {};
|
|
520
602
|
const localVarQueryParameter = {};
|
|
603
|
+
// authentication bearer required
|
|
604
|
+
// http bearer authentication required
|
|
605
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
521
606
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
522
607
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
523
608
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -543,6 +628,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
543
628
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
544
629
|
const localVarHeaderParameter = {};
|
|
545
630
|
const localVarQueryParameter = {};
|
|
631
|
+
// authentication bearer required
|
|
632
|
+
// http bearer authentication required
|
|
633
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
546
634
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
547
635
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
548
636
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -568,6 +656,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
568
656
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
569
657
|
const localVarHeaderParameter = {};
|
|
570
658
|
const localVarQueryParameter = {};
|
|
659
|
+
// authentication bearer required
|
|
660
|
+
// http bearer authentication required
|
|
661
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
571
662
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
572
663
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
573
664
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -593,6 +684,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
593
684
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
594
685
|
const localVarHeaderParameter = {};
|
|
595
686
|
const localVarQueryParameter = {};
|
|
687
|
+
// authentication bearer required
|
|
688
|
+
// http bearer authentication required
|
|
689
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
596
690
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
597
691
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
598
692
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -618,6 +712,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
618
712
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
619
713
|
const localVarHeaderParameter = {};
|
|
620
714
|
const localVarQueryParameter = {};
|
|
715
|
+
// authentication bearer required
|
|
716
|
+
// http bearer authentication required
|
|
717
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
621
718
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
622
719
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
623
720
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -643,6 +740,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
643
740
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
644
741
|
const localVarHeaderParameter = {};
|
|
645
742
|
const localVarQueryParameter = {};
|
|
743
|
+
// authentication bearer required
|
|
744
|
+
// http bearer authentication required
|
|
745
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
646
746
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
647
747
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
648
748
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -668,6 +768,37 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
668
768
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
669
769
|
const localVarHeaderParameter = {};
|
|
670
770
|
const localVarQueryParameter = {};
|
|
771
|
+
// authentication bearer required
|
|
772
|
+
// http bearer authentication required
|
|
773
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
774
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
775
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
776
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
777
|
+
return {
|
|
778
|
+
url: toPathString(localVarUrlObj),
|
|
779
|
+
options: localVarRequestOptions,
|
|
780
|
+
};
|
|
781
|
+
},
|
|
782
|
+
/**
|
|
783
|
+
* Answers the one read the account page renders: the subject\'s resolved plan, the plan\'s included monthly allotment beside what was actually granted this period, consumption capped at that grant, the overage past it, and the spendable wallet (balance minus holds) — all for the current UTC month, every figure derived from the same transactions the gateway\'s balance gate reads, so this read can never disagree with the gate that admits the next call. It rides the same pinned chain as the sibling reads: the user parameter is overwritten with the validated caller\'s own billing subject before the handler runs, so it can never name another tenant; user is required, which only a service-to-service caller can omit and be refused 400 for, and plan is optional — omitted, it is resolved from the subject\'s subscription. The rule to get right is that the two sides are DIFFERENT MONEY: the included figures are usage the subscription grants and the wallet is prepaid credit the customer bought, so a reader who sums them invents a balance nobody holds — and before the period\'s first allotment grant runs, monthlyCents shows the plan\'s entitlement while grantedCents is zero, which is the figure consumption actually draws down.
|
|
784
|
+
* @summary What plan you are on and how much of it is left, beside the wallet
|
|
785
|
+
* @param {*} [options] Override http request option.
|
|
786
|
+
* @throws {RequiredError}
|
|
787
|
+
*/
|
|
788
|
+
getBillingUsageRollup: async (options = {}) => {
|
|
789
|
+
const localVarPath = `/v1/billing/usage/rollup`;
|
|
790
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
791
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
792
|
+
let baseOptions;
|
|
793
|
+
if (configuration) {
|
|
794
|
+
baseOptions = configuration.baseOptions;
|
|
795
|
+
}
|
|
796
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
797
|
+
const localVarHeaderParameter = {};
|
|
798
|
+
const localVarQueryParameter = {};
|
|
799
|
+
// authentication bearer required
|
|
800
|
+
// http bearer authentication required
|
|
801
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
671
802
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
672
803
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
673
804
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -693,6 +824,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
693
824
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
694
825
|
const localVarHeaderParameter = {};
|
|
695
826
|
const localVarQueryParameter = {};
|
|
827
|
+
// authentication bearer required
|
|
828
|
+
// http bearer authentication required
|
|
829
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
696
830
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
697
831
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
698
832
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -722,6 +856,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
722
856
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
723
857
|
const localVarHeaderParameter = {};
|
|
724
858
|
const localVarQueryParameter = {};
|
|
859
|
+
// authentication bearer required
|
|
860
|
+
// http bearer authentication required
|
|
861
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
725
862
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
726
863
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
727
864
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -751,6 +888,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
751
888
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
752
889
|
const localVarHeaderParameter = {};
|
|
753
890
|
const localVarQueryParameter = {};
|
|
891
|
+
// authentication bearer required
|
|
892
|
+
// http bearer authentication required
|
|
893
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
754
894
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
755
895
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
756
896
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -780,6 +920,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
780
920
|
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
781
921
|
const localVarHeaderParameter = {};
|
|
782
922
|
const localVarQueryParameter = {};
|
|
923
|
+
// authentication bearer required
|
|
924
|
+
// http bearer authentication required
|
|
925
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
783
926
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
784
927
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
785
928
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -805,6 +948,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
805
948
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
806
949
|
const localVarHeaderParameter = {};
|
|
807
950
|
const localVarQueryParameter = {};
|
|
951
|
+
// authentication bearer required
|
|
952
|
+
// http bearer authentication required
|
|
953
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
808
954
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
809
955
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
810
956
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -830,6 +976,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
830
976
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
831
977
|
const localVarHeaderParameter = {};
|
|
832
978
|
const localVarQueryParameter = {};
|
|
979
|
+
// authentication bearer required
|
|
980
|
+
// http bearer authentication required
|
|
981
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
833
982
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
834
983
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
835
984
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -855,6 +1004,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
855
1004
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
856
1005
|
const localVarHeaderParameter = {};
|
|
857
1006
|
const localVarQueryParameter = {};
|
|
1007
|
+
// authentication bearer required
|
|
1008
|
+
// http bearer authentication required
|
|
1009
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
858
1010
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
859
1011
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
860
1012
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -880,6 +1032,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
880
1032
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
881
1033
|
const localVarHeaderParameter = {};
|
|
882
1034
|
const localVarQueryParameter = {};
|
|
1035
|
+
// authentication bearer required
|
|
1036
|
+
// http bearer authentication required
|
|
1037
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
883
1038
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
884
1039
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
885
1040
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -905,6 +1060,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
905
1060
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
906
1061
|
const localVarHeaderParameter = {};
|
|
907
1062
|
const localVarQueryParameter = {};
|
|
1063
|
+
// authentication bearer required
|
|
1064
|
+
// http bearer authentication required
|
|
1065
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
908
1066
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
909
1067
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
910
1068
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -930,6 +1088,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
930
1088
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
931
1089
|
const localVarHeaderParameter = {};
|
|
932
1090
|
const localVarQueryParameter = {};
|
|
1091
|
+
// authentication bearer required
|
|
1092
|
+
// http bearer authentication required
|
|
1093
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
933
1094
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
934
1095
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
935
1096
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -955,6 +1116,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
955
1116
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
956
1117
|
const localVarHeaderParameter = {};
|
|
957
1118
|
const localVarQueryParameter = {};
|
|
1119
|
+
// authentication bearer required
|
|
1120
|
+
// http bearer authentication required
|
|
1121
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
958
1122
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
959
1123
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
960
1124
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -984,6 +1148,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
984
1148
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
985
1149
|
const localVarHeaderParameter = {};
|
|
986
1150
|
const localVarQueryParameter = {};
|
|
1151
|
+
// authentication bearer required
|
|
1152
|
+
// http bearer authentication required
|
|
1153
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
987
1154
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
988
1155
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
989
1156
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1013,6 +1180,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
1013
1180
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1014
1181
|
const localVarHeaderParameter = {};
|
|
1015
1182
|
const localVarQueryParameter = {};
|
|
1183
|
+
// authentication bearer required
|
|
1184
|
+
// http bearer authentication required
|
|
1185
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1016
1186
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1017
1187
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1018
1188
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1038,6 +1208,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
1038
1208
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1039
1209
|
const localVarHeaderParameter = {};
|
|
1040
1210
|
const localVarQueryParameter = {};
|
|
1211
|
+
// authentication bearer required
|
|
1212
|
+
// http bearer authentication required
|
|
1213
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1041
1214
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1042
1215
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1043
1216
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1063,6 +1236,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
1063
1236
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1064
1237
|
const localVarHeaderParameter = {};
|
|
1065
1238
|
const localVarQueryParameter = {};
|
|
1239
|
+
// authentication bearer required
|
|
1240
|
+
// http bearer authentication required
|
|
1241
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1066
1242
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1067
1243
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1068
1244
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1092,6 +1268,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
1092
1268
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1093
1269
|
const localVarHeaderParameter = {};
|
|
1094
1270
|
const localVarQueryParameter = {};
|
|
1271
|
+
// authentication bearer required
|
|
1272
|
+
// http bearer authentication required
|
|
1273
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1095
1274
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1096
1275
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1097
1276
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1120,6 +1299,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
1120
1299
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1121
1300
|
const localVarHeaderParameter = {};
|
|
1122
1301
|
const localVarQueryParameter = {};
|
|
1302
|
+
// authentication bearer required
|
|
1303
|
+
// http bearer authentication required
|
|
1304
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1123
1305
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1124
1306
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1125
1307
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1151,6 +1333,9 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
1151
1333
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1152
1334
|
const localVarHeaderParameter = {};
|
|
1153
1335
|
const localVarQueryParameter = {};
|
|
1336
|
+
// authentication bearer required
|
|
1337
|
+
// http bearer authentication required
|
|
1338
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1154
1339
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1155
1340
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1156
1341
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1293,6 +1478,18 @@ export const BillingApiFp = function (configuration) {
|
|
|
1293
1478
|
const localVarOperationServerBasePath = operationServerMap['BillingApi.getBillingCreditBalance']?.[localVarOperationServerIndex]?.url;
|
|
1294
1479
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1295
1480
|
},
|
|
1481
|
+
/**
|
|
1482
|
+
* Returns the same balance /v1/billing/credit-balance reports, split by the tag each grant carries, so a reader can tell trial credit from bought credit and show the earliest expiry within each group. A console needs the split to say what will lapse and when; the single number cannot. The subject is pinned to the caller before the handler runs, exactly as in the sibling reads, so the userId parameter can never name another tenant. A subject with no grants is an empty breakdown and a zero total, which is an answer and not an error.
|
|
1483
|
+
* @summary What is left of your credit, grouped by where it came from
|
|
1484
|
+
* @param {*} [options] Override http request option.
|
|
1485
|
+
* @throws {RequiredError}
|
|
1486
|
+
*/
|
|
1487
|
+
async getBillingCreditBalanceBreakdown(options) {
|
|
1488
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBillingCreditBalanceBreakdown(options);
|
|
1489
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1490
|
+
const localVarOperationServerBasePath = operationServerMap['BillingApi.getBillingCreditBalanceBreakdown']?.[localVarOperationServerIndex]?.url;
|
|
1491
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1492
|
+
},
|
|
1296
1493
|
/**
|
|
1297
1494
|
* Returns the caller org\'s credit grants — each with its original amount, what remains and when it expires — so a customer can see what was given and what is left before metered spend draws it down. It is a READ of the caller\'s own subject, pinned before the handler runs, so a grant belonging to another tenant is simply absent. Granting credit is not this route and never has been: minting lands on the mint-gated POST /v1/billing/credit, which no browser can reach. Reading an empty balance is an empty array, not an error.
|
|
1298
1495
|
* @summary List the credit grants on your org\'s balance
|
|
@@ -1475,6 +1672,18 @@ export const BillingApiFp = function (configuration) {
|
|
|
1475
1672
|
const localVarOperationServerBasePath = operationServerMap['BillingApi.getBillingUsageAccounts']?.[localVarOperationServerIndex]?.url;
|
|
1476
1673
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1477
1674
|
},
|
|
1675
|
+
/**
|
|
1676
|
+
* Answers the one read the account page renders: the subject\'s resolved plan, the plan\'s included monthly allotment beside what was actually granted this period, consumption capped at that grant, the overage past it, and the spendable wallet (balance minus holds) — all for the current UTC month, every figure derived from the same transactions the gateway\'s balance gate reads, so this read can never disagree with the gate that admits the next call. It rides the same pinned chain as the sibling reads: the user parameter is overwritten with the validated caller\'s own billing subject before the handler runs, so it can never name another tenant; user is required, which only a service-to-service caller can omit and be refused 400 for, and plan is optional — omitted, it is resolved from the subject\'s subscription. The rule to get right is that the two sides are DIFFERENT MONEY: the included figures are usage the subscription grants and the wallet is prepaid credit the customer bought, so a reader who sums them invents a balance nobody holds — and before the period\'s first allotment grant runs, monthlyCents shows the plan\'s entitlement while grantedCents is zero, which is the figure consumption actually draws down.
|
|
1677
|
+
* @summary What plan you are on and how much of it is left, beside the wallet
|
|
1678
|
+
* @param {*} [options] Override http request option.
|
|
1679
|
+
* @throws {RequiredError}
|
|
1680
|
+
*/
|
|
1681
|
+
async getBillingUsageRollup(options) {
|
|
1682
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBillingUsageRollup(options);
|
|
1683
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1684
|
+
const localVarOperationServerBasePath = operationServerMap['BillingApi.getBillingUsageRollup']?.[localVarOperationServerIndex]?.url;
|
|
1685
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1686
|
+
},
|
|
1478
1687
|
/**
|
|
1479
1688
|
* Answers the receiving bank details for the brand this deployment serves — the account the funds actually land in, hydrated per brand rather than hard-coded — together with the payment reference to put on the transfer. THE REFERENCE IS THE POINT. It carries your own billing key, and it is how an arriving wire is attributed to your account; a transfer sent without it arrives as an unidentified receipt. That is why this read is gated at all: an unpinned caller would be handed an unattributable reference. Reading it credits nothing and reserves nothing. A wire is settled by an operator when the bank shows the funds, so the balance moves on receipt, not on this call.
|
|
1480
1689
|
* @summary Where to wire funds, and the reference that credits them to you
|
|
@@ -1803,6 +2012,15 @@ export const BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
1803
2012
|
getBillingCreditBalance(options) {
|
|
1804
2013
|
return localVarFp.getBillingCreditBalance(options).then((request) => request(axios, basePath));
|
|
1805
2014
|
},
|
|
2015
|
+
/**
|
|
2016
|
+
* Returns the same balance /v1/billing/credit-balance reports, split by the tag each grant carries, so a reader can tell trial credit from bought credit and show the earliest expiry within each group. A console needs the split to say what will lapse and when; the single number cannot. The subject is pinned to the caller before the handler runs, exactly as in the sibling reads, so the userId parameter can never name another tenant. A subject with no grants is an empty breakdown and a zero total, which is an answer and not an error.
|
|
2017
|
+
* @summary What is left of your credit, grouped by where it came from
|
|
2018
|
+
* @param {*} [options] Override http request option.
|
|
2019
|
+
* @throws {RequiredError}
|
|
2020
|
+
*/
|
|
2021
|
+
getBillingCreditBalanceBreakdown(options) {
|
|
2022
|
+
return localVarFp.getBillingCreditBalanceBreakdown(options).then((request) => request(axios, basePath));
|
|
2023
|
+
},
|
|
1806
2024
|
/**
|
|
1807
2025
|
* Returns the caller org\'s credit grants — each with its original amount, what remains and when it expires — so a customer can see what was given and what is left before metered spend draws it down. It is a READ of the caller\'s own subject, pinned before the handler runs, so a grant belonging to another tenant is simply absent. Granting credit is not this route and never has been: minting lands on the mint-gated POST /v1/billing/credit, which no browser can reach. Reading an empty balance is an empty array, not an error.
|
|
1808
2026
|
* @summary List the credit grants on your org\'s balance
|
|
@@ -1940,6 +2158,15 @@ export const BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
1940
2158
|
getBillingUsageAccounts(options) {
|
|
1941
2159
|
return localVarFp.getBillingUsageAccounts(options).then((request) => request(axios, basePath));
|
|
1942
2160
|
},
|
|
2161
|
+
/**
|
|
2162
|
+
* Answers the one read the account page renders: the subject\'s resolved plan, the plan\'s included monthly allotment beside what was actually granted this period, consumption capped at that grant, the overage past it, and the spendable wallet (balance minus holds) — all for the current UTC month, every figure derived from the same transactions the gateway\'s balance gate reads, so this read can never disagree with the gate that admits the next call. It rides the same pinned chain as the sibling reads: the user parameter is overwritten with the validated caller\'s own billing subject before the handler runs, so it can never name another tenant; user is required, which only a service-to-service caller can omit and be refused 400 for, and plan is optional — omitted, it is resolved from the subject\'s subscription. The rule to get right is that the two sides are DIFFERENT MONEY: the included figures are usage the subscription grants and the wallet is prepaid credit the customer bought, so a reader who sums them invents a balance nobody holds — and before the period\'s first allotment grant runs, monthlyCents shows the plan\'s entitlement while grantedCents is zero, which is the figure consumption actually draws down.
|
|
2163
|
+
* @summary What plan you are on and how much of it is left, beside the wallet
|
|
2164
|
+
* @param {*} [options] Override http request option.
|
|
2165
|
+
* @throws {RequiredError}
|
|
2166
|
+
*/
|
|
2167
|
+
getBillingUsageRollup(options) {
|
|
2168
|
+
return localVarFp.getBillingUsageRollup(options).then((request) => request(axios, basePath));
|
|
2169
|
+
},
|
|
1943
2170
|
/**
|
|
1944
2171
|
* Answers the receiving bank details for the brand this deployment serves — the account the funds actually land in, hydrated per brand rather than hard-coded — together with the payment reference to put on the transfer. THE REFERENCE IS THE POINT. It carries your own billing key, and it is how an arriving wire is attributed to your account; a transfer sent without it arrives as an unidentified receipt. That is why this read is gated at all: an unpinned caller would be handed an unattributable reference. Reading it credits nothing and reserves nothing. A wire is settled by an operator when the bank shows the funds, so the balance moves on receipt, not on this call.
|
|
1945
2172
|
* @summary Where to wire funds, and the reference that credits them to you
|
|
@@ -2224,6 +2451,16 @@ export class BillingApi extends BaseAPI {
|
|
|
2224
2451
|
getBillingCreditBalance(options) {
|
|
2225
2452
|
return BillingApiFp(this.configuration).getBillingCreditBalance(options).then((request) => request(this.axios, this.basePath));
|
|
2226
2453
|
}
|
|
2454
|
+
/**
|
|
2455
|
+
* Returns the same balance /v1/billing/credit-balance reports, split by the tag each grant carries, so a reader can tell trial credit from bought credit and show the earliest expiry within each group. A console needs the split to say what will lapse and when; the single number cannot. The subject is pinned to the caller before the handler runs, exactly as in the sibling reads, so the userId parameter can never name another tenant. A subject with no grants is an empty breakdown and a zero total, which is an answer and not an error.
|
|
2456
|
+
* @summary What is left of your credit, grouped by where it came from
|
|
2457
|
+
* @param {*} [options] Override http request option.
|
|
2458
|
+
* @throws {RequiredError}
|
|
2459
|
+
* @memberof BillingApi
|
|
2460
|
+
*/
|
|
2461
|
+
getBillingCreditBalanceBreakdown(options) {
|
|
2462
|
+
return BillingApiFp(this.configuration).getBillingCreditBalanceBreakdown(options).then((request) => request(this.axios, this.basePath));
|
|
2463
|
+
}
|
|
2227
2464
|
/**
|
|
2228
2465
|
* Returns the caller org\'s credit grants — each with its original amount, what remains and when it expires — so a customer can see what was given and what is left before metered spend draws it down. It is a READ of the caller\'s own subject, pinned before the handler runs, so a grant belonging to another tenant is simply absent. Granting credit is not this route and never has been: minting lands on the mint-gated POST /v1/billing/credit, which no browser can reach. Reading an empty balance is an empty array, not an error.
|
|
2229
2466
|
* @summary List the credit grants on your org\'s balance
|
|
@@ -2376,6 +2613,16 @@ export class BillingApi extends BaseAPI {
|
|
|
2376
2613
|
getBillingUsageAccounts(options) {
|
|
2377
2614
|
return BillingApiFp(this.configuration).getBillingUsageAccounts(options).then((request) => request(this.axios, this.basePath));
|
|
2378
2615
|
}
|
|
2616
|
+
/**
|
|
2617
|
+
* Answers the one read the account page renders: the subject\'s resolved plan, the plan\'s included monthly allotment beside what was actually granted this period, consumption capped at that grant, the overage past it, and the spendable wallet (balance minus holds) — all for the current UTC month, every figure derived from the same transactions the gateway\'s balance gate reads, so this read can never disagree with the gate that admits the next call. It rides the same pinned chain as the sibling reads: the user parameter is overwritten with the validated caller\'s own billing subject before the handler runs, so it can never name another tenant; user is required, which only a service-to-service caller can omit and be refused 400 for, and plan is optional — omitted, it is resolved from the subject\'s subscription. The rule to get right is that the two sides are DIFFERENT MONEY: the included figures are usage the subscription grants and the wallet is prepaid credit the customer bought, so a reader who sums them invents a balance nobody holds — and before the period\'s first allotment grant runs, monthlyCents shows the plan\'s entitlement while grantedCents is zero, which is the figure consumption actually draws down.
|
|
2618
|
+
* @summary What plan you are on and how much of it is left, beside the wallet
|
|
2619
|
+
* @param {*} [options] Override http request option.
|
|
2620
|
+
* @throws {RequiredError}
|
|
2621
|
+
* @memberof BillingApi
|
|
2622
|
+
*/
|
|
2623
|
+
getBillingUsageRollup(options) {
|
|
2624
|
+
return BillingApiFp(this.configuration).getBillingUsageRollup(options).then((request) => request(this.axios, this.basePath));
|
|
2625
|
+
}
|
|
2379
2626
|
/**
|
|
2380
2627
|
* Answers the receiving bank details for the brand this deployment serves — the account the funds actually land in, hydrated per brand rather than hard-coded — together with the payment reference to put on the transfer. THE REFERENCE IS THE POINT. It carries your own billing key, and it is how an arriving wire is attributed to your account; a transfer sent without it arrives as an unidentified receipt. That is why this read is gated at all: an unpinned caller would be handed an unattributable reference. Reading it credits nothing and reserves nothing. A wire is settled by an operator when the bank shows the funds, so the balance moves on receipt, not on this call.
|
|
2381
2628
|
* @summary Where to wire funds, and the reference that credits them to you
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
import globalAxios from 'axios';
|
|
15
15
|
// Some imports not used depending on template conditions
|
|
16
16
|
// @ts-ignore
|
|
17
|
-
import { DUMMY_BASE_URL, setSearchParams, toPathString, createRequestFunction } from '../common';
|
|
17
|
+
import { DUMMY_BASE_URL, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
|
|
18
18
|
// @ts-ignore
|
|
19
19
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
20
20
|
/**
|
|
@@ -40,6 +40,9 @@ export const BlueprintApiAxiosParamCreator = function (configuration) {
|
|
|
40
40
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
41
41
|
const localVarHeaderParameter = {};
|
|
42
42
|
const localVarQueryParameter = {};
|
|
43
|
+
// authentication bearer required
|
|
44
|
+
// http bearer authentication required
|
|
45
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
43
46
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
44
47
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45
48
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -65,6 +68,9 @@ export const BlueprintApiAxiosParamCreator = function (configuration) {
|
|
|
65
68
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
66
69
|
const localVarHeaderParameter = {};
|
|
67
70
|
const localVarQueryParameter = {};
|
|
71
|
+
// authentication bearer required
|
|
72
|
+
// http bearer authentication required
|
|
73
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
68
74
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
69
75
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70
76
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -90,6 +96,9 @@ export const BlueprintApiAxiosParamCreator = function (configuration) {
|
|
|
90
96
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
91
97
|
const localVarHeaderParameter = {};
|
|
92
98
|
const localVarQueryParameter = {};
|
|
99
|
+
// authentication bearer required
|
|
100
|
+
// http bearer authentication required
|
|
101
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
93
102
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
94
103
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
95
104
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|