@harnessio/react-sei-panorama-service-client 0.21.6 → 0.21.7

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/hooks/useImFieldsControllerListImFieldsQuery.d.ts +20 -0
  2. package/dist/sei-panorama-service/src/services/hooks/useImFieldsControllerListImFieldsQuery.js +14 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useIntegrationControllerListIntegrationsQuery.d.ts +1 -1
  4. package/dist/sei-panorama-service/src/services/index.d.ts +6 -0
  5. package/dist/sei-panorama-service/src/services/index.js +1 -0
  6. package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.d.ts +1 -1
  7. package/dist/sei-panorama-service/src/services/schemas/ImFieldDto.d.ts +38 -0
  8. package/dist/sei-panorama-service/src/services/schemas/ImFieldDto.js +4 -0
  9. package/dist/sei-panorama-service/src/services/schemas/ImFieldsRequestDto.d.ts +23 -0
  10. package/dist/sei-panorama-service/src/services/schemas/ImFieldsRequestDto.js +4 -0
  11. package/dist/sei-panorama-service/src/services/schemas/ImFieldsResponseDto.d.ts +20 -0
  12. package/dist/sei-panorama-service/src/services/schemas/ImFieldsResponseDto.js +1 -0
  13. package/dist/sei-panorama-service/src/services/schemas/IntegrationResponseDto.d.ts +1 -1
  14. package/dist/sei-panorama-service/src/services/schemas/PaginationMetadata.d.ts +10 -7
  15. package/dist/sei-panorama-service/src/services/schemas/ProductivityDataPoint.d.ts +4 -0
  16. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureResponseDto.d.ts +6 -0
  17. package/dist/sei-panorama-service/src/services/schemas/StatisticalTrendPercent.d.ts +18 -0
  18. package/dist/sei-panorama-service/src/services/schemas/StatisticalTrendPercent.js +4 -0
  19. package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +1 -1
  20. package/package.json +1 -1
