@harnessio/react-ng-manager-swagger-service-client 1.6.0 → 1.6.1
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/useCreateServiceV2Mutation.d.ts +33 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useCreateServiceV2Mutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetServiceListQuery.d.ts +42 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetServiceListQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useUpdateServiceV2Mutation.d.ts +38 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useUpdateServiceV2Mutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/index.d.ts +12 -0
- package/dist/ng-manager-swagger-service/src/services/index.js +3 -0
- package/dist/ng-manager-swagger-service/src/services/requestBodies/ServiceRequestDtoRequestBody.d.ts +2 -0
- package/dist/ng-manager-swagger-service/src/services/requestBodies/ServiceRequestDtoRequestBody.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/PageServiceResponse.d.ts +26 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/PageServiceResponse.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageServiceResponse.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageServiceResponse.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseServiceResponse.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseServiceResponse.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ServiceRequestDto.d.ts +11 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ServiceRequestDto.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ServiceResponse.d.ts +16 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ServiceResponse.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseServiceResponse } from '../schemas/ResponseServiceResponse';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { ServiceRequestDtoRequestBody } from '../requestBodies/ServiceRequestDtoRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface CreateServiceV2MutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
branch?: string;
|
|
11
|
+
repoIdentifier?: string;
|
|
12
|
+
rootFolder?: string;
|
|
13
|
+
filePath?: string;
|
|
14
|
+
commitMsg?: string;
|
|
15
|
+
isNewBranch?: boolean;
|
|
16
|
+
baseBranch?: string;
|
|
17
|
+
connectorRef?: string;
|
|
18
|
+
storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
|
|
19
|
+
repoName?: string;
|
|
20
|
+
isHarnessCodeRepo?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export type CreateServiceV2RequestBody = ServiceRequestDtoRequestBody;
|
|
23
|
+
export type CreateServiceV2OkResponse = ResponseWithPagination<ResponseServiceResponse>;
|
|
24
|
+
export type CreateServiceV2ErrorResponse = Failure | Error;
|
|
25
|
+
export interface CreateServiceV2Props extends Omit<FetcherOptions<CreateServiceV2MutationQueryParams, CreateServiceV2RequestBody>, 'url'> {
|
|
26
|
+
queryParams: CreateServiceV2MutationQueryParams;
|
|
27
|
+
body: CreateServiceV2RequestBody;
|
|
28
|
+
}
|
|
29
|
+
export declare function createServiceV2(props: CreateServiceV2Props): Promise<CreateServiceV2OkResponse>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
export declare function useCreateServiceV2Mutation(options?: Omit<UseMutationOptions<CreateServiceV2OkResponse, CreateServiceV2ErrorResponse, CreateServiceV2Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateServiceV2OkResponse, CreateServiceV2ErrorResponse, CreateServiceV2Props, 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 createServiceV2(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/servicesV2`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateServiceV2Mutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => createServiceV2(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponsePageServiceResponse } from '../schemas/ResponsePageServiceResponse';
|
|
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 GetServiceListQueryQueryParams {
|
|
8
|
+
/**
|
|
9
|
+
* @format int32
|
|
10
|
+
* @default 0
|
|
11
|
+
*/
|
|
12
|
+
page?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @format int32
|
|
15
|
+
* @default 100
|
|
16
|
+
*/
|
|
17
|
+
size?: number;
|
|
18
|
+
accountIdentifier: string;
|
|
19
|
+
orgIdentifier?: string;
|
|
20
|
+
projectIdentifier?: string;
|
|
21
|
+
searchTerm?: string;
|
|
22
|
+
serviceIdentifiers?: string[];
|
|
23
|
+
sort?: string[];
|
|
24
|
+
type?: 'AWS_SAM' | 'Asg' | 'AwsLambda' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'Kubernetes' | 'NativeHelm' | 'SERVICE_YAML_V1_TYPE' | 'Salesforce' | 'ServerlessAwsLambda' | 'Ssh' | 'TAS' | 'WinRm';
|
|
25
|
+
gitOpsEnabled?: boolean;
|
|
26
|
+
deploymentTemplateIdentifier?: string;
|
|
27
|
+
versionLabel?: string;
|
|
28
|
+
includeAllServicesAccessibleAtScope?: boolean;
|
|
29
|
+
includeVersionInfo?: boolean;
|
|
30
|
+
repoName?: string;
|
|
31
|
+
editOnlyRBACPermission?: boolean;
|
|
32
|
+
}
|
|
33
|
+
export type GetServiceListOkResponse = ResponseWithPagination<ResponsePageServiceResponse>;
|
|
34
|
+
export type GetServiceListErrorResponse = Failure | Error;
|
|
35
|
+
export interface GetServiceListProps extends Omit<FetcherOptions<GetServiceListQueryQueryParams, unknown>, 'url'> {
|
|
36
|
+
queryParams: GetServiceListQueryQueryParams;
|
|
37
|
+
}
|
|
38
|
+
export declare function getServiceList(props: GetServiceListProps): Promise<GetServiceListOkResponse>;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
export declare function useGetServiceListQuery(props: GetServiceListProps, options?: Omit<UseQueryOptions<GetServiceListOkResponse, GetServiceListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetServiceListOkResponse, GetServiceListErrorResponse>;
|
|
@@ -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 getServiceList(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/servicesV2`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetServiceListQuery(props, options) {
|
|
13
|
+
return useQuery(['getServiceList', props.queryParams], ({ signal }) => getServiceList(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseServiceResponse } from '../schemas/ResponseServiceResponse';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { ServiceRequestDtoRequestBody } from '../requestBodies/ServiceRequestDtoRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface UpdateServiceV2MutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
branch?: string;
|
|
11
|
+
repoIdentifier?: string;
|
|
12
|
+
rootFolder?: string;
|
|
13
|
+
filePath?: string;
|
|
14
|
+
commitMsg?: string;
|
|
15
|
+
lastObjectId?: string;
|
|
16
|
+
resolvedConflictCommitId?: string;
|
|
17
|
+
baseBranch?: string;
|
|
18
|
+
connectorRef?: string;
|
|
19
|
+
storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
|
|
20
|
+
lastCommitId?: string;
|
|
21
|
+
isNewBranch?: boolean;
|
|
22
|
+
isHarnessCodeRepo?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export interface UpdateServiceV2MutationHeaderParams {
|
|
25
|
+
'If-Match'?: string;
|
|
26
|
+
}
|
|
27
|
+
export type UpdateServiceV2RequestBody = ServiceRequestDtoRequestBody;
|
|
28
|
+
export type UpdateServiceV2OkResponse = ResponseWithPagination<ResponseServiceResponse>;
|
|
29
|
+
export type UpdateServiceV2ErrorResponse = Failure | Error;
|
|
30
|
+
export interface UpdateServiceV2Props extends Omit<FetcherOptions<UpdateServiceV2MutationQueryParams, UpdateServiceV2RequestBody, UpdateServiceV2MutationHeaderParams>, 'url'> {
|
|
31
|
+
queryParams: UpdateServiceV2MutationQueryParams;
|
|
32
|
+
body: UpdateServiceV2RequestBody;
|
|
33
|
+
}
|
|
34
|
+
export declare function updateServiceV2(props: UpdateServiceV2Props): Promise<UpdateServiceV2OkResponse>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
export declare function useUpdateServiceV2Mutation(options?: Omit<UseMutationOptions<UpdateServiceV2OkResponse, UpdateServiceV2ErrorResponse, UpdateServiceV2Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateServiceV2OkResponse, UpdateServiceV2ErrorResponse, UpdateServiceV2Props, 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 updateServiceV2(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/servicesV2`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateServiceV2Mutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => updateServiceV2(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -5,6 +5,8 @@ export type { ArtifactIdsErrorResponse, ArtifactIdsMutationQueryParams, Artifact
|
|
|
5
5
|
export { artifactIds, useArtifactIdsMutation } from './hooks/useArtifactIdsMutation';
|
|
6
6
|
export type { CreateJiraIssueErrorResponse, CreateJiraIssueMutationQueryParams, CreateJiraIssueOkResponse, CreateJiraIssueProps, CreateJiraIssueRequestBody, } from './hooks/useCreateJiraIssueMutation';
|
|
7
7
|
export { createJiraIssue, useCreateJiraIssueMutation } from './hooks/useCreateJiraIssueMutation';
|
|
8
|
+
export type { CreateServiceV2ErrorResponse, CreateServiceV2MutationQueryParams, CreateServiceV2OkResponse, CreateServiceV2Props, CreateServiceV2RequestBody, } from './hooks/useCreateServiceV2Mutation';
|
|
9
|
+
export { createServiceV2, useCreateServiceV2Mutation } from './hooks/useCreateServiceV2Mutation';
|
|
8
10
|
export type { GetAcrRegistriesBySubscriptionErrorResponse, GetAcrRegistriesBySubscriptionOkResponse, GetAcrRegistriesBySubscriptionProps, GetAcrRegistriesBySubscriptionQueryQueryParams, } from './hooks/useGetAcrRegistriesBySubscriptionQuery';
|
|
9
11
|
export { getAcrRegistriesBySubscription, useGetAcrRegistriesBySubscriptionQuery, } from './hooks/useGetAcrRegistriesBySubscriptionQuery';
|
|
10
12
|
export type { GetAcrRepositoriesErrorResponse, GetAcrRepositoriesOkResponse, GetAcrRepositoriesProps, GetAcrRepositoriesQueryPathParams, GetAcrRepositoriesQueryQueryParams, } from './hooks/useGetAcrRepositoriesQuery';
|
|
@@ -75,6 +77,8 @@ export type { GetRepositoriesErrorResponse, GetRepositoriesMutationQueryParams,
|
|
|
75
77
|
export { getRepositories, useGetRepositoriesMutation } from './hooks/useGetRepositoriesMutation';
|
|
76
78
|
export type { GetServiceDefinitionTypesErrorResponse, GetServiceDefinitionTypesOkResponse, GetServiceDefinitionTypesProps, GetServiceDefinitionTypesQueryQueryParams, } from './hooks/useGetServiceDefinitionTypesQuery';
|
|
77
79
|
export { getServiceDefinitionTypes, useGetServiceDefinitionTypesQuery, } from './hooks/useGetServiceDefinitionTypesQuery';
|
|
80
|
+
export type { GetServiceListErrorResponse, GetServiceListOkResponse, GetServiceListProps, GetServiceListQueryQueryParams, } from './hooks/useGetServiceListQuery';
|
|
81
|
+
export { getServiceList, useGetServiceListQuery } from './hooks/useGetServiceListQuery';
|
|
78
82
|
export type { GetServicesListErrorResponse, GetServicesListOkResponse, GetServicesListProps, GetServicesListQueryQueryParams, } from './hooks/useGetServicesListQuery';
|
|
79
83
|
export { getServicesList, useGetServicesListQuery } from './hooks/useGetServicesListQuery';
|
|
80
84
|
export type { GetV2BucketListForS3ErrorResponse, GetV2BucketListForS3OkResponse, GetV2BucketListForS3Props, GetV2BucketListForS3QueryQueryParams, } from './hooks/useGetV2BucketListForS3Query';
|
|
@@ -91,11 +95,14 @@ export type { ListProjectsForAzureArtifactsErrorResponse, ListProjectsForAzureAr
|
|
|
91
95
|
export { listProjectsForAzureArtifacts, useListProjectsForAzureArtifactsQuery, } from './hooks/useListProjectsForAzureArtifactsQuery';
|
|
92
96
|
export type { ListTagsForAmiArtifactErrorResponse, ListTagsForAmiArtifactMutationQueryParams, ListTagsForAmiArtifactOkResponse, ListTagsForAmiArtifactProps, ListTagsForAmiArtifactRequestBody, } from './hooks/useListTagsForAmiArtifactMutation';
|
|
93
97
|
export { listTagsForAmiArtifact, useListTagsForAmiArtifactMutation, } from './hooks/useListTagsForAmiArtifactMutation';
|
|
98
|
+
export type { UpdateServiceV2ErrorResponse, UpdateServiceV2MutationQueryParams, UpdateServiceV2OkResponse, UpdateServiceV2Props, UpdateServiceV2RequestBody, } from './hooks/useUpdateServiceV2Mutation';
|
|
99
|
+
export { updateServiceV2, useUpdateServiceV2Mutation } from './hooks/useUpdateServiceV2Mutation';
|
|
94
100
|
export type { ValidateJiraCredentialsErrorResponse, ValidateJiraCredentialsOkResponse, ValidateJiraCredentialsProps, ValidateJiraCredentialsQueryQueryParams, } from './hooks/useValidateJiraCredentialsQuery';
|
|
95
101
|
export { useValidateJiraCredentialsQuery, validateJiraCredentials, } from './hooks/useValidateJiraCredentialsQuery';
|
|
96
102
|
export type { EnvironmentFilterPropertiesRequestBody } from './requestBodies/EnvironmentFilterPropertiesRequestBody';
|
|
97
103
|
export type { GetFileContentUsingScopedFilePathV2BodyRequestBody } from './requestBodies/GetFileContentUsingScopedFilePathV2BodyRequestBody';
|
|
98
104
|
export type { ListTagsForAmiArtifactBodyRequestBody } from './requestBodies/ListTagsForAmiArtifactBodyRequestBody';
|
|
105
|
+
export type { ServiceRequestDtoRequestBody } from './requestBodies/ServiceRequestDtoRequestBody';
|
|
99
106
|
export type { AcrBuildDetailsDto } from './schemas/AcrBuildDetailsDto';
|
|
100
107
|
export type { AcrRegistriesDto } from './schemas/AcrRegistriesDto';
|
|
101
108
|
export type { AcrRegistryDto } from './schemas/AcrRegistryDto';
|
|
@@ -163,6 +170,7 @@ export type { Organization } from './schemas/Organization';
|
|
|
163
170
|
export type { PageEnvironmentResponse } from './schemas/PageEnvironmentResponse';
|
|
164
171
|
export type { PageProjectAggregateDto } from './schemas/PageProjectAggregateDto';
|
|
165
172
|
export type { PageServiceDashboardResponseDto } from './schemas/PageServiceDashboardResponseDto';
|
|
173
|
+
export type { PageServiceResponse } from './schemas/PageServiceResponse';
|
|
166
174
|
export type { Project } from './schemas/Project';
|
|
167
175
|
export type { ProjectAggregateDto } from './schemas/ProjectAggregateDto';
|
|
168
176
|
export type { ProjectResponse } from './schemas/ProjectResponse';
|
|
@@ -206,7 +214,11 @@ export type { ResponseMessage } from './schemas/ResponseMessage';
|
|
|
206
214
|
export type { ResponsePageEnvironmentResponse } from './schemas/ResponsePageEnvironmentResponse';
|
|
207
215
|
export type { ResponsePageProjectAggregateDto } from './schemas/ResponsePageProjectAggregateDto';
|
|
208
216
|
export type { ResponsePageServiceDashboardResponseDto } from './schemas/ResponsePageServiceDashboardResponseDto';
|
|
217
|
+
export type { ResponsePageServiceResponse } from './schemas/ResponsePageServiceResponse';
|
|
218
|
+
export type { ResponseServiceResponse } from './schemas/ResponseServiceResponse';
|
|
209
219
|
export type { ServiceDashboardResponseDto } from './schemas/ServiceDashboardResponseDto';
|
|
220
|
+
export type { ServiceRequestDto } from './schemas/ServiceRequestDto';
|
|
221
|
+
export type { ServiceResponse } from './schemas/ServiceResponse';
|
|
210
222
|
export type { ServiceResponseDto } from './schemas/ServiceResponseDto';
|
|
211
223
|
export type { StackTraceElement } from './schemas/StackTraceElement';
|
|
212
224
|
export type { TaskSelectorYaml } from './schemas/TaskSelectorYaml';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { addJiraComment, useAddJiraCommentMutation } from './hooks/useAddJiraCommentMutation';
|
|
2
2
|
export { artifactIds, useArtifactIdsMutation } from './hooks/useArtifactIdsMutation';
|
|
3
3
|
export { createJiraIssue, useCreateJiraIssueMutation } from './hooks/useCreateJiraIssueMutation';
|
|
4
|
+
export { createServiceV2, useCreateServiceV2Mutation } from './hooks/useCreateServiceV2Mutation';
|
|
4
5
|
export { getAcrRegistriesBySubscription, useGetAcrRegistriesBySubscriptionQuery, } from './hooks/useGetAcrRegistriesBySubscriptionQuery';
|
|
5
6
|
export { getAcrRepositories, useGetAcrRepositoriesQuery } from './hooks/useGetAcrRepositoriesQuery';
|
|
6
7
|
export { getArtifactPathForJenkins, useGetArtifactPathForJenkinsQuery, } from './hooks/useGetArtifactPathForJenkinsQuery';
|
|
@@ -36,6 +37,7 @@ export { getRepositoriesDetailsV2ForArtifactory, useGetRepositoriesDetailsV2ForA
|
|
|
36
37
|
export { getRepositoriesForGoogleArtifactRegistry, useGetRepositoriesForGoogleArtifactRegistryQuery, } from './hooks/useGetRepositoriesForGoogleArtifactRegistryQuery';
|
|
37
38
|
export { getRepositories, useGetRepositoriesMutation } from './hooks/useGetRepositoriesMutation';
|
|
38
39
|
export { getServiceDefinitionTypes, useGetServiceDefinitionTypesQuery, } from './hooks/useGetServiceDefinitionTypesQuery';
|
|
40
|
+
export { getServiceList, useGetServiceListQuery } from './hooks/useGetServiceListQuery';
|
|
39
41
|
export { getServicesList, useGetServicesListQuery } from './hooks/useGetServicesListQuery';
|
|
40
42
|
export { getV2BucketListForS3, useGetV2BucketListForS3Query, } from './hooks/useGetV2BucketListForS3Query';
|
|
41
43
|
export { getVersionsFromPackages, useGetVersionsFromPackagesQuery, } from './hooks/useGetVersionsFromPackagesQuery';
|
|
@@ -44,4 +46,5 @@ export { listFeedsForAzureArtifacts, useListFeedsForAzureArtifactsQuery, } from
|
|
|
44
46
|
export { listPackagesForAzureArtifacts, useListPackagesForAzureArtifactsQuery, } from './hooks/useListPackagesForAzureArtifactsQuery';
|
|
45
47
|
export { listProjectsForAzureArtifacts, useListProjectsForAzureArtifactsQuery, } from './hooks/useListProjectsForAzureArtifactsQuery';
|
|
46
48
|
export { listTagsForAmiArtifact, useListTagsForAmiArtifactMutation, } from './hooks/useListTagsForAmiArtifactMutation';
|
|
49
|
+
export { updateServiceV2, useUpdateServiceV2Mutation } from './hooks/useUpdateServiceV2Mutation';
|
|
47
50
|
export { useValidateJiraCredentialsQuery, validateJiraCredentials, } from './hooks/useValidateJiraCredentialsQuery';
|
package/dist/ng-manager-swagger-service/src/services/requestBodies/ServiceRequestDtoRequestBody.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ServiceResponse } from '../schemas/ServiceResponse';
|
|
2
|
+
export interface PageServiceResponse {
|
|
3
|
+
content?: ServiceResponse[];
|
|
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 {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PageServiceResponse } from '../schemas/PageServiceResponse';
|
|
2
|
+
export interface ResponsePageServiceResponse {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: PageServiceResponse;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { EntityValidityDetails } from '../schemas/EntityValidityDetails';
|
|
2
|
+
import type { GovernanceMetadata } from '../schemas/GovernanceMetadata';
|
|
3
|
+
import type { ServiceResponseDto } from '../schemas/ServiceResponseDto';
|
|
4
|
+
export interface ServiceResponse {
|
|
5
|
+
/**
|
|
6
|
+
* @format int64
|
|
7
|
+
*/
|
|
8
|
+
createdAt?: number;
|
|
9
|
+
entityValidityDetails?: EntityValidityDetails;
|
|
10
|
+
governanceMetadata?: GovernanceMetadata;
|
|
11
|
+
/**
|
|
12
|
+
* @format int64
|
|
13
|
+
*/
|
|
14
|
+
lastModifiedAt?: number;
|
|
15
|
+
service?: ServiceResponseDto;
|
|
16
|
+
}
|
|
@@ -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.6.
|
|
3
|
+
"version": "1.6.1",
|
|
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",
|