@harnessio/react-ng-manager-swagger-service-client 1.46.0 → 1.48.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 (42) 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/useGetServiceNowStagingTablesQuery.d.ts +31 -0
  4. package/dist/ng-manager-swagger-service/src/services/hooks/useGetServiceNowStagingTablesQuery.js +14 -0
  5. package/dist/ng-manager-swagger-service/src/services/hooks/useImportAiAgentMutation.d.ts +22 -0
  6. package/dist/ng-manager-swagger-service/src/services/hooks/useImportAiAgentMutation.js +14 -0
  7. package/dist/ng-manager-swagger-service/src/services/hooks/useUploadKubeConfigMutation.d.ts +2 -1
  8. package/dist/ng-manager-swagger-service/src/services/index.d.ts +20 -0
  9. package/dist/ng-manager-swagger-service/src/services/index.js +3 -0
  10. package/dist/ng-manager-swagger-service/src/services/requestBodies/UploadOnboardingSecretFileRequestBody.d.ts +1 -0
  11. package/dist/ng-manager-swagger-service/src/services/requestBodies/UploadOnboardingSecretFileRequestBody.js +1 -0
  12. package/dist/ng-manager-swagger-service/src/services/schemas/AgentCandidateDto.d.ts +8 -0
  13. package/dist/ng-manager-swagger-service/src/services/schemas/AgentCandidateDto.js +1 -0
  14. package/dist/ng-manager-swagger-service/src/services/schemas/AgentConfigVariableDto.d.ts +4 -0
  15. package/dist/ng-manager-swagger-service/src/services/schemas/AgentConfigVariableDto.js +4 -0
  16. package/dist/ng-manager-swagger-service/src/services/schemas/AgentDiscoverRequestDto.d.ts +6 -0
  17. package/dist/ng-manager-swagger-service/src/services/schemas/AgentDiscoverRequestDto.js +1 -0
  18. package/dist/ng-manager-swagger-service/src/services/schemas/AgentDiscoverResponseDto.d.ts +4 -0
  19. package/dist/ng-manager-swagger-service/src/services/schemas/AgentDiscoverResponseDto.js +1 -0
  20. package/dist/ng-manager-swagger-service/src/services/schemas/AgentImportRequestDto.d.ts +9 -0
  21. package/dist/ng-manager-swagger-service/src/services/schemas/AgentImportRequestDto.js +1 -0
  22. package/dist/ng-manager-swagger-service/src/services/schemas/AgentImportResponseDto.d.ts +8 -0
  23. package/dist/ng-manager-swagger-service/src/services/schemas/AgentImportResponseDto.js +1 -0
  24. package/dist/ng-manager-swagger-service/src/services/schemas/AgentScopeDto.d.ts +5 -0
  25. package/dist/ng-manager-swagger-service/src/services/schemas/AgentScopeDto.js +4 -0
  26. package/dist/ng-manager-swagger-service/src/services/schemas/AgentServiceRefDto.d.ts +5 -0
  27. package/dist/ng-manager-swagger-service/src/services/schemas/AgentServiceRefDto.js +4 -0
  28. package/dist/ng-manager-swagger-service/src/services/schemas/CcmConnectorFilter.d.ts +2 -2
  29. package/dist/ng-manager-swagger-service/src/services/schemas/DiscoveryStatusDto.d.ts +5 -0
  30. package/dist/ng-manager-swagger-service/src/services/schemas/DiscoveryStatusDto.js +4 -0
  31. package/dist/ng-manager-swagger-service/src/services/schemas/InfrastructureResponseDto.d.ts +2 -0
  32. package/dist/ng-manager-swagger-service/src/services/schemas/ManifestConfig.d.ts +1 -1
  33. package/dist/ng-manager-swagger-service/src/services/schemas/OnboardingContextDto.d.ts +11 -0
  34. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAgentDiscoverResponseDto.d.ts +9 -0
  35. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAgentDiscoverResponseDto.js +1 -0
  36. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAgentImportResponseDto.d.ts +9 -0
  37. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAgentImportResponseDto.js +1 -0
  38. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListServiceNowStagingTable.d.ts +9 -0
  39. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListServiceNowStagingTable.js +1 -0
  40. package/dist/ng-manager-swagger-service/src/services/schemas/ServiceNowStagingTable.d.ts +4 -0
  41. package/dist/ng-manager-swagger-service/src/services/schemas/ServiceNowStagingTable.js +4 -0
  42. 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,31 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseListServiceNowStagingTable } from '../schemas/ResponseListServiceNowStagingTable';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface GetServiceNowStagingTablesQueryQueryParams {
8
+ connectorRef: string;
9
+ accountIdentifier: string;
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ branch?: string;
13
+ repoIdentifier?: string;
14
+ getDefaultFromOtherRepo?: boolean;
15
+ parentEntityConnectorRef?: string;
16
+ parentEntityRepoName?: string;
17
+ parentEntityAccountIdentifier?: string;
18
+ parentEntityOrgIdentifier?: string;
19
+ parentEntityProjectIdentifier?: string;
20
+ repoName?: string;
21
+ }
22
+ export type GetServiceNowStagingTablesOkResponse = ResponseWithPagination<ResponseListServiceNowStagingTable>;
23
+ export type GetServiceNowStagingTablesErrorResponse = Failure | Error;
24
+ export interface GetServiceNowStagingTablesProps extends Omit<FetcherOptions<GetServiceNowStagingTablesQueryQueryParams, unknown>, 'url'> {
25
+ queryParams: GetServiceNowStagingTablesQueryQueryParams;
26
+ }
27
+ export declare function getServiceNowStagingTables(props: GetServiceNowStagingTablesProps): Promise<GetServiceNowStagingTablesOkResponse>;
28
+ /**
29
+ *
30
+ */
31
+ export declare function useGetServiceNowStagingTablesQuery(props: GetServiceNowStagingTablesProps, options?: Omit<UseQueryOptions<GetServiceNowStagingTablesOkResponse, GetServiceNowStagingTablesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetServiceNowStagingTablesOkResponse, GetServiceNowStagingTablesErrorResponse>;
@@ -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 { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getServiceNowStagingTables(props) {
7
+ return fetcher(Object.assign({ url: `/servicenow/stagingTable`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetServiceNowStagingTablesQuery(props, options) {
13
+ return useQuery(['getServiceNowStagingTables', props.queryParams], ({ signal }) => getServiceNowStagingTables(Object.assign(Object.assign({}, props), { signal })), 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
+ }
@@ -2,6 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
2
2
  import type { ResponseKubeconfigUploadResponseDto } from '../schemas/ResponseKubeconfigUploadResponseDto';
3
3
  import type { Failure } from '../schemas/Failure';
4
4
  import type { Error } from '../schemas/Error';
5
+ import type { UploadOnboardingSecretFileRequestBody } from '../requestBodies/UploadOnboardingSecretFileRequestBody';
5
6
  import type { ResponseWithPagination } from '../helpers';
6
7
  import { FetcherOptions } from '../../../../fetcher/index.js';
7
8
  export interface UploadKubeConfigMutationQueryParams {
@@ -9,7 +10,7 @@ export interface UploadKubeConfigMutationQueryParams {
9
10
  orgIdentifier?: string;
10
11
  projectIdentifier?: string;
11
12
  }
12
- export type UploadKubeConfigRequestBody = unknown;
13
+ export type UploadKubeConfigRequestBody = UploadOnboardingSecretFileRequestBody;
13
14
  export type UploadKubeConfigOkResponse = ResponseWithPagination<ResponseKubeconfigUploadResponseDto>;
14
15
  export type UploadKubeConfigErrorResponse = Failure | Error;
15
16
  export interface UploadKubeConfigProps extends Omit<FetcherOptions<UploadKubeConfigMutationQueryParams, UploadKubeConfigRequestBody>, 'url'> {
@@ -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';
@@ -279,6 +281,8 @@ export type { GetServiceListErrorResponse, GetServiceListOkResponse, GetServiceL
279
281
  export { getServiceList, useGetServiceListQuery } from './hooks/useGetServiceListQuery';
280
282
  export type { GetServiceNowIssueMetadataErrorResponse, GetServiceNowIssueMetadataOkResponse, GetServiceNowIssueMetadataProps, GetServiceNowIssueMetadataQueryQueryParams, } from './hooks/useGetServiceNowIssueMetadataQuery';
281
283
  export { getServiceNowIssueMetadata, useGetServiceNowIssueMetadataQuery, } from './hooks/useGetServiceNowIssueMetadataQuery';
284
+ export type { GetServiceNowStagingTablesErrorResponse, GetServiceNowStagingTablesOkResponse, GetServiceNowStagingTablesProps, GetServiceNowStagingTablesQueryQueryParams, } from './hooks/useGetServiceNowStagingTablesQuery';
285
+ export { getServiceNowStagingTables, useGetServiceNowStagingTablesQuery, } from './hooks/useGetServiceNowStagingTablesQuery';
282
286
  export type { GetServiceNowTicketTypesV2ErrorResponse, GetServiceNowTicketTypesV2OkResponse, GetServiceNowTicketTypesV2Props, GetServiceNowTicketTypesV2QueryQueryParams, } from './hooks/useGetServiceNowTicketTypesV2Query';
283
287
  export { getServiceNowTicketTypesV2, useGetServiceNowTicketTypesV2Query, } from './hooks/useGetServiceNowTicketTypesV2Query';
284
288
  export type { GetServiceOverrideListV3ErrorResponse, GetServiceOverrideListV3MutationQueryParams, GetServiceOverrideListV3OkResponse, GetServiceOverrideListV3Props, GetServiceOverrideListV3RequestBody, } from './hooks/useGetServiceOverrideListV3Mutation';
@@ -323,6 +327,8 @@ export type { GetZendeskRedirectErrorResponse, GetZendeskRedirectOkResponse, Get
323
327
  export { getZendeskRedirect, useGetZendeskRedirectQuery } from './hooks/useGetZendeskRedirectQuery';
324
328
  export type { HelmCmdFlagsErrorResponse, HelmCmdFlagsOkResponse, HelmCmdFlagsProps, HelmCmdFlagsQueryQueryParams, } from './hooks/useHelmCmdFlagsQuery';
325
329
  export { helmCmdFlags, useHelmCmdFlagsQuery } from './hooks/useHelmCmdFlagsQuery';
330
+ export type { ImportAiAgentErrorResponse, ImportAiAgentMutationQueryParams, ImportAiAgentOkResponse, ImportAiAgentProps, ImportAiAgentRequestBody, } from './hooks/useImportAiAgentMutation';
331
+ export { importAiAgent, useImportAiAgentMutation } from './hooks/useImportAiAgentMutation';
326
332
  export type { JiraUserSearchErrorResponse, JiraUserSearchOkResponse, JiraUserSearchProps, JiraUserSearchQueryQueryParams, } from './hooks/useJiraUserSearchQuery';
327
333
  export { jiraUserSearch, useJiraUserSearchQuery } from './hooks/useJiraUserSearchQuery';
328
334
  export type { LinkToLdapGroupErrorResponse, LinkToLdapGroupMutationPathParams, LinkToLdapGroupMutationQueryParams, LinkToLdapGroupOkResponse, LinkToLdapGroupProps, LinkToLdapGroupRequestBody, } from './hooks/useLinkToLdapGroupMutation';
@@ -465,6 +471,7 @@ export type { ProjectRequestRequestBody } from './requestBodies/ProjectRequestRe
465
471
  export type { ServiceOverrideRequestDtov2RequestBody } from './requestBodies/ServiceOverrideRequestDtov2RequestBody';
466
472
  export type { ServiceRequestDtoRequestBody } from './requestBodies/ServiceRequestDtoRequestBody';
467
473
  export type { TokenDtoRequestBody } from './requestBodies/TokenDtoRequestBody';
474
+ export type { UploadOnboardingSecretFileRequestBody } from './requestBodies/UploadOnboardingSecretFileRequestBody';
468
475
  export type { UserGroupFilterDtoRequestBody } from './requestBodies/UserGroupFilterDtoRequestBody';
469
476
  export type { UserSourceCodeManagerRequestDtoRequestBody } from './requestBodies/UserSourceCodeManagerRequestDtoRequestBody';
470
477
  export type { VariableRequestDtoRequestBody } from './requestBodies/VariableRequestDtoRequestBody';
@@ -477,6 +484,14 @@ export type { AcrRepositoryDto } from './schemas/AcrRepositoryDto';
477
484
  export type { AcrRequestDto } from './schemas/AcrRequestDto';
478
485
  export type { AcrResponseDto } from './schemas/AcrResponseDto';
479
486
  export type { AdditionalMetadata } from './schemas/AdditionalMetadata';
487
+ export type { AgentCandidateDto } from './schemas/AgentCandidateDto';
488
+ export type { AgentConfigVariableDto } from './schemas/AgentConfigVariableDto';
489
+ export type { AgentDiscoverRequestDto } from './schemas/AgentDiscoverRequestDto';
490
+ export type { AgentDiscoverResponseDto } from './schemas/AgentDiscoverResponseDto';
491
+ export type { AgentImportRequestDto } from './schemas/AgentImportRequestDto';
492
+ export type { AgentImportResponseDto } from './schemas/AgentImportResponseDto';
493
+ export type { AgentScopeDto } from './schemas/AgentScopeDto';
494
+ export type { AgentServiceRefDto } from './schemas/AgentServiceRefDto';
480
495
  export type { AmiFilter } from './schemas/AmiFilter';
481
496
  export type { AmiRequestBody } from './schemas/AmiRequestBody';
482
497
  export type { AmiTag } from './schemas/AmiTag';
@@ -530,6 +545,7 @@ export type { CreateUserDto } from './schemas/CreateUserDto';
530
545
  export type { CustomScriptInfo } from './schemas/CustomScriptInfo';
531
546
  export type { DestinationEnvironmentConfig } from './schemas/DestinationEnvironmentConfig';
532
547
  export type { DestinationServiceConfig } from './schemas/DestinationServiceConfig';
548
+ export type { DiscoveryStatusDto } from './schemas/DiscoveryStatusDto';
533
549
  export type { DockerBuildDetailsDto } from './schemas/DockerBuildDetailsDto';
534
550
  export type { DockerRequestDto } from './schemas/DockerRequestDto';
535
551
  export type { DockerResponseDto } from './schemas/DockerResponseDto';
@@ -695,6 +711,8 @@ export type { ResponseAcrBuildDetailsDto } from './schemas/ResponseAcrBuildDetai
695
711
  export type { ResponseAcrRegistriesDto } from './schemas/ResponseAcrRegistriesDto';
696
712
  export type { ResponseAcrRepositoriesDto } from './schemas/ResponseAcrRepositoriesDto';
697
713
  export type { ResponseAcrResponseDto } from './schemas/ResponseAcrResponseDto';
714
+ export type { ResponseAgentDiscoverResponseDto } from './schemas/ResponseAgentDiscoverResponseDto';
715
+ export type { ResponseAgentImportResponseDto } from './schemas/ResponseAgentImportResponseDto';
698
716
  export type { ResponseApiKeyDto } from './schemas/ResponseApiKeyDto';
699
717
  export type { ResponseArtifactSourcesResponseDto } from './schemas/ResponseArtifactSourcesResponseDto';
700
718
  export type { ResponseArtifactoryBuildDetailsDto } from './schemas/ResponseArtifactoryBuildDetailsDto';
@@ -763,6 +781,7 @@ export type { ResponseListRegionGar } from './schemas/ResponseListRegionGar';
763
781
  export type { ResponseListScopeName } from './schemas/ResponseListScopeName';
764
782
  export type { ResponseListServiceDefinitionType } from './schemas/ResponseListServiceDefinitionType';
765
783
  export type { ResponseListServiceNowFieldNg } from './schemas/ResponseListServiceNowFieldNg';
784
+ export type { ResponseListServiceNowStagingTable } from './schemas/ResponseListServiceNowStagingTable';
766
785
  export type { ResponseListServiceNowTicketTypeDto } from './schemas/ResponseListServiceNowTicketTypeDto';
767
786
  export type { ResponseListServiceResponse } from './schemas/ResponseListServiceResponse';
768
787
  export type { ResponseListString } from './schemas/ResponseListString';
@@ -843,6 +862,7 @@ export type { ServiceDashboardResponseDto } from './schemas/ServiceDashboardResp
843
862
  export type { ServiceNowFieldAllowedValueNg } from './schemas/ServiceNowFieldAllowedValueNg';
844
863
  export type { ServiceNowFieldNg } from './schemas/ServiceNowFieldNg';
845
864
  export type { ServiceNowFieldSchemaNg } from './schemas/ServiceNowFieldSchemaNg';
865
+ export type { ServiceNowStagingTable } from './schemas/ServiceNowStagingTable';
846
866
  export type { ServiceNowTicketTypeDto } from './schemas/ServiceNowTicketTypeDto';
847
867
  export type { ServiceOverrideRequestDtov2 } from './schemas/ServiceOverrideRequestDtov2';
848
868
  export type { ServiceOverridesMetadata } from './schemas/ServiceOverridesMetadata';
@@ -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';
@@ -138,6 +139,7 @@ export { getServiceAccessList, useGetServiceAccessListQuery, } from './hooks/use
138
139
  export { getServiceDefinitionTypes, useGetServiceDefinitionTypesQuery, } from './hooks/useGetServiceDefinitionTypesQuery';
139
140
  export { getServiceList, useGetServiceListQuery } from './hooks/useGetServiceListQuery';
140
141
  export { getServiceNowIssueMetadata, useGetServiceNowIssueMetadataQuery, } from './hooks/useGetServiceNowIssueMetadataQuery';
142
+ export { getServiceNowStagingTables, useGetServiceNowStagingTablesQuery, } from './hooks/useGetServiceNowStagingTablesQuery';
141
143
  export { getServiceNowTicketTypesV2, useGetServiceNowTicketTypesV2Query, } from './hooks/useGetServiceNowTicketTypesV2Query';
142
144
  export { getServiceOverrideListV3, useGetServiceOverrideListV3Mutation, } from './hooks/useGetServiceOverrideListV3Mutation';
143
145
  export { getServiceOverrides, useGetServiceOverridesQuery, } from './hooks/useGetServiceOverridesQuery';
@@ -160,6 +162,7 @@ export { getVersionsFromPackages, useGetVersionsFromPackagesQuery, } from './hoo
160
162
  export { getVersionsFromPackagesWithServiceV2, useGetVersionsFromPackagesWithServiceV2Mutation, } from './hooks/useGetVersionsFromPackagesWithServiceV2Mutation';
161
163
  export { getZendeskRedirect, useGetZendeskRedirectQuery } from './hooks/useGetZendeskRedirectQuery';
162
164
  export { helmCmdFlags, useHelmCmdFlagsQuery } from './hooks/useHelmCmdFlagsQuery';
165
+ export { importAiAgent, useImportAiAgentMutation } from './hooks/useImportAiAgentMutation';
163
166
  export { jiraUserSearch, useJiraUserSearchQuery } from './hooks/useJiraUserSearchQuery';
164
167
  export { linkToLdapGroup, useLinkToLdapGroupMutation } from './hooks/useLinkToLdapGroupMutation';
165
168
  export { linkToOidcGroup, useLinkToOidcGroupMutation } from './hooks/useLinkToOidcGroupMutation';
@@ -0,0 +1 @@
1
+ export type UploadOnboardingSecretFileRequestBody = unknown;
@@ -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,8 +3,8 @@ export interface CcmConnectorFilter {
3
3
  awsAccountIds?: string[];
4
4
  azureSubscriptionId?: string;
5
5
  azureTenantId?: string;
6
- featuresDisabled?: Array<'BILLING' | 'CLUSTER_ORCHESTRATOR' | 'COMMITMENT_ORCHESTRATOR' | 'GOVERNANCE' | 'OPTIMIZATION' | 'VISIBILITY'>;
7
- featuresEnabled?: Array<'BILLING' | 'CLUSTER_ORCHESTRATOR' | 'COMMITMENT_ORCHESTRATOR' | 'GOVERNANCE' | 'OPTIMIZATION' | 'VISIBILITY'>;
6
+ featuresDisabled?: Array<'AI_GOVERNANCE' | 'BILLING' | 'CLUSTER_ORCHESTRATOR' | 'COMMITMENT_ORCHESTRATOR' | 'GOVERNANCE' | 'OPTIMIZATION' | 'VISIBILITY'>;
7
+ featuresEnabled?: Array<'AI_GOVERNANCE' | 'BILLING' | 'CLUSTER_ORCHESTRATOR' | 'COMMITMENT_ORCHESTRATOR' | 'GOVERNANCE' | 'OPTIMIZATION' | 'VISIBILITY'>;
8
8
  gcpProjectId?: string;
9
9
  k8sConnectorRef?: string[];
10
10
  }
@@ -0,0 +1,5 @@
1
+ export interface DiscoveryStatusDto {
2
+ agentId?: string;
3
+ lastSyncedAt?: string;
4
+ state?: 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 {};
@@ -1,4 +1,5 @@
1
1
  import type { CacheResponseMetadata } from '../schemas/CacheResponseMetadata';
2
+ import type { DiscoveryStatusDto } from '../schemas/DiscoveryStatusDto';
2
3
  import type { EntityGitDetails } from '../schemas/EntityGitDetails';
3
4
  export interface InfrastructureResponseDto {
4
5
  accountId?: string;
@@ -6,6 +7,7 @@ export interface InfrastructureResponseDto {
6
7
  connectorRef?: string;
7
8
  deploymentType?: 'AWS_SAM' | 'AiAgent' | 'Asg' | 'AwsAgentCore' | 'AwsLambda' | 'AzureContainerApps' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleAgentRuntime' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'Kubernetes' | 'NativeHelm' | 'SERVICE_YAML_V1_TYPE' | 'Salesforce' | 'ServerlessAwsLambda' | 'Ssh' | 'TAS' | 'WinRm';
8
9
  description?: string;
10
+ discoveryStatus?: DiscoveryStatusDto;
9
11
  entityGitDetails?: EntityGitDetails;
10
12
  environmentRef?: string;
11
13
  fallbackBranch?: string;
@@ -2,5 +2,5 @@ import type { ManifestAttributes } from '../schemas/ManifestAttributes';
2
2
  export interface ManifestConfig {
3
3
  identifier: string;
4
4
  spec: ManifestAttributes;
5
- type: 'AgentConfig' | 'AsgAdditionalConfiguration' | 'AsgConfiguration' | 'AsgLaunchTemplate' | 'AsgScalingPolicy' | 'AsgScheduledUpdateGroupAction' | 'AwsLambdaFunctionAliasDefinition' | 'AwsLambdaFunctionDefinition' | 'AwsSamDirectory' | 'AzureContainerAppsConfiguration' | 'DeploymentRepo' | 'EcsScalableTargetDefinition' | 'EcsScalingPolicyDefinition' | 'EcsScheduledActionDefinition' | 'EcsServiceDefinition' | 'EcsTaskDefinition' | 'GoogleCloudFunctionDefinition' | 'GoogleCloudFunctionGenOneDefinition' | 'GoogleCloudRunJob' | 'GoogleCloudRunService' | 'GoogleMigAutoscalerConfiguration' | 'GoogleMigConfiguration' | 'GoogleMigHealthCheckConfiguration' | 'GoogleMigInstanceTemplate' | 'HelmChart' | 'HelmRepoOverride' | 'K8sManifest' | 'Kustomize' | 'KustomizePatches' | 'OpenshiftParam' | 'OpenshiftTemplate' | 'ReleaseRepo' | 'SalesforceManifest' | 'ServerlessAwsLambda' | 'TasAutoScaler' | 'TasManifest' | 'TasVars' | 'Values';
5
+ type: 'AgentConfig' | 'AsgAdditionalConfiguration' | 'AsgConfiguration' | 'AsgLaunchTemplate' | 'AsgScalingPolicy' | 'AsgScheduledUpdateGroupAction' | 'AwsLambdaFunctionAliasDefinition' | 'AwsLambdaFunctionDefinition' | 'AwsSamDirectory' | 'AzureContainerAppsConfiguration' | 'DeploymentRepo' | 'EcsCloudWatchAlarmDefinition' | 'EcsScalableTargetDefinition' | 'EcsScalingPolicyDefinition' | 'EcsScheduledActionDefinition' | 'EcsServiceDefinition' | 'EcsTaskDefinition' | 'GoogleCloudFunctionDefinition' | 'GoogleCloudFunctionGenOneDefinition' | 'GoogleCloudRunJob' | 'GoogleCloudRunService' | 'GoogleMigAutoscalerConfiguration' | 'GoogleMigConfiguration' | 'GoogleMigHealthCheckConfiguration' | 'GoogleMigInstanceTemplate' | 'HelmChart' | 'HelmRepoOverride' | 'K8sManifest' | 'Kustomize' | 'KustomizePatches' | 'OpenshiftParam' | 'OpenshiftTemplate' | 'ReleaseRepo' | 'SalesforceManifest' | 'ServerlessAwsLambda' | 'TasAutoScaler' | 'TasManifest' | 'TasVars' | 'Values';
6
6
  }
@@ -1,10 +1,13 @@
1
1
  export interface OnboardingContextDto {
2
2
  artifact_accessKey?: string;
3
3
  artifact_artifactoryServerUrl?: string;
4
+ artifact_connectorRef?: string;
4
5
  artifact_id?: string;
5
6
  artifact_imagePath?: string;
6
7
  artifact_password?: string;
8
+ artifact_providerType?: 'DockerHub' | 'Harbor' | 'Other' | 'Quay';
7
9
  artifact_region?: string;
10
+ artifact_registryUrl?: string;
8
11
  artifact_repository?: string;
9
12
  artifact_secretKey?: string;
10
13
  artifact_sessionKey?: string;
@@ -17,12 +20,19 @@ export interface OnboardingContextDto {
17
20
  env_type?: string;
18
21
  environment_identifier?: string;
19
22
  infra_authType?: string;
23
+ infra_awsAccessKey?: string;
24
+ infra_awsSecretKey?: string;
25
+ infra_awsSessionToken?: string;
26
+ infra_cluster?: string;
20
27
  infra_clusterUrl?: string;
21
28
  infra_connectorType?: string;
22
29
  infra_credentialType?: string;
30
+ infra_gcpCredentialSecretRef?: string;
23
31
  infra_id?: string;
24
32
  infra_name?: string;
25
33
  infra_namespace?: string;
34
+ infra_project?: string;
35
+ infra_region?: string;
26
36
  infra_releaseName?: string;
27
37
  infra_serviceAccountToken?: string;
28
38
  infra_type?: string;
@@ -30,6 +40,7 @@ export interface OnboardingContextDto {
30
40
  manifest_authType?: 'OAuth' | 'UsernamePassword' | 'UsernameToken';
31
41
  manifest_branch?: string;
32
42
  manifest_commitId?: string;
43
+ manifest_connectorRef?: string;
33
44
  manifest_fetchType?: 'branch' | 'commit';
34
45
  manifest_id?: string;
35
46
  manifest_paths?: string;
@@ -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
+ }
@@ -0,0 +1,9 @@
1
+ import type { ServiceNowStagingTable } from '../schemas/ServiceNowStagingTable';
2
+ export interface ResponseListServiceNowStagingTable {
3
+ correlationId?: string;
4
+ data?: ServiceNowStagingTable[];
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,4 @@
1
+ export interface ServiceNowStagingTable {
2
+ label: string;
3
+ name: 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 {};
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.48.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",