@harnessio/react-sei-panorama-service-client 0.10.12 → 0.10.14

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.
@@ -15,6 +15,6 @@ export interface ProductivityControllerPrVelocityProps extends Omit<FetcherOptio
15
15
  }
16
16
  export declare function productivityControllerPrVelocity(props: ProductivityControllerPrVelocityProps): Promise<ProductivityControllerPrVelocityOkResponse>;
17
17
  /**
18
- * Get lead time for a project
18
+ * Get PR Velocity for a collection
19
19
  */
20
20
  export declare function useProductivityControllerPrVelocityMutation(options?: Omit<UseMutationOptions<ProductivityControllerPrVelocityOkResponse, ProductivityControllerPrVelocityErrorResponse, ProductivityControllerPrVelocityProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ProductivityControllerPrVelocityOkResponse, string, ProductivityControllerPrVelocityProps, unknown>;
@@ -7,7 +7,7 @@ export function productivityControllerPrVelocity(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/productivity/volume/pr_velocity`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Get lead time for a project
10
+ * Get PR Velocity for a collection
11
11
  */
12
12
  export function useProductivityControllerPrVelocityMutation(options) {
13
13
  return useMutation((mutateProps) => productivityControllerPrVelocity(mutateProps), options);
@@ -67,6 +67,7 @@ export type { DoraSummaryRequest } from './schemas/DoraSummaryRequest';
67
67
  export type { IntegrationObject } from './schemas/IntegrationObject';
68
68
  export type { PrVelocityResponseDto } from './schemas/PrVelocityResponseDto';
69
69
  export type { ProductivityControllerRequest } from './schemas/ProductivityControllerRequest';
70
+ export type { ProductivityDataPoint } from './schemas/ProductivityDataPoint';
70
71
  export type { Stage } from './schemas/Stage';
71
72
  export type { SummaryCard } from './schemas/SummaryCard';
72
73
  export type { SummaryValue } from './schemas/SummaryValue';
@@ -1,19 +1,32 @@
1
+ import type { Stage } from '../schemas/Stage';
1
2
  export interface DataPoint {
2
3
  /**
3
- * @format date-time
4
+ * @format int32
4
5
  */
5
- endTime?: string;
6
- granularDataPoints?: DataPoint[];
7
- stackBy?: 'PR_SIZE' | 'WORK_TYPE';
8
- stacks?: {
9
- [key: string]: number;
10
- };
6
+ count?: number;
11
7
  /**
12
8
  * @format date-time
13
9
  */
14
- startTime?: string;
10
+ endDate?: string;
11
+ /**
12
+ * @format double
13
+ */
14
+ mean?: number;
15
+ /**
16
+ * @format double
17
+ */
18
+ median?: number;
15
19
  /**
16
- * @format int64
20
+ * @format double
21
+ */
22
+ p90?: number;
23
+ /**
24
+ * @format double
25
+ */
26
+ p95?: number;
27
+ stages?: Stage[];
28
+ /**
29
+ * @format date-time
17
30
  */
18
- totalCount?: number;
31
+ startDate?: string;
19
32
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -1,5 +1,5 @@
1
- import type { DataPoint } from '../schemas/DataPoint';
1
+ import type { ProductivityDataPoint } from '../schemas/ProductivityDataPoint';
2
2
  export interface PrVelocityResponseDto {
3
- currentData?: DataPoint;
4
- previousData?: DataPoint;
3
+ currentData?: ProductivityDataPoint;
4
+ previousData?: ProductivityDataPoint;
5
5
  }
@@ -0,0 +1,19 @@
1
+ export interface ProductivityDataPoint {
2
+ /**
3
+ * @format date-time
4
+ */
5
+ endTime?: string;
6
+ granularDataPoints?: ProductivityDataPoint[];
7
+ stackBy?: 'PR_SIZE' | 'WORK_TYPE';
8
+ stacks?: {
9
+ [key: string]: number;
10
+ };
11
+ /**
12
+ * @format date-time
13
+ */
14
+ startTime?: string;
15
+ /**
16
+ * @format int64
17
+ */
18
+ totalCount?: number;
19
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,3 +1,4 @@
1
+ import type { Stage } from '../schemas/Stage';
1
2
  export interface SummaryValue {
2
3
  /**
3
4
  * @format int32
@@ -24,4 +25,5 @@ export interface SummaryValue {
24
25
  */
25
26
  p95?: number;
26
27
  rating?: 'DANGER' | 'ELITE' | 'FAIR' | 'NEEDS_IMPROVEMENT' | 'SUCCESS' | 'WARNING';
28
+ stageBreakdown?: Stage[];
27
29
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.10.12",
3
+ "version": "0.10.14",
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",