hanzoai 2.2.10 → 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/dist/api/admin-api.d.ts +16 -16
- package/dist/api/admin-api.js +16 -16
- package/dist/api/ai-api.d.ts +1409 -2449
- package/dist/api/ai-api.js +1026 -1623
- package/dist/api/allowance-api.d.ts +71 -0
- package/dist/api/allowance-api.js +122 -0
- package/dist/api/audio-api.d.ts +8 -8
- package/dist/api/audio-api.js +8 -8
- package/dist/api/benchmark-api.d.ts +182 -0
- package/dist/api/benchmark-api.js +224 -0
- package/dist/api/billing-api.d.ts +58 -0
- package/dist/api/billing-api.js +118 -0
- package/dist/api/chat-api.d.ts +29 -0
- package/dist/api/chat-api.js +59 -0
- package/dist/api/compliance-api.d.ts +8 -8
- package/dist/api/compliance-api.js +8 -8
- package/dist/api/default-api.d.ts +29 -0
- package/dist/api/default-api.js +56 -0
- package/dist/api/documents-api.d.ts +21 -4
- package/dist/api/documents-api.js +15 -8
- package/dist/api/edge-api.d.ts +71 -0
- package/dist/api/edge-api.js +122 -0
- package/dist/api/esign-api.d.ts +12 -12
- package/dist/api/esign-api.js +12 -12
- package/dist/api/iam-api.d.ts +435 -13
- package/dist/api/iam-api.js +632 -17
- 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 +59 -0
- package/dist/api/o11y-api.d.ts +4 -4
- package/dist/api/o11y-api.js +4 -4
- package/dist/api/responses-api.d.ts +4 -4
- package/dist/api/responses-api.js +4 -4
- package/dist/api/router-api.d.ts +6 -7
- package/dist/api/runner-api.d.ts +4 -81
- package/dist/api/runner-api.js +4 -129
- package/dist/api/s3-api.d.ts +0 -171
- package/dist/api/s3-api.js +0 -256
- package/dist/api/search-api.d.ts +24 -147
- package/dist/api/search-api.js +23 -212
- package/dist/api/{sentry-api.d.ts → sentinel-api.d.ts} +282 -282
- package/dist/api/{sentry-api.js → sentinel-api.js} +318 -318
- package/dist/api/sites-api.d.ts +461 -0
- package/dist/api/sites-api.js +621 -0
- package/dist/api/vector-api.d.ts +0 -171
- package/dist/api/vector-api.js +0 -256
- package/dist/api/videos-api.d.ts +42 -8
- package/dist/api/videos-api.js +30 -16
- package/dist/api/wecom-bot-api.d.ts +42 -8
- package/dist/api/wecom-bot-api.js +30 -16
- 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 +16 -16
- package/dist/esm/api/ai-api.d.ts +1409 -2449
- package/dist/esm/api/ai-api.js +1027 -1624
- package/dist/esm/api/allowance-api.d.ts +70 -0
- package/dist/esm/api/allowance-api.js +112 -0
- package/dist/esm/api/audio-api.d.ts +8 -8
- package/dist/esm/api/audio-api.js +8 -8
- package/dist/esm/api/benchmark-api.d.ts +182 -0
- package/dist/esm/api/benchmark-api.js +224 -0
- package/dist/esm/api/billing-api.d.ts +58 -0
- package/dist/esm/api/billing-api.js +118 -0
- package/dist/esm/api/chat-api.d.ts +29 -0
- package/dist/esm/api/chat-api.js +59 -0
- package/dist/esm/api/compliance-api.d.ts +8 -8
- package/dist/esm/api/compliance-api.js +8 -8
- package/dist/esm/api/default-api.d.ts +29 -0
- package/dist/esm/api/default-api.js +56 -0
- package/dist/esm/api/documents-api.d.ts +21 -4
- package/dist/esm/api/documents-api.js +16 -9
- package/dist/esm/api/edge-api.d.ts +70 -0
- package/dist/esm/api/edge-api.js +112 -0
- package/dist/esm/api/esign-api.d.ts +12 -12
- package/dist/esm/api/esign-api.js +12 -12
- package/dist/esm/api/iam-api.d.ts +435 -13
- package/dist/esm/api/iam-api.js +632 -17
- 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 +59 -0
- package/dist/esm/api/o11y-api.d.ts +4 -4
- package/dist/esm/api/o11y-api.js +4 -4
- package/dist/esm/api/responses-api.d.ts +4 -4
- package/dist/esm/api/responses-api.js +4 -4
- package/dist/esm/api/router-api.d.ts +6 -7
- package/dist/esm/api/runner-api.d.ts +4 -81
- package/dist/esm/api/runner-api.js +4 -129
- package/dist/esm/api/s3-api.d.ts +0 -171
- package/dist/esm/api/s3-api.js +1 -257
- package/dist/esm/api/search-api.d.ts +24 -147
- package/dist/esm/api/search-api.js +23 -212
- package/dist/esm/api/{sentry-api.d.ts → sentinel-api.d.ts} +282 -282
- package/dist/esm/api/{sentry-api.js → sentinel-api.js} +313 -313
- package/dist/esm/api/sites-api.d.ts +461 -0
- package/dist/esm/api/sites-api.js +621 -0
- package/dist/esm/api/vector-api.d.ts +0 -171
- package/dist/esm/api/vector-api.js +1 -257
- package/dist/esm/api/videos-api.d.ts +42 -8
- package/dist/esm/api/videos-api.js +31 -17
- package/dist/esm/api/wecom-bot-api.d.ts +42 -8
- package/dist/esm/api/wecom-bot-api.js +31 -17
- 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 +16 -16
- package/src/api/ai-api.ts +1568 -3194
- package/src/api/allowance-api.ts +128 -0
- package/src/api/audio-api.ts +8 -8
- package/src/api/benchmark-api.ts +338 -0
- package/src/api/billing-api.ts +132 -0
- package/src/api/chat-api.ts +66 -0
- package/src/api/compliance-api.ts +8 -8
- package/src/api/default-api.ts +62 -0
- package/src/api/documents-api.ts +29 -8
- package/src/api/edge-api.ts +128 -0
- package/src/api/esign-api.ts +12 -12
- package/src/api/iam-api.ts +844 -18
- package/src/api/instances-api.ts +2357 -0
- package/src/api/integrations-api.ts +68 -0
- package/src/api/o11y-api.ts +4 -4
- package/src/api/responses-api.ts +4 -4
- package/src/api/router-api.ts +4 -6
- package/src/api/runner-api.ts +4 -161
- package/src/api/s3-api.ts +0 -335
- package/src/api/search-api.ts +31 -273
- package/src/api/{sentry-api.ts → sentinel-api.ts} +418 -418
- package/src/api/sites-api.ts +864 -1
- package/src/api/vector-api.ts +0 -335
- package/src/api/videos-api.ts +58 -16
- package/src/api/wecom-bot-api.ts +58 -16
- 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 -321
- package/dist/api/datastore-api.d.ts +0 -212
- package/dist/api/datastore-api.js +0 -319
- package/dist/api/docdb-api.d.ts +0 -212
- package/dist/api/docdb-api.js +0 -319
- package/dist/api/generate-text-to-speech-audio-api.d.ts +0 -70
- package/dist/api/generate-text-to-speech-audio-api.js +0 -122
- 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 -122
- package/dist/api/health-api.d.ts +0 -70
- package/dist/api/health-api.js +0 -122
- package/dist/api/kv-api.d.ts +0 -212
- package/dist/api/kv-api.js +0 -319
- package/dist/api/process-speech-to-text-api.d.ts +0 -70
- package/dist/api/process-speech-to-text-api.js +0 -122
- package/dist/api/sql-api.d.ts +0 -212
- package/dist/api/sql-api.js +0 -319
- package/dist/api/vpcs-api.d.ts +0 -211
- package/dist/api/vpcs-api.js +0 -321
- package/dist/esm/api/balancers-api.d.ts +0 -210
- package/dist/esm/api/balancers-api.js +0 -311
- package/dist/esm/api/datastore-api.d.ts +0 -211
- package/dist/esm/api/datastore-api.js +0 -309
- package/dist/esm/api/docdb-api.d.ts +0 -211
- package/dist/esm/api/docdb-api.js +0 -309
- 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 -112
- 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 -112
- package/dist/esm/api/health-api.d.ts +0 -69
- package/dist/esm/api/health-api.js +0 -112
- package/dist/esm/api/kv-api.d.ts +0 -211
- package/dist/esm/api/kv-api.js +0 -309
- package/dist/esm/api/process-speech-to-text-api.d.ts +0 -69
- package/dist/esm/api/process-speech-to-text-api.js +0 -112
- package/dist/esm/api/sql-api.d.ts +0 -211
- package/dist/esm/api/sql-api.js +0 -309
- package/dist/esm/api/vpcs-api.d.ts +0 -210
- package/dist/esm/api/vpcs-api.js +0 -311
- 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 -395
- package/src/api/datastore-api.ts +0 -395
- package/src/api/docdb-api.ts +0 -395
- package/src/api/generate-text-to-speech-audio-api.ts +0 -126
- package/src/api/generate-text-to-speech-audio-stream-api.ts +0 -126
- package/src/api/health-api.ts +0 -126
- package/src/api/kv-api.ts +0 -395
- package/src/api/process-speech-to-text-api.ts +0 -126
- package/src/api/sql-api.ts +0 -395
- package/src/api/vpcs-api.ts +0 -395
- package/src/models/activity.ts +0 -36
- package/src/models/agent-mcp-tools.ts +0 -42
- package/src/models/application-event.ts +0 -78
- package/src/models/application-view.ts +0 -87
- package/src/models/article.ts +0 -81
- package/src/models/asset.ts +0 -114
- package/src/models/audit.ts +0 -210
- package/src/models/chat.ts +0 -174
- package/src/models/connection.ts +0 -162
- package/src/models/create-lbreq.ts +0 -57
- package/src/models/create-vpcreq.ts +0 -42
- package/src/models/deployment-detail.ts +0 -63
- package/src/models/env-variable.ts +0 -36
- package/src/models/envelope.ts +0 -56
- package/src/models/example-question.ts +0 -42
- package/src/models/form-item.ts +0 -54
- package/src/models/form.ts +0 -87
- package/src/models/fwd-rule.ts +0 -48
- package/src/models/get-ai-activities200-response.ts +0 -29
- package/src/models/get-ai-articles200-response.ts +0 -29
- package/src/models/get-ai-assets200-response.ts +0 -29
- package/src/models/get-ai-chats200-response.ts +0 -29
- package/src/models/get-ai-deployments200-response.ts +0 -29
- package/src/models/get-ai-forms200-response.ts +0 -29
- package/src/models/get-ai-graphs200-response.ts +0 -29
- package/src/models/get-ai-messages200-response.ts +0 -29
- package/src/models/get-ai-nodes200-response.ts +0 -29
- package/src/models/get-ai-providers200-response.ts +0 -29
- package/src/models/get-ai-records200-response.ts +0 -29
- package/src/models/get-ai-remote-connections200-response.ts +0 -29
- package/src/models/get-ai-routes200-response.ts +0 -29
- package/src/models/get-ai-scales200-response.ts +0 -29
- package/src/models/get-ai-scans200-response.ts +0 -29
- package/src/models/get-ai-signin-sessions200-response.ts +0 -29
- package/src/models/get-ai-stores200-response.ts +0 -29
- package/src/models/get-ai-tasks200-response.ts +0 -29
- package/src/models/get-ai-templates200-response.ts +0 -29
- package/src/models/get-ai-usages200-response.ts +0 -29
- package/src/models/get-ai-vectors200-response.ts +0 -29
- package/src/models/get-ai-videos200-response.ts +0 -29
- package/src/models/get-ai-workflows200-response.ts +0 -29
- package/src/models/graph.ts +0 -96
- package/src/models/label.ts +0 -84
- package/src/models/message.ts +0 -246
- package/src/models/model-file.ts +0 -90
- package/src/models/model-route.ts +0 -132
- package/src/models/model-search-result.ts +0 -54
- package/src/models/model-tool-call.ts +0 -42
- package/src/models/node.ts +0 -195
- package/src/models/patch.ts +0 -78
- package/src/models/post-ai-articles200-response.ts +0 -29
- package/src/models/post-ai-assets200-response.ts +0 -29
- package/src/models/post-ai-chats200-response.ts +0 -29
- package/src/models/post-ai-deployments200-response.ts +0 -29
- package/src/models/post-ai-files200-response.ts +0 -26
- package/src/models/post-ai-forms200-response.ts +0 -29
- package/src/models/post-ai-graphs200-response.ts +0 -29
- package/src/models/post-ai-messages200-response.ts +0 -29
- package/src/models/post-ai-nodes200-response.ts +0 -29
- package/src/models/post-ai-providers200-response.ts +0 -29
- package/src/models/post-ai-records200-response.ts +0 -29
- package/src/models/post-ai-remote-connections200-response.ts +0 -29
- package/src/models/post-ai-routes200-response.ts +0 -29
- package/src/models/post-ai-scales200-response.ts +0 -29
- package/src/models/post-ai-scans200-response.ts +0 -29
- package/src/models/post-ai-signin-sessions200-response.ts +0 -29
- package/src/models/post-ai-stores200-response.ts +0 -29
- package/src/models/post-ai-tasks200-response.ts +0 -29
- package/src/models/post-ai-templates200-response.ts +0 -29
- package/src/models/post-ai-tree-files200-response.ts +0 -29
- package/src/models/post-ai-vectors200-response.ts +0 -29
- package/src/models/post-ai-videos200-response.ts +0 -29
- package/src/models/post-ai-workflows200-response.ts +0 -29
- package/src/models/properties.ts +0 -36
- package/src/models/provider.ts +0 -309
- package/src/models/release-state.ts +0 -78
- package/src/models/remark.ts +0 -54
- package/src/models/resource-requests.ts +0 -36
- package/src/models/scale.ts +0 -60
- package/src/models/service-detail.ts +0 -75
- package/src/models/service.ts +0 -78
- package/src/models/store.ts +0 -321
- package/src/models/task.ts +0 -138
- package/src/models/template-config-option.ts +0 -60
- package/src/models/template.ts +0 -99
- package/src/models/tree-file.ts +0 -66
- package/src/models/vector.ts +0 -114
- package/src/models/video.ts +0 -282
- package/src/models/vpc-view.ts +0 -60
- package/src/models/workflow.ts +0 -72
- /package/dist/esm/models/{activity.js → allowance.js} +0 -0
- /package/dist/esm/models/{agent-mcp-tools.js → backend-status.js} +0 -0
- /package/dist/esm/models/{application-config-option.js → claim-row.js} +0 -0
- /package/dist/esm/models/{application-event.js → claims-out.js} +0 -0
- /package/dist/esm/models/{application-view.js → edge-state.js} +0 -0
- /package/dist/esm/models/{article.js → gitlab-project-view.js} +0 -0
- /package/dist/esm/models/{asset.js → gitlab-projects-out.js} +0 -0
- /package/dist/esm/models/{audit.js → history-out.js} +0 -0
- /package/dist/esm/models/{block.js → iam-account-body.js} +0 -0
- /package/dist/esm/models/{chat.js → iam-assume-body.js} +0 -0
- /package/dist/esm/models/{connection.js → iam-search-organizations-output.js} +0 -0
- /package/dist/esm/models/{container-detail.js → iam-set-avatar-input.js} +0 -0
- /package/dist/esm/models/{create-lbreq.js → match.js} +0 -0
- /package/dist/esm/models/{create-vpcreq.js → model-history.js} +0 -0
- /package/dist/esm/models/{deployment-detail.js → published-claim.js} +0 -0
- /package/dist/esm/models/{env-variable.js → put-claims-in.js} +0 -0
- /package/dist/esm/models/{example-question.js → put-claims-out.js} +0 -0
- /package/dist/esm/models/{form-item.js → request.js} +0 -0
- /package/dist/esm/models/{form.js → response.js} +0 -0
- /package/dist/esm/models/{fwd-rule.js → run-point.js} +0 -0
- /package/dist/esm/models/{get-ai-activities200-response.js → trail.js} +0 -0
- /package/dist/models/{activity.js → allowance.js} +0 -0
- /package/dist/models/{agent-mcp-tools.js → backend-status.js} +0 -0
- /package/dist/models/{application-config-option.js → claim-row.js} +0 -0
- /package/dist/models/{application-event.js → claims-out.js} +0 -0
- /package/dist/models/{application-view.js → edge-state.js} +0 -0
- /package/dist/models/{article.js → gitlab-project-view.js} +0 -0
- /package/dist/models/{asset.js → gitlab-projects-out.js} +0 -0
- /package/dist/models/{audit.js → history-out.js} +0 -0
- /package/dist/models/{block.js → iam-account-body.js} +0 -0
- /package/dist/models/{chat.js → iam-assume-body.js} +0 -0
- /package/dist/models/{connection.js → iam-search-organizations-output.js} +0 -0
- /package/dist/models/{container-detail.js → iam-set-avatar-input.js} +0 -0
- /package/dist/models/{create-lbreq.js → match.js} +0 -0
- /package/dist/models/{create-vpcreq.js → model-history.js} +0 -0
- /package/dist/models/{deployment-detail.js → published-claim.js} +0 -0
- /package/dist/models/{env-variable.js → put-claims-in.js} +0 -0
- /package/dist/models/{example-question.js → put-claims-out.js} +0 -0
- /package/dist/models/{form-item.js → request.js} +0 -0
- /package/dist/models/{form.js → response.js} +0 -0
- /package/dist/models/{fwd-rule.js → run-point.js} +0 -0
- /package/dist/models/{get-ai-activities200-response.js → trail.js} +0 -0
package/src/api/docdb-api.ts
DELETED
|
@@ -1,395 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Hanzo Cloud API
|
|
5
|
-
* Composed from each subsystem\'s own projection of its router, in the fleet\'s mount order — every operation below is a route the subsystem that publishes it registered. Tagged by product: the first path segment after /v1/.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import type { Configuration } from '../configuration';
|
|
17
|
-
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
-
import globalAxios from 'axios';
|
|
19
|
-
// Some imports not used depending on template conditions
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
22
|
-
// @ts-ignore
|
|
23
|
-
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
-
// @ts-ignore
|
|
25
|
-
import type { ProvisionRequest } from '../models';
|
|
26
|
-
// @ts-ignore
|
|
27
|
-
import type { ProvisionResult } from '../models';
|
|
28
|
-
// @ts-ignore
|
|
29
|
-
import type { ProvisionedResource } from '../models';
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
import type { ProvisionedSummary } from '../models';
|
|
32
|
-
/**
|
|
33
|
-
* DocdbApi - axios parameter creator
|
|
34
|
-
* @export
|
|
35
|
-
*/
|
|
36
|
-
export const DocdbApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
37
|
-
return {
|
|
38
|
-
/**
|
|
39
|
-
* DropDocDB deprovisions one Hanzo DocDB database. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated FerretDB instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
40
|
-
* @summary DropDocDB deprovisions one Hanzo DocDB database.
|
|
41
|
-
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
42
|
-
* @param {*} [options] Override http request option.
|
|
43
|
-
* @throws {RequiredError}
|
|
44
|
-
*/
|
|
45
|
-
deleteDocdbByName: async (name: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46
|
-
// verify required parameter 'name' is not null or undefined
|
|
47
|
-
assertParamExists('deleteDocdbByName', 'name', name)
|
|
48
|
-
const localVarPath = `/v1/docdb/{name}`
|
|
49
|
-
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
50
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
52
|
-
let baseOptions;
|
|
53
|
-
if (configuration) {
|
|
54
|
-
baseOptions = configuration.baseOptions;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
58
|
-
const localVarHeaderParameter = {} as any;
|
|
59
|
-
const localVarQueryParameter = {} as any;
|
|
60
|
-
|
|
61
|
-
// authentication bearer required
|
|
62
|
-
// http bearer authentication required
|
|
63
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
70
|
-
|
|
71
|
-
return {
|
|
72
|
-
url: toPathString(localVarUrlObj),
|
|
73
|
-
options: localVarRequestOptions,
|
|
74
|
-
};
|
|
75
|
-
},
|
|
76
|
-
/**
|
|
77
|
-
* ListDocDB lists the caller org\'s Hanzo DocDB document databases. Each one is a DEDICATED FerretDB instance the org alone runs, speaking the MongoDB wire protocol, so the host is that instance\'s own in-cluster Service and the port is 27017.
|
|
78
|
-
* @summary ListDocDB lists the caller org\'s Hanzo DocDB document databases.
|
|
79
|
-
* @param {*} [options] Override http request option.
|
|
80
|
-
* @throws {RequiredError}
|
|
81
|
-
*/
|
|
82
|
-
getDocdb: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
83
|
-
const localVarPath = `/v1/docdb`;
|
|
84
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
85
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
86
|
-
let baseOptions;
|
|
87
|
-
if (configuration) {
|
|
88
|
-
baseOptions = configuration.baseOptions;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
92
|
-
const localVarHeaderParameter = {} as any;
|
|
93
|
-
const localVarQueryParameter = {} as any;
|
|
94
|
-
|
|
95
|
-
// authentication bearer required
|
|
96
|
-
// http bearer authentication required
|
|
97
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
102
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
104
|
-
|
|
105
|
-
return {
|
|
106
|
-
url: toPathString(localVarUrlObj),
|
|
107
|
-
options: localVarRequestOptions,
|
|
108
|
-
};
|
|
109
|
-
},
|
|
110
|
-
/**
|
|
111
|
-
* GetDocDB returns one Hanzo DocDB database\'s metadata. It carries the database\'s status, its instance address and the SCRAM user the instance was set up with — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view.
|
|
112
|
-
* @summary GetDocDB returns one Hanzo DocDB database\'s metadata.
|
|
113
|
-
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
114
|
-
* @param {*} [options] Override http request option.
|
|
115
|
-
* @throws {RequiredError}
|
|
116
|
-
*/
|
|
117
|
-
getDocdbByName: async (name: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
118
|
-
// verify required parameter 'name' is not null or undefined
|
|
119
|
-
assertParamExists('getDocdbByName', 'name', name)
|
|
120
|
-
const localVarPath = `/v1/docdb/{name}`
|
|
121
|
-
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
122
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
123
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
124
|
-
let baseOptions;
|
|
125
|
-
if (configuration) {
|
|
126
|
-
baseOptions = configuration.baseOptions;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
130
|
-
const localVarHeaderParameter = {} as any;
|
|
131
|
-
const localVarQueryParameter = {} as any;
|
|
132
|
-
|
|
133
|
-
// authentication bearer required
|
|
134
|
-
// http bearer authentication required
|
|
135
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
140
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
141
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
142
|
-
|
|
143
|
-
return {
|
|
144
|
-
url: toPathString(localVarUrlObj),
|
|
145
|
-
options: localVarRequestOptions,
|
|
146
|
-
};
|
|
147
|
-
},
|
|
148
|
-
/**
|
|
149
|
-
* Launches your org\'s OWN document-database instance — it speaks the MongoDB wire protocol, so existing MongoDB drivers connect unchanged — and answers with its `mongodb://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
150
|
-
* @summary Provision a document database for your org
|
|
151
|
-
* @param {ProvisionRequest} [provisionRequest]
|
|
152
|
-
* @param {*} [options] Override http request option.
|
|
153
|
-
* @throws {RequiredError}
|
|
154
|
-
*/
|
|
155
|
-
postDocdb: async (provisionRequest?: ProvisionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
156
|
-
const localVarPath = `/v1/docdb`;
|
|
157
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
158
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
159
|
-
let baseOptions;
|
|
160
|
-
if (configuration) {
|
|
161
|
-
baseOptions = configuration.baseOptions;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
165
|
-
const localVarHeaderParameter = {} as any;
|
|
166
|
-
const localVarQueryParameter = {} as any;
|
|
167
|
-
|
|
168
|
-
// authentication bearer required
|
|
169
|
-
// http bearer authentication required
|
|
170
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
175
|
-
|
|
176
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
177
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
178
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
179
|
-
localVarRequestOptions.data = serializeDataIfNeeded(provisionRequest, localVarRequestOptions, configuration)
|
|
180
|
-
|
|
181
|
-
return {
|
|
182
|
-
url: toPathString(localVarUrlObj),
|
|
183
|
-
options: localVarRequestOptions,
|
|
184
|
-
};
|
|
185
|
-
},
|
|
186
|
-
}
|
|
187
|
-
};
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* DocdbApi - functional programming interface
|
|
191
|
-
* @export
|
|
192
|
-
*/
|
|
193
|
-
export const DocdbApiFp = function(configuration?: Configuration) {
|
|
194
|
-
const localVarAxiosParamCreator = DocdbApiAxiosParamCreator(configuration)
|
|
195
|
-
return {
|
|
196
|
-
/**
|
|
197
|
-
* DropDocDB deprovisions one Hanzo DocDB database. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated FerretDB instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
198
|
-
* @summary DropDocDB deprovisions one Hanzo DocDB database.
|
|
199
|
-
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
200
|
-
* @param {*} [options] Override http request option.
|
|
201
|
-
* @throws {RequiredError}
|
|
202
|
-
*/
|
|
203
|
-
async deleteDocdbByName(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
204
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDocdbByName(name, options);
|
|
205
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
206
|
-
const localVarOperationServerBasePath = operationServerMap['DocdbApi.deleteDocdbByName']?.[localVarOperationServerIndex]?.url;
|
|
207
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
208
|
-
},
|
|
209
|
-
/**
|
|
210
|
-
* ListDocDB lists the caller org\'s Hanzo DocDB document databases. Each one is a DEDICATED FerretDB instance the org alone runs, speaking the MongoDB wire protocol, so the host is that instance\'s own in-cluster Service and the port is 27017.
|
|
211
|
-
* @summary ListDocDB lists the caller org\'s Hanzo DocDB document databases.
|
|
212
|
-
* @param {*} [options] Override http request option.
|
|
213
|
-
* @throws {RequiredError}
|
|
214
|
-
*/
|
|
215
|
-
async getDocdb(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisionedSummary>>> {
|
|
216
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getDocdb(options);
|
|
217
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
218
|
-
const localVarOperationServerBasePath = operationServerMap['DocdbApi.getDocdb']?.[localVarOperationServerIndex]?.url;
|
|
219
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
220
|
-
},
|
|
221
|
-
/**
|
|
222
|
-
* GetDocDB returns one Hanzo DocDB database\'s metadata. It carries the database\'s status, its instance address and the SCRAM user the instance was set up with — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view.
|
|
223
|
-
* @summary GetDocDB returns one Hanzo DocDB database\'s metadata.
|
|
224
|
-
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
225
|
-
* @param {*} [options] Override http request option.
|
|
226
|
-
* @throws {RequiredError}
|
|
227
|
-
*/
|
|
228
|
-
async getDocdbByName(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisionedResource>> {
|
|
229
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getDocdbByName(name, options);
|
|
230
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
231
|
-
const localVarOperationServerBasePath = operationServerMap['DocdbApi.getDocdbByName']?.[localVarOperationServerIndex]?.url;
|
|
232
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
233
|
-
},
|
|
234
|
-
/**
|
|
235
|
-
* Launches your org\'s OWN document-database instance — it speaks the MongoDB wire protocol, so existing MongoDB drivers connect unchanged — and answers with its `mongodb://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
236
|
-
* @summary Provision a document database for your org
|
|
237
|
-
* @param {ProvisionRequest} [provisionRequest]
|
|
238
|
-
* @param {*} [options] Override http request option.
|
|
239
|
-
* @throws {RequiredError}
|
|
240
|
-
*/
|
|
241
|
-
async postDocdb(provisionRequest?: ProvisionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisionResult>> {
|
|
242
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postDocdb(provisionRequest, options);
|
|
243
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
244
|
-
const localVarOperationServerBasePath = operationServerMap['DocdbApi.postDocdb']?.[localVarOperationServerIndex]?.url;
|
|
245
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
246
|
-
},
|
|
247
|
-
}
|
|
248
|
-
};
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* DocdbApi - factory interface
|
|
252
|
-
* @export
|
|
253
|
-
*/
|
|
254
|
-
export const DocdbApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
255
|
-
const localVarFp = DocdbApiFp(configuration)
|
|
256
|
-
return {
|
|
257
|
-
/**
|
|
258
|
-
* DropDocDB deprovisions one Hanzo DocDB database. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated FerretDB instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
259
|
-
* @summary DropDocDB deprovisions one Hanzo DocDB database.
|
|
260
|
-
* @param {DocdbApiDeleteDocdbByNameRequest} requestParameters Request parameters.
|
|
261
|
-
* @param {*} [options] Override http request option.
|
|
262
|
-
* @throws {RequiredError}
|
|
263
|
-
*/
|
|
264
|
-
deleteDocdbByName(requestParameters: DocdbApiDeleteDocdbByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
265
|
-
return localVarFp.deleteDocdbByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
266
|
-
},
|
|
267
|
-
/**
|
|
268
|
-
* ListDocDB lists the caller org\'s Hanzo DocDB document databases. Each one is a DEDICATED FerretDB instance the org alone runs, speaking the MongoDB wire protocol, so the host is that instance\'s own in-cluster Service and the port is 27017.
|
|
269
|
-
* @summary ListDocDB lists the caller org\'s Hanzo DocDB document databases.
|
|
270
|
-
* @param {*} [options] Override http request option.
|
|
271
|
-
* @throws {RequiredError}
|
|
272
|
-
*/
|
|
273
|
-
getDocdb(options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisionedSummary>> {
|
|
274
|
-
return localVarFp.getDocdb(options).then((request) => request(axios, basePath));
|
|
275
|
-
},
|
|
276
|
-
/**
|
|
277
|
-
* GetDocDB returns one Hanzo DocDB database\'s metadata. It carries the database\'s status, its instance address and the SCRAM user the instance was set up with — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view.
|
|
278
|
-
* @summary GetDocDB returns one Hanzo DocDB database\'s metadata.
|
|
279
|
-
* @param {DocdbApiGetDocdbByNameRequest} requestParameters Request parameters.
|
|
280
|
-
* @param {*} [options] Override http request option.
|
|
281
|
-
* @throws {RequiredError}
|
|
282
|
-
*/
|
|
283
|
-
getDocdbByName(requestParameters: DocdbApiGetDocdbByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProvisionedResource> {
|
|
284
|
-
return localVarFp.getDocdbByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
285
|
-
},
|
|
286
|
-
/**
|
|
287
|
-
* Launches your org\'s OWN document-database instance — it speaks the MongoDB wire protocol, so existing MongoDB drivers connect unchanged — and answers with its `mongodb://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
288
|
-
* @summary Provision a document database for your org
|
|
289
|
-
* @param {DocdbApiPostDocdbRequest} requestParameters Request parameters.
|
|
290
|
-
* @param {*} [options] Override http request option.
|
|
291
|
-
* @throws {RequiredError}
|
|
292
|
-
*/
|
|
293
|
-
postDocdb(requestParameters: DocdbApiPostDocdbRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<ProvisionResult> {
|
|
294
|
-
return localVarFp.postDocdb(requestParameters.provisionRequest, options).then((request) => request(axios, basePath));
|
|
295
|
-
},
|
|
296
|
-
};
|
|
297
|
-
};
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* Request parameters for deleteDocdbByName operation in DocdbApi.
|
|
301
|
-
* @export
|
|
302
|
-
* @interface DocdbApiDeleteDocdbByNameRequest
|
|
303
|
-
*/
|
|
304
|
-
export interface DocdbApiDeleteDocdbByNameRequest {
|
|
305
|
-
/**
|
|
306
|
-
* Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
307
|
-
* @type {string}
|
|
308
|
-
* @memberof DocdbApiDeleteDocdbByName
|
|
309
|
-
*/
|
|
310
|
-
readonly name: string
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
/**
|
|
314
|
-
* Request parameters for getDocdbByName operation in DocdbApi.
|
|
315
|
-
* @export
|
|
316
|
-
* @interface DocdbApiGetDocdbByNameRequest
|
|
317
|
-
*/
|
|
318
|
-
export interface DocdbApiGetDocdbByNameRequest {
|
|
319
|
-
/**
|
|
320
|
-
* Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
321
|
-
* @type {string}
|
|
322
|
-
* @memberof DocdbApiGetDocdbByName
|
|
323
|
-
*/
|
|
324
|
-
readonly name: string
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
/**
|
|
328
|
-
* Request parameters for postDocdb operation in DocdbApi.
|
|
329
|
-
* @export
|
|
330
|
-
* @interface DocdbApiPostDocdbRequest
|
|
331
|
-
*/
|
|
332
|
-
export interface DocdbApiPostDocdbRequest {
|
|
333
|
-
/**
|
|
334
|
-
*
|
|
335
|
-
* @type {ProvisionRequest}
|
|
336
|
-
* @memberof DocdbApiPostDocdb
|
|
337
|
-
*/
|
|
338
|
-
readonly provisionRequest?: ProvisionRequest
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* DocdbApi - object-oriented interface
|
|
343
|
-
* @export
|
|
344
|
-
* @class DocdbApi
|
|
345
|
-
* @extends {BaseAPI}
|
|
346
|
-
*/
|
|
347
|
-
export class DocdbApi extends BaseAPI {
|
|
348
|
-
/**
|
|
349
|
-
* DropDocDB deprovisions one Hanzo DocDB database. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated FerretDB instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
350
|
-
* @summary DropDocDB deprovisions one Hanzo DocDB database.
|
|
351
|
-
* @param {DocdbApiDeleteDocdbByNameRequest} requestParameters Request parameters.
|
|
352
|
-
* @param {*} [options] Override http request option.
|
|
353
|
-
* @throws {RequiredError}
|
|
354
|
-
* @memberof DocdbApi
|
|
355
|
-
*/
|
|
356
|
-
public deleteDocdbByName(requestParameters: DocdbApiDeleteDocdbByNameRequest, options?: RawAxiosRequestConfig) {
|
|
357
|
-
return DocdbApiFp(this.configuration).deleteDocdbByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
/**
|
|
361
|
-
* ListDocDB lists the caller org\'s Hanzo DocDB document databases. Each one is a DEDICATED FerretDB instance the org alone runs, speaking the MongoDB wire protocol, so the host is that instance\'s own in-cluster Service and the port is 27017.
|
|
362
|
-
* @summary ListDocDB lists the caller org\'s Hanzo DocDB document databases.
|
|
363
|
-
* @param {*} [options] Override http request option.
|
|
364
|
-
* @throws {RequiredError}
|
|
365
|
-
* @memberof DocdbApi
|
|
366
|
-
*/
|
|
367
|
-
public getDocdb(options?: RawAxiosRequestConfig) {
|
|
368
|
-
return DocdbApiFp(this.configuration).getDocdb(options).then((request) => request(this.axios, this.basePath));
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* GetDocDB returns one Hanzo DocDB database\'s metadata. It carries the database\'s status, its instance address and the SCRAM user the instance was set up with — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view.
|
|
373
|
-
* @summary GetDocDB returns one Hanzo DocDB database\'s metadata.
|
|
374
|
-
* @param {DocdbApiGetDocdbByNameRequest} requestParameters Request parameters.
|
|
375
|
-
* @param {*} [options] Override http request option.
|
|
376
|
-
* @throws {RequiredError}
|
|
377
|
-
* @memberof DocdbApi
|
|
378
|
-
*/
|
|
379
|
-
public getDocdbByName(requestParameters: DocdbApiGetDocdbByNameRequest, options?: RawAxiosRequestConfig) {
|
|
380
|
-
return DocdbApiFp(this.configuration).getDocdbByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
/**
|
|
384
|
-
* Launches your org\'s OWN document-database instance — it speaks the MongoDB wire protocol, so existing MongoDB drivers connect unchanged — and answers with its `mongodb://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
385
|
-
* @summary Provision a document database for your org
|
|
386
|
-
* @param {DocdbApiPostDocdbRequest} requestParameters Request parameters.
|
|
387
|
-
* @param {*} [options] Override http request option.
|
|
388
|
-
* @throws {RequiredError}
|
|
389
|
-
* @memberof DocdbApi
|
|
390
|
-
*/
|
|
391
|
-
public postDocdb(requestParameters: DocdbApiPostDocdbRequest = {}, options?: RawAxiosRequestConfig) {
|
|
392
|
-
return DocdbApiFp(this.configuration).postDocdb(requestParameters.provisionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Hanzo Cloud API
|
|
5
|
-
* Composed from each subsystem\'s own projection of its router, in the fleet\'s mount order — every operation below is a route the subsystem that publishes it registered. Tagged by product: the first path segment after /v1/.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import type { Configuration } from '../configuration';
|
|
17
|
-
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
-
import globalAxios from 'axios';
|
|
19
|
-
// Some imports not used depending on template conditions
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
22
|
-
// @ts-ignore
|
|
23
|
-
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
-
/**
|
|
25
|
-
* GenerateTextToSpeechAudioApi - axios parameter creator
|
|
26
|
-
* @export
|
|
27
|
-
*/
|
|
28
|
-
export const GenerateTextToSpeechAudioApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
29
|
-
return {
|
|
30
|
-
/**
|
|
31
|
-
* Convert text to speech
|
|
32
|
-
* @summary Convert text to speech
|
|
33
|
-
* @param {*} [options] Override http request option.
|
|
34
|
-
* @throws {RequiredError}
|
|
35
|
-
*/
|
|
36
|
-
postGenerateTextToSpeechAudio: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37
|
-
const localVarPath = `/v1/generate-text-to-speech-audio`;
|
|
38
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40
|
-
let baseOptions;
|
|
41
|
-
if (configuration) {
|
|
42
|
-
baseOptions = configuration.baseOptions;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
46
|
-
const localVarHeaderParameter = {} as any;
|
|
47
|
-
const localVarQueryParameter = {} as any;
|
|
48
|
-
|
|
49
|
-
// authentication bearer required
|
|
50
|
-
// http bearer authentication required
|
|
51
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
56
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
58
|
-
|
|
59
|
-
return {
|
|
60
|
-
url: toPathString(localVarUrlObj),
|
|
61
|
-
options: localVarRequestOptions,
|
|
62
|
-
};
|
|
63
|
-
},
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* GenerateTextToSpeechAudioApi - functional programming interface
|
|
69
|
-
* @export
|
|
70
|
-
*/
|
|
71
|
-
export const GenerateTextToSpeechAudioApiFp = function(configuration?: Configuration) {
|
|
72
|
-
const localVarAxiosParamCreator = GenerateTextToSpeechAudioApiAxiosParamCreator(configuration)
|
|
73
|
-
return {
|
|
74
|
-
/**
|
|
75
|
-
* Convert text to speech
|
|
76
|
-
* @summary Convert text to speech
|
|
77
|
-
* @param {*} [options] Override http request option.
|
|
78
|
-
* @throws {RequiredError}
|
|
79
|
-
*/
|
|
80
|
-
async postGenerateTextToSpeechAudio(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
81
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGenerateTextToSpeechAudio(options);
|
|
82
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
83
|
-
const localVarOperationServerBasePath = operationServerMap['GenerateTextToSpeechAudioApi.postGenerateTextToSpeechAudio']?.[localVarOperationServerIndex]?.url;
|
|
84
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
85
|
-
},
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* GenerateTextToSpeechAudioApi - factory interface
|
|
91
|
-
* @export
|
|
92
|
-
*/
|
|
93
|
-
export const GenerateTextToSpeechAudioApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
94
|
-
const localVarFp = GenerateTextToSpeechAudioApiFp(configuration)
|
|
95
|
-
return {
|
|
96
|
-
/**
|
|
97
|
-
* Convert text to speech
|
|
98
|
-
* @summary Convert text to speech
|
|
99
|
-
* @param {*} [options] Override http request option.
|
|
100
|
-
* @throws {RequiredError}
|
|
101
|
-
*/
|
|
102
|
-
postGenerateTextToSpeechAudio(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
103
|
-
return localVarFp.postGenerateTextToSpeechAudio(options).then((request) => request(axios, basePath));
|
|
104
|
-
},
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* GenerateTextToSpeechAudioApi - object-oriented interface
|
|
110
|
-
* @export
|
|
111
|
-
* @class GenerateTextToSpeechAudioApi
|
|
112
|
-
* @extends {BaseAPI}
|
|
113
|
-
*/
|
|
114
|
-
export class GenerateTextToSpeechAudioApi extends BaseAPI {
|
|
115
|
-
/**
|
|
116
|
-
* Convert text to speech
|
|
117
|
-
* @summary Convert text to speech
|
|
118
|
-
* @param {*} [options] Override http request option.
|
|
119
|
-
* @throws {RequiredError}
|
|
120
|
-
* @memberof GenerateTextToSpeechAudioApi
|
|
121
|
-
*/
|
|
122
|
-
public postGenerateTextToSpeechAudio(options?: RawAxiosRequestConfig) {
|
|
123
|
-
return GenerateTextToSpeechAudioApiFp(this.configuration).postGenerateTextToSpeechAudio(options).then((request) => request(this.axios, this.basePath));
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Hanzo Cloud API
|
|
5
|
-
* Composed from each subsystem\'s own projection of its router, in the fleet\'s mount order — every operation below is a route the subsystem that publishes it registered. Tagged by product: the first path segment after /v1/.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import type { Configuration } from '../configuration';
|
|
17
|
-
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
-
import globalAxios from 'axios';
|
|
19
|
-
// Some imports not used depending on template conditions
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
22
|
-
// @ts-ignore
|
|
23
|
-
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
-
/**
|
|
25
|
-
* GenerateTextToSpeechAudioStreamApi - axios parameter creator
|
|
26
|
-
* @export
|
|
27
|
-
*/
|
|
28
|
-
export const GenerateTextToSpeechAudioStreamApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
29
|
-
return {
|
|
30
|
-
/**
|
|
31
|
-
* Convert text to speech with streaming
|
|
32
|
-
* @summary Convert text to speech with streaming
|
|
33
|
-
* @param {*} [options] Override http request option.
|
|
34
|
-
* @throws {RequiredError}
|
|
35
|
-
*/
|
|
36
|
-
getGenerateTextToSpeechAudioStream: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37
|
-
const localVarPath = `/v1/generate-text-to-speech-audio-stream`;
|
|
38
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40
|
-
let baseOptions;
|
|
41
|
-
if (configuration) {
|
|
42
|
-
baseOptions = configuration.baseOptions;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
46
|
-
const localVarHeaderParameter = {} as any;
|
|
47
|
-
const localVarQueryParameter = {} as any;
|
|
48
|
-
|
|
49
|
-
// authentication bearer required
|
|
50
|
-
// http bearer authentication required
|
|
51
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
56
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
58
|
-
|
|
59
|
-
return {
|
|
60
|
-
url: toPathString(localVarUrlObj),
|
|
61
|
-
options: localVarRequestOptions,
|
|
62
|
-
};
|
|
63
|
-
},
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* GenerateTextToSpeechAudioStreamApi - functional programming interface
|
|
69
|
-
* @export
|
|
70
|
-
*/
|
|
71
|
-
export const GenerateTextToSpeechAudioStreamApiFp = function(configuration?: Configuration) {
|
|
72
|
-
const localVarAxiosParamCreator = GenerateTextToSpeechAudioStreamApiAxiosParamCreator(configuration)
|
|
73
|
-
return {
|
|
74
|
-
/**
|
|
75
|
-
* Convert text to speech with streaming
|
|
76
|
-
* @summary Convert text to speech with streaming
|
|
77
|
-
* @param {*} [options] Override http request option.
|
|
78
|
-
* @throws {RequiredError}
|
|
79
|
-
*/
|
|
80
|
-
async getGenerateTextToSpeechAudioStream(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
81
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGenerateTextToSpeechAudioStream(options);
|
|
82
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
83
|
-
const localVarOperationServerBasePath = operationServerMap['GenerateTextToSpeechAudioStreamApi.getGenerateTextToSpeechAudioStream']?.[localVarOperationServerIndex]?.url;
|
|
84
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
85
|
-
},
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* GenerateTextToSpeechAudioStreamApi - factory interface
|
|
91
|
-
* @export
|
|
92
|
-
*/
|
|
93
|
-
export const GenerateTextToSpeechAudioStreamApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
94
|
-
const localVarFp = GenerateTextToSpeechAudioStreamApiFp(configuration)
|
|
95
|
-
return {
|
|
96
|
-
/**
|
|
97
|
-
* Convert text to speech with streaming
|
|
98
|
-
* @summary Convert text to speech with streaming
|
|
99
|
-
* @param {*} [options] Override http request option.
|
|
100
|
-
* @throws {RequiredError}
|
|
101
|
-
*/
|
|
102
|
-
getGenerateTextToSpeechAudioStream(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
103
|
-
return localVarFp.getGenerateTextToSpeechAudioStream(options).then((request) => request(axios, basePath));
|
|
104
|
-
},
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* GenerateTextToSpeechAudioStreamApi - object-oriented interface
|
|
110
|
-
* @export
|
|
111
|
-
* @class GenerateTextToSpeechAudioStreamApi
|
|
112
|
-
* @extends {BaseAPI}
|
|
113
|
-
*/
|
|
114
|
-
export class GenerateTextToSpeechAudioStreamApi extends BaseAPI {
|
|
115
|
-
/**
|
|
116
|
-
* Convert text to speech with streaming
|
|
117
|
-
* @summary Convert text to speech with streaming
|
|
118
|
-
* @param {*} [options] Override http request option.
|
|
119
|
-
* @throws {RequiredError}
|
|
120
|
-
* @memberof GenerateTextToSpeechAudioStreamApi
|
|
121
|
-
*/
|
|
122
|
-
public getGenerateTextToSpeechAudioStream(options?: RawAxiosRequestConfig) {
|
|
123
|
-
return GenerateTextToSpeechAudioStreamApiFp(this.configuration).getGenerateTextToSpeechAudioStream(options).then((request) => request(this.axios, this.basePath));
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|