@harnessio/react-sei-panorama-service-client 0.22.11 → 0.22.12
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/useTeamsControllerGetTeamDevelopersQuery.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchTeamDevelopersQuery.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/schemas/BaExpressionLeafDto.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/schemas/DeveloperValidationErrorDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.d.ts +6 -1
- package/dist/sei-panorama-service/src/services/schemas/ProductivityProfileResponseDto.d.ts +3 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +2 -1
- package/package.json +1 -1
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamDevelopersQuery.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { TeamDevelopersDto } from '../schemas/TeamDevelopersDto';
|
|
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 TeamsControllerGetTeamDevelopersQueryPathParams {
|
|
@@ -20,7 +21,7 @@ export interface TeamsControllerGetTeamDevelopersQueryQueryParams {
|
|
|
20
21
|
size?: number;
|
|
21
22
|
}
|
|
22
23
|
export type TeamsControllerGetTeamDevelopersOkResponse = ResponseWithPagination<TeamDevelopersDto>;
|
|
23
|
-
export type TeamsControllerGetTeamDevelopersErrorResponse = TeamDevelopersDto;
|
|
24
|
+
export type TeamsControllerGetTeamDevelopersErrorResponse = TeamDevelopersDto | ErrorResponse;
|
|
24
25
|
export interface TeamsControllerGetTeamDevelopersProps extends TeamsControllerGetTeamDevelopersQueryPathParams, Omit<FetcherOptions<TeamsControllerGetTeamDevelopersQueryQueryParams, unknown>, 'url'> {
|
|
25
26
|
queryParams: TeamsControllerGetTeamDevelopersQueryQueryParams;
|
|
26
27
|
}
|
|
@@ -28,4 +29,4 @@ export declare function teamsControllerGetTeamDevelopers(props: TeamsControllerG
|
|
|
28
29
|
/**
|
|
29
30
|
* Returns developers for the specified team with optional pagination support
|
|
30
31
|
*/
|
|
31
|
-
export declare function useTeamsControllerGetTeamDevelopersQuery(props: TeamsControllerGetTeamDevelopersProps, options?: Omit<UseQueryOptions<TeamsControllerGetTeamDevelopersOkResponse, TeamsControllerGetTeamDevelopersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamsControllerGetTeamDevelopersOkResponse,
|
|
32
|
+
export declare function useTeamsControllerGetTeamDevelopersQuery(props: TeamsControllerGetTeamDevelopersProps, options?: Omit<UseQueryOptions<TeamsControllerGetTeamDevelopersOkResponse, TeamsControllerGetTeamDevelopersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamsControllerGetTeamDevelopersOkResponse, TeamsControllerGetTeamDevelopersErrorResponse>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { TeamDevelopersDto } from '../schemas/TeamDevelopersDto';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
4
|
import type { TeamDeveloperSearchParams } from '../schemas/TeamDeveloperSearchParams';
|
|
4
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
@@ -21,7 +22,7 @@ export interface TeamsControllerSearchTeamDevelopersQueryQueryParams {
|
|
|
21
22
|
}
|
|
22
23
|
export type TeamsControllerSearchTeamDevelopersRequestBody = TeamDeveloperSearchParams;
|
|
23
24
|
export type TeamsControllerSearchTeamDevelopersOkResponse = ResponseWithPagination<TeamDevelopersDto>;
|
|
24
|
-
export type TeamsControllerSearchTeamDevelopersErrorResponse = TeamDevelopersDto;
|
|
25
|
+
export type TeamsControllerSearchTeamDevelopersErrorResponse = TeamDevelopersDto | ErrorResponse;
|
|
25
26
|
export interface TeamsControllerSearchTeamDevelopersProps extends TeamsControllerSearchTeamDevelopersQueryPathParams, Omit<FetcherOptions<TeamsControllerSearchTeamDevelopersQueryQueryParams, TeamsControllerSearchTeamDevelopersRequestBody>, 'url'> {
|
|
26
27
|
queryParams: TeamsControllerSearchTeamDevelopersQueryQueryParams;
|
|
27
28
|
body: TeamsControllerSearchTeamDevelopersRequestBody;
|
|
@@ -30,4 +31,4 @@ export declare function teamsControllerSearchTeamDevelopers(props: TeamsControll
|
|
|
30
31
|
/**
|
|
31
32
|
* Search developers for the specified team with filtering and sorting options
|
|
32
33
|
*/
|
|
33
|
-
export declare function useTeamsControllerSearchTeamDevelopersQuery(props: TeamsControllerSearchTeamDevelopersProps, options?: Omit<UseQueryOptions<TeamsControllerSearchTeamDevelopersOkResponse, TeamsControllerSearchTeamDevelopersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamsControllerSearchTeamDevelopersOkResponse,
|
|
34
|
+
export declare function useTeamsControllerSearchTeamDevelopersQuery(props: TeamsControllerSearchTeamDevelopersProps, options?: Omit<UseQueryOptions<TeamsControllerSearchTeamDevelopersOkResponse, TeamsControllerSearchTeamDevelopersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamsControllerSearchTeamDevelopersOkResponse, TeamsControllerSearchTeamDevelopersErrorResponse>;
|
|
@@ -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' | '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';
|
|
13
|
+
errorType?: 'BLANK_CSV_COLUMN_NAME' | 'CIRCULAR_REFERENCE' | 'DUPLICATE_EMAIL' | 'DUPLICATE_FIELD_TYPE' | '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
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
export interface FilterValuesRequestDto {
|
|
2
|
+
/**
|
|
3
|
+
* Actual custom field key from the external system (used when isCustom = true)
|
|
4
|
+
*/
|
|
5
|
+
actualCustomFieldKey?: string;
|
|
2
6
|
/**
|
|
3
7
|
* Custom filter key name to get values for (used when isCustom = true)
|
|
8
|
+
* @deprecated
|
|
4
9
|
*/
|
|
5
10
|
customFilterKey?: string;
|
|
6
11
|
/**
|
|
7
12
|
* Filter key to get values for (used when isCustom = false)
|
|
8
13
|
*/
|
|
9
|
-
filterKey?: 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | '
|
|
14
|
+
filterKey?: 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
|
|
10
15
|
/**
|
|
11
16
|
* Integration ID
|
|
12
17
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export interface TeamFilter {
|
|
2
|
+
actualCustomFilterKey?: string;
|
|
2
3
|
additionalInfo?: {
|
|
3
4
|
[key: string]: {
|
|
4
5
|
[key: string]: any;
|
|
@@ -6,7 +7,7 @@ export interface TeamFilter {
|
|
|
6
7
|
};
|
|
7
8
|
applicableMetrics?: Array<'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED'>;
|
|
8
9
|
customFilterKey?: string;
|
|
9
|
-
filterKey?: 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | '
|
|
10
|
+
filterKey?: 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
|
|
10
11
|
/**
|
|
11
12
|
* @format int32
|
|
12
13
|
*/
|
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.12",
|
|
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",
|