@harnessio/react-sei-panorama-service-client 0.31.16 → 0.31.18
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/useAiEngineeringControllerListSessionsQuery.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerUpsertDeveloperIdentitiesMutation.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerChangeFailureRateBreakdownQuery.d.ts +1 -2
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerChangeFailureRateQuery.d.ts +1 -2
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerDeploymentFrequencyBreakdownQuery.d.ts +1 -2
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerDeploymentFrequencyQuery.d.ts +1 -2
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeBreakdownQuery.d.ts +1 -2
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeQuery.d.ts +1 -2
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeStagesQuery.d.ts +1 -2
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerMttrBreakdownQuery.d.ts +1 -2
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerMttrQuery.d.ts +1 -2
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerSummaryQuery.d.ts +1 -2
- package/dist/sei-panorama-service/src/services/hooks/useServiceNowHelperControllerListColumnsQuery.d.ts +18 -0
- package/dist/sei-panorama-service/src/services/hooks/useServiceNowHelperControllerListColumnsQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useServiceNowHelperControllerListColumnsWithCredentialsMutation.d.ts +16 -0
- package/dist/sei-panorama-service/src/services/hooks/useServiceNowHelperControllerListColumnsWithCredentialsMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useServiceNowHelperControllerSearchTablesQuery.d.ts +18 -0
- package/dist/sei-panorama-service/src/services/hooks/useServiceNowHelperControllerSearchTablesQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useServiceNowHelperControllerSearchTablesWithCredentialsMutation.d.ts +16 -0
- package/dist/sei-panorama-service/src/services/hooks/useServiceNowHelperControllerSearchTablesWithCredentialsMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +13 -2
- package/dist/sei-panorama-service/src/services/index.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/BaExportResponseDto.d.ts +2 -1
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyMetricDrilldownRequest.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ServiceNowColumn.d.ts +7 -0
- package/dist/sei-panorama-service/src/services/schemas/ServiceNowColumnsRequest.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/ServiceNowColumnsRequest.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/ServiceNowCredentials.d.ts +8 -0
- package/dist/sei-panorama-service/src/services/schemas/ServiceNowTable.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ServiceNowTable.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ServiceNowTablesRequest.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/ServiceNowTablesRequest.js +1 -0
- package/package.json +2 -2
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyRequest.d.ts +0 -29
- package/dist/sei-panorama-service/src/services/schemas/EfficiencySummaryRequest.d.ts +0 -11
- /package/dist/sei-panorama-service/src/services/schemas/{EfficiencyRequest.js → ServiceNowColumn.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{EfficiencySummaryRequest.js → ServiceNowCredentials.js} +0 -0
|
@@ -7,7 +7,7 @@ import type { ResponseWithPagination } from '../helpers';
|
|
|
7
7
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
8
|
export type DeveloperControllerUpsertDeveloperIdentitiesRequestBody = DeveloperIdentity[];
|
|
9
9
|
export type DeveloperControllerUpsertDeveloperIdentitiesOkResponse = ResponseWithPagination<DeveloperIdentityUpsertResponse>;
|
|
10
|
-
export type DeveloperControllerUpsertDeveloperIdentitiesErrorResponse =
|
|
10
|
+
export type DeveloperControllerUpsertDeveloperIdentitiesErrorResponse = DeveloperIdentityUpsertFailureResponse | ErrorResponse;
|
|
11
11
|
export interface DeveloperControllerUpsertDeveloperIdentitiesProps extends Omit<FetcherOptions<unknown, DeveloperControllerUpsertDeveloperIdentitiesRequestBody>, 'url'> {
|
|
12
12
|
body: DeveloperControllerUpsertDeveloperIdentitiesRequestBody;
|
|
13
13
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { EfficiencyChangeFailureRateMetricBreakdown } from '../schemas/EfficiencyChangeFailureRateMetricBreakdown';
|
|
3
|
-
import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
|
|
4
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
5
|
export interface EfficiencyControllerChangeFailureRateBreakdownQueryQueryParams {
|
|
@@ -8,7 +7,7 @@ export interface EfficiencyControllerChangeFailureRateBreakdownQueryQueryParams
|
|
|
8
7
|
projectIdentifier: string;
|
|
9
8
|
orgIdentifier: string;
|
|
10
9
|
}
|
|
11
|
-
export type EfficiencyControllerChangeFailureRateBreakdownRequestBody =
|
|
10
|
+
export type EfficiencyControllerChangeFailureRateBreakdownRequestBody = unknown;
|
|
12
11
|
export type EfficiencyControllerChangeFailureRateBreakdownOkResponse = ResponseWithPagination<EfficiencyChangeFailureRateMetricBreakdown[]>;
|
|
13
12
|
export type EfficiencyControllerChangeFailureRateBreakdownErrorResponse = string;
|
|
14
13
|
export interface EfficiencyControllerChangeFailureRateBreakdownProps extends Omit<FetcherOptions<EfficiencyControllerChangeFailureRateBreakdownQueryQueryParams, EfficiencyControllerChangeFailureRateBreakdownRequestBody>, 'url'> {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DoraChangeFailureRateMetric } from '../schemas/DoraChangeFailureRateMetric';
|
|
3
|
-
import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
|
|
4
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
5
|
export interface EfficiencyControllerChangeFailureRateQueryQueryParams {
|
|
@@ -8,7 +7,7 @@ export interface EfficiencyControllerChangeFailureRateQueryQueryParams {
|
|
|
8
7
|
projectIdentifier: string;
|
|
9
8
|
orgIdentifier: string;
|
|
10
9
|
}
|
|
11
|
-
export type EfficiencyControllerChangeFailureRateRequestBody =
|
|
10
|
+
export type EfficiencyControllerChangeFailureRateRequestBody = unknown;
|
|
12
11
|
export type EfficiencyControllerChangeFailureRateOkResponse = ResponseWithPagination<DoraChangeFailureRateMetric>;
|
|
13
12
|
export type EfficiencyControllerChangeFailureRateErrorResponse = string;
|
|
14
13
|
export interface EfficiencyControllerChangeFailureRateProps extends Omit<FetcherOptions<EfficiencyControllerChangeFailureRateQueryQueryParams, EfficiencyControllerChangeFailureRateRequestBody>, 'url'> {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { EfficiencyDeploymentFrequencyMetricBreakdown } from '../schemas/EfficiencyDeploymentFrequencyMetricBreakdown';
|
|
3
|
-
import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
|
|
4
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
5
|
export interface EfficiencyControllerDeploymentFrequencyBreakdownQueryQueryParams {
|
|
@@ -8,7 +7,7 @@ export interface EfficiencyControllerDeploymentFrequencyBreakdownQueryQueryParam
|
|
|
8
7
|
projectIdentifier: string;
|
|
9
8
|
orgIdentifier: string;
|
|
10
9
|
}
|
|
11
|
-
export type EfficiencyControllerDeploymentFrequencyBreakdownRequestBody =
|
|
10
|
+
export type EfficiencyControllerDeploymentFrequencyBreakdownRequestBody = unknown;
|
|
12
11
|
export type EfficiencyControllerDeploymentFrequencyBreakdownOkResponse = ResponseWithPagination<EfficiencyDeploymentFrequencyMetricBreakdown[]>;
|
|
13
12
|
export type EfficiencyControllerDeploymentFrequencyBreakdownErrorResponse = string;
|
|
14
13
|
export interface EfficiencyControllerDeploymentFrequencyBreakdownProps extends Omit<FetcherOptions<EfficiencyControllerDeploymentFrequencyBreakdownQueryQueryParams, EfficiencyControllerDeploymentFrequencyBreakdownRequestBody>, 'url'> {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DoraDeploymentFrequencyMetric } from '../schemas/DoraDeploymentFrequencyMetric';
|
|
3
|
-
import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
|
|
4
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
5
|
export interface EfficiencyControllerDeploymentFrequencyQueryQueryParams {
|
|
@@ -8,7 +7,7 @@ export interface EfficiencyControllerDeploymentFrequencyQueryQueryParams {
|
|
|
8
7
|
projectIdentifier: string;
|
|
9
8
|
orgIdentifier: string;
|
|
10
9
|
}
|
|
11
|
-
export type EfficiencyControllerDeploymentFrequencyRequestBody =
|
|
10
|
+
export type EfficiencyControllerDeploymentFrequencyRequestBody = unknown;
|
|
12
11
|
export type EfficiencyControllerDeploymentFrequencyOkResponse = ResponseWithPagination<DoraDeploymentFrequencyMetric>;
|
|
13
12
|
export type EfficiencyControllerDeploymentFrequencyErrorResponse = string;
|
|
14
13
|
export interface EfficiencyControllerDeploymentFrequencyProps extends Omit<FetcherOptions<EfficiencyControllerDeploymentFrequencyQueryQueryParams, EfficiencyControllerDeploymentFrequencyRequestBody>, 'url'> {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { EfficiencyLeadTimeDataPointBreakdown } from '../schemas/EfficiencyLeadTimeDataPointBreakdown';
|
|
3
|
-
import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
|
|
4
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
5
|
export interface EfficiencyControllerLeadTimeBreakdownQueryQueryParams {
|
|
@@ -8,7 +7,7 @@ export interface EfficiencyControllerLeadTimeBreakdownQueryQueryParams {
|
|
|
8
7
|
projectIdentifier: string;
|
|
9
8
|
orgIdentifier: string;
|
|
10
9
|
}
|
|
11
|
-
export type EfficiencyControllerLeadTimeBreakdownRequestBody =
|
|
10
|
+
export type EfficiencyControllerLeadTimeBreakdownRequestBody = unknown;
|
|
12
11
|
export type EfficiencyControllerLeadTimeBreakdownOkResponse = ResponseWithPagination<EfficiencyLeadTimeDataPointBreakdown>;
|
|
13
12
|
export type EfficiencyControllerLeadTimeBreakdownErrorResponse = string;
|
|
14
13
|
export interface EfficiencyControllerLeadTimeBreakdownProps extends Omit<FetcherOptions<EfficiencyControllerLeadTimeBreakdownQueryQueryParams, EfficiencyControllerLeadTimeBreakdownRequestBody>, 'url'> {
|
package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeQuery.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DoraLttcMttrMetric } from '../schemas/DoraLttcMttrMetric';
|
|
3
|
-
import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
|
|
4
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
5
|
export interface EfficiencyControllerLeadTimeQueryQueryParams {
|
|
@@ -8,7 +7,7 @@ export interface EfficiencyControllerLeadTimeQueryQueryParams {
|
|
|
8
7
|
projectIdentifier: string;
|
|
9
8
|
orgIdentifier: string;
|
|
10
9
|
}
|
|
11
|
-
export type EfficiencyControllerLeadTimeRequestBody =
|
|
10
|
+
export type EfficiencyControllerLeadTimeRequestBody = unknown;
|
|
12
11
|
export type EfficiencyControllerLeadTimeOkResponse = ResponseWithPagination<DoraLttcMttrMetric>;
|
|
13
12
|
export type EfficiencyControllerLeadTimeErrorResponse = string;
|
|
14
13
|
export interface EfficiencyControllerLeadTimeProps extends Omit<FetcherOptions<EfficiencyControllerLeadTimeQueryQueryParams, EfficiencyControllerLeadTimeRequestBody>, 'url'> {
|
package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeStagesQuery.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DoraLttcMttrMetric } from '../schemas/DoraLttcMttrMetric';
|
|
3
|
-
import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
|
|
4
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
5
|
export interface EfficiencyControllerLeadTimeStagesQueryQueryParams {
|
|
@@ -8,7 +7,7 @@ export interface EfficiencyControllerLeadTimeStagesQueryQueryParams {
|
|
|
8
7
|
projectIdentifier: string;
|
|
9
8
|
orgIdentifier: string;
|
|
10
9
|
}
|
|
11
|
-
export type EfficiencyControllerLeadTimeStagesRequestBody =
|
|
10
|
+
export type EfficiencyControllerLeadTimeStagesRequestBody = unknown;
|
|
12
11
|
export type EfficiencyControllerLeadTimeStagesOkResponse = ResponseWithPagination<DoraLttcMttrMetric>;
|
|
13
12
|
export type EfficiencyControllerLeadTimeStagesErrorResponse = string;
|
|
14
13
|
export interface EfficiencyControllerLeadTimeStagesProps extends Omit<FetcherOptions<EfficiencyControllerLeadTimeStagesQueryQueryParams, EfficiencyControllerLeadTimeStagesRequestBody>, 'url'> {
|
package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerMttrBreakdownQuery.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { EfficiencyMttrDataPointBreakdown } from '../schemas/EfficiencyMttrDataPointBreakdown';
|
|
3
|
-
import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
|
|
4
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
5
|
export interface EfficiencyControllerMttrBreakdownQueryQueryParams {
|
|
@@ -8,7 +7,7 @@ export interface EfficiencyControllerMttrBreakdownQueryQueryParams {
|
|
|
8
7
|
projectIdentifier: string;
|
|
9
8
|
orgIdentifier: string;
|
|
10
9
|
}
|
|
11
|
-
export type EfficiencyControllerMttrBreakdownRequestBody =
|
|
10
|
+
export type EfficiencyControllerMttrBreakdownRequestBody = unknown;
|
|
12
11
|
export type EfficiencyControllerMttrBreakdownOkResponse = ResponseWithPagination<EfficiencyMttrDataPointBreakdown>;
|
|
13
12
|
export type EfficiencyControllerMttrBreakdownErrorResponse = string;
|
|
14
13
|
export interface EfficiencyControllerMttrBreakdownProps extends Omit<FetcherOptions<EfficiencyControllerMttrBreakdownQueryQueryParams, EfficiencyControllerMttrBreakdownRequestBody>, 'url'> {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { MttrMetric } from '../schemas/MttrMetric';
|
|
3
|
-
import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
|
|
4
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
5
|
export interface EfficiencyControllerMttrQueryQueryParams {
|
|
@@ -8,7 +7,7 @@ export interface EfficiencyControllerMttrQueryQueryParams {
|
|
|
8
7
|
projectIdentifier: string;
|
|
9
8
|
orgIdentifier: string;
|
|
10
9
|
}
|
|
11
|
-
export type EfficiencyControllerMttrRequestBody =
|
|
10
|
+
export type EfficiencyControllerMttrRequestBody = unknown;
|
|
12
11
|
export type EfficiencyControllerMttrOkResponse = ResponseWithPagination<MttrMetric>;
|
|
13
12
|
export type EfficiencyControllerMttrErrorResponse = string;
|
|
14
13
|
export interface EfficiencyControllerMttrProps extends Omit<FetcherOptions<EfficiencyControllerMttrQueryQueryParams, EfficiencyControllerMttrRequestBody>, 'url'> {
|
package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerSummaryQuery.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DoraSummaryMetric } from '../schemas/DoraSummaryMetric';
|
|
3
|
-
import type { EfficiencySummaryRequest } from '../schemas/EfficiencySummaryRequest';
|
|
4
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
5
|
export interface EfficiencyControllerSummaryQueryQueryParams {
|
|
@@ -8,7 +7,7 @@ export interface EfficiencyControllerSummaryQueryQueryParams {
|
|
|
8
7
|
projectIdentifier: string;
|
|
9
8
|
orgIdentifier: string;
|
|
10
9
|
}
|
|
11
|
-
export type EfficiencyControllerSummaryRequestBody =
|
|
10
|
+
export type EfficiencyControllerSummaryRequestBody = unknown;
|
|
12
11
|
export type EfficiencyControllerSummaryOkResponse = ResponseWithPagination<DoraSummaryMetric>;
|
|
13
12
|
export type EfficiencyControllerSummaryErrorResponse = string;
|
|
14
13
|
export interface EfficiencyControllerSummaryProps extends Omit<FetcherOptions<EfficiencyControllerSummaryQueryQueryParams, EfficiencyControllerSummaryRequestBody>, 'url'> {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ServiceNowColumn } from '../schemas/ServiceNowColumn';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface ServiceNowHelperControllerListColumnsQueryQueryParams {
|
|
6
|
+
integration_id: string;
|
|
7
|
+
table: string;
|
|
8
|
+
}
|
|
9
|
+
export type ServiceNowHelperControllerListColumnsOkResponse = ResponseWithPagination<ServiceNowColumn[]>;
|
|
10
|
+
export type ServiceNowHelperControllerListColumnsErrorResponse = ServiceNowColumn[];
|
|
11
|
+
export interface ServiceNowHelperControllerListColumnsProps extends Omit<FetcherOptions<ServiceNowHelperControllerListColumnsQueryQueryParams, unknown>, 'url'> {
|
|
12
|
+
queryParams: ServiceNowHelperControllerListColumnsQueryQueryParams;
|
|
13
|
+
}
|
|
14
|
+
export declare function serviceNowHelperControllerListColumns(props: ServiceNowHelperControllerListColumnsProps): Promise<ServiceNowHelperControllerListColumnsOkResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Discover columns and their types for a ServiceNow table
|
|
17
|
+
*/
|
|
18
|
+
export declare function useServiceNowHelperControllerListColumnsQuery(props: ServiceNowHelperControllerListColumnsProps, options?: Omit<UseQueryOptions<ServiceNowHelperControllerListColumnsOkResponse, ServiceNowHelperControllerListColumnsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ServiceNowHelperControllerListColumnsOkResponse, ServiceNowHelperControllerListColumnsErrorResponse>;
|
|
@@ -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 serviceNowHelperControllerListColumns(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integrations/servicenow/columns`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Discover columns and their types for a ServiceNow table
|
|
11
|
+
*/
|
|
12
|
+
export function useServiceNowHelperControllerListColumnsQuery(props, options) {
|
|
13
|
+
return useQuery(['ServiceNowHelperControllerListColumns', props.queryParams], ({ signal }) => serviceNowHelperControllerListColumns(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ServiceNowColumn } from '../schemas/ServiceNowColumn';
|
|
3
|
+
import type { ServiceNowColumnsRequest } from '../schemas/ServiceNowColumnsRequest';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export type ServiceNowHelperControllerListColumnsWithCredentialsRequestBody = ServiceNowColumnsRequest;
|
|
7
|
+
export type ServiceNowHelperControllerListColumnsWithCredentialsOkResponse = ResponseWithPagination<ServiceNowColumn[]>;
|
|
8
|
+
export type ServiceNowHelperControllerListColumnsWithCredentialsErrorResponse = ServiceNowColumn[];
|
|
9
|
+
export interface ServiceNowHelperControllerListColumnsWithCredentialsProps extends Omit<FetcherOptions<unknown, ServiceNowHelperControllerListColumnsWithCredentialsRequestBody>, 'url'> {
|
|
10
|
+
body: ServiceNowHelperControllerListColumnsWithCredentialsRequestBody;
|
|
11
|
+
}
|
|
12
|
+
export declare function serviceNowHelperControllerListColumnsWithCredentials(props: ServiceNowHelperControllerListColumnsWithCredentialsProps): Promise<ServiceNowHelperControllerListColumnsWithCredentialsOkResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Discover columns for a ServiceNow table using credentials supplied directly
|
|
15
|
+
*/
|
|
16
|
+
export declare function useServiceNowHelperControllerListColumnsWithCredentialsMutation(options?: Omit<UseMutationOptions<ServiceNowHelperControllerListColumnsWithCredentialsOkResponse, ServiceNowHelperControllerListColumnsWithCredentialsErrorResponse, ServiceNowHelperControllerListColumnsWithCredentialsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ServiceNowHelperControllerListColumnsWithCredentialsOkResponse, ServiceNowHelperControllerListColumnsWithCredentialsErrorResponse, ServiceNowHelperControllerListColumnsWithCredentialsProps, 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 { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function serviceNowHelperControllerListColumnsWithCredentials(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integrations/servicenow/columns`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Discover columns for a ServiceNow table using credentials supplied directly
|
|
11
|
+
*/
|
|
12
|
+
export function useServiceNowHelperControllerListColumnsWithCredentialsMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => serviceNowHelperControllerListColumnsWithCredentials(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ServiceNowTable } from '../schemas/ServiceNowTable';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface ServiceNowHelperControllerSearchTablesQueryQueryParams {
|
|
6
|
+
integration_id: string;
|
|
7
|
+
name_filter?: string;
|
|
8
|
+
}
|
|
9
|
+
export type ServiceNowHelperControllerSearchTablesOkResponse = ResponseWithPagination<ServiceNowTable[]>;
|
|
10
|
+
export type ServiceNowHelperControllerSearchTablesErrorResponse = ServiceNowTable[];
|
|
11
|
+
export interface ServiceNowHelperControllerSearchTablesProps extends Omit<FetcherOptions<ServiceNowHelperControllerSearchTablesQueryQueryParams, unknown>, 'url'> {
|
|
12
|
+
queryParams: ServiceNowHelperControllerSearchTablesQueryQueryParams;
|
|
13
|
+
}
|
|
14
|
+
export declare function serviceNowHelperControllerSearchTables(props: ServiceNowHelperControllerSearchTablesProps): Promise<ServiceNowHelperControllerSearchTablesOkResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* List ServiceNow tables/views for the given integration
|
|
17
|
+
*/
|
|
18
|
+
export declare function useServiceNowHelperControllerSearchTablesQuery(props: ServiceNowHelperControllerSearchTablesProps, options?: Omit<UseQueryOptions<ServiceNowHelperControllerSearchTablesOkResponse, ServiceNowHelperControllerSearchTablesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ServiceNowHelperControllerSearchTablesOkResponse, ServiceNowHelperControllerSearchTablesErrorResponse>;
|
|
@@ -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 serviceNowHelperControllerSearchTables(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integrations/servicenow/tables`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List ServiceNow tables/views for the given integration
|
|
11
|
+
*/
|
|
12
|
+
export function useServiceNowHelperControllerSearchTablesQuery(props, options) {
|
|
13
|
+
return useQuery(['ServiceNowHelperControllerSearchTables', props.queryParams], ({ signal }) => serviceNowHelperControllerSearchTables(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ServiceNowTable } from '../schemas/ServiceNowTable';
|
|
3
|
+
import type { ServiceNowTablesRequest } from '../schemas/ServiceNowTablesRequest';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export type ServiceNowHelperControllerSearchTablesWithCredentialsRequestBody = ServiceNowTablesRequest;
|
|
7
|
+
export type ServiceNowHelperControllerSearchTablesWithCredentialsOkResponse = ResponseWithPagination<ServiceNowTable[]>;
|
|
8
|
+
export type ServiceNowHelperControllerSearchTablesWithCredentialsErrorResponse = ServiceNowTable[];
|
|
9
|
+
export interface ServiceNowHelperControllerSearchTablesWithCredentialsProps extends Omit<FetcherOptions<unknown, ServiceNowHelperControllerSearchTablesWithCredentialsRequestBody>, 'url'> {
|
|
10
|
+
body: ServiceNowHelperControllerSearchTablesWithCredentialsRequestBody;
|
|
11
|
+
}
|
|
12
|
+
export declare function serviceNowHelperControllerSearchTablesWithCredentials(props: ServiceNowHelperControllerSearchTablesWithCredentialsProps): Promise<ServiceNowHelperControllerSearchTablesWithCredentialsOkResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* List ServiceNow tables/views using credentials supplied directly (integration not yet saved)
|
|
15
|
+
*/
|
|
16
|
+
export declare function useServiceNowHelperControllerSearchTablesWithCredentialsMutation(options?: Omit<UseMutationOptions<ServiceNowHelperControllerSearchTablesWithCredentialsOkResponse, ServiceNowHelperControllerSearchTablesWithCredentialsErrorResponse, ServiceNowHelperControllerSearchTablesWithCredentialsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ServiceNowHelperControllerSearchTablesWithCredentialsOkResponse, ServiceNowHelperControllerSearchTablesWithCredentialsErrorResponse, ServiceNowHelperControllerSearchTablesWithCredentialsProps, 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 { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function serviceNowHelperControllerSearchTablesWithCredentials(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integrations/servicenow/tables`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List ServiceNow tables/views using credentials supplied directly (integration not yet saved)
|
|
11
|
+
*/
|
|
12
|
+
export function useServiceNowHelperControllerSearchTablesWithCredentialsMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => serviceNowHelperControllerSearchTablesWithCredentials(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -571,6 +571,14 @@ export type { SecurityProfileControllerListProfilesErrorResponse, SecurityProfil
|
|
|
571
571
|
export { securityProfileControllerListProfiles, useSecurityProfileControllerListProfilesQuery, } from './hooks/useSecurityProfileControllerListProfilesQuery';
|
|
572
572
|
export type { SecurityProfileControllerUpdateProfileErrorResponse, SecurityProfileControllerUpdateProfileMutationPathParams, SecurityProfileControllerUpdateProfileOkResponse, SecurityProfileControllerUpdateProfileProps, SecurityProfileControllerUpdateProfileRequestBody, } from './hooks/useSecurityProfileControllerUpdateProfileMutation';
|
|
573
573
|
export { securityProfileControllerUpdateProfile, useSecurityProfileControllerUpdateProfileMutation, } from './hooks/useSecurityProfileControllerUpdateProfileMutation';
|
|
574
|
+
export type { ServiceNowHelperControllerListColumnsErrorResponse, ServiceNowHelperControllerListColumnsOkResponse, ServiceNowHelperControllerListColumnsProps, ServiceNowHelperControllerListColumnsQueryQueryParams, } from './hooks/useServiceNowHelperControllerListColumnsQuery';
|
|
575
|
+
export { serviceNowHelperControllerListColumns, useServiceNowHelperControllerListColumnsQuery, } from './hooks/useServiceNowHelperControllerListColumnsQuery';
|
|
576
|
+
export type { ServiceNowHelperControllerListColumnsWithCredentialsErrorResponse, ServiceNowHelperControllerListColumnsWithCredentialsOkResponse, ServiceNowHelperControllerListColumnsWithCredentialsProps, ServiceNowHelperControllerListColumnsWithCredentialsRequestBody, } from './hooks/useServiceNowHelperControllerListColumnsWithCredentialsMutation';
|
|
577
|
+
export { serviceNowHelperControllerListColumnsWithCredentials, useServiceNowHelperControllerListColumnsWithCredentialsMutation, } from './hooks/useServiceNowHelperControllerListColumnsWithCredentialsMutation';
|
|
578
|
+
export type { ServiceNowHelperControllerSearchTablesErrorResponse, ServiceNowHelperControllerSearchTablesOkResponse, ServiceNowHelperControllerSearchTablesProps, ServiceNowHelperControllerSearchTablesQueryQueryParams, } from './hooks/useServiceNowHelperControllerSearchTablesQuery';
|
|
579
|
+
export { serviceNowHelperControllerSearchTables, useServiceNowHelperControllerSearchTablesQuery, } from './hooks/useServiceNowHelperControllerSearchTablesQuery';
|
|
580
|
+
export type { ServiceNowHelperControllerSearchTablesWithCredentialsErrorResponse, ServiceNowHelperControllerSearchTablesWithCredentialsOkResponse, ServiceNowHelperControllerSearchTablesWithCredentialsProps, ServiceNowHelperControllerSearchTablesWithCredentialsRequestBody, } from './hooks/useServiceNowHelperControllerSearchTablesWithCredentialsMutation';
|
|
581
|
+
export { serviceNowHelperControllerSearchTablesWithCredentials, useServiceNowHelperControllerSearchTablesWithCredentialsMutation, } from './hooks/useServiceNowHelperControllerSearchTablesWithCredentialsMutation';
|
|
574
582
|
export type { SprintInsightsControllerGetSprintDeliveryErrorResponse, SprintInsightsControllerGetSprintDeliveryOkResponse, SprintInsightsControllerGetSprintDeliveryProps, SprintInsightsControllerGetSprintDeliveryRequestBody, } from './hooks/useSprintInsightsControllerGetSprintDeliveryQuery';
|
|
575
583
|
export { sprintInsightsControllerGetSprintDelivery, useSprintInsightsControllerGetSprintDeliveryQuery, } from './hooks/useSprintInsightsControllerGetSprintDeliveryQuery';
|
|
576
584
|
export type { SprintInsightsControllerGetSprintDrilldownErrorResponse, SprintInsightsControllerGetSprintDrilldownOkResponse, SprintInsightsControllerGetSprintDrilldownProps, SprintInsightsControllerGetSprintDrilldownRequestBody, } from './hooks/useSprintInsightsControllerGetSprintDrilldownQuery';
|
|
@@ -885,9 +893,7 @@ export type { EfficiencyMttrMetricBreakdown } from './schemas/EfficiencyMttrMetr
|
|
|
885
893
|
export type { EfficiencyProfileCreateRequestDto } from './schemas/EfficiencyProfileCreateRequestDto';
|
|
886
894
|
export type { EfficiencyProfileEvent } from './schemas/EfficiencyProfileEvent';
|
|
887
895
|
export type { EfficiencyProfileResponseDto } from './schemas/EfficiencyProfileResponseDto';
|
|
888
|
-
export type { EfficiencyRequest } from './schemas/EfficiencyRequest';
|
|
889
896
|
export type { EfficiencyRequestDto } from './schemas/EfficiencyRequestDto';
|
|
890
|
-
export type { EfficiencySummaryRequest } from './schemas/EfficiencySummaryRequest';
|
|
891
897
|
export type { EncryptionKeyResponse } from './schemas/EncryptionKeyResponse';
|
|
892
898
|
export type { EntityConfig } from './schemas/EntityConfig';
|
|
893
899
|
export type { EntityCountDetails } from './schemas/EntityCountDetails';
|
|
@@ -1114,6 +1120,11 @@ export type { SecurityStatsDrilldownResponseDto } from './schemas/SecurityStatsD
|
|
|
1114
1120
|
export type { SecurityStatsRequest } from './schemas/SecurityStatsRequest';
|
|
1115
1121
|
export type { SecurityStatsTrendResponseDto } from './schemas/SecurityStatsTrendResponseDto';
|
|
1116
1122
|
export type { SegmentSummary } from './schemas/SegmentSummary';
|
|
1123
|
+
export type { ServiceNowColumn } from './schemas/ServiceNowColumn';
|
|
1124
|
+
export type { ServiceNowColumnsRequest } from './schemas/ServiceNowColumnsRequest';
|
|
1125
|
+
export type { ServiceNowCredentials } from './schemas/ServiceNowCredentials';
|
|
1126
|
+
export type { ServiceNowTable } from './schemas/ServiceNowTable';
|
|
1127
|
+
export type { ServiceNowTablesRequest } from './schemas/ServiceNowTablesRequest';
|
|
1117
1128
|
export type { SessionFeedResponse } from './schemas/SessionFeedResponse';
|
|
1118
1129
|
export type { SessionFeedSummary } from './schemas/SessionFeedSummary';
|
|
1119
1130
|
export type { SessionFragment } from './schemas/SessionFragment';
|
|
@@ -284,6 +284,10 @@ export { securityProfileControllerDeleteProfile, useSecurityProfileControllerDel
|
|
|
284
284
|
export { securityProfileControllerGetProfile, useSecurityProfileControllerGetProfileQuery, } from './hooks/useSecurityProfileControllerGetProfileQuery';
|
|
285
285
|
export { securityProfileControllerListProfiles, useSecurityProfileControllerListProfilesQuery, } from './hooks/useSecurityProfileControllerListProfilesQuery';
|
|
286
286
|
export { securityProfileControllerUpdateProfile, useSecurityProfileControllerUpdateProfileMutation, } from './hooks/useSecurityProfileControllerUpdateProfileMutation';
|
|
287
|
+
export { serviceNowHelperControllerListColumns, useServiceNowHelperControllerListColumnsQuery, } from './hooks/useServiceNowHelperControllerListColumnsQuery';
|
|
288
|
+
export { serviceNowHelperControllerListColumnsWithCredentials, useServiceNowHelperControllerListColumnsWithCredentialsMutation, } from './hooks/useServiceNowHelperControllerListColumnsWithCredentialsMutation';
|
|
289
|
+
export { serviceNowHelperControllerSearchTables, useServiceNowHelperControllerSearchTablesQuery, } from './hooks/useServiceNowHelperControllerSearchTablesQuery';
|
|
290
|
+
export { serviceNowHelperControllerSearchTablesWithCredentials, useServiceNowHelperControllerSearchTablesWithCredentialsMutation, } from './hooks/useServiceNowHelperControllerSearchTablesWithCredentialsMutation';
|
|
287
291
|
export { sprintInsightsControllerGetSprintDelivery, useSprintInsightsControllerGetSprintDeliveryQuery, } from './hooks/useSprintInsightsControllerGetSprintDeliveryQuery';
|
|
288
292
|
export { sprintInsightsControllerGetSprintDrilldown, useSprintInsightsControllerGetSprintDrilldownQuery, } from './hooks/useSprintInsightsControllerGetSprintDrilldownQuery';
|
|
289
293
|
export { sprintInsightsControllerGetSprintList, useSprintInsightsControllerGetSprintListQuery, } from './hooks/useSprintInsightsControllerGetSprintListQuery';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CreatedBy } from '../schemas/CreatedBy';
|
|
2
|
+
import type { Download } from '../schemas/Download';
|
|
2
3
|
export interface BaExportResponseDto {
|
|
3
4
|
/**
|
|
4
5
|
* @format date-time
|
|
@@ -9,7 +10,7 @@ export interface BaExportResponseDto {
|
|
|
9
10
|
*/
|
|
10
11
|
createdAt?: string;
|
|
11
12
|
createdBy?: CreatedBy;
|
|
12
|
-
|
|
13
|
+
download?: Download;
|
|
13
14
|
errorCode?: string;
|
|
14
15
|
errorMessage?: string;
|
|
15
16
|
exportId?: string;
|
|
@@ -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.31.
|
|
3
|
+
"version": "0.31.18",
|
|
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",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"keywords": [],
|
|
25
25
|
"scripts": {
|
|
26
|
-
"prebuild": "
|
|
26
|
+
"prebuild": "rimraf dist",
|
|
27
27
|
"build": "yarn generate && tsc",
|
|
28
28
|
"generate": "oats import --config='./oats.config.ts'",
|
|
29
29
|
"fmt": "prettier --write ./index.ts"
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export interface EfficiencyRequest {
|
|
2
|
-
/**
|
|
3
|
-
* @format date-time
|
|
4
|
-
*/
|
|
5
|
-
dateEnd: string;
|
|
6
|
-
/**
|
|
7
|
-
* @format date-time
|
|
8
|
-
*/
|
|
9
|
-
dateStart: string;
|
|
10
|
-
/**
|
|
11
|
-
* @format date-time
|
|
12
|
-
*/
|
|
13
|
-
drillDownEndDate?: string;
|
|
14
|
-
/**
|
|
15
|
-
* @format date-time
|
|
16
|
-
*/
|
|
17
|
-
drillDownStartDate?: string;
|
|
18
|
-
granularity: string;
|
|
19
|
-
/**
|
|
20
|
-
* @format int32
|
|
21
|
-
*/
|
|
22
|
-
page?: number;
|
|
23
|
-
/**
|
|
24
|
-
* @format int32
|
|
25
|
-
*/
|
|
26
|
-
pageSize?: number;
|
|
27
|
-
teamRefId: string;
|
|
28
|
-
workCategoryFilters?: Array<'ALL' | 'BUGS' | 'FEATURES'>;
|
|
29
|
-
}
|
/package/dist/sei-panorama-service/src/services/schemas/{EfficiencyRequest.js → ServiceNowColumn.js}
RENAMED
|
File without changes
|
|
File without changes
|