@harnessio/react-sei-panorama-service-client 0.18.0 → 0.18.2
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/useBaControllerInsightBreakdownQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useBaControllerInsightBreakdownQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useBaControllerInsightMetricsQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useBaControllerInsightMetricsQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useBaControllerInsightSummaryQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useBaControllerInsightSummaryQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerChangeFailureRateQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerChangeFailureRateQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerDeploymentFrequencyQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerDeploymentFrequencyQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationControllerListIntegrationsQuery.d.ts +27 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationControllerListIntegrationsQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerCreateOrgTreeMutation.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerCreateOrgTreeMutation.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetEfficiencyProfileRefIdQuery.d.ts +24 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetEfficiencyProfileRefIdQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreeIntegrationsQuery.d.ts +24 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreeIntegrationsQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreeTeamHierarchyQuery.d.ts +24 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreeTeamHierarchyQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreesQuery.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreesQuery.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetProductivityProfileRefIdQuery.d.ts +24 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetProductivityProfileRefIdQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation.d.ts +26 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeIntegrationsMutation.d.ts +27 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeIntegrationsMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeMutation.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateProductivityProfileRefIdMutation.d.ts +26 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateProductivityProfileRefIdMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamDevelopersQuery.d.ts +28 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamDevelopersQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationFiltersQuery.d.ts +21 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationFiltersQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationsQuery.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationsQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamQuery.d.ts +23 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerListTeamsQuery.d.ts +25 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerListTeamsQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamIntegrationFiltersMutation.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamIntegrationFiltersMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamIntegrationsMutation.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamIntegrationsMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamMutation.d.ts +26 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +73 -1
- package/dist/sei-panorama-service/src/services/index.js +22 -0
- package/dist/sei-panorama-service/src/services/schemas/BaBreakdownDto.d.ts +12 -0
- package/dist/sei-panorama-service/src/services/schemas/BaBreakdownDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/BaCategoryMetric.d.ts +9 -0
- package/dist/sei-panorama-service/src/services/schemas/BaCategoryMetric.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/BaDataPoint.d.ts +14 -0
- package/dist/sei-panorama-service/src/services/schemas/BaDataPoint.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/BaFeatureResponseDto.d.ts +16 -0
- package/dist/sei-panorama-service/src/services/schemas/BaFeatureResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/BaFeatureSummaryCardDto.d.ts +13 -0
- package/dist/sei-panorama-service/src/services/schemas/BaFeatureSummaryCardDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/BaInsightRequestDto.d.ts +12 -0
- package/dist/sei-panorama-service/src/services/schemas/BaSummaryRequestDto.d.ts +11 -0
- package/dist/sei-panorama-service/src/services/schemas/BaSummaryRequestDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/BreakdownRecord.d.ts +6 -0
- package/dist/sei-panorama-service/src/services/schemas/BreakdownRecord.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/GroupByField.d.ts +11 -0
- package/dist/sei-panorama-service/src/services/schemas/GroupByField.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/GroupedTeamFiltersResponseDto.d.ts +10 -0
- package/dist/sei-panorama-service/src/services/schemas/GroupedTeamFiltersResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/Integration.d.ts +8 -0
- package/dist/sei-panorama-service/src/services/schemas/Integration.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationIdsDto.d.ts +6 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationIdsDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationResponseDto.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationResponseDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationSummary.d.ts +8 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationSummary.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ListResponseDtoIntegrationResponseDto.d.ts +16 -0
- package/dist/sei-panorama-service/src/services/schemas/ListResponseDtoIntegrationResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/{ListResponseDto.d.ts → ListResponseDtoOrgTreeResponseDto.d.ts} +3 -4
- package/dist/sei-panorama-service/src/services/schemas/ListResponseDtoOrgTreeResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/Metric.d.ts +14 -0
- package/dist/sei-panorama-service/src/services/schemas/Metric.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/MinimalTeamHierarchyResponseDto.d.ts +30 -0
- package/dist/sei-panorama-service/src/services/schemas/MinimalTeamHierarchyResponseDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeCreateRequestDto.d.ts +12 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeCreateRequestDto.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeProfileDto.d.ts +7 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeProfileDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeResponseDto.d.ts +19 -1
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeResponseDto.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeUpdateRequestDto.d.ts +18 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeUpdateRequestDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/PaginatedResponseTeamSummary.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/schemas/PaginatedResponseTeamSummary.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/PaginationMetadata.d.ts +18 -0
- package/dist/sei-panorama-service/src/services/schemas/PaginationMetadata.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ProductivityProfileResponseDto.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/schemas/RefIdDto.d.ts +6 -0
- package/dist/sei-panorama-service/src/services/schemas/RefIdDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamDevelopersDto.d.ts +9 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamDevelopersDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +18 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamFilter.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamIntegrationDto.d.ts +8 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamIntegrationDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamRequestDto.d.ts +28 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamRequestDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamResponse.d.ts +40 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamResponse.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamSummary.d.ts +24 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamSummary.js +1 -0
- package/package.json +1 -1
- /package/dist/sei-panorama-service/src/services/schemas/{ListResponseDto.js → BaInsightRequestDto.js} +0 -0
package/dist/sei-panorama-service/src/services/hooks/useBaControllerInsightBreakdownQuery.d.ts
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { BaBreakdownDto } from '../schemas/BaBreakdownDto';
|
3
|
+
import type { BaInsightRequestDto } from '../schemas/BaInsightRequestDto';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface BaControllerInsightBreakdownQueryQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier?: string;
|
9
|
+
orgIdentifier?: string;
|
10
|
+
}
|
11
|
+
export type BaControllerInsightBreakdownRequestBody = BaInsightRequestDto;
|
12
|
+
export type BaControllerInsightBreakdownOkResponse = ResponseWithPagination<BaBreakdownDto>;
|
13
|
+
export type BaControllerInsightBreakdownErrorResponse = string;
|
14
|
+
export interface BaControllerInsightBreakdownProps extends Omit<FetcherOptions<BaControllerInsightBreakdownQueryQueryParams, BaControllerInsightBreakdownRequestBody>, 'url'> {
|
15
|
+
queryParams: BaControllerInsightBreakdownQueryQueryParams;
|
16
|
+
body: BaControllerInsightBreakdownRequestBody;
|
17
|
+
}
|
18
|
+
export declare function baControllerInsightBreakdown(props: BaControllerInsightBreakdownProps): Promise<BaControllerInsightBreakdownOkResponse>;
|
19
|
+
/**
|
20
|
+
* Show BA insights breakdown based on the provided parameters.
|
21
|
+
*/
|
22
|
+
export declare function useBaControllerInsightBreakdownQuery(props: BaControllerInsightBreakdownProps, options?: Omit<UseQueryOptions<BaControllerInsightBreakdownOkResponse, BaControllerInsightBreakdownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<BaControllerInsightBreakdownOkResponse, string>;
|
@@ -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 baControllerInsightBreakdown(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/ba/feature_breakdown`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Show BA insights breakdown based on the provided parameters.
|
11
|
+
*/
|
12
|
+
export function useBaControllerInsightBreakdownQuery(props, options) {
|
13
|
+
return useQuery(['BAControllerInsightBreakdown', props.queryParams, props.body], ({ signal }) => baControllerInsightBreakdown(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { BaFeatureResponseDto } from '../schemas/BaFeatureResponseDto';
|
3
|
+
import type { BaInsightRequestDto } from '../schemas/BaInsightRequestDto';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface BaControllerInsightMetricsQueryQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier?: string;
|
9
|
+
orgIdentifier?: string;
|
10
|
+
}
|
11
|
+
export type BaControllerInsightMetricsRequestBody = BaInsightRequestDto;
|
12
|
+
export type BaControllerInsightMetricsOkResponse = ResponseWithPagination<BaFeatureResponseDto>;
|
13
|
+
export type BaControllerInsightMetricsErrorResponse = string;
|
14
|
+
export interface BaControllerInsightMetricsProps extends Omit<FetcherOptions<BaControllerInsightMetricsQueryQueryParams, BaControllerInsightMetricsRequestBody>, 'url'> {
|
15
|
+
queryParams: BaControllerInsightMetricsQueryQueryParams;
|
16
|
+
body: BaControllerInsightMetricsRequestBody;
|
17
|
+
}
|
18
|
+
export declare function baControllerInsightMetrics(props: BaControllerInsightMetricsProps): Promise<BaControllerInsightMetricsOkResponse>;
|
19
|
+
/**
|
20
|
+
* Show BA metrics based on the provided parameters.
|
21
|
+
*/
|
22
|
+
export declare function useBaControllerInsightMetricsQuery(props: BaControllerInsightMetricsProps, options?: Omit<UseQueryOptions<BaControllerInsightMetricsOkResponse, BaControllerInsightMetricsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<BaControllerInsightMetricsOkResponse, string>;
|
@@ -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 baControllerInsightMetrics(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/ba/feature_metrics`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Show BA metrics based on the provided parameters.
|
11
|
+
*/
|
12
|
+
export function useBaControllerInsightMetricsQuery(props, options) {
|
13
|
+
return useQuery(['BAControllerInsightMetrics', props.queryParams, props.body], ({ signal }) => baControllerInsightMetrics(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { BaFeatureSummaryCardDto } from '../schemas/BaFeatureSummaryCardDto';
|
3
|
+
import type { BaSummaryRequestDto } from '../schemas/BaSummaryRequestDto';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface BaControllerInsightSummaryQueryQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier?: string;
|
9
|
+
orgIdentifier?: string;
|
10
|
+
}
|
11
|
+
export type BaControllerInsightSummaryRequestBody = BaSummaryRequestDto;
|
12
|
+
export type BaControllerInsightSummaryOkResponse = ResponseWithPagination<BaFeatureSummaryCardDto>;
|
13
|
+
export type BaControllerInsightSummaryErrorResponse = string;
|
14
|
+
export interface BaControllerInsightSummaryProps extends Omit<FetcherOptions<BaControllerInsightSummaryQueryQueryParams, BaControllerInsightSummaryRequestBody>, 'url'> {
|
15
|
+
queryParams: BaControllerInsightSummaryQueryQueryParams;
|
16
|
+
body: BaControllerInsightSummaryRequestBody;
|
17
|
+
}
|
18
|
+
export declare function baControllerInsightSummary(props: BaControllerInsightSummaryProps): Promise<BaControllerInsightSummaryOkResponse>;
|
19
|
+
/**
|
20
|
+
* Show BA insights summary based on the provided parameters.
|
21
|
+
*/
|
22
|
+
export declare function useBaControllerInsightSummaryQuery(props: BaControllerInsightSummaryProps, options?: Omit<UseQueryOptions<BaControllerInsightSummaryOkResponse, BaControllerInsightSummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<BaControllerInsightSummaryOkResponse, string>;
|
@@ -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 baControllerInsightSummary(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/ba/feature_summary`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Show BA insights summary based on the provided parameters.
|
11
|
+
*/
|
12
|
+
export function useBaControllerInsightSummaryQuery(props, options) {
|
13
|
+
return useQuery(['BAControllerInsightSummary', props.queryParams, props.body], ({ signal }) => baControllerInsightSummary(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraChangeFailureRateMetric } from '../schemas/DoraChangeFailureRateMetric';
|
3
|
+
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface EfficiencyControllerChangeFailureRateQueryQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type EfficiencyControllerChangeFailureRateRequestBody = DoraRequest;
|
12
|
+
export type EfficiencyControllerChangeFailureRateOkResponse = ResponseWithPagination<DoraChangeFailureRateMetric>;
|
13
|
+
export type EfficiencyControllerChangeFailureRateErrorResponse = string;
|
14
|
+
export interface EfficiencyControllerChangeFailureRateProps extends Omit<FetcherOptions<EfficiencyControllerChangeFailureRateQueryQueryParams, EfficiencyControllerChangeFailureRateRequestBody>, 'url'> {
|
15
|
+
queryParams: EfficiencyControllerChangeFailureRateQueryQueryParams;
|
16
|
+
body: EfficiencyControllerChangeFailureRateRequestBody;
|
17
|
+
}
|
18
|
+
export declare function efficiencyControllerChangeFailureRate(props: EfficiencyControllerChangeFailureRateProps): Promise<EfficiencyControllerChangeFailureRateOkResponse>;
|
19
|
+
/**
|
20
|
+
* Get change failure rate for a project
|
21
|
+
*/
|
22
|
+
export declare function useEfficiencyControllerChangeFailureRateQuery(props: EfficiencyControllerChangeFailureRateProps, options?: Omit<UseQueryOptions<EfficiencyControllerChangeFailureRateOkResponse, EfficiencyControllerChangeFailureRateErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<EfficiencyControllerChangeFailureRateOkResponse, string>;
|
@@ -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 efficiencyControllerChangeFailureRate(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/efficiency/changeFailureRate`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get change failure rate for a project
|
11
|
+
*/
|
12
|
+
export function useEfficiencyControllerChangeFailureRateQuery(props, options) {
|
13
|
+
return useQuery(['EfficiencyControllerChangeFailureRate', props.queryParams, props.body], ({ signal }) => efficiencyControllerChangeFailureRate(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraDeploymentFrequencyMetric } from '../schemas/DoraDeploymentFrequencyMetric';
|
3
|
+
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface EfficiencyControllerDeploymentFrequencyQueryQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type EfficiencyControllerDeploymentFrequencyRequestBody = DoraRequest;
|
12
|
+
export type EfficiencyControllerDeploymentFrequencyOkResponse = ResponseWithPagination<DoraDeploymentFrequencyMetric>;
|
13
|
+
export type EfficiencyControllerDeploymentFrequencyErrorResponse = string;
|
14
|
+
export interface EfficiencyControllerDeploymentFrequencyProps extends Omit<FetcherOptions<EfficiencyControllerDeploymentFrequencyQueryQueryParams, EfficiencyControllerDeploymentFrequencyRequestBody>, 'url'> {
|
15
|
+
queryParams: EfficiencyControllerDeploymentFrequencyQueryQueryParams;
|
16
|
+
body: EfficiencyControllerDeploymentFrequencyRequestBody;
|
17
|
+
}
|
18
|
+
export declare function efficiencyControllerDeploymentFrequency(props: EfficiencyControllerDeploymentFrequencyProps): Promise<EfficiencyControllerDeploymentFrequencyOkResponse>;
|
19
|
+
/**
|
20
|
+
* Get deployment frequency for a project
|
21
|
+
*/
|
22
|
+
export declare function useEfficiencyControllerDeploymentFrequencyQuery(props: EfficiencyControllerDeploymentFrequencyProps, options?: Omit<UseQueryOptions<EfficiencyControllerDeploymentFrequencyOkResponse, EfficiencyControllerDeploymentFrequencyErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<EfficiencyControllerDeploymentFrequencyOkResponse, string>;
|
@@ -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 efficiencyControllerDeploymentFrequency(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/efficiency/deploymentFrequency`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get deployment frequency for a project
|
11
|
+
*/
|
12
|
+
export function useEfficiencyControllerDeploymentFrequencyQuery(props, options) {
|
13
|
+
return useQuery(['EfficiencyControllerDeploymentFrequency', props.queryParams, props.body], ({ signal }) => efficiencyControllerDeploymentFrequency(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeQuery.d.ts
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraLttcMttrMetric } from '../schemas/DoraLttcMttrMetric';
|
3
|
+
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface EfficiencyControllerLeadTimeQueryQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type EfficiencyControllerLeadTimeRequestBody = DoraRequest;
|
12
|
+
export type EfficiencyControllerLeadTimeOkResponse = ResponseWithPagination<DoraLttcMttrMetric>;
|
13
|
+
export type EfficiencyControllerLeadTimeErrorResponse = string;
|
14
|
+
export interface EfficiencyControllerLeadTimeProps extends Omit<FetcherOptions<EfficiencyControllerLeadTimeQueryQueryParams, EfficiencyControllerLeadTimeRequestBody>, 'url'> {
|
15
|
+
queryParams: EfficiencyControllerLeadTimeQueryQueryParams;
|
16
|
+
body: EfficiencyControllerLeadTimeRequestBody;
|
17
|
+
}
|
18
|
+
export declare function efficiencyControllerLeadTime(props: EfficiencyControllerLeadTimeProps): Promise<EfficiencyControllerLeadTimeOkResponse>;
|
19
|
+
/**
|
20
|
+
* Get lead time for a project
|
21
|
+
*/
|
22
|
+
export declare function useEfficiencyControllerLeadTimeQuery(props: EfficiencyControllerLeadTimeProps, options?: Omit<UseQueryOptions<EfficiencyControllerLeadTimeOkResponse, EfficiencyControllerLeadTimeErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<EfficiencyControllerLeadTimeOkResponse, string>;
|
@@ -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 efficiencyControllerLeadTime(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/efficiency/leadtime`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get lead time for a project
|
11
|
+
*/
|
12
|
+
export function useEfficiencyControllerLeadTimeQuery(props, options) {
|
13
|
+
return useQuery(['EfficiencyControllerLeadTime', props.queryParams, props.body], ({ signal }) => efficiencyControllerLeadTime(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { ListResponseDtoIntegrationResponseDto } from '../schemas/ListResponseDtoIntegrationResponseDto';
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
|
+
export interface IntegrationControllerListIntegrationsQueryQueryParams {
|
6
|
+
/**
|
7
|
+
* @format int32
|
8
|
+
* @default 0
|
9
|
+
*/
|
10
|
+
pageIndex?: number;
|
11
|
+
/**
|
12
|
+
* @format int32
|
13
|
+
* @default 50
|
14
|
+
*/
|
15
|
+
pageSize?: number;
|
16
|
+
account: string;
|
17
|
+
}
|
18
|
+
export type IntegrationControllerListIntegrationsOkResponse = ResponseWithPagination<ListResponseDtoIntegrationResponseDto>;
|
19
|
+
export type IntegrationControllerListIntegrationsErrorResponse = unknown;
|
20
|
+
export interface IntegrationControllerListIntegrationsProps extends Omit<FetcherOptions<IntegrationControllerListIntegrationsQueryQueryParams, unknown>, 'url'> {
|
21
|
+
queryParams: IntegrationControllerListIntegrationsQueryQueryParams;
|
22
|
+
}
|
23
|
+
export declare function integrationControllerListIntegrations(props: IntegrationControllerListIntegrationsProps): Promise<IntegrationControllerListIntegrationsOkResponse>;
|
24
|
+
/**
|
25
|
+
* Returns a paginated list of all integrations for the given account.
|
26
|
+
*/
|
27
|
+
export declare function useIntegrationControllerListIntegrationsQuery(props: IntegrationControllerListIntegrationsProps, options?: Omit<UseQueryOptions<IntegrationControllerListIntegrationsOkResponse, IntegrationControllerListIntegrationsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<IntegrationControllerListIntegrationsOkResponse, 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 integrationControllerListIntegrations(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integrations/list`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Returns a paginated list of all integrations for the given account.
|
11
|
+
*/
|
12
|
+
export function useIntegrationControllerListIntegrationsQuery(props, options) {
|
13
|
+
return useQuery(['IntegrationControllerListIntegrations', props.queryParams], ({ signal }) => integrationControllerListIntegrations(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerCreateOrgTreeMutation.d.ts
CHANGED
@@ -18,6 +18,6 @@ export interface OrgTreeControllerCreateOrgTreeProps extends Omit<FetcherOptions
|
|
18
18
|
}
|
19
19
|
export declare function orgTreeControllerCreateOrgTree(props: OrgTreeControllerCreateOrgTreeProps): Promise<OrgTreeControllerCreateOrgTreeOkResponse>;
|
20
20
|
/**
|
21
|
-
* Create a new
|
21
|
+
* Create a new organization tree
|
22
22
|
*/
|
23
23
|
export declare function useOrgTreeControllerCreateOrgTreeMutation(options?: Omit<UseMutationOptions<OrgTreeControllerCreateOrgTreeOkResponse, OrgTreeControllerCreateOrgTreeErrorResponse, OrgTreeControllerCreateOrgTreeProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<OrgTreeControllerCreateOrgTreeOkResponse, ErrorResponse, OrgTreeControllerCreateOrgTreeProps, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerCreateOrgTreeMutation.js
CHANGED
@@ -7,7 +7,7 @@ export function orgTreeControllerCreateOrgTree(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/org-trees`, method: 'POST' }, props));
|
8
8
|
}
|
9
9
|
/**
|
10
|
-
* Create a new
|
10
|
+
* Create a new organization tree
|
11
11
|
*/
|
12
12
|
export function useOrgTreeControllerCreateOrgTreeMutation(options) {
|
13
13
|
return useMutation((mutateProps) => orgTreeControllerCreateOrgTree(mutateProps), options);
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { RefIdDto } from '../schemas/RefIdDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface OrgTreeControllerGetEfficiencyProfileRefIdQueryPathParams {
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
orgTreeId: number;
|
11
|
+
}
|
12
|
+
export interface OrgTreeControllerGetEfficiencyProfileRefIdQueryQueryParams {
|
13
|
+
accountIdentifier: string;
|
14
|
+
}
|
15
|
+
export type OrgTreeControllerGetEfficiencyProfileRefIdOkResponse = ResponseWithPagination<RefIdDto>;
|
16
|
+
export type OrgTreeControllerGetEfficiencyProfileRefIdErrorResponse = ErrorResponse;
|
17
|
+
export interface OrgTreeControllerGetEfficiencyProfileRefIdProps extends OrgTreeControllerGetEfficiencyProfileRefIdQueryPathParams, Omit<FetcherOptions<OrgTreeControllerGetEfficiencyProfileRefIdQueryQueryParams, unknown>, 'url'> {
|
18
|
+
queryParams: OrgTreeControllerGetEfficiencyProfileRefIdQueryQueryParams;
|
19
|
+
}
|
20
|
+
export declare function orgTreeControllerGetEfficiencyProfileRefId(props: OrgTreeControllerGetEfficiencyProfileRefIdProps): Promise<OrgTreeControllerGetEfficiencyProfileRefIdOkResponse>;
|
21
|
+
/**
|
22
|
+
* Get the efficiency profile reference ID for an organization tree
|
23
|
+
*/
|
24
|
+
export declare function useOrgTreeControllerGetEfficiencyProfileRefIdQuery(props: OrgTreeControllerGetEfficiencyProfileRefIdProps, options?: Omit<UseQueryOptions<OrgTreeControllerGetEfficiencyProfileRefIdOkResponse, OrgTreeControllerGetEfficiencyProfileRefIdErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<OrgTreeControllerGetEfficiencyProfileRefIdOkResponse, 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 orgTreeControllerGetEfficiencyProfileRefId(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/${props.orgTreeId}/efficiency_profile`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get the efficiency profile reference ID for an organization tree
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerGetEfficiencyProfileRefIdQuery(props, options) {
|
13
|
+
return useQuery(['OrgTreeControllerGetEfficiencyProfileRefId', props.orgTreeId, props.queryParams], ({ signal }) => orgTreeControllerGetEfficiencyProfileRefId(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { IntegrationResponseDto } from '../schemas/IntegrationResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface OrgTreeControllerGetOrgTreeIntegrationsQueryPathParams {
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
orgTreeId: number;
|
11
|
+
}
|
12
|
+
export interface OrgTreeControllerGetOrgTreeIntegrationsQueryQueryParams {
|
13
|
+
accountIdentifier: string;
|
14
|
+
}
|
15
|
+
export type OrgTreeControllerGetOrgTreeIntegrationsOkResponse = ResponseWithPagination<IntegrationResponseDto[]>;
|
16
|
+
export type OrgTreeControllerGetOrgTreeIntegrationsErrorResponse = ErrorResponse;
|
17
|
+
export interface OrgTreeControllerGetOrgTreeIntegrationsProps extends OrgTreeControllerGetOrgTreeIntegrationsQueryPathParams, Omit<FetcherOptions<OrgTreeControllerGetOrgTreeIntegrationsQueryQueryParams, unknown>, 'url'> {
|
18
|
+
queryParams: OrgTreeControllerGetOrgTreeIntegrationsQueryQueryParams;
|
19
|
+
}
|
20
|
+
export declare function orgTreeControllerGetOrgTreeIntegrations(props: OrgTreeControllerGetOrgTreeIntegrationsProps): Promise<OrgTreeControllerGetOrgTreeIntegrationsOkResponse>;
|
21
|
+
/**
|
22
|
+
* Get the integrations associated with an organization tree
|
23
|
+
*/
|
24
|
+
export declare function useOrgTreeControllerGetOrgTreeIntegrationsQuery(props: OrgTreeControllerGetOrgTreeIntegrationsProps, options?: Omit<UseQueryOptions<OrgTreeControllerGetOrgTreeIntegrationsOkResponse, OrgTreeControllerGetOrgTreeIntegrationsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<OrgTreeControllerGetOrgTreeIntegrationsOkResponse, 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 orgTreeControllerGetOrgTreeIntegrations(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/${props.orgTreeId}/integrations`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get the integrations associated with an organization tree
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerGetOrgTreeIntegrationsQuery(props, options) {
|
13
|
+
return useQuery(['OrgTreeControllerGetOrgTreeIntegrations', props.orgTreeId, props.queryParams], ({ signal }) => orgTreeControllerGetOrgTreeIntegrations(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { MinimalTeamHierarchyResponseDto } from '../schemas/MinimalTeamHierarchyResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface OrgTreeControllerGetOrgTreeTeamHierarchyQueryPathParams {
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
orgTreeId: number;
|
11
|
+
}
|
12
|
+
export interface OrgTreeControllerGetOrgTreeTeamHierarchyQueryQueryParams {
|
13
|
+
accountIdentifier: string;
|
14
|
+
}
|
15
|
+
export type OrgTreeControllerGetOrgTreeTeamHierarchyOkResponse = ResponseWithPagination<MinimalTeamHierarchyResponseDto>;
|
16
|
+
export type OrgTreeControllerGetOrgTreeTeamHierarchyErrorResponse = ErrorResponse;
|
17
|
+
export interface OrgTreeControllerGetOrgTreeTeamHierarchyProps extends OrgTreeControllerGetOrgTreeTeamHierarchyQueryPathParams, Omit<FetcherOptions<OrgTreeControllerGetOrgTreeTeamHierarchyQueryQueryParams, unknown>, 'url'> {
|
18
|
+
queryParams: OrgTreeControllerGetOrgTreeTeamHierarchyQueryQueryParams;
|
19
|
+
}
|
20
|
+
export declare function orgTreeControllerGetOrgTreeTeamHierarchy(props: OrgTreeControllerGetOrgTreeTeamHierarchyProps): Promise<OrgTreeControllerGetOrgTreeTeamHierarchyOkResponse>;
|
21
|
+
/**
|
22
|
+
* Get the team hierarchy for an organization tree
|
23
|
+
*/
|
24
|
+
export declare function useOrgTreeControllerGetOrgTreeTeamHierarchyQuery(props: OrgTreeControllerGetOrgTreeTeamHierarchyProps, options?: Omit<UseQueryOptions<OrgTreeControllerGetOrgTreeTeamHierarchyOkResponse, OrgTreeControllerGetOrgTreeTeamHierarchyErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<OrgTreeControllerGetOrgTreeTeamHierarchyOkResponse, 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 orgTreeControllerGetOrgTreeTeamHierarchy(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/${props.orgTreeId}/teams`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get the team hierarchy for an organization tree
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerGetOrgTreeTeamHierarchyQuery(props, options) {
|
13
|
+
return useQuery(['OrgTreeControllerGetOrgTreeTeamHierarchy', props.orgTreeId, props.queryParams], ({ signal }) => orgTreeControllerGetOrgTreeTeamHierarchy(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreesQuery.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
-
import type {
|
2
|
+
import type { ListResponseDtoOrgTreeResponseDto } from '../schemas/ListResponseDtoOrgTreeResponseDto';
|
3
3
|
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
@@ -18,7 +18,7 @@ export interface OrgTreeControllerGetOrgTreesQueryQueryParams {
|
|
18
18
|
*/
|
19
19
|
pageSize?: number;
|
20
20
|
}
|
21
|
-
export type OrgTreeControllerGetOrgTreesOkResponse = ResponseWithPagination<
|
21
|
+
export type OrgTreeControllerGetOrgTreesOkResponse = ResponseWithPagination<ListResponseDtoOrgTreeResponseDto>;
|
22
22
|
export type OrgTreeControllerGetOrgTreesErrorResponse = ErrorResponse;
|
23
23
|
export interface OrgTreeControllerGetOrgTreesProps extends Omit<FetcherOptions<OrgTreeControllerGetOrgTreesQueryQueryParams, unknown>, 'url'> {
|
24
24
|
queryParams: OrgTreeControllerGetOrgTreesQueryQueryParams;
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreesQuery.js
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function orgTreeControllerGetOrgTrees(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/org-trees
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees`, method: 'GET' }, props));
|
8
8
|
}
|
9
9
|
/**
|
10
10
|
* Get organization trees with pagination
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { RefIdDto } from '../schemas/RefIdDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface OrgTreeControllerGetProductivityProfileRefIdQueryPathParams {
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
orgTreeId: number;
|
11
|
+
}
|
12
|
+
export interface OrgTreeControllerGetProductivityProfileRefIdQueryQueryParams {
|
13
|
+
accountIdentifier: string;
|
14
|
+
}
|
15
|
+
export type OrgTreeControllerGetProductivityProfileRefIdOkResponse = ResponseWithPagination<RefIdDto>;
|
16
|
+
export type OrgTreeControllerGetProductivityProfileRefIdErrorResponse = ErrorResponse;
|
17
|
+
export interface OrgTreeControllerGetProductivityProfileRefIdProps extends OrgTreeControllerGetProductivityProfileRefIdQueryPathParams, Omit<FetcherOptions<OrgTreeControllerGetProductivityProfileRefIdQueryQueryParams, unknown>, 'url'> {
|
18
|
+
queryParams: OrgTreeControllerGetProductivityProfileRefIdQueryQueryParams;
|
19
|
+
}
|
20
|
+
export declare function orgTreeControllerGetProductivityProfileRefId(props: OrgTreeControllerGetProductivityProfileRefIdProps): Promise<OrgTreeControllerGetProductivityProfileRefIdOkResponse>;
|
21
|
+
/**
|
22
|
+
* Get the productivity profile reference ID for an organization tree
|
23
|
+
*/
|
24
|
+
export declare function useOrgTreeControllerGetProductivityProfileRefIdQuery(props: OrgTreeControllerGetProductivityProfileRefIdProps, options?: Omit<UseQueryOptions<OrgTreeControllerGetProductivityProfileRefIdOkResponse, OrgTreeControllerGetProductivityProfileRefIdErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<OrgTreeControllerGetProductivityProfileRefIdOkResponse, 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 orgTreeControllerGetProductivityProfileRefId(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/${props.orgTreeId}/productivity_profile`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get the productivity profile reference ID for an organization tree
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerGetProductivityProfileRefIdQuery(props, options) {
|
13
|
+
return useQuery(['OrgTreeControllerGetProductivityProfileRefId', props.orgTreeId, props.queryParams], ({ signal }) => orgTreeControllerGetProductivityProfileRefId(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { RefIdDto } from '../schemas/RefIdDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface OrgTreeControllerUpdateEfficiencyProfileRefIdMutationPathParams {
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
orgTreeId: number;
|
11
|
+
}
|
12
|
+
export interface OrgTreeControllerUpdateEfficiencyProfileRefIdMutationQueryParams {
|
13
|
+
accountIdentifier: string;
|
14
|
+
}
|
15
|
+
export type OrgTreeControllerUpdateEfficiencyProfileRefIdRequestBody = RefIdDto;
|
16
|
+
export type OrgTreeControllerUpdateEfficiencyProfileRefIdOkResponse = ResponseWithPagination<RefIdDto>;
|
17
|
+
export type OrgTreeControllerUpdateEfficiencyProfileRefIdErrorResponse = ErrorResponse;
|
18
|
+
export interface OrgTreeControllerUpdateEfficiencyProfileRefIdProps extends OrgTreeControllerUpdateEfficiencyProfileRefIdMutationPathParams, Omit<FetcherOptions<OrgTreeControllerUpdateEfficiencyProfileRefIdMutationQueryParams, OrgTreeControllerUpdateEfficiencyProfileRefIdRequestBody>, 'url'> {
|
19
|
+
queryParams: OrgTreeControllerUpdateEfficiencyProfileRefIdMutationQueryParams;
|
20
|
+
body: OrgTreeControllerUpdateEfficiencyProfileRefIdRequestBody;
|
21
|
+
}
|
22
|
+
export declare function orgTreeControllerUpdateEfficiencyProfileRefId(props: OrgTreeControllerUpdateEfficiencyProfileRefIdProps): Promise<OrgTreeControllerUpdateEfficiencyProfileRefIdOkResponse>;
|
23
|
+
/**
|
24
|
+
* Update the efficiency profile reference ID for an organization tree
|
25
|
+
*/
|
26
|
+
export declare function useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation(options?: Omit<UseMutationOptions<OrgTreeControllerUpdateEfficiencyProfileRefIdOkResponse, OrgTreeControllerUpdateEfficiencyProfileRefIdErrorResponse, OrgTreeControllerUpdateEfficiencyProfileRefIdProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<OrgTreeControllerUpdateEfficiencyProfileRefIdOkResponse, ErrorResponse, OrgTreeControllerUpdateEfficiencyProfileRefIdProps, 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 orgTreeControllerUpdateEfficiencyProfileRefId(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/${props.orgTreeId}/efficiency_profile`, method: 'PUT' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Update the efficiency profile reference ID for an organization tree
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation(options) {
|
13
|
+
return useMutation((mutateProps) => orgTreeControllerUpdateEfficiencyProfileRefId(mutateProps), options);
|
14
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { IntegrationResponseDto } from '../schemas/IntegrationResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { IntegrationIdsDto } from '../schemas/IntegrationIdsDto';
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
7
|
+
export interface OrgTreeControllerUpdateOrgTreeIntegrationsMutationPathParams {
|
8
|
+
/**
|
9
|
+
* @format int32
|
10
|
+
*/
|
11
|
+
orgTreeId: number;
|
12
|
+
}
|
13
|
+
export interface OrgTreeControllerUpdateOrgTreeIntegrationsMutationQueryParams {
|
14
|
+
accountIdentifier: string;
|
15
|
+
}
|
16
|
+
export type OrgTreeControllerUpdateOrgTreeIntegrationsRequestBody = IntegrationIdsDto;
|
17
|
+
export type OrgTreeControllerUpdateOrgTreeIntegrationsOkResponse = ResponseWithPagination<IntegrationResponseDto>;
|
18
|
+
export type OrgTreeControllerUpdateOrgTreeIntegrationsErrorResponse = ErrorResponse;
|
19
|
+
export interface OrgTreeControllerUpdateOrgTreeIntegrationsProps extends OrgTreeControllerUpdateOrgTreeIntegrationsMutationPathParams, Omit<FetcherOptions<OrgTreeControllerUpdateOrgTreeIntegrationsMutationQueryParams, OrgTreeControllerUpdateOrgTreeIntegrationsRequestBody>, 'url'> {
|
20
|
+
queryParams: OrgTreeControllerUpdateOrgTreeIntegrationsMutationQueryParams;
|
21
|
+
body: OrgTreeControllerUpdateOrgTreeIntegrationsRequestBody;
|
22
|
+
}
|
23
|
+
export declare function orgTreeControllerUpdateOrgTreeIntegrations(props: OrgTreeControllerUpdateOrgTreeIntegrationsProps): Promise<OrgTreeControllerUpdateOrgTreeIntegrationsOkResponse>;
|
24
|
+
/**
|
25
|
+
* Update the integrations for an organization tree
|
26
|
+
*/
|
27
|
+
export declare function useOrgTreeControllerUpdateOrgTreeIntegrationsMutation(options?: Omit<UseMutationOptions<OrgTreeControllerUpdateOrgTreeIntegrationsOkResponse, OrgTreeControllerUpdateOrgTreeIntegrationsErrorResponse, OrgTreeControllerUpdateOrgTreeIntegrationsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<OrgTreeControllerUpdateOrgTreeIntegrationsOkResponse, ErrorResponse, OrgTreeControllerUpdateOrgTreeIntegrationsProps, 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 orgTreeControllerUpdateOrgTreeIntegrations(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/${props.orgTreeId}/integrations`, method: 'PUT' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Update the integrations for an organization tree
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerUpdateOrgTreeIntegrationsMutation(options) {
|
13
|
+
return useMutation((mutateProps) => orgTreeControllerUpdateOrgTreeIntegrations(mutateProps), options);
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeMutation.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
2
2
|
import type { OrgTreeResponseDto } from '../schemas/OrgTreeResponseDto';
|
3
3
|
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
-
import type {
|
4
|
+
import type { OrgTreeUpdateRequestDto } from '../schemas/OrgTreeUpdateRequestDto';
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
6
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
7
7
|
export interface OrgTreeControllerUpdateOrgTreeMutationPathParams {
|
@@ -13,7 +13,7 @@ export interface OrgTreeControllerUpdateOrgTreeMutationPathParams {
|
|
13
13
|
export interface OrgTreeControllerUpdateOrgTreeMutationQueryParams {
|
14
14
|
accountIdentifier: string;
|
15
15
|
}
|
16
|
-
export type OrgTreeControllerUpdateOrgTreeRequestBody =
|
16
|
+
export type OrgTreeControllerUpdateOrgTreeRequestBody = OrgTreeUpdateRequestDto;
|
17
17
|
export type OrgTreeControllerUpdateOrgTreeOkResponse = ResponseWithPagination<OrgTreeResponseDto>;
|
18
18
|
export type OrgTreeControllerUpdateOrgTreeErrorResponse = ErrorResponse;
|
19
19
|
export interface OrgTreeControllerUpdateOrgTreeProps extends OrgTreeControllerUpdateOrgTreeMutationPathParams, Omit<FetcherOptions<OrgTreeControllerUpdateOrgTreeMutationQueryParams, OrgTreeControllerUpdateOrgTreeRequestBody>, 'url'> {
|