@rightbrain/brain-api-client 0.0.1-dev.152.8af46e8 → 0.0.1-dev.153.dd63698

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.
Files changed (4) hide show
  1. package/api.ts +6757 -5175
  2. package/dist/api.d.ts +2115 -949
  3. package/dist/api.js +990 -30
  4. package/package.json +1 -1
package/dist/api.js CHANGED
@@ -76,12 +76,12 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
76
76
  };
77
77
  Object.defineProperty(exports, "__esModule", { value: true });
78
78
  exports.OrganizationIAMMemberRoleUpdateRemoveEnum = exports.OrganizationIAMMemberRoleUpdateAddEnum = exports.OrganizationDomainStatusEnum = exports.OrgMembership = exports.OrgInviteShow = exports.OAuthClientUpdateTokenEndpointAuthMethodEnum = exports.OAuthClientProfile = exports.OAuthClientPKCEChallengeMethod = exports.OAuthClientGrantType = exports.OAuthClientCreateTokenEndpointAuthMethodEnum = exports.OAuthClientAccessTokenType = exports.OAuthClientTokenEndpointAuthMethodEnum = exports.NestedStructureItemTypeEnum = exports.NestedStructureTypeEnum = exports.MultipleRolesNotAllowedErrorResponseReasonEnum = exports.ModelExclusionRuleResponseRuleTypeEnum = exports.ModelExclusionRuleRuleTypeEnum = exports.MissingAuthenticationErrorResponseReasonEnum = exports.McpServerIAMPermissionTestPermissionsEnum = exports.McpServerIAMMemberRoleUpdateRemoveEnum = exports.McpServerIAMMemberRoleUpdateAddEnum = exports.MalformedResourceIdentifierErrorResponseReasonEnum = exports.KratosWebhookDetailedMessageTypeEnum = exports.InviteFilter = exports.InvalidSubjectTypeErrorResponseReasonEnum = exports.InvalidRoleErrorResponseReasonEnum = exports.InvalidMemberErrorResponseReasonEnum = exports.IntegrationCatalogItemReadAuthModesEnum = exports.IntegrationCatalogItemReadTypeEnum = exports.IntegrationAuthStatusReadAuthTypeEnum = exports.IntegrationAuthPrincipalReadAuthStateEnum = exports.IntegrationAuthPrincipalReadPrincipalTypeEnum = exports.InputConversationalGuardrailDefinitionNameEnum = exports.FileInputMode = exports.EvalVerdict = exports.EvalStatus = exports.ErrorResponseTypeEnum = exports.DocumentSource = exports.DocumentIAMPermissionTestPermissionsEnum = exports.DocumentIAMMemberRoleUpdateRemoveEnum = exports.DocumentIAMMemberRoleUpdateAddEnum = exports.DispatchResponseStopReasonEnum = exports.DatasourceSyncRunStatusEnum = exports.CreationTrendReportGranularityEnum = exports.ComposeInitLanguageEnum = exports.CollectionIAMPermissionTestPermissionsEnum = exports.CollectionIAMMemberRoleUpdateRemoveEnum = exports.CollectionIAMMemberRoleUpdateAddEnum = exports.ChatGuardrailTypeEnum = exports.AvailableSkillReadScopeEnum = void 0;
