@harnessio/react-ng-manager-swagger-service-client 1.13.0 → 1.14.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/useCreateVariableMutation.d.ts +22 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useCreateVariableMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useDeleteVariableMutation.d.ts +24 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useDeleteVariableMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetVariableQuery.d.ts +24 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetVariableQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetVariablesListQuery.d.ts +35 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetVariablesListQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useUpdateVariableMutation.d.ts +22 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useUpdateVariableMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/index.d.ts +18 -0
- package/dist/ng-manager-swagger-service/src/services/index.js +5 -0
- package/dist/ng-manager-swagger-service/src/services/requestBodies/VariableRequestDtoRequestBody.d.ts +2 -0
- package/dist/ng-manager-swagger-service/src/services/requestBodies/VariableRequestDtoRequestBody.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/PageVariableResponseDto.d.ts +26 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/PageVariableResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageVariableResponseDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageVariableResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseVariableResponseDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseVariableResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/VariableConfigDto.d.ts +6 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/VariableConfigDto.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/VariableDto.d.ts +14 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/VariableDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/VariableRequestDto.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/VariableRequestDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/VariableResponseDto.d.ts +12 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/VariableResponseDto.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseVariableResponseDto } from '../schemas/ResponseVariableResponseDto';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { VariableRequestDtoRequestBody } from '../requestBodies/VariableRequestDtoRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface CreateVariableMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type CreateVariableRequestBody = VariableRequestDtoRequestBody;
|
|
12
|
+
export type CreateVariableOkResponse = ResponseWithPagination<ResponseVariableResponseDto>;
|
|
13
|
+
export type CreateVariableErrorResponse = Failure | Error;
|
|
14
|
+
export interface CreateVariableProps extends Omit<FetcherOptions<CreateVariableMutationQueryParams, CreateVariableRequestBody>, 'url'> {
|
|
15
|
+
queryParams: CreateVariableMutationQueryParams;
|
|
16
|
+
body: CreateVariableRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function createVariable(props: CreateVariableProps): Promise<CreateVariableOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateVariableMutation(options?: Omit<UseMutationOptions<CreateVariableOkResponse, CreateVariableErrorResponse, CreateVariableProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateVariableOkResponse, CreateVariableErrorResponse, CreateVariableProps, 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 createVariable(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/variables`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateVariableMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => createVariable(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseBoolean } from '../schemas/ResponseBoolean';
|
|
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 DeleteVariableMutationPathParams {
|
|
8
|
+
identifier: string;
|
|
9
|
+
}
|
|
10
|
+
export interface DeleteVariableMutationQueryParams {
|
|
11
|
+
accountIdentifier: string;
|
|
12
|
+
orgIdentifier?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
}
|
|
15
|
+
export type DeleteVariableOkResponse = ResponseWithPagination<ResponseBoolean>;
|
|
16
|
+
export type DeleteVariableErrorResponse = Failure | Error;
|
|
17
|
+
export interface DeleteVariableProps extends DeleteVariableMutationPathParams, Omit<FetcherOptions<DeleteVariableMutationQueryParams, unknown>, 'url'> {
|
|
18
|
+
queryParams: DeleteVariableMutationQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export declare function deleteVariable(props: DeleteVariableProps): Promise<DeleteVariableOkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export declare function useDeleteVariableMutation(options?: Omit<UseMutationOptions<DeleteVariableOkResponse, DeleteVariableErrorResponse, DeleteVariableProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteVariableOkResponse, DeleteVariableErrorResponse, DeleteVariableProps, 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 deleteVariable(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/variables/${props.identifier}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteVariableMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteVariable(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseVariableResponseDto } from '../schemas/ResponseVariableResponseDto';
|
|
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 GetVariableQueryPathParams {
|
|
8
|
+
identifier: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetVariableQueryQueryParams {
|
|
11
|
+
accountIdentifier: string;
|
|
12
|
+
orgIdentifier?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
}
|
|
15
|
+
export type GetVariableOkResponse = ResponseWithPagination<ResponseVariableResponseDto>;
|
|
16
|
+
export type GetVariableErrorResponse = Failure | Error;
|
|
17
|
+
export interface GetVariableProps extends GetVariableQueryPathParams, Omit<FetcherOptions<GetVariableQueryQueryParams, unknown>, 'url'> {
|
|
18
|
+
queryParams: GetVariableQueryQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export declare function getVariable(props: GetVariableProps): Promise<GetVariableOkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export declare function useGetVariableQuery(props: GetVariableProps, options?: Omit<UseQueryOptions<GetVariableOkResponse, GetVariableErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetVariableOkResponse, GetVariableErrorResponse>;
|
|
@@ -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 getVariable(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/variables/${props.identifier}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetVariableQuery(props, options) {
|
|
13
|
+
return useQuery(['getVariable', props.identifier, props.queryParams], ({ signal }) => getVariable(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponsePageVariableResponseDto } from '../schemas/ResponsePageVariableResponseDto';
|
|
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 GetVariablesListQueryQueryParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
orgIdentifier?: string;
|
|
10
|
+
projectIdentifier?: string;
|
|
11
|
+
searchTerm?: string;
|
|
12
|
+
includeVariablesFromEverySubScope?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* @format int32
|
|
15
|
+
* @default 0
|
|
16
|
+
*/
|
|
17
|
+
pageIndex?: number;
|
|
18
|
+
/**
|
|
19
|
+
* @format int32
|
|
20
|
+
* @default 50
|
|
21
|
+
*/
|
|
22
|
+
pageSize?: number;
|
|
23
|
+
sortOrders?: string[];
|
|
24
|
+
pageToken?: string;
|
|
25
|
+
}
|
|
26
|
+
export type GetVariablesListOkResponse = ResponseWithPagination<ResponsePageVariableResponseDto>;
|
|
27
|
+
export type GetVariablesListErrorResponse = Failure | Error;
|
|
28
|
+
export interface GetVariablesListProps extends Omit<FetcherOptions<GetVariablesListQueryQueryParams, unknown>, 'url'> {
|
|
29
|
+
queryParams: GetVariablesListQueryQueryParams;
|
|
30
|
+
}
|
|
31
|
+
export declare function getVariablesList(props: GetVariablesListProps): Promise<GetVariablesListOkResponse>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
export declare function useGetVariablesListQuery(props: GetVariablesListProps, options?: Omit<UseQueryOptions<GetVariablesListOkResponse, GetVariablesListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetVariablesListOkResponse, GetVariablesListErrorResponse>;
|
|
@@ -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 getVariablesList(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/variables`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetVariablesListQuery(props, options) {
|
|
13
|
+
return useQuery(['getVariablesList', props.queryParams], ({ signal }) => getVariablesList(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseVariableResponseDto } from '../schemas/ResponseVariableResponseDto';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { VariableRequestDtoRequestBody } from '../requestBodies/VariableRequestDtoRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface UpdateVariableMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type UpdateVariableRequestBody = VariableRequestDtoRequestBody;
|
|
12
|
+
export type UpdateVariableOkResponse = ResponseWithPagination<ResponseVariableResponseDto>;
|
|
13
|
+
export type UpdateVariableErrorResponse = Failure | Error;
|
|
14
|
+
export interface UpdateVariableProps extends Omit<FetcherOptions<UpdateVariableMutationQueryParams, UpdateVariableRequestBody>, 'url'> {
|
|
15
|
+
queryParams: UpdateVariableMutationQueryParams;
|
|
16
|
+
body: UpdateVariableRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function updateVariable(props: UpdateVariableProps): Promise<UpdateVariableOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare function useUpdateVariableMutation(options?: Omit<UseMutationOptions<UpdateVariableOkResponse, UpdateVariableErrorResponse, UpdateVariableProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateVariableOkResponse, UpdateVariableErrorResponse, UpdateVariableProps, 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 updateVariable(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/variables`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateVariableMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => updateVariable(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -19,10 +19,14 @@ export type { CreateServiceV2ErrorResponse, CreateServiceV2MutationQueryParams,
|
|
|
19
19
|
export { createServiceV2, useCreateServiceV2Mutation } from './hooks/useCreateServiceV2Mutation';
|
|
20
20
|
export type { CreateTokenErrorResponse, CreateTokenMutationQueryParams, CreateTokenOkResponse, CreateTokenProps, CreateTokenRequestBody, } from './hooks/useCreateTokenMutation';
|
|
21
21
|
export { createToken, useCreateTokenMutation } from './hooks/useCreateTokenMutation';
|
|
22
|
+
export type { CreateVariableErrorResponse, CreateVariableMutationQueryParams, CreateVariableOkResponse, CreateVariableProps, CreateVariableRequestBody, } from './hooks/useCreateVariableMutation';
|
|
23
|
+
export { createVariable, useCreateVariableMutation } from './hooks/useCreateVariableMutation';
|
|
22
24
|
export type { DeleteApiKeyErrorResponse, DeleteApiKeyMutationPathParams, DeleteApiKeyMutationQueryParams, DeleteApiKeyOkResponse, DeleteApiKeyProps, } from './hooks/useDeleteApiKeyMutation';
|
|
23
25
|
export { deleteApiKey, useDeleteApiKeyMutation } from './hooks/useDeleteApiKeyMutation';
|
|
24
26
|
export type { DeleteTokenErrorResponse, DeleteTokenMutationPathParams, DeleteTokenMutationQueryParams, DeleteTokenOkResponse, DeleteTokenProps, } from './hooks/useDeleteTokenMutation';
|
|
25
27
|
export { deleteToken, useDeleteTokenMutation } from './hooks/useDeleteTokenMutation';
|
|
28
|
+
export type { DeleteVariableErrorResponse, DeleteVariableMutationPathParams, DeleteVariableMutationQueryParams, DeleteVariableOkResponse, DeleteVariableProps, } from './hooks/useDeleteVariableMutation';
|
|
29
|
+
export { deleteVariable, useDeleteVariableMutation } from './hooks/useDeleteVariableMutation';
|
|
26
30
|
export type { GetAcrRegistriesBySubscriptionErrorResponse, GetAcrRegistriesBySubscriptionOkResponse, GetAcrRegistriesBySubscriptionProps, GetAcrRegistriesBySubscriptionQueryQueryParams, } from './hooks/useGetAcrRegistriesBySubscriptionQuery';
|
|
27
31
|
export { getAcrRegistriesBySubscription, useGetAcrRegistriesBySubscriptionQuery, } from './hooks/useGetAcrRegistriesBySubscriptionQuery';
|
|
28
32
|
export type { GetAcrRepositoriesErrorResponse, GetAcrRepositoriesOkResponse, GetAcrRepositoriesProps, GetAcrRepositoriesQueryPathParams, GetAcrRepositoriesQueryQueryParams, } from './hooks/useGetAcrRepositoriesQuery';
|
|
@@ -149,6 +153,10 @@ export type { GetUserGroupAggregateListErrorResponse, GetUserGroupAggregateListO
|
|
|
149
153
|
export { getUserGroupAggregateList, useGetUserGroupAggregateListQuery, } from './hooks/useGetUserGroupAggregateListQuery';
|
|
150
154
|
export type { GetV2BucketListForS3ErrorResponse, GetV2BucketListForS3OkResponse, GetV2BucketListForS3Props, GetV2BucketListForS3QueryQueryParams, } from './hooks/useGetV2BucketListForS3Query';
|
|
151
155
|
export { getV2BucketListForS3, useGetV2BucketListForS3Query, } from './hooks/useGetV2BucketListForS3Query';
|
|
156
|
+
export type { GetVariableErrorResponse, GetVariableOkResponse, GetVariableProps, GetVariableQueryPathParams, GetVariableQueryQueryParams, } from './hooks/useGetVariableQuery';
|
|
157
|
+
export { getVariable, useGetVariableQuery } from './hooks/useGetVariableQuery';
|
|
158
|
+
export type { GetVariablesListErrorResponse, GetVariablesListOkResponse, GetVariablesListProps, GetVariablesListQueryQueryParams, } from './hooks/useGetVariablesListQuery';
|
|
159
|
+
export { getVariablesList, useGetVariablesListQuery } from './hooks/useGetVariablesListQuery';
|
|
152
160
|
export type { GetVersionsFromPackagesErrorResponse, GetVersionsFromPackagesOkResponse, GetVersionsFromPackagesProps, GetVersionsFromPackagesQueryQueryParams, } from './hooks/useGetVersionsFromPackagesQuery';
|
|
153
161
|
export { getVersionsFromPackages, useGetVersionsFromPackagesQuery, } from './hooks/useGetVersionsFromPackagesQuery';
|
|
154
162
|
export type { HelmCmdFlagsErrorResponse, HelmCmdFlagsOkResponse, HelmCmdFlagsProps, HelmCmdFlagsQueryQueryParams, } from './hooks/useHelmCmdFlagsQuery';
|
|
@@ -185,6 +193,8 @@ export type { UpdateServiceV2ErrorResponse, UpdateServiceV2MutationQueryParams,
|
|
|
185
193
|
export { updateServiceV2, useUpdateServiceV2Mutation } from './hooks/useUpdateServiceV2Mutation';
|
|
186
194
|
export type { UpdateTokenErrorResponse, UpdateTokenMutationPathParams, UpdateTokenMutationQueryParams, UpdateTokenOkResponse, UpdateTokenProps, UpdateTokenRequestBody, } from './hooks/useUpdateTokenMutation';
|
|
187
195
|
export { updateToken, useUpdateTokenMutation } from './hooks/useUpdateTokenMutation';
|
|
196
|
+
export type { UpdateVariableErrorResponse, UpdateVariableMutationQueryParams, UpdateVariableOkResponse, UpdateVariableProps, UpdateVariableRequestBody, } from './hooks/useUpdateVariableMutation';
|
|
197
|
+
export { updateVariable, useUpdateVariableMutation } from './hooks/useUpdateVariableMutation';
|
|
188
198
|
export type { ValidateJiraCredentialsErrorResponse, ValidateJiraCredentialsOkResponse, ValidateJiraCredentialsProps, ValidateJiraCredentialsQueryQueryParams, } from './hooks/useValidateJiraCredentialsQuery';
|
|
189
199
|
export { useValidateJiraCredentialsQuery, validateJiraCredentials, } from './hooks/useValidateJiraCredentialsQuery';
|
|
190
200
|
export type { VpcsErrorResponse, VpcsOkResponse, VpcsProps, VpcsQueryQueryParams, } from './hooks/useVpcsQuery';
|
|
@@ -200,6 +210,7 @@ export type { ProjectRequestRequestBody } from './requestBodies/ProjectRequestRe
|
|
|
200
210
|
export type { ServiceRequestDtoRequestBody } from './requestBodies/ServiceRequestDtoRequestBody';
|
|
201
211
|
export type { TokenDtoRequestBody } from './requestBodies/TokenDtoRequestBody';
|
|
202
212
|
export type { UserGroupFilterDtoRequestBody } from './requestBodies/UserGroupFilterDtoRequestBody';
|
|
213
|
+
export type { VariableRequestDtoRequestBody } from './requestBodies/VariableRequestDtoRequestBody';
|
|
203
214
|
export type { AccessControlCheckError } from './schemas/AccessControlCheckError';
|
|
204
215
|
export type { AcrBuildDetailsDto } from './schemas/AcrBuildDetailsDto';
|
|
205
216
|
export type { AcrRegistriesDto } from './schemas/AcrRegistriesDto';
|
|
@@ -303,6 +314,7 @@ export type { PageServiceDashboardResponseDto } from './schemas/PageServiceDashb
|
|
|
303
314
|
export type { PageServiceResponse } from './schemas/PageServiceResponse';
|
|
304
315
|
export type { PageTokenAggregateDto } from './schemas/PageTokenAggregateDto';
|
|
305
316
|
export type { PageUserGroupAggregateDto } from './schemas/PageUserGroupAggregateDto';
|
|
317
|
+
export type { PageVariableResponseDto } from './schemas/PageVariableResponseDto';
|
|
306
318
|
export type { PermissionCheck } from './schemas/PermissionCheck';
|
|
307
319
|
export type { PgpKeyIdentity } from './schemas/PgpKeyIdentity';
|
|
308
320
|
export type { Project } from './schemas/Project';
|
|
@@ -374,6 +386,7 @@ export type { ResponsePageServiceDashboardResponseDto } from './schemas/Response
|
|
|
374
386
|
export type { ResponsePageServiceResponse } from './schemas/ResponsePageServiceResponse';
|
|
375
387
|
export type { ResponsePageTokenAggregateDto } from './schemas/ResponsePageTokenAggregateDto';
|
|
376
388
|
export type { ResponsePageUserGroupAggregateDto } from './schemas/ResponsePageUserGroupAggregateDto';
|
|
389
|
+
export type { ResponsePageVariableResponseDto } from './schemas/ResponsePageVariableResponseDto';
|
|
377
390
|
export type { ResponseProjectResponse } from './schemas/ResponseProjectResponse';
|
|
378
391
|
export type { ResponseServiceResponse } from './schemas/ResponseServiceResponse';
|
|
379
392
|
export type { ResponseServicesV2YamlMetadataDto } from './schemas/ResponseServicesV2YamlMetadataDto';
|
|
@@ -382,6 +395,7 @@ export type { ResponseSetString } from './schemas/ResponseSetString';
|
|
|
382
395
|
export type { ResponseString } from './schemas/ResponseString';
|
|
383
396
|
export type { ResponseTokenDto } from './schemas/ResponseTokenDto';
|
|
384
397
|
export type { ResponseUserGroupDto } from './schemas/ResponseUserGroupDto';
|
|
398
|
+
export type { ResponseVariableResponseDto } from './schemas/ResponseVariableResponseDto';
|
|
385
399
|
export type { RoleAssignmentMetadataDto } from './schemas/RoleAssignmentMetadataDto';
|
|
386
400
|
export type { ScopeName } from './schemas/ScopeName';
|
|
387
401
|
export type { ScopeSelector } from './schemas/ScopeSelector';
|
|
@@ -403,3 +417,7 @@ export type { UserGroupDto } from './schemas/UserGroupDto';
|
|
|
403
417
|
export type { UserGroupFilterDto } from './schemas/UserGroupFilterDto';
|
|
404
418
|
export type { UserMetadataDto } from './schemas/UserMetadataDto';
|
|
405
419
|
export type { ValidationError } from './schemas/ValidationError';
|
|
420
|
+
export type { VariableConfigDto } from './schemas/VariableConfigDto';
|
|
421
|
+
export type { VariableDto } from './schemas/VariableDto';
|
|
422
|
+
export type { VariableRequestDto } from './schemas/VariableRequestDto';
|
|
423
|
+
export type { VariableResponseDto } from './schemas/VariableResponseDto';
|
|
@@ -8,8 +8,10 @@ export { createApiKey, useCreateApiKeyMutation } from './hooks/useCreateApiKeyMu
|
|
|
8
8
|
export { createJiraIssue, useCreateJiraIssueMutation } from './hooks/useCreateJiraIssueMutation';
|
|
9
9
|
export { createServiceV2, useCreateServiceV2Mutation } from './hooks/useCreateServiceV2Mutation';
|
|
10
10
|
export { createToken, useCreateTokenMutation } from './hooks/useCreateTokenMutation';
|
|
11
|
+
export { createVariable, useCreateVariableMutation } from './hooks/useCreateVariableMutation';
|
|
11
12
|
export { deleteApiKey, useDeleteApiKeyMutation } from './hooks/useDeleteApiKeyMutation';
|
|
12
13
|
export { deleteToken, useDeleteTokenMutation } from './hooks/useDeleteTokenMutation';
|
|
14
|
+
export { deleteVariable, useDeleteVariableMutation } from './hooks/useDeleteVariableMutation';
|
|
13
15
|
export { getAcrRegistriesBySubscription, useGetAcrRegistriesBySubscriptionQuery, } from './hooks/useGetAcrRegistriesBySubscriptionQuery';
|
|
14
16
|
export { getAcrRepositories, useGetAcrRepositoriesQuery } from './hooks/useGetAcrRepositoriesQuery';
|
|
15
17
|
export { getArtifactPathForJenkins, useGetArtifactPathForJenkinsQuery, } from './hooks/useGetArtifactPathForJenkinsQuery';
|
|
@@ -73,6 +75,8 @@ export { getToken, useGetTokenQuery } from './hooks/useGetTokenQuery';
|
|
|
73
75
|
export { getUserGroupAggregateListByUser, useGetUserGroupAggregateListByUserMutation, } from './hooks/useGetUserGroupAggregateListByUserMutation';
|
|
74
76
|
export { getUserGroupAggregateList, useGetUserGroupAggregateListQuery, } from './hooks/useGetUserGroupAggregateListQuery';
|
|
75
77
|
export { getV2BucketListForS3, useGetV2BucketListForS3Query, } from './hooks/useGetV2BucketListForS3Query';
|
|
78
|
+
export { getVariable, useGetVariableQuery } from './hooks/useGetVariableQuery';
|
|
79
|
+
export { getVariablesList, useGetVariablesListQuery } from './hooks/useGetVariablesListQuery';
|
|
76
80
|
export { getVersionsFromPackages, useGetVersionsFromPackagesQuery, } from './hooks/useGetVersionsFromPackagesQuery';
|
|
77
81
|
export { helmCmdFlags, useHelmCmdFlagsQuery } from './hooks/useHelmCmdFlagsQuery';
|
|
78
82
|
export { jiraUserSearch, useJiraUserSearchQuery } from './hooks/useJiraUserSearchQuery';
|
|
@@ -91,5 +95,6 @@ export { tags, useTagsQuery } from './hooks/useTagsQuery';
|
|
|
91
95
|
export { updateApiKey, useUpdateApiKeyMutation } from './hooks/useUpdateApiKeyMutation';
|
|
92
96
|
export { updateServiceV2, useUpdateServiceV2Mutation } from './hooks/useUpdateServiceV2Mutation';
|
|
93
97
|
export { updateToken, useUpdateTokenMutation } from './hooks/useUpdateTokenMutation';
|
|
98
|
+
export { updateVariable, useUpdateVariableMutation } from './hooks/useUpdateVariableMutation';
|
|
94
99
|
export { useValidateJiraCredentialsQuery, validateJiraCredentials, } from './hooks/useValidateJiraCredentialsQuery';
|
|
95
100
|
export { useVpcsQuery, vpcs } from './hooks/useVpcsQuery';
|
package/dist/ng-manager-swagger-service/src/services/requestBodies/VariableRequestDtoRequestBody.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { VariableResponseDto } from '../schemas/VariableResponseDto';
|
|
2
|
+
export interface PageVariableResponseDto {
|
|
3
|
+
content?: VariableResponseDto[];
|
|
4
|
+
empty?: boolean;
|
|
5
|
+
/**
|
|
6
|
+
* @format int64
|
|
7
|
+
*/
|
|
8
|
+
pageIndex?: number;
|
|
9
|
+
/**
|
|
10
|
+
* @format int64
|
|
11
|
+
*/
|
|
12
|
+
pageItemCount?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @format int64
|
|
15
|
+
*/
|
|
16
|
+
pageSize?: number;
|
|
17
|
+
pageToken?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @format int64
|
|
20
|
+
*/
|
|
21
|
+
totalItems?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @format int64
|
|
24
|
+
*/
|
|
25
|
+
totalPages?: number;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageVariableResponseDto.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PageVariableResponseDto } from '../schemas/PageVariableResponseDto';
|
|
2
|
+
export interface ResponsePageVariableResponseDto {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: PageVariableResponseDto;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageVariableResponseDto.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { VariableResponseDto } from '../schemas/VariableResponseDto';
|
|
2
|
+
export interface ResponseVariableResponseDto {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: VariableResponseDto;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { GovernanceMetadata } from '../schemas/GovernanceMetadata';
|
|
2
|
+
import type { VariableConfigDto } from '../schemas/VariableConfigDto';
|
|
3
|
+
export interface VariableDto {
|
|
4
|
+
description?: string;
|
|
5
|
+
governanceMetadata?: GovernanceMetadata;
|
|
6
|
+
identifier: string;
|
|
7
|
+
name: string;
|
|
8
|
+
orgIdentifier?: string;
|
|
9
|
+
parentUniqueId?: string;
|
|
10
|
+
projectIdentifier?: string;
|
|
11
|
+
spec: VariableConfigDto;
|
|
12
|
+
type: 'String';
|
|
13
|
+
uniqueId?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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.14.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",
|