@@ -0,0 +1,20 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ImFieldsResponseDto } from '../schemas/ImFieldsResponseDto';
3
+ import type { ImFieldsRequestDto } from '../schemas/ImFieldsRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface ImFieldsControllerListImFieldsQueryQueryParams {
7
+ account: string;
8
+ }
9
+ export type ImFieldsControllerListImFieldsRequestBody = ImFieldsRequestDto;
10
+ export type ImFieldsControllerListImFieldsOkResponse = ResponseWithPagination<ImFieldsResponseDto>;
11
+ export type ImFieldsControllerListImFieldsErrorResponse = ImFieldsResponseDto;
12
+ export interface ImFieldsControllerListImFieldsProps extends Omit<FetcherOptions<ImFieldsControllerListImFieldsQueryQueryParams, ImFieldsControllerListImFieldsRequestBody>, 'url'> {
13
+ queryParams: ImFieldsControllerListImFieldsQueryQueryParams;
14
+ body: ImFieldsControllerListImFieldsRequestBody;
15
+ }
16
+ export declare function imFieldsControllerListImFields(props: ImFieldsControllerListImFieldsProps): Promise<ImFieldsControllerListImFieldsOkResponse>;
17
+ /**
18
+ * List IM fields with pagination and filtering
19
+ */
20
+ export declare function useImFieldsControllerListImFieldsQuery(props: ImFieldsControllerListImFieldsProps, options?: Omit<UseQueryOptions<ImFieldsControllerListImFieldsOkResponse, ImFieldsControllerListImFieldsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ImFieldsControllerListImFieldsOkResponse, ImFieldsResponseDto>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function imFieldsControllerListImFields(props) {
7
+ return fetcher(Object.assign({ url: `/v2/im_fields/list`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * List IM fields with pagination and filtering
11
+ */
12
+ export function useImFieldsControllerListImFieldsQuery(props, options) {
13
+ return useQuery(['ImFieldsControllerListImFields', props.queryParams, props.body], ({ signal }) => imFieldsControllerListImFields(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -10,7 +10,7 @@ export interface IntegrationControllerListIntegrationsQueryQueryParams {
10
10
  pageIndex?: number;
11
11
  /**
12
12
  * @format int32
13
- * @default 50
13
+ * @default 100
14
14
  */
15
15
  pageSize?: number;
16
16
  account: string;
@@ -131,6 +131,8 @@ export type { EfficiencyProfileControllerUpdateProfileErrorResponse, EfficiencyP
131
131
  export { efficiencyProfileControllerUpdateProfile, useEfficiencyProfileControllerUpdateProfileMutation, } from './hooks/useEfficiencyProfileControllerUpdateProfileMutation';
132
132
  export type { ExportControllerExportDataErrorResponse, ExportControllerExportDataMutationQueryParams, ExportControllerExportDataOkResponse, ExportControllerExportDataProps, ExportControllerExportDataRequestBody, } from './hooks/useExportControllerExportDataMutation';
133
133
  export { exportControllerExportData, useExportControllerExportDataMutation, } from './hooks/useExportControllerExportDataMutation';
134
+ export type { ImFieldsControllerListImFieldsErrorResponse, ImFieldsControllerListImFieldsOkResponse, ImFieldsControllerListImFieldsProps, ImFieldsControllerListImFieldsQueryQueryParams, ImFieldsControllerListImFieldsRequestBody, } from './hooks/useImFieldsControllerListImFieldsQuery';
135
+ export { imFieldsControllerListImFields, useImFieldsControllerListImFieldsQuery, } from './hooks/useImFieldsControllerListImFieldsQuery';
134
136
  export type { IntegrationControllerGetFilterValuesErrorResponse, IntegrationControllerGetFilterValuesOkResponse, IntegrationControllerGetFilterValuesProps, IntegrationControllerGetFilterValuesQueryQueryParams, IntegrationControllerGetFilterValuesRequestBody, } from './hooks/useIntegrationControllerGetFilterValuesQuery';
135
137
  export { integrationControllerGetFilterValues, useIntegrationControllerGetFilterValuesQuery, } from './hooks/useIntegrationControllerGetFilterValuesQuery';
136
138
  export type { IntegrationControllerListIntegrationsErrorResponse, IntegrationControllerListIntegrationsOkResponse, IntegrationControllerListIntegrationsProps, IntegrationControllerListIntegrationsQueryQueryParams, } from './hooks/useIntegrationControllerListIntegrationsQuery';
@@ -331,6 +333,9 @@ export type { FeatureDto } from './schemas/FeatureDto';
331
333
  export type { FilterValuesRequestDto } from './schemas/FilterValuesRequestDto';
332
334
  export type { GroupByField } from './schemas/GroupByField';
333
335
  export type { GroupedTeamFiltersResponseDto } from './schemas/GroupedTeamFiltersResponseDto';
336
+ export type { ImFieldDto } from './schemas/ImFieldDto';
337
+ export type { ImFieldsRequestDto } from './schemas/ImFieldsRequestDto';
338
+ export type { ImFieldsResponseDto } from './schemas/ImFieldsResponseDto';
334
339
  export type { IndividualDrilldownData } from './schemas/IndividualDrilldownData';
335
340
  export type { IndividualDrilldownDataPoint } from './schemas/IndividualDrilldownDataPoint';
336
341
  export type { IndividualDrilldownDataPointV3 } from './schemas/IndividualDrilldownDataPointV3';
@@ -402,6 +407,7 @@ export type { RefIdDto } from './schemas/RefIdDto';
402
407
  export type { SectionDto } from './schemas/SectionDto';
403
408
  export type { SortOption } from './schemas/SortOption';
404
409
  export type { Stage } from './schemas/Stage';
410
+ export type { StatisticalTrendPercent } from './schemas/StatisticalTrendPercent';
405
411
  export type { SummaryCard } from './schemas/SummaryCard';
406
412
  export type { SummaryValue } from './schemas/SummaryValue';
407
413
  export type { SummaryValueChange } from './schemas/SummaryValueChange';
@@ -64,6 +64,7 @@ export { efficiencyProfileControllerGetProfile, useEfficiencyProfileControllerGe
64
64
  export { efficiencyProfileControllerListProfiles, useEfficiencyProfileControllerListProfilesQuery, } from './hooks/useEfficiencyProfileControllerListProfilesQuery';
65
65
  export { efficiencyProfileControllerUpdateProfile, useEfficiencyProfileControllerUpdateProfileMutation, } from './hooks/useEfficiencyProfileControllerUpdateProfileMutation';
66
66
  export { exportControllerExportData, useExportControllerExportDataMutation, } from './hooks/useExportControllerExportDataMutation';
67
+ export { imFieldsControllerListImFields, useImFieldsControllerListImFieldsQuery, } from './hooks/useImFieldsControllerListImFieldsQuery';
67
68
  export { integrationControllerGetFilterValues, useIntegrationControllerGetFilterValuesQuery, } from './hooks/useIntegrationControllerGetFilterValuesQuery';
68
69
  export { integrationControllerListIntegrations, useIntegrationControllerListIntegrationsQuery, } from './hooks/useIntegrationControllerListIntegrationsQuery';
69
70
  export { integrationStatsControllerGetCicdJobsCount, useIntegrationStatsControllerGetCicdJobsCountQuery, } from './hooks/useIntegrationStatsControllerGetCicdJobsCountQuery';
@@ -2,7 +2,7 @@ export interface FilterValuesRequestDto {
2
2
  /**
3
3
  * Filter key to get values for
4
4
  */
5
- filterKey: 'CODE_AREA' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SCM_LABEL' | 'SCM_PROJECT' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
5
+ filterKey: 'CODE_AREA' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
6
6
  /**
7
7
  * Integration ID
8
8
  */
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Issue Management Field information
3
+ */
4
+ export interface ImFieldDto {
5
+ /**
6
+ * Created timestamp
7
+ * @format int64
8
+ */
9
+ created_at?: number;
10
+ /**
11
+ * Whether field is custom
12
+ */
13
+ custom?: boolean;
14
+ /**
15
+ * Field items type (for array fields)
16
+ */
17
+ field_items?: string;
18
+ /**
19
+ * Field key
20
+ */
21
+ field_key?: string;
22
+ /**
23
+ * Field type
24
+ */
25
+ field_type?: string;
26
+ /**
27
+ * Field ID
28
+ */
29
+ id?: string;
30
+ /**
31
+ * Integration ID
32
+ */
33
+ integration_id?: string;
34
+ /**
35
+ * Field name
36
+ */
37
+ name?: string;
38
+ }
@@ -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 {};
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Request for fetching IM fields data
3
+ */
4
+ export interface ImFieldsRequestDto {
5
+ /**
6
+ * Filter criteria for IM fields
7
+ */
8
+ filter?: {
9
+ [key: string]: {
10
+ [key: string]: any;
11
+ };
12
+ };
13
+ /**
14
+ * Page number (0-based)
15
+ * @format int32
16
+ */
17
+ page?: number;
18
+ /**
19
+ * Page size
20
+ * @format int32
21
+ */
22
+ page_size?: number;
23
+ }
@@ -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 {};
@@ -0,0 +1,20 @@
1
+ import type { PaginationMetadata } from '../schemas/PaginationMetadata';
2
+ import type { ImFieldDto } from '../schemas/ImFieldDto';
3
+ /**
4
+ * Response containing IM fields data with pagination
5
+ */
6
+ export interface ImFieldsResponseDto {
7
+ /**
8
+ * Total count of records
9
+ * @format int64
10
+ */
11
+ count?: number;
12
+ /**
13
+ * Pagination metadata
14
+ */
15
+ get_metadata?: PaginationMetadata;
16
+ /**
17
+ * List of IM field records
18
+ */
19
+ records?: ImFieldDto[];
20
+ }
@@ -5,7 +5,7 @@ export interface IntegrationResponseDto {
5
5
  /**
6
6
  * Application type
7
7
  */
8
- applicationType?: 'ADO_BOARDS' | 'ADO_PIPELINES' | 'ADO_REPOS' | 'BITBUCKET' | 'BITBUCKET_SERVER' | 'CUSTOM' | 'GITHUB' | 'GITLAB' | 'HARNESSCODE' | 'HARNESSNG' | 'HARNESS_CD' | 'HARNESS_CI' | 'JENKINS' | 'JIRA';
8
+ applicationType?: 'ADO_BOARDS' | 'ADO_PIPELINES' | 'ADO_REPOS' | 'BITBUCKET' | 'BITBUCKET_SERVER' | 'CUSTOM' | 'GITHUB' | 'GITHUB_ACTIONS' | 'GITLAB' | 'HARNESSCODE' | 'HARNESSNG' | 'HARNESS_CD' | 'HARNESS_CI' | 'JENKINS' | 'JIRA';
9
9
  /**
10
10
  * Integration ID
11
11
  * @format int32
@@ -1,18 +1,21 @@
1
1
  export interface PaginationMetadata {
2
2
  /**
3
- * @format int32
3
+ * Whether there is a next page
4
4
  */
5
- pageNumber?: number;
5
+ has_next?: boolean;
6
6
  /**
7
+ * Current page number (0-based)
7
8
  * @format int32
8
9
  */
9
- pageSize?: number;
10
+ page?: number;
10
11
  /**
11
- * @format int64
12
+ * Page size
13
+ * @format int32
12
14
  */
13
- totalElements?: number;
15
+ page_size?: number;
14
16
  /**
15
- * @format int32
17
+ * Total count of records
18
+ * @format int64
16
19
  */
17
- totalPages?: number;
20
+ total_count?: number;
18
21
  }
@@ -16,6 +16,10 @@ export interface ProductivityDataPoint {
16
16
  statisticGranularProductivityDataPoints?: {
17
17
  [key: string]: TotalStatisticCount;
18
18
  };
19
+ /**
20
+ * @format double
21
+ */
22
+ summaryValuePerInterval?: number;
19
23
  /**
20
24
  * @format double
21
25
  */
@@ -1,4 +1,5 @@
1
1
  import type { ProductivityDataPoint } from '../schemas/ProductivityDataPoint';
2
+ import type { StatisticalTrendPercent } from '../schemas/StatisticalTrendPercent';
2
3
  export interface ProductivityFeatureResponseDto {
3
4
  currentData?: ProductivityDataPoint;
4
5
  /**
@@ -14,4 +15,9 @@ export interface ProductivityFeatureResponseDto {
14
15
  * @format date-time
15
16
  */
16
17
  startDate?: string;
18
+ statisticalTrendPercent?: StatisticalTrendPercent;
19
+ /**
20
+ * @format double
21
+ */
22
+ trendPercent?: number;
17
23
  }
@@ -0,0 +1,18 @@
1
+ export interface StatisticalTrendPercent {
2
+ /**
3
+ * @format double
4
+ */
5
+ meanTrendPercent?: number;
6
+ /**
7
+ * @format double
8
+ */
9
+ medianTrendPercent?: number;
10
+ /**
11
+ * @format double
12
+ */
13
+ p90TrendPercent?: number;
14
+ /**
15
+ * @format double
16
+ */
17
+ p95TrendPercent?: 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 {};
@@ -1,6 +1,6 @@
1
1
  export interface TeamFilter {
2
2
  applicableMetrics?: Array<'BA' | 'CFR' | 'DF' | 'LTTC' | 'MTTR' | 'PRODUCTIVITY'>;
3
- filterKey?: 'CODE_AREA' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SCM_LABEL' | 'SCM_PROJECT' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
3
+ filterKey?: 'CODE_AREA' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
4
4
  /**
5
5
  * @format int32
6
6
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.21.6",
3
+ "version": "0.21.7",
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",