@harnessio/react-sei-panorama-service-client 0.22.1 → 0.22.3
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/sei-panorama-service/src/services/hooks/useDeveloperControllerApproveDevelopersSaveMutation.d.ts +4 -3
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerApproveDevelopersSaveMutation.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerDeleteDevelopersMutation.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGetDeveloperSchemaQuery.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGetDeveloperUploadPreviewQuery.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGetDevelopersQuery.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGetDistinctDeveloperAttributeValuesQuery.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGetLatestDeveloperSchemaQuery.d.ts +2 -1
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGroupDevelopersMutation.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerInsertDeveloperCloudIdsMutation.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerReuploadDeveloperFileMutation.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerSaveDevelopersMutation.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerSearchDevelopersQuery.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerUpdateDeveloperMutation.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerUploadDeveloperCloudIdsMutation.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerUploadDeveloperFileMutation.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerUpsertDevelopersMutation.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerListOrgTreesWithHierarchiesQuery.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerListOrgTreesWithHierarchiesQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/index.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/CfrConfigurationDto.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/DeveloperReuploadResponseDto.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/DeveloperValidationErrorDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/DfConfigurationDto.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyLeadTimeDrilldownResponseWrapper.d.ts +6 -0
- package/dist/sei-panorama-service/src/services/schemas/ErrorResponse.d.ts +20 -3
- package/dist/sei-panorama-service/src/services/schemas/IntegrationHealthDrillDownDto.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationUser.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/LtcConfigurationDto.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/LtcStageDto.d.ts +3 -0
- package/dist/sei-panorama-service/src/services/schemas/MttrConfigurationDto.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/RatingLevel.d.ts +33 -0
- package/dist/sei-panorama-service/src/services/schemas/RatingLevel.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/Stage.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamHierarchyDto.d.ts +26 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamHierarchyDto.js +4 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
2
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
3
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
5
|
export interface DeveloperControllerApproveDevelopersSaveMutationPathParams {
|
|
@@ -8,11 +9,11 @@ export interface DeveloperControllerApproveDevelopersSaveMutationPathParams {
|
|
|
8
9
|
uploadId: number;
|
|
9
10
|
}
|
|
10
11
|
export type DeveloperControllerApproveDevelopersSaveOkResponse = ResponseWithPagination<unknown>;
|
|
11
|
-
export type DeveloperControllerApproveDevelopersSaveErrorResponse =
|
|
12
|
+
export type DeveloperControllerApproveDevelopersSaveErrorResponse = ErrorResponse;
|
|
12
13
|
export interface DeveloperControllerApproveDevelopersSaveProps extends DeveloperControllerApproveDevelopersSaveMutationPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
13
14
|
}
|
|
14
15
|
export declare function developerControllerApproveDevelopersSave(props: DeveloperControllerApproveDevelopersSaveProps): Promise<DeveloperControllerApproveDevelopersSaveOkResponse>;
|
|
15
16
|
/**
|
|
16
|
-
* Approves the
|
|
17
|
+
* Approves the developers from re upload and activates the changes
|
|
17
18
|
*/
|
|
18
|
-
export declare function useDeveloperControllerApproveDevelopersSaveMutation(options?: Omit<UseMutationOptions<DeveloperControllerApproveDevelopersSaveOkResponse, DeveloperControllerApproveDevelopersSaveErrorResponse, DeveloperControllerApproveDevelopersSaveProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerApproveDevelopersSaveOkResponse,
|
|
19
|
+
export declare function useDeveloperControllerApproveDevelopersSaveMutation(options?: Omit<UseMutationOptions<DeveloperControllerApproveDevelopersSaveOkResponse, DeveloperControllerApproveDevelopersSaveErrorResponse, DeveloperControllerApproveDevelopersSaveProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerApproveDevelopersSaveOkResponse, ErrorResponse, DeveloperControllerApproveDevelopersSaveProps, unknown>;
|
|
@@ -7,7 +7,7 @@ export function developerControllerApproveDevelopersSave(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/developers/uploads/${props.uploadId}/approve`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Approves the
|
|
10
|
+
* Approves the developers from re upload and activates the changes
|
|
11
11
|
*/
|
|
12
12
|
export function useDeveloperControllerApproveDevelopersSaveMutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => developerControllerApproveDevelopersSave(mutateProps), options);
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DeveloperUpsertResponseDto } from '../schemas/DeveloperUpsertResponseDto';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
6
|
export type DeveloperControllerDeleteDevelopersOkResponse = ResponseWithPagination<DeveloperUpsertResponseDto>;
|
|
6
|
-
export type DeveloperControllerDeleteDevelopersErrorResponse = DeveloperUpsertResponseDto;
|
|
7
|
+
export type DeveloperControllerDeleteDevelopersErrorResponse = DeveloperUpsertResponseDto | ErrorResponse;
|
|
7
8
|
export interface DeveloperControllerDeleteDevelopersProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
8
9
|
}
|
|
9
10
|
export declare function developerControllerDeleteDevelopers(props: DeveloperControllerDeleteDevelopersProps): Promise<DeveloperControllerDeleteDevelopersOkResponse>;
|
|
10
11
|
/**
|
|
11
12
|
* Delete developers by their email addresses. This will remove the specified developers from the active dataset.
|
|
12
13
|
*/
|
|
13
|
-
export declare function useDeveloperControllerDeleteDevelopersMutation(options?: Omit<UseMutationOptions<DeveloperControllerDeleteDevelopersOkResponse, DeveloperControllerDeleteDevelopersErrorResponse, DeveloperControllerDeleteDevelopersProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerDeleteDevelopersOkResponse,
|
|
14
|
+
export declare function useDeveloperControllerDeleteDevelopersMutation(options?: Omit<UseMutationOptions<DeveloperControllerDeleteDevelopersOkResponse, DeveloperControllerDeleteDevelopersErrorResponse, DeveloperControllerDeleteDevelopersProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerDeleteDevelopersOkResponse, DeveloperControllerDeleteDevelopersErrorResponse, DeveloperControllerDeleteDevelopersProps, unknown>;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DeveloperSchemaDto } from '../schemas/DeveloperSchemaDto';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
6
|
export type DeveloperControllerGetDeveloperSchemaOkResponse = ResponseWithPagination<DeveloperSchemaDto>;
|
|
6
|
-
export type DeveloperControllerGetDeveloperSchemaErrorResponse =
|
|
7
|
+
export type DeveloperControllerGetDeveloperSchemaErrorResponse = ErrorResponse;
|
|
7
8
|
export interface DeveloperControllerGetDeveloperSchemaProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
8
9
|
}
|
|
9
10
|
export declare function developerControllerGetDeveloperSchema(props: DeveloperControllerGetDeveloperSchemaProps): Promise<DeveloperControllerGetDeveloperSchemaOkResponse>;
|
|
10
11
|
/**
|
|
11
12
|
* Returns the complete developer schema including field definitions and required fields for the account
|
|
12
13
|
*/
|
|
13
|
-
export declare function useDeveloperControllerGetDeveloperSchemaQuery(props: DeveloperControllerGetDeveloperSchemaProps, options?: Omit<UseQueryOptions<DeveloperControllerGetDeveloperSchemaOkResponse, DeveloperControllerGetDeveloperSchemaErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DeveloperControllerGetDeveloperSchemaOkResponse,
|
|
14
|
+
export declare function useDeveloperControllerGetDeveloperSchemaQuery(props: DeveloperControllerGetDeveloperSchemaProps, options?: Omit<UseQueryOptions<DeveloperControllerGetDeveloperSchemaOkResponse, DeveloperControllerGetDeveloperSchemaErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DeveloperControllerGetDeveloperSchemaOkResponse, ErrorResponse>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DeveloperFilePreviewDto } from '../schemas/DeveloperFilePreviewDto';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
6
|
export interface DeveloperControllerGetDeveloperUploadPreviewQueryPathParams {
|
|
@@ -9,7 +10,7 @@ export interface DeveloperControllerGetDeveloperUploadPreviewQueryPathParams {
|
|
|
9
10
|
uploadId: number;
|
|
10
11
|
}
|
|
11
12
|
export type DeveloperControllerGetDeveloperUploadPreviewOkResponse = ResponseWithPagination<DeveloperFilePreviewDto>;
|
|
12
|
-
export type DeveloperControllerGetDeveloperUploadPreviewErrorResponse =
|
|
13
|
+
export type DeveloperControllerGetDeveloperUploadPreviewErrorResponse = ErrorResponse;
|
|
13
14
|
export interface DeveloperControllerGetDeveloperUploadPreviewProps extends DeveloperControllerGetDeveloperUploadPreviewQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
14
15
|
}
|
|
15
16
|
export declare function developerControllerGetDeveloperUploadPreview(props: DeveloperControllerGetDeveloperUploadPreviewProps): Promise<DeveloperControllerGetDeveloperUploadPreviewOkResponse>;
|
|
@@ -17,4 +18,4 @@ export declare function developerControllerGetDeveloperUploadPreview(props: Deve
|
|
|
17
18
|
* Get developer file preview for an uploadId
|
|
18
19
|
* @deprecated
|
|
19
20
|
*/
|
|
20
|
-
export declare function useDeveloperControllerGetDeveloperUploadPreviewQuery(props: DeveloperControllerGetDeveloperUploadPreviewProps, options?: Omit<UseQueryOptions<DeveloperControllerGetDeveloperUploadPreviewOkResponse, DeveloperControllerGetDeveloperUploadPreviewErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DeveloperControllerGetDeveloperUploadPreviewOkResponse,
|
|
21
|
+
export declare function useDeveloperControllerGetDeveloperUploadPreviewQuery(props: DeveloperControllerGetDeveloperUploadPreviewProps, options?: Omit<UseQueryOptions<DeveloperControllerGetDeveloperUploadPreviewOkResponse, DeveloperControllerGetDeveloperUploadPreviewErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DeveloperControllerGetDeveloperUploadPreviewOkResponse, ErrorResponse>;
|
package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGetDevelopersQuery.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DeveloperListResponseDto } from '../schemas/DeveloperListResponseDto';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
6
|
export interface DeveloperControllerGetDevelopersQueryQueryParams {
|
|
@@ -15,7 +16,7 @@ export interface DeveloperControllerGetDevelopersQueryQueryParams {
|
|
|
15
16
|
pageSize?: number;
|
|
16
17
|
}
|
|
17
18
|
export type DeveloperControllerGetDevelopersOkResponse = ResponseWithPagination<DeveloperListResponseDto>;
|
|
18
|
-
export type DeveloperControllerGetDevelopersErrorResponse = DeveloperListResponseDto;
|
|
19
|
+
export type DeveloperControllerGetDevelopersErrorResponse = DeveloperListResponseDto | ErrorResponse;
|
|
19
20
|
export interface DeveloperControllerGetDevelopersProps extends Omit<FetcherOptions<DeveloperControllerGetDevelopersQueryQueryParams, unknown>, 'url'> {
|
|
20
21
|
queryParams: DeveloperControllerGetDevelopersQueryQueryParams;
|
|
21
22
|
}
|
|
@@ -24,4 +25,4 @@ export declare function developerControllerGetDevelopers(props: DeveloperControl
|
|
|
24
25
|
* Retrieves a paginated list of all developers in the specified workspace. Set pageSize=0 to fetch all records.
|
|
25
26
|
* @deprecated
|
|
26
27
|
*/
|
|
27
|
-
export declare function useDeveloperControllerGetDevelopersQuery(props: DeveloperControllerGetDevelopersProps, options?: Omit<UseQueryOptions<DeveloperControllerGetDevelopersOkResponse, DeveloperControllerGetDevelopersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DeveloperControllerGetDevelopersOkResponse,
|
|
28
|
+
export declare function useDeveloperControllerGetDevelopersQuery(props: DeveloperControllerGetDevelopersProps, options?: Omit<UseQueryOptions<DeveloperControllerGetDevelopersOkResponse, DeveloperControllerGetDevelopersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DeveloperControllerGetDevelopersOkResponse, DeveloperControllerGetDevelopersErrorResponse>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
2
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
3
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
5
|
export interface DeveloperControllerGetDistinctDeveloperAttributeValuesQueryQueryParams {
|
|
5
6
|
attribute: string;
|
|
6
7
|
}
|
|
7
8
|
export type DeveloperControllerGetDistinctDeveloperAttributeValuesOkResponse = ResponseWithPagination<string[]>;
|
|
8
|
-
export type DeveloperControllerGetDistinctDeveloperAttributeValuesErrorResponse =
|
|
9
|
+
export type DeveloperControllerGetDistinctDeveloperAttributeValuesErrorResponse = ErrorResponse;
|
|
9
10
|
export interface DeveloperControllerGetDistinctDeveloperAttributeValuesProps extends Omit<FetcherOptions<DeveloperControllerGetDistinctDeveloperAttributeValuesQueryQueryParams, unknown>, 'url'> {
|
|
10
11
|
queryParams: DeveloperControllerGetDistinctDeveloperAttributeValuesQueryQueryParams;
|
|
11
12
|
}
|
|
@@ -13,4 +14,4 @@ export declare function developerControllerGetDistinctDeveloperAttributeValues(p
|
|
|
13
14
|
/**
|
|
14
15
|
* Returns distinct values for a given attribute key from developers.attributes for the active version.
|
|
15
16
|
*/
|
|
16
|
-
export declare function useDeveloperControllerGetDistinctDeveloperAttributeValuesQuery(props: DeveloperControllerGetDistinctDeveloperAttributeValuesProps, options?: Omit<UseQueryOptions<DeveloperControllerGetDistinctDeveloperAttributeValuesOkResponse, DeveloperControllerGetDistinctDeveloperAttributeValuesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DeveloperControllerGetDistinctDeveloperAttributeValuesOkResponse,
|
|
17
|
+
export declare function useDeveloperControllerGetDistinctDeveloperAttributeValuesQuery(props: DeveloperControllerGetDistinctDeveloperAttributeValuesProps, options?: Omit<UseQueryOptions<DeveloperControllerGetDistinctDeveloperAttributeValuesOkResponse, DeveloperControllerGetDistinctDeveloperAttributeValuesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DeveloperControllerGetDistinctDeveloperAttributeValuesOkResponse, ErrorResponse>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DeveloperFieldDto } from '../schemas/DeveloperFieldDto';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
6
|
export interface DeveloperControllerGetLatestDeveloperSchemaQueryPathParams {
|
|
@@ -9,7 +10,7 @@ export interface DeveloperControllerGetLatestDeveloperSchemaQueryPathParams {
|
|
|
9
10
|
uploadId: number;
|
|
10
11
|
}
|
|
11
12
|
export type DeveloperControllerGetLatestDeveloperSchemaOkResponse = ResponseWithPagination<DeveloperFieldDto[]>;
|
|
12
|
-
export type DeveloperControllerGetLatestDeveloperSchemaErrorResponse = DeveloperFieldDto[];
|
|
13
|
+
export type DeveloperControllerGetLatestDeveloperSchemaErrorResponse = DeveloperFieldDto[] | ErrorResponse;
|
|
13
14
|
export interface DeveloperControllerGetLatestDeveloperSchemaProps extends DeveloperControllerGetLatestDeveloperSchemaQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
14
15
|
}
|
|
15
16
|
export declare function developerControllerGetLatestDeveloperSchema(props: DeveloperControllerGetLatestDeveloperSchemaProps): Promise<DeveloperControllerGetLatestDeveloperSchemaOkResponse>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { MinimalTeamHierarchyResponseDto } from '../schemas/MinimalTeamHierarchyResponseDto';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
4
|
import type { GroupByField } from '../schemas/GroupByField';
|
|
4
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
@@ -8,7 +9,7 @@ export interface DeveloperControllerGroupDevelopersMutationQueryParams {
|
|
|
8
9
|
}
|
|
9
10
|
export type DeveloperControllerGroupDevelopersRequestBody = GroupByField[];
|
|
10
11
|
export type DeveloperControllerGroupDevelopersOkResponse = ResponseWithPagination<MinimalTeamHierarchyResponseDto>;
|
|
11
|
-
export type DeveloperControllerGroupDevelopersErrorResponse = MinimalTeamHierarchyResponseDto;
|
|
12
|
+
export type DeveloperControllerGroupDevelopersErrorResponse = MinimalTeamHierarchyResponseDto | ErrorResponse;
|
|
12
13
|
export interface DeveloperControllerGroupDevelopersProps extends Omit<FetcherOptions<DeveloperControllerGroupDevelopersMutationQueryParams, DeveloperControllerGroupDevelopersRequestBody>, 'url'> {
|
|
13
14
|
queryParams: DeveloperControllerGroupDevelopersMutationQueryParams;
|
|
14
15
|
body: DeveloperControllerGroupDevelopersRequestBody;
|
|
@@ -18,4 +19,4 @@ export declare function developerControllerGroupDevelopers(props: DeveloperContr
|
|
|
18
19
|
* Retrieves a paginated list of all developers in the specified workspace
|
|
19
20
|
* @deprecated
|
|
20
21
|
*/
|
|
21
|
-
export declare function useDeveloperControllerGroupDevelopersMutation(options?: Omit<UseMutationOptions<DeveloperControllerGroupDevelopersOkResponse, DeveloperControllerGroupDevelopersErrorResponse, DeveloperControllerGroupDevelopersProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerGroupDevelopersOkResponse,
|
|
22
|
+
export declare function useDeveloperControllerGroupDevelopersMutation(options?: Omit<UseMutationOptions<DeveloperControllerGroupDevelopersOkResponse, DeveloperControllerGroupDevelopersErrorResponse, DeveloperControllerGroupDevelopersProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerGroupDevelopersOkResponse, DeveloperControllerGroupDevelopersErrorResponse, DeveloperControllerGroupDevelopersProps, unknown>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DeveloperCloudIdInsertResponse } from '../schemas/DeveloperCloudIdInsertResponse';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
4
|
import type { DeveloperCloudIdInsertRequest } from '../schemas/DeveloperCloudIdInsertRequest';
|
|
4
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
7
|
export type DeveloperControllerInsertDeveloperCloudIdsRequestBody = DeveloperCloudIdInsertRequest;
|
|
7
8
|
export type DeveloperControllerInsertDeveloperCloudIdsOkResponse = ResponseWithPagination<DeveloperCloudIdInsertResponse>;
|
|
8
|
-
export type DeveloperControllerInsertDeveloperCloudIdsErrorResponse = DeveloperCloudIdInsertResponse;
|
|
9
|
+
export type DeveloperControllerInsertDeveloperCloudIdsErrorResponse = DeveloperCloudIdInsertResponse | ErrorResponse;
|
|
9
10
|
export interface DeveloperControllerInsertDeveloperCloudIdsProps extends Omit<FetcherOptions<unknown, DeveloperControllerInsertDeveloperCloudIdsRequestBody>, 'url'> {
|
|
10
11
|
body: DeveloperControllerInsertDeveloperCloudIdsRequestBody;
|
|
11
12
|
}
|
|
@@ -13,4 +14,4 @@ export declare function developerControllerInsertDeveloperCloudIds(props: Develo
|
|
|
13
14
|
/**
|
|
14
15
|
* Inserts or updates developer cloud ID mappings from JSON data
|
|
15
16
|
*/
|
|
16
|
-
export declare function useDeveloperControllerInsertDeveloperCloudIdsMutation(options?: Omit<UseMutationOptions<DeveloperControllerInsertDeveloperCloudIdsOkResponse, DeveloperControllerInsertDeveloperCloudIdsErrorResponse, DeveloperControllerInsertDeveloperCloudIdsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerInsertDeveloperCloudIdsOkResponse,
|
|
17
|
+
export declare function useDeveloperControllerInsertDeveloperCloudIdsMutation(options?: Omit<UseMutationOptions<DeveloperControllerInsertDeveloperCloudIdsOkResponse, DeveloperControllerInsertDeveloperCloudIdsErrorResponse, DeveloperControllerInsertDeveloperCloudIdsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerInsertDeveloperCloudIdsOkResponse, DeveloperControllerInsertDeveloperCloudIdsErrorResponse, DeveloperControllerInsertDeveloperCloudIdsProps, unknown>;
|
|
@@ -11,7 +11,7 @@ export interface DeveloperControllerReuploadDeveloperFileMutationQueryParams {
|
|
|
11
11
|
}
|
|
12
12
|
export type DeveloperControllerReuploadDeveloperFileRequestBody = unknown;
|
|
13
13
|
export type DeveloperControllerReuploadDeveloperFileOkResponse = ResponseWithPagination<DeveloperReuploadResponseDto>;
|
|
14
|
-
export type DeveloperControllerReuploadDeveloperFileErrorResponse = ErrorResponse;
|
|
14
|
+
export type DeveloperControllerReuploadDeveloperFileErrorResponse = DeveloperReuploadResponseDto | ErrorResponse;
|
|
15
15
|
export interface DeveloperControllerReuploadDeveloperFileProps extends Omit<FetcherOptions<DeveloperControllerReuploadDeveloperFileMutationQueryParams, DeveloperControllerReuploadDeveloperFileRequestBody>, 'url'> {
|
|
16
16
|
queryParams: DeveloperControllerReuploadDeveloperFileMutationQueryParams;
|
|
17
17
|
body: DeveloperControllerReuploadDeveloperFileRequestBody;
|
|
@@ -20,4 +20,4 @@ export declare function developerControllerReuploadDeveloperFile(props: Develope
|
|
|
20
20
|
/**
|
|
21
21
|
* Upload a new developer CSV file using existing field mappings. Returns detailed review information about affected developers and teams for approval workflow.
|
|
22
22
|
*/
|
|
23
|
-
export declare function useDeveloperControllerReuploadDeveloperFileMutation(options?: Omit<UseMutationOptions<DeveloperControllerReuploadDeveloperFileOkResponse, DeveloperControllerReuploadDeveloperFileErrorResponse, DeveloperControllerReuploadDeveloperFileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerReuploadDeveloperFileOkResponse,
|
|
23
|
+
export declare function useDeveloperControllerReuploadDeveloperFileMutation(options?: Omit<UseMutationOptions<DeveloperControllerReuploadDeveloperFileOkResponse, DeveloperControllerReuploadDeveloperFileErrorResponse, DeveloperControllerReuploadDeveloperFileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerReuploadDeveloperFileOkResponse, DeveloperControllerReuploadDeveloperFileErrorResponse, DeveloperControllerReuploadDeveloperFileProps, unknown>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DeveloperSaveResponseDto } from '../schemas/DeveloperSaveResponseDto';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
4
|
import type { DeveloperFieldDto } from '../schemas/DeveloperFieldDto';
|
|
4
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
@@ -11,7 +12,7 @@ export interface DeveloperControllerSaveDevelopersMutationPathParams {
|
|
|
11
12
|
}
|
|
12
13
|
export type DeveloperControllerSaveDevelopersRequestBody = DeveloperFieldDto[];
|
|
13
14
|
export type DeveloperControllerSaveDevelopersOkResponse = ResponseWithPagination<DeveloperSaveResponseDto>;
|
|
14
|
-
export type DeveloperControllerSaveDevelopersErrorResponse = DeveloperSaveResponseDto;
|
|
15
|
+
export type DeveloperControllerSaveDevelopersErrorResponse = DeveloperSaveResponseDto | ErrorResponse;
|
|
15
16
|
export interface DeveloperControllerSaveDevelopersProps extends DeveloperControllerSaveDevelopersMutationPathParams, Omit<FetcherOptions<unknown, DeveloperControllerSaveDevelopersRequestBody>, 'url'> {
|
|
16
17
|
body: DeveloperControllerSaveDevelopersRequestBody;
|
|
17
18
|
}
|
|
@@ -19,4 +20,4 @@ export declare function developerControllerSaveDevelopers(props: DeveloperContro
|
|
|
19
20
|
/**
|
|
20
21
|
* Saves the developers from a validated upload to the database. This is for the upload flow and does not include approval or review concepts.
|
|
21
22
|
*/
|
|
22
|
-
export declare function useDeveloperControllerSaveDevelopersMutation(options?: Omit<UseMutationOptions<DeveloperControllerSaveDevelopersOkResponse, DeveloperControllerSaveDevelopersErrorResponse, DeveloperControllerSaveDevelopersProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerSaveDevelopersOkResponse,
|
|
23
|
+
export declare function useDeveloperControllerSaveDevelopersMutation(options?: Omit<UseMutationOptions<DeveloperControllerSaveDevelopersOkResponse, DeveloperControllerSaveDevelopersErrorResponse, DeveloperControllerSaveDevelopersProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerSaveDevelopersOkResponse, DeveloperControllerSaveDevelopersErrorResponse, DeveloperControllerSaveDevelopersProps, unknown>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DeveloperListResponseDto } from '../schemas/DeveloperListResponseDto';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
4
|
import type { DeveloperSearchParams } from '../schemas/DeveloperSearchParams';
|
|
4
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
@@ -17,7 +18,7 @@ export interface DeveloperControllerSearchDevelopersQueryQueryParams {
|
|
|
17
18
|
}
|
|
18
19
|
export type DeveloperControllerSearchDevelopersRequestBody = DeveloperSearchParams;
|
|
19
20
|
export type DeveloperControllerSearchDevelopersOkResponse = ResponseWithPagination<DeveloperListResponseDto>;
|
|
20
|
-
export type DeveloperControllerSearchDevelopersErrorResponse =
|
|
21
|
+
export type DeveloperControllerSearchDevelopersErrorResponse = ErrorResponse;
|
|
21
22
|
export interface DeveloperControllerSearchDevelopersProps extends Omit<FetcherOptions<DeveloperControllerSearchDevelopersQueryQueryParams, DeveloperControllerSearchDevelopersRequestBody>, 'url'> {
|
|
22
23
|
queryParams: DeveloperControllerSearchDevelopersQueryQueryParams;
|
|
23
24
|
body: DeveloperControllerSearchDevelopersRequestBody;
|
|
@@ -26,4 +27,4 @@ export declare function developerControllerSearchDevelopers(props: DeveloperCont
|
|
|
26
27
|
/**
|
|
27
28
|
* Returns a list of developers matching the search criteria with sorting options
|
|
28
29
|
*/
|
|
29
|
-
export declare function useDeveloperControllerSearchDevelopersQuery(props: DeveloperControllerSearchDevelopersProps, options?: Omit<UseQueryOptions<DeveloperControllerSearchDevelopersOkResponse, DeveloperControllerSearchDevelopersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DeveloperControllerSearchDevelopersOkResponse,
|
|
30
|
+
export declare function useDeveloperControllerSearchDevelopersQuery(props: DeveloperControllerSearchDevelopersProps, options?: Omit<UseQueryOptions<DeveloperControllerSearchDevelopersOkResponse, DeveloperControllerSearchDevelopersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DeveloperControllerSearchDevelopersOkResponse, ErrorResponse>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
2
3
|
import type { DeveloperCloudIdMapping } from '../schemas/DeveloperCloudIdMapping';
|
|
3
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
@@ -10,7 +11,7 @@ export interface DeveloperControllerUpdateDeveloperMutationPathParams {
|
|
|
10
11
|
}
|
|
11
12
|
export type DeveloperControllerUpdateDeveloperRequestBody = DeveloperCloudIdMapping[];
|
|
12
13
|
export type DeveloperControllerUpdateDeveloperOkResponse = ResponseWithPagination<boolean>;
|
|
13
|
-
export type DeveloperControllerUpdateDeveloperErrorResponse =
|
|
14
|
+
export type DeveloperControllerUpdateDeveloperErrorResponse = ErrorResponse;
|
|
14
15
|
export interface DeveloperControllerUpdateDeveloperProps extends DeveloperControllerUpdateDeveloperMutationPathParams, Omit<FetcherOptions<unknown, DeveloperControllerUpdateDeveloperRequestBody>, 'url'> {
|
|
15
16
|
body: DeveloperControllerUpdateDeveloperRequestBody;
|
|
16
17
|
}
|
|
@@ -18,4 +19,4 @@ export declare function developerControllerUpdateDeveloper(props: DeveloperContr
|
|
|
18
19
|
/**
|
|
19
20
|
* Update a developer's cloud ID mappings for various integrations
|
|
20
21
|
*/
|
|
21
|
-
export declare function useDeveloperControllerUpdateDeveloperMutation(options?: Omit<UseMutationOptions<DeveloperControllerUpdateDeveloperOkResponse, DeveloperControllerUpdateDeveloperErrorResponse, DeveloperControllerUpdateDeveloperProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerUpdateDeveloperOkResponse,
|
|
22
|
+
export declare function useDeveloperControllerUpdateDeveloperMutation(options?: Omit<UseMutationOptions<DeveloperControllerUpdateDeveloperOkResponse, DeveloperControllerUpdateDeveloperErrorResponse, DeveloperControllerUpdateDeveloperProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerUpdateDeveloperOkResponse, ErrorResponse, DeveloperControllerUpdateDeveloperProps, unknown>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DeveloperCloudIdInsertResponse } from '../schemas/DeveloperCloudIdInsertResponse';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
6
|
export type DeveloperControllerUploadDeveloperCloudIdsRequestBody = unknown;
|
|
6
7
|
export type DeveloperControllerUploadDeveloperCloudIdsOkResponse = ResponseWithPagination<DeveloperCloudIdInsertResponse>;
|
|
7
|
-
export type DeveloperControllerUploadDeveloperCloudIdsErrorResponse = DeveloperCloudIdInsertResponse;
|
|
8
|
+
export type DeveloperControllerUploadDeveloperCloudIdsErrorResponse = DeveloperCloudIdInsertResponse | ErrorResponse;
|
|
8
9
|
export interface DeveloperControllerUploadDeveloperCloudIdsProps extends Omit<FetcherOptions<unknown, DeveloperControllerUploadDeveloperCloudIdsRequestBody>, 'url'> {
|
|
9
10
|
body: DeveloperControllerUploadDeveloperCloudIdsRequestBody;
|
|
10
11
|
}
|
|
@@ -12,4 +13,4 @@ export declare function developerControllerUploadDeveloperCloudIds(props: Develo
|
|
|
12
13
|
/**
|
|
13
14
|
* Inserts or updates developer cloud ID mappings from CSV file
|
|
14
15
|
*/
|
|
15
|
-
export declare function useDeveloperControllerUploadDeveloperCloudIdsMutation(options?: Omit<UseMutationOptions<DeveloperControllerUploadDeveloperCloudIdsOkResponse, DeveloperControllerUploadDeveloperCloudIdsErrorResponse, DeveloperControllerUploadDeveloperCloudIdsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerUploadDeveloperCloudIdsOkResponse,
|
|
16
|
+
export declare function useDeveloperControllerUploadDeveloperCloudIdsMutation(options?: Omit<UseMutationOptions<DeveloperControllerUploadDeveloperCloudIdsOkResponse, DeveloperControllerUploadDeveloperCloudIdsErrorResponse, DeveloperControllerUploadDeveloperCloudIdsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerUploadDeveloperCloudIdsOkResponse, DeveloperControllerUploadDeveloperCloudIdsErrorResponse, DeveloperControllerUploadDeveloperCloudIdsProps, unknown>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DeveloperFilePreviewDto } from '../schemas/DeveloperFilePreviewDto';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
6
|
export interface DeveloperControllerUploadDeveloperFileMutationQueryParams {
|
|
@@ -10,7 +11,7 @@ export interface DeveloperControllerUploadDeveloperFileMutationQueryParams {
|
|
|
10
11
|
}
|
|
11
12
|
export type DeveloperControllerUploadDeveloperFileRequestBody = unknown;
|
|
12
13
|
export type DeveloperControllerUploadDeveloperFileOkResponse = ResponseWithPagination<DeveloperFilePreviewDto>;
|
|
13
|
-
export type DeveloperControllerUploadDeveloperFileErrorResponse =
|
|
14
|
+
export type DeveloperControllerUploadDeveloperFileErrorResponse = ErrorResponse;
|
|
14
15
|
export interface DeveloperControllerUploadDeveloperFileProps extends Omit<FetcherOptions<DeveloperControllerUploadDeveloperFileMutationQueryParams, DeveloperControllerUploadDeveloperFileRequestBody>, 'url'> {
|
|
15
16
|
queryParams: DeveloperControllerUploadDeveloperFileMutationQueryParams;
|
|
16
17
|
body: DeveloperControllerUploadDeveloperFileRequestBody;
|
|
@@ -19,4 +20,4 @@ export declare function developerControllerUploadDeveloperFile(props: DeveloperC
|
|
|
19
20
|
/**
|
|
20
21
|
* Upload a developer file (CSV format) and get a preview of its contents
|
|
21
22
|
*/
|
|
22
|
-
export declare function useDeveloperControllerUploadDeveloperFileMutation(options?: Omit<UseMutationOptions<DeveloperControllerUploadDeveloperFileOkResponse, DeveloperControllerUploadDeveloperFileErrorResponse, DeveloperControllerUploadDeveloperFileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerUploadDeveloperFileOkResponse,
|
|
23
|
+
export declare function useDeveloperControllerUploadDeveloperFileMutation(options?: Omit<UseMutationOptions<DeveloperControllerUploadDeveloperFileOkResponse, DeveloperControllerUploadDeveloperFileErrorResponse, DeveloperControllerUploadDeveloperFileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerUploadDeveloperFileOkResponse, ErrorResponse, DeveloperControllerUploadDeveloperFileProps, unknown>;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DeveloperUpsertResponseDto } from '../schemas/DeveloperUpsertResponseDto';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
6
|
export type DeveloperControllerUpsertDevelopersRequestBody = Array<{
|
|
6
7
|
[key: string]: string;
|
|
7
8
|
}>;
|
|
8
9
|
export type DeveloperControllerUpsertDevelopersOkResponse = ResponseWithPagination<DeveloperUpsertResponseDto>;
|
|
9
|
-
export type DeveloperControllerUpsertDevelopersErrorResponse = DeveloperUpsertResponseDto;
|
|
10
|
+
export type DeveloperControllerUpsertDevelopersErrorResponse = DeveloperUpsertResponseDto | ErrorResponse;
|
|
10
11
|
export interface DeveloperControllerUpsertDevelopersProps extends Omit<FetcherOptions<unknown, DeveloperControllerUpsertDevelopersRequestBody>, 'url'> {
|
|
11
12
|
body: DeveloperControllerUpsertDevelopersRequestBody;
|
|
12
13
|
}
|
|
@@ -14,4 +15,4 @@ export declare function developerControllerUpsertDevelopers(props: DeveloperCont
|
|
|
14
15
|
/**
|
|
15
16
|
* Upsert developers by merging new records with existing ones. New records will be added and existing records with matching emails will be updated.
|
|
16
17
|
*/
|
|
17
|
-
export declare function useDeveloperControllerUpsertDevelopersMutation(options?: Omit<UseMutationOptions<DeveloperControllerUpsertDevelopersOkResponse, DeveloperControllerUpsertDevelopersErrorResponse, DeveloperControllerUpsertDevelopersProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerUpsertDevelopersOkResponse,
|
|
18
|
+
export declare function useDeveloperControllerUpsertDevelopersMutation(options?: Omit<UseMutationOptions<DeveloperControllerUpsertDevelopersOkResponse, DeveloperControllerUpsertDevelopersErrorResponse, DeveloperControllerUpsertDevelopersProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerUpsertDevelopersOkResponse, DeveloperControllerUpsertDevelopersErrorResponse, DeveloperControllerUpsertDevelopersProps, unknown>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TeamHierarchyDto } from '../schemas/TeamHierarchyDto';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface OrgTreeControllerListOrgTreesWithHierarchiesQueryQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
orgIdentifier: string;
|
|
9
|
+
projectIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type OrgTreeControllerListOrgTreesWithHierarchiesOkResponse = ResponseWithPagination<TeamHierarchyDto[]>;
|
|
12
|
+
export type OrgTreeControllerListOrgTreesWithHierarchiesErrorResponse = ErrorResponse;
|
|
13
|
+
export interface OrgTreeControllerListOrgTreesWithHierarchiesProps extends Omit<FetcherOptions<OrgTreeControllerListOrgTreesWithHierarchiesQueryQueryParams, unknown>, 'url'> {
|
|
14
|
+
queryParams: OrgTreeControllerListOrgTreesWithHierarchiesQueryQueryParams;
|
|
15
|
+
}
|
|
16
|
+
export declare function orgTreeControllerListOrgTreesWithHierarchies(props: OrgTreeControllerListOrgTreesWithHierarchiesProps): Promise<OrgTreeControllerListOrgTreesWithHierarchiesOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Returns an array of team hierarchies with complete team information including orgTreeId
|
|
19
|
+
*/
|
|
20
|
+
export declare function useOrgTreeControllerListOrgTreesWithHierarchiesQuery(props: OrgTreeControllerListOrgTreesWithHierarchiesProps, options?: Omit<UseQueryOptions<OrgTreeControllerListOrgTreesWithHierarchiesOkResponse, OrgTreeControllerListOrgTreesWithHierarchiesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<OrgTreeControllerListOrgTreesWithHierarchiesOkResponse, ErrorResponse>;
|
|
@@ -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 orgTreeControllerListOrgTreesWithHierarchies(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/hierarchies`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns an array of team hierarchies with complete team information including orgTreeId
|
|
11
|
+
*/
|
|
12
|
+
export function useOrgTreeControllerListOrgTreesWithHierarchiesQuery(props, options) {
|
|
13
|
+
return useQuery(['OrgTreeControllerListOrgTreesWithHierarchies', props.queryParams], ({ signal }) => orgTreeControllerListOrgTreesWithHierarchies(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -223,6 +223,8 @@ export type { OrgTreeControllerGetOrgTreesErrorResponse, OrgTreeControllerGetOrg
|
|
|
223
223
|
export { orgTreeControllerGetOrgTrees, useOrgTreeControllerGetOrgTreesQuery, } from './hooks/useOrgTreeControllerGetOrgTreesQuery';
|
|
224
224
|
export type { OrgTreeControllerGetProductivityProfileRefIdErrorResponse, OrgTreeControllerGetProductivityProfileRefIdOkResponse, OrgTreeControllerGetProductivityProfileRefIdProps, OrgTreeControllerGetProductivityProfileRefIdQueryPathParams, OrgTreeControllerGetProductivityProfileRefIdQueryQueryParams, } from './hooks/useOrgTreeControllerGetProductivityProfileRefIdQuery';
|
|
225
225
|
export { orgTreeControllerGetProductivityProfileRefId, useOrgTreeControllerGetProductivityProfileRefIdQuery, } from './hooks/useOrgTreeControllerGetProductivityProfileRefIdQuery';
|
|
226
|
+
export type { OrgTreeControllerListOrgTreesWithHierarchiesErrorResponse, OrgTreeControllerListOrgTreesWithHierarchiesOkResponse, OrgTreeControllerListOrgTreesWithHierarchiesProps, OrgTreeControllerListOrgTreesWithHierarchiesQueryQueryParams, } from './hooks/useOrgTreeControllerListOrgTreesWithHierarchiesQuery';
|
|
227
|
+
export { orgTreeControllerListOrgTreesWithHierarchies, useOrgTreeControllerListOrgTreesWithHierarchiesQuery, } from './hooks/useOrgTreeControllerListOrgTreesWithHierarchiesQuery';
|
|
226
228
|
export type { OrgTreeControllerPreviewTeamHierarchyErrorResponse, OrgTreeControllerPreviewTeamHierarchyOkResponse, OrgTreeControllerPreviewTeamHierarchyProps, OrgTreeControllerPreviewTeamHierarchyRequestBody, } from './hooks/useOrgTreeControllerPreviewTeamHierarchyMutation';
|
|
227
229
|
export { orgTreeControllerPreviewTeamHierarchy, useOrgTreeControllerPreviewTeamHierarchyMutation, } from './hooks/useOrgTreeControllerPreviewTeamHierarchyMutation';
|
|
228
230
|
export type { OrgTreeControllerSearchOrgTreesErrorResponse, OrgTreeControllerSearchOrgTreesOkResponse, OrgTreeControllerSearchOrgTreesProps, OrgTreeControllerSearchOrgTreesQueryQueryParams, OrgTreeControllerSearchOrgTreesRequestBody, } from './hooks/useOrgTreeControllerSearchOrgTreesQuery';
|
|
@@ -481,6 +483,7 @@ export type { ProductivityV3FeatureDrilldownResponseDto } from './schemas/Produc
|
|
|
481
483
|
export type { ProductivityV3FeatureIndividualDrilldownResponseDto } from './schemas/ProductivityV3FeatureIndividualDrilldownResponseDto';
|
|
482
484
|
export type { ProductivityV3FeatureRequestDto } from './schemas/ProductivityV3FeatureRequestDto';
|
|
483
485
|
export type { ProfileSearchParams } from './schemas/ProfileSearchParams';
|
|
486
|
+
export type { RatingLevel } from './schemas/RatingLevel';
|
|
484
487
|
export type { RefIdDto } from './schemas/RefIdDto';
|
|
485
488
|
export type { ReleaseIssueDto } from './schemas/ReleaseIssueDto';
|
|
486
489
|
export type { ReleaseIssuesResponseWrapper } from './schemas/ReleaseIssuesResponseWrapper';
|
|
@@ -494,6 +497,7 @@ export type { SummaryValueChange } from './schemas/SummaryValueChange';
|
|
|
494
497
|
export type { TeamDeveloperSearchParams } from './schemas/TeamDeveloperSearchParams';
|
|
495
498
|
export type { TeamDevelopersDto } from './schemas/TeamDevelopersDto';
|
|
496
499
|
export type { TeamFilter } from './schemas/TeamFilter';
|
|
500
|
+
export type { TeamHierarchyDto } from './schemas/TeamHierarchyDto';
|
|
497
501
|
export type { TeamInfo } from './schemas/TeamInfo';
|
|
498
502
|
export type { TeamInfoUpdateRequestDto } from './schemas/TeamInfoUpdateRequestDto';
|
|
499
503
|
export type { TeamInsightConfigDto } from './schemas/TeamInsightConfigDto';
|
|
@@ -110,6 +110,7 @@ export { orgTreeControllerGetOrgTree, useOrgTreeControllerGetOrgTreeQuery, } fro
|
|
|
110
110
|
export { orgTreeControllerGetOrgTreeTeamHierarchy, useOrgTreeControllerGetOrgTreeTeamHierarchyQuery, } from './hooks/useOrgTreeControllerGetOrgTreeTeamHierarchyQuery';
|
|
111
111
|
export { orgTreeControllerGetOrgTrees, useOrgTreeControllerGetOrgTreesQuery, } from './hooks/useOrgTreeControllerGetOrgTreesQuery';
|
|
112
112
|
export { orgTreeControllerGetProductivityProfileRefId, useOrgTreeControllerGetProductivityProfileRefIdQuery, } from './hooks/useOrgTreeControllerGetProductivityProfileRefIdQuery';
|
|
113
|
+
export { orgTreeControllerListOrgTreesWithHierarchies, useOrgTreeControllerListOrgTreesWithHierarchiesQuery, } from './hooks/useOrgTreeControllerListOrgTreesWithHierarchiesQuery';
|
|
113
114
|
export { orgTreeControllerPreviewTeamHierarchy, useOrgTreeControllerPreviewTeamHierarchyMutation, } from './hooks/useOrgTreeControllerPreviewTeamHierarchyMutation';
|
|
114
115
|
export { orgTreeControllerSearchOrgTrees, useOrgTreeControllerSearchOrgTreesQuery, } from './hooks/useOrgTreeControllerSearchOrgTreesQuery';
|
|
115
116
|
export { orgTreeControllerUpdateBusinessAlignmentProfileRefId, useOrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutation, } from './hooks/useOrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutation';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { EfficiencyProfileEvent } from '../schemas/EfficiencyProfileEvent';
|
|
2
|
+
import type { RatingLevel } from '../schemas/RatingLevel';
|
|
2
3
|
export interface CfrConfigurationDto {
|
|
3
4
|
active?: boolean;
|
|
4
5
|
failureEvent?: EfficiencyProfileEvent;
|
|
6
|
+
rating?: RatingLevel[];
|
|
5
7
|
totalEvent?: EfficiencyProfileEvent;
|
|
6
8
|
}
|
|
@@ -18,6 +18,11 @@ export interface DeveloperReuploadResponseDto {
|
|
|
18
18
|
* Status message
|
|
19
19
|
*/
|
|
20
20
|
status?: 'FAILURE' | 'SUCCESS';
|
|
21
|
+
/**
|
|
22
|
+
* Total number of records in the uploaded CSV
|
|
23
|
+
* @format int32
|
|
24
|
+
*/
|
|
25
|
+
totalRecords?: number;
|
|
21
26
|
/**
|
|
22
27
|
* ID of the developer upload
|
|
23
28
|
* @format int32
|
|
@@ -10,7 +10,7 @@ export interface DeveloperValidationErrorDto {
|
|
|
10
10
|
/**
|
|
11
11
|
* Type of validation error
|
|
12
12
|
*/
|
|
13
|
-
errorType?: 'BLANK_CSV_COLUMN_NAME' | 'CIRCULAR_REFERENCE' | 'DUPLICATE_EMAIL' | 'MANAGER_EMAIL_MISSING_IN_DEVELOPER_EMAILS' | 'MISSING_NAME_OR_EMAIL_OR_MANAGER_EMAIL_FIELD_MAPPING' | 'REQUIRED_FIELD_MISSING' | 'REQUIRED_VALUE_MISSING';
|
|
13
|
+
errorType?: 'BLANK_CSV_COLUMN_NAME' | 'CIRCULAR_REFERENCE' | 'DUPLICATE_EMAIL' | 'EMPTY_CSV' | 'INVALID_CSV' | 'MANAGER_EMAIL_MISSING_IN_DEVELOPER_EMAILS' | 'MISSING_NAME_OR_EMAIL_OR_MANAGER_EMAIL_FIELD_MAPPING' | 'REQUIRED_FIELD_MISSING' | 'REQUIRED_VALUE_MISSING';
|
|
14
14
|
fieldName?: string;
|
|
15
15
|
/**
|
|
16
16
|
* Sample records with this error
|
|
@@ -17,4 +17,10 @@ export interface EfficiencyLeadTimeDrilldownResponseWrapper {
|
|
|
17
17
|
* Pagination information
|
|
18
18
|
*/
|
|
19
19
|
pagination?: PaginationInfo;
|
|
20
|
+
/**
|
|
21
|
+
* Mapping of type identifiers to human-readable names
|
|
22
|
+
*/
|
|
23
|
+
stageTypeToDisplayNameMap?: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
20
26
|
}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Standard error response structure for API endpoints
|
|
3
|
+
*/
|
|
1
4
|
export interface ErrorResponse {
|
|
2
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Error type or category
|
|
7
|
+
* @example "Bad Request"
|
|
8
|
+
*/
|
|
9
|
+
error: string;
|
|
10
|
+
/**
|
|
11
|
+
* Unique identifier for this error occurrence
|
|
12
|
+
* @example "e38c1f02-936d-4cf7-a63b-cc93189dbe60"
|
|
13
|
+
*/
|
|
3
14
|
errorId?: string;
|
|
4
|
-
message?: string;
|
|
5
15
|
/**
|
|
16
|
+
* Detailed error message
|
|
17
|
+
* @example "Invalid request parameters"
|
|
18
|
+
*/
|
|
19
|
+
message: string;
|
|
20
|
+
/**
|
|
21
|
+
* HTTP status code
|
|
6
22
|
* @format int32
|
|
23
|
+
* @example 400
|
|
7
24
|
*/
|
|
8
|
-
status
|
|
25
|
+
status: number;
|
|
9
26
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { LtcStageDto } from '../schemas/LtcStageDto';
|
|
2
|
+
import type { RatingLevel } from '../schemas/RatingLevel';
|
|
2
3
|
export interface LtcConfigurationDto {
|
|
3
4
|
active?: boolean;
|
|
4
5
|
build?: LtcStageDto;
|
|
5
6
|
coding?: LtcStageDto;
|
|
6
7
|
deploy?: LtcStageDto;
|
|
7
8
|
planning?: LtcStageDto;
|
|
9
|
+
rating?: RatingLevel[];
|
|
8
10
|
review?: LtcStageDto;
|
|
9
11
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type { EfficiencyProfileEvent } from '../schemas/EfficiencyProfileEvent';
|
|
2
|
+
import type { RatingLevel } from '../schemas/RatingLevel';
|
|
2
3
|
export interface LtcStageDto {
|
|
3
4
|
active?: boolean;
|
|
5
|
+
displayName?: string;
|
|
4
6
|
endEvent?: EfficiencyProfileEvent;
|
|
5
7
|
name?: string;
|
|
8
|
+
rating?: RatingLevel[];
|
|
6
9
|
startEvent?: EfficiencyProfileEvent;
|
|
7
10
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Rating level configuration for maturity model scoring
|
|
3
|
+
*/
|
|
4
|
+
export interface RatingLevel {
|
|
5
|
+
/**
|
|
6
|
+
* Human-readable label for this rating level. Must not be null, blank, or duplicate within the same rating object. Labels are case-insensitive for uniqueness checks.
|
|
7
|
+
* @example "Elite"
|
|
8
|
+
*/
|
|
9
|
+
label: string;
|
|
10
|
+
/**
|
|
11
|
+
* Level order/rank starting from 1
|
|
12
|
+
* @format int32
|
|
13
|
+
* @example 1
|
|
14
|
+
*/
|
|
15
|
+
level?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Maximum threshold value for this rating level. Can be null to represent infinity for the highest level.
|
|
18
|
+
* @format double
|
|
19
|
+
* @example 1
|
|
20
|
+
*/
|
|
21
|
+
max?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Minimum threshold value for this rating level
|
|
24
|
+
* @format double
|
|
25
|
+
* @example 0
|
|
26
|
+
*/
|
|
27
|
+
min?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Time unit for threshold values (null for percentage-based metrics like CFR)
|
|
30
|
+
* @example "DAYS"
|
|
31
|
+
*/
|
|
32
|
+
timeUnit?: 'DAYS' | 'HOURS' | 'MINUTES' | 'MONTHS' | 'WEEKS';
|
|
33
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Team hierarchy node with complete team information
|
|
3
|
+
*/
|
|
4
|
+
export interface TeamHierarchyDto {
|
|
5
|
+
/**
|
|
6
|
+
* Array of child teams in the hierarchy
|
|
7
|
+
*/
|
|
8
|
+
children?: TeamHierarchyDto[];
|
|
9
|
+
/**
|
|
10
|
+
* Name of the team
|
|
11
|
+
* @example "Engineering"
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* Organization tree ID this team belongs to
|
|
16
|
+
* @format int32
|
|
17
|
+
* @example 1
|
|
18
|
+
*/
|
|
19
|
+
orgTreeId: number;
|
|
20
|
+
/**
|
|
21
|
+
* Reference ID of the team
|
|
22
|
+
* @format int32
|
|
23
|
+
* @example 10
|
|
24
|
+
*/
|
|
25
|
+
refId: number;
|
|
26
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.3",
|
|
4
4
|
"description": "Harness React sei panorama service client - SEI Panorama APIs integrated with react hooks for Panorama project",
|
|
5
5
|
"author": "Harness Inc",
|
|
6
6
|
"license": "MIT",
|