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/vector-api.ts
CHANGED
|
@@ -22,14 +22,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
// @ts-ignore
|
|
23
23
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
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
|
-
// @ts-ignore
|
|
33
25
|
import type { VectorCollectionList } from '../models';
|
|
34
26
|
// @ts-ignore
|
|
35
27
|
import type { VectorStats } from '../models';
|
|
@@ -39,116 +31,6 @@ import type { VectorStats } from '../models';
|
|
|
39
31
|
*/
|
|
40
32
|
export const VectorApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
41
33
|
return {
|
|
42
|
-
/**
|
|
43
|
-
* Deletes one vector collection from the shared backend and removes its metadata row. Answers 204 with no body; a second call is a 404.
|
|
44
|
-
* @summary Deletes one vector collection from the shared backend and removes its metadata row.
|
|
45
|
-
* @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.
|
|
46
|
-
* @param {*} [options] Override http request option.
|
|
47
|
-
* @throws {RequiredError}
|
|
48
|
-
*/
|
|
49
|
-
deleteVectorByName: async (name: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50
|
-
// verify required parameter 'name' is not null or undefined
|
|
51
|
-
assertParamExists('deleteVectorByName', 'name', name)
|
|
52
|
-
const localVarPath = `/v1/vector/{name}`
|
|
53
|
-
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
54
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
55
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
56
|
-
let baseOptions;
|
|
57
|
-
if (configuration) {
|
|
58
|
-
baseOptions = configuration.baseOptions;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
62
|
-
const localVarHeaderParameter = {} as any;
|
|
63
|
-
const localVarQueryParameter = {} as any;
|
|
64
|
-
|
|
65
|
-
// authentication bearer required
|
|
66
|
-
// http bearer authentication required
|
|
67
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
72
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
73
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
74
|
-
|
|
75
|
-
return {
|
|
76
|
-
url: toPathString(localVarUrlObj),
|
|
77
|
-
options: localVarRequestOptions,
|
|
78
|
-
};
|
|
79
|
-
},
|
|
80
|
-
/**
|
|
81
|
-
* Lists the caller org\'s vector collections. A collection is a logical resource inside an already-live shared backend, so every one of them is reached through the public gateway rather than at an instance of its own.
|
|
82
|
-
* @summary Lists the caller org\'s vector collections.
|
|
83
|
-
* @param {*} [options] Override http request option.
|
|
84
|
-
* @throws {RequiredError}
|
|
85
|
-
*/
|
|
86
|
-
getVector: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
87
|
-
const localVarPath = `/v1/vector`;
|
|
88
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
89
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
90
|
-
let baseOptions;
|
|
91
|
-
if (configuration) {
|
|
92
|
-
baseOptions = configuration.baseOptions;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
96
|
-
const localVarHeaderParameter = {} as any;
|
|
97
|
-
const localVarQueryParameter = {} as any;
|
|
98
|
-
|
|
99
|
-
// authentication bearer required
|
|
100
|
-
// http bearer authentication required
|
|
101
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
106
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
108
|
-
|
|
109
|
-
return {
|
|
110
|
-
url: toPathString(localVarUrlObj),
|
|
111
|
-
options: localVarRequestOptions,
|
|
112
|
-
};
|
|
113
|
-
},
|
|
114
|
-
/**
|
|
115
|
-
* Returns one vector collection\'s metadata. It carries the collection\'s status and the gateway address it is reached at, and no username: the backend authenticates with a shared, out-of-band key rather than a per-collection credential, so there is no per-resource user to report.
|
|
116
|
-
* @summary Returns one vector collection\'s metadata.
|
|
117
|
-
* @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.
|
|
118
|
-
* @param {*} [options] Override http request option.
|
|
119
|
-
* @throws {RequiredError}
|
|
120
|
-
*/
|
|
121
|
-
getVectorByName: async (name: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
122
|
-
// verify required parameter 'name' is not null or undefined
|
|
123
|
-
assertParamExists('getVectorByName', 'name', name)
|
|
124
|
-
const localVarPath = `/v1/vector/{name}`
|
|
125
|
-
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
126
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
127
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
128
|
-
let baseOptions;
|
|
129
|
-
if (configuration) {
|
|
130
|
-
baseOptions = configuration.baseOptions;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
134
|
-
const localVarHeaderParameter = {} as any;
|
|
135
|
-
const localVarQueryParameter = {} as any;
|
|
136
|
-
|
|
137
|
-
// authentication bearer required
|
|
138
|
-
// http bearer authentication required
|
|
139
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
144
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
145
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
146
|
-
|
|
147
|
-
return {
|
|
148
|
-
url: toPathString(localVarUrlObj),
|
|
149
|
-
options: localVarRequestOptions,
|
|
150
|
-
};
|
|
151
|
-
},
|
|
152
34
|
/**
|
|
153
35
|
* Lists the vector collections with their size and geometry. It reads the in-cluster Qdrant service: the collection list, then each collection\'s detail for its point count, vector dimension and distance metric. Per-collection detail is best-effort — one collection that fails to describe itself keeps its name and defaults (dimension 0, cosine) rather than blanking the whole panel — and an unreachable Qdrant answers 200 with an EMPTY list.
|
|
154
36
|
* @summary Lists the vector collections with their size and geometry.
|
|
@@ -220,44 +102,6 @@ export const VectorApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
220
102
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
221
103
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
222
104
|
|
|
223
|
-
return {
|
|
224
|
-
url: toPathString(localVarUrlObj),
|
|
225
|
-
options: localVarRequestOptions,
|
|
226
|
-
};
|
|
227
|
-
},
|
|
228
|
-
/**
|
|
229
|
-
* Creates a vector collection inside the already-running shared vector backend and answers with the endpoint that reaches it. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
230
|
-
* @summary Provision a vector collection for your org
|
|
231
|
-
* @param {ProvisionRequest} [provisionRequest]
|
|
232
|
-
* @param {*} [options] Override http request option.
|
|
233
|
-
* @throws {RequiredError}
|
|
234
|
-
*/
|
|
235
|
-
postVector: async (provisionRequest?: ProvisionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
236
|
-
const localVarPath = `/v1/vector`;
|
|
237
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
238
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
239
|
-
let baseOptions;
|
|
240
|
-
if (configuration) {
|
|
241
|
-
baseOptions = configuration.baseOptions;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
245
|
-
const localVarHeaderParameter = {} as any;
|
|
246
|
-
const localVarQueryParameter = {} as any;
|
|
247
|
-
|
|
248
|
-
// authentication bearer required
|
|
249
|
-
// http bearer authentication required
|
|
250
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
255
|
-
|
|
256
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
257
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
258
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
259
|
-
localVarRequestOptions.data = serializeDataIfNeeded(provisionRequest, localVarRequestOptions, configuration)
|
|
260
|
-
|
|
261
105
|
return {
|
|
262
106
|
url: toPathString(localVarUrlObj),
|
|
263
107
|
options: localVarRequestOptions,
|
|
@@ -273,44 +117,6 @@ export const VectorApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
273
117
|
export const VectorApiFp = function(configuration?: Configuration) {
|
|
274
118
|
const localVarAxiosParamCreator = VectorApiAxiosParamCreator(configuration)
|
|
275
119
|
return {
|
|
276
|
-
/**
|
|
277
|
-
* Deletes one vector collection from the shared backend and removes its metadata row. Answers 204 with no body; a second call is a 404.
|
|
278
|
-
* @summary Deletes one vector collection from the shared backend and removes its metadata row.
|
|
279
|
-
* @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.
|
|
280
|
-
* @param {*} [options] Override http request option.
|
|
281
|
-
* @throws {RequiredError}
|
|
282
|
-
*/
|
|
283
|
-
async deleteVectorByName(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
284
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteVectorByName(name, options);
|
|
285
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
286
|
-
const localVarOperationServerBasePath = operationServerMap['VectorApi.deleteVectorByName']?.[localVarOperationServerIndex]?.url;
|
|
287
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
288
|
-
},
|
|
289
|
-
/**
|
|
290
|
-
* Lists the caller org\'s vector collections. A collection is a logical resource inside an already-live shared backend, so every one of them is reached through the public gateway rather than at an instance of its own.
|
|
291
|
-
* @summary Lists the caller org\'s vector collections.
|
|
292
|
-
* @param {*} [options] Override http request option.
|
|
293
|
-
* @throws {RequiredError}
|
|
294
|
-
*/
|
|
295
|
-
async getVector(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisionedSummary>>> {
|
|
296
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getVector(options);
|
|
297
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
298
|
-
const localVarOperationServerBasePath = operationServerMap['VectorApi.getVector']?.[localVarOperationServerIndex]?.url;
|
|
299
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
300
|
-
},
|
|
301
|
-
/**
|
|
302
|
-
* Returns one vector collection\'s metadata. It carries the collection\'s status and the gateway address it is reached at, and no username: the backend authenticates with a shared, out-of-band key rather than a per-collection credential, so there is no per-resource user to report.
|
|
303
|
-
* @summary Returns one vector collection\'s metadata.
|
|
304
|
-
* @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.
|
|
305
|
-
* @param {*} [options] Override http request option.
|
|
306
|
-
* @throws {RequiredError}
|
|
307
|
-
*/
|
|
308
|
-
async getVectorByName(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisionedResource>> {
|
|
309
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getVectorByName(name, options);
|
|
310
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
311
|
-
const localVarOperationServerBasePath = operationServerMap['VectorApi.getVectorByName']?.[localVarOperationServerIndex]?.url;
|
|
312
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
313
|
-
},
|
|
314
120
|
/**
|
|
315
121
|
* Lists the vector collections with their size and geometry. It reads the in-cluster Qdrant service: the collection list, then each collection\'s detail for its point count, vector dimension and distance metric. Per-collection detail is best-effort — one collection that fails to describe itself keeps its name and defaults (dimension 0, cosine) rather than blanking the whole panel — and an unreachable Qdrant answers 200 with an EMPTY list.
|
|
316
122
|
* @summary Lists the vector collections with their size and geometry.
|
|
@@ -337,19 +143,6 @@ export const VectorApiFp = function(configuration?: Configuration) {
|
|
|
337
143
|
const localVarOperationServerBasePath = operationServerMap['VectorApi.getVectorStats']?.[localVarOperationServerIndex]?.url;
|
|
338
144
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
339
145
|
},
|
|
340
|
-
/**
|
|
341
|
-
* Creates a vector collection inside the already-running shared vector backend and answers with the endpoint that reaches it. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
342
|
-
* @summary Provision a vector collection for your org
|
|
343
|
-
* @param {ProvisionRequest} [provisionRequest]
|
|
344
|
-
* @param {*} [options] Override http request option.
|
|
345
|
-
* @throws {RequiredError}
|
|
346
|
-
*/
|
|
347
|
-
async postVector(provisionRequest?: ProvisionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisionResult>> {
|
|
348
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postVector(provisionRequest, options);
|
|
349
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
350
|
-
const localVarOperationServerBasePath = operationServerMap['VectorApi.postVector']?.[localVarOperationServerIndex]?.url;
|
|
351
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
352
|
-
},
|
|
353
146
|
}
|
|
354
147
|
};
|
|
355
148
|
|
|
@@ -360,35 +153,6 @@ export const VectorApiFp = function(configuration?: Configuration) {
|
|
|
360
153
|
export const VectorApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
361
154
|
const localVarFp = VectorApiFp(configuration)
|
|
362
155
|
return {
|
|
363
|
-
/**
|
|
364
|
-
* Deletes one vector collection from the shared backend and removes its metadata row. Answers 204 with no body; a second call is a 404.
|
|
365
|
-
* @summary Deletes one vector collection from the shared backend and removes its metadata row.
|
|
366
|
-
* @param {VectorApiDeleteVectorByNameRequest} requestParameters Request parameters.
|
|
367
|
-
* @param {*} [options] Override http request option.
|
|
368
|
-
* @throws {RequiredError}
|
|
369
|
-
*/
|
|
370
|
-
deleteVectorByName(requestParameters: VectorApiDeleteVectorByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
371
|
-
return localVarFp.deleteVectorByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
372
|
-
},
|
|
373
|
-
/**
|
|
374
|
-
* Lists the caller org\'s vector collections. A collection is a logical resource inside an already-live shared backend, so every one of them is reached through the public gateway rather than at an instance of its own.
|
|
375
|
-
* @summary Lists the caller org\'s vector collections.
|
|
376
|
-
* @param {*} [options] Override http request option.
|
|
377
|
-
* @throws {RequiredError}
|
|
378
|
-
*/
|
|
379
|
-
getVector(options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisionedSummary>> {
|
|
380
|
-
return localVarFp.getVector(options).then((request) => request(axios, basePath));
|
|
381
|
-
},
|
|
382
|
-
/**
|
|
383
|
-
* Returns one vector collection\'s metadata. It carries the collection\'s status and the gateway address it is reached at, and no username: the backend authenticates with a shared, out-of-band key rather than a per-collection credential, so there is no per-resource user to report.
|
|
384
|
-
* @summary Returns one vector collection\'s metadata.
|
|
385
|
-
* @param {VectorApiGetVectorByNameRequest} requestParameters Request parameters.
|
|
386
|
-
* @param {*} [options] Override http request option.
|
|
387
|
-
* @throws {RequiredError}
|
|
388
|
-
*/
|
|
389
|
-
getVectorByName(requestParameters: VectorApiGetVectorByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProvisionedResource> {
|
|
390
|
-
return localVarFp.getVectorByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
391
|
-
},
|
|
392
156
|
/**
|
|
393
157
|
* Lists the vector collections with their size and geometry. It reads the in-cluster Qdrant service: the collection list, then each collection\'s detail for its point count, vector dimension and distance metric. Per-collection detail is best-effort — one collection that fails to describe itself keeps its name and defaults (dimension 0, cosine) rather than blanking the whole panel — and an unreachable Qdrant answers 200 with an EMPTY list.
|
|
394
158
|
* @summary Lists the vector collections with their size and geometry.
|
|
@@ -409,47 +173,9 @@ export const VectorApiFactory = function (configuration?: Configuration, basePat
|
|
|
409
173
|
getVectorStats(requestParameters: VectorApiGetVectorStatsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<VectorStats> {
|
|
410
174
|
return localVarFp.getVectorStats(requestParameters.authorization, options).then((request) => request(axios, basePath));
|
|
411
175
|
},
|
|
412
|
-
/**
|
|
413
|
-
* Creates a vector collection inside the already-running shared vector backend and answers with the endpoint that reaches it. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
414
|
-
* @summary Provision a vector collection for your org
|
|
415
|
-
* @param {VectorApiPostVectorRequest} requestParameters Request parameters.
|
|
416
|
-
* @param {*} [options] Override http request option.
|
|
417
|
-
* @throws {RequiredError}
|
|
418
|
-
*/
|
|
419
|
-
postVector(requestParameters: VectorApiPostVectorRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<ProvisionResult> {
|
|
420
|
-
return localVarFp.postVector(requestParameters.provisionRequest, options).then((request) => request(axios, basePath));
|
|
421
|
-
},
|
|
422
176
|
};
|
|
423
177
|
};
|
|
424
178
|
|
|
425
|
-
/**
|
|
426
|
-
* Request parameters for deleteVectorByName operation in VectorApi.
|
|
427
|
-
* @export
|
|
428
|
-
* @interface VectorApiDeleteVectorByNameRequest
|
|
429
|
-
*/
|
|
430
|
-
export interface VectorApiDeleteVectorByNameRequest {
|
|
431
|
-
/**
|
|
432
|
-
* Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
433
|
-
* @type {string}
|
|
434
|
-
* @memberof VectorApiDeleteVectorByName
|
|
435
|
-
*/
|
|
436
|
-
readonly name: string
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
/**
|
|
440
|
-
* Request parameters for getVectorByName operation in VectorApi.
|
|
441
|
-
* @export
|
|
442
|
-
* @interface VectorApiGetVectorByNameRequest
|
|
443
|
-
*/
|
|
444
|
-
export interface VectorApiGetVectorByNameRequest {
|
|
445
|
-
/**
|
|
446
|
-
* Name is the resource\'s org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
|
|
447
|
-
* @type {string}
|
|
448
|
-
* @memberof VectorApiGetVectorByName
|
|
449
|
-
*/
|
|
450
|
-
readonly name: string
|
|
451
|
-
}
|
|
452
|
-
|
|
453
179
|
/**
|
|
454
180
|
* Request parameters for getVectorCollections operation in VectorApi.
|
|
455
181
|
* @export
|
|
@@ -478,20 +204,6 @@ export interface VectorApiGetVectorStatsRequest {
|
|
|
478
204
|
readonly authorization?: string
|
|
479
205
|
}
|
|
480
206
|
|
|
481
|
-
/**
|
|
482
|
-
* Request parameters for postVector operation in VectorApi.
|
|
483
|
-
* @export
|
|
484
|
-
* @interface VectorApiPostVectorRequest
|
|
485
|
-
*/
|
|
486
|
-
export interface VectorApiPostVectorRequest {
|
|
487
|
-
/**
|
|
488
|
-
*
|
|
489
|
-
* @type {ProvisionRequest}
|
|
490
|
-
* @memberof VectorApiPostVector
|
|
491
|
-
*/
|
|
492
|
-
readonly provisionRequest?: ProvisionRequest
|
|
493
|
-
}
|
|
494
|
-
|
|
495
207
|
/**
|
|
496
208
|
* VectorApi - object-oriented interface
|
|
497
209
|
* @export
|
|
@@ -499,41 +211,6 @@ export interface VectorApiPostVectorRequest {
|
|
|
499
211
|
* @extends {BaseAPI}
|
|
500
212
|
*/
|
|
501
213
|
export class VectorApi extends BaseAPI {
|
|
502
|
-
/**
|
|
503
|
-
* Deletes one vector collection from the shared backend and removes its metadata row. Answers 204 with no body; a second call is a 404.
|
|
504
|
-
* @summary Deletes one vector collection from the shared backend and removes its metadata row.
|
|
505
|
-
* @param {VectorApiDeleteVectorByNameRequest} requestParameters Request parameters.
|
|
506
|
-
* @param {*} [options] Override http request option.
|
|
507
|
-
* @throws {RequiredError}
|
|
508
|
-
* @memberof VectorApi
|
|
509
|
-
*/
|
|
510
|
-
public deleteVectorByName(requestParameters: VectorApiDeleteVectorByNameRequest, options?: RawAxiosRequestConfig) {
|
|
511
|
-
return VectorApiFp(this.configuration).deleteVectorByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
/**
|
|
515
|
-
* Lists the caller org\'s vector collections. A collection is a logical resource inside an already-live shared backend, so every one of them is reached through the public gateway rather than at an instance of its own.
|
|
516
|
-
* @summary Lists the caller org\'s vector collections.
|
|
517
|
-
* @param {*} [options] Override http request option.
|
|
518
|
-
* @throws {RequiredError}
|
|
519
|
-
* @memberof VectorApi
|
|
520
|
-
*/
|
|
521
|
-
public getVector(options?: RawAxiosRequestConfig) {
|
|
522
|
-
return VectorApiFp(this.configuration).getVector(options).then((request) => request(this.axios, this.basePath));
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
/**
|
|
526
|
-
* Returns one vector collection\'s metadata. It carries the collection\'s status and the gateway address it is reached at, and no username: the backend authenticates with a shared, out-of-band key rather than a per-collection credential, so there is no per-resource user to report.
|
|
527
|
-
* @summary Returns one vector collection\'s metadata.
|
|
528
|
-
* @param {VectorApiGetVectorByNameRequest} requestParameters Request parameters.
|
|
529
|
-
* @param {*} [options] Override http request option.
|
|
530
|
-
* @throws {RequiredError}
|
|
531
|
-
* @memberof VectorApi
|
|
532
|
-
*/
|
|
533
|
-
public getVectorByName(requestParameters: VectorApiGetVectorByNameRequest, options?: RawAxiosRequestConfig) {
|
|
534
|
-
return VectorApiFp(this.configuration).getVectorByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
535
|
-
}
|
|
536
|
-
|
|
537
214
|
/**
|
|
538
215
|
* Lists the vector collections with their size and geometry. It reads the in-cluster Qdrant service: the collection list, then each collection\'s detail for its point count, vector dimension and distance metric. Per-collection detail is best-effort — one collection that fails to describe itself keeps its name and defaults (dimension 0, cosine) rather than blanking the whole panel — and an unreachable Qdrant answers 200 with an EMPTY list.
|
|
539
216
|
* @summary Lists the vector collections with their size and geometry.
|
|
@@ -557,17 +234,5 @@ export class VectorApi extends BaseAPI {
|
|
|
557
234
|
public getVectorStats(requestParameters: VectorApiGetVectorStatsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
558
235
|
return VectorApiFp(this.configuration).getVectorStats(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
559
236
|
}
|
|
560
|
-
|
|
561
|
-
/**
|
|
562
|
-
* Creates a vector collection inside the already-running shared vector backend and answers with the endpoint that reaches it. `name` is the org-unique slug every physical name derives from, and must match ^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$. `instance` optionally BINDS the add-on to one of your app instances: the DSN is injected into that instance\'s addons secret as <KIND>_URL, switching the app off its built-in store and onto this one. Omit it and the connection string is yours to wire. THE CREDENTIAL COMES BACK ONCE. The connection string and password are in this response and nowhere else — every read beside it omits the password — so a caller that does not keep them has to provision again. Where KMS is configured the password is sealed there and only a reference is persisted; where it is not, it is returned this once and stored nowhere. It is never held in plaintext. Scoped to the caller\'s validated org (403 without one), which also namespaces the physical resource under a fixed-width hash, so two tenants can never fold onto one backend resource — a residual collision fails closed with 409 rather than silently sharing. A name already taken in your org is 409; an invalid name or instance slug is 400; a backend that refuses the create is 502. Where a later step fails after the backend resource already exists, it is torn back down rather than left orphaned. Billing is gated BEFORE anything is created: an unfunded org — or, in the fail-closed default, an unreachable meter — gets the fleet-wide 402/503 and nothing is provisioned. The fee is per-kind and set by the deployment.
|
|
563
|
-
* @summary Provision a vector collection for your org
|
|
564
|
-
* @param {VectorApiPostVectorRequest} requestParameters Request parameters.
|
|
565
|
-
* @param {*} [options] Override http request option.
|
|
566
|
-
* @throws {RequiredError}
|
|
567
|
-
* @memberof VectorApi
|
|
568
|
-
*/
|
|
569
|
-
public postVector(requestParameters: VectorApiPostVectorRequest = {}, options?: RawAxiosRequestConfig) {
|
|
570
|
-
return VectorApiFp(this.configuration).postVector(requestParameters.provisionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
571
|
-
}
|
|
572
237
|
}
|
|
573
238
|
|
package/src/api/videos-api.ts
CHANGED
|
@@ -30,11 +30,15 @@ export const VideosApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
30
30
|
/**
|
|
31
31
|
* Implements GET /v1/videos/{id} — poll a job\'s status. It authenticates the caller, verifies they OWN the job (the caller\'s billing subject must equal the job\'s), performs ONE upstream status poll, and — the first time the job is observed completed — settles the reservation with the actual cost and records the billable usage event (exactly once). Returns the OpenAI-shaped video object.
|
|
32
32
|
* @summary Implements GET /v1/videos/{id} — poll a job\'s status.
|
|
33
|
+
* @param {string} id
|
|
33
34
|
* @param {*} [options] Override http request option.
|
|
34
35
|
* @throws {RequiredError}
|
|
35
36
|
*/
|
|
36
|
-
getVideosById: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37
|
-
|
|
37
|
+
getVideosById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38
|
+
// verify required parameter 'id' is not null or undefined
|
|
39
|
+
assertParamExists('getVideosById', 'id', id)
|
|
40
|
+
const localVarPath = `/v1/videos/{id}`
|
|
41
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
38
42
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39
43
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40
44
|
let baseOptions;
|
|
@@ -64,11 +68,15 @@ export const VideosApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
64
68
|
/**
|
|
65
69
|
* Implements GET /v1/videos/{id}/content — download the finished MP4. It authenticates + ownership-checks the caller, then proxies the upstream /content endpoint (bounded by the download concurrency ceiling) and streams the raw video bytes back inline. A successful download also bills the job once (for the client that downloads without first polling to completion) — idempotent with the poll path via job.markCompleted.
|
|
66
70
|
* @summary Implements GET /v1/videos/{id}/content — download the finished MP4.
|
|
71
|
+
* @param {string} id
|
|
67
72
|
* @param {*} [options] Override http request option.
|
|
68
73
|
* @throws {RequiredError}
|
|
69
74
|
*/
|
|
70
|
-
getVideosByIdContent: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
71
|
-
|
|
75
|
+
getVideosByIdContent: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
76
|
+
// verify required parameter 'id' is not null or undefined
|
|
77
|
+
assertParamExists('getVideosByIdContent', 'id', id)
|
|
78
|
+
const localVarPath = `/v1/videos/{id}/content`
|
|
79
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
72
80
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
73
81
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
74
82
|
let baseOptions;
|
|
@@ -142,11 +150,12 @@ export const VideosApiFp = function(configuration?: Configuration) {
|
|
|
142
150
|
/**
|
|
143
151
|
* Implements GET /v1/videos/{id} — poll a job\'s status. It authenticates the caller, verifies they OWN the job (the caller\'s billing subject must equal the job\'s), performs ONE upstream status poll, and — the first time the job is observed completed — settles the reservation with the actual cost and records the billable usage event (exactly once). Returns the OpenAI-shaped video object.
|
|
144
152
|
* @summary Implements GET /v1/videos/{id} — poll a job\'s status.
|
|
153
|
+
* @param {string} id
|
|
145
154
|
* @param {*} [options] Override http request option.
|
|
146
155
|
* @throws {RequiredError}
|
|
147
156
|
*/
|
|
148
|
-
async getVideosById(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
149
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getVideosById(options);
|
|
157
|
+
async getVideosById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
158
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getVideosById(id, options);
|
|
150
159
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
151
160
|
const localVarOperationServerBasePath = operationServerMap['VideosApi.getVideosById']?.[localVarOperationServerIndex]?.url;
|
|
152
161
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -154,11 +163,12 @@ export const VideosApiFp = function(configuration?: Configuration) {
|
|
|
154
163
|
/**
|
|
155
164
|
* Implements GET /v1/videos/{id}/content — download the finished MP4. It authenticates + ownership-checks the caller, then proxies the upstream /content endpoint (bounded by the download concurrency ceiling) and streams the raw video bytes back inline. A successful download also bills the job once (for the client that downloads without first polling to completion) — idempotent with the poll path via job.markCompleted.
|
|
156
165
|
* @summary Implements GET /v1/videos/{id}/content — download the finished MP4.
|
|
166
|
+
* @param {string} id
|
|
157
167
|
* @param {*} [options] Override http request option.
|
|
158
168
|
* @throws {RequiredError}
|
|
159
169
|
*/
|
|
160
|
-
async getVideosByIdContent(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
161
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getVideosByIdContent(options);
|
|
170
|
+
async getVideosByIdContent(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
171
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getVideosByIdContent(id, options);
|
|
162
172
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
163
173
|
const localVarOperationServerBasePath = operationServerMap['VideosApi.getVideosByIdContent']?.[localVarOperationServerIndex]?.url;
|
|
164
174
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -188,20 +198,22 @@ export const VideosApiFactory = function (configuration?: Configuration, basePat
|
|
|
188
198
|
/**
|
|
189
199
|
* Implements GET /v1/videos/{id} — poll a job\'s status. It authenticates the caller, verifies they OWN the job (the caller\'s billing subject must equal the job\'s), performs ONE upstream status poll, and — the first time the job is observed completed — settles the reservation with the actual cost and records the billable usage event (exactly once). Returns the OpenAI-shaped video object.
|
|
190
200
|
* @summary Implements GET /v1/videos/{id} — poll a job\'s status.
|
|
201
|
+
* @param {VideosApiGetVideosByIdRequest} requestParameters Request parameters.
|
|
191
202
|
* @param {*} [options] Override http request option.
|
|
192
203
|
* @throws {RequiredError}
|
|
193
204
|
*/
|
|
194
|
-
getVideosById(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
195
|
-
return localVarFp.getVideosById(options).then((request) => request(axios, basePath));
|
|
205
|
+
getVideosById(requestParameters: VideosApiGetVideosByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
206
|
+
return localVarFp.getVideosById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
196
207
|
},
|
|
197
208
|
/**
|
|
198
209
|
* Implements GET /v1/videos/{id}/content — download the finished MP4. It authenticates + ownership-checks the caller, then proxies the upstream /content endpoint (bounded by the download concurrency ceiling) and streams the raw video bytes back inline. A successful download also bills the job once (for the client that downloads without first polling to completion) — idempotent with the poll path via job.markCompleted.
|
|
199
210
|
* @summary Implements GET /v1/videos/{id}/content — download the finished MP4.
|
|
211
|
+
* @param {VideosApiGetVideosByIdContentRequest} requestParameters Request parameters.
|
|
200
212
|
* @param {*} [options] Override http request option.
|
|
201
213
|
* @throws {RequiredError}
|
|
202
214
|
*/
|
|
203
|
-
getVideosByIdContent(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
204
|
-
return localVarFp.getVideosByIdContent(options).then((request) => request(axios, basePath));
|
|
215
|
+
getVideosByIdContent(requestParameters: VideosApiGetVideosByIdContentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
216
|
+
return localVarFp.getVideosByIdContent(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
205
217
|
},
|
|
206
218
|
/**
|
|
207
219
|
* Implements POST /v1/videos/generations — the ASYNC create. Body: {\"model\": \"...\", \"prompt\": \"...\", \"size\"?: \"1280x720\", \"seconds\"?: int} It authenticates the caller, resolves the model to its upstream provider via the shared routing table (zen3-video* / wan2-2-t2v-a14b → the spark-video backend), reserves the per-video budget (the balance gate), creates ONE upstream job, registers it in the in-pod store, and returns the OpenAI-shaped video object with status \"queued\" IMMEDIATELY. The client then polls GET /v1/videos/{id} and downloads GET /v1/videos/{id}/content. Nothing is billed here — the debit lands on completion.
|
|
@@ -215,6 +227,34 @@ export const VideosApiFactory = function (configuration?: Configuration, basePat
|
|
|
215
227
|
};
|
|
216
228
|
};
|
|
217
229
|
|
|
230
|
+
/**
|
|
231
|
+
* Request parameters for getVideosById operation in VideosApi.
|
|
232
|
+
* @export
|
|
233
|
+
* @interface VideosApiGetVideosByIdRequest
|
|
234
|
+
*/
|
|
235
|
+
export interface VideosApiGetVideosByIdRequest {
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* @type {string}
|
|
239
|
+
* @memberof VideosApiGetVideosById
|
|
240
|
+
*/
|
|
241
|
+
readonly id: string
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Request parameters for getVideosByIdContent operation in VideosApi.
|
|
246
|
+
* @export
|
|
247
|
+
* @interface VideosApiGetVideosByIdContentRequest
|
|
248
|
+
*/
|
|
249
|
+
export interface VideosApiGetVideosByIdContentRequest {
|
|
250
|
+
/**
|
|
251
|
+
*
|
|
252
|
+
* @type {string}
|
|
253
|
+
* @memberof VideosApiGetVideosByIdContent
|
|
254
|
+
*/
|
|
255
|
+
readonly id: string
|
|
256
|
+
}
|
|
257
|
+
|
|
218
258
|
/**
|
|
219
259
|
* VideosApi - object-oriented interface
|
|
220
260
|
* @export
|
|
@@ -225,23 +265,25 @@ export class VideosApi extends BaseAPI {
|
|
|
225
265
|
/**
|
|
226
266
|
* Implements GET /v1/videos/{id} — poll a job\'s status. It authenticates the caller, verifies they OWN the job (the caller\'s billing subject must equal the job\'s), performs ONE upstream status poll, and — the first time the job is observed completed — settles the reservation with the actual cost and records the billable usage event (exactly once). Returns the OpenAI-shaped video object.
|
|
227
267
|
* @summary Implements GET /v1/videos/{id} — poll a job\'s status.
|
|
268
|
+
* @param {VideosApiGetVideosByIdRequest} requestParameters Request parameters.
|
|
228
269
|
* @param {*} [options] Override http request option.
|
|
229
270
|
* @throws {RequiredError}
|
|
230
271
|
* @memberof VideosApi
|
|
231
272
|
*/
|
|
232
|
-
public getVideosById(options?: RawAxiosRequestConfig) {
|
|
233
|
-
return VideosApiFp(this.configuration).getVideosById(options).then((request) => request(this.axios, this.basePath));
|
|
273
|
+
public getVideosById(requestParameters: VideosApiGetVideosByIdRequest, options?: RawAxiosRequestConfig) {
|
|
274
|
+
return VideosApiFp(this.configuration).getVideosById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
234
275
|
}
|
|
235
276
|
|
|
236
277
|
/**
|
|
237
278
|
* Implements GET /v1/videos/{id}/content — download the finished MP4. It authenticates + ownership-checks the caller, then proxies the upstream /content endpoint (bounded by the download concurrency ceiling) and streams the raw video bytes back inline. A successful download also bills the job once (for the client that downloads without first polling to completion) — idempotent with the poll path via job.markCompleted.
|
|
238
279
|
* @summary Implements GET /v1/videos/{id}/content — download the finished MP4.
|
|
280
|
+
* @param {VideosApiGetVideosByIdContentRequest} requestParameters Request parameters.
|
|
239
281
|
* @param {*} [options] Override http request option.
|
|
240
282
|
* @throws {RequiredError}
|
|
241
283
|
* @memberof VideosApi
|
|
242
284
|
*/
|
|
243
|
-
public getVideosByIdContent(options?: RawAxiosRequestConfig) {
|
|
244
|
-
return VideosApiFp(this.configuration).getVideosByIdContent(options).then((request) => request(this.axios, this.basePath));
|
|
285
|
+
public getVideosByIdContent(requestParameters: VideosApiGetVideosByIdContentRequest, options?: RawAxiosRequestConfig) {
|
|
286
|
+
return VideosApiFp(this.configuration).getVideosByIdContent(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
245
287
|
}
|
|
246
288
|
|
|
247
289
|
/**
|