@rightbrain/brain-api-client 0.0.1-dev.152.8af46e8 → 0.0.1-dev.154.74201b4

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 +4047 -2404
  2. package/dist/api.d.ts +2480 -1252
  3. package/dist/api.js +1008 -43
  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.TaskAgentRunModelUsageReadUsageScopeEnum = 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.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 = exports.TaskAgentRunModelUsageReadUsageTypeEnum = void 0;
81
+ 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 = exports.AuditEventsApi = void 0;
82
+ 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 = exports.MCPRunsApiFactory = void 0;
83
+ 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 = exports.SystemApi = 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 = exports.GetProjectTaskTimingReportAggregationEnum = void 0;
85
85
  var axios_1 = require("axios");
86
86
  // Some imports not used depending on template conditions
87
87
  // @ts-ignore
@@ -482,7 +482,8 @@ exports.PhaseTimingEntryPhaseEnum = {
482
482
  TaskToolExecution: 'task_tool_execution',
483
483
  McpToolExecution: 'mcp_tool_execution',
484
484
  IntegrationToolExecution: 'integration_tool_execution',
485
- SkillActivation: 'skill_activation'
485
+ SkillActivation: 'skill_activation',
486
+ MemoryCompaction: 'memory_compaction'
486
487
  };
487
488
  /**
488
489
  *
@@ -736,6 +737,26 @@ exports.TaskAgentCreateTaskAgentRunVisibilityEnum = {
736
737
  EditorsAndOwners: 'editors_and_owners',
737
738
  AllViewers: 'all_viewers'
738
739
  };
740
+ /**
741
+ * Status of a TaskAgent eval run.
742
+ * @export
743
+ * @enum {string}
744
+ */
745
+ exports.TaskAgentEvalStatus = {
746
+ Pending: 'pending',
747
+ Running: 'running',
748
+ Completed: 'completed',
749
+ Failed: 'failed'
750
+ };
751
+ /**
752
+ * Judge verdict for a TaskAgent eval result.
753
+ * @export
754
+ * @enum {string}
755
+ */
756
+ exports.TaskAgentEvalVerdict = {
757
+ Pass: 'pass',
758
+ Fail: 'fail'
759
+ };
739
760
  exports.TaskAgentFileMetadataSourceEnum = {
740
761
  Input: 'input',
741
762
  Generated: 'generated'
@@ -795,6 +816,10 @@ exports.TaskAgentRegisteredToolReadProvisionSourceEnum = {
795
816
  Manual: 'manual',
796
817
  SkillCapability: 'skill_capability'
797
818
  };
819
+ exports.TaskAgentRunModelUsageReadUsageScopeEnum = {
820
+ Reasoning: 'reasoning',
821
+ MemoryCompaction: 'memory_compaction'
822
+ };
798
823
  exports.TaskAgentRunModelUsageReadUsageTypeEnum = {
799
824
  Primary: 'primary',
800
825
  Fallback: 'fallback'
@@ -26223,6 +26248,946 @@ exports.UpdateTagEntityTypeEnum = {
26223
26248
  Skill: 'skill',
26224
26249
  TaskAgentRevision: 'task_agent_revision'
26225
26250
  };
26251
+ /**
26252
+ * TaskAgentEvalsApi - axios parameter creator
26253
+ * @export
26254
+ */
26255
+ var TaskAgentEvalsApiAxiosParamCreator = function (configuration) {
26256
+ var _this = this;
26257
+ return {
26258
+ /**
26259
+ * 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.
26260
+ * @summary Start TaskAgent Eval Run
26261
+ * @param {string} orgId The organization ID
26262
+ * @param {string} projectId The project ID
26263
+ * @param {string} taskAgentId The task agent ID
26264
+ * @param {TaskAgentEvalRunCreate} taskAgentEvalRunCreate
26265
+ * @param {*} [options] Override http request option.
26266
+ * @throws {RequiredError}
26267
+ */
26268
+ createTaskAgentEvalRun: function (orgId, projectId, taskAgentId, taskAgentEvalRunCreate, options) {
26269
+ if (options === void 0) { options = {}; }
26270
+ return __awaiter(_this, void 0, void 0, function () {
26271
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26272
+ return __generator(this, function (_a) {
26273
+ switch (_a.label) {
26274
+ case 0:
26275
+ // verify required parameter 'orgId' is not null or undefined
26276
+ (0, common_1.assertParamExists)('createTaskAgentEvalRun', 'orgId', orgId);
26277
+ // verify required parameter 'projectId' is not null or undefined
26278
+ (0, common_1.assertParamExists)('createTaskAgentEvalRun', 'projectId', projectId);
26279
+ // verify required parameter 'taskAgentId' is not null or undefined
26280
+ (0, common_1.assertParamExists)('createTaskAgentEvalRun', 'taskAgentId', taskAgentId);
26281
+ // verify required parameter 'taskAgentEvalRunCreate' is not null or undefined
26282
+ (0, common_1.assertParamExists)('createTaskAgentEvalRun', 'taskAgentEvalRunCreate', taskAgentEvalRunCreate);
26283
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/eval/run"
26284
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26285
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26286
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)));
26287
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26288
+ if (configuration) {
26289
+ baseOptions = configuration.baseOptions;
26290
+ }
26291
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
26292
+ localVarHeaderParameter = {};
26293
+ localVarQueryParameter = {};
26294
+ // authentication HTTPBearer required
26295
+ // http bearer authentication required
26296
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26297
+ case 1:
26298
+ // authentication HTTPBearer required
26299
+ // http bearer authentication required
26300
+ _a.sent();
26301
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26302
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26303
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26304
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26305
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(taskAgentEvalRunCreate, localVarRequestOptions, configuration);
26306
+ return [2 /*return*/, {
26307
+ url: (0, common_1.toPathString)(localVarUrlObj),
26308
+ options: localVarRequestOptions,
26309
+ }];
26310
+ }
26311
+ });
26312
+ });
26313
+ },
26314
+ /**
26315
+ * 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.
26316
+ * @summary Create TaskAgent Eval Set
26317
+ * @param {string} orgId The organization ID
26318
+ * @param {string} projectId The project ID
26319
+ * @param {string} taskAgentId The task agent ID
26320
+ * @param {TaskAgentEvalSetCreate} taskAgentEvalSetCreate
26321
+ * @param {*} [options] Override http request option.
26322
+ * @throws {RequiredError}
26323
+ */
26324
+ createTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetCreate, options) {
26325
+ if (options === void 0) { options = {}; }
26326
+ return __awaiter(_this, void 0, void 0, function () {
26327
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26328
+ return __generator(this, function (_a) {
26329
+ switch (_a.label) {
26330
+ case 0:
26331
+ // verify required parameter 'orgId' is not null or undefined
26332
+ (0, common_1.assertParamExists)('createTaskAgentEvalSet', 'orgId', orgId);
26333
+ // verify required parameter 'projectId' is not null or undefined
26334
+ (0, common_1.assertParamExists)('createTaskAgentEvalSet', 'projectId', projectId);
26335
+ // verify required parameter 'taskAgentId' is not null or undefined
26336
+ (0, common_1.assertParamExists)('createTaskAgentEvalSet', 'taskAgentId', taskAgentId);
26337
+ // verify required parameter 'taskAgentEvalSetCreate' is not null or undefined
26338
+ (0, common_1.assertParamExists)('createTaskAgentEvalSet', 'taskAgentEvalSetCreate', taskAgentEvalSetCreate);
26339
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/eval/set"
26340
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26341
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26342
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)));
26343
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26344
+ if (configuration) {
26345
+ baseOptions = configuration.baseOptions;
26346
+ }
26347
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
26348
+ localVarHeaderParameter = {};
26349
+ localVarQueryParameter = {};
26350
+ // authentication HTTPBearer required
26351
+ // http bearer authentication required
26352
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26353
+ case 1:
26354
+ // authentication HTTPBearer required
26355
+ // http bearer authentication required
26356
+ _a.sent();
26357
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26358
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26359
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26360
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26361
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(taskAgentEvalSetCreate, localVarRequestOptions, configuration);
26362
+ return [2 /*return*/, {
26363
+ url: (0, common_1.toPathString)(localVarUrlObj),
26364
+ options: localVarRequestOptions,
26365
+ }];
26366
+ }
26367
+ });
26368
+ });
26369
+ },
26370
+ /**
26371
+ * Delete a TaskAgent eval set when it is not referenced by a pending or running eval run.
26372
+ * @summary Delete TaskAgent Eval Set
26373
+ * @param {string} orgId The organization ID
26374
+ * @param {string} projectId The project ID
26375
+ * @param {string} taskAgentId The task agent ID
26376
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
26377
+ * @param {*} [options] Override http request option.
26378
+ * @throws {RequiredError}
26379
+ */
26380
+ deleteTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetId, options) {
26381
+ if (options === void 0) { options = {}; }
26382
+ return __awaiter(_this, void 0, void 0, function () {
26383
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26384
+ return __generator(this, function (_a) {
26385
+ switch (_a.label) {
26386
+ case 0:
26387
+ // verify required parameter 'orgId' is not null or undefined
26388
+ (0, common_1.assertParamExists)('deleteTaskAgentEvalSet', 'orgId', orgId);
26389
+ // verify required parameter 'projectId' is not null or undefined
26390
+ (0, common_1.assertParamExists)('deleteTaskAgentEvalSet', 'projectId', projectId);
26391
+ // verify required parameter 'taskAgentId' is not null or undefined
26392
+ (0, common_1.assertParamExists)('deleteTaskAgentEvalSet', 'taskAgentId', taskAgentId);
26393
+ // verify required parameter 'taskAgentEvalSetId' is not null or undefined
26394
+ (0, common_1.assertParamExists)('deleteTaskAgentEvalSet', 'taskAgentEvalSetId', taskAgentEvalSetId);
26395
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/eval/set/{task_agent_eval_set_id}"
26396
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26397
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26398
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)))
26399
+ .replace("{".concat("task_agent_eval_set_id", "}"), encodeURIComponent(String(taskAgentEvalSetId)));
26400
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26401
+ if (configuration) {
26402
+ baseOptions = configuration.baseOptions;
26403
+ }
26404
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
26405
+ localVarHeaderParameter = {};
26406
+ localVarQueryParameter = {};
26407
+ // authentication HTTPBearer required
26408
+ // http bearer authentication required
26409
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26410
+ case 1:
26411
+ // authentication HTTPBearer required
26412
+ // http bearer authentication required
26413
+ _a.sent();
26414
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26415
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26416
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26417
+ return [2 /*return*/, {
26418
+ url: (0, common_1.toPathString)(localVarUrlObj),
26419
+ options: localVarRequestOptions,
26420
+ }];
26421
+ }
26422
+ });
26423
+ });
26424
+ },
26425
+ /**
26426
+ * 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.
26427
+ * @summary Get TaskAgent Eval Run
26428
+ * @param {string} orgId The organization ID
26429
+ * @param {string} projectId The project ID
26430
+ * @param {string} taskAgentId The task agent ID
26431
+ * @param {string} taskAgentEvalRunId The TaskAgent eval run ID
26432
+ * @param {*} [options] Override http request option.
26433
+ * @throws {RequiredError}
26434
+ */
26435
+ getTaskAgentEvalRun: function (orgId, projectId, taskAgentId, taskAgentEvalRunId, options) {
26436
+ if (options === void 0) { options = {}; }
26437
+ return __awaiter(_this, void 0, void 0, function () {
26438
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26439
+ return __generator(this, function (_a) {
26440
+ switch (_a.label) {
26441
+ case 0:
26442
+ // verify required parameter 'orgId' is not null or undefined
26443
+ (0, common_1.assertParamExists)('getTaskAgentEvalRun', 'orgId', orgId);
26444
+ // verify required parameter 'projectId' is not null or undefined
26445
+ (0, common_1.assertParamExists)('getTaskAgentEvalRun', 'projectId', projectId);
26446
+ // verify required parameter 'taskAgentId' is not null or undefined
26447
+ (0, common_1.assertParamExists)('getTaskAgentEvalRun', 'taskAgentId', taskAgentId);
26448
+ // verify required parameter 'taskAgentEvalRunId' is not null or undefined
26449
+ (0, common_1.assertParamExists)('getTaskAgentEvalRun', 'taskAgentEvalRunId', taskAgentEvalRunId);
26450
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/eval/run/{task_agent_eval_run_id}"
26451
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26452
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26453
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)))
26454
+ .replace("{".concat("task_agent_eval_run_id", "}"), encodeURIComponent(String(taskAgentEvalRunId)));
26455
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26456
+ if (configuration) {
26457
+ baseOptions = configuration.baseOptions;
26458
+ }
26459
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
26460
+ localVarHeaderParameter = {};
26461
+ localVarQueryParameter = {};
26462
+ // authentication HTTPBearer required
26463
+ // http bearer authentication required
26464
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26465
+ case 1:
26466
+ // authentication HTTPBearer required
26467
+ // http bearer authentication required
26468
+ _a.sent();
26469
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26470
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26471
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26472
+ return [2 /*return*/, {
26473
+ url: (0, common_1.toPathString)(localVarUrlObj),
26474
+ options: localVarRequestOptions,
26475
+ }];
26476
+ }
26477
+ });
26478
+ });
26479
+ },
26480
+ /**
26481
+ * Get one TaskAgent eval set by ID. The response includes preserved source TaskAgent run IDs but not encrypted snapshot text.
26482
+ * @summary Get TaskAgent Eval Set
26483
+ * @param {string} orgId The organization ID
26484
+ * @param {string} projectId The project ID
26485
+ * @param {string} taskAgentId The task agent ID
26486
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
26487
+ * @param {*} [options] Override http request option.
26488
+ * @throws {RequiredError}
26489
+ */
26490
+ getTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetId, options) {
26491
+ if (options === void 0) { options = {}; }
26492
+ return __awaiter(_this, void 0, void 0, function () {
26493
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26494
+ return __generator(this, function (_a) {
26495
+ switch (_a.label) {
26496
+ case 0:
26497
+ // verify required parameter 'orgId' is not null or undefined
26498
+ (0, common_1.assertParamExists)('getTaskAgentEvalSet', 'orgId', orgId);
26499
+ // verify required parameter 'projectId' is not null or undefined
26500
+ (0, common_1.assertParamExists)('getTaskAgentEvalSet', 'projectId', projectId);
26501
+ // verify required parameter 'taskAgentId' is not null or undefined
26502
+ (0, common_1.assertParamExists)('getTaskAgentEvalSet', 'taskAgentId', taskAgentId);
26503
+ // verify required parameter 'taskAgentEvalSetId' is not null or undefined
26504
+ (0, common_1.assertParamExists)('getTaskAgentEvalSet', 'taskAgentEvalSetId', taskAgentEvalSetId);
26505
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/eval/set/{task_agent_eval_set_id}"
26506
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26507
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26508
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)))
26509
+ .replace("{".concat("task_agent_eval_set_id", "}"), encodeURIComponent(String(taskAgentEvalSetId)));
26510
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26511
+ if (configuration) {
26512
+ baseOptions = configuration.baseOptions;
26513
+ }
26514
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
26515
+ localVarHeaderParameter = {};
26516
+ localVarQueryParameter = {};
26517
+ // authentication HTTPBearer required
26518
+ // http bearer authentication required
26519
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26520
+ case 1:
26521
+ // authentication HTTPBearer required
26522
+ // http bearer authentication required
26523
+ _a.sent();
26524
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26525
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26526
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26527
+ return [2 /*return*/, {
26528
+ url: (0, common_1.toPathString)(localVarUrlObj),
26529
+ options: localVarRequestOptions,
26530
+ }];
26531
+ }
26532
+ });
26533
+ });
26534
+ },
26535
+ /**
26536
+ * List TaskAgent eval runs visible to the caller. Viewers without full run visibility only see eval runs they created.
26537
+ * @summary List TaskAgent Eval Runs
26538
+ * @param {string} orgId The organization ID
26539
+ * @param {string} projectId The project ID
26540
+ * @param {string} taskAgentId The task agent ID
26541
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to `100` if not specified.
26542
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
26543
+ * @param {*} [options] Override http request option.
26544
+ * @throws {RequiredError}
26545
+ */
26546
+ listTaskAgentEvalRuns: function (orgId, projectId, taskAgentId, limit, cursor, options) {
26547
+ if (options === void 0) { options = {}; }
26548
+ return __awaiter(_this, void 0, void 0, function () {
26549
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26550
+ return __generator(this, function (_a) {
26551
+ switch (_a.label) {
26552
+ case 0:
26553
+ // verify required parameter 'orgId' is not null or undefined
26554
+ (0, common_1.assertParamExists)('listTaskAgentEvalRuns', 'orgId', orgId);
26555
+ // verify required parameter 'projectId' is not null or undefined
26556
+ (0, common_1.assertParamExists)('listTaskAgentEvalRuns', 'projectId', projectId);
26557
+ // verify required parameter 'taskAgentId' is not null or undefined
26558
+ (0, common_1.assertParamExists)('listTaskAgentEvalRuns', 'taskAgentId', taskAgentId);
26559
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/eval/run"
26560
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26561
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26562
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)));
26563
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26564
+ if (configuration) {
26565
+ baseOptions = configuration.baseOptions;
26566
+ }
26567
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
26568
+ localVarHeaderParameter = {};
26569
+ localVarQueryParameter = {};
26570
+ // authentication HTTPBearer required
26571
+ // http bearer authentication required
26572
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26573
+ case 1:
26574
+ // authentication HTTPBearer required
26575
+ // http bearer authentication required
26576
+ _a.sent();
26577
+ if (limit !== undefined) {
26578
+ localVarQueryParameter['limit'] = limit;
26579
+ }
26580
+ if (cursor !== undefined) {
26581
+ localVarQueryParameter['cursor'] = cursor;
26582
+ }
26583
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26584
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26585
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26586
+ return [2 /*return*/, {
26587
+ url: (0, common_1.toPathString)(localVarUrlObj),
26588
+ options: localVarRequestOptions,
26589
+ }];
26590
+ }
26591
+ });
26592
+ });
26593
+ },
26594
+ /**
26595
+ * List TaskAgent eval sets visible to the caller. Viewers without full run visibility only see eval artifacts they created.
26596
+ * @summary List TaskAgent Eval Sets
26597
+ * @param {string} orgId The organization ID
26598
+ * @param {string} projectId The project ID
26599
+ * @param {string} taskAgentId The task agent ID
26600
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to `100` if not specified.
26601
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
26602
+ * @param {*} [options] Override http request option.
26603
+ * @throws {RequiredError}
26604
+ */
26605
+ listTaskAgentEvalSets: function (orgId, projectId, taskAgentId, limit, cursor, options) {
26606
+ if (options === void 0) { options = {}; }
26607
+ return __awaiter(_this, void 0, void 0, function () {
26608
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26609
+ return __generator(this, function (_a) {
26610
+ switch (_a.label) {
26611
+ case 0:
26612
+ // verify required parameter 'orgId' is not null or undefined
26613
+ (0, common_1.assertParamExists)('listTaskAgentEvalSets', 'orgId', orgId);
26614
+ // verify required parameter 'projectId' is not null or undefined
26615
+ (0, common_1.assertParamExists)('listTaskAgentEvalSets', 'projectId', projectId);
26616
+ // verify required parameter 'taskAgentId' is not null or undefined
26617
+ (0, common_1.assertParamExists)('listTaskAgentEvalSets', 'taskAgentId', taskAgentId);
26618
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/eval/set"
26619
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26620
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26621
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)));
26622
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26623
+ if (configuration) {
26624
+ baseOptions = configuration.baseOptions;
26625
+ }
26626
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
26627
+ localVarHeaderParameter = {};
26628
+ localVarQueryParameter = {};
26629
+ // authentication HTTPBearer required
26630
+ // http bearer authentication required
26631
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26632
+ case 1:
26633
+ // authentication HTTPBearer required
26634
+ // http bearer authentication required
26635
+ _a.sent();
26636
+ if (limit !== undefined) {
26637
+ localVarQueryParameter['limit'] = limit;
26638
+ }
26639
+ if (cursor !== undefined) {
26640
+ localVarQueryParameter['cursor'] = cursor;
26641
+ }
26642
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26643
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26644
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26645
+ return [2 /*return*/, {
26646
+ url: (0, common_1.toPathString)(localVarUrlObj),
26647
+ options: localVarRequestOptions,
26648
+ }];
26649
+ }
26650
+ });
26651
+ });
26652
+ },
26653
+ /**
26654
+ * Update a TaskAgent eval set name, description, or reference runs. Replacing reference runs creates fresh encrypted snapshots and preserves the submitted order.
26655
+ * @summary Update TaskAgent Eval Set
26656
+ * @param {string} orgId The organization ID
26657
+ * @param {string} projectId The project ID
26658
+ * @param {string} taskAgentId The task agent ID
26659
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
26660
+ * @param {TaskAgentEvalSetUpdate} taskAgentEvalSetUpdate
26661
+ * @param {*} [options] Override http request option.
26662
+ * @throws {RequiredError}
26663
+ */
26664
+ updateTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetId, taskAgentEvalSetUpdate, options) {
26665
+ if (options === void 0) { options = {}; }
26666
+ return __awaiter(_this, void 0, void 0, function () {
26667
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26668
+ return __generator(this, function (_a) {
26669
+ switch (_a.label) {
26670
+ case 0:
26671
+ // verify required parameter 'orgId' is not null or undefined
26672
+ (0, common_1.assertParamExists)('updateTaskAgentEvalSet', 'orgId', orgId);
26673
+ // verify required parameter 'projectId' is not null or undefined
26674
+ (0, common_1.assertParamExists)('updateTaskAgentEvalSet', 'projectId', projectId);
26675
+ // verify required parameter 'taskAgentId' is not null or undefined
26676
+ (0, common_1.assertParamExists)('updateTaskAgentEvalSet', 'taskAgentId', taskAgentId);
26677
+ // verify required parameter 'taskAgentEvalSetId' is not null or undefined
26678
+ (0, common_1.assertParamExists)('updateTaskAgentEvalSet', 'taskAgentEvalSetId', taskAgentEvalSetId);
26679
+ // verify required parameter 'taskAgentEvalSetUpdate' is not null or undefined
26680
+ (0, common_1.assertParamExists)('updateTaskAgentEvalSet', 'taskAgentEvalSetUpdate', taskAgentEvalSetUpdate);
26681
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/eval/set/{task_agent_eval_set_id}"
26682
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26683
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26684
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)))
26685
+ .replace("{".concat("task_agent_eval_set_id", "}"), encodeURIComponent(String(taskAgentEvalSetId)));
26686
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26687
+ if (configuration) {
26688
+ baseOptions = configuration.baseOptions;
26689
+ }
26690
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
26691
+ localVarHeaderParameter = {};
26692
+ localVarQueryParameter = {};
26693
+ // authentication HTTPBearer required
26694
+ // http bearer authentication required
26695
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26696
+ case 1:
26697
+ // authentication HTTPBearer required
26698
+ // http bearer authentication required
26699
+ _a.sent();
26700
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26701
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26702
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26703
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26704
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(taskAgentEvalSetUpdate, localVarRequestOptions, configuration);
26705
+ return [2 /*return*/, {
26706
+ url: (0, common_1.toPathString)(localVarUrlObj),
26707
+ options: localVarRequestOptions,
26708
+ }];
26709
+ }
26710
+ });
26711
+ });
26712
+ },
26713
+ };
26714
+ };
26715
+ exports.TaskAgentEvalsApiAxiosParamCreator = TaskAgentEvalsApiAxiosParamCreator;
26716
+ /**
26717
+ * TaskAgentEvalsApi - functional programming interface
26718
+ * @export
26719
+ */
26720
+ var TaskAgentEvalsApiFp = function (configuration) {
26721
+ var localVarAxiosParamCreator = (0, exports.TaskAgentEvalsApiAxiosParamCreator)(configuration);
26722
+ return {
26723
+ /**
26724
+ * 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.
26725
+ * @summary Start TaskAgent Eval Run
26726
+ * @param {string} orgId The organization ID
26727
+ * @param {string} projectId The project ID
26728
+ * @param {string} taskAgentId The task agent ID
26729
+ * @param {TaskAgentEvalRunCreate} taskAgentEvalRunCreate
26730
+ * @param {*} [options] Override http request option.
26731
+ * @throws {RequiredError}
26732
+ */
26733
+ createTaskAgentEvalRun: function (orgId, projectId, taskAgentId, taskAgentEvalRunCreate, options) {
26734
+ var _a, _b, _c;
26735
+ return __awaiter(this, void 0, void 0, function () {
26736
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26737
+ return __generator(this, function (_d) {
26738
+ switch (_d.label) {
26739
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createTaskAgentEvalRun(orgId, projectId, taskAgentId, taskAgentEvalRunCreate, options)];
26740
+ case 1:
26741
+ localVarAxiosArgs = _d.sent();
26742
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26743
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentEvalsApi.createTaskAgentEvalRun']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26744
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26745
+ }
26746
+ });
26747
+ });
26748
+ },
26749
+ /**
26750
+ * 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.
26751
+ * @summary Create TaskAgent Eval Set
26752
+ * @param {string} orgId The organization ID
26753
+ * @param {string} projectId The project ID
26754
+ * @param {string} taskAgentId The task agent ID
26755
+ * @param {TaskAgentEvalSetCreate} taskAgentEvalSetCreate
26756
+ * @param {*} [options] Override http request option.
26757
+ * @throws {RequiredError}
26758
+ */
26759
+ createTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetCreate, options) {
26760
+ var _a, _b, _c;
26761
+ return __awaiter(this, void 0, void 0, function () {
26762
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26763
+ return __generator(this, function (_d) {
26764
+ switch (_d.label) {
26765
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetCreate, options)];
26766
+ case 1:
26767
+ localVarAxiosArgs = _d.sent();
26768
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26769
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentEvalsApi.createTaskAgentEvalSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26770
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26771
+ }
26772
+ });
26773
+ });
26774
+ },
26775
+ /**
26776
+ * Delete a TaskAgent eval set when it is not referenced by a pending or running eval run.
26777
+ * @summary Delete TaskAgent Eval Set
26778
+ * @param {string} orgId The organization ID
26779
+ * @param {string} projectId The project ID
26780
+ * @param {string} taskAgentId The task agent ID
26781
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
26782
+ * @param {*} [options] Override http request option.
26783
+ * @throws {RequiredError}
26784
+ */
26785
+ deleteTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetId, options) {
26786
+ var _a, _b, _c;
26787
+ return __awaiter(this, void 0, void 0, function () {
26788
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26789
+ return __generator(this, function (_d) {
26790
+ switch (_d.label) {
26791
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetId, options)];
26792
+ case 1:
26793
+ localVarAxiosArgs = _d.sent();
26794
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26795
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentEvalsApi.deleteTaskAgentEvalSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26796
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26797
+ }
26798
+ });
26799
+ });
26800
+ },
26801
+ /**
26802
+ * 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.
26803
+ * @summary Get TaskAgent Eval Run
26804
+ * @param {string} orgId The organization ID
26805
+ * @param {string} projectId The project ID
26806
+ * @param {string} taskAgentId The task agent ID
26807
+ * @param {string} taskAgentEvalRunId The TaskAgent eval run ID
26808
+ * @param {*} [options] Override http request option.
26809
+ * @throws {RequiredError}
26810
+ */
26811
+ getTaskAgentEvalRun: function (orgId, projectId, taskAgentId, taskAgentEvalRunId, options) {
26812
+ var _a, _b, _c;
26813
+ return __awaiter(this, void 0, void 0, function () {
26814
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26815
+ return __generator(this, function (_d) {
26816
+ switch (_d.label) {
26817
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTaskAgentEvalRun(orgId, projectId, taskAgentId, taskAgentEvalRunId, options)];
26818
+ case 1:
26819
+ localVarAxiosArgs = _d.sent();
26820
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26821
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentEvalsApi.getTaskAgentEvalRun']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26822
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26823
+ }
26824
+ });
26825
+ });
26826
+ },
26827
+ /**
26828
+ * Get one TaskAgent eval set by ID. The response includes preserved source TaskAgent run IDs but not encrypted snapshot text.
26829
+ * @summary Get TaskAgent Eval Set
26830
+ * @param {string} orgId The organization ID
26831
+ * @param {string} projectId The project ID
26832
+ * @param {string} taskAgentId The task agent ID
26833
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
26834
+ * @param {*} [options] Override http request option.
26835
+ * @throws {RequiredError}
26836
+ */
26837
+ getTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetId, options) {
26838
+ var _a, _b, _c;
26839
+ return __awaiter(this, void 0, void 0, function () {
26840
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26841
+ return __generator(this, function (_d) {
26842
+ switch (_d.label) {
26843
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetId, options)];
26844
+ case 1:
26845
+ localVarAxiosArgs = _d.sent();
26846
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26847
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentEvalsApi.getTaskAgentEvalSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26848
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26849
+ }
26850
+ });
26851
+ });
26852
+ },
26853
+ /**
26854
+ * List TaskAgent eval runs visible to the caller. Viewers without full run visibility only see eval runs they created.
26855
+ * @summary List TaskAgent Eval Runs
26856
+ * @param {string} orgId The organization ID
26857
+ * @param {string} projectId The project ID
26858
+ * @param {string} taskAgentId The task agent ID
26859
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to `100` if not specified.
26860
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
26861
+ * @param {*} [options] Override http request option.
26862
+ * @throws {RequiredError}
26863
+ */
26864
+ listTaskAgentEvalRuns: function (orgId, projectId, taskAgentId, limit, cursor, options) {
26865
+ var _a, _b, _c;
26866
+ return __awaiter(this, void 0, void 0, function () {
26867
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26868
+ return __generator(this, function (_d) {
26869
+ switch (_d.label) {
26870
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTaskAgentEvalRuns(orgId, projectId, taskAgentId, limit, cursor, options)];
26871
+ case 1:
26872
+ localVarAxiosArgs = _d.sent();
26873
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26874
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentEvalsApi.listTaskAgentEvalRuns']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26875
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26876
+ }
26877
+ });
26878
+ });
26879
+ },
26880
+ /**
26881
+ * List TaskAgent eval sets visible to the caller. Viewers without full run visibility only see eval artifacts they created.
26882
+ * @summary List TaskAgent Eval Sets
26883
+ * @param {string} orgId The organization ID
26884
+ * @param {string} projectId The project ID
26885
+ * @param {string} taskAgentId The task agent ID
26886
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to `100` if not specified.
26887
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
26888
+ * @param {*} [options] Override http request option.
26889
+ * @throws {RequiredError}
26890
+ */
26891
+ listTaskAgentEvalSets: function (orgId, projectId, taskAgentId, limit, cursor, options) {
26892
+ var _a, _b, _c;
26893
+ return __awaiter(this, void 0, void 0, function () {
26894
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26895
+ return __generator(this, function (_d) {
26896
+ switch (_d.label) {
26897
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTaskAgentEvalSets(orgId, projectId, taskAgentId, limit, cursor, options)];
26898
+ case 1:
26899
+ localVarAxiosArgs = _d.sent();
26900
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26901
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentEvalsApi.listTaskAgentEvalSets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26902
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26903
+ }
26904
+ });
26905
+ });
26906
+ },
26907
+ /**
26908
+ * Update a TaskAgent eval set name, description, or reference runs. Replacing reference runs creates fresh encrypted snapshots and preserves the submitted order.
26909
+ * @summary Update TaskAgent Eval Set
26910
+ * @param {string} orgId The organization ID
26911
+ * @param {string} projectId The project ID
26912
+ * @param {string} taskAgentId The task agent ID
26913
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
26914
+ * @param {TaskAgentEvalSetUpdate} taskAgentEvalSetUpdate
26915
+ * @param {*} [options] Override http request option.
26916
+ * @throws {RequiredError}
26917
+ */
26918
+ updateTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetId, taskAgentEvalSetUpdate, options) {
26919
+ var _a, _b, _c;
26920
+ return __awaiter(this, void 0, void 0, function () {
26921
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26922
+ return __generator(this, function (_d) {
26923
+ switch (_d.label) {
26924
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetId, taskAgentEvalSetUpdate, options)];
26925
+ case 1:
26926
+ localVarAxiosArgs = _d.sent();
26927
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26928
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentEvalsApi.updateTaskAgentEvalSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26929
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26930
+ }
26931
+ });
26932
+ });
26933
+ },
26934
+ };
26935
+ };
26936
+ exports.TaskAgentEvalsApiFp = TaskAgentEvalsApiFp;
26937
+ /**
26938
+ * TaskAgentEvalsApi - factory interface
26939
+ * @export
26940
+ */
26941
+ var TaskAgentEvalsApiFactory = function (configuration, basePath, axios) {
26942
+ var localVarFp = (0, exports.TaskAgentEvalsApiFp)(configuration);
26943
+ return {
26944
+ /**
26945
+ * 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.
26946
+ * @summary Start TaskAgent Eval Run
26947
+ * @param {string} orgId The organization ID
26948
+ * @param {string} projectId The project ID
26949
+ * @param {string} taskAgentId The task agent ID
26950
+ * @param {TaskAgentEvalRunCreate} taskAgentEvalRunCreate
26951
+ * @param {*} [options] Override http request option.
26952
+ * @throws {RequiredError}
26953
+ */
26954
+ createTaskAgentEvalRun: function (orgId, projectId, taskAgentId, taskAgentEvalRunCreate, options) {
26955
+ return localVarFp.createTaskAgentEvalRun(orgId, projectId, taskAgentId, taskAgentEvalRunCreate, options).then(function (request) { return request(axios, basePath); });
26956
+ },
26957
+ /**
26958
+ * 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.
26959
+ * @summary Create TaskAgent Eval Set
26960
+ * @param {string} orgId The organization ID
26961
+ * @param {string} projectId The project ID
26962
+ * @param {string} taskAgentId The task agent ID
26963
+ * @param {TaskAgentEvalSetCreate} taskAgentEvalSetCreate
26964
+ * @param {*} [options] Override http request option.
26965
+ * @throws {RequiredError}
26966
+ */
26967
+ createTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetCreate, options) {
26968
+ return localVarFp.createTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetCreate, options).then(function (request) { return request(axios, basePath); });
26969
+ },
26970
+ /**
26971
+ * Delete a TaskAgent eval set when it is not referenced by a pending or running eval run.
26972
+ * @summary Delete TaskAgent Eval Set
26973
+ * @param {string} orgId The organization ID
26974
+ * @param {string} projectId The project ID
26975
+ * @param {string} taskAgentId The task agent ID
26976
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
26977
+ * @param {*} [options] Override http request option.
26978
+ * @throws {RequiredError}
26979
+ */
26980
+ deleteTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetId, options) {
26981
+ return localVarFp.deleteTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetId, options).then(function (request) { return request(axios, basePath); });
26982
+ },
26983
+ /**
26984
+ * 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.
26985
+ * @summary Get TaskAgent Eval Run
26986
+ * @param {string} orgId The organization ID
26987
+ * @param {string} projectId The project ID
26988
+ * @param {string} taskAgentId The task agent ID
26989
+ * @param {string} taskAgentEvalRunId The TaskAgent eval run ID
26990
+ * @param {*} [options] Override http request option.
26991
+ * @throws {RequiredError}
26992
+ */
26993
+ getTaskAgentEvalRun: function (orgId, projectId, taskAgentId, taskAgentEvalRunId, options) {
26994
+ return localVarFp.getTaskAgentEvalRun(orgId, projectId, taskAgentId, taskAgentEvalRunId, options).then(function (request) { return request(axios, basePath); });
26995
+ },
26996
+ /**
26997
+ * Get one TaskAgent eval set by ID. The response includes preserved source TaskAgent run IDs but not encrypted snapshot text.
26998
+ * @summary Get TaskAgent Eval Set
26999
+ * @param {string} orgId The organization ID
27000
+ * @param {string} projectId The project ID
27001
+ * @param {string} taskAgentId The task agent ID
27002
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
27003
+ * @param {*} [options] Override http request option.
27004
+ * @throws {RequiredError}
27005
+ */
27006
+ getTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetId, options) {
27007
+ return localVarFp.getTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetId, options).then(function (request) { return request(axios, basePath); });
27008
+ },
27009
+ /**
27010
+ * List TaskAgent eval runs visible to the caller. Viewers without full run visibility only see eval runs they created.
27011
+ * @summary List TaskAgent Eval Runs
27012
+ * @param {string} orgId The organization ID
27013
+ * @param {string} projectId The project ID
27014
+ * @param {string} taskAgentId The task agent ID
27015
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to `100` if not specified.
27016
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
27017
+ * @param {*} [options] Override http request option.
27018
+ * @throws {RequiredError}
27019
+ */
27020
+ listTaskAgentEvalRuns: function (orgId, projectId, taskAgentId, limit, cursor, options) {
27021
+ return localVarFp.listTaskAgentEvalRuns(orgId, projectId, taskAgentId, limit, cursor, options).then(function (request) { return request(axios, basePath); });
27022
+ },
27023
+ /**
27024
+ * List TaskAgent eval sets visible to the caller. Viewers without full run visibility only see eval artifacts they created.
27025
+ * @summary List TaskAgent Eval Sets
27026
+ * @param {string} orgId The organization ID
27027
+ * @param {string} projectId The project ID
27028
+ * @param {string} taskAgentId The task agent ID
27029
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to `100` if not specified.
27030
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
27031
+ * @param {*} [options] Override http request option.
27032
+ * @throws {RequiredError}
27033
+ */
27034
+ listTaskAgentEvalSets: function (orgId, projectId, taskAgentId, limit, cursor, options) {
27035
+ return localVarFp.listTaskAgentEvalSets(orgId, projectId, taskAgentId, limit, cursor, options).then(function (request) { return request(axios, basePath); });
27036
+ },
27037
+ /**
27038
+ * Update a TaskAgent eval set name, description, or reference runs. Replacing reference runs creates fresh encrypted snapshots and preserves the submitted order.
27039
+ * @summary Update TaskAgent Eval Set
27040
+ * @param {string} orgId The organization ID
27041
+ * @param {string} projectId The project ID
27042
+ * @param {string} taskAgentId The task agent ID
27043
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
27044
+ * @param {TaskAgentEvalSetUpdate} taskAgentEvalSetUpdate
27045
+ * @param {*} [options] Override http request option.
27046
+ * @throws {RequiredError}
27047
+ */
27048
+ updateTaskAgentEvalSet: function (orgId, projectId, taskAgentId, taskAgentEvalSetId, taskAgentEvalSetUpdate, options) {
27049
+ return localVarFp.updateTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetId, taskAgentEvalSetUpdate, options).then(function (request) { return request(axios, basePath); });
27050
+ },
27051
+ };
27052
+ };
27053
+ exports.TaskAgentEvalsApiFactory = TaskAgentEvalsApiFactory;
27054
+ /**
27055
+ * TaskAgentEvalsApi - object-oriented interface
27056
+ * @export
27057
+ * @class TaskAgentEvalsApi
27058
+ * @extends {BaseAPI}
27059
+ */
27060
+ var TaskAgentEvalsApi = /** @class */ (function (_super) {
27061
+ __extends(TaskAgentEvalsApi, _super);
27062
+ function TaskAgentEvalsApi() {
27063
+ return _super !== null && _super.apply(this, arguments) || this;
27064
+ }
27065
+ /**
27066
+ * 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.
27067
+ * @summary Start TaskAgent Eval Run
27068
+ * @param {string} orgId The organization ID
27069
+ * @param {string} projectId The project ID
27070
+ * @param {string} taskAgentId The task agent ID
27071
+ * @param {TaskAgentEvalRunCreate} taskAgentEvalRunCreate
27072
+ * @param {*} [options] Override http request option.
27073
+ * @throws {RequiredError}
27074
+ * @memberof TaskAgentEvalsApi
27075
+ */
27076
+ TaskAgentEvalsApi.prototype.createTaskAgentEvalRun = function (orgId, projectId, taskAgentId, taskAgentEvalRunCreate, options) {
27077
+ var _this = this;
27078
+ return (0, exports.TaskAgentEvalsApiFp)(this.configuration).createTaskAgentEvalRun(orgId, projectId, taskAgentId, taskAgentEvalRunCreate, options).then(function (request) { return request(_this.axios, _this.basePath); });
27079
+ };
27080
+ /**
27081
+ * 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.
27082
+ * @summary Create TaskAgent Eval Set
27083
+ * @param {string} orgId The organization ID
27084
+ * @param {string} projectId The project ID
27085
+ * @param {string} taskAgentId The task agent ID
27086
+ * @param {TaskAgentEvalSetCreate} taskAgentEvalSetCreate
27087
+ * @param {*} [options] Override http request option.
27088
+ * @throws {RequiredError}
27089
+ * @memberof TaskAgentEvalsApi
27090
+ */
27091
+ TaskAgentEvalsApi.prototype.createTaskAgentEvalSet = function (orgId, projectId, taskAgentId, taskAgentEvalSetCreate, options) {
27092
+ var _this = this;
27093
+ return (0, exports.TaskAgentEvalsApiFp)(this.configuration).createTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetCreate, options).then(function (request) { return request(_this.axios, _this.basePath); });
27094
+ };
27095
+ /**
27096
+ * Delete a TaskAgent eval set when it is not referenced by a pending or running eval run.
27097
+ * @summary Delete TaskAgent Eval Set
27098
+ * @param {string} orgId The organization ID
27099
+ * @param {string} projectId The project ID
27100
+ * @param {string} taskAgentId The task agent ID
27101
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
27102
+ * @param {*} [options] Override http request option.
27103
+ * @throws {RequiredError}
27104
+ * @memberof TaskAgentEvalsApi
27105
+ */
27106
+ TaskAgentEvalsApi.prototype.deleteTaskAgentEvalSet = function (orgId, projectId, taskAgentId, taskAgentEvalSetId, options) {
27107
+ var _this = this;
27108
+ return (0, exports.TaskAgentEvalsApiFp)(this.configuration).deleteTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetId, options).then(function (request) { return request(_this.axios, _this.basePath); });
27109
+ };
27110
+ /**
27111
+ * 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.
27112
+ * @summary Get TaskAgent Eval Run
27113
+ * @param {string} orgId The organization ID
27114
+ * @param {string} projectId The project ID
27115
+ * @param {string} taskAgentId The task agent ID
27116
+ * @param {string} taskAgentEvalRunId The TaskAgent eval run ID
27117
+ * @param {*} [options] Override http request option.
27118
+ * @throws {RequiredError}
27119
+ * @memberof TaskAgentEvalsApi
27120
+ */
27121
+ TaskAgentEvalsApi.prototype.getTaskAgentEvalRun = function (orgId, projectId, taskAgentId, taskAgentEvalRunId, options) {
27122
+ var _this = this;
27123
+ return (0, exports.TaskAgentEvalsApiFp)(this.configuration).getTaskAgentEvalRun(orgId, projectId, taskAgentId, taskAgentEvalRunId, options).then(function (request) { return request(_this.axios, _this.basePath); });
27124
+ };
27125
+ /**
27126
+ * Get one TaskAgent eval set by ID. The response includes preserved source TaskAgent run IDs but not encrypted snapshot text.
27127
+ * @summary Get TaskAgent Eval Set
27128
+ * @param {string} orgId The organization ID
27129
+ * @param {string} projectId The project ID
27130
+ * @param {string} taskAgentId The task agent ID
27131
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
27132
+ * @param {*} [options] Override http request option.
27133
+ * @throws {RequiredError}
27134
+ * @memberof TaskAgentEvalsApi
27135
+ */
27136
+ TaskAgentEvalsApi.prototype.getTaskAgentEvalSet = function (orgId, projectId, taskAgentId, taskAgentEvalSetId, options) {
27137
+ var _this = this;
27138
+ return (0, exports.TaskAgentEvalsApiFp)(this.configuration).getTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetId, options).then(function (request) { return request(_this.axios, _this.basePath); });
27139
+ };
27140
+ /**
27141
+ * List TaskAgent eval runs visible to the caller. Viewers without full run visibility only see eval runs they created.
27142
+ * @summary List TaskAgent Eval Runs
27143
+ * @param {string} orgId The organization ID
27144
+ * @param {string} projectId The project ID
27145
+ * @param {string} taskAgentId The task agent ID
27146
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to `100` if not specified.
27147
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
27148
+ * @param {*} [options] Override http request option.
27149
+ * @throws {RequiredError}
27150
+ * @memberof TaskAgentEvalsApi
27151
+ */
27152
+ TaskAgentEvalsApi.prototype.listTaskAgentEvalRuns = function (orgId, projectId, taskAgentId, limit, cursor, options) {
27153
+ var _this = this;
27154
+ return (0, exports.TaskAgentEvalsApiFp)(this.configuration).listTaskAgentEvalRuns(orgId, projectId, taskAgentId, limit, cursor, options).then(function (request) { return request(_this.axios, _this.basePath); });
27155
+ };
27156
+ /**
27157
+ * List TaskAgent eval sets visible to the caller. Viewers without full run visibility only see eval artifacts they created.
27158
+ * @summary List TaskAgent Eval Sets
27159
+ * @param {string} orgId The organization ID
27160
+ * @param {string} projectId The project ID
27161
+ * @param {string} taskAgentId The task agent ID
27162
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to `100` if not specified.
27163
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
27164
+ * @param {*} [options] Override http request option.
27165
+ * @throws {RequiredError}
27166
+ * @memberof TaskAgentEvalsApi
27167
+ */
27168
+ TaskAgentEvalsApi.prototype.listTaskAgentEvalSets = function (orgId, projectId, taskAgentId, limit, cursor, options) {
27169
+ var _this = this;
27170
+ return (0, exports.TaskAgentEvalsApiFp)(this.configuration).listTaskAgentEvalSets(orgId, projectId, taskAgentId, limit, cursor, options).then(function (request) { return request(_this.axios, _this.basePath); });
27171
+ };
27172
+ /**
27173
+ * Update a TaskAgent eval set name, description, or reference runs. Replacing reference runs creates fresh encrypted snapshots and preserves the submitted order.
27174
+ * @summary Update TaskAgent Eval Set
27175
+ * @param {string} orgId The organization ID
27176
+ * @param {string} projectId The project ID
27177
+ * @param {string} taskAgentId The task agent ID
27178
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
27179
+ * @param {TaskAgentEvalSetUpdate} taskAgentEvalSetUpdate
27180
+ * @param {*} [options] Override http request option.
27181
+ * @throws {RequiredError}
27182
+ * @memberof TaskAgentEvalsApi
27183
+ */
27184
+ TaskAgentEvalsApi.prototype.updateTaskAgentEvalSet = function (orgId, projectId, taskAgentId, taskAgentEvalSetId, taskAgentEvalSetUpdate, options) {
27185
+ var _this = this;
27186
+ return (0, exports.TaskAgentEvalsApiFp)(this.configuration).updateTaskAgentEvalSet(orgId, projectId, taskAgentId, taskAgentEvalSetId, taskAgentEvalSetUpdate, options).then(function (request) { return request(_this.axios, _this.basePath); });
27187
+ };
27188
+ return TaskAgentEvalsApi;
27189
+ }(base_1.BaseAPI));
27190
+ exports.TaskAgentEvalsApi = TaskAgentEvalsApi;
26226
27191
  /**
26227
27192
  * TaskAgentSharesApi - axios parameter creator
26228
27193
  * @export
@@ -26231,7 +27196,7 @@ var TaskAgentSharesApiAxiosParamCreator = function (configuration) {
26231
27196
  var _this = this;
26232
27197
  return {
26233
27198
  /**
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.
27199
+ * 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
27200
  * @summary Clone Shared TaskAgent
26236
27201
  * @param {string} shortId TaskAgent share short ID
26237
27202
  * @param {string} orgId The organization ID
@@ -26282,7 +27247,7 @@ var TaskAgentSharesApiAxiosParamCreator = function (configuration) {
26282
27247
  });
26283
27248
  },
26284
27249
  /**
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.
27250
+ * 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
27251
  * @summary Create TaskAgent Share
26287
27252
  * @param {string} orgId The organization ID
26288
27253
  * @param {string} projectId The project ID
@@ -26558,7 +27523,7 @@ var TaskAgentSharesApiFp = function (configuration) {
26558
27523
  var localVarAxiosParamCreator = (0, exports.TaskAgentSharesApiAxiosParamCreator)(configuration);
26559
27524
  return {
26560
27525
  /**
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.
27526
+ * 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
27527
  * @summary Clone Shared TaskAgent
26563
27528
  * @param {string} shortId TaskAgent share short ID
26564
27529
  * @param {string} orgId The organization ID
@@ -26583,7 +27548,7 @@ var TaskAgentSharesApiFp = function (configuration) {
26583
27548
  });
26584
27549
  },
26585
27550
  /**
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.
27551
+ * 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
27552
  * @summary Create TaskAgent Share
26588
27553
  * @param {string} orgId The organization ID
26589
27554
  * @param {string} projectId The project ID
@@ -26723,7 +27688,7 @@ var TaskAgentSharesApiFactory = function (configuration, basePath, axios) {
26723
27688
  var localVarFp = (0, exports.TaskAgentSharesApiFp)(configuration);
26724
27689
  return {
26725
27690
  /**
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.
27691
+ * 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
27692
  * @summary Clone Shared TaskAgent
26728
27693
  * @param {string} shortId TaskAgent share short ID
26729
27694
  * @param {string} orgId The organization ID
@@ -26735,7 +27700,7 @@ var TaskAgentSharesApiFactory = function (configuration, basePath, axios) {
26735
27700
  return localVarFp.cloneSharedTaskAgent(shortId, orgId, projectId, options).then(function (request) { return request(axios, basePath); });
26736
27701
  },
26737
27702
  /**
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.
27703
+ * 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
27704
  * @summary Create TaskAgent Share
26740
27705
  * @param {string} orgId The organization ID
26741
27706
  * @param {string} projectId The project ID
@@ -26814,7 +27779,7 @@ var TaskAgentSharesApi = /** @class */ (function (_super) {
26814
27779
  return _super !== null && _super.apply(this, arguments) || this;
26815
27780
  }
26816
27781
  /**
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.
27782
+ * 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
27783
  * @summary Clone Shared TaskAgent
26819
27784
  * @param {string} shortId TaskAgent share short ID
26820
27785
  * @param {string} orgId The organization ID
@@ -26828,7 +27793,7 @@ var TaskAgentSharesApi = /** @class */ (function (_super) {
26828
27793
  return (0, exports.TaskAgentSharesApiFp)(this.configuration).cloneSharedTaskAgent(shortId, orgId, projectId, options).then(function (request) { return request(_this.axios, _this.basePath); });
26829
27794
  };
26830
27795
  /**
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.
27796
+ * 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
27797
  * @summary Create TaskAgent Share
26833
27798
  * @param {string} orgId The organization ID
26834
27799
  * @param {string} projectId The project ID
@@ -27362,7 +28327,7 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
27362
28327
  });
27363
28328
  },
27364
28329
  /**
27365
- * Get conversation events for a specific TaskAgentRun. Returns the full conversation history from the ADK session including: - User messages - Agent responses - Tool calls and results - Error messages (if any) Events are returned in chronological order.
28330
+ * Get conversation events for a specific TaskAgentRun. Returns the full conversation history from the ADK session including: - User messages - Agent responses - Tool calls and results - Metadata-only memory compaction events, including token-threshold metadata when token-aware compaction was active - Error messages (if any) Events are returned in chronological order.
27366
28331
  * @summary Get Run Events
27367
28332
  * @param {string} orgId The unique identifier of the organization.
27368
28333
  * @param {string} projectId The unique identifier of the project.
@@ -27712,7 +28677,7 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
27712
28677
  });
27713
28678
  },
27714
28679
  /**
27715
- * List execution runs for a Task Agent. Returns run history with: - Input message - Token usage - Status and duration - Task tools invoked - MCP tools invoked - Phase timings for LLM and tool execution
28680
+ * List execution runs for a Task Agent. Returns run history with: - Input message - Token usage - Status and duration - Task tools invoked - MCP tools invoked - Phase timings for LLM, tool execution, and memory compaction when applicable
27716
28681
  * @summary List Task Agent Runs
27717
28682
  * @param {string} orgId The unique identifier of the organization.
27718
28683
  * @param {string} projectId The unique identifier of the project.
@@ -27917,7 +28882,7 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
27917
28882
  });
27918
28883
  },
27919
28884
  /**
27920
- * Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Use `revision_id` to execute a specific TaskAgent revision. New sessions can run any revision belonging to the TaskAgent. Existing sessions remain pinned to their original revision; passing a conflicting `revision_id` is rejected. Subsequent events include tool calls/results, text responses, and the terminal `done` or `error` event.
28885
+ * Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Use `revision_id` to execute a specific TaskAgent revision. New sessions can run any revision belonging to the TaskAgent. Existing sessions remain pinned to their original revision; passing a conflicting `revision_id` is rejected. Subsequent events include tool calls/results, text responses, metadata-only `memory_compaction` events when compaction memory runs, and the terminal `done` or `error` event. Compaction metadata may include token-threshold configuration such as `trigger: \"auto\"`, `token_threshold`, and `event_retention_size` when token-aware compaction is active.
27921
28886
  * @summary Run Task Agent
27922
28887
  * @param {string} orgId The unique identifier of the organization.
27923
28888
  * @param {string} projectId The unique identifier of the project.
@@ -28473,7 +29438,7 @@ var TaskAgentsApiFp = function (configuration) {
28473
29438
  });
28474
29439
  },
28475
29440
  /**
28476
- * Get conversation events for a specific TaskAgentRun. Returns the full conversation history from the ADK session including: - User messages - Agent responses - Tool calls and results - Error messages (if any) Events are returned in chronological order.
29441
+ * Get conversation events for a specific TaskAgentRun. Returns the full conversation history from the ADK session including: - User messages - Agent responses - Tool calls and results - Metadata-only memory compaction events, including token-threshold metadata when token-aware compaction was active - Error messages (if any) Events are returned in chronological order.
28477
29442
  * @summary Get Run Events
28478
29443
  * @param {string} orgId The unique identifier of the organization.
28479
29444
  * @param {string} projectId The unique identifier of the project.
@@ -28634,7 +29599,7 @@ var TaskAgentsApiFp = function (configuration) {
28634
29599
  });
28635
29600
  },
28636
29601
  /**
28637
- * List execution runs for a Task Agent. Returns run history with: - Input message - Token usage - Status and duration - Task tools invoked - MCP tools invoked - Phase timings for LLM and tool execution
29602
+ * List execution runs for a Task Agent. Returns run history with: - Input message - Token usage - Status and duration - Task tools invoked - MCP tools invoked - Phase timings for LLM, tool execution, and memory compaction when applicable
28638
29603
  * @summary List Task Agent Runs
28639
29604
  * @param {string} orgId The unique identifier of the organization.
28640
29605
  * @param {string} projectId The unique identifier of the project.
@@ -28721,7 +29686,7 @@ var TaskAgentsApiFp = function (configuration) {
28721
29686
  });
28722
29687
  },
28723
29688
  /**
28724
- * Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Use `revision_id` to execute a specific TaskAgent revision. New sessions can run any revision belonging to the TaskAgent. Existing sessions remain pinned to their original revision; passing a conflicting `revision_id` is rejected. Subsequent events include tool calls/results, text responses, and the terminal `done` or `error` event.
29689
+ * Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Use `revision_id` to execute a specific TaskAgent revision. New sessions can run any revision belonging to the TaskAgent. Existing sessions remain pinned to their original revision; passing a conflicting `revision_id` is rejected. Subsequent events include tool calls/results, text responses, metadata-only `memory_compaction` events when compaction memory runs, and the terminal `done` or `error` event. Compaction metadata may include token-threshold configuration such as `trigger: \"auto\"`, `token_threshold`, and `event_retention_size` when token-aware compaction is active.
28725
29690
  * @summary Run Task Agent
28726
29691
  * @param {string} orgId The unique identifier of the organization.
28727
29692
  * @param {string} projectId The unique identifier of the project.
@@ -28993,7 +29958,7 @@ var TaskAgentsApiFactory = function (configuration, basePath, axios) {
28993
29958
  return localVarFp.getTaskAgentRevision(orgId, projectId, taskAgentId, revisionId, options).then(function (request) { return request(axios, basePath); });
28994
29959
  },
28995
29960
  /**
28996
- * Get conversation events for a specific TaskAgentRun. Returns the full conversation history from the ADK session including: - User messages - Agent responses - Tool calls and results - Error messages (if any) Events are returned in chronological order.
29961
+ * Get conversation events for a specific TaskAgentRun. Returns the full conversation history from the ADK session including: - User messages - Agent responses - Tool calls and results - Metadata-only memory compaction events, including token-threshold metadata when token-aware compaction was active - Error messages (if any) Events are returned in chronological order.
28997
29962
  * @summary Get Run Events
28998
29963
  * @param {string} orgId The unique identifier of the organization.
28999
29964
  * @param {string} projectId The unique identifier of the project.
@@ -29076,7 +30041,7 @@ var TaskAgentsApiFactory = function (configuration, basePath, axios) {
29076
30041
  return localVarFp.listTaskAgentRevisions(orgId, projectId, taskAgentId, options).then(function (request) { return request(axios, basePath); });
29077
30042
  },
29078
30043
  /**
29079
- * List execution runs for a Task Agent. Returns run history with: - Input message - Token usage - Status and duration - Task tools invoked - MCP tools invoked - Phase timings for LLM and tool execution
30044
+ * List execution runs for a Task Agent. Returns run history with: - Input message - Token usage - Status and duration - Task tools invoked - MCP tools invoked - Phase timings for LLM, tool execution, and memory compaction when applicable
29080
30045
  * @summary List Task Agent Runs
29081
30046
  * @param {string} orgId The unique identifier of the organization.
29082
30047
  * @param {string} projectId The unique identifier of the project.
@@ -29124,7 +30089,7 @@ var TaskAgentsApiFactory = function (configuration, basePath, axios) {
29124
30089
  return localVarFp.listTaskAgents(orgId, projectId, cursor, pageLimit, options).then(function (request) { return request(axios, basePath); });
29125
30090
  },
29126
30091
  /**
29127
- * Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Use `revision_id` to execute a specific TaskAgent revision. New sessions can run any revision belonging to the TaskAgent. Existing sessions remain pinned to their original revision; passing a conflicting `revision_id` is rejected. Subsequent events include tool calls/results, text responses, and the terminal `done` or `error` event.
30092
+ * Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Use `revision_id` to execute a specific TaskAgent revision. New sessions can run any revision belonging to the TaskAgent. Existing sessions remain pinned to their original revision; passing a conflicting `revision_id` is rejected. Subsequent events include tool calls/results, text responses, metadata-only `memory_compaction` events when compaction memory runs, and the terminal `done` or `error` event. Compaction metadata may include token-threshold configuration such as `trigger: \"auto\"`, `token_threshold`, and `event_retention_size` when token-aware compaction is active.
29128
30093
  * @summary Run Task Agent
29129
30094
  * @param {string} orgId The unique identifier of the organization.
29130
30095
  * @param {string} projectId The unique identifier of the project.
@@ -29338,7 +30303,7 @@ var TaskAgentsApi = /** @class */ (function (_super) {
29338
30303
  return (0, exports.TaskAgentsApiFp)(this.configuration).getTaskAgentRevision(orgId, projectId, taskAgentId, revisionId, options).then(function (request) { return request(_this.axios, _this.basePath); });
29339
30304
  };
29340
30305
  /**
29341
- * Get conversation events for a specific TaskAgentRun. Returns the full conversation history from the ADK session including: - User messages - Agent responses - Tool calls and results - Error messages (if any) Events are returned in chronological order.
30306
+ * Get conversation events for a specific TaskAgentRun. Returns the full conversation history from the ADK session including: - User messages - Agent responses - Tool calls and results - Metadata-only memory compaction events, including token-threshold metadata when token-aware compaction was active - Error messages (if any) Events are returned in chronological order.
29342
30307
  * @summary Get Run Events
29343
30308
  * @param {string} orgId The unique identifier of the organization.
29344
30309
  * @param {string} projectId The unique identifier of the project.
@@ -29433,7 +30398,7 @@ var TaskAgentsApi = /** @class */ (function (_super) {
29433
30398
  return (0, exports.TaskAgentsApiFp)(this.configuration).listTaskAgentRevisions(orgId, projectId, taskAgentId, options).then(function (request) { return request(_this.axios, _this.basePath); });
29434
30399
  };
29435
30400
  /**
29436
- * List execution runs for a Task Agent. Returns run history with: - Input message - Token usage - Status and duration - Task tools invoked - MCP tools invoked - Phase timings for LLM and tool execution
30401
+ * List execution runs for a Task Agent. Returns run history with: - Input message - Token usage - Status and duration - Task tools invoked - MCP tools invoked - Phase timings for LLM, tool execution, and memory compaction when applicable
29437
30402
  * @summary List Task Agent Runs
29438
30403
  * @param {string} orgId The unique identifier of the organization.
29439
30404
  * @param {string} projectId The unique identifier of the project.
@@ -29487,7 +30452,7 @@ var TaskAgentsApi = /** @class */ (function (_super) {
29487
30452
  return (0, exports.TaskAgentsApiFp)(this.configuration).listTaskAgents(orgId, projectId, cursor, pageLimit, options).then(function (request) { return request(_this.axios, _this.basePath); });
29488
30453
  };
29489
30454
  /**
29490
- * Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Use `revision_id` to execute a specific TaskAgent revision. New sessions can run any revision belonging to the TaskAgent. Existing sessions remain pinned to their original revision; passing a conflicting `revision_id` is rejected. Subsequent events include tool calls/results, text responses, and the terminal `done` or `error` event.
30455
+ * Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Use `revision_id` to execute a specific TaskAgent revision. New sessions can run any revision belonging to the TaskAgent. Existing sessions remain pinned to their original revision; passing a conflicting `revision_id` is rejected. Subsequent events include tool calls/results, text responses, metadata-only `memory_compaction` events when compaction memory runs, and the terminal `done` or `error` event. Compaction metadata may include token-threshold configuration such as `trigger: \"auto\"`, `token_threshold`, and `event_retention_size` when token-aware compaction is active.
29491
30456
  * @summary Run Task Agent
29492
30457
  * @param {string} orgId The unique identifier of the organization.
29493
30458
  * @param {string} projectId The unique identifier of the project.
@@ -33891,7 +34856,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
33891
34856
  var _this = this;
33892
34857
  return {
33893
34858
  /**
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.
34859
+ * 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
34860
  * @summary Clone Shared Task
33896
34861
  * @param {string} shortId The unique share link identifier
33897
34862
  * @param {string} orgId The unique identifier of the organization.
@@ -33994,7 +34959,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
33994
34959
  });
33995
34960
  },
33996
34961
  /**
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.
34962
+ * 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
34963
  * @summary Create Task Share
33999
34964
  * @param {string} orgId The unique identifier of the organization.
34000
34965
  * @param {string} projectId The unique identifier of the project.
@@ -34050,7 +35015,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
34050
35015
  });
34051
35016
  },
34052
35017
  /**
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.
35018
+ * 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
35019
  * @summary Delete Task
34055
35020
  * @param {string} orgId The unique identifier of the organization.
34056
35021
  * @param {string} projectId The unique identifier of the project.
@@ -34101,7 +35066,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
34101
35066
  });
34102
35067
  },
34103
35068
  /**
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.
35069
+ * 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
35070
  * @summary Delete Task
34106
35071
  * @param {string} orgId The unique identifier of the organization.
34107
35072
  * @param {string} projectId The unique identifier of the project.
@@ -35602,7 +36567,7 @@ var TasksApiFp = function (configuration) {
35602
36567
  var localVarAxiosParamCreator = (0, exports.TasksApiAxiosParamCreator)(configuration);
35603
36568
  return {
35604
36569
  /**
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.
36570
+ * 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
36571
  * @summary Clone Shared Task
35607
36572
  * @param {string} shortId The unique share link identifier
35608
36573
  * @param {string} orgId The unique identifier of the organization.
@@ -35652,7 +36617,7 @@ var TasksApiFp = function (configuration) {
35652
36617
  });
35653
36618
  },
35654
36619
  /**
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.
36620
+ * 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
36621
  * @summary Create Task Share
35657
36622
  * @param {string} orgId The unique identifier of the organization.
35658
36623
  * @param {string} projectId The unique identifier of the project.
@@ -35678,7 +36643,7 @@ var TasksApiFp = function (configuration) {
35678
36643
  });
35679
36644
  },
35680
36645
  /**
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.
36646
+ * 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
36647
  * @summary Delete Task
35683
36648
  * @param {string} orgId The unique identifier of the organization.
35684
36649
  * @param {string} projectId The unique identifier of the project.
@@ -35703,7 +36668,7 @@ var TasksApiFp = function (configuration) {
35703
36668
  });
35704
36669
  },
35705
36670
  /**
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.
36671
+ * 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
36672
  * @summary Delete Task
35708
36673
  * @param {string} orgId The unique identifier of the organization.
35709
36674
  * @param {string} projectId The unique identifier of the project.
@@ -36395,7 +37360,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
36395
37360
  var localVarFp = (0, exports.TasksApiFp)(configuration);
36396
37361
  return {
36397
37362
  /**
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.
37363
+ * 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
37364
  * @summary Clone Shared Task
36400
37365
  * @param {string} shortId The unique share link identifier
36401
37366
  * @param {string} orgId The unique identifier of the organization.
@@ -36419,7 +37384,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
36419
37384
  return localVarFp.createTask(orgId, projectId, taskCreate, options).then(function (request) { return request(axios, basePath); });
36420
37385
  },
36421
37386
  /**
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.
37387
+ * 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
37388
  * @summary Create Task Share
36424
37389
  * @param {string} orgId The unique identifier of the organization.
36425
37390
  * @param {string} projectId The unique identifier of the project.
@@ -36432,7 +37397,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
36432
37397
  return localVarFp.createTaskShare(orgId, projectId, taskId, taskShareCreate, options).then(function (request) { return request(axios, basePath); });
36433
37398
  },
36434
37399
  /**
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.
37400
+ * 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
37401
  * @summary Delete Task
36437
37402
  * @param {string} orgId The unique identifier of the organization.
36438
37403
  * @param {string} projectId The unique identifier of the project.
@@ -36444,7 +37409,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
36444
37409
  return localVarFp.deleteTask(orgId, projectId, taskId, options).then(function (request) { return request(axios, basePath); });
36445
37410
  },
36446
37411
  /**
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.
37412
+ * 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
37413
  * @summary Delete Task
36449
37414
  * @param {string} orgId The unique identifier of the organization.
36450
37415
  * @param {string} projectId The unique identifier of the project.
@@ -36815,7 +37780,7 @@ var TasksApi = /** @class */ (function (_super) {
36815
37780
  return _super !== null && _super.apply(this, arguments) || this;
36816
37781
  }
36817
37782
  /**
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.
37783
+ * 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
37784
  * @summary Clone Shared Task
36820
37785
  * @param {string} shortId The unique share link identifier
36821
37786
  * @param {string} orgId The unique identifier of the organization.
@@ -36843,7 +37808,7 @@ var TasksApi = /** @class */ (function (_super) {
36843
37808
  return (0, exports.TasksApiFp)(this.configuration).createTask(orgId, projectId, taskCreate, options).then(function (request) { return request(_this.axios, _this.basePath); });
36844
37809
  };
36845
37810
  /**
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.
37811
+ * 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
37812
  * @summary Create Task Share
36848
37813
  * @param {string} orgId The unique identifier of the organization.
36849
37814
  * @param {string} projectId The unique identifier of the project.
@@ -36858,7 +37823,7 @@ var TasksApi = /** @class */ (function (_super) {
36858
37823
  return (0, exports.TasksApiFp)(this.configuration).createTaskShare(orgId, projectId, taskId, taskShareCreate, options).then(function (request) { return request(_this.axios, _this.basePath); });
36859
37824
  };
36860
37825
  /**
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.
37826
+ * 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
37827
  * @summary Delete Task
36863
37828
  * @param {string} orgId The unique identifier of the organization.
36864
37829
  * @param {string} projectId The unique identifier of the project.
@@ -36872,7 +37837,7 @@ var TasksApi = /** @class */ (function (_super) {
36872
37837
  return (0, exports.TasksApiFp)(this.configuration).deleteTask(orgId, projectId, taskId, options).then(function (request) { return request(_this.axios, _this.basePath); });
36873
37838
  };
36874
37839
  /**
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.
37840
+ * 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
37841
  * @summary Delete Task
36877
37842
  * @param {string} orgId The unique identifier of the organization.
36878
37843
  * @param {string} projectId The unique identifier of the project.