@harnessio/react-sei-panorama-service-client 0.16.0 → 0.16.2

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 { UseMutationOptions } from '@tanstack/react-query';
2
2
  import type { EfficiencyProfileResponseDto } from '../schemas/EfficiencyProfileResponseDto';
3
+ import type { ErrorResponse } from '../schemas/ErrorResponse';
3
4
  import type { EfficiencyProfileCreateRequestDto } from '../schemas/EfficiencyProfileCreateRequestDto';
4
5
  import type { ResponseWithPagination } from '../helpers';
5
6
  import { FetcherOptions } from '../../../../fetcher/index.js';
@@ -8,10 +9,13 @@ export interface EfficiencyProfileControllerCreateProfileMutationQueryParams {
8
9
  }
9
10
  export type EfficiencyProfileControllerCreateProfileRequestBody = EfficiencyProfileCreateRequestDto;
10
11
  export type EfficiencyProfileControllerCreateProfileOkResponse = ResponseWithPagination<EfficiencyProfileResponseDto>;
11
- export type EfficiencyProfileControllerCreateProfileErrorResponse = unknown;
12
+ export type EfficiencyProfileControllerCreateProfileErrorResponse = ErrorResponse;
12
13
  export interface EfficiencyProfileControllerCreateProfileProps extends Omit<FetcherOptions<EfficiencyProfileControllerCreateProfileMutationQueryParams, EfficiencyProfileControllerCreateProfileRequestBody>, 'url'> {
13
14
  queryParams: EfficiencyProfileControllerCreateProfileMutationQueryParams;
14
15
  body: EfficiencyProfileControllerCreateProfileRequestBody;
15
16
  }
16
17
  export declare function efficiencyProfileControllerCreateProfile(props: EfficiencyProfileControllerCreateProfileProps): Promise<EfficiencyProfileControllerCreateProfileOkResponse>;
17
- export declare function useEfficiencyProfileControllerCreateProfileMutation(options?: Omit<UseMutationOptions<EfficiencyProfileControllerCreateProfileOkResponse, EfficiencyProfileControllerCreateProfileErrorResponse, EfficiencyProfileControllerCreateProfileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<EfficiencyProfileControllerCreateProfileOkResponse, unknown, EfficiencyProfileControllerCreateProfileProps, unknown>;
18
+ /**
19
+ * Creates a new efficiency profile for the given account. Profile names must be unique per account.
20
+ */
21
+ export declare function useEfficiencyProfileControllerCreateProfileMutation(options?: Omit<UseMutationOptions<EfficiencyProfileControllerCreateProfileOkResponse, EfficiencyProfileControllerCreateProfileErrorResponse, EfficiencyProfileControllerCreateProfileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<EfficiencyProfileControllerCreateProfileOkResponse, ErrorResponse, EfficiencyProfileControllerCreateProfileProps, unknown>;
@@ -6,6 +6,9 @@ import { fetcher } from '../../../../fetcher/index.js';
6
6
  export function efficiencyProfileControllerCreateProfile(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/profiles/efficiency`, method: 'POST' }, props));
8
8
  }
9
+ /**
10
+ * Creates a new efficiency profile for the given account. Profile names must be unique per account.
11
+ */
9
12
  export function useEfficiencyProfileControllerCreateProfileMutation(options) {
10
13
  return useMutation((mutateProps) => efficiencyProfileControllerCreateProfile(mutateProps), options);
11
14
  }
@@ -1,5 +1,6 @@
1
1
  import { UseMutationOptions } from '@tanstack/react-query';
2
2
  import type { ProductivityProfileResponseDto } from '../schemas/ProductivityProfileResponseDto';
3
+ import type { ErrorResponse } from '../schemas/ErrorResponse';
3
4
  import type { ProductivityProfileCreateRequestDto } from '../schemas/ProductivityProfileCreateRequestDto';
4
5
  import type { ResponseWithPagination } from '../helpers';
5
6
  import { FetcherOptions } from '../../../../fetcher/index.js';
@@ -8,10 +9,13 @@ export interface ProductivityProfileControllerCreateProfileMutationQueryParams {
8
9
  }
9
10
  export type ProductivityProfileControllerCreateProfileRequestBody = ProductivityProfileCreateRequestDto;
10
11
  export type ProductivityProfileControllerCreateProfileOkResponse = ResponseWithPagination<ProductivityProfileResponseDto>;
11
- export type ProductivityProfileControllerCreateProfileErrorResponse = unknown;
12
+ export type ProductivityProfileControllerCreateProfileErrorResponse = ErrorResponse;
12
13
  export interface ProductivityProfileControllerCreateProfileProps extends Omit<FetcherOptions<ProductivityProfileControllerCreateProfileMutationQueryParams, ProductivityProfileControllerCreateProfileRequestBody>, 'url'> {
13
14
  queryParams: ProductivityProfileControllerCreateProfileMutationQueryParams;
14
15
  body: ProductivityProfileControllerCreateProfileRequestBody;
15
16
  }
16
17
  export declare function productivityProfileControllerCreateProfile(props: ProductivityProfileControllerCreateProfileProps): Promise<ProductivityProfileControllerCreateProfileOkResponse>;
17
- export declare function useProductivityProfileControllerCreateProfileMutation(options?: Omit<UseMutationOptions<ProductivityProfileControllerCreateProfileOkResponse, ProductivityProfileControllerCreateProfileErrorResponse, ProductivityProfileControllerCreateProfileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ProductivityProfileControllerCreateProfileOkResponse, unknown, ProductivityProfileControllerCreateProfileProps, unknown>;
18
+ /**
19
+ * Creates a new productivity profile for the given account. Profile names must be unique per account.
20
+ */
21
+ export declare function useProductivityProfileControllerCreateProfileMutation(options?: Omit<UseMutationOptions<ProductivityProfileControllerCreateProfileOkResponse, ProductivityProfileControllerCreateProfileErrorResponse, ProductivityProfileControllerCreateProfileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ProductivityProfileControllerCreateProfileOkResponse, ErrorResponse, ProductivityProfileControllerCreateProfileProps, unknown>;
@@ -6,6 +6,9 @@ import { fetcher } from '../../../../fetcher/index.js';
6
6
  export function productivityProfileControllerCreateProfile(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/profiles/productivity`, method: 'POST' }, props));
