@harnessio/react-sei-panorama-service-client 0.26.15 → 0.26.17
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.
- package/dist/sei-panorama-service/src/services/hooks/useActivityLogsControllerListActivityLogsQuery.d.ts +37 -0
- package/dist/sei-panorama-service/src/services/hooks/useActivityLogsControllerListActivityLogsQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityV3ControllerGetFeatureBreakdownQuery.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityV3ControllerGetFeatureDrillDownQuery.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityV3ControllerGetFeatureMetricsQuery.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityV3ControllerGetIndividualUserFeatureDrillDownQuery.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsDefaultsControllerListDefaultsQuery.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +4 -3
- package/dist/sei-panorama-service/src/services/index.js +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ActivityLog.d.ts +18 -0
- package/dist/sei-panorama-service/src/services/schemas/ActivityLog.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ActivityLogListResponseDto.d.ts +16 -0
- package/dist/sei-panorama-service/src/services/schemas/CatalogEntityDto.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/schemas/ColumnDefinition.d.ts +0 -16
- package/dist/sei-panorama-service/src/services/schemas/EntityDto.d.ts +2 -1
- package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/GroupedTeamFiltersResponseDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/MetricEntry.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ProductivityDataPoint.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/SimpleFilter.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/TeamInsightConfigDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/TeamSettingsDefaultSummaryDto.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamSettingsTeamResponseDto.d.ts +1 -0
- package/package.json +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useInternalUdpControllerRegisterEntityTypeMutation.d.ts +0 -18
- package/dist/sei-panorama-service/src/services/hooks/useInternalUdpControllerRegisterEntityTypeMutation.js +0 -14
- package/dist/sei-panorama-service/src/services/schemas/InternalEntityRegistrationRequest.d.ts +0 -8
- /package/dist/sei-panorama-service/src/services/schemas/{InternalEntityRegistrationRequest.js → ActivityLogListResponseDto.js} +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ActivityLogListResponseDto } from '../schemas/ActivityLogListResponseDto';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface ActivityLogsControllerListActivityLogsQueryQueryParams {
|
|
6
|
+
itemTypes?: Array<'API_ACCESS_KEY' | 'ASSESSMENT' | 'ASSESSMENT_TEMPLATE' | 'BA_PROFILE' | 'CONFIG_TABLE' | 'CONTRIBUTOR' | 'CSV_FILE' | 'DASHBOARD' | 'DEVELOPER' | 'EFFICIENCY_PROFILE' | 'INTEGRATION' | 'KB' | 'ORG_TREE' | 'ORG_UNIT' | 'PLAYBOOK' | 'PRODUCT' | 'PRODUCTIVITY_PROFILE' | 'SECTION' | 'SECURITY_PROFILE' | 'SSO_CONFIG' | 'STATE' | 'TAG' | 'TEAM' | 'TEAM_SETTINGS_DEFAULT' | 'TEAM_SETTINGS_OVERRIDE' | 'TICKET' | 'TICKET_TEMPLATE' | 'USER' | 'USER_LOGIN' | 'WORKFLOW' | 'WORKFLOW_PROFILE' | 'WORK_ITEM'>;
|
|
7
|
+
emails?: string[];
|
|
8
|
+
actions?: Array<'ANSWERED' | 'CREATED' | 'DELETED' | 'EDITED' | 'FAIL' | 'PASSWORD_RESET_FINISHED' | 'PASSWORD_RESET_STARTED' | 'REPLACE' | 'SENT' | 'SUBMITTED' | 'SUCCESS'>;
|
|
9
|
+
/**
|
|
10
|
+
* @format int64
|
|
11
|
+
*/
|
|
12
|
+
startTime?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @format int64
|
|
15
|
+
*/
|
|
16
|
+
endTime?: number;
|
|
17
|
+
/**
|
|
18
|
+
* @format int32
|
|
19
|
+
* @default 0
|
|
20
|
+
*/
|
|
21
|
+
pageIndex?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @format int32
|
|
24
|
+
* @default 20
|
|
25
|
+
*/
|
|
26
|
+
pageSize?: number;
|
|
27
|
+
}
|
|
28
|
+
export type ActivityLogsControllerListActivityLogsOkResponse = ResponseWithPagination<ActivityLogListResponseDto>;
|
|
29
|
+
export type ActivityLogsControllerListActivityLogsErrorResponse = unknown;
|
|
30
|
+
export interface ActivityLogsControllerListActivityLogsProps extends Omit<FetcherOptions<ActivityLogsControllerListActivityLogsQueryQueryParams, unknown>, 'url'> {
|
|
31
|
+
queryParams: ActivityLogsControllerListActivityLogsQueryQueryParams;
|
|
32
|
+
}
|
|
33
|
+
export declare function activityLogsControllerListActivityLogs(props: ActivityLogsControllerListActivityLogsProps): Promise<ActivityLogsControllerListActivityLogsOkResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Paginated activity log entries, newest first. Optionally filter by item type, email, and time range.
|
|
36
|
+
*/
|
|
37
|
+
export declare function useActivityLogsControllerListActivityLogsQuery(props: ActivityLogsControllerListActivityLogsProps, options?: Omit<UseQueryOptions<ActivityLogsControllerListActivityLogsOkResponse, ActivityLogsControllerListActivityLogsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ActivityLogsControllerListActivityLogsOkResponse, unknown>;
|
|
@@ -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 activityLogsControllerListActivityLogs(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/activity-logs`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Paginated activity log entries, newest first. Optionally filter by item type, email, and time range.
|
|
11
|
+
*/
|
|
12
|
+
export function useActivityLogsControllerListActivityLogsQuery(props, options) {
|
|
13
|
+
return useQuery(['ActivityLogsControllerListActivityLogs', props.queryParams], ({ signal }) => activityLogsControllerListActivityLogs(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -5,6 +5,8 @@ import type { ResponseWithPagination } from '../helpers';
|
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface ProductivityV3ControllerGetFeatureBreakdownQueryQueryParams {
|
|
7
7
|
account: string;
|
|
8
|
+
projectIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
8
10
|
}
|
|
9
11
|
export type ProductivityV3ControllerGetFeatureBreakdownRequestBody = ProductivityV3FeatureRequestDto;
|
|
10
12
|
export type ProductivityV3ControllerGetFeatureBreakdownOkResponse = ResponseWithPagination<ProductivityV3FeatureBreakdownResponseDto>;
|
|
@@ -5,6 +5,8 @@ import type { ResponseWithPagination } from '../helpers';
|
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface ProductivityV3ControllerGetFeatureDrillDownQueryQueryParams {
|
|
7
7
|
account: string;
|
|
8
|
+
projectIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
8
10
|
}
|
|
9
11
|
export type ProductivityV3ControllerGetFeatureDrillDownRequestBody = ProductivityV3FeatureRequestDto;
|
|
10
12
|
export type ProductivityV3ControllerGetFeatureDrillDownOkResponse = ResponseWithPagination<ProductivityV3FeatureDrilldownResponseDto>;
|
|
@@ -5,6 +5,8 @@ import type { ResponseWithPagination } from '../helpers';
|
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface ProductivityV3ControllerGetFeatureMetricsQueryQueryParams {
|
|
7
7
|
account: string;
|
|
8
|
+
projectIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
8
10
|
}
|
|
9
11
|
export type ProductivityV3ControllerGetFeatureMetricsRequestBody = ProductivityV3FeatureRequestDto;
|
|
10
12
|
export type ProductivityV3ControllerGetFeatureMetricsOkResponse = ResponseWithPagination<ProductivityFeatureResponseDto>;
|
|
@@ -5,6 +5,8 @@ import type { ResponseWithPagination } from '../helpers';
|
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface ProductivityV3ControllerGetIndividualUserFeatureDrillDownQueryQueryParams {
|
|
7
7
|
account: string;
|
|
8
|
+
projectIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
8
10
|
}
|
|
9
11
|
export type ProductivityV3ControllerGetIndividualUserFeatureDrillDownRequestBody = ProductivityV3FeatureRequestDto;
|
|
10
12
|
export type ProductivityV3ControllerGetIndividualUserFeatureDrillDownOkResponse = ResponseWithPagination<ProductivityV3FeatureIndividualDrilldownResponseDto>;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export type { GetPathParamsType, ResponseWithPagination } from './helpers';
|
|
2
|
+
export type { ActivityLogsControllerListActivityLogsErrorResponse, ActivityLogsControllerListActivityLogsOkResponse, ActivityLogsControllerListActivityLogsProps, ActivityLogsControllerListActivityLogsQueryQueryParams, } from './hooks/useActivityLogsControllerListActivityLogsQuery';
|
|
3
|
+
export { activityLogsControllerListActivityLogs, useActivityLogsControllerListActivityLogsQuery, } from './hooks/useActivityLogsControllerListActivityLogsQuery';
|
|
2
4
|
export type { AiInsightsControllerGetAdoptionBreakdownErrorResponse, AiInsightsControllerGetAdoptionBreakdownOkResponse, AiInsightsControllerGetAdoptionBreakdownProps, AiInsightsControllerGetAdoptionBreakdownQueryQueryParams, AiInsightsControllerGetAdoptionBreakdownRequestBody, } from './hooks/useAiInsightsControllerGetAdoptionBreakdownQuery';
|
|
3
5
|
export { aiInsightsControllerGetAdoptionBreakdown, useAiInsightsControllerGetAdoptionBreakdownQuery, } from './hooks/useAiInsightsControllerGetAdoptionBreakdownQuery';
|
|
4
6
|
export type { AiInsightsControllerGetAdoptionMetricsErrorResponse, AiInsightsControllerGetAdoptionMetricsOkResponse, AiInsightsControllerGetAdoptionMetricsProps, AiInsightsControllerGetAdoptionMetricsQueryQueryParams, AiInsightsControllerGetAdoptionMetricsRequestBody, } from './hooks/useAiInsightsControllerGetAdoptionMetricsQuery';
|
|
@@ -327,8 +329,6 @@ export type { IntegrationStatsControllerGetWindsurfUsersCountErrorResponse, Inte
|
|
|
327
329
|
export { integrationStatsControllerGetWindsurfUsersCount, useIntegrationStatsControllerGetWindsurfUsersCountQuery, } from './hooks/useIntegrationStatsControllerGetWindsurfUsersCountQuery';
|
|
328
330
|
export type { IntegrationStatsControllerGetWindsurfUsersCountWithDateRangeErrorResponse, IntegrationStatsControllerGetWindsurfUsersCountWithDateRangeMutationQueryParams, IntegrationStatsControllerGetWindsurfUsersCountWithDateRangeOkResponse, IntegrationStatsControllerGetWindsurfUsersCountWithDateRangeProps, IntegrationStatsControllerGetWindsurfUsersCountWithDateRangeRequestBody, } from './hooks/useIntegrationStatsControllerGetWindsurfUsersCountWithDateRangeMutation';
|
|
329
331
|
export { integrationStatsControllerGetWindsurfUsersCountWithDateRange, useIntegrationStatsControllerGetWindsurfUsersCountWithDateRangeMutation, } from './hooks/useIntegrationStatsControllerGetWindsurfUsersCountWithDateRangeMutation';
|
|
330
|
-
export type { InternalUdpControllerRegisterEntityTypeErrorResponse, InternalUdpControllerRegisterEntityTypeOkResponse, InternalUdpControllerRegisterEntityTypeProps, InternalUdpControllerRegisterEntityTypeRequestBody, } from './hooks/useInternalUdpControllerRegisterEntityTypeMutation';
|
|
331
|
-
export { internalUdpControllerRegisterEntityType, useInternalUdpControllerRegisterEntityTypeMutation, } from './hooks/useInternalUdpControllerRegisterEntityTypeMutation';
|
|
332
332
|
export type { IssuesControllerGetBuildInfoFromIssuesErrorResponse, IssuesControllerGetBuildInfoFromIssuesOkResponse, IssuesControllerGetBuildInfoFromIssuesProps, IssuesControllerGetBuildInfoFromIssuesQueryQueryParams, IssuesControllerGetBuildInfoFromIssuesRequestBody, } from './hooks/useIssuesControllerGetBuildInfoFromIssuesQuery';
|
|
333
333
|
export { issuesControllerGetBuildInfoFromIssues, useIssuesControllerGetBuildInfoFromIssuesQuery, } from './hooks/useIssuesControllerGetBuildInfoFromIssuesQuery';
|
|
334
334
|
export type { IssuesControllerGetCommitsInfoFromPrErrorResponse, IssuesControllerGetCommitsInfoFromPrOkResponse, IssuesControllerGetCommitsInfoFromPrProps, IssuesControllerGetCommitsInfoFromPrQueryQueryParams, IssuesControllerGetCommitsInfoFromPrRequestBody, } from './hooks/useIssuesControllerGetCommitsInfoFromPrQuery';
|
|
@@ -549,6 +549,8 @@ export type { TeamsControllerUpdateTeamErrorResponse, TeamsControllerUpdateTeamM
|
|
|
549
549
|
export { teamsControllerUpdateTeam, useTeamsControllerUpdateTeamMutation, } from './hooks/useTeamsControllerUpdateTeamMutation';
|
|
550
550
|
export type { AccessResponseDto } from './schemas/AccessResponseDto';
|
|
551
551
|
export type { ActivityDataDto } from './schemas/ActivityDataDto';
|
|
552
|
+
export type { ActivityLog } from './schemas/ActivityLog';
|
|
553
|
+
export type { ActivityLogListResponseDto } from './schemas/ActivityLogListResponseDto';
|
|
552
554
|
export type { AdoptionDataPoint } from './schemas/AdoptionDataPoint';
|
|
553
555
|
export type { AdoptionPeriodData } from './schemas/AdoptionPeriodData';
|
|
554
556
|
export type { AiAdoptionBreakdownRequestDto } from './schemas/AiAdoptionBreakdownRequestDto';
|
|
@@ -761,7 +763,6 @@ export type { IntegrationSummary } from './schemas/IntegrationSummary';
|
|
|
761
763
|
export type { IntegrationUser } from './schemas/IntegrationUser';
|
|
762
764
|
export type { IntegrationUserInfo } from './schemas/IntegrationUserInfo';
|
|
763
765
|
export type { IntegrationWithValuesDto } from './schemas/IntegrationWithValuesDto';
|
|
764
|
-
export type { InternalEntityRegistrationRequest } from './schemas/InternalEntityRegistrationRequest';
|
|
765
766
|
export type { IssueRequest } from './schemas/IssueRequest';
|
|
766
767
|
export type { IssuesPipelineExecutionResponse } from './schemas/IssuesPipelineExecutionResponse';
|
|
767
768
|
export type { IssuesPipelineExecutionResponseWrapper } from './schemas/IssuesPipelineExecutionResponseWrapper';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { activityLogsControllerListActivityLogs, useActivityLogsControllerListActivityLogsQuery, } from './hooks/useActivityLogsControllerListActivityLogsQuery';
|
|
1
2
|
export { aiInsightsControllerGetAdoptionBreakdown, useAiInsightsControllerGetAdoptionBreakdownQuery, } from './hooks/useAiInsightsControllerGetAdoptionBreakdownQuery';
|
|
2
3
|
export { aiInsightsControllerGetAdoptionMetrics, useAiInsightsControllerGetAdoptionMetricsQuery, } from './hooks/useAiInsightsControllerGetAdoptionMetricsQuery';
|
|
3
4
|
export { aiInsightsControllerGetAdoptionSummary, useAiInsightsControllerGetAdoptionSummaryQuery, } from './hooks/useAiInsightsControllerGetAdoptionSummaryQuery';
|
|
@@ -162,7 +163,6 @@ export { integrationStatsControllerGetWindsurfEventsCount, useIntegrationStatsCo
|
|
|
162
163
|
export { integrationStatsControllerGetWindsurfEventsCountWithDateRange, useIntegrationStatsControllerGetWindsurfEventsCountWithDateRangeMutation, } from './hooks/useIntegrationStatsControllerGetWindsurfEventsCountWithDateRangeMutation';
|
|
163
164
|
export { integrationStatsControllerGetWindsurfUsersCount, useIntegrationStatsControllerGetWindsurfUsersCountQuery, } from './hooks/useIntegrationStatsControllerGetWindsurfUsersCountQuery';
|
|
164
165
|
export { integrationStatsControllerGetWindsurfUsersCountWithDateRange, useIntegrationStatsControllerGetWindsurfUsersCountWithDateRangeMutation, } from './hooks/useIntegrationStatsControllerGetWindsurfUsersCountWithDateRangeMutation';
|
|
165
|
-
export { internalUdpControllerRegisterEntityType, useInternalUdpControllerRegisterEntityTypeMutation, } from './hooks/useInternalUdpControllerRegisterEntityTypeMutation';
|
|
166
166
|
export { issuesControllerGetBuildInfoFromIssues, useIssuesControllerGetBuildInfoFromIssuesQuery, } from './hooks/useIssuesControllerGetBuildInfoFromIssuesQuery';
|
|
167
167
|
export { issuesControllerGetCommitsInfoFromPr, useIssuesControllerGetCommitsInfoFromPrQuery, } from './hooks/useIssuesControllerGetCommitsInfoFromPrQuery';
|
|
168
168
|
export { issuesControllerGetDeployInfoFromIssues, useIssuesControllerGetDeployInfoFromIssuesQuery, } from './hooks/useIssuesControllerGetDeployInfoFromIssuesQuery';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface ActivityLog {
|
|
2
|
+
action?: 'ANSWERED' | 'CREATED' | 'DELETED' | 'EDITED' | 'FAIL' | 'PASSWORD_RESET_FINISHED' | 'PASSWORD_RESET_STARTED' | 'REPLACE' | 'SENT' | 'SUBMITTED' | 'SUCCESS';
|
|
3
|
+
body?: string;
|
|
4
|
+
/**
|
|
5
|
+
* @format date-time
|
|
6
|
+
*/
|
|
7
|
+
createdAt?: string;
|
|
8
|
+
details?: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
};
|
|
11
|
+
email?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @format uuid
|
|
14
|
+
*/
|
|
15
|
+
id?: string;
|
|
16
|
+
itemType?: 'API_ACCESS_KEY' | 'ASSESSMENT' | 'ASSESSMENT_TEMPLATE' | 'BA_PROFILE' | 'CONFIG_TABLE' | 'CONTRIBUTOR' | 'CSV_FILE' | 'DASHBOARD' | 'DEVELOPER' | 'EFFICIENCY_PROFILE' | 'INTEGRATION' | 'KB' | 'ORG_TREE' | 'ORG_UNIT' | 'PLAYBOOK' | 'PRODUCT' | 'PRODUCTIVITY_PROFILE' | 'SECTION' | 'SECURITY_PROFILE' | 'SSO_CONFIG' | 'STATE' | 'TAG' | 'TEAM' | 'TEAM_SETTINGS_DEFAULT' | 'TEAM_SETTINGS_OVERRIDE' | 'TICKET' | 'TICKET_TEMPLATE' | 'USER' | 'USER_LOGIN' | 'WORKFLOW' | 'WORKFLOW_PROFILE' | 'WORK_ITEM';
|
|
17
|
+
targetItem?: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ActivityLog } from '../schemas/ActivityLog';
|
|
2
|
+
export interface ActivityLogListResponseDto {
|
|
3
|
+
/**
|
|
4
|
+
* @format int32
|
|
5
|
+
*/
|
|
6
|
+
pageIndex?: number;
|
|
7
|
+
/**
|
|
8
|
+
* @format int32
|
|
9
|
+
*/
|
|
10
|
+
pageSize?: number;
|
|
11
|
+
records?: ActivityLog[];
|
|
12
|
+
/**
|
|
13
|
+
* @format int64
|
|
14
|
+
*/
|
|
15
|
+
total?: number;
|
|
16
|
+
}
|
|
@@ -10,10 +10,6 @@ export interface ColumnDefinition {
|
|
|
10
10
|
* Human-readable description of the column
|
|
11
11
|
*/
|
|
12
12
|
description?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Whether this column should be indexed in the type registry
|
|
15
|
-
*/
|
|
16
|
-
indexed?: boolean;
|
|
17
13
|
/**
|
|
18
14
|
* Maximum allowed value (for numeric fields)
|
|
19
15
|
* @format double
|
|
@@ -33,10 +29,6 @@ export interface ColumnDefinition {
|
|
|
33
29
|
* Regex pattern for value validation
|
|
34
30
|
*/
|
|
35
31
|
pattern?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Whether this column uniquely identifies a record (used as entity id_field in the type registry)
|
|
38
|
-
*/
|
|
39
|
-
primaryKey?: boolean;
|
|
40
32
|
/**
|
|
41
33
|
* Whether this column is required in every record
|
|
42
34
|
*/
|
|
@@ -45,14 +37,6 @@ export interface ColumnDefinition {
|
|
|
45
37
|
* List of other columns that must be present when this column is used
|
|
46
38
|
*/
|
|
47
39
|
requiredColumns?: string[];
|
|
48
|
-
/**
|
|
49
|
-
* Whether this column should be searchable in the type registry
|
|
50
|
-
*/
|
|
51
|
-
searchable?: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Whether this column should be sortable in the type registry
|
|
54
|
-
*/
|
|
55
|
-
sortable?: boolean;
|
|
56
40
|
/**
|
|
57
41
|
* Column data type (string, number, boolean, timestamp)
|
|
58
42
|
* @example "string"
|
|
@@ -4,7 +4,8 @@ import type { CompositeFilterExpression } from '../schemas/CompositeFilterExpres
|
|
|
4
4
|
import type { SimpleFilterExpression } from '../schemas/SimpleFilterExpression';
|
|
5
5
|
export interface EntityDto {
|
|
6
6
|
applicableInsights?: Array<'AI_INSIGHTS' | 'BA' | 'DORA' | 'PRODUCTIVITY' | 'SECURITY' | 'SPRINT_INSIGHTS'>;
|
|
7
|
-
applicableMetrics?: Array<'AI_INSIGHTS' | 'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'SPRINT_INSIGHTS' | 'TOTAL_OPEN_VULNERABILITIES' | 'WORK_COMPLETED'>;
|
|
7
|
+
applicableMetrics?: Array<'AI_INSIGHTS' | 'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODE_REWORK' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'SPRINT_INSIGHTS' | 'TOTAL_OPEN_VULNERABILITIES' | 'WORK_COMPLETED'>;
|
|
8
|
+
baCategoryColor?: string;
|
|
8
9
|
config?: BugPriorityConfig & NewFeaturesConfig;
|
|
9
10
|
entityKey?: string;
|
|
10
11
|
entityName?: string;
|
|
@@ -11,7 +11,7 @@ export interface FilterValuesRequestDto {
|
|
|
11
11
|
/**
|
|
12
12
|
* Filter key to get values for (used when isCustom = false)
|
|
13
13
|
*/
|
|
14
|
-
filterKey?: '
|
|
14
|
+
filterKey?: 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'ITSM_ASSIGNMENT_GROUP' | 'ITSM_BUSINESS_SERVICE' | 'ITSM_PRIORITY' | 'ITSM_SEVERITY' | 'ITSM_URGENCY' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SECURITY_ARMORCODE_ASSET_TYPE' | 'SECURITY_ARMORCODE_ASSET_URL' | 'SECURITY_ARMORCODE_ENVIRONMENT' | 'SECURITY_ARMORCODE_PRODUCT_NAME' | 'SECURITY_ARMORCODE_SUB_PRODUCT_NAME' | 'SECURITY_ARMORCODE_TOOL_SOURCE' | 'SERVICE_NAME' | 'SNYK_BRANCH' | 'SNYK_ENVIRONMENT' | 'SNYK_FILE_PATH' | 'SNYK_MONOREPO_PATH' | 'SNYK_ORG_ID' | 'SNYK_ORG_NAME' | 'SNYK_PROJECT_TAG' | 'SNYK_REPOSITORY' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM' | 'WIZ_CLOUD_ACCOUNT_ID' | 'WIZ_LANDING_ZONE_NAME' | 'WIZ_PROJECT_ID' | 'WIZ_REGION' | 'WIZ_RESOURCE_TAG' | 'WIZ_RESOURCE_TYPE';
|
|
15
15
|
/**
|
|
16
16
|
* Integration ID
|
|
17
17
|
*/
|
|
@@ -9,7 +9,7 @@ export interface GroupedTeamFiltersResponseDto {
|
|
|
9
9
|
insightConfigs?: {
|
|
10
10
|
[key: string]: TeamInsightConfigDto[];
|
|
11
11
|
};
|
|
12
|
-
metricsUsingDeveloperFilters?: Array<'AI_INSIGHTS' | 'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'SPRINT_INSIGHTS' | 'TOTAL_OPEN_VULNERABILITIES' | 'WORK_COMPLETED'>;
|
|
12
|
+
metricsUsingDeveloperFilters?: Array<'AI_INSIGHTS' | 'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODE_REWORK' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'SPRINT_INSIGHTS' | 'TOTAL_OPEN_VULNERABILITIES' | 'WORK_COMPLETED'>;
|
|
13
13
|
/**
|
|
14
14
|
* @format int32
|
|
15
15
|
*/
|
|
@@ -6,7 +6,7 @@ export interface SimpleFilter {
|
|
|
6
6
|
* Filter key
|
|
7
7
|
* @example "PROJECT"
|
|
8
8
|
*/
|
|
9
|
-
filterKey?: '
|
|
9
|
+
filterKey?: 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'ITSM_ASSIGNMENT_GROUP' | 'ITSM_BUSINESS_SERVICE' | 'ITSM_PRIORITY' | 'ITSM_SEVERITY' | 'ITSM_URGENCY' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SECURITY_ARMORCODE_ASSET_TYPE' | 'SECURITY_ARMORCODE_ASSET_URL' | 'SECURITY_ARMORCODE_ENVIRONMENT' | 'SECURITY_ARMORCODE_PRODUCT_NAME' | 'SECURITY_ARMORCODE_SUB_PRODUCT_NAME' | 'SECURITY_ARMORCODE_TOOL_SOURCE' | 'SERVICE_NAME' | 'SNYK_BRANCH' | 'SNYK_ENVIRONMENT' | 'SNYK_FILE_PATH' | 'SNYK_MONOREPO_PATH' | 'SNYK_ORG_ID' | 'SNYK_ORG_NAME' | 'SNYK_PROJECT_TAG' | 'SNYK_REPOSITORY' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM' | 'WIZ_CLOUD_ACCOUNT_ID' | 'WIZ_LANDING_ZONE_NAME' | 'WIZ_PROJECT_ID' | 'WIZ_REGION' | 'WIZ_RESOURCE_TAG' | 'WIZ_RESOURCE_TYPE';
|
|
10
10
|
/**
|
|
11
11
|
* Filter ID
|
|
12
12
|
* @format int32
|
|
@@ -4,10 +4,10 @@ export interface TeamFilter {
|
|
|
4
4
|
[key: string]: any;
|
|
5
5
|
};
|
|
6
6
|
};
|
|
7
|
-
applicableMetrics?: Array<'AI_INSIGHTS' | 'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'SPRINT_INSIGHTS' | 'TOTAL_OPEN_VULNERABILITIES' | 'WORK_COMPLETED'>;
|
|
7
|
+
applicableMetrics?: Array<'AI_INSIGHTS' | 'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODE_REWORK' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'SPRINT_INSIGHTS' | 'TOTAL_OPEN_VULNERABILITIES' | 'WORK_COMPLETED'>;
|
|
8
8
|
customFilterId?: string;
|
|
9
9
|
customFilterKey?: string;
|
|
10
|
-
filterKey?: '
|
|
10
|
+
filterKey?: 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'ITSM_ASSIGNMENT_GROUP' | 'ITSM_BUSINESS_SERVICE' | 'ITSM_PRIORITY' | 'ITSM_SEVERITY' | 'ITSM_URGENCY' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SECURITY_ARMORCODE_ASSET_TYPE' | 'SECURITY_ARMORCODE_ASSET_URL' | 'SECURITY_ARMORCODE_ENVIRONMENT' | 'SECURITY_ARMORCODE_PRODUCT_NAME' | 'SECURITY_ARMORCODE_SUB_PRODUCT_NAME' | 'SECURITY_ARMORCODE_TOOL_SOURCE' | 'SERVICE_NAME' | 'SNYK_BRANCH' | 'SNYK_ENVIRONMENT' | 'SNYK_FILE_PATH' | 'SNYK_MONOREPO_PATH' | 'SNYK_ORG_ID' | 'SNYK_ORG_NAME' | 'SNYK_PROJECT_TAG' | 'SNYK_REPOSITORY' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM' | 'WIZ_CLOUD_ACCOUNT_ID' | 'WIZ_LANDING_ZONE_NAME' | 'WIZ_PROJECT_ID' | 'WIZ_REGION' | 'WIZ_RESOURCE_TAG' | 'WIZ_RESOURCE_TYPE';
|
|
11
11
|
/**
|
|
12
12
|
* @format int32
|
|
13
13
|
*/
|
|
@@ -4,5 +4,5 @@ export interface TeamInsightConfigDto {
|
|
|
4
4
|
[key: string]: any;
|
|
5
5
|
};
|
|
6
6
|
};
|
|
7
|
-
insightFeature?: 'AI_INSIGHTS' | 'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'SPRINT_INSIGHTS' | 'TOTAL_OPEN_VULNERABILITIES' | 'WORK_COMPLETED';
|
|
7
|
+
insightFeature?: 'AI_INSIGHTS' | 'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODE_REWORK' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'SPRINT_INSIGHTS' | 'TOTAL_OPEN_VULNERABILITIES' | 'WORK_COMPLETED';
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.17",
|
|
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,18 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { InternalEntityRegistrationRequest } from '../schemas/InternalEntityRegistrationRequest';
|
|
3
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
-
export interface InternalUdpControllerRegisterEntityTypeMutationHeaderParams {
|
|
6
|
-
'x-harness-account-id': string;
|
|
7
|
-
}
|
|
8
|
-
export type InternalUdpControllerRegisterEntityTypeRequestBody = InternalEntityRegistrationRequest;
|
|
9
|
-
export type InternalUdpControllerRegisterEntityTypeOkResponse = ResponseWithPagination<unknown>;
|
|
10
|
-
export type InternalUdpControllerRegisterEntityTypeErrorResponse = unknown;
|
|
11
|
-
export interface InternalUdpControllerRegisterEntityTypeProps extends Omit<FetcherOptions<unknown, InternalUdpControllerRegisterEntityTypeRequestBody, InternalUdpControllerRegisterEntityTypeMutationHeaderParams>, 'url'> {
|
|
12
|
-
body: InternalUdpControllerRegisterEntityTypeRequestBody;
|
|
13
|
-
}
|
|
14
|
-
export declare function internalUdpControllerRegisterEntityType(props: InternalUdpControllerRegisterEntityTypeProps): Promise<InternalUdpControllerRegisterEntityTypeOkResponse>;
|
|
15
|
-
/**
|
|
16
|
-
* Validates schema immutability and queues a TypeRegistryRequest for asynchronous processing by the sei-data-platform sync job. Restricted to localhost callers.
|
|
17
|
-
*/
|
|
18
|
-
export declare function useInternalUdpControllerRegisterEntityTypeMutation(options?: Omit<UseMutationOptions<InternalUdpControllerRegisterEntityTypeOkResponse, InternalUdpControllerRegisterEntityTypeErrorResponse, InternalUdpControllerRegisterEntityTypeProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<InternalUdpControllerRegisterEntityTypeOkResponse, unknown, InternalUdpControllerRegisterEntityTypeProps, unknown>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
-
// Please do not modify this code directly.
|
|
4
|
-
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
-
export function internalUdpControllerRegisterEntityType(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/api/v1/type-registry/entity-types`, method: 'POST' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Validates schema immutability and queues a TypeRegistryRequest for asynchronous processing by the sei-data-platform sync job. Restricted to localhost callers.
|
|
11
|
-
*/
|
|
12
|
-
export function useInternalUdpControllerRegisterEntityTypeMutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => internalUdpControllerRegisterEntityType(mutateProps), options);
|
|
14
|
-
}
|