@harnessio/react-sei-panorama-service-client 0.26.16 → 0.27.0
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/useCanvasControllerCanUserAllowToAccessQuery.d.ts +13 -0
- package/dist/sei-panorama-service/src/services/hooks/useCanvasControllerCanUserAllowToAccessQuery.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/index.d.ts +6 -0
- package/dist/sei-panorama-service/src/services/index.js +2 -0
- 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/ActivityLogListResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/ProductivityDataPoint.d.ts +4 -0
- 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
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export type CanvasControllerCanUserAllowToAccessOkResponse = ResponseWithPagination<unknown>;
|
|
6
|
+
export type CanvasControllerCanUserAllowToAccessErrorResponse = ErrorResponse;
|
|
7
|
+
export interface CanvasControllerCanUserAllowToAccessProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
8
|
+
}
|
|
9
|
+
export declare function canvasControllerCanUserAllowToAccess(props: CanvasControllerCanUserAllowToAccessProps): Promise<CanvasControllerCanUserAllowToAccessOkResponse>;
|
|
10
|
+
/**
|
|
11
|
+
* Check user access for specific module or content
|
|
12
|
+
*/
|
|
13
|
+
export declare function useCanvasControllerCanUserAllowToAccessQuery(props: CanvasControllerCanUserAllowToAccessProps, options?: Omit<UseQueryOptions<CanvasControllerCanUserAllowToAccessOkResponse, CanvasControllerCanUserAllowToAccessErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CanvasControllerCanUserAllowToAccessOkResponse, ErrorResponse>;
|
package/dist/sei-panorama-service/src/services/hooks/useCanvasControllerCanUserAllowToAccessQuery.js
ADDED
|
@@ -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 canvasControllerCanUserAllowToAccess(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/canvas/accesscheck`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Check user access for specific module or content
|
|
11
|
+
*/
|
|
12
|
+
export function useCanvasControllerCanUserAllowToAccessQuery(props, options) {
|
|
13
|
+
return useQuery(['CanvasControllerCanUserAllowToAccess'], ({ signal }) => canvasControllerCanUserAllowToAccess(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';
|
|
@@ -73,6 +75,8 @@ export type { CacheControllerClearAllCollectionsCacheErrorResponse, CacheControl
|
|
|
73
75
|
export { cacheControllerClearAllCollectionsCache, useCacheControllerClearAllCollectionsCacheMutation, } from './hooks/useCacheControllerClearAllCollectionsCacheMutation';
|
|
74
76
|
export type { CanvasControllerAddDashboardOrgTreeMappingsErrorResponse, CanvasControllerAddDashboardOrgTreeMappingsMutationPathParams, CanvasControllerAddDashboardOrgTreeMappingsMutationQueryParams, CanvasControllerAddDashboardOrgTreeMappingsOkResponse, CanvasControllerAddDashboardOrgTreeMappingsProps, CanvasControllerAddDashboardOrgTreeMappingsRequestBody, } from './hooks/useCanvasControllerAddDashboardOrgTreeMappingsMutation';
|
|
75
77
|
export { canvasControllerAddDashboardOrgTreeMappings, useCanvasControllerAddDashboardOrgTreeMappingsMutation, } from './hooks/useCanvasControllerAddDashboardOrgTreeMappingsMutation';
|
|
78
|
+
export type { CanvasControllerCanUserAllowToAccessErrorResponse, CanvasControllerCanUserAllowToAccessOkResponse, CanvasControllerCanUserAllowToAccessProps, } from './hooks/useCanvasControllerCanUserAllowToAccessQuery';
|
|
79
|
+
export { canvasControllerCanUserAllowToAccess, useCanvasControllerCanUserAllowToAccessQuery, } from './hooks/useCanvasControllerCanUserAllowToAccessQuery';
|
|
76
80
|
export type { CanvasControllerCreateCanvasDashboardErrorResponse, CanvasControllerCreateCanvasDashboardMutationQueryParams, CanvasControllerCreateCanvasDashboardOkResponse, CanvasControllerCreateCanvasDashboardProps, CanvasControllerCreateCanvasDashboardRequestBody, } from './hooks/useCanvasControllerCreateCanvasDashboardMutation';
|
|
77
81
|
export { canvasControllerCreateCanvasDashboard, useCanvasControllerCreateCanvasDashboardMutation, } from './hooks/useCanvasControllerCreateCanvasDashboardMutation';
|
|
78
82
|
export type { CanvasControllerDeleteCanvasDashboardErrorResponse, CanvasControllerDeleteCanvasDashboardMutationPathParams, CanvasControllerDeleteCanvasDashboardMutationQueryParams, CanvasControllerDeleteCanvasDashboardOkResponse, CanvasControllerDeleteCanvasDashboardProps, } from './hooks/useCanvasControllerDeleteCanvasDashboardMutation';
|
|
@@ -547,6 +551,8 @@ export type { TeamsControllerUpdateTeamErrorResponse, TeamsControllerUpdateTeamM
|
|
|
547
551
|
export { teamsControllerUpdateTeam, useTeamsControllerUpdateTeamMutation, } from './hooks/useTeamsControllerUpdateTeamMutation';
|
|
548
552
|
export type { AccessResponseDto } from './schemas/AccessResponseDto';
|
|
549
553
|
export type { ActivityDataDto } from './schemas/ActivityDataDto';
|
|
554
|
+
export type { ActivityLog } from './schemas/ActivityLog';
|
|
555
|
+
export type { ActivityLogListResponseDto } from './schemas/ActivityLogListResponseDto';
|
|
550
556
|
export type { AdoptionDataPoint } from './schemas/AdoptionDataPoint';
|
|
551
557
|
export type { AdoptionPeriodData } from './schemas/AdoptionPeriodData';
|
|
552
558
|
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';
|
|
@@ -35,6 +36,7 @@ export { cacheControllerClearAllCategoriesCache, useCacheControllerClearAllCateg
|
|
|
35
36
|
export { cacheControllerClearAllCollectionsCacheForAccount, useCacheControllerClearAllCollectionsCacheForAccountMutation, } from './hooks/useCacheControllerClearAllCollectionsCacheForAccountMutation';
|
|
36
37
|
export { cacheControllerClearAllCollectionsCache, useCacheControllerClearAllCollectionsCacheMutation, } from './hooks/useCacheControllerClearAllCollectionsCacheMutation';
|
|
37
38
|
export { canvasControllerAddDashboardOrgTreeMappings, useCanvasControllerAddDashboardOrgTreeMappingsMutation, } from './hooks/useCanvasControllerAddDashboardOrgTreeMappingsMutation';
|
|
39
|
+
export { canvasControllerCanUserAllowToAccess, useCanvasControllerCanUserAllowToAccessQuery, } from './hooks/useCanvasControllerCanUserAllowToAccessQuery';
|
|
38
40
|
export { canvasControllerCreateCanvasDashboard, useCanvasControllerCreateCanvasDashboardMutation, } from './hooks/useCanvasControllerCreateCanvasDashboardMutation';
|
|
39
41
|
export { canvasControllerDeleteCanvasDashboard, useCanvasControllerDeleteCanvasDashboardMutation, } from './hooks/useCanvasControllerDeleteCanvasDashboardMutation';
|
|
40
42
|
export { canvasControllerDeleteDashboardOrgTreeMappings, useCanvasControllerDeleteDashboardOrgTreeMappingsMutation, } from './hooks/useCanvasControllerDeleteDashboardOrgTreeMappingsMutation';
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
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",
|