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
|
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.
|
|
19
|
+
exports.SentinelApi = exports.SentinelApiFactory = exports.SentinelApiFp = exports.SentinelApiAxiosParamCreator = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
// Some imports not used depending on template conditions
|
|
22
22
|
// @ts-ignore
|
|
@@ -24,10 +24,10 @@ const common_1 = require("../common");
|
|
|
24
24
|
// @ts-ignore
|
|
25
25
|
const base_1 = require("../base");
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* SentinelApi - axios parameter creator
|
|
28
28
|
* @export
|
|
29
29
|
*/
|
|
30
|
-
const
|
|
30
|
+
const SentinelApiAxiosParamCreator = function (configuration) {
|
|
31
31
|
return {
|
|
32
32
|
/**
|
|
33
33
|
* The one delete on the Sentry surface: removing a PROJECT, answering 204. Error issues, events and traces are not individually deletable — they are append-only telemetry, and their lifetime is retention\'s business, not an API call\'s. Requires a validated, org-scoped principal with edit rights; a viewer is refused. The delete is confined to the org minted from that principal\'s claim, so a project id belonging to another tenant is not found rather than removed. Deleting a project retires the DSN that fed it, so any SDK still pointed at that key stops being accepted. Before the runtime is initialized, 503.
|
|
@@ -36,10 +36,10 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
37
37
|
* @throws {RequiredError}
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
deleteSentinelByWildcard1: async (wildcard1, options = {}) => {
|
|
40
40
|
// verify required parameter 'wildcard1' is not null or undefined
|
|
41
|
-
(0, common_1.assertParamExists)('
|
|
42
|
-
const localVarPath = `/v1/
|
|
41
|
+
(0, common_1.assertParamExists)('deleteSentinelByWildcard1', 'wildcard1', wildcard1);
|
|
42
|
+
const localVarPath = `/v1/sentinel/{wildcard1}`
|
|
43
43
|
.replace(`{${"wildcard1"}}`, encodeURIComponent(String(wildcard1)));
|
|
44
44
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45
45
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -68,10 +68,10 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
68
68
|
* @param {*} [options] Override http request option.
|
|
69
69
|
* @throws {RequiredError}
|
|
70
70
|
*/
|
|
71
|
-
|
|
71
|
+
deleteSentinelProjectsById: async (id, options = {}) => {
|
|
72
72
|
// verify required parameter 'id' is not null or undefined
|
|
73
|
-
(0, common_1.assertParamExists)('
|
|
74
|
-
const localVarPath = `/v1/
|
|
73
|
+
(0, common_1.assertParamExists)('deleteSentinelProjectsById', 'id', id);
|
|
74
|
+
const localVarPath = `/v1/sentinel/projects/{id}`
|
|
75
75
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
76
76
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
77
77
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -100,10 +100,10 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
getSentinelByWildcard1: async (wildcard1, options = {}) => {
|
|
104
104
|
// verify required parameter 'wildcard1' is not null or undefined
|
|
105
|
-
(0, common_1.assertParamExists)('
|
|
106
|
-
const localVarPath = `/v1/
|
|
105
|
+
(0, common_1.assertParamExists)('getSentinelByWildcard1', 'wildcard1', wildcard1);
|
|
106
|
+
const localVarPath = `/v1/sentinel/{wildcard1}`
|
|
107
107
|
.replace(`{${"wildcard1"}}`, encodeURIComponent(String(wildcard1)));
|
|
108
108
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
109
109
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -133,12 +133,12 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
133
133
|
* @param {*} [options] Override http request option.
|
|
134
134
|
* @throws {RequiredError}
|
|
135
135
|
*/
|
|
136
|
-
|
|
136
|
+
getSentinelEventsById: async (id, project, options = {}) => {
|
|
137
137
|
// verify required parameter 'id' is not null or undefined
|
|
138
|
-
(0, common_1.assertParamExists)('
|
|
138
|
+
(0, common_1.assertParamExists)('getSentinelEventsById', 'id', id);
|
|
139
139
|
// verify required parameter 'project' is not null or undefined
|
|
140
|
-
(0, common_1.assertParamExists)('
|
|
141
|
-
const localVarPath = `/v1/
|
|
140
|
+
(0, common_1.assertParamExists)('getSentinelEventsById', 'project', project);
|
|
141
|
+
const localVarPath = `/v1/sentinel/events/{id}`
|
|
142
142
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
143
143
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
144
144
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -179,8 +179,8 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
179
179
|
* @param {*} [options] Override http request option.
|
|
180
180
|
* @throws {RequiredError}
|
|
181
181
|
*/
|
|
182
|
-
|
|
183
|
-
const localVarPath = `/v1/
|
|
182
|
+
getSentinelIssues: async (status, level, environment, serviceName, query, sort, offset, limit, project, period, options = {}) => {
|
|
183
|
+
const localVarPath = `/v1/sentinel/issues`;
|
|
184
184
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
185
185
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
186
186
|
let baseOptions;
|
|
@@ -238,10 +238,10 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
238
238
|
* @param {*} [options] Override http request option.
|
|
239
239
|
* @throws {RequiredError}
|
|
240
240
|
*/
|
|
241
|
-
|
|
241
|
+
getSentinelIssuesById: async (id, options = {}) => {
|
|
242
242
|
// verify required parameter 'id' is not null or undefined
|
|
243
|
-
(0, common_1.assertParamExists)('
|
|
244
|
-
const localVarPath = `/v1/
|
|
243
|
+
(0, common_1.assertParamExists)('getSentinelIssuesById', 'id', id);
|
|
244
|
+
const localVarPath = `/v1/sentinel/issues/{id}`
|
|
245
245
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
246
246
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
247
247
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -272,12 +272,12 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
272
272
|
* @param {*} [options] Override http request option.
|
|
273
273
|
* @throws {RequiredError}
|
|
274
274
|
*/
|
|
275
|
-
|
|
275
|
+
getSentinelIssuesByIdEvents: async (id, project, limit, options = {}) => {
|
|
276
276
|
// verify required parameter 'id' is not null or undefined
|
|
277
|
-
(0, common_1.assertParamExists)('
|
|
277
|
+
(0, common_1.assertParamExists)('getSentinelIssuesByIdEvents', 'id', id);
|
|
278
278
|
// verify required parameter 'project' is not null or undefined
|
|
279
|
-
(0, common_1.assertParamExists)('
|
|
280
|
-
const localVarPath = `/v1/
|
|
279
|
+
(0, common_1.assertParamExists)('getSentinelIssuesByIdEvents', 'project', project);
|
|
280
|
+
const localVarPath = `/v1/sentinel/issues/{id}/events`
|
|
281
281
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
282
282
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
283
283
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -315,10 +315,10 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
315
315
|
* @param {*} [options] Override http request option.
|
|
316
316
|
* @throws {RequiredError}
|
|
317
317
|
*/
|
|
318
|
-
|
|
318
|
+
getSentinelLogs: async (project, query, period, limit, options = {}) => {
|
|
319
319
|
// verify required parameter 'project' is not null or undefined
|
|
320
|
-
(0, common_1.assertParamExists)('
|
|
321
|
-
const localVarPath = `/v1/
|
|
320
|
+
(0, common_1.assertParamExists)('getSentinelLogs', 'project', project);
|
|
321
|
+
const localVarPath = `/v1/sentinel/logs`;
|
|
322
322
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
323
323
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
324
324
|
let baseOptions;
|
|
@@ -357,8 +357,8 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
357
357
|
* @param {*} [options] Override http request option.
|
|
358
358
|
* @throws {RequiredError}
|
|
359
359
|
*/
|
|
360
|
-
|
|
361
|
-
const localVarPath = `/v1/
|
|
360
|
+
getSentinelProjects: async (options = {}) => {
|
|
361
|
+
const localVarPath = `/v1/sentinel/projects`;
|
|
362
362
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
363
363
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
364
364
|
let baseOptions;
|
|
@@ -386,10 +386,10 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
386
386
|
* @param {*} [options] Override http request option.
|
|
387
387
|
* @throws {RequiredError}
|
|
388
388
|
*/
|
|
389
|
-
|
|
389
|
+
getSentinelProjectsById: async (id, options = {}) => {
|
|
390
390
|
// verify required parameter 'id' is not null or undefined
|
|
391
|
-
(0, common_1.assertParamExists)('
|
|
392
|
-
const localVarPath = `/v1/
|
|
391
|
+
(0, common_1.assertParamExists)('getSentinelProjectsById', 'id', id);
|
|
392
|
+
const localVarPath = `/v1/sentinel/projects/{id}`
|
|
393
393
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
394
394
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
395
395
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -420,10 +420,10 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
420
420
|
* @param {*} [options] Override http request option.
|
|
421
421
|
* @throws {RequiredError}
|
|
422
422
|
*/
|
|
423
|
-
|
|
423
|
+
getSentinelStats: async (project, field, period, options = {}) => {
|
|
424
424
|
// verify required parameter 'project' is not null or undefined
|
|
425
|
-
(0, common_1.assertParamExists)('
|
|
426
|
-
const localVarPath = `/v1/
|
|
425
|
+
(0, common_1.assertParamExists)('getSentinelStats', 'project', project);
|
|
426
|
+
const localVarPath = `/v1/sentinel/stats`;
|
|
427
427
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
428
428
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
429
429
|
let baseOptions;
|
|
@@ -462,10 +462,10 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
462
462
|
* @param {*} [options] Override http request option.
|
|
463
463
|
* @throws {RequiredError}
|
|
464
464
|
*/
|
|
465
|
-
|
|
465
|
+
getSentinelTraces: async (project, period, limit, options = {}) => {
|
|
466
466
|
// verify required parameter 'project' is not null or undefined
|
|
467
|
-
(0, common_1.assertParamExists)('
|
|
468
|
-
const localVarPath = `/v1/
|
|
467
|
+
(0, common_1.assertParamExists)('getSentinelTraces', 'project', project);
|
|
468
|
+
const localVarPath = `/v1/sentinel/traces`;
|
|
469
469
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
470
470
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
471
471
|
let baseOptions;
|
|
@@ -503,12 +503,12 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
503
503
|
* @param {*} [options] Override http request option.
|
|
504
504
|
* @throws {RequiredError}
|
|
505
505
|
*/
|
|
506
|
-
|
|
506
|
+
getSentinelTracesById: async (id, project, options = {}) => {
|
|
507
507
|
// verify required parameter 'id' is not null or undefined
|
|
508
|
-
(0, common_1.assertParamExists)('
|
|
508
|
+
(0, common_1.assertParamExists)('getSentinelTracesById', 'id', id);
|
|
509
509
|
// verify required parameter 'project' is not null or undefined
|
|
510
|
-
(0, common_1.assertParamExists)('
|
|
511
|
-
const localVarPath = `/v1/
|
|
510
|
+
(0, common_1.assertParamExists)('getSentinelTracesById', 'project', project);
|
|
511
|
+
const localVarPath = `/v1/sentinel/traces/{id}`
|
|
512
512
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
513
513
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
514
514
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -540,10 +540,10 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
540
540
|
* @param {*} [options] Override http request option.
|
|
541
541
|
* @throws {RequiredError}
|
|
542
542
|
*/
|
|
543
|
-
|
|
543
|
+
patchSentinelByWildcard1: async (wildcard1, options = {}) => {
|
|
544
544
|
// verify required parameter 'wildcard1' is not null or undefined
|
|
545
|
-
(0, common_1.assertParamExists)('
|
|
546
|
-
const localVarPath = `/v1/
|
|
545
|
+
(0, common_1.assertParamExists)('patchSentinelByWildcard1', 'wildcard1', wildcard1);
|
|
546
|
+
const localVarPath = `/v1/sentinel/{wildcard1}`
|
|
547
547
|
.replace(`{${"wildcard1"}}`, encodeURIComponent(String(wildcard1)));
|
|
548
548
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
549
549
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -566,16 +566,16 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
566
566
|
};
|
|
567
567
|
},
|
|
568
568
|
/**
|
|
569
|
-
* The
|
|
570
|
-
* @summary Receive a Sentry envelope on the
|
|
569
|
+
* The runtime\'s own ingest address for a Sentry envelope frame, kept under this root because that is where the module registers it. THE DOOR A CLIENT SHOULD USE IS /v1/event/{project}/envelope. That is what a minted DSN addresses and what @hanzo/event posts to, and it carries the same wire to the same sink. This address answers identically; it is the second spelling of one wire and it is on its way out. AUTHENTICATED BY THE DSN PUBLIC KEY, never a Hanzo session, so it is exempt from the principal gate — a reporting SDK has no session to present. The project segment is a UUID enforced by the route, and the exemption matches method plus prefix plus suffix, so every Sentinel READ (issues, discover, events, logs, traces, stats) stays gated.
|
|
570
|
+
* @summary Receive a Sentry envelope on the runtime\'s ingest hatch
|
|
571
571
|
* @param {string} project
|
|
572
572
|
* @param {*} [options] Override http request option.
|
|
573
573
|
* @throws {RequiredError}
|
|
574
574
|
*/
|
|
575
|
-
|
|
575
|
+
postSentinelByProjectEnvelope: async (project, options = {}) => {
|
|
576
576
|
// verify required parameter 'project' is not null or undefined
|
|
577
|
-
(0, common_1.assertParamExists)('
|
|
578
|
-
const localVarPath = `/v1/
|
|
577
|
+
(0, common_1.assertParamExists)('postSentinelByProjectEnvelope', 'project', project);
|
|
578
|
+
const localVarPath = `/v1/sentinel/{project}/envelope/`
|
|
579
579
|
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
580
580
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
581
581
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -598,16 +598,16 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
598
598
|
};
|
|
599
599
|
},
|
|
600
600
|
/**
|
|
601
|
-
* The legacy single-event
|
|
602
|
-
* @summary Receive a single
|
|
601
|
+
* The legacy single-event form of the envelope ingest — one JSON event rather than a framed batch — kept because SDKs in the field still send it. Same address ownership and same authentication as the envelope route beside it, and the same advice: point a client at /v1/event/{project}/store, which is the one door.
|
|
602
|
+
* @summary Receive a single event on the runtime\'s ingest hatch
|
|
603
603
|
* @param {string} project
|
|
604
604
|
* @param {*} [options] Override http request option.
|
|
605
605
|
* @throws {RequiredError}
|
|
606
606
|
*/
|
|
607
|
-
|
|
607
|
+
postSentinelByProjectStore: async (project, options = {}) => {
|
|
608
608
|
// verify required parameter 'project' is not null or undefined
|
|
609
|
-
(0, common_1.assertParamExists)('
|
|
610
|
-
const localVarPath = `/v1/
|
|
609
|
+
(0, common_1.assertParamExists)('postSentinelByProjectStore', 'project', project);
|
|
610
|
+
const localVarPath = `/v1/sentinel/{project}/store/`
|
|
611
611
|
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
612
612
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
613
613
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -636,10 +636,10 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
636
636
|
* @param {*} [options] Override http request option.
|
|
637
637
|
* @throws {RequiredError}
|
|
638
638
|
*/
|
|
639
|
-
|
|
639
|
+
postSentinelByWildcard1: async (wildcard1, options = {}) => {
|
|
640
640
|
// verify required parameter 'wildcard1' is not null or undefined
|
|
641
|
-
(0, common_1.assertParamExists)('
|
|
642
|
-
const localVarPath = `/v1/
|
|
641
|
+
(0, common_1.assertParamExists)('postSentinelByWildcard1', 'wildcard1', wildcard1);
|
|
642
|
+
const localVarPath = `/v1/sentinel/{wildcard1}`
|
|
643
643
|
.replace(`{${"wildcard1"}}`, encodeURIComponent(String(wildcard1)));
|
|
644
644
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
645
645
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -668,10 +668,10 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
668
668
|
* @param {*} [options] Override http request option.
|
|
669
669
|
* @throws {RequiredError}
|
|
670
670
|
*/
|
|
671
|
-
|
|
671
|
+
postSentinelDiscover: async (o11yO11yDiscoverIn, options = {}) => {
|
|
672
672
|
// verify required parameter 'o11yO11yDiscoverIn' is not null or undefined
|
|
673
|
-
(0, common_1.assertParamExists)('
|
|
674
|
-
const localVarPath = `/v1/
|
|
673
|
+
(0, common_1.assertParamExists)('postSentinelDiscover', 'o11yO11yDiscoverIn', o11yO11yDiscoverIn);
|
|
674
|
+
const localVarPath = `/v1/sentinel/discover`;
|
|
675
675
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
676
676
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
677
677
|
let baseOptions;
|
|
@@ -701,10 +701,10 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
701
701
|
* @param {*} [options] Override http request option.
|
|
702
702
|
* @throws {RequiredError}
|
|
703
703
|
*/
|
|
704
|
-
|
|
704
|
+
postSentinelProjects: async (o11yO11ySentryPostableProject, options = {}) => {
|
|
705
705
|
// verify required parameter 'o11yO11ySentryPostableProject' is not null or undefined
|
|
706
|
-
(0, common_1.assertParamExists)('
|
|
707
|
-
const localVarPath = `/v1/
|
|
706
|
+
(0, common_1.assertParamExists)('postSentinelProjects', 'o11yO11ySentryPostableProject', o11yO11ySentryPostableProject);
|
|
707
|
+
const localVarPath = `/v1/sentinel/projects`;
|
|
708
708
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
709
709
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
710
710
|
let baseOptions;
|
|
@@ -734,10 +734,10 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
734
734
|
* @param {*} [options] Override http request option.
|
|
735
735
|
* @throws {RequiredError}
|
|
736
736
|
*/
|
|
737
|
-
|
|
737
|
+
postSentinelProjectsByIdKeysRotate: async (id, options = {}) => {
|
|
738
738
|
// verify required parameter 'id' is not null or undefined
|
|
739
|
-
(0, common_1.assertParamExists)('
|
|
740
|
-
const localVarPath = `/v1/
|
|
739
|
+
(0, common_1.assertParamExists)('postSentinelProjectsByIdKeysRotate', 'id', id);
|
|
740
|
+
const localVarPath = `/v1/sentinel/projects/{id}/keys/rotate`
|
|
741
741
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
742
742
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
743
743
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -766,10 +766,10 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
766
766
|
* @param {*} [options] Override http request option.
|
|
767
767
|
* @throws {RequiredError}
|
|
768
768
|
*/
|
|
769
|
-
|
|
769
|
+
putSentinelByWildcard1: async (wildcard1, options = {}) => {
|
|
770
770
|
// verify required parameter 'wildcard1' is not null or undefined
|
|
771
|
-
(0, common_1.assertParamExists)('
|
|
772
|
-
const localVarPath = `/v1/
|
|
771
|
+
(0, common_1.assertParamExists)('putSentinelByWildcard1', 'wildcard1', wildcard1);
|
|
772
|
+
const localVarPath = `/v1/sentinel/{wildcard1}`
|
|
773
773
|
.replace(`{${"wildcard1"}}`, encodeURIComponent(String(wildcard1)));
|
|
774
774
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
775
775
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -799,12 +799,12 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
799
799
|
* @param {*} [options] Override http request option.
|
|
800
800
|
* @throws {RequiredError}
|
|
801
801
|
*/
|
|
802
|
-
|
|
802
|
+
putSentinelIssuesById: async (id, o11yO11ySentryUpdateIssueIn, options = {}) => {
|
|
803
803
|
// verify required parameter 'id' is not null or undefined
|
|
804
|
-
(0, common_1.assertParamExists)('
|
|
804
|
+
(0, common_1.assertParamExists)('putSentinelIssuesById', 'id', id);
|
|
805
805
|
// verify required parameter 'o11yO11ySentryUpdateIssueIn' is not null or undefined
|
|
806
|
-
(0, common_1.assertParamExists)('
|
|
807
|
-
const localVarPath = `/v1/
|
|
806
|
+
(0, common_1.assertParamExists)('putSentinelIssuesById', 'o11yO11ySentryUpdateIssueIn', o11yO11ySentryUpdateIssueIn);
|
|
807
|
+
const localVarPath = `/v1/sentinel/issues/{id}`
|
|
808
808
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
809
809
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
810
810
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -830,13 +830,13 @@ const SentryApiAxiosParamCreator = function (configuration) {
|
|
|
830
830
|
},
|
|
831
831
|
};
|
|
832
832
|
};
|
|
833
|
-
exports.
|
|
833
|
+
exports.SentinelApiAxiosParamCreator = SentinelApiAxiosParamCreator;
|
|
834
834
|
/**
|
|
835
|
-
*
|
|
835
|
+
* SentinelApi - functional programming interface
|
|
836
836
|
* @export
|
|
837
837
|
*/
|
|
838
|
-
const
|
|
839
|
-
const localVarAxiosParamCreator = (0, exports.
|
|
838
|
+
const SentinelApiFp = function (configuration) {
|
|
839
|
+
const localVarAxiosParamCreator = (0, exports.SentinelApiAxiosParamCreator)(configuration);
|
|
840
840
|
return {
|
|
841
841
|
/**
|
|
842
842
|
* The one delete on the Sentry surface: removing a PROJECT, answering 204. Error issues, events and traces are not individually deletable — they are append-only telemetry, and their lifetime is retention\'s business, not an API call\'s. Requires a validated, org-scoped principal with edit rights; a viewer is refused. The delete is confined to the org minted from that principal\'s claim, so a project id belonging to another tenant is not found rather than removed. Deleting a project retires the DSN that fed it, so any SDK still pointed at that key stops being accepted. Before the runtime is initialized, 503.
|
|
@@ -845,10 +845,10 @@ const SentryApiFp = function (configuration) {
|
|
|
845
845
|
* @param {*} [options] Override http request option.
|
|
846
846
|
* @throws {RequiredError}
|
|
847
847
|
*/
|
|
848
|
-
async
|
|
849
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
848
|
+
async deleteSentinelByWildcard1(wildcard1, options) {
|
|
849
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSentinelByWildcard1(wildcard1, options);
|
|
850
850
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
851
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
851
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.deleteSentinelByWildcard1']?.[localVarOperationServerIndex]?.url;
|
|
852
852
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
853
853
|
},
|
|
854
854
|
/**
|
|
@@ -858,10 +858,10 @@ const SentryApiFp = function (configuration) {
|
|
|
858
858
|
* @param {*} [options] Override http request option.
|
|
859
859
|
* @throws {RequiredError}
|
|
860
860
|
*/
|
|
861
|
-
async
|
|
862
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
861
|
+
async deleteSentinelProjectsById(id, options) {
|
|
862
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSentinelProjectsById(id, options);
|
|
863
863
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
864
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
864
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.deleteSentinelProjectsById']?.[localVarOperationServerIndex]?.url;
|
|
865
865
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
866
866
|
},
|
|
867
867
|
/**
|
|
@@ -871,10 +871,10 @@ const SentryApiFp = function (configuration) {
|
|
|
871
871
|
* @param {*} [options] Override http request option.
|
|
872
872
|
* @throws {RequiredError}
|
|
873
873
|
*/
|
|
874
|
-
async
|
|
875
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
874
|
+
async getSentinelByWildcard1(wildcard1, options) {
|
|
875
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSentinelByWildcard1(wildcard1, options);
|
|
876
876
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
877
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
877
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.getSentinelByWildcard1']?.[localVarOperationServerIndex]?.url;
|
|
878
878
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
879
879
|
},
|
|
880
880
|
/**
|
|
@@ -885,10 +885,10 @@ const SentryApiFp = function (configuration) {
|
|
|
885
885
|
* @param {*} [options] Override http request option.
|
|
886
886
|
* @throws {RequiredError}
|
|
887
887
|
*/
|
|
888
|
-
async
|
|
889
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
888
|
+
async getSentinelEventsById(id, project, options) {
|
|
889
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSentinelEventsById(id, project, options);
|
|
890
890
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
891
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
891
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.getSentinelEventsById']?.[localVarOperationServerIndex]?.url;
|
|
892
892
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
893
893
|
},
|
|
894
894
|
/**
|
|
@@ -907,10 +907,10 @@ const SentryApiFp = function (configuration) {
|
|
|
907
907
|
* @param {*} [options] Override http request option.
|
|
908
908
|
* @throws {RequiredError}
|
|
909
909
|
*/
|
|
910
|
-
async
|
|
911
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
910
|
+
async getSentinelIssues(status, level, environment, serviceName, query, sort, offset, limit, project, period, options) {
|
|
911
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSentinelIssues(status, level, environment, serviceName, query, sort, offset, limit, project, period, options);
|
|
912
912
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
913
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
913
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.getSentinelIssues']?.[localVarOperationServerIndex]?.url;
|
|
914
914
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
915
915
|
},
|
|
916
916
|
/**
|
|
@@ -920,10 +920,10 @@ const SentryApiFp = function (configuration) {
|
|
|
920
920
|
* @param {*} [options] Override http request option.
|
|
921
921
|
* @throws {RequiredError}
|
|
922
922
|
*/
|
|
923
|
-
async
|
|
924
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
923
|
+
async getSentinelIssuesById(id, options) {
|
|
924
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSentinelIssuesById(id, options);
|
|
925
925
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
926
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
926
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.getSentinelIssuesById']?.[localVarOperationServerIndex]?.url;
|
|
927
927
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
928
928
|
},
|
|
929
929
|
/**
|
|
@@ -935,10 +935,10 @@ const SentryApiFp = function (configuration) {
|
|
|
935
935
|
* @param {*} [options] Override http request option.
|
|
936
936
|
* @throws {RequiredError}
|
|
937
937
|
*/
|
|
938
|
-
async
|
|
939
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
938
|
+
async getSentinelIssuesByIdEvents(id, project, limit, options) {
|
|
939
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSentinelIssuesByIdEvents(id, project, limit, options);
|
|
940
940
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
941
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
941
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.getSentinelIssuesByIdEvents']?.[localVarOperationServerIndex]?.url;
|
|
942
942
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
943
943
|
},
|
|
944
944
|
/**
|
|
@@ -951,10 +951,10 @@ const SentryApiFp = function (configuration) {
|
|
|
951
951
|
* @param {*} [options] Override http request option.
|
|
952
952
|
* @throws {RequiredError}
|
|
953
953
|
*/
|
|
954
|
-
async
|
|
955
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
954
|
+
async getSentinelLogs(project, query, period, limit, options) {
|
|
955
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSentinelLogs(project, query, period, limit, options);
|
|
956
956
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
957
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
957
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.getSentinelLogs']?.[localVarOperationServerIndex]?.url;
|
|
958
958
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
959
959
|
},
|
|
960
960
|
/**
|
|
@@ -963,10 +963,10 @@ const SentryApiFp = function (configuration) {
|
|
|
963
963
|
* @param {*} [options] Override http request option.
|
|
964
964
|
* @throws {RequiredError}
|
|
965
965
|
*/
|
|
966
|
-
async
|
|
967
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
966
|
+
async getSentinelProjects(options) {
|
|
967
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSentinelProjects(options);
|
|
968
968
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
969
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
969
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.getSentinelProjects']?.[localVarOperationServerIndex]?.url;
|
|
970
970
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
971
971
|
},
|
|
972
972
|
/**
|
|
@@ -976,10 +976,10 @@ const SentryApiFp = function (configuration) {
|
|
|
976
976
|
* @param {*} [options] Override http request option.
|
|
977
977
|
* @throws {RequiredError}
|
|
978
978
|
*/
|
|
979
|
-
async
|
|
980
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
979
|
+
async getSentinelProjectsById(id, options) {
|
|
980
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSentinelProjectsById(id, options);
|
|
981
981
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
982
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
982
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.getSentinelProjectsById']?.[localVarOperationServerIndex]?.url;
|
|
983
983
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
984
984
|
},
|
|
985
985
|
/**
|
|
@@ -991,10 +991,10 @@ const SentryApiFp = function (configuration) {
|
|
|
991
991
|
* @param {*} [options] Override http request option.
|
|
992
992
|
* @throws {RequiredError}
|
|
993
993
|
*/
|
|
994
|
-
async
|
|
995
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
994
|
+
async getSentinelStats(project, field, period, options) {
|
|
995
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSentinelStats(project, field, period, options);
|
|
996
996
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
997
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
997
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.getSentinelStats']?.[localVarOperationServerIndex]?.url;
|
|
998
998
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
999
999
|
},
|
|
1000
1000
|
/**
|
|
@@ -1006,10 +1006,10 @@ const SentryApiFp = function (configuration) {
|
|
|
1006
1006
|
* @param {*} [options] Override http request option.
|
|
1007
1007
|
* @throws {RequiredError}
|
|
1008
1008
|
*/
|
|
1009
|
-
async
|
|
1010
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1009
|
+
async getSentinelTraces(project, period, limit, options) {
|
|
1010
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSentinelTraces(project, period, limit, options);
|
|
1011
1011
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1012
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
1012
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.getSentinelTraces']?.[localVarOperationServerIndex]?.url;
|
|
1013
1013
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1014
1014
|
},
|
|
1015
1015
|
/**
|
|
@@ -1020,10 +1020,10 @@ const SentryApiFp = function (configuration) {
|
|
|
1020
1020
|
* @param {*} [options] Override http request option.
|
|
1021
1021
|
* @throws {RequiredError}
|
|
1022
1022
|
*/
|
|
1023
|
-
async
|
|
1024
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1023
|
+
async getSentinelTracesById(id, project, options) {
|
|
1024
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSentinelTracesById(id, project, options);
|
|
1025
1025
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1026
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
1026
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.getSentinelTracesById']?.[localVarOperationServerIndex]?.url;
|
|
1027
1027
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1028
1028
|
},
|
|
1029
1029
|
/**
|
|
@@ -1033,36 +1033,36 @@ const SentryApiFp = function (configuration) {
|
|
|
1033
1033
|
* @param {*} [options] Override http request option.
|
|
1034
1034
|
* @throws {RequiredError}
|
|
1035
1035
|
*/
|
|
1036
|
-
async
|
|
1037
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1036
|
+
async patchSentinelByWildcard1(wildcard1, options) {
|
|
1037
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchSentinelByWildcard1(wildcard1, options);
|
|
1038
1038
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1039
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
1039
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.patchSentinelByWildcard1']?.[localVarOperationServerIndex]?.url;
|
|
1040
1040
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1041
1041
|
},
|
|
1042
1042
|
/**
|
|
1043
|
-
* The
|
|
1044
|
-
* @summary Receive a Sentry envelope on the
|
|
1043
|
+
* The runtime\'s own ingest address for a Sentry envelope frame, kept under this root because that is where the module registers it. THE DOOR A CLIENT SHOULD USE IS /v1/event/{project}/envelope. That is what a minted DSN addresses and what @hanzo/event posts to, and it carries the same wire to the same sink. This address answers identically; it is the second spelling of one wire and it is on its way out. AUTHENTICATED BY THE DSN PUBLIC KEY, never a Hanzo session, so it is exempt from the principal gate — a reporting SDK has no session to present. The project segment is a UUID enforced by the route, and the exemption matches method plus prefix plus suffix, so every Sentinel READ (issues, discover, events, logs, traces, stats) stays gated.
|
|
1044
|
+
* @summary Receive a Sentry envelope on the runtime\'s ingest hatch
|
|
1045
1045
|
* @param {string} project
|
|
1046
1046
|
* @param {*} [options] Override http request option.
|
|
1047
1047
|
* @throws {RequiredError}
|
|
1048
1048
|
*/
|
|
1049
|
-
async
|
|
1050
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1049
|
+
async postSentinelByProjectEnvelope(project, options) {
|
|
1050
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postSentinelByProjectEnvelope(project, options);
|
|
1051
1051
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1052
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
1052
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.postSentinelByProjectEnvelope']?.[localVarOperationServerIndex]?.url;
|
|
1053
1053
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1054
1054
|
},
|
|
1055
1055
|
/**
|
|
1056
|
-
* The legacy single-event
|
|
1057
|
-
* @summary Receive a single
|
|
1056
|
+
* The legacy single-event form of the envelope ingest — one JSON event rather than a framed batch — kept because SDKs in the field still send it. Same address ownership and same authentication as the envelope route beside it, and the same advice: point a client at /v1/event/{project}/store, which is the one door.
|
|
1057
|
+
* @summary Receive a single event on the runtime\'s ingest hatch
|
|
1058
1058
|
* @param {string} project
|
|
1059
1059
|
* @param {*} [options] Override http request option.
|
|
1060
1060
|
* @throws {RequiredError}
|
|
1061
1061
|
*/
|
|
1062
|
-
async
|
|
1063
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1062
|
+
async postSentinelByProjectStore(project, options) {
|
|
1063
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postSentinelByProjectStore(project, options);
|
|
1064
1064
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1065
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
1065
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.postSentinelByProjectStore']?.[localVarOperationServerIndex]?.url;
|
|
1066
1066
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1067
1067
|
},
|
|
1068
1068
|
/**
|
|
@@ -1072,10 +1072,10 @@ const SentryApiFp = function (configuration) {
|
|
|
1072
1072
|
* @param {*} [options] Override http request option.
|
|
1073
1073
|
* @throws {RequiredError}
|
|
1074
1074
|
*/
|
|
1075
|
-
async
|
|
1076
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1075
|
+
async postSentinelByWildcard1(wildcard1, options) {
|
|
1076
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postSentinelByWildcard1(wildcard1, options);
|
|
1077
1077
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1078
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
1078
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.postSentinelByWildcard1']?.[localVarOperationServerIndex]?.url;
|
|
1079
1079
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1080
1080
|
},
|
|
1081
1081
|
/**
|
|
@@ -1085,10 +1085,10 @@ const SentryApiFp = function (configuration) {
|
|
|
1085
1085
|
* @param {*} [options] Override http request option.
|
|
1086
1086
|
* @throws {RequiredError}
|
|
1087
1087
|
*/
|
|
1088
|
-
async
|
|
1089
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1088
|
+
async postSentinelDiscover(o11yO11yDiscoverIn, options) {
|
|
1089
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postSentinelDiscover(o11yO11yDiscoverIn, options);
|
|
1090
1090
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1091
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
1091
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.postSentinelDiscover']?.[localVarOperationServerIndex]?.url;
|
|
1092
1092
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1093
1093
|
},
|
|
1094
1094
|
/**
|
|
@@ -1098,10 +1098,10 @@ const SentryApiFp = function (configuration) {
|
|
|
1098
1098
|
* @param {*} [options] Override http request option.
|
|
1099
1099
|
* @throws {RequiredError}
|
|
1100
1100
|
*/
|
|
1101
|
-
async
|
|
1102
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1101
|
+
async postSentinelProjects(o11yO11ySentryPostableProject, options) {
|
|
1102
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postSentinelProjects(o11yO11ySentryPostableProject, options);
|
|
1103
1103
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1104
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
1104
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.postSentinelProjects']?.[localVarOperationServerIndex]?.url;
|
|
1105
1105
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1106
1106
|
},
|
|
1107
1107
|
/**
|
|
@@ -1111,10 +1111,10 @@ const SentryApiFp = function (configuration) {
|
|
|
1111
1111
|
* @param {*} [options] Override http request option.
|
|
1112
1112
|
* @throws {RequiredError}
|
|
1113
1113
|
*/
|
|
1114
|
-
async
|
|
1115
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1114
|
+
async postSentinelProjectsByIdKeysRotate(id, options) {
|
|
1115
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postSentinelProjectsByIdKeysRotate(id, options);
|
|
1116
1116
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1117
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
1117
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.postSentinelProjectsByIdKeysRotate']?.[localVarOperationServerIndex]?.url;
|
|
1118
1118
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1119
1119
|
},
|
|
1120
1120
|
/**
|
|
@@ -1124,10 +1124,10 @@ const SentryApiFp = function (configuration) {
|
|
|
1124
1124
|
* @param {*} [options] Override http request option.
|
|
1125
1125
|
* @throws {RequiredError}
|
|
1126
1126
|
*/
|
|
1127
|
-
async
|
|
1128
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1127
|
+
async putSentinelByWildcard1(wildcard1, options) {
|
|
1128
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putSentinelByWildcard1(wildcard1, options);
|
|
1129
1129
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1130
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
1130
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.putSentinelByWildcard1']?.[localVarOperationServerIndex]?.url;
|
|
1131
1131
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1132
1132
|
},
|
|
1133
1133
|
/**
|
|
@@ -1138,101 +1138,101 @@ const SentryApiFp = function (configuration) {
|
|
|
1138
1138
|
* @param {*} [options] Override http request option.
|
|
1139
1139
|
* @throws {RequiredError}
|
|
1140
1140
|
*/
|
|
1141
|
-
async
|
|
1142
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1141
|
+
async putSentinelIssuesById(id, o11yO11ySentryUpdateIssueIn, options) {
|
|
1142
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putSentinelIssuesById(id, o11yO11ySentryUpdateIssueIn, options);
|
|
1143
1143
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1144
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
1144
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SentinelApi.putSentinelIssuesById']?.[localVarOperationServerIndex]?.url;
|
|
1145
1145
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1146
1146
|
},
|
|
1147
1147
|
};
|
|
1148
1148
|
};
|
|
1149
|
-
exports.
|
|
1149
|
+
exports.SentinelApiFp = SentinelApiFp;
|
|
1150
1150
|
/**
|
|
1151
|
-
*
|
|
1151
|
+
* SentinelApi - factory interface
|
|
1152
1152
|
* @export
|
|
1153
1153
|
*/
|
|
1154
|
-
const
|
|
1155
|
-
const localVarFp = (0, exports.
|
|
1154
|
+
const SentinelApiFactory = function (configuration, basePath, axios) {
|
|
1155
|
+
const localVarFp = (0, exports.SentinelApiFp)(configuration);
|
|
1156
1156
|
return {
|
|
1157
1157
|
/**
|
|
1158
1158
|
* The one delete on the Sentry surface: removing a PROJECT, answering 204. Error issues, events and traces are not individually deletable — they are append-only telemetry, and their lifetime is retention\'s business, not an API call\'s. Requires a validated, org-scoped principal with edit rights; a viewer is refused. The delete is confined to the org minted from that principal\'s claim, so a project id belonging to another tenant is not found rather than removed. Deleting a project retires the DSN that fed it, so any SDK still pointed at that key stops being accepted. Before the runtime is initialized, 503.
|
|
1159
1159
|
* @summary Delete a Sentry project
|
|
1160
|
-
* @param {
|
|
1160
|
+
* @param {SentinelApiDeleteSentinelByWildcard1Request} requestParameters Request parameters.
|
|
1161
1161
|
* @param {*} [options] Override http request option.
|
|
1162
1162
|
* @throws {RequiredError}
|
|
1163
1163
|
*/
|
|
1164
|
-
|
|
1165
|
-
return localVarFp.
|
|
1164
|
+
deleteSentinelByWildcard1(requestParameters, options) {
|
|
1165
|
+
return localVarFp.deleteSentinelByWildcard1(requestParameters.wildcard1, options).then((request) => request(axios, basePath));
|
|
1166
1166
|
},
|
|
1167
1167
|
/**
|
|
1168
1168
|
* Deletes one Sentry project of the caller\'s org. Its DSN stops resolving immediately, so ingest for that id fails closed exactly as an unknown project does; retained events are not touched. Answers 204. Callers need the editor role; the runtime\'s own gate enforces it.
|
|
1169
1169
|
* @summary Deletes one Sentry project of the caller\'s org.
|
|
1170
|
-
* @param {
|
|
1170
|
+
* @param {SentinelApiDeleteSentinelProjectsByIdRequest} requestParameters Request parameters.
|
|
1171
1171
|
* @param {*} [options] Override http request option.
|
|
1172
1172
|
* @throws {RequiredError}
|
|
1173
1173
|
*/
|
|
1174
|
-
|
|
1175
|
-
return localVarFp.
|
|
1174
|
+
deleteSentinelProjectsById(requestParameters, options) {
|
|
1175
|
+
return localVarFp.deleteSentinelProjectsById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1176
1176
|
},
|
|
1177
1177
|
/**
|
|
1178
1178
|
* Serves the Sentry-compatible read surface — projects, error issues and one issue\'s occurrences, a single event, error logs, error-correlated traces and one trace\'s waterfall, and the event-rate stats — so a Sentry client or the error console reads its errors at the paths it already speaks. It is the SAME runtime the observability surface serves, reached under a second path family, and there is NO rewrite: the runtime carries these routes literally. That is what makes this a product face rather than a translation layer. One runtime, two path families. A validated principal is required and the read is scoped to that principal\'s own org. Errors are a tenant\'s OWN data, so org membership is the whole admission test and there is deliberately no admin term on it — gating the product on platform sudo would make the only way to see your own errors a scope that shows you everyone\'s. Before the runtime is initialized, 503.
|
|
1179
1179
|
* @summary Read the caller org\'s errors on the Sentry surface
|
|
1180
|
-
* @param {
|
|
1180
|
+
* @param {SentinelApiGetSentinelByWildcard1Request} requestParameters Request parameters.
|
|
1181
1181
|
* @param {*} [options] Override http request option.
|
|
1182
1182
|
* @throws {RequiredError}
|
|
1183
1183
|
*/
|
|
1184
|
-
|
|
1185
|
-
return localVarFp.
|
|
1184
|
+
getSentinelByWildcard1(requestParameters, options) {
|
|
1185
|
+
return localVarFp.getSentinelByWildcard1(requestParameters.wildcard1, options).then((request) => request(axios, basePath));
|
|
1186
1186
|
},
|
|
1187
1187
|
/**
|
|
1188
1188
|
* Returns one captured error event of a project, by its id. Callers need the viewer role; the runtime\'s own gate enforces it.
|
|
1189
1189
|
* @summary Returns one captured error event of a project, by its id.
|
|
1190
|
-
* @param {
|
|
1190
|
+
* @param {SentinelApiGetSentinelEventsByIdRequest} requestParameters Request parameters.
|
|
1191
1191
|
* @param {*} [options] Override http request option.
|
|
1192
1192
|
* @throws {RequiredError}
|
|
1193
1193
|
*/
|
|
1194
|
-
|
|
1195
|
-
return localVarFp.
|
|
1194
|
+
getSentinelEventsById(requestParameters, options) {
|
|
1195
|
+
return localVarFp.getSentinelEventsById(requestParameters.id, requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1196
1196
|
},
|
|
1197
1197
|
/**
|
|
1198
1198
|
* Lists the caller\'s org\'s grouped error issues, optionally narrowed to one project and one time window, and filtered by status, level, environment, service, a free-text query and a sort. Callers need the viewer role; the runtime\'s own gate enforces it.
|
|
1199
1199
|
* @summary Lists the caller\'s org\'s grouped error issues, optionally narrowed to one project and one time window, and filtered by status, level, environment, service, a free-text query and a sort.
|
|
1200
|
-
* @param {
|
|
1200
|
+
* @param {SentinelApiGetSentinelIssuesRequest} requestParameters Request parameters.
|
|
1201
1201
|
* @param {*} [options] Override http request option.
|
|
1202
1202
|
* @throws {RequiredError}
|
|
1203
1203
|
*/
|
|
1204
|
-
|
|
1205
|
-
return localVarFp.
|
|
1204
|
+
getSentinelIssues(requestParameters = {}, options) {
|
|
1205
|
+
return localVarFp.getSentinelIssues(requestParameters.status, requestParameters.level, requestParameters.environment, requestParameters.serviceName, requestParameters.query, requestParameters.sort, requestParameters.offset, requestParameters.limit, requestParameters.project, requestParameters.period, options).then((request) => request(axios, basePath));
|
|
1206
1206
|
},
|
|
1207
1207
|
/**
|
|
1208
1208
|
* Returns one grouped issue of the caller\'s org with its latest occurrence sample. Callers need the viewer role; the runtime\'s own gate enforces it.
|
|
1209
1209
|
* @summary Returns one grouped issue of the caller\'s org with its latest occurrence sample.
|
|
1210
|
-
* @param {
|
|
1210
|
+
* @param {SentinelApiGetSentinelIssuesByIdRequest} requestParameters Request parameters.
|
|
1211
1211
|
* @param {*} [options] Override http request option.
|
|
1212
1212
|
* @throws {RequiredError}
|
|
1213
1213
|
*/
|
|
1214
|
-
|
|
1215
|
-
return localVarFp.
|
|
1214
|
+
getSentinelIssuesById(requestParameters, options) {
|
|
1215
|
+
return localVarFp.getSentinelIssuesById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1216
1216
|
},
|
|
1217
1217
|
/**
|
|
1218
1218
|
* Lists one issue\'s captured occurrences, scoped to a project — a project is an isolation unit, so the caller declares which project\'s occurrences to read. Callers need the viewer role; the runtime\'s own gate enforces it.
|
|
1219
1219
|
* @summary Lists one issue\'s captured occurrences, scoped to a project — a project is an isolation unit, so the caller declares which project\'s occurrences to read.
|
|
1220
|
-
* @param {
|
|
1220
|
+
* @param {SentinelApiGetSentinelIssuesByIdEventsRequest} requestParameters Request parameters.
|
|
1221
1221
|
* @param {*} [options] Override http request option.
|
|
1222
1222
|
* @throws {RequiredError}
|
|
1223
1223
|
*/
|
|
1224
|
-
|
|
1225
|
-
return localVarFp.
|
|
1224
|
+
getSentinelIssuesByIdEvents(requestParameters, options) {
|
|
1225
|
+
return localVarFp.getSentinelIssuesByIdEvents(requestParameters.id, requestParameters.project, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
1226
1226
|
},
|
|
1227
1227
|
/**
|
|
1228
1228
|
* Lists a project\'s captured error events, newest first, optionally narrowed to those whose message or exception text contains a search string.
|
|
1229
1229
|
* @summary Lists a project\'s captured error events, newest first, optionally narrowed to those whose message or exception text contains a search string.
|
|
1230
|
-
* @param {
|
|
1230
|
+
* @param {SentinelApiGetSentinelLogsRequest} requestParameters Request parameters.
|
|
1231
1231
|
* @param {*} [options] Override http request option.
|
|
1232
1232
|
* @throws {RequiredError}
|
|
1233
1233
|
*/
|
|
1234
|
-
|
|
1235
|
-
return localVarFp.
|
|
1234
|
+
getSentinelLogs(requestParameters, options) {
|
|
1235
|
+
return localVarFp.getSentinelLogs(requestParameters.project, requestParameters.query, requestParameters.period, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
1236
1236
|
},
|
|
1237
1237
|
/**
|
|
1238
1238
|
* Lists the caller\'s org\'s Sentry projects, each with its freshly-derived DSN. Callers need the viewer role; the runtime\'s own gate enforces it.
|
|
@@ -1240,389 +1240,389 @@ const SentryApiFactory = function (configuration, basePath, axios) {
|
|
|
1240
1240
|
* @param {*} [options] Override http request option.
|
|
1241
1241
|
* @throws {RequiredError}
|
|
1242
1242
|
*/
|
|
1243
|
-
|
|
1244
|
-
return localVarFp.
|
|
1243
|
+
getSentinelProjects(options) {
|
|
1244
|
+
return localVarFp.getSentinelProjects(options).then((request) => request(axios, basePath));
|
|
1245
1245
|
},
|
|
1246
1246
|
/**
|
|
1247
1247
|
* Returns one Sentry project of the caller\'s org, DSN included. Callers need the viewer role; the runtime\'s own gate enforces it.
|
|
1248
1248
|
* @summary Returns one Sentry project of the caller\'s org, DSN included.
|
|
1249
|
-
* @param {
|
|
1249
|
+
* @param {SentinelApiGetSentinelProjectsByIdRequest} requestParameters Request parameters.
|
|
1250
1250
|
* @param {*} [options] Override http request option.
|
|
1251
1251
|
* @throws {RequiredError}
|
|
1252
1252
|
*/
|
|
1253
|
-
|
|
1254
|
-
return localVarFp.
|
|
1253
|
+
getSentinelProjectsById(requestParameters, options) {
|
|
1254
|
+
return localVarFp.getSentinelProjectsById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1255
1255
|
},
|
|
1256
1256
|
/**
|
|
1257
1257
|
* Returns a project\'s event-rate timeseries: one bucket per interval over the requested period, counting the events in it.
|
|
1258
1258
|
* @summary Returns a project\'s event-rate timeseries: one bucket per interval over the requested period, counting the events in it.
|
|
1259
|
-
* @param {
|
|
1259
|
+
* @param {SentinelApiGetSentinelStatsRequest} requestParameters Request parameters.
|
|
1260
1260
|
* @param {*} [options] Override http request option.
|
|
1261
1261
|
* @throws {RequiredError}
|
|
1262
1262
|
*/
|
|
1263
|
-
|
|
1264
|
-
return localVarFp.
|
|
1263
|
+
getSentinelStats(requestParameters, options) {
|
|
1264
|
+
return localVarFp.getSentinelStats(requestParameters.project, requestParameters.field, requestParameters.period, options).then((request) => request(axios, basePath));
|
|
1265
1265
|
},
|
|
1266
1266
|
/**
|
|
1267
1267
|
* Lists the traces a project\'s captured errors reference, each with how many errors landed on it, when they started and stopped, and the latest message seen — the entry point for \"which requests are failing\".
|
|
1268
1268
|
* @summary Lists the traces a project\'s captured errors reference, each with how many errors landed on it, when they started and stopped, and the latest message seen — the entry point for \"which requests are failing\".
|
|
1269
|
-
* @param {
|
|
1269
|
+
* @param {SentinelApiGetSentinelTracesRequest} requestParameters Request parameters.
|
|
1270
1270
|
* @param {*} [options] Override http request option.
|
|
1271
1271
|
* @throws {RequiredError}
|
|
1272
1272
|
*/
|
|
1273
|
-
|
|
1274
|
-
return localVarFp.
|
|
1273
|
+
getSentinelTraces(requestParameters, options) {
|
|
1274
|
+
return localVarFp.getSentinelTraces(requestParameters.project, requestParameters.period, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
1275
1275
|
},
|
|
1276
1276
|
/**
|
|
1277
1277
|
* Returns one trace\'s captured errors for a project — every error event that carried the trace id, in the order the events plane holds them.
|
|
1278
1278
|
* @summary Returns one trace\'s captured errors for a project — every error event that carried the trace id, in the order the events plane holds them.
|
|
1279
|
-
* @param {
|
|
1279
|
+
* @param {SentinelApiGetSentinelTracesByIdRequest} requestParameters Request parameters.
|
|
1280
1280
|
* @param {*} [options] Override http request option.
|
|
1281
1281
|
* @throws {RequiredError}
|
|
1282
1282
|
*/
|
|
1283
|
-
|
|
1284
|
-
return localVarFp.
|
|
1283
|
+
getSentinelTracesById(requestParameters, options) {
|
|
1284
|
+
return localVarFp.getSentinelTracesById(requestParameters.id, requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1285
1285
|
},
|
|
1286
1286
|
/**
|
|
1287
1287
|
* The Sentry face carries NO route for a partial update. The wildcard admits every method, so this operation exists as an address, but nothing behind it answers and a request lands on the runtime as an unrouted path. It is documented rather than silently omitted because the useful thing to say is where to go instead: an issue\'s lifecycle — resolve, ignore, assign — is a REPLACE on that issue, not a patch, and it is the only mutable state on this surface. A client that reaches for a partial update here is looking for that call.
|
|
1288
1288
|
* @summary Not served — the Sentry surface has no partial update
|
|
1289
|
-
* @param {
|
|
1289
|
+
* @param {SentinelApiPatchSentinelByWildcard1Request} requestParameters Request parameters.
|
|
1290
1290
|
* @param {*} [options] Override http request option.
|
|
1291
1291
|
* @throws {RequiredError}
|
|
1292
1292
|
*/
|
|
1293
|
-
|
|
1294
|
-
return localVarFp.
|
|
1293
|
+
patchSentinelByWildcard1(requestParameters, options) {
|
|
1294
|
+
return localVarFp.patchSentinelByWildcard1(requestParameters.wildcard1, options).then((request) => request(axios, basePath));
|
|
1295
1295
|
},
|
|
1296
1296
|
/**
|
|
1297
|
-
* The
|
|
1298
|
-
* @summary Receive a Sentry envelope on the
|
|
1299
|
-
* @param {
|
|
1297
|
+
* The runtime\'s own ingest address for a Sentry envelope frame, kept under this root because that is where the module registers it. THE DOOR A CLIENT SHOULD USE IS /v1/event/{project}/envelope. That is what a minted DSN addresses and what @hanzo/event posts to, and it carries the same wire to the same sink. This address answers identically; it is the second spelling of one wire and it is on its way out. AUTHENTICATED BY THE DSN PUBLIC KEY, never a Hanzo session, so it is exempt from the principal gate — a reporting SDK has no session to present. The project segment is a UUID enforced by the route, and the exemption matches method plus prefix plus suffix, so every Sentinel READ (issues, discover, events, logs, traces, stats) stays gated.
|
|
1298
|
+
* @summary Receive a Sentry envelope on the runtime\'s ingest hatch
|
|
1299
|
+
* @param {SentinelApiPostSentinelByProjectEnvelopeRequest} requestParameters Request parameters.
|
|
1300
1300
|
* @param {*} [options] Override http request option.
|
|
1301
1301
|
* @throws {RequiredError}
|
|
1302
1302
|
*/
|
|
1303
|
-
|
|
1304
|
-
return localVarFp.
|
|
1303
|
+
postSentinelByProjectEnvelope(requestParameters, options) {
|
|
1304
|
+
return localVarFp.postSentinelByProjectEnvelope(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1305
1305
|
},
|
|
1306
1306
|
/**
|
|
1307
|
-
* The legacy single-event
|
|
1308
|
-
* @summary Receive a single
|
|
1309
|
-
* @param {
|
|
1307
|
+
* The legacy single-event form of the envelope ingest — one JSON event rather than a framed batch — kept because SDKs in the field still send it. Same address ownership and same authentication as the envelope route beside it, and the same advice: point a client at /v1/event/{project}/store, which is the one door.
|
|
1308
|
+
* @summary Receive a single event on the runtime\'s ingest hatch
|
|
1309
|
+
* @param {SentinelApiPostSentinelByProjectStoreRequest} requestParameters Request parameters.
|
|
1310
1310
|
* @param {*} [options] Override http request option.
|
|
1311
1311
|
* @throws {RequiredError}
|
|
1312
1312
|
*/
|
|
1313
|
-
|
|
1314
|
-
return localVarFp.
|
|
1313
|
+
postSentinelByProjectStore(requestParameters, options) {
|
|
1314
|
+
return localVarFp.postSentinelByProjectStore(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1315
1315
|
},
|
|
1316
1316
|
/**
|
|
1317
1317
|
* Carries every write on the Sentry-compatible surface: the SDK\'s error ingest, and the authenticated writes the console makes — creating a project, rotating a project\'s DSN key, and running a discover query over the events plane. THE TWO ARE AUTHENTICATED DIFFERENTLY, and that is the rule to get right. An envelope or store submission presents a DSN public key, never a Hanzo session, so it is exempt from the principal gate and verified by the ingest key check instead — which derives the org from the DSN and fails closed. A keyless submission is a 401 from that verifier, not a 403 from the gate, and telling those two apart is how you tell the hops apart. Every other write here needs a validated, org-scoped principal, and creating or rotating requires an editor rather than a viewer. The ingest exemption is matched by method plus prefix plus suffix, never a bare prefix, and the project segment must be a UUID — so no read is reachable through it. Before the runtime is initialized, 503.
|
|
1318
1318
|
* @summary Send events to the Sentry surface, or write on it
|
|
1319
|
-
* @param {
|
|
1319
|
+
* @param {SentinelApiPostSentinelByWildcard1Request} requestParameters Request parameters.
|
|
1320
1320
|
* @param {*} [options] Override http request option.
|
|
1321
1321
|
* @throws {RequiredError}
|
|
1322
1322
|
*/
|
|
1323
|
-
|
|
1324
|
-
return localVarFp.
|
|
1323
|
+
postSentinelByWildcard1(requestParameters, options) {
|
|
1324
|
+
return localVarFp.postSentinelByWildcard1(requestParameters.wildcard1, options).then((request) => request(axios, basePath));
|
|
1325
1325
|
},
|
|
1326
1326
|
/**
|
|
1327
1327
|
* Aggregates a project\'s captured errors into a table — the caller names the filters, the groupings and the aggregations, and gets back the columns and rows they asked for. The project is mandatory and is checked against the caller\'s own org before it scopes anything, so a project id belonging to someone else reads as absent rather than as data.
|
|
1328
1328
|
* @summary Aggregates a project\'s captured errors into a table — the caller names the filters, the groupings and the aggregations, and gets back the columns and rows they asked for.
|
|
1329
|
-
* @param {
|
|
1329
|
+
* @param {SentinelApiPostSentinelDiscoverRequest} requestParameters Request parameters.
|
|
1330
1330
|
* @param {*} [options] Override http request option.
|
|
1331
1331
|
* @throws {RequiredError}
|
|
1332
1332
|
*/
|
|
1333
|
-
|
|
1334
|
-
return localVarFp.
|
|
1333
|
+
postSentinelDiscover(requestParameters, options) {
|
|
1334
|
+
return localVarFp.postSentinelDiscover(requestParameters.o11yO11yDiscoverIn, options).then((request) => request(axios, basePath));
|
|
1335
1335
|
},
|
|
1336
1336
|
/**
|
|
1337
1337
|
* Creates a Sentry project under the caller\'s org and returns it, DSN included. Only the name, and optionally a slug and platform, are the caller\'s to set; the org, id and key are server-assigned. Callers need the editor role; the runtime\'s own gate enforces it.
|
|
1338
1338
|
* @summary Creates a Sentry project under the caller\'s org and returns it, DSN included.
|
|
1339
|
-
* @param {
|
|
1339
|
+
* @param {SentinelApiPostSentinelProjectsRequest} requestParameters Request parameters.
|
|
1340
1340
|
* @param {*} [options] Override http request option.
|
|
1341
1341
|
* @throws {RequiredError}
|
|
1342
1342
|
*/
|
|
1343
|
-
|
|
1344
|
-
return localVarFp.
|
|
1343
|
+
postSentinelProjects(requestParameters, options) {
|
|
1344
|
+
return localVarFp.postSentinelProjects(requestParameters.o11yO11ySentryPostableProject, options).then((request) => request(axios, basePath));
|
|
1345
1345
|
},
|
|
1346
1346
|
/**
|
|
1347
1347
|
* Rotates a project\'s DSN key — bumping its rotation watermark so keys below it stop verifying — and returns the project with its new DSN. Callers need the editor role; the runtime\'s own gate enforces it.
|
|
1348
1348
|
* @summary Rotates a project\'s DSN key — bumping its rotation watermark so keys below it stop verifying — and returns the project with its new DSN.
|
|
1349
|
-
* @param {
|
|
1349
|
+
* @param {SentinelApiPostSentinelProjectsByIdKeysRotateRequest} requestParameters Request parameters.
|
|
1350
1350
|
* @param {*} [options] Override http request option.
|
|
1351
1351
|
* @throws {RequiredError}
|
|
1352
1352
|
*/
|
|
1353
|
-
|
|
1354
|
-
return localVarFp.
|
|
1353
|
+
postSentinelProjectsByIdKeysRotate(requestParameters, options) {
|
|
1354
|
+
return localVarFp.postSentinelProjectsByIdKeysRotate(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1355
1355
|
},
|
|
1356
1356
|
/**
|
|
1357
1357
|
* The one replace on the Sentry surface: updating an error ISSUE — resolving it, ignoring it, or assigning it — and answering the updated issue. Nothing else here takes a replace. A project is created and deleted but never replaced, and the event and trace planes are append-only telemetry, so an issue\'s lifecycle is the only mutable state this face exposes. Requires a validated, org-scoped principal with edit rights; a viewer is refused. The write is confined to the org minted from that principal\'s claim, so an issue id belonging to another tenant is simply not found. Before the runtime is initialized, 503.
|
|
1358
1358
|
* @summary Move an error issue through its lifecycle
|
|
1359
|
-
* @param {
|
|
1359
|
+
* @param {SentinelApiPutSentinelByWildcard1Request} requestParameters Request parameters.
|
|
1360
1360
|
* @param {*} [options] Override http request option.
|
|
1361
1361
|
* @throws {RequiredError}
|
|
1362
1362
|
*/
|
|
1363
|
-
|
|
1364
|
-
return localVarFp.
|
|
1363
|
+
putSentinelByWildcard1(requestParameters, options) {
|
|
1364
|
+
return localVarFp.putSentinelByWildcard1(requestParameters.wildcard1, options).then((request) => request(axios, basePath));
|
|
1365
1365
|
},
|
|
1366
1366
|
/**
|
|
1367
1367
|
* Changes an issue\'s lifecycle — resolve, ignore, reopen or assign — and returns the updated issue. Fields left unset are left unchanged. Callers need the editor role; the runtime\'s own gate enforces it.
|
|
1368
1368
|
* @summary Changes an issue\'s lifecycle — resolve, ignore, reopen or assign — and returns the updated issue.
|
|
1369
|
-
* @param {
|
|
1369
|
+
* @param {SentinelApiPutSentinelIssuesByIdRequest} requestParameters Request parameters.
|
|
1370
1370
|
* @param {*} [options] Override http request option.
|
|
1371
1371
|
* @throws {RequiredError}
|
|
1372
1372
|
*/
|
|
1373
|
-
|
|
1374
|
-
return localVarFp.
|
|
1373
|
+
putSentinelIssuesById(requestParameters, options) {
|
|
1374
|
+
return localVarFp.putSentinelIssuesById(requestParameters.id, requestParameters.o11yO11ySentryUpdateIssueIn, options).then((request) => request(axios, basePath));
|
|
1375
1375
|
},
|
|
1376
1376
|
};
|
|
1377
1377
|
};
|
|
1378
|
-
exports.
|
|
1378
|
+
exports.SentinelApiFactory = SentinelApiFactory;
|
|
1379
1379
|
/**
|
|
1380
|
-
*
|
|
1380
|
+
* SentinelApi - object-oriented interface
|
|
1381
1381
|
* @export
|
|
1382
|
-
* @class
|
|
1382
|
+
* @class SentinelApi
|
|
1383
1383
|
* @extends {BaseAPI}
|
|
1384
1384
|
*/
|
|
1385
|
-
class
|
|
1385
|
+
class SentinelApi extends base_1.BaseAPI {
|
|
1386
1386
|
/**
|
|
1387
1387
|
* The one delete on the Sentry surface: removing a PROJECT, answering 204. Error issues, events and traces are not individually deletable — they are append-only telemetry, and their lifetime is retention\'s business, not an API call\'s. Requires a validated, org-scoped principal with edit rights; a viewer is refused. The delete is confined to the org minted from that principal\'s claim, so a project id belonging to another tenant is not found rather than removed. Deleting a project retires the DSN that fed it, so any SDK still pointed at that key stops being accepted. Before the runtime is initialized, 503.
|
|
1388
1388
|
* @summary Delete a Sentry project
|
|
1389
|
-
* @param {
|
|
1389
|
+
* @param {SentinelApiDeleteSentinelByWildcard1Request} requestParameters Request parameters.
|
|
1390
1390
|
* @param {*} [options] Override http request option.
|
|
1391
1391
|
* @throws {RequiredError}
|
|
1392
|
-
* @memberof
|
|
1392
|
+
* @memberof SentinelApi
|
|
1393
1393
|
*/
|
|
1394
|
-
|
|
1395
|
-
return (0, exports.
|
|
1394
|
+
deleteSentinelByWildcard1(requestParameters, options) {
|
|
1395
|
+
return (0, exports.SentinelApiFp)(this.configuration).deleteSentinelByWildcard1(requestParameters.wildcard1, options).then((request) => request(this.axios, this.basePath));
|
|
1396
1396
|
}
|
|
1397
1397
|
/**
|
|
1398
1398
|
* Deletes one Sentry project of the caller\'s org. Its DSN stops resolving immediately, so ingest for that id fails closed exactly as an unknown project does; retained events are not touched. Answers 204. Callers need the editor role; the runtime\'s own gate enforces it.
|
|
1399
1399
|
* @summary Deletes one Sentry project of the caller\'s org.
|
|
1400
|
-
* @param {
|
|
1400
|
+
* @param {SentinelApiDeleteSentinelProjectsByIdRequest} requestParameters Request parameters.
|
|
1401
1401
|
* @param {*} [options] Override http request option.
|
|
1402
1402
|
* @throws {RequiredError}
|
|
1403
|
-
* @memberof
|
|
1403
|
+
* @memberof SentinelApi
|
|
1404
1404
|
*/
|
|
1405
|
-
|
|
1406
|
-
return (0, exports.
|
|
1405
|
+
deleteSentinelProjectsById(requestParameters, options) {
|
|
1406
|
+
return (0, exports.SentinelApiFp)(this.configuration).deleteSentinelProjectsById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1407
1407
|
}
|
|
1408
1408
|
/**
|
|
1409
1409
|
* Serves the Sentry-compatible read surface — projects, error issues and one issue\'s occurrences, a single event, error logs, error-correlated traces and one trace\'s waterfall, and the event-rate stats — so a Sentry client or the error console reads its errors at the paths it already speaks. It is the SAME runtime the observability surface serves, reached under a second path family, and there is NO rewrite: the runtime carries these routes literally. That is what makes this a product face rather than a translation layer. One runtime, two path families. A validated principal is required and the read is scoped to that principal\'s own org. Errors are a tenant\'s OWN data, so org membership is the whole admission test and there is deliberately no admin term on it — gating the product on platform sudo would make the only way to see your own errors a scope that shows you everyone\'s. Before the runtime is initialized, 503.
|
|
1410
1410
|
* @summary Read the caller org\'s errors on the Sentry surface
|
|
1411
|
-
* @param {
|
|
1411
|
+
* @param {SentinelApiGetSentinelByWildcard1Request} requestParameters Request parameters.
|
|
1412
1412
|
* @param {*} [options] Override http request option.
|
|
1413
1413
|
* @throws {RequiredError}
|
|
1414
|
-
* @memberof
|
|
1414
|
+
* @memberof SentinelApi
|
|
1415
1415
|
*/
|
|
1416
|
-
|
|
1417
|
-
return (0, exports.
|
|
1416
|
+
getSentinelByWildcard1(requestParameters, options) {
|
|
1417
|
+
return (0, exports.SentinelApiFp)(this.configuration).getSentinelByWildcard1(requestParameters.wildcard1, options).then((request) => request(this.axios, this.basePath));
|
|
1418
1418
|
}
|
|
1419
1419
|
/**
|
|
1420
1420
|
* Returns one captured error event of a project, by its id. Callers need the viewer role; the runtime\'s own gate enforces it.
|
|
1421
1421
|
* @summary Returns one captured error event of a project, by its id.
|
|
1422
|
-
* @param {
|
|
1422
|
+
* @param {SentinelApiGetSentinelEventsByIdRequest} requestParameters Request parameters.
|
|
1423
1423
|
* @param {*} [options] Override http request option.
|
|
1424
1424
|
* @throws {RequiredError}
|
|
1425
|
-
* @memberof
|
|
1425
|
+
* @memberof SentinelApi
|
|
1426
1426
|
*/
|
|
1427
|
-
|
|
1428
|
-
return (0, exports.
|
|
1427
|
+
getSentinelEventsById(requestParameters, options) {
|
|
1428
|
+
return (0, exports.SentinelApiFp)(this.configuration).getSentinelEventsById(requestParameters.id, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1429
1429
|
}
|
|
1430
1430
|
/**
|
|
1431
1431
|
* Lists the caller\'s org\'s grouped error issues, optionally narrowed to one project and one time window, and filtered by status, level, environment, service, a free-text query and a sort. Callers need the viewer role; the runtime\'s own gate enforces it.
|
|
1432
1432
|
* @summary Lists the caller\'s org\'s grouped error issues, optionally narrowed to one project and one time window, and filtered by status, level, environment, service, a free-text query and a sort.
|
|
1433
|
-
* @param {
|
|
1433
|
+
* @param {SentinelApiGetSentinelIssuesRequest} requestParameters Request parameters.
|
|
1434
1434
|
* @param {*} [options] Override http request option.
|
|
1435
1435
|
* @throws {RequiredError}
|
|
1436
|
-
* @memberof
|
|
1436
|
+
* @memberof SentinelApi
|
|
1437
1437
|
*/
|
|
1438
|
-
|
|
1439
|
-
return (0, exports.
|
|
1438
|
+
getSentinelIssues(requestParameters = {}, options) {
|
|
1439
|
+
return (0, exports.SentinelApiFp)(this.configuration).getSentinelIssues(requestParameters.status, requestParameters.level, requestParameters.environment, requestParameters.serviceName, requestParameters.query, requestParameters.sort, requestParameters.offset, requestParameters.limit, requestParameters.project, requestParameters.period, options).then((request) => request(this.axios, this.basePath));
|
|
1440
1440
|
}
|
|
1441
1441
|
/**
|
|
1442
1442
|
* Returns one grouped issue of the caller\'s org with its latest occurrence sample. Callers need the viewer role; the runtime\'s own gate enforces it.
|
|
1443
1443
|
* @summary Returns one grouped issue of the caller\'s org with its latest occurrence sample.
|
|
1444
|
-
* @param {
|
|
1444
|
+
* @param {SentinelApiGetSentinelIssuesByIdRequest} requestParameters Request parameters.
|
|
1445
1445
|
* @param {*} [options] Override http request option.
|
|
1446
1446
|
* @throws {RequiredError}
|
|
1447
|
-
* @memberof
|
|
1447
|
+
* @memberof SentinelApi
|
|
1448
1448
|
*/
|
|
1449
|
-
|
|
1450
|
-
return (0, exports.
|
|
1449
|
+
getSentinelIssuesById(requestParameters, options) {
|
|
1450
|
+
return (0, exports.SentinelApiFp)(this.configuration).getSentinelIssuesById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1451
1451
|
}
|
|
1452
1452
|
/**
|
|
1453
1453
|
* Lists one issue\'s captured occurrences, scoped to a project — a project is an isolation unit, so the caller declares which project\'s occurrences to read. Callers need the viewer role; the runtime\'s own gate enforces it.
|
|
1454
1454
|
* @summary Lists one issue\'s captured occurrences, scoped to a project — a project is an isolation unit, so the caller declares which project\'s occurrences to read.
|
|
1455
|
-
* @param {
|
|
1455
|
+
* @param {SentinelApiGetSentinelIssuesByIdEventsRequest} requestParameters Request parameters.
|
|
1456
1456
|
* @param {*} [options] Override http request option.
|
|
1457
1457
|
* @throws {RequiredError}
|
|
1458
|
-
* @memberof
|
|
1458
|
+
* @memberof SentinelApi
|
|
1459
1459
|
*/
|
|
1460
|
-
|
|
1461
|
-
return (0, exports.
|
|
1460
|
+
getSentinelIssuesByIdEvents(requestParameters, options) {
|
|
1461
|
+
return (0, exports.SentinelApiFp)(this.configuration).getSentinelIssuesByIdEvents(requestParameters.id, requestParameters.project, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
1462
1462
|
}
|
|
1463
1463
|
/**
|
|
1464
1464
|
* Lists a project\'s captured error events, newest first, optionally narrowed to those whose message or exception text contains a search string.
|
|
1465
1465
|
* @summary Lists a project\'s captured error events, newest first, optionally narrowed to those whose message or exception text contains a search string.
|
|
1466
|
-
* @param {
|
|
1466
|
+
* @param {SentinelApiGetSentinelLogsRequest} requestParameters Request parameters.
|
|
1467
1467
|
* @param {*} [options] Override http request option.
|
|
1468
1468
|
* @throws {RequiredError}
|
|
1469
|
-
* @memberof
|
|
1469
|
+
* @memberof SentinelApi
|
|
1470
1470
|
*/
|
|
1471
|
-
|
|
1472
|
-
return (0, exports.
|
|
1471
|
+
getSentinelLogs(requestParameters, options) {
|
|
1472
|
+
return (0, exports.SentinelApiFp)(this.configuration).getSentinelLogs(requestParameters.project, requestParameters.query, requestParameters.period, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
1473
1473
|
}
|
|
1474
1474
|
/**
|
|
1475
1475
|
* Lists the caller\'s org\'s Sentry projects, each with its freshly-derived DSN. Callers need the viewer role; the runtime\'s own gate enforces it.
|
|
1476
1476
|
* @summary Lists the caller\'s org\'s Sentry projects, each with its freshly-derived DSN.
|
|
1477
1477
|
* @param {*} [options] Override http request option.
|
|
1478
1478
|
* @throws {RequiredError}
|
|
1479
|
-
* @memberof
|
|
1479
|
+
* @memberof SentinelApi
|
|
1480
1480
|
*/
|
|
1481
|
-
|
|
1482
|
-
return (0, exports.
|
|
1481
|
+
getSentinelProjects(options) {
|
|
1482
|
+
return (0, exports.SentinelApiFp)(this.configuration).getSentinelProjects(options).then((request) => request(this.axios, this.basePath));
|
|
1483
1483
|
}
|
|
1484
1484
|
/**
|
|
1485
1485
|
* Returns one Sentry project of the caller\'s org, DSN included. Callers need the viewer role; the runtime\'s own gate enforces it.
|
|
1486
1486
|
* @summary Returns one Sentry project of the caller\'s org, DSN included.
|
|
1487
|
-
* @param {
|
|
1487
|
+
* @param {SentinelApiGetSentinelProjectsByIdRequest} requestParameters Request parameters.
|
|
1488
1488
|
* @param {*} [options] Override http request option.
|
|
1489
1489
|
* @throws {RequiredError}
|
|
1490
|
-
* @memberof
|
|
1490
|
+
* @memberof SentinelApi
|
|
1491
1491
|
*/
|
|
1492
|
-
|
|
1493
|
-
return (0, exports.
|
|
1492
|
+
getSentinelProjectsById(requestParameters, options) {
|
|
1493
|
+
return (0, exports.SentinelApiFp)(this.configuration).getSentinelProjectsById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1494
1494
|
}
|
|
1495
1495
|
/**
|
|
1496
1496
|
* Returns a project\'s event-rate timeseries: one bucket per interval over the requested period, counting the events in it.
|
|
1497
1497
|
* @summary Returns a project\'s event-rate timeseries: one bucket per interval over the requested period, counting the events in it.
|
|
1498
|
-
* @param {
|
|
1498
|
+
* @param {SentinelApiGetSentinelStatsRequest} requestParameters Request parameters.
|
|
1499
1499
|
* @param {*} [options] Override http request option.
|
|
1500
1500
|
* @throws {RequiredError}
|
|
1501
|
-
* @memberof
|
|
1501
|
+
* @memberof SentinelApi
|
|
1502
1502
|
*/
|
|
1503
|
-
|
|
1504
|
-
return (0, exports.
|
|
1503
|
+
getSentinelStats(requestParameters, options) {
|
|
1504
|
+
return (0, exports.SentinelApiFp)(this.configuration).getSentinelStats(requestParameters.project, requestParameters.field, requestParameters.period, options).then((request) => request(this.axios, this.basePath));
|
|
1505
1505
|
}
|
|
1506
1506
|
/**
|
|
1507
1507
|
* Lists the traces a project\'s captured errors reference, each with how many errors landed on it, when they started and stopped, and the latest message seen — the entry point for \"which requests are failing\".
|
|
1508
1508
|
* @summary Lists the traces a project\'s captured errors reference, each with how many errors landed on it, when they started and stopped, and the latest message seen — the entry point for \"which requests are failing\".
|
|
1509
|
-
* @param {
|
|
1509
|
+
* @param {SentinelApiGetSentinelTracesRequest} requestParameters Request parameters.
|
|
1510
1510
|
* @param {*} [options] Override http request option.
|
|
1511
1511
|
* @throws {RequiredError}
|
|
1512
|
-
* @memberof
|
|
1512
|
+
* @memberof SentinelApi
|
|
1513
1513
|
*/
|
|
1514
|
-
|
|
1515
|
-
return (0, exports.
|
|
1514
|
+
getSentinelTraces(requestParameters, options) {
|
|
1515
|
+
return (0, exports.SentinelApiFp)(this.configuration).getSentinelTraces(requestParameters.project, requestParameters.period, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
1516
1516
|
}
|
|
1517
1517
|
/**
|
|
1518
1518
|
* Returns one trace\'s captured errors for a project — every error event that carried the trace id, in the order the events plane holds them.
|
|
1519
1519
|
* @summary Returns one trace\'s captured errors for a project — every error event that carried the trace id, in the order the events plane holds them.
|
|
1520
|
-
* @param {
|
|
1520
|
+
* @param {SentinelApiGetSentinelTracesByIdRequest} requestParameters Request parameters.
|
|
1521
1521
|
* @param {*} [options] Override http request option.
|
|
1522
1522
|
* @throws {RequiredError}
|
|
1523
|
-
* @memberof
|
|
1523
|
+
* @memberof SentinelApi
|
|
1524
1524
|
*/
|
|
1525
|
-
|
|
1526
|
-
return (0, exports.
|
|
1525
|
+
getSentinelTracesById(requestParameters, options) {
|
|
1526
|
+
return (0, exports.SentinelApiFp)(this.configuration).getSentinelTracesById(requestParameters.id, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1527
1527
|
}
|
|
1528
1528
|
/**
|
|
1529
1529
|
* The Sentry face carries NO route for a partial update. The wildcard admits every method, so this operation exists as an address, but nothing behind it answers and a request lands on the runtime as an unrouted path. It is documented rather than silently omitted because the useful thing to say is where to go instead: an issue\'s lifecycle — resolve, ignore, assign — is a REPLACE on that issue, not a patch, and it is the only mutable state on this surface. A client that reaches for a partial update here is looking for that call.
|
|
1530
1530
|
* @summary Not served — the Sentry surface has no partial update
|
|
1531
|
-
* @param {
|
|
1531
|
+
* @param {SentinelApiPatchSentinelByWildcard1Request} requestParameters Request parameters.
|
|
1532
1532
|
* @param {*} [options] Override http request option.
|
|
1533
1533
|
* @throws {RequiredError}
|
|
1534
|
-
* @memberof
|
|
1534
|
+
* @memberof SentinelApi
|
|
1535
1535
|
*/
|
|
1536
|
-
|
|
1537
|
-
return (0, exports.
|
|
1536
|
+
patchSentinelByWildcard1(requestParameters, options) {
|
|
1537
|
+
return (0, exports.SentinelApiFp)(this.configuration).patchSentinelByWildcard1(requestParameters.wildcard1, options).then((request) => request(this.axios, this.basePath));
|
|
1538
1538
|
}
|
|
1539
1539
|
/**
|
|
1540
|
-
* The
|
|
1541
|
-
* @summary Receive a Sentry envelope on the
|
|
1542
|
-
* @param {
|
|
1540
|
+
* The runtime\'s own ingest address for a Sentry envelope frame, kept under this root because that is where the module registers it. THE DOOR A CLIENT SHOULD USE IS /v1/event/{project}/envelope. That is what a minted DSN addresses and what @hanzo/event posts to, and it carries the same wire to the same sink. This address answers identically; it is the second spelling of one wire and it is on its way out. AUTHENTICATED BY THE DSN PUBLIC KEY, never a Hanzo session, so it is exempt from the principal gate — a reporting SDK has no session to present. The project segment is a UUID enforced by the route, and the exemption matches method plus prefix plus suffix, so every Sentinel READ (issues, discover, events, logs, traces, stats) stays gated.
|
|
1541
|
+
* @summary Receive a Sentry envelope on the runtime\'s ingest hatch
|
|
1542
|
+
* @param {SentinelApiPostSentinelByProjectEnvelopeRequest} requestParameters Request parameters.
|
|
1543
1543
|
* @param {*} [options] Override http request option.
|
|
1544
1544
|
* @throws {RequiredError}
|
|
1545
|
-
* @memberof
|
|
1545
|
+
* @memberof SentinelApi
|
|
1546
1546
|
*/
|
|
1547
|
-
|
|
1548
|
-
return (0, exports.
|
|
1547
|
+
postSentinelByProjectEnvelope(requestParameters, options) {
|
|
1548
|
+
return (0, exports.SentinelApiFp)(this.configuration).postSentinelByProjectEnvelope(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1549
1549
|
}
|
|
1550
1550
|
/**
|
|
1551
|
-
* The legacy single-event
|
|
1552
|
-
* @summary Receive a single
|
|
1553
|
-
* @param {
|
|
1551
|
+
* The legacy single-event form of the envelope ingest — one JSON event rather than a framed batch — kept because SDKs in the field still send it. Same address ownership and same authentication as the envelope route beside it, and the same advice: point a client at /v1/event/{project}/store, which is the one door.
|
|
1552
|
+
* @summary Receive a single event on the runtime\'s ingest hatch
|
|
1553
|
+
* @param {SentinelApiPostSentinelByProjectStoreRequest} requestParameters Request parameters.
|
|
1554
1554
|
* @param {*} [options] Override http request option.
|
|
1555
1555
|
* @throws {RequiredError}
|
|
1556
|
-
* @memberof
|
|
1556
|
+
* @memberof SentinelApi
|
|
1557
1557
|
*/
|
|
1558
|
-
|
|
1559
|
-
return (0, exports.
|
|
1558
|
+
postSentinelByProjectStore(requestParameters, options) {
|
|
1559
|
+
return (0, exports.SentinelApiFp)(this.configuration).postSentinelByProjectStore(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1560
1560
|
}
|
|
1561
1561
|
/**
|
|
1562
1562
|
* Carries every write on the Sentry-compatible surface: the SDK\'s error ingest, and the authenticated writes the console makes — creating a project, rotating a project\'s DSN key, and running a discover query over the events plane. THE TWO ARE AUTHENTICATED DIFFERENTLY, and that is the rule to get right. An envelope or store submission presents a DSN public key, never a Hanzo session, so it is exempt from the principal gate and verified by the ingest key check instead — which derives the org from the DSN and fails closed. A keyless submission is a 401 from that verifier, not a 403 from the gate, and telling those two apart is how you tell the hops apart. Every other write here needs a validated, org-scoped principal, and creating or rotating requires an editor rather than a viewer. The ingest exemption is matched by method plus prefix plus suffix, never a bare prefix, and the project segment must be a UUID — so no read is reachable through it. Before the runtime is initialized, 503.
|
|
1563
1563
|
* @summary Send events to the Sentry surface, or write on it
|
|
1564
|
-
* @param {
|
|
1564
|
+
* @param {SentinelApiPostSentinelByWildcard1Request} requestParameters Request parameters.
|
|
1565
1565
|
* @param {*} [options] Override http request option.
|
|
1566
1566
|
* @throws {RequiredError}
|
|
1567
|
-
* @memberof
|
|
1567
|
+
* @memberof SentinelApi
|
|
1568
1568
|
*/
|
|
1569
|
-
|
|
1570
|
-
return (0, exports.
|
|
1569
|
+
postSentinelByWildcard1(requestParameters, options) {
|
|
1570
|
+
return (0, exports.SentinelApiFp)(this.configuration).postSentinelByWildcard1(requestParameters.wildcard1, options).then((request) => request(this.axios, this.basePath));
|
|
1571
1571
|
}
|
|
1572
1572
|
/**
|
|
1573
1573
|
* Aggregates a project\'s captured errors into a table — the caller names the filters, the groupings and the aggregations, and gets back the columns and rows they asked for. The project is mandatory and is checked against the caller\'s own org before it scopes anything, so a project id belonging to someone else reads as absent rather than as data.
|
|
1574
1574
|
* @summary Aggregates a project\'s captured errors into a table — the caller names the filters, the groupings and the aggregations, and gets back the columns and rows they asked for.
|
|
1575
|
-
* @param {
|
|
1575
|
+
* @param {SentinelApiPostSentinelDiscoverRequest} requestParameters Request parameters.
|
|
1576
1576
|
* @param {*} [options] Override http request option.
|
|
1577
1577
|
* @throws {RequiredError}
|
|
1578
|
-
* @memberof
|
|
1578
|
+
* @memberof SentinelApi
|
|
1579
1579
|
*/
|
|
1580
|
-
|
|
1581
|
-
return (0, exports.
|
|
1580
|
+
postSentinelDiscover(requestParameters, options) {
|
|
1581
|
+
return (0, exports.SentinelApiFp)(this.configuration).postSentinelDiscover(requestParameters.o11yO11yDiscoverIn, options).then((request) => request(this.axios, this.basePath));
|
|
1582
1582
|
}
|
|
1583
1583
|
/**
|
|
1584
1584
|
* Creates a Sentry project under the caller\'s org and returns it, DSN included. Only the name, and optionally a slug and platform, are the caller\'s to set; the org, id and key are server-assigned. Callers need the editor role; the runtime\'s own gate enforces it.
|
|
1585
1585
|
* @summary Creates a Sentry project under the caller\'s org and returns it, DSN included.
|
|
1586
|
-
* @param {
|
|
1586
|
+
* @param {SentinelApiPostSentinelProjectsRequest} requestParameters Request parameters.
|
|
1587
1587
|
* @param {*} [options] Override http request option.
|
|
1588
1588
|
* @throws {RequiredError}
|
|
1589
|
-
* @memberof
|
|
1589
|
+
* @memberof SentinelApi
|
|
1590
1590
|
*/
|
|
1591
|
-
|
|
1592
|
-
return (0, exports.
|
|
1591
|
+
postSentinelProjects(requestParameters, options) {
|
|
1592
|
+
return (0, exports.SentinelApiFp)(this.configuration).postSentinelProjects(requestParameters.o11yO11ySentryPostableProject, options).then((request) => request(this.axios, this.basePath));
|
|
1593
1593
|
}
|
|
1594
1594
|
/**
|
|
1595
1595
|
* Rotates a project\'s DSN key — bumping its rotation watermark so keys below it stop verifying — and returns the project with its new DSN. Callers need the editor role; the runtime\'s own gate enforces it.
|
|
1596
1596
|
* @summary Rotates a project\'s DSN key — bumping its rotation watermark so keys below it stop verifying — and returns the project with its new DSN.
|
|
1597
|
-
* @param {
|
|
1597
|
+
* @param {SentinelApiPostSentinelProjectsByIdKeysRotateRequest} requestParameters Request parameters.
|
|
1598
1598
|
* @param {*} [options] Override http request option.
|
|
1599
1599
|
* @throws {RequiredError}
|
|
1600
|
-
* @memberof
|
|
1600
|
+
* @memberof SentinelApi
|
|
1601
1601
|
*/
|
|
1602
|
-
|
|
1603
|
-
return (0, exports.
|
|
1602
|
+
postSentinelProjectsByIdKeysRotate(requestParameters, options) {
|
|
1603
|
+
return (0, exports.SentinelApiFp)(this.configuration).postSentinelProjectsByIdKeysRotate(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1604
1604
|
}
|
|
1605
1605
|
/**
|
|
1606
1606
|
* The one replace on the Sentry surface: updating an error ISSUE — resolving it, ignoring it, or assigning it — and answering the updated issue. Nothing else here takes a replace. A project is created and deleted but never replaced, and the event and trace planes are append-only telemetry, so an issue\'s lifecycle is the only mutable state this face exposes. Requires a validated, org-scoped principal with edit rights; a viewer is refused. The write is confined to the org minted from that principal\'s claim, so an issue id belonging to another tenant is simply not found. Before the runtime is initialized, 503.
|
|
1607
1607
|
* @summary Move an error issue through its lifecycle
|
|
1608
|
-
* @param {
|
|
1608
|
+
* @param {SentinelApiPutSentinelByWildcard1Request} requestParameters Request parameters.
|
|
1609
1609
|
* @param {*} [options] Override http request option.
|
|
1610
1610
|
* @throws {RequiredError}
|
|
1611
|
-
* @memberof
|
|
1611
|
+
* @memberof SentinelApi
|
|
1612
1612
|
*/
|
|
1613
|
-
|
|
1614
|
-
return (0, exports.
|
|
1613
|
+
putSentinelByWildcard1(requestParameters, options) {
|
|
1614
|
+
return (0, exports.SentinelApiFp)(this.configuration).putSentinelByWildcard1(requestParameters.wildcard1, options).then((request) => request(this.axios, this.basePath));
|
|
1615
1615
|
}
|
|
1616
1616
|
/**
|
|
1617
1617
|
* Changes an issue\'s lifecycle — resolve, ignore, reopen or assign — and returns the updated issue. Fields left unset are left unchanged. Callers need the editor role; the runtime\'s own gate enforces it.
|
|
1618
1618
|
* @summary Changes an issue\'s lifecycle — resolve, ignore, reopen or assign — and returns the updated issue.
|
|
1619
|
-
* @param {
|
|
1619
|
+
* @param {SentinelApiPutSentinelIssuesByIdRequest} requestParameters Request parameters.
|
|
1620
1620
|
* @param {*} [options] Override http request option.
|
|
1621
1621
|
* @throws {RequiredError}
|
|
1622
|
-
* @memberof
|
|
1622
|
+
* @memberof SentinelApi
|
|
1623
1623
|
*/
|
|
1624
|
-
|
|
1625
|
-
return (0, exports.
|
|
1624
|
+
putSentinelIssuesById(requestParameters, options) {
|
|
1625
|
+
return (0, exports.SentinelApiFp)(this.configuration).putSentinelIssuesById(requestParameters.id, requestParameters.o11yO11ySentryUpdateIssueIn, options).then((request) => request(this.axios, this.basePath));
|
|
1626
1626
|
}
|
|
1627
1627
|
}
|
|
1628
|
-
exports.
|
|
1628
|
+
exports.SentinelApi = SentinelApi;
|