@harnessio/react-sei-panorama-service-client 0.17.5 → 0.18.1
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/useEfficiencyControllerLeadTimeMutation.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerDeleteProfileByRefIdMutation.d.ts +23 -0
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerDeleteProfileByRefIdMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerGetProfileQuery.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerGetProfileQuery.js +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerUpdateProfileMutation.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerUpdateProfileMutation.js +1 -1
- 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 +23 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerCreateOrgTreeMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreeQuery.d.ts +24 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreeQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreesQuery.d.ts +30 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreesQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeMutation.d.ts +27 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerDeleteProfileMutation.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerDeleteProfileMutation.js +11 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerGetProfileByRefIdQuery.d.ts +21 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerGetProfileByRefIdQuery.js +11 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerUpdateProfileMutation.d.ts +4 -3
- package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerUpdateProfileMutation.js +1 -1
- 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 +67 -6
- package/dist/sei-panorama-service/src/services/index.js +20 -1
- package/dist/sei-panorama-service/src/services/schemas/BaBreakdownDto.d.ts +12 -0
- package/dist/sei-panorama-service/src/services/schemas/BaCategoryMetric.d.ts +9 -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/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/CfrConfigurationDto.d.ts +4 -2
- package/dist/sei-panorama-service/src/services/schemas/DfConfigurationDto.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileEvent.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileEvent.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileResponseDto.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/FeatureDto.d.ts +7 -0
- package/dist/sei-panorama-service/src/services/schemas/FeatureDto.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/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/ListResponseDto.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/schemas/ListResponseDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/LtcConfigurationDto.d.ts +7 -6
- package/dist/sei-panorama-service/src/services/schemas/LtcStageDto.d.ts +7 -0
- package/dist/sei-panorama-service/src/services/schemas/LtcStageDto.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/MttrConfigurationDto.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeCreateRequestDto.d.ts +11 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeCreateRequestDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeResponseDto.d.ts +29 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeResponseDto.js +4 -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/ProductivityProfileCreateRequestDto.d.ts +2 -7
- package/dist/sei-panorama-service/src/services/schemas/ProductivityProfileResponseDto.d.ts +7 -7
- package/dist/sei-panorama-service/src/services/schemas/SectionDto.d.ts +6 -0
- package/dist/sei-panorama-service/src/services/schemas/SectionDto.js +1 -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/hooks/useProductivityProfileControllerGetProfileQuery.d.ts +0 -20
- package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerGetProfileQuery.js +0 -11
- package/dist/sei-panorama-service/src/services/schemas/EventWrapperDto.d.ts +0 -4
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeature.d.ts +0 -5
- package/dist/sei-panorama-service/src/services/schemas/ProductivitySection.d.ts +0 -6
- package/dist/sei-panorama-service/src/services/schemas/StageDto.d.ts +0 -11
- /package/dist/sei-panorama-service/src/services/schemas/{ProductivitySection.js → BaBreakdownDto.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{StageDto.js → BaCategoryMetric.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{EventWrapperDto.js → BaInsightRequestDto.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{ProductivityFeature.js → BaSummaryRequestDto.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
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeMutation.d.ts
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseMutationOptions } 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 EfficiencyControllerLeadTimeMutationQueryParams {
|
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<EfficiencyControllerLeadTimeMutationQueryParams, EfficiencyControllerLeadTimeRequestBody>, 'url'> {
|
15
|
+
queryParams: EfficiencyControllerLeadTimeMutationQueryParams;
|
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 useEfficiencyControllerLeadTimeMutation(options?: Omit<UseMutationOptions<EfficiencyControllerLeadTimeOkResponse, EfficiencyControllerLeadTimeErrorResponse, EfficiencyControllerLeadTimeProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<EfficiencyControllerLeadTimeOkResponse, string, EfficiencyControllerLeadTimeProps, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeMutation.js
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
3
|
+
// Please do not modify this code directly.
|
4
|
+
import { useMutation } 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 useEfficiencyControllerLeadTimeMutation(options) {
|
13
|
+
return useMutation((mutateProps) => efficiencyControllerLeadTime(mutateProps), options);
|
14
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
|
+
export interface EfficiencyProfileControllerDeleteProfileByRefIdMutationPathParams {
|
6
|
+
/**
|
7
|
+
* @format int32
|
8
|
+
*/
|
9
|
+
refId: number;
|
10
|
+
}
|
11
|
+
export interface EfficiencyProfileControllerDeleteProfileByRefIdMutationQueryParams {
|
12
|
+
accountIdentifier: string;
|
13
|
+
}
|
14
|
+
export type EfficiencyProfileControllerDeleteProfileByRefIdOkResponse = ResponseWithPagination<unknown>;
|
15
|
+
export type EfficiencyProfileControllerDeleteProfileByRefIdErrorResponse = ErrorResponse;
|
16
|
+
export interface EfficiencyProfileControllerDeleteProfileByRefIdProps extends EfficiencyProfileControllerDeleteProfileByRefIdMutationPathParams, Omit<FetcherOptions<EfficiencyProfileControllerDeleteProfileByRefIdMutationQueryParams, unknown>, 'url'> {
|
17
|
+
queryParams: EfficiencyProfileControllerDeleteProfileByRefIdMutationQueryParams;
|
18
|
+
}
|
19
|
+
export declare function efficiencyProfileControllerDeleteProfileByRefId(props: EfficiencyProfileControllerDeleteProfileByRefIdProps): Promise<EfficiencyProfileControllerDeleteProfileByRefIdOkResponse>;
|
20
|
+
/**
|
21
|
+
* Marks the specified efficiency profile as inactive by creating a new version with active=false
|
22
|
+
*/
|
23
|
+
export declare function useEfficiencyProfileControllerDeleteProfileByRefIdMutation(options?: Omit<UseMutationOptions<EfficiencyProfileControllerDeleteProfileByRefIdOkResponse, EfficiencyProfileControllerDeleteProfileByRefIdErrorResponse, EfficiencyProfileControllerDeleteProfileByRefIdProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<EfficiencyProfileControllerDeleteProfileByRefIdOkResponse, ErrorResponse, EfficiencyProfileControllerDeleteProfileByRefIdProps, 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 efficiencyProfileControllerDeleteProfileByRefId(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/profiles/efficiency/${props.refId}`, method: 'DELETE' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Marks the specified efficiency profile as inactive by creating a new version with active=false
|
11
|
+
*/
|
12
|
+
export function useEfficiencyProfileControllerDeleteProfileByRefIdMutation(options) {
|
13
|
+
return useMutation((mutateProps) => efficiencyProfileControllerDeleteProfileByRefId(mutateProps), options);
|
14
|
+
}
|
@@ -4,8 +4,8 @@
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function efficiencyProfileControllerGetProfile(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/profiles/efficiency/${props.
|
7
|
+
return fetcher(Object.assign({ url: `/v2/profiles/efficiency/${props.refId}`, method: 'GET' }, props));
|
8
8
|
}
|
9
9
|
export function useEfficiencyProfileControllerGetProfileQuery(props, options) {
|
10
|
-
return useQuery(['EfficiencyProfileControllerGetProfile', props.
|
10
|
+
return useQuery(['EfficiencyProfileControllerGetProfile', props.refId, props.queryParams], ({ signal }) => efficiencyProfileControllerGetProfile(Object.assign(Object.assign({}, props), { signal })), options);
|
11
11
|
}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function efficiencyProfileControllerUpdateProfile(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/profiles/efficiency/${props.
|
7
|
+
return fetcher(Object.assign({ url: `/v2/profiles/efficiency/${props.refId}`, method: 'PUT' }, props));
|
8
8
|
}
|
9
9
|
export function useEfficiencyProfileControllerUpdateProfileMutation(options) {
|
10
10
|
return useMutation((mutateProps) => efficiencyProfileControllerUpdateProfile(mutateProps), options);
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { ListResponseDto } from '../schemas/ListResponseDto';
|
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
|
+
accountIdentifier: string;
|
17
|
+
}
|
18
|
+
export type IntegrationControllerListIntegrationsOkResponse = ResponseWithPagination<ListResponseDto>;
|
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
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { OrgTreeResponseDto } from '../schemas/OrgTreeResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { OrgTreeCreateRequestDto } from '../schemas/OrgTreeCreateRequestDto';
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
7
|
+
export interface OrgTreeControllerCreateOrgTreeMutationQueryParams {
|
8
|
+
accountIdentifier: string;
|
9
|
+
orgIdentifer: string;
|
10
|
+
projectIdentifier: string;
|
11
|
+
}
|
12
|
+
export type OrgTreeControllerCreateOrgTreeRequestBody = OrgTreeCreateRequestDto;
|
13
|
+
export type OrgTreeControllerCreateOrgTreeOkResponse = ResponseWithPagination<OrgTreeResponseDto>;
|
14
|
+
export type OrgTreeControllerCreateOrgTreeErrorResponse = ErrorResponse;
|
15
|
+
export interface OrgTreeControllerCreateOrgTreeProps extends Omit<FetcherOptions<OrgTreeControllerCreateOrgTreeMutationQueryParams, OrgTreeControllerCreateOrgTreeRequestBody>, 'url'> {
|
16
|
+
queryParams: OrgTreeControllerCreateOrgTreeMutationQueryParams;
|
17
|
+
body: OrgTreeControllerCreateOrgTreeRequestBody;
|
18
|
+
}
|
19
|
+
export declare function orgTreeControllerCreateOrgTree(props: OrgTreeControllerCreateOrgTreeProps): Promise<OrgTreeControllerCreateOrgTreeOkResponse>;
|
20
|
+
/**
|
21
|
+
* Create a new org tree
|
22
|
+
*/
|
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
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
3
|
+
// Please do not modify this code directly.
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
6
|
+
export function orgTreeControllerCreateOrgTree(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Create a new org tree
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerCreateOrgTreeMutation(options) {
|
13
|
+
return useMutation((mutateProps) => orgTreeControllerCreateOrgTree(mutateProps), options);
|
14
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { OrgTreeResponseDto } from '../schemas/OrgTreeResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface OrgTreeControllerGetOrgTreeQueryPathParams {
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
id: number;
|
11
|
+
}
|
12
|
+
export interface OrgTreeControllerGetOrgTreeQueryQueryParams {
|
13
|
+
accountIdentifier: string;
|
14
|
+
}
|
15
|
+
export type OrgTreeControllerGetOrgTreeOkResponse = ResponseWithPagination<OrgTreeResponseDto>;
|
16
|
+
export type OrgTreeControllerGetOrgTreeErrorResponse = ErrorResponse;
|
17
|
+
export interface OrgTreeControllerGetOrgTreeProps extends OrgTreeControllerGetOrgTreeQueryPathParams, Omit<FetcherOptions<OrgTreeControllerGetOrgTreeQueryQueryParams, unknown>, 'url'> {
|
18
|
+
queryParams: OrgTreeControllerGetOrgTreeQueryQueryParams;
|
19
|
+
}
|
20
|
+
export declare function orgTreeControllerGetOrgTree(props: OrgTreeControllerGetOrgTreeProps): Promise<OrgTreeControllerGetOrgTreeOkResponse>;
|
21
|
+
/**
|
22
|
+
* Get a specific organization tree
|
23
|
+
*/
|
24
|
+
export declare function useOrgTreeControllerGetOrgTreeQuery(props: OrgTreeControllerGetOrgTreeProps, options?: Omit<UseQueryOptions<OrgTreeControllerGetOrgTreeOkResponse, OrgTreeControllerGetOrgTreeErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<OrgTreeControllerGetOrgTreeOkResponse, 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 orgTreeControllerGetOrgTree(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/${props.id}`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get a specific organization tree
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerGetOrgTreeQuery(props, options) {
|
13
|
+
return useQuery(['OrgTreeControllerGetOrgTree', props.id, props.queryParams], ({ signal }) => orgTreeControllerGetOrgTree(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreesQuery.d.ts
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { ListResponseDto } from '../schemas/ListResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface OrgTreeControllerGetOrgTreesQueryQueryParams {
|
7
|
+
accountIdentifier: string;
|
8
|
+
orgIdentifer: string;
|
9
|
+
projectIdentifier: string;
|
10
|
+
/**
|
11
|
+
* @format int32
|
12
|
+
* @default 0
|
13
|
+
*/
|
14
|
+
pageIndex?: number;
|
15
|
+
/**
|
16
|
+
* @format int32
|
17
|
+
* @default 50
|
18
|
+
*/
|
19
|
+
pageSize?: number;
|
20
|
+
}
|
21
|
+
export type OrgTreeControllerGetOrgTreesOkResponse = ResponseWithPagination<ListResponseDto>;
|
22
|
+
export type OrgTreeControllerGetOrgTreesErrorResponse = ErrorResponse;
|
23
|
+
export interface OrgTreeControllerGetOrgTreesProps extends Omit<FetcherOptions<OrgTreeControllerGetOrgTreesQueryQueryParams, unknown>, 'url'> {
|
24
|
+
queryParams: OrgTreeControllerGetOrgTreesQueryQueryParams;
|
25
|
+
}
|
26
|
+
export declare function orgTreeControllerGetOrgTrees(props: OrgTreeControllerGetOrgTreesProps): Promise<OrgTreeControllerGetOrgTreesOkResponse>;
|
27
|
+
/**
|
28
|
+
* Get organization trees with pagination
|
29
|
+
*/
|
30
|
+
export declare function useOrgTreeControllerGetOrgTreesQuery(props: OrgTreeControllerGetOrgTreesProps, options?: Omit<UseQueryOptions<OrgTreeControllerGetOrgTreesOkResponse, OrgTreeControllerGetOrgTreesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<OrgTreeControllerGetOrgTreesOkResponse, 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 orgTreeControllerGetOrgTrees(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/list`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get organization trees with pagination
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerGetOrgTreesQuery(props, options) {
|
13
|
+
return useQuery(['OrgTreeControllerGetOrgTrees', props.queryParams], ({ signal }) => orgTreeControllerGetOrgTrees(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeMutation.d.ts
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { OrgTreeResponseDto } from '../schemas/OrgTreeResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { OrgTreeCreateRequestDto } from '../schemas/OrgTreeCreateRequestDto';
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
7
|
+
export interface OrgTreeControllerUpdateOrgTreeMutationPathParams {
|
8
|
+
/**
|
9
|
+
* @format int32
|
10
|
+
*/
|
11
|
+
id: number;
|
12
|
+
}
|
13
|
+
export interface OrgTreeControllerUpdateOrgTreeMutationQueryParams {
|
14
|
+
accountIdentifier: string;
|
15
|
+
}
|
16
|
+
export type OrgTreeControllerUpdateOrgTreeRequestBody = OrgTreeCreateRequestDto;
|
17
|
+
export type OrgTreeControllerUpdateOrgTreeOkResponse = ResponseWithPagination<OrgTreeResponseDto>;
|
18
|
+
export type OrgTreeControllerUpdateOrgTreeErrorResponse = ErrorResponse;
|
19
|
+
export interface OrgTreeControllerUpdateOrgTreeProps extends OrgTreeControllerUpdateOrgTreeMutationPathParams, Omit<FetcherOptions<OrgTreeControllerUpdateOrgTreeMutationQueryParams, OrgTreeControllerUpdateOrgTreeRequestBody>, 'url'> {
|
20
|
+
queryParams: OrgTreeControllerUpdateOrgTreeMutationQueryParams;
|
21
|
+
body: OrgTreeControllerUpdateOrgTreeRequestBody;
|
22
|
+
}
|
23
|
+
export declare function orgTreeControllerUpdateOrgTree(props: OrgTreeControllerUpdateOrgTreeProps): Promise<OrgTreeControllerUpdateOrgTreeOkResponse>;
|
24
|
+
/**
|
25
|
+
* Update an org tree
|
26
|
+
*/
|
27
|
+
export declare function useOrgTreeControllerUpdateOrgTreeMutation(options?: Omit<UseMutationOptions<OrgTreeControllerUpdateOrgTreeOkResponse, OrgTreeControllerUpdateOrgTreeErrorResponse, OrgTreeControllerUpdateOrgTreeProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<OrgTreeControllerUpdateOrgTreeOkResponse, ErrorResponse, OrgTreeControllerUpdateOrgTreeProps, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeMutation.js
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
3
|
+
// Please do not modify this code directly.
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
6
|
+
export function orgTreeControllerUpdateOrgTree(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/${props.id}`, method: 'PUT' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Update an org tree
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerUpdateOrgTreeMutation(options) {
|
13
|
+
return useMutation((mutateProps) => orgTreeControllerUpdateOrgTree(mutateProps), options);
|
14
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
|
+
export interface ProductivityProfileControllerDeleteProfileMutationPathParams {
|
6
|
+
/**
|
7
|
+
* @format int32
|
8
|
+
*/
|
9
|
+
refId: number;
|
10
|
+
}
|
11
|
+
export interface ProductivityProfileControllerDeleteProfileMutationQueryParams {
|
12
|
+
accountIdentifier: string;
|
13
|
+
}
|
14
|
+
export type ProductivityProfileControllerDeleteProfileOkResponse = ResponseWithPagination<unknown>;
|
15
|
+
export type ProductivityProfileControllerDeleteProfileErrorResponse = ErrorResponse;
|
16
|
+
export interface ProductivityProfileControllerDeleteProfileProps extends ProductivityProfileControllerDeleteProfileMutationPathParams, Omit<FetcherOptions<ProductivityProfileControllerDeleteProfileMutationQueryParams, unknown>, 'url'> {
|
17
|
+
queryParams: ProductivityProfileControllerDeleteProfileMutationQueryParams;
|
18
|
+
}
|
19
|
+
export declare function productivityProfileControllerDeleteProfile(props: ProductivityProfileControllerDeleteProfileProps): Promise<ProductivityProfileControllerDeleteProfileOkResponse>;
|
20
|
+
export declare function useProductivityProfileControllerDeleteProfileMutation(options?: Omit<UseMutationOptions<ProductivityProfileControllerDeleteProfileOkResponse, ProductivityProfileControllerDeleteProfileErrorResponse, ProductivityProfileControllerDeleteProfileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ProductivityProfileControllerDeleteProfileOkResponse, ErrorResponse, ProductivityProfileControllerDeleteProfileProps, unknown>;
|
@@ -0,0 +1,11 @@
|
|
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 productivityProfileControllerDeleteProfile(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/profiles/productivity/${props.refId}`, method: 'DELETE' }, props));
|
8
|
+
}
|
9
|
+
export function useProductivityProfileControllerDeleteProfileMutation(options) {
|
10
|
+
return useMutation((mutateProps) => productivityProfileControllerDeleteProfile(mutateProps), options);
|
11
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { ProductivityProfileResponseDto } from '../schemas/ProductivityProfileResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface ProductivityProfileControllerGetProfileByRefIdQueryPathParams {
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
refId: number;
|
11
|
+
}
|
12
|
+
export interface ProductivityProfileControllerGetProfileByRefIdQueryQueryParams {
|
13
|
+
accountIdentifier: string;
|
14
|
+
}
|
15
|
+
export type ProductivityProfileControllerGetProfileByRefIdOkResponse = ResponseWithPagination<ProductivityProfileResponseDto>;
|
16
|
+
export type ProductivityProfileControllerGetProfileByRefIdErrorResponse = ErrorResponse;
|
17
|
+
export interface ProductivityProfileControllerGetProfileByRefIdProps extends ProductivityProfileControllerGetProfileByRefIdQueryPathParams, Omit<FetcherOptions<ProductivityProfileControllerGetProfileByRefIdQueryQueryParams, unknown>, 'url'> {
|
18
|
+
queryParams: ProductivityProfileControllerGetProfileByRefIdQueryQueryParams;
|
19
|
+
}
|
20
|
+
export declare function productivityProfileControllerGetProfileByRefId(props: ProductivityProfileControllerGetProfileByRefIdProps): Promise<ProductivityProfileControllerGetProfileByRefIdOkResponse>;
|
21
|
+
export declare function useProductivityProfileControllerGetProfileByRefIdQuery(props: ProductivityProfileControllerGetProfileByRefIdProps, options?: Omit<UseQueryOptions<ProductivityProfileControllerGetProfileByRefIdOkResponse, ProductivityProfileControllerGetProfileByRefIdErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ProductivityProfileControllerGetProfileByRefIdOkResponse, ErrorResponse>;
|
@@ -0,0 +1,11 @@
|
|
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 productivityProfileControllerGetProfileByRefId(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/profiles/productivity/${props.refId}`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
export function useProductivityProfileControllerGetProfileByRefIdQuery(props, options) {
|
10
|
+
return useQuery(['ProductivityProfileControllerGetProfileByRefId', props.refId, props.queryParams], ({ signal }) => productivityProfileControllerGetProfileByRefId(Object.assign(Object.assign({}, props), { signal })), options);
|
11
|
+
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
2
2
|
import type { ProductivityProfileResponseDto } from '../schemas/ProductivityProfileResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
3
4
|
import type { ProductivityProfileCreateRequestDto } from '../schemas/ProductivityProfileCreateRequestDto';
|
4
5
|
import type { ResponseWithPagination } from '../helpers';
|
5
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
@@ -7,17 +8,17 @@ export interface ProductivityProfileControllerUpdateProfileMutationPathParams {
|
|
7
8
|
/**
|
8
9
|
* @format int32
|
9
10
|
*/
|
10
|
-
|
11
|
+
refId: number;
|
11
12
|
}
|
12
13
|
export interface ProductivityProfileControllerUpdateProfileMutationQueryParams {
|
13
14
|
accountIdentifier: string;
|
14
15
|
}
|
15
16
|
export type ProductivityProfileControllerUpdateProfileRequestBody = ProductivityProfileCreateRequestDto;
|
16
17
|
export type ProductivityProfileControllerUpdateProfileOkResponse = ResponseWithPagination<ProductivityProfileResponseDto>;
|
17
|
-
export type ProductivityProfileControllerUpdateProfileErrorResponse =
|
18
|
+
export type ProductivityProfileControllerUpdateProfileErrorResponse = ErrorResponse;
|
18
19
|
export interface ProductivityProfileControllerUpdateProfileProps extends ProductivityProfileControllerUpdateProfileMutationPathParams, Omit<FetcherOptions<ProductivityProfileControllerUpdateProfileMutationQueryParams, ProductivityProfileControllerUpdateProfileRequestBody>, 'url'> {
|
19
20
|
queryParams: ProductivityProfileControllerUpdateProfileMutationQueryParams;
|
20
21
|
body: ProductivityProfileControllerUpdateProfileRequestBody;
|
21
22
|
}
|
22
23
|
export declare function productivityProfileControllerUpdateProfile(props: ProductivityProfileControllerUpdateProfileProps): Promise<ProductivityProfileControllerUpdateProfileOkResponse>;
|
23
|
-
export declare function useProductivityProfileControllerUpdateProfileMutation(options?: Omit<UseMutationOptions<ProductivityProfileControllerUpdateProfileOkResponse, ProductivityProfileControllerUpdateProfileErrorResponse, ProductivityProfileControllerUpdateProfileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ProductivityProfileControllerUpdateProfileOkResponse,
|
24
|
+
export declare function useProductivityProfileControllerUpdateProfileMutation(options?: Omit<UseMutationOptions<ProductivityProfileControllerUpdateProfileOkResponse, ProductivityProfileControllerUpdateProfileErrorResponse, ProductivityProfileControllerUpdateProfileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ProductivityProfileControllerUpdateProfileOkResponse, ErrorResponse, ProductivityProfileControllerUpdateProfileProps, unknown>;
|
@@ -4,7 +4,7 @@
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function productivityProfileControllerUpdateProfile(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/profiles/productivity/${props.
|
7
|
+
return fetcher(Object.assign({ url: `/v2/profiles/productivity/${props.refId}`, method: 'PUT' }, props));
|
8
8
|
}
|
9
9
|
export function useProductivityProfileControllerUpdateProfileMutation(options) {
|
10
10
|
return useMutation((mutateProps) => productivityProfileControllerUpdateProfile(mutateProps), options);
|
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamDevelopersQuery.d.ts
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { TeamDevelopersDto } from '../schemas/TeamDevelopersDto';
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
|
+
export interface TeamsControllerGetTeamDevelopersQueryPathParams {
|
6
|
+
teamId: string;
|
7
|
+
}
|
8
|
+
export interface TeamsControllerGetTeamDevelopersQueryQueryParams {
|
9
|
+
account: string;
|
10
|
+
/**
|
11
|
+
* @format int32
|
12
|
+
*/
|
13
|
+
page?: number;
|
14
|
+
/**
|
15
|
+
* @format int32
|
16
|
+
*/
|
17
|
+
size?: number;
|
18
|
+
}
|
19
|
+
export type TeamsControllerGetTeamDevelopersOkResponse = ResponseWithPagination<TeamDevelopersDto>;
|
20
|
+
export type TeamsControllerGetTeamDevelopersErrorResponse = TeamDevelopersDto;
|
21
|
+
export interface TeamsControllerGetTeamDevelopersProps extends TeamsControllerGetTeamDevelopersQueryPathParams, Omit<FetcherOptions<TeamsControllerGetTeamDevelopersQueryQueryParams, unknown>, 'url'> {
|
22
|
+
queryParams: TeamsControllerGetTeamDevelopersQueryQueryParams;
|
23
|
+
}
|
24
|
+
export declare function teamsControllerGetTeamDevelopers(props: TeamsControllerGetTeamDevelopersProps): Promise<TeamsControllerGetTeamDevelopersOkResponse>;
|
25
|
+
/**
|
26
|
+
* Returns developers for the specified team with optional pagination support
|
27
|
+
*/
|
28
|
+
export declare function useTeamsControllerGetTeamDevelopersQuery(props: TeamsControllerGetTeamDevelopersProps, options?: Omit<UseQueryOptions<TeamsControllerGetTeamDevelopersOkResponse, TeamsControllerGetTeamDevelopersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamsControllerGetTeamDevelopersOkResponse, TeamDevelopersDto>;
|
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamDevelopersQuery.js
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
3
|
+
// Please do not modify this code directly.
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
6
|
+
export function teamsControllerGetTeamDevelopers(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/teams/${props.teamId}/developers`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Returns developers for the specified team with optional pagination support
|
11
|
+
*/
|
12
|
+
export function useTeamsControllerGetTeamDevelopersQuery(props, options) {
|
13
|
+
return useQuery(['TeamsControllerGetTeamDevelopers', props.teamId, props.queryParams], ({ signal }) => teamsControllerGetTeamDevelopers(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|