@rightbrain/brain-api-client 0.0.1-dev.150.56bd32f → 0.0.1-dev.152.8af46e8

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 +1257 -141
  2. package/dist/api.d.ts +822 -134
  3. package/dist/api.js +1030 -66
  4. package/package.json +1 -1
package/dist/api.js CHANGED
@@ -76,11 +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.TaskAgentUsageReportAggregationEnum = exports.TaskAgentUpdateTaskAgentRunVisibilityEnum = exports.TaskAgentUpdateMemoryStrategyEnum = 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.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.CollectionsApiFp = exports.CollectionsApiAxiosParamCreator = exports.CollectionApi = exports.CollectionApiFactory = 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.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 = void 0;
81
- exports.MCPServersApiAxiosParamCreator = exports.MCPServerApi = exports.MCPServerApiFactory = exports.MCPServerApiFp = 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 = void 0;
82
- exports.CreateTagEntityTypeEnum = exports.AddTagToEntitiesEntityTypeEnum = exports.TagsApi = exports.TagsApiFactory = 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 = void 0;
83
- 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 = 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.UpdateTagEntityTypeEnum = exports.RemoveTagFromEntitiesEntityTypeEnum = exports.ListTagsEntityTypeEnum = exports.GetTagEntityTypeEnum = 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;
84
85
  var axios_1 = require("axios");
85
86
  // Some imports not used depending on template conditions
86
87
  // @ts-ignore
@@ -700,6 +701,32 @@ exports.TaskTaskRunVisibilityEnum = {
700
701
  EditorsAndOwners: 'editors_and_owners',
701
702
  AllViewers: 'all_viewers'
702
703
  };
