@harnessio/react-sei-panorama-service-client 0.26.16 → 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.
@@ -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';
@@ -547,6 +549,8 @@ export type { TeamsControllerUpdateTeamErrorResponse, TeamsControllerUpdateTeamM
547
549
  export { teamsControllerUpdateTeam, useTeamsControllerUpdateTeamMutation, } from './hooks/useTeamsControllerUpdateTeamMutation';
548
550
  export type { AccessResponseDto } from './schemas/AccessResponseDto';
549
551
  export type { ActivityDataDto } from './schemas/ActivityDataDto';
552
+ export type { ActivityLog } from './schemas/ActivityLog';
553
+ export type { ActivityLogListResponseDto } from './schemas/ActivityLogListResponseDto';
550
554
  export type { AdoptionDataPoint } from './schemas/AdoptionDataPoint';
551
555
  export type { AdoptionPeriodData } from './schemas/AdoptionPeriodData';
552
556
  export type { AiAdoptionBreakdownRequestDto } from './schemas/AiAdoptionBreakdownRequestDto';
@@ -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';
@@ -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,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,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
+ }
@@ -1,5 +1,9 @@
1
1
  import type { TotalStatisticCount } from '../schemas/TotalStatisticCount';
2
2
  export interface ProductivityDataPoint {
3
+ /**
4
+ * @format double
5
+ */
6
+ averageTimeToComplete?: number;
3
7
  /**
4
8
  * @format date-time
5
9
  */
@@ -9,6 +9,10 @@ export interface TeamSettingsDefaultSummaryDto {
9
9
  * @format uuid
10
10
  */
11
11
  id?: string;
12
+ /**
13
+ * @format int32
14
+ */
15
+ leafTeamCount?: number;
12
16
  name?: string;
13
17
  orgTree?: OrgTreeDto;
14
18
  /**
@@ -5,6 +5,7 @@ export interface TeamSettingsTeamResponseDto {
5
5
  defaultSettings?: TeamSettingsDefaultViewDto;
6
6
  merged?: TeamSettingsMergedViewDto;
7
7
  override?: TeamSettingsOverrideDto;
8
+ preview?: TeamSettingsDefaultViewDto;
8
9
  /**
9
10
  * @format int32
10
11
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.26.16",
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",