@harnessio/react-ng-manager-swagger-service-client 1.55.1 → 1.56.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.
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetGlobalFreezeWithBannerDetailsQuery.d.ts +21 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetGlobalFreezeWithBannerDetailsQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/index.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/index.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/CurrentOrUpcomingWindow.d.ts +10 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/CurrentOrUpcomingWindow.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/FreezeBannerDetails.d.ts +13 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/FreezeBannerDetails.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/FreezeWindow.d.ts +8 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/FreezeWindow.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GlobalFreezeBannerDetailsResponseDto.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GlobalFreezeBannerDetailsResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/Recurrence.d.ts +5 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/Recurrence.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/RecurrenceSpec.d.ts +7 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/RecurrenceSpec.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGlobalFreezeBannerDetailsResponseDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGlobalFreezeBannerDetailsResponseDto.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseGlobalFreezeBannerDetailsResponseDto } from '../schemas/ResponseGlobalFreezeBannerDetailsResponseDto';
|
|
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 GetGlobalFreezeWithBannerDetailsQueryQueryParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
orgIdentifier?: string;
|
|
10
|
+
projectIdentifier?: string;
|
|
11
|
+
}
|
|
12
|
+
export type GetGlobalFreezeWithBannerDetailsOkResponse = ResponseWithPagination<ResponseGlobalFreezeBannerDetailsResponseDto>;
|
|
13
|
+
export type GetGlobalFreezeWithBannerDetailsErrorResponse = Failure | Error;
|
|
14
|
+
export interface GetGlobalFreezeWithBannerDetailsProps extends Omit<FetcherOptions<GetGlobalFreezeWithBannerDetailsQueryQueryParams, unknown>, 'url'> {
|
|
15
|
+
queryParams: GetGlobalFreezeWithBannerDetailsQueryQueryParams;
|
|
16
|
+
}
|
|
17
|
+
export declare function getGlobalFreezeWithBannerDetails(props: GetGlobalFreezeWithBannerDetailsProps): Promise<GetGlobalFreezeWithBannerDetailsOkResponse>;
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export declare function useGetGlobalFreezeWithBannerDetailsQuery(props: GetGlobalFreezeWithBannerDetailsProps, options?: Omit<UseQueryOptions<GetGlobalFreezeWithBannerDetailsOkResponse, GetGlobalFreezeWithBannerDetailsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetGlobalFreezeWithBannerDetailsOkResponse, GetGlobalFreezeWithBannerDetailsErrorResponse>;
|
|
@@ -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 getGlobalFreezeWithBannerDetails(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/freeze/getGlobalFreezeWithBannerDetails`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetGlobalFreezeWithBannerDetailsQuery(props, options) {
|
|
13
|
+
return useQuery(['getGlobalFreezeWithBannerDetails', props.queryParams], ({ signal }) => getGlobalFreezeWithBannerDetails(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -165,6 +165,8 @@ export type { GetGcsBucketListErrorResponse, GetGcsBucketListOkResponse, GetGcsB
|
|
|
165
165
|
export { getGcsBucketList, useGetGcsBucketListQuery } from './hooks/useGetGcsBucketListQuery';
|
|
166
166
|
export type { GetGcsBucketsErrorResponse, GetGcsBucketsMutationQueryParams, GetGcsBucketsOkResponse, GetGcsBucketsProps, GetGcsBucketsRequestBody, } from './hooks/useGetGcsBucketsMutation';
|
|
167
167
|
export { getGcsBuckets, useGetGcsBucketsMutation } from './hooks/useGetGcsBucketsMutation';
|
|
168
|
+
export type { GetGlobalFreezeWithBannerDetailsErrorResponse, GetGlobalFreezeWithBannerDetailsOkResponse, GetGlobalFreezeWithBannerDetailsProps, GetGlobalFreezeWithBannerDetailsQueryQueryParams, } from './hooks/useGetGlobalFreezeWithBannerDetailsQuery';
|
|
169
|
+
export { getGlobalFreezeWithBannerDetails, useGetGlobalFreezeWithBannerDetailsQuery, } from './hooks/useGetGlobalFreezeWithBannerDetailsQuery';
|
|
168
170
|
export type { GetGroupIdsErrorResponse, GetGroupIdsMutationQueryParams, GetGroupIdsOkResponse, GetGroupIdsProps, GetGroupIdsRequestBody, } from './hooks/useGetGroupIdsMutation';
|
|
169
171
|
export { getGroupIds, useGetGroupIdsMutation } from './hooks/useGetGroupIdsMutation';
|
|
170
172
|
export type { GetHelmChartVersionDetailsErrorResponse, GetHelmChartVersionDetailsOkResponse, GetHelmChartVersionDetailsProps, GetHelmChartVersionDetailsQueryQueryParams, } from './hooks/useGetHelmChartVersionDetailsQuery';
|
|
@@ -565,6 +567,7 @@ export type { ConnectorResponse } from './schemas/ConnectorResponse';
|
|
|
565
567
|
export type { CreateProviderRequestDto } from './schemas/CreateProviderRequestDto';
|
|
566
568
|
export type { CreateProviderResponse } from './schemas/CreateProviderResponse';
|
|
567
569
|
export type { CreateUserDto } from './schemas/CreateUserDto';
|
|
570
|
+
export type { CurrentOrUpcomingWindow } from './schemas/CurrentOrUpcomingWindow';
|
|
568
571
|
export type { CustomScriptInfo } from './schemas/CustomScriptInfo';
|
|
569
572
|
export type { DestinationEnvironmentConfig } from './schemas/DestinationEnvironmentConfig';
|
|
570
573
|
export type { DestinationServiceConfig } from './schemas/DestinationServiceConfig';
|
|
@@ -614,7 +617,9 @@ export type { FilterProperties } from './schemas/FilterProperties';
|
|
|
614
617
|
export type { ForceImportGovernanceResponse } from './schemas/ForceImportGovernanceResponse';
|
|
615
618
|
export type { ForceImportOverridesRequest } from './schemas/ForceImportOverridesRequest';
|
|
616
619
|
export type { ForceImportOverridesResponse } from './schemas/ForceImportOverridesResponse';
|
|
620
|
+
export type { FreezeBannerDetails } from './schemas/FreezeBannerDetails';
|
|
617
621
|
export type { FreezeReference } from './schemas/FreezeReference';
|
|
622
|
+
export type { FreezeWindow } from './schemas/FreezeWindow';
|
|
618
623
|
export type { GarBuildDetailsDto } from './schemas/GarBuildDetailsDto';
|
|
619
624
|
export type { GarPackageDto } from './schemas/GarPackageDto';
|
|
620
625
|
export type { GarPackageDtoList } from './schemas/GarPackageDtoList';
|
|
@@ -631,6 +636,7 @@ export type { GitListRepositoryResponse } from './schemas/GitListRepositoryRespo
|
|
|
631
636
|
export type { GitRepositoryResponseDto } from './schemas/GitRepositoryResponseDto';
|
|
632
637
|
export type { GithubPackageDto } from './schemas/GithubPackageDto';
|
|
633
638
|
export type { GithubPackagesResponseDto } from './schemas/GithubPackagesResponseDto';
|
|
639
|
+
export type { GlobalFreezeBannerDetailsResponseDto } from './schemas/GlobalFreezeBannerDetailsResponseDto';
|
|
634
640
|
export type { GoogleCloudStorageBucketDetails } from './schemas/GoogleCloudStorageBucketDetails';
|
|
635
641
|
export type { GoogleCloudStorageBucketsResponseDto } from './schemas/GoogleCloudStorageBucketsResponseDto';
|
|
636
642
|
export type { GovernanceMetadata } from './schemas/GovernanceMetadata';
|
|
@@ -738,6 +744,8 @@ export type { ProjectRequest } from './schemas/ProjectRequest';
|
|
|
738
744
|
export type { ProjectResponse } from './schemas/ProjectResponse';
|
|
739
745
|
export type { ProviderRequestInfo } from './schemas/ProviderRequestInfo';
|
|
740
746
|
export type { ProviderResponseInfo } from './schemas/ProviderResponseInfo';
|
|
747
|
+
export type { Recurrence } from './schemas/Recurrence';
|
|
748
|
+
export type { RecurrenceSpec } from './schemas/RecurrenceSpec';
|
|
741
749
|
export type { RegionGar } from './schemas/RegionGar';
|
|
742
750
|
export type { ResourceScope } from './schemas/ResourceScope';
|
|
743
751
|
export type { ResponseAcrBuildDetailsDto } from './schemas/ResponseAcrBuildDetailsDto';
|
|
@@ -782,6 +790,7 @@ export type { ResponseGcpProjectResponseDto } from './schemas/ResponseGcpProject
|
|
|
782
790
|
export type { ResponseGcpResponseDto } from './schemas/ResponseGcpResponseDto';
|
|
783
791
|
export type { ResponseGitListRepositoryResponse } from './schemas/ResponseGitListRepositoryResponse';
|
|
784
792
|
export type { ResponseGithubPackagesResponseDto } from './schemas/ResponseGithubPackagesResponseDto';
|
|
793
|
+
export type { ResponseGlobalFreezeBannerDetailsResponseDto } from './schemas/ResponseGlobalFreezeBannerDetailsResponseDto';
|
|
785
794
|
export type { ResponseGoogleCloudStorageBucketsResponseDto } from './schemas/ResponseGoogleCloudStorageBucketsResponseDto';
|
|
786
795
|
export type { ResponseHelmChartResponseDto } from './schemas/ResponseHelmChartResponseDto';
|
|
787
796
|
export type { ResponseInfrastructureResponse } from './schemas/ResponseInfrastructureResponse';
|
|
@@ -81,6 +81,7 @@ export { getFilePathsV2ForS3, useGetFilePathsV2ForS3Mutation, } from './hooks/us
|
|
|
81
81
|
export { getFilteredUserGroupAggregateList, useGetFilteredUserGroupAggregateListMutation, } from './hooks/useGetFilteredUserGroupAggregateListMutation';
|
|
82
82
|
export { getGcsBucketList, useGetGcsBucketListQuery } from './hooks/useGetGcsBucketListQuery';
|
|
83
83
|
export { getGcsBuckets, useGetGcsBucketsMutation } from './hooks/useGetGcsBucketsMutation';
|
|
84
|
+
export { getGlobalFreezeWithBannerDetails, useGetGlobalFreezeWithBannerDetailsQuery, } from './hooks/useGetGlobalFreezeWithBannerDetailsQuery';
|
|
84
85
|
export { getGroupIds, useGetGroupIdsMutation } from './hooks/useGetGroupIdsMutation';
|
|
85
86
|
export { getHelmChartVersionDetails, useGetHelmChartVersionDetailsQuery, } from './hooks/useGetHelmChartVersionDetailsQuery';
|
|
86
87
|
export { getHelmChartVersionDetailsV1, useGetHelmChartVersionDetailsV1Query, } from './hooks/useGetHelmChartVersionDetailsV1Query';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { CurrentOrUpcomingWindow } from '../schemas/CurrentOrUpcomingWindow';
|
|
2
|
+
import type { FreezeWindow } from '../schemas/FreezeWindow';
|
|
3
|
+
export interface FreezeBannerDetails {
|
|
4
|
+
accountId?: string;
|
|
5
|
+
accountName?: string;
|
|
6
|
+
freezeScope?: 'account' | 'org' | 'project' | 'unknown';
|
|
7
|
+
identifier?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
orgIdentifier?: string;
|
|
10
|
+
projectIdentifier?: string;
|
|
11
|
+
window?: CurrentOrUpcomingWindow;
|
|
12
|
+
windows?: FreezeWindow[];
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/ng-manager-swagger-service/src/services/schemas/GlobalFreezeBannerDetailsResponseDto.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { GlobalFreezeBannerDetailsResponseDto } from '../schemas/GlobalFreezeBannerDetailsResponseDto';
|
|
2
|
+
export interface ResponseGlobalFreezeBannerDetailsResponseDto {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: GlobalFreezeBannerDetailsResponseDto;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-ng-manager-swagger-service-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.56.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",
|