79
- exports.TaskAgentTimingReportAggregationEnum = exports.TaskAgentRunStatus = exports.TaskAgentRunModelUsageReadUsageTypeEnum = exports.TaskAgentRegisteredToolReadProvisionSourceEnum = exports.TaskAgentReadTaskAgentRunVisibilityEnum = exports.TaskAgentMode = exports.TaskAgentMcpServerReadProvisionSourceEnum = exports.TaskAgentIntegrationReadProvisionSourceEnum = exports.TaskAgentIntegrationReadIntegrationTypeEnum = exports.TaskAgentIAMPermissionTestPermissionsEnum = exports.TaskAgentIAMMemberRoleUpdateRemoveEnum = exports.TaskAgentIAMMemberRoleUpdateAddEnum = exports.TaskAgentFileMetadataSourceEnum = exports.TaskAgentCreateTaskAgentRunVisibilityEnum = exports.TaskAgentCreateMemoryStrategyEnum = exports.TaskAgentCloneDependencyReportItemStatusEnum = exports.TaskAgentCloneDependencyReportItemActionEnum = exports.TaskAgentCloneDependencyReportItemKindEnum = exports.TaskTaskRunVisibilityEnum = exports.TagOutputFormatInputItemTypeEnum = exports.TagOutputFormatInputTypeEnum = exports.TagEntityTypeEnum = exports.StripePlan = exports.SlackInstallationStatus = exports.SkillIAMPermissionTestPermissionsEnum = exports.SkillIAMMemberRoleUpdateRemoveEnum = exports.SkillIAMMemberRoleUpdateAddEnum = exports.ProjectTaskUsageReportAggregationEnum = exports.ProjectTaskTimingReportAggregationEnum = exports.ProjectTaskRecentRunSummaryStatusEnum = exports.ProjectTaskAgentUsageReportAggregationEnum = exports.ProjectTaskAgentTimingReportAggregationEnum = exports.ProjectIntegrationReadAuthTypeEnum = exports.ProjectIntegrationReadTypeEnum = exports.ProjectIntegrationIAMPermissionTestPermissionsEnum = exports.ProjectIntegrationIAMMemberRoleUpdateRemoveEnum = exports.ProjectIntegrationIAMMemberRoleUpdateAddEnum = exports.ProjectIntegrationCreateTypeEnum = exports.ProjectIAMPermissionTestPermissionsEnum = exports.ProjectIAMMemberRoleUpdateRemoveEnum = exports.ProjectIAMMemberRoleUpdateAddEnum = exports.PlanStatus = exports.PlanInterval = exports.PhaseTimingEntryPhaseEnum = exports.PermissionCheckFailedErrorResponseReasonEnum = exports.OutputModality = exports.OutputFilter = exports.OrganizationMemberAlreadyExistsErrorResponseReasonEnum = exports.OrganizationInviteAlreadyExistsErrorResponseReasonEnum = exports.OrganizationIAMPermissionTestPermissionsEnum = void 0;
80
- exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.AuditEventsApi = exports.AuditEventsApiFactory = exports.AuditEventsApiFp = exports.AuditEventsApiAxiosParamCreator = exports.AgentPackApi = exports.AgentPackApiFactory = exports.AgentPackApiFp = exports.AgentPackApiAxiosParamCreator = exports.APIKeysApi = exports.APIKeysApiFactory = exports.APIKeysApiFp = exports.APIKeysApiAxiosParamCreator = exports.WebhookTriggerCreateAuthMethodEnum = exports.WebhookAuthMethod = exports.VisionFilter = exports.UserProfileUpdateJobRoleEnum = exports.UserOAuthClientCreateTokenEndpointAuthMethodEnum = exports.UserOAuthClientCreateTypeEnum = exports.UserJobRoleEnum = exports.UsageReportStatus = exports.TriggerType = exports.TriggerTargetType = exports.TriggerStatus = exports.TaskUpdateTaskRunVisibilityEnum = exports.TaskToolResultType = exports.TaskToolChoiceEnum = exports.TaskRunUsageReportAggregationEnum = exports.TaskRunTimingReportAggregationEnum = exports.TaskRAGConfigRewriteModeEnum = exports.TaskMcpTransport = exports.TaskMcpServerIAMPermissionTestPermissionsEnum = exports.TaskMcpServerIAMMemberRoleUpdateRemoveEnum = exports.TaskMcpServerIAMMemberRoleUpdateAddEnum = exports.TaskMcpServerCatalogReadAuthModeEnum = exports.TaskMcpServerAuthStateReasonEnum = exports.TaskMcpServerAuthStateEnum = exports.TaskMcpAuthType = exports.TaskMcpAuthStrategy = exports.TaskIAMPermissionTestPermissionsEnum = exports.TaskIAMMemberRoleUpdateRemoveEnum = exports.TaskIAMMemberRoleUpdateAddEnum = exports.TaskForwarderIAMPermissionTestPermissionsEnum = exports.TaskForwarderIAMMemberRoleUpdateRemoveEnum = exports.TaskForwarderIAMMemberRoleUpdateAddEnum = exports.TaskCreateTaskRunVisibilityEnum = exports.TaskAgentUsageReportAggregationEnum = exports.TaskAgentUpdateTaskAgentRunVisibilityEnum = exports.TaskAgentUpdateMemoryStrategyEnum = void 0;
81
- exports.MCPServerApiAxiosParamCreator = exports.MCPRunsApi = exports.MCPRunsApiFactory = exports.MCPRunsApiFp = exports.MCPRunsApiAxiosParamCreator = exports.MCPRunApi = exports.MCPRunApiFactory = exports.MCPRunApiFp = exports.MCPRunApiAxiosParamCreator = exports.ListingsApi = exports.ListingsApiFactory = exports.ListingsApiFp = exports.ListingsApiAxiosParamCreator = exports.RemoveModelExclusionFromProjectRuleTypeEnum = exports.RemoveModelExclusionFromOrgRuleTypeEnum = exports.GetInternalOrgSubscriptionReportStatusEnum = exports.GetInternalOrgSignupsReportGranularityEnum = exports.InternalApi = exports.InternalApiFactory = exports.InternalApiFp = exports.InternalApiAxiosParamCreator = exports.ProjectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamListMembersTypeEnum = exports.IntegrationsApi = exports.IntegrationsApiFactory = exports.IntegrationsApiFp = exports.IntegrationsApiAxiosParamCreator = exports.InputProcessorsApi = exports.InputProcessorsApiFactory = exports.InputProcessorsApiFp = exports.InputProcessorsApiAxiosParamCreator = exports.DocumentIamOrgOrgIdProjectProjectIdDocumentDocumentIdIamListMembersTypeEnum = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.DocumentApi = exports.DocumentApiFactory = exports.DocumentApiFp = exports.DocumentApiAxiosParamCreator = exports.ComposeApi = exports.ComposeApiFactory = exports.ComposeApiFp = exports.ComposeApiAxiosParamCreator = exports.CollectionIamOrgOrgIdProjectProjectIdCollectionCollectionIdIamListMembersTypeEnum = exports.CollectionsApi = exports.CollectionsApiFactory = exports.CollectionsApiFp = exports.CollectionsApiAxiosParamCreator = exports.CollectionApi = exports.CollectionApiFactory = void 0;
82
- exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.SlackApi = exports.SlackApiFactory = exports.SlackApiFp = exports.SlackApiAxiosParamCreator = exports.SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum = exports.SkillsApi = exports.SkillsApiFactory = exports.SkillsApiFp = exports.SkillsApiAxiosParamCreator = exports.ScrapeApi = exports.ScrapeApiFactory = exports.ScrapeApiFp = exports.ScrapeApiAxiosParamCreator = exports.ScheduleTriggersApi = exports.ScheduleTriggersApiFactory = exports.ScheduleTriggersApiFp = exports.ScheduleTriggersApiAxiosParamCreator = exports.ReportingGroupsApi = exports.ReportingGroupsApiFactory = exports.ReportingGroupsApiFp = exports.ReportingGroupsApiAxiosParamCreator = exports.ProjectIamOrgOrgIdProjectProjectIdIamListMembersTypeEnum = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.OrganizationIamListMembersTypeEnum = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.ProjectIamOrgOrgIdProjectProjectIdOauthClientOauthClientIdIamListMembersTypeEnum = exports.OAuthClientsApi = exports.OAuthClientsApiFactory = exports.OAuthClientsApiFp = exports.OAuthClientsApiAxiosParamCreator = exports.McpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamListMembersTypeEnum = exports.MCPServersApi = exports.MCPServersApiFactory = exports.MCPServersApiFp = exports.MCPServersApiAxiosParamCreator = exports.MCPServerApi = exports.MCPServerApiFactory = exports.MCPServerApiFp = void 0;
83
- exports.TaskIamOrgOrgIdProjectProjectIdTaskTaskIdIamListMembersTypeEnum = exports.ListProjectTaskRunsStatusEnum = exports.GetTaskUsageReportAggregationEnum = exports.GetTaskTimingReportAggregationEnum = exports.GetTaskRunsStatusEnum = exports.GetProjectTaskUsageReportAggregationEnum = exports.GetProjectTaskTimingReportAggregationEnum = exports.TasksApi = exports.TasksApiFactory = exports.TasksApiFp = exports.TasksApiAxiosParamCreator = exports.TaskMCPToolsApi = exports.TaskMCPToolsApiFactory = exports.TaskMCPToolsApiFp = exports.TaskMCPToolsApiAxiosParamCreator = exports.TaskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamListMembersTypeEnum = exports.TaskMCPServersApi = exports.TaskMCPServersApiFactory = exports.TaskMCPServersApiFp = exports.TaskMCPServersApiAxiosParamCreator = exports.TaskForwarderIamOrgOrgIdProjectProjectIdTaskForwarderTaskForwarderIdIamListMembersTypeEnum = exports.TaskForwardersApi = exports.TaskForwardersApiFactory = exports.TaskForwardersApiFp = exports.TaskForwardersApiAxiosParamCreator = exports.TaskEvalsApi = exports.TaskEvalsApiFactory = exports.TaskEvalsApiFp = exports.TaskEvalsApiAxiosParamCreator = exports.TaskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembersTypeEnum = exports.GetTaskAgentUsageReportAggregationEnum = exports.GetTaskAgentTimingReportAggregationEnum = exports.GetProjectTaskAgentUsageReportAggregationEnum = exports.GetProjectTaskAgentTimingReportAggregationEnum = exports.TaskAgentsApi = exports.TaskAgentsApiFactory = exports.TaskAgentsApiFp = exports.TaskAgentsApiAxiosParamCreator = exports.TaskAgentSharesApi = exports.TaskAgentSharesApiFactory = exports.TaskAgentSharesApiFp = exports.TaskAgentSharesApiAxiosParamCreator = exports.UpdateTagEntityTypeEnum = exports.RemoveTagFromEntitiesEntityTypeEnum = exports.ListTagsEntityTypeEnum = exports.GetTagEntityTypeEnum = exports.CreateTagEntityTypeEnum = exports.AddTagToEntitiesEntityTypeEnum = exports.TagsApi = exports.TagsApiFactory = void 0;
84
- exports.WebhookTriggersApi = exports.WebhookTriggersApiFactory = exports.WebhookTriggersApiFp = exports.WebhookTriggersApiAxiosParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = void 0;
79
+ exports.TaskAgentRunModelUsageReadUsageTypeEnum = exports.TaskAgentRegisteredToolReadProvisionSourceEnum = exports.TaskAgentReadTaskAgentRunVisibilityEnum = exports.TaskAgentMode = exports.TaskAgentMcpServerReadProvisionSourceEnum = exports.TaskAgentIntegrationReadProvisionSourceEnum = exports.TaskAgentIntegrationReadIntegrationTypeEnum = exports.TaskAgentIAMPermissionTestPermissionsEnum = exports.TaskAgentIAMMemberRoleUpdateRemoveEnum = exports.TaskAgentIAMMemberRoleUpdateAddEnum = exports.TaskAgentFileMetadataSourceEnum = exports.TaskAgentEvalVerdict = exports.TaskAgentEvalStatus = exports.TaskAgentCreateTaskAgentRunVisibilityEnum = exports.TaskAgentCreateMemoryStrategyEnum = exports.TaskAgentCloneDependencyReportItemStatusEnum = exports.TaskAgentCloneDependencyReportItemActionEnum = exports.TaskAgentCloneDependencyReportItemKindEnum = exports.TaskTaskRunVisibilityEnum = exports.TagOutputFormatInputItemTypeEnum = exports.TagOutputFormatInputTypeEnum = exports.TagEntityTypeEnum = exports.StripePlan = exports.SlackInstallationStatus = exports.SkillIAMPermissionTestPermissionsEnum = exports.SkillIAMMemberRoleUpdateRemoveEnum = exports.SkillIAMMemberRoleUpdateAddEnum = exports.ProjectTaskUsageReportAggregationEnum = exports.ProjectTaskTimingReportAggregationEnum = exports.ProjectTaskRecentRunSummaryStatusEnum = exports.ProjectTaskAgentUsageReportAggregationEnum = exports.ProjectTaskAgentTimingReportAggregationEnum = exports.ProjectIntegrationReadAuthTypeEnum = exports.ProjectIntegrationReadTypeEnum = exports.ProjectIntegrationIAMPermissionTestPermissionsEnum = exports.ProjectIntegrationIAMMemberRoleUpdateRemoveEnum = exports.ProjectIntegrationIAMMemberRoleUpdateAddEnum = exports.ProjectIntegrationCreateTypeEnum = exports.ProjectIAMPermissionTestPermissionsEnum = exports.ProjectIAMMemberRoleUpdateRemoveEnum = exports.ProjectIAMMemberRoleUpdateAddEnum = exports.PlanStatus = exports.PlanInterval = exports.PhaseTimingEntryPhaseEnum = exports.PermissionCheckFailedErrorResponseReasonEnum = exports.OutputModality = exports.OutputFilter = exports.OrganizationMemberAlreadyExistsErrorResponseReasonEnum = exports.OrganizationInviteAlreadyExistsErrorResponseReasonEnum = exports.OrganizationIAMPermissionTestPermissionsEnum = void 0;
80
+ exports.AuditEventsApi = exports.AuditEventsApiFactory = exports.AuditEventsApiFp = exports.AuditEventsApiAxiosParamCreator = exports.AgentPackApi = exports.AgentPackApiFactory = exports.AgentPackApiFp = exports.AgentPackApiAxiosParamCreator = exports.APIKeysApi = exports.APIKeysApiFactory = exports.APIKeysApiFp = exports.APIKeysApiAxiosParamCreator = exports.WebhookTriggerCreateAuthMethodEnum = exports.WebhookAuthMethod = exports.VisionFilter = exports.UserProfileUpdateJobRoleEnum = exports.UserOAuthClientCreateTokenEndpointAuthMethodEnum = exports.UserOAuthClientCreateTypeEnum = exports.UserJobRoleEnum = exports.UsageReportStatus = exports.TriggerType = exports.TriggerTargetType = exports.TriggerStatus = exports.TaskUpdateTaskRunVisibilityEnum = exports.TaskToolResultType = exports.TaskToolChoiceEnum = exports.TaskRunUsageReportAggregationEnum = exports.TaskRunTimingReportAggregationEnum = exports.TaskRAGConfigRewriteModeEnum = exports.TaskMcpTransport = exports.TaskMcpServerIAMPermissionTestPermissionsEnum = exports.TaskMcpServerIAMMemberRoleUpdateRemoveEnum = exports.TaskMcpServerIAMMemberRoleUpdateAddEnum = exports.TaskMcpServerCatalogReadAuthModeEnum = exports.TaskMcpServerAuthStateReasonEnum = exports.TaskMcpServerAuthStateEnum = exports.TaskMcpAuthType = exports.TaskMcpAuthStrategy = exports.TaskIAMPermissionTestPermissionsEnum = exports.TaskIAMMemberRoleUpdateRemoveEnum = exports.TaskIAMMemberRoleUpdateAddEnum = exports.TaskForwarderIAMPermissionTestPermissionsEnum = exports.TaskForwarderIAMMemberRoleUpdateRemoveEnum = exports.TaskForwarderIAMMemberRoleUpdateAddEnum = exports.TaskCreateTaskRunVisibilityEnum = exports.TaskAgentUsageReportAggregationEnum = exports.TaskAgentUpdateTaskAgentRunVisibilityEnum = exports.TaskAgentUpdateMemoryStrategyEnum = exports.TaskAgentTimingReportAggregationEnum = exports.TaskAgentRunStatus = void 0;
81
+ exports.MCPRunsApiFactory = exports.MCPRunsApiFp = exports.MCPRunsApiAxiosParamCreator = exports.MCPRunApi = exports.MCPRunApiFactory = exports.MCPRunApiFp = exports.MCPRunApiAxiosParamCreator = exports.ListingsApi = exports.ListingsApiFactory = exports.ListingsApiFp = exports.ListingsApiAxiosParamCreator = exports.RemoveModelExclusionFromProjectRuleTypeEnum = exports.RemoveModelExclusionFromOrgRuleTypeEnum = exports.GetInternalOrgSubscriptionReportStatusEnum = exports.GetInternalOrgSignupsReportGranularityEnum = exports.InternalApi = exports.InternalApiFactory = exports.InternalApiFp = exports.InternalApiAxiosParamCreator = exports.ProjectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamListMembersTypeEnum = exports.IntegrationsApi = exports.IntegrationsApiFactory = exports.IntegrationsApiFp = exports.IntegrationsApiAxiosParamCreator = exports.InputProcessorsApi = exports.InputProcessorsApiFactory = exports.InputProcessorsApiFp = exports.InputProcessorsApiAxiosParamCreator = exports.DocumentIamOrgOrgIdProjectProjectIdDocumentDocumentIdIamListMembersTypeEnum = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.DocumentApi = exports.DocumentApiFactory = exports.DocumentApiFp = exports.DocumentApiAxiosParamCreator = exports.ComposeApi = exports.ComposeApiFactory = exports.ComposeApiFp = exports.ComposeApiAxiosParamCreator = exports.CollectionIamOrgOrgIdProjectProjectIdCollectionCollectionIdIamListMembersTypeEnum = exports.CollectionsApi = exports.CollectionsApiFactory = exports.CollectionsApiFp = exports.CollectionsApiAxiosParamCreator = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = void 0;
82
+ exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.SlackApi = exports.SlackApiFactory = exports.SlackApiFp = exports.SlackApiAxiosParamCreator = exports.SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum = exports.SkillsApi = exports.SkillsApiFactory = exports.SkillsApiFp = exports.SkillsApiAxiosParamCreator = exports.ScrapeApi = exports.ScrapeApiFactory = exports.ScrapeApiFp = exports.ScrapeApiAxiosParamCreator = exports.ScheduleTriggersApi = exports.ScheduleTriggersApiFactory = exports.ScheduleTriggersApiFp = exports.ScheduleTriggersApiAxiosParamCreator = exports.ReportingGroupsApi = exports.ReportingGroupsApiFactory = exports.ReportingGroupsApiFp = exports.ReportingGroupsApiAxiosParamCreator = exports.ProjectIamOrgOrgIdProjectProjectIdIamListMembersTypeEnum = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.OrganizationIamListMembersTypeEnum = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.ProjectIamOrgOrgIdProjectProjectIdOauthClientOauthClientIdIamListMembersTypeEnum = exports.OAuthClientsApi = exports.OAuthClientsApiFactory = exports.OAuthClientsApiFp = exports.OAuthClientsApiAxiosParamCreator = exports.McpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamListMembersTypeEnum = exports.MCPServersApi = exports.MCPServersApiFactory = exports.MCPServersApiFp = exports.MCPServersApiAxiosParamCreator = exports.MCPServerApi = exports.MCPServerApiFactory = exports.MCPServerApiFp = exports.MCPServerApiAxiosParamCreator = exports.MCPRunsApi = void 0;
83
+ exports.GetProjectTaskTimingReportAggregationEnum = exports.TasksApi = exports.TasksApiFactory = exports.TasksApiFp = exports.TasksApiAxiosParamCreator = exports.TaskMCPToolsApi = exports.TaskMCPToolsApiFactory = exports.TaskMCPToolsApiFp = exports.TaskMCPToolsApiAxiosParamCreator = exports.TaskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamListMembersTypeEnum = exports.TaskMCPServersApi = exports.TaskMCPServersApiFactory = exports.TaskMCPServersApiFp = exports.TaskMCPServersApiAxiosParamCreator = exports.TaskForwarderIamOrgOrgIdProjectProjectIdTaskForwarderTaskForwarderIdIamListMembersTypeEnum = exports.TaskForwardersApi = exports.TaskForwardersApiFactory = exports.TaskForwardersApiFp = exports.TaskForwardersApiAxiosParamCreator = exports.TaskEvalsApi = exports.TaskEvalsApiFactory = exports.TaskEvalsApiFp = exports.TaskEvalsApiAxiosParamCreator = exports.TaskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembersTypeEnum = exports.GetTaskAgentUsageReportAggregationEnum = exports.GetTaskAgentTimingReportAggregationEnum = exports.GetProjectTaskAgentUsageReportAggregationEnum = exports.GetProjectTaskAgentTimingReportAggregationEnum = exports.TaskAgentsApi = exports.TaskAgentsApiFactory = exports.TaskAgentsApiFp = exports.TaskAgentsApiAxiosParamCreator = exports.TaskAgentSharesApi = exports.TaskAgentSharesApiFactory = exports.TaskAgentSharesApiFp = exports.TaskAgentSharesApiAxiosParamCreator = exports.TaskAgentEvalsApi = exports.TaskAgentEvalsApiFactory = exports.TaskAgentEvalsApiFp = exports.TaskAgentEvalsApiAxiosParamCreator = exports.UpdateTagEntityTypeEnum = exports.RemoveTagFromEntitiesEntityTypeEnum = exports.ListTagsEntityTypeEnum = exports.GetTagEntityTypeEnum = exports.CreateTagEntityTypeEnum = exports.AddTagToEntitiesEntityTypeEnum = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = void 0;
84
+ exports.WebhookTriggersApi = exports.WebhookTriggersApiFactory = exports.WebhookTriggersApiFp = exports.WebhookTriggersApiAxiosParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.TaskIamOrgOrgIdProjectProjectIdTaskTaskIdIamListMembersTypeEnum = exports.ListProjectTaskRunsStatusEnum = exports.GetTaskUsageReportAggregationEnum = exports.GetTaskTimingReportAggregationEnum = exports.GetTaskRunsStatusEnum = exports.GetProjectTaskUsageReportAggregationEnum = void 0;
85
85
  var axios_1 = require("axios");
