@harnessio/react-sei-panorama-service-client 0.17.2 → 0.17.4

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.
Files changed (20) hide show
  1. package/dist/sei-panorama-service/src/services/index.d.ts +3 -0
  2. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownRequest.d.ts +1 -1
  3. package/dist/sei-panorama-service/src/services/schemas/DoraMetricDrilldownRequest.d.ts +1 -1
  4. package/dist/sei-panorama-service/src/services/schemas/DrilldownData.d.ts +3 -2
  5. package/dist/sei-panorama-service/src/services/schemas/DrilldownDataPoint.d.ts +1 -1
  6. package/dist/sei-panorama-service/src/services/schemas/ExportRequestDto.d.ts +2 -0
  7. package/dist/sei-panorama-service/src/services/schemas/IndividualDrilldownData.d.ts +1 -1
  8. package/dist/sei-panorama-service/src/services/schemas/IndividualDrilldownDataPoint.d.ts +1 -1
  9. package/dist/sei-panorama-service/src/services/schemas/PrCycleTimeDrilldownResponseDataPoint.d.ts +35 -0
  10. package/dist/sei-panorama-service/src/services/schemas/PrCycleTimeDrilldownResponseDataPoint.js +1 -0
  11. package/dist/sei-panorama-service/src/services/schemas/ProductivityContributorRequestDto.d.ts +3 -0
  12. package/dist/sei-panorama-service/src/services/schemas/ProductivityContributorRequestDto.js +4 -0
  13. package/dist/sei-panorama-service/src/services/schemas/ProductivityDataPoint.d.ts +9 -0
  14. package/dist/sei-panorama-service/src/services/schemas/ProductivityDataPoint.js +0 -3
  15. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDataPoint.d.ts +5 -0
  16. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDataPoint.js +0 -3
  17. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureRequestDto.d.ts +1 -1
  18. package/dist/sei-panorama-service/src/services/schemas/TotalStatisticCount.d.ts +18 -0
  19. package/dist/sei-panorama-service/src/services/schemas/TotalStatisticCount.js +4 -0
  20. package/package.json +1 -1
@@ -132,9 +132,11 @@ export type { LtcConfigurationDto } from './schemas/LtcConfigurationDto';
132
132
  export type { MttrConfigurationDto } from './schemas/MttrConfigurationDto';
133
133
  export type { PaginationInfo } from './schemas/PaginationInfo';
134
134
  export type { PaginationRequest } from './schemas/PaginationRequest';
135
+ export type { PrCycleTimeDrilldownResponseDataPoint } from './schemas/PrCycleTimeDrilldownResponseDataPoint';
135
136
  export type { PrSize } from './schemas/PrSize';
136
137
  export type { PrVelocityDrilldownResponseDataPoint } from './schemas/PrVelocityDrilldownResponseDataPoint';
137
138
  export type { PrVelocityIndividualDrilldownResponseDataPoint } from './schemas/PrVelocityIndividualDrilldownResponseDataPoint';
139
+ export type { ProductivityContributorRequestDto } from './schemas/ProductivityContributorRequestDto';
138
140
  export type { ProductivityDataPoint } from './schemas/ProductivityDataPoint';
139
141
  export type { ProductivityFeature } from './schemas/ProductivityFeature';
140
142
  export type { ProductivityFeatureBreakdownResponseDataPoint } from './schemas/ProductivityFeatureBreakdownResponseDataPoint';
@@ -152,6 +154,7 @@ export type { StageDto } from './schemas/StageDto';
152
154
  export type { SummaryCard } from './schemas/SummaryCard';
153
155
  export type { SummaryValue } from './schemas/SummaryValue';
154
156
  export type { SummaryValueChange } from './schemas/SummaryValueChange';
157
+ export type { TotalStatisticCount } from './schemas/TotalStatisticCount';
155
158
  export type { WorkCompletedDrilldownResponseDataPoint } from './schemas/WorkCompletedDrilldownResponseDataPoint';
156
159
  export type { WorkCompletedIndividualDrilldownResponseDataPoint } from './schemas/WorkCompletedIndividualDrilldownResponseDataPoint';
157
160
  export type { WorkType } from './schemas/WorkType';
@@ -2,6 +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';
5
+ sortBy?: 'AVG_TIME_TO_MERGE' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CHANGES' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_CYCLE_TIME' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_ID' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
6
6
  sortByCriteria?: 'ASC' | 'DESC';
7
7
  }
@@ -11,6 +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';
14
+ sortBy?: 'AVG_TIME_TO_MERGE' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CHANGES' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_CYCLE_TIME' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_ID' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
15
15
  sortByCriteria?: 'ASC' | 'DESC';
16
16
  }
@@ -1,6 +1,7 @@
1
+ import type { PrCycleTimeDrilldownResponseDataPoint } from '../schemas/PrCycleTimeDrilldownResponseDataPoint';
1
2
  import type { PrVelocityDrilldownResponseDataPoint } from '../schemas/PrVelocityDrilldownResponseDataPoint';
2
3
  import type { WorkCompletedDrilldownResponseDataPoint } from '../schemas/WorkCompletedDrilldownResponseDataPoint';
3
4
  export interface DrilldownData {
4
- drilldownDataPoints?: Array<PrVelocityDrilldownResponseDataPoint & WorkCompletedDrilldownResponseDataPoint>;
5
- metricType?: 'PR_VELOCITY' | 'WORK_COMPLETED';
5
+ drilldownDataPoints?: Array<PrCycleTimeDrilldownResponseDataPoint & PrVelocityDrilldownResponseDataPoint & WorkCompletedDrilldownResponseDataPoint>;
6
+ metricType?: 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
6
7
  }
