hanzoai 2.2.10 → 8.5.89
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/billing-api.ts
CHANGED
|
@@ -386,6 +386,40 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
386
386
|
|
|
387
387
|
|
|
388
388
|
|
|
389
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
390
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
391
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
392
|
+
|
|
393
|
+
return {
|
|
394
|
+
url: toPathString(localVarUrlObj),
|
|
395
|
+
options: localVarRequestOptions,
|
|
396
|
+
};
|
|
397
|
+
},
|
|
398
|
+
/**
|
|
399
|
+
* Returns the same balance /v1/billing/credit-balance reports, split by the tag each grant carries, so a reader can tell trial credit from bought credit and show the earliest expiry within each group. A console needs the split to say what will lapse and when; the single number cannot. The subject is pinned to the caller before the handler runs, exactly as in the sibling reads, so the userId parameter can never name another tenant. A subject with no grants is an empty breakdown and a zero total, which is an answer and not an error.
|
|
400
|
+
* @summary What is left of your credit, grouped by where it came from
|
|
401
|
+
* @param {*} [options] Override http request option.
|
|
402
|
+
* @throws {RequiredError}
|
|
403
|
+
*/
|
|
404
|
+
getBillingCreditBalanceBreakdown: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
405
|
+
const localVarPath = `/v1/billing/credit-balance/breakdown`;
|
|
406
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
407
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
408
|
+
let baseOptions;
|
|
409
|
+
if (configuration) {
|
|
410
|
+
baseOptions = configuration.baseOptions;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
414
|
+
const localVarHeaderParameter = {} as any;
|
|
415
|
+
const localVarQueryParameter = {} as any;
|
|
416
|
+
|
|
417
|
+
// authentication bearer required
|
|
418
|
+
// http bearer authentication required
|
|
419
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
389
423
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
390
424
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
391
425
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -904,6 +938,40 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
904
938
|
|
|
905
939
|
|
|
906
940
|
|
|
941
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
942
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
943
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
944
|
+
|
|
945
|
+
return {
|
|
946
|
+
url: toPathString(localVarUrlObj),
|
|
947
|
+
options: localVarRequestOptions,
|
|
948
|
+
};
|
|
949
|
+
},
|
|
950
|
+
/**
|
|
951
|
+
* Answers the one read the account page renders: the subject\'s resolved plan, the plan\'s included monthly allotment beside what was actually granted this period, consumption capped at that grant, the overage past it, and the spendable wallet (balance minus holds) — all for the current UTC month, every figure derived from the same transactions the gateway\'s balance gate reads, so this read can never disagree with the gate that admits the next call. It rides the same pinned chain as the sibling reads: the user parameter is overwritten with the validated caller\'s own billing subject before the handler runs, so it can never name another tenant; user is required, which only a service-to-service caller can omit and be refused 400 for, and plan is optional — omitted, it is resolved from the subject\'s subscription. The rule to get right is that the two sides are DIFFERENT MONEY: the included figures are usage the subscription grants and the wallet is prepaid credit the customer bought, so a reader who sums them invents a balance nobody holds — and before the period\'s first allotment grant runs, monthlyCents shows the plan\'s entitlement while grantedCents is zero, which is the figure consumption actually draws down.
|
|
952
|
+
* @summary What plan you are on and how much of it is left, beside the wallet
|
|
953
|
+
* @param {*} [options] Override http request option.
|
|
954
|
+
* @throws {RequiredError}
|
|
955
|
+
*/
|
|
956
|
+
getBillingUsageRollup: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
957
|
+
const localVarPath = `/v1/billing/usage/rollup`;
|
|
958
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
959
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
960
|
+
let baseOptions;
|
|
961
|
+
if (configuration) {
|
|
962
|
+
baseOptions = configuration.baseOptions;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
966
|
+
const localVarHeaderParameter = {} as any;
|
|
967
|
+
const localVarQueryParameter = {} as any;
|
|
968
|
+
|
|
969
|
+
// authentication bearer required
|
|
970
|
+
// http bearer authentication required
|
|
971
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
972
|
+
|
|
973
|
+
|
|
974
|
+
|
|
907
975
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
908
976
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
909
977
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1694,6 +1762,18 @@ export const BillingApiFp = function(configuration?: Configuration) {
|
|
|
1694
1762
|
const localVarOperationServerBasePath = operationServerMap['BillingApi.getBillingCreditBalance']?.[localVarOperationServerIndex]?.url;
|
|
1695
1763
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1696
1764
|
},
|
|
1765
|
+
/**
|
|
1766
|
+
* Returns the same balance /v1/billing/credit-balance reports, split by the tag each grant carries, so a reader can tell trial credit from bought credit and show the earliest expiry within each group. A console needs the split to say what will lapse and when; the single number cannot. The subject is pinned to the caller before the handler runs, exactly as in the sibling reads, so the userId parameter can never name another tenant. A subject with no grants is an empty breakdown and a zero total, which is an answer and not an error.
|
|
1767
|
+
* @summary What is left of your credit, grouped by where it came from
|
|
1768
|
+
* @param {*} [options] Override http request option.
|
|
1769
|
+
* @throws {RequiredError}
|
|
1770
|
+
*/
|
|
1771
|
+
async getBillingCreditBalanceBreakdown(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1772
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBillingCreditBalanceBreakdown(options);
|
|
1773
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1774
|
+
const localVarOperationServerBasePath = operationServerMap['BillingApi.getBillingCreditBalanceBreakdown']?.[localVarOperationServerIndex]?.url;
|
|
1775
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1776
|
+
},
|
|
1697
1777
|
/**
|
|
1698
1778
|
* Returns the caller org\'s credit grants — each with its original amount, what remains and when it expires — so a customer can see what was given and what is left before metered spend draws it down. It is a READ of the caller\'s own subject, pinned before the handler runs, so a grant belonging to another tenant is simply absent. Granting credit is not this route and never has been: minting lands on the mint-gated POST /v1/billing/credit, which no browser can reach. Reading an empty balance is an empty array, not an error.
|
|
1699
1779
|
* @summary List the credit grants on your org\'s balance
|
|
@@ -1876,6 +1956,18 @@ export const BillingApiFp = function(configuration?: Configuration) {
|
|
|
1876
1956
|
const localVarOperationServerBasePath = operationServerMap['BillingApi.getBillingUsageAccounts']?.[localVarOperationServerIndex]?.url;
|
|
1877
1957
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1878
1958
|
},
|
|
1959
|
+
/**
|
|
1960
|
+
* Answers the one read the account page renders: the subject\'s resolved plan, the plan\'s included monthly allotment beside what was actually granted this period, consumption capped at that grant, the overage past it, and the spendable wallet (balance minus holds) — all for the current UTC month, every figure derived from the same transactions the gateway\'s balance gate reads, so this read can never disagree with the gate that admits the next call. It rides the same pinned chain as the sibling reads: the user parameter is overwritten with the validated caller\'s own billing subject before the handler runs, so it can never name another tenant; user is required, which only a service-to-service caller can omit and be refused 400 for, and plan is optional — omitted, it is resolved from the subject\'s subscription. The rule to get right is that the two sides are DIFFERENT MONEY: the included figures are usage the subscription grants and the wallet is prepaid credit the customer bought, so a reader who sums them invents a balance nobody holds — and before the period\'s first allotment grant runs, monthlyCents shows the plan\'s entitlement while grantedCents is zero, which is the figure consumption actually draws down.
|
|
1961
|
+
* @summary What plan you are on and how much of it is left, beside the wallet
|
|
1962
|
+
* @param {*} [options] Override http request option.
|
|
1963
|
+
* @throws {RequiredError}
|
|
1964
|
+
*/
|
|
1965
|
+
async getBillingUsageRollup(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1966
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBillingUsageRollup(options);
|
|
1967
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1968
|
+
const localVarOperationServerBasePath = operationServerMap['BillingApi.getBillingUsageRollup']?.[localVarOperationServerIndex]?.url;
|
|
1969
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1970
|
+
},
|
|
1879
1971
|
/**
|
|
1880
1972
|
* Answers the receiving bank details for the brand this deployment serves — the account the funds actually land in, hydrated per brand rather than hard-coded — together with the payment reference to put on the transfer. THE REFERENCE IS THE POINT. It carries your own billing key, and it is how an arriving wire is attributed to your account; a transfer sent without it arrives as an unidentified receipt. That is why this read is gated at all: an unpinned caller would be handed an unattributable reference. Reading it credits nothing and reserves nothing. A wire is settled by an operator when the bank shows the funds, so the balance moves on receipt, not on this call.
|
|
1881
1973
|
* @summary Where to wire funds, and the reference that credits them to you
|
|
@@ -2205,6 +2297,15 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
|
|
|
2205
2297
|
getBillingCreditBalance(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2206
2298
|
return localVarFp.getBillingCreditBalance(options).then((request) => request(axios, basePath));
|
|
2207
2299
|
},
|
|
2300
|
+
/**
|
|
2301
|
+
* Returns the same balance /v1/billing/credit-balance reports, split by the tag each grant carries, so a reader can tell trial credit from bought credit and show the earliest expiry within each group. A console needs the split to say what will lapse and when; the single number cannot. The subject is pinned to the caller before the handler runs, exactly as in the sibling reads, so the userId parameter can never name another tenant. A subject with no grants is an empty breakdown and a zero total, which is an answer and not an error.
|
|
2302
|
+
* @summary What is left of your credit, grouped by where it came from
|
|
2303
|
+
* @param {*} [options] Override http request option.
|
|
2304
|
+
* @throws {RequiredError}
|
|
2305
|
+
*/
|
|
2306
|
+
getBillingCreditBalanceBreakdown(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2307
|
+
return localVarFp.getBillingCreditBalanceBreakdown(options).then((request) => request(axios, basePath));
|
|
2308
|
+
},
|
|
2208
2309
|
/**
|
|
2209
2310
|
* Returns the caller org\'s credit grants — each with its original amount, what remains and when it expires — so a customer can see what was given and what is left before metered spend draws it down. It is a READ of the caller\'s own subject, pinned before the handler runs, so a grant belonging to another tenant is simply absent. Granting credit is not this route and never has been: minting lands on the mint-gated POST /v1/billing/credit, which no browser can reach. Reading an empty balance is an empty array, not an error.
|
|
2210
2311
|
* @summary List the credit grants on your org\'s balance
|
|
@@ -2342,6 +2443,15 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
|
|
|
2342
2443
|
getBillingUsageAccounts(options?: RawAxiosRequestConfig): AxiosPromise<Accounts> {
|
|
2343
2444
|
return localVarFp.getBillingUsageAccounts(options).then((request) => request(axios, basePath));
|
|
2344
2445
|
},
|
|
2446
|
+
/**
|
|
2447
|
+
* Answers the one read the account page renders: the subject\'s resolved plan, the plan\'s included monthly allotment beside what was actually granted this period, consumption capped at that grant, the overage past it, and the spendable wallet (balance minus holds) — all for the current UTC month, every figure derived from the same transactions the gateway\'s balance gate reads, so this read can never disagree with the gate that admits the next call. It rides the same pinned chain as the sibling reads: the user parameter is overwritten with the validated caller\'s own billing subject before the handler runs, so it can never name another tenant; user is required, which only a service-to-service caller can omit and be refused 400 for, and plan is optional — omitted, it is resolved from the subject\'s subscription. The rule to get right is that the two sides are DIFFERENT MONEY: the included figures are usage the subscription grants and the wallet is prepaid credit the customer bought, so a reader who sums them invents a balance nobody holds — and before the period\'s first allotment grant runs, monthlyCents shows the plan\'s entitlement while grantedCents is zero, which is the figure consumption actually draws down.
|
|
2448
|
+
* @summary What plan you are on and how much of it is left, beside the wallet
|
|
2449
|
+
* @param {*} [options] Override http request option.
|
|
2450
|
+
* @throws {RequiredError}
|
|
2451
|
+
*/
|
|
2452
|
+
getBillingUsageRollup(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2453
|
+
return localVarFp.getBillingUsageRollup(options).then((request) => request(axios, basePath));
|
|
2454
|
+
},
|
|
2345
2455
|
/**
|
|
2346
2456
|
* Answers the receiving bank details for the brand this deployment serves — the account the funds actually land in, hydrated per brand rather than hard-coded — together with the payment reference to put on the transfer. THE REFERENCE IS THE POINT. It carries your own billing key, and it is how an arriving wire is attributed to your account; a transfer sent without it arrives as an unidentified receipt. That is why this read is gated at all: an unpinned caller would be handed an unattributable reference. Reading it credits nothing and reserves nothing. A wire is settled by an operator when the bank shows the funds, so the balance moves on receipt, not on this call.
|
|
2347
2457
|
* @summary Where to wire funds, and the reference that credits them to you
|
|
@@ -2847,6 +2957,17 @@ export class BillingApi extends BaseAPI {
|
|
|
2847
2957
|
return BillingApiFp(this.configuration).getBillingCreditBalance(options).then((request) => request(this.axios, this.basePath));
|
|
2848
2958
|
}
|
|
2849
2959
|
|
|
2960
|
+
/**
|
|
2961
|
+
* Returns the same balance /v1/billing/credit-balance reports, split by the tag each grant carries, so a reader can tell trial credit from bought credit and show the earliest expiry within each group. A console needs the split to say what will lapse and when; the single number cannot. The subject is pinned to the caller before the handler runs, exactly as in the sibling reads, so the userId parameter can never name another tenant. A subject with no grants is an empty breakdown and a zero total, which is an answer and not an error.
|
|
2962
|
+
* @summary What is left of your credit, grouped by where it came from
|
|
2963
|
+
* @param {*} [options] Override http request option.
|
|
2964
|
+
* @throws {RequiredError}
|
|
2965
|
+
* @memberof BillingApi
|
|
2966
|
+
*/
|
|
2967
|
+
public getBillingCreditBalanceBreakdown(options?: RawAxiosRequestConfig) {
|
|
2968
|
+
return BillingApiFp(this.configuration).getBillingCreditBalanceBreakdown(options).then((request) => request(this.axios, this.basePath));
|
|
2969
|
+
}
|
|
2970
|
+
|
|
2850
2971
|
/**
|
|
2851
2972
|
* Returns the caller org\'s credit grants — each with its original amount, what remains and when it expires — so a customer can see what was given and what is left before metered spend draws it down. It is a READ of the caller\'s own subject, pinned before the handler runs, so a grant belonging to another tenant is simply absent. Granting credit is not this route and never has been: minting lands on the mint-gated POST /v1/billing/credit, which no browser can reach. Reading an empty balance is an empty array, not an error.
|
|
2852
2973
|
* @summary List the credit grants on your org\'s balance
|
|
@@ -3014,6 +3135,17 @@ export class BillingApi extends BaseAPI {
|
|
|
3014
3135
|
return BillingApiFp(this.configuration).getBillingUsageAccounts(options).then((request) => request(this.axios, this.basePath));
|
|
3015
3136
|
}
|
|
3016
3137
|
|
|
3138
|
+
/**
|
|
3139
|
+
* Answers the one read the account page renders: the subject\'s resolved plan, the plan\'s included monthly allotment beside what was actually granted this period, consumption capped at that grant, the overage past it, and the spendable wallet (balance minus holds) — all for the current UTC month, every figure derived from the same transactions the gateway\'s balance gate reads, so this read can never disagree with the gate that admits the next call. It rides the same pinned chain as the sibling reads: the user parameter is overwritten with the validated caller\'s own billing subject before the handler runs, so it can never name another tenant; user is required, which only a service-to-service caller can omit and be refused 400 for, and plan is optional — omitted, it is resolved from the subject\'s subscription. The rule to get right is that the two sides are DIFFERENT MONEY: the included figures are usage the subscription grants and the wallet is prepaid credit the customer bought, so a reader who sums them invents a balance nobody holds — and before the period\'s first allotment grant runs, monthlyCents shows the plan\'s entitlement while grantedCents is zero, which is the figure consumption actually draws down.
|
|
3140
|
+
* @summary What plan you are on and how much of it is left, beside the wallet
|
|
3141
|
+
* @param {*} [options] Override http request option.
|
|
3142
|
+
* @throws {RequiredError}
|
|
3143
|
+
* @memberof BillingApi
|
|
3144
|
+
*/
|
|
3145
|
+
public getBillingUsageRollup(options?: RawAxiosRequestConfig) {
|
|
3146
|
+
return BillingApiFp(this.configuration).getBillingUsageRollup(options).then((request) => request(this.axios, this.basePath));
|
|
3147
|
+
}
|
|
3148
|
+
|
|
3017
3149
|
/**
|
|
3018
3150
|
* Answers the receiving bank details for the brand this deployment serves — the account the funds actually land in, hydrated per brand rather than hard-coded — together with the payment reference to put on the transfer. THE REFERENCE IS THE POINT. It carries your own billing key, and it is how an arriving wire is attributed to your account; a transfer sent without it arrives as an unidentified receipt. That is why this read is gated at all: an unpinned caller would be handed an unattributable reference. Reading it credits nothing and reserves nothing. A wire is settled by an operator when the bank shows the funds, so the balance moves on receipt, not on this call.
|
|
3019
3151
|
* @summary Where to wire funds, and the reference that credits them to you
|
package/src/api/chat-api.ts
CHANGED
|
@@ -86,6 +86,40 @@ export const ChatApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
|
|
89
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
90
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
91
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
92
|
+
|
|
93
|
+
return {
|
|
94
|
+
url: toPathString(localVarUrlObj),
|
|
95
|
+
options: localVarRequestOptions,
|
|
96
|
+
};
|
|
97
|
+
},
|
|
98
|
+
/**
|
|
99
|
+
* Serves one completion to a caller with no account.
|
|
100
|
+
* @summary Serves one completion to a caller with no account.
|
|
101
|
+
* @param {*} [options] Override http request option.
|
|
102
|
+
* @throws {RequiredError}
|
|
103
|
+
*/
|
|
104
|
+
postChatPublic: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
105
|
+
const localVarPath = `/v1/chat/public`;
|
|
106
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
107
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
108
|
+
let baseOptions;
|
|
109
|
+
if (configuration) {
|
|
110
|
+
baseOptions = configuration.baseOptions;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
114
|
+
const localVarHeaderParameter = {} as any;
|
|
115
|
+
const localVarQueryParameter = {} as any;
|
|
116
|
+
|
|
117
|
+
// authentication bearer required
|
|
118
|
+
// http bearer authentication required
|
|
119
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
89
123
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
90
124
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
91
125
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -129,6 +163,18 @@ export const ChatApiFp = function(configuration?: Configuration) {
|
|
|
129
163
|
const localVarOperationServerBasePath = operationServerMap['ChatApi.postChatCompletions']?.[localVarOperationServerIndex]?.url;
|
|
130
164
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
131
165
|
},
|
|
166
|
+
/**
|
|
167
|
+
* Serves one completion to a caller with no account.
|
|
168
|
+
* @summary Serves one completion to a caller with no account.
|
|
169
|
+
* @param {*} [options] Override http request option.
|
|
170
|
+
* @throws {RequiredError}
|
|
171
|
+
*/
|
|
172
|
+
async postChatPublic(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
173
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postChatPublic(options);
|
|
174
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
175
|
+
const localVarOperationServerBasePath = operationServerMap['ChatApi.postChatPublic']?.[localVarOperationServerIndex]?.url;
|
|
176
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
177
|
+
},
|
|
132
178
|
}
|
|
133
179
|
};
|
|
134
180
|
|
|
@@ -157,6 +203,15 @@ export const ChatApiFactory = function (configuration?: Configuration, basePath?
|
|
|
157
203
|
postChatCompletions(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
158
204
|
return localVarFp.postChatCompletions(options).then((request) => request(axios, basePath));
|
|
159
205
|
},
|
|
206
|
+
/**
|
|
207
|
+
* Serves one completion to a caller with no account.
|
|
208
|
+
* @summary Serves one completion to a caller with no account.
|
|
209
|
+
* @param {*} [options] Override http request option.
|
|
210
|
+
* @throws {RequiredError}
|
|
211
|
+
*/
|
|
212
|
+
postChatPublic(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
213
|
+
return localVarFp.postChatPublic(options).then((request) => request(axios, basePath));
|
|
214
|
+
},
|
|
160
215
|
};
|
|
161
216
|
};
|
|
162
217
|
|
|
@@ -188,5 +243,16 @@ export class ChatApi extends BaseAPI {
|
|
|
188
243
|
public postChatCompletions(options?: RawAxiosRequestConfig) {
|
|
189
244
|
return ChatApiFp(this.configuration).postChatCompletions(options).then((request) => request(this.axios, this.basePath));
|
|
190
245
|
}
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Serves one completion to a caller with no account.
|
|
249
|
+
* @summary Serves one completion to a caller with no account.
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
* @memberof ChatApi
|
|
253
|
+
*/
|
|
254
|
+
public postChatPublic(options?: RawAxiosRequestConfig) {
|
|
255
|
+
return ChatApiFp(this.configuration).postChatPublic(options).then((request) => request(this.axios, this.basePath));
|
|
256
|
+
}
|
|
191
257
|
}
|
|
192
258
|
|
|
@@ -135,8 +135,8 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur
|
|
|
135
135
|
};
|
|
136
136
|
},
|
|
137
137
|
/**
|
|
138
|
-
* AuditRead is the compliance
|
|
139
|
-
* @summary AuditRead is the compliance
|
|
138
|
+
* AuditRead is the compliance read of the SHARED tamper-evident audit plane — the SOC 2 posture surface (privileged actions: who started/decided what, when). The org is PINNED to the caller\'s validated org and the rows are narrowed to compliance.* actions. Fail-closed: no principal is a 403, no configured audit store a 501.
|
|
139
|
+
* @summary AuditRead is the compliance read of the SHARED tamper-evident audit plane — the SOC 2 posture surface (privileged actions: who started/decided what, when).
|
|
140
140
|
* @param {string} [result] Result filters rows by outcome result: success, deny, or error; empty means all.
|
|
141
141
|
* @param {*} [options] Override http request option.
|
|
142
142
|
* @throws {RequiredError}
|
|
@@ -751,8 +751,8 @@ export const ComplianceApiFp = function(configuration?: Configuration) {
|
|
|
751
751
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
752
752
|
},
|
|
753
753
|
/**
|
|
754
|
-
* AuditRead is the compliance
|
|
755
|
-
* @summary AuditRead is the compliance
|
|
754
|
+
* AuditRead is the compliance read of the SHARED tamper-evident audit plane — the SOC 2 posture surface (privileged actions: who started/decided what, when). The org is PINNED to the caller\'s validated org and the rows are narrowed to compliance.* actions. Fail-closed: no principal is a 403, no configured audit store a 501.
|
|
755
|
+
* @summary AuditRead is the compliance read of the SHARED tamper-evident audit plane — the SOC 2 posture surface (privileged actions: who started/decided what, when).
|
|
756
756
|
* @param {string} [result] Result filters rows by outcome result: success, deny, or error; empty means all.
|
|
757
757
|
* @param {*} [options] Override http request option.
|
|
758
758
|
* @throws {RequiredError}
|
|
@@ -975,8 +975,8 @@ export const ComplianceApiFactory = function (configuration?: Configuration, bas
|
|
|
975
975
|
return localVarFp.getComplianceAccreditationById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
976
976
|
},
|
|
977
977
|
/**
|
|
978
|
-
* AuditRead is the compliance
|
|
979
|
-
* @summary AuditRead is the compliance
|
|
978
|
+
* AuditRead is the compliance read of the SHARED tamper-evident audit plane — the SOC 2 posture surface (privileged actions: who started/decided what, when). The org is PINNED to the caller\'s validated org and the rows are narrowed to compliance.* actions. Fail-closed: no principal is a 403, no configured audit store a 501.
|
|
979
|
+
* @summary AuditRead is the compliance read of the SHARED tamper-evident audit plane — the SOC 2 posture surface (privileged actions: who started/decided what, when).
|
|
980
980
|
* @param {ComplianceApiGetComplianceAuditRequest} requestParameters Request parameters.
|
|
981
981
|
* @param {*} [options] Override http request option.
|
|
982
982
|
* @throws {RequiredError}
|
|
@@ -1366,8 +1366,8 @@ export class ComplianceApi extends BaseAPI {
|
|
|
1366
1366
|
}
|
|
1367
1367
|
|
|
1368
1368
|
/**
|
|
1369
|
-
* AuditRead is the compliance
|
|
1370
|
-
* @summary AuditRead is the compliance
|
|
1369
|
+
* AuditRead is the compliance read of the SHARED tamper-evident audit plane — the SOC 2 posture surface (privileged actions: who started/decided what, when). The org is PINNED to the caller\'s validated org and the rows are narrowed to compliance.* actions. Fail-closed: no principal is a 403, no configured audit store a 501.
|
|
1370
|
+
* @summary AuditRead is the compliance read of the SHARED tamper-evident audit plane — the SOC 2 posture surface (privileged actions: who started/decided what, when).
|
|
1371
1371
|
* @param {ComplianceApiGetComplianceAuditRequest} requestParameters Request parameters.
|
|
1372
1372
|
* @param {*} [options] Override http request option.
|
|
1373
1373
|
* @throws {RequiredError}
|
package/src/api/default-api.ts
CHANGED
|
@@ -1194,6 +1194,36 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1194
1194
|
|
|
1195
1195
|
|
|
1196
1196
|
|
|
1197
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1198
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1199
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1200
|
+
|
|
1201
|
+
return {
|
|
1202
|
+
url: toPathString(localVarUrlObj),
|
|
1203
|
+
options: localVarRequestOptions,
|
|
1204
|
+
};
|
|
1205
|
+
},
|
|
1206
|
+
/**
|
|
1207
|
+
* The same document /v1/openapi.json serves, at the address RFC 8615 reserves for discovery — one handler over one render, so the two cannot describe different APIs. It exists because a client that has never seen this API probes here first. Prefer /v1/openapi.json when you already know the API: it is canonical, and it is what the document\'s own self-description names.
|
|
1208
|
+
* @summary The API description, at the conventional address
|
|
1209
|
+
* @param {*} [options] Override http request option.
|
|
1210
|
+
* @throws {RequiredError}
|
|
1211
|
+
*/
|
|
1212
|
+
getWellKnownOpenapiJson: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1213
|
+
const localVarPath = `/.well-known/openapi.json`;
|
|
1214
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1215
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1216
|
+
let baseOptions;
|
|
1217
|
+
if (configuration) {
|
|
1218
|
+
baseOptions = configuration.baseOptions;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1222
|
+
const localVarHeaderParameter = {} as any;
|
|
1223
|
+
const localVarQueryParameter = {} as any;
|
|
1224
|
+
|
|
1225
|
+
|
|
1226
|
+
|
|
1197
1227
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1198
1228
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1199
1229
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2351,6 +2381,18 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2351
2381
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.getWellKnownOauthAuthorizationServer']?.[localVarOperationServerIndex]?.url;
|
|
2352
2382
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2353
2383
|
},
|
|
2384
|
+
/**
|
|
2385
|
+
* The same document /v1/openapi.json serves, at the address RFC 8615 reserves for discovery — one handler over one render, so the two cannot describe different APIs. It exists because a client that has never seen this API probes here first. Prefer /v1/openapi.json when you already know the API: it is canonical, and it is what the document\'s own self-description names.
|
|
2386
|
+
* @summary The API description, at the conventional address
|
|
2387
|
+
* @param {*} [options] Override http request option.
|
|
2388
|
+
* @throws {RequiredError}
|
|
2389
|
+
*/
|
|
2390
|
+
async getWellKnownOpenapiJson(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2391
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getWellKnownOpenapiJson(options);
|
|
2392
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2393
|
+
const localVarOperationServerBasePath = operationServerMap['DefaultApi.getWellKnownOpenapiJson']?.[localVarOperationServerIndex]?.url;
|
|
2394
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2395
|
+
},
|
|
2354
2396
|
/**
|
|
2355
2397
|
* Returns the OpenID Connect discovery document — the one URL you point a standards-compliant client at so it can find every other endpoint on its own, instead of you configuring them by hand. It advertises only what is actually implemented, so a client that reads it cannot ask for a flow that will fail: the authorization-code flow, PKCE with S256, the supported grants, and the signing algorithms whose public keys the JWKS really publishes. The issuer is derived from the host you asked on and is the same value the tokens carry, so a client that pins the issuer never sees it change.
|
|
2356
2398
|
* @summary Returns the OpenID Connect discovery document — the one URL you point a standards-compliant client at so it can find every other endpoint on its own, instead of you configuring them by hand.
|
|
@@ -2905,6 +2947,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
2905
2947
|
getWellKnownOauthAuthorizationServer(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2906
2948
|
return localVarFp.getWellKnownOauthAuthorizationServer(options).then((request) => request(axios, basePath));
|
|
2907
2949
|
},
|
|
2950
|
+
/**
|
|
2951
|
+
* The same document /v1/openapi.json serves, at the address RFC 8615 reserves for discovery — one handler over one render, so the two cannot describe different APIs. It exists because a client that has never seen this API probes here first. Prefer /v1/openapi.json when you already know the API: it is canonical, and it is what the document\'s own self-description names.
|
|
2952
|
+
* @summary The API description, at the conventional address
|
|
2953
|
+
* @param {*} [options] Override http request option.
|
|
2954
|
+
* @throws {RequiredError}
|
|
2955
|
+
*/
|
|
2956
|
+
getWellKnownOpenapiJson(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2957
|
+
return localVarFp.getWellKnownOpenapiJson(options).then((request) => request(axios, basePath));
|
|
2958
|
+
},
|
|
2908
2959
|
/**
|
|
2909
2960
|
* Returns the OpenID Connect discovery document — the one URL you point a standards-compliant client at so it can find every other endpoint on its own, instead of you configuring them by hand. It advertises only what is actually implemented, so a client that reads it cannot ask for a flow that will fail: the authorization-code flow, PKCE with S256, the supported grants, and the signing algorithms whose public keys the JWKS really publishes. The issuer is derived from the host you asked on and is the same value the tokens carry, so a client that pins the issuer never sees it change.
|
|
2910
2961
|
* @summary Returns the OpenID Connect discovery document — the one URL you point a standards-compliant client at so it can find every other endpoint on its own, instead of you configuring them by hand.
|
|
@@ -3999,6 +4050,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
3999
4050
|
return DefaultApiFp(this.configuration).getWellKnownOauthAuthorizationServer(options).then((request) => request(this.axios, this.basePath));
|
|
4000
4051
|
}
|
|
4001
4052
|
|
|
4053
|
+
/**
|
|
4054
|
+
* The same document /v1/openapi.json serves, at the address RFC 8615 reserves for discovery — one handler over one render, so the two cannot describe different APIs. It exists because a client that has never seen this API probes here first. Prefer /v1/openapi.json when you already know the API: it is canonical, and it is what the document\'s own self-description names.
|
|
4055
|
+
* @summary The API description, at the conventional address
|
|
4056
|
+
* @param {*} [options] Override http request option.
|
|
4057
|
+
* @throws {RequiredError}
|
|
4058
|
+
* @memberof DefaultApi
|
|
4059
|
+
*/
|
|
4060
|
+
public getWellKnownOpenapiJson(options?: RawAxiosRequestConfig) {
|
|
4061
|
+
return DefaultApiFp(this.configuration).getWellKnownOpenapiJson(options).then((request) => request(this.axios, this.basePath));
|
|
4062
|
+
}
|
|
4063
|
+
|
|
4002
4064
|
/**
|
|
4003
4065
|
* Returns the OpenID Connect discovery document — the one URL you point a standards-compliant client at so it can find every other endpoint on its own, instead of you configuring them by hand. It advertises only what is actually implemented, so a client that reads it cannot ask for a flow that will fail: the authorization-code flow, PKCE with S256, the supported grants, and the signing algorithms whose public keys the JWKS really publishes. The issuer is derived from the host you asked on and is the same value the tokens carry, so a client that pins the issuer never sees it change.
|
|
4004
4066
|
* @summary Returns the OpenID Connect discovery document — the one URL you point a standards-compliant client at so it can find every other endpoint on its own, instead of you configuring them by hand.
|
package/src/api/documents-api.ts
CHANGED
|
@@ -64,11 +64,15 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
64
64
|
/**
|
|
65
65
|
* Handles GET /v1/documents/:file_id/context — every chunk of a file, as LangChain Documents (used when RAG_USE_FULL_CONTEXT is on).
|
|
66
66
|
* @summary Handles GET /v1/documents/:file_id/context — every chunk of a file, as LangChain Documents (used when RAG_USE_FULL_CONTEXT is on).
|
|
67
|
+
* @param {string} fileId
|
|
67
68
|
* @param {*} [options] Override http request option.
|
|
68
69
|
* @throws {RequiredError}
|
|
69
70
|
*/
|
|
70
|
-
getDocumentsByFileIdContext: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
71
|
-
|
|
71
|
+
getDocumentsByFileIdContext: async (fileId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
72
|
+
// verify required parameter 'fileId' is not null or undefined
|
|
73
|
+
assertParamExists('getDocumentsByFileIdContext', 'fileId', fileId)
|
|
74
|
+
const localVarPath = `/v1/documents/{file_id}/context`
|
|
75
|
+
.replace(`{${"file_id"}}`, encodeURIComponent(String(fileId)));
|
|
72
76
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
73
77
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
74
78
|
let baseOptions;
|
|
@@ -120,11 +124,12 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
120
124
|
/**
|
|
121
125
|
* Handles GET /v1/documents/:file_id/context — every chunk of a file, as LangChain Documents (used when RAG_USE_FULL_CONTEXT is on).
|
|
122
126
|
* @summary Handles GET /v1/documents/:file_id/context — every chunk of a file, as LangChain Documents (used when RAG_USE_FULL_CONTEXT is on).
|
|
127
|
+
* @param {string} fileId
|
|
123
128
|
* @param {*} [options] Override http request option.
|
|
124
129
|
* @throws {RequiredError}
|
|
125
130
|
*/
|
|
126
|
-
async getDocumentsByFileIdContext(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
127
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getDocumentsByFileIdContext(options);
|
|
131
|
+
async getDocumentsByFileIdContext(fileId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
132
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDocumentsByFileIdContext(fileId, options);
|
|
128
133
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
129
134
|
const localVarOperationServerBasePath = operationServerMap['DocumentsApi.getDocumentsByFileIdContext']?.[localVarOperationServerIndex]?.url;
|
|
130
135
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -151,15 +156,30 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
151
156
|
/**
|
|
152
157
|
* Handles GET /v1/documents/:file_id/context — every chunk of a file, as LangChain Documents (used when RAG_USE_FULL_CONTEXT is on).
|
|
153
158
|
* @summary Handles GET /v1/documents/:file_id/context — every chunk of a file, as LangChain Documents (used when RAG_USE_FULL_CONTEXT is on).
|
|
159
|
+
* @param {DocumentsApiGetDocumentsByFileIdContextRequest} requestParameters Request parameters.
|
|
154
160
|
* @param {*} [options] Override http request option.
|
|
155
161
|
* @throws {RequiredError}
|
|
156
162
|
*/
|
|
157
|
-
getDocumentsByFileIdContext(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
158
|
-
return localVarFp.getDocumentsByFileIdContext(options).then((request) => request(axios, basePath));
|
|
163
|
+
getDocumentsByFileIdContext(requestParameters: DocumentsApiGetDocumentsByFileIdContextRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
164
|
+
return localVarFp.getDocumentsByFileIdContext(requestParameters.fileId, options).then((request) => request(axios, basePath));
|
|
159
165
|
},
|
|
160
166
|
};
|
|
161
167
|
};
|
|
162
168
|
|
|
169
|
+
/**
|
|
170
|
+
* Request parameters for getDocumentsByFileIdContext operation in DocumentsApi.
|
|
171
|
+
* @export
|
|
172
|
+
* @interface DocumentsApiGetDocumentsByFileIdContextRequest
|
|
173
|
+
*/
|
|
174
|
+
export interface DocumentsApiGetDocumentsByFileIdContextRequest {
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @type {string}
|
|
178
|
+
* @memberof DocumentsApiGetDocumentsByFileIdContext
|
|
179
|
+
*/
|
|
180
|
+
readonly fileId: string
|
|
181
|
+
}
|
|
182
|
+
|
|
163
183
|
/**
|
|
164
184
|
* DocumentsApi - object-oriented interface
|
|
165
185
|
* @export
|
|
@@ -181,12 +201,13 @@ export class DocumentsApi extends BaseAPI {
|
|
|
181
201
|
/**
|
|
182
202
|
* Handles GET /v1/documents/:file_id/context — every chunk of a file, as LangChain Documents (used when RAG_USE_FULL_CONTEXT is on).
|
|
183
203
|
* @summary Handles GET /v1/documents/:file_id/context — every chunk of a file, as LangChain Documents (used when RAG_USE_FULL_CONTEXT is on).
|
|
204
|
+
* @param {DocumentsApiGetDocumentsByFileIdContextRequest} requestParameters Request parameters.
|
|
184
205
|
* @param {*} [options] Override http request option.
|
|
185
206
|
* @throws {RequiredError}
|
|
186
207
|
* @memberof DocumentsApi
|
|
187
208
|
*/
|
|
188
|
-
public getDocumentsByFileIdContext(options?: RawAxiosRequestConfig) {
|
|
189
|
-
return DocumentsApiFp(this.configuration).getDocumentsByFileIdContext(options).then((request) => request(this.axios, this.basePath));
|
|
209
|
+
public getDocumentsByFileIdContext(requestParameters: DocumentsApiGetDocumentsByFileIdContextRequest, options?: RawAxiosRequestConfig) {
|
|
210
|
+
return DocumentsApiFp(this.configuration).getDocumentsByFileIdContext(requestParameters.fileId, options).then((request) => request(this.axios, this.basePath));
|
|
190
211
|
}
|
|
191
212
|
}
|
|
192
213
|
|