@harnessio/react-sei-panorama-service-client 0.25.19 → 0.25.21
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/useIntegrationControllerGetIntegrationProjectsQuery.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationControllerGetIntegrationProjectsQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationControllerGetIntegrationReposQuery.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationControllerGetIntegrationReposQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useMigrationControllerExecuteMigrationMutation.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/hooks/useMigrationControllerExecuteMigrationMutation.js +18 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamFiltersQuery.d.ts +24 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamFiltersQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +16 -0
- package/dist/sei-panorama-service/src/services/index.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/CursorMetrics.d.ts +8 -8
- package/dist/sei-panorama-service/src/services/schemas/IntegrationSummary.d.ts +16 -3
- package/dist/sei-panorama-service/src/services/schemas/IntegrationWithValuesDto.d.ts +14 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationWithValuesDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/MigrationConfig.d.ts +11 -0
- package/dist/sei-panorama-service/src/services/schemas/MigrationConfig.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/MigrationExecutionResponse.d.ts +18 -0
- package/dist/sei-panorama-service/src/services/schemas/MigrationExecutionResponse.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/MigrationScriptResponse.d.ts +8 -0
- package/dist/sei-panorama-service/src/services/schemas/MigrationScriptResponse.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/MvAnalysis.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/MvAnalysis.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/PrCycleTimeDrilldownResponseDataPointV3.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/SimpleFilter.d.ts +36 -0
- package/dist/sei-panorama-service/src/services/schemas/SimpleFilter.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/SummarySection.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/schemas/TeamFiltersResponseDto.d.ts +51 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamFiltersResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/TenantMvAnalysis.d.ts +7 -0
- package/dist/sei-panorama-service/src/services/schemas/TenantMvAnalysis.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { IntegrationWithValuesDto } from '../schemas/IntegrationWithValuesDto';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface IntegrationControllerGetIntegrationProjectsQueryQueryParams {
|
|
6
|
+
integrationIds?: number[];
|
|
7
|
+
}
|
|
8
|
+
export type IntegrationControllerGetIntegrationProjectsOkResponse = ResponseWithPagination<IntegrationWithValuesDto[]>;
|
|
9
|
+
export type IntegrationControllerGetIntegrationProjectsErrorResponse = IntegrationWithValuesDto[];
|
|
10
|
+
export interface IntegrationControllerGetIntegrationProjectsProps extends Omit<FetcherOptions<IntegrationControllerGetIntegrationProjectsQueryQueryParams, unknown>, 'url'> {
|
|
11
|
+
queryParams: IntegrationControllerGetIntegrationProjectsQueryQueryParams;
|
|
12
|
+
}
|
|
13
|
+
export declare function integrationControllerGetIntegrationProjects(props: IntegrationControllerGetIntegrationProjectsProps): Promise<IntegrationControllerGetIntegrationProjectsOkResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Returns a list of integrations with their projects. Results are sorted case-insensitively in ascending order.
|
|
16
|
+
*/
|
|
17
|
+
export declare function useIntegrationControllerGetIntegrationProjectsQuery(props: IntegrationControllerGetIntegrationProjectsProps, options?: Omit<UseQueryOptions<IntegrationControllerGetIntegrationProjectsOkResponse, IntegrationControllerGetIntegrationProjectsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<IntegrationControllerGetIntegrationProjectsOkResponse, IntegrationControllerGetIntegrationProjectsErrorResponse>;
|
|
@@ -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 integrationControllerGetIntegrationProjects(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integrations/im/projects`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns a list of integrations with their projects. Results are sorted case-insensitively in ascending order.
|
|
11
|
+
*/
|
|
12
|
+
export function useIntegrationControllerGetIntegrationProjectsQuery(props, options) {
|
|
13
|
+
return useQuery(['IntegrationControllerGetIntegrationProjects', props.queryParams], ({ signal }) => integrationControllerGetIntegrationProjects(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { IntegrationWithValuesDto } from '../schemas/IntegrationWithValuesDto';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface IntegrationControllerGetIntegrationReposQueryQueryParams {
|
|
6
|
+
integrationIds?: number[];
|
|
7
|
+
}
|
|
8
|
+
export type IntegrationControllerGetIntegrationReposOkResponse = ResponseWithPagination<IntegrationWithValuesDto[]>;
|
|
9
|
+
export type IntegrationControllerGetIntegrationReposErrorResponse = IntegrationWithValuesDto[];
|
|
10
|
+
export interface IntegrationControllerGetIntegrationReposProps extends Omit<FetcherOptions<IntegrationControllerGetIntegrationReposQueryQueryParams, unknown>, 'url'> {
|
|
11
|
+
queryParams: IntegrationControllerGetIntegrationReposQueryQueryParams;
|
|
12
|
+
}
|
|
13
|
+
export declare function integrationControllerGetIntegrationRepos(props: IntegrationControllerGetIntegrationReposProps): Promise<IntegrationControllerGetIntegrationReposOkResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Returns a list of integrations with their repositories. Results are sorted case-insensitively in ascending order.
|
|
16
|
+
*/
|
|
17
|
+
export declare function useIntegrationControllerGetIntegrationReposQuery(props: IntegrationControllerGetIntegrationReposProps, options?: Omit<UseQueryOptions<IntegrationControllerGetIntegrationReposOkResponse, IntegrationControllerGetIntegrationReposErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<IntegrationControllerGetIntegrationReposOkResponse, IntegrationControllerGetIntegrationReposErrorResponse>;
|
|
@@ -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 integrationControllerGetIntegrationRepos(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integrations/scm/repos`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns a list of integrations with their repositories. Results are sorted case-insensitively in ascending order.
|
|
11
|
+
*/
|
|
12
|
+
export function useIntegrationControllerGetIntegrationReposQuery(props, options) {
|
|
13
|
+
return useQuery(['IntegrationControllerGetIntegrationRepos', props.queryParams], ({ signal }) => integrationControllerGetIntegrationRepos(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { MigrationExecutionResponse } from '../schemas/MigrationExecutionResponse';
|
|
3
|
+
import type { MigrationConfig } from '../schemas/MigrationConfig';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export type MigrationControllerExecuteMigrationRequestBody = MigrationConfig;
|
|
7
|
+
export type MigrationControllerExecuteMigrationOkResponse = ResponseWithPagination<MigrationExecutionResponse>;
|
|
8
|
+
export type MigrationControllerExecuteMigrationErrorResponse = unknown | MigrationExecutionResponse;
|
|
9
|
+
export interface MigrationControllerExecuteMigrationProps extends Omit<FetcherOptions<unknown, MigrationControllerExecuteMigrationRequestBody>, 'url'> {
|
|
10
|
+
body: MigrationControllerExecuteMigrationRequestBody;
|
|
11
|
+
}
|
|
12
|
+
export declare function migrationControllerExecuteMigration(props: MigrationControllerExecuteMigrationProps): Promise<MigrationControllerExecuteMigrationOkResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Executes migration job by calling the temporal ETL worker service /migrations/v1 endpoint.
|
|
15
|
+
* Uses DeferredResult to return the ACTUAL migration response without blocking server threads.
|
|
16
|
+
* Client waits for the response (up to 10 minutes), but server thread is released immediately.
|
|
17
|
+
* Returns complete migration results including tenant status and MV analysis.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare function useMigrationControllerExecuteMigrationMutation(options?: Omit<UseMutationOptions<MigrationControllerExecuteMigrationOkResponse, MigrationControllerExecuteMigrationErrorResponse, MigrationControllerExecuteMigrationProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<MigrationControllerExecuteMigrationOkResponse, unknown, MigrationControllerExecuteMigrationProps, unknown>;
|
|
@@ -0,0 +1,18 @@
|
|
|
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 migrationControllerExecuteMigration(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/migration/data-platform`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Executes migration job by calling the temporal ETL worker service /migrations/v1 endpoint.
|
|
11
|
+
* Uses DeferredResult to return the ACTUAL migration response without blocking server threads.
|
|
12
|
+
* Client waits for the response (up to 10 minutes), but server thread is released immediately.
|
|
13
|
+
* Returns complete migration results including tenant status and MV analysis.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
export function useMigrationControllerExecuteMigrationMutation(options) {
|
|
17
|
+
return useMutation((mutateProps) => migrationControllerExecuteMigration(mutateProps), options);
|
|
18
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamFiltersQuery.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TeamFiltersResponseDto } from '../schemas/TeamFiltersResponseDto';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface TeamsControllerGetTeamFiltersQueryPathParams {
|
|
7
|
+
/**
|
|
8
|
+
* @format int32
|
|
9
|
+
*/
|
|
10
|
+
teamRefId: number;
|
|
11
|
+
}
|
|
12
|
+
export interface TeamsControllerGetTeamFiltersQueryQueryParams {
|
|
13
|
+
integration_type?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
|
|
14
|
+
}
|
|
15
|
+
export type TeamsControllerGetTeamFiltersOkResponse = ResponseWithPagination<TeamFiltersResponseDto>;
|
|
16
|
+
export type TeamsControllerGetTeamFiltersErrorResponse = ErrorResponse;
|
|
17
|
+
export interface TeamsControllerGetTeamFiltersProps extends TeamsControllerGetTeamFiltersQueryPathParams, Omit<FetcherOptions<TeamsControllerGetTeamFiltersQueryQueryParams, unknown>, 'url'> {
|
|
18
|
+
queryParams: TeamsControllerGetTeamFiltersQueryQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export declare function teamsControllerGetTeamFilters(props: TeamsControllerGetTeamFiltersProps): Promise<TeamsControllerGetTeamFiltersOkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Returns comprehensive filter definitions for the specified team including integration-specific filters, business alignment categories, and insight configurations. Supports optional filtering by integration type. This endpoint follows Microsoft and Stripe API design guidelines with snake_case JSON properties.
|
|
23
|
+
*/
|
|
24
|
+
export declare function useTeamsControllerGetTeamFiltersQuery(props: TeamsControllerGetTeamFiltersProps, options?: Omit<UseQueryOptions<TeamsControllerGetTeamFiltersOkResponse, TeamsControllerGetTeamFiltersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamsControllerGetTeamFiltersOkResponse, ErrorResponse>;
|
|
@@ -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 teamsControllerGetTeamFilters(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/teams/${props.teamRefId}/filters`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns comprehensive filter definitions for the specified team including integration-specific filters, business alignment categories, and insight configurations. Supports optional filtering by integration type. This endpoint follows Microsoft and Stripe API design guidelines with snake_case JSON properties.
|
|
11
|
+
*/
|
|
12
|
+
export function useTeamsControllerGetTeamFiltersQuery(props, options) {
|
|
13
|
+
return useQuery(['TeamsControllerGetTeamFilters', props.teamRefId, props.queryParams], ({ signal }) => teamsControllerGetTeamFilters(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -197,6 +197,10 @@ export type { ImFieldsControllerListImFieldsErrorResponse, ImFieldsControllerLis
|
|
|
197
197
|
export { imFieldsControllerListImFields, useImFieldsControllerListImFieldsQuery, } from './hooks/useImFieldsControllerListImFieldsQuery';
|
|
198
198
|
export type { IntegrationControllerGetFilterValuesErrorResponse, IntegrationControllerGetFilterValuesOkResponse, IntegrationControllerGetFilterValuesProps, IntegrationControllerGetFilterValuesQueryQueryParams, IntegrationControllerGetFilterValuesRequestBody, } from './hooks/useIntegrationControllerGetFilterValuesQuery';
|
|
199
199
|
export { integrationControllerGetFilterValues, useIntegrationControllerGetFilterValuesQuery, } from './hooks/useIntegrationControllerGetFilterValuesQuery';
|
|
200
|
+
export type { IntegrationControllerGetIntegrationProjectsErrorResponse, IntegrationControllerGetIntegrationProjectsOkResponse, IntegrationControllerGetIntegrationProjectsProps, IntegrationControllerGetIntegrationProjectsQueryQueryParams, } from './hooks/useIntegrationControllerGetIntegrationProjectsQuery';
|
|
201
|
+
export { integrationControllerGetIntegrationProjects, useIntegrationControllerGetIntegrationProjectsQuery, } from './hooks/useIntegrationControllerGetIntegrationProjectsQuery';
|
|
202
|
+
export type { IntegrationControllerGetIntegrationReposErrorResponse, IntegrationControllerGetIntegrationReposOkResponse, IntegrationControllerGetIntegrationReposProps, IntegrationControllerGetIntegrationReposQueryQueryParams, } from './hooks/useIntegrationControllerGetIntegrationReposQuery';
|
|
203
|
+
export { integrationControllerGetIntegrationRepos, useIntegrationControllerGetIntegrationReposQuery, } from './hooks/useIntegrationControllerGetIntegrationReposQuery';
|
|
200
204
|
export type { IntegrationControllerListIntegrationConfigsErrorResponse, IntegrationControllerListIntegrationConfigsOkResponse, IntegrationControllerListIntegrationConfigsProps, IntegrationControllerListIntegrationConfigsQueryQueryParams, IntegrationControllerListIntegrationConfigsRequestBody, } from './hooks/useIntegrationControllerListIntegrationConfigsQuery';
|
|
201
205
|
export { integrationControllerListIntegrationConfigs, useIntegrationControllerListIntegrationConfigsQuery, } from './hooks/useIntegrationControllerListIntegrationConfigsQuery';
|
|
202
206
|
export type { IntegrationControllerListIntegrationsErrorResponse, IntegrationControllerListIntegrationsOkResponse, IntegrationControllerListIntegrationsProps, IntegrationControllerListIntegrationsQueryQueryParams, } from './hooks/useIntegrationControllerListIntegrationsQuery';
|
|
@@ -253,6 +257,8 @@ export type { LicenseControllerListLicensesErrorResponse, LicenseControllerListL
|
|
|
253
257
|
export { licenseControllerListLicenses, useLicenseControllerListLicensesQuery, } from './hooks/useLicenseControllerListLicensesQuery';
|
|
254
258
|
export type { MigrationControllerCreateSchemaForMigrationErrorResponse, MigrationControllerCreateSchemaForMigrationOkResponse, MigrationControllerCreateSchemaForMigrationProps, MigrationControllerCreateSchemaForMigrationRequestBody, } from './hooks/useMigrationControllerCreateSchemaForMigrationMutation';
|
|
255
259
|
export { migrationControllerCreateSchemaForMigration, useMigrationControllerCreateSchemaForMigrationMutation, } from './hooks/useMigrationControllerCreateSchemaForMigrationMutation';
|
|
260
|
+
export type { MigrationControllerExecuteMigrationErrorResponse, MigrationControllerExecuteMigrationOkResponse, MigrationControllerExecuteMigrationProps, MigrationControllerExecuteMigrationRequestBody, } from './hooks/useMigrationControllerExecuteMigrationMutation';
|
|
261
|
+
export { migrationControllerExecuteMigration, useMigrationControllerExecuteMigrationMutation, } from './hooks/useMigrationControllerExecuteMigrationMutation';
|
|
256
262
|
export type { MigrationControllerProcessHistoricalDataForMigrationErrorResponse, MigrationControllerProcessHistoricalDataForMigrationOkResponse, MigrationControllerProcessHistoricalDataForMigrationProps, MigrationControllerProcessHistoricalDataForMigrationRequestBody, } from './hooks/useMigrationControllerProcessHistoricalDataForMigrationMutation';
|
|
257
263
|
export { migrationControllerProcessHistoricalDataForMigration, useMigrationControllerProcessHistoricalDataForMigrationMutation, } from './hooks/useMigrationControllerProcessHistoricalDataForMigrationMutation';
|
|
258
264
|
export type { OrgTreeControllerCreateOrgTreeErrorResponse, OrgTreeControllerCreateOrgTreeMutationQueryParams, OrgTreeControllerCreateOrgTreeOkResponse, OrgTreeControllerCreateOrgTreeProps, OrgTreeControllerCreateOrgTreeRequestBody, } from './hooks/useOrgTreeControllerCreateOrgTreeMutation';
|
|
@@ -351,6 +357,8 @@ export type { TeamsControllerGetDevelopersNotInTeamErrorResponse, TeamsControlle
|
|
|
351
357
|
export { teamsControllerGetDevelopersNotInTeam, useTeamsControllerGetDevelopersNotInTeamQuery, } from './hooks/useTeamsControllerGetDevelopersNotInTeamQuery';
|
|
352
358
|
export type { TeamsControllerGetTeamDevelopersErrorResponse, TeamsControllerGetTeamDevelopersOkResponse, TeamsControllerGetTeamDevelopersProps, TeamsControllerGetTeamDevelopersQueryPathParams, TeamsControllerGetTeamDevelopersQueryQueryParams, } from './hooks/useTeamsControllerGetTeamDevelopersQuery';
|
|
353
359
|
export { teamsControllerGetTeamDevelopers, useTeamsControllerGetTeamDevelopersQuery, } from './hooks/useTeamsControllerGetTeamDevelopersQuery';
|
|
360
|
+
export type { TeamsControllerGetTeamFiltersErrorResponse, TeamsControllerGetTeamFiltersOkResponse, TeamsControllerGetTeamFiltersProps, TeamsControllerGetTeamFiltersQueryPathParams, TeamsControllerGetTeamFiltersQueryQueryParams, } from './hooks/useTeamsControllerGetTeamFiltersQuery';
|
|
361
|
+
export { teamsControllerGetTeamFilters, useTeamsControllerGetTeamFiltersQuery, } from './hooks/useTeamsControllerGetTeamFiltersQuery';
|
|
354
362
|
export type { TeamsControllerGetTeamIntegrationFiltersErrorResponse, TeamsControllerGetTeamIntegrationFiltersOkResponse, TeamsControllerGetTeamIntegrationFiltersProps, TeamsControllerGetTeamIntegrationFiltersQueryPathParams, TeamsControllerGetTeamIntegrationFiltersQueryQueryParams, } from './hooks/useTeamsControllerGetTeamIntegrationFiltersQuery';
|
|
355
363
|
export { teamsControllerGetTeamIntegrationFilters, useTeamsControllerGetTeamIntegrationFiltersQuery, } from './hooks/useTeamsControllerGetTeamIntegrationFiltersQuery';
|
|
356
364
|
export type { TeamsControllerGetTeamIntegrationsErrorResponse, TeamsControllerGetTeamIntegrationsOkResponse, TeamsControllerGetTeamIntegrationsProps, TeamsControllerGetTeamIntegrationsQueryPathParams, } from './hooks/useTeamsControllerGetTeamIntegrationsQuery';
|
|
@@ -537,6 +545,7 @@ export type { IntegrationStatsDto } from './schemas/IntegrationStatsDto';
|
|
|
537
545
|
export type { IntegrationSummary } from './schemas/IntegrationSummary';
|
|
538
546
|
export type { IntegrationUser } from './schemas/IntegrationUser';
|
|
539
547
|
export type { IntegrationUserInfo } from './schemas/IntegrationUserInfo';
|
|
548
|
+
export type { IntegrationWithValuesDto } from './schemas/IntegrationWithValuesDto';
|
|
540
549
|
export type { IssueRequest } from './schemas/IssueRequest';
|
|
541
550
|
export type { IssuesPipelineExecutionResponse } from './schemas/IssuesPipelineExecutionResponse';
|
|
542
551
|
export type { IssuesPipelineExecutionResponseWrapper } from './schemas/IssuesPipelineExecutionResponseWrapper';
|
|
@@ -559,10 +568,13 @@ export type { ListResponseDtobaProfileResponseDto } from './schemas/ListResponse
|
|
|
559
568
|
export type { LtcConfigurationDto } from './schemas/LtcConfigurationDto';
|
|
560
569
|
export type { LtcStageDto } from './schemas/LtcStageDto';
|
|
561
570
|
export type { Metric } from './schemas/Metric';
|
|
571
|
+
export type { MigrationConfig } from './schemas/MigrationConfig';
|
|
572
|
+
export type { MigrationExecutionResponse } from './schemas/MigrationExecutionResponse';
|
|
562
573
|
export type { MigrationHistoricalDataRequest } from './schemas/MigrationHistoricalDataRequest';
|
|
563
574
|
export type { MigrationHistoricalDataResponse } from './schemas/MigrationHistoricalDataResponse';
|
|
564
575
|
export type { MigrationSchemaCreationRequest } from './schemas/MigrationSchemaCreationRequest';
|
|
565
576
|
export type { MigrationSchemaCreationResponse } from './schemas/MigrationSchemaCreationResponse';
|
|
577
|
+
export type { MigrationScriptResponse } from './schemas/MigrationScriptResponse';
|
|
566
578
|
export type { MinimalDeveloperDto } from './schemas/MinimalDeveloperDto';
|
|
567
579
|
export type { MinimalOrgTree } from './schemas/MinimalOrgTree';
|
|
568
580
|
export type { MinimalTeamHierarchyResponseDto } from './schemas/MinimalTeamHierarchyResponseDto';
|
|
@@ -572,6 +584,7 @@ export type { MttrDataPoint } from './schemas/MttrDataPoint';
|
|
|
572
584
|
export type { MttrDrillDownResponseDto } from './schemas/MttrDrillDownResponseDto';
|
|
573
585
|
export type { MttrDrilldownRequest } from './schemas/MttrDrilldownRequest';
|
|
574
586
|
export type { MttrMetric } from './schemas/MttrMetric';
|
|
587
|
+
export type { MvAnalysis } from './schemas/MvAnalysis';
|
|
575
588
|
export type { OrgTreeCreateRequestDto } from './schemas/OrgTreeCreateRequestDto';
|
|
576
589
|
export type { OrgTreePreviewRequestDto } from './schemas/OrgTreePreviewRequestDto';
|
|
577
590
|
export type { OrgTreeProfileDto } from './schemas/OrgTreeProfileDto';
|
|
@@ -630,6 +643,7 @@ export type { ScmStatsRequest } from './schemas/ScmStatsRequest';
|
|
|
630
643
|
export type { SectionDto } from './schemas/SectionDto';
|
|
631
644
|
export type { SecurityProfileCreateRequestDto } from './schemas/SecurityProfileCreateRequestDto';
|
|
632
645
|
export type { SecurityProfileResponseDto } from './schemas/SecurityProfileResponseDto';
|
|
646
|
+
export type { SimpleFilter } from './schemas/SimpleFilter';
|
|
633
647
|
export type { SortOption } from './schemas/SortOption';
|
|
634
648
|
export type { SprintConfigurationDto } from './schemas/SprintConfigurationDto';
|
|
635
649
|
export type { SprintDeliveryAnalysisDto } from './schemas/SprintDeliveryAnalysisDto';
|
|
@@ -667,6 +681,7 @@ export type { TeamDeveloperDto } from './schemas/TeamDeveloperDto';
|
|
|
667
681
|
export type { TeamDeveloperSearchParams } from './schemas/TeamDeveloperSearchParams';
|
|
668
682
|
export type { TeamDevelopersDto } from './schemas/TeamDevelopersDto';
|
|
669
683
|
export type { TeamFilter } from './schemas/TeamFilter';
|
|
684
|
+
export type { TeamFiltersResponseDto } from './schemas/TeamFiltersResponseDto';
|
|
670
685
|
export type { TeamHierarchyDto } from './schemas/TeamHierarchyDto';
|
|
671
686
|
export type { TeamInfo } from './schemas/TeamInfo';
|
|
672
687
|
export type { TeamInfoUpdateRequestDto } from './schemas/TeamInfoUpdateRequestDto';
|
|
@@ -677,6 +692,7 @@ export type { TeamResponse } from './schemas/TeamResponse';
|
|
|
677
692
|
export type { TeamSearchParams } from './schemas/TeamSearchParams';
|
|
678
693
|
export type { TeamSummary } from './schemas/TeamSummary';
|
|
679
694
|
export type { TeamsByAccessResponseDto } from './schemas/TeamsByAccessResponseDto';
|
|
695
|
+
export type { TenantMvAnalysis } from './schemas/TenantMvAnalysis';
|
|
680
696
|
export type { ToolSummary } from './schemas/ToolSummary';
|
|
681
697
|
export type { TotalStatisticCount } from './schemas/TotalStatisticCount';
|
|
682
698
|
export type { TrendDataPoint } from './schemas/TrendDataPoint';
|
|
@@ -97,6 +97,8 @@ export { exportControllerForTeamsExportData, useExportControllerForTeamsExportDa
|
|
|
97
97
|
export { healthControllerCheckDbHealth, useHealthControllerCheckDbHealthQuery, } from './hooks/useHealthControllerCheckDbHealthQuery';
|
|
98
98
|
export { imFieldsControllerListImFields, useImFieldsControllerListImFieldsQuery, } from './hooks/useImFieldsControllerListImFieldsQuery';
|
|
99
99
|
export { integrationControllerGetFilterValues, useIntegrationControllerGetFilterValuesQuery, } from './hooks/useIntegrationControllerGetFilterValuesQuery';
|
|
100
|
+
export { integrationControllerGetIntegrationProjects, useIntegrationControllerGetIntegrationProjectsQuery, } from './hooks/useIntegrationControllerGetIntegrationProjectsQuery';
|
|
101
|
+
export { integrationControllerGetIntegrationRepos, useIntegrationControllerGetIntegrationReposQuery, } from './hooks/useIntegrationControllerGetIntegrationReposQuery';
|
|
100
102
|
export { integrationControllerListIntegrationConfigs, useIntegrationControllerListIntegrationConfigsQuery, } from './hooks/useIntegrationControllerListIntegrationConfigsQuery';
|
|
101
103
|
export { integrationControllerListIntegrations, useIntegrationControllerListIntegrationsQuery, } from './hooks/useIntegrationControllerListIntegrationsQuery';
|
|
102
104
|
export { integrationDataStatusControllerGetIntegrationDataStatus, useIntegrationDataStatusControllerGetIntegrationDataStatusMutation, } from './hooks/useIntegrationDataStatusControllerGetIntegrationDataStatusMutation';
|
|
@@ -125,6 +127,7 @@ export { licenseControllerGetDailyDeveloperCounts, useLicenseControllerGetDailyD
|
|
|
125
127
|
export { licenseControllerGetMonthlyDeveloperCounts, useLicenseControllerGetMonthlyDeveloperCountsQuery, } from './hooks/useLicenseControllerGetMonthlyDeveloperCountsQuery';
|
|
126
128
|
export { licenseControllerListLicenses, useLicenseControllerListLicensesQuery, } from './hooks/useLicenseControllerListLicensesQuery';
|
|
127
129
|
export { migrationControllerCreateSchemaForMigration, useMigrationControllerCreateSchemaForMigrationMutation, } from './hooks/useMigrationControllerCreateSchemaForMigrationMutation';
|
|
130
|
+
export { migrationControllerExecuteMigration, useMigrationControllerExecuteMigrationMutation, } from './hooks/useMigrationControllerExecuteMigrationMutation';
|
|
128
131
|
export { migrationControllerProcessHistoricalDataForMigration, useMigrationControllerProcessHistoricalDataForMigrationMutation, } from './hooks/useMigrationControllerProcessHistoricalDataForMigrationMutation';
|
|
129
132
|
export { orgTreeControllerCreateOrgTree, useOrgTreeControllerCreateOrgTreeMutation, } from './hooks/useOrgTreeControllerCreateOrgTreeMutation';
|
|
130
133
|
export { orgTreeControllerDeleteOrgTree, useOrgTreeControllerDeleteOrgTreeMutation, } from './hooks/useOrgTreeControllerDeleteOrgTreeMutation';
|
|
@@ -174,6 +177,7 @@ export { teamsControllerAssociateDevelopersToTeam, useTeamsControllerAssociateDe
|
|
|
174
177
|
export { teamsControllerDisassociateDevelopersFromTeam, useTeamsControllerDisassociateDevelopersFromTeamMutation, } from './hooks/useTeamsControllerDisassociateDevelopersFromTeamMutation';
|
|
175
178
|
export { teamsControllerGetDevelopersNotInTeam, useTeamsControllerGetDevelopersNotInTeamQuery, } from './hooks/useTeamsControllerGetDevelopersNotInTeamQuery';
|
|
176
179
|
export { teamsControllerGetTeamDevelopers, useTeamsControllerGetTeamDevelopersQuery, } from './hooks/useTeamsControllerGetTeamDevelopersQuery';
|
|
180
|
+
export { teamsControllerGetTeamFilters, useTeamsControllerGetTeamFiltersQuery, } from './hooks/useTeamsControllerGetTeamFiltersQuery';
|
|
177
181
|
export { teamsControllerGetTeamIntegrationFilters, useTeamsControllerGetTeamIntegrationFiltersQuery, } from './hooks/useTeamsControllerGetTeamIntegrationFiltersQuery';
|
|
178
182
|
export { teamsControllerGetTeamIntegrations, useTeamsControllerGetTeamIntegrationsQuery, } from './hooks/useTeamsControllerGetTeamIntegrationsQuery';
|
|
179
183
|
export { teamsControllerGetTeam, useTeamsControllerGetTeamQuery, } from './hooks/useTeamsControllerGetTeamQuery';
|
|
@@ -24,27 +24,27 @@ export interface CursorMetrics {
|
|
|
24
24
|
* @example "2025-11-21"
|
|
25
25
|
*/
|
|
26
26
|
lastActiveDate?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Primary programming language
|
|
29
|
-
* @example "TypeScript"
|
|
30
|
-
*/
|
|
31
|
-
primaryLanguage?: string;
|
|
32
27
|
/**
|
|
33
28
|
* Total accept rate
|
|
34
29
|
* @format double
|
|
35
30
|
* @example 51.2
|
|
36
31
|
*/
|
|
37
|
-
|
|
32
|
+
linesAcceptPercent?: number;
|
|
38
33
|
/**
|
|
39
34
|
* Total accepts
|
|
40
35
|
* @format int64
|
|
41
36
|
* @example 12088
|
|
42
37
|
*/
|
|
43
|
-
|
|
38
|
+
linesAccepted?: number;
|
|
44
39
|
/**
|
|
45
40
|
* Total suggestions
|
|
46
41
|
* @format int64
|
|
47
42
|
* @example 23632
|
|
48
43
|
*/
|
|
49
|
-
|
|
44
|
+
linesSuggested?: number;
|
|
45
|
+
/**
|
|
46
|
+
* Primary programming language
|
|
47
|
+
* @example "TypeScript"
|
|
48
|
+
*/
|
|
49
|
+
primaryLanguage?: string;
|
|
50
50
|
}
|
|
@@ -1,8 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Summary of a team integration
|
|
3
|
+
*/
|
|
1
4
|
export interface IntegrationSummary {
|
|
2
|
-
applicationType?: string;
|
|
3
5
|
/**
|
|
6
|
+
* Integration ID
|
|
4
7
|
* @format int32
|
|
8
|
+
* @example 100
|
|
5
9
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
10
|
+
integration_id?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Integration name
|
|
13
|
+
* @example "GitHub Enterprise"
|
|
14
|
+
*/
|
|
15
|
+
integration_name?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Integration type
|
|
18
|
+
* @example "GITHUB"
|
|
19
|
+
*/
|
|
20
|
+
integration_type?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
|
|
8
21
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { IntegrationResponseDto } from '../schemas/IntegrationResponseDto';
|
|
2
|
+
/**
|
|
3
|
+
* Integration with associated filter values
|
|
4
|
+
*/
|
|
5
|
+
export interface IntegrationWithValuesDto {
|
|
6
|
+
/**
|
|
7
|
+
* Integration details
|
|
8
|
+
*/
|
|
9
|
+
integration?: IntegrationResponseDto;
|
|
10
|
+
/**
|
|
11
|
+
* List of filter values
|
|
12
|
+
*/
|
|
13
|
+
values?: string[];
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface MigrationConfig {
|
|
2
|
+
createIfAbsent?: boolean;
|
|
3
|
+
createNewTenants?: string[];
|
|
4
|
+
env?: string;
|
|
5
|
+
excludeTenantIds?: string[];
|
|
6
|
+
executeMvMigration?: boolean;
|
|
7
|
+
migrationCommitSha?: string;
|
|
8
|
+
onlyRunMV?: boolean;
|
|
9
|
+
shouldRunEnsureSchema?: boolean;
|
|
10
|
+
tenantIds?: string[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { MigrationConfig } from '../schemas/MigrationConfig';
|
|
2
|
+
import type { MigrationScriptResponse } from '../schemas/MigrationScriptResponse';
|
|
3
|
+
export interface MigrationExecutionResponse {
|
|
4
|
+
/**
|
|
5
|
+
* @format date-time
|
|
6
|
+
*/
|
|
7
|
+
completedAt?: string;
|
|
8
|
+
error?: string;
|
|
9
|
+
jobId?: string;
|
|
10
|
+
message?: string;
|
|
11
|
+
migrationConfig?: MigrationConfig;
|
|
12
|
+
migrationScriptResponse?: MigrationScriptResponse;
|
|
13
|
+
status?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @format date-time
|
|
16
|
+
*/
|
|
17
|
+
submittedAt?: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { TenantMvAnalysis } from '../schemas/TenantMvAnalysis';
|
|
2
|
+
export interface MigrationScriptResponse {
|
|
3
|
+
failed_tenants?: string[];
|
|
4
|
+
message?: string;
|
|
5
|
+
skipped_tenants?: string[];
|
|
6
|
+
successful_tenants?: string[];
|
|
7
|
+
tenant_mv_analysis?: TenantMvAnalysis[];
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Simplified filter definition
|
|
3
|
+
*/
|
|
4
|
+
export interface SimpleFilter {
|
|
5
|
+
/**
|
|
6
|
+
* Filter key
|
|
7
|
+
* @example "PROJECT"
|
|
8
|
+
*/
|
|
9
|
+
filterKey?: 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | '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
|
+
/**
|
|
11
|
+
* Filter ID
|
|
12
|
+
* @format int32
|
|
13
|
+
* @example 1831
|
|
14
|
+
*/
|
|
15
|
+
id?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Integration ID
|
|
18
|
+
* @format int32
|
|
19
|
+
* @example 84
|
|
20
|
+
*/
|
|
21
|
+
integrationId?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Whether this is a custom filter
|
|
24
|
+
*/
|
|
25
|
+
isCustom?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Filter operator
|
|
28
|
+
* @example "EQUALS"
|
|
29
|
+
*/
|
|
30
|
+
operator?: 'contains' | 'ends_with' | 'equals' | 'in' | 'not_contains' | 'not_equals' | 'not_in' | 'starts_with';
|
|
31
|
+
/**
|
|
32
|
+
* Filter values
|
|
33
|
+
* @example ["PROJ1","PROJ2"]
|
|
34
|
+
*/
|
|
35
|
+
values?: string[];
|
|
36
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { BaTeamCategoryDefinition } from '../schemas/BaTeamCategoryDefinition';
|
|
2
|
+
import type { TeamInsightConfigDto } from '../schemas/TeamInsightConfigDto';
|
|
3
|
+
import type { SimpleFilter } from '../schemas/SimpleFilter';
|
|
4
|
+
import type { IntegrationSummary } from '../schemas/IntegrationSummary';
|
|
5
|
+
/**
|
|
6
|
+
* Complete filter definitions and configurations for a team
|
|
7
|
+
*/
|
|
8
|
+
export interface TeamFiltersResponseDto {
|
|
9
|
+
/**
|
|
10
|
+
* Business alignment category definitions for the team
|
|
11
|
+
*/
|
|
12
|
+
category_definitions?: BaTeamCategoryDefinition[];
|
|
13
|
+
/**
|
|
14
|
+
* List of integration types that have filters configured
|
|
15
|
+
*/
|
|
16
|
+
configured_integration_types?: Array<'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY'>;
|
|
17
|
+
/**
|
|
18
|
+
* Insight configurations grouped by insight type
|
|
19
|
+
*/
|
|
20
|
+
insight_configurations?: {
|
|
21
|
+
[key: string]: TeamInsightConfigDto[];
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Integration-specific filters grouped by integration type (simplified)
|
|
25
|
+
*/
|
|
26
|
+
integration_filters?: {
|
|
27
|
+
[key: string]: SimpleFilter[];
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Number of integration types with filters configured
|
|
31
|
+
* @format int32
|
|
32
|
+
* @example 5
|
|
33
|
+
*/
|
|
34
|
+
integration_types_count?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Integrations configured for this team
|
|
37
|
+
*/
|
|
38
|
+
team_integrations?: IntegrationSummary[];
|
|
39
|
+
/**
|
|
40
|
+
* Team reference identifier
|
|
41
|
+
* @format int32
|
|
42
|
+
* @example 123
|
|
43
|
+
*/
|
|
44
|
+
team_ref_id: number;
|
|
45
|
+
/**
|
|
46
|
+
* Total number of filters across all integration types
|
|
47
|
+
* @format int32
|
|
48
|
+
* @example 42
|
|
49
|
+
*/
|
|
50
|
+
total_filter_count?: number;
|
|
51
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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.25.
|
|
3
|
+
"version": "0.25.21",
|
|
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",
|