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/dist/api/kv-api.js
DELETED
|
@@ -1,319 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Hanzo Cloud API
|
|
6
|
-
* Composed from each subsystem\'s own projection of its router, in the fleet\'s mount order — every operation below is a route the subsystem that publishes it registered. Tagged by product: the first path segment after /v1/.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
|
-
};
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.KvApi = exports.KvApiFactory = exports.KvApiFp = exports.KvApiAxiosParamCreator = void 0;
|
|
20
|
-
const axios_1 = __importDefault(require("axios"));
|
|
21
|
-
// Some imports not used depending on template conditions
|
|
22
|
-
// @ts-ignore
|
|
23
|
-
const common_1 = require("../common");
|
|
24
|
-
// @ts-ignore
|
|
25
|
-
const base_1 = require("../base");
|
|
26
|
-
/**
|
|
27
|
-
* KvApi - axios parameter creator
|
|
28
|
-
* @export
|
|
29
|
-
*/
|
|
30
|
-
const KvApiAxiosParamCreator = function (configuration) {
|
|
31
|
-
return {
|
|
32
|
-
/**
|
|
33
|
-
* DropKV deprovisions one Hanzo KV store. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated Valkey instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
34
|
-
* @summary DropKV deprovisions one Hanzo KV store.
|
|
35
|
-
* @param {string} name Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
36
|
-
* @param {*} [options] Override http request option.
|
|
37
|
-
* @throws {RequiredError}
|
|
38
|
-
*/
|
|
39
|
-
deleteKvByName: async (name, options = {}) => {
|
|
40
|
-
// verify required parameter 'name' is not null or undefined
|
|
41
|
-
(0, common_1.assertParamExists)('deleteKvByName', 'name', name);
|
|
42
|
-
const localVarPath = `/v1/kv/{name}`
|
|
43
|
-
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
44
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
46
|
-
let baseOptions;
|
|
47
|
-
if (configuration) {
|
|
48
|
-
baseOptions = configuration.baseOptions;
|
|
49
|
-
}
|
|
50
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
51
|
-
const localVarHeaderParameter = {};
|
|
52
|
-
const localVarQueryParameter = {};
|
|
53
|
-
// authentication bearer required
|
|
54
|
-
// http bearer authentication required
|
|
55
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
56
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
57
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
58
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
59
|
-
return {
|
|
60
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
61
|
-
options: localVarRequestOptions,
|
|
62
|
-
};
|
|
63
|
-
},
|
|
64
|
-
/**
|
|
65
|
-
* ListKV lists the caller org\'s Hanzo KV stores. Each one is a DEDICATED Valkey instance the org alone runs, so the host is that instance\'s own in-cluster Service and the port is 6379.
|
|
66
|
-
* @summary ListKV lists the caller org\'s Hanzo KV stores.
|
|
67
|
-
* @param {*} [options] Override http request option.
|
|
68
|
-
* @throws {RequiredError}
|
|
69
|
-
*/
|
|
70
|
-
getKv: async (options = {}) => {
|
|
71
|
-
const localVarPath = `/v1/kv`;
|
|
72
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
73
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
74
|
-
let baseOptions;
|
|
75
|
-
if (configuration) {
|
|
76
|
-
baseOptions = configuration.baseOptions;
|
|
77
|
-
}
|
|
78
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
79
|
-
const localVarHeaderParameter = {};
|
|
80
|
-
const localVarQueryParameter = {};
|
|
81
|
-
// authentication bearer required
|
|
82
|
-
// http bearer authentication required
|
|
83
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
84
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
85
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
86
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
87
|
-
return {
|
|
88
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
89
|
-
options: localVarRequestOptions,
|
|
90
|
-
};
|
|
91
|
-
},
|
|
92
|
-
/**
|
|
93
|
-
* GetKV returns one Hanzo KV store\'s metadata. It carries the store\'s status, its instance address and the Valkey user it authenticates as (\"default\", the only user a requirepass instance has) — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view.
|
|
94
|
-
* @summary GetKV returns one Hanzo KV store\'s metadata.
|
|
95
|
-
* @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.
|
|
96
|
-
* @param {*} [options] Override http request option.
|
|
97
|
-
* @throws {RequiredError}
|
|
98
|
-
*/
|
|
99
|
-
getKvByName: async (name, options = {}) => {
|
|
100
|
-
// verify required parameter 'name' is not null or undefined
|
|
101
|
-
(0, common_1.assertParamExists)('getKvByName', 'name', name);
|
|
102
|
-
const localVarPath = `/v1/kv/{name}`
|
|
103
|
-
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
104
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
105
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
106
|
-
let baseOptions;
|
|
107
|
-
if (configuration) {
|
|
108
|
-
baseOptions = configuration.baseOptions;
|
|
109
|
-
}
|
|
110
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
111
|
-
const localVarHeaderParameter = {};
|
|
112
|
-
const localVarQueryParameter = {};
|
|
113
|
-
// authentication bearer required
|
|
114
|
-
// http bearer authentication required
|
|
115
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
116
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
117
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
118
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
119
|
-
return {
|
|
120
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
121
|
-
options: localVarRequestOptions,
|
|
122
|
-
};
|
|
123
|
-
},
|
|
124
|
-
/**
|
|
125
|
-
* Launches your org\'s OWN key-value instance and answers with its `kv://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
126
|
-
* @summary Provision a key-value store for your org
|
|
127
|
-
* @param {ProvisionRequest} [provisionRequest]
|
|
128
|
-
* @param {*} [options] Override http request option.
|
|
129
|
-
* @throws {RequiredError}
|
|
130
|
-
*/
|
|
131
|
-
postKv: async (provisionRequest, options = {}) => {
|
|
132
|
-
const localVarPath = `/v1/kv`;
|
|
133
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
134
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
135
|
-
let baseOptions;
|
|
136
|
-
if (configuration) {
|
|
137
|
-
baseOptions = configuration.baseOptions;
|
|
138
|
-
}
|
|
139
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
140
|
-
const localVarHeaderParameter = {};
|
|
141
|
-
const localVarQueryParameter = {};
|
|
142
|
-
// authentication bearer required
|
|
143
|
-
// http bearer authentication required
|
|
144
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
145
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
146
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
147
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
148
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
149
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(provisionRequest, localVarRequestOptions, configuration);
|
|
150
|
-
return {
|
|
151
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
152
|
-
options: localVarRequestOptions,
|
|
153
|
-
};
|
|
154
|
-
},
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
exports.KvApiAxiosParamCreator = KvApiAxiosParamCreator;
|
|
158
|
-
/**
|
|
159
|
-
* KvApi - functional programming interface
|
|
160
|
-
* @export
|
|
161
|
-
*/
|
|
162
|
-
const KvApiFp = function (configuration) {
|
|
163
|
-
const localVarAxiosParamCreator = (0, exports.KvApiAxiosParamCreator)(configuration);
|
|
164
|
-
return {
|
|
165
|
-
/**
|
|
166
|
-
* DropKV deprovisions one Hanzo KV store. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated Valkey instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
167
|
-
* @summary DropKV deprovisions one Hanzo KV store.
|
|
168
|
-
* @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.
|
|
169
|
-
* @param {*} [options] Override http request option.
|
|
170
|
-
* @throws {RequiredError}
|
|
171
|
-
*/
|
|
172
|
-
async deleteKvByName(name, options) {
|
|
173
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteKvByName(name, options);
|
|
174
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
175
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['KvApi.deleteKvByName']?.[localVarOperationServerIndex]?.url;
|
|
176
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
177
|
-
},
|
|
178
|
-
/**
|
|
179
|
-
* ListKV lists the caller org\'s Hanzo KV stores. Each one is a DEDICATED Valkey instance the org alone runs, so the host is that instance\'s own in-cluster Service and the port is 6379.
|
|
180
|
-
* @summary ListKV lists the caller org\'s Hanzo KV stores.
|
|
181
|
-
* @param {*} [options] Override http request option.
|
|
182
|
-
* @throws {RequiredError}
|
|
183
|
-
*/
|
|
184
|
-
async getKv(options) {
|
|
185
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getKv(options);
|
|
186
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
187
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['KvApi.getKv']?.[localVarOperationServerIndex]?.url;
|
|
188
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
189
|
-
},
|
|
190
|
-
/**
|
|
191
|
-
* GetKV returns one Hanzo KV store\'s metadata. It carries the store\'s status, its instance address and the Valkey user it authenticates as (\"default\", the only user a requirepass instance has) — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view.
|
|
192
|
-
* @summary GetKV returns one Hanzo KV store\'s metadata.
|
|
193
|
-
* @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.
|
|
194
|
-
* @param {*} [options] Override http request option.
|
|
195
|
-
* @throws {RequiredError}
|
|
196
|
-
*/
|
|
197
|
-
async getKvByName(name, options) {
|
|
198
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getKvByName(name, options);
|
|
199
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
200
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['KvApi.getKvByName']?.[localVarOperationServerIndex]?.url;
|
|
201
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
202
|
-
},
|
|
203
|
-
/**
|
|
204
|
-
* Launches your org\'s OWN key-value instance and answers with its `kv://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
205
|
-
* @summary Provision a key-value store for your org
|
|
206
|
-
* @param {ProvisionRequest} [provisionRequest]
|
|
207
|
-
* @param {*} [options] Override http request option.
|
|
208
|
-
* @throws {RequiredError}
|
|
209
|
-
*/
|
|
210
|
-
async postKv(provisionRequest, options) {
|
|
211
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postKv(provisionRequest, options);
|
|
212
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
213
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['KvApi.postKv']?.[localVarOperationServerIndex]?.url;
|
|
214
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
215
|
-
},
|
|
216
|
-
};
|
|
217
|
-
};
|
|
218
|
-
exports.KvApiFp = KvApiFp;
|
|
219
|
-
/**
|
|
220
|
-
* KvApi - factory interface
|
|
221
|
-
* @export
|
|
222
|
-
*/
|
|
223
|
-
const KvApiFactory = function (configuration, basePath, axios) {
|
|
224
|
-
const localVarFp = (0, exports.KvApiFp)(configuration);
|
|
225
|
-
return {
|
|
226
|
-
/**
|
|
227
|
-
* DropKV deprovisions one Hanzo KV store. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated Valkey instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
228
|
-
* @summary DropKV deprovisions one Hanzo KV store.
|
|
229
|
-
* @param {KvApiDeleteKvByNameRequest} requestParameters Request parameters.
|
|
230
|
-
* @param {*} [options] Override http request option.
|
|
231
|
-
* @throws {RequiredError}
|
|
232
|
-
*/
|
|
233
|
-
deleteKvByName(requestParameters, options) {
|
|
234
|
-
return localVarFp.deleteKvByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
235
|
-
},
|
|
236
|
-
/**
|
|
237
|
-
* ListKV lists the caller org\'s Hanzo KV stores. Each one is a DEDICATED Valkey instance the org alone runs, so the host is that instance\'s own in-cluster Service and the port is 6379.
|
|
238
|
-
* @summary ListKV lists the caller org\'s Hanzo KV stores.
|
|
239
|
-
* @param {*} [options] Override http request option.
|
|
240
|
-
* @throws {RequiredError}
|
|
241
|
-
*/
|
|
242
|
-
getKv(options) {
|
|
243
|
-
return localVarFp.getKv(options).then((request) => request(axios, basePath));
|
|
244
|
-
},
|
|
245
|
-
/**
|
|
246
|
-
* GetKV returns one Hanzo KV store\'s metadata. It carries the store\'s status, its instance address and the Valkey user it authenticates as (\"default\", the only user a requirepass instance has) — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view.
|
|
247
|
-
* @summary GetKV returns one Hanzo KV store\'s metadata.
|
|
248
|
-
* @param {KvApiGetKvByNameRequest} requestParameters Request parameters.
|
|
249
|
-
* @param {*} [options] Override http request option.
|
|
250
|
-
* @throws {RequiredError}
|
|
251
|
-
*/
|
|
252
|
-
getKvByName(requestParameters, options) {
|
|
253
|
-
return localVarFp.getKvByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
254
|
-
},
|
|
255
|
-
/**
|
|
256
|
-
* Launches your org\'s OWN key-value instance and answers with its `kv://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
257
|
-
* @summary Provision a key-value store for your org
|
|
258
|
-
* @param {KvApiPostKvRequest} requestParameters Request parameters.
|
|
259
|
-
* @param {*} [options] Override http request option.
|
|
260
|
-
* @throws {RequiredError}
|
|
261
|
-
*/
|
|
262
|
-
postKv(requestParameters = {}, options) {
|
|
263
|
-
return localVarFp.postKv(requestParameters.provisionRequest, options).then((request) => request(axios, basePath));
|
|
264
|
-
},
|
|
265
|
-
};
|
|
266
|
-
};
|
|
267
|
-
exports.KvApiFactory = KvApiFactory;
|
|
268
|
-
/**
|
|
269
|
-
* KvApi - object-oriented interface
|
|
270
|
-
* @export
|
|
271
|
-
* @class KvApi
|
|
272
|
-
* @extends {BaseAPI}
|
|
273
|
-
*/
|
|
274
|
-
class KvApi extends base_1.BaseAPI {
|
|
275
|
-
/**
|
|
276
|
-
* DropKV deprovisions one Hanzo KV store. It reverts any app instance bound to it back to Base BEFORE tearing down the org\'s dedicated Valkey instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
|
|
277
|
-
* @summary DropKV deprovisions one Hanzo KV store.
|
|
278
|
-
* @param {KvApiDeleteKvByNameRequest} requestParameters Request parameters.
|
|
279
|
-
* @param {*} [options] Override http request option.
|
|
280
|
-
* @throws {RequiredError}
|
|
281
|
-
* @memberof KvApi
|
|
282
|
-
*/
|
|
283
|
-
deleteKvByName(requestParameters, options) {
|
|
284
|
-
return (0, exports.KvApiFp)(this.configuration).deleteKvByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
285
|
-
}
|
|
286
|
-
/**
|
|
287
|
-
* ListKV lists the caller org\'s Hanzo KV stores. Each one is a DEDICATED Valkey instance the org alone runs, so the host is that instance\'s own in-cluster Service and the port is 6379.
|
|
288
|
-
* @summary ListKV lists the caller org\'s Hanzo KV stores.
|
|
289
|
-
* @param {*} [options] Override http request option.
|
|
290
|
-
* @throws {RequiredError}
|
|
291
|
-
* @memberof KvApi
|
|
292
|
-
*/
|
|
293
|
-
getKv(options) {
|
|
294
|
-
return (0, exports.KvApiFp)(this.configuration).getKv(options).then((request) => request(this.axios, this.basePath));
|
|
295
|
-
}
|
|
296
|
-
/**
|
|
297
|
-
* GetKV returns one Hanzo KV store\'s metadata. It carries the store\'s status, its instance address and the Valkey user it authenticates as (\"default\", the only user a requirepass instance has) — never the password. A still-booting instance reads \"provisioning\", reconciled from the operator\'s live view.
|
|
298
|
-
* @summary GetKV returns one Hanzo KV store\'s metadata.
|
|
299
|
-
* @param {KvApiGetKvByNameRequest} requestParameters Request parameters.
|
|
300
|
-
* @param {*} [options] Override http request option.
|
|
301
|
-
* @throws {RequiredError}
|
|
302
|
-
* @memberof KvApi
|
|
303
|
-
*/
|
|
304
|
-
getKvByName(requestParameters, options) {
|
|
305
|
-
return (0, exports.KvApiFp)(this.configuration).getKvByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
306
|
-
}
|
|
307
|
-
/**
|
|
308
|
-
* Launches your org\'s OWN key-value instance and answers with its `kv://` connection string. The instance is yours alone: a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
309
|
-
* @summary Provision a key-value store for your org
|
|
310
|
-
* @param {KvApiPostKvRequest} requestParameters Request parameters.
|
|
311
|
-
* @param {*} [options] Override http request option.
|
|
312
|
-
* @throws {RequiredError}
|
|
313
|
-
* @memberof KvApi
|
|
314
|
-
*/
|
|
315
|
-
postKv(requestParameters = {}, options) {
|
|
316
|
-
return (0, exports.KvApiFp)(this.configuration).postKv(requestParameters.provisionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
exports.KvApi = KvApi;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hanzo Cloud API
|
|
3
|
-
* 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/.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Configuration } from '../configuration';
|
|
13
|
-
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
-
import globalAxios from 'axios';
|
|
15
|
-
import { type RequestArgs, BaseAPI } from '../base';
|
|
16
|
-
/**
|
|
17
|
-
* ProcessSpeechToTextApi - axios parameter creator
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
|
-
export declare const ProcessSpeechToTextApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
-
/**
|
|
22
|
-
* Convert speech to text
|
|
23
|
-
* @summary Convert speech to text
|
|
24
|
-
* @param {*} [options] Override http request option.
|
|
25
|
-
* @throws {RequiredError}
|
|
26
|
-
*/
|
|
27
|
-
postProcessSpeechToText: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* ProcessSpeechToTextApi - functional programming interface
|
|
31
|
-
* @export
|
|
32
|
-
*/
|
|
33
|
-
export declare const ProcessSpeechToTextApiFp: (configuration?: Configuration) => {
|
|
34
|
-
/**
|
|
35
|
-
* Convert speech to text
|
|
36
|
-
* @summary Convert speech to text
|
|
37
|
-
* @param {*} [options] Override http request option.
|
|
38
|
-
* @throws {RequiredError}
|
|
39
|
-
*/
|
|
40
|
-
postProcessSpeechToText(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* ProcessSpeechToTextApi - factory interface
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export declare const ProcessSpeechToTextApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
47
|
-
/**
|
|
48
|
-
* Convert speech to text
|
|
49
|
-
* @summary Convert speech to text
|
|
50
|
-
* @param {*} [options] Override http request option.
|
|
51
|
-
* @throws {RequiredError}
|
|
52
|
-
*/
|
|
53
|
-
postProcessSpeechToText(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* ProcessSpeechToTextApi - object-oriented interface
|
|
57
|
-
* @export
|
|
58
|
-
* @class ProcessSpeechToTextApi
|
|
59
|
-
* @extends {BaseAPI}
|
|
60
|
-
*/
|
|
61
|
-
export declare class ProcessSpeechToTextApi extends BaseAPI {
|
|
62
|
-
/**
|
|
63
|
-
* Convert speech to text
|
|
64
|
-
* @summary Convert speech to text
|
|
65
|
-
* @param {*} [options] Override http request option.
|
|
66
|
-
* @throws {RequiredError}
|
|
67
|
-
* @memberof ProcessSpeechToTextApi
|
|
68
|
-
*/
|
|
69
|
-
postProcessSpeechToText(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
|
|
70
|
-
}
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Hanzo Cloud API
|
|
6
|
-
* Composed from each subsystem\'s own projection of its router, in the fleet\'s mount order — every operation below is a route the subsystem that publishes it registered. Tagged by product: the first path segment after /v1/.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
|
-
};
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.ProcessSpeechToTextApi = exports.ProcessSpeechToTextApiFactory = exports.ProcessSpeechToTextApiFp = exports.ProcessSpeechToTextApiAxiosParamCreator = void 0;
|
|
20
|
-
const axios_1 = __importDefault(require("axios"));
|
|
21
|
-
// Some imports not used depending on template conditions
|
|
22
|
-
// @ts-ignore
|
|
23
|
-
const common_1 = require("../common");
|
|
24
|
-
// @ts-ignore
|
|
25
|
-
const base_1 = require("../base");
|
|
26
|
-
/**
|
|
27
|
-
* ProcessSpeechToTextApi - axios parameter creator
|
|
28
|
-
* @export
|
|
29
|
-
*/
|
|
30
|
-
const ProcessSpeechToTextApiAxiosParamCreator = function (configuration) {
|
|
31
|
-
return {
|
|
32
|
-
/**
|
|
33
|
-
* Convert speech to text
|
|
34
|
-
* @summary Convert speech to text
|
|
35
|
-
* @param {*} [options] Override http request option.
|
|
36
|
-
* @throws {RequiredError}
|
|
37
|
-
*/
|
|
38
|
-
postProcessSpeechToText: async (options = {}) => {
|
|
39
|
-
const localVarPath = `/v1/process-speech-to-text`;
|
|
40
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
42
|
-
let baseOptions;
|
|
43
|
-
if (configuration) {
|
|
44
|
-
baseOptions = configuration.baseOptions;
|
|
45
|
-
}
|
|
46
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
47
|
-
const localVarHeaderParameter = {};
|
|
48
|
-
const localVarQueryParameter = {};
|
|
49
|
-
// authentication bearer required
|
|
50
|
-
// http bearer authentication required
|
|
51
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
52
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
53
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
54
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
55
|
-
return {
|
|
56
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
57
|
-
options: localVarRequestOptions,
|
|
58
|
-
};
|
|
59
|
-
},
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
exports.ProcessSpeechToTextApiAxiosParamCreator = ProcessSpeechToTextApiAxiosParamCreator;
|
|
63
|
-
/**
|
|
64
|
-
* ProcessSpeechToTextApi - functional programming interface
|
|
65
|
-
* @export
|
|
66
|
-
*/
|
|
67
|
-
const ProcessSpeechToTextApiFp = function (configuration) {
|
|
68
|
-
const localVarAxiosParamCreator = (0, exports.ProcessSpeechToTextApiAxiosParamCreator)(configuration);
|
|
69
|
-
return {
|
|
70
|
-
/**
|
|
71
|
-
* Convert speech to text
|
|
72
|
-
* @summary Convert speech to text
|
|
73
|
-
* @param {*} [options] Override http request option.
|
|
74
|
-
* @throws {RequiredError}
|
|
75
|
-
*/
|
|
76
|
-
async postProcessSpeechToText(options) {
|
|
77
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postProcessSpeechToText(options);
|
|
78
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
79
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['ProcessSpeechToTextApi.postProcessSpeechToText']?.[localVarOperationServerIndex]?.url;
|
|
80
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
81
|
-
},
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
exports.ProcessSpeechToTextApiFp = ProcessSpeechToTextApiFp;
|
|
85
|
-
/**
|
|
86
|
-
* ProcessSpeechToTextApi - factory interface
|
|
87
|
-
* @export
|
|
88
|
-
*/
|
|
89
|
-
const ProcessSpeechToTextApiFactory = function (configuration, basePath, axios) {
|
|
90
|
-
const localVarFp = (0, exports.ProcessSpeechToTextApiFp)(configuration);
|
|
91
|
-
return {
|
|
92
|
-
/**
|
|
93
|
-
* Convert speech to text
|
|
94
|
-
* @summary Convert speech to text
|
|
95
|
-
* @param {*} [options] Override http request option.
|
|
96
|
-
* @throws {RequiredError}
|
|
97
|
-
*/
|
|
98
|
-
postProcessSpeechToText(options) {
|
|
99
|
-
return localVarFp.postProcessSpeechToText(options).then((request) => request(axios, basePath));
|
|
100
|
-
},
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
exports.ProcessSpeechToTextApiFactory = ProcessSpeechToTextApiFactory;
|
|
104
|
-
/**
|
|
105
|
-
* ProcessSpeechToTextApi - object-oriented interface
|
|
106
|
-
* @export
|
|
107
|
-
* @class ProcessSpeechToTextApi
|
|
108
|
-
* @extends {BaseAPI}
|
|
109
|
-
*/
|
|
110
|
-
class ProcessSpeechToTextApi extends base_1.BaseAPI {
|
|
111
|
-
/**
|
|
112
|
-
* Convert speech to text
|
|
113
|
-
* @summary Convert speech to text
|
|
114
|
-
* @param {*} [options] Override http request option.
|
|
115
|
-
* @throws {RequiredError}
|
|
116
|
-
* @memberof ProcessSpeechToTextApi
|
|
117
|
-
*/
|
|
118
|
-
postProcessSpeechToText(options) {
|
|
119
|
-
return (0, exports.ProcessSpeechToTextApiFp)(this.configuration).postProcessSpeechToText(options).then((request) => request(this.axios, this.basePath));
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
exports.ProcessSpeechToTextApi = ProcessSpeechToTextApi;
|