@harnessio/react-idp-service-client 0.73.0 → 0.74.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/idp-service/src/services/hooks/useConvertEntityMutation.d.ts +8 -1
- package/dist/idp-service/src/services/hooks/useDeleteEntityMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntitiesByRefsMutation.d.ts +37 -0
- package/dist/idp-service/src/services/hooks/useGetEntitiesByRefsMutation.js +14 -0
- package/dist/idp-service/src/services/hooks/useGetEntitiesFiltersByQueryMutation.d.ts +25 -0
- package/dist/idp-service/src/services/hooks/useGetEntitiesFiltersByQueryMutation.js +14 -0
- package/dist/idp-service/src/services/hooks/useGetEntitiesQuery.d.ts +0 -2
- package/dist/idp-service/src/services/hooks/useGetEntityQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntityQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateEntityMutation.d.ts +1 -1
- package/dist/idp-service/src/services/index.d.ts +9 -1
- package/dist/idp-service/src/services/index.js +2 -0
- package/dist/idp-service/src/services/requestBodies/CustomPluginCreateRequestRequestBody.d.ts +2 -3
- package/dist/idp-service/src/services/requestBodies/CustomPluginCreateRequestRequestBody.js +0 -3
- package/dist/idp-service/src/services/requestBodies/EntitesByRefsRequestRequestBody.d.ts +2 -0
- package/dist/idp-service/src/services/requestBodies/EntitesByRefsRequestRequestBody.js +1 -0
- package/dist/idp-service/src/services/requestBodies/EntityFilterQueryRequestRequestBody.d.ts +2 -0
- package/dist/idp-service/src/services/requestBodies/EntityFilterQueryRequestRequestBody.js +1 -0
- package/dist/idp-service/src/services/schemas/EntitiesByRefsRequest.d.ts +3 -0
- package/dist/idp-service/src/services/schemas/EntitiesByRefsRequest.js +4 -0
- package/dist/idp-service/src/services/schemas/EntitiesGroups.d.ts +2 -0
- package/dist/idp-service/src/services/schemas/EntityFilterQueryRequest.d.ts +3 -0
- package/dist/idp-service/src/services/schemas/EntityFilterQueryRequest.js +4 -0
- package/dist/idp-service/src/services/schemas/EntityMoveRequest.d.ts +1 -1
- package/dist/idp-service/src/services/schemas/EntityResponse.d.ts +1 -1
- package/dist/idp-service/src/services/schemas/GitMoveDetails.d.ts +4 -4
- package/dist/idp-service/src/services/schemas/PluginDetails.d.ts +1 -1
- package/dist/idp-service/src/services/schemas/PluginInfo.d.ts +1 -1
- package/dist/idp-service/src/services/schemas/ScorecardFilter.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6,13 +6,20 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
|
6
6
|
export interface ConvertEntityMutationPathParams {
|
|
7
7
|
option: 'backstage-to-harness' | 'harness-to-backstage';
|
|
8
8
|
}
|
|
9
|
+
export interface ConvertEntityMutationQueryParams {
|
|
10
|
+
entity_ref?: string;
|
|
11
|
+
branch_name?: string;
|
|
12
|
+
connector_ref?: string;
|
|
13
|
+
repo_name?: string;
|
|
14
|
+
}
|
|
9
15
|
export interface ConvertEntityMutationHeaderParams {
|
|
10
16
|
'Harness-Account'?: string;
|
|
11
17
|
}
|
|
12
18
|
export type ConvertEntityRequestBody = EntityRequestBodyRequestBody;
|
|
13
19
|
export type ConvertEntityOkResponse = ResponseWithPagination<EntityConvertResponseBodyResponse>;
|
|
14
20
|
export type ConvertEntityErrorResponse = unknown;
|
|
15
|
-
export interface ConvertEntityProps extends ConvertEntityMutationPathParams, Omit<FetcherOptions<
|
|
21
|
+
export interface ConvertEntityProps extends ConvertEntityMutationPathParams, Omit<FetcherOptions<ConvertEntityMutationQueryParams, ConvertEntityRequestBody, ConvertEntityMutationHeaderParams>, 'url'> {
|
|
22
|
+
queryParams: ConvertEntityMutationQueryParams;
|
|
16
23
|
body: ConvertEntityRequestBody;
|
|
17
24
|
}
|
|
18
25
|
export declare function convertEntity(props: ConvertEntityProps): Promise<ConvertEntityOkResponse>;
|
|
@@ -2,8 +2,8 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { ResponseWithPagination } from '../helpers';
|
|
3
3
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
4
|
export interface DeleteEntityMutationPathParams {
|
|
5
|
-
kind: string;
|
|
6
5
|
scope: string;
|
|
6
|
+
kind: string;
|
|
7
7
|
identifier: string;
|
|
8
8
|
}
|
|
9
9
|
export interface DeleteEntityMutationQueryParams {
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { EntityResponseBodyListResponse } from '../responses/EntityResponseBodyListResponse';
|
|
3
|
+
import type { EntitesByRefsRequestRequestBody } from '../requestBodies/EntitesByRefsRequestRequestBody';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetEntitiesByRefsMutationQueryParams {
|
|
7
|
+
page?: number;
|
|
8
|
+
/**
|
|
9
|
+
* @default 10
|
|
10
|
+
*/
|
|
11
|
+
limit?: number;
|
|
12
|
+
sort?: string;
|
|
13
|
+
search_term?: string;
|
|
14
|
+
scopes?: string;
|
|
15
|
+
owned_by_me?: boolean;
|
|
16
|
+
favorites?: boolean;
|
|
17
|
+
kind?: string;
|
|
18
|
+
type?: string;
|
|
19
|
+
owner?: string;
|
|
20
|
+
lifecycle?: string;
|
|
21
|
+
tags?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface GetEntitiesByRefsMutationHeaderParams {
|
|
24
|
+
'Harness-Account'?: string;
|
|
25
|
+
}
|
|
26
|
+
export type GetEntitiesByRefsRequestBody = EntitesByRefsRequestRequestBody;
|
|
27
|
+
export type GetEntitiesByRefsOkResponse = ResponseWithPagination<EntityResponseBodyListResponse>;
|
|
28
|
+
export type GetEntitiesByRefsErrorResponse = unknown;
|
|
29
|
+
export interface GetEntitiesByRefsProps extends Omit<FetcherOptions<GetEntitiesByRefsMutationQueryParams, GetEntitiesByRefsRequestBody, GetEntitiesByRefsMutationHeaderParams>, 'url'> {
|
|
30
|
+
queryParams: GetEntitiesByRefsMutationQueryParams;
|
|
31
|
+
body: GetEntitiesByRefsRequestBody;
|
|
32
|
+
}
|
|
33
|
+
export declare function getEntitiesByRefs(props: GetEntitiesByRefsProps): Promise<GetEntitiesByRefsOkResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Get entities by refs
|
|
36
|
+
*/
|
|
37
|
+
export declare function useGetEntitiesByRefsMutation(options?: Omit<UseMutationOptions<GetEntitiesByRefsOkResponse, GetEntitiesByRefsErrorResponse, GetEntitiesByRefsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetEntitiesByRefsOkResponse, unknown, GetEntitiesByRefsProps, 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 getEntitiesByRefs(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/entities/by-refs`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get entities by refs
|
|
11
|
+
*/
|
|
12
|
+
export function useGetEntitiesByRefsMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getEntitiesByRefs(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { EntityFiltersResponseBodyListResponse } from '../responses/EntityFiltersResponseBodyListResponse';
|
|
3
|
+
import type { EntityFilterQueryRequestRequestBody } from '../requestBodies/EntityFilterQueryRequestRequestBody';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetEntitiesFiltersByQueryMutationQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
kind?: string;
|
|
9
|
+
scopes?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface GetEntitiesFiltersByQueryMutationHeaderParams {
|
|
12
|
+
'Harness-Account'?: string;
|
|
13
|
+
}
|
|
14
|
+
export type GetEntitiesFiltersByQueryRequestBody = EntityFilterQueryRequestRequestBody;
|
|
15
|
+
export type GetEntitiesFiltersByQueryOkResponse = ResponseWithPagination<EntityFiltersResponseBodyListResponse>;
|
|
16
|
+
export type GetEntitiesFiltersByQueryErrorResponse = unknown;
|
|
17
|
+
export interface GetEntitiesFiltersByQueryProps extends Omit<FetcherOptions<GetEntitiesFiltersByQueryMutationQueryParams, GetEntitiesFiltersByQueryRequestBody, GetEntitiesFiltersByQueryMutationHeaderParams>, 'url'> {
|
|
18
|
+
queryParams: GetEntitiesFiltersByQueryMutationQueryParams;
|
|
19
|
+
body: GetEntitiesFiltersByQueryRequestBody;
|
|
20
|
+
}
|
|
21
|
+
export declare function getEntitiesFiltersByQuery(props: GetEntitiesFiltersByQueryProps): Promise<GetEntitiesFiltersByQueryOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Get Entities Filters By Query
|
|
24
|
+
*/
|
|
25
|
+
export declare function useGetEntitiesFiltersByQueryMutation(options?: Omit<UseMutationOptions<GetEntitiesFiltersByQueryOkResponse, GetEntitiesFiltersByQueryErrorResponse, GetEntitiesFiltersByQueryProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetEntitiesFiltersByQueryOkResponse, unknown, GetEntitiesFiltersByQueryProps, 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 getEntitiesFiltersByQuery(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/entities/filters`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get Entities Filters By Query
|
|
11
|
+
*/
|
|
12
|
+
export function useGetEntitiesFiltersByQueryMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getEntitiesFiltersByQuery(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -3,8 +3,6 @@ import type { EntityResponseBodyListResponse } from '../responses/EntityResponse
|
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface GetEntitiesQueryQueryParams {
|
|
6
|
-
orgIdentifier?: string;
|
|
7
|
-
projectIdentifier?: string;
|
|
8
6
|
page?: number;
|
|
9
7
|
/**
|
|
10
8
|
* @default 10
|
|
@@ -3,8 +3,8 @@ import type { EntityResponseBodyResponse } from '../responses/EntityResponseBody
|
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface GetEntityQueryPathParams {
|
|
6
|
-
kind: string;
|
|
7
6
|
scope: string;
|
|
7
|
+
kind: string;
|
|
8
8
|
identifier: string;
|
|
9
9
|
}
|
|
10
10
|
export interface GetEntityQueryQueryParams {
|
|
@@ -10,5 +10,5 @@ export function getEntity(props) {
|
|
|
10
10
|
* Get Entity.
|
|
11
11
|
*/
|
|
12
12
|
export function useGetEntityQuery(props, options) {
|
|
13
|
-
return useQuery(['get-entity', props.
|
|
13
|
+
return useQuery(['get-entity', props.scope, props.kind, props.identifier, props.queryParams], ({ signal }) => getEntity(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -4,8 +4,8 @@ import type { EntityUpdateRequestBodyRequestBody } from '../requestBodies/Entity
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface UpdateEntityMutationPathParams {
|
|
7
|
-
kind: string;
|
|
8
7
|
scope: string;
|
|
8
|
+
kind: string;
|
|
9
9
|
identifier: string;
|
|
10
10
|
}
|
|
11
11
|
export interface UpdateEntityMutationQueryParams {
|
|
@@ -3,7 +3,7 @@ export type { CdEntitiesCountErrorResponse, CdEntitiesCountOkResponse, CdEntitie
|
|
|
3
3
|
export { cdEntitiesCount, useCdEntitiesCountQuery } from './hooks/useCdEntitiesCountQuery';
|
|
4
4
|
export type { CdEntitiesFetchErrorResponse, CdEntitiesFetchOkResponse, CdEntitiesFetchProps, CdEntitiesFetchQueryQueryParams, CdEntitiesFetchRequestBody, } from './hooks/useCdEntitiesFetchQuery';
|
|
5
5
|
export { cdEntitiesFetch, useCdEntitiesFetchQuery } from './hooks/useCdEntitiesFetchQuery';
|
|
6
|
-
export type { ConvertEntityErrorResponse, ConvertEntityMutationPathParams, ConvertEntityOkResponse, ConvertEntityProps, ConvertEntityRequestBody, } from './hooks/useConvertEntityMutation';
|
|
6
|
+
export type { ConvertEntityErrorResponse, ConvertEntityMutationPathParams, ConvertEntityMutationQueryParams, ConvertEntityOkResponse, ConvertEntityProps, ConvertEntityRequestBody, } from './hooks/useConvertEntityMutation';
|
|
7
7
|
export { convertEntity, useConvertEntityMutation } from './hooks/useConvertEntityMutation';
|
|
8
8
|
export type { CreateBackstageEnvVariablesErrorResponse, CreateBackstageEnvVariablesOkResponse, CreateBackstageEnvVariablesProps, CreateBackstageEnvVariablesRequestBody, } from './hooks/useCreateBackstageEnvVariablesMutation';
|
|
9
9
|
export { createBackstageEnvVariables, useCreateBackstageEnvVariablesMutation, } from './hooks/useCreateBackstageEnvVariablesMutation';
|
|
@@ -75,6 +75,10 @@ export type { GetDataPointsForDataSourceErrorResponse, GetDataPointsForDataSourc
|
|
|
75
75
|
export { getDataPointsForDataSource, useGetDataPointsForDataSourceQuery, } from './hooks/useGetDataPointsForDataSourceQuery';
|
|
76
76
|
export type { GetDataSourcesDataPointsMapErrorResponse, GetDataSourcesDataPointsMapOkResponse, GetDataSourcesDataPointsMapProps, } from './hooks/useGetDataSourcesDataPointsMapQuery';
|
|
77
77
|
export { getDataSourcesDataPointsMap, useGetDataSourcesDataPointsMapQuery, } from './hooks/useGetDataSourcesDataPointsMapQuery';
|
|
78
|
+
export type { GetEntitiesByRefsErrorResponse, GetEntitiesByRefsMutationQueryParams, GetEntitiesByRefsOkResponse, GetEntitiesByRefsProps, GetEntitiesByRefsRequestBody, } from './hooks/useGetEntitiesByRefsMutation';
|
|
79
|
+
export { getEntitiesByRefs, useGetEntitiesByRefsMutation, } from './hooks/useGetEntitiesByRefsMutation';
|
|
80
|
+
export type { GetEntitiesFiltersByQueryErrorResponse, GetEntitiesFiltersByQueryMutationQueryParams, GetEntitiesFiltersByQueryOkResponse, GetEntitiesFiltersByQueryProps, GetEntitiesFiltersByQueryRequestBody, } from './hooks/useGetEntitiesFiltersByQueryMutation';
|
|
81
|
+
export { getEntitiesFiltersByQuery, useGetEntitiesFiltersByQueryMutation, } from './hooks/useGetEntitiesFiltersByQueryMutation';
|
|
78
82
|
export type { GetEntitiesFiltersErrorResponse, GetEntitiesFiltersOkResponse, GetEntitiesFiltersProps, GetEntitiesFiltersQueryQueryParams, } from './hooks/useGetEntitiesFiltersQuery';
|
|
79
83
|
export { getEntitiesFilters, useGetEntitiesFiltersQuery } from './hooks/useGetEntitiesFiltersQuery';
|
|
80
84
|
export type { GetEntitiesGroupsErrorResponse, GetEntitiesGroupsOkResponse, GetEntitiesGroupsProps, GetEntitiesGroupsQueryQueryParams, } from './hooks/useGetEntitiesGroupsQuery';
|
|
@@ -188,7 +192,9 @@ export type { ConfigurationEntitiesRequestRequestBody } from './requestBodies/Co
|
|
|
188
192
|
export type { ConnectorInfoRequestRequestBody } from './requestBodies/ConnectorInfoRequestRequestBody';
|
|
189
193
|
export type { CustomPluginCreateRequestRequestBody } from './requestBodies/CustomPluginCreateRequestRequestBody';
|
|
190
194
|
export type { CustomPluginInfoRequestRequestBody } from './requestBodies/CustomPluginInfoRequestRequestBody';
|
|
195
|
+
export type { EntitesByRefsRequestRequestBody } from './requestBodies/EntitesByRefsRequestRequestBody';
|
|
191
196
|
export type { EntityCreateRequestBodyRequestBody } from './requestBodies/EntityCreateRequestBodyRequestBody';
|
|
197
|
+
export type { EntityFilterQueryRequestRequestBody } from './requestBodies/EntityFilterQueryRequestRequestBody';
|
|
192
198
|
export type { EntityMoveRequestBodyRequestBody } from './requestBodies/EntityMoveRequestBodyRequestBody';
|
|
193
199
|
export type { EntityRequestBodyRequestBody } from './requestBodies/EntityRequestBodyRequestBody';
|
|
194
200
|
export type { EntityUpdateRequestBodyRequestBody } from './requestBodies/EntityUpdateRequestBodyRequestBody';
|
|
@@ -311,11 +317,13 @@ export type { DataSourceDataPointsMap } from './schemas/DataSourceDataPointsMap'
|
|
|
311
317
|
export type { DataSourceDataPointsMapResponse } from './schemas/DataSourceDataPointsMapResponse';
|
|
312
318
|
export type { DataSourcesResponse } from './schemas/DataSourcesResponse';
|
|
313
319
|
export type { DefaultSaveResponse } from './schemas/DefaultSaveResponse';
|
|
320
|
+
export type { EntitiesByRefsRequest } from './schemas/EntitiesByRefsRequest';
|
|
314
321
|
export type { EntitiesForImport } from './schemas/EntitiesForImport';
|
|
315
322
|
export type { EntitiesGroups } from './schemas/EntitiesGroups';
|
|
316
323
|
export type { EntitiesGroupsResponse } from './schemas/EntitiesGroupsResponse';
|
|
317
324
|
export type { EntityConvertResponse } from './schemas/EntityConvertResponse';
|
|
318
325
|
export type { EntityCreateRequest } from './schemas/EntityCreateRequest';
|
|
326
|
+
export type { EntityFilterQueryRequest } from './schemas/EntityFilterQueryRequest';
|
|
319
327
|
export type { EntityFiltersResponse } from './schemas/EntityFiltersResponse';
|
|
320
328
|
export type { EntityJsonSchemaResponse } from './schemas/EntityJsonSchemaResponse';
|
|
321
329
|
export type { EntityKindsResponse } from './schemas/EntityKindsResponse';
|
|
@@ -36,6 +36,8 @@ export { getCustomPluginStatusLogs, useGetCustomPluginStatusLogsQuery, } from '.
|
|
|
36
36
|
export { getCustomPluginStatusPluginId, useGetCustomPluginStatusPluginIdQuery, } from './hooks/useGetCustomPluginStatusPluginIdQuery';
|
|
37
37
|
export { getDataPointsForDataSource, useGetDataPointsForDataSourceQuery, } from './hooks/useGetDataPointsForDataSourceQuery';
|
|
38
38
|
export { getDataSourcesDataPointsMap, useGetDataSourcesDataPointsMapQuery, } from './hooks/useGetDataSourcesDataPointsMapQuery';
|
|
39
|
+
export { getEntitiesByRefs, useGetEntitiesByRefsMutation, } from './hooks/useGetEntitiesByRefsMutation';
|
|
40
|
+
export { getEntitiesFiltersByQuery, useGetEntitiesFiltersByQueryMutation, } from './hooks/useGetEntitiesFiltersByQueryMutation';
|
|
39
41
|
export { getEntitiesFilters, useGetEntitiesFiltersQuery } from './hooks/useGetEntitiesFiltersQuery';
|
|
40
42
|
export { getEntitiesGroups, useGetEntitiesGroupsQuery } from './hooks/useGetEntitiesGroupsQuery';
|
|
41
43
|
export { getEntitiesKinds, useGetEntitiesKindsQuery } from './hooks/useGetEntitiesKindsQuery';
|
package/dist/idp-service/src/services/requestBodies/CustomPluginCreateRequestRequestBody.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
1
|
+
import type { CustomPluginInfoRequest } from '../schemas/CustomPluginInfoRequest';
|
|
2
|
+
export type CustomPluginCreateRequestRequestBody = CustomPluginInfoRequest;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -8,9 +8,11 @@ export interface EntitiesGroups {
|
|
|
8
8
|
group_icon?: string;
|
|
9
9
|
group_identifier?: string;
|
|
10
10
|
group_name?: string;
|
|
11
|
+
order?: number;
|
|
11
12
|
org_identifier?: string;
|
|
12
13
|
org_name?: string;
|
|
13
14
|
project_identifier?: string;
|
|
14
15
|
project_name?: string;
|
|
15
16
|
total?: number;
|
|
17
|
+
workflows?: string[];
|
|
16
18
|
}
|
|
@@ -25,7 +25,7 @@ export interface EntityResponse {
|
|
|
25
25
|
scope?: 'ACCOUNT' | 'ORGANIZATION' | 'PROJECT';
|
|
26
26
|
}>;
|
|
27
27
|
identifier: string;
|
|
28
|
-
kind: 'api' | 'component' | 'group' | 'resource' | 'user' | 'workflow';
|
|
28
|
+
kind: 'api' | 'component' | 'environment' | 'environmentblueprint' | 'group' | 'resource' | 'system' | 'user' | 'workflow';
|
|
29
29
|
lifecycle?: string;
|
|
30
30
|
metadata?: {
|
|
31
31
|
[key: string]: any;
|
|
@@ -9,7 +9,7 @@ export interface GitMoveDetails {
|
|
|
9
9
|
/**
|
|
10
10
|
* Name of the branch. When moving an inline pipeline or a remote pipeline, this branch is where the remote entity is created or fetched.
|
|
11
11
|
*/
|
|
12
|
-
branch_name
|
|
12
|
+
branch_name: string;
|
|
13
13
|
/**
|
|
14
14
|
* Merge commit message.
|
|
15
15
|
*/
|
|
@@ -17,11 +17,11 @@ export interface GitMoveDetails {
|
|
|
17
17
|
/**
|
|
18
18
|
* Harness connector id used for entity CRUD operations
|
|
19
19
|
*/
|
|
20
|
-
connector_ref
|
|
20
|
+
connector_ref: string;
|
|
21
21
|
/**
|
|
22
22
|
* File path of the entity in the repository.
|
|
23
23
|
*/
|
|
24
|
-
file_path
|
|
24
|
+
file_path: string;
|
|
25
25
|
/**
|
|
26
26
|
* Is Git Experience repo harness code.
|
|
27
27
|
*/
|
|
@@ -29,5 +29,5 @@ export interface GitMoveDetails {
|
|
|
29
29
|
/**
|
|
30
30
|
* Name of the repository.
|
|
31
31
|
*/
|
|
32
|
-
repo_name
|
|
32
|
+
repo_name: string;
|
|
33
33
|
}
|