@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.
@@ -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, TeamDevelopersDto>;
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, TeamDevelopersDto>;
34
+ export declare function useTeamsControllerSearchTeamDevelopersQuery(props: TeamsControllerSearchTeamDevelopersProps, options?: Omit<UseQueryOptions<TeamsControllerSearchTeamDevelopersOkResponse, TeamsControllerSearchTeamDevelopersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamsControllerSearchTeamDevelopersOkResponse, TeamsControllerSearchTeamDevelopersErrorResponse>;
@@ -1,5 +1,6 @@
1
1
  import type { JsonNode } from '../schemas/JsonNode';
2
2
  export interface BaExpressionLeafDto {
3
+ actualCustomFieldKey?: string;
3
4
  customFilterKey?: string;
4
5
  /**
5
6
  * @format uuid
@@ -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' | 'ORG' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
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,6 +1,9 @@
1
1
  import type { MinimalOrgTree } from '../schemas/MinimalOrgTree';
2
2
  import type { SectionDto } from '../schemas/SectionDto';
3
3
  export interface ProductivityProfileResponseDto {
4
+ /**
5
+ * @deprecated
6
+ */
4
7
  active?: boolean;
5
8
  /**
6
9
  * @format int64
@@ -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' | 'ORG' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
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.11",
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",