kb-cloud-client-typescript 2.3.0-alpha.63 → 2.3.0-alpha.65
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/README.md +29 -46
- package/dist/adminapi/apis/aiagent-api.d.ts +237 -836
- package/dist/adminapi/apis/aiagent-api.d.ts.map +1 -1
- package/dist/adminapi/apis/aiagent-api.js +215 -847
- package/dist/adminapi/apis/aiagent-api.js.map +1 -1
- package/dist/adminapi/models/ai-agent-conversation-list.d.ts +11 -3
- package/dist/adminapi/models/ai-agent-conversation-list.d.ts.map +1 -1
- package/dist/adminapi/models/ai-agent-conversation-status.d.ts +3 -3
- package/dist/adminapi/models/ai-agent-conversation-status.js +4 -4
- package/dist/adminapi/models/ai-agent-conversation-status.js.map +1 -1
- package/dist/adminapi/models/ai-agent-conversation.d.ts +13 -19
- package/dist/adminapi/models/ai-agent-conversation.d.ts.map +1 -1
- package/dist/adminapi/models/ai-agent-create-conversation-request.d.ts +2 -3
- package/dist/adminapi/models/ai-agent-create-conversation-request.d.ts.map +1 -1
- package/dist/adminapi/models/ai-agent-event-type.d.ts +16 -26
- package/dist/adminapi/models/ai-agent-event-type.d.ts.map +1 -1
- package/dist/adminapi/models/ai-agent-event-type.js +16 -26
- package/dist/adminapi/models/ai-agent-event-type.js.map +1 -1
- package/dist/adminapi/models/ai-agent-event.d.ts +11 -18
- package/dist/adminapi/models/ai-agent-event.d.ts.map +1 -1
- package/dist/adminapi/models/ai-agent-message-list.d.ts +11 -3
- package/dist/adminapi/models/ai-agent-message-list.d.ts.map +1 -1
- package/dist/adminapi/models/ai-agent-message-part-type.d.ts +2 -6
- package/dist/adminapi/models/ai-agent-message-part-type.d.ts.map +1 -1
- package/dist/adminapi/models/ai-agent-message-part-type.js +2 -6
- package/dist/adminapi/models/ai-agent-message-part-type.js.map +1 -1
- package/dist/adminapi/models/ai-agent-message-part.d.ts +5 -52
- package/dist/adminapi/models/ai-agent-message-part.d.ts.map +1 -1
- package/dist/adminapi/models/ai-agent-message.d.ts +10 -9
- package/dist/adminapi/models/ai-agent-message.d.ts.map +1 -1
- package/dist/adminapi/models/ai-agent-object-ref.d.ts +0 -18
- package/dist/adminapi/models/ai-agent-object-ref.d.ts.map +1 -1
- package/dist/adminapi/models/ai-agent-runtime-status-code.d.ts +25 -0
- package/dist/adminapi/models/ai-agent-runtime-status-code.d.ts.map +1 -0
- package/dist/adminapi/models/{ai-agent-diagnosis-branch-status.js → ai-agent-runtime-status-code.js} +7 -7
- package/dist/adminapi/models/ai-agent-runtime-status-code.js.map +1 -0
- package/dist/adminapi/models/ai-agent-runtime-status.d.ts +45 -0
- package/dist/adminapi/models/ai-agent-runtime-status.d.ts.map +1 -0
- package/dist/adminapi/models/{ai-agent-event-payload.js → ai-agent-runtime-status.js} +1 -1
- package/dist/adminapi/models/ai-agent-runtime-status.js.map +1 -0
- package/dist/adminapi/models/ai-agent-scope.d.ts +56 -0
- package/dist/adminapi/models/ai-agent-scope.d.ts.map +1 -0
- package/dist/adminapi/models/{ai-agent-stage.js → ai-agent-scope.js} +1 -1
- package/dist/adminapi/models/ai-agent-scope.js.map +1 -0
- package/dist/adminapi/models/{ai-agent-message-input.d.ts → ai-agent-send-message-request.d.ts} +10 -10
- package/dist/adminapi/models/ai-agent-send-message-request.d.ts.map +1 -0
- package/dist/adminapi/models/{ai-agent-checked-scope-item.js → ai-agent-send-message-request.js} +1 -1
- package/dist/adminapi/models/ai-agent-send-message-request.js.map +1 -0
- package/dist/adminapi/models/ai-agent-send-message-response.d.ts +44 -0
- package/dist/adminapi/models/ai-agent-send-message-response.d.ts.map +1 -0
- package/dist/adminapi/models/{ai-agent-action-branch.js → ai-agent-send-message-response.js} +1 -1
- package/dist/adminapi/models/ai-agent-send-message-response.js.map +1 -0
- package/dist/adminapi/models/ai-agent-stop-conversation-response.d.ts +32 -0
- package/dist/adminapi/models/ai-agent-stop-conversation-response.d.ts.map +1 -0
- package/dist/adminapi/models/{ai-agent-artifact-batch-get-request.js → ai-agent-stop-conversation-response.js} +1 -1
- package/dist/adminapi/models/ai-agent-stop-conversation-response.js.map +1 -0
- package/dist/adminapi/models/{ai-agent-pagination.d.ts → ai-agent-tool-confirmation-decision-request.d.ts} +5 -11
- package/dist/adminapi/models/ai-agent-tool-confirmation-decision-request.d.ts.map +1 -0
- package/dist/adminapi/models/{ai-agent-artifact-batch.js → ai-agent-tool-confirmation-decision-request.js} +1 -1
- package/dist/adminapi/models/ai-agent-tool-confirmation-decision-request.js.map +1 -0
- package/dist/adminapi/models/ai-agent-tool-confirmation-decision-response.d.ts +38 -0
- package/dist/adminapi/models/ai-agent-tool-confirmation-decision-response.d.ts.map +1 -0
- package/dist/adminapi/models/{ai-agent-action-plan.js → ai-agent-tool-confirmation-decision-response.js} +1 -1
- package/dist/adminapi/models/ai-agent-tool-confirmation-decision-response.js.map +1 -0
- package/dist/adminapi/models/{ai-agent-approval-status.d.ts → ai-agent-tool-confirmation-status.d.ts} +3 -5
- package/dist/adminapi/models/ai-agent-tool-confirmation-status.d.ts.map +1 -0
- package/dist/adminapi/models/{ai-agent-approval-status.js → ai-agent-tool-confirmation-status.js} +4 -6
- package/dist/adminapi/models/ai-agent-tool-confirmation-status.js.map +1 -0
- package/dist/adminapi/models/{ai-agent-final-status.d.ts → ai-agent-turn-status.d.ts} +5 -5
- package/dist/adminapi/models/ai-agent-turn-status.d.ts.map +1 -0
- package/dist/adminapi/models/{ai-agent-final-status.js → ai-agent-turn-status.js} +5 -5
- package/dist/adminapi/models/ai-agent-turn-status.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +10 -70
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +10 -70
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/openapi/apis/aiagent-api.d.ts +312 -1720
- package/dist/openapi/apis/aiagent-api.d.ts.map +1 -1
- package/dist/openapi/apis/aiagent-api.js +297 -1806
- package/dist/openapi/apis/aiagent-api.js.map +1 -1
- package/dist/openapi/models/ai-agent-conversation-list.d.ts +11 -3
- package/dist/openapi/models/ai-agent-conversation-list.d.ts.map +1 -1
- package/dist/openapi/models/ai-agent-conversation-status.d.ts +3 -3
- package/dist/openapi/models/ai-agent-conversation-status.js +4 -4
- package/dist/openapi/models/ai-agent-conversation-status.js.map +1 -1
- package/dist/openapi/models/ai-agent-conversation.d.ts +13 -19
- package/dist/openapi/models/ai-agent-conversation.d.ts.map +1 -1
- package/dist/openapi/models/ai-agent-create-conversation-request.d.ts +2 -3
- package/dist/openapi/models/ai-agent-create-conversation-request.d.ts.map +1 -1
- package/dist/openapi/models/ai-agent-event-type.d.ts +16 -26
- package/dist/openapi/models/ai-agent-event-type.d.ts.map +1 -1
- package/dist/openapi/models/ai-agent-event-type.js +16 -26
- package/dist/openapi/models/ai-agent-event-type.js.map +1 -1
- package/dist/openapi/models/ai-agent-event.d.ts +11 -18
- package/dist/openapi/models/ai-agent-event.d.ts.map +1 -1
- package/dist/openapi/models/ai-agent-message-list.d.ts +11 -3
- package/dist/openapi/models/ai-agent-message-list.d.ts.map +1 -1
- package/dist/openapi/models/ai-agent-message-part-type.d.ts +2 -6
- package/dist/openapi/models/ai-agent-message-part-type.d.ts.map +1 -1
- package/dist/openapi/models/ai-agent-message-part-type.js +2 -6
- package/dist/openapi/models/ai-agent-message-part-type.js.map +1 -1
- package/dist/openapi/models/ai-agent-message-part.d.ts +5 -52
- package/dist/openapi/models/ai-agent-message-part.d.ts.map +1 -1
- package/dist/openapi/models/ai-agent-message.d.ts +10 -9
- package/dist/openapi/models/ai-agent-message.d.ts.map +1 -1
- package/dist/openapi/models/ai-agent-object-ref.d.ts +0 -18
- package/dist/openapi/models/ai-agent-object-ref.d.ts.map +1 -1
- package/dist/openapi/models/{ai-agent-diagnosis-branch-status.d.ts → ai-agent-runtime-status-code.d.ts} +7 -7
- package/dist/openapi/models/ai-agent-runtime-status-code.d.ts.map +1 -0
- package/dist/openapi/models/{ai-agent-diagnosis-branch-status.js → ai-agent-runtime-status-code.js} +7 -7
- package/dist/openapi/models/ai-agent-runtime-status-code.js.map +1 -0
- package/dist/openapi/models/{ai-agent-tool-approval-decision-request.d.ts → ai-agent-runtime-status.d.ts} +16 -14
- package/dist/openapi/models/ai-agent-runtime-status.d.ts.map +1 -0
- package/dist/openapi/models/{ai-agent-event-payload.js → ai-agent-runtime-status.js} +1 -1
- package/dist/openapi/models/ai-agent-runtime-status.js.map +1 -0
- package/dist/openapi/models/{ai-agent-recommendation.d.ts → ai-agent-scope.d.ts} +18 -18
- package/dist/openapi/models/ai-agent-scope.d.ts.map +1 -0
- package/dist/openapi/models/{ai-agent-stage.js → ai-agent-scope.js} +1 -1
- package/dist/openapi/models/ai-agent-scope.js.map +1 -0
- package/dist/openapi/models/{ai-agent-message-input.d.ts → ai-agent-send-message-request.d.ts} +10 -10
- package/dist/openapi/models/ai-agent-send-message-request.d.ts.map +1 -0
- package/dist/openapi/models/{ai-agent-checked-scope-item.js → ai-agent-send-message-request.js} +1 -1
- package/dist/openapi/models/ai-agent-send-message-request.js.map +1 -0
- package/dist/openapi/models/{ai-agent-stage.d.ts → ai-agent-send-message-response.d.ts} +14 -14
- package/dist/openapi/models/ai-agent-send-message-response.d.ts.map +1 -0
- package/dist/openapi/models/{ai-agent-artifact-batch.js → ai-agent-send-message-response.js} +1 -1
- package/dist/openapi/models/ai-agent-send-message-response.js.map +1 -0
- package/dist/openapi/models/{ai-agent-checked-scope-item.d.ts → ai-agent-stop-conversation-response.d.ts} +9 -9
- package/dist/openapi/models/ai-agent-stop-conversation-response.d.ts.map +1 -0
- package/dist/openapi/models/{ai-agent-artifact-batch-get-request.js → ai-agent-stop-conversation-response.js} +1 -1
- package/dist/openapi/models/ai-agent-stop-conversation-response.js.map +1 -0
- package/dist/openapi/models/{ai-agent-pagination.d.ts → ai-agent-tool-confirmation-decision-request.d.ts} +5 -11
- package/dist/openapi/models/ai-agent-tool-confirmation-decision-request.d.ts.map +1 -0
- package/dist/openapi/models/{ai-agent-action-plan.js → ai-agent-tool-confirmation-decision-request.js} +1 -1
- package/dist/openapi/models/ai-agent-tool-confirmation-decision-request.js.map +1 -0
- package/dist/openapi/models/{ai-agent-evidence-snippet.d.ts → ai-agent-tool-confirmation-decision-response.d.ts} +11 -16
- package/dist/openapi/models/ai-agent-tool-confirmation-decision-response.d.ts.map +1 -0
- package/dist/openapi/models/{ai-agent-action-branch.js → ai-agent-tool-confirmation-decision-response.js} +1 -1
- package/dist/openapi/models/ai-agent-tool-confirmation-decision-response.js.map +1 -0
- package/dist/openapi/models/{ai-agent-approval-status.d.ts → ai-agent-tool-confirmation-status.d.ts} +3 -5
- package/dist/openapi/models/ai-agent-tool-confirmation-status.d.ts.map +1 -0
- package/dist/openapi/models/{ai-agent-approval-status.js → ai-agent-tool-confirmation-status.js} +4 -6
- package/dist/openapi/models/ai-agent-tool-confirmation-status.js.map +1 -0
- package/dist/openapi/models/{ai-agent-execution-status.d.ts → ai-agent-turn-status.d.ts} +4 -5
- package/dist/openapi/models/ai-agent-turn-status.d.ts.map +1 -0
- package/dist/openapi/models/{ai-agent-execution-status.js → ai-agent-turn-status.js} +5 -6
- package/dist/openapi/models/ai-agent-turn-status.js.map +1 -0
- package/dist/openapi/models/index.d.ts +10 -89
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +10 -89
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/sdk/adminapi/.openapi-generator/FILES +10 -70
- package/src/sdk/adminapi/apis/aiagent-api.ts +401 -1430
- package/src/sdk/adminapi/models/ai-agent-conversation-list.ts +11 -7
- package/src/sdk/adminapi/models/ai-agent-conversation-status.ts +4 -4
- package/src/sdk/adminapi/models/ai-agent-conversation.ts +16 -20
- package/src/sdk/adminapi/models/ai-agent-create-conversation-request.ts +2 -5
- package/src/sdk/adminapi/models/ai-agent-event-type.ts +16 -26
- package/src/sdk/adminapi/models/ai-agent-event.ts +9 -24
- package/src/sdk/adminapi/models/ai-agent-message-list.ts +10 -9
- package/src/sdk/adminapi/models/ai-agent-message-part-type.ts +2 -6
- package/src/sdk/adminapi/models/ai-agent-message-part.ts +3 -54
- package/src/sdk/adminapi/models/ai-agent-message.ts +12 -9
- package/src/sdk/adminapi/models/ai-agent-object-ref.ts +0 -18
- package/src/sdk/adminapi/models/{ai-agent-diagnosis-branch-status.ts → ai-agent-runtime-status-code.ts} +6 -6
- package/src/sdk/adminapi/models/{ai-agent-run-control-response.ts → ai-agent-runtime-status.ts} +16 -16
- package/src/sdk/adminapi/models/{ai-agent-recommendation.ts → ai-agent-scope.ts} +17 -19
- package/src/sdk/adminapi/models/{ai-agent-message-input.ts → ai-agent-send-message-request.ts} +9 -11
- package/src/sdk/adminapi/models/{ai-agent-stage.ts → ai-agent-send-message-response.ts} +15 -13
- package/src/sdk/adminapi/models/{ai-agent-checked-scope-item.ts → ai-agent-stop-conversation-response.ts} +10 -8
- package/src/sdk/adminapi/models/{ai-agent-pagination.ts → ai-agent-tool-confirmation-decision-request.ts} +4 -10
- package/src/sdk/adminapi/models/{ai-agent-root-cause.ts → ai-agent-tool-confirmation-decision-response.ts} +12 -15
- package/src/sdk/adminapi/models/{ai-agent-approval-status.ts → ai-agent-tool-confirmation-status.ts} +3 -5
- package/src/sdk/adminapi/models/{ai-agent-final-status.ts → ai-agent-turn-status.ts} +4 -4
- package/src/sdk/adminapi/models/index.ts +10 -70
- package/src/sdk/adminapi.yaml +570 -2359
- package/src/sdk/openapi/.openapi-generator/FILES +10 -89
- package/src/sdk/openapi/apis/aiagent-api.ts +492 -2910
- package/src/sdk/openapi/models/ai-agent-conversation-list.ts +11 -7
- package/src/sdk/openapi/models/ai-agent-conversation-status.ts +4 -4
- package/src/sdk/openapi/models/ai-agent-conversation.ts +16 -20
- package/src/sdk/openapi/models/ai-agent-create-conversation-request.ts +2 -5
- package/src/sdk/openapi/models/ai-agent-event-type.ts +16 -26
- package/src/sdk/openapi/models/ai-agent-event.ts +9 -24
- package/src/sdk/openapi/models/ai-agent-message-list.ts +10 -9
- package/src/sdk/openapi/models/ai-agent-message-part-type.ts +2 -6
- package/src/sdk/openapi/models/ai-agent-message-part.ts +3 -54
- package/src/sdk/openapi/models/ai-agent-message.ts +12 -9
- package/src/sdk/openapi/models/ai-agent-object-ref.ts +0 -18
- package/src/sdk/openapi/models/{ai-agent-diagnosis-branch-status.ts → ai-agent-runtime-status-code.ts} +6 -6
- package/src/sdk/openapi/models/{ai-agent-run-control-response.ts → ai-agent-runtime-status.ts} +16 -16
- package/src/sdk/openapi/models/{ai-agent-recommendation.ts → ai-agent-scope.ts} +17 -19
- package/src/sdk/openapi/models/{ai-agent-message-input.ts → ai-agent-send-message-request.ts} +9 -11
- package/src/sdk/openapi/models/{ai-agent-stage.ts → ai-agent-send-message-response.ts} +15 -13
- package/src/sdk/openapi/models/{ai-agent-continue-report-request.ts → ai-agent-stop-conversation-response.ts} +8 -8
- package/src/sdk/openapi/models/{ai-agent-pagination.ts → ai-agent-tool-confirmation-decision-request.ts} +4 -10
- package/src/sdk/openapi/models/{ai-agent-root-cause.ts → ai-agent-tool-confirmation-decision-response.ts} +12 -15
- package/src/sdk/openapi/models/{ai-agent-approval-status.ts → ai-agent-tool-confirmation-status.ts} +3 -5
- package/src/sdk/openapi/models/{ai-agent-execution-status.ts → ai-agent-turn-status.ts} +4 -5
- package/src/sdk/openapi/models/index.ts +10 -89
- package/src/sdk/openapi.yaml +11103 -13543
- package/dist/adminapi/models/ai-agent-action-branch-status.d.ts +0 -28
- package/dist/adminapi/models/ai-agent-action-branch-status.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-action-branch-status.js +0 -32
- package/dist/adminapi/models/ai-agent-action-branch-status.js.map +0 -1
- package/dist/adminapi/models/ai-agent-action-branch.d.ts +0 -45
- package/dist/adminapi/models/ai-agent-action-branch.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-action-branch.js.map +0 -1
- package/dist/adminapi/models/ai-agent-action-plan-status.d.ts +0 -27
- package/dist/adminapi/models/ai-agent-action-plan-status.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-action-plan-status.js +0 -31
- package/dist/adminapi/models/ai-agent-action-plan-status.js.map +0 -1
- package/dist/adminapi/models/ai-agent-action-plan.d.ts +0 -175
- package/dist/adminapi/models/ai-agent-action-plan.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-action-plan.js.map +0 -1
- package/dist/adminapi/models/ai-agent-approval-status.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-approval-status.js.map +0 -1
- package/dist/adminapi/models/ai-agent-artifact-batch-get-request.d.ts +0 -55
- package/dist/adminapi/models/ai-agent-artifact-batch-get-request.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-artifact-batch-get-request.js.map +0 -1
- package/dist/adminapi/models/ai-agent-artifact-batch.d.ts +0 -73
- package/dist/adminapi/models/ai-agent-artifact-batch.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-artifact-batch.js.map +0 -1
- package/dist/adminapi/models/ai-agent-checked-scope-item.d.ts +0 -32
- package/dist/adminapi/models/ai-agent-checked-scope-item.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-checked-scope-item.js.map +0 -1
- package/dist/adminapi/models/ai-agent-cluster-context.d.ts +0 -43
- package/dist/adminapi/models/ai-agent-cluster-context.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-cluster-context.js +0 -16
- package/dist/adminapi/models/ai-agent-cluster-context.js.map +0 -1
- package/dist/adminapi/models/ai-agent-confidence.d.ts +0 -24
- package/dist/adminapi/models/ai-agent-confidence.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-confidence.js +0 -28
- package/dist/adminapi/models/ai-agent-confidence.js.map +0 -1
- package/dist/adminapi/models/ai-agent-confirmation-mode.d.ts +0 -22
- package/dist/adminapi/models/ai-agent-confirmation-mode.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-confirmation-mode.js +0 -26
- package/dist/adminapi/models/ai-agent-confirmation-mode.js.map +0 -1
- package/dist/adminapi/models/ai-agent-context-response.d.ts +0 -74
- package/dist/adminapi/models/ai-agent-context-response.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-context-response.js +0 -16
- package/dist/adminapi/models/ai-agent-context-response.js.map +0 -1
- package/dist/adminapi/models/ai-agent-continue-mode.d.ts +0 -24
- package/dist/adminapi/models/ai-agent-continue-mode.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-continue-mode.js +0 -28
- package/dist/adminapi/models/ai-agent-continue-mode.js.map +0 -1
- package/dist/adminapi/models/ai-agent-continue-run-request.d.ts +0 -46
- package/dist/adminapi/models/ai-agent-continue-run-request.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-continue-run-request.js +0 -16
- package/dist/adminapi/models/ai-agent-continue-run-request.js.map +0 -1
- package/dist/adminapi/models/ai-agent-continue-run-response.d.ts +0 -81
- package/dist/adminapi/models/ai-agent-continue-run-response.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-continue-run-response.js +0 -16
- package/dist/adminapi/models/ai-agent-continue-run-response.js.map +0 -1
- package/dist/adminapi/models/ai-agent-conversation-summary.d.ts +0 -69
- package/dist/adminapi/models/ai-agent-conversation-summary.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-conversation-summary.js +0 -16
- package/dist/adminapi/models/ai-agent-conversation-summary.js.map +0 -1
- package/dist/adminapi/models/ai-agent-cost-class.d.ts +0 -23
- package/dist/adminapi/models/ai-agent-cost-class.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-cost-class.js +0 -27
- package/dist/adminapi/models/ai-agent-cost-class.js.map +0 -1
- package/dist/adminapi/models/ai-agent-delta-kind.d.ts +0 -24
- package/dist/adminapi/models/ai-agent-delta-kind.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-delta-kind.js +0 -28
- package/dist/adminapi/models/ai-agent-delta-kind.js.map +0 -1
- package/dist/adminapi/models/ai-agent-diagnosis-branch-status.d.ts +0 -25
- package/dist/adminapi/models/ai-agent-diagnosis-branch-status.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-diagnosis-branch-status.js.map +0 -1
- package/dist/adminapi/models/ai-agent-diagnosis-branch.d.ts +0 -46
- package/dist/adminapi/models/ai-agent-diagnosis-branch.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-diagnosis-branch.js +0 -16
- package/dist/adminapi/models/ai-agent-diagnosis-branch.js.map +0 -1
- package/dist/adminapi/models/ai-agent-event-payload.d.ts +0 -284
- package/dist/adminapi/models/ai-agent-event-payload.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-event-payload.js.map +0 -1
- package/dist/adminapi/models/ai-agent-event-source.d.ts +0 -26
- package/dist/adminapi/models/ai-agent-event-source.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-event-source.js +0 -30
- package/dist/adminapi/models/ai-agent-event-source.js.map +0 -1
- package/dist/adminapi/models/ai-agent-event-status.d.ts +0 -27
- package/dist/adminapi/models/ai-agent-event-status.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-event-status.js +0 -31
- package/dist/adminapi/models/ai-agent-event-status.js.map +0 -1
- package/dist/adminapi/models/ai-agent-evidence-completeness.d.ts +0 -24
- package/dist/adminapi/models/ai-agent-evidence-completeness.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-evidence-completeness.js +0 -28
- package/dist/adminapi/models/ai-agent-evidence-completeness.js.map +0 -1
- package/dist/adminapi/models/ai-agent-evidence-detail.d.ts +0 -150
- package/dist/adminapi/models/ai-agent-evidence-detail.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-evidence-detail.js +0 -16
- package/dist/adminapi/models/ai-agent-evidence-detail.js.map +0 -1
- package/dist/adminapi/models/ai-agent-evidence-redaction-status.d.ts +0 -23
- package/dist/adminapi/models/ai-agent-evidence-redaction-status.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-evidence-redaction-status.js +0 -27
- package/dist/adminapi/models/ai-agent-evidence-redaction-status.js.map +0 -1
- package/dist/adminapi/models/ai-agent-evidence-snippet.d.ts +0 -43
- package/dist/adminapi/models/ai-agent-evidence-snippet.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-evidence-snippet.js +0 -16
- package/dist/adminapi/models/ai-agent-evidence-snippet.js.map +0 -1
- package/dist/adminapi/models/ai-agent-evidence-status.d.ts +0 -25
- package/dist/adminapi/models/ai-agent-evidence-status.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-evidence-status.js +0 -29
- package/dist/adminapi/models/ai-agent-evidence-status.js.map +0 -1
- package/dist/adminapi/models/ai-agent-evidence-summary.d.ts +0 -104
- package/dist/adminapi/models/ai-agent-evidence-summary.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-evidence-summary.js +0 -16
- package/dist/adminapi/models/ai-agent-evidence-summary.js.map +0 -1
- package/dist/adminapi/models/ai-agent-evidence-visibility.d.ts +0 -23
- package/dist/adminapi/models/ai-agent-evidence-visibility.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-evidence-visibility.js +0 -27
- package/dist/adminapi/models/ai-agent-evidence-visibility.js.map +0 -1
- package/dist/adminapi/models/ai-agent-final-status.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-final-status.js.map +0 -1
- package/dist/adminapi/models/ai-agent-message-input.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-message-input.js +0 -16
- package/dist/adminapi/models/ai-agent-message-input.js.map +0 -1
- package/dist/adminapi/models/ai-agent-message-outcome.d.ts +0 -23
- package/dist/adminapi/models/ai-agent-message-outcome.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-message-outcome.js +0 -27
- package/dist/adminapi/models/ai-agent-message-outcome.js.map +0 -1
- package/dist/adminapi/models/ai-agent-metric-series-point.d.ts +0 -55
- package/dist/adminapi/models/ai-agent-metric-series-point.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-metric-series-point.js +0 -16
- package/dist/adminapi/models/ai-agent-metric-series-point.js.map +0 -1
- package/dist/adminapi/models/ai-agent-metric-series.d.ts +0 -57
- package/dist/adminapi/models/ai-agent-metric-series.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-metric-series.js +0 -16
- package/dist/adminapi/models/ai-agent-metric-series.js.map +0 -1
- package/dist/adminapi/models/ai-agent-missing-reason.d.ts +0 -27
- package/dist/adminapi/models/ai-agent-missing-reason.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-missing-reason.js +0 -31
- package/dist/adminapi/models/ai-agent-missing-reason.js.map +0 -1
- package/dist/adminapi/models/ai-agent-missing-requirement.d.ts +0 -39
- package/dist/adminapi/models/ai-agent-missing-requirement.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-missing-requirement.js +0 -16
- package/dist/adminapi/models/ai-agent-missing-requirement.js.map +0 -1
- package/dist/adminapi/models/ai-agent-pagination.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-pagination.js +0 -16
- package/dist/adminapi/models/ai-agent-pagination.js.map +0 -1
- package/dist/adminapi/models/ai-agent-partial-reason.d.ts +0 -25
- package/dist/adminapi/models/ai-agent-partial-reason.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-partial-reason.js +0 -29
- package/dist/adminapi/models/ai-agent-partial-reason.js.map +0 -1
- package/dist/adminapi/models/ai-agent-playbook-summary.d.ts +0 -62
- package/dist/adminapi/models/ai-agent-playbook-summary.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-playbook-summary.js +0 -16
- package/dist/adminapi/models/ai-agent-playbook-summary.js.map +0 -1
- package/dist/adminapi/models/ai-agent-recommendation-type.d.ts +0 -22
- package/dist/adminapi/models/ai-agent-recommendation-type.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-recommendation-type.js +0 -26
- package/dist/adminapi/models/ai-agent-recommendation-type.js.map +0 -1
- package/dist/adminapi/models/ai-agent-recommendation.d.ts +0 -56
- package/dist/adminapi/models/ai-agent-recommendation.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-recommendation.js +0 -16
- package/dist/adminapi/models/ai-agent-recommendation.js.map +0 -1
- package/dist/adminapi/models/ai-agent-recover-action-type.d.ts +0 -28
- package/dist/adminapi/models/ai-agent-recover-action-type.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-recover-action-type.js +0 -32
- package/dist/adminapi/models/ai-agent-recover-action-type.js.map +0 -1
- package/dist/adminapi/models/ai-agent-recover-action.d.ts +0 -53
- package/dist/adminapi/models/ai-agent-recover-action.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-recover-action.js +0 -16
- package/dist/adminapi/models/ai-agent-recover-action.js.map +0 -1
- package/dist/adminapi/models/ai-agent-report-list.d.ts +0 -18
- package/dist/adminapi/models/ai-agent-report-list.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-report-list.js +0 -16
- package/dist/adminapi/models/ai-agent-report-list.js.map +0 -1
- package/dist/adminapi/models/ai-agent-report.d.ts +0 -203
- package/dist/adminapi/models/ai-agent-report.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-report.js +0 -16
- package/dist/adminapi/models/ai-agent-report.js.map +0 -1
- package/dist/adminapi/models/ai-agent-resource-scope.d.ts +0 -68
- package/dist/adminapi/models/ai-agent-resource-scope.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-resource-scope.js +0 -16
- package/dist/adminapi/models/ai-agent-resource-scope.js.map +0 -1
- package/dist/adminapi/models/ai-agent-root-cause-type.d.ts +0 -23
- package/dist/adminapi/models/ai-agent-root-cause-type.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-root-cause-type.js +0 -27
- package/dist/adminapi/models/ai-agent-root-cause-type.js.map +0 -1
- package/dist/adminapi/models/ai-agent-root-cause.d.ts +0 -39
- package/dist/adminapi/models/ai-agent-root-cause.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-root-cause.js +0 -16
- package/dist/adminapi/models/ai-agent-root-cause.js.map +0 -1
- package/dist/adminapi/models/ai-agent-run-control-response.d.ts +0 -45
- package/dist/adminapi/models/ai-agent-run-control-response.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-run-control-response.js +0 -16
- package/dist/adminapi/models/ai-agent-run-control-response.js.map +0 -1
- package/dist/adminapi/models/ai-agent-run-metadata.d.ts +0 -59
- package/dist/adminapi/models/ai-agent-run-metadata.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-run-metadata.js +0 -16
- package/dist/adminapi/models/ai-agent-run-metadata.js.map +0 -1
- package/dist/adminapi/models/ai-agent-run-status.d.ts +0 -31
- package/dist/adminapi/models/ai-agent-run-status.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-run-status.js +0 -35
- package/dist/adminapi/models/ai-agent-run-status.js.map +0 -1
- package/dist/adminapi/models/ai-agent-run.d.ts +0 -123
- package/dist/adminapi/models/ai-agent-run.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-run.js +0 -16
- package/dist/adminapi/models/ai-agent-run.js.map +0 -1
- package/dist/adminapi/models/ai-agent-scope-validation-status.d.ts +0 -22
- package/dist/adminapi/models/ai-agent-scope-validation-status.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-scope-validation-status.js +0 -26
- package/dist/adminapi/models/ai-agent-scope-validation-status.js.map +0 -1
- package/dist/adminapi/models/ai-agent-stage.d.ts +0 -44
- package/dist/adminapi/models/ai-agent-stage.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-stage.js.map +0 -1
- package/dist/adminapi/models/ai-agent-start-run-request.d.ts +0 -50
- package/dist/adminapi/models/ai-agent-start-run-request.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-start-run-request.js +0 -16
- package/dist/adminapi/models/ai-agent-start-run-request.js.map +0 -1
- package/dist/adminapi/models/ai-agent-start-run-response.d.ts +0 -57
- package/dist/adminapi/models/ai-agent-start-run-response.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-start-run-response.js +0 -16
- package/dist/adminapi/models/ai-agent-start-run-response.js.map +0 -1
- package/dist/adminapi/models/ai-agent-status-display.d.ts +0 -37
- package/dist/adminapi/models/ai-agent-status-display.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-status-display.js +0 -16
- package/dist/adminapi/models/ai-agent-status-display.js.map +0 -1
- package/dist/adminapi/models/ai-agent-suggested-reply.d.ts +0 -32
- package/dist/adminapi/models/ai-agent-suggested-reply.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-suggested-reply.js +0 -16
- package/dist/adminapi/models/ai-agent-suggested-reply.js.map +0 -1
- package/dist/adminapi/models/ai-agent-suggestion.d.ts +0 -63
- package/dist/adminapi/models/ai-agent-suggestion.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-suggestion.js +0 -16
- package/dist/adminapi/models/ai-agent-suggestion.js.map +0 -1
- package/dist/adminapi/models/ai-agent-time-range.d.ts +0 -37
- package/dist/adminapi/models/ai-agent-time-range.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-time-range.js +0 -16
- package/dist/adminapi/models/ai-agent-time-range.js.map +0 -1
- package/dist/adminapi/models/ai-agent-tool-approval-decision-request.d.ts +0 -43
- package/dist/adminapi/models/ai-agent-tool-approval-decision-request.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-tool-approval-decision-request.js +0 -16
- package/dist/adminapi/models/ai-agent-tool-approval-decision-request.js.map +0 -1
- package/dist/adminapi/models/ai-agent-tool-approval-decision-response.d.ts +0 -33
- package/dist/adminapi/models/ai-agent-tool-approval-decision-response.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-tool-approval-decision-response.js +0 -16
- package/dist/adminapi/models/ai-agent-tool-approval-decision-response.js.map +0 -1
- package/dist/adminapi/models/ai-agent-tool-approval-request.d.ts +0 -174
- package/dist/adminapi/models/ai-agent-tool-approval-request.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-tool-approval-request.js +0 -16
- package/dist/adminapi/models/ai-agent-tool-approval-request.js.map +0 -1
- package/dist/adminapi/models/ai-agent-tool-approval-status.d.ts +0 -31
- package/dist/adminapi/models/ai-agent-tool-approval-status.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-tool-approval-status.js +0 -35
- package/dist/adminapi/models/ai-agent-tool-approval-status.js.map +0 -1
- package/dist/adminapi/models/ai-agent-tool-response-status.d.ts +0 -24
- package/dist/adminapi/models/ai-agent-tool-response-status.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-tool-response-status.js +0 -28
- package/dist/adminapi/models/ai-agent-tool-response-status.js.map +0 -1
- package/dist/adminapi/models/ai-agent-uivisibility.d.ts +0 -24
- package/dist/adminapi/models/ai-agent-uivisibility.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-uivisibility.js +0 -28
- package/dist/adminapi/models/ai-agent-uivisibility.js.map +0 -1
- package/dist/adminapi/models/ai-agent-uncertainty.d.ts +0 -37
- package/dist/adminapi/models/ai-agent-uncertainty.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-uncertainty.js +0 -16
- package/dist/adminapi/models/ai-agent-uncertainty.js.map +0 -1
- package/dist/adminapi/models/ai-agent-visualization-type.d.ts +0 -24
- package/dist/adminapi/models/ai-agent-visualization-type.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-visualization-type.js +0 -28
- package/dist/adminapi/models/ai-agent-visualization-type.js.map +0 -1
- package/dist/adminapi/models/ai-agent-visualization.d.ts +0 -62
- package/dist/adminapi/models/ai-agent-visualization.d.ts.map +0 -1
- package/dist/adminapi/models/ai-agent-visualization.js +0 -16
- package/dist/adminapi/models/ai-agent-visualization.js.map +0 -1
- package/dist/openapi/models/ai-agent-action-branch-status.d.ts +0 -28
- package/dist/openapi/models/ai-agent-action-branch-status.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-action-branch-status.js +0 -32
- package/dist/openapi/models/ai-agent-action-branch-status.js.map +0 -1
- package/dist/openapi/models/ai-agent-action-branch.d.ts +0 -45
- package/dist/openapi/models/ai-agent-action-branch.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-action-branch.js.map +0 -1
- package/dist/openapi/models/ai-agent-action-plan-approval-status.d.ts +0 -24
- package/dist/openapi/models/ai-agent-action-plan-approval-status.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-action-plan-approval-status.js +0 -28
- package/dist/openapi/models/ai-agent-action-plan-approval-status.js.map +0 -1
- package/dist/openapi/models/ai-agent-action-plan-cancel-status.d.ts +0 -21
- package/dist/openapi/models/ai-agent-action-plan-cancel-status.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-action-plan-cancel-status.js +0 -25
- package/dist/openapi/models/ai-agent-action-plan-cancel-status.js.map +0 -1
- package/dist/openapi/models/ai-agent-action-plan-status.d.ts +0 -27
- package/dist/openapi/models/ai-agent-action-plan-status.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-action-plan-status.js +0 -31
- package/dist/openapi/models/ai-agent-action-plan-status.js.map +0 -1
- package/dist/openapi/models/ai-agent-action-plan.d.ts +0 -175
- package/dist/openapi/models/ai-agent-action-plan.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-action-plan.js.map +0 -1
- package/dist/openapi/models/ai-agent-approval-status.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-approval-status.js.map +0 -1
- package/dist/openapi/models/ai-agent-artifact-batch-get-request.d.ts +0 -55
- package/dist/openapi/models/ai-agent-artifact-batch-get-request.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-artifact-batch-get-request.js.map +0 -1
- package/dist/openapi/models/ai-agent-artifact-batch.d.ts +0 -73
- package/dist/openapi/models/ai-agent-artifact-batch.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-artifact-batch.js.map +0 -1
- package/dist/openapi/models/ai-agent-cancel-action-plan-response.d.ts +0 -39
- package/dist/openapi/models/ai-agent-cancel-action-plan-response.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-cancel-action-plan-response.js +0 -16
- package/dist/openapi/models/ai-agent-cancel-action-plan-response.js.map +0 -1
- package/dist/openapi/models/ai-agent-checked-scope-item.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-checked-scope-item.js.map +0 -1
- package/dist/openapi/models/ai-agent-cluster-context.d.ts +0 -43
- package/dist/openapi/models/ai-agent-cluster-context.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-cluster-context.js +0 -16
- package/dist/openapi/models/ai-agent-cluster-context.js.map +0 -1
- package/dist/openapi/models/ai-agent-confidence.d.ts +0 -24
- package/dist/openapi/models/ai-agent-confidence.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-confidence.js +0 -28
- package/dist/openapi/models/ai-agent-confidence.js.map +0 -1
- package/dist/openapi/models/ai-agent-confirm-action-plan-request.d.ts +0 -31
- package/dist/openapi/models/ai-agent-confirm-action-plan-request.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-confirm-action-plan-request.js +0 -16
- package/dist/openapi/models/ai-agent-confirm-action-plan-request.js.map +0 -1
- package/dist/openapi/models/ai-agent-confirm-action-plan-response.d.ts +0 -45
- package/dist/openapi/models/ai-agent-confirm-action-plan-response.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-confirm-action-plan-response.js +0 -16
- package/dist/openapi/models/ai-agent-confirm-action-plan-response.js.map +0 -1
- package/dist/openapi/models/ai-agent-confirmation-mode.d.ts +0 -22
- package/dist/openapi/models/ai-agent-confirmation-mode.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-confirmation-mode.js +0 -26
- package/dist/openapi/models/ai-agent-confirmation-mode.js.map +0 -1
- package/dist/openapi/models/ai-agent-context-response.d.ts +0 -74
- package/dist/openapi/models/ai-agent-context-response.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-context-response.js +0 -16
- package/dist/openapi/models/ai-agent-context-response.js.map +0 -1
- package/dist/openapi/models/ai-agent-continue-mode.d.ts +0 -24
- package/dist/openapi/models/ai-agent-continue-mode.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-continue-mode.js +0 -28
- package/dist/openapi/models/ai-agent-continue-mode.js.map +0 -1
- package/dist/openapi/models/ai-agent-continue-report-request.d.ts +0 -32
- package/dist/openapi/models/ai-agent-continue-report-request.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-continue-report-request.js +0 -16
- package/dist/openapi/models/ai-agent-continue-report-request.js.map +0 -1
- package/dist/openapi/models/ai-agent-continue-run-request.d.ts +0 -46
- package/dist/openapi/models/ai-agent-continue-run-request.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-continue-run-request.js +0 -16
- package/dist/openapi/models/ai-agent-continue-run-request.js.map +0 -1
- package/dist/openapi/models/ai-agent-continue-run-response.d.ts +0 -81
- package/dist/openapi/models/ai-agent-continue-run-response.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-continue-run-response.js +0 -16
- package/dist/openapi/models/ai-agent-continue-run-response.js.map +0 -1
- package/dist/openapi/models/ai-agent-conversation-summary.d.ts +0 -69
- package/dist/openapi/models/ai-agent-conversation-summary.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-conversation-summary.js +0 -16
- package/dist/openapi/models/ai-agent-conversation-summary.js.map +0 -1
- package/dist/openapi/models/ai-agent-cost-class.d.ts +0 -23
- package/dist/openapi/models/ai-agent-cost-class.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-cost-class.js +0 -27
- package/dist/openapi/models/ai-agent-cost-class.js.map +0 -1
- package/dist/openapi/models/ai-agent-delta-kind.d.ts +0 -24
- package/dist/openapi/models/ai-agent-delta-kind.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-delta-kind.js +0 -28
- package/dist/openapi/models/ai-agent-delta-kind.js.map +0 -1
- package/dist/openapi/models/ai-agent-diagnosis-branch-status.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-diagnosis-branch-status.js.map +0 -1
- package/dist/openapi/models/ai-agent-diagnosis-branch.d.ts +0 -46
- package/dist/openapi/models/ai-agent-diagnosis-branch.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-diagnosis-branch.js +0 -16
- package/dist/openapi/models/ai-agent-diagnosis-branch.js.map +0 -1
- package/dist/openapi/models/ai-agent-event-payload.d.ts +0 -284
- package/dist/openapi/models/ai-agent-event-payload.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-event-payload.js.map +0 -1
- package/dist/openapi/models/ai-agent-event-source.d.ts +0 -26
- package/dist/openapi/models/ai-agent-event-source.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-event-source.js +0 -30
- package/dist/openapi/models/ai-agent-event-source.js.map +0 -1
- package/dist/openapi/models/ai-agent-event-status.d.ts +0 -27
- package/dist/openapi/models/ai-agent-event-status.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-event-status.js +0 -31
- package/dist/openapi/models/ai-agent-event-status.js.map +0 -1
- package/dist/openapi/models/ai-agent-evidence-completeness.d.ts +0 -24
- package/dist/openapi/models/ai-agent-evidence-completeness.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-evidence-completeness.js +0 -28
- package/dist/openapi/models/ai-agent-evidence-completeness.js.map +0 -1
- package/dist/openapi/models/ai-agent-evidence-detail.d.ts +0 -150
- package/dist/openapi/models/ai-agent-evidence-detail.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-evidence-detail.js +0 -16
- package/dist/openapi/models/ai-agent-evidence-detail.js.map +0 -1
- package/dist/openapi/models/ai-agent-evidence-list.d.ts +0 -18
- package/dist/openapi/models/ai-agent-evidence-list.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-evidence-list.js +0 -16
- package/dist/openapi/models/ai-agent-evidence-list.js.map +0 -1
- package/dist/openapi/models/ai-agent-evidence-redaction-status.d.ts +0 -23
- package/dist/openapi/models/ai-agent-evidence-redaction-status.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-evidence-redaction-status.js +0 -27
- package/dist/openapi/models/ai-agent-evidence-redaction-status.js.map +0 -1
- package/dist/openapi/models/ai-agent-evidence-snippet.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-evidence-snippet.js +0 -16
- package/dist/openapi/models/ai-agent-evidence-snippet.js.map +0 -1
- package/dist/openapi/models/ai-agent-evidence-status.d.ts +0 -25
- package/dist/openapi/models/ai-agent-evidence-status.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-evidence-status.js +0 -29
- package/dist/openapi/models/ai-agent-evidence-status.js.map +0 -1
- package/dist/openapi/models/ai-agent-evidence-summary.d.ts +0 -104
- package/dist/openapi/models/ai-agent-evidence-summary.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-evidence-summary.js +0 -16
- package/dist/openapi/models/ai-agent-evidence-summary.js.map +0 -1
- package/dist/openapi/models/ai-agent-evidence-visibility.d.ts +0 -23
- package/dist/openapi/models/ai-agent-evidence-visibility.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-evidence-visibility.js +0 -27
- package/dist/openapi/models/ai-agent-evidence-visibility.js.map +0 -1
- package/dist/openapi/models/ai-agent-execution-status-response.d.ts +0 -70
- package/dist/openapi/models/ai-agent-execution-status-response.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-execution-status-response.js +0 -16
- package/dist/openapi/models/ai-agent-execution-status-response.js.map +0 -1
- package/dist/openapi/models/ai-agent-execution-status.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-execution-status.js.map +0 -1
- package/dist/openapi/models/ai-agent-execution-step.d.ts +0 -32
- package/dist/openapi/models/ai-agent-execution-step.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-execution-step.js +0 -16
- package/dist/openapi/models/ai-agent-execution-step.js.map +0 -1
- package/dist/openapi/models/ai-agent-feedback-rating.d.ts +0 -22
- package/dist/openapi/models/ai-agent-feedback-rating.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-feedback-rating.js +0 -26
- package/dist/openapi/models/ai-agent-feedback-rating.js.map +0 -1
- package/dist/openapi/models/ai-agent-feedback-reason.d.ts +0 -26
- package/dist/openapi/models/ai-agent-feedback-reason.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-feedback-reason.js +0 -30
- package/dist/openapi/models/ai-agent-feedback-reason.js.map +0 -1
- package/dist/openapi/models/ai-agent-feedback-request.d.ts +0 -39
- package/dist/openapi/models/ai-agent-feedback-request.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-feedback-request.js +0 -16
- package/dist/openapi/models/ai-agent-feedback-request.js.map +0 -1
- package/dist/openapi/models/ai-agent-feedback-response.d.ts +0 -31
- package/dist/openapi/models/ai-agent-feedback-response.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-feedback-response.js +0 -16
- package/dist/openapi/models/ai-agent-feedback-response.js.map +0 -1
- package/dist/openapi/models/ai-agent-final-status.d.ts +0 -25
- package/dist/openapi/models/ai-agent-final-status.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-final-status.js +0 -29
- package/dist/openapi/models/ai-agent-final-status.js.map +0 -1
- package/dist/openapi/models/ai-agent-message-input.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-message-input.js +0 -16
- package/dist/openapi/models/ai-agent-message-input.js.map +0 -1
- package/dist/openapi/models/ai-agent-message-outcome.d.ts +0 -23
- package/dist/openapi/models/ai-agent-message-outcome.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-message-outcome.js +0 -27
- package/dist/openapi/models/ai-agent-message-outcome.js.map +0 -1
- package/dist/openapi/models/ai-agent-metric-series-point.d.ts +0 -55
- package/dist/openapi/models/ai-agent-metric-series-point.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-metric-series-point.js +0 -16
- package/dist/openapi/models/ai-agent-metric-series-point.js.map +0 -1
- package/dist/openapi/models/ai-agent-metric-series.d.ts +0 -57
- package/dist/openapi/models/ai-agent-metric-series.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-metric-series.js +0 -16
- package/dist/openapi/models/ai-agent-metric-series.js.map +0 -1
- package/dist/openapi/models/ai-agent-missing-reason.d.ts +0 -27
- package/dist/openapi/models/ai-agent-missing-reason.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-missing-reason.js +0 -31
- package/dist/openapi/models/ai-agent-missing-reason.js.map +0 -1
- package/dist/openapi/models/ai-agent-missing-requirement.d.ts +0 -39
- package/dist/openapi/models/ai-agent-missing-requirement.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-missing-requirement.js +0 -16
- package/dist/openapi/models/ai-agent-missing-requirement.js.map +0 -1
- package/dist/openapi/models/ai-agent-pagination.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-pagination.js +0 -16
- package/dist/openapi/models/ai-agent-pagination.js.map +0 -1
- package/dist/openapi/models/ai-agent-partial-reason.d.ts +0 -25
- package/dist/openapi/models/ai-agent-partial-reason.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-partial-reason.js +0 -29
- package/dist/openapi/models/ai-agent-partial-reason.js.map +0 -1
- package/dist/openapi/models/ai-agent-playbook-list.d.ts +0 -26
- package/dist/openapi/models/ai-agent-playbook-list.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-playbook-list.js +0 -16
- package/dist/openapi/models/ai-agent-playbook-list.js.map +0 -1
- package/dist/openapi/models/ai-agent-playbook-summary.d.ts +0 -62
- package/dist/openapi/models/ai-agent-playbook-summary.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-playbook-summary.js +0 -16
- package/dist/openapi/models/ai-agent-playbook-summary.js.map +0 -1
- package/dist/openapi/models/ai-agent-recommendation-type.d.ts +0 -22
- package/dist/openapi/models/ai-agent-recommendation-type.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-recommendation-type.js +0 -26
- package/dist/openapi/models/ai-agent-recommendation-type.js.map +0 -1
- package/dist/openapi/models/ai-agent-recommendation.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-recommendation.js +0 -16
- package/dist/openapi/models/ai-agent-recommendation.js.map +0 -1
- package/dist/openapi/models/ai-agent-recover-action-type.d.ts +0 -28
- package/dist/openapi/models/ai-agent-recover-action-type.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-recover-action-type.js +0 -32
- package/dist/openapi/models/ai-agent-recover-action-type.js.map +0 -1
- package/dist/openapi/models/ai-agent-recover-action.d.ts +0 -53
- package/dist/openapi/models/ai-agent-recover-action.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-recover-action.js +0 -16
- package/dist/openapi/models/ai-agent-recover-action.js.map +0 -1
- package/dist/openapi/models/ai-agent-regenerate-report-request.d.ts +0 -31
- package/dist/openapi/models/ai-agent-regenerate-report-request.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-regenerate-report-request.js +0 -16
- package/dist/openapi/models/ai-agent-regenerate-report-request.js.map +0 -1
- package/dist/openapi/models/ai-agent-report-continue-mode.d.ts +0 -23
- package/dist/openapi/models/ai-agent-report-continue-mode.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-report-continue-mode.js +0 -27
- package/dist/openapi/models/ai-agent-report-continue-mode.js.map +0 -1
- package/dist/openapi/models/ai-agent-report-list.d.ts +0 -18
- package/dist/openapi/models/ai-agent-report-list.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-report-list.js +0 -16
- package/dist/openapi/models/ai-agent-report-list.js.map +0 -1
- package/dist/openapi/models/ai-agent-report.d.ts +0 -203
- package/dist/openapi/models/ai-agent-report.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-report.js +0 -16
- package/dist/openapi/models/ai-agent-report.js.map +0 -1
- package/dist/openapi/models/ai-agent-resource-scope.d.ts +0 -68
- package/dist/openapi/models/ai-agent-resource-scope.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-resource-scope.js +0 -16
- package/dist/openapi/models/ai-agent-resource-scope.js.map +0 -1
- package/dist/openapi/models/ai-agent-root-cause-type.d.ts +0 -23
- package/dist/openapi/models/ai-agent-root-cause-type.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-root-cause-type.js +0 -27
- package/dist/openapi/models/ai-agent-root-cause-type.js.map +0 -1
- package/dist/openapi/models/ai-agent-root-cause.d.ts +0 -39
- package/dist/openapi/models/ai-agent-root-cause.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-root-cause.js +0 -16
- package/dist/openapi/models/ai-agent-root-cause.js.map +0 -1
- package/dist/openapi/models/ai-agent-run-control-response.d.ts +0 -45
- package/dist/openapi/models/ai-agent-run-control-response.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-run-control-response.js +0 -16
- package/dist/openapi/models/ai-agent-run-control-response.js.map +0 -1
- package/dist/openapi/models/ai-agent-run-metadata.d.ts +0 -59
- package/dist/openapi/models/ai-agent-run-metadata.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-run-metadata.js +0 -16
- package/dist/openapi/models/ai-agent-run-metadata.js.map +0 -1
- package/dist/openapi/models/ai-agent-run-status.d.ts +0 -31
- package/dist/openapi/models/ai-agent-run-status.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-run-status.js +0 -35
- package/dist/openapi/models/ai-agent-run-status.js.map +0 -1
- package/dist/openapi/models/ai-agent-run.d.ts +0 -123
- package/dist/openapi/models/ai-agent-run.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-run.js +0 -16
- package/dist/openapi/models/ai-agent-run.js.map +0 -1
- package/dist/openapi/models/ai-agent-scope-validation-status.d.ts +0 -22
- package/dist/openapi/models/ai-agent-scope-validation-status.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-scope-validation-status.js +0 -26
- package/dist/openapi/models/ai-agent-scope-validation-status.js.map +0 -1
- package/dist/openapi/models/ai-agent-stage.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-stage.js.map +0 -1
- package/dist/openapi/models/ai-agent-start-run-request.d.ts +0 -50
- package/dist/openapi/models/ai-agent-start-run-request.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-start-run-request.js +0 -16
- package/dist/openapi/models/ai-agent-start-run-request.js.map +0 -1
- package/dist/openapi/models/ai-agent-start-run-response.d.ts +0 -57
- package/dist/openapi/models/ai-agent-start-run-response.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-start-run-response.js +0 -16
- package/dist/openapi/models/ai-agent-start-run-response.js.map +0 -1
- package/dist/openapi/models/ai-agent-status-display.d.ts +0 -37
- package/dist/openapi/models/ai-agent-status-display.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-status-display.js +0 -16
- package/dist/openapi/models/ai-agent-status-display.js.map +0 -1
- package/dist/openapi/models/ai-agent-suggested-reply.d.ts +0 -32
- package/dist/openapi/models/ai-agent-suggested-reply.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-suggested-reply.js +0 -16
- package/dist/openapi/models/ai-agent-suggested-reply.js.map +0 -1
- package/dist/openapi/models/ai-agent-suggestion.d.ts +0 -63
- package/dist/openapi/models/ai-agent-suggestion.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-suggestion.js +0 -16
- package/dist/openapi/models/ai-agent-suggestion.js.map +0 -1
- package/dist/openapi/models/ai-agent-time-range.d.ts +0 -37
- package/dist/openapi/models/ai-agent-time-range.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-time-range.js +0 -16
- package/dist/openapi/models/ai-agent-time-range.js.map +0 -1
- package/dist/openapi/models/ai-agent-tool-approval-decision-request.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-tool-approval-decision-request.js +0 -16
- package/dist/openapi/models/ai-agent-tool-approval-decision-request.js.map +0 -1
- package/dist/openapi/models/ai-agent-tool-approval-decision-response.d.ts +0 -33
- package/dist/openapi/models/ai-agent-tool-approval-decision-response.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-tool-approval-decision-response.js +0 -16
- package/dist/openapi/models/ai-agent-tool-approval-decision-response.js.map +0 -1
- package/dist/openapi/models/ai-agent-tool-approval-request.d.ts +0 -174
- package/dist/openapi/models/ai-agent-tool-approval-request.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-tool-approval-request.js +0 -16
- package/dist/openapi/models/ai-agent-tool-approval-request.js.map +0 -1
- package/dist/openapi/models/ai-agent-tool-approval-status.d.ts +0 -31
- package/dist/openapi/models/ai-agent-tool-approval-status.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-tool-approval-status.js +0 -35
- package/dist/openapi/models/ai-agent-tool-approval-status.js.map +0 -1
- package/dist/openapi/models/ai-agent-tool-capability-list.d.ts +0 -26
- package/dist/openapi/models/ai-agent-tool-capability-list.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-tool-capability-list.js +0 -16
- package/dist/openapi/models/ai-agent-tool-capability-list.js.map +0 -1
- package/dist/openapi/models/ai-agent-tool-capability-summary.d.ts +0 -57
- package/dist/openapi/models/ai-agent-tool-capability-summary.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-tool-capability-summary.js +0 -16
- package/dist/openapi/models/ai-agent-tool-capability-summary.js.map +0 -1
- package/dist/openapi/models/ai-agent-tool-response-status.d.ts +0 -24
- package/dist/openapi/models/ai-agent-tool-response-status.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-tool-response-status.js +0 -28
- package/dist/openapi/models/ai-agent-tool-response-status.js.map +0 -1
- package/dist/openapi/models/ai-agent-uivisibility.d.ts +0 -24
- package/dist/openapi/models/ai-agent-uivisibility.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-uivisibility.js +0 -28
- package/dist/openapi/models/ai-agent-uivisibility.js.map +0 -1
- package/dist/openapi/models/ai-agent-uncertainty.d.ts +0 -37
- package/dist/openapi/models/ai-agent-uncertainty.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-uncertainty.js +0 -16
- package/dist/openapi/models/ai-agent-uncertainty.js.map +0 -1
- package/dist/openapi/models/ai-agent-visualization-type.d.ts +0 -24
- package/dist/openapi/models/ai-agent-visualization-type.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-visualization-type.js +0 -28
- package/dist/openapi/models/ai-agent-visualization-type.js.map +0 -1
- package/dist/openapi/models/ai-agent-visualization.d.ts +0 -62
- package/dist/openapi/models/ai-agent-visualization.d.ts.map +0 -1
- package/dist/openapi/models/ai-agent-visualization.js +0 -16
- package/dist/openapi/models/ai-agent-visualization.js.map +0 -1
- package/src/sdk/adminapi/models/ai-agent-action-branch-status.ts +0 -37
- package/src/sdk/adminapi/models/ai-agent-action-branch.ts +0 -56
- package/src/sdk/adminapi/models/ai-agent-action-plan-status.ts +0 -36
- package/src/sdk/adminapi/models/ai-agent-action-plan.ts +0 -188
- package/src/sdk/adminapi/models/ai-agent-artifact-batch-get-request.ts +0 -60
- package/src/sdk/adminapi/models/ai-agent-artifact-batch.ts +0 -78
- package/src/sdk/adminapi/models/ai-agent-cluster-context.ts +0 -48
- package/src/sdk/adminapi/models/ai-agent-confidence.ts +0 -33
- package/src/sdk/adminapi/models/ai-agent-confirmation-mode.ts +0 -31
- package/src/sdk/adminapi/models/ai-agent-context-response.ts +0 -87
- package/src/sdk/adminapi/models/ai-agent-continue-mode.ts +0 -33
- package/src/sdk/adminapi/models/ai-agent-continue-run-request.ts +0 -59
- package/src/sdk/adminapi/models/ai-agent-continue-run-response.ts +0 -92
- package/src/sdk/adminapi/models/ai-agent-conversation-summary.ts +0 -80
- package/src/sdk/adminapi/models/ai-agent-cost-class.ts +0 -32
- package/src/sdk/adminapi/models/ai-agent-delta-kind.ts +0 -33
- package/src/sdk/adminapi/models/ai-agent-diagnosis-branch.ts +0 -59
- package/src/sdk/adminapi/models/ai-agent-event-payload.ts +0 -317
- package/src/sdk/adminapi/models/ai-agent-event-source.ts +0 -35
- package/src/sdk/adminapi/models/ai-agent-event-status.ts +0 -36
- package/src/sdk/adminapi/models/ai-agent-evidence-completeness.ts +0 -33
- package/src/sdk/adminapi/models/ai-agent-evidence-detail.ts +0 -173
- package/src/sdk/adminapi/models/ai-agent-evidence-redaction-status.ts +0 -32
- package/src/sdk/adminapi/models/ai-agent-evidence-snippet.ts +0 -48
- package/src/sdk/adminapi/models/ai-agent-evidence-status.ts +0 -34
- package/src/sdk/adminapi/models/ai-agent-evidence-summary.ts +0 -125
- package/src/sdk/adminapi/models/ai-agent-evidence-visibility.ts +0 -32
- package/src/sdk/adminapi/models/ai-agent-message-outcome.ts +0 -32
- package/src/sdk/adminapi/models/ai-agent-metric-series-point.ts +0 -60
- package/src/sdk/adminapi/models/ai-agent-metric-series.ts +0 -66
- package/src/sdk/adminapi/models/ai-agent-missing-reason.ts +0 -36
- package/src/sdk/adminapi/models/ai-agent-missing-requirement.ts +0 -50
- package/src/sdk/adminapi/models/ai-agent-partial-reason.ts +0 -34
- package/src/sdk/adminapi/models/ai-agent-playbook-summary.ts +0 -69
- package/src/sdk/adminapi/models/ai-agent-recommendation-type.ts +0 -31
- package/src/sdk/adminapi/models/ai-agent-recover-action-type.ts +0 -37
- package/src/sdk/adminapi/models/ai-agent-recover-action.ts +0 -68
- package/src/sdk/adminapi/models/ai-agent-report-list.ts +0 -29
- package/src/sdk/adminapi/models/ai-agent-report.ts +0 -236
- package/src/sdk/adminapi/models/ai-agent-resource-scope.ts +0 -75
- package/src/sdk/adminapi/models/ai-agent-root-cause-type.ts +0 -32
- package/src/sdk/adminapi/models/ai-agent-run-metadata.ts +0 -60
- package/src/sdk/adminapi/models/ai-agent-run-status.ts +0 -40
- package/src/sdk/adminapi/models/ai-agent-run.ts +0 -146
- package/src/sdk/adminapi/models/ai-agent-scope-validation-status.ts +0 -31
- package/src/sdk/adminapi/models/ai-agent-start-run-request.ts +0 -57
- package/src/sdk/adminapi/models/ai-agent-start-run-response.ts +0 -68
- package/src/sdk/adminapi/models/ai-agent-status-display.ts +0 -42
- package/src/sdk/adminapi/models/ai-agent-suggested-reply.ts +0 -39
- package/src/sdk/adminapi/models/ai-agent-suggestion.ts +0 -72
- package/src/sdk/adminapi/models/ai-agent-time-range.ts +0 -42
- package/src/sdk/adminapi/models/ai-agent-tool-approval-decision-request.ts +0 -48
- package/src/sdk/adminapi/models/ai-agent-tool-approval-decision-response.ts +0 -42
- package/src/sdk/adminapi/models/ai-agent-tool-approval-request.ts +0 -185
- package/src/sdk/adminapi/models/ai-agent-tool-approval-status.ts +0 -40
- package/src/sdk/adminapi/models/ai-agent-tool-response-status.ts +0 -33
- package/src/sdk/adminapi/models/ai-agent-uivisibility.ts +0 -33
- package/src/sdk/adminapi/models/ai-agent-uncertainty.ts +0 -42
- package/src/sdk/adminapi/models/ai-agent-visualization-type.ts +0 -33
- package/src/sdk/adminapi/models/ai-agent-visualization.ts +0 -71
- package/src/sdk/openapi/models/ai-agent-action-branch-status.ts +0 -37
- package/src/sdk/openapi/models/ai-agent-action-branch.ts +0 -56
- package/src/sdk/openapi/models/ai-agent-action-plan-approval-status.ts +0 -33
- package/src/sdk/openapi/models/ai-agent-action-plan-cancel-status.ts +0 -30
- package/src/sdk/openapi/models/ai-agent-action-plan-status.ts +0 -36
- package/src/sdk/openapi/models/ai-agent-action-plan.ts +0 -188
- package/src/sdk/openapi/models/ai-agent-artifact-batch-get-request.ts +0 -60
- package/src/sdk/openapi/models/ai-agent-artifact-batch.ts +0 -78
- package/src/sdk/openapi/models/ai-agent-cancel-action-plan-response.ts +0 -50
- package/src/sdk/openapi/models/ai-agent-checked-scope-item.ts +0 -39
- package/src/sdk/openapi/models/ai-agent-cluster-context.ts +0 -48
- package/src/sdk/openapi/models/ai-agent-confidence.ts +0 -33
- package/src/sdk/openapi/models/ai-agent-confirm-action-plan-request.ts +0 -36
- package/src/sdk/openapi/models/ai-agent-confirm-action-plan-response.ts +0 -56
- package/src/sdk/openapi/models/ai-agent-confirmation-mode.ts +0 -31
- package/src/sdk/openapi/models/ai-agent-context-response.ts +0 -87
- package/src/sdk/openapi/models/ai-agent-continue-mode.ts +0 -33
- package/src/sdk/openapi/models/ai-agent-continue-run-request.ts +0 -59
- package/src/sdk/openapi/models/ai-agent-continue-run-response.ts +0 -92
- package/src/sdk/openapi/models/ai-agent-conversation-summary.ts +0 -80
- package/src/sdk/openapi/models/ai-agent-cost-class.ts +0 -32
- package/src/sdk/openapi/models/ai-agent-delta-kind.ts +0 -33
- package/src/sdk/openapi/models/ai-agent-diagnosis-branch.ts +0 -59
- package/src/sdk/openapi/models/ai-agent-event-payload.ts +0 -317
- package/src/sdk/openapi/models/ai-agent-event-source.ts +0 -35
- package/src/sdk/openapi/models/ai-agent-event-status.ts +0 -36
- package/src/sdk/openapi/models/ai-agent-evidence-completeness.ts +0 -33
- package/src/sdk/openapi/models/ai-agent-evidence-detail.ts +0 -173
- package/src/sdk/openapi/models/ai-agent-evidence-list.ts +0 -29
- package/src/sdk/openapi/models/ai-agent-evidence-redaction-status.ts +0 -32
- package/src/sdk/openapi/models/ai-agent-evidence-snippet.ts +0 -48
- package/src/sdk/openapi/models/ai-agent-evidence-status.ts +0 -34
- package/src/sdk/openapi/models/ai-agent-evidence-summary.ts +0 -125
- package/src/sdk/openapi/models/ai-agent-evidence-visibility.ts +0 -32
- package/src/sdk/openapi/models/ai-agent-execution-status-response.ts +0 -83
- package/src/sdk/openapi/models/ai-agent-execution-step.ts +0 -39
- package/src/sdk/openapi/models/ai-agent-feedback-rating.ts +0 -31
- package/src/sdk/openapi/models/ai-agent-feedback-reason.ts +0 -35
- package/src/sdk/openapi/models/ai-agent-feedback-request.ts +0 -50
- package/src/sdk/openapi/models/ai-agent-feedback-response.ts +0 -36
- package/src/sdk/openapi/models/ai-agent-final-status.ts +0 -34
- package/src/sdk/openapi/models/ai-agent-message-outcome.ts +0 -32
- package/src/sdk/openapi/models/ai-agent-metric-series-point.ts +0 -60
- package/src/sdk/openapi/models/ai-agent-metric-series.ts +0 -66
- package/src/sdk/openapi/models/ai-agent-missing-reason.ts +0 -36
- package/src/sdk/openapi/models/ai-agent-missing-requirement.ts +0 -50
- package/src/sdk/openapi/models/ai-agent-partial-reason.ts +0 -34
- package/src/sdk/openapi/models/ai-agent-playbook-list.ts +0 -33
- package/src/sdk/openapi/models/ai-agent-playbook-summary.ts +0 -69
- package/src/sdk/openapi/models/ai-agent-recommendation-type.ts +0 -31
- package/src/sdk/openapi/models/ai-agent-recover-action-type.ts +0 -37
- package/src/sdk/openapi/models/ai-agent-recover-action.ts +0 -68
- package/src/sdk/openapi/models/ai-agent-regenerate-report-request.ts +0 -36
- package/src/sdk/openapi/models/ai-agent-report-continue-mode.ts +0 -32
- package/src/sdk/openapi/models/ai-agent-report-list.ts +0 -29
- package/src/sdk/openapi/models/ai-agent-report.ts +0 -236
- package/src/sdk/openapi/models/ai-agent-resource-scope.ts +0 -75
- package/src/sdk/openapi/models/ai-agent-root-cause-type.ts +0 -32
- package/src/sdk/openapi/models/ai-agent-run-metadata.ts +0 -60
- package/src/sdk/openapi/models/ai-agent-run-status.ts +0 -40
- package/src/sdk/openapi/models/ai-agent-run.ts +0 -146
- package/src/sdk/openapi/models/ai-agent-scope-validation-status.ts +0 -31
- package/src/sdk/openapi/models/ai-agent-start-run-request.ts +0 -57
- package/src/sdk/openapi/models/ai-agent-start-run-response.ts +0 -68
- package/src/sdk/openapi/models/ai-agent-status-display.ts +0 -42
- package/src/sdk/openapi/models/ai-agent-suggested-reply.ts +0 -39
- package/src/sdk/openapi/models/ai-agent-suggestion.ts +0 -72
- package/src/sdk/openapi/models/ai-agent-time-range.ts +0 -42
- package/src/sdk/openapi/models/ai-agent-tool-approval-decision-request.ts +0 -48
- package/src/sdk/openapi/models/ai-agent-tool-approval-decision-response.ts +0 -42
- package/src/sdk/openapi/models/ai-agent-tool-approval-request.ts +0 -185
- package/src/sdk/openapi/models/ai-agent-tool-approval-status.ts +0 -40
- package/src/sdk/openapi/models/ai-agent-tool-capability-list.ts +0 -33
- package/src/sdk/openapi/models/ai-agent-tool-capability-summary.ts +0 -68
- package/src/sdk/openapi/models/ai-agent-tool-response-status.ts +0 -33
- package/src/sdk/openapi/models/ai-agent-uivisibility.ts +0 -33
- package/src/sdk/openapi/models/ai-agent-uncertainty.ts +0 -42
- package/src/sdk/openapi/models/ai-agent-visualization-type.ts +0 -33
- package/src/sdk/openapi/models/ai-agent-visualization.ts +0 -71
|
@@ -30,28 +30,26 @@ const base_1 = require("../base");
|
|
|
30
30
|
const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
31
31
|
return {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
* @summary Approve
|
|
33
|
+
*
|
|
34
|
+
* @summary Approve one AI diagnosis tool confirmation
|
|
35
35
|
* @param {string} orgName
|
|
36
|
-
* @param {string}
|
|
37
|
-
* @param {string}
|
|
38
|
-
* @param {
|
|
36
|
+
* @param {string} conversationId
|
|
37
|
+
* @param {string} confirmationId
|
|
38
|
+
* @param {AiAgentToolConfirmationDecisionRequest} [aiAgentToolConfirmationDecisionRequest]
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
approveAIAgentToolConfirmation: async (orgName, conversationId, confirmationId, aiAgentToolConfirmationDecisionRequest, options = {}) => {
|
|
43
43
|
// verify required parameter 'orgName' is not null or undefined
|
|
44
|
-
(0, common_1.assertParamExists)('
|
|
45
|
-
// verify required parameter '
|
|
46
|
-
(0, common_1.assertParamExists)('
|
|
47
|
-
// verify required parameter '
|
|
48
|
-
(0, common_1.assertParamExists)('
|
|
49
|
-
|
|
50
|
-
(0, common_1.assertParamExists)('approveAIAgentToolApprovalRequest', 'aiAgentToolApprovalDecisionRequest', aiAgentToolApprovalDecisionRequest);
|
|
51
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/runs/{runId}/tool-approvals/{approvalRequestId}/approve`
|
|
44
|
+
(0, common_1.assertParamExists)('approveAIAgentToolConfirmation', 'orgName', orgName);
|
|
45
|
+
// verify required parameter 'conversationId' is not null or undefined
|
|
46
|
+
(0, common_1.assertParamExists)('approveAIAgentToolConfirmation', 'conversationId', conversationId);
|
|
47
|
+
// verify required parameter 'confirmationId' is not null or undefined
|
|
48
|
+
(0, common_1.assertParamExists)('approveAIAgentToolConfirmation', 'confirmationId', confirmationId);
|
|
49
|
+
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}/tool-confirmations/{confirmationId}/approve`
|
|
52
50
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
53
|
-
.replace(`{${"
|
|
54
|
-
.replace(`{${"
|
|
51
|
+
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)))
|
|
52
|
+
.replace(`{${"confirmationId"}}`, encodeURIComponent(String(confirmationId)));
|
|
55
53
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
56
54
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
57
55
|
let baseOptions;
|
|
@@ -67,26 +65,26 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
67
65
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
68
66
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69
67
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
70
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
68
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(aiAgentToolConfirmationDecisionRequest, localVarRequestOptions, configuration);
|
|
71
69
|
return {
|
|
72
70
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
73
71
|
options: localVarRequestOptions,
|
|
74
72
|
};
|
|
75
73
|
},
|
|
76
74
|
/**
|
|
77
|
-
*
|
|
78
|
-
* @summary
|
|
75
|
+
*
|
|
76
|
+
* @summary Create an AI diagnosis conversation
|
|
79
77
|
* @param {string} orgName
|
|
80
|
-
* @param {
|
|
78
|
+
* @param {AiAgentCreateConversationRequest} aiAgentCreateConversationRequest
|
|
81
79
|
* @param {*} [options] Override http request option.
|
|
82
80
|
* @throws {RequiredError}
|
|
83
81
|
*/
|
|
84
|
-
|
|
82
|
+
createAIAgentConversation: async (orgName, aiAgentCreateConversationRequest, options = {}) => {
|
|
85
83
|
// verify required parameter 'orgName' is not null or undefined
|
|
86
|
-
(0, common_1.assertParamExists)('
|
|
87
|
-
// verify required parameter '
|
|
88
|
-
(0, common_1.assertParamExists)('
|
|
89
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/
|
|
84
|
+
(0, common_1.assertParamExists)('createAIAgentConversation', 'orgName', orgName);
|
|
85
|
+
// verify required parameter 'aiAgentCreateConversationRequest' is not null or undefined
|
|
86
|
+
(0, common_1.assertParamExists)('createAIAgentConversation', 'aiAgentCreateConversationRequest', aiAgentCreateConversationRequest);
|
|
87
|
+
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/conversations`
|
|
90
88
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
91
89
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
92
90
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -103,35 +101,35 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
103
101
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
104
102
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
105
103
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
106
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
104
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(aiAgentCreateConversationRequest, localVarRequestOptions, configuration);
|
|
107
105
|
return {
|
|
108
106
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
109
107
|
options: localVarRequestOptions,
|
|
110
108
|
};
|
|
111
109
|
},
|
|
112
110
|
/**
|
|
113
|
-
*
|
|
114
|
-
* @summary
|
|
111
|
+
*
|
|
112
|
+
* @summary Get an AI diagnosis conversation
|
|
115
113
|
* @param {string} orgName
|
|
116
|
-
* @param {string}
|
|
114
|
+
* @param {string} conversationId
|
|
117
115
|
* @param {*} [options] Override http request option.
|
|
118
116
|
* @throws {RequiredError}
|
|
119
117
|
*/
|
|
120
|
-
|
|
118
|
+
getAIAgentConversation: async (orgName, conversationId, options = {}) => {
|
|
121
119
|
// verify required parameter 'orgName' is not null or undefined
|
|
122
|
-
(0, common_1.assertParamExists)('
|
|
123
|
-
// verify required parameter '
|
|
124
|
-
(0, common_1.assertParamExists)('
|
|
125
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/
|
|
120
|
+
(0, common_1.assertParamExists)('getAIAgentConversation', 'orgName', orgName);
|
|
121
|
+
// verify required parameter 'conversationId' is not null or undefined
|
|
122
|
+
(0, common_1.assertParamExists)('getAIAgentConversation', 'conversationId', conversationId);
|
|
123
|
+
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}`
|
|
126
124
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
127
|
-
.replace(`{${"
|
|
125
|
+
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
128
126
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
129
127
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
130
128
|
let baseOptions;
|
|
131
129
|
if (configuration) {
|
|
132
130
|
baseOptions = configuration.baseOptions;
|
|
133
131
|
}
|
|
134
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
132
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
135
133
|
const localVarHeaderParameter = {};
|
|
136
134
|
const localVarQueryParameter = {};
|
|
137
135
|
// authentication BearerToken required
|
|
@@ -145,28 +143,24 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
145
143
|
};
|
|
146
144
|
},
|
|
147
145
|
/**
|
|
148
|
-
*
|
|
149
|
-
* @summary
|
|
146
|
+
*
|
|
147
|
+
* @summary Get AI diagnosis agent status
|
|
150
148
|
* @param {string} orgName
|
|
151
|
-
* @param {string} runId
|
|
152
149
|
* @param {*} [options] Override http request option.
|
|
153
150
|
* @throws {RequiredError}
|
|
154
151
|
*/
|
|
155
|
-
|
|
152
|
+
getAIAgentStatus: async (orgName, options = {}) => {
|
|
156
153
|
// verify required parameter 'orgName' is not null or undefined
|
|
157
|
-
(0, common_1.assertParamExists)('
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/runs/{runId}/cancel`
|
|
161
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
162
|
-
.replace(`{${"runId"}}`, encodeURIComponent(String(runId)));
|
|
154
|
+
(0, common_1.assertParamExists)('getAIAgentStatus', 'orgName', orgName);
|
|
155
|
+
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/status`
|
|
156
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
163
157
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
164
158
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
165
159
|
let baseOptions;
|
|
166
160
|
if (configuration) {
|
|
167
161
|
baseOptions = configuration.baseOptions;
|
|
168
162
|
}
|
|
169
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
163
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
170
164
|
const localVarHeaderParameter = {};
|
|
171
165
|
const localVarQueryParameter = {};
|
|
172
166
|
// authentication BearerToken required
|
|
@@ -180,106 +174,108 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
180
174
|
};
|
|
181
175
|
},
|
|
182
176
|
/**
|
|
183
|
-
*
|
|
184
|
-
* @summary
|
|
177
|
+
*
|
|
178
|
+
* @summary List AI diagnosis conversations
|
|
185
179
|
* @param {string} orgName
|
|
186
|
-
* @param {
|
|
187
|
-
* @param {string}
|
|
188
|
-
* @param {AiAgentToolApprovalDecisionRequest} aiAgentToolApprovalDecisionRequest
|
|
180
|
+
* @param {number} [limit]
|
|
181
|
+
* @param {string} [after]
|
|
189
182
|
* @param {*} [options] Override http request option.
|
|
190
183
|
* @throws {RequiredError}
|
|
191
184
|
*/
|
|
192
|
-
|
|
185
|
+
listAIAgentConversations: async (orgName, limit, after, options = {}) => {
|
|
193
186
|
// verify required parameter 'orgName' is not null or undefined
|
|
194
|
-
(0, common_1.assertParamExists)('
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
// verify required parameter 'approvalRequestId' is not null or undefined
|
|
198
|
-
(0, common_1.assertParamExists)('cancelAIAgentToolApprovalRequest', 'approvalRequestId', approvalRequestId);
|
|
199
|
-
// verify required parameter 'aiAgentToolApprovalDecisionRequest' is not null or undefined
|
|
200
|
-
(0, common_1.assertParamExists)('cancelAIAgentToolApprovalRequest', 'aiAgentToolApprovalDecisionRequest', aiAgentToolApprovalDecisionRequest);
|
|
201
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/runs/{runId}/tool-approvals/{approvalRequestId}/cancel`
|
|
202
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
203
|
-
.replace(`{${"runId"}}`, encodeURIComponent(String(runId)))
|
|
204
|
-
.replace(`{${"approvalRequestId"}}`, encodeURIComponent(String(approvalRequestId)));
|
|
187
|
+
(0, common_1.assertParamExists)('listAIAgentConversations', 'orgName', orgName);
|
|
188
|
+
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/conversations`
|
|
189
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
205
190
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
206
191
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
207
192
|
let baseOptions;
|
|
208
193
|
if (configuration) {
|
|
209
194
|
baseOptions = configuration.baseOptions;
|
|
210
195
|
}
|
|
211
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
196
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
212
197
|
const localVarHeaderParameter = {};
|
|
213
198
|
const localVarQueryParameter = {};
|
|
214
199
|
// authentication BearerToken required
|
|
215
200
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
216
|
-
|
|
201
|
+
if (limit !== undefined) {
|
|
202
|
+
localVarQueryParameter['limit'] = limit;
|
|
203
|
+
}
|
|
204
|
+
if (after !== undefined) {
|
|
205
|
+
localVarQueryParameter['after'] = after;
|
|
206
|
+
}
|
|
217
207
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
218
208
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
219
209
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
220
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(aiAgentToolApprovalDecisionRequest, localVarRequestOptions, configuration);
|
|
221
210
|
return {
|
|
222
211
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
223
212
|
options: localVarRequestOptions,
|
|
224
213
|
};
|
|
225
214
|
},
|
|
226
215
|
/**
|
|
227
|
-
*
|
|
228
|
-
* @summary
|
|
216
|
+
*
|
|
217
|
+
* @summary List AI diagnosis conversation messages
|
|
229
218
|
* @param {string} orgName
|
|
230
|
-
* @param {string}
|
|
231
|
-
* @param {
|
|
219
|
+
* @param {string} conversationId
|
|
220
|
+
* @param {string} [after]
|
|
221
|
+
* @param {number} [limit]
|
|
232
222
|
* @param {*} [options] Override http request option.
|
|
233
223
|
* @throws {RequiredError}
|
|
234
224
|
*/
|
|
235
|
-
|
|
225
|
+
listAIAgentMessages: async (orgName, conversationId, after, limit, options = {}) => {
|
|
236
226
|
// verify required parameter 'orgName' is not null or undefined
|
|
237
|
-
(0, common_1.assertParamExists)('
|
|
238
|
-
// verify required parameter '
|
|
239
|
-
(0, common_1.assertParamExists)('
|
|
240
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/
|
|
227
|
+
(0, common_1.assertParamExists)('listAIAgentMessages', 'orgName', orgName);
|
|
228
|
+
// verify required parameter 'conversationId' is not null or undefined
|
|
229
|
+
(0, common_1.assertParamExists)('listAIAgentMessages', 'conversationId', conversationId);
|
|
230
|
+
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}/messages`
|
|
241
231
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
242
|
-
.replace(`{${"
|
|
232
|
+
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
243
233
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
244
234
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
245
235
|
let baseOptions;
|
|
246
236
|
if (configuration) {
|
|
247
237
|
baseOptions = configuration.baseOptions;
|
|
248
238
|
}
|
|
249
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
239
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
250
240
|
const localVarHeaderParameter = {};
|
|
251
241
|
const localVarQueryParameter = {};
|
|
252
242
|
// authentication BearerToken required
|
|
253
243
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
254
|
-
|
|
244
|
+
if (after !== undefined) {
|
|
245
|
+
localVarQueryParameter['after'] = after;
|
|
246
|
+
}
|
|
247
|
+
if (limit !== undefined) {
|
|
248
|
+
localVarQueryParameter['limit'] = limit;
|
|
249
|
+
}
|
|
255
250
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
256
251
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
257
252
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
258
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(aiAgentConfirmActionPlanRequest, localVarRequestOptions, configuration);
|
|
259
253
|
return {
|
|
260
254
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
261
255
|
options: localVarRequestOptions,
|
|
262
256
|
};
|
|
263
257
|
},
|
|
264
258
|
/**
|
|
265
|
-
*
|
|
266
|
-
* @summary
|
|
259
|
+
*
|
|
260
|
+
* @summary Reject one AI diagnosis tool confirmation
|
|
267
261
|
* @param {string} orgName
|
|
268
|
-
* @param {string}
|
|
269
|
-
* @param {
|
|
262
|
+
* @param {string} conversationId
|
|
263
|
+
* @param {string} confirmationId
|
|
264
|
+
* @param {AiAgentToolConfirmationDecisionRequest} [aiAgentToolConfirmationDecisionRequest]
|
|
270
265
|
* @param {*} [options] Override http request option.
|
|
271
266
|
* @throws {RequiredError}
|
|
272
267
|
*/
|
|
273
|
-
|
|
268
|
+
rejectAIAgentToolConfirmation: async (orgName, conversationId, confirmationId, aiAgentToolConfirmationDecisionRequest, options = {}) => {
|
|
274
269
|
// verify required parameter 'orgName' is not null or undefined
|
|
275
|
-
(0, common_1.assertParamExists)('
|
|
276
|
-
// verify required parameter '
|
|
277
|
-
(0, common_1.assertParamExists)('
|
|
278
|
-
// verify required parameter '
|
|
279
|
-
(0, common_1.assertParamExists)('
|
|
280
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/
|
|
270
|
+
(0, common_1.assertParamExists)('rejectAIAgentToolConfirmation', 'orgName', orgName);
|
|
271
|
+
// verify required parameter 'conversationId' is not null or undefined
|
|
272
|
+
(0, common_1.assertParamExists)('rejectAIAgentToolConfirmation', 'conversationId', conversationId);
|
|
273
|
+
// verify required parameter 'confirmationId' is not null or undefined
|
|
274
|
+
(0, common_1.assertParamExists)('rejectAIAgentToolConfirmation', 'confirmationId', confirmationId);
|
|
275
|
+
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}/tool-confirmations/{confirmationId}/reject`
|
|
281
276
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
282
|
-
.replace(`{${"
|
|
277
|
+
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)))
|
|
278
|
+
.replace(`{${"confirmationId"}}`, encodeURIComponent(String(confirmationId)));
|
|
283
279
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
284
280
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
285
281
|
let baseOptions;
|
|
@@ -295,31 +291,31 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
295
291
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
296
292
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
297
293
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
298
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
294
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(aiAgentToolConfirmationDecisionRequest, localVarRequestOptions, configuration);
|
|
299
295
|
return {
|
|
300
296
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
301
297
|
options: localVarRequestOptions,
|
|
302
298
|
};
|
|
303
299
|
},
|
|
304
300
|
/**
|
|
305
|
-
*
|
|
306
|
-
* @summary
|
|
301
|
+
*
|
|
302
|
+
* @summary Send a user message and start or continue AI diagnosis
|
|
307
303
|
* @param {string} orgName
|
|
308
|
-
* @param {string}
|
|
309
|
-
* @param {
|
|
304
|
+
* @param {string} conversationId
|
|
305
|
+
* @param {AiAgentSendMessageRequest} aiAgentSendMessageRequest
|
|
310
306
|
* @param {*} [options] Override http request option.
|
|
311
307
|
* @throws {RequiredError}
|
|
312
308
|
*/
|
|
313
|
-
|
|
309
|
+
sendAIAgentMessage: async (orgName, conversationId, aiAgentSendMessageRequest, options = {}) => {
|
|
314
310
|
// verify required parameter 'orgName' is not null or undefined
|
|
315
|
-
(0, common_1.assertParamExists)('
|
|
316
|
-
// verify required parameter '
|
|
317
|
-
(0, common_1.assertParamExists)('
|
|
318
|
-
// verify required parameter '
|
|
319
|
-
(0, common_1.assertParamExists)('
|
|
320
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/
|
|
311
|
+
(0, common_1.assertParamExists)('sendAIAgentMessage', 'orgName', orgName);
|
|
312
|
+
// verify required parameter 'conversationId' is not null or undefined
|
|
313
|
+
(0, common_1.assertParamExists)('sendAIAgentMessage', 'conversationId', conversationId);
|
|
314
|
+
// verify required parameter 'aiAgentSendMessageRequest' is not null or undefined
|
|
315
|
+
(0, common_1.assertParamExists)('sendAIAgentMessage', 'aiAgentSendMessageRequest', aiAgentSendMessageRequest);
|
|
316
|
+
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}/messages`
|
|
321
317
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
322
|
-
.replace(`{${"
|
|
318
|
+
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
323
319
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
324
320
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
325
321
|
let baseOptions;
|
|
@@ -335,27 +331,28 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
335
331
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
336
332
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
337
333
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
338
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
334
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(aiAgentSendMessageRequest, localVarRequestOptions, configuration);
|
|
339
335
|
return {
|
|
340
336
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
341
337
|
options: localVarRequestOptions,
|
|
342
338
|
};
|
|
343
339
|
},
|
|
344
340
|
/**
|
|
345
|
-
*
|
|
346
|
-
* @summary
|
|
341
|
+
*
|
|
342
|
+
* @summary Stop the current AI diagnosis turn
|
|
347
343
|
* @param {string} orgName
|
|
348
|
-
* @param {
|
|
344
|
+
* @param {string} conversationId
|
|
349
345
|
* @param {*} [options] Override http request option.
|
|
350
346
|
* @throws {RequiredError}
|
|
351
347
|
*/
|
|
352
|
-
|
|
348
|
+
stopAIAgentConversation: async (orgName, conversationId, options = {}) => {
|
|
353
349
|
// verify required parameter 'orgName' is not null or undefined
|
|
354
|
-
(0, common_1.assertParamExists)('
|
|
355
|
-
// verify required parameter '
|
|
356
|
-
(0, common_1.assertParamExists)('
|
|
357
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/conversations`
|
|
358
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
350
|
+
(0, common_1.assertParamExists)('stopAIAgentConversation', 'orgName', orgName);
|
|
351
|
+
// verify required parameter 'conversationId' is not null or undefined
|
|
352
|
+
(0, common_1.assertParamExists)('stopAIAgentConversation', 'conversationId', conversationId);
|
|
353
|
+
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}/stop`
|
|
354
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
355
|
+
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
359
356
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
360
357
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
361
358
|
let baseOptions;
|
|
@@ -367,32 +364,31 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
367
364
|
const localVarQueryParameter = {};
|
|
368
365
|
// authentication BearerToken required
|
|
369
366
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
370
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
371
367
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
372
368
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
373
369
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
374
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(aiAgentCreateConversationRequest, localVarRequestOptions, configuration);
|
|
375
370
|
return {
|
|
376
371
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
377
372
|
options: localVarRequestOptions,
|
|
378
373
|
};
|
|
379
374
|
},
|
|
380
375
|
/**
|
|
381
|
-
*
|
|
382
|
-
* @summary
|
|
376
|
+
*
|
|
377
|
+
* @summary Subscribe to AI diagnosis conversation events
|
|
383
378
|
* @param {string} orgName
|
|
384
|
-
* @param {string}
|
|
379
|
+
* @param {string} conversationId
|
|
380
|
+
* @param {string} [after]
|
|
385
381
|
* @param {*} [options] Override http request option.
|
|
386
382
|
* @throws {RequiredError}
|
|
387
383
|
*/
|
|
388
|
-
|
|
384
|
+
subscribeAIAgentConversationEvents: async (orgName, conversationId, after, options = {}) => {
|
|
389
385
|
// verify required parameter 'orgName' is not null or undefined
|
|
390
|
-
(0, common_1.assertParamExists)('
|
|
391
|
-
// verify required parameter '
|
|
392
|
-
(0, common_1.assertParamExists)('
|
|
393
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/
|
|
386
|
+
(0, common_1.assertParamExists)('subscribeAIAgentConversationEvents', 'orgName', orgName);
|
|
387
|
+
// verify required parameter 'conversationId' is not null or undefined
|
|
388
|
+
(0, common_1.assertParamExists)('subscribeAIAgentConversationEvents', 'conversationId', conversationId);
|
|
389
|
+
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}/events`
|
|
394
390
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
395
|
-
.replace(`{${"
|
|
391
|
+
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
396
392
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
397
393
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
398
394
|
let baseOptions;
|
|
@@ -404,6 +400,9 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
404
400
|
const localVarQueryParameter = {};
|
|
405
401
|
// authentication BearerToken required
|
|
406
402
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
403
|
+
if (after !== undefined) {
|
|
404
|
+
localVarQueryParameter['after'] = after;
|
|
405
|
+
}
|
|
407
406
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
408
407
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
409
408
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -412,1260 +411,172 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
412
411
|
options: localVarRequestOptions,
|
|
413
412
|
};
|
|
414
413
|
},
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
exports.AIAgentApiAxiosParamCreator = AIAgentApiAxiosParamCreator;
|
|
417
|
+
/**
|
|
418
|
+
* AIAgentApi - functional programming interface
|
|
419
|
+
* @export
|
|
420
|
+
*/
|
|
421
|
+
const AIAgentApiFp = function (configuration) {
|
|
422
|
+
const localVarAxiosParamCreator = (0, exports.AIAgentApiAxiosParamCreator)(configuration);
|
|
423
|
+
return {
|
|
415
424
|
/**
|
|
416
|
-
*
|
|
417
|
-
* @summary
|
|
425
|
+
*
|
|
426
|
+
* @summary Approve one AI diagnosis tool confirmation
|
|
418
427
|
* @param {string} orgName
|
|
419
|
-
* @param {string}
|
|
428
|
+
* @param {string} conversationId
|
|
429
|
+
* @param {string} confirmationId
|
|
430
|
+
* @param {AiAgentToolConfirmationDecisionRequest} [aiAgentToolConfirmationDecisionRequest]
|
|
420
431
|
* @param {*} [options] Override http request option.
|
|
421
432
|
* @throws {RequiredError}
|
|
422
433
|
*/
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
(
|
|
428
|
-
|
|
429
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
430
|
-
.replace(`{${"actionPlanId"}}`, encodeURIComponent(String(actionPlanId)));
|
|
431
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
432
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
433
|
-
let baseOptions;
|
|
434
|
-
if (configuration) {
|
|
435
|
-
baseOptions = configuration.baseOptions;
|
|
436
|
-
}
|
|
437
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
438
|
-
const localVarHeaderParameter = {};
|
|
439
|
-
const localVarQueryParameter = {};
|
|
440
|
-
// authentication BearerToken required
|
|
441
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
442
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
443
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
444
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
445
|
-
return {
|
|
446
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
447
|
-
options: localVarRequestOptions,
|
|
448
|
-
};
|
|
434
|
+
async approveAIAgentToolConfirmation(orgName, conversationId, confirmationId, aiAgentToolConfirmationDecisionRequest, options) {
|
|
435
|
+
var _a, _b, _c;
|
|
436
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.approveAIAgentToolConfirmation(orgName, conversationId, confirmationId, aiAgentToolConfirmationDecisionRequest, options);
|
|
437
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
438
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.approveAIAgentToolConfirmation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
439
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
449
440
|
},
|
|
450
441
|
/**
|
|
451
|
-
*
|
|
452
|
-
* @summary
|
|
442
|
+
*
|
|
443
|
+
* @summary Create an AI diagnosis conversation
|
|
453
444
|
* @param {string} orgName
|
|
454
|
-
* @param {
|
|
455
|
-
* @param {string} [namespace]
|
|
456
|
-
* @param {string} [component]
|
|
457
|
-
* @param {string} [pod]
|
|
445
|
+
* @param {AiAgentCreateConversationRequest} aiAgentCreateConversationRequest
|
|
458
446
|
* @param {*} [options] Override http request option.
|
|
459
447
|
* @throws {RequiredError}
|
|
460
448
|
*/
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
(
|
|
466
|
-
|
|
467
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
468
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
469
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
470
|
-
let baseOptions;
|
|
471
|
-
if (configuration) {
|
|
472
|
-
baseOptions = configuration.baseOptions;
|
|
473
|
-
}
|
|
474
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
475
|
-
const localVarHeaderParameter = {};
|
|
476
|
-
const localVarQueryParameter = {};
|
|
477
|
-
// authentication BearerToken required
|
|
478
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
479
|
-
if (clusterName !== undefined) {
|
|
480
|
-
localVarQueryParameter['clusterName'] = clusterName;
|
|
481
|
-
}
|
|
482
|
-
if (namespace !== undefined) {
|
|
483
|
-
localVarQueryParameter['namespace'] = namespace;
|
|
484
|
-
}
|
|
485
|
-
if (component !== undefined) {
|
|
486
|
-
localVarQueryParameter['component'] = component;
|
|
487
|
-
}
|
|
488
|
-
if (pod !== undefined) {
|
|
489
|
-
localVarQueryParameter['pod'] = pod;
|
|
490
|
-
}
|
|
491
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
492
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
493
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
494
|
-
return {
|
|
495
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
496
|
-
options: localVarRequestOptions,
|
|
497
|
-
};
|
|
449
|
+
async createAIAgentConversation(orgName, aiAgentCreateConversationRequest, options) {
|
|
450
|
+
var _a, _b, _c;
|
|
451
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createAIAgentConversation(orgName, aiAgentCreateConversationRequest, options);
|
|
452
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
453
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.createAIAgentConversation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
454
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
498
455
|
},
|
|
499
456
|
/**
|
|
500
|
-
*
|
|
501
|
-
* @summary Get AI
|
|
457
|
+
*
|
|
458
|
+
* @summary Get an AI diagnosis conversation
|
|
502
459
|
* @param {string} orgName
|
|
503
460
|
* @param {string} conversationId
|
|
504
461
|
* @param {*} [options] Override http request option.
|
|
505
462
|
* @throws {RequiredError}
|
|
506
463
|
*/
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
(
|
|
512
|
-
|
|
513
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
514
|
-
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
515
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
516
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
517
|
-
let baseOptions;
|
|
518
|
-
if (configuration) {
|
|
519
|
-
baseOptions = configuration.baseOptions;
|
|
520
|
-
}
|
|
521
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
522
|
-
const localVarHeaderParameter = {};
|
|
523
|
-
const localVarQueryParameter = {};
|
|
524
|
-
// authentication BearerToken required
|
|
525
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
526
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
527
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
528
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
529
|
-
return {
|
|
530
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
531
|
-
options: localVarRequestOptions,
|
|
532
|
-
};
|
|
464
|
+
async getAIAgentConversation(orgName, conversationId, options) {
|
|
465
|
+
var _a, _b, _c;
|
|
466
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentConversation(orgName, conversationId, options);
|
|
467
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
468
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.getAIAgentConversation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
469
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
533
470
|
},
|
|
534
471
|
/**
|
|
535
|
-
*
|
|
536
|
-
* @summary Get AI
|
|
472
|
+
*
|
|
473
|
+
* @summary Get AI diagnosis agent status
|
|
537
474
|
* @param {string} orgName
|
|
538
|
-
* @param {string} evidenceId
|
|
539
475
|
* @param {*} [options] Override http request option.
|
|
540
476
|
* @throws {RequiredError}
|
|
541
477
|
*/
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
(
|
|
547
|
-
|
|
548
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
549
|
-
.replace(`{${"evidenceId"}}`, encodeURIComponent(String(evidenceId)));
|
|
550
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
551
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
552
|
-
let baseOptions;
|
|
553
|
-
if (configuration) {
|
|
554
|
-
baseOptions = configuration.baseOptions;
|
|
555
|
-
}
|
|
556
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
557
|
-
const localVarHeaderParameter = {};
|
|
558
|
-
const localVarQueryParameter = {};
|
|
559
|
-
// authentication BearerToken required
|
|
560
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
561
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
562
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
563
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
564
|
-
return {
|
|
565
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
566
|
-
options: localVarRequestOptions,
|
|
567
|
-
};
|
|
478
|
+
async getAIAgentStatus(orgName, options) {
|
|
479
|
+
var _a, _b, _c;
|
|
480
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentStatus(orgName, options);
|
|
481
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
482
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.getAIAgentStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
483
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
568
484
|
},
|
|
569
485
|
/**
|
|
570
|
-
*
|
|
571
|
-
* @summary
|
|
486
|
+
*
|
|
487
|
+
* @summary List AI diagnosis conversations
|
|
572
488
|
* @param {string} orgName
|
|
573
|
-
* @param {
|
|
489
|
+
* @param {number} [limit]
|
|
490
|
+
* @param {string} [after]
|
|
574
491
|
* @param {*} [options] Override http request option.
|
|
575
492
|
* @throws {RequiredError}
|
|
576
493
|
*/
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
(
|
|
582
|
-
|
|
583
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
584
|
-
.replace(`{${"runId"}}`, encodeURIComponent(String(runId)));
|
|
585
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
586
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
587
|
-
let baseOptions;
|
|
588
|
-
if (configuration) {
|
|
589
|
-
baseOptions = configuration.baseOptions;
|
|
590
|
-
}
|
|
591
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
592
|
-
const localVarHeaderParameter = {};
|
|
593
|
-
const localVarQueryParameter = {};
|
|
594
|
-
// authentication BearerToken required
|
|
595
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
596
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
597
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
598
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
599
|
-
return {
|
|
600
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
601
|
-
options: localVarRequestOptions,
|
|
602
|
-
};
|
|
494
|
+
async listAIAgentConversations(orgName, limit, after, options) {
|
|
495
|
+
var _a, _b, _c;
|
|
496
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentConversations(orgName, limit, after, options);
|
|
497
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
498
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.listAIAgentConversations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
499
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
603
500
|
},
|
|
604
501
|
/**
|
|
605
|
-
*
|
|
606
|
-
* @summary
|
|
502
|
+
*
|
|
503
|
+
* @summary List AI diagnosis conversation messages
|
|
607
504
|
* @param {string} orgName
|
|
608
|
-
* @param {string}
|
|
505
|
+
* @param {string} conversationId
|
|
506
|
+
* @param {string} [after]
|
|
507
|
+
* @param {number} [limit]
|
|
609
508
|
* @param {*} [options] Override http request option.
|
|
610
509
|
* @throws {RequiredError}
|
|
611
510
|
*/
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
(
|
|
617
|
-
|
|
618
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
619
|
-
.replace(`{${"runId"}}`, encodeURIComponent(String(runId)));
|
|
620
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
621
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
622
|
-
let baseOptions;
|
|
623
|
-
if (configuration) {
|
|
624
|
-
baseOptions = configuration.baseOptions;
|
|
625
|
-
}
|
|
626
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
627
|
-
const localVarHeaderParameter = {};
|
|
628
|
-
const localVarQueryParameter = {};
|
|
629
|
-
// authentication BearerToken required
|
|
630
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
631
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
632
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
633
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
634
|
-
return {
|
|
635
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
636
|
-
options: localVarRequestOptions,
|
|
637
|
-
};
|
|
511
|
+
async listAIAgentMessages(orgName, conversationId, after, limit, options) {
|
|
512
|
+
var _a, _b, _c;
|
|
513
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentMessages(orgName, conversationId, after, limit, options);
|
|
514
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
515
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.listAIAgentMessages']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
516
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
638
517
|
},
|
|
639
518
|
/**
|
|
640
|
-
*
|
|
641
|
-
* @summary
|
|
519
|
+
*
|
|
520
|
+
* @summary Reject one AI diagnosis tool confirmation
|
|
642
521
|
* @param {string} orgName
|
|
643
522
|
* @param {string} conversationId
|
|
644
|
-
* @param {
|
|
645
|
-
* @param {
|
|
523
|
+
* @param {string} confirmationId
|
|
524
|
+
* @param {AiAgentToolConfirmationDecisionRequest} [aiAgentToolConfirmationDecisionRequest]
|
|
646
525
|
* @param {*} [options] Override http request option.
|
|
647
526
|
* @throws {RequiredError}
|
|
648
527
|
*/
|
|
649
|
-
|
|
650
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
651
|
-
(0, common_1.assertParamExists)('listAIAgentConversationReports', 'orgName', orgName);
|
|
652
|
-
// verify required parameter 'conversationId' is not null or undefined
|
|
653
|
-
(0, common_1.assertParamExists)('listAIAgentConversationReports', 'conversationId', conversationId);
|
|
654
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}/reports`
|
|
655
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
656
|
-
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
657
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
658
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
659
|
-
let baseOptions;
|
|
660
|
-
if (configuration) {
|
|
661
|
-
baseOptions = configuration.baseOptions;
|
|
662
|
-
}
|
|
663
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
664
|
-
const localVarHeaderParameter = {};
|
|
665
|
-
const localVarQueryParameter = {};
|
|
666
|
-
// authentication BearerToken required
|
|
667
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
668
|
-
if (limit !== undefined) {
|
|
669
|
-
localVarQueryParameter['limit'] = limit;
|
|
670
|
-
}
|
|
671
|
-
if (cursor !== undefined) {
|
|
672
|
-
localVarQueryParameter['cursor'] = cursor;
|
|
673
|
-
}
|
|
674
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
675
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
676
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
677
|
-
return {
|
|
678
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
679
|
-
options: localVarRequestOptions,
|
|
680
|
-
};
|
|
681
|
-
},
|
|
682
|
-
/**
|
|
683
|
-
* Lists organization-scoped Chat With AI Agent conversations.
|
|
684
|
-
* @summary List AI Agent conversations
|
|
685
|
-
* @param {string} orgName
|
|
686
|
-
* @param {string} [clusterName]
|
|
687
|
-
* @param {number} [limit]
|
|
688
|
-
* @param {string} [cursor]
|
|
689
|
-
* @param {*} [options] Override http request option.
|
|
690
|
-
* @throws {RequiredError}
|
|
691
|
-
*/
|
|
692
|
-
listAIAgentConversations: async (orgName, clusterName, limit, cursor, options = {}) => {
|
|
693
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
694
|
-
(0, common_1.assertParamExists)('listAIAgentConversations', 'orgName', orgName);
|
|
695
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/conversations`
|
|
696
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
697
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
698
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
699
|
-
let baseOptions;
|
|
700
|
-
if (configuration) {
|
|
701
|
-
baseOptions = configuration.baseOptions;
|
|
702
|
-
}
|
|
703
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
704
|
-
const localVarHeaderParameter = {};
|
|
705
|
-
const localVarQueryParameter = {};
|
|
706
|
-
// authentication BearerToken required
|
|
707
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
708
|
-
if (clusterName !== undefined) {
|
|
709
|
-
localVarQueryParameter['clusterName'] = clusterName;
|
|
710
|
-
}
|
|
711
|
-
if (limit !== undefined) {
|
|
712
|
-
localVarQueryParameter['limit'] = limit;
|
|
713
|
-
}
|
|
714
|
-
if (cursor !== undefined) {
|
|
715
|
-
localVarQueryParameter['cursor'] = cursor;
|
|
716
|
-
}
|
|
717
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
718
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
719
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
720
|
-
return {
|
|
721
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
722
|
-
options: localVarRequestOptions,
|
|
723
|
-
};
|
|
724
|
-
},
|
|
725
|
-
/**
|
|
726
|
-
* Lists structured message parts for restoring the workbench history.
|
|
727
|
-
* @summary List AI Agent conversation messages
|
|
728
|
-
* @param {string} orgName
|
|
729
|
-
* @param {string} conversationId
|
|
730
|
-
* @param {number} [limit]
|
|
731
|
-
* @param {string} [cursor]
|
|
732
|
-
* @param {*} [options] Override http request option.
|
|
733
|
-
* @throws {RequiredError}
|
|
734
|
-
*/
|
|
735
|
-
listAIAgentMessages: async (orgName, conversationId, limit, cursor, options = {}) => {
|
|
736
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
737
|
-
(0, common_1.assertParamExists)('listAIAgentMessages', 'orgName', orgName);
|
|
738
|
-
// verify required parameter 'conversationId' is not null or undefined
|
|
739
|
-
(0, common_1.assertParamExists)('listAIAgentMessages', 'conversationId', conversationId);
|
|
740
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}/messages`
|
|
741
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
742
|
-
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
743
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
744
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
745
|
-
let baseOptions;
|
|
746
|
-
if (configuration) {
|
|
747
|
-
baseOptions = configuration.baseOptions;
|
|
748
|
-
}
|
|
749
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
750
|
-
const localVarHeaderParameter = {};
|
|
751
|
-
const localVarQueryParameter = {};
|
|
752
|
-
// authentication BearerToken required
|
|
753
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
754
|
-
if (limit !== undefined) {
|
|
755
|
-
localVarQueryParameter['limit'] = limit;
|
|
756
|
-
}
|
|
757
|
-
if (cursor !== undefined) {
|
|
758
|
-
localVarQueryParameter['cursor'] = cursor;
|
|
759
|
-
}
|
|
760
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
761
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
762
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
763
|
-
return {
|
|
764
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
765
|
-
options: localVarRequestOptions,
|
|
766
|
-
};
|
|
767
|
-
},
|
|
768
|
-
/**
|
|
769
|
-
* Lists frontend-safe playbook metadata for disabled states and scenario selection.
|
|
770
|
-
* @summary List AI Agent playbooks
|
|
771
|
-
* @param {string} orgName
|
|
772
|
-
* @param {*} [options] Override http request option.
|
|
773
|
-
* @throws {RequiredError}
|
|
774
|
-
*/
|
|
775
|
-
listAIAgentPlaybooks: async (orgName, options = {}) => {
|
|
776
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
777
|
-
(0, common_1.assertParamExists)('listAIAgentPlaybooks', 'orgName', orgName);
|
|
778
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/playbooks`
|
|
779
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
780
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
781
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
782
|
-
let baseOptions;
|
|
783
|
-
if (configuration) {
|
|
784
|
-
baseOptions = configuration.baseOptions;
|
|
785
|
-
}
|
|
786
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
787
|
-
const localVarHeaderParameter = {};
|
|
788
|
-
const localVarQueryParameter = {};
|
|
789
|
-
// authentication BearerToken required
|
|
790
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
791
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
792
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
793
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
794
|
-
return {
|
|
795
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
796
|
-
options: localVarRequestOptions,
|
|
797
|
-
};
|
|
798
|
-
},
|
|
799
|
-
/**
|
|
800
|
-
* Lists normalized evidence summaries for a run.
|
|
801
|
-
* @summary List AI Agent run evidence
|
|
802
|
-
* @param {string} orgName
|
|
803
|
-
* @param {string} runId
|
|
804
|
-
* @param {string} [type]
|
|
805
|
-
* @param {number} [limit]
|
|
806
|
-
* @param {string} [cursor]
|
|
807
|
-
* @param {*} [options] Override http request option.
|
|
808
|
-
* @throws {RequiredError}
|
|
809
|
-
*/
|
|
810
|
-
listAIAgentRunEvidence: async (orgName, runId, type, limit, cursor, options = {}) => {
|
|
811
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
812
|
-
(0, common_1.assertParamExists)('listAIAgentRunEvidence', 'orgName', orgName);
|
|
813
|
-
// verify required parameter 'runId' is not null or undefined
|
|
814
|
-
(0, common_1.assertParamExists)('listAIAgentRunEvidence', 'runId', runId);
|
|
815
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/runs/{runId}/evidence`
|
|
816
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
817
|
-
.replace(`{${"runId"}}`, encodeURIComponent(String(runId)));
|
|
818
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
819
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
820
|
-
let baseOptions;
|
|
821
|
-
if (configuration) {
|
|
822
|
-
baseOptions = configuration.baseOptions;
|
|
823
|
-
}
|
|
824
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
825
|
-
const localVarHeaderParameter = {};
|
|
826
|
-
const localVarQueryParameter = {};
|
|
827
|
-
// authentication BearerToken required
|
|
828
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
829
|
-
if (type !== undefined) {
|
|
830
|
-
localVarQueryParameter['type'] = type;
|
|
831
|
-
}
|
|
832
|
-
if (limit !== undefined) {
|
|
833
|
-
localVarQueryParameter['limit'] = limit;
|
|
834
|
-
}
|
|
835
|
-
if (cursor !== undefined) {
|
|
836
|
-
localVarQueryParameter['cursor'] = cursor;
|
|
837
|
-
}
|
|
838
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
839
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
840
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
841
|
-
return {
|
|
842
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
843
|
-
options: localVarRequestOptions,
|
|
844
|
-
};
|
|
845
|
-
},
|
|
846
|
-
/**
|
|
847
|
-
* Lists frontend-safe capability metadata without raw source APIs, credentials, or internal tool arguments.
|
|
848
|
-
* @summary List AI Agent tool capability summaries
|
|
849
|
-
* @param {string} orgName
|
|
850
|
-
* @param {*} [options] Override http request option.
|
|
851
|
-
* @throws {RequiredError}
|
|
852
|
-
*/
|
|
853
|
-
listAIAgentToolCapabilities: async (orgName, options = {}) => {
|
|
854
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
855
|
-
(0, common_1.assertParamExists)('listAIAgentToolCapabilities', 'orgName', orgName);
|
|
856
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/tool-capabilities`
|
|
857
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
858
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
859
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
860
|
-
let baseOptions;
|
|
861
|
-
if (configuration) {
|
|
862
|
-
baseOptions = configuration.baseOptions;
|
|
863
|
-
}
|
|
864
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
865
|
-
const localVarHeaderParameter = {};
|
|
866
|
-
const localVarQueryParameter = {};
|
|
867
|
-
// authentication BearerToken required
|
|
868
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
869
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
870
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
871
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
872
|
-
return {
|
|
873
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
874
|
-
options: localVarRequestOptions,
|
|
875
|
-
};
|
|
876
|
-
},
|
|
877
|
-
/**
|
|
878
|
-
* Pauses a running Agent workflow.
|
|
879
|
-
* @summary Pause an AI Agent run
|
|
880
|
-
* @param {string} orgName
|
|
881
|
-
* @param {string} runId
|
|
882
|
-
* @param {*} [options] Override http request option.
|
|
883
|
-
* @throws {RequiredError}
|
|
884
|
-
*/
|
|
885
|
-
pauseAIAgentRun: async (orgName, runId, options = {}) => {
|
|
886
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
887
|
-
(0, common_1.assertParamExists)('pauseAIAgentRun', 'orgName', orgName);
|
|
888
|
-
// verify required parameter 'runId' is not null or undefined
|
|
889
|
-
(0, common_1.assertParamExists)('pauseAIAgentRun', 'runId', runId);
|
|
890
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/runs/{runId}/pause`
|
|
891
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
892
|
-
.replace(`{${"runId"}}`, encodeURIComponent(String(runId)));
|
|
893
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
894
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
895
|
-
let baseOptions;
|
|
896
|
-
if (configuration) {
|
|
897
|
-
baseOptions = configuration.baseOptions;
|
|
898
|
-
}
|
|
899
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
900
|
-
const localVarHeaderParameter = {};
|
|
901
|
-
const localVarQueryParameter = {};
|
|
902
|
-
// authentication BearerToken required
|
|
903
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
904
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
905
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
906
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
907
|
-
return {
|
|
908
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
909
|
-
options: localVarRequestOptions,
|
|
910
|
-
};
|
|
911
|
-
},
|
|
912
|
-
/**
|
|
913
|
-
* Regenerates a report from existing evidence without recollecting source data.
|
|
914
|
-
* @summary Regenerate an AI Agent report
|
|
915
|
-
* @param {string} orgName
|
|
916
|
-
* @param {string} runId
|
|
917
|
-
* @param {AiAgentRegenerateReportRequest} [aiAgentRegenerateReportRequest]
|
|
918
|
-
* @param {*} [options] Override http request option.
|
|
919
|
-
* @throws {RequiredError}
|
|
920
|
-
*/
|
|
921
|
-
regenerateAIAgentReport: async (orgName, runId, aiAgentRegenerateReportRequest, options = {}) => {
|
|
922
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
923
|
-
(0, common_1.assertParamExists)('regenerateAIAgentReport', 'orgName', orgName);
|
|
924
|
-
// verify required parameter 'runId' is not null or undefined
|
|
925
|
-
(0, common_1.assertParamExists)('regenerateAIAgentReport', 'runId', runId);
|
|
926
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/runs/{runId}/reports/regenerate`
|
|
927
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
928
|
-
.replace(`{${"runId"}}`, encodeURIComponent(String(runId)));
|
|
929
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
930
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
931
|
-
let baseOptions;
|
|
932
|
-
if (configuration) {
|
|
933
|
-
baseOptions = configuration.baseOptions;
|
|
934
|
-
}
|
|
935
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
936
|
-
const localVarHeaderParameter = {};
|
|
937
|
-
const localVarQueryParameter = {};
|
|
938
|
-
// authentication BearerToken required
|
|
939
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
940
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
941
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
942
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
943
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
944
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(aiAgentRegenerateReportRequest, localVarRequestOptions, configuration);
|
|
945
|
-
return {
|
|
946
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
947
|
-
options: localVarRequestOptions,
|
|
948
|
-
};
|
|
949
|
-
},
|
|
950
|
-
/**
|
|
951
|
-
* Rejects a pending Runtime-created tool approval request. The tool is not executed and the Agent returns to the conversation with a safe assistant message.
|
|
952
|
-
* @summary Reject an AI Agent tool approval request
|
|
953
|
-
* @param {string} orgName
|
|
954
|
-
* @param {string} runId
|
|
955
|
-
* @param {string} approvalRequestId
|
|
956
|
-
* @param {AiAgentToolApprovalDecisionRequest} aiAgentToolApprovalDecisionRequest
|
|
957
|
-
* @param {*} [options] Override http request option.
|
|
958
|
-
* @throws {RequiredError}
|
|
959
|
-
*/
|
|
960
|
-
rejectAIAgentToolApprovalRequest: async (orgName, runId, approvalRequestId, aiAgentToolApprovalDecisionRequest, options = {}) => {
|
|
961
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
962
|
-
(0, common_1.assertParamExists)('rejectAIAgentToolApprovalRequest', 'orgName', orgName);
|
|
963
|
-
// verify required parameter 'runId' is not null or undefined
|
|
964
|
-
(0, common_1.assertParamExists)('rejectAIAgentToolApprovalRequest', 'runId', runId);
|
|
965
|
-
// verify required parameter 'approvalRequestId' is not null or undefined
|
|
966
|
-
(0, common_1.assertParamExists)('rejectAIAgentToolApprovalRequest', 'approvalRequestId', approvalRequestId);
|
|
967
|
-
// verify required parameter 'aiAgentToolApprovalDecisionRequest' is not null or undefined
|
|
968
|
-
(0, common_1.assertParamExists)('rejectAIAgentToolApprovalRequest', 'aiAgentToolApprovalDecisionRequest', aiAgentToolApprovalDecisionRequest);
|
|
969
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/runs/{runId}/tool-approvals/{approvalRequestId}/reject`
|
|
970
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
971
|
-
.replace(`{${"runId"}}`, encodeURIComponent(String(runId)))
|
|
972
|
-
.replace(`{${"approvalRequestId"}}`, encodeURIComponent(String(approvalRequestId)));
|
|
973
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
974
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
975
|
-
let baseOptions;
|
|
976
|
-
if (configuration) {
|
|
977
|
-
baseOptions = configuration.baseOptions;
|
|
978
|
-
}
|
|
979
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
980
|
-
const localVarHeaderParameter = {};
|
|
981
|
-
const localVarQueryParameter = {};
|
|
982
|
-
// authentication BearerToken required
|
|
983
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
984
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
985
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
986
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
987
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
988
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(aiAgentToolApprovalDecisionRequest, localVarRequestOptions, configuration);
|
|
989
|
-
return {
|
|
990
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
991
|
-
options: localVarRequestOptions,
|
|
992
|
-
};
|
|
993
|
-
},
|
|
994
|
-
/**
|
|
995
|
-
* Resumes a paused Agent workflow.
|
|
996
|
-
* @summary Resume an AI Agent run
|
|
997
|
-
* @param {string} orgName
|
|
998
|
-
* @param {string} runId
|
|
999
|
-
* @param {*} [options] Override http request option.
|
|
1000
|
-
* @throws {RequiredError}
|
|
1001
|
-
*/
|
|
1002
|
-
resumeAIAgentRun: async (orgName, runId, options = {}) => {
|
|
1003
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
1004
|
-
(0, common_1.assertParamExists)('resumeAIAgentRun', 'orgName', orgName);
|
|
1005
|
-
// verify required parameter 'runId' is not null or undefined
|
|
1006
|
-
(0, common_1.assertParamExists)('resumeAIAgentRun', 'runId', runId);
|
|
1007
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/runs/{runId}/resume`
|
|
1008
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1009
|
-
.replace(`{${"runId"}}`, encodeURIComponent(String(runId)));
|
|
1010
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1011
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1012
|
-
let baseOptions;
|
|
1013
|
-
if (configuration) {
|
|
1014
|
-
baseOptions = configuration.baseOptions;
|
|
1015
|
-
}
|
|
1016
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1017
|
-
const localVarHeaderParameter = {};
|
|
1018
|
-
const localVarQueryParameter = {};
|
|
1019
|
-
// authentication BearerToken required
|
|
1020
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1021
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1022
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1023
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1024
|
-
return {
|
|
1025
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1026
|
-
options: localVarRequestOptions,
|
|
1027
|
-
};
|
|
1028
|
-
},
|
|
1029
|
-
/**
|
|
1030
|
-
* Creates a new run retrying the failed or degraded Agent workflow.
|
|
1031
|
-
* @summary Retry an AI Agent run
|
|
1032
|
-
* @param {string} orgName
|
|
1033
|
-
* @param {string} runId
|
|
1034
|
-
* @param {*} [options] Override http request option.
|
|
1035
|
-
* @throws {RequiredError}
|
|
1036
|
-
*/
|
|
1037
|
-
retryAIAgentRun: async (orgName, runId, options = {}) => {
|
|
1038
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
1039
|
-
(0, common_1.assertParamExists)('retryAIAgentRun', 'orgName', orgName);
|
|
1040
|
-
// verify required parameter 'runId' is not null or undefined
|
|
1041
|
-
(0, common_1.assertParamExists)('retryAIAgentRun', 'runId', runId);
|
|
1042
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/runs/{runId}/retry`
|
|
1043
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1044
|
-
.replace(`{${"runId"}}`, encodeURIComponent(String(runId)));
|
|
1045
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1046
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1047
|
-
let baseOptions;
|
|
1048
|
-
if (configuration) {
|
|
1049
|
-
baseOptions = configuration.baseOptions;
|
|
1050
|
-
}
|
|
1051
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1052
|
-
const localVarHeaderParameter = {};
|
|
1053
|
-
const localVarQueryParameter = {};
|
|
1054
|
-
// authentication BearerToken required
|
|
1055
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1056
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1057
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1058
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1059
|
-
return {
|
|
1060
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1061
|
-
options: localVarRequestOptions,
|
|
1062
|
-
};
|
|
1063
|
-
},
|
|
1064
|
-
/**
|
|
1065
|
-
* Starts a new observable Agent workflow instance inside a conversation.
|
|
1066
|
-
* @summary Start an AI Agent run
|
|
1067
|
-
* @param {string} orgName
|
|
1068
|
-
* @param {string} conversationId
|
|
1069
|
-
* @param {AiAgentStartRunRequest} aiAgentStartRunRequest
|
|
1070
|
-
* @param {*} [options] Override http request option.
|
|
1071
|
-
* @throws {RequiredError}
|
|
1072
|
-
*/
|
|
1073
|
-
startAIAgentRun: async (orgName, conversationId, aiAgentStartRunRequest, options = {}) => {
|
|
1074
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
1075
|
-
(0, common_1.assertParamExists)('startAIAgentRun', 'orgName', orgName);
|
|
1076
|
-
// verify required parameter 'conversationId' is not null or undefined
|
|
1077
|
-
(0, common_1.assertParamExists)('startAIAgentRun', 'conversationId', conversationId);
|
|
1078
|
-
// verify required parameter 'aiAgentStartRunRequest' is not null or undefined
|
|
1079
|
-
(0, common_1.assertParamExists)('startAIAgentRun', 'aiAgentStartRunRequest', aiAgentStartRunRequest);
|
|
1080
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}/runs`
|
|
1081
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1082
|
-
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
1083
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1084
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1085
|
-
let baseOptions;
|
|
1086
|
-
if (configuration) {
|
|
1087
|
-
baseOptions = configuration.baseOptions;
|
|
1088
|
-
}
|
|
1089
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1090
|
-
const localVarHeaderParameter = {};
|
|
1091
|
-
const localVarQueryParameter = {};
|
|
1092
|
-
// authentication BearerToken required
|
|
1093
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1094
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1095
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1096
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1097
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1098
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(aiAgentStartRunRequest, localVarRequestOptions, configuration);
|
|
1099
|
-
return {
|
|
1100
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1101
|
-
options: localVarRequestOptions,
|
|
1102
|
-
};
|
|
1103
|
-
},
|
|
1104
|
-
/**
|
|
1105
|
-
* Records user feedback for Agent evaluation and result improvement.
|
|
1106
|
-
* @summary Submit AI Agent run feedback
|
|
1107
|
-
* @param {string} orgName
|
|
1108
|
-
* @param {string} runId
|
|
1109
|
-
* @param {AiAgentFeedbackRequest} aiAgentFeedbackRequest
|
|
1110
|
-
* @param {*} [options] Override http request option.
|
|
1111
|
-
* @throws {RequiredError}
|
|
1112
|
-
*/
|
|
1113
|
-
submitAIAgentFeedback: async (orgName, runId, aiAgentFeedbackRequest, options = {}) => {
|
|
1114
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
1115
|
-
(0, common_1.assertParamExists)('submitAIAgentFeedback', 'orgName', orgName);
|
|
1116
|
-
// verify required parameter 'runId' is not null or undefined
|
|
1117
|
-
(0, common_1.assertParamExists)('submitAIAgentFeedback', 'runId', runId);
|
|
1118
|
-
// verify required parameter 'aiAgentFeedbackRequest' is not null or undefined
|
|
1119
|
-
(0, common_1.assertParamExists)('submitAIAgentFeedback', 'aiAgentFeedbackRequest', aiAgentFeedbackRequest);
|
|
1120
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/runs/{runId}/feedback`
|
|
1121
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1122
|
-
.replace(`{${"runId"}}`, encodeURIComponent(String(runId)));
|
|
1123
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1124
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1125
|
-
let baseOptions;
|
|
1126
|
-
if (configuration) {
|
|
1127
|
-
baseOptions = configuration.baseOptions;
|
|
1128
|
-
}
|
|
1129
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1130
|
-
const localVarHeaderParameter = {};
|
|
1131
|
-
const localVarQueryParameter = {};
|
|
1132
|
-
// authentication BearerToken required
|
|
1133
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1134
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1135
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1136
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1137
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1138
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(aiAgentFeedbackRequest, localVarRequestOptions, configuration);
|
|
1139
|
-
return {
|
|
1140
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1141
|
-
options: localVarRequestOptions,
|
|
1142
|
-
};
|
|
1143
|
-
},
|
|
1144
|
-
/**
|
|
1145
|
-
* Streams frontend-safe Agent events as SSE blocks with event name `agent_event`.
|
|
1146
|
-
* @summary Subscribe to AI Agent run events
|
|
1147
|
-
* @param {string} orgName
|
|
1148
|
-
* @param {string} runId
|
|
1149
|
-
* @param {string} [lastEventID]
|
|
1150
|
-
* @param {string} [after]
|
|
1151
|
-
* @param {*} [options] Override http request option.
|
|
1152
|
-
* @throws {RequiredError}
|
|
1153
|
-
*/
|
|
1154
|
-
subscribeAIAgentRunEvents: async (orgName, runId, lastEventID, after, options = {}) => {
|
|
1155
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
1156
|
-
(0, common_1.assertParamExists)('subscribeAIAgentRunEvents', 'orgName', orgName);
|
|
1157
|
-
// verify required parameter 'runId' is not null or undefined
|
|
1158
|
-
(0, common_1.assertParamExists)('subscribeAIAgentRunEvents', 'runId', runId);
|
|
1159
|
-
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/runs/{runId}/events`
|
|
1160
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1161
|
-
.replace(`{${"runId"}}`, encodeURIComponent(String(runId)));
|
|
1162
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1163
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1164
|
-
let baseOptions;
|
|
1165
|
-
if (configuration) {
|
|
1166
|
-
baseOptions = configuration.baseOptions;
|
|
1167
|
-
}
|
|
1168
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1169
|
-
const localVarHeaderParameter = {};
|
|
1170
|
-
const localVarQueryParameter = {};
|
|
1171
|
-
// authentication BearerToken required
|
|
1172
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1173
|
-
if (after !== undefined) {
|
|
1174
|
-
localVarQueryParameter['after'] = after;
|
|
1175
|
-
}
|
|
1176
|
-
if (lastEventID != null) {
|
|
1177
|
-
localVarHeaderParameter['Last-Event-ID'] = String(lastEventID);
|
|
1178
|
-
}
|
|
1179
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1180
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1181
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1182
|
-
return {
|
|
1183
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1184
|
-
options: localVarRequestOptions,
|
|
1185
|
-
};
|
|
1186
|
-
},
|
|
1187
|
-
};
|
|
1188
|
-
};
|
|
1189
|
-
exports.AIAgentApiAxiosParamCreator = AIAgentApiAxiosParamCreator;
|
|
1190
|
-
/**
|
|
1191
|
-
* AIAgentApi - functional programming interface
|
|
1192
|
-
* @export
|
|
1193
|
-
*/
|
|
1194
|
-
const AIAgentApiFp = function (configuration) {
|
|
1195
|
-
const localVarAxiosParamCreator = (0, exports.AIAgentApiAxiosParamCreator)(configuration);
|
|
1196
|
-
return {
|
|
1197
|
-
/**
|
|
1198
|
-
* Approves a pending Runtime-created tool approval request after validating run, tool call, argument hash, version, and expiry. Tool execution only starts after this decision or a Runtime policy allow.
|
|
1199
|
-
* @summary Approve an AI Agent tool approval request
|
|
1200
|
-
* @param {string} orgName
|
|
1201
|
-
* @param {string} runId
|
|
1202
|
-
* @param {string} approvalRequestId
|
|
1203
|
-
* @param {AiAgentToolApprovalDecisionRequest} aiAgentToolApprovalDecisionRequest
|
|
1204
|
-
* @param {*} [options] Override http request option.
|
|
1205
|
-
* @throws {RequiredError}
|
|
1206
|
-
*/
|
|
1207
|
-
async approveAIAgentToolApprovalRequest(orgName, runId, approvalRequestId, aiAgentToolApprovalDecisionRequest, options) {
|
|
1208
|
-
var _a, _b, _c;
|
|
1209
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.approveAIAgentToolApprovalRequest(orgName, runId, approvalRequestId, aiAgentToolApprovalDecisionRequest, options);
|
|
1210
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1211
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.approveAIAgentToolApprovalRequest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1212
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1213
|
-
},
|
|
1214
|
-
/**
|
|
1215
|
-
* Fetches frontend-safe report, evidence, action plan, run summary, and metric series artifacts referenced by message parts and report visualizations.
|
|
1216
|
-
* @summary Batch get AI Agent artifacts
|
|
1217
|
-
* @param {string} orgName
|
|
1218
|
-
* @param {AiAgentArtifactBatchGetRequest} aiAgentArtifactBatchGetRequest
|
|
1219
|
-
* @param {*} [options] Override http request option.
|
|
1220
|
-
* @throws {RequiredError}
|
|
1221
|
-
*/
|
|
1222
|
-
async batchGetAIAgentArtifacts(orgName, aiAgentArtifactBatchGetRequest, options) {
|
|
1223
|
-
var _a, _b, _c;
|
|
1224
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.batchGetAIAgentArtifacts(orgName, aiAgentArtifactBatchGetRequest, options);
|
|
1225
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1226
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.batchGetAIAgentArtifacts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1227
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1228
|
-
},
|
|
1229
|
-
/**
|
|
1230
|
-
* Cancels a pending or approved action plan before execution completes.
|
|
1231
|
-
* @summary Cancel an AI Agent action plan
|
|
1232
|
-
* @param {string} orgName
|
|
1233
|
-
* @param {string} actionPlanId
|
|
1234
|
-
* @param {*} [options] Override http request option.
|
|
1235
|
-
* @throws {RequiredError}
|
|
1236
|
-
*/
|
|
1237
|
-
async cancelAIAgentActionPlan(orgName, actionPlanId, options) {
|
|
1238
|
-
var _a, _b, _c;
|
|
1239
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelAIAgentActionPlan(orgName, actionPlanId, options);
|
|
1240
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1241
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.cancelAIAgentActionPlan']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1242
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1243
|
-
},
|
|
1244
|
-
/**
|
|
1245
|
-
* Cancels a pending or running Agent workflow.
|
|
1246
|
-
* @summary Cancel an AI Agent run
|
|
1247
|
-
* @param {string} orgName
|
|
1248
|
-
* @param {string} runId
|
|
1249
|
-
* @param {*} [options] Override http request option.
|
|
1250
|
-
* @throws {RequiredError}
|
|
1251
|
-
*/
|
|
1252
|
-
async cancelAIAgentRun(orgName, runId, options) {
|
|
1253
|
-
var _a, _b, _c;
|
|
1254
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelAIAgentRun(orgName, runId, options);
|
|
1255
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1256
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.cancelAIAgentRun']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1257
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1258
|
-
},
|
|
1259
|
-
/**
|
|
1260
|
-
* Cancels a pending Runtime-created tool approval request. The tool is not executed and the Agent returns to the conversation.
|
|
1261
|
-
* @summary Cancel an AI Agent tool approval request
|
|
1262
|
-
* @param {string} orgName
|
|
1263
|
-
* @param {string} runId
|
|
1264
|
-
* @param {string} approvalRequestId
|
|
1265
|
-
* @param {AiAgentToolApprovalDecisionRequest} aiAgentToolApprovalDecisionRequest
|
|
1266
|
-
* @param {*} [options] Override http request option.
|
|
1267
|
-
* @throws {RequiredError}
|
|
1268
|
-
*/
|
|
1269
|
-
async cancelAIAgentToolApprovalRequest(orgName, runId, approvalRequestId, aiAgentToolApprovalDecisionRequest, options) {
|
|
1270
|
-
var _a, _b, _c;
|
|
1271
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelAIAgentToolApprovalRequest(orgName, runId, approvalRequestId, aiAgentToolApprovalDecisionRequest, options);
|
|
1272
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1273
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.cancelAIAgentToolApprovalRequest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1274
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1275
|
-
},
|
|
1276
|
-
/**
|
|
1277
|
-
* Confirms a pending action plan through the public confirmation read model. Approval tokens and execution credentials are internal.
|
|
1278
|
-
* @summary Confirm an AI Agent action plan
|
|
1279
|
-
* @param {string} orgName
|
|
1280
|
-
* @param {string} actionPlanId
|
|
1281
|
-
* @param {AiAgentConfirmActionPlanRequest} [aiAgentConfirmActionPlanRequest]
|
|
1282
|
-
* @param {*} [options] Override http request option.
|
|
1283
|
-
* @throws {RequiredError}
|
|
1284
|
-
*/
|
|
1285
|
-
async confirmAIAgentActionPlan(orgName, actionPlanId, aiAgentConfirmActionPlanRequest, options) {
|
|
1286
|
-
var _a, _b, _c;
|
|
1287
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.confirmAIAgentActionPlan(orgName, actionPlanId, aiAgentConfirmActionPlanRequest, options);
|
|
1288
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1289
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.confirmAIAgentActionPlan']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1290
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1291
|
-
},
|
|
1292
|
-
/**
|
|
1293
|
-
* Continues investigation, regenerates explanation, or creates an action plan from an existing report.
|
|
1294
|
-
* @summary Continue from an AI Agent report
|
|
1295
|
-
* @param {string} orgName
|
|
1296
|
-
* @param {string} reportId
|
|
1297
|
-
* @param {AiAgentContinueReportRequest} aiAgentContinueReportRequest
|
|
1298
|
-
* @param {*} [options] Override http request option.
|
|
1299
|
-
* @throws {RequiredError}
|
|
1300
|
-
*/
|
|
1301
|
-
async continueAIAgentReport(orgName, reportId, aiAgentContinueReportRequest, options) {
|
|
1302
|
-
var _a, _b, _c;
|
|
1303
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.continueAIAgentReport(orgName, reportId, aiAgentContinueReportRequest, options);
|
|
1304
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1305
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.continueAIAgentReport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1306
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1307
|
-
},
|
|
1308
|
-
/**
|
|
1309
|
-
* Adds a user message and continues, narrows, clarifies, or answers from the current Agent run.
|
|
1310
|
-
* @summary Continue an AI Agent run
|
|
1311
|
-
* @param {string} orgName
|
|
1312
|
-
* @param {string} runId
|
|
1313
|
-
* @param {AiAgentContinueRunRequest} aiAgentContinueRunRequest
|
|
1314
|
-
* @param {*} [options] Override http request option.
|
|
1315
|
-
* @throws {RequiredError}
|
|
1316
|
-
*/
|
|
1317
|
-
async continueAIAgentRun(orgName, runId, aiAgentContinueRunRequest, options) {
|
|
1318
|
-
var _a, _b, _c;
|
|
1319
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.continueAIAgentRun(orgName, runId, aiAgentContinueRunRequest, options);
|
|
1320
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1321
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.continueAIAgentRun']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1322
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1323
|
-
},
|
|
1324
|
-
/**
|
|
1325
|
-
* Creates a single-cluster Chat With AI Agent conversation.
|
|
1326
|
-
* @summary Create an AI Agent conversation
|
|
1327
|
-
* @param {string} orgName
|
|
1328
|
-
* @param {AiAgentCreateConversationRequest} aiAgentCreateConversationRequest
|
|
1329
|
-
* @param {*} [options] Override http request option.
|
|
1330
|
-
* @throws {RequiredError}
|
|
1331
|
-
*/
|
|
1332
|
-
async createAIAgentConversation(orgName, aiAgentCreateConversationRequest, options) {
|
|
1333
|
-
var _a, _b, _c;
|
|
1334
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createAIAgentConversation(orgName, aiAgentCreateConversationRequest, options);
|
|
1335
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1336
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.createAIAgentConversation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1337
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1338
|
-
},
|
|
1339
|
-
/**
|
|
1340
|
-
* Returns frontend-safe execution status for a confirmed action plan.
|
|
1341
|
-
* @summary Get AI Agent action execution status
|
|
1342
|
-
* @param {string} orgName
|
|
1343
|
-
* @param {string} actionPlanId
|
|
1344
|
-
* @param {*} [options] Override http request option.
|
|
1345
|
-
* @throws {RequiredError}
|
|
1346
|
-
*/
|
|
1347
|
-
async getAIAgentActionExecution(orgName, actionPlanId, options) {
|
|
1348
|
-
var _a, _b, _c;
|
|
1349
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentActionExecution(orgName, actionPlanId, options);
|
|
1350
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1351
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.getAIAgentActionExecution']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1352
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1353
|
-
},
|
|
1354
|
-
/**
|
|
1355
|
-
* Returns a frontend-safe action plan read model without approval tokens or execution credentials.
|
|
1356
|
-
* @summary Get AI Agent action plan
|
|
1357
|
-
* @param {string} orgName
|
|
1358
|
-
* @param {string} actionPlanId
|
|
1359
|
-
* @param {*} [options] Override http request option.
|
|
1360
|
-
* @throws {RequiredError}
|
|
1361
|
-
*/
|
|
1362
|
-
async getAIAgentActionPlan(orgName, actionPlanId, options) {
|
|
1363
|
-
var _a, _b, _c;
|
|
1364
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentActionPlan(orgName, actionPlanId, options);
|
|
1365
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1366
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.getAIAgentActionPlan']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1367
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1368
|
-
},
|
|
1369
|
-
/**
|
|
1370
|
-
* Returns the current single-cluster scope, cluster display context, playbooks, suggestions, and frontend-safe capability switches.
|
|
1371
|
-
* @summary Get AI Agent context and capabilities
|
|
1372
|
-
* @param {string} orgName
|
|
1373
|
-
* @param {string} clusterName
|
|
1374
|
-
* @param {string} [namespace]
|
|
1375
|
-
* @param {string} [component]
|
|
1376
|
-
* @param {string} [pod]
|
|
1377
|
-
* @param {*} [options] Override http request option.
|
|
1378
|
-
* @throws {RequiredError}
|
|
1379
|
-
*/
|
|
1380
|
-
async getAIAgentContext(orgName, clusterName, namespace, component, pod, options) {
|
|
1381
|
-
var _a, _b, _c;
|
|
1382
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentContext(orgName, clusterName, namespace, component, pod, options);
|
|
1383
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1384
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.getAIAgentContext']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1385
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1386
|
-
},
|
|
1387
|
-
/**
|
|
1388
|
-
* Returns the conversation summary with a recent message preview. Use the paginated message and artifact APIs to restore full history.
|
|
1389
|
-
* @summary Get AI Agent conversation summary
|
|
1390
|
-
* @param {string} orgName
|
|
1391
|
-
* @param {string} conversationId
|
|
1392
|
-
* @param {*} [options] Override http request option.
|
|
1393
|
-
* @throws {RequiredError}
|
|
1394
|
-
*/
|
|
1395
|
-
async getAIAgentConversation(orgName, conversationId, options) {
|
|
1396
|
-
var _a, _b, _c;
|
|
1397
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentConversation(orgName, conversationId, options);
|
|
1398
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1399
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.getAIAgentConversation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1400
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1401
|
-
},
|
|
1402
|
-
/**
|
|
1403
|
-
* Returns a frontend-safe normalized evidence detail. Raw K8s/API payloads are not exposed.
|
|
1404
|
-
* @summary Get AI Agent evidence detail
|
|
1405
|
-
* @param {string} orgName
|
|
1406
|
-
* @param {string} evidenceId
|
|
1407
|
-
* @param {*} [options] Override http request option.
|
|
1408
|
-
* @throws {RequiredError}
|
|
1409
|
-
*/
|
|
1410
|
-
async getAIAgentEvidence(orgName, evidenceId, options) {
|
|
1411
|
-
var _a, _b, _c;
|
|
1412
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentEvidence(orgName, evidenceId, options);
|
|
1413
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1414
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.getAIAgentEvidence']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1415
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1416
|
-
},
|
|
1417
|
-
/**
|
|
1418
|
-
* Returns the Result Builder report read model for a run.
|
|
1419
|
-
* @summary Get AI Agent run report
|
|
1420
|
-
* @param {string} orgName
|
|
1421
|
-
* @param {string} runId
|
|
1422
|
-
* @param {*} [options] Override http request option.
|
|
1423
|
-
* @throws {RequiredError}
|
|
1424
|
-
*/
|
|
1425
|
-
async getAIAgentReport(orgName, runId, options) {
|
|
1426
|
-
var _a, _b, _c;
|
|
1427
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentReport(orgName, runId, options);
|
|
1428
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1429
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.getAIAgentReport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1430
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1431
|
-
},
|
|
1432
|
-
/**
|
|
1433
|
-
* Returns the current run state and branch summaries.
|
|
1434
|
-
* @summary Get AI Agent run
|
|
1435
|
-
* @param {string} orgName
|
|
1436
|
-
* @param {string} runId
|
|
1437
|
-
* @param {*} [options] Override http request option.
|
|
1438
|
-
* @throws {RequiredError}
|
|
1439
|
-
*/
|
|
1440
|
-
async getAIAgentRun(orgName, runId, options) {
|
|
1441
|
-
var _a, _b, _c;
|
|
1442
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentRun(orgName, runId, options);
|
|
1443
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1444
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.getAIAgentRun']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1445
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1446
|
-
},
|
|
1447
|
-
/**
|
|
1448
|
-
* Lists reports created in a conversation.
|
|
1449
|
-
* @summary List AI Agent reports for a conversation
|
|
1450
|
-
* @param {string} orgName
|
|
1451
|
-
* @param {string} conversationId
|
|
1452
|
-
* @param {number} [limit]
|
|
1453
|
-
* @param {string} [cursor]
|
|
1454
|
-
* @param {*} [options] Override http request option.
|
|
1455
|
-
* @throws {RequiredError}
|
|
1456
|
-
*/
|
|
1457
|
-
async listAIAgentConversationReports(orgName, conversationId, limit, cursor, options) {
|
|
1458
|
-
var _a, _b, _c;
|
|
1459
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentConversationReports(orgName, conversationId, limit, cursor, options);
|
|
1460
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1461
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.listAIAgentConversationReports']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1462
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1463
|
-
},
|
|
1464
|
-
/**
|
|
1465
|
-
* Lists organization-scoped Chat With AI Agent conversations.
|
|
1466
|
-
* @summary List AI Agent conversations
|
|
1467
|
-
* @param {string} orgName
|
|
1468
|
-
* @param {string} [clusterName]
|
|
1469
|
-
* @param {number} [limit]
|
|
1470
|
-
* @param {string} [cursor]
|
|
1471
|
-
* @param {*} [options] Override http request option.
|
|
1472
|
-
* @throws {RequiredError}
|
|
1473
|
-
*/
|
|
1474
|
-
async listAIAgentConversations(orgName, clusterName, limit, cursor, options) {
|
|
1475
|
-
var _a, _b, _c;
|
|
1476
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentConversations(orgName, clusterName, limit, cursor, options);
|
|
1477
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1478
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.listAIAgentConversations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1479
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1480
|
-
},
|
|
1481
|
-
/**
|
|
1482
|
-
* Lists structured message parts for restoring the workbench history.
|
|
1483
|
-
* @summary List AI Agent conversation messages
|
|
1484
|
-
* @param {string} orgName
|
|
1485
|
-
* @param {string} conversationId
|
|
1486
|
-
* @param {number} [limit]
|
|
1487
|
-
* @param {string} [cursor]
|
|
1488
|
-
* @param {*} [options] Override http request option.
|
|
1489
|
-
* @throws {RequiredError}
|
|
1490
|
-
*/
|
|
1491
|
-
async listAIAgentMessages(orgName, conversationId, limit, cursor, options) {
|
|
1492
|
-
var _a, _b, _c;
|
|
1493
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentMessages(orgName, conversationId, limit, cursor, options);
|
|
1494
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1495
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.listAIAgentMessages']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1496
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1497
|
-
},
|
|
1498
|
-
/**
|
|
1499
|
-
* Lists frontend-safe playbook metadata for disabled states and scenario selection.
|
|
1500
|
-
* @summary List AI Agent playbooks
|
|
1501
|
-
* @param {string} orgName
|
|
1502
|
-
* @param {*} [options] Override http request option.
|
|
1503
|
-
* @throws {RequiredError}
|
|
1504
|
-
*/
|
|
1505
|
-
async listAIAgentPlaybooks(orgName, options) {
|
|
1506
|
-
var _a, _b, _c;
|
|
1507
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentPlaybooks(orgName, options);
|
|
1508
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1509
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.listAIAgentPlaybooks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1510
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1511
|
-
},
|
|
1512
|
-
/**
|
|
1513
|
-
* Lists normalized evidence summaries for a run.
|
|
1514
|
-
* @summary List AI Agent run evidence
|
|
1515
|
-
* @param {string} orgName
|
|
1516
|
-
* @param {string} runId
|
|
1517
|
-
* @param {string} [type]
|
|
1518
|
-
* @param {number} [limit]
|
|
1519
|
-
* @param {string} [cursor]
|
|
1520
|
-
* @param {*} [options] Override http request option.
|
|
1521
|
-
* @throws {RequiredError}
|
|
1522
|
-
*/
|
|
1523
|
-
async listAIAgentRunEvidence(orgName, runId, type, limit, cursor, options) {
|
|
1524
|
-
var _a, _b, _c;
|
|
1525
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentRunEvidence(orgName, runId, type, limit, cursor, options);
|
|
1526
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1527
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.listAIAgentRunEvidence']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1528
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1529
|
-
},
|
|
1530
|
-
/**
|
|
1531
|
-
* Lists frontend-safe capability metadata without raw source APIs, credentials, or internal tool arguments.
|
|
1532
|
-
* @summary List AI Agent tool capability summaries
|
|
1533
|
-
* @param {string} orgName
|
|
1534
|
-
* @param {*} [options] Override http request option.
|
|
1535
|
-
* @throws {RequiredError}
|
|
1536
|
-
*/
|
|
1537
|
-
async listAIAgentToolCapabilities(orgName, options) {
|
|
1538
|
-
var _a, _b, _c;
|
|
1539
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentToolCapabilities(orgName, options);
|
|
1540
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1541
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.listAIAgentToolCapabilities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1542
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1543
|
-
},
|
|
1544
|
-
/**
|
|
1545
|
-
* Pauses a running Agent workflow.
|
|
1546
|
-
* @summary Pause an AI Agent run
|
|
1547
|
-
* @param {string} orgName
|
|
1548
|
-
* @param {string} runId
|
|
1549
|
-
* @param {*} [options] Override http request option.
|
|
1550
|
-
* @throws {RequiredError}
|
|
1551
|
-
*/
|
|
1552
|
-
async pauseAIAgentRun(orgName, runId, options) {
|
|
1553
|
-
var _a, _b, _c;
|
|
1554
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.pauseAIAgentRun(orgName, runId, options);
|
|
1555
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1556
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.pauseAIAgentRun']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1557
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1558
|
-
},
|
|
1559
|
-
/**
|
|
1560
|
-
* Regenerates a report from existing evidence without recollecting source data.
|
|
1561
|
-
* @summary Regenerate an AI Agent report
|
|
1562
|
-
* @param {string} orgName
|
|
1563
|
-
* @param {string} runId
|
|
1564
|
-
* @param {AiAgentRegenerateReportRequest} [aiAgentRegenerateReportRequest]
|
|
1565
|
-
* @param {*} [options] Override http request option.
|
|
1566
|
-
* @throws {RequiredError}
|
|
1567
|
-
*/
|
|
1568
|
-
async regenerateAIAgentReport(orgName, runId, aiAgentRegenerateReportRequest, options) {
|
|
1569
|
-
var _a, _b, _c;
|
|
1570
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.regenerateAIAgentReport(orgName, runId, aiAgentRegenerateReportRequest, options);
|
|
1571
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1572
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.regenerateAIAgentReport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1573
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1574
|
-
},
|
|
1575
|
-
/**
|
|
1576
|
-
* Rejects a pending Runtime-created tool approval request. The tool is not executed and the Agent returns to the conversation with a safe assistant message.
|
|
1577
|
-
* @summary Reject an AI Agent tool approval request
|
|
1578
|
-
* @param {string} orgName
|
|
1579
|
-
* @param {string} runId
|
|
1580
|
-
* @param {string} approvalRequestId
|
|
1581
|
-
* @param {AiAgentToolApprovalDecisionRequest} aiAgentToolApprovalDecisionRequest
|
|
1582
|
-
* @param {*} [options] Override http request option.
|
|
1583
|
-
* @throws {RequiredError}
|
|
1584
|
-
*/
|
|
1585
|
-
async rejectAIAgentToolApprovalRequest(orgName, runId, approvalRequestId, aiAgentToolApprovalDecisionRequest, options) {
|
|
1586
|
-
var _a, _b, _c;
|
|
1587
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.rejectAIAgentToolApprovalRequest(orgName, runId, approvalRequestId, aiAgentToolApprovalDecisionRequest, options);
|
|
1588
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1589
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.rejectAIAgentToolApprovalRequest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1590
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1591
|
-
},
|
|
1592
|
-
/**
|
|
1593
|
-
* Resumes a paused Agent workflow.
|
|
1594
|
-
* @summary Resume an AI Agent run
|
|
1595
|
-
* @param {string} orgName
|
|
1596
|
-
* @param {string} runId
|
|
1597
|
-
* @param {*} [options] Override http request option.
|
|
1598
|
-
* @throws {RequiredError}
|
|
1599
|
-
*/
|
|
1600
|
-
async resumeAIAgentRun(orgName, runId, options) {
|
|
1601
|
-
var _a, _b, _c;
|
|
1602
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.resumeAIAgentRun(orgName, runId, options);
|
|
1603
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1604
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.resumeAIAgentRun']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1605
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1606
|
-
},
|
|
1607
|
-
/**
|
|
1608
|
-
* Creates a new run retrying the failed or degraded Agent workflow.
|
|
1609
|
-
* @summary Retry an AI Agent run
|
|
1610
|
-
* @param {string} orgName
|
|
1611
|
-
* @param {string} runId
|
|
1612
|
-
* @param {*} [options] Override http request option.
|
|
1613
|
-
* @throws {RequiredError}
|
|
1614
|
-
*/
|
|
1615
|
-
async retryAIAgentRun(orgName, runId, options) {
|
|
528
|
+
async rejectAIAgentToolConfirmation(orgName, conversationId, confirmationId, aiAgentToolConfirmationDecisionRequest, options) {
|
|
1616
529
|
var _a, _b, _c;
|
|
1617
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
530
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rejectAIAgentToolConfirmation(orgName, conversationId, confirmationId, aiAgentToolConfirmationDecisionRequest, options);
|
|
1618
531
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1619
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.
|
|
532
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.rejectAIAgentToolConfirmation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1620
533
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1621
534
|
},
|
|
1622
535
|
/**
|
|
1623
|
-
*
|
|
1624
|
-
* @summary
|
|
536
|
+
*
|
|
537
|
+
* @summary Send a user message and start or continue AI diagnosis
|
|
1625
538
|
* @param {string} orgName
|
|
1626
539
|
* @param {string} conversationId
|
|
1627
|
-
* @param {
|
|
540
|
+
* @param {AiAgentSendMessageRequest} aiAgentSendMessageRequest
|
|
1628
541
|
* @param {*} [options] Override http request option.
|
|
1629
542
|
* @throws {RequiredError}
|
|
1630
543
|
*/
|
|
1631
|
-
async
|
|
544
|
+
async sendAIAgentMessage(orgName, conversationId, aiAgentSendMessageRequest, options) {
|
|
1632
545
|
var _a, _b, _c;
|
|
1633
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
546
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sendAIAgentMessage(orgName, conversationId, aiAgentSendMessageRequest, options);
|
|
1634
547
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1635
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.
|
|
548
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.sendAIAgentMessage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1636
549
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1637
550
|
},
|
|
1638
551
|
/**
|
|
1639
|
-
*
|
|
1640
|
-
* @summary
|
|
552
|
+
*
|
|
553
|
+
* @summary Stop the current AI diagnosis turn
|
|
1641
554
|
* @param {string} orgName
|
|
1642
|
-
* @param {string}
|
|
1643
|
-
* @param {AiAgentFeedbackRequest} aiAgentFeedbackRequest
|
|
555
|
+
* @param {string} conversationId
|
|
1644
556
|
* @param {*} [options] Override http request option.
|
|
1645
557
|
* @throws {RequiredError}
|
|
1646
558
|
*/
|
|
1647
|
-
async
|
|
559
|
+
async stopAIAgentConversation(orgName, conversationId, options) {
|
|
1648
560
|
var _a, _b, _c;
|
|
1649
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
561
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.stopAIAgentConversation(orgName, conversationId, options);
|
|
1650
562
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1651
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.
|
|
563
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.stopAIAgentConversation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1652
564
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1653
565
|
},
|
|
1654
566
|
/**
|
|
1655
|
-
*
|
|
1656
|
-
* @summary Subscribe to AI
|
|
567
|
+
*
|
|
568
|
+
* @summary Subscribe to AI diagnosis conversation events
|
|
1657
569
|
* @param {string} orgName
|
|
1658
|
-
* @param {string}
|
|
1659
|
-
* @param {string} [lastEventID]
|
|
570
|
+
* @param {string} conversationId
|
|
1660
571
|
* @param {string} [after]
|
|
1661
572
|
* @param {*} [options] Override http request option.
|
|
1662
573
|
* @throws {RequiredError}
|
|
1663
574
|
*/
|
|
1664
|
-
async
|
|
575
|
+
async subscribeAIAgentConversationEvents(orgName, conversationId, after, options) {
|
|
1665
576
|
var _a, _b, _c;
|
|
1666
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
577
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.subscribeAIAgentConversationEvents(orgName, conversationId, after, options);
|
|
1667
578
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1668
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.
|
|
579
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.subscribeAIAgentConversationEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1669
580
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1670
581
|
},
|
|
1671
582
|
};
|
|
@@ -1679,88 +590,18 @@ const AIAgentApiFactory = function (configuration, basePath, axios) {
|
|
|
1679
590
|
const localVarFp = (0, exports.AIAgentApiFp)(configuration);
|
|
1680
591
|
return {
|
|
1681
592
|
/**
|
|
1682
|
-
*
|
|
1683
|
-
* @summary Approve
|
|
1684
|
-
* @param {
|
|
1685
|
-
* @param {*} [options] Override http request option.
|
|
1686
|
-
* @throws {RequiredError}
|
|
1687
|
-
*/
|
|
1688
|
-
approveAIAgentToolApprovalRequest(requestParameters, options) {
|
|
1689
|
-
return localVarFp.approveAIAgentToolApprovalRequest(requestParameters.orgName, requestParameters.runId, requestParameters.approvalRequestId, requestParameters.aiAgentToolApprovalDecisionRequest, options).then((request) => request(axios, basePath));
|
|
1690
|
-
},
|
|
1691
|
-
/**
|
|
1692
|
-
* Fetches frontend-safe report, evidence, action plan, run summary, and metric series artifacts referenced by message parts and report visualizations.
|
|
1693
|
-
* @summary Batch get AI Agent artifacts
|
|
1694
|
-
* @param {AIAgentApiBatchGetAIAgentArtifactsRequest} requestParameters Request parameters.
|
|
1695
|
-
* @param {*} [options] Override http request option.
|
|
1696
|
-
* @throws {RequiredError}
|
|
1697
|
-
*/
|
|
1698
|
-
batchGetAIAgentArtifacts(requestParameters, options) {
|
|
1699
|
-
return localVarFp.batchGetAIAgentArtifacts(requestParameters.orgName, requestParameters.aiAgentArtifactBatchGetRequest, options).then((request) => request(axios, basePath));
|
|
1700
|
-
},
|
|
1701
|
-
/**
|
|
1702
|
-
* Cancels a pending or approved action plan before execution completes.
|
|
1703
|
-
* @summary Cancel an AI Agent action plan
|
|
1704
|
-
* @param {AIAgentApiCancelAIAgentActionPlanRequest} requestParameters Request parameters.
|
|
1705
|
-
* @param {*} [options] Override http request option.
|
|
1706
|
-
* @throws {RequiredError}
|
|
1707
|
-
*/
|
|
1708
|
-
cancelAIAgentActionPlan(requestParameters, options) {
|
|
1709
|
-
return localVarFp.cancelAIAgentActionPlan(requestParameters.orgName, requestParameters.actionPlanId, options).then((request) => request(axios, basePath));
|
|
1710
|
-
},
|
|
1711
|
-
/**
|
|
1712
|
-
* Cancels a pending or running Agent workflow.
|
|
1713
|
-
* @summary Cancel an AI Agent run
|
|
1714
|
-
* @param {AIAgentApiCancelAIAgentRunRequest} requestParameters Request parameters.
|
|
1715
|
-
* @param {*} [options] Override http request option.
|
|
1716
|
-
* @throws {RequiredError}
|
|
1717
|
-
*/
|
|
1718
|
-
cancelAIAgentRun(requestParameters, options) {
|
|
1719
|
-
return localVarFp.cancelAIAgentRun(requestParameters.orgName, requestParameters.runId, options).then((request) => request(axios, basePath));
|
|
1720
|
-
},
|
|
1721
|
-
/**
|
|
1722
|
-
* Cancels a pending Runtime-created tool approval request. The tool is not executed and the Agent returns to the conversation.
|
|
1723
|
-
* @summary Cancel an AI Agent tool approval request
|
|
1724
|
-
* @param {AIAgentApiCancelAIAgentToolApprovalRequestRequest} requestParameters Request parameters.
|
|
1725
|
-
* @param {*} [options] Override http request option.
|
|
1726
|
-
* @throws {RequiredError}
|
|
1727
|
-
*/
|
|
1728
|
-
cancelAIAgentToolApprovalRequest(requestParameters, options) {
|
|
1729
|
-
return localVarFp.cancelAIAgentToolApprovalRequest(requestParameters.orgName, requestParameters.runId, requestParameters.approvalRequestId, requestParameters.aiAgentToolApprovalDecisionRequest, options).then((request) => request(axios, basePath));
|
|
1730
|
-
},
|
|
1731
|
-
/**
|
|
1732
|
-
* Confirms a pending action plan through the public confirmation read model. Approval tokens and execution credentials are internal.
|
|
1733
|
-
* @summary Confirm an AI Agent action plan
|
|
1734
|
-
* @param {AIAgentApiConfirmAIAgentActionPlanRequest} requestParameters Request parameters.
|
|
1735
|
-
* @param {*} [options] Override http request option.
|
|
1736
|
-
* @throws {RequiredError}
|
|
1737
|
-
*/
|
|
1738
|
-
confirmAIAgentActionPlan(requestParameters, options) {
|
|
1739
|
-
return localVarFp.confirmAIAgentActionPlan(requestParameters.orgName, requestParameters.actionPlanId, requestParameters.aiAgentConfirmActionPlanRequest, options).then((request) => request(axios, basePath));
|
|
1740
|
-
},
|
|
1741
|
-
/**
|
|
1742
|
-
* Continues investigation, regenerates explanation, or creates an action plan from an existing report.
|
|
1743
|
-
* @summary Continue from an AI Agent report
|
|
1744
|
-
* @param {AIAgentApiContinueAIAgentReportRequest} requestParameters Request parameters.
|
|
1745
|
-
* @param {*} [options] Override http request option.
|
|
1746
|
-
* @throws {RequiredError}
|
|
1747
|
-
*/
|
|
1748
|
-
continueAIAgentReport(requestParameters, options) {
|
|
1749
|
-
return localVarFp.continueAIAgentReport(requestParameters.orgName, requestParameters.reportId, requestParameters.aiAgentContinueReportRequest, options).then((request) => request(axios, basePath));
|
|
1750
|
-
},
|
|
1751
|
-
/**
|
|
1752
|
-
* Adds a user message and continues, narrows, clarifies, or answers from the current Agent run.
|
|
1753
|
-
* @summary Continue an AI Agent run
|
|
1754
|
-
* @param {AIAgentApiContinueAIAgentRunRequest} requestParameters Request parameters.
|
|
593
|
+
*
|
|
594
|
+
* @summary Approve one AI diagnosis tool confirmation
|
|
595
|
+
* @param {AIAgentApiApproveAIAgentToolConfirmationRequest} requestParameters Request parameters.
|
|
1755
596
|
* @param {*} [options] Override http request option.
|
|
1756
597
|
* @throws {RequiredError}
|
|
1757
598
|
*/
|
|
1758
|
-
|
|
1759
|
-
return localVarFp.
|
|
599
|
+
approveAIAgentToolConfirmation(requestParameters, options) {
|
|
600
|
+
return localVarFp.approveAIAgentToolConfirmation(requestParameters.orgName, requestParameters.conversationId, requestParameters.confirmationId, requestParameters.aiAgentToolConfirmationDecisionRequest, options).then((request) => request(axios, basePath));
|
|
1760
601
|
},
|
|
1761
602
|
/**
|
|
1762
|
-
*
|
|
1763
|
-
* @summary Create an AI
|
|
603
|
+
*
|
|
604
|
+
* @summary Create an AI diagnosis conversation
|
|
1764
605
|
* @param {AIAgentApiCreateAIAgentConversationRequest} requestParameters Request parameters.
|
|
1765
606
|
* @param {*} [options] Override http request option.
|
|
1766
607
|
* @throws {RequiredError}
|
|
@@ -1769,38 +610,8 @@ const AIAgentApiFactory = function (configuration, basePath, axios) {
|
|
|
1769
610
|
return localVarFp.createAIAgentConversation(requestParameters.orgName, requestParameters.aiAgentCreateConversationRequest, options).then((request) => request(axios, basePath));
|
|
1770
611
|
},
|
|
1771
612
|
/**
|
|
1772
|
-
*
|
|
1773
|
-
* @summary Get AI
|
|
1774
|
-
* @param {AIAgentApiGetAIAgentActionExecutionRequest} requestParameters Request parameters.
|
|
1775
|
-
* @param {*} [options] Override http request option.
|
|
1776
|
-
* @throws {RequiredError}
|
|
1777
|
-
*/
|
|
1778
|
-
getAIAgentActionExecution(requestParameters, options) {
|
|
1779
|
-
return localVarFp.getAIAgentActionExecution(requestParameters.orgName, requestParameters.actionPlanId, options).then((request) => request(axios, basePath));
|
|
1780
|
-
},
|
|
1781
|
-
/**
|
|
1782
|
-
* Returns a frontend-safe action plan read model without approval tokens or execution credentials.
|
|
1783
|
-
* @summary Get AI Agent action plan
|
|
1784
|
-
* @param {AIAgentApiGetAIAgentActionPlanRequest} requestParameters Request parameters.
|
|
1785
|
-
* @param {*} [options] Override http request option.
|
|
1786
|
-
* @throws {RequiredError}
|
|
1787
|
-
*/
|
|
1788
|
-
getAIAgentActionPlan(requestParameters, options) {
|
|
1789
|
-
return localVarFp.getAIAgentActionPlan(requestParameters.orgName, requestParameters.actionPlanId, options).then((request) => request(axios, basePath));
|
|
1790
|
-
},
|
|
1791
|
-
/**
|
|
1792
|
-
* Returns the current single-cluster scope, cluster display context, playbooks, suggestions, and frontend-safe capability switches.
|
|
1793
|
-
* @summary Get AI Agent context and capabilities
|
|
1794
|
-
* @param {AIAgentApiGetAIAgentContextRequest} requestParameters Request parameters.
|
|
1795
|
-
* @param {*} [options] Override http request option.
|
|
1796
|
-
* @throws {RequiredError}
|
|
1797
|
-
*/
|
|
1798
|
-
getAIAgentContext(requestParameters, options) {
|
|
1799
|
-
return localVarFp.getAIAgentContext(requestParameters.orgName, requestParameters.clusterName, requestParameters.namespace, requestParameters.component, requestParameters.pod, options).then((request) => request(axios, basePath));
|
|
1800
|
-
},
|
|
1801
|
-
/**
|
|
1802
|
-
* Returns the conversation summary with a recent message preview. Use the paginated message and artifact APIs to restore full history.
|
|
1803
|
-
* @summary Get AI Agent conversation summary
|
|
613
|
+
*
|
|
614
|
+
* @summary Get an AI diagnosis conversation
|
|
1804
615
|
* @param {AIAgentApiGetAIAgentConversationRequest} requestParameters Request parameters.
|
|
1805
616
|
* @param {*} [options] Override http request option.
|
|
1806
617
|
* @throws {RequiredError}
|
|
@@ -1809,174 +620,74 @@ const AIAgentApiFactory = function (configuration, basePath, axios) {
|
|
|
1809
620
|
return localVarFp.getAIAgentConversation(requestParameters.orgName, requestParameters.conversationId, options).then((request) => request(axios, basePath));
|
|
1810
621
|
},
|
|
1811
622
|
/**
|
|
1812
|
-
*
|
|
1813
|
-
* @summary Get AI
|
|
1814
|
-
* @param {
|
|
1815
|
-
* @param {*} [options] Override http request option.
|
|
1816
|
-
* @throws {RequiredError}
|
|
1817
|
-
*/
|
|
1818
|
-
getAIAgentEvidence(requestParameters, options) {
|
|
1819
|
-
return localVarFp.getAIAgentEvidence(requestParameters.orgName, requestParameters.evidenceId, options).then((request) => request(axios, basePath));
|
|
1820
|
-
},
|
|
1821
|
-
/**
|
|
1822
|
-
* Returns the Result Builder report read model for a run.
|
|
1823
|
-
* @summary Get AI Agent run report
|
|
1824
|
-
* @param {AIAgentApiGetAIAgentReportRequest} requestParameters Request parameters.
|
|
1825
|
-
* @param {*} [options] Override http request option.
|
|
1826
|
-
* @throws {RequiredError}
|
|
1827
|
-
*/
|
|
1828
|
-
getAIAgentReport(requestParameters, options) {
|
|
1829
|
-
return localVarFp.getAIAgentReport(requestParameters.orgName, requestParameters.runId, options).then((request) => request(axios, basePath));
|
|
1830
|
-
},
|
|
1831
|
-
/**
|
|
1832
|
-
* Returns the current run state and branch summaries.
|
|
1833
|
-
* @summary Get AI Agent run
|
|
1834
|
-
* @param {AIAgentApiGetAIAgentRunRequest} requestParameters Request parameters.
|
|
623
|
+
*
|
|
624
|
+
* @summary Get AI diagnosis agent status
|
|
625
|
+
* @param {AIAgentApiGetAIAgentStatusRequest} requestParameters Request parameters.
|
|
1835
626
|
* @param {*} [options] Override http request option.
|
|
1836
627
|
* @throws {RequiredError}
|
|
1837
628
|
*/
|
|
1838
|
-
|
|
1839
|
-
return localVarFp.
|
|
629
|
+
getAIAgentStatus(requestParameters, options) {
|
|
630
|
+
return localVarFp.getAIAgentStatus(requestParameters.orgName, options).then((request) => request(axios, basePath));
|
|
1840
631
|
},
|
|
1841
632
|
/**
|
|
1842
|
-
*
|
|
1843
|
-
* @summary List AI
|
|
1844
|
-
* @param {AIAgentApiListAIAgentConversationReportsRequest} requestParameters Request parameters.
|
|
1845
|
-
* @param {*} [options] Override http request option.
|
|
1846
|
-
* @throws {RequiredError}
|
|
1847
|
-
*/
|
|
1848
|
-
listAIAgentConversationReports(requestParameters, options) {
|
|
1849
|
-
return localVarFp.listAIAgentConversationReports(requestParameters.orgName, requestParameters.conversationId, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
1850
|
-
},
|
|
1851
|
-
/**
|
|
1852
|
-
* Lists organization-scoped Chat With AI Agent conversations.
|
|
1853
|
-
* @summary List AI Agent conversations
|
|
633
|
+
*
|
|
634
|
+
* @summary List AI diagnosis conversations
|
|
1854
635
|
* @param {AIAgentApiListAIAgentConversationsRequest} requestParameters Request parameters.
|
|
1855
636
|
* @param {*} [options] Override http request option.
|
|
1856
637
|
* @throws {RequiredError}
|
|
1857
638
|
*/
|
|
1858
639
|
listAIAgentConversations(requestParameters, options) {
|
|
1859
|
-
return localVarFp.listAIAgentConversations(requestParameters.orgName, requestParameters.
|
|
640
|
+
return localVarFp.listAIAgentConversations(requestParameters.orgName, requestParameters.limit, requestParameters.after, options).then((request) => request(axios, basePath));
|
|
1860
641
|
},
|
|
1861
642
|
/**
|
|
1862
|
-
*
|
|
1863
|
-
* @summary List AI
|
|
643
|
+
*
|
|
644
|
+
* @summary List AI diagnosis conversation messages
|
|
1864
645
|
* @param {AIAgentApiListAIAgentMessagesRequest} requestParameters Request parameters.
|
|
1865
646
|
* @param {*} [options] Override http request option.
|
|
1866
647
|
* @throws {RequiredError}
|
|
1867
648
|
*/
|
|
1868
649
|
listAIAgentMessages(requestParameters, options) {
|
|
1869
|
-
return localVarFp.listAIAgentMessages(requestParameters.orgName, requestParameters.conversationId, requestParameters.
|
|
1870
|
-
},
|
|
1871
|
-
/**
|
|
1872
|
-
* Lists frontend-safe playbook metadata for disabled states and scenario selection.
|
|
1873
|
-
* @summary List AI Agent playbooks
|
|
1874
|
-
* @param {AIAgentApiListAIAgentPlaybooksRequest} requestParameters Request parameters.
|
|
1875
|
-
* @param {*} [options] Override http request option.
|
|
1876
|
-
* @throws {RequiredError}
|
|
1877
|
-
*/
|
|
1878
|
-
listAIAgentPlaybooks(requestParameters, options) {
|
|
1879
|
-
return localVarFp.listAIAgentPlaybooks(requestParameters.orgName, options).then((request) => request(axios, basePath));
|
|
1880
|
-
},
|
|
1881
|
-
/**
|
|
1882
|
-
* Lists normalized evidence summaries for a run.
|
|
1883
|
-
* @summary List AI Agent run evidence
|
|
1884
|
-
* @param {AIAgentApiListAIAgentRunEvidenceRequest} requestParameters Request parameters.
|
|
1885
|
-
* @param {*} [options] Override http request option.
|
|
1886
|
-
* @throws {RequiredError}
|
|
1887
|
-
*/
|
|
1888
|
-
listAIAgentRunEvidence(requestParameters, options) {
|
|
1889
|
-
return localVarFp.listAIAgentRunEvidence(requestParameters.orgName, requestParameters.runId, requestParameters.type, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
1890
|
-
},
|
|
1891
|
-
/**
|
|
1892
|
-
* Lists frontend-safe capability metadata without raw source APIs, credentials, or internal tool arguments.
|
|
1893
|
-
* @summary List AI Agent tool capability summaries
|
|
1894
|
-
* @param {AIAgentApiListAIAgentToolCapabilitiesRequest} requestParameters Request parameters.
|
|
1895
|
-
* @param {*} [options] Override http request option.
|
|
1896
|
-
* @throws {RequiredError}
|
|
1897
|
-
*/
|
|
1898
|
-
listAIAgentToolCapabilities(requestParameters, options) {
|
|
1899
|
-
return localVarFp.listAIAgentToolCapabilities(requestParameters.orgName, options).then((request) => request(axios, basePath));
|
|
1900
|
-
},
|
|
1901
|
-
/**
|
|
1902
|
-
* Pauses a running Agent workflow.
|
|
1903
|
-
* @summary Pause an AI Agent run
|
|
1904
|
-
* @param {AIAgentApiPauseAIAgentRunRequest} requestParameters Request parameters.
|
|
1905
|
-
* @param {*} [options] Override http request option.
|
|
1906
|
-
* @throws {RequiredError}
|
|
1907
|
-
*/
|
|
1908
|
-
pauseAIAgentRun(requestParameters, options) {
|
|
1909
|
-
return localVarFp.pauseAIAgentRun(requestParameters.orgName, requestParameters.runId, options).then((request) => request(axios, basePath));
|
|
1910
|
-
},
|
|
1911
|
-
/**
|
|
1912
|
-
* Regenerates a report from existing evidence without recollecting source data.
|
|
1913
|
-
* @summary Regenerate an AI Agent report
|
|
1914
|
-
* @param {AIAgentApiRegenerateAIAgentReportRequest} requestParameters Request parameters.
|
|
1915
|
-
* @param {*} [options] Override http request option.
|
|
1916
|
-
* @throws {RequiredError}
|
|
1917
|
-
*/
|
|
1918
|
-
regenerateAIAgentReport(requestParameters, options) {
|
|
1919
|
-
return localVarFp.regenerateAIAgentReport(requestParameters.orgName, requestParameters.runId, requestParameters.aiAgentRegenerateReportRequest, options).then((request) => request(axios, basePath));
|
|
1920
|
-
},
|
|
1921
|
-
/**
|
|
1922
|
-
* Rejects a pending Runtime-created tool approval request. The tool is not executed and the Agent returns to the conversation with a safe assistant message.
|
|
1923
|
-
* @summary Reject an AI Agent tool approval request
|
|
1924
|
-
* @param {AIAgentApiRejectAIAgentToolApprovalRequestRequest} requestParameters Request parameters.
|
|
1925
|
-
* @param {*} [options] Override http request option.
|
|
1926
|
-
* @throws {RequiredError}
|
|
1927
|
-
*/
|
|
1928
|
-
rejectAIAgentToolApprovalRequest(requestParameters, options) {
|
|
1929
|
-
return localVarFp.rejectAIAgentToolApprovalRequest(requestParameters.orgName, requestParameters.runId, requestParameters.approvalRequestId, requestParameters.aiAgentToolApprovalDecisionRequest, options).then((request) => request(axios, basePath));
|
|
1930
|
-
},
|
|
1931
|
-
/**
|
|
1932
|
-
* Resumes a paused Agent workflow.
|
|
1933
|
-
* @summary Resume an AI Agent run
|
|
1934
|
-
* @param {AIAgentApiResumeAIAgentRunRequest} requestParameters Request parameters.
|
|
1935
|
-
* @param {*} [options] Override http request option.
|
|
1936
|
-
* @throws {RequiredError}
|
|
1937
|
-
*/
|
|
1938
|
-
resumeAIAgentRun(requestParameters, options) {
|
|
1939
|
-
return localVarFp.resumeAIAgentRun(requestParameters.orgName, requestParameters.runId, options).then((request) => request(axios, basePath));
|
|
650
|
+
return localVarFp.listAIAgentMessages(requestParameters.orgName, requestParameters.conversationId, requestParameters.after, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
1940
651
|
},
|
|
1941
652
|
/**
|
|
1942
|
-
*
|
|
1943
|
-
* @summary
|
|
1944
|
-
* @param {
|
|
653
|
+
*
|
|
654
|
+
* @summary Reject one AI diagnosis tool confirmation
|
|
655
|
+
* @param {AIAgentApiRejectAIAgentToolConfirmationRequest} requestParameters Request parameters.
|
|
1945
656
|
* @param {*} [options] Override http request option.
|
|
1946
657
|
* @throws {RequiredError}
|
|
1947
658
|
*/
|
|
1948
|
-
|
|
1949
|
-
return localVarFp.
|
|
659
|
+
rejectAIAgentToolConfirmation(requestParameters, options) {
|
|
660
|
+
return localVarFp.rejectAIAgentToolConfirmation(requestParameters.orgName, requestParameters.conversationId, requestParameters.confirmationId, requestParameters.aiAgentToolConfirmationDecisionRequest, options).then((request) => request(axios, basePath));
|
|
1950
661
|
},
|
|
1951
662
|
/**
|
|
1952
|
-
*
|
|
1953
|
-
* @summary
|
|
1954
|
-
* @param {
|
|
663
|
+
*
|
|
664
|
+
* @summary Send a user message and start or continue AI diagnosis
|
|
665
|
+
* @param {AIAgentApiSendAIAgentMessageRequest} requestParameters Request parameters.
|
|
1955
666
|
* @param {*} [options] Override http request option.
|
|
1956
667
|
* @throws {RequiredError}
|
|
1957
668
|
*/
|
|
1958
|
-
|
|
1959
|
-
return localVarFp.
|
|
669
|
+
sendAIAgentMessage(requestParameters, options) {
|
|
670
|
+
return localVarFp.sendAIAgentMessage(requestParameters.orgName, requestParameters.conversationId, requestParameters.aiAgentSendMessageRequest, options).then((request) => request(axios, basePath));
|
|
1960
671
|
},
|
|
1961
672
|
/**
|
|
1962
|
-
*
|
|
1963
|
-
* @summary
|
|
1964
|
-
* @param {
|
|
673
|
+
*
|
|
674
|
+
* @summary Stop the current AI diagnosis turn
|
|
675
|
+
* @param {AIAgentApiStopAIAgentConversationRequest} requestParameters Request parameters.
|
|
1965
676
|
* @param {*} [options] Override http request option.
|
|
1966
677
|
* @throws {RequiredError}
|
|
1967
678
|
*/
|
|
1968
|
-
|
|
1969
|
-
return localVarFp.
|
|
679
|
+
stopAIAgentConversation(requestParameters, options) {
|
|
680
|
+
return localVarFp.stopAIAgentConversation(requestParameters.orgName, requestParameters.conversationId, options).then((request) => request(axios, basePath));
|
|
1970
681
|
},
|
|
1971
682
|
/**
|
|
1972
|
-
*
|
|
1973
|
-
* @summary Subscribe to AI
|
|
1974
|
-
* @param {
|
|
683
|
+
*
|
|
684
|
+
* @summary Subscribe to AI diagnosis conversation events
|
|
685
|
+
* @param {AIAgentApiSubscribeAIAgentConversationEventsRequest} requestParameters Request parameters.
|
|
1975
686
|
* @param {*} [options] Override http request option.
|
|
1976
687
|
* @throws {RequiredError}
|
|
1977
688
|
*/
|
|
1978
|
-
|
|
1979
|
-
return localVarFp.
|
|
689
|
+
subscribeAIAgentConversationEvents(requestParameters, options) {
|
|
690
|
+
return localVarFp.subscribeAIAgentConversationEvents(requestParameters.orgName, requestParameters.conversationId, requestParameters.after, options).then((request) => request(axios, basePath));
|
|
1980
691
|
},
|
|
1981
692
|
};
|
|
1982
693
|
};
|
|
@@ -1989,96 +700,19 @@ exports.AIAgentApiFactory = AIAgentApiFactory;
|
|
|
1989
700
|
*/
|
|
1990
701
|
class AIAgentApi extends base_1.BaseAPI {
|
|
1991
702
|
/**
|
|
1992
|
-
*
|
|
1993
|
-
* @summary Approve
|
|
1994
|
-
* @param {
|
|
1995
|
-
* @param {*} [options] Override http request option.
|
|
1996
|
-
* @throws {RequiredError}
|
|
1997
|
-
* @memberof AIAgentApi
|
|
1998
|
-
*/
|
|
1999
|
-
approveAIAgentToolApprovalRequest(requestParameters, options) {
|
|
2000
|
-
return (0, exports.AIAgentApiFp)(this.configuration).approveAIAgentToolApprovalRequest(requestParameters.orgName, requestParameters.runId, requestParameters.approvalRequestId, requestParameters.aiAgentToolApprovalDecisionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2001
|
-
}
|
|
2002
|
-
/**
|
|
2003
|
-
* Fetches frontend-safe report, evidence, action plan, run summary, and metric series artifacts referenced by message parts and report visualizations.
|
|
2004
|
-
* @summary Batch get AI Agent artifacts
|
|
2005
|
-
* @param {AIAgentApiBatchGetAIAgentArtifactsRequest} requestParameters Request parameters.
|
|
2006
|
-
* @param {*} [options] Override http request option.
|
|
2007
|
-
* @throws {RequiredError}
|
|
2008
|
-
* @memberof AIAgentApi
|
|
2009
|
-
*/
|
|
2010
|
-
batchGetAIAgentArtifacts(requestParameters, options) {
|
|
2011
|
-
return (0, exports.AIAgentApiFp)(this.configuration).batchGetAIAgentArtifacts(requestParameters.orgName, requestParameters.aiAgentArtifactBatchGetRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2012
|
-
}
|
|
2013
|
-
/**
|
|
2014
|
-
* Cancels a pending or approved action plan before execution completes.
|
|
2015
|
-
* @summary Cancel an AI Agent action plan
|
|
2016
|
-
* @param {AIAgentApiCancelAIAgentActionPlanRequest} requestParameters Request parameters.
|
|
2017
|
-
* @param {*} [options] Override http request option.
|
|
2018
|
-
* @throws {RequiredError}
|
|
2019
|
-
* @memberof AIAgentApi
|
|
2020
|
-
*/
|
|
2021
|
-
cancelAIAgentActionPlan(requestParameters, options) {
|
|
2022
|
-
return (0, exports.AIAgentApiFp)(this.configuration).cancelAIAgentActionPlan(requestParameters.orgName, requestParameters.actionPlanId, options).then((request) => request(this.axios, this.basePath));
|
|
2023
|
-
}
|
|
2024
|
-
/**
|
|
2025
|
-
* Cancels a pending or running Agent workflow.
|
|
2026
|
-
* @summary Cancel an AI Agent run
|
|
2027
|
-
* @param {AIAgentApiCancelAIAgentRunRequest} requestParameters Request parameters.
|
|
2028
|
-
* @param {*} [options] Override http request option.
|
|
2029
|
-
* @throws {RequiredError}
|
|
2030
|
-
* @memberof AIAgentApi
|
|
2031
|
-
*/
|
|
2032
|
-
cancelAIAgentRun(requestParameters, options) {
|
|
2033
|
-
return (0, exports.AIAgentApiFp)(this.configuration).cancelAIAgentRun(requestParameters.orgName, requestParameters.runId, options).then((request) => request(this.axios, this.basePath));
|
|
2034
|
-
}
|
|
2035
|
-
/**
|
|
2036
|
-
* Cancels a pending Runtime-created tool approval request. The tool is not executed and the Agent returns to the conversation.
|
|
2037
|
-
* @summary Cancel an AI Agent tool approval request
|
|
2038
|
-
* @param {AIAgentApiCancelAIAgentToolApprovalRequestRequest} requestParameters Request parameters.
|
|
703
|
+
*
|
|
704
|
+
* @summary Approve one AI diagnosis tool confirmation
|
|
705
|
+
* @param {AIAgentApiApproveAIAgentToolConfirmationRequest} requestParameters Request parameters.
|
|
2039
706
|
* @param {*} [options] Override http request option.
|
|
2040
707
|
* @throws {RequiredError}
|
|
2041
708
|
* @memberof AIAgentApi
|
|
2042
709
|
*/
|
|
2043
|
-
|
|
2044
|
-
return (0, exports.AIAgentApiFp)(this.configuration).
|
|
710
|
+
approveAIAgentToolConfirmation(requestParameters, options) {
|
|
711
|
+
return (0, exports.AIAgentApiFp)(this.configuration).approveAIAgentToolConfirmation(requestParameters.orgName, requestParameters.conversationId, requestParameters.confirmationId, requestParameters.aiAgentToolConfirmationDecisionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2045
712
|
}
|
|
2046
713
|
/**
|
|
2047
|
-
*
|
|
2048
|
-
* @summary
|
|
2049
|
-
* @param {AIAgentApiConfirmAIAgentActionPlanRequest} requestParameters Request parameters.
|
|
2050
|
-
* @param {*} [options] Override http request option.
|
|
2051
|
-
* @throws {RequiredError}
|
|
2052
|
-
* @memberof AIAgentApi
|
|
2053
|
-
*/
|
|
2054
|
-
confirmAIAgentActionPlan(requestParameters, options) {
|
|
2055
|
-
return (0, exports.AIAgentApiFp)(this.configuration).confirmAIAgentActionPlan(requestParameters.orgName, requestParameters.actionPlanId, requestParameters.aiAgentConfirmActionPlanRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2056
|
-
}
|
|
2057
|
-
/**
|
|
2058
|
-
* Continues investigation, regenerates explanation, or creates an action plan from an existing report.
|
|
2059
|
-
* @summary Continue from an AI Agent report
|
|
2060
|
-
* @param {AIAgentApiContinueAIAgentReportRequest} requestParameters Request parameters.
|
|
2061
|
-
* @param {*} [options] Override http request option.
|
|
2062
|
-
* @throws {RequiredError}
|
|
2063
|
-
* @memberof AIAgentApi
|
|
2064
|
-
*/
|
|
2065
|
-
continueAIAgentReport(requestParameters, options) {
|
|
2066
|
-
return (0, exports.AIAgentApiFp)(this.configuration).continueAIAgentReport(requestParameters.orgName, requestParameters.reportId, requestParameters.aiAgentContinueReportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2067
|
-
}
|
|
2068
|
-
/**
|
|
2069
|
-
* Adds a user message and continues, narrows, clarifies, or answers from the current Agent run.
|
|
2070
|
-
* @summary Continue an AI Agent run
|
|
2071
|
-
* @param {AIAgentApiContinueAIAgentRunRequest} requestParameters Request parameters.
|
|
2072
|
-
* @param {*} [options] Override http request option.
|
|
2073
|
-
* @throws {RequiredError}
|
|
2074
|
-
* @memberof AIAgentApi
|
|
2075
|
-
*/
|
|
2076
|
-
continueAIAgentRun(requestParameters, options) {
|
|
2077
|
-
return (0, exports.AIAgentApiFp)(this.configuration).continueAIAgentRun(requestParameters.orgName, requestParameters.runId, requestParameters.aiAgentContinueRunRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2078
|
-
}
|
|
2079
|
-
/**
|
|
2080
|
-
* Creates a single-cluster Chat With AI Agent conversation.
|
|
2081
|
-
* @summary Create an AI Agent conversation
|
|
714
|
+
*
|
|
715
|
+
* @summary Create an AI diagnosis conversation
|
|
2082
716
|
* @param {AIAgentApiCreateAIAgentConversationRequest} requestParameters Request parameters.
|
|
2083
717
|
* @param {*} [options] Override http request option.
|
|
2084
718
|
* @throws {RequiredError}
|
|
@@ -2088,41 +722,8 @@ class AIAgentApi extends base_1.BaseAPI {
|
|
|
2088
722
|
return (0, exports.AIAgentApiFp)(this.configuration).createAIAgentConversation(requestParameters.orgName, requestParameters.aiAgentCreateConversationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2089
723
|
}
|
|
2090
724
|
/**
|
|
2091
|
-
*
|
|
2092
|
-
* @summary Get AI
|
|
2093
|
-
* @param {AIAgentApiGetAIAgentActionExecutionRequest} requestParameters Request parameters.
|
|
2094
|
-
* @param {*} [options] Override http request option.
|
|
2095
|
-
* @throws {RequiredError}
|
|
2096
|
-
* @memberof AIAgentApi
|
|
2097
|
-
*/
|
|
2098
|
-
getAIAgentActionExecution(requestParameters, options) {
|
|
2099
|
-
return (0, exports.AIAgentApiFp)(this.configuration).getAIAgentActionExecution(requestParameters.orgName, requestParameters.actionPlanId, options).then((request) => request(this.axios, this.basePath));
|
|
2100
|
-
}
|
|
2101
|
-
/**
|
|
2102
|
-
* Returns a frontend-safe action plan read model without approval tokens or execution credentials.
|
|
2103
|
-
* @summary Get AI Agent action plan
|
|
2104
|
-
* @param {AIAgentApiGetAIAgentActionPlanRequest} requestParameters Request parameters.
|
|
2105
|
-
* @param {*} [options] Override http request option.
|
|
2106
|
-
* @throws {RequiredError}
|
|
2107
|
-
* @memberof AIAgentApi
|
|
2108
|
-
*/
|
|
2109
|
-
getAIAgentActionPlan(requestParameters, options) {
|
|
2110
|
-
return (0, exports.AIAgentApiFp)(this.configuration).getAIAgentActionPlan(requestParameters.orgName, requestParameters.actionPlanId, options).then((request) => request(this.axios, this.basePath));
|
|
2111
|
-
}
|
|
2112
|
-
/**
|
|
2113
|
-
* Returns the current single-cluster scope, cluster display context, playbooks, suggestions, and frontend-safe capability switches.
|
|
2114
|
-
* @summary Get AI Agent context and capabilities
|
|
2115
|
-
* @param {AIAgentApiGetAIAgentContextRequest} requestParameters Request parameters.
|
|
2116
|
-
* @param {*} [options] Override http request option.
|
|
2117
|
-
* @throws {RequiredError}
|
|
2118
|
-
* @memberof AIAgentApi
|
|
2119
|
-
*/
|
|
2120
|
-
getAIAgentContext(requestParameters, options) {
|
|
2121
|
-
return (0, exports.AIAgentApiFp)(this.configuration).getAIAgentContext(requestParameters.orgName, requestParameters.clusterName, requestParameters.namespace, requestParameters.component, requestParameters.pod, options).then((request) => request(this.axios, this.basePath));
|
|
2122
|
-
}
|
|
2123
|
-
/**
|
|
2124
|
-
* Returns the conversation summary with a recent message preview. Use the paginated message and artifact APIs to restore full history.
|
|
2125
|
-
* @summary Get AI Agent conversation summary
|
|
725
|
+
*
|
|
726
|
+
* @summary Get an AI diagnosis conversation
|
|
2126
727
|
* @param {AIAgentApiGetAIAgentConversationRequest} requestParameters Request parameters.
|
|
2127
728
|
* @param {*} [options] Override http request option.
|
|
2128
729
|
* @throws {RequiredError}
|
|
@@ -2132,191 +733,81 @@ class AIAgentApi extends base_1.BaseAPI {
|
|
|
2132
733
|
return (0, exports.AIAgentApiFp)(this.configuration).getAIAgentConversation(requestParameters.orgName, requestParameters.conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
2133
734
|
}
|
|
2134
735
|
/**
|
|
2135
|
-
*
|
|
2136
|
-
* @summary Get AI
|
|
2137
|
-
* @param {
|
|
2138
|
-
* @param {*} [options] Override http request option.
|
|
2139
|
-
* @throws {RequiredError}
|
|
2140
|
-
* @memberof AIAgentApi
|
|
2141
|
-
*/
|
|
2142
|
-
getAIAgentEvidence(requestParameters, options) {
|
|
2143
|
-
return (0, exports.AIAgentApiFp)(this.configuration).getAIAgentEvidence(requestParameters.orgName, requestParameters.evidenceId, options).then((request) => request(this.axios, this.basePath));
|
|
2144
|
-
}
|
|
2145
|
-
/**
|
|
2146
|
-
* Returns the Result Builder report read model for a run.
|
|
2147
|
-
* @summary Get AI Agent run report
|
|
2148
|
-
* @param {AIAgentApiGetAIAgentReportRequest} requestParameters Request parameters.
|
|
2149
|
-
* @param {*} [options] Override http request option.
|
|
2150
|
-
* @throws {RequiredError}
|
|
2151
|
-
* @memberof AIAgentApi
|
|
2152
|
-
*/
|
|
2153
|
-
getAIAgentReport(requestParameters, options) {
|
|
2154
|
-
return (0, exports.AIAgentApiFp)(this.configuration).getAIAgentReport(requestParameters.orgName, requestParameters.runId, options).then((request) => request(this.axios, this.basePath));
|
|
2155
|
-
}
|
|
2156
|
-
/**
|
|
2157
|
-
* Returns the current run state and branch summaries.
|
|
2158
|
-
* @summary Get AI Agent run
|
|
2159
|
-
* @param {AIAgentApiGetAIAgentRunRequest} requestParameters Request parameters.
|
|
736
|
+
*
|
|
737
|
+
* @summary Get AI diagnosis agent status
|
|
738
|
+
* @param {AIAgentApiGetAIAgentStatusRequest} requestParameters Request parameters.
|
|
2160
739
|
* @param {*} [options] Override http request option.
|
|
2161
740
|
* @throws {RequiredError}
|
|
2162
741
|
* @memberof AIAgentApi
|
|
2163
742
|
*/
|
|
2164
|
-
|
|
2165
|
-
return (0, exports.AIAgentApiFp)(this.configuration).
|
|
743
|
+
getAIAgentStatus(requestParameters, options) {
|
|
744
|
+
return (0, exports.AIAgentApiFp)(this.configuration).getAIAgentStatus(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
|
|
2166
745
|
}
|
|
2167
746
|
/**
|
|
2168
|
-
*
|
|
2169
|
-
* @summary List AI
|
|
2170
|
-
* @param {AIAgentApiListAIAgentConversationReportsRequest} requestParameters Request parameters.
|
|
2171
|
-
* @param {*} [options] Override http request option.
|
|
2172
|
-
* @throws {RequiredError}
|
|
2173
|
-
* @memberof AIAgentApi
|
|
2174
|
-
*/
|
|
2175
|
-
listAIAgentConversationReports(requestParameters, options) {
|
|
2176
|
-
return (0, exports.AIAgentApiFp)(this.configuration).listAIAgentConversationReports(requestParameters.orgName, requestParameters.conversationId, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
2177
|
-
}
|
|
2178
|
-
/**
|
|
2179
|
-
* Lists organization-scoped Chat With AI Agent conversations.
|
|
2180
|
-
* @summary List AI Agent conversations
|
|
747
|
+
*
|
|
748
|
+
* @summary List AI diagnosis conversations
|
|
2181
749
|
* @param {AIAgentApiListAIAgentConversationsRequest} requestParameters Request parameters.
|
|
2182
750
|
* @param {*} [options] Override http request option.
|
|
2183
751
|
* @throws {RequiredError}
|
|
2184
752
|
* @memberof AIAgentApi
|
|
2185
753
|
*/
|
|
2186
754
|
listAIAgentConversations(requestParameters, options) {
|
|
2187
|
-
return (0, exports.AIAgentApiFp)(this.configuration).listAIAgentConversations(requestParameters.orgName, requestParameters.
|
|
755
|
+
return (0, exports.AIAgentApiFp)(this.configuration).listAIAgentConversations(requestParameters.orgName, requestParameters.limit, requestParameters.after, options).then((request) => request(this.axios, this.basePath));
|
|
2188
756
|
}
|
|
2189
757
|
/**
|
|
2190
|
-
*
|
|
2191
|
-
* @summary List AI
|
|
758
|
+
*
|
|
759
|
+
* @summary List AI diagnosis conversation messages
|
|
2192
760
|
* @param {AIAgentApiListAIAgentMessagesRequest} requestParameters Request parameters.
|
|
2193
761
|
* @param {*} [options] Override http request option.
|
|
2194
762
|
* @throws {RequiredError}
|
|
2195
763
|
* @memberof AIAgentApi
|
|
2196
764
|
*/
|
|
2197
765
|
listAIAgentMessages(requestParameters, options) {
|
|
2198
|
-
return (0, exports.AIAgentApiFp)(this.configuration).listAIAgentMessages(requestParameters.orgName, requestParameters.conversationId, requestParameters.
|
|
2199
|
-
}
|
|
2200
|
-
/**
|
|
2201
|
-
* Lists frontend-safe playbook metadata for disabled states and scenario selection.
|
|
2202
|
-
* @summary List AI Agent playbooks
|
|
2203
|
-
* @param {AIAgentApiListAIAgentPlaybooksRequest} requestParameters Request parameters.
|
|
2204
|
-
* @param {*} [options] Override http request option.
|
|
2205
|
-
* @throws {RequiredError}
|
|
2206
|
-
* @memberof AIAgentApi
|
|
2207
|
-
*/
|
|
2208
|
-
listAIAgentPlaybooks(requestParameters, options) {
|
|
2209
|
-
return (0, exports.AIAgentApiFp)(this.configuration).listAIAgentPlaybooks(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
|
|
2210
|
-
}
|
|
2211
|
-
/**
|
|
2212
|
-
* Lists normalized evidence summaries for a run.
|
|
2213
|
-
* @summary List AI Agent run evidence
|
|
2214
|
-
* @param {AIAgentApiListAIAgentRunEvidenceRequest} requestParameters Request parameters.
|
|
2215
|
-
* @param {*} [options] Override http request option.
|
|
2216
|
-
* @throws {RequiredError}
|
|
2217
|
-
* @memberof AIAgentApi
|
|
2218
|
-
*/
|
|
2219
|
-
listAIAgentRunEvidence(requestParameters, options) {
|
|
2220
|
-
return (0, exports.AIAgentApiFp)(this.configuration).listAIAgentRunEvidence(requestParameters.orgName, requestParameters.runId, requestParameters.type, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
2221
|
-
}
|
|
2222
|
-
/**
|
|
2223
|
-
* Lists frontend-safe capability metadata without raw source APIs, credentials, or internal tool arguments.
|
|
2224
|
-
* @summary List AI Agent tool capability summaries
|
|
2225
|
-
* @param {AIAgentApiListAIAgentToolCapabilitiesRequest} requestParameters Request parameters.
|
|
2226
|
-
* @param {*} [options] Override http request option.
|
|
2227
|
-
* @throws {RequiredError}
|
|
2228
|
-
* @memberof AIAgentApi
|
|
2229
|
-
*/
|
|
2230
|
-
listAIAgentToolCapabilities(requestParameters, options) {
|
|
2231
|
-
return (0, exports.AIAgentApiFp)(this.configuration).listAIAgentToolCapabilities(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
|
|
2232
|
-
}
|
|
2233
|
-
/**
|
|
2234
|
-
* Pauses a running Agent workflow.
|
|
2235
|
-
* @summary Pause an AI Agent run
|
|
2236
|
-
* @param {AIAgentApiPauseAIAgentRunRequest} requestParameters Request parameters.
|
|
2237
|
-
* @param {*} [options] Override http request option.
|
|
2238
|
-
* @throws {RequiredError}
|
|
2239
|
-
* @memberof AIAgentApi
|
|
2240
|
-
*/
|
|
2241
|
-
pauseAIAgentRun(requestParameters, options) {
|
|
2242
|
-
return (0, exports.AIAgentApiFp)(this.configuration).pauseAIAgentRun(requestParameters.orgName, requestParameters.runId, options).then((request) => request(this.axios, this.basePath));
|
|
2243
|
-
}
|
|
2244
|
-
/**
|
|
2245
|
-
* Regenerates a report from existing evidence without recollecting source data.
|
|
2246
|
-
* @summary Regenerate an AI Agent report
|
|
2247
|
-
* @param {AIAgentApiRegenerateAIAgentReportRequest} requestParameters Request parameters.
|
|
2248
|
-
* @param {*} [options] Override http request option.
|
|
2249
|
-
* @throws {RequiredError}
|
|
2250
|
-
* @memberof AIAgentApi
|
|
2251
|
-
*/
|
|
2252
|
-
regenerateAIAgentReport(requestParameters, options) {
|
|
2253
|
-
return (0, exports.AIAgentApiFp)(this.configuration).regenerateAIAgentReport(requestParameters.orgName, requestParameters.runId, requestParameters.aiAgentRegenerateReportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2254
|
-
}
|
|
2255
|
-
/**
|
|
2256
|
-
* Rejects a pending Runtime-created tool approval request. The tool is not executed and the Agent returns to the conversation with a safe assistant message.
|
|
2257
|
-
* @summary Reject an AI Agent tool approval request
|
|
2258
|
-
* @param {AIAgentApiRejectAIAgentToolApprovalRequestRequest} requestParameters Request parameters.
|
|
2259
|
-
* @param {*} [options] Override http request option.
|
|
2260
|
-
* @throws {RequiredError}
|
|
2261
|
-
* @memberof AIAgentApi
|
|
2262
|
-
*/
|
|
2263
|
-
rejectAIAgentToolApprovalRequest(requestParameters, options) {
|
|
2264
|
-
return (0, exports.AIAgentApiFp)(this.configuration).rejectAIAgentToolApprovalRequest(requestParameters.orgName, requestParameters.runId, requestParameters.approvalRequestId, requestParameters.aiAgentToolApprovalDecisionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2265
|
-
}
|
|
2266
|
-
/**
|
|
2267
|
-
* Resumes a paused Agent workflow.
|
|
2268
|
-
* @summary Resume an AI Agent run
|
|
2269
|
-
* @param {AIAgentApiResumeAIAgentRunRequest} requestParameters Request parameters.
|
|
2270
|
-
* @param {*} [options] Override http request option.
|
|
2271
|
-
* @throws {RequiredError}
|
|
2272
|
-
* @memberof AIAgentApi
|
|
2273
|
-
*/
|
|
2274
|
-
resumeAIAgentRun(requestParameters, options) {
|
|
2275
|
-
return (0, exports.AIAgentApiFp)(this.configuration).resumeAIAgentRun(requestParameters.orgName, requestParameters.runId, options).then((request) => request(this.axios, this.basePath));
|
|
766
|
+
return (0, exports.AIAgentApiFp)(this.configuration).listAIAgentMessages(requestParameters.orgName, requestParameters.conversationId, requestParameters.after, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
2276
767
|
}
|
|
2277
768
|
/**
|
|
2278
|
-
*
|
|
2279
|
-
* @summary
|
|
2280
|
-
* @param {
|
|
769
|
+
*
|
|
770
|
+
* @summary Reject one AI diagnosis tool confirmation
|
|
771
|
+
* @param {AIAgentApiRejectAIAgentToolConfirmationRequest} requestParameters Request parameters.
|
|
2281
772
|
* @param {*} [options] Override http request option.
|
|
2282
773
|
* @throws {RequiredError}
|
|
2283
774
|
* @memberof AIAgentApi
|
|
2284
775
|
*/
|
|
2285
|
-
|
|
2286
|
-
return (0, exports.AIAgentApiFp)(this.configuration).
|
|
776
|
+
rejectAIAgentToolConfirmation(requestParameters, options) {
|
|
777
|
+
return (0, exports.AIAgentApiFp)(this.configuration).rejectAIAgentToolConfirmation(requestParameters.orgName, requestParameters.conversationId, requestParameters.confirmationId, requestParameters.aiAgentToolConfirmationDecisionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2287
778
|
}
|
|
2288
779
|
/**
|
|
2289
|
-
*
|
|
2290
|
-
* @summary
|
|
2291
|
-
* @param {
|
|
780
|
+
*
|
|
781
|
+
* @summary Send a user message and start or continue AI diagnosis
|
|
782
|
+
* @param {AIAgentApiSendAIAgentMessageRequest} requestParameters Request parameters.
|
|
2292
783
|
* @param {*} [options] Override http request option.
|
|
2293
784
|
* @throws {RequiredError}
|
|
2294
785
|
* @memberof AIAgentApi
|
|
2295
786
|
*/
|
|
2296
|
-
|
|
2297
|
-
return (0, exports.AIAgentApiFp)(this.configuration).
|
|
787
|
+
sendAIAgentMessage(requestParameters, options) {
|
|
788
|
+
return (0, exports.AIAgentApiFp)(this.configuration).sendAIAgentMessage(requestParameters.orgName, requestParameters.conversationId, requestParameters.aiAgentSendMessageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2298
789
|
}
|
|
2299
790
|
/**
|
|
2300
|
-
*
|
|
2301
|
-
* @summary
|
|
2302
|
-
* @param {
|
|
791
|
+
*
|
|
792
|
+
* @summary Stop the current AI diagnosis turn
|
|
793
|
+
* @param {AIAgentApiStopAIAgentConversationRequest} requestParameters Request parameters.
|
|
2303
794
|
* @param {*} [options] Override http request option.
|
|
2304
795
|
* @throws {RequiredError}
|
|
2305
796
|
* @memberof AIAgentApi
|
|
2306
797
|
*/
|
|
2307
|
-
|
|
2308
|
-
return (0, exports.AIAgentApiFp)(this.configuration).
|
|
798
|
+
stopAIAgentConversation(requestParameters, options) {
|
|
799
|
+
return (0, exports.AIAgentApiFp)(this.configuration).stopAIAgentConversation(requestParameters.orgName, requestParameters.conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
2309
800
|
}
|
|
2310
801
|
/**
|
|
2311
|
-
*
|
|
2312
|
-
* @summary Subscribe to AI
|
|
2313
|
-
* @param {
|
|
802
|
+
*
|
|
803
|
+
* @summary Subscribe to AI diagnosis conversation events
|
|
804
|
+
* @param {AIAgentApiSubscribeAIAgentConversationEventsRequest} requestParameters Request parameters.
|
|
2314
805
|
* @param {*} [options] Override http request option.
|
|
2315
806
|
* @throws {RequiredError}
|
|
2316
807
|
* @memberof AIAgentApi
|
|
2317
808
|
*/
|
|
2318
|
-
|
|
2319
|
-
return (0, exports.AIAgentApiFp)(this.configuration).
|
|
809
|
+
subscribeAIAgentConversationEvents(requestParameters, options) {
|
|
810
|
+
return (0, exports.AIAgentApiFp)(this.configuration).subscribeAIAgentConversationEvents(requestParameters.orgName, requestParameters.conversationId, requestParameters.after, options).then((request) => request(this.axios, this.basePath));
|
|
2320
811
|
}
|
|
2321
812
|
}
|
|
2322
813
|
exports.AIAgentApi = AIAgentApi;
|