@@ -1,4 +1,4 @@
1
1
  export interface DrilldownDataPoint {
2
- metricType?: 'PR_VELOCITY' | 'WORK_COMPLETED';
2
+ metricType?: 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
3
3
  type: string;
4
4
  }
@@ -1,5 +1,6 @@
1
1
  import type { EfficiencyRequestDto } from '../schemas/EfficiencyRequestDto';
2
2
  import type { ProductivityRequestDto } from '../schemas/ProductivityRequestDto';
3
+ import type { ProductivityContributorRequestDto } from '../schemas/ProductivityContributorRequestDto';
3
4
  export interface ExportRequestDto {
4
5
  collectionId?: string;
5
6
  /**
@@ -14,4 +15,5 @@ export interface ExportRequestDto {
14
15
  granularity?: string;
15
16
  includeChildrens?: boolean;
16
17
  productivity?: ProductivityRequestDto;
18
+ productivityContributors?: ProductivityContributorRequestDto;
17
19
  }
@@ -2,5 +2,5 @@ import type { PrVelocityIndividualDrilldownResponseDataPoint } from '../schemas/
2
2
  import type { WorkCompletedIndividualDrilldownResponseDataPoint } from '../schemas/WorkCompletedIndividualDrilldownResponseDataPoint';
3
3
  export interface IndividualDrilldownData {
4
4
  individualDrilldownDataPoints?: Array<PrVelocityIndividualDrilldownResponseDataPoint & WorkCompletedIndividualDrilldownResponseDataPoint>;
5
- metricType?: 'PR_VELOCITY' | 'WORK_COMPLETED';
5
+ metricType?: 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
6
6
  }
@@ -1,4 +1,4 @@
1
1
  export interface IndividualDrilldownDataPoint {
2
- metricType?: 'PR_VELOCITY' | 'WORK_COMPLETED';
2
+ metricType?: 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
3
3
  type: string;
4
4
  }
@@ -0,0 +1,35 @@
1
+ import type { CodeChangeStats } from '../schemas/CodeChangeStats';
2
+ import type { DrilldownDataPoint } from '../schemas/DrilldownDataPoint';
3
+ export interface PrCycleTimeDrilldownResponseDataPoint extends DrilldownDataPoint {
4
+ authorId?: string;
5
+ authorName?: string;
6
+ codeChanges?: CodeChangeStats;
7
+ /**
8
+ * @format date-time
9
+ */
10
+ createdDate?: string;
11
+ /**
12
+ * @format double
13
+ */
14
+ firstCommentTime?: number;
15
+ /**
16
+ * @format double
17
+ */
18
+ lastApprovalTime?: number;
19
+ /**
20
+ * @format date-time
21
+ */
22
+ mergedDate?: string;
23
+ /**
24
+ * @format double
25
+ */
26
+ prCycleTime?: number;
27
+ prLink?: string;
28
+ /**
29
+ * @format int64
30
+ */
31
+ prNumber?: number;
32
+ prTitle?: string;
33
+ repository?: string;
34
+ reviewers?: string[];
35
+ }
@@ -0,0 +1,3 @@
1
+ export interface ProductivityContributorRequestDto {
2
+ metrics: string[];
3
+ }
@@ -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 { TotalStatisticCount } from '../schemas/TotalStatisticCount';
1
2
  export interface ProductivityDataPoint {
2
3
  /**
3
4
  * @format date-time
@@ -12,8 +13,16 @@ export interface ProductivityDataPoint {
12
13
  * @format date-time
13
14
  */
14
15
  startDate?: string;
16
+ statisticGranularProductivityDataPoints?: {
17
+ [key: string]: TotalStatisticCount;
18
+ };
15
19
  /**
16
20
  * @format double
17
21
  */
18
22
  totalCount?: number;
23
+ /**
24
+ * @format double
25
+ */
26
+ totalEntries?: number;
27
+ totalStatisticCount?: TotalStatisticCount;
19
28
  }
@@ -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,3 +1,4 @@
1
+ import type { TotalStatisticCount } from '../schemas/TotalStatisticCount';
1
2
  export interface ProductivityFeatureBreakdownResponseDataPoint {
2
3
  /**
3
4
  * @format int64
@@ -16,8 +17,12 @@ export interface ProductivityFeatureBreakdownResponseDataPoint {
16
17
  * @format date-time
17
18
  */
18
19
  startDate?: string;
20
+ statisticGranularProductivityDataPoints?: {
21
+ [key: string]: TotalStatisticCount;
22
+ };
19
23
  /**
20
24
  * @format double
21
25
  */
22
26
  totalCount?: number;
27
+ totalStatisticCount?: TotalStatisticCount;
23
28
  }
@@ -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 {};
@@ -18,7 +18,7 @@ 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';
21
+ sortBy?: 'AVG_TIME_TO_MERGE' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CHANGES' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_CYCLE_TIME' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_ID' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
22
22
  sortByCriteria?: 'ASC' | 'DESC';
23
23
  stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
24
24
  /**
@@ -0,0 +1,18 @@
1
+ export interface TotalStatisticCount {
2
+ /**
3
+ * @format double
4
+ */
5
+ mean?: number;
6
+ /**
7
+ * @format double
8
+ */
9
+ median?: number;
10
+ /**
11
+ * @format double
12
+ */
13
+ p90?: number;
14
+ /**
15
+ * @format double
16
+ */
17
+ p95?: number;
18
+ }
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.17.2",
3
+ "version": "0.17.4",
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",