@rightbrain/brain-api-client 0.0.1-dev.135.b0b3ef9 → 0.0.1-dev.137.c52b325
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +1781 -54
- package/dist/api.d.ts +1350 -75
- package/dist/api.js +1418 -253
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -76,11 +76,11 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
76
76
|
};
|
|
77
77
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
78
78
|
exports.OrganizationMemberAlreadyExistsErrorResponseReasonEnum = exports.OrganizationInviteAlreadyExistsErrorResponseReasonEnum = exports.OrganizationIAMPermissionTestPermissionsEnum = 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.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.
|
|
80
|
-
exports.
|
|
81
|
-
exports.
|
|
82
|
-
exports.
|
|
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.TaskMCPServersApi = exports.TaskMCPServersApiFactory = void 0;
|
|
79
|
+
exports.TaskIAMPermissionTestPermissionsEnum = exports.TaskIAMMemberRoleUpdateRemoveEnum = exports.TaskIAMMemberRoleUpdateAddEnum = exports.TaskForwarderIAMPermissionTestPermissionsEnum = exports.TaskForwarderIAMMemberRoleUpdateRemoveEnum = exports.TaskForwarderIAMMemberRoleUpdateAddEnum = exports.TaskCreateTaskRunVisibilityEnum = exports.TaskAgentUsageReportAggregationEnum = exports.TaskAgentUpdateTaskAgentRunVisibilityEnum = exports.TaskAgentUpdateMemoryStrategyEnum = exports.TaskAgentTimingReportAggregationEnum = exports.TaskAgentRunStatus = exports.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.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 = void 0;
|
|
80
|
+
exports.DocumentApiFactory = exports.DocumentApiFp = exports.DocumentApiAxiosParamCreator = exports.ComposeApi = exports.ComposeApiFactory = exports.ComposeApiFp = exports.ComposeApiAxiosParamCreator = exports.CollectionIamOrgOrgIdProjectProjectIdCollectionCollectionIdIamListMembersTypeEnum = exports.CollectionsApi = exports.CollectionsApiFactory = exports.CollectionsApiFp = exports.CollectionsApiAxiosParamCreator = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.AuditEventsApi = 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.TaskMcpServerCatalogReadAuthModeEnum = exports.TaskMcpServerAuthStateReasonEnum = exports.TaskMcpServerAuthStateEnum = exports.TaskMcpAuthType = exports.TaskMcpAuthStrategy = void 0;
|
|
81
|
+
exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.ProjectIamOrgOrgIdProjectProjectIdOauthClientOauthClientIdIamListMembersTypeEnum = exports.OAuthClientsApi = exports.OAuthClientsApiFactory = exports.OAuthClientsApiFp = exports.OAuthClientsApiAxiosParamCreator = exports.MCPServersApi = exports.MCPServersApiFactory = exports.MCPServersApiFp = 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 = void 0;
|
|
82
|
+
exports.GetTaskAgentUsageReportAggregationEnum = exports.GetTaskAgentTimingReportAggregationEnum = exports.GetProjectTaskAgentUsageReportAggregationEnum = exports.GetProjectTaskAgentTimingReportAggregationEnum = exports.TaskAgentsApi = exports.TaskAgentsApiFactory = exports.TaskAgentsApiFp = exports.TaskAgentsApiAxiosParamCreator = exports.UpdateTagEntityTypeEnum = exports.RemoveTagFromEntitiesEntityTypeEnum = exports.ListTagsEntityTypeEnum = exports.GetTagEntityTypeEnum = 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.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 = 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.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 = void 0;
|
|
84
84
|
var axios_1 = require("axios");
|
|
85
85
|
// Some imports not used depending on template conditions
|
|
86
86
|
// @ts-ignore
|
|
@@ -549,6 +549,28 @@ exports.ProjectIntegrationCreateTypeEnum = {
|
|
|
549
549
|
Calendar: 'google_calendar',
|
|
550
550
|
Gmail: 'google_gmail'
|
|
551
551
|
};
|
|
552
|
+
exports.ProjectIntegrationIAMMemberRoleUpdateAddEnum = {
|
|
553
|
+
Editor: 'editor',
|
|
554
|
+
Owner: 'owner',
|
|
555
|
+
Viewer: 'viewer'
|
|
556
|
+
};
|
|
557
|
+
exports.ProjectIntegrationIAMMemberRoleUpdateRemoveEnum = {
|
|
558
|
+
Editor: 'editor',
|
|
559
|
+
Owner: 'owner',
|
|
560
|
+
Viewer: 'viewer'
|
|
561
|
+
};
|
|
562
|
+
exports.ProjectIntegrationIAMPermissionTestPermissionsEnum = {
|
|
563
|
+
AddEditor: 'add_editor',
|
|
564
|
+
AddMember: 'add_member',
|
|
565
|
+
AddOwner: 'add_owner',
|
|
566
|
+
Delete: 'delete',
|
|
567
|
+
Edit: 'edit',
|
|
568
|
+
RemoveEditor: 'remove_editor',
|
|
569
|
+
RemoveMember: 'remove_member',
|
|
570
|
+
RemoveOwner: 'remove_owner',
|
|
571
|
+
View: 'view',
|
|
572
|
+
ViewMembers: 'view_members'
|
|
573
|
+
};
|
|
552
574
|
exports.ProjectIntegrationReadTypeEnum = {
|
|
553
575
|
Sheets: 'google_sheets',
|
|
554
576
|
Docs: 'google_docs',
|
|
@@ -646,6 +668,28 @@ exports.TaskAgentFileMetadataSourceEnum = {
|
|
|
646
668
|
Input: 'input',
|
|
647
669
|
Generated: 'generated'
|
|
648
670
|
};
|
|
671
|
+
exports.TaskAgentIAMMemberRoleUpdateAddEnum = {
|
|
672
|
+
Editor: 'editor',
|
|
673
|
+
Owner: 'owner',
|
|
674
|
+
Viewer: 'viewer'
|
|
675
|
+
};
|
|
676
|
+
exports.TaskAgentIAMMemberRoleUpdateRemoveEnum = {
|
|
677
|
+
Editor: 'editor',
|
|
678
|
+
Owner: 'owner',
|
|
679
|
+
Viewer: 'viewer'
|
|
680
|
+
};
|
|
681
|
+
exports.TaskAgentIAMPermissionTestPermissionsEnum = {
|
|
682
|
+
AddEditor: 'add_editor',
|
|
683
|
+
AddMember: 'add_member',
|
|
684
|
+
AddOwner: 'add_owner',
|
|
685
|
+
Edit: 'edit',
|
|
686
|
+
RemoveEditor: 'remove_editor',
|
|
687
|
+
RemoveMember: 'remove_member',
|
|
688
|
+
RemoveOwner: 'remove_owner',
|
|
689
|
+
Run: 'run',
|
|
690
|
+
View: 'view',
|
|
691
|
+
ViewMembers: 'view_members'
|
|
692
|
+
};
|
|
649
693
|
exports.TaskAgentIntegrationReadIntegrationTypeEnum = {
|
|
650
694
|
Sheets: 'google_sheets',
|
|
651
695
|
Docs: 'google_docs',
|
|
@@ -653,6 +697,14 @@ exports.TaskAgentIntegrationReadIntegrationTypeEnum = {
|
|
|
653
697
|
Calendar: 'google_calendar',
|
|
654
698
|
Gmail: 'google_gmail'
|
|
655
699
|
};
|
|
700
|
+
exports.TaskAgentIntegrationReadProvisionSourceEnum = {
|
|
701
|
+
Manual: 'manual',
|
|
702
|
+
SkillCapability: 'skill_capability'
|
|
703
|
+
};
|
|
704
|
+
exports.TaskAgentMcpServerReadProvisionSourceEnum = {
|
|
705
|
+
Manual: 'manual',
|
|
706
|
+
SkillCapability: 'skill_capability'
|
|
707
|
+
};
|
|
656
708
|
/**
|
|
657
709
|
* Execution mode for TaskAgent.
|
|
658
710
|
* @export
|
|
@@ -667,6 +719,10 @@ exports.TaskAgentReadTaskAgentRunVisibilityEnum = {
|
|
|
667
719
|
EditorsAndOwners: 'editors_and_owners',
|
|
668
720
|
AllViewers: 'all_viewers'
|
|
669
721
|
};
|
|
722
|
+
exports.TaskAgentRegisteredToolReadProvisionSourceEnum = {
|
|
723
|
+
Manual: 'manual',
|
|
724
|
+
SkillCapability: 'skill_capability'
|
|
725
|
+
};
|
|
670
726
|
/**
|
|
671
727
|
* Status of a TaskAgent run.
|
|
672
728
|
* @export
|
|
@@ -773,6 +829,12 @@ exports.TaskMcpServerAuthStateReasonEnum = {
|
|
|
773
829
|
CredentialsRejected: 'credentials_rejected',
|
|
774
830
|
ServerUnreachable: 'server_unreachable'
|
|
775
831
|
};
|
|
832
|
+
exports.TaskMcpServerCatalogReadAuthModeEnum = {
|
|
833
|
+
None: 'none',
|
|
834
|
+
Oauth: 'oauth',
|
|
835
|
+
ApiKey: 'api_key',
|
|
836
|
+
OauthOrApiKey: 'oauth_or_api_key'
|
|
837
|
+
};
|
|
776
838
|
/**
|
|
777
839
|
*
|
|
778
840
|
* @export
|
|
@@ -1686,8 +1748,8 @@ var AuditEventsApiAxiosParamCreator = function (configuration) {
|
|
|
1686
1748
|
/**
|
|
1687
1749
|
* Export project audit events as NDJSON. Each line is a full audit event detail record, including the decrypted payload.
|
|
1688
1750
|
* @summary Export Project Audit Events
|
|
1689
|
-
* @param {string} orgId The
|
|
1690
|
-
* @param {string} projectId The
|
|
1751
|
+
* @param {string} orgId The organization ID
|
|
1752
|
+
* @param {string} projectId The project ID
|
|
1691
1753
|
* @param {Array<string> | null} [eventType] Filter by one or more audit event types.
|
|
1692
1754
|
* @param {string | null} [actorUserId] Filter by the acting user.
|
|
1693
1755
|
* @param {string | null} [resourceType] Filter by resource type.
|
|
@@ -1762,8 +1824,8 @@ var AuditEventsApiAxiosParamCreator = function (configuration) {
|
|
|
1762
1824
|
* Retrieve a single audit event for the project. The detail response includes the decrypted payload captured for the event.
|
|
1763
1825
|
* @summary Get Project Audit Event
|
|
1764
1826
|
* @param {string} auditEventId
|
|
1765
|
-
* @param {string} orgId The
|
|
1766
|
-
* @param {string} projectId The
|
|
1827
|
+
* @param {string} orgId The organization ID
|
|
1828
|
+
* @param {string} projectId The project ID
|
|
1767
1829
|
* @param {*} [options] Override http request option.
|
|
1768
1830
|
* @throws {RequiredError}
|
|
1769
1831
|
*/
|
|
@@ -1812,8 +1874,8 @@ var AuditEventsApiAxiosParamCreator = function (configuration) {
|
|
|
1812
1874
|
/**
|
|
1813
1875
|
* List immutable audit events recorded for a project. Results are ordered by `occurred_at` descending, then `id` descending. The `cursor` parameter is an opaque pagination token and must be treated as an unreadable value by clients. Use the filters to narrow the feed by event type, actor, or resource identifiers.
|
|
1814
1876
|
* @summary List Project Audit Events
|
|
1815
|
-
* @param {string} orgId The
|
|
1816
|
-
* @param {string} projectId The
|
|
1877
|
+
* @param {string} orgId The organization ID
|
|
1878
|
+
* @param {string} projectId The project ID
|
|
1817
1879
|
* @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
|
|
1818
1880
|
* @param {number} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
|
|
1819
1881
|
* @param {Array<string> | null} [eventType] Filter by one or more audit event types.
|
|
@@ -1905,8 +1967,8 @@ var AuditEventsApiFp = function (configuration) {
|
|
|
1905
1967
|
/**
|
|
1906
1968
|
* Export project audit events as NDJSON. Each line is a full audit event detail record, including the decrypted payload.
|
|
1907
1969
|
* @summary Export Project Audit Events
|
|
1908
|
-
* @param {string} orgId The
|
|
1909
|
-
* @param {string} projectId The
|
|
1970
|
+
* @param {string} orgId The organization ID
|
|
1971
|
+
* @param {string} projectId The project ID
|
|
1910
1972
|
* @param {Array<string> | null} [eventType] Filter by one or more audit event types.
|
|
1911
1973
|
* @param {string | null} [actorUserId] Filter by the acting user.
|
|
1912
1974
|
* @param {string | null} [resourceType] Filter by resource type.
|
|
@@ -1936,8 +1998,8 @@ var AuditEventsApiFp = function (configuration) {
|
|
|
1936
1998
|
* Retrieve a single audit event for the project. The detail response includes the decrypted payload captured for the event.
|
|
1937
1999
|
* @summary Get Project Audit Event
|
|
1938
2000
|
* @param {string} auditEventId
|
|
1939
|
-
* @param {string} orgId The
|
|
1940
|
-
* @param {string} projectId The
|
|
2001
|
+
* @param {string} orgId The organization ID
|
|
2002
|
+
* @param {string} projectId The project ID
|
|
1941
2003
|
* @param {*} [options] Override http request option.
|
|
1942
2004
|
* @throws {RequiredError}
|
|
1943
2005
|
*/
|
|
@@ -1960,8 +2022,8 @@ var AuditEventsApiFp = function (configuration) {
|
|
|
1960
2022
|
/**
|
|
1961
2023
|
* List immutable audit events recorded for a project. Results are ordered by `occurred_at` descending, then `id` descending. The `cursor` parameter is an opaque pagination token and must be treated as an unreadable value by clients. Use the filters to narrow the feed by event type, actor, or resource identifiers.
|
|
1962
2024
|
* @summary List Project Audit Events
|
|
1963
|
-
* @param {string} orgId The
|
|
1964
|
-
* @param {string} projectId The
|
|
2025
|
+
* @param {string} orgId The organization ID
|
|
2026
|
+
* @param {string} projectId The project ID
|
|
1965
2027
|
* @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
|
|
1966
2028
|
* @param {number} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
|
|
1967
2029
|
* @param {Array<string> | null} [eventType] Filter by one or more audit event types.
|
|
@@ -2002,8 +2064,8 @@ var AuditEventsApiFactory = function (configuration, basePath, axios) {
|
|
|
2002
2064
|
/**
|
|
2003
2065
|
* Export project audit events as NDJSON. Each line is a full audit event detail record, including the decrypted payload.
|
|
2004
2066
|
* @summary Export Project Audit Events
|
|
2005
|
-
* @param {string} orgId The
|
|
2006
|
-
* @param {string} projectId The
|
|
2067
|
+
* @param {string} orgId The organization ID
|
|
2068
|
+
* @param {string} projectId The project ID
|
|
2007
2069
|
* @param {Array<string> | null} [eventType] Filter by one or more audit event types.
|
|
2008
2070
|
* @param {string | null} [actorUserId] Filter by the acting user.
|
|
2009
2071
|
* @param {string | null} [resourceType] Filter by resource type.
|
|
@@ -2020,8 +2082,8 @@ var AuditEventsApiFactory = function (configuration, basePath, axios) {
|
|
|
2020
2082
|
* Retrieve a single audit event for the project. The detail response includes the decrypted payload captured for the event.
|
|
2021
2083
|
* @summary Get Project Audit Event
|
|
2022
2084
|
* @param {string} auditEventId
|
|
2023
|
-
* @param {string} orgId The
|
|
2024
|
-
* @param {string} projectId The
|
|
2085
|
+
* @param {string} orgId The organization ID
|
|
2086
|
+
* @param {string} projectId The project ID
|
|
2025
2087
|
* @param {*} [options] Override http request option.
|
|
2026
2088
|
* @throws {RequiredError}
|
|
2027
2089
|
*/
|
|
@@ -2031,8 +2093,8 @@ var AuditEventsApiFactory = function (configuration, basePath, axios) {
|
|
|
2031
2093
|
/**
|
|
2032
2094
|
* List immutable audit events recorded for a project. Results are ordered by `occurred_at` descending, then `id` descending. The `cursor` parameter is an opaque pagination token and must be treated as an unreadable value by clients. Use the filters to narrow the feed by event type, actor, or resource identifiers.
|
|
2033
2095
|
* @summary List Project Audit Events
|
|
2034
|
-
* @param {string} orgId The
|
|
2035
|
-
* @param {string} projectId The
|
|
2096
|
+
* @param {string} orgId The organization ID
|
|
2097
|
+
* @param {string} projectId The project ID
|
|
2036
2098
|
* @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
|
|
2037
2099
|
* @param {number} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
|
|
2038
2100
|
* @param {Array<string> | null} [eventType] Filter by one or more audit event types.
|
|
@@ -2064,8 +2126,8 @@ var AuditEventsApi = /** @class */ (function (_super) {
|
|
|
2064
2126
|
/**
|
|
2065
2127
|
* Export project audit events as NDJSON. Each line is a full audit event detail record, including the decrypted payload.
|
|
2066
2128
|
* @summary Export Project Audit Events
|
|
2067
|
-
* @param {string} orgId The
|
|
2068
|
-
* @param {string} projectId The
|
|
2129
|
+
* @param {string} orgId The organization ID
|
|
2130
|
+
* @param {string} projectId The project ID
|
|
2069
2131
|
* @param {Array<string> | null} [eventType] Filter by one or more audit event types.
|
|
2070
2132
|
* @param {string | null} [actorUserId] Filter by the acting user.
|
|
2071
2133
|
* @param {string | null} [resourceType] Filter by resource type.
|
|
@@ -2084,8 +2146,8 @@ var AuditEventsApi = /** @class */ (function (_super) {
|
|
|
2084
2146
|
* Retrieve a single audit event for the project. The detail response includes the decrypted payload captured for the event.
|
|
2085
2147
|
* @summary Get Project Audit Event
|
|
2086
2148
|
* @param {string} auditEventId
|
|
2087
|
-
* @param {string} orgId The
|
|
2088
|
-
* @param {string} projectId The
|
|
2149
|
+
* @param {string} orgId The organization ID
|
|
2150
|
+
* @param {string} projectId The project ID
|
|
2089
2151
|
* @param {*} [options] Override http request option.
|
|
2090
2152
|
* @throws {RequiredError}
|
|
2091
2153
|
* @memberof AuditEventsApi
|
|
@@ -2097,8 +2159,8 @@ var AuditEventsApi = /** @class */ (function (_super) {
|
|
|
2097
2159
|
/**
|
|
2098
2160
|
* List immutable audit events recorded for a project. Results are ordered by `occurred_at` descending, then `id` descending. The `cursor` parameter is an opaque pagination token and must be treated as an unreadable value by clients. Use the filters to narrow the feed by event type, actor, or resource identifiers.
|
|
2099
2161
|
* @summary List Project Audit Events
|
|
2100
|
-
* @param {string} orgId The
|
|
2101
|
-
* @param {string} projectId The
|
|
2162
|
+
* @param {string} orgId The organization ID
|
|
2163
|
+
* @param {string} projectId The project ID
|
|
2102
2164
|
* @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
|
|
2103
2165
|
* @param {number} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
|
|
2104
2166
|
* @param {Array<string> | null} [eventType] Filter by one or more audit event types.
|
|
@@ -8709,119 +8771,345 @@ var IntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
8709
8771
|
});
|
|
8710
8772
|
});
|
|
8711
8773
|
},
|
|
8712
|
-
};
|
|
8713
|
-
};
|
|
8714
|
-
exports.IntegrationsApiAxiosParamCreator = IntegrationsApiAxiosParamCreator;
|
|
8715
|
-
/**
|
|
8716
|
-
* IntegrationsApi - functional programming interface
|
|
8717
|
-
* @export
|
|
8718
|
-
*/
|
|
8719
|
-
var IntegrationsApiFp = function (configuration) {
|
|
8720
|
-
var localVarAxiosParamCreator = (0, exports.IntegrationsApiAxiosParamCreator)(configuration);
|
|
8721
|
-
return {
|
|
8722
8774
|
/**
|
|
8723
|
-
*
|
|
8724
|
-
* @summary
|
|
8775
|
+
* Retrieve a specific member that has been granted direct access to the project_integration.
|
|
8776
|
+
* @summary IAM - Lookup Project Integration Member
|
|
8725
8777
|
* @param {string} integrationId
|
|
8726
|
-
* @param {string}
|
|
8727
|
-
* @param {string}
|
|
8728
|
-
* @param {string}
|
|
8729
|
-
* @param {*} [options] Override http request option.
|
|
8730
|
-
* @throws {RequiredError}
|
|
8731
|
-
*/
|
|
8732
|
-
authorizeIntegration: function (integrationId, orgId, projectId, redirectTo, options) {
|
|
8733
|
-
var _a, _b, _c;
|
|
8734
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
8735
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8736
|
-
return __generator(this, function (_d) {
|
|
8737
|
-
switch (_d.label) {
|
|
8738
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.authorizeIntegration(integrationId, orgId, projectId, redirectTo, options)];
|
|
8739
|
-
case 1:
|
|
8740
|
-
localVarAxiosArgs = _d.sent();
|
|
8741
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8742
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.authorizeIntegration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8743
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8744
|
-
}
|
|
8745
|
-
});
|
|
8746
|
-
});
|
|
8747
|
-
},
|
|
8748
|
-
/**
|
|
8749
|
-
* Handle the OAuth callback for a platform integration.
|
|
8750
|
-
* @summary Integration OAuth Callback
|
|
8751
|
-
* @param {string} code
|
|
8752
|
-
* @param {string} state
|
|
8778
|
+
* @param {string} member
|
|
8779
|
+
* @param {string} orgId The org id
|
|
8780
|
+
* @param {string} projectId The project id
|
|
8753
8781
|
* @param {*} [options] Override http request option.
|
|
8754
8782
|
* @throws {RequiredError}
|
|
8755
8783
|
*/
|
|
8756
|
-
|
|
8757
|
-
|
|
8758
|
-
return __awaiter(
|
|
8759
|
-
var
|
|
8760
|
-
return __generator(this, function (
|
|
8761
|
-
switch (
|
|
8762
|
-
case 0:
|
|
8784
|
+
projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamGetMember: function (integrationId, member, orgId, projectId, options) {
|
|
8785
|
+
if (options === void 0) { options = {}; }
|
|
8786
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
8787
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
8788
|
+
return __generator(this, function (_a) {
|
|
8789
|
+
switch (_a.label) {
|
|
8790
|
+
case 0:
|
|
8791
|
+
// verify required parameter 'integrationId' is not null or undefined
|
|
8792
|
+
(0, common_1.assertParamExists)('projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamGetMember', 'integrationId', integrationId);
|
|
8793
|
+
// verify required parameter 'member' is not null or undefined
|
|
8794
|
+
(0, common_1.assertParamExists)('projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamGetMember', 'member', member);
|
|
8795
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
8796
|
+
(0, common_1.assertParamExists)('projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamGetMember', 'orgId', orgId);
|
|
8797
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
8798
|
+
(0, common_1.assertParamExists)('projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamGetMember', 'projectId', projectId);
|
|
8799
|
+
localVarPath = "/org/{org_id}/project/{project_id}/integration/{integration_id}/iam/members/{member}"
|
|
8800
|
+
.replace("{".concat("integration_id", "}"), encodeURIComponent(String(integrationId)))
|
|
8801
|
+
.replace("{".concat("member", "}"), encodeURIComponent(String(member)))
|
|
8802
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
8803
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
8804
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8805
|
+
if (configuration) {
|
|
8806
|
+
baseOptions = configuration.baseOptions;
|
|
8807
|
+
}
|
|
8808
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
8809
|
+
localVarHeaderParameter = {};
|
|
8810
|
+
localVarQueryParameter = {};
|
|
8811
|
+
// authentication HTTPBearer required
|
|
8812
|
+
// http bearer authentication required
|
|
8813
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
8763
8814
|
case 1:
|
|
8764
|
-
|
|
8765
|
-
|
|
8766
|
-
|
|
8767
|
-
|
|
8815
|
+
// authentication HTTPBearer required
|
|
8816
|
+
// http bearer authentication required
|
|
8817
|
+
_a.sent();
|
|
8818
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8819
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8820
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8821
|
+
return [2 /*return*/, {
|
|
8822
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8823
|
+
options: localVarRequestOptions,
|
|
8824
|
+
}];
|
|
8768
8825
|
}
|
|
8769
8826
|
});
|
|
8770
8827
|
});
|
|
8771
8828
|
},
|
|
8772
8829
|
/**
|
|
8773
|
-
*
|
|
8774
|
-
* @summary
|
|
8775
|
-
* @param {string}
|
|
8776
|
-
* @param {string}
|
|
8777
|
-
* @param {
|
|
8830
|
+
* Lists all members that have been granted direct access to the project_integration.
|
|
8831
|
+
* @summary IAM - List Project Integration Members
|
|
8832
|
+
* @param {string} integrationId
|
|
8833
|
+
* @param {string} orgId The org id
|
|
8834
|
+
* @param {string} projectId The project id
|
|
8835
|
+
* @param {ProjectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamListMembersTypeEnum} [type]
|
|
8778
8836
|
* @param {*} [options] Override http request option.
|
|
8779
8837
|
* @throws {RequiredError}
|
|
8780
8838
|
*/
|
|
8781
|
-
|
|
8782
|
-
|
|
8783
|
-
return __awaiter(
|
|
8784
|
-
var
|
|
8785
|
-
return __generator(this, function (
|
|
8786
|
-
switch (
|
|
8787
|
-
case 0:
|
|
8839
|
+
projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamListMembers: function (integrationId, orgId, projectId, type, options) {
|
|
8840
|
+
if (options === void 0) { options = {}; }
|
|
8841
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
8842
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
8843
|
+
return __generator(this, function (_a) {
|
|
8844
|
+
switch (_a.label) {
|
|
8845
|
+
case 0:
|
|
8846
|
+
// verify required parameter 'integrationId' is not null or undefined
|
|
8847
|
+
(0, common_1.assertParamExists)('projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamListMembers', 'integrationId', integrationId);
|
|
8848
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
8849
|
+
(0, common_1.assertParamExists)('projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamListMembers', 'orgId', orgId);
|
|
8850
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
8851
|
+
(0, common_1.assertParamExists)('projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamListMembers', 'projectId', projectId);
|
|
8852
|
+
localVarPath = "/org/{org_id}/project/{project_id}/integration/{integration_id}/iam/members"
|
|
8853
|
+
.replace("{".concat("integration_id", "}"), encodeURIComponent(String(integrationId)))
|
|
8854
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
8855
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
8856
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8857
|
+
if (configuration) {
|
|
8858
|
+
baseOptions = configuration.baseOptions;
|
|
8859
|
+
}
|
|
8860
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
8861
|
+
localVarHeaderParameter = {};
|
|
8862
|
+
localVarQueryParameter = {};
|
|
8863
|
+
// authentication HTTPBearer required
|
|
8864
|
+
// http bearer authentication required
|
|
8865
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
8788
8866
|
case 1:
|
|
8789
|
-
|
|
8790
|
-
|
|
8791
|
-
|
|
8792
|
-
|
|
8867
|
+
// authentication HTTPBearer required
|
|
8868
|
+
// http bearer authentication required
|
|
8869
|
+
_a.sent();
|
|
8870
|
+
if (type !== undefined) {
|
|
8871
|
+
localVarQueryParameter['type'] = type;
|
|
8872
|
+
}
|
|
8873
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8874
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8875
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8876
|
+
return [2 /*return*/, {
|
|
8877
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8878
|
+
options: localVarRequestOptions,
|
|
8879
|
+
}];
|
|
8793
8880
|
}
|
|
8794
8881
|
});
|
|
8795
8882
|
});
|
|
8796
8883
|
},
|
|
8797
8884
|
/**
|
|
8798
|
-
*
|
|
8799
|
-
* @summary
|
|
8885
|
+
* Test the permissions that the caller (or another subject) holds on the project_integration.
|
|
8886
|
+
* @summary IAM - Test Project Integration Permissions
|
|
8800
8887
|
* @param {string} integrationId
|
|
8801
|
-
* @param {string} orgId The
|
|
8802
|
-
* @param {string} projectId The
|
|
8888
|
+
* @param {string} orgId The org id
|
|
8889
|
+
* @param {string} projectId The project id
|
|
8890
|
+
* @param {ProjectIntegrationIAMPermissionTest} projectIntegrationIAMPermissionTest
|
|
8803
8891
|
* @param {*} [options] Override http request option.
|
|
8804
8892
|
* @throws {RequiredError}
|
|
8805
8893
|
*/
|
|
8806
|
-
|
|
8807
|
-
|
|
8808
|
-
return __awaiter(
|
|
8809
|
-
var
|
|
8810
|
-
return __generator(this, function (
|
|
8811
|
-
switch (
|
|
8812
|
-
case 0:
|
|
8813
|
-
|
|
8814
|
-
|
|
8815
|
-
|
|
8816
|
-
|
|
8817
|
-
|
|
8818
|
-
|
|
8819
|
-
|
|
8820
|
-
|
|
8821
|
-
|
|
8822
|
-
|
|
8823
|
-
|
|
8824
|
-
|
|
8894
|
+
projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamTestPermissions: function (integrationId, orgId, projectId, projectIntegrationIAMPermissionTest, options) {
|
|
8895
|
+
if (options === void 0) { options = {}; }
|
|
8896
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
8897
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
8898
|
+
return __generator(this, function (_a) {
|
|
8899
|
+
switch (_a.label) {
|
|
8900
|
+
case 0:
|
|
8901
|
+
// verify required parameter 'integrationId' is not null or undefined
|
|
8902
|
+
(0, common_1.assertParamExists)('projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamTestPermissions', 'integrationId', integrationId);
|
|
8903
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
8904
|
+
(0, common_1.assertParamExists)('projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamTestPermissions', 'orgId', orgId);
|
|
8905
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
8906
|
+
(0, common_1.assertParamExists)('projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamTestPermissions', 'projectId', projectId);
|
|
8907
|
+
// verify required parameter 'projectIntegrationIAMPermissionTest' is not null or undefined
|
|
8908
|
+
(0, common_1.assertParamExists)('projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamTestPermissions', 'projectIntegrationIAMPermissionTest', projectIntegrationIAMPermissionTest);
|
|
8909
|
+
localVarPath = "/org/{org_id}/project/{project_id}/integration/{integration_id}/iam/test"
|
|
8910
|
+
.replace("{".concat("integration_id", "}"), encodeURIComponent(String(integrationId)))
|
|
8911
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
8912
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
8913
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8914
|
+
if (configuration) {
|
|
8915
|
+
baseOptions = configuration.baseOptions;
|
|
8916
|
+
}
|
|
8917
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
8918
|
+
localVarHeaderParameter = {};
|
|
8919
|
+
localVarQueryParameter = {};
|
|
8920
|
+
// authentication HTTPBearer required
|
|
8921
|
+
// http bearer authentication required
|
|
8922
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
8923
|
+
case 1:
|
|
8924
|
+
// authentication HTTPBearer required
|
|
8925
|
+
// http bearer authentication required
|
|
8926
|
+
_a.sent();
|
|
8927
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8928
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8929
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8930
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8931
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(projectIntegrationIAMPermissionTest, localVarRequestOptions, configuration);
|
|
8932
|
+
return [2 /*return*/, {
|
|
8933
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8934
|
+
options: localVarRequestOptions,
|
|
8935
|
+
}];
|
|
8936
|
+
}
|
|
8937
|
+
});
|
|
8938
|
+
});
|
|
8939
|
+
},
|
|
8940
|
+
/**
|
|
8941
|
+
* Update the roles that a member holds on the project_integration.
|
|
8942
|
+
* @summary IAM - Update Project Integration Member
|
|
8943
|
+
* @param {string} integrationId
|
|
8944
|
+
* @param {string} member
|
|
8945
|
+
* @param {string} orgId The org id
|
|
8946
|
+
* @param {string} projectId The project id
|
|
8947
|
+
* @param {ProjectIntegrationIAMMemberRoleUpdate} projectIntegrationIAMMemberRoleUpdate
|
|
8948
|
+
* @param {*} [options] Override http request option.
|
|
8949
|
+
* @throws {RequiredError}
|
|
8950
|
+
*/
|
|
8951
|
+
projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamUpdateMemberRoles: function (integrationId, member, orgId, projectId, projectIntegrationIAMMemberRoleUpdate, options) {
|
|
8952
|
+
if (options === void 0) { options = {}; }
|
|
8953
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
8954
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
8955
|
+
return __generator(this, function (_a) {
|
|
8956
|
+
switch (_a.label) {
|
|
8957
|
+
case 0:
|
|
8958
|
+
// verify required parameter 'integrationId' is not null or undefined
|
|
8959
|
+
(0, common_1.assertParamExists)('projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamUpdateMemberRoles', 'integrationId', integrationId);
|
|
8960
|
+
// verify required parameter 'member' is not null or undefined
|
|
8961
|
+
(0, common_1.assertParamExists)('projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamUpdateMemberRoles', 'member', member);
|
|
8962
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
8963
|
+
(0, common_1.assertParamExists)('projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamUpdateMemberRoles', 'orgId', orgId);
|
|
8964
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
8965
|
+
(0, common_1.assertParamExists)('projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamUpdateMemberRoles', 'projectId', projectId);
|
|
8966
|
+
// verify required parameter 'projectIntegrationIAMMemberRoleUpdate' is not null or undefined
|
|
8967
|
+
(0, common_1.assertParamExists)('projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamUpdateMemberRoles', 'projectIntegrationIAMMemberRoleUpdate', projectIntegrationIAMMemberRoleUpdate);
|
|
8968
|
+
localVarPath = "/org/{org_id}/project/{project_id}/integration/{integration_id}/iam/members/{member}"
|
|
8969
|
+
.replace("{".concat("integration_id", "}"), encodeURIComponent(String(integrationId)))
|
|
8970
|
+
.replace("{".concat("member", "}"), encodeURIComponent(String(member)))
|
|
8971
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
8972
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
8973
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8974
|
+
if (configuration) {
|
|
8975
|
+
baseOptions = configuration.baseOptions;
|
|
8976
|
+
}
|
|
8977
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
8978
|
+
localVarHeaderParameter = {};
|
|
8979
|
+
localVarQueryParameter = {};
|
|
8980
|
+
// authentication HTTPBearer required
|
|
8981
|
+
// http bearer authentication required
|
|
8982
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
8983
|
+
case 1:
|
|
8984
|
+
// authentication HTTPBearer required
|
|
8985
|
+
// http bearer authentication required
|
|
8986
|
+
_a.sent();
|
|
8987
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8988
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8989
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8990
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8991
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(projectIntegrationIAMMemberRoleUpdate, localVarRequestOptions, configuration);
|
|
8992
|
+
return [2 /*return*/, {
|
|
8993
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8994
|
+
options: localVarRequestOptions,
|
|
8995
|
+
}];
|
|
8996
|
+
}
|
|
8997
|
+
});
|
|
8998
|
+
});
|
|
8999
|
+
},
|
|
9000
|
+
};
|
|
9001
|
+
};
|
|
9002
|
+
exports.IntegrationsApiAxiosParamCreator = IntegrationsApiAxiosParamCreator;
|
|
9003
|
+
/**
|
|
9004
|
+
* IntegrationsApi - functional programming interface
|
|
9005
|
+
* @export
|
|
9006
|
+
*/
|
|
9007
|
+
var IntegrationsApiFp = function (configuration) {
|
|
9008
|
+
var localVarAxiosParamCreator = (0, exports.IntegrationsApiAxiosParamCreator)(configuration);
|
|
9009
|
+
return {
|
|
9010
|
+
/**
|
|
9011
|
+
* Start the OAuth flow for a platform integration.
|
|
9012
|
+
* @summary Authorize Integration
|
|
9013
|
+
* @param {string} integrationId
|
|
9014
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
9015
|
+
* @param {string} projectId The unique identifier of the project.
|
|
9016
|
+
* @param {string} [redirectTo] Optional console URL to redirect back to after OAuth completes.
|
|
9017
|
+
* @param {*} [options] Override http request option.
|
|
9018
|
+
* @throws {RequiredError}
|
|
9019
|
+
*/
|
|
9020
|
+
authorizeIntegration: function (integrationId, orgId, projectId, redirectTo, options) {
|
|
9021
|
+
var _a, _b, _c;
|
|
9022
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9023
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
9024
|
+
return __generator(this, function (_d) {
|
|
9025
|
+
switch (_d.label) {
|
|
9026
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.authorizeIntegration(integrationId, orgId, projectId, redirectTo, options)];
|
|
9027
|
+
case 1:
|
|
9028
|
+
localVarAxiosArgs = _d.sent();
|
|
9029
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9030
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.authorizeIntegration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9031
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
9032
|
+
}
|
|
9033
|
+
});
|
|
9034
|
+
});
|
|
9035
|
+
},
|
|
9036
|
+
/**
|
|
9037
|
+
* Handle the OAuth callback for a platform integration.
|
|
9038
|
+
* @summary Integration OAuth Callback
|
|
9039
|
+
* @param {string} code
|
|
9040
|
+
* @param {string} state
|
|
9041
|
+
* @param {*} [options] Override http request option.
|
|
9042
|
+
* @throws {RequiredError}
|
|
9043
|
+
*/
|
|
9044
|
+
callbackIntegration: function (code, state, options) {
|
|
9045
|
+
var _a, _b, _c;
|
|
9046
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9047
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
9048
|
+
return __generator(this, function (_d) {
|
|
9049
|
+
switch (_d.label) {
|
|
9050
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.callbackIntegration(code, state, options)];
|
|
9051
|
+
case 1:
|
|
9052
|
+
localVarAxiosArgs = _d.sent();
|
|
9053
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9054
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.callbackIntegration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9055
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
9056
|
+
}
|
|
9057
|
+
});
|
|
9058
|
+
});
|
|
9059
|
+
},
|
|
9060
|
+
/**
|
|
9061
|
+
* Create a new platform integration for the project and persist its discovered tools.
|
|
9062
|
+
* @summary Create Integration
|
|
9063
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
9064
|
+
* @param {string} projectId The unique identifier of the project.
|
|
9065
|
+
* @param {ProjectIntegrationCreate} projectIntegrationCreate
|
|
9066
|
+
* @param {*} [options] Override http request option.
|
|
9067
|
+
* @throws {RequiredError}
|
|
9068
|
+
*/
|
|
9069
|
+
createIntegration: function (orgId, projectId, projectIntegrationCreate, options) {
|
|
9070
|
+
var _a, _b, _c;
|
|
9071
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9072
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
9073
|
+
return __generator(this, function (_d) {
|
|
9074
|
+
switch (_d.label) {
|
|
9075
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createIntegration(orgId, projectId, projectIntegrationCreate, options)];
|
|
9076
|
+
case 1:
|
|
9077
|
+
localVarAxiosArgs = _d.sent();
|
|
9078
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9079
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.createIntegration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9080
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
9081
|
+
}
|
|
9082
|
+
});
|
|
9083
|
+
});
|
|
9084
|
+
},
|
|
9085
|
+
/**
|
|
9086
|
+
* Delete a platform integration and its persisted auth/tool metadata.
|
|
9087
|
+
* @summary Delete Integration
|
|
9088
|
+
* @param {string} integrationId
|
|
9089
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
9090
|
+
* @param {string} projectId The unique identifier of the project.
|
|
9091
|
+
* @param {*} [options] Override http request option.
|
|
9092
|
+
* @throws {RequiredError}
|
|
9093
|
+
*/
|
|
9094
|
+
deleteIntegration: function (integrationId, orgId, projectId, options) {
|
|
9095
|
+
var _a, _b, _c;
|
|
9096
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9097
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
9098
|
+
return __generator(this, function (_d) {
|
|
9099
|
+
switch (_d.label) {
|
|
9100
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteIntegration(integrationId, orgId, projectId, options)];
|
|
9101
|
+
case 1:
|
|
9102
|
+
localVarAxiosArgs = _d.sent();
|
|
9103
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9104
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.deleteIntegration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9105
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
9106
|
+
}
|
|
9107
|
+
});
|
|
9108
|
+
});
|
|
9109
|
+
},
|
|
9110
|
+
/**
|
|
9111
|
+
* Disconnect the active auth principal for this integration.
|
|
9112
|
+
* @summary Disconnect Integration
|
|
8825
9113
|
* @param {string} integrationId
|
|
8826
9114
|
* @param {string} orgId The unique identifier of the organization.
|
|
8827
9115
|
* @param {string} projectId The unique identifier of the project.
|
|
@@ -8942,6 +9230,111 @@ var IntegrationsApiFp = function (configuration) {
|
|
|
8942
9230
|
});
|
|
8943
9231
|
});
|
|
8944
9232
|
},
|
|
9233
|
+
/**
|
|
9234
|
+
* Retrieve a specific member that has been granted direct access to the project_integration.
|
|
9235
|
+
* @summary IAM - Lookup Project Integration Member
|
|
9236
|
+
* @param {string} integrationId
|
|
9237
|
+
* @param {string} member
|
|
9238
|
+
* @param {string} orgId The org id
|
|
9239
|
+
* @param {string} projectId The project id
|
|
9240
|
+
* @param {*} [options] Override http request option.
|
|
9241
|
+
* @throws {RequiredError}
|
|
9242
|
+
*/
|
|
9243
|
+
projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamGetMember: function (integrationId, member, orgId, projectId, options) {
|
|
9244
|
+
var _a, _b, _c;
|
|
9245
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9246
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
9247
|
+
return __generator(this, function (_d) {
|
|
9248
|
+
switch (_d.label) {
|
|
9249
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamGetMember(integrationId, member, orgId, projectId, options)];
|
|
9250
|
+
case 1:
|
|
9251
|
+
localVarAxiosArgs = _d.sent();
|
|
9252
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9253
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamGetMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9254
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
9255
|
+
}
|
|
9256
|
+
});
|
|
9257
|
+
});
|
|
9258
|
+
},
|
|
9259
|
+
/**
|
|
9260
|
+
* Lists all members that have been granted direct access to the project_integration.
|
|
9261
|
+
* @summary IAM - List Project Integration Members
|
|
9262
|
+
* @param {string} integrationId
|
|
9263
|
+
* @param {string} orgId The org id
|
|
9264
|
+
* @param {string} projectId The project id
|
|
9265
|
+
* @param {ProjectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamListMembersTypeEnum} [type]
|
|
9266
|
+
* @param {*} [options] Override http request option.
|
|
9267
|
+
* @throws {RequiredError}
|
|
9268
|
+
*/
|
|
9269
|
+
projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamListMembers: function (integrationId, orgId, projectId, type, options) {
|
|
9270
|
+
var _a, _b, _c;
|
|
9271
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9272
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
9273
|
+
return __generator(this, function (_d) {
|
|
9274
|
+
switch (_d.label) {
|
|
9275
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamListMembers(integrationId, orgId, projectId, type, options)];
|
|
9276
|
+
case 1:
|
|
9277
|
+
localVarAxiosArgs = _d.sent();
|
|
9278
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9279
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamListMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9280
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
9281
|
+
}
|
|
9282
|
+
});
|
|
9283
|
+
});
|
|
9284
|
+
},
|
|
9285
|
+
/**
|
|
9286
|
+
* Test the permissions that the caller (or another subject) holds on the project_integration.
|
|
9287
|
+
* @summary IAM - Test Project Integration Permissions
|
|
9288
|
+
* @param {string} integrationId
|
|
9289
|
+
* @param {string} orgId The org id
|
|
9290
|
+
* @param {string} projectId The project id
|
|
9291
|
+
* @param {ProjectIntegrationIAMPermissionTest} projectIntegrationIAMPermissionTest
|
|
9292
|
+
* @param {*} [options] Override http request option.
|
|
9293
|
+
* @throws {RequiredError}
|
|
9294
|
+
*/
|
|
9295
|
+
projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamTestPermissions: function (integrationId, orgId, projectId, projectIntegrationIAMPermissionTest, options) {
|
|
9296
|
+
var _a, _b, _c;
|
|
9297
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9298
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
9299
|
+
return __generator(this, function (_d) {
|
|
9300
|
+
switch (_d.label) {
|
|
9301
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamTestPermissions(integrationId, orgId, projectId, projectIntegrationIAMPermissionTest, options)];
|
|
9302
|
+
case 1:
|
|
9303
|
+
localVarAxiosArgs = _d.sent();
|
|
9304
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9305
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamTestPermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9306
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
9307
|
+
}
|
|
9308
|
+
});
|
|
9309
|
+
});
|
|
9310
|
+
},
|
|
9311
|
+
/**
|
|
9312
|
+
* Update the roles that a member holds on the project_integration.
|
|
9313
|
+
* @summary IAM - Update Project Integration Member
|
|
9314
|
+
* @param {string} integrationId
|
|
9315
|
+
* @param {string} member
|
|
9316
|
+
* @param {string} orgId The org id
|
|
9317
|
+
* @param {string} projectId The project id
|
|
9318
|
+
* @param {ProjectIntegrationIAMMemberRoleUpdate} projectIntegrationIAMMemberRoleUpdate
|
|
9319
|
+
* @param {*} [options] Override http request option.
|
|
9320
|
+
* @throws {RequiredError}
|
|
9321
|
+
*/
|
|
9322
|
+
projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamUpdateMemberRoles: function (integrationId, member, orgId, projectId, projectIntegrationIAMMemberRoleUpdate, options) {
|
|
9323
|
+
var _a, _b, _c;
|
|
9324
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9325
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
9326
|
+
return __generator(this, function (_d) {
|
|
9327
|
+
switch (_d.label) {
|
|
9328
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamUpdateMemberRoles(integrationId, member, orgId, projectId, projectIntegrationIAMMemberRoleUpdate, options)];
|
|
9329
|
+
case 1:
|
|
9330
|
+
localVarAxiosArgs = _d.sent();
|
|
9331
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9332
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamUpdateMemberRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9333
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
9334
|
+
}
|
|
9335
|
+
});
|
|
9336
|
+
});
|
|
9337
|
+
},
|
|
8945
9338
|
};
|
|
8946
9339
|
};
|
|
8947
9340
|
exports.IntegrationsApiFp = IntegrationsApiFp;
|
|
@@ -9058,6 +9451,59 @@ var IntegrationsApiFactory = function (configuration, basePath, axios) {
|
|
|
9058
9451
|
listIntegrations: function (orgId, projectId, options) {
|
|
9059
9452
|
return localVarFp.listIntegrations(orgId, projectId, options).then(function (request) { return request(axios, basePath); });
|
|
9060
9453
|
},
|
|
9454
|
+
/**
|
|
9455
|
+
* Retrieve a specific member that has been granted direct access to the project_integration.
|
|
9456
|
+
* @summary IAM - Lookup Project Integration Member
|
|
9457
|
+
* @param {string} integrationId
|
|
9458
|
+
* @param {string} member
|
|
9459
|
+
* @param {string} orgId The org id
|
|
9460
|
+
* @param {string} projectId The project id
|
|
9461
|
+
* @param {*} [options] Override http request option.
|
|
9462
|
+
* @throws {RequiredError}
|
|
9463
|
+
*/
|
|
9464
|
+
projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamGetMember: function (integrationId, member, orgId, projectId, options) {
|
|
9465
|
+
return localVarFp.projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamGetMember(integrationId, member, orgId, projectId, options).then(function (request) { return request(axios, basePath); });
|
|
9466
|
+
},
|
|
9467
|
+
/**
|
|
9468
|
+
* Lists all members that have been granted direct access to the project_integration.
|
|
9469
|
+
* @summary IAM - List Project Integration Members
|
|
9470
|
+
* @param {string} integrationId
|
|
9471
|
+
* @param {string} orgId The org id
|
|
9472
|
+
* @param {string} projectId The project id
|
|
9473
|
+
* @param {ProjectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamListMembersTypeEnum} [type]
|
|
9474
|
+
* @param {*} [options] Override http request option.
|
|
9475
|
+
* @throws {RequiredError}
|
|
9476
|
+
*/
|
|
9477
|
+
projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamListMembers: function (integrationId, orgId, projectId, type, options) {
|
|
9478
|
+
return localVarFp.projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamListMembers(integrationId, orgId, projectId, type, options).then(function (request) { return request(axios, basePath); });
|
|
9479
|
+
},
|
|
9480
|
+
/**
|
|
9481
|
+
* Test the permissions that the caller (or another subject) holds on the project_integration.
|
|
9482
|
+
* @summary IAM - Test Project Integration Permissions
|
|
9483
|
+
* @param {string} integrationId
|
|
9484
|
+
* @param {string} orgId The org id
|
|
9485
|
+
* @param {string} projectId The project id
|
|
9486
|
+
* @param {ProjectIntegrationIAMPermissionTest} projectIntegrationIAMPermissionTest
|
|
9487
|
+
* @param {*} [options] Override http request option.
|
|
9488
|
+
* @throws {RequiredError}
|
|
9489
|
+
*/
|
|
9490
|
+
projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamTestPermissions: function (integrationId, orgId, projectId, projectIntegrationIAMPermissionTest, options) {
|
|
9491
|
+
return localVarFp.projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamTestPermissions(integrationId, orgId, projectId, projectIntegrationIAMPermissionTest, options).then(function (request) { return request(axios, basePath); });
|
|
9492
|
+
},
|
|
9493
|
+
/**
|
|
9494
|
+
* Update the roles that a member holds on the project_integration.
|
|
9495
|
+
* @summary IAM - Update Project Integration Member
|
|
9496
|
+
* @param {string} integrationId
|
|
9497
|
+
* @param {string} member
|
|
9498
|
+
* @param {string} orgId The org id
|
|
9499
|
+
* @param {string} projectId The project id
|
|
9500
|
+
* @param {ProjectIntegrationIAMMemberRoleUpdate} projectIntegrationIAMMemberRoleUpdate
|
|
9501
|
+
* @param {*} [options] Override http request option.
|
|
9502
|
+
* @throws {RequiredError}
|
|
9503
|
+
*/
|
|
9504
|
+
projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamUpdateMemberRoles: function (integrationId, member, orgId, projectId, projectIntegrationIAMMemberRoleUpdate, options) {
|
|
9505
|
+
return localVarFp.projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamUpdateMemberRoles(integrationId, member, orgId, projectId, projectIntegrationIAMMemberRoleUpdate, options).then(function (request) { return request(axios, basePath); });
|
|
9506
|
+
},
|
|
9061
9507
|
};
|
|
9062
9508
|
};
|
|
9063
9509
|
exports.IntegrationsApiFactory = IntegrationsApiFactory;
|
|
@@ -9196,9 +9642,78 @@ var IntegrationsApi = /** @class */ (function (_super) {
|
|
|
9196
9642
|
var _this = this;
|
|
9197
9643
|
return (0, exports.IntegrationsApiFp)(this.configuration).listIntegrations(orgId, projectId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9198
9644
|
};
|
|
9645
|
+
/**
|
|
9646
|
+
* Retrieve a specific member that has been granted direct access to the project_integration.
|
|
9647
|
+
* @summary IAM - Lookup Project Integration Member
|
|
9648
|
+
* @param {string} integrationId
|
|
9649
|
+
* @param {string} member
|
|
9650
|
+
* @param {string} orgId The org id
|
|
9651
|
+
* @param {string} projectId The project id
|
|
9652
|
+
* @param {*} [options] Override http request option.
|
|
9653
|
+
* @throws {RequiredError}
|
|
9654
|
+
* @memberof IntegrationsApi
|
|
9655
|
+
*/
|
|
9656
|
+
IntegrationsApi.prototype.projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamGetMember = function (integrationId, member, orgId, projectId, options) {
|
|
9657
|
+
var _this = this;
|
|
9658
|
+
return (0, exports.IntegrationsApiFp)(this.configuration).projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamGetMember(integrationId, member, orgId, projectId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9659
|
+
};
|
|
9660
|
+
/**
|
|
9661
|
+
* Lists all members that have been granted direct access to the project_integration.
|
|
9662
|
+
* @summary IAM - List Project Integration Members
|
|
9663
|
+
* @param {string} integrationId
|
|
9664
|
+
* @param {string} orgId The org id
|
|
9665
|
+
* @param {string} projectId The project id
|
|
9666
|
+
* @param {ProjectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamListMembersTypeEnum} [type]
|
|
9667
|
+
* @param {*} [options] Override http request option.
|
|
9668
|
+
* @throws {RequiredError}
|
|
9669
|
+
* @memberof IntegrationsApi
|
|
9670
|
+
*/
|
|
9671
|
+
IntegrationsApi.prototype.projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamListMembers = function (integrationId, orgId, projectId, type, options) {
|
|
9672
|
+
var _this = this;
|
|
9673
|
+
return (0, exports.IntegrationsApiFp)(this.configuration).projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamListMembers(integrationId, orgId, projectId, type, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9674
|
+
};
|
|
9675
|
+
/**
|
|
9676
|
+
* Test the permissions that the caller (or another subject) holds on the project_integration.
|
|
9677
|
+
* @summary IAM - Test Project Integration Permissions
|
|
9678
|
+
* @param {string} integrationId
|
|
9679
|
+
* @param {string} orgId The org id
|
|
9680
|
+
* @param {string} projectId The project id
|
|
9681
|
+
* @param {ProjectIntegrationIAMPermissionTest} projectIntegrationIAMPermissionTest
|
|
9682
|
+
* @param {*} [options] Override http request option.
|
|
9683
|
+
* @throws {RequiredError}
|
|
9684
|
+
* @memberof IntegrationsApi
|
|
9685
|
+
*/
|
|
9686
|
+
IntegrationsApi.prototype.projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamTestPermissions = function (integrationId, orgId, projectId, projectIntegrationIAMPermissionTest, options) {
|
|
9687
|
+
var _this = this;
|
|
9688
|
+
return (0, exports.IntegrationsApiFp)(this.configuration).projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamTestPermissions(integrationId, orgId, projectId, projectIntegrationIAMPermissionTest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9689
|
+
};
|
|
9690
|
+
/**
|
|
9691
|
+
* Update the roles that a member holds on the project_integration.
|
|
9692
|
+
* @summary IAM - Update Project Integration Member
|
|
9693
|
+
* @param {string} integrationId
|
|
9694
|
+
* @param {string} member
|
|
9695
|
+
* @param {string} orgId The org id
|
|
9696
|
+
* @param {string} projectId The project id
|
|
9697
|
+
* @param {ProjectIntegrationIAMMemberRoleUpdate} projectIntegrationIAMMemberRoleUpdate
|
|
9698
|
+
* @param {*} [options] Override http request option.
|
|
9699
|
+
* @throws {RequiredError}
|
|
9700
|
+
* @memberof IntegrationsApi
|
|
9701
|
+
*/
|
|
9702
|
+
IntegrationsApi.prototype.projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamUpdateMemberRoles = function (integrationId, member, orgId, projectId, projectIntegrationIAMMemberRoleUpdate, options) {
|
|
9703
|
+
var _this = this;
|
|
9704
|
+
return (0, exports.IntegrationsApiFp)(this.configuration).projectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamUpdateMemberRoles(integrationId, member, orgId, projectId, projectIntegrationIAMMemberRoleUpdate, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9705
|
+
};
|
|
9199
9706
|
return IntegrationsApi;
|
|
9200
9707
|
}(base_1.BaseAPI));
|
|
9201
9708
|
exports.IntegrationsApi = IntegrationsApi;
|
|
9709
|
+
/**
|
|
9710
|
+
* @export
|
|
9711
|
+
*/
|
|
9712
|
+
exports.ProjectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamListMembersTypeEnum = {
|
|
9713
|
+
User: 'user',
|
|
9714
|
+
Organization: 'organization',
|
|
9715
|
+
Project: 'project'
|
|
9716
|
+
};
|
|
9202
9717
|
/**
|
|
9203
9718
|
* InternalApi - axios parameter creator
|
|
9204
9719
|
* @export
|
|
@@ -24461,8 +24976,8 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
24461
24976
|
/**
|
|
24462
24977
|
* Create a new Task Agent for the project. Task Agents orchestrate multiple Tasks as task tools using LLM-powered reasoning. Configure: - System instruction (prompt) - LLM model for reasoning - Initial task tools (Tasks to add) - Optional MCP server bindings - Execution mode (agentic/sequential)
|
|
24463
24978
|
* @summary Create Task Agent
|
|
24464
|
-
* @param {string} orgId The
|
|
24465
|
-
* @param {string} projectId The
|
|
24979
|
+
* @param {string} orgId The organization ID
|
|
24980
|
+
* @param {string} projectId The project ID
|
|
24466
24981
|
* @param {TaskAgentCreate} taskAgentCreate
|
|
24467
24982
|
* @param {*} [options] Override http request option.
|
|
24468
24983
|
* @throws {RequiredError}
|
|
@@ -25100,7 +25615,268 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
25100
25615
|
* @param {*} [options] Override http request option.
|
|
25101
25616
|
* @throws {RequiredError}
|
|
25102
25617
|
*/
|
|
25103
|
-
getTaskAgentUsageReport: function (orgId, projectId, taskAgentId, aggregation, status, errorsOnly, options) {
|
|
25618
|
+
getTaskAgentUsageReport: function (orgId, projectId, taskAgentId, aggregation, status, errorsOnly, options) {
|
|
25619
|
+
if (options === void 0) { options = {}; }
|
|
25620
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
25621
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
25622
|
+
return __generator(this, function (_a) {
|
|
25623
|
+
switch (_a.label) {
|
|
25624
|
+
case 0:
|
|
25625
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
25626
|
+
(0, common_1.assertParamExists)('getTaskAgentUsageReport', 'orgId', orgId);
|
|
25627
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
25628
|
+
(0, common_1.assertParamExists)('getTaskAgentUsageReport', 'projectId', projectId);
|
|
25629
|
+
// verify required parameter 'taskAgentId' is not null or undefined
|
|
25630
|
+
(0, common_1.assertParamExists)('getTaskAgentUsageReport', 'taskAgentId', taskAgentId);
|
|
25631
|
+
localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/usage_report"
|
|
25632
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
25633
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
|
|
25634
|
+
.replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)));
|
|
25635
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25636
|
+
if (configuration) {
|
|
25637
|
+
baseOptions = configuration.baseOptions;
|
|
25638
|
+
}
|
|
25639
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
25640
|
+
localVarHeaderParameter = {};
|
|
25641
|
+
localVarQueryParameter = {};
|
|
25642
|
+
// authentication HTTPBearer required
|
|
25643
|
+
// http bearer authentication required
|
|
25644
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
25645
|
+
case 1:
|
|
25646
|
+
// authentication HTTPBearer required
|
|
25647
|
+
// http bearer authentication required
|
|
25648
|
+
_a.sent();
|
|
25649
|
+
if (aggregation !== undefined) {
|
|
25650
|
+
localVarQueryParameter['aggregation'] = aggregation;
|
|
25651
|
+
}
|
|
25652
|
+
if (status !== undefined) {
|
|
25653
|
+
localVarQueryParameter['status'] = status;
|
|
25654
|
+
}
|
|
25655
|
+
if (errorsOnly !== undefined) {
|
|
25656
|
+
localVarQueryParameter['errors_only'] = errorsOnly;
|
|
25657
|
+
}
|
|
25658
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25659
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25660
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25661
|
+
return [2 /*return*/, {
|
|
25662
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25663
|
+
options: localVarRequestOptions,
|
|
25664
|
+
}];
|
|
25665
|
+
}
|
|
25666
|
+
});
|
|
25667
|
+
});
|
|
25668
|
+
},
|
|
25669
|
+
/**
|
|
25670
|
+
* List execution runs for a Task Agent. Returns run history with: - Input message - Token usage - Status and duration - Task tools invoked - MCP tools invoked - Phase timings for LLM and tool execution
|
|
25671
|
+
* @summary List Task Agent Runs
|
|
25672
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
25673
|
+
* @param {string} projectId The unique identifier of the project.
|
|
25674
|
+
* @param {string} taskAgentId The specific Task Agent to reference.
|
|
25675
|
+
* @param {string | null} [sessionId] Filter by session ID
|
|
25676
|
+
* @param {boolean | null} [isError] Filter by run-level error status.
|
|
25677
|
+
* @param {boolean | null} [hadTaskToolFail] Filter by whether any invoked task tool failed.
|
|
25678
|
+
* @param {boolean | null} [hadMcpToolFail] Filter by whether any invoked MCP tool failed.
|
|
25679
|
+
* @param {TaskAgentRunStatus} [status] Filter by run status.
|
|
25680
|
+
* @param {string | null} [createdAfter] Filter runs created at/after this timestamp.
|
|
25681
|
+
* @param {string | null} [createdBefore] Filter runs created at/before this timestamp.
|
|
25682
|
+
* @param {number | null} [minDurationMs] Filter runs with duration greater than or equal to this value.
|
|
25683
|
+
* @param {number} [skip]
|
|
25684
|
+
* @param {number} [limit]
|
|
25685
|
+
* @param {*} [options] Override http request option.
|
|
25686
|
+
* @throws {RequiredError}
|
|
25687
|
+
*/
|
|
25688
|
+
listTaskAgentRuns: function (orgId, projectId, taskAgentId, sessionId, isError, hadTaskToolFail, hadMcpToolFail, status, createdAfter, createdBefore, minDurationMs, skip, limit, options) {
|
|
25689
|
+
if (options === void 0) { options = {}; }
|
|
25690
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
25691
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
25692
|
+
return __generator(this, function (_a) {
|
|
25693
|
+
switch (_a.label) {
|
|
25694
|
+
case 0:
|
|
25695
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
25696
|
+
(0, common_1.assertParamExists)('listTaskAgentRuns', 'orgId', orgId);
|
|
25697
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
25698
|
+
(0, common_1.assertParamExists)('listTaskAgentRuns', 'projectId', projectId);
|
|
25699
|
+
// verify required parameter 'taskAgentId' is not null or undefined
|
|
25700
|
+
(0, common_1.assertParamExists)('listTaskAgentRuns', 'taskAgentId', taskAgentId);
|
|
25701
|
+
localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/run"
|
|
25702
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
25703
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
|
|
25704
|
+
.replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)));
|
|
25705
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25706
|
+
if (configuration) {
|
|
25707
|
+
baseOptions = configuration.baseOptions;
|
|
25708
|
+
}
|
|
25709
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
25710
|
+
localVarHeaderParameter = {};
|
|
25711
|
+
localVarQueryParameter = {};
|
|
25712
|
+
// authentication HTTPBearer required
|
|
25713
|
+
// http bearer authentication required
|
|
25714
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
25715
|
+
case 1:
|
|
25716
|
+
// authentication HTTPBearer required
|
|
25717
|
+
// http bearer authentication required
|
|
25718
|
+
_a.sent();
|
|
25719
|
+
if (sessionId !== undefined) {
|
|
25720
|
+
localVarQueryParameter['session_id'] = sessionId;
|
|
25721
|
+
}
|
|
25722
|
+
if (isError !== undefined) {
|
|
25723
|
+
localVarQueryParameter['is_error'] = isError;
|
|
25724
|
+
}
|
|
25725
|
+
if (hadTaskToolFail !== undefined) {
|
|
25726
|
+
localVarQueryParameter['had_task_tool_fail'] = hadTaskToolFail;
|
|
25727
|
+
}
|
|
25728
|
+
if (hadMcpToolFail !== undefined) {
|
|
25729
|
+
localVarQueryParameter['had_mcp_tool_fail'] = hadMcpToolFail;
|
|
25730
|
+
}
|
|
25731
|
+
if (status !== undefined) {
|
|
25732
|
+
localVarQueryParameter['status'] = status;
|
|
25733
|
+
}
|
|
25734
|
+
if (createdAfter !== undefined) {
|
|
25735
|
+
localVarQueryParameter['created_after'] = (createdAfter instanceof Date) ?
|
|
25736
|
+
createdAfter.toISOString() :
|
|
25737
|
+
createdAfter;
|
|
25738
|
+
}
|
|
25739
|
+
if (createdBefore !== undefined) {
|
|
25740
|
+
localVarQueryParameter['created_before'] = (createdBefore instanceof Date) ?
|
|
25741
|
+
createdBefore.toISOString() :
|
|
25742
|
+
createdBefore;
|
|
25743
|
+
}
|
|
25744
|
+
if (minDurationMs !== undefined) {
|
|
25745
|
+
localVarQueryParameter['min_duration_ms'] = minDurationMs;
|
|
25746
|
+
}
|
|
25747
|
+
if (skip !== undefined) {
|
|
25748
|
+
localVarQueryParameter['skip'] = skip;
|
|
25749
|
+
}
|
|
25750
|
+
if (limit !== undefined) {
|
|
25751
|
+
localVarQueryParameter['limit'] = limit;
|
|
25752
|
+
}
|
|
25753
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25754
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25755
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25756
|
+
return [2 /*return*/, {
|
|
25757
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25758
|
+
options: localVarRequestOptions,
|
|
25759
|
+
}];
|
|
25760
|
+
}
|
|
25761
|
+
});
|
|
25762
|
+
});
|
|
25763
|
+
},
|
|
25764
|
+
/**
|
|
25765
|
+
* List conversation sessions for a Task Agent. Sessions group related runs together for multi-turn conversations.
|
|
25766
|
+
* @summary List Task Agent Sessions
|
|
25767
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
25768
|
+
* @param {string} projectId The unique identifier of the project.
|
|
25769
|
+
* @param {string} taskAgentId The specific Task Agent to reference.
|
|
25770
|
+
* @param {*} [options] Override http request option.
|
|
25771
|
+
* @throws {RequiredError}
|
|
25772
|
+
*/
|
|
25773
|
+
listTaskAgentSessions: function (orgId, projectId, taskAgentId, options) {
|
|
25774
|
+
if (options === void 0) { options = {}; }
|
|
25775
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
25776
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
25777
|
+
return __generator(this, function (_a) {
|
|
25778
|
+
switch (_a.label) {
|
|
25779
|
+
case 0:
|
|
25780
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
25781
|
+
(0, common_1.assertParamExists)('listTaskAgentSessions', 'orgId', orgId);
|
|
25782
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
25783
|
+
(0, common_1.assertParamExists)('listTaskAgentSessions', 'projectId', projectId);
|
|
25784
|
+
// verify required parameter 'taskAgentId' is not null or undefined
|
|
25785
|
+
(0, common_1.assertParamExists)('listTaskAgentSessions', 'taskAgentId', taskAgentId);
|
|
25786
|
+
localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/session"
|
|
25787
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
25788
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
|
|
25789
|
+
.replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)));
|
|
25790
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25791
|
+
if (configuration) {
|
|
25792
|
+
baseOptions = configuration.baseOptions;
|
|
25793
|
+
}
|
|
25794
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
25795
|
+
localVarHeaderParameter = {};
|
|
25796
|
+
localVarQueryParameter = {};
|
|
25797
|
+
// authentication HTTPBearer required
|
|
25798
|
+
// http bearer authentication required
|
|
25799
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
25800
|
+
case 1:
|
|
25801
|
+
// authentication HTTPBearer required
|
|
25802
|
+
// http bearer authentication required
|
|
25803
|
+
_a.sent();
|
|
25804
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25805
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25806
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25807
|
+
return [2 /*return*/, {
|
|
25808
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25809
|
+
options: localVarRequestOptions,
|
|
25810
|
+
}];
|
|
25811
|
+
}
|
|
25812
|
+
});
|
|
25813
|
+
});
|
|
25814
|
+
},
|
|
25815
|
+
/**
|
|
25816
|
+
* List all Task Agents configured for the project. Returns a paginated list of Task Agents with their: - Configuration details - Available task tools (Tasks) - LLM model settings - Execution mode
|
|
25817
|
+
* @summary List Task Agents
|
|
25818
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
25819
|
+
* @param {string} projectId The unique identifier of the project.
|
|
25820
|
+
* @param {string | null} [cursor] Pagination cursor
|
|
25821
|
+
* @param {number} [pageLimit] Max results per page
|
|
25822
|
+
* @param {*} [options] Override http request option.
|
|
25823
|
+
* @throws {RequiredError}
|
|
25824
|
+
*/
|
|
25825
|
+
listTaskAgents: function (orgId, projectId, cursor, pageLimit, options) {
|
|
25826
|
+
if (options === void 0) { options = {}; }
|
|
25827
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
25828
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
25829
|
+
return __generator(this, function (_a) {
|
|
25830
|
+
switch (_a.label) {
|
|
25831
|
+
case 0:
|
|
25832
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
25833
|
+
(0, common_1.assertParamExists)('listTaskAgents', 'orgId', orgId);
|
|
25834
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
25835
|
+
(0, common_1.assertParamExists)('listTaskAgents', 'projectId', projectId);
|
|
25836
|
+
localVarPath = "/org/{org_id}/project/{project_id}/task-agent"
|
|
25837
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
25838
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
25839
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25840
|
+
if (configuration) {
|
|
25841
|
+
baseOptions = configuration.baseOptions;
|
|
25842
|
+
}
|
|
25843
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
25844
|
+
localVarHeaderParameter = {};
|
|
25845
|
+
localVarQueryParameter = {};
|
|
25846
|
+
// authentication HTTPBearer required
|
|
25847
|
+
// http bearer authentication required
|
|
25848
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
25849
|
+
case 1:
|
|
25850
|
+
// authentication HTTPBearer required
|
|
25851
|
+
// http bearer authentication required
|
|
25852
|
+
_a.sent();
|
|
25853
|
+
if (cursor !== undefined) {
|
|
25854
|
+
localVarQueryParameter['cursor'] = cursor;
|
|
25855
|
+
}
|
|
25856
|
+
if (pageLimit !== undefined) {
|
|
25857
|
+
localVarQueryParameter['page_limit'] = pageLimit;
|
|
25858
|
+
}
|
|
25859
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25860
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25861
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25862
|
+
return [2 /*return*/, {
|
|
25863
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25864
|
+
options: localVarRequestOptions,
|
|
25865
|
+
}];
|
|
25866
|
+
}
|
|
25867
|
+
});
|
|
25868
|
+
});
|
|
25869
|
+
},
|
|
25870
|
+
/**
|
|
25871
|
+
* Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE).
|
|
25872
|
+
* @summary Run Task Agent
|
|
25873
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
25874
|
+
* @param {string} projectId The unique identifier of the project.
|
|
25875
|
+
* @param {string} taskAgentId The specific Task Agent to reference.
|
|
25876
|
+
* @param {*} [options] Override http request option.
|
|
25877
|
+
* @throws {RequiredError}
|
|
25878
|
+
*/
|
|
25879
|
+
runTaskAgent: function (orgId, projectId, taskAgentId, options) {
|
|
25104
25880
|
if (options === void 0) { options = {}; }
|
|
25105
25881
|
return __awaiter(_this, void 0, void 0, function () {
|
|
25106
25882
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -25108,12 +25884,12 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
25108
25884
|
switch (_a.label) {
|
|
25109
25885
|
case 0:
|
|
25110
25886
|
// verify required parameter 'orgId' is not null or undefined
|
|
25111
|
-
(0, common_1.assertParamExists)('
|
|
25887
|
+
(0, common_1.assertParamExists)('runTaskAgent', 'orgId', orgId);
|
|
25112
25888
|
// verify required parameter 'projectId' is not null or undefined
|
|
25113
|
-
(0, common_1.assertParamExists)('
|
|
25889
|
+
(0, common_1.assertParamExists)('runTaskAgent', 'projectId', projectId);
|
|
25114
25890
|
// verify required parameter 'taskAgentId' is not null or undefined
|
|
25115
|
-
(0, common_1.assertParamExists)('
|
|
25116
|
-
localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/
|
|
25891
|
+
(0, common_1.assertParamExists)('runTaskAgent', 'taskAgentId', taskAgentId);
|
|
25892
|
+
localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/run"
|
|
25117
25893
|
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
25118
25894
|
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
|
|
25119
25895
|
.replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)));
|
|
@@ -25121,7 +25897,7 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
25121
25897
|
if (configuration) {
|
|
25122
25898
|
baseOptions = configuration.baseOptions;
|
|
25123
25899
|
}
|
|
25124
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
25900
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
25125
25901
|
localVarHeaderParameter = {};
|
|
25126
25902
|
localVarQueryParameter = {};
|
|
25127
25903
|
// authentication HTTPBearer required
|
|
@@ -25131,15 +25907,6 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
25131
25907
|
// authentication HTTPBearer required
|
|
25132
25908
|
// http bearer authentication required
|
|
25133
25909
|
_a.sent();
|
|
25134
|
-
if (aggregation !== undefined) {
|
|
25135
|
-
localVarQueryParameter['aggregation'] = aggregation;
|
|
25136
|
-
}
|
|
25137
|
-
if (status !== undefined) {
|
|
25138
|
-
localVarQueryParameter['status'] = status;
|
|
25139
|
-
}
|
|
25140
|
-
if (errorsOnly !== undefined) {
|
|
25141
|
-
localVarQueryParameter['errors_only'] = errorsOnly;
|
|
25142
|
-
}
|
|
25143
25910
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25144
25911
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25145
25912
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -25152,41 +25919,35 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
25152
25919
|
});
|
|
25153
25920
|
},
|
|
25154
25921
|
/**
|
|
25155
|
-
*
|
|
25156
|
-
* @summary
|
|
25157
|
-
* @param {string}
|
|
25158
|
-
* @param {string}
|
|
25159
|
-
* @param {string}
|
|
25160
|
-
* @param {string
|
|
25161
|
-
* @param {boolean | null} [isError] Filter by run-level error status.
|
|
25162
|
-
* @param {boolean | null} [hadTaskToolFail] Filter by whether any invoked task tool failed.
|
|
25163
|
-
* @param {boolean | null} [hadMcpToolFail] Filter by whether any invoked MCP tool failed.
|
|
25164
|
-
* @param {TaskAgentRunStatus} [status] Filter by run status.
|
|
25165
|
-
* @param {string | null} [createdAfter] Filter runs created at/after this timestamp.
|
|
25166
|
-
* @param {string | null} [createdBefore] Filter runs created at/before this timestamp.
|
|
25167
|
-
* @param {number | null} [minDurationMs] Filter runs with duration greater than or equal to this value.
|
|
25168
|
-
* @param {number} [skip]
|
|
25169
|
-
* @param {number} [limit]
|
|
25922
|
+
* Retrieve a specific member that has been granted direct access to the task_agent.
|
|
25923
|
+
* @summary IAM - Lookup Task Agent Member
|
|
25924
|
+
* @param {string} taskAgentId
|
|
25925
|
+
* @param {string} member
|
|
25926
|
+
* @param {string} orgId The org id
|
|
25927
|
+
* @param {string} projectId The project id
|
|
25170
25928
|
* @param {*} [options] Override http request option.
|
|
25171
25929
|
* @throws {RequiredError}
|
|
25172
25930
|
*/
|
|
25173
|
-
|
|
25931
|
+
taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamGetMember: function (taskAgentId, member, orgId, projectId, options) {
|
|
25174
25932
|
if (options === void 0) { options = {}; }
|
|
25175
25933
|
return __awaiter(_this, void 0, void 0, function () {
|
|
25176
25934
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
25177
25935
|
return __generator(this, function (_a) {
|
|
25178
25936
|
switch (_a.label) {
|
|
25179
25937
|
case 0:
|
|
25938
|
+
// verify required parameter 'taskAgentId' is not null or undefined
|
|
25939
|
+
(0, common_1.assertParamExists)('taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamGetMember', 'taskAgentId', taskAgentId);
|
|
25940
|
+
// verify required parameter 'member' is not null or undefined
|
|
25941
|
+
(0, common_1.assertParamExists)('taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamGetMember', 'member', member);
|
|
25180
25942
|
// verify required parameter 'orgId' is not null or undefined
|
|
25181
|
-
(0, common_1.assertParamExists)('
|
|
25943
|
+
(0, common_1.assertParamExists)('taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamGetMember', 'orgId', orgId);
|
|
25182
25944
|
// verify required parameter 'projectId' is not null or undefined
|
|
25183
|
-
(0, common_1.assertParamExists)('
|
|
25184
|
-
|
|
25185
|
-
|
|
25186
|
-
|
|
25945
|
+
(0, common_1.assertParamExists)('taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamGetMember', 'projectId', projectId);
|
|
25946
|
+
localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/iam/members/{member}"
|
|
25947
|
+
.replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)))
|
|
25948
|
+
.replace("{".concat("member", "}"), encodeURIComponent(String(member)))
|
|
25187
25949
|
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
25188
|
-
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
|
|
25189
|
-
.replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)));
|
|
25950
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
25190
25951
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25191
25952
|
if (configuration) {
|
|
25192
25953
|
baseOptions = configuration.baseOptions;
|
|
@@ -25201,40 +25962,6 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
25201
25962
|
// authentication HTTPBearer required
|
|
25202
25963
|
// http bearer authentication required
|
|
25203
25964
|
_a.sent();
|
|
25204
|
-
if (sessionId !== undefined) {
|
|
25205
|
-
localVarQueryParameter['session_id'] = sessionId;
|
|
25206
|
-
}
|
|
25207
|
-
if (isError !== undefined) {
|
|
25208
|
-
localVarQueryParameter['is_error'] = isError;
|
|
25209
|
-
}
|
|
25210
|
-
if (hadTaskToolFail !== undefined) {
|
|
25211
|
-
localVarQueryParameter['had_task_tool_fail'] = hadTaskToolFail;
|
|
25212
|
-
}
|
|
25213
|
-
if (hadMcpToolFail !== undefined) {
|
|
25214
|
-
localVarQueryParameter['had_mcp_tool_fail'] = hadMcpToolFail;
|
|
25215
|
-
}
|
|
25216
|
-
if (status !== undefined) {
|
|
25217
|
-
localVarQueryParameter['status'] = status;
|
|
25218
|
-
}
|
|
25219
|
-
if (createdAfter !== undefined) {
|
|
25220
|
-
localVarQueryParameter['created_after'] = (createdAfter instanceof Date) ?
|
|
25221
|
-
createdAfter.toISOString() :
|
|
25222
|
-
createdAfter;
|
|
25223
|
-
}
|
|
25224
|
-
if (createdBefore !== undefined) {
|
|
25225
|
-
localVarQueryParameter['created_before'] = (createdBefore instanceof Date) ?
|
|
25226
|
-
createdBefore.toISOString() :
|
|
25227
|
-
createdBefore;
|
|
25228
|
-
}
|
|
25229
|
-
if (minDurationMs !== undefined) {
|
|
25230
|
-
localVarQueryParameter['min_duration_ms'] = minDurationMs;
|
|
25231
|
-
}
|
|
25232
|
-
if (skip !== undefined) {
|
|
25233
|
-
localVarQueryParameter['skip'] = skip;
|
|
25234
|
-
}
|
|
25235
|
-
if (limit !== undefined) {
|
|
25236
|
-
localVarQueryParameter['limit'] = limit;
|
|
25237
|
-
}
|
|
25238
25965
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25239
25966
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25240
25967
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -25247,31 +25974,32 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
25247
25974
|
});
|
|
25248
25975
|
},
|
|
25249
25976
|
/**
|
|
25250
|
-
*
|
|
25251
|
-
* @summary List Task Agent
|
|
25252
|
-
* @param {string}
|
|
25253
|
-
* @param {string}
|
|
25254
|
-
* @param {string}
|
|
25977
|
+
* Lists all members that have been granted direct access to the task_agent.
|
|
25978
|
+
* @summary IAM - List Task Agent Members
|
|
25979
|
+
* @param {string} taskAgentId
|
|
25980
|
+
* @param {string} orgId The org id
|
|
25981
|
+
* @param {string} projectId The project id
|
|
25982
|
+
* @param {TaskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembersTypeEnum} [type]
|
|
25255
25983
|
* @param {*} [options] Override http request option.
|
|
25256
25984
|
* @throws {RequiredError}
|
|
25257
25985
|
*/
|
|
25258
|
-
|
|
25986
|
+
taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembers: function (taskAgentId, orgId, projectId, type, options) {
|
|
25259
25987
|
if (options === void 0) { options = {}; }
|
|
25260
25988
|
return __awaiter(_this, void 0, void 0, function () {
|
|
25261
25989
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
25262
25990
|
return __generator(this, function (_a) {
|
|
25263
25991
|
switch (_a.label) {
|
|
25264
25992
|
case 0:
|
|
25993
|
+
// verify required parameter 'taskAgentId' is not null or undefined
|
|
25994
|
+
(0, common_1.assertParamExists)('taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembers', 'taskAgentId', taskAgentId);
|
|
25265
25995
|
// verify required parameter 'orgId' is not null or undefined
|
|
25266
|
-
(0, common_1.assertParamExists)('
|
|
25996
|
+
(0, common_1.assertParamExists)('taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembers', 'orgId', orgId);
|
|
25267
25997
|
// verify required parameter 'projectId' is not null or undefined
|
|
25268
|
-
(0, common_1.assertParamExists)('
|
|
25269
|
-
|
|
25270
|
-
|
|
25271
|
-
localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/session"
|
|
25998
|
+
(0, common_1.assertParamExists)('taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembers', 'projectId', projectId);
|
|
25999
|
+
localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/iam/members"
|
|
26000
|
+
.replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)))
|
|
25272
26001
|
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
25273
|
-
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
|
|
25274
|
-
.replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)));
|
|
26002
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
25275
26003
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25276
26004
|
if (configuration) {
|
|
25277
26005
|
baseOptions = configuration.baseOptions;
|
|
@@ -25286,6 +26014,9 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
25286
26014
|
// authentication HTTPBearer required
|
|
25287
26015
|
// http bearer authentication required
|
|
25288
26016
|
_a.sent();
|
|
26017
|
+
if (type !== undefined) {
|
|
26018
|
+
localVarQueryParameter['type'] = type;
|
|
26019
|
+
}
|
|
25289
26020
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25290
26021
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25291
26022
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -25298,34 +26029,39 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
25298
26029
|
});
|
|
25299
26030
|
},
|
|
25300
26031
|
/**
|
|
25301
|
-
*
|
|
25302
|
-
* @summary
|
|
25303
|
-
* @param {string}
|
|
25304
|
-
* @param {string}
|
|
25305
|
-
* @param {string
|
|
25306
|
-
* @param {
|
|
26032
|
+
* Test the permissions that the caller (or another subject) holds on the task_agent.
|
|
26033
|
+
* @summary IAM - Test Task Agent Permissions
|
|
26034
|
+
* @param {string} taskAgentId
|
|
26035
|
+
* @param {string} orgId The org id
|
|
26036
|
+
* @param {string} projectId The project id
|
|
26037
|
+
* @param {TaskAgentIAMPermissionTest} taskAgentIAMPermissionTest
|
|
25307
26038
|
* @param {*} [options] Override http request option.
|
|
25308
26039
|
* @throws {RequiredError}
|
|
25309
26040
|
*/
|
|
25310
|
-
|
|
26041
|
+
taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamTestPermissions: function (taskAgentId, orgId, projectId, taskAgentIAMPermissionTest, options) {
|
|
25311
26042
|
if (options === void 0) { options = {}; }
|
|
25312
26043
|
return __awaiter(_this, void 0, void 0, function () {
|
|
25313
26044
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
25314
26045
|
return __generator(this, function (_a) {
|
|
25315
26046
|
switch (_a.label) {
|
|
25316
26047
|
case 0:
|
|
26048
|
+
// verify required parameter 'taskAgentId' is not null or undefined
|
|
26049
|
+
(0, common_1.assertParamExists)('taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamTestPermissions', 'taskAgentId', taskAgentId);
|
|
25317
26050
|
// verify required parameter 'orgId' is not null or undefined
|
|
25318
|
-
(0, common_1.assertParamExists)('
|
|
26051
|
+
(0, common_1.assertParamExists)('taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamTestPermissions', 'orgId', orgId);
|
|
25319
26052
|
// verify required parameter 'projectId' is not null or undefined
|
|
25320
|
-
(0, common_1.assertParamExists)('
|
|
25321
|
-
|
|
26053
|
+
(0, common_1.assertParamExists)('taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamTestPermissions', 'projectId', projectId);
|
|
26054
|
+
// verify required parameter 'taskAgentIAMPermissionTest' is not null or undefined
|
|
26055
|
+
(0, common_1.assertParamExists)('taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamTestPermissions', 'taskAgentIAMPermissionTest', taskAgentIAMPermissionTest);
|
|
26056
|
+
localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/iam/test"
|
|
26057
|
+
.replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)))
|
|
25322
26058
|
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
25323
26059
|
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
25324
26060
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25325
26061
|
if (configuration) {
|
|
25326
26062
|
baseOptions = configuration.baseOptions;
|
|
25327
26063
|
}
|
|
25328
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
26064
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
25329
26065
|
localVarHeaderParameter = {};
|
|
25330
26066
|
localVarQueryParameter = {};
|
|
25331
26067
|
// authentication HTTPBearer required
|
|
@@ -25335,15 +26071,11 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
25335
26071
|
// authentication HTTPBearer required
|
|
25336
26072
|
// http bearer authentication required
|
|
25337
26073
|
_a.sent();
|
|
25338
|
-
|
|
25339
|
-
localVarQueryParameter['cursor'] = cursor;
|
|
25340
|
-
}
|
|
25341
|
-
if (pageLimit !== undefined) {
|
|
25342
|
-
localVarQueryParameter['page_limit'] = pageLimit;
|
|
25343
|
-
}
|
|
26074
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25344
26075
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25345
26076
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25346
26077
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26078
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(taskAgentIAMPermissionTest, localVarRequestOptions, configuration);
|
|
25347
26079
|
return [2 /*return*/, {
|
|
25348
26080
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25349
26081
|
options: localVarRequestOptions,
|
|
@@ -25353,31 +26085,38 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
25353
26085
|
});
|
|
25354
26086
|
},
|
|
25355
26087
|
/**
|
|
25356
|
-
*
|
|
25357
|
-
* @summary
|
|
25358
|
-
* @param {string}
|
|
25359
|
-
* @param {string}
|
|
25360
|
-
* @param {string}
|
|
26088
|
+
* Update the roles that a member holds on the task_agent.
|
|
26089
|
+
* @summary IAM - Update Task Agent Member
|
|
26090
|
+
* @param {string} taskAgentId
|
|
26091
|
+
* @param {string} member
|
|
26092
|
+
* @param {string} orgId The org id
|
|
26093
|
+
* @param {string} projectId The project id
|
|
26094
|
+
* @param {TaskAgentIAMMemberRoleUpdate} taskAgentIAMMemberRoleUpdate
|
|
25361
26095
|
* @param {*} [options] Override http request option.
|
|
25362
26096
|
* @throws {RequiredError}
|
|
25363
26097
|
*/
|
|
25364
|
-
|
|
26098
|
+
taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamUpdateMemberRoles: function (taskAgentId, member, orgId, projectId, taskAgentIAMMemberRoleUpdate, options) {
|
|
25365
26099
|
if (options === void 0) { options = {}; }
|
|
25366
26100
|
return __awaiter(_this, void 0, void 0, function () {
|
|
25367
26101
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
25368
26102
|
return __generator(this, function (_a) {
|
|
25369
26103
|
switch (_a.label) {
|
|
25370
26104
|
case 0:
|
|
26105
|
+
// verify required parameter 'taskAgentId' is not null or undefined
|
|
26106
|
+
(0, common_1.assertParamExists)('taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamUpdateMemberRoles', 'taskAgentId', taskAgentId);
|
|
26107
|
+
// verify required parameter 'member' is not null or undefined
|
|
26108
|
+
(0, common_1.assertParamExists)('taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamUpdateMemberRoles', 'member', member);
|
|
25371
26109
|
// verify required parameter 'orgId' is not null or undefined
|
|
25372
|
-
(0, common_1.assertParamExists)('
|
|
26110
|
+
(0, common_1.assertParamExists)('taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamUpdateMemberRoles', 'orgId', orgId);
|
|
25373
26111
|
// verify required parameter 'projectId' is not null or undefined
|
|
25374
|
-
(0, common_1.assertParamExists)('
|
|
25375
|
-
// verify required parameter '
|
|
25376
|
-
(0, common_1.assertParamExists)('
|
|
25377
|
-
localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/
|
|
26112
|
+
(0, common_1.assertParamExists)('taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamUpdateMemberRoles', 'projectId', projectId);
|
|
26113
|
+
// verify required parameter 'taskAgentIAMMemberRoleUpdate' is not null or undefined
|
|
26114
|
+
(0, common_1.assertParamExists)('taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamUpdateMemberRoles', 'taskAgentIAMMemberRoleUpdate', taskAgentIAMMemberRoleUpdate);
|
|
26115
|
+
localVarPath = "/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/iam/members/{member}"
|
|
26116
|
+
.replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)))
|
|
26117
|
+
.replace("{".concat("member", "}"), encodeURIComponent(String(member)))
|
|
25378
26118
|
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
25379
|
-
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)))
|
|
25380
|
-
.replace("{".concat("task_agent_id", "}"), encodeURIComponent(String(taskAgentId)));
|
|
26119
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
25381
26120
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25382
26121
|
if (configuration) {
|
|
25383
26122
|
baseOptions = configuration.baseOptions;
|
|
@@ -25392,9 +26131,11 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
25392
26131
|
// authentication HTTPBearer required
|
|
25393
26132
|
// http bearer authentication required
|
|
25394
26133
|
_a.sent();
|
|
26134
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25395
26135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25396
26136
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25397
26137
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26138
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(taskAgentIAMMemberRoleUpdate, localVarRequestOptions, configuration);
|
|
25398
26139
|
return [2 /*return*/, {
|
|
25399
26140
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25400
26141
|
options: localVarRequestOptions,
|
|
@@ -25406,9 +26147,9 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
25406
26147
|
/**
|
|
25407
26148
|
* Update Task Agent configuration. Modifiable fields: - Name and description - System instruction - LLM model - Execution mode - Task tools (full replacement) - MCP servers (full replacement) To update task tools, pass a `task_tools` array. This performs a full replacement: - Omit the field to leave task tools unchanged - Pass an empty array to remove all task tools - Pass a new array to replace all task tools (array order = execution order)
|
|
25408
26149
|
* @summary Update Task Agent
|
|
25409
|
-
* @param {string} orgId The
|
|
25410
|
-
* @param {string} projectId The
|
|
25411
|
-
* @param {string} taskAgentId The
|
|
26150
|
+
* @param {string} orgId The organization ID
|
|
26151
|
+
* @param {string} projectId The project ID
|
|
26152
|
+
* @param {string} taskAgentId The task agent ID
|
|
25412
26153
|
* @param {TaskAgentUpdate} taskAgentUpdate
|
|
25413
26154
|
* @param {*} [options] Override http request option.
|
|
25414
26155
|
* @throws {RequiredError}
|
|
@@ -25472,8 +26213,8 @@ var TaskAgentsApiFp = function (configuration) {
|
|
|
25472
26213
|
/**
|
|
25473
26214
|
* Create a new Task Agent for the project. Task Agents orchestrate multiple Tasks as task tools using LLM-powered reasoning. Configure: - System instruction (prompt) - LLM model for reasoning - Initial task tools (Tasks to add) - Optional MCP server bindings - Execution mode (agentic/sequential)
|
|
25474
26215
|
* @summary Create Task Agent
|
|
25475
|
-
* @param {string} orgId The
|
|
25476
|
-
* @param {string} projectId The
|
|
26216
|
+
* @param {string} orgId The organization ID
|
|
26217
|
+
* @param {string} projectId The project ID
|
|
25477
26218
|
* @param {TaskAgentCreate} taskAgentCreate
|
|
25478
26219
|
* @param {*} [options] Override http request option.
|
|
25479
26220
|
* @throws {RequiredError}
|
|
@@ -25899,12 +26640,117 @@ var TaskAgentsApiFp = function (configuration) {
|
|
|
25899
26640
|
});
|
|
25900
26641
|
});
|
|
25901
26642
|
},
|
|
26643
|
+
/**
|
|
26644
|
+
* Retrieve a specific member that has been granted direct access to the task_agent.
|
|
26645
|
+
* @summary IAM - Lookup Task Agent Member
|
|
26646
|
+
* @param {string} taskAgentId
|
|
26647
|
+
* @param {string} member
|
|
26648
|
+
* @param {string} orgId The org id
|
|
26649
|
+
* @param {string} projectId The project id
|
|
26650
|
+
* @param {*} [options] Override http request option.
|
|
26651
|
+
* @throws {RequiredError}
|
|
26652
|
+
*/
|
|
26653
|
+
taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamGetMember: function (taskAgentId, member, orgId, projectId, options) {
|
|
26654
|
+
var _a, _b, _c;
|
|
26655
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26656
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
26657
|
+
return __generator(this, function (_d) {
|
|
26658
|
+
switch (_d.label) {
|
|
26659
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamGetMember(taskAgentId, member, orgId, projectId, options)];
|
|
26660
|
+
case 1:
|
|
26661
|
+
localVarAxiosArgs = _d.sent();
|
|
26662
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26663
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentsApi.taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamGetMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26664
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
26665
|
+
}
|
|
26666
|
+
});
|
|
26667
|
+
});
|
|
26668
|
+
},
|
|
26669
|
+
/**
|
|
26670
|
+
* Lists all members that have been granted direct access to the task_agent.
|
|
26671
|
+
* @summary IAM - List Task Agent Members
|
|
26672
|
+
* @param {string} taskAgentId
|
|
26673
|
+
* @param {string} orgId The org id
|
|
26674
|
+
* @param {string} projectId The project id
|
|
26675
|
+
* @param {TaskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembersTypeEnum} [type]
|
|
26676
|
+
* @param {*} [options] Override http request option.
|
|
26677
|
+
* @throws {RequiredError}
|
|
26678
|
+
*/
|
|
26679
|
+
taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembers: function (taskAgentId, orgId, projectId, type, options) {
|
|
26680
|
+
var _a, _b, _c;
|
|
26681
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26682
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
26683
|
+
return __generator(this, function (_d) {
|
|
26684
|
+
switch (_d.label) {
|
|
26685
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembers(taskAgentId, orgId, projectId, type, options)];
|
|
26686
|
+
case 1:
|
|
26687
|
+
localVarAxiosArgs = _d.sent();
|
|
26688
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26689
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentsApi.taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26690
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
26691
|
+
}
|
|
26692
|
+
});
|
|
26693
|
+
});
|
|
26694
|
+
},
|
|
26695
|
+
/**
|
|
26696
|
+
* Test the permissions that the caller (or another subject) holds on the task_agent.
|
|
26697
|
+
* @summary IAM - Test Task Agent Permissions
|
|
26698
|
+
* @param {string} taskAgentId
|
|
26699
|
+
* @param {string} orgId The org id
|
|
26700
|
+
* @param {string} projectId The project id
|
|
26701
|
+
* @param {TaskAgentIAMPermissionTest} taskAgentIAMPermissionTest
|
|
26702
|
+
* @param {*} [options] Override http request option.
|
|
26703
|
+
* @throws {RequiredError}
|
|
26704
|
+
*/
|
|
26705
|
+
taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamTestPermissions: function (taskAgentId, orgId, projectId, taskAgentIAMPermissionTest, options) {
|
|
26706
|
+
var _a, _b, _c;
|
|
26707
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26708
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
26709
|
+
return __generator(this, function (_d) {
|
|
26710
|
+
switch (_d.label) {
|
|
26711
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamTestPermissions(taskAgentId, orgId, projectId, taskAgentIAMPermissionTest, options)];
|
|
26712
|
+
case 1:
|
|
26713
|
+
localVarAxiosArgs = _d.sent();
|
|
26714
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26715
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentsApi.taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamTestPermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26716
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
26717
|
+
}
|
|
26718
|
+
});
|
|
26719
|
+
});
|
|
26720
|
+
},
|
|
26721
|
+
/**
|
|
26722
|
+
* Update the roles that a member holds on the task_agent.
|
|
26723
|
+
* @summary IAM - Update Task Agent Member
|
|
26724
|
+
* @param {string} taskAgentId
|
|
26725
|
+
* @param {string} member
|
|
26726
|
+
* @param {string} orgId The org id
|
|
26727
|
+
* @param {string} projectId The project id
|
|
26728
|
+
* @param {TaskAgentIAMMemberRoleUpdate} taskAgentIAMMemberRoleUpdate
|
|
26729
|
+
* @param {*} [options] Override http request option.
|
|
26730
|
+
* @throws {RequiredError}
|
|
26731
|
+
*/
|
|
26732
|
+
taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamUpdateMemberRoles: function (taskAgentId, member, orgId, projectId, taskAgentIAMMemberRoleUpdate, options) {
|
|
26733
|
+
var _a, _b, _c;
|
|
26734
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26735
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
26736
|
+
return __generator(this, function (_d) {
|
|
26737
|
+
switch (_d.label) {
|
|
26738
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamUpdateMemberRoles(taskAgentId, member, orgId, projectId, taskAgentIAMMemberRoleUpdate, options)];
|
|
26739
|
+
case 1:
|
|
26740
|
+
localVarAxiosArgs = _d.sent();
|
|
26741
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26742
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskAgentsApi.taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamUpdateMemberRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26743
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
26744
|
+
}
|
|
26745
|
+
});
|
|
26746
|
+
});
|
|
26747
|
+
},
|
|
25902
26748
|
/**
|
|
25903
26749
|
* Update Task Agent configuration. Modifiable fields: - Name and description - System instruction - LLM model - Execution mode - Task tools (full replacement) - MCP servers (full replacement) To update task tools, pass a `task_tools` array. This performs a full replacement: - Omit the field to leave task tools unchanged - Pass an empty array to remove all task tools - Pass a new array to replace all task tools (array order = execution order)
|
|
25904
26750
|
* @summary Update Task Agent
|
|
25905
|
-
* @param {string} orgId The
|
|
25906
|
-
* @param {string} projectId The
|
|
25907
|
-
* @param {string} taskAgentId The
|
|
26751
|
+
* @param {string} orgId The organization ID
|
|
26752
|
+
* @param {string} projectId The project ID
|
|
26753
|
+
* @param {string} taskAgentId The task agent ID
|
|
25908
26754
|
* @param {TaskAgentUpdate} taskAgentUpdate
|
|
25909
26755
|
* @param {*} [options] Override http request option.
|
|
25910
26756
|
* @throws {RequiredError}
|
|
@@ -25938,8 +26784,8 @@ var TaskAgentsApiFactory = function (configuration, basePath, axios) {
|
|
|
25938
26784
|
/**
|
|
25939
26785
|
* Create a new Task Agent for the project. Task Agents orchestrate multiple Tasks as task tools using LLM-powered reasoning. Configure: - System instruction (prompt) - LLM model for reasoning - Initial task tools (Tasks to add) - Optional MCP server bindings - Execution mode (agentic/sequential)
|
|
25940
26786
|
* @summary Create Task Agent
|
|
25941
|
-
* @param {string} orgId The
|
|
25942
|
-
* @param {string} projectId The
|
|
26787
|
+
* @param {string} orgId The organization ID
|
|
26788
|
+
* @param {string} projectId The project ID
|
|
25943
26789
|
* @param {TaskAgentCreate} taskAgentCreate
|
|
25944
26790
|
* @param {*} [options] Override http request option.
|
|
25945
26791
|
* @throws {RequiredError}
|
|
@@ -26157,12 +27003,65 @@ var TaskAgentsApiFactory = function (configuration, basePath, axios) {
|
|
|
26157
27003
|
runTaskAgent: function (orgId, projectId, taskAgentId, options) {
|
|
26158
27004
|
return localVarFp.runTaskAgent(orgId, projectId, taskAgentId, options).then(function (request) { return request(axios, basePath); });
|
|
26159
27005
|
},
|
|
27006
|
+
/**
|
|
27007
|
+
* Retrieve a specific member that has been granted direct access to the task_agent.
|
|
27008
|
+
* @summary IAM - Lookup Task Agent Member
|
|
27009
|
+
* @param {string} taskAgentId
|
|
27010
|
+
* @param {string} member
|
|
27011
|
+
* @param {string} orgId The org id
|
|
27012
|
+
* @param {string} projectId The project id
|
|
27013
|
+
* @param {*} [options] Override http request option.
|
|
27014
|
+
* @throws {RequiredError}
|
|
27015
|
+
*/
|
|
27016
|
+
taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamGetMember: function (taskAgentId, member, orgId, projectId, options) {
|
|
27017
|
+
return localVarFp.taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamGetMember(taskAgentId, member, orgId, projectId, options).then(function (request) { return request(axios, basePath); });
|
|
27018
|
+
},
|
|
27019
|
+
/**
|
|
27020
|
+
* Lists all members that have been granted direct access to the task_agent.
|
|
27021
|
+
* @summary IAM - List Task Agent Members
|
|
27022
|
+
* @param {string} taskAgentId
|
|
27023
|
+
* @param {string} orgId The org id
|
|
27024
|
+
* @param {string} projectId The project id
|
|
27025
|
+
* @param {TaskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembersTypeEnum} [type]
|
|
27026
|
+
* @param {*} [options] Override http request option.
|
|
27027
|
+
* @throws {RequiredError}
|
|
27028
|
+
*/
|
|
27029
|
+
taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembers: function (taskAgentId, orgId, projectId, type, options) {
|
|
27030
|
+
return localVarFp.taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembers(taskAgentId, orgId, projectId, type, options).then(function (request) { return request(axios, basePath); });
|
|
27031
|
+
},
|
|
27032
|
+
/**
|
|
27033
|
+
* Test the permissions that the caller (or another subject) holds on the task_agent.
|
|
27034
|
+
* @summary IAM - Test Task Agent Permissions
|
|
27035
|
+
* @param {string} taskAgentId
|
|
27036
|
+
* @param {string} orgId The org id
|
|
27037
|
+
* @param {string} projectId The project id
|
|
27038
|
+
* @param {TaskAgentIAMPermissionTest} taskAgentIAMPermissionTest
|
|
27039
|
+
* @param {*} [options] Override http request option.
|
|
27040
|
+
* @throws {RequiredError}
|
|
27041
|
+
*/
|
|
27042
|
+
taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamTestPermissions: function (taskAgentId, orgId, projectId, taskAgentIAMPermissionTest, options) {
|
|
27043
|
+
return localVarFp.taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamTestPermissions(taskAgentId, orgId, projectId, taskAgentIAMPermissionTest, options).then(function (request) { return request(axios, basePath); });
|
|
27044
|
+
},
|
|
27045
|
+
/**
|
|
27046
|
+
* Update the roles that a member holds on the task_agent.
|
|
27047
|
+
* @summary IAM - Update Task Agent Member
|
|
27048
|
+
* @param {string} taskAgentId
|
|
27049
|
+
* @param {string} member
|
|
27050
|
+
* @param {string} orgId The org id
|
|
27051
|
+
* @param {string} projectId The project id
|
|
27052
|
+
* @param {TaskAgentIAMMemberRoleUpdate} taskAgentIAMMemberRoleUpdate
|
|
27053
|
+
* @param {*} [options] Override http request option.
|
|
27054
|
+
* @throws {RequiredError}
|
|
27055
|
+
*/
|
|
27056
|
+
taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamUpdateMemberRoles: function (taskAgentId, member, orgId, projectId, taskAgentIAMMemberRoleUpdate, options) {
|
|
27057
|
+
return localVarFp.taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamUpdateMemberRoles(taskAgentId, member, orgId, projectId, taskAgentIAMMemberRoleUpdate, options).then(function (request) { return request(axios, basePath); });
|
|
27058
|
+
},
|
|
26160
27059
|
/**
|
|
26161
27060
|
* Update Task Agent configuration. Modifiable fields: - Name and description - System instruction - LLM model - Execution mode - Task tools (full replacement) - MCP servers (full replacement) To update task tools, pass a `task_tools` array. This performs a full replacement: - Omit the field to leave task tools unchanged - Pass an empty array to remove all task tools - Pass a new array to replace all task tools (array order = execution order)
|
|
26162
27061
|
* @summary Update Task Agent
|
|
26163
|
-
* @param {string} orgId The
|
|
26164
|
-
* @param {string} projectId The
|
|
26165
|
-
* @param {string} taskAgentId The
|
|
27062
|
+
* @param {string} orgId The organization ID
|
|
27063
|
+
* @param {string} projectId The project ID
|
|
27064
|
+
* @param {string} taskAgentId The task agent ID
|
|
26166
27065
|
* @param {TaskAgentUpdate} taskAgentUpdate
|
|
26167
27066
|
* @param {*} [options] Override http request option.
|
|
26168
27067
|
* @throws {RequiredError}
|
|
@@ -26187,8 +27086,8 @@ var TaskAgentsApi = /** @class */ (function (_super) {
|
|
|
26187
27086
|
/**
|
|
26188
27087
|
* Create a new Task Agent for the project. Task Agents orchestrate multiple Tasks as task tools using LLM-powered reasoning. Configure: - System instruction (prompt) - LLM model for reasoning - Initial task tools (Tasks to add) - Optional MCP server bindings - Execution mode (agentic/sequential)
|
|
26189
27088
|
* @summary Create Task Agent
|
|
26190
|
-
* @param {string} orgId The
|
|
26191
|
-
* @param {string} projectId The
|
|
27089
|
+
* @param {string} orgId The organization ID
|
|
27090
|
+
* @param {string} projectId The project ID
|
|
26192
27091
|
* @param {TaskAgentCreate} taskAgentCreate
|
|
26193
27092
|
* @param {*} [options] Override http request option.
|
|
26194
27093
|
* @throws {RequiredError}
|
|
@@ -26438,12 +27337,73 @@ var TaskAgentsApi = /** @class */ (function (_super) {
|
|
|
26438
27337
|
var _this = this;
|
|
26439
27338
|
return (0, exports.TaskAgentsApiFp)(this.configuration).runTaskAgent(orgId, projectId, taskAgentId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26440
27339
|
};
|
|
27340
|
+
/**
|
|
27341
|
+
* Retrieve a specific member that has been granted direct access to the task_agent.
|
|
27342
|
+
* @summary IAM - Lookup Task Agent Member
|
|
27343
|
+
* @param {string} taskAgentId
|
|
27344
|
+
* @param {string} member
|
|
27345
|
+
* @param {string} orgId The org id
|
|
27346
|
+
* @param {string} projectId The project id
|
|
27347
|
+
* @param {*} [options] Override http request option.
|
|
27348
|
+
* @throws {RequiredError}
|
|
27349
|
+
* @memberof TaskAgentsApi
|
|
27350
|
+
*/
|
|
27351
|
+
TaskAgentsApi.prototype.taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamGetMember = function (taskAgentId, member, orgId, projectId, options) {
|
|
27352
|
+
var _this = this;
|
|
27353
|
+
return (0, exports.TaskAgentsApiFp)(this.configuration).taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamGetMember(taskAgentId, member, orgId, projectId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27354
|
+
};
|
|
27355
|
+
/**
|
|
27356
|
+
* Lists all members that have been granted direct access to the task_agent.
|
|
27357
|
+
* @summary IAM - List Task Agent Members
|
|
27358
|
+
* @param {string} taskAgentId
|
|
27359
|
+
* @param {string} orgId The org id
|
|
27360
|
+
* @param {string} projectId The project id
|
|
27361
|
+
* @param {TaskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembersTypeEnum} [type]
|
|
27362
|
+
* @param {*} [options] Override http request option.
|
|
27363
|
+
* @throws {RequiredError}
|
|
27364
|
+
* @memberof TaskAgentsApi
|
|
27365
|
+
*/
|
|
27366
|
+
TaskAgentsApi.prototype.taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembers = function (taskAgentId, orgId, projectId, type, options) {
|
|
27367
|
+
var _this = this;
|
|
27368
|
+
return (0, exports.TaskAgentsApiFp)(this.configuration).taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembers(taskAgentId, orgId, projectId, type, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27369
|
+
};
|
|
27370
|
+
/**
|
|
27371
|
+
* Test the permissions that the caller (or another subject) holds on the task_agent.
|
|
27372
|
+
* @summary IAM - Test Task Agent Permissions
|
|
27373
|
+
* @param {string} taskAgentId
|
|
27374
|
+
* @param {string} orgId The org id
|
|
27375
|
+
* @param {string} projectId The project id
|
|
27376
|
+
* @param {TaskAgentIAMPermissionTest} taskAgentIAMPermissionTest
|
|
27377
|
+
* @param {*} [options] Override http request option.
|
|
27378
|
+
* @throws {RequiredError}
|
|
27379
|
+
* @memberof TaskAgentsApi
|
|
27380
|
+
*/
|
|
27381
|
+
TaskAgentsApi.prototype.taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamTestPermissions = function (taskAgentId, orgId, projectId, taskAgentIAMPermissionTest, options) {
|
|
27382
|
+
var _this = this;
|
|
27383
|
+
return (0, exports.TaskAgentsApiFp)(this.configuration).taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamTestPermissions(taskAgentId, orgId, projectId, taskAgentIAMPermissionTest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27384
|
+
};
|
|
27385
|
+
/**
|
|
27386
|
+
* Update the roles that a member holds on the task_agent.
|
|
27387
|
+
* @summary IAM - Update Task Agent Member
|
|
27388
|
+
* @param {string} taskAgentId
|
|
27389
|
+
* @param {string} member
|
|
27390
|
+
* @param {string} orgId The org id
|
|
27391
|
+
* @param {string} projectId The project id
|
|
27392
|
+
* @param {TaskAgentIAMMemberRoleUpdate} taskAgentIAMMemberRoleUpdate
|
|
27393
|
+
* @param {*} [options] Override http request option.
|
|
27394
|
+
* @throws {RequiredError}
|
|
27395
|
+
* @memberof TaskAgentsApi
|
|
27396
|
+
*/
|
|
27397
|
+
TaskAgentsApi.prototype.taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamUpdateMemberRoles = function (taskAgentId, member, orgId, projectId, taskAgentIAMMemberRoleUpdate, options) {
|
|
27398
|
+
var _this = this;
|
|
27399
|
+
return (0, exports.TaskAgentsApiFp)(this.configuration).taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamUpdateMemberRoles(taskAgentId, member, orgId, projectId, taskAgentIAMMemberRoleUpdate, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27400
|
+
};
|
|
26441
27401
|
/**
|
|
26442
27402
|
* Update Task Agent configuration. Modifiable fields: - Name and description - System instruction - LLM model - Execution mode - Task tools (full replacement) - MCP servers (full replacement) To update task tools, pass a `task_tools` array. This performs a full replacement: - Omit the field to leave task tools unchanged - Pass an empty array to remove all task tools - Pass a new array to replace all task tools (array order = execution order)
|
|
26443
27403
|
* @summary Update Task Agent
|
|
26444
|
-
* @param {string} orgId The
|
|
26445
|
-
* @param {string} projectId The
|
|
26446
|
-
* @param {string} taskAgentId The
|
|
27404
|
+
* @param {string} orgId The organization ID
|
|
27405
|
+
* @param {string} projectId The project ID
|
|
27406
|
+
* @param {string} taskAgentId The task agent ID
|
|
26447
27407
|
* @param {TaskAgentUpdate} taskAgentUpdate
|
|
26448
27408
|
* @param {*} [options] Override http request option.
|
|
26449
27409
|
* @throws {RequiredError}
|
|
@@ -26484,6 +27444,14 @@ exports.GetTaskAgentUsageReportAggregationEnum = {
|
|
|
26484
27444
|
Day: 'day',
|
|
26485
27445
|
Week: 'week'
|
|
26486
27446
|
};
|
|
27447
|
+
/**
|
|
27448
|
+
* @export
|
|
27449
|
+
*/
|
|
27450
|
+
exports.TaskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembersTypeEnum = {
|
|
27451
|
+
User: 'user',
|
|
27452
|
+
Organization: 'organization',
|
|
27453
|
+
Project: 'project'
|
|
27454
|
+
};
|
|
26487
27455
|
/**
|
|
26488
27456
|
* TaskEvalsApi - axios parameter creator
|
|
26489
27457
|
* @export
|
|
@@ -28751,6 +29719,104 @@ var TaskMCPServersApiAxiosParamCreator = function (configuration) {
|
|
|
28751
29719
|
});
|
|
28752
29720
|
});
|
|
28753
29721
|
},
|
|
29722
|
+
/**
|
|
29723
|
+
*
|
|
29724
|
+
* @summary Get Task Mcp Server Catalog
|
|
29725
|
+
* @param {string} slug The canonical MCP server catalog slug
|
|
29726
|
+
* @param {string} orgId The organization ID
|
|
29727
|
+
* @param {string} projectId The project ID
|
|
29728
|
+
* @param {*} [options] Override http request option.
|
|
29729
|
+
* @throws {RequiredError}
|
|
29730
|
+
*/
|
|
29731
|
+
getTaskMcpServerCatalog: function (slug, orgId, projectId, options) {
|
|
29732
|
+
if (options === void 0) { options = {}; }
|
|
29733
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
29734
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
29735
|
+
return __generator(this, function (_a) {
|
|
29736
|
+
switch (_a.label) {
|
|
29737
|
+
case 0:
|
|
29738
|
+
// verify required parameter 'slug' is not null or undefined
|
|
29739
|
+
(0, common_1.assertParamExists)('getTaskMcpServerCatalog', 'slug', slug);
|
|
29740
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
29741
|
+
(0, common_1.assertParamExists)('getTaskMcpServerCatalog', 'orgId', orgId);
|
|
29742
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
29743
|
+
(0, common_1.assertParamExists)('getTaskMcpServerCatalog', 'projectId', projectId);
|
|
29744
|
+
localVarPath = "/org/{org_id}/project/{project_id}/task_mcp_server/catalog/{slug}"
|
|
29745
|
+
.replace("{".concat("slug", "}"), encodeURIComponent(String(slug)))
|
|
29746
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
29747
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
29748
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
29749
|
+
if (configuration) {
|
|
29750
|
+
baseOptions = configuration.baseOptions;
|
|
29751
|
+
}
|
|
29752
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
29753
|
+
localVarHeaderParameter = {};
|
|
29754
|
+
localVarQueryParameter = {};
|
|
29755
|
+
// authentication HTTPBearer required
|
|
29756
|
+
// http bearer authentication required
|
|
29757
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
29758
|
+
case 1:
|
|
29759
|
+
// authentication HTTPBearer required
|
|
29760
|
+
// http bearer authentication required
|
|
29761
|
+
_a.sent();
|
|
29762
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
29763
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29764
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
29765
|
+
return [2 /*return*/, {
|
|
29766
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
29767
|
+
options: localVarRequestOptions,
|
|
29768
|
+
}];
|
|
29769
|
+
}
|
|
29770
|
+
});
|
|
29771
|
+
});
|
|
29772
|
+
},
|
|
29773
|
+
/**
|
|
29774
|
+
*
|
|
29775
|
+
* @summary List Task Mcp Server Catalog
|
|
29776
|
+
* @param {string} orgId The organization ID
|
|
29777
|
+
* @param {string} projectId The project ID
|
|
29778
|
+
* @param {*} [options] Override http request option.
|
|
29779
|
+
* @throws {RequiredError}
|
|
29780
|
+
*/
|
|
29781
|
+
listTaskMcpServerCatalog: function (orgId, projectId, options) {
|
|
29782
|
+
if (options === void 0) { options = {}; }
|
|
29783
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
29784
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
29785
|
+
return __generator(this, function (_a) {
|
|
29786
|
+
switch (_a.label) {
|
|
29787
|
+
case 0:
|
|
29788
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
29789
|
+
(0, common_1.assertParamExists)('listTaskMcpServerCatalog', 'orgId', orgId);
|
|
29790
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
29791
|
+
(0, common_1.assertParamExists)('listTaskMcpServerCatalog', 'projectId', projectId);
|
|
29792
|
+
localVarPath = "/org/{org_id}/project/{project_id}/task_mcp_server/catalog"
|
|
29793
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
29794
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
29795
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
29796
|
+
if (configuration) {
|
|
29797
|
+
baseOptions = configuration.baseOptions;
|
|
29798
|
+
}
|
|
29799
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
29800
|
+
localVarHeaderParameter = {};
|
|
29801
|
+
localVarQueryParameter = {};
|
|
29802
|
+
// authentication HTTPBearer required
|
|
29803
|
+
// http bearer authentication required
|
|
29804
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
29805
|
+
case 1:
|
|
29806
|
+
// authentication HTTPBearer required
|
|
29807
|
+
// http bearer authentication required
|
|
29808
|
+
_a.sent();
|
|
29809
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
29810
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29811
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
29812
|
+
return [2 /*return*/, {
|
|
29813
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
29814
|
+
options: localVarRequestOptions,
|
|
29815
|
+
}];
|
|
29816
|
+
}
|
|
29817
|
+
});
|
|
29818
|
+
});
|
|
29819
|
+
},
|
|
28754
29820
|
/**
|
|
28755
29821
|
*
|
|
28756
29822
|
* @summary List Task Mcp Servers
|
|
@@ -29128,6 +30194,55 @@ var TaskMCPServersApiFp = function (configuration) {
|
|
|
29128
30194
|
});
|
|
29129
30195
|
});
|
|
29130
30196
|
},
|
|
30197
|
+
/**
|
|
30198
|
+
*
|
|
30199
|
+
* @summary Get Task Mcp Server Catalog
|
|
30200
|
+
* @param {string} slug The canonical MCP server catalog slug
|
|
30201
|
+
* @param {string} orgId The organization ID
|
|
30202
|
+
* @param {string} projectId The project ID
|
|
30203
|
+
* @param {*} [options] Override http request option.
|
|
30204
|
+
* @throws {RequiredError}
|
|
30205
|
+
*/
|
|
30206
|
+
getTaskMcpServerCatalog: function (slug, orgId, projectId, options) {
|
|
30207
|
+
var _a, _b, _c;
|
|
30208
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
30209
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
30210
|
+
return __generator(this, function (_d) {
|
|
30211
|
+
switch (_d.label) {
|
|
30212
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTaskMcpServerCatalog(slug, orgId, projectId, options)];
|
|
30213
|
+
case 1:
|
|
30214
|
+
localVarAxiosArgs = _d.sent();
|
|
30215
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30216
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskMCPServersApi.getTaskMcpServerCatalog']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30217
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
30218
|
+
}
|
|
30219
|
+
});
|
|
30220
|
+
});
|
|
30221
|
+
},
|
|
30222
|
+
/**
|
|
30223
|
+
*
|
|
30224
|
+
* @summary List Task Mcp Server Catalog
|
|
30225
|
+
* @param {string} orgId The organization ID
|
|
30226
|
+
* @param {string} projectId The project ID
|
|
30227
|
+
* @param {*} [options] Override http request option.
|
|
30228
|
+
* @throws {RequiredError}
|
|
30229
|
+
*/
|
|
30230
|
+
listTaskMcpServerCatalog: function (orgId, projectId, options) {
|
|
30231
|
+
var _a, _b, _c;
|
|
30232
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
30233
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
30234
|
+
return __generator(this, function (_d) {
|
|
30235
|
+
switch (_d.label) {
|
|
30236
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTaskMcpServerCatalog(orgId, projectId, options)];
|
|
30237
|
+
case 1:
|
|
30238
|
+
localVarAxiosArgs = _d.sent();
|
|
30239
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30240
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskMCPServersApi.listTaskMcpServerCatalog']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30241
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
30242
|
+
}
|
|
30243
|
+
});
|
|
30244
|
+
});
|
|
30245
|
+
},
|
|
29131
30246
|
/**
|
|
29132
30247
|
*
|
|
29133
30248
|
* @summary List Task Mcp Servers
|
|
@@ -29313,6 +30428,29 @@ var TaskMCPServersApiFactory = function (configuration, basePath, axios) {
|
|
|
29313
30428
|
getTaskMcpServer: function (taskMcpServerId, orgId, projectId, options) {
|
|
29314
30429
|
return localVarFp.getTaskMcpServer(taskMcpServerId, orgId, projectId, options).then(function (request) { return request(axios, basePath); });
|
|
29315
30430
|
},
|
|
30431
|
+
/**
|
|
30432
|
+
*
|
|
30433
|
+
* @summary Get Task Mcp Server Catalog
|
|
30434
|
+
* @param {string} slug The canonical MCP server catalog slug
|
|
30435
|
+
* @param {string} orgId The organization ID
|
|
30436
|
+
* @param {string} projectId The project ID
|
|
30437
|
+
* @param {*} [options] Override http request option.
|
|
30438
|
+
* @throws {RequiredError}
|
|
30439
|
+
*/
|
|
30440
|
+
getTaskMcpServerCatalog: function (slug, orgId, projectId, options) {
|
|
30441
|
+
return localVarFp.getTaskMcpServerCatalog(slug, orgId, projectId, options).then(function (request) { return request(axios, basePath); });
|
|
30442
|
+
},
|
|
30443
|
+
/**
|
|
30444
|
+
*
|
|
30445
|
+
* @summary List Task Mcp Server Catalog
|
|
30446
|
+
* @param {string} orgId The organization ID
|
|
30447
|
+
* @param {string} projectId The project ID
|
|
30448
|
+
* @param {*} [options] Override http request option.
|
|
30449
|
+
* @throws {RequiredError}
|
|
30450
|
+
*/
|
|
30451
|
+
listTaskMcpServerCatalog: function (orgId, projectId, options) {
|
|
30452
|
+
return localVarFp.listTaskMcpServerCatalog(orgId, projectId, options).then(function (request) { return request(axios, basePath); });
|
|
30453
|
+
},
|
|
29316
30454
|
/**
|
|
29317
30455
|
*
|
|
29318
30456
|
* @summary List Task Mcp Servers
|
|
@@ -29462,6 +30600,33 @@ var TaskMCPServersApi = /** @class */ (function (_super) {
|
|
|
29462
30600
|
var _this = this;
|
|
29463
30601
|
return (0, exports.TaskMCPServersApiFp)(this.configuration).getTaskMcpServer(taskMcpServerId, orgId, projectId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
29464
30602
|
};
|
|
30603
|
+
/**
|
|
30604
|
+
*
|
|
30605
|
+
* @summary Get Task Mcp Server Catalog
|
|
30606
|
+
* @param {string} slug The canonical MCP server catalog slug
|
|
30607
|
+
* @param {string} orgId The organization ID
|
|
30608
|
+
* @param {string} projectId The project ID
|
|
30609
|
+
* @param {*} [options] Override http request option.
|
|
30610
|
+
* @throws {RequiredError}
|
|
30611
|
+
* @memberof TaskMCPServersApi
|
|
30612
|
+
*/
|
|
30613
|
+
TaskMCPServersApi.prototype.getTaskMcpServerCatalog = function (slug, orgId, projectId, options) {
|
|
30614
|
+
var _this = this;
|
|
30615
|
+
return (0, exports.TaskMCPServersApiFp)(this.configuration).getTaskMcpServerCatalog(slug, orgId, projectId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
30616
|
+
};
|
|
30617
|
+
/**
|
|
30618
|
+
*
|
|
30619
|
+
* @summary List Task Mcp Server Catalog
|
|
30620
|
+
* @param {string} orgId The organization ID
|
|
30621
|
+
* @param {string} projectId The project ID
|
|
30622
|
+
* @param {*} [options] Override http request option.
|
|
30623
|
+
* @throws {RequiredError}
|
|
30624
|
+
* @memberof TaskMCPServersApi
|
|
30625
|
+
*/
|
|
30626
|
+
TaskMCPServersApi.prototype.listTaskMcpServerCatalog = function (orgId, projectId, options) {
|
|
30627
|
+
var _this = this;
|
|
30628
|
+
return (0, exports.TaskMCPServersApiFp)(this.configuration).listTaskMcpServerCatalog(orgId, projectId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
30629
|
+
};
|
|
29465
30630
|
/**
|
|
29466
30631
|
*
|
|
29467
30632
|
* @summary List Task Mcp Servers
|