@harnessio/react-sei-panorama-service-client 0.26.9 → 0.26.11

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 (38) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useCustomMetricsControllerIngestDataMutation.d.ts +1 -1
  2. package/dist/sei-panorama-service/src/services/hooks/useCustomMetricsControllerIngestDataMutation.js +1 -1
  3. package/dist/sei-panorama-service/src/services/hooks/useCustomMetricsControllerRegisterSchemaMutation.d.ts +1 -1
  4. package/dist/sei-panorama-service/src/services/hooks/useCustomMetricsControllerRegisterSchemaMutation.js +1 -1
  5. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerCreateExportMutation.d.ts +10 -4
  6. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerCreateExportMutation.js +10 -4
  7. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerCreateExport_1Mutation.d.ts +10 -4
  8. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerCreateExport_1Mutation.js +10 -4
  9. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamFiltersQuery.d.ts +1 -1
  10. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationFiltersQuery.d.ts +1 -1
  11. package/dist/sei-panorama-service/src/services/index.d.ts +1 -3
  12. package/dist/sei-panorama-service/src/services/schemas/ColumnDefinition.d.ts +49 -0
  13. package/dist/sei-panorama-service/src/services/schemas/DoraLttcMttrMetric.d.ts +1 -1
  14. package/dist/sei-panorama-service/src/services/schemas/DrillDownResponseDtoObject.d.ts +1 -1
  15. package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileEvent.d.ts +1 -1
  16. package/dist/sei-panorama-service/src/services/schemas/IngestionRequest.d.ts +0 -5
  17. package/dist/sei-panorama-service/src/services/schemas/Integration.d.ts +1 -1
  18. package/dist/sei-panorama-service/src/services/schemas/IntegrationResponseDto.d.ts +2 -2
  19. package/dist/sei-panorama-service/src/services/schemas/ItsmDrilldownItem.d.ts +5 -1
  20. package/dist/sei-panorama-service/src/services/schemas/ItsmDrilldownSummary.d.ts +2 -2
  21. package/dist/sei-panorama-service/src/services/schemas/Metadata.d.ts +1 -0
  22. package/dist/sei-panorama-service/src/services/schemas/MttrDrillDownResponseDto.d.ts +1 -1
  23. package/dist/sei-panorama-service/src/services/schemas/MttrDrilldownRequest.d.ts +1 -1
  24. package/dist/sei-panorama-service/src/services/schemas/MttrMetric.d.ts +1 -1
  25. package/dist/sei-panorama-service/src/services/schemas/SchemaDefinition.d.ts +4 -9
  26. package/dist/sei-panorama-service/src/services/schemas/SchemaRegistrationRequest.d.ts +0 -5
  27. package/dist/sei-panorama-service/src/services/schemas/SchemaResponse.d.ts +0 -4
  28. package/dist/sei-panorama-service/src/services/schemas/SprintExportRequestDto.d.ts +3 -9
  29. package/dist/sei-panorama-service/src/services/schemas/SummaryValue.d.ts +1 -13
  30. package/dist/sei-panorama-service/src/services/schemas/TeamFilterIntegrationSummary.d.ts +1 -1
  31. package/dist/sei-panorama-service/src/services/schemas/TeamFiltersResponseDto.d.ts +1 -1
  32. package/package.json +1 -1
  33. package/dist/sei-panorama-service/src/services/schemas/FieldConstraint.d.ts +0 -23
  34. package/dist/sei-panorama-service/src/services/schemas/FieldDefinition.d.ts +0 -28
  35. package/dist/sei-panorama-service/src/services/schemas/FieldDefinition.js +0 -1
  36. package/dist/sei-panorama-service/src/services/schemas/RecordTypeDefinition.d.ts +0 -19
  37. package/dist/sei-panorama-service/src/services/schemas/RecordTypeDefinition.js +0 -4
  38. /package/dist/sei-panorama-service/src/services/schemas/{FieldConstraint.js → ColumnDefinition.js} +0 -0
@@ -24,6 +24,6 @@ export interface CustomMetricsControllerIngestDataProps extends CustomMetricsCon
24
24
  }
25
25
  export declare function customMetricsControllerIngestData(props: CustomMetricsControllerIngestDataProps): Promise<CustomMetricsControllerIngestDataOkResponse>;