704
+ exports.TaskAgentCloneDependencyReportItemKindEnum = {
705
+ Task: 'task',
706
+ TaskRevision: 'task_revision',
707
+ Skill: 'skill',
708
+ SkillRevision: 'skill_revision',
709
+ Integration: 'integration',
710
+ IntegrationTool: 'integration_tool',
711
+ McpServer: 'mcp_server',
712
+ McpTool: 'mcp_tool',
713
+ RegisteredTool: 'registered_tool',
714
+ LlmModel: 'llm_model'
715
+ };
716
+ exports.TaskAgentCloneDependencyReportItemActionEnum = {
717
+ Cloned: 'cloned',
718
+ Reused: 'reused',
719
+ CreatedPlaceholder: 'created_placeholder',
720
+ Preserved: 'preserved',
721
+ Skipped: 'skipped',
722
+ Failed: 'failed'
723
+ };
724
+ exports.TaskAgentCloneDependencyReportItemStatusEnum = {
725
+ Ready: 'ready',
726
+ SetupRequired: 'setup_required',
727
+ Warning: 'warning',
728
+ Failed: 'failed'
729
+ };
703
730
  exports.TaskAgentCreateMemoryStrategyEnum = {
704
731
  SlidingWindow: 'sliding_window',
705
732
  Compaction: 'compaction'
@@ -970,6 +997,15 @@ exports.TriggerTargetType = {
970
997
  Task: 'task',
971
998
  TaskAgent: 'task_agent'
972
999
  };
1000
+ /**
1001
+ * Supported trigger types.
1002
+ * @export
1003
+ * @enum {string}
1004
+ */
1005
+ exports.TriggerType = {
1006
+ Webhook: 'webhook',
1007
+ Schedule: 'schedule'
1008
+ };
973
1009
  /**
974
1010
  * Status filter for usage-report endpoints.
975
1011
  * @export
@@ -19207,11 +19243,11 @@ var ProjectsApiAxiosParamCreator = function (configuration) {
19207
19243
  * @summary Set Project Config
19208
19244
  * @param {string} orgId
19209
19245
  * @param {string} projectId
19210
- * @param {ProjectConfigInput} projectConfigInput
19246
+ * @param {ProjectConfig} projectConfig
19211
19247
  * @param {*} [options] Override http request option.
19212
19248
  * @throws {RequiredError}
19213
19249
  */
19214
- updateProjectConfig: function (orgId, projectId, projectConfigInput, options) {
19250
+ updateProjectConfig: function (orgId, projectId, projectConfig, options) {
19215
19251
  if (options === void 0) { options = {}; }
19216
19252
  return __awaiter(_this, void 0, void 0, function () {
19217
19253
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -19222,8 +19258,8 @@ var ProjectsApiAxiosParamCreator = function (configuration) {
19222
19258
  (0, common_1.assertParamExists)('updateProjectConfig', 'orgId', orgId);
19223
19259
  // verify required parameter 'projectId' is not null or undefined
19224
19260
  (0, common_1.assertParamExists)('updateProjectConfig', 'projectId', projectId);
19225
- // verify required parameter 'projectConfigInput' is not null or undefined
19226
- (0, common_1.assertParamExists)('updateProjectConfig', 'projectConfigInput', projectConfigInput);
19261
+ // verify required parameter 'projectConfig' is not null or undefined
19262
+ (0, common_1.assertParamExists)('updateProjectConfig', 'projectConfig', projectConfig);
19227
19263
  localVarPath = "/org/{org_id}/project/{project_id}/config"
19228
19264
  .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
19229
19265
  .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
@@ -19245,7 +19281,7 @@ var ProjectsApiAxiosParamCreator = function (configuration) {
19245
19281
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
19246
19282
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19247
19283
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19248
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(projectConfigInput, localVarRequestOptions, configuration);
19284
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(projectConfig, localVarRequestOptions, configuration);
19249
19285
  return [2 /*return*/, {
19250
19286
  url: (0, common_1.toPathString)(localVarUrlObj),
19251
19287
  options: localVarRequestOptions,
@@ -19541,17 +19577,17 @@ var ProjectsApiFp = function (configuration) {
19541
19577
  * @summary Set Project Config
19542
19578
  * @param {string} orgId
19543
19579
  * @param {string} projectId
19544
- * @param {ProjectConfigInput} projectConfigInput
19580
+ * @param {ProjectConfig} projectConfig
19545
19581
  * @param {*} [options] Override http request option.
19546
19582
  * @throws {RequiredError}
19547
19583
  */
19548
- updateProjectConfig: function (orgId, projectId, projectConfigInput, options) {
19584
+ updateProjectConfig: function (orgId, projectId, projectConfig, options) {
19549
19585
  var _a, _b, _c;
19550
19586
  return __awaiter(this, void 0, void 0, function () {
19551
19587
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
19552
19588
  return __generator(this, function (_d) {
19553
19589
  switch (_d.label) {
19554
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateProjectConfig(orgId, projectId, projectConfigInput, options)];
19590
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateProjectConfig(orgId, projectId, projectConfig, options)];
19555
19591
  case 1:
19556
19592
  localVarAxiosArgs = _d.sent();
19557
19593
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -19705,12 +19741,12 @@ var ProjectsApiFactory = function (configuration, basePath, axios) {
19705
19741
  * @summary Set Project Config
19706
19742
  * @param {string} orgId
19707
19743
  * @param {string} projectId
19708
- * @param {ProjectConfigInput} projectConfigInput
19744
+ * @param {ProjectConfig} projectConfig
19709
19745
  * @param {*} [options] Override http request option.
19710
19746
  * @throws {RequiredError}
19711
19747
  */
19712
- updateProjectConfig: function (orgId, projectId, projectConfigInput, options) {
19713
- return localVarFp.updateProjectConfig(orgId, projectId, projectConfigInput, options).then(function (request) { return request(axios, basePath); });
19748
+ updateProjectConfig: function (orgId, projectId, projectConfig, options) {
19749
+ return localVarFp.updateProjectConfig(orgId, projectId, projectConfig, options).then(function (request) { return request(axios, basePath); });
19714
19750
  },
19715
19751
  };
19716
19752
  };
@@ -19882,14 +19918,14 @@ var ProjectsApi = /** @class */ (function (_super) {
19882
19918
  * @summary Set Project Config
19883
19919
  * @param {string} orgId
19884
19920
  * @param {string} projectId
19885
- * @param {ProjectConfigInput} projectConfigInput
19921
+ * @param {ProjectConfig} projectConfig
19886
19922
  * @param {*} [options] Override http request option.
19887
19923
  * @throws {RequiredError}
19888
19924
  * @memberof ProjectsApi
19889
19925
  */
19890
- ProjectsApi.prototype.updateProjectConfig = function (orgId, projectId, projectConfigInput, options) {
19926
+ ProjectsApi.prototype.updateProjectConfig = function (orgId, projectId, projectConfig, options) {
19891
19927
  var _this = this;
19892
- return (0, exports.ProjectsApiFp)(this.configuration).updateProjectConfig(orgId, projectId, projectConfigInput, options).then(function (request) { return request(_this.axios, _this.basePath); });
19928
+ return (0, exports.ProjectsApiFp)(this.configuration).updateProjectConfig(orgId, projectId, projectConfig, options).then(function (request) { return request(_this.axios, _this.basePath); });
19893
19929
  };
19894
19930
  return ProjectsApi;
19895
19931
  }(base_1.BaseAPI));
@@ -20688,6 +20724,77 @@ var ScheduleTriggersApiAxiosParamCreator = function (configuration) {
20688
20724
  });
20689
20725
  });
20690
20726
  },
20727
+ /**
20728
+ * List execution history for schedule triggers in the project.
20729
+ * @summary List project schedule trigger events
20730
+ * @param {string} orgId The organization ID
20731
+ * @param {string} projectId The project ID
20732
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
20733
+ * @param {number} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
20734
+ * @param {string | null} [status]
20735
+ * @param {TriggerType} [triggerType]
20736
+ * @param {TriggerTargetType} [targetType]
20737
+ * @param {string | null} [targetId]
20738
+ * @param {*} [options] Override http request option.
20739
+ * @throws {RequiredError}
20740
+ */
20741
+ listProjectScheduleTriggerEvents: function (orgId, projectId, cursor, pageLimit, status, triggerType, targetType, targetId, options) {
20742
+ if (options === void 0) { options = {}; }
20743
+ return __awaiter(_this, void 0, void 0, function () {
20744
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
20745
+ return __generator(this, function (_a) {
20746
+ switch (_a.label) {
20747
+ case 0:
20748
+ // verify required parameter 'orgId' is not null or undefined
20749
+ (0, common_1.assertParamExists)('listProjectScheduleTriggerEvents', 'orgId', orgId);
20750
+ // verify required parameter 'projectId' is not null or undefined
20751
+ (0, common_1.assertParamExists)('listProjectScheduleTriggerEvents', 'projectId', projectId);
20752
+ localVarPath = "/org/{org_id}/project/{project_id}/trigger/schedule/events"
20753
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
20754
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
20755
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20756
+ if (configuration) {
20757
+ baseOptions = configuration.baseOptions;
20758
+ }
20759
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
20760
+ localVarHeaderParameter = {};
20761
+ localVarQueryParameter = {};
20762
+ // authentication HTTPBearer required
20763
+ // http bearer authentication required
20764
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
20765
+ case 1:
20766
+ // authentication HTTPBearer required
20767
+ // http bearer authentication required
20768
+ _a.sent();
20769
+ if (cursor !== undefined) {
20770
+ localVarQueryParameter['cursor'] = cursor;
20771
+ }
20772
+ if (pageLimit !== undefined) {
20773
+ localVarQueryParameter['page_limit'] = pageLimit;
20774
+ }
20775
+ if (status !== undefined) {
20776
+ localVarQueryParameter['status'] = status;
20777
+ }
20778
+ if (triggerType !== undefined) {
20779
+ localVarQueryParameter['trigger_type'] = triggerType;
20780
+ }
20781
+ if (targetType !== undefined) {
20782
+ localVarQueryParameter['target_type'] = targetType;
20783
+ }
20784
+ if (targetId !== undefined) {
20785
+ localVarQueryParameter['target_id'] = targetId;
20786
+ }
20787
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
20788
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20789
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20790
+ return [2 /*return*/, {
20791
+ url: (0, common_1.toPathString)(localVarUrlObj),
20792
+ options: localVarRequestOptions,
20793
+ }];
20794
+ }
20795
+ });
20796
+ });
20797
+ },
20691
20798
  /**
20692
20799
  * List execution history for a schedule trigger.
20693
20800
  * @summary List schedule trigger events
@@ -20918,6 +21025,36 @@ var ScheduleTriggersApiFp = function (configuration) {
20918
21025
  });
20919
21026
  });
20920
21027
  },
21028
+ /**
21029
+ * List execution history for schedule triggers in the project.
21030
+ * @summary List project schedule trigger events
21031
+ * @param {string} orgId The organization ID
21032
+ * @param {string} projectId The project ID
21033
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
21034
+ * @param {number} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
21035
+ * @param {string | null} [status]
21036
+ * @param {TriggerType} [triggerType]
21037
+ * @param {TriggerTargetType} [targetType]
21038
+ * @param {string | null} [targetId]
21039
+ * @param {*} [options] Override http request option.
21040
+ * @throws {RequiredError}
21041
+ */
21042
+ listProjectScheduleTriggerEvents: function (orgId, projectId, cursor, pageLimit, status, triggerType, targetType, targetId, options) {
21043
+ var _a, _b, _c;
21044
+ return __awaiter(this, void 0, void 0, function () {
21045
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
21046
+ return __generator(this, function (_d) {
21047
+ switch (_d.label) {
21048
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProjectScheduleTriggerEvents(orgId, projectId, cursor, pageLimit, status, triggerType, targetType, targetId, options)];
21049
+ case 1:
21050
+ localVarAxiosArgs = _d.sent();
21051
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
21052
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ScheduleTriggersApi.listProjectScheduleTriggerEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
21053
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
21054
+ }
21055
+ });
21056
+ });
21057
+ },
20921
21058
  /**
20922
21059
  * List execution history for a schedule trigger.
20923
21060
  * @summary List schedule trigger events
@@ -21031,6 +21168,23 @@ var ScheduleTriggersApiFactory = function (configuration, basePath, axios) {
21031
21168
  getScheduleTriggerEvent: function (orgId, projectId, triggerId, eventId, options) {
21032
21169
  return localVarFp.getScheduleTriggerEvent(orgId, projectId, triggerId, eventId, options).then(function (request) { return request(axios, basePath); });
21033
21170
  },
21171
+ /**
21172
+ * List execution history for schedule triggers in the project.
21173
+ * @summary List project schedule trigger events
21174
+ * @param {string} orgId The organization ID
21175
+ * @param {string} projectId The project ID
21176
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
21177
+ * @param {number} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
21178
+ * @param {string | null} [status]
21179
+ * @param {TriggerType} [triggerType]
21180
+ * @param {TriggerTargetType} [targetType]
21181
+ * @param {string | null} [targetId]
21182
+ * @param {*} [options] Override http request option.
21183
+ * @throws {RequiredError}
21184
+ */
21185
+ listProjectScheduleTriggerEvents: function (orgId, projectId, cursor, pageLimit, status, triggerType, targetType, targetId, options) {
21186
+ return localVarFp.listProjectScheduleTriggerEvents(orgId, projectId, cursor, pageLimit, status, triggerType, targetType, targetId, options).then(function (request) { return request(axios, basePath); });
21187
+ },
21034
21188
  /**
21035
21189
  * List execution history for a schedule trigger.
21036
21190
  * @summary List schedule trigger events
@@ -21130,6 +21284,25 @@ var ScheduleTriggersApi = /** @class */ (function (_super) {
21130
21284
  var _this = this;
21131
21285
  return (0, exports.ScheduleTriggersApiFp)(this.configuration).getScheduleTriggerEvent(orgId, projectId, triggerId, eventId, options).then(function (request) { return request(_this.axios, _this.basePath); });
21132
21286
  };
21287
+ /**
21288
+ * List execution history for schedule triggers in the project.
21289
+ * @summary List project schedule trigger events
21290
+ * @param {string} orgId The organization ID
21291
+ * @param {string} projectId The project ID
21292
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
21293
+ * @param {number} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
21294
+ * @param {string | null} [status]
21295
+ * @param {TriggerType} [triggerType]
21296
+ * @param {TriggerTargetType} [targetType]
21297
+ * @param {string | null} [targetId]
21298
+ * @param {*} [options] Override http request option.
21299
+ * @throws {RequiredError}
21300
+ * @memberof ScheduleTriggersApi
21301
+ */
21302
+ ScheduleTriggersApi.prototype.listProjectScheduleTriggerEvents = function (orgId, projectId, cursor, pageLimit, status, triggerType, targetType, targetId, options) {
21303
+ var _this = this;
21304
+ return (0, exports.ScheduleTriggersApiFp)(this.configuration).listProjectScheduleTriggerEvents(orgId, projectId, cursor, pageLimit, status, triggerType, targetType, targetId, options).then(function (request) { return request(_this.axios, _this.basePath); });
21305
+ };
21133
21306
  /**
21134
21307
  * List execution history for a schedule trigger.
21135
21308
  * @summary List schedule trigger events
@@ -24263,6 +24436,57 @@ var SlackApiAxiosParamCreator = function (configuration) {
24263
24436
  });
24264
24437
  });
24265
24438
  },
24439
+ /**
24440
+ * List public and private channels visible to the connected Slack installation.
24441
+ * @summary List Slack Channels
24442
+ * @param {string} orgId The organization ID
24443
+ * @param {string} projectId The project ID
24444
+ * @param {string} installationId
24445
+ * @param {*} [options] Override http request option.
24446
+ * @throws {RequiredError}
24447
+ */
24448
+ listSlackChannels: function (orgId, projectId, installationId, options) {
24449
+ if (options === void 0) { options = {}; }
24450
+ return __awaiter(_this, void 0, void 0, function () {
24451
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
24452
+ return __generator(this, function (_a) {
24453
+ switch (_a.label) {
24454
+ case 0:
24455
+ // verify required parameter 'orgId' is not null or undefined
24456
+ (0, common_1.assertParamExists)('listSlackChannels', 'orgId', orgId);
24457
+ // verify required parameter 'projectId' is not null or undefined
24458
+ (0, common_1.assertParamExists)('listSlackChannels', 'projectId', projectId);
24459
+ // verify required parameter 'installationId' is not null or undefined
24460
+ (0, common_1.assertParamExists)('listSlackChannels', 'installationId', installationId);
24461
+ localVarPath = "/org/{org_id}/project/{project_id}/slack/installations/{installation_id}/channels"
24462
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
24463
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
24464
+ .replace("{".concat("installation_id", "}"), encodeURIComponent(String(installationId)));
24465
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
24466
+ if (configuration) {
24467
+ baseOptions = configuration.baseOptions;
24468
+ }
24469
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
24470
+ localVarHeaderParameter = {};
24471
+ localVarQueryParameter = {};
24472
+ // authentication HTTPBearer required
24473
+ // http bearer authentication required
24474
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
24475
+ case 1:
24476
+ // authentication HTTPBearer required
24477
+ // http bearer authentication required
24478
+ _a.sent();
24479
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
24480
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24481
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
24482
+ return [2 /*return*/, {
24483
+ url: (0, common_1.toPathString)(localVarUrlObj),
24484
+ options: localVarRequestOptions,
24485
+ }];
24486
+ }
24487
+ });
24488
+ });
24489
+ },
24266
24490
  /**
24267
24491
  * List Slack workspace installations configured for the project.
24268
24492
  * @summary List Slack Installations
@@ -24587,6 +24811,31 @@ var SlackApiFp = function (configuration) {
24587
24811
  });
24588
24812
  });
24589
24813
  },
24814
+ /**
24815
+ * List public and private channels visible to the connected Slack installation.
24816
+ * @summary List Slack Channels
24817
+ * @param {string} orgId The organization ID
24818
+ * @param {string} projectId The project ID
24819
+ * @param {string} installationId
24820
+ * @param {*} [options] Override http request option.
24821
+ * @throws {RequiredError}
24822
+ */
24823
+ listSlackChannels: function (orgId, projectId, installationId, options) {
24824
+ var _a, _b, _c;
24825
+ return __awaiter(this, void 0, void 0, function () {
24826
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
24827
+ return __generator(this, function (_d) {
24828
+ switch (_d.label) {
24829
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSlackChannels(orgId, projectId, installationId, options)];
24830
+ case 1:
24831
+ localVarAxiosArgs = _d.sent();
24832
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
24833
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SlackApi.listSlackChannels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
24834
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
24835
+ }
24836
+ });
24837
+ });
24838
+ },
24590
24839
  /**
24591
24840
  * List Slack workspace installations configured for the project.
24592
24841
  * @summary List Slack Installations
@@ -24747,6 +24996,18 @@ var SlackApiFactory = function (configuration, basePath, axios) {
24747
24996
  listSlackChannelMappings: function (orgId, projectId, installationId, options) {
24748
24997
  return localVarFp.listSlackChannelMappings(orgId, projectId, installationId, options).then(function (request) { return request(axios, basePath); });
24749
24998
  },
24999
+ /**
25000
+ * List public and private channels visible to the connected Slack installation.
25001
+ * @summary List Slack Channels
25002
+ * @param {string} orgId The organization ID
25003
+ * @param {string} projectId The project ID
25004
+ * @param {string} installationId
25005
+ * @param {*} [options] Override http request option.
25006
+ * @throws {RequiredError}
25007
+ */
25008
+ listSlackChannels: function (orgId, projectId, installationId, options) {
25009
+ return localVarFp.listSlackChannels(orgId, projectId, installationId, options).then(function (request) { return request(axios, basePath); });
25010
+ },
24750
25011
  /**
24751
25012
  * List Slack workspace installations configured for the project.
24752
25013
  * @summary List Slack Installations
@@ -24884,6 +25145,20 @@ var SlackApi = /** @class */ (function (_super) {
24884
25145
  var _this = this;
24885
25146
  return (0, exports.SlackApiFp)(this.configuration).listSlackChannelMappings(orgId, projectId, installationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
24886
25147
  };
25148
+ /**
25149
+ * List public and private channels visible to the connected Slack installation.
25150
+ * @summary List Slack Channels
25151
+ * @param {string} orgId The organization ID
25152
+ * @param {string} projectId The project ID
25153
+ * @param {string} installationId
25154
+ * @param {*} [options] Override http request option.
25155
+ * @throws {RequiredError}
25156
+ * @memberof SlackApi
25157
+ */
25158
+ SlackApi.prototype.listSlackChannels = function (orgId, projectId, installationId, options) {
25159
+ var _this = this;
25160
+ return (0, exports.SlackApiFp)(this.configuration).listSlackChannels(orgId, projectId, installationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
25161
+ };
24887
25162
  /**
24888
25163
  * List Slack workspace installations configured for the project.
24889
25164
  * @summary List Slack Installations
@@ -25949,35 +26224,36 @@ exports.UpdateTagEntityTypeEnum = {
25949
26224
  TaskAgentRevision: 'task_agent_revision'
25950
26225
  };
25951
26226
  /**
25952
- * TaskAgentsApi - axios parameter creator
26227
+ * TaskAgentSharesApi - axios parameter creator
25953
26228
  * @export
25954
26229
  */
25955
- var TaskAgentsApiAxiosParamCreator = function (configuration) {
26230
+ var TaskAgentSharesApiAxiosParamCreator = function (configuration) {
25956
26231
  var _this = this;
25957
26232
  return {
25958
26233
  /**
25959
- * Create a new Task Agent for the project. Task Agents orchestrate multiple Tasks as task tools using LLM-powered reasoning. The request creates the root Task Agent and its initial active revision. Runtime configuration such as instructions, models, and tools is stored on revisions.
25960
- * @summary Create Task Agent
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.
26235
+ * @summary Clone Shared TaskAgent
26236
+ * @param {string} shortId TaskAgent share short ID
25961
26237
  * @param {string} orgId The organization ID
25962
26238
  * @param {string} projectId The project ID
25963
- * @param {TaskAgentCreate} taskAgentCreate
25964
26239
  * @param {*} [options] Override http request option.
25965
26240
  * @throws {RequiredError}
25966
26241
  */
25967
- createTaskAgent: function (orgId, projectId, taskAgentCreate, options) {
26242
+ cloneSharedTaskAgent: function (shortId, orgId, projectId, options) {
25968
26243
  if (options === void 0) { options = {}; }
25969
26244
  return __awaiter(_this, void 0, void 0, function () {
25970
26245
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
25971
26246
  return __generator(this, function (_a) {
25972
26247
  switch (_a.label) {
25973
26248
  case 0:
26249
+ // verify required parameter 'shortId' is not null or undefined
26250
+ (0, common_1.assertParamExists)('cloneSharedTaskAgent', 'shortId', shortId);
25974
26251
  // verify required parameter 'orgId' is not null or undefined
25975
- (0, common_1.assertParamExists)('createTaskAgent', 'orgId', orgId);
26252
+ (0, common_1.assertParamExists)('cloneSharedTaskAgent', 'orgId', orgId);
25976
26253
  // verify required parameter 'projectId' is not null or undefined
25977
- (0, common_1.assertParamExists)('createTaskAgent', 'projectId', projectId);
25978
- // verify required parameter 'taskAgentCreate' is not null or undefined
25979
- (0, common_1.assertParamExists)('createTaskAgent', 'taskAgentCreate', taskAgentCreate);
25980
- localVarPath = "/org/{org_id}/project/{project_id}/task-agent"
26254
+ (0, common_1.assertParamExists)('cloneSharedTaskAgent', 'projectId', projectId);
26255
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/clone/{short_id}"
26256
+ .replace("{".concat("short_id", "}"), encodeURIComponent(String(shortId)))
25981
26257
  .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
25982
26258
  .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
25983
26259
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -25994,11 +26270,9 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
25994
26270
  // authentication HTTPBearer required
25995
26271
  // http bearer authentication required
25996
26272
  _a.sent();
25997
- localVarHeaderParameter['Content-Type'] = 'application/json';
25998
26273
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
25999
26274
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26000
26275
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26001
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(taskAgentCreate, localVarRequestOptions, configuration);
26002
26276
  return [2 /*return*/, {
26003
26277
  url: (0, common_1.toPathString)(localVarUrlObj),
26004
26278
  options: localVarRequestOptions,
@@ -26008,15 +26282,16 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
26008
26282
  });
26009
26283
  },
26010
26284
  /**
26011
- * Remove a Task Agent from the project. This will: - Remove the agent and its revision configuration - Preserve run history for auditing This action cannot be undone.
26012
- * @summary Delete Task Agent
26013
- * @param {string} orgId The unique identifier of the organization.
26014
- * @param {string} projectId The unique identifier of the project.
26015
- * @param {string} taskAgentId The specific Task Agent to reference.
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.
26286
+ * @summary Create TaskAgent Share
26287
+ * @param {string} orgId The organization ID
26288
+ * @param {string} projectId The project ID
26289
+ * @param {string} taskAgentId The task agent ID
26290
+ * @param {TaskAgentShareCreate} taskAgentShareCreate
26016
26291
  * @param {*} [options] Override http request option.
26017
26292
  * @throws {RequiredError}
26018
26293
  */
26019
- deleteTaskAgent: function (orgId, projectId, taskAgentId, options) {
26294
+ createTaskAgentShare: function (orgId, projectId, taskAgentId, taskAgentShareCreate, options) {
26020
26295
  if (options === void 0) { options = {}; }
26021
26296
  return __awaiter(_this, void 0, void 0, function () {
26022
26297
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -26024,12 +26299,14 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
26024
26299
  switch (_a.label) {
26025
26300
  case 0:
26026
26301
  // verify required parameter 'orgId' is not null or undefined
26027
- (0, common_1.assertParamExists)('deleteTaskAgent', 'orgId', orgId);
26302
+ (0, common_1.assertParamExists)('createTaskAgentShare', 'orgId', orgId);
26028
26303
  // verify required parameter 'projectId' is not null or undefined
26029
- (0, common_1.assertParamExists)('deleteTaskAgent', 'projectId', projectId);
26304
+ (0, common_1.assertParamExists)('createTaskAgentShare', 'projectId', projectId);
26030
26305
  // verify required parameter 'taskAgentId' is not null or undefined
26031
- (0, common_1.assertParamExists)('deleteTaskAgent', 'taskAgentId', taskAgentId);
26032
- localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}"
26306
+ (0, common_1.assertParamExists)('createTaskAgentShare', 'taskAgentId', taskAgentId);
26307
+ // verify required parameter 'taskAgentShareCreate' is not null or undefined
26308
+ (0, common_1.assertParamExists)('createTaskAgentShare', 'taskAgentShareCreate', taskAgentShareCreate);
26309
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/share"
26033
26310
  .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26034
26311
  .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26035
26312
  .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)));
@@ -26037,7 +26314,7 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
26037
26314
  if (configuration) {
26038
26315
  baseOptions = configuration.baseOptions;
26039
26316
  }
26040
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
26317
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
26041
26318
  localVarHeaderParameter = {};
26042
26319
  localVarQueryParameter = {};
26043
26320
  // authentication HTTPBearer required
@@ -26047,9 +26324,11 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
26047
26324
  // authentication HTTPBearer required
26048
26325
  // http bearer authentication required
26049
26326
  _a.sent();
26327
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26050
26328
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26051
26329
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26052
26330
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26331
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(taskAgentShareCreate, localVarRequestOptions, configuration);
26053
26332
  return [2 /*return*/, {
26054
26333
  url: (0, common_1.toPathString)(localVarUrlObj),
26055
26334
  options: localVarRequestOptions,
@@ -26059,16 +26338,56 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
26059
26338
  });
26060
26339
  },
26061
26340
  /**
26062
- * Delete a conversation session and all its runs. Removes: - ADK session data (encrypted conversation history) - All TaskAgentRun records for the session Cannot delete a session with active runs.
26063
- * @summary Delete Session
26064
- * @param {string} orgId The unique identifier of the organization.
26065
- * @param {string} projectId The unique identifier of the project.
26066
- * @param {string} taskAgentId The specific Task Agent to reference.
26067
- * @param {string} sessionId The session ID (UUID format, server-generated).
26341
+ * Return a public TaskAgent share page or sanitized public data. Browser/default requests render a human-readable HTML share page. Clients that send `Accept: application/json`, `application/yaml`, or `text/yaml` receive sanitized public data. The public DTO is allowlisted. It intentionally includes operational configuration needed to understand the shared agent, such as input processor configuration and tool names, but redacts credentials, tokens, auth configs, ciphertext, connected user IDs, source-project provenance, tags, runs, files, and sessions. Public paths remain present in OpenAPI for schema generation but are marked `x-fern-ignore` by the `/public/_*` OpenAPI configuration.
26342
+ * @summary Get Public TaskAgent Share
26343
+ * @param {string} shortId TaskAgent share short ID
26344
+ * @param {string | null} [accept]
26068
26345
  * @param {*} [options] Override http request option.
26069
26346
  * @throws {RequiredError}
26070
26347
  */
26071
- deleteTaskAgentSession: function (orgId, projectId, taskAgentId, sessionId, options) {
26348
+ getPublicTaskAgentShare: function (shortId, accept, options) {
26349
+ if (options === void 0) { options = {}; }
26350
+ return __awaiter(_this, void 0, void 0, function () {
26351
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26352
+ return __generator(this, function (_a) {
26353
+ // verify required parameter 'shortId' is not null or undefined
26354
+ (0, common_1.assertParamExists)('getPublicTaskAgentShare', 'shortId', shortId);
26355
+ localVarPath = "/public/task_agent_share/{short_id}"
26356
+ .replace("{".concat("short_id", "}"), encodeURIComponent(String(shortId)));
26357
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26358
+ if (configuration) {
26359
+ baseOptions = configuration.baseOptions;
26360
+ }
26361
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
26362
+ localVarHeaderParameter = {};
26363
+ localVarQueryParameter = {};
26364
+ if (accept != null) {
26365
+ localVarHeaderParameter['accept'] = String(accept);
26366
+ }
26367
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26368
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26369
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26370
+ return [2 /*return*/, {
26371
+ url: (0, common_1.toPathString)(localVarUrlObj),
26372
+ options: localVarRequestOptions,
26373
+ }];
26374
+ });
26375
+ });
26376
+ },
26377
+ /**
26378
+ * List TaskAgent shares in a project. TaskAgent shares are public share records scoped to the requested project. The endpoint does not expose share-specific IAM.
26379
+ * @summary List Project TaskAgent Shares
26380
+ * @param {string} orgId The organization ID
26381
+ * @param {string} projectId The project ID
26382
+ * @param {boolean | null} [active] Filter by active status
26383
+ * @param {string | null} [taskAgentId] Filter by specific TaskAgent ID
26384
+ * @param {string | null} [taskAgentName] Filter by TaskAgent name (partial, case-insensitive)
26385
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
26386
+ * @param {number} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
26387
+ * @param {*} [options] Override http request option.
26388
+ * @throws {RequiredError}
26389
+ */
26390
+ listProjectTaskAgentShares: function (orgId, projectId, active, taskAgentId, taskAgentName, cursor, pageLimit, options) {
26072
26391
  if (options === void 0) { options = {}; }
26073
26392
  return __awaiter(_this, void 0, void 0, function () {
26074
26393
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -26076,23 +26395,661 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
26076
26395
  switch (_a.label) {
26077
26396
  case 0:
26078
26397
  // verify required parameter 'orgId' is not null or undefined
26079
- (0, common_1.assertParamExists)('deleteTaskAgentSession', 'orgId', orgId);
26398
+ (0, common_1.assertParamExists)('listProjectTaskAgentShares', 'orgId', orgId);
26080
26399
  // verify required parameter 'projectId' is not null or undefined
26081
- (0, common_1.assertParamExists)('deleteTaskAgentSession', 'projectId', projectId);
26400
+ (0, common_1.assertParamExists)('listProjectTaskAgentShares', 'projectId', projectId);
26401
+ localVarPath = "/org/{org_id}/project/{project_id}/task_agent_share"
26402
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26403
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
26404
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26405
+ if (configuration) {
26406
+ baseOptions = configuration.baseOptions;
26407
+ }
26408
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
26409
+ localVarHeaderParameter = {};
26410
+ localVarQueryParameter = {};
26411
+ // authentication HTTPBearer required
26412
+ // http bearer authentication required
26413
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26414
+ case 1:
26415
+ // authentication HTTPBearer required
26416
+ // http bearer authentication required
26417
+ _a.sent();
26418
+ if (active !== undefined) {
26419
+ localVarQueryParameter['active'] = active;
26420
+ }
26421
+ if (taskAgentId !== undefined) {
26422
+ localVarQueryParameter['task_agent_id'] = taskAgentId;
26423
+ }
26424
+ if (taskAgentName !== undefined) {
26425
+ localVarQueryParameter['task_agent_name'] = taskAgentName;
26426
+ }
26427
+ if (cursor !== undefined) {
26428
+ localVarQueryParameter['cursor'] = cursor;
26429
+ }
26430
+ if (pageLimit !== undefined) {
26431
+ localVarQueryParameter['page_limit'] = pageLimit;
26432
+ }
26433
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26434
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26435
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26436
+ return [2 /*return*/, {
26437
+ url: (0, common_1.toPathString)(localVarUrlObj),
26438
+ options: localVarRequestOptions,
26439
+ }];
26440
+ }
26441
+ });
26442
+ });
26443
+ },
26444
+ /**
26445
+ * List share links for a single TaskAgent. Requires `task_agent:view` on the parent TaskAgent. TaskAgentShare does not have an independent IAM surface in v1.
26446
+ * @summary List TaskAgent Shares
26447
+ * @param {string} orgId The organization ID
26448
+ * @param {string} projectId The project ID
26449
+ * @param {string} taskAgentId The task agent ID
26450
+ * @param {*} [options] Override http request option.
26451
+ * @throws {RequiredError}
26452
+ */
26453
+ listTaskAgentShares: function (orgId, projectId, taskAgentId, options) {
26454
+ if (options === void 0) { options = {}; }
26455
+ return __awaiter(_this, void 0, void 0, function () {
26456
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26457
+ return __generator(this, function (_a) {
26458
+ switch (_a.label) {
26459
+ case 0:
26460
+ // verify required parameter 'orgId' is not null or undefined
26461
+ (0, common_1.assertParamExists)('listTaskAgentShares', 'orgId', orgId);
26462
+ // verify required parameter 'projectId' is not null or undefined
26463
+ (0, common_1.assertParamExists)('listTaskAgentShares', 'projectId', projectId);
26082
26464
  // verify required parameter 'taskAgentId' is not null or undefined
26083
- (0, common_1.assertParamExists)('deleteTaskAgentSession', 'taskAgentId', taskAgentId);
26084
- // verify required parameter 'sessionId' is not null or undefined
26085
- (0, common_1.assertParamExists)('deleteTaskAgentSession', 'sessionId', sessionId);
26086
- localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/session/{session_id}"
26465
+ (0, common_1.assertParamExists)('listTaskAgentShares', 'taskAgentId', taskAgentId);
26466
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/share"
26087
26467
  .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26088
26468
  .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26089
- .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)))
26090
- .replace("{".concat("session_id", "}"), encodeURIComponent(String(sessionId)));
26469
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)));
26091
26470
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26092
26471
  if (configuration) {
26093
26472
  baseOptions = configuration.baseOptions;
26094
26473
  }
26095
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
26474
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
26475
+ localVarHeaderParameter = {};
26476
+ localVarQueryParameter = {};
26477
+ // authentication HTTPBearer required
26478
+ // http bearer authentication required
26479
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26480
+ case 1:
26481
+ // authentication HTTPBearer required
26482
+ // http bearer authentication required
26483
+ _a.sent();
26484
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26485
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26486
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26487
+ return [2 /*return*/, {
26488
+ url: (0, common_1.toPathString)(localVarUrlObj),
26489
+ options: localVarRequestOptions,
26490
+ }];
26491
+ }
26492
+ });
26493
+ });
26494
+ },
26495
+ /**
26496
+ * Revoke a TaskAgent share by setting `active` to false. Requires `task_agent:edit` on the parent TaskAgent. The share record is preserved for management views and analytics.
26497
+ * @summary Revoke TaskAgent Share
26498
+ * @param {string} orgId The organization ID
26499
+ * @param {string} projectId The project ID
26500
+ * @param {string} taskAgentId The task agent ID
26501
+ * @param {string} shareId TaskAgent share ID
26502
+ * @param {*} [options] Override http request option.
26503
+ * @throws {RequiredError}
26504
+ */
26505
+ revokeTaskAgentShare: function (orgId, projectId, taskAgentId, shareId, options) {
26506
+ if (options === void 0) { options = {}; }
26507
+ return __awaiter(_this, void 0, void 0, function () {
26508
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26509
+ return __generator(this, function (_a) {
26510
+ switch (_a.label) {
26511
+ case 0:
26512
+ // verify required parameter 'orgId' is not null or undefined
26513
+ (0, common_1.assertParamExists)('revokeTaskAgentShare', 'orgId', orgId);
26514
+ // verify required parameter 'projectId' is not null or undefined
26515
+ (0, common_1.assertParamExists)('revokeTaskAgentShare', 'projectId', projectId);
26516
+ // verify required parameter 'taskAgentId' is not null or undefined
26517
+ (0, common_1.assertParamExists)('revokeTaskAgentShare', 'taskAgentId', taskAgentId);
26518
+ // verify required parameter 'shareId' is not null or undefined
26519
+ (0, common_1.assertParamExists)('revokeTaskAgentShare', 'shareId', shareId);
26520
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/share/{share_id}"
26521
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26522
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26523
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)))
26524
+ .replace("{".concat("share_id", "}"), encodeURIComponent(String(shareId)));
26525
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26526
+ if (configuration) {
26527
+ baseOptions = configuration.baseOptions;
26528
+ }
26529
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
26530
+ localVarHeaderParameter = {};
26531
+ localVarQueryParameter = {};
26532
+ // authentication HTTPBearer required
26533
+ // http bearer authentication required
26534
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26535
+ case 1:
26536
+ // authentication HTTPBearer required
26537
+ // http bearer authentication required
26538
+ _a.sent();
26539
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26540
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26541
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26542
+ return [2 /*return*/, {
26543
+ url: (0, common_1.toPathString)(localVarUrlObj),
26544
+ options: localVarRequestOptions,
26545
+ }];
26546
+ }
26547
+ });
26548
+ });
26549
+ },
26550
+ };
26551
+ };
26552
+ exports.TaskAgentSharesApiAxiosParamCreator = TaskAgentSharesApiAxiosParamCreator;
26553
+ /**
26554
+ * TaskAgentSharesApi - functional programming interface
26555
+ * @export
26556
+ */
26557
+ var TaskAgentSharesApiFp = function (configuration) {
26558
+ var localVarAxiosParamCreator = (0, exports.TaskAgentSharesApiAxiosParamCreator)(configuration);
26559
+ return {
26560
+ /**
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.
26562
+ * @summary Clone Shared TaskAgent
26563
+ * @param {string} shortId TaskAgent share short ID
26564
+ * @param {string} orgId The organization ID
26565
+ * @param {string} projectId The project ID
26566
+ * @param {*} [options] Override http request option.
26567
+ * @throws {RequiredError}
26568
+ */
26569
+ cloneSharedTaskAgent: function (shortId, orgId, projectId, options) {
26570
+ var _a, _b, _c;
26571
+ return __awaiter(this, void 0, void 0, function () {
26572
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26573
+ return __generator(this, function (_d) {
26574
+ switch (_d.label) {
26575
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.cloneSharedTaskAgent(shortId, orgId, projectId, options)];
26576
+ case 1:
26577
+ localVarAxiosArgs = _d.sent();
26578
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26579
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentSharesApi.cloneSharedTaskAgent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26580
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26581
+ }
26582
+ });
26583
+ });
26584
+ },
26585
+ /**
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.
26587
+ * @summary Create TaskAgent Share
26588
+ * @param {string} orgId The organization ID
26589
+ * @param {string} projectId The project ID
26590
+ * @param {string} taskAgentId The task agent ID
26591
+ * @param {TaskAgentShareCreate} taskAgentShareCreate
26592
+ * @param {*} [options] Override http request option.
26593
+ * @throws {RequiredError}
26594
+ */
26595
+ createTaskAgentShare: function (orgId, projectId, taskAgentId, taskAgentShareCreate, options) {
26596
+ var _a, _b, _c;
26597
+ return __awaiter(this, void 0, void 0, function () {
26598
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26599
+ return __generator(this, function (_d) {
26600
+ switch (_d.label) {
26601
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createTaskAgentShare(orgId, projectId, taskAgentId, taskAgentShareCreate, options)];
26602
+ case 1:
26603
+ localVarAxiosArgs = _d.sent();
26604
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26605
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentSharesApi.createTaskAgentShare']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26606
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26607
+ }
26608
+ });
26609
+ });
26610
+ },
26611
+ /**
26612
+ * Return a public TaskAgent share page or sanitized public data. Browser/default requests render a human-readable HTML share page. Clients that send `Accept: application/json`, `application/yaml`, or `text/yaml` receive sanitized public data. The public DTO is allowlisted. It intentionally includes operational configuration needed to understand the shared agent, such as input processor configuration and tool names, but redacts credentials, tokens, auth configs, ciphertext, connected user IDs, source-project provenance, tags, runs, files, and sessions. Public paths remain present in OpenAPI for schema generation but are marked `x-fern-ignore` by the `/public/_*` OpenAPI configuration.
26613
+ * @summary Get Public TaskAgent Share
26614
+ * @param {string} shortId TaskAgent share short ID
26615
+ * @param {string | null} [accept]
26616
+ * @param {*} [options] Override http request option.
26617
+ * @throws {RequiredError}
26618
+ */
26619
+ getPublicTaskAgentShare: function (shortId, accept, options) {
26620
+ var _a, _b, _c;
26621
+ return __awaiter(this, void 0, void 0, function () {
26622
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26623
+ return __generator(this, function (_d) {
26624
+ switch (_d.label) {
26625
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPublicTaskAgentShare(shortId, accept, options)];
26626
+ case 1:
26627
+ localVarAxiosArgs = _d.sent();
26628
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26629
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentSharesApi.getPublicTaskAgentShare']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26630
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26631
+ }
26632
+ });
26633
+ });
26634
+ },
26635
+ /**
26636
+ * List TaskAgent shares in a project. TaskAgent shares are public share records scoped to the requested project. The endpoint does not expose share-specific IAM.
26637
+ * @summary List Project TaskAgent Shares
26638
+ * @param {string} orgId The organization ID
26639
+ * @param {string} projectId The project ID
26640
+ * @param {boolean | null} [active] Filter by active status
26641
+ * @param {string | null} [taskAgentId] Filter by specific TaskAgent ID
26642
+ * @param {string | null} [taskAgentName] Filter by TaskAgent name (partial, case-insensitive)
26643
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
26644
+ * @param {number} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
26645
+ * @param {*} [options] Override http request option.
26646
+ * @throws {RequiredError}
26647
+ */
26648
+ listProjectTaskAgentShares: function (orgId, projectId, active, taskAgentId, taskAgentName, cursor, pageLimit, options) {
26649
+ var _a, _b, _c;
26650
+ return __awaiter(this, void 0, void 0, function () {
26651
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26652
+ return __generator(this, function (_d) {
26653
+ switch (_d.label) {
26654
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProjectTaskAgentShares(orgId, projectId, active, taskAgentId, taskAgentName, cursor, pageLimit, options)];
26655
+ case 1:
26656
+ localVarAxiosArgs = _d.sent();
26657
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26658
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentSharesApi.listProjectTaskAgentShares']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26659
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26660
+ }
26661
+ });
26662
+ });
26663
+ },
26664
+ /**
26665
+ * List share links for a single TaskAgent. Requires `task_agent:view` on the parent TaskAgent. TaskAgentShare does not have an independent IAM surface in v1.
26666
+ * @summary List TaskAgent Shares
26667
+ * @param {string} orgId The organization ID
26668
+ * @param {string} projectId The project ID
26669
+ * @param {string} taskAgentId The task agent ID
26670
+ * @param {*} [options] Override http request option.
26671
+ * @throws {RequiredError}
26672
+ */
26673
+ listTaskAgentShares: function (orgId, projectId, taskAgentId, options) {
26674
+ var _a, _b, _c;
26675
+ return __awaiter(this, void 0, void 0, function () {
26676
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26677
+ return __generator(this, function (_d) {
26678
+ switch (_d.label) {
26679
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTaskAgentShares(orgId, projectId, taskAgentId, options)];
26680
+ case 1:
26681
+ localVarAxiosArgs = _d.sent();
26682
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26683
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentSharesApi.listTaskAgentShares']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26684
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26685
+ }
26686
+ });
26687
+ });
26688
+ },
26689
+ /**
26690
+ * Revoke a TaskAgent share by setting `active` to false. Requires `task_agent:edit` on the parent TaskAgent. The share record is preserved for management views and analytics.
26691
+ * @summary Revoke TaskAgent Share
26692
+ * @param {string} orgId The organization ID
26693
+ * @param {string} projectId The project ID
26694
+ * @param {string} taskAgentId The task agent ID
26695
+ * @param {string} shareId TaskAgent share ID
26696
+ * @param {*} [options] Override http request option.
26697
+ * @throws {RequiredError}
26698
+ */
26699
+ revokeTaskAgentShare: function (orgId, projectId, taskAgentId, shareId, options) {
26700
+ var _a, _b, _c;
26701
+ return __awaiter(this, void 0, void 0, function () {
26702
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
26703
+ return __generator(this, function (_d) {
26704
+ switch (_d.label) {
26705
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.revokeTaskAgentShare(orgId, projectId, taskAgentId, shareId, options)];
26706
+ case 1:
26707
+ localVarAxiosArgs = _d.sent();
26708
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26709
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentSharesApi.revokeTaskAgentShare']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26710
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
26711
+ }
26712
+ });
26713
+ });
26714
+ },
26715
+ };
26716
+ };
26717
+ exports.TaskAgentSharesApiFp = TaskAgentSharesApiFp;
26718
+ /**
26719
+ * TaskAgentSharesApi - factory interface
26720
+ * @export
26721
+ */
26722
+ var TaskAgentSharesApiFactory = function (configuration, basePath, axios) {
26723
+ var localVarFp = (0, exports.TaskAgentSharesApiFp)(configuration);
26724
+ return {
26725
+ /**
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.
26727
+ * @summary Clone Shared TaskAgent
26728
+ * @param {string} shortId TaskAgent share short ID
26729
+ * @param {string} orgId The organization ID
26730
+ * @param {string} projectId The project ID
26731
+ * @param {*} [options] Override http request option.
26732
+ * @throws {RequiredError}
26733
+ */
26734
+ cloneSharedTaskAgent: function (shortId, orgId, projectId, options) {
26735
+ return localVarFp.cloneSharedTaskAgent(shortId, orgId, projectId, options).then(function (request) { return request(axios, basePath); });
26736
+ },
26737
+ /**
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.
26739
+ * @summary Create TaskAgent Share
26740
+ * @param {string} orgId The organization ID
26741
+ * @param {string} projectId The project ID
26742
+ * @param {string} taskAgentId The task agent ID
26743
+ * @param {TaskAgentShareCreate} taskAgentShareCreate
26744
+ * @param {*} [options] Override http request option.
26745
+ * @throws {RequiredError}
26746
+ */
26747
+ createTaskAgentShare: function (orgId, projectId, taskAgentId, taskAgentShareCreate, options) {
26748
+ return localVarFp.createTaskAgentShare(orgId, projectId, taskAgentId, taskAgentShareCreate, options).then(function (request) { return request(axios, basePath); });
26749
+ },
26750
+ /**
26751
+ * Return a public TaskAgent share page or sanitized public data. Browser/default requests render a human-readable HTML share page. Clients that send `Accept: application/json`, `application/yaml`, or `text/yaml` receive sanitized public data. The public DTO is allowlisted. It intentionally includes operational configuration needed to understand the shared agent, such as input processor configuration and tool names, but redacts credentials, tokens, auth configs, ciphertext, connected user IDs, source-project provenance, tags, runs, files, and sessions. Public paths remain present in OpenAPI for schema generation but are marked `x-fern-ignore` by the `/public/_*` OpenAPI configuration.
26752
+ * @summary Get Public TaskAgent Share
26753
+ * @param {string} shortId TaskAgent share short ID
26754
+ * @param {string | null} [accept]
26755
+ * @param {*} [options] Override http request option.
26756
+ * @throws {RequiredError}
26757
+ */
26758
+ getPublicTaskAgentShare: function (shortId, accept, options) {
26759
+ return localVarFp.getPublicTaskAgentShare(shortId, accept, options).then(function (request) { return request(axios, basePath); });
26760
+ },
26761
+ /**
26762
+ * List TaskAgent shares in a project. TaskAgent shares are public share records scoped to the requested project. The endpoint does not expose share-specific IAM.
26763
+ * @summary List Project TaskAgent Shares
26764
+ * @param {string} orgId The organization ID
26765
+ * @param {string} projectId The project ID
26766
+ * @param {boolean | null} [active] Filter by active status
26767
+ * @param {string | null} [taskAgentId] Filter by specific TaskAgent ID
26768
+ * @param {string | null} [taskAgentName] Filter by TaskAgent name (partial, case-insensitive)
26769
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
26770
+ * @param {number} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
26771
+ * @param {*} [options] Override http request option.
26772
+ * @throws {RequiredError}
26773
+ */
26774
+ listProjectTaskAgentShares: function (orgId, projectId, active, taskAgentId, taskAgentName, cursor, pageLimit, options) {
26775
+ return localVarFp.listProjectTaskAgentShares(orgId, projectId, active, taskAgentId, taskAgentName, cursor, pageLimit, options).then(function (request) { return request(axios, basePath); });
26776
+ },
26777
+ /**
26778
+ * List share links for a single TaskAgent. Requires `task_agent:view` on the parent TaskAgent. TaskAgentShare does not have an independent IAM surface in v1.
26779
+ * @summary List TaskAgent Shares
26780
+ * @param {string} orgId The organization ID
26781
+ * @param {string} projectId The project ID
26782
+ * @param {string} taskAgentId The task agent ID
26783
+ * @param {*} [options] Override http request option.
26784
+ * @throws {RequiredError}
26785
+ */
26786
+ listTaskAgentShares: function (orgId, projectId, taskAgentId, options) {
26787
+ return localVarFp.listTaskAgentShares(orgId, projectId, taskAgentId, options).then(function (request) { return request(axios, basePath); });
26788
+ },
26789
+ /**
26790
+ * Revoke a TaskAgent share by setting `active` to false. Requires `task_agent:edit` on the parent TaskAgent. The share record is preserved for management views and analytics.
26791
+ * @summary Revoke TaskAgent Share
26792
+ * @param {string} orgId The organization ID
26793
+ * @param {string} projectId The project ID
26794
+ * @param {string} taskAgentId The task agent ID
26795
+ * @param {string} shareId TaskAgent share ID
26796
+ * @param {*} [options] Override http request option.
26797
+ * @throws {RequiredError}
26798
+ */
26799
+ revokeTaskAgentShare: function (orgId, projectId, taskAgentId, shareId, options) {
26800
+ return localVarFp.revokeTaskAgentShare(orgId, projectId, taskAgentId, shareId, options).then(function (request) { return request(axios, basePath); });
26801
+ },
26802
+ };
26803
+ };
26804
+ exports.TaskAgentSharesApiFactory = TaskAgentSharesApiFactory;
26805
+ /**
26806
+ * TaskAgentSharesApi - object-oriented interface
26807
+ * @export
26808
+ * @class TaskAgentSharesApi
26809
+ * @extends {BaseAPI}
26810
+ */
26811
+ var TaskAgentSharesApi = /** @class */ (function (_super) {
26812
+ __extends(TaskAgentSharesApi, _super);
26813
+ function TaskAgentSharesApi() {
26814
+ return _super !== null && _super.apply(this, arguments) || this;
26815
+ }
26816
+ /**
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.
26818
+ * @summary Clone Shared TaskAgent
26819
+ * @param {string} shortId TaskAgent share short ID
26820
+ * @param {string} orgId The organization ID
26821
+ * @param {string} projectId The project ID
26822
+ * @param {*} [options] Override http request option.
26823
+ * @throws {RequiredError}
26824
+ * @memberof TaskAgentSharesApi
26825
+ */
26826
+ TaskAgentSharesApi.prototype.cloneSharedTaskAgent = function (shortId, orgId, projectId, options) {
26827
+ var _this = this;
26828
+ return (0, exports.TaskAgentSharesApiFp)(this.configuration).cloneSharedTaskAgent(shortId, orgId, projectId, options).then(function (request) { return request(_this.axios, _this.basePath); });
26829
+ };
26830
+ /**
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.
26832
+ * @summary Create TaskAgent Share
26833
+ * @param {string} orgId The organization ID
26834
+ * @param {string} projectId The project ID
26835
+ * @param {string} taskAgentId The task agent ID
26836
+ * @param {TaskAgentShareCreate} taskAgentShareCreate
26837
+ * @param {*} [options] Override http request option.
26838
+ * @throws {RequiredError}
26839
+ * @memberof TaskAgentSharesApi
26840
+ */
26841
+ TaskAgentSharesApi.prototype.createTaskAgentShare = function (orgId, projectId, taskAgentId, taskAgentShareCreate, options) {
26842
+ var _this = this;
26843
+ return (0, exports.TaskAgentSharesApiFp)(this.configuration).createTaskAgentShare(orgId, projectId, taskAgentId, taskAgentShareCreate, options).then(function (request) { return request(_this.axios, _this.basePath); });
26844
+ };
26845
+ /**
26846
+ * Return a public TaskAgent share page or sanitized public data. Browser/default requests render a human-readable HTML share page. Clients that send `Accept: application/json`, `application/yaml`, or `text/yaml` receive sanitized public data. The public DTO is allowlisted. It intentionally includes operational configuration needed to understand the shared agent, such as input processor configuration and tool names, but redacts credentials, tokens, auth configs, ciphertext, connected user IDs, source-project provenance, tags, runs, files, and sessions. Public paths remain present in OpenAPI for schema generation but are marked `x-fern-ignore` by the `/public/_*` OpenAPI configuration.
26847
+ * @summary Get Public TaskAgent Share
26848
+ * @param {string} shortId TaskAgent share short ID
26849
+ * @param {string | null} [accept]
26850
+ * @param {*} [options] Override http request option.
26851
+ * @throws {RequiredError}
26852
+ * @memberof TaskAgentSharesApi
26853
+ */
26854
+ TaskAgentSharesApi.prototype.getPublicTaskAgentShare = function (shortId, accept, options) {
26855
+ var _this = this;
26856
+ return (0, exports.TaskAgentSharesApiFp)(this.configuration).getPublicTaskAgentShare(shortId, accept, options).then(function (request) { return request(_this.axios, _this.basePath); });
26857
+ };
26858
+ /**
26859
+ * List TaskAgent shares in a project. TaskAgent shares are public share records scoped to the requested project. The endpoint does not expose share-specific IAM.
26860
+ * @summary List Project TaskAgent Shares
26861
+ * @param {string} orgId The organization ID
26862
+ * @param {string} projectId The project ID
26863
+ * @param {boolean | null} [active] Filter by active status
26864
+ * @param {string | null} [taskAgentId] Filter by specific TaskAgent ID
26865
+ * @param {string | null} [taskAgentName] Filter by TaskAgent name (partial, case-insensitive)
26866
+ * @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
26867
+ * @param {number} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
26868
+ * @param {*} [options] Override http request option.
26869
+ * @throws {RequiredError}
26870
+ * @memberof TaskAgentSharesApi
26871
+ */
26872
+ TaskAgentSharesApi.prototype.listProjectTaskAgentShares = function (orgId, projectId, active, taskAgentId, taskAgentName, cursor, pageLimit, options) {
26873
+ var _this = this;
26874
+ return (0, exports.TaskAgentSharesApiFp)(this.configuration).listProjectTaskAgentShares(orgId, projectId, active, taskAgentId, taskAgentName, cursor, pageLimit, options).then(function (request) { return request(_this.axios, _this.basePath); });
26875
+ };
26876
+ /**
26877
+ * List share links for a single TaskAgent. Requires `task_agent:view` on the parent TaskAgent. TaskAgentShare does not have an independent IAM surface in v1.
26878
+ * @summary List TaskAgent Shares
26879
+ * @param {string} orgId The organization ID
26880
+ * @param {string} projectId The project ID
26881
+ * @param {string} taskAgentId The task agent ID
26882
+ * @param {*} [options] Override http request option.
26883
+ * @throws {RequiredError}
26884
+ * @memberof TaskAgentSharesApi
26885
+ */
26886
+ TaskAgentSharesApi.prototype.listTaskAgentShares = function (orgId, projectId, taskAgentId, options) {
26887
+ var _this = this;
26888
+ return (0, exports.TaskAgentSharesApiFp)(this.configuration).listTaskAgentShares(orgId, projectId, taskAgentId, options).then(function (request) { return request(_this.axios, _this.basePath); });
26889
+ };
26890
+ /**
26891
+ * Revoke a TaskAgent share by setting `active` to false. Requires `task_agent:edit` on the parent TaskAgent. The share record is preserved for management views and analytics.
26892
+ * @summary Revoke TaskAgent Share
26893
+ * @param {string} orgId The organization ID
26894
+ * @param {string} projectId The project ID
26895
+ * @param {string} taskAgentId The task agent ID
26896
+ * @param {string} shareId TaskAgent share ID
26897
+ * @param {*} [options] Override http request option.
26898
+ * @throws {RequiredError}
26899
+ * @memberof TaskAgentSharesApi
26900
+ */
26901
+ TaskAgentSharesApi.prototype.revokeTaskAgentShare = function (orgId, projectId, taskAgentId, shareId, options) {
26902
+ var _this = this;
26903
+ return (0, exports.TaskAgentSharesApiFp)(this.configuration).revokeTaskAgentShare(orgId, projectId, taskAgentId, shareId, options).then(function (request) { return request(_this.axios, _this.basePath); });
26904
+ };
26905
+ return TaskAgentSharesApi;
26906
+ }(base_1.BaseAPI));
26907
+ exports.TaskAgentSharesApi = TaskAgentSharesApi;
26908
+ /**
26909
+ * TaskAgentsApi - axios parameter creator
26910
+ * @export
26911
+ */
26912
+ var TaskAgentsApiAxiosParamCreator = function (configuration) {
26913
+ var _this = this;
26914
+ return {
26915
+ /**
26916
+ * Create a new Task Agent for the project. Task Agents orchestrate multiple Tasks as task tools using LLM-powered reasoning. The request creates the root Task Agent and its initial active revision. Runtime configuration such as instructions, models, and tools is stored on revisions.
26917
+ * @summary Create Task Agent
26918
+ * @param {string} orgId The organization ID
26919
+ * @param {string} projectId The project ID
26920
+ * @param {TaskAgentCreate} taskAgentCreate
26921
+ * @param {*} [options] Override http request option.
26922
+ * @throws {RequiredError}
26923
+ */
26924
+ createTaskAgent: function (orgId, projectId, taskAgentCreate, options) {
26925
+ if (options === void 0) { options = {}; }
26926
+ return __awaiter(_this, void 0, void 0, function () {
26927
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26928
+ return __generator(this, function (_a) {
26929
+ switch (_a.label) {
26930
+ case 0:
26931
+ // verify required parameter 'orgId' is not null or undefined
26932
+ (0, common_1.assertParamExists)('createTaskAgent', 'orgId', orgId);
26933
+ // verify required parameter 'projectId' is not null or undefined
26934
+ (0, common_1.assertParamExists)('createTaskAgent', 'projectId', projectId);
26935
+ // verify required parameter 'taskAgentCreate' is not null or undefined
26936
+ (0, common_1.assertParamExists)('createTaskAgent', 'taskAgentCreate', taskAgentCreate);
26937
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent"
26938
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26939
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
26940
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26941
+ if (configuration) {
26942
+ baseOptions = configuration.baseOptions;
26943
+ }
26944
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
26945
+ localVarHeaderParameter = {};
26946
+ localVarQueryParameter = {};
26947
+ // authentication HTTPBearer required
26948
+ // http bearer authentication required
26949
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
26950
+ case 1:
26951
+ // authentication HTTPBearer required
26952
+ // http bearer authentication required
26953
+ _a.sent();
26954
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26955
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26956
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26957
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26958
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(taskAgentCreate, localVarRequestOptions, configuration);
26959
+ return [2 /*return*/, {
26960
+ url: (0, common_1.toPathString)(localVarUrlObj),
26961
+ options: localVarRequestOptions,
26962
+ }];
26963
+ }
26964
+ });
26965
+ });
26966
+ },
26967
+ /**
26968
+ * Remove a Task Agent from the project. This will: - Remove the agent and its revision configuration - Preserve run history for auditing This action cannot be undone.
26969
+ * @summary Delete Task Agent
26970
+ * @param {string} orgId The unique identifier of the organization.
26971
+ * @param {string} projectId The unique identifier of the project.
26972
+ * @param {string} taskAgentId The specific Task Agent to reference.
26973
+ * @param {*} [options] Override http request option.
26974
+ * @throws {RequiredError}
26975
+ */
26976
+ deleteTaskAgent: function (orgId, projectId, taskAgentId, options) {
26977
+ if (options === void 0) { options = {}; }
26978
+ return __awaiter(_this, void 0, void 0, function () {
26979
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26980
+ return __generator(this, function (_a) {
26981
+ switch (_a.label) {
26982
+ case 0:
26983
+ // verify required parameter 'orgId' is not null or undefined
26984
+ (0, common_1.assertParamExists)('deleteTaskAgent', 'orgId', orgId);
26985
+ // verify required parameter 'projectId' is not null or undefined
26986
+ (0, common_1.assertParamExists)('deleteTaskAgent', 'projectId', projectId);
26987
+ // verify required parameter 'taskAgentId' is not null or undefined
26988
+ (0, common_1.assertParamExists)('deleteTaskAgent', 'taskAgentId', taskAgentId);
26989
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}"
26990
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
26991
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
26992
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)));
26993
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26994
+ if (configuration) {
26995
+ baseOptions = configuration.baseOptions;
26996
+ }
26997
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
26998
+ localVarHeaderParameter = {};
26999
+ localVarQueryParameter = {};
27000
+ // authentication HTTPBearer required
27001
+ // http bearer authentication required
27002
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
27003
+ case 1:
27004
+ // authentication HTTPBearer required
27005
+ // http bearer authentication required
27006
+ _a.sent();
27007
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
27008
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27009
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
27010
+ return [2 /*return*/, {
27011
+ url: (0, common_1.toPathString)(localVarUrlObj),
27012
+ options: localVarRequestOptions,
27013
+ }];
27014
+ }
27015
+ });
27016
+ });
27017
+ },
27018
+ /**
27019
+ * Delete a conversation session and all its runs. Removes: - ADK session data (encrypted conversation history) - All TaskAgentRun records for the session Cannot delete a session with active runs.
27020
+ * @summary Delete Session
27021
+ * @param {string} orgId The unique identifier of the organization.
27022
+ * @param {string} projectId The unique identifier of the project.
27023
+ * @param {string} taskAgentId The specific Task Agent to reference.
27024
+ * @param {string} sessionId The session ID (UUID format, server-generated).
27025
+ * @param {*} [options] Override http request option.
27026
+ * @throws {RequiredError}
27027
+ */
27028
+ deleteTaskAgentSession: function (orgId, projectId, taskAgentId, sessionId, options) {
27029
+ if (options === void 0) { options = {}; }
27030
+ return __awaiter(_this, void 0, void 0, function () {
27031
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
27032
+ return __generator(this, function (_a) {
27033
+ switch (_a.label) {
27034
+ case 0:
27035
+ // verify required parameter 'orgId' is not null or undefined
27036
+ (0, common_1.assertParamExists)('deleteTaskAgentSession', 'orgId', orgId);
27037
+ // verify required parameter 'projectId' is not null or undefined
27038
+ (0, common_1.assertParamExists)('deleteTaskAgentSession', 'projectId', projectId);
27039
+ // verify required parameter 'taskAgentId' is not null or undefined
27040
+ (0, common_1.assertParamExists)('deleteTaskAgentSession', 'taskAgentId', taskAgentId);
27041
+ // verify required parameter 'sessionId' is not null or undefined
27042
+ (0, common_1.assertParamExists)('deleteTaskAgentSession', 'sessionId', sessionId);
27043
+ localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/session/{session_id}"
27044
+ .replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
27045
+ .replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
27046
+ .replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)))
27047
+ .replace("{".concat("session_id", "}"), encodeURIComponent(String(sessionId)));
27048
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
27049
+ if (configuration) {
27050
+ baseOptions = configuration.baseOptions;
27051
+ }
27052
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
26096
27053
  localVarHeaderParameter = {};
26097
27054
  localVarQueryParameter = {};
26098
27055
  // authentication HTTPBearer required
@@ -36904,12 +37861,13 @@ var WebhookTriggersApiAxiosParamCreator = function (configuration) {
36904
37861
  * @param {string} projectId The project ID
36905
37862
  * @param {number} [limit]
36906
37863
  * @param {string | null} [cursor]
37864
+ * @param {TriggerType} [triggerType]
36907
37865
  * @param {TriggerTargetType} [targetType]
36908
37866
  * @param {string | null} [targetId]
36909
37867
  * @param {*} [options] Override http request option.
36910
37868
  * @throws {RequiredError}
36911
37869
  */
36912
- listTriggers: function (orgId, projectId, limit, cursor, targetType, targetId, options) {
37870
+ listTriggers: function (orgId, projectId, limit, cursor, triggerType, targetType, targetId, options) {
36913
37871
  if (options === void 0) { options = {}; }
36914
37872
  return __awaiter(_this, void 0, void 0, function () {
36915
37873
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -36943,6 +37901,9 @@ var WebhookTriggersApiAxiosParamCreator = function (configuration) {
36943
37901
  if (cursor !== undefined) {
36944
37902
  localVarQueryParameter['cursor'] = cursor;
36945
37903
  }
37904
+ if (triggerType !== undefined) {
37905
+ localVarQueryParameter['trigger_type'] = triggerType;
37906
+ }
36946
37907
  if (targetType !== undefined) {
36947
37908
  localVarQueryParameter['target_type'] = targetType;
36948
37909
  }
@@ -37299,18 +38260,19 @@ var WebhookTriggersApiFp = function (configuration) {
37299
38260
  * @param {string} projectId The project ID
37300
38261
  * @param {number} [limit]
37301
38262
  * @param {string | null} [cursor]
38263
+ * @param {TriggerType} [triggerType]
37302
38264
  * @param {TriggerTargetType} [targetType]
37303
38265
  * @param {string | null} [targetId]
37304
38266
  * @param {*} [options] Override http request option.
37305
38267
  * @throws {RequiredError}
37306
38268
  */
37307
- listTriggers: function (orgId, projectId, limit, cursor, targetType, targetId, options) {
38269
+ listTriggers: function (orgId, projectId, limit, cursor, triggerType, targetType, targetId, options) {
37308
38270
  var _a, _b, _c;
37309
38271
  return __awaiter(this, void 0, void 0, function () {
37310
38272
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
37311
38273
  return __generator(this, function (_d) {
37312
38274
  switch (_d.label) {
37313
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTriggers(orgId, projectId, limit, cursor, targetType, targetId, options)];
38275
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTriggers(orgId, projectId, limit, cursor, triggerType, targetType, targetId, options)];
37314
38276
  case 1:
37315
38277
  localVarAxiosArgs = _d.sent();
37316
38278
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -37490,13 +38452,14 @@ var WebhookTriggersApiFactory = function (configuration, basePath, axios) {
37490
38452
  * @param {string} projectId The project ID
37491
38453
  * @param {number} [limit]
37492
38454
  * @param {string | null} [cursor]
38455
+ * @param {TriggerType} [triggerType]
37493
38456
  * @param {TriggerTargetType} [targetType]
37494
38457
  * @param {string | null} [targetId]
37495
38458
  * @param {*} [options] Override http request option.
37496
38459
  * @throws {RequiredError}
37497
38460
  */
37498
- listTriggers: function (orgId, projectId, limit, cursor, targetType, targetId, options) {
37499
- return localVarFp.listTriggers(orgId, projectId, limit, cursor, targetType, targetId, options).then(function (request) { return request(axios, basePath); });
38461
+ listTriggers: function (orgId, projectId, limit, cursor, triggerType, targetType, targetId, options) {
38462
+ return localVarFp.listTriggers(orgId, projectId, limit, cursor, triggerType, targetType, targetId, options).then(function (request) { return request(axios, basePath); });
37500
38463
  },
37501
38464
  /**
37502
38465
  * List execution history for a webhook trigger.
@@ -37628,15 +38591,16 @@ var WebhookTriggersApi = /** @class */ (function (_super) {
37628
38591
  * @param {string} projectId The project ID
37629
38592
  * @param {number} [limit]
37630
38593
  * @param {string | null} [cursor]
38594
+ * @param {TriggerType} [triggerType]
37631
38595
  * @param {TriggerTargetType} [targetType]
37632
38596
  * @param {string | null} [targetId]
37633
38597
  * @param {*} [options] Override http request option.
37634
38598
  * @throws {RequiredError}
37635
38599
  * @memberof WebhookTriggersApi
37636
38600
  */
37637
- WebhookTriggersApi.prototype.listTriggers = function (orgId, projectId, limit, cursor, targetType, targetId, options) {
38601
+ WebhookTriggersApi.prototype.listTriggers = function (orgId, projectId, limit, cursor, triggerType, targetType, targetId, options) {
37638
38602
  var _this = this;
37639
- return (0, exports.WebhookTriggersApiFp)(this.configuration).listTriggers(orgId, projectId, limit, cursor, targetType, targetId, options).then(function (request) { return request(_this.axios, _this.basePath); });
38603
+ return (0, exports.WebhookTriggersApiFp)(this.configuration).listTriggers(orgId, projectId, limit, cursor, triggerType, targetType, targetId, options).then(function (request) { return request(_this.axios, _this.basePath); });
37640
38604
  };
37641
38605
  /**
37642
38606
  * List execution history for a webhook trigger.