@harnessio/react-ng-manager-swagger-service-client 1.46.0 → 1.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/ng-manager-swagger-service/src/services/hooks/useDiscoverAiAgentsMutation.d.ts +22 -0
  2. package/dist/ng-manager-swagger-service/src/services/hooks/useDiscoverAiAgentsMutation.js +14 -0
  3. package/dist/ng-manager-swagger-service/src/services/hooks/useImportAiAgentMutation.d.ts +22 -0
  4. package/dist/ng-manager-swagger-service/src/services/hooks/useImportAiAgentMutation.js +14 -0
  5. package/dist/ng-manager-swagger-service/src/services/index.d.ts +14 -0
  6. package/dist/ng-manager-swagger-service/src/services/index.js +2 -0
  7. package/dist/ng-manager-swagger-service/src/services/schemas/AgentCandidateDto.d.ts +8 -0
  8. package/dist/ng-manager-swagger-service/src/services/schemas/AgentCandidateDto.js +1 -0
  9. package/dist/ng-manager-swagger-service/src/services/schemas/AgentConfigVariableDto.d.ts +4 -0
  10. package/dist/ng-manager-swagger-service/src/services/schemas/AgentConfigVariableDto.js +4 -0
  11. package/dist/ng-manager-swagger-service/src/services/schemas/AgentDiscoverRequestDto.d.ts +6 -0
  12. package/dist/ng-manager-swagger-service/src/services/schemas/AgentDiscoverRequestDto.js +1 -0
  13. package/dist/ng-manager-swagger-service/src/services/schemas/AgentDiscoverResponseDto.d.ts +4 -0
  14. package/dist/ng-manager-swagger-service/src/services/schemas/AgentDiscoverResponseDto.js +1 -0
  15. package/dist/ng-manager-swagger-service/src/services/schemas/AgentImportRequestDto.d.ts +9 -0
  16. package/dist/ng-manager-swagger-service/src/services/schemas/AgentImportRequestDto.js +1 -0
  17. package/dist/ng-manager-swagger-service/src/services/schemas/AgentImportResponseDto.d.ts +8 -0
  18. package/dist/ng-manager-swagger-service/src/services/schemas/AgentImportResponseDto.js +1 -0
  19. package/dist/ng-manager-swagger-service/src/services/schemas/AgentScopeDto.d.ts +5 -0
  20. package/dist/ng-manager-swagger-service/src/services/schemas/AgentScopeDto.js +4 -0
  21. package/dist/ng-manager-swagger-service/src/services/schemas/AgentServiceRefDto.d.ts +5 -0
  22. package/dist/ng-manager-swagger-service/src/services/schemas/AgentServiceRefDto.js +4 -0
  23. package/dist/ng-manager-swagger-service/src/services/schemas/FeatureRestrictionDetailsDto.d.ts +1 -1
  24. package/dist/ng-manager-swagger-service/src/services/schemas/LdapSettings.d.ts +2 -2
  25. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAgentDiscoverResponseDto.d.ts +9 -0
  26. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAgentDiscoverResponseDto.js +1 -0
  27. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAgentImportResponseDto.d.ts +9 -0
  28. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAgentImportResponseDto.js +1 -0
  29. package/package.json +1 -1
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseAgentDiscoverResponseDto } from '../schemas/ResponseAgentDiscoverResponseDto';
3
+ import type { AgentDiscoverRequestDto } from '../schemas/AgentDiscoverRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface DiscoverAiAgentsMutationQueryParams {
7
+ accountIdentifier: string;
8
+ orgIdentifier?: string;
9
+ projectIdentifier?: string;
10
+ }
11
+ export type DiscoverAiAgentsRequestBody = AgentDiscoverRequestDto;
12
+ export type DiscoverAiAgentsOkResponse = ResponseWithPagination<ResponseAgentDiscoverResponseDto>;
13
+ export type DiscoverAiAgentsErrorResponse = unknown;
14
+ export interface DiscoverAiAgentsProps extends Omit<FetcherOptions<DiscoverAiAgentsMutationQueryParams, DiscoverAiAgentsRequestBody>, 'url'> {
15
+ queryParams: DiscoverAiAgentsMutationQueryParams;
16
+ body: DiscoverAiAgentsRequestBody;
17
+ }
18
+ export declare function discoverAiAgents(props: DiscoverAiAgentsProps): Promise<DiscoverAiAgentsOkResponse>;
19
+ /**
20
+ *
21
+ */
22
+ export declare function useDiscoverAiAgentsMutation(options?: Omit<UseMutationOptions<DiscoverAiAgentsOkResponse, DiscoverAiAgentsErrorResponse, DiscoverAiAgentsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DiscoverAiAgentsOkResponse, unknown, DiscoverAiAgentsProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function discoverAiAgents(props) {
7
+ return fetcher(Object.assign({ url: `/v1/cd/aiagent/discover`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useDiscoverAiAgentsMutation(options) {
13
+ return useMutation((mutateProps) => discoverAiAgents(mutateProps), options);
14
+ }
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseAgentImportResponseDto } from '../schemas/ResponseAgentImportResponseDto';
3
+ import type { AgentImportRequestDto } from '../schemas/AgentImportRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface ImportAiAgentMutationQueryParams {
7
+ accountIdentifier: string;
8
+ orgIdentifier?: string;
9
+ projectIdentifier?: string;
10
+ }
11
+ export type ImportAiAgentRequestBody = AgentImportRequestDto;
12
+ export type ImportAiAgentOkResponse = ResponseWithPagination<ResponseAgentImportResponseDto>;
13
+ export type ImportAiAgentErrorResponse = unknown;
14
+ export interface ImportAiAgentProps extends Omit<FetcherOptions<ImportAiAgentMutationQueryParams, ImportAiAgentRequestBody>, 'url'> {
15
+ queryParams: ImportAiAgentMutationQueryParams;
16
+ body: ImportAiAgentRequestBody;
17
+ }
18
+ export declare function importAiAgent(props: ImportAiAgentProps): Promise<ImportAiAgentOkResponse>;
19
+ /**
20
+ *
21
+ */
22
+ export declare function useImportAiAgentMutation(options?: Omit<UseMutationOptions<ImportAiAgentOkResponse, ImportAiAgentErrorResponse, ImportAiAgentProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ImportAiAgentOkResponse, unknown, ImportAiAgentProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function importAiAgent(props) {
7
+ return fetcher(Object.assign({ url: `/v1/cd/aiagent/import`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useImportAiAgentMutation(options) {
13
+ return useMutation((mutateProps) => importAiAgent(mutateProps), options);
14
+ }
@@ -61,6 +61,8 @@ export type { DeleteVariableErrorResponse, DeleteVariableMutationPathParams, Del
61
61
  export { deleteVariable, useDeleteVariableMutation } from './hooks/useDeleteVariableMutation';
62
62
  export type { DisableTwoFactorAuthErrorResponse, DisableTwoFactorAuthMutationQueryParams, DisableTwoFactorAuthOkResponse, DisableTwoFactorAuthProps, } from './hooks/useDisableTwoFactorAuthMutation';
63
63
  export { disableTwoFactorAuth, useDisableTwoFactorAuthMutation, } from './hooks/useDisableTwoFactorAuthMutation';
64
+ export type { DiscoverAiAgentsErrorResponse, DiscoverAiAgentsMutationQueryParams, DiscoverAiAgentsOkResponse, DiscoverAiAgentsProps, DiscoverAiAgentsRequestBody, } from './hooks/useDiscoverAiAgentsMutation';
65
+ export { discoverAiAgents, useDiscoverAiAgentsMutation } from './hooks/useDiscoverAiAgentsMutation';
64
66
  export type { EnableTwoFactorAuthErrorResponse, EnableTwoFactorAuthMutationQueryParams, EnableTwoFactorAuthOkResponse, EnableTwoFactorAuthProps, EnableTwoFactorAuthRequestBody, } from './hooks/useEnableTwoFactorAuthMutation';
65
67
  export { enableTwoFactorAuth, useEnableTwoFactorAuthMutation, } from './hooks/useEnableTwoFactorAuthMutation';
66
68
  export type { ExecuteOnboardingErrorResponse, ExecuteOnboardingMutationQueryParams, ExecuteOnboardingOkResponse, ExecuteOnboardingProps, ExecuteOnboardingRequestBody, } from './hooks/useExecuteOnboardingMutation';
@@ -323,6 +325,8 @@ export type { GetZendeskRedirectErrorResponse, GetZendeskRedirectOkResponse, Get
323
325
  export { getZendeskRedirect, useGetZendeskRedirectQuery } from './hooks/useGetZendeskRedirectQuery';
324
326
  export type { HelmCmdFlagsErrorResponse, HelmCmdFlagsOkResponse, HelmCmdFlagsProps, HelmCmdFlagsQueryQueryParams, } from './hooks/useHelmCmdFlagsQuery';
325
327
  export { helmCmdFlags, useHelmCmdFlagsQuery } from './hooks/useHelmCmdFlagsQuery';
328
+ export type { ImportAiAgentErrorResponse, ImportAiAgentMutationQueryParams, ImportAiAgentOkResponse, ImportAiAgentProps, ImportAiAgentRequestBody, } from './hooks/useImportAiAgentMutation';
329
+ export { importAiAgent, useImportAiAgentMutation } from './hooks/useImportAiAgentMutation';
326
330
  export type { JiraUserSearchErrorResponse, JiraUserSearchOkResponse, JiraUserSearchProps, JiraUserSearchQueryQueryParams, } from './hooks/useJiraUserSearchQuery';
327
331
  export { jiraUserSearch, useJiraUserSearchQuery } from './hooks/useJiraUserSearchQuery';
328
332
  export type { LinkToLdapGroupErrorResponse, LinkToLdapGroupMutationPathParams, LinkToLdapGroupMutationQueryParams, LinkToLdapGroupOkResponse, LinkToLdapGroupProps, LinkToLdapGroupRequestBody, } from './hooks/useLinkToLdapGroupMutation';
@@ -477,6 +481,14 @@ export type { AcrRepositoryDto } from './schemas/AcrRepositoryDto';
477
481
  export type { AcrRequestDto } from './schemas/AcrRequestDto';
478
482
  export type { AcrResponseDto } from './schemas/AcrResponseDto';
479
483
  export type { AdditionalMetadata } from './schemas/AdditionalMetadata';
484
+ export type { AgentCandidateDto } from './schemas/AgentCandidateDto';
485
+ export type { AgentConfigVariableDto } from './schemas/AgentConfigVariableDto';
486
+ export type { AgentDiscoverRequestDto } from './schemas/AgentDiscoverRequestDto';
487
+ export type { AgentDiscoverResponseDto } from './schemas/AgentDiscoverResponseDto';
488
+ export type { AgentImportRequestDto } from './schemas/AgentImportRequestDto';
489
+ export type { AgentImportResponseDto } from './schemas/AgentImportResponseDto';
490
+ export type { AgentScopeDto } from './schemas/AgentScopeDto';
491
+ export type { AgentServiceRefDto } from './schemas/AgentServiceRefDto';
480
492
  export type { AmiFilter } from './schemas/AmiFilter';
481
493
  export type { AmiRequestBody } from './schemas/AmiRequestBody';
482
494
  export type { AmiTag } from './schemas/AmiTag';
@@ -695,6 +707,8 @@ export type { ResponseAcrBuildDetailsDto } from './schemas/ResponseAcrBuildDetai
695
707
  export type { ResponseAcrRegistriesDto } from './schemas/ResponseAcrRegistriesDto';
696
708
  export type { ResponseAcrRepositoriesDto } from './schemas/ResponseAcrRepositoriesDto';
697
709
  export type { ResponseAcrResponseDto } from './schemas/ResponseAcrResponseDto';
710
+ export type { ResponseAgentDiscoverResponseDto } from './schemas/ResponseAgentDiscoverResponseDto';
711
+ export type { ResponseAgentImportResponseDto } from './schemas/ResponseAgentImportResponseDto';
698
712
  export type { ResponseApiKeyDto } from './schemas/ResponseApiKeyDto';
699
713
  export type { ResponseArtifactSourcesResponseDto } from './schemas/ResponseArtifactSourcesResponseDto';
700
714
  export type { ResponseArtifactoryBuildDetailsDto } from './schemas/ResponseArtifactoryBuildDetailsDto';
@@ -29,6 +29,7 @@ export { deleteToken, useDeleteTokenMutation } from './hooks/useDeleteTokenMutat
29
29
  export { deleteUserSourceCodeManager, useDeleteUserSourceCodeManagerMutation, } from './hooks/useDeleteUserSourceCodeManagerMutation';
30
30
  export { deleteVariable, useDeleteVariableMutation } from './hooks/useDeleteVariableMutation';
31
31
  export { disableTwoFactorAuth, useDisableTwoFactorAuthMutation, } from './hooks/useDisableTwoFactorAuthMutation';
32
+ export { discoverAiAgents, useDiscoverAiAgentsMutation } from './hooks/useDiscoverAiAgentsMutation';
32
33
  export { enableTwoFactorAuth, useEnableTwoFactorAuthMutation, } from './hooks/useEnableTwoFactorAuthMutation';
33
34
  export { executeOnboarding, useExecuteOnboardingMutation, } from './hooks/useExecuteOnboardingMutation';
34
35
  export { forceImportOverride, useForceImportOverrideMutation, } from './hooks/useForceImportOverrideMutation';
@@ -160,6 +161,7 @@ export { getVersionsFromPackages, useGetVersionsFromPackagesQuery, } from './hoo
160
161
  export { getVersionsFromPackagesWithServiceV2, useGetVersionsFromPackagesWithServiceV2Mutation, } from './hooks/useGetVersionsFromPackagesWithServiceV2Mutation';
161
162
  export { getZendeskRedirect, useGetZendeskRedirectQuery } from './hooks/useGetZendeskRedirectQuery';
162
163
  export { helmCmdFlags, useHelmCmdFlagsQuery } from './hooks/useHelmCmdFlagsQuery';
164
+ export { importAiAgent, useImportAiAgentMutation } from './hooks/useImportAiAgentMutation';
163
165
  export { jiraUserSearch, useJiraUserSearchQuery } from './hooks/useJiraUserSearchQuery';
164
166
  export { linkToLdapGroup, useLinkToLdapGroupMutation } from './hooks/useLinkToLdapGroupMutation';
165
167
  export { linkToOidcGroup, useLinkToOidcGroupMutation } from './hooks/useLinkToOidcGroupMutation';
@@ -0,0 +1,8 @@
1
+ import type { AgentScopeDto } from '../schemas/AgentScopeDto';
2
+ export interface AgentCandidateDto {
3
+ cloudId?: string;
4
+ identity?: string;
5
+ image?: string;
6
+ name?: string;
7
+ scope?: AgentScopeDto;
8
+ }
@@ -0,0 +1,4 @@
1
+ export interface AgentConfigVariableDto {
2
+ name?: string;
3
+ value?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,6 @@
1
+ import type { AgentScopeDto } from '../schemas/AgentScopeDto';
2
+ export interface AgentDiscoverRequestDto {
3
+ connectorRef?: string;
4
+ platform?: 'AWS_AGENT_CORE' | 'GOOGLE_AGENT_RUNTIME';
5
+ scope?: AgentScopeDto;
6
+ }
@@ -0,0 +1,4 @@
1
+ import type { AgentCandidateDto } from '../schemas/AgentCandidateDto';
2
+ export interface AgentDiscoverResponseDto {
3
+ candidates?: AgentCandidateDto[];
4
+ }
@@ -0,0 +1,9 @@
1
+ import type { AgentScopeDto } from '../schemas/AgentScopeDto';
2
+ import type { AgentServiceRefDto } from '../schemas/AgentServiceRefDto';
3
+ export interface AgentImportRequestDto {
4
+ cloudId?: string;
5
+ connectorRef?: string;
6
+ platform?: 'AWS_AGENT_CORE' | 'GOOGLE_AGENT_RUNTIME';
7
+ scope?: AgentScopeDto;
8
+ service: AgentServiceRefDto;
9
+ }
@@ -0,0 +1,8 @@
1
+ import type { AgentConfigVariableDto } from '../schemas/AgentConfigVariableDto';
2
+ import type { AgentServiceRefDto } from '../schemas/AgentServiceRefDto';
3
+ export interface AgentImportResponseDto {
4
+ configVariables?: AgentConfigVariableDto[];
5
+ notes?: string[];
6
+ service?: AgentServiceRefDto;
7
+ yaml?: string;
8
+ }
@@ -0,0 +1,5 @@
1
+ export interface AgentScopeDto {
2
+ location?: string;
3
+ projectId?: string;
4
+ region?: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,5 @@
1
+ export interface AgentServiceRefDto {
2
+ description?: string;
3
+ identifier: string;
4
+ name?: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -3,7 +3,7 @@ export interface FeatureRestrictionDetailsDto {
3
3
  allowed?: boolean;
4
4
  description?: string;
5
5
  moduleType?: 'AARP' | 'AASP' | 'AAST' | 'AISEC' | 'AISRE' | 'AI_AGENT_MLOPS' | 'AI_TEST_AUTOMATION' | 'CD' | 'CE' | 'CET' | 'CF' | 'CHAOS' | 'CI' | 'CODE' | 'CORE' | 'CV' | 'DBOPS' | 'DevopsEssentials' | 'FME' | 'GOVERNANCE' | 'HAR' | 'IACM' | 'IDP' | 'PLATFORM' | 'PMS' | 'RMG' | 'SEI' | 'SRM' | 'SSCA' | 'STO' | 'TEMPLATESERVICE';
6
- name?: 'ACTIVE_COMMITTERS' | 'ANALYZE_DEPLOYMENT_STEP' | 'AUDIT_STREAMING_DESTINATION' | 'AZURE_CREATE_ARM_RESOURCE' | 'AZURE_CREATE_BP_RESOURCE' | 'AZURE_ROLLBACK_ARM_RESOURCE' | 'AZURE_SLOT_DEPLOYMENT' | 'AZURE_SWAP_SLOT' | 'AZURE_TRAFFIC_SHIFT' | 'AZURE_WEBAPP_ROLLBACK' | 'BUILDS' | 'CACHE_SIZE_ALLOWANCE' | 'CCM_AUTOSTOPPING_RULES' | 'CCM_K8S_CLUSTERS' | 'COMMAND' | 'CREATE_STACK' | 'CUSTOM_RESOURCE_GROUPS' | 'CUSTOM_ROLES' | 'DATA_SINK' | 'DBOPS_ENABLED' | 'DELETE_STACK' | 'DEPLOYMENTS' | 'DEPLOYMENTS_PER_MONTH' | 'DEPLOYMENT_FREEZE' | 'DEVELOPERS' | 'EVENT_LISTENER' | 'IDP_ACTIVE_DEVELOPERS' | 'INITIAL_DEPLOYMENTS' | 'INTEGRATED_APPROVALS_WITH_CUSTOM_SCRIPT' | 'INTEGRATED_APPROVALS_WITH_HARNESS_UI' | 'INTEGRATED_APPROVALS_WITH_JIRA' | 'INTEGRATED_APPROVALS_WITH_SERVICE_NOW' | 'INVITE_RATE_LIMIT' | 'JENKINS_BUILD' | 'LDAP_SUPPORT' | 'MAX_BUILDS_PER_DAY' | 'MAX_BUILDS_PER_MONTH' | 'MAX_CHAOS_EXPERIMENT_RUNS_PER_MONTH' | 'MAX_CHAOS_INFRASTRUCTURES' | 'MAX_CONCURRENT_ACTIVE_PIPELINE_EXECUTIONS' | 'MAX_DEPLOYMENT_TEMPLATES' | 'MAX_PARALLEL_STEP_IN_A_PIPELINE' | 'MAX_PIPELINE_TIMEOUT_SECONDS' | 'MAX_STAGE_TIMEOUT_SECONDS' | 'MAX_STEP_TIMEOUT_SECONDS' | 'MAX_TOTAL_BUILDS' | 'MONTHLY_ACTIVE_USERS' | 'MULTIPLE_API_KEYS' | 'MULTIPLE_API_TOKENS' | 'MULTIPLE_CONNECTORS' | 'MULTIPLE_ORGANIZATIONS' | 'MULTIPLE_PROJECTS' | 'MULTIPLE_SECRETS' | 'MULTIPLE_SERVICE_ACCOUNTS' | 'MULTIPLE_USERS' | 'MULTIPLE_USER_GROUPS' | 'MULTIPLE_VARIABLES' | 'OAUTH_SUPPORT' | 'OIDC_SUPPORT' | 'PERSPECTIVES' | 'PIPELINE_CHAINING_AVAILABILITY' | 'PIPELINE_EXECUTION_DATA_RETENTION_DAYS' | 'ROLE_ASSIGNMENT' | 'ROLLBACK_STACK' | 'SAML_SUPPORT' | 'SECRET_MANAGERS' | 'SECURITY' | 'SEI_MAX_NUMBER_OF_CONTRIBUTORS' | 'SERVICES' | 'SHELL_SCRIPT_PROVISION' | 'SRM_SERVICES' | 'STRATEGY_MAX_CONCURRENT' | 'SUCCESSFUL_APPLIES' | 'TEMPLATE_SERVICE' | 'TERRAFORM_APPLY' | 'TERRAFORM_CLOUD_ROLLBACK' | 'TERRAFORM_CLOUD_RUN' | 'TERRAFORM_DESTROY' | 'TERRAFORM_PLAN' | 'TERRAFORM_ROLLBACK' | 'TERRAGRUNT_APPLY' | 'TERRAGRUNT_DESTROY' | 'TERRAGRUNT_PLAN' | 'TERRAGRUNT_ROLLBACK' | 'TEST1' | 'TEST2' | 'TEST3' | 'TEST4' | 'TEST5' | 'TEST6' | 'TEST7' | 'TEST_INTELLIGENCE' | 'TWO_FACTOR_AUTH_SUPPORT';
6
+ name?: 'ACTIVE_COMMITTERS' | 'ANALYZE_DEPLOYMENT_STEP' | 'AUDIT_STREAMING_DESTINATION' | 'AZURE_CREATE_ARM_RESOURCE' | 'AZURE_CREATE_BP_RESOURCE' | 'AZURE_ROLLBACK_ARM_RESOURCE' | 'AZURE_SLOT_DEPLOYMENT' | 'AZURE_SWAP_SLOT' | 'AZURE_TRAFFIC_SHIFT' | 'AZURE_WEBAPP_ROLLBACK' | 'BUILDS' | 'CACHE_SIZE_ALLOWANCE' | 'CCM_AUTOSTOPPING_RULES' | 'CCM_K8S_CLUSTERS' | 'COMMAND' | 'CREATE_STACK' | 'CUSTOM_RESOURCE_GROUPS' | 'CUSTOM_ROLES' | 'DATA_SINK' | 'DBOPS_ENABLED' | 'DELETE_STACK' | 'DEPLOYMENTS' | 'DEPLOYMENTS_PER_MONTH' | 'DEPLOYMENT_FREEZE' | 'DEVELOPERS' | 'EVENT_LISTENER' | 'IDP_ACTIVE_DEVELOPERS' | 'INITIAL_DEPLOYMENTS' | 'INTEGRATED_APPROVALS_WITH_CUSTOM_SCRIPT' | 'INTEGRATED_APPROVALS_WITH_HARNESS_UI' | 'INTEGRATED_APPROVALS_WITH_JIRA' | 'INTEGRATED_APPROVALS_WITH_SERVICE_NOW' | 'JENKINS_BUILD' | 'LDAP_SUPPORT' | 'MAX_BUILDS_PER_DAY' | 'MAX_BUILDS_PER_MONTH' | 'MAX_CHAOS_EXPERIMENT_RUNS_PER_MONTH' | 'MAX_CHAOS_INFRASTRUCTURES' | 'MAX_CONCURRENT_ACTIVE_PIPELINE_EXECUTIONS' | 'MAX_DEPLOYMENT_TEMPLATES' | 'MAX_PARALLEL_STEP_IN_A_PIPELINE' | 'MAX_PIPELINE_TIMEOUT_SECONDS' | 'MAX_STAGE_TIMEOUT_SECONDS' | 'MAX_STEP_TIMEOUT_SECONDS' | 'MAX_TOTAL_BUILDS' | 'MONTHLY_ACTIVE_USERS' | 'MULTIPLE_API_KEYS' | 'MULTIPLE_API_TOKENS' | 'MULTIPLE_CONNECTORS' | 'MULTIPLE_ORGANIZATIONS' | 'MULTIPLE_PROJECTS' | 'MULTIPLE_SECRETS' | 'MULTIPLE_SERVICE_ACCOUNTS' | 'MULTIPLE_USERS' | 'MULTIPLE_USER_GROUPS' | 'MULTIPLE_VARIABLES' | 'OAUTH_SUPPORT' | 'OIDC_SUPPORT' | 'PERSPECTIVES' | 'PIPELINE_CHAINING_AVAILABILITY' | 'PIPELINE_EXECUTION_DATA_RETENTION_DAYS' | 'ROLE_ASSIGNMENT' | 'ROLLBACK_STACK' | 'SAML_SUPPORT' | 'SECRET_MANAGERS' | 'SECURITY' | 'SEI_MAX_NUMBER_OF_CONTRIBUTORS' | 'SERVICES' | 'SHELL_SCRIPT_PROVISION' | 'SRM_SERVICES' | 'STRATEGY_MAX_CONCURRENT' | 'SUCCESSFUL_APPLIES' | 'TEMPLATE_SERVICE' | 'TERRAFORM_APPLY' | 'TERRAFORM_CLOUD_ROLLBACK' | 'TERRAFORM_CLOUD_RUN' | 'TERRAFORM_DESTROY' | 'TERRAFORM_PLAN' | 'TERRAFORM_ROLLBACK' | 'TERRAGRUNT_APPLY' | 'TERRAGRUNT_DESTROY' | 'TERRAGRUNT_PLAN' | 'TERRAGRUNT_ROLLBACK' | 'TEST1' | 'TEST2' | 'TEST3' | 'TEST4' | 'TEST5' | 'TEST6' | 'TEST7' | 'TEST_INTELLIGENCE' | 'TWO_FACTOR_AUTH_SUPPORT';
7
7
  restriction?: RestrictionDto;
8
8
  restrictionType?: 'AVAILABILITY' | 'CUSTOM' | 'DURATION' | 'LICENSE_RATE_LIMIT' | 'LICENSE_STATIC_LIMIT' | 'RATE_LIMIT' | 'STATIC_LIMIT';
9
9
  }
@@ -1,8 +1,7 @@
1
1
  import type { LdapConnectionSettings } from '../schemas/LdapConnectionSettings';
2
2
  import type { LdapGroupSettings } from '../schemas/LdapGroupSettings';
3
3
  import type { LdapUserSettings } from '../schemas/LdapUserSettings';
4
- import type { NgAuthSettings } from '../schemas/NgAuthSettings';
5
- export interface LdapSettings extends NgAuthSettings {
4
+ export interface LdapSettings {
6
5
  connectionSettings: LdapConnectionSettings;
7
6
  cronExpression?: string;
8
7
  disabled?: boolean;
@@ -10,5 +9,6 @@ export interface LdapSettings extends NgAuthSettings {
10
9
  groupSettingsList?: LdapGroupSettings[];
11
10
  identifier: string;
12
11
  nextIterations?: number[];
12
+ settingsType?: 'LDAP' | 'OAUTH' | 'OIDC' | 'SAML' | 'USER_PASSWORD';
13
13
  userSettingsList?: LdapUserSettings[];
14
14
  }
@@ -0,0 +1,9 @@
1
+ import type { AgentDiscoverResponseDto } from '../schemas/AgentDiscoverResponseDto';
2
+ export interface ResponseAgentDiscoverResponseDto {
3
+ correlationId?: string;
4
+ data?: AgentDiscoverResponseDto;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { AgentImportResponseDto } from '../schemas/AgentImportResponseDto';
2
+ export interface ResponseAgentImportResponseDto {
3
+ correlationId?: string;
4
+ data?: AgentImportResponseDto;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ng-manager-swagger-service-client",
3
- "version": "1.46.0",
3
+ "version": "1.47.0",
4
4
  "description": "Harness React NG Manager Swagger service client - NG Manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",