8
8
  }
9
+ /**
10
+ * Creates a new productivity profile for the given account. Profile names must be unique per account.
11
+ */
9
12
  export function useProductivityProfileControllerCreateProfileMutation(options) {
10
13
  return useMutation((mutateProps) => productivityProfileControllerCreateProfile(mutateProps), options);
11
14
  }
@@ -2,4 +2,6 @@ import type { PaginationRequest } from '../schemas/PaginationRequest';
2
2
  export interface DoraLeadTimePrDrilldownRequest {
3
3
  pagination?: PaginationRequest;
4
4
  prId: string;
5
+ sortBy?: 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'PR_CREATED_AT' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
6
+ sortByCriteria?: 'ASC' | 'DESC';
5
7
  }
@@ -11,4 +11,6 @@ export interface DoraMetricDrilldownRequest {
11
11
  dateStart: string;
12
12
  pagination?: PaginationRequest;
13
13
  prId?: string;
14
+ sortBy?: 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'PR_CREATED_AT' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
15
+ sortByCriteria?: 'ASC' | 'DESC';
14
16
  }
@@ -18,6 +18,8 @@ export interface ProductivityFeatureRequestDto {
18
18
  * @format int32
19
19
  */
20
20
  page_size?: number;
21
+ sortBy?: 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'PR_CREATED_AT' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
22
+ sortByCriteria?: 'ASC' | 'DESC';
21
23
  stackBy?: 'PRIORITY' | 'PR_SIZE' | 'TICKET_SIZE' | 'WORK_TYPE';
22
24
  /**
23
25
  * @format date-time
@@ -13,6 +13,7 @@ export interface WorkCompletedDrilldownResponseDataPoint extends DrilldownDataPo
13
13
  contributorId?: string;
14
14
  contributorName?: string;
15
15
  contributorUserIntegrationId?: string;
16
+ displayAssigneeName?: string;
16
17
  /**
17
18
  * @format int64
18
19
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.16.0",
3
+ "version": "0.16.2",
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",