26
26
  /**
27
- * Submit custom metrics data for processing
27
+ * Submit custom ingestion data for processing
28
28
  */
29
29
  export declare function useCustomMetricsControllerIngestDataMutation(options?: Omit<UseMutationOptions<CustomMetricsControllerIngestDataOkResponse, CustomMetricsControllerIngestDataErrorResponse, CustomMetricsControllerIngestDataProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CustomMetricsControllerIngestDataOkResponse, ErrorResponse, CustomMetricsControllerIngestDataProps, unknown>;
@@ -7,7 +7,7 @@ export function customMetricsControllerIngestData(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/custom-metrics/${props.integrationId}`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Submit custom metrics data for processing
10
+ * Submit custom ingestion data for processing
11
11
  */
12
12
  export function useCustomMetricsControllerIngestDataMutation(options) {
13
13
  return useMutation((mutateProps) => customMetricsControllerIngestData(mutateProps), options);
@@ -24,6 +24,6 @@ export interface CustomMetricsControllerRegisterSchemaProps extends CustomMetric
24
24
  }
25
25
  export declare function customMetricsControllerRegisterSchema(props: CustomMetricsControllerRegisterSchemaProps): Promise<CustomMetricsControllerRegisterSchemaOkResponse>;
26
26
  /**
27
- * Register or update a custom metrics schema for an integration
27
+ * Register or update a custom ingestion schema for an integration
28
28
  */
29
29
  export declare function useCustomMetricsControllerRegisterSchemaMutation(options?: Omit<UseMutationOptions<CustomMetricsControllerRegisterSchemaOkResponse, CustomMetricsControllerRegisterSchemaErrorResponse, CustomMetricsControllerRegisterSchemaProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CustomMetricsControllerRegisterSchemaOkResponse, ErrorResponse, CustomMetricsControllerRegisterSchemaProps, unknown>;
@@ -7,7 +7,7 @@ export function customMetricsControllerRegisterSchema(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/custom-metrics/${props.integrationId}/schema`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Register or update a custom metrics schema for an integration
10
+ * Register or update a custom ingestion schema for an integration
11
11
  */
12
12
  export function useCustomMetricsControllerRegisterSchemaMutation(options) {
13
13
  return useMutation((mutateProps) => customMetricsControllerRegisterSchema(mutateProps), options);
@@ -20,10 +20,16 @@ export declare function sprintInsightsExportControllerCreateExport(props: Sprint
20
20
  * If an identical export was requested recently (within 30 minutes),
21
21
  * the existing export will be reused and returned with 200 OK status.
22
22
  *
23
- * Metric Selection (choose ONE):
24
- * - metricGroups: ["work", "delivery"] (high-level groups)
25
- * - metricColumns: ["Sprint_Commit", "Total_Work_Delivered"] (granular)
26
- * - metrics: DEPRECATED, use metricGroups
23
+ * **Metric Selection** (choose ONE):
24
+ * - `metricGroups`: High-level business groups (e.g., ["work", "delivery", "analysis"])
25
+ * - `metrics`: Granular column selection (e.g., ["Sprint_Commit", "Total_Work_Delivered", "Churn_Rate"])
26
+ *
27
+ * **Available Metric Groups:**
28
+ * - `work`: Sprint work metrics (commit, creep, size, scope creep)
29
+ * - `delivery`: Delivery metrics (delivered work, missed work, delivery rates)
30
+ * - `analysis`: Analysis metrics (churn rate, removed tickets)
31
+ * - `predictability`: Predictability metrics (consistency, reliability)
32
+ * - `velocity`: Sprint velocity
27
33
  *
28
34
  * Note: sprintIds are used for filtering but not persisted.
29
35
  *
@@ -11,10 +11,16 @@ export function sprintInsightsExportControllerCreateExport(props) {
11
11
  * If an identical export was requested recently (within 30 minutes),
12
12
  * the existing export will be reused and returned with 200 OK status.
13
13
  *
14
- * Metric Selection (choose ONE):
15
- * - metricGroups: ["work", "delivery"] (high-level groups)
16
- * - metricColumns: ["Sprint_Commit", "Total_Work_Delivered"] (granular)
17
- * - metrics: DEPRECATED, use metricGroups
14
+ * **Metric Selection** (choose ONE):
15
+ * - `metricGroups`: High-level business groups (e.g., ["work", "delivery", "analysis"])
16
+ * - `metrics`: Granular column selection (e.g., ["Sprint_Commit", "Total_Work_Delivered", "Churn_Rate"])
17
+ *
18
+ * **Available Metric Groups:**
19
+ * - `work`: Sprint work metrics (commit, creep, size, scope creep)
20
+ * - `delivery`: Delivery metrics (delivered work, missed work, delivery rates)
21
+ * - `analysis`: Analysis metrics (churn rate, removed tickets)
22
+ * - `predictability`: Predictability metrics (consistency, reliability)
23
+ * - `velocity`: Sprint velocity
18
24
  *
19
25
  * Note: sprintIds are used for filtering but not persisted.
20
26
  *
@@ -20,10 +20,16 @@ export declare function sprintInsightsExportControllerCreateExport_1(props: Spri
20
20
  * If an identical export was requested recently (within 30 minutes),
21
21
  * the existing export will be reused and returned with 200 OK status.
22
22
  *
23
- * Metric Selection (choose ONE):
24
- * - metricGroups: ["work", "delivery"] (high-level groups)
25
- * - metricColumns: ["Sprint_Commit", "Total_Work_Delivered"] (granular)
26
- * - metrics: DEPRECATED, use metricGroups
23
+ * **Metric Selection** (choose ONE):
24
+ * - `metricGroups`: High-level business groups (e.g., ["work", "delivery", "analysis"])
25
+ * - `metrics`: Granular column selection (e.g., ["Sprint_Commit", "Total_Work_Delivered", "Churn_Rate"])
26
+ *
27
+ * **Available Metric Groups:**
28
+ * - `work`: Sprint work metrics (commit, creep, size, scope creep)
29
+ * - `delivery`: Delivery metrics (delivered work, missed work, delivery rates)
30
+ * - `analysis`: Analysis metrics (churn rate, removed tickets)
31
+ * - `predictability`: Predictability metrics (consistency, reliability)
32
+ * - `velocity`: Sprint velocity
27
33
  *
28
34
  * Note: sprintIds are used for filtering but not persisted.
29
35
  *
@@ -11,10 +11,16 @@ export function sprintInsightsExportControllerCreateExport_1(props) {
11
11
  * If an identical export was requested recently (within 30 minutes),
12
12
  * the existing export will be reused and returned with 200 OK status.
13
13
  *
14
- * Metric Selection (choose ONE):
15
- * - metricGroups: ["work", "delivery"] (high-level groups)
16
- * - metricColumns: ["Sprint_Commit", "Total_Work_Delivered"] (granular)
17
- * - metrics: DEPRECATED, use metricGroups
14
+ * **Metric Selection** (choose ONE):
15
+ * - `metricGroups`: High-level business groups (e.g., ["work", "delivery", "analysis"])
16
+ * - `metrics`: Granular column selection (e.g., ["Sprint_Commit", "Total_Work_Delivered", "Churn_Rate"])
17
+ *
18
+ * **Available Metric Groups:**
19
+ * - `work`: Sprint work metrics (commit, creep, size, scope creep)
20
+ * - `delivery`: Delivery metrics (delivered work, missed work, delivery rates)
21
+ * - `analysis`: Analysis metrics (churn rate, removed tickets)
22
+ * - `predictability`: Predictability metrics (consistency, reliability)
23
+ * - `velocity`: Sprint velocity
18
24
  *
19
25
  * Note: sprintIds are used for filtering but not persisted.
20
26
  *
@@ -10,7 +10,7 @@ export interface TeamsControllerGetTeamFiltersQueryPathParams {
10
10
  teamRefId: number;
11
11
  }
12
12
  export interface TeamsControllerGetTeamFiltersQueryQueryParams {
13
- integration_type?: 'AI' | 'CD' | 'CI' | 'CUSTOM_METRICS' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
13
+ integration_type?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
14
14
  }
15
15
  export type TeamsControllerGetTeamFiltersOkResponse = ResponseWithPagination<TeamFiltersResponseDto>;
16
16
  export type TeamsControllerGetTeamFiltersErrorResponse = ErrorResponse;
@@ -9,7 +9,7 @@ export interface TeamsControllerGetTeamIntegrationFiltersQueryPathParams {
9
9
  teamRefId: number;
10
10
  }
11
11
  export interface TeamsControllerGetTeamIntegrationFiltersQueryQueryParams {
12
- integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_METRICS' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
12
+ integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
13
13
  }
14
14
  export type TeamsControllerGetTeamIntegrationFiltersOkResponse = ResponseWithPagination<GroupedTeamFiltersResponseDto>;
15
15
  export type TeamsControllerGetTeamIntegrationFiltersErrorResponse = GroupedTeamFiltersResponseDto;
@@ -543,6 +543,7 @@ export type { CodingDaysIndividualDrilldownResponseDataPointV3 } from './schemas
543
543
  export type { CollectionEnriched } from './schemas/CollectionEnriched';
544
544
  export type { CollectionFilter } from './schemas/CollectionFilter';
545
545
  export type { CollectionTree } from './schemas/CollectionTree';
546
+ export type { ColumnDefinition } from './schemas/ColumnDefinition';
546
547
  export type { CommitInfo } from './schemas/CommitInfo';
547
548
  export type { CreatedBy } from './schemas/CreatedBy';
548
549
  export type { CursorMetrics } from './schemas/CursorMetrics';
@@ -629,8 +630,6 @@ export type { ExportOptions } from './schemas/ExportOptions';
629
630
  export type { ExportRequestDto } from './schemas/ExportRequestDto';
630
631
  export type { ExportScope } from './schemas/ExportScope';
631
632
  export type { FeatureDto } from './schemas/FeatureDto';
632
- export type { FieldConstraint } from './schemas/FieldConstraint';
633
- export type { FieldDefinition } from './schemas/FieldDefinition';
634
633
  export type { FilterByField } from './schemas/FilterByField';
635
634
  export type { FilterValuesRequestDto } from './schemas/FilterValuesRequestDto';
636
635
  export type { GroupByField } from './schemas/GroupByField';
@@ -771,7 +770,6 @@ export type { RatingConfig } from './schemas/RatingConfig';
771
770
  export type { RatingDto } from './schemas/RatingDto';
772
771
  export type { RatingLevel } from './schemas/RatingLevel';
773
772
  export type { RecordBatch } from './schemas/RecordBatch';
774
- export type { RecordTypeDefinition } from './schemas/RecordTypeDefinition';
775
773
  export type { RefIdDto } from './schemas/RefIdDto';
776
774
  export type { ReleaseIssueDto } from './schemas/ReleaseIssueDto';
777
775
  export type { ReleaseIssuesResponseWrapper } from './schemas/ReleaseIssuesResponseWrapper';
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Definition of a column including its type and validation constraints
3
+ */
4
+ export interface ColumnDefinition {
5
+ /**
6
+ * List of allowed values (enum constraint)
7
+ */
8
+ allowedValues?: string[];
9
+ /**
10
+ * Human-readable description of the column
11
+ */
12
+ description?: string;
13
+ /**
14
+ * Maximum allowed value (for numeric fields)
15
+ * @format double
16
+ */
17
+ max?: number;
18
+ /**
19
+ * Minimum allowed value (for numeric fields)
20
+ * @format double
21
+ */
22
+ min?: number;
23
+ /**
24
+ * Column name
25
+ * @example "team"
26
+ */
27
+ name: string;
28
+ /**
29
+ * Regex pattern for value validation
30
+ */
31
+ pattern?: string;
32
+ /**
33
+ * Whether this column is required in every record
34
+ */
35
+ required?: boolean;
36
+ /**
37
+ * List of other columns that must be present when this column is used
38
+ */
39
+ requiredColumns?: string[];
40
+ /**
41
+ * Column data type (string, number, boolean, timestamp)
42
+ * @example "string"
43
+ */
44
+ type: 'boolean' | 'double' | 'json' | 'long' | 'string' | 'timestamp';
45
+ /**
46
+ * Unit of measurement (e.g., ms, seconds, percentage)
47
+ */
48
+ unit?: string;
49
+ }
@@ -2,7 +2,7 @@ import type { DataPoint } from '../schemas/DataPoint';
2
2
  import type { RatingDto } from '../schemas/RatingDto';
3
3
  import type { Stage } from '../schemas/Stage';
4
4
  export interface DoraLttcMttrMetric {
5
- basedOn?: 'AI' | 'CD' | 'CI' | 'CUSTOM_METRICS' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
5
+ basedOn?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
6
6
  dataPoints?: DataPoint[];
7
7
  /**
8
8
  * @format date-time
@@ -4,7 +4,7 @@ export interface DrillDownResponseDtoObject {
4
4
  * @format int32
5
5
  */
6
6
  count?: number;
7
- integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_METRICS' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
7
+ integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
8
8
  pagination?: PaginationInfo;
9
9
  records?: Array<{
10
10
  [key: string]: any;
@@ -1,4 +1,4 @@
1
1
  export interface EfficiencyProfileEvent {
2
2
  eventName?: string;
3
- integrationType: 'AI' | 'CD' | 'CI' | 'CUSTOM_METRICS' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
3
+ integrationType: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
4
4
  }
@@ -7,9 +7,4 @@ export interface IngestionRequest {
7
7
  * List of record batches to ingest, grouped by record type
8
8
  */
9
9
  batches: RecordBatch[];
10
- /**
11
- * Data source identifier
12
- * @example "aternity"
13
- */
14
- source: string;
15
10
  }
@@ -3,6 +3,6 @@ export interface Integration {
3
3
  * @format int32
4
4
  */
5
5
  id?: number;
6
- integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_METRICS' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
6
+ integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
7
7
  name?: string;
8
8
  }
@@ -5,7 +5,7 @@ export interface IntegrationResponseDto {
5
5
  /**
6
6
  * Application type
7
7
  */
8
- applicationType?: 'ADO_BOARDS' | 'ADO_PIPELINES' | 'ADO_REPOS' | 'ARMORCODE' | 'BITBUCKET' | 'BITBUCKET_SERVER' | 'CLAUDE_CODE' | 'CURSOR' | 'CUSTOM' | 'CUSTOM_METRICS' | 'GITHUB' | 'GITHUB_ACTIONS' | 'GITHUB_COPILOT' | 'GITLAB' | 'HARNESSCODE' | 'HARNESSNG' | 'HARNESS_CD' | 'HARNESS_CI' | 'JENKINS' | 'JIRA' | 'SERVICENOW' | 'SNYK' | 'WINDSURF' | 'WIZ';
8
+ applicationType?: 'ADO_BOARDS' | 'ADO_PIPELINES' | 'ADO_REPOS' | 'ARMORCODE' | 'BITBUCKET' | 'BITBUCKET_SERVER' | 'CLAUDE_CODE' | 'CURSOR' | 'CUSTOM' | 'CUSTOM_INGESTION' | 'GITHUB' | 'GITHUB_ACTIONS' | 'GITHUB_COPILOT' | 'GITLAB' | 'HARNESSCODE' | 'HARNESSNG' | 'HARNESS_CD' | 'HARNESS_CI' | 'JENKINS' | 'JIRA' | 'SERVICENOW' | 'SNYK' | 'WINDSURF' | 'WIZ';
9
9
  /**
10
10
  * Integration ID
11
11
  * @format int32
@@ -14,7 +14,7 @@ export interface IntegrationResponseDto {
14
14
  /**
15
15
  * Integration type
16
16
  */
17
- integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_METRICS' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
17
+ integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
18
18
  /**
19
19
  * Integration name
20
20
  */
@@ -21,9 +21,13 @@ export interface ItsmDrilldownItem {
21
21
  */
22
22
  createdAt?: string;
23
23
  /**
24
- * Record number from incident_number column (e.g., INC0012345, CHG0012345)
24
+ * Internal record ID from incident_id column
25
25
  */
26
26
  id?: string;
27
+ /**
28
+ * Record number from incident_number column (e.g., INC0012345, CHG0012345)
29
+ */
30
+ number?: string;
27
31
  /**
28
32
  * Person assigned to the record from assignee column
29
33
  */
@@ -3,10 +3,10 @@
3
3
  */
4
4
  export interface ItsmDrilldownSummary {
5
5
  /**
6
- * Average resolution time in hours (MTTR)
6
+ * Average resolution time in seconds (MTTR)
7
7
  * @format double
8
8
  */
9
- avgResolutionTimeHours?: number;
9
+ avgResolutionTimeSeconds?: number;
10
10
  /**
11
11
  * Deployment frequency per day (DF)
12
12
  * @format double
@@ -2,6 +2,7 @@ import type { DateRange } from '../schemas/DateRange';
2
2
  import type { Options } from '../schemas/Options';
3
3
  export interface Metadata {
4
4
  dateRange?: DateRange;
5
+ metricGroups?: string[];
5
6
  metrics?: string[];
6
7
  options?: Options;
7
8
  }
@@ -18,7 +18,7 @@ export interface MttrDrillDownResponseDto {
18
18
  /**
19
19
  * Integration type for this response
20
20
  */
21
- integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_METRICS' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
21
+ integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
22
22
  /**
23
23
  * ITSM records (ServiceNow incidents/change requests)
24
24
  */
@@ -13,7 +13,7 @@ export interface MttrDrilldownRequest {
13
13
  [key: string]: any;
14
14
  };
15
15
  };
16
- groupBy?: 'assigneeId' | 'issueKey';
16
+ groupBy?: 'assigneeId' | 'assignmentGroup' | 'businessService' | 'issueKey' | 'number' | 'owner';
17
17
  /**
18
18
  * @format int32
19
19
  */
@@ -1,7 +1,7 @@
1
1
  import type { MttrDataPoint } from '../schemas/MttrDataPoint';
2
2
  import type { RatingDto } from '../schemas/RatingDto';
3
3
  export interface MttrMetric {
4
- basedOn?: 'AI' | 'CD' | 'CI' | 'CUSTOM_METRICS' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
4
+ basedOn?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
5
5
  dataPoints?: MttrDataPoint[];
6
6
  /**
7
7
  * @format date-time
@@ -1,15 +1,10 @@
1
- import type { FieldDefinition } from '../schemas/FieldDefinition';
2
- import type { RecordTypeDefinition } from '../schemas/RecordTypeDefinition';
1
+ import type { ColumnDefinition } from '../schemas/ColumnDefinition';
3
2
  /**
4
- * Schema definition with fields and record types
3
+ * Schema definition with columns and their validation constraints
5
4
  */
6
5
  export interface SchemaDefinition {
7
6
  /**
8
- * All possible fields for this data source
7
+ * All columns/fields available in this data source with their types and constraints
9
8
  */
10
- fields: FieldDefinition[];
11
- /**
12
- * Record types with their required field lists
13
- */
14
- recordTypes: RecordTypeDefinition[];
9
+ columns: ColumnDefinition[];
15
10
  }
@@ -7,9 +7,4 @@ export interface SchemaRegistrationRequest {
7
7
  * Schema definition with fields and record types
8
8
  */
9
9
  schema: SchemaDefinition;
10
- /**
11
- * Data source identifier
12
- * @example "aternity"
13
- */
14
- source: string;
15
10
  }
@@ -40,10 +40,6 @@ export interface SchemaResponse {
40
40
  * Schema definition (stored as JSON)
41
41
  */
42
42
  schema?: JsonNode;
43
- /**
44
- * Data source identifier
45
- */
46
- source?: string;
47
43
  /**
48
44
  * Schema version number
49
45
  * @format int32
@@ -7,19 +7,13 @@ import type { ExportScope } from '../schemas/ExportScope';
7
7
  export interface SprintExportRequestDto {
8
8
  dateRange: DateRange;
9
9
  /**
10
- * Specific metric columns to export (mutually exclusive with metricGroups/metrics)
11
- * @example ["Sprint_Commit","Total_Work_Delivered","Churn_Rate"]
12
- */
13
- metricColumns?: string[];
14
- /**
15
- * Metric groups to export (mutually exclusive with metricColumns/metrics)
10
+ * Metric groups to export (mutually exclusive with metrics)
16
11
  * @example ["work","delivery","analysis"]
17
12
  */
18
13
  metricGroups?: string[];
19
14
  /**
20
- * DEPRECATED: Use metricGroups instead. List of metric groups to export
21
- * @example ["work","delivery","analysis"]
22
- * @deprecated
15
+ * Specific metric columns to export (mutually exclusive with metricGroups)
16
+ * @example ["Sprint_Commit","Total_Work_Delivered","Churn_Rate"]
23
17
  */
24
18
  metrics?: string[];
25
19
  options?: ExportOptions;
@@ -1,10 +1,6 @@
1
1
  import type { RatingDto } from '../schemas/RatingDto';
2
2
  import type { Stage } from '../schemas/Stage';
3
3
  export interface SummaryValue {
4
- /**
5
- * @format double
6
- */
7
- avgResolutionTimeHours?: number;
8
4
  changeFailureRateRating?: RatingDto;
9
5
  /**
10
6
  * @format int32
@@ -12,13 +8,9 @@ export interface SummaryValue {
12
8
  count?: number;
13
9
  deploymentFrequencyRating?: RatingDto;
14
10
  /**
15
- * @format int32
11
+ * @format int64
16
12
  */
17
13
  failureCount?: number;
18
- /**
19
- * @format int32
20
- */
21
- incidentsResolved?: number;
22
14
  /**
23
15
  * @format double
24
16
  */
@@ -40,8 +32,4 @@ export interface SummaryValue {
40
32
  p95?: number;
41
33
  p95Rating?: RatingDto;
42
34
  stageBreakdown?: Stage[];
43
- /**
44
- * @format int32
45
- */
46
- totalIncidentsCreated?: number;
47
35
  }
@@ -17,5 +17,5 @@ export interface TeamFilterIntegrationSummary {
17
17
  * Integration type
18
18
  * @example "GITHUB"
19
19
  */
20
- integration_type?: 'AI' | 'CD' | 'CI' | 'CUSTOM_METRICS' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
20
+ integration_type?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
21
21
  }
@@ -13,7 +13,7 @@ export interface TeamFiltersResponseDto {
13
13
  /**
14
14
  * List of integration types that have filters configured
15
15
  */
16
- configured_integration_types?: Array<'AI' | 'CD' | 'CI' | 'CUSTOM_METRICS' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY'>;
16
+ configured_integration_types?: Array<'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY'>;
17
17
  /**
18
18
  * Insight configurations grouped by insight type
19
19
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.26.9",
3
+ "version": "0.26.11",
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",
@@ -1,23 +0,0 @@
1
- /**
2
- * Validation constraints for a field
3
- */
4
- export interface FieldConstraint {
5
- /**
6
- * List of allowed values (enum constraint)
7
- */
8
- allowedValues?: string[];
9
- /**
10
- * Maximum allowed value (for numeric fields)
11
- * @format double
12
- */
13
- max?: number;
14
- /**
15
- * Minimum allowed value (for numeric fields)
16
- * @format double
17
- */
18
- min?: number;
19
- /**
20
- * Regex pattern for value validation
21
- */
22
- pattern?: string;
23
- }
@@ -1,28 +0,0 @@
1
- import type { FieldConstraint } from '../schemas/FieldConstraint';
2
- /**
3
- * Definition of a field including its type and validation constraints
4
- */
5
- export interface FieldDefinition {
6
- /**
7
- * Validation constraints for this field
8
- */
9
- constraints?: FieldConstraint;
10
- /**
11
- * Human-readable description of the field
12
- */
13
- description?: string;
14
- /**
15
- * Field name
16
- * @example "team"
17
- */
18
- name: string;
19
- /**
20
- * Whether this field is required for all records (typically false - use recordTypes.requiredFields instead)
21
- */
22
- required?: boolean;
23
- /**
24
- * Field data type
25
- * @example "string"
26
- */
27
- type: 'boolean' | 'double' | 'json' | 'long' | 'string' | 'timestamp';
28
- }
@@ -1,19 +0,0 @@
1
- /**
2
- * Definition of a record type and its required fields
3
- */
4
- export interface RecordTypeDefinition {
5
- /**
6
- * Human-readable description
7
- */
8
- description?: string;
9
- /**
10
- * Record type name
11
- * @example "availability"
12
- */
13
- name: string;
14
- /**
15
- * List of field names that are required for this record type
16
- * @example ["team","application","value"]
17
- */
18
- requiredFields: string[];
19
- }
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};