@harnessio/react-sei-panorama-service-client 0.17.1 → 0.17.3

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.
@@ -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';
@@ -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,27 @@
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 date-time
13
+ */
14
+ mergedDate?: string;
15
+ /**
16
+ * @format double
17
+ */
18
+ prCycleTime?: number;
19
+ prLink?: string;
20
+ /**
21
+ * @format int64
22
+ */
23
+ prNumber?: number;
24
+ prTitle?: string;
25
+ repository?: string;
26
+ reviewers?: string[];
27
+ }
@@ -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 {};
@@ -4,7 +4,7 @@ export interface ProductivityDataPoint {
4
4
  */
5
5
  endDate?: string;
6
6
  granularDataPoints?: ProductivityDataPoint[];
7
- stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'WORK_TYPE';
7
+ stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
8
8
  stacks?: {
9
9
  [key: string]: number;
10
10
  };
@@ -16,4 +16,16 @@ export interface ProductivityDataPoint {
16
16
  * @format double
17
17
  */
18
18
  totalCount?: number;
19
+ /**
20
+ * @format double
21
+ */
22
+ totalEntries?: number;
23
+ totalStackCombination?: {
24
+ [key: string]: {
25
+ [key: string]: number;
26
+ };
27
+ };
28
+ totalStatisticCount?: {
29
+ [key: string]: number;
30
+ };
19
31
  }
@@ -1,5 +1,5 @@
1
1
  export interface ProductivityFeature {
2
2
  description?: string;
3
- feature_type?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_VELOCITY' | 'WORK_COMPLETED';
3
+ feature_type?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
4
4
  name?: string;
5
5
  }
@@ -8,7 +8,7 @@ export interface ProductivityFeatureBreakdownResponseDataPoint {
8
8
  * @format date-time
9
9
  */
10
10
  endDate?: string;
11
- stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'WORK_TYPE';
11
+ stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
12
12
  stacks?: {
13
13
  [key: string]: number;
14
14
  };
@@ -16,8 +16,16 @@ export interface ProductivityFeatureBreakdownResponseDataPoint {
16
16
  * @format date-time
17
17
  */
18
18
  startDate?: string;
19
+ statisticGranularProductivityDataPoints?: {
20
+ [key: string]: {
21
+ [key: string]: number;
22
+ };
23
+ };
19
24
  /**
20
25
  * @format double
21
26
  */
22
27
  totalCount?: number;
28
+ totalStatisticCount?: {
29
+ [key: string]: number;
30
+ };
23
31
  }
@@ -8,7 +8,7 @@ export interface ProductivityFeatureRequestDto {
8
8
  * @format date-time
9
9
  */
10
10
  endDate?: string;
11
- featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_VELOCITY' | 'WORK_COMPLETED';
11
+ featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
12
12
  granularity?: 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
13
13
  /**
14
14
  * @format int32
@@ -20,7 +20,7 @@ export interface ProductivityFeatureRequestDto {
20
20
  page_size?: number;
21
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
22
  sortByCriteria?: 'ASC' | 'DESC';
23
- stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'WORK_TYPE';
23
+ stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
24
24
  /**
25
25
  * @format date-time
26
26
  */
@@ -5,11 +5,11 @@ export interface ProductivityFeatureResponseDto {
5
5
  * @format date-time
6
6
  */
7
7
  endDate?: string;
8
- featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_VELOCITY' | 'WORK_COMPLETED';
8
+ featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
9
9
  granularity?: 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
10
10
  previousData?: ProductivityDataPoint;
11
11
  section?: 'COLLABORATION' | 'OUTPUT' | 'VOLUME';
12
- stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'WORK_TYPE';
12
+ stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
13
13
  /**
14
14
  * @format date-time
15
15
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.17.1",
3
+ "version": "0.17.3",
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",