@harnessio/react-ng-manager-swagger-service-client 1.36.0 → 1.37.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.
@@ -0,0 +1,19 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseListEntityReferenceSummaryDto } from '../schemas/ResponseListEntityReferenceSummaryDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface GetOrgEntitiesReferredByProjectQueryQueryParams {
6
+ accountIdentifier?: string;
7
+ orgIdentifier?: string;
8
+ projectIdentifier?: string;
9
+ }
10
+ export type GetOrgEntitiesReferredByProjectOkResponse = ResponseWithPagination<ResponseListEntityReferenceSummaryDto>;
11
+ export type GetOrgEntitiesReferredByProjectErrorResponse = unknown;
12
+ export interface GetOrgEntitiesReferredByProjectProps extends Omit<FetcherOptions<GetOrgEntitiesReferredByProjectQueryQueryParams, unknown>, 'url'> {
13
+ queryParams: GetOrgEntitiesReferredByProjectQueryQueryParams;
14
+ }
15
+ export declare function getOrgEntitiesReferredByProject(props: GetOrgEntitiesReferredByProjectProps): Promise<GetOrgEntitiesReferredByProjectOkResponse>;
16
+ /**
17
+ *
18
+ */
19
+ export declare function useGetOrgEntitiesReferredByProjectQuery(props: GetOrgEntitiesReferredByProjectProps, options?: Omit<UseQueryOptions<GetOrgEntitiesReferredByProjectOkResponse, GetOrgEntitiesReferredByProjectErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrgEntitiesReferredByProjectOkResponse, 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 { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getOrgEntitiesReferredByProject(props) {
7
+ return fetcher(Object.assign({ url: `/entitySetupUsage/getOrgEntitiesReferredByProject`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetOrgEntitiesReferredByProjectQuery(props, options) {
13
+ return useQuery(['getOrgEntitiesReferredByProject', props.queryParams], ({ signal }) => getOrgEntitiesReferredByProject(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -215,6 +215,8 @@ export type { GetNgLdapSettingsErrorResponse, GetNgLdapSettingsOkResponse, GetNg
215
215
  export { getNgLdapSettings, useGetNgLdapSettingsQuery } from './hooks/useGetNgLdapSettingsQuery';
216
216
  export type { GetNgLdapSettingsWithEncryptedDataDetail_1ErrorResponse, GetNgLdapSettingsWithEncryptedDataDetail_1OkResponse, GetNgLdapSettingsWithEncryptedDataDetail_1Props, GetNgLdapSettingsWithEncryptedDataDetail_1QueryQueryParams, } from './hooks/useGetNgLdapSettingsWithEncryptedDataDetail_1Query';
217
217
  export { getNgLdapSettingsWithEncryptedDataDetail_1, useGetNgLdapSettingsWithEncryptedDataDetail_1Query, } from './hooks/useGetNgLdapSettingsWithEncryptedDataDetail_1Query';
218
+ export type { GetOrgEntitiesReferredByProjectErrorResponse, GetOrgEntitiesReferredByProjectOkResponse, GetOrgEntitiesReferredByProjectProps, GetOrgEntitiesReferredByProjectQueryQueryParams, } from './hooks/useGetOrgEntitiesReferredByProjectQuery';
219
+ export { getOrgEntitiesReferredByProject, useGetOrgEntitiesReferredByProjectQuery, } from './hooks/useGetOrgEntitiesReferredByProjectQuery';
218
220
  export type { GetOrganizationListErrorResponse, GetOrganizationListOkResponse, GetOrganizationListProps, GetOrganizationListQueryQueryParams, } from './hooks/useGetOrganizationListQuery';
219
221
  export { getOrganizationList, useGetOrganizationListQuery, } from './hooks/useGetOrganizationListQuery';
220
222
  export type { GetPackagesForGoogleArtifactRegistryErrorResponse, GetPackagesForGoogleArtifactRegistryOkResponse, GetPackagesForGoogleArtifactRegistryProps, GetPackagesForGoogleArtifactRegistryQueryQueryParams, } from './hooks/useGetPackagesForGoogleArtifactRegistryQuery';
@@ -490,6 +492,7 @@ export type { EntityDetail } from './schemas/EntityDetail';
490
492
  export type { EntityGitDetails } from './schemas/EntityGitDetails';
491
493
  export type { EntityGitMetadata } from './schemas/EntityGitMetadata';
492
494
  export type { EntityReference } from './schemas/EntityReference';
495
+ export type { EntityReferenceSummaryDto } from './schemas/EntityReferenceSummaryDto';
493
496
  export type { EntitySetupUsageDto } from './schemas/EntitySetupUsageDto';
494
497
  export type { EntityValidityDetails } from './schemas/EntityValidityDetails';
495
498
  export type { EntityWithGitInfo } from './schemas/EntityWithGitInfo';
@@ -666,6 +669,7 @@ export type { ResponseListAzureArtifactsPackage } from './schemas/ResponseListAz
666
669
  export type { ResponseListAzureDevopsProject } from './schemas/ResponseListAzureDevopsProject';
667
670
  export type { ResponseListBucketResponse } from './schemas/ResponseListBucketResponse';
668
671
  export type { ResponseListBuildDetails } from './schemas/ResponseListBuildDetails';
672
+ export type { ResponseListEntityReferenceSummaryDto } from './schemas/ResponseListEntityReferenceSummaryDto';
669
673
  export type { ResponseListEnvironmentResponse } from './schemas/ResponseListEnvironmentResponse';
670
674
  export type { ResponseListFeatureRestrictionDetailsDto } from './schemas/ResponseListFeatureRestrictionDetailsDto';
671
675
  export type { ResponseListFilePaths } from './schemas/ResponseListFilePaths';
@@ -106,6 +106,7 @@ export { getListOfAllReposByRefConnector, useGetListOfAllReposByRefConnectorQuer
106
106
  export { getListOfReposByRefConnector, useGetListOfReposByRefConnectorQuery, } from './hooks/useGetListOfReposByRefConnectorQuery';
107
107
  export { getNgLdapSettings, useGetNgLdapSettingsQuery } from './hooks/useGetNgLdapSettingsQuery';
108
108
  export { getNgLdapSettingsWithEncryptedDataDetail_1, useGetNgLdapSettingsWithEncryptedDataDetail_1Query, } from './hooks/useGetNgLdapSettingsWithEncryptedDataDetail_1Query';
109
+ export { getOrgEntitiesReferredByProject, useGetOrgEntitiesReferredByProjectQuery, } from './hooks/useGetOrgEntitiesReferredByProjectQuery';
109
110
  export { getOrganizationList, useGetOrganizationListQuery, } from './hooks/useGetOrganizationListQuery';
110
111
  export { getPackagesForGoogleArtifactRegistry, useGetPackagesForGoogleArtifactRegistryQuery, } from './hooks/useGetPackagesForGoogleArtifactRegistryQuery';
111
112
  export { getPackagesForGoogleArtifactRegistryV2, useGetPackagesForGoogleArtifactRegistryV2Mutation, } from './hooks/useGetPackagesForGoogleArtifactRegistryV2Mutation';
@@ -0,0 +1,7 @@
1
+ export interface EntityReferenceSummaryDto {
2
+ /**
3
+ * @format int32
4
+ */
5
+ count?: number;
6
+ referredEntityType?: string;
7
+ }
@@ -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,9 @@
1
+ import type { EntityReferenceSummaryDto } from '../schemas/EntityReferenceSummaryDto';
2
+ export interface ResponseListEntityReferenceSummaryDto {
3
+ correlationId?: string;
4
+ data?: EntityReferenceSummaryDto[];
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.36.0",
3
+ "version": "1.37.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",