86
86
  // Some imports not used depending on template conditions
87
87
  // @ts-ignore
@@ -736,6 +736,26 @@ exports.TaskAgentCreateTaskAgentRunVisibilityEnum = {
736
736
  EditorsAndOwners: 'editors_and_owners',
737
737
  AllViewers: 'all_viewers'
738
738
  };
739
+ /**
740
+ * Status of a TaskAgent eval run.
741
+ * @export
742
+ * @enum {string}
743
+ */
744
+ exports.TaskAgentEvalStatus = {
745
+ Pending: 'pending',
746
+ Running: 'running',
747
+ Completed: 'completed',
748
+ Failed: 'failed'
749
+ };
750
+ /**
751
+ * Judge verdict for a TaskAgent eval result.
752
+ * @export
753
+ * @enum {string}
754
+ */
755
+ exports.TaskAgentEvalVerdict = {
756
+ Pass: 'pass',
757
+ Fail: 'fail'
758
+ };
739
759
  exports.TaskAgentFileMetadataSourceEnum = {
740
760
  Input: 'input',
741
761
  Generated: 'generated'
@@ -26223,6 +26243,946 @@ exports.UpdateTagEntityTypeEnum = {
26223
26243
  Skill: 'skill',
26224
26244
  TaskAgentRevision: 'task_agent_revision'
26225
26245
  };
26246
+ /**
26247
+ * TaskAgentEvalsApi - axios parameter creator
26248
+ * @export
26249
+ */
26250
+ var TaskAgentEvalsApiAxiosParamCreator = function (configuration) {
26251
+ var _this = this;
26252
+ return {
26253
+ /**
26254
+ * Create a TaskAgent eval run and enqueue background execution. Callers are responsible for understanding candidate run side effects, external tool or integration mutations, and quota usage before starting an eval.
26255
+ * @summary Start TaskAgent Eval Run
26256
+ * @param {string} orgId The organization ID
26257
+ * @param {string} projectId The project ID
26258
+ * @param {string} taskAgentId The task agent ID
26259
+ * @param {TaskAgentEvalRunCreate} taskAgentEvalRunCreate
26260
+ * @param {*} [options] Override http request option.
26261
+ * @throws {RequiredError}
26262
+ */
26263
+ createTaskAgentEvalRun: function (orgId, projectId, taskAgentId, taskAgentEvalRunCreate, options) {
26264
+ if (options === void 0) { options = {}; }
26265
+ return __awaiter(_this, void 0, void 0, function () {
26266
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26267
+ return __generator(this, function (_a) {
26268
+ switch (_a.label) {
26269
+ case 0:
26270
+ // verify required parameter 'orgId' is not null or undefined
26271
+ (0, common_1.assertParamExists)('createTaskAgentEvalRun', 'orgId', orgId);
26272
+ // verify required parameter 'projectId' is not null or undefined
26273
+ (0, common_1.assertParamExists)('createTaskAgentEvalRun', 'projectId', projectId);
26274
+ // verify required parameter 'taskAgentId' is not null or undefined
26275
+ (0, common_1.assertParamExists)('createTaskAgentEvalRun', 'taskAgentId', taskAgentId);
26276
+ // verify required parameter 'taskAgentEvalRunCreate' is not null or undefined
26277
+ (0, common_1.assertParamExists)('createTaskAgentEvalRun', 'taskAgentEvalRunCreate', taskAgentEvalRunCreate);
26278
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/eval/run"
26279
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26280
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26281
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)));
26282
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26283
+ if (configuration) {
26284
+ baseOptions = configuration.baseOptions;
26285
+ }
26286
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
26287
+ localVarHeaderParameter = {};
26288
+ localVarQueryParameter = {};
26289
+ // authentication HTTPBearer required
26290
+ // http bearer authentication required
26291
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26292
+ case 1:
26293
+ // authentication HTTPBearer required
26294
+ // http bearer authentication required
26295
+ _a.sent();
26296
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26297
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26298
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26299
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26300
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(taskAgentEvalRunCreate, localVarRequestOptions, configuration);
26301
+ return [2 /*return*/, {
26302
+ url: (0, common_1.toPathString)(localVarUrlObj),
26303
+ options: localVarRequestOptions,
26304
+ }];
26305
+ }
26306
+ });
26307
+ });
26308
+ },
26309
+ /**
26310
+ * Create a reusable TaskAgent eval set from completed, replayable TaskAgent runs. Reference inputs and outputs are snapshotted for stable future evals but are not exposed in this API version.
26311
+ * @summary Create TaskAgent Eval Set
26312
+ * @param {string} orgId The organization ID
26313
+ * @param {string} projectId The project ID
26314
+ * @param {string} taskAgentId The task agent ID
26315
+ * @param {TaskAgentEvalSetCreate} taskAgentEvalSetCreate
26316
+ * @param {*} [options] Override http request option.
26317
+ * @throws {RequiredError}
26318
+ */
26319
+ createTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetCreate, options) {
26320
+ if (options === void 0) { options = {}; }
26321
+ return __awaiter(_this, void 0, void 0, function () {
26322
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26323
+ return __generator(this, function (_a) {
26324
+ switch (_a.label) {
26325
+ case 0:
26326
+ // verify required parameter 'orgId' is not null or undefined
26327
+ (0, common_1.assertParamExists)('createTaskAgentEvalSet', 'orgId', orgId);
26328
+ // verify required parameter 'projectId' is not null or undefined
26329
+ (0, common_1.assertParamExists)('createTaskAgentEvalSet', 'projectId', projectId);
26330
+ // verify required parameter 'taskAgentId' is not null or undefined
26331
+ (0, common_1.assertParamExists)('createTaskAgentEvalSet', 'taskAgentId', taskAgentId);
26332
+ // verify required parameter 'taskAgentEvalSetCreate' is not null or undefined
26333
+ (0, common_1.assertParamExists)('createTaskAgentEvalSet', 'taskAgentEvalSetCreate', taskAgentEvalSetCreate);
26334
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/eval/set"
26335
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26336
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26337
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)));
26338
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26339
+ if (configuration) {
26340
+ baseOptions = configuration.baseOptions;
26341
+ }
26342
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
26343
+ localVarHeaderParameter = {};
26344
+ localVarQueryParameter = {};
26345
+ // authentication HTTPBearer required
26346
+ // http bearer authentication required
26347
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26348
+ case 1:
26349
+ // authentication HTTPBearer required
26350
+ // http bearer authentication required
26351
+ _a.sent();
26352
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26353
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26354
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26355
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26356
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(taskAgentEvalSetCreate, localVarRequestOptions, configuration);
26357
+ return [2 /*return*/, {
26358
+ url: (0, common_1.toPathString)(localVarUrlObj),
26359
+ options: localVarRequestOptions,
26360
+ }];
26361
+ }
26362
+ });
26363
+ });
26364
+ },
26365
+ /**
26366
+ * Delete a TaskAgent eval set when it is not referenced by a pending or running eval run.
26367
+ * @summary Delete TaskAgent Eval Set
26368
+ * @param {string} orgId The organization ID
26369
+ * @param {string} projectId The project ID
26370
+ * @param {string} taskAgentId The task agent ID
26371
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
26372
+ * @param {*} [options] Override http request option.
26373
+ * @throws {RequiredError}
26374
+ */
26375
+ deleteTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetId, options) {
26376
+ if (options === void 0) { options = {}; }
26377
+ return __awaiter(_this, void 0, void 0, function () {
26378
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26379
+ return __generator(this, function (_a) {
26380
+ switch (_a.label) {
26381
+ case 0:
26382
+ // verify required parameter 'orgId' is not null or undefined
26383
+ (0, common_1.assertParamExists)('deleteTaskAgentEvalSet', 'orgId', orgId);
26384
+ // verify required parameter 'projectId' is not null or undefined
26385
+ (0, common_1.assertParamExists)('deleteTaskAgentEvalSet', 'projectId', projectId);
26386
+ // verify required parameter 'taskAgentId' is not null or undefined
26387
+ (0, common_1.assertParamExists)('deleteTaskAgentEvalSet', 'taskAgentId', taskAgentId);
26388
+ // verify required parameter 'taskAgentEvalSetId' is not null or undefined
26389
+ (0, common_1.assertParamExists)('deleteTaskAgentEvalSet', 'taskAgentEvalSetId', taskAgentEvalSetId);
26390
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/eval/set/{task_agent_eval_set_id}"
26391
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26392
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26393
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)))
26394
+ .replace("{".concat("task_agent_eval_set_id", "}"), encodeURIComponent(String(taskAgentEvalSetId)));
26395
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26396
+ if (configuration) {
26397
+ baseOptions = configuration.baseOptions;
26398
+ }
26399
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
26400
+ localVarHeaderParameter = {};
26401
+ localVarQueryParameter = {};
26402
+ // authentication HTTPBearer required
26403
+ // http bearer authentication required
26404
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26405
+ case 1:
26406
+ // authentication HTTPBearer required
26407
+ // http bearer authentication required
26408
+ _a.sent();
26409
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26410
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26411
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26412
+ return [2 /*return*/, {
26413
+ url: (0, common_1.toPathString)(localVarUrlObj),
26414
+ options: localVarRequestOptions,
26415
+ }];
26416
+ }
26417
+ });
26418
+ });
26419
+ },
26420
+ /**
26421
+ * Get TaskAgent eval run detail, including verdicts, aggregate metrics, and per-result run metrics when the underlying source rows still exist. Encrypted reference and candidate output snapshots are not exposed.
26422
+ * @summary Get TaskAgent Eval Run
26423
+ * @param {string} orgId The organization ID
26424
+ * @param {string} projectId The project ID
26425
+ * @param {string} taskAgentId The task agent ID
26426
+ * @param {string} taskAgentEvalRunId The TaskAgent eval run ID
26427
+ * @param {*} [options] Override http request option.
26428
+ * @throws {RequiredError}
26429
+ */
26430
+ getTaskAgentEvalRun: function (orgId, projectId, taskAgentId, taskAgentEvalRunId, options) {
26431
+ if (options === void 0) { options = {}; }
26432
+ return __awaiter(_this, void 0, void 0, function () {
26433
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26434
+ return __generator(this, function (_a) {
26435
+ switch (_a.label) {
26436
+ case 0:
26437
+ // verify required parameter 'orgId' is not null or undefined
26438
+ (0, common_1.assertParamExists)('getTaskAgentEvalRun', 'orgId', orgId);
26439
+ // verify required parameter 'projectId' is not null or undefined
26440
+ (0, common_1.assertParamExists)('getTaskAgentEvalRun', 'projectId', projectId);
26441
+ // verify required parameter 'taskAgentId' is not null or undefined
26442
+ (0, common_1.assertParamExists)('getTaskAgentEvalRun', 'taskAgentId', taskAgentId);
26443
+ // verify required parameter 'taskAgentEvalRunId' is not null or undefined
26444
+ (0, common_1.assertParamExists)('getTaskAgentEvalRun', 'taskAgentEvalRunId', taskAgentEvalRunId);
26445
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/eval/run/{task_agent_eval_run_id}"
26446
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26447
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26448
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)))
26449
+ .replace("{".concat("task_agent_eval_run_id", "}"), encodeURIComponent(String(taskAgentEvalRunId)));
26450
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26451
+ if (configuration) {
26452
+ baseOptions = configuration.baseOptions;
26453
+ }
26454
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
26455
+ localVarHeaderParameter = {};
26456
+ localVarQueryParameter = {};
26457
+ // authentication HTTPBearer required
26458
+ // http bearer authentication required
26459
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26460
+ case 1:
26461
+ // authentication HTTPBearer required
26462
+ // http bearer authentication required
26463
+ _a.sent();
26464
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26465
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26466
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26467
+ return [2 /*return*/, {
26468
+ url: (0, common_1.toPathString)(localVarUrlObj),
26469
+ options: localVarRequestOptions,
26470
+ }];
26471
+ }
26472
+ });
26473
+ });
26474
+ },
26475
+ /**
26476
+ * Get one TaskAgent eval set by ID. The response includes preserved source TaskAgent run IDs but not encrypted snapshot text.
26477
+ * @summary Get TaskAgent Eval Set
26478
+ * @param {string} orgId The organization ID
26479
+ * @param {string} projectId The project ID
26480
+ * @param {string} taskAgentId The task agent ID
26481
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
26482
+ * @param {*} [options] Override http request option.
26483
+ * @throws {RequiredError}
26484
+ */
26485
+ getTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetId, options) {
26486
+ if (options === void 0) { options = {}; }
26487
+ return __awaiter(_this, void 0, void 0, function () {
26488
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26489
+ return __generator(this, function (_a) {
26490
+ switch (_a.label) {
26491
+ case 0:
26492
+ // verify required parameter 'orgId' is not null or undefined
26493
+ (0, common_1.assertParamExists)('getTaskAgentEvalSet', 'orgId', orgId);
26494
+ // verify required parameter 'projectId' is not null or undefined
26495
+ (0, common_1.assertParamExists)('getTaskAgentEvalSet', 'projectId', projectId);
26496
+ // verify required parameter 'taskAgentId' is not null or undefined
26497
+ (0, common_1.assertParamExists)('getTaskAgentEvalSet', 'taskAgentId', taskAgentId);
26498
+ // verify required parameter 'taskAgentEvalSetId' is not null or undefined
26499
+ (0, common_1.assertParamExists)('getTaskAgentEvalSet', 'taskAgentEvalSetId', taskAgentEvalSetId);
26500
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/eval/set/{task_agent_eval_set_id}"
26501
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26502
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26503
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)))
26504
+ .replace("{".concat("task_agent_eval_set_id", "}"), encodeURIComponent(String(taskAgentEvalSetId)));
26505
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26506
+ if (configuration) {
26507
+ baseOptions = configuration.baseOptions;
26508
+ }
26509
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
26510
+ localVarHeaderParameter = {};
26511
+ localVarQueryParameter = {};
26512
+ // authentication HTTPBearer required
26513
+ // http bearer authentication required
26514
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26515
+ case 1:
26516
+ // authentication HTTPBearer required
26517
+ // http bearer authentication required
26518
+ _a.sent();
26519
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26520
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26521
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26522
+ return [2 /*return*/, {
26523
+ url: (0, common_1.toPathString)(localVarUrlObj),
26524
+ options: localVarRequestOptions,
26525
+ }];
26526
+ }
26527
+ });
26528
+ });
26529
+ },
26530
+ /**
26531
+ * List TaskAgent eval runs visible to the caller. Viewers without full run visibility only see eval runs they created.
26532
+ * @summary List TaskAgent Eval Runs
26533
+ * @param {string} orgId The organization ID
26534
+ * @param {string} projectId The project ID
26535
+ * @param {string} taskAgentId The task agent ID
26536
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to `100` if not specified.
26537
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
26538
+ * @param {*} [options] Override http request option.
26539
+ * @throws {RequiredError}
26540
+ */
26541
+ listTaskAgentEvalRuns: function (orgId, projectId, taskAgentId, limit, cursor, options) {
26542
+ if (options === void 0) { options = {}; }
26543
+ return __awaiter(_this, void 0, void 0, function () {
26544
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26545
+ return __generator(this, function (_a) {
26546
+ switch (_a.label) {
26547
+ case 0:
26548
+ // verify required parameter 'orgId' is not null or undefined
26549
+ (0, common_1.assertParamExists)('listTaskAgentEvalRuns', 'orgId', orgId);
26550
+ // verify required parameter 'projectId' is not null or undefined
26551
+ (0, common_1.assertParamExists)('listTaskAgentEvalRuns', 'projectId', projectId);
26552
+ // verify required parameter 'taskAgentId' is not null or undefined
26553
+ (0, common_1.assertParamExists)('listTaskAgentEvalRuns', 'taskAgentId', taskAgentId);
26554
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/eval/run"
26555
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26556
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26557
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)));
26558
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26559
+ if (configuration) {
26560
+ baseOptions = configuration.baseOptions;
26561
+ }
26562
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
26563
+ localVarHeaderParameter = {};
26564
+ localVarQueryParameter = {};
26565
+ // authentication HTTPBearer required
26566
+ // http bearer authentication required
26567
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26568
+ case 1:
26569
+ // authentication HTTPBearer required
26570
+ // http bearer authentication required
26571
+ _a.sent();
26572
+ if (limit !== undefined) {
26573
+ localVarQueryParameter['limit'] = limit;
26574
+ }
26575
+ if (cursor !== undefined) {
26576
+ localVarQueryParameter['cursor'] = cursor;
26577
+ }
26578
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26579
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26580
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26581
+ return [2 /*return*/, {
26582
+ url: (0, common_1.toPathString)(localVarUrlObj),
26583
+ options: localVarRequestOptions,
26584
+ }];
26585
+ }
26586
+ });
26587
+ });
26588
+ },
26589
+ /**
26590
+ * List TaskAgent eval sets visible to the caller. Viewers without full run visibility only see eval artifacts they created.
26591
+ * @summary List TaskAgent Eval Sets
26592
+ * @param {string} orgId The organization ID
26593
+ * @param {string} projectId The project ID
26594
+ * @param {string} taskAgentId The task agent ID
26595
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to `100` if not specified.
26596
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
26597
+ * @param {*} [options] Override http request option.
26598
+ * @throws {RequiredError}
26599
+ */
26600
+ listTaskAgentEvalSets: function (orgId, projectId, taskAgentId, limit, cursor, options) {
26601
+ if (options === void 0) { options = {}; }
26602
+ return __awaiter(_this, void 0, void 0, function () {
26603
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26604
+ return __generator(this, function (_a) {
26605
+ switch (_a.label) {
26606
+ case 0:
26607
+ // verify required parameter 'orgId' is not null or undefined
26608
+ (0, common_1.assertParamExists)('listTaskAgentEvalSets', 'orgId', orgId);
26609
+ // verify required parameter 'projectId' is not null or undefined
26610
+ (0, common_1.assertParamExists)('listTaskAgentEvalSets', 'projectId', projectId);
26611
+ // verify required parameter 'taskAgentId' is not null or undefined
26612
+ (0, common_1.assertParamExists)('listTaskAgentEvalSets', 'taskAgentId', taskAgentId);
26613
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/eval/set"
26614
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26615
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26616
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)));
26617
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26618
+ if (configuration) {
26619
+ baseOptions = configuration.baseOptions;
26620
+ }
26621
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
26622
+ localVarHeaderParameter = {};
26623
+ localVarQueryParameter = {};
26624
+ // authentication HTTPBearer required
26625
+ // http bearer authentication required
26626
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26627
+ case 1:
26628
+ // authentication HTTPBearer required
26629
+ // http bearer authentication required
26630
+ _a.sent();
26631
+ if (limit !== undefined) {
26632
+ localVarQueryParameter['limit'] = limit;
26633
+ }
26634
+ if (cursor !== undefined) {
26635
+ localVarQueryParameter['cursor'] = cursor;
26636
+ }
26637
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26638
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26639
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26640
+ return [2 /*return*/, {
26641
+ url: (0, common_1.toPathString)(localVarUrlObj),
26642
+ options: localVarRequestOptions,
26643
+ }];
26644
+ }
26645
+ });
26646
+ });
26647
+ },
26648
+ /**
26649
+ * Update a TaskAgent eval set name, description, or reference runs. Replacing reference runs creates fresh encrypted snapshots and preserves the submitted order.
26650
+ * @summary Update TaskAgent Eval Set
26651
+ * @param {string} orgId The organization ID
26652
+ * @param {string} projectId The project ID
26653
+ * @param {string} taskAgentId The task agent ID
26654
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
26655
+ * @param {TaskAgentEvalSetUpdate} taskAgentEvalSetUpdate
26656
+ * @param {*} [options] Override http request option.
26657
+ * @throws {RequiredError}
26658
+ */
26659
+ updateTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetId, taskAgentEvalSetUpdate, options) {
26660
+ if (options === void 0) { options = {}; }
26661
+ return __awaiter(_this, void 0, void 0, function () {
26662
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26663
+ return __generator(this, function (_a) {
26664
+ switch (_a.label) {
26665
+ case 0:
26666
+ // verify required parameter 'orgId' is not null or undefined
26667
+ (0, common_1.assertParamExists)('updateTaskAgentEvalSet', 'orgId', orgId);
26668
+ // verify required parameter 'projectId' is not null or undefined
26669
+ (0, common_1.assertParamExists)('updateTaskAgentEvalSet', 'projectId', projectId);
26670
+ // verify required parameter 'taskAgentId' is not null or undefined
26671
+ (0, common_1.assertParamExists)('updateTaskAgentEvalSet', 'taskAgentId', taskAgentId);
26672
+ // verify required parameter 'taskAgentEvalSetId' is not null or undefined
26673
+ (0, common_1.assertParamExists)('updateTaskAgentEvalSet', 'taskAgentEvalSetId', taskAgentEvalSetId);
26674
+ // verify required parameter 'taskAgentEvalSetUpdate' is not null or undefined
26675
+ (0, common_1.assertParamExists)('updateTaskAgentEvalSet', 'taskAgentEvalSetUpdate', taskAgentEvalSetUpdate);
26676
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/eval/set/{task_agent_eval_set_id}"
26677
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26678
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26679
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)))
26680
+ .replace("{".concat("task_agent_eval_set_id", "}"), encodeURIComponent(String(taskAgentEvalSetId)));
26681
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26682
+ if (configuration) {
26683
+ baseOptions = configuration.baseOptions;
26684
+ }
26685
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
26686
+ localVarHeaderParameter = {};
26687
+ localVarQueryParameter = {};
26688
+ // authentication HTTPBearer required
26689
+ // http bearer authentication required
26690
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26691
+ case 1:
26692
+ // authentication HTTPBearer required
26693
+ // http bearer authentication required
26694
+ _a.sent();
26695
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26696
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26697
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26698
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26699
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(taskAgentEvalSetUpdate, localVarRequestOptions, configuration);
26700
+ return [2 /*return*/, {
26701
+ url: (0, common_1.toPathString)(localVarUrlObj),
26702
+ options: localVarRequestOptions,
26703
+ }];
26704
+ }
26705
+ });
26706
+ });
26707
+ },
26708
+ };
26709
+ };
26710
+ exports.TaskAgentEvalsApiAxiosParamCreator = TaskAgentEvalsApiAxiosParamCreator;
26711
+ /**
26712
+ * TaskAgentEvalsApi - functional programming interface
26713
+ * @export
26714
+ */
26715
+ var TaskAgentEvalsApiFp = function (configuration) {
26716
+ var localVarAxiosParamCreator = (0, exports.TaskAgentEvalsApiAxiosParamCreator)(configuration);
26717
+ return {
26718
+ /**
26719
+ * Create a TaskAgent eval run and enqueue background execution. Callers are responsible for understanding candidate run side effects, external tool or integration mutations, and quota usage before starting an eval.
26720
+ * @summary Start TaskAgent Eval Run
26721
+ * @param {string} orgId The organization ID
26722
+ * @param {string} projectId The project ID
26723
+ * @param {string} taskAgentId The task agent ID
26724
+ * @param {TaskAgentEvalRunCreate} taskAgentEvalRunCreate
26725
+ * @param {*} [options] Override http request option.
26726
+ * @throws {RequiredError}
26727
+ */
26728
+ createTaskAgentEvalRun: function (orgId, projectId, taskAgentId, taskAgentEvalRunCreate, options) {
26729
+ var _a, _b, _c;
26730
+ return __awaiter(this, void 0, void 0, function () {
26731
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26732
+ return __generator(this, function (_d) {
26733
+ switch (_d.label) {
26734
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createTaskAgentEvalRun(orgId, projectId, taskAgentId, taskAgentEvalRunCreate, options)];
26735
+ case 1:
26736
+ localVarAxiosArgs = _d.sent();
26737
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26738
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentEvalsApi.createTaskAgentEvalRun']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26739
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26740
+ }
26741
+ });
26742
+ });
26743
+ },
26744
+ /**
26745
+ * Create a reusable TaskAgent eval set from completed, replayable TaskAgent runs. Reference inputs and outputs are snapshotted for stable future evals but are not exposed in this API version.
26746
+ * @summary Create TaskAgent Eval Set
26747
+ * @param {string} orgId The organization ID
26748
+ * @param {string} projectId The project ID
26749
+ * @param {string} taskAgentId The task agent ID
26750
+ * @param {TaskAgentEvalSetCreate} taskAgentEvalSetCreate
26751
+ * @param {*} [options] Override http request option.
26752
+ * @throws {RequiredError}
26753
+ */
26754
+ createTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetCreate, options) {
26755
+ var _a, _b, _c;
26756
+ return __awaiter(this, void 0, void 0, function () {
26757
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26758
+ return __generator(this, function (_d) {
26759
+ switch (_d.label) {
26760
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetCreate, options)];
26761
+ case 1:
26762
+ localVarAxiosArgs = _d.sent();
26763
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26764
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentEvalsApi.createTaskAgentEvalSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26765
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26766
+ }
26767
+ });
26768
+ });
26769
+ },
26770
+ /**
26771
+ * Delete a TaskAgent eval set when it is not referenced by a pending or running eval run.
26772
+ * @summary Delete TaskAgent Eval Set
26773
+ * @param {string} orgId The organization ID
26774
+ * @param {string} projectId The project ID
26775
+ * @param {string} taskAgentId The task agent ID
26776
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
26777
+ * @param {*} [options] Override http request option.
26778
+ * @throws {RequiredError}
26779
+ */
26780
+ deleteTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetId, options) {
26781
+ var _a, _b, _c;
26782
+ return __awaiter(this, void 0, void 0, function () {
26783
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26784
+ return __generator(this, function (_d) {
26785
+ switch (_d.label) {
26786
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetId, options)];
26787
+ case 1:
26788
+ localVarAxiosArgs = _d.sent();
26789
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26790
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentEvalsApi.deleteTaskAgentEvalSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26791
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26792
+ }
26793
+ });
26794
+ });
26795
+ },
26796
+ /**
26797
+ * Get TaskAgent eval run detail, including verdicts, aggregate metrics, and per-result run metrics when the underlying source rows still exist. Encrypted reference and candidate output snapshots are not exposed.
26798
+ * @summary Get TaskAgent Eval Run
26799
+ * @param {string} orgId The organization ID
26800
+ * @param {string} projectId The project ID
26801
+ * @param {string} taskAgentId The task agent ID
26802
+ * @param {string} taskAgentEvalRunId The TaskAgent eval run ID
26803
+ * @param {*} [options] Override http request option.
26804
+ * @throws {RequiredError}
26805
+ */
26806
+ getTaskAgentEvalRun: function (orgId, projectId, taskAgentId, taskAgentEvalRunId, options) {
26807
+ var _a, _b, _c;
26808
+ return __awaiter(this, void 0, void 0, function () {
26809
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26810
+ return __generator(this, function (_d) {
26811
+ switch (_d.label) {
26812
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTaskAgentEvalRun(orgId, projectId, taskAgentId, taskAgentEvalRunId, options)];
26813
+ case 1:
26814
+ localVarAxiosArgs = _d.sent();
26815
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26816
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentEvalsApi.getTaskAgentEvalRun']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26817
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26818
+ }
26819
+ });
26820
+ });
26821
+ },
26822
+ /**
26823
+ * Get one TaskAgent eval set by ID. The response includes preserved source TaskAgent run IDs but not encrypted snapshot text.
26824
+ * @summary Get TaskAgent Eval Set
26825
+ * @param {string} orgId The organization ID
26826
+ * @param {string} projectId The project ID
26827
+ * @param {string} taskAgentId The task agent ID
26828
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
26829
+ * @param {*} [options] Override http request option.
26830
+ * @throws {RequiredError}
26831
+ */
26832
+ getTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetId, options) {
26833
+ var _a, _b, _c;
26834
+ return __awaiter(this, void 0, void 0, function () {
26835
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26836
+ return __generator(this, function (_d) {
26837
+ switch (_d.label) {
26838
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetId, options)];
26839
+ case 1:
26840
+ localVarAxiosArgs = _d.sent();
26841
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26842
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentEvalsApi.getTaskAgentEvalSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26843
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26844
+ }
26845
+ });
26846
+ });
26847
+ },
26848
+ /**
26849
+ * List TaskAgent eval runs visible to the caller. Viewers without full run visibility only see eval runs they created.
26850
+ * @summary List TaskAgent Eval Runs
26851
+ * @param {string} orgId The organization ID
26852
+ * @param {string} projectId The project ID
26853
+ * @param {string} taskAgentId The task agent ID
26854
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to `100` if not specified.
26855
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
26856
+ * @param {*} [options] Override http request option.
26857
+ * @throws {RequiredError}
26858
+ */
26859
+ listTaskAgentEvalRuns: function (orgId, projectId, taskAgentId, limit, cursor, options) {
26860
+ var _a, _b, _c;
26861
+ return __awaiter(this, void 0, void 0, function () {
26862
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26863
+ return __generator(this, function (_d) {
26864
+ switch (_d.label) {
26865
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTaskAgentEvalRuns(orgId, projectId, taskAgentId, limit, cursor, options)];
26866
+ case 1:
26867
+ localVarAxiosArgs = _d.sent();
26868
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26869
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentEvalsApi.listTaskAgentEvalRuns']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26870
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26871
+ }
26872
+ });
26873
+ });
26874
+ },
26875
+ /**
26876
+ * List TaskAgent eval sets visible to the caller. Viewers without full run visibility only see eval artifacts they created.
26877
+ * @summary List TaskAgent Eval Sets
26878
+ * @param {string} orgId The organization ID
26879
+ * @param {string} projectId The project ID
26880
+ * @param {string} taskAgentId The task agent ID
26881
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to `100` if not specified.
26882
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
26883
+ * @param {*} [options] Override http request option.
26884
+ * @throws {RequiredError}
26885
+ */
26886
+ listTaskAgentEvalSets: function (orgId, projectId, taskAgentId, limit, cursor, options) {
26887
+ var _a, _b, _c;
26888
+ return __awaiter(this, void 0, void 0, function () {
26889
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26890
+ return __generator(this, function (_d) {
26891
+ switch (_d.label) {
26892
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTaskAgentEvalSets(orgId, projectId, taskAgentId, limit, cursor, options)];
26893
+ case 1:
26894
+ localVarAxiosArgs = _d.sent();
26895
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26896
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentEvalsApi.listTaskAgentEvalSets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26897
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26898
+ }
26899
+ });
26900
+ });
26901
+ },
26902
+ /**
26903
+ * Update a TaskAgent eval set name, description, or reference runs. Replacing reference runs creates fresh encrypted snapshots and preserves the submitted order.
26904
+ * @summary Update TaskAgent Eval Set
26905
+ * @param {string} orgId The organization ID
26906
+ * @param {string} projectId The project ID
26907
+ * @param {string} taskAgentId The task agent ID
26908
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
26909
+ * @param {TaskAgentEvalSetUpdate} taskAgentEvalSetUpdate
26910
+ * @param {*} [options] Override http request option.
26911
+ * @throws {RequiredError}
26912
+ */
26913
+ updateTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetId, taskAgentEvalSetUpdate, options) {
26914
+ var _a, _b, _c;
26915
+ return __awaiter(this, void 0, void 0, function () {
26916
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26917
+ return __generator(this, function (_d) {
26918
+ switch (_d.label) {
26919
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetId, taskAgentEvalSetUpdate, options)];
26920
+ case 1:
26921
+ localVarAxiosArgs = _d.sent();
26922
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26923
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentEvalsApi.updateTaskAgentEvalSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26924
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26925
+ }
26926
+ });
26927
+ });
26928
+ },
26929
+ };
26930
+ };
26931
+ exports.TaskAgentEvalsApiFp = TaskAgentEvalsApiFp;
26932
+ /**
26933
+ * TaskAgentEvalsApi - factory interface
26934
+ * @export
26935
+ */
26936
+ var TaskAgentEvalsApiFactory = function (configuration, basePath, axios) {
26937
+ var localVarFp = (0, exports.TaskAgentEvalsApiFp)(configuration);
26938
+ return {
26939
+ /**
26940
+ * Create a TaskAgent eval run and enqueue background execution. Callers are responsible for understanding candidate run side effects, external tool or integration mutations, and quota usage before starting an eval.
26941
+ * @summary Start TaskAgent Eval Run
26942
+ * @param {string} orgId The organization ID
26943
+ * @param {string} projectId The project ID
26944
+ * @param {string} taskAgentId The task agent ID
26945
+ * @param {TaskAgentEvalRunCreate} taskAgentEvalRunCreate
26946
+ * @param {*} [options] Override http request option.
26947
+ * @throws {RequiredError}
26948
+ */
26949
+ createTaskAgentEvalRun: function (orgId, projectId, taskAgentId, taskAgentEvalRunCreate, options) {
26950
+ return localVarFp.createTaskAgentEvalRun(orgId, projectId, taskAgentId, taskAgentEvalRunCreate, options).then(function (request) { return request(axios, basePath); });
26951
+ },
26952
+ /**
26953
+ * Create a reusable TaskAgent eval set from completed, replayable TaskAgent runs. Reference inputs and outputs are snapshotted for stable future evals but are not exposed in this API version.
26954
+ * @summary Create TaskAgent Eval Set
26955
+ * @param {string} orgId The organization ID
26956
+ * @param {string} projectId The project ID
26957
+ * @param {string} taskAgentId The task agent ID
26958
+ * @param {TaskAgentEvalSetCreate} taskAgentEvalSetCreate
26959
+ * @param {*} [options] Override http request option.
26960
+ * @throws {RequiredError}
26961
+ */
26962
+ createTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetCreate, options) {
26963
+ return localVarFp.createTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetCreate, options).then(function (request) { return request(axios, basePath); });
26964
+ },
26965
+ /**
26966
+ * Delete a TaskAgent eval set when it is not referenced by a pending or running eval run.
26967
+ * @summary Delete TaskAgent Eval Set
26968
+ * @param {string} orgId The organization ID
26969
+ * @param {string} projectId The project ID
26970
+ * @param {string} taskAgentId The task agent ID
26971
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
26972
+ * @param {*} [options] Override http request option.
26973
+ * @throws {RequiredError}
26974
+ */
26975
+ deleteTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetId, options) {
26976
+ return localVarFp.deleteTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetId, options).then(function (request) { return request(axios, basePath); });
26977
+ },
26978
+ /**
26979
+ * Get TaskAgent eval run detail, including verdicts, aggregate metrics, and per-result run metrics when the underlying source rows still exist. Encrypted reference and candidate output snapshots are not exposed.
26980
+ * @summary Get TaskAgent Eval Run
26981
+ * @param {string} orgId The organization ID
26982
+ * @param {string} projectId The project ID
26983
+ * @param {string} taskAgentId The task agent ID
26984
+ * @param {string} taskAgentEvalRunId The TaskAgent eval run ID
26985
+ * @param {*} [options] Override http request option.
26986
+ * @throws {RequiredError}
26987
+ */
26988
+ getTaskAgentEvalRun: function (orgId, projectId, taskAgentId, taskAgentEvalRunId, options) {
26989
+ return localVarFp.getTaskAgentEvalRun(orgId, projectId, taskAgentId, taskAgentEvalRunId, options).then(function (request) { return request(axios, basePath); });
26990
+ },
26991
+ /**
26992
+ * Get one TaskAgent eval set by ID. The response includes preserved source TaskAgent run IDs but not encrypted snapshot text.
26993
+ * @summary Get TaskAgent Eval Set
26994
+ * @param {string} orgId The organization ID
26995
+ * @param {string} projectId The project ID
26996
+ * @param {string} taskAgentId The task agent ID
26997
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
26998
+ * @param {*} [options] Override http request option.
26999
+ * @throws {RequiredError}
27000
+ */
27001
+ getTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetId, options) {
27002
+ return localVarFp.getTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetId, options).then(function (request) { return request(axios, basePath); });
27003
+ },
27004
+ /**
27005
+ * List TaskAgent eval runs visible to the caller. Viewers without full run visibility only see eval runs they created.
27006
+ * @summary List TaskAgent Eval Runs
27007
+ * @param {string} orgId The organization ID
27008
+ * @param {string} projectId The project ID
27009
+ * @param {string} taskAgentId The task agent ID
27010
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to `100` if not specified.
27011
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
27012
+ * @param {*} [options] Override http request option.
27013
+ * @throws {RequiredError}
27014
+ */
27015
+ listTaskAgentEvalRuns: function (orgId, projectId, taskAgentId, limit, cursor, options) {
27016
+ return localVarFp.listTaskAgentEvalRuns(orgId, projectId, taskAgentId, limit, cursor, options).then(function (request) { return request(axios, basePath); });
27017
+ },
27018
+ /**
27019
+ * List TaskAgent eval sets visible to the caller. Viewers without full run visibility only see eval artifacts they created.
27020
+ * @summary List TaskAgent Eval Sets
27021
+ * @param {string} orgId The organization ID
27022
+ * @param {string} projectId The project ID
27023
+ * @param {string} taskAgentId The task agent ID
27024
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to `100` if not specified.
27025
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
27026
+ * @param {*} [options] Override http request option.
27027
+ * @throws {RequiredError}
27028
+ */
27029
+ listTaskAgentEvalSets: function (orgId, projectId, taskAgentId, limit, cursor, options) {
27030
+ return localVarFp.listTaskAgentEvalSets(orgId, projectId, taskAgentId, limit, cursor, options).then(function (request) { return request(axios, basePath); });
27031
+ },
27032
+ /**
27033
+ * Update a TaskAgent eval set name, description, or reference runs. Replacing reference runs creates fresh encrypted snapshots and preserves the submitted order.
27034
+ * @summary Update TaskAgent Eval Set
27035
+ * @param {string} orgId The organization ID
27036
+ * @param {string} projectId The project ID
27037
+ * @param {string} taskAgentId The task agent ID
27038
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
27039
+ * @param {TaskAgentEvalSetUpdate} taskAgentEvalSetUpdate
27040
+ * @param {*} [options] Override http request option.
27041
+ * @throws {RequiredError}
27042
+ */
27043
+ updateTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetId, taskAgentEvalSetUpdate, options) {
27044
+ return localVarFp.updateTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetId, taskAgentEvalSetUpdate, options).then(function (request) { return request(axios, basePath); });
27045
+ },
27046
+ };
27047
+ };
27048
+ exports.TaskAgentEvalsApiFactory = TaskAgentEvalsApiFactory;
27049
+ /**
27050
+ * TaskAgentEvalsApi - object-oriented interface
27051
+ * @export
27052
+ * @class TaskAgentEvalsApi
27053
+ * @extends {BaseAPI}
27054
+ */
27055
+ var TaskAgentEvalsApi = /** @class */ (function (_super) {
27056
+ __extends(TaskAgentEvalsApi, _super);
27057
+ function TaskAgentEvalsApi() {
27058
+ return _super !== null && _super.apply(this, arguments) || this;
27059
+ }
27060
+ /**
27061
+ * Create a TaskAgent eval run and enqueue background execution. Callers are responsible for understanding candidate run side effects, external tool or integration mutations, and quota usage before starting an eval.
27062
+ * @summary Start TaskAgent Eval Run
27063
+ * @param {string} orgId The organization ID
27064
+ * @param {string} projectId The project ID
27065
+ * @param {string} taskAgentId The task agent ID
27066
+ * @param {TaskAgentEvalRunCreate} taskAgentEvalRunCreate
27067
+ * @param {*} [options] Override http request option.
27068
+ * @throws {RequiredError}
27069
+ * @memberof TaskAgentEvalsApi
27070
+ */
27071
+ TaskAgentEvalsApi.prototype.createTaskAgentEvalRun = function (orgId, projectId, taskAgentId, taskAgentEvalRunCreate, options) {
27072
+ var _this = this;
27073
+ return (0, exports.TaskAgentEvalsApiFp)(this.configuration).createTaskAgentEvalRun(orgId, projectId, taskAgentId, taskAgentEvalRunCreate, options).then(function (request) { return request(_this.axios, _this.basePath); });
27074
+ };
27075
+ /**
27076
+ * Create a reusable TaskAgent eval set from completed, replayable TaskAgent runs. Reference inputs and outputs are snapshotted for stable future evals but are not exposed in this API version.
27077
+ * @summary Create TaskAgent Eval Set
27078
+ * @param {string} orgId The organization ID
27079
+ * @param {string} projectId The project ID
27080
+ * @param {string} taskAgentId The task agent ID
27081
+ * @param {TaskAgentEvalSetCreate} taskAgentEvalSetCreate
27082
+ * @param {*} [options] Override http request option.
27083
+ * @throws {RequiredError}
27084
+ * @memberof TaskAgentEvalsApi
27085
+ */
27086
+ TaskAgentEvalsApi.prototype.createTaskAgentEvalSet = function (orgId, projectId, taskAgentId, taskAgentEvalSetCreate, options) {
27087
+ var _this = this;
27088
+ return (0, exports.TaskAgentEvalsApiFp)(this.configuration).createTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetCreate, options).then(function (request) { return request(_this.axios, _this.basePath); });
27089
+ };
27090
+ /**
27091
+ * Delete a TaskAgent eval set when it is not referenced by a pending or running eval run.
27092
+ * @summary Delete TaskAgent Eval Set
27093
+ * @param {string} orgId The organization ID
27094
+ * @param {string} projectId The project ID
27095
+ * @param {string} taskAgentId The task agent ID
27096
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
27097
+ * @param {*} [options] Override http request option.
27098
+ * @throws {RequiredError}
27099
+ * @memberof TaskAgentEvalsApi
27100
+ */
27101
+ TaskAgentEvalsApi.prototype.deleteTaskAgentEvalSet = function (orgId, projectId, taskAgentId, taskAgentEvalSetId, options) {
27102
+ var _this = this;
27103
+ return (0, exports.TaskAgentEvalsApiFp)(this.configuration).deleteTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetId, options).then(function (request) { return request(_this.axios, _this.basePath); });
27104
+ };
27105
+ /**
27106
+ * Get TaskAgent eval run detail, including verdicts, aggregate metrics, and per-result run metrics when the underlying source rows still exist. Encrypted reference and candidate output snapshots are not exposed.
27107
+ * @summary Get TaskAgent Eval Run
27108
+ * @param {string} orgId The organization ID
27109
+ * @param {string} projectId The project ID
27110
+ * @param {string} taskAgentId The task agent ID
27111
+ * @param {string} taskAgentEvalRunId The TaskAgent eval run ID
27112
+ * @param {*} [options] Override http request option.
27113
+ * @throws {RequiredError}
27114
+ * @memberof TaskAgentEvalsApi
27115
+ */
27116
+ TaskAgentEvalsApi.prototype.getTaskAgentEvalRun = function (orgId, projectId, taskAgentId, taskAgentEvalRunId, options) {
27117
+ var _this = this;
27118
+ return (0, exports.TaskAgentEvalsApiFp)(this.configuration).getTaskAgentEvalRun(orgId, projectId, taskAgentId, taskAgentEvalRunId, options).then(function (request) { return request(_this.axios, _this.basePath); });
27119
+ };
27120
+ /**
27121
+ * Get one TaskAgent eval set by ID. The response includes preserved source TaskAgent run IDs but not encrypted snapshot text.
27122
+ * @summary Get TaskAgent Eval Set
27123
+ * @param {string} orgId The organization ID
27124
+ * @param {string} projectId The project ID
27125
+ * @param {string} taskAgentId The task agent ID
27126
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
27127
+ * @param {*} [options] Override http request option.
27128
+ * @throws {RequiredError}
27129
+ * @memberof TaskAgentEvalsApi
27130
+ */
27131
+ TaskAgentEvalsApi.prototype.getTaskAgentEvalSet = function (orgId, projectId, taskAgentId, taskAgentEvalSetId, options) {
27132
+ var _this = this;
27133
+ return (0, exports.TaskAgentEvalsApiFp)(this.configuration).getTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetId, options).then(function (request) { return request(_this.axios, _this.basePath); });
27134
+ };
27135
+ /**
27136
+ * List TaskAgent eval runs visible to the caller. Viewers without full run visibility only see eval runs they created.
27137
+ * @summary List TaskAgent Eval Runs
27138
+ * @param {string} orgId The organization ID
27139
+ * @param {string} projectId The project ID
27140
+ * @param {string} taskAgentId The task agent ID
27141
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to `100` if not specified.
27142
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
27143
+ * @param {*} [options] Override http request option.
27144
+ * @throws {RequiredError}
27145
+ * @memberof TaskAgentEvalsApi
27146
+ */
27147
+ TaskAgentEvalsApi.prototype.listTaskAgentEvalRuns = function (orgId, projectId, taskAgentId, limit, cursor, options) {
27148
+ var _this = this;
27149
+ return (0, exports.TaskAgentEvalsApiFp)(this.configuration).listTaskAgentEvalRuns(orgId, projectId, taskAgentId, limit, cursor, options).then(function (request) { return request(_this.axios, _this.basePath); });
27150
+ };
27151
+ /**
27152
+ * List TaskAgent eval sets visible to the caller. Viewers without full run visibility only see eval artifacts they created.
27153
+ * @summary List TaskAgent Eval Sets
27154
+ * @param {string} orgId The organization ID
27155
+ * @param {string} projectId The project ID
27156
+ * @param {string} taskAgentId The task agent ID
27157
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to `100` if not specified.
27158
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
27159
+ * @param {*} [options] Override http request option.
27160
+ * @throws {RequiredError}
27161
+ * @memberof TaskAgentEvalsApi
27162
+ */
27163
+ TaskAgentEvalsApi.prototype.listTaskAgentEvalSets = function (orgId, projectId, taskAgentId, limit, cursor, options) {
27164
+ var _this = this;
27165
+ return (0, exports.TaskAgentEvalsApiFp)(this.configuration).listTaskAgentEvalSets(orgId, projectId, taskAgentId, limit, cursor, options).then(function (request) { return request(_this.axios, _this.basePath); });
27166
+ };
27167
+ /**
27168
+ * Update a TaskAgent eval set name, description, or reference runs. Replacing reference runs creates fresh encrypted snapshots and preserves the submitted order.
27169
+ * @summary Update TaskAgent Eval Set
27170
+ * @param {string} orgId The organization ID
27171
+ * @param {string} projectId The project ID
27172
+ * @param {string} taskAgentId The task agent ID
27173
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
27174
+ * @param {TaskAgentEvalSetUpdate} taskAgentEvalSetUpdate
27175
+ * @param {*} [options] Override http request option.
27176
+ * @throws {RequiredError}
27177
+ * @memberof TaskAgentEvalsApi
27178
+ */
27179
+ TaskAgentEvalsApi.prototype.updateTaskAgentEvalSet = function (orgId, projectId, taskAgentId, taskAgentEvalSetId, taskAgentEvalSetUpdate, options) {
27180
+ var _this = this;
27181
+ return (0, exports.TaskAgentEvalsApiFp)(this.configuration).updateTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetId, taskAgentEvalSetUpdate, options).then(function (request) { return request(_this.axios, _this.basePath); });
27182
+ };
27183
+ return TaskAgentEvalsApi;
27184
+ }(base_1.BaseAPI));
27185
+ exports.TaskAgentEvalsApi = TaskAgentEvalsApi;
26226
27186
  /**
26227
27187
  * TaskAgentSharesApi - axios parameter creator
26228
27188
  * @export
@@ -26231,7 +27191,7 @@ var TaskAgentSharesApiAxiosParamCreator = function (configuration) {
26231
27191
  var _this = this;
26232
27192
  return {
26233
27193
  /**
26234
- * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server.
27194
+ * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server. MCP-backed Task-tool revisions are cloned by reusing compatible target-project MCP server/tool metadata or copying non-secret metadata. MCP credentials and auth_config are never copied. Auth-required Task-tool MCP dependencies may clone successfully with `runnable=false` and setup-required dependency report entries.
26235
27195
  * @summary Clone Shared TaskAgent
26236
27196
  * @param {string} shortId TaskAgent share short ID
26237
27197
  * @param {string} orgId The organization ID
@@ -26282,7 +27242,7 @@ var TaskAgentSharesApiAxiosParamCreator = function (configuration) {
26282
27242
  });
26283
27243
  },
26284
27244
  /**
26285
- * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters.
27245
+ * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters. TaskAgent shares cannot include Task-tool revisions backed by RAG collections, including disabled Task-tool attachments, because those collections are project-local and are not cloned. TaskAgent shares also cannot include deleted Task-tool dependencies.
26286
27246
  * @summary Create TaskAgent Share
26287
27247
  * @param {string} orgId The organization ID
26288
27248
  * @param {string} projectId The project ID
@@ -26558,7 +27518,7 @@ var TaskAgentSharesApiFp = function (configuration) {
26558
27518
  var localVarAxiosParamCreator = (0, exports.TaskAgentSharesApiAxiosParamCreator)(configuration);
26559
27519
  return {
26560
27520
  /**
26561
- * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server.
27521
+ * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server. MCP-backed Task-tool revisions are cloned by reusing compatible target-project MCP server/tool metadata or copying non-secret metadata. MCP credentials and auth_config are never copied. Auth-required Task-tool MCP dependencies may clone successfully with `runnable=false` and setup-required dependency report entries.
26562
27522
  * @summary Clone Shared TaskAgent
26563
27523
  * @param {string} shortId TaskAgent share short ID
26564
27524
  * @param {string} orgId The organization ID
@@ -26583,7 +27543,7 @@ var TaskAgentSharesApiFp = function (configuration) {
26583
27543
  });
26584
27544
  },
26585
27545
  /**
26586
- * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters.
27546
+ * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters. TaskAgent shares cannot include Task-tool revisions backed by RAG collections, including disabled Task-tool attachments, because those collections are project-local and are not cloned. TaskAgent shares also cannot include deleted Task-tool dependencies.
26587
27547
  * @summary Create TaskAgent Share
26588
27548
  * @param {string} orgId The organization ID
26589
27549
  * @param {string} projectId The project ID
@@ -26723,7 +27683,7 @@ var TaskAgentSharesApiFactory = function (configuration, basePath, axios) {
26723
27683
  var localVarFp = (0, exports.TaskAgentSharesApiFp)(configuration);
26724
27684
  return {
26725
27685
  /**
26726
- * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server.
27686
+ * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server. MCP-backed Task-tool revisions are cloned by reusing compatible target-project MCP server/tool metadata or copying non-secret metadata. MCP credentials and auth_config are never copied. Auth-required Task-tool MCP dependencies may clone successfully with `runnable=false` and setup-required dependency report entries.
26727
27687
  * @summary Clone Shared TaskAgent
26728
27688
  * @param {string} shortId TaskAgent share short ID
26729
27689
  * @param {string} orgId The organization ID
@@ -26735,7 +27695,7 @@ var TaskAgentSharesApiFactory = function (configuration, basePath, axios) {
26735
27695
  return localVarFp.cloneSharedTaskAgent(shortId, orgId, projectId, options).then(function (request) { return request(axios, basePath); });
26736
27696
  },
26737
27697
  /**
26738
- * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters.
27698
+ * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters. TaskAgent shares cannot include Task-tool revisions backed by RAG collections, including disabled Task-tool attachments, because those collections are project-local and are not cloned. TaskAgent shares also cannot include deleted Task-tool dependencies.
26739
27699
  * @summary Create TaskAgent Share
26740
27700
  * @param {string} orgId The organization ID
26741
27701
  * @param {string} projectId The project ID
@@ -26814,7 +27774,7 @@ var TaskAgentSharesApi = /** @class */ (function (_super) {
26814
27774
  return _super !== null && _super.apply(this, arguments) || this;
26815
27775
  }
26816
27776
  /**
26817
- * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server.
27777
+ * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server. MCP-backed Task-tool revisions are cloned by reusing compatible target-project MCP server/tool metadata or copying non-secret metadata. MCP credentials and auth_config are never copied. Auth-required Task-tool MCP dependencies may clone successfully with `runnable=false` and setup-required dependency report entries.
26818
27778
  * @summary Clone Shared TaskAgent
26819
27779
  * @param {string} shortId TaskAgent share short ID
26820
27780
  * @param {string} orgId The organization ID
@@ -26828,7 +27788,7 @@ var TaskAgentSharesApi = /** @class */ (function (_super) {
26828
27788
  return (0, exports.TaskAgentSharesApiFp)(this.configuration).cloneSharedTaskAgent(shortId, orgId, projectId, options).then(function (request) { return request(_this.axios, _this.basePath); });
26829
27789
  };
26830
27790
  /**
26831
- * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters.
27791
+ * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters. TaskAgent shares cannot include Task-tool revisions backed by RAG collections, including disabled Task-tool attachments, because those collections are project-local and are not cloned. TaskAgent shares also cannot include deleted Task-tool dependencies.
26832
27792
  * @summary Create TaskAgent Share
26833
27793
  * @param {string} orgId The organization ID
26834
27794
  * @param {string} projectId The project ID
@@ -33891,7 +34851,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
33891
34851
  var _this = this;
33892
34852
  return {
33893
34853
  /**
33894
- * Clone a shared task into a specified project. This endpoint allows authenticated users to clone a shared task into their own project. The cloned task will: - Copy all task settings (name, description, configuration) - Copy only the shared revision (not all revisions) - Automatically resolve name conflicts by appending (2), (3), etc. - Set cloned_from_task_revision_id to maintain a link to the original - Be set as active with 100% weight Requires create_task permission on the target project.
34854
+ * Clone a shared task into a specified project. This endpoint allows authenticated users to clone a shared task into their own project. The cloned task will: - Copy all task settings (name, description, configuration) - Copy only the shared revision (not all revisions) - Automatically resolve name conflicts by appending (2), (3), etc. - Set cloned_from_task_revision_id to maintain a link to the original - Be set as active with 100% weight MCP-backed Task revisions are cloned by reusing a compatible target-project MCP server or copying non-secret MCP server/tool metadata. MCP credentials and auth_config are never copied. Direct Task clone rejects auth-required MCP dependencies with 422 until this response model can represent setup-required clones. Requires create_task permission on the target project.
33895
34855
  * @summary Clone Shared Task
33896
34856
  * @param {string} shortId The unique share link identifier
33897
34857
  * @param {string} orgId The unique identifier of the organization.
@@ -33994,7 +34954,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
33994
34954
  });
33995
34955
  },
33996
34956
  /**
33997
- * Create a shareable link for a task. Share links allow external users to: - View task details without authentication - Run tasks with pre-configured inputs - Access task results Configure share settings: - Expiration time (in hours) - Usage limits (maximum number of uses) - Custom short link identifier (optional) - Allowed inputs - Output visibility Share links are perfect for demos, external testing, and public task access.
34957
+ * Create a shareable link for a task. Share links allow external users to: - View task details without authentication - Run tasks with pre-configured inputs - Access task results Configure share settings: - Expiration time (in hours) - Usage limits (maximum number of uses) - Custom short link identifier (optional) - Allowed inputs - Output visibility RAG-backed Task revisions are not currently shareable because their collections are project-local. MCP-backed Task revisions can be shared; clone copies or reuses MCP server and tool metadata without copying credentials.
33998
34958
  * @summary Create Task Share
33999
34959
  * @param {string} orgId The unique identifier of the organization.
34000
34960
  * @param {string} projectId The unique identifier of the project.
@@ -34050,7 +35010,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
34050
35010
  });
34051
35011
  },
34052
35012
  /**
34053
- * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. **Note**: You must have edit permission on the task to delete it.
35013
+ * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. Tasks used by an active TaskAgent share cannot be deleted until that TaskAgent share is revoked. **Note**: You must have edit permission on the task to delete it.
34054
35014
  * @summary Delete Task
34055
35015
  * @param {string} orgId The unique identifier of the organization.
34056
35016
  * @param {string} projectId The unique identifier of the project.
@@ -34101,7 +35061,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
34101
35061
  });
34102
35062
  },
34103
35063
  /**
34104
- * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. **Note**: You must have edit permission on the task to delete it.
35064
+ * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. Tasks used by an active TaskAgent share cannot be deleted until that TaskAgent share is revoked. **Note**: You must have edit permission on the task to delete it.
34105
35065
  * @summary Delete Task
34106
35066
  * @param {string} orgId The unique identifier of the organization.
34107
35067
  * @param {string} projectId The unique identifier of the project.
@@ -35602,7 +36562,7 @@ var TasksApiFp = function (configuration) {
35602
36562
  var localVarAxiosParamCreator = (0, exports.TasksApiAxiosParamCreator)(configuration);
35603
36563
  return {
35604
36564
  /**
35605
- * Clone a shared task into a specified project. This endpoint allows authenticated users to clone a shared task into their own project. The cloned task will: - Copy all task settings (name, description, configuration) - Copy only the shared revision (not all revisions) - Automatically resolve name conflicts by appending (2), (3), etc. - Set cloned_from_task_revision_id to maintain a link to the original - Be set as active with 100% weight Requires create_task permission on the target project.
36565
+ * Clone a shared task into a specified project. This endpoint allows authenticated users to clone a shared task into their own project. The cloned task will: - Copy all task settings (name, description, configuration) - Copy only the shared revision (not all revisions) - Automatically resolve name conflicts by appending (2), (3), etc. - Set cloned_from_task_revision_id to maintain a link to the original - Be set as active with 100% weight MCP-backed Task revisions are cloned by reusing a compatible target-project MCP server or copying non-secret MCP server/tool metadata. MCP credentials and auth_config are never copied. Direct Task clone rejects auth-required MCP dependencies with 422 until this response model can represent setup-required clones. Requires create_task permission on the target project.
35606
36566
  * @summary Clone Shared Task
35607
36567
  * @param {string} shortId The unique share link identifier
35608
36568
  * @param {string} orgId The unique identifier of the organization.
@@ -35652,7 +36612,7 @@ var TasksApiFp = function (configuration) {
35652
36612
  });
35653
36613
  },
35654
36614
  /**
35655
- * Create a shareable link for a task. Share links allow external users to: - View task details without authentication - Run tasks with pre-configured inputs - Access task results Configure share settings: - Expiration time (in hours) - Usage limits (maximum number of uses) - Custom short link identifier (optional) - Allowed inputs - Output visibility Share links are perfect for demos, external testing, and public task access.
36615
+ * Create a shareable link for a task. Share links allow external users to: - View task details without authentication - Run tasks with pre-configured inputs - Access task results Configure share settings: - Expiration time (in hours) - Usage limits (maximum number of uses) - Custom short link identifier (optional) - Allowed inputs - Output visibility RAG-backed Task revisions are not currently shareable because their collections are project-local. MCP-backed Task revisions can be shared; clone copies or reuses MCP server and tool metadata without copying credentials.
35656
36616
  * @summary Create Task Share
35657
36617
  * @param {string} orgId The unique identifier of the organization.
35658
36618
  * @param {string} projectId The unique identifier of the project.
@@ -35678,7 +36638,7 @@ var TasksApiFp = function (configuration) {
35678
36638
  });
35679
36639
  },
35680
36640
  /**
35681
- * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. **Note**: You must have edit permission on the task to delete it.
36641
+ * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. Tasks used by an active TaskAgent share cannot be deleted until that TaskAgent share is revoked. **Note**: You must have edit permission on the task to delete it.
35682
36642
  * @summary Delete Task
35683
36643
  * @param {string} orgId The unique identifier of the organization.
35684
36644
  * @param {string} projectId The unique identifier of the project.
@@ -35703,7 +36663,7 @@ var TasksApiFp = function (configuration) {
35703
36663
  });
35704
36664
  },
35705
36665
  /**
35706
- * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. **Note**: You must have edit permission on the task to delete it.
36666
+ * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. Tasks used by an active TaskAgent share cannot be deleted until that TaskAgent share is revoked. **Note**: You must have edit permission on the task to delete it.
35707
36667
  * @summary Delete Task
35708
36668
  * @param {string} orgId The unique identifier of the organization.
35709
36669
  * @param {string} projectId The unique identifier of the project.
@@ -36395,7 +37355,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
36395
37355
  var localVarFp = (0, exports.TasksApiFp)(configuration);
36396
37356
  return {
36397
37357
  /**
36398
- * Clone a shared task into a specified project. This endpoint allows authenticated users to clone a shared task into their own project. The cloned task will: - Copy all task settings (name, description, configuration) - Copy only the shared revision (not all revisions) - Automatically resolve name conflicts by appending (2), (3), etc. - Set cloned_from_task_revision_id to maintain a link to the original - Be set as active with 100% weight Requires create_task permission on the target project.
37358
+ * Clone a shared task into a specified project. This endpoint allows authenticated users to clone a shared task into their own project. The cloned task will: - Copy all task settings (name, description, configuration) - Copy only the shared revision (not all revisions) - Automatically resolve name conflicts by appending (2), (3), etc. - Set cloned_from_task_revision_id to maintain a link to the original - Be set as active with 100% weight MCP-backed Task revisions are cloned by reusing a compatible target-project MCP server or copying non-secret MCP server/tool metadata. MCP credentials and auth_config are never copied. Direct Task clone rejects auth-required MCP dependencies with 422 until this response model can represent setup-required clones. Requires create_task permission on the target project.
36399
37359
  * @summary Clone Shared Task
36400
37360
  * @param {string} shortId The unique share link identifier
36401
37361
  * @param {string} orgId The unique identifier of the organization.
@@ -36419,7 +37379,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
36419
37379
  return localVarFp.createTask(orgId, projectId, taskCreate, options).then(function (request) { return request(axios, basePath); });
36420
37380
  },
36421
37381
  /**
36422
- * Create a shareable link for a task. Share links allow external users to: - View task details without authentication - Run tasks with pre-configured inputs - Access task results Configure share settings: - Expiration time (in hours) - Usage limits (maximum number of uses) - Custom short link identifier (optional) - Allowed inputs - Output visibility Share links are perfect for demos, external testing, and public task access.
37382
+ * Create a shareable link for a task. Share links allow external users to: - View task details without authentication - Run tasks with pre-configured inputs - Access task results Configure share settings: - Expiration time (in hours) - Usage limits (maximum number of uses) - Custom short link identifier (optional) - Allowed inputs - Output visibility RAG-backed Task revisions are not currently shareable because their collections are project-local. MCP-backed Task revisions can be shared; clone copies or reuses MCP server and tool metadata without copying credentials.
36423
37383
  * @summary Create Task Share
36424
37384
  * @param {string} orgId The unique identifier of the organization.
36425
37385
  * @param {string} projectId The unique identifier of the project.
@@ -36432,7 +37392,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
36432
37392
  return localVarFp.createTaskShare(orgId, projectId, taskId, taskShareCreate, options).then(function (request) { return request(axios, basePath); });
36433
37393
  },
36434
37394
  /**
36435
- * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. **Note**: You must have edit permission on the task to delete it.
37395
+ * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. Tasks used by an active TaskAgent share cannot be deleted until that TaskAgent share is revoked. **Note**: You must have edit permission on the task to delete it.
36436
37396
  * @summary Delete Task
36437
37397
  * @param {string} orgId The unique identifier of the organization.
36438
37398
  * @param {string} projectId The unique identifier of the project.
@@ -36444,7 +37404,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
36444
37404
  return localVarFp.deleteTask(orgId, projectId, taskId, options).then(function (request) { return request(axios, basePath); });
36445
37405
  },
36446
37406
  /**
36447
- * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. **Note**: You must have edit permission on the task to delete it.
37407
+ * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. Tasks used by an active TaskAgent share cannot be deleted until that TaskAgent share is revoked. **Note**: You must have edit permission on the task to delete it.
36448
37408
  * @summary Delete Task
36449
37409
  * @param {string} orgId The unique identifier of the organization.
36450
37410
  * @param {string} projectId The unique identifier of the project.
@@ -36815,7 +37775,7 @@ var TasksApi = /** @class */ (function (_super) {
36815
37775
  return _super !== null && _super.apply(this, arguments) || this;
36816
37776
  }
36817
37777
  /**
36818
- * Clone a shared task into a specified project. This endpoint allows authenticated users to clone a shared task into their own project. The cloned task will: - Copy all task settings (name, description, configuration) - Copy only the shared revision (not all revisions) - Automatically resolve name conflicts by appending (2), (3), etc. - Set cloned_from_task_revision_id to maintain a link to the original - Be set as active with 100% weight Requires create_task permission on the target project.
37778
+ * Clone a shared task into a specified project. This endpoint allows authenticated users to clone a shared task into their own project. The cloned task will: - Copy all task settings (name, description, configuration) - Copy only the shared revision (not all revisions) - Automatically resolve name conflicts by appending (2), (3), etc. - Set cloned_from_task_revision_id to maintain a link to the original - Be set as active with 100% weight MCP-backed Task revisions are cloned by reusing a compatible target-project MCP server or copying non-secret MCP server/tool metadata. MCP credentials and auth_config are never copied. Direct Task clone rejects auth-required MCP dependencies with 422 until this response model can represent setup-required clones. Requires create_task permission on the target project.
36819
37779
  * @summary Clone Shared Task
36820
37780
  * @param {string} shortId The unique share link identifier
36821
37781
  * @param {string} orgId The unique identifier of the organization.
@@ -36843,7 +37803,7 @@ var TasksApi = /** @class */ (function (_super) {
36843
37803
  return (0, exports.TasksApiFp)(this.configuration).createTask(orgId, projectId, taskCreate, options).then(function (request) { return request(_this.axios, _this.basePath); });
36844
37804
  };
36845
37805
  /**
36846
- * Create a shareable link for a task. Share links allow external users to: - View task details without authentication - Run tasks with pre-configured inputs - Access task results Configure share settings: - Expiration time (in hours) - Usage limits (maximum number of uses) - Custom short link identifier (optional) - Allowed inputs - Output visibility Share links are perfect for demos, external testing, and public task access.
37806
+ * Create a shareable link for a task. Share links allow external users to: - View task details without authentication - Run tasks with pre-configured inputs - Access task results Configure share settings: - Expiration time (in hours) - Usage limits (maximum number of uses) - Custom short link identifier (optional) - Allowed inputs - Output visibility RAG-backed Task revisions are not currently shareable because their collections are project-local. MCP-backed Task revisions can be shared; clone copies or reuses MCP server and tool metadata without copying credentials.
36847
37807
  * @summary Create Task Share
36848
37808
  * @param {string} orgId The unique identifier of the organization.
36849
37809
  * @param {string} projectId The unique identifier of the project.
@@ -36858,7 +37818,7 @@ var TasksApi = /** @class */ (function (_super) {
36858
37818
  return (0, exports.TasksApiFp)(this.configuration).createTaskShare(orgId, projectId, taskId, taskShareCreate, options).then(function (request) { return request(_this.axios, _this.basePath); });
36859
37819
  };
36860
37820
  /**
36861
- * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. **Note**: You must have edit permission on the task to delete it.
37821
+ * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. Tasks used by an active TaskAgent share cannot be deleted until that TaskAgent share is revoked. **Note**: You must have edit permission on the task to delete it.
36862
37822
  * @summary Delete Task
36863
37823
  * @param {string} orgId The unique identifier of the organization.
36864
37824
  * @param {string} projectId The unique identifier of the project.
@@ -36872,7 +37832,7 @@ var TasksApi = /** @class */ (function (_super) {
36872
37832
  return (0, exports.TasksApiFp)(this.configuration).deleteTask(orgId, projectId, taskId, options).then(function (request) { return request(_this.axios, _this.basePath); });
36873
37833
  };
36874
37834
  /**
36875
- * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. **Note**: You must have edit permission on the task to delete it.
37835
+ * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. Tasks used by an active TaskAgent share cannot be deleted until that TaskAgent share is revoked. **Note**: You must have edit permission on the task to delete it.
36876
37836
  * @summary Delete Task
36877
37837
  * @param {string} orgId The unique identifier of the organization.
36878
37838
  * @param {string} projectId The unique identifier of the project.