@harnessio/react-sei-panorama-service-client 0.19.5 → 0.20.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.
Files changed (79) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useBaControllerCreateProfileMutation.d.ts +22 -0
  2. package/dist/sei-panorama-service/src/services/hooks/useBaControllerCreateProfileMutation.js +14 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useBaControllerCreateTeamWithFiltersMutation.d.ts +22 -0
  4. package/dist/sei-panorama-service/src/services/hooks/useBaControllerCreateTeamWithFiltersMutation.js +14 -0
  5. package/dist/sei-panorama-service/src/services/hooks/useBaControllerDeleteProfileMutation.d.ts +24 -0
  6. package/dist/sei-panorama-service/src/services/hooks/useBaControllerDeleteProfileMutation.js +14 -0
  7. package/dist/sei-panorama-service/src/services/hooks/useBaControllerDeleteTeamWithFiltersMutation.d.ts +24 -0
  8. package/dist/sei-panorama-service/src/services/hooks/useBaControllerDeleteTeamWithFiltersMutation.js +14 -0
  9. package/dist/sei-panorama-service/src/services/hooks/useBaControllerDrilldownDataMutation.d.ts +22 -0
  10. package/dist/sei-panorama-service/src/services/hooks/useBaControllerDrilldownDataMutation.js +14 -0
  11. package/dist/sei-panorama-service/src/services/hooks/useBaControllerGetAllProfilesQuery.d.ts +19 -0
  12. package/dist/sei-panorama-service/src/services/hooks/useBaControllerGetAllProfilesQuery.js +14 -0
  13. package/dist/sei-panorama-service/src/services/hooks/useBaControllerGetAllTeamsWithFiltersQuery.d.ts +23 -0
  14. package/dist/sei-panorama-service/src/services/hooks/useBaControllerGetAllTeamsWithFiltersQuery.js +14 -0
  15. package/dist/sei-panorama-service/src/services/hooks/useBaControllerGetProfileByIdQuery.d.ts +25 -0
  16. package/dist/sei-panorama-service/src/services/hooks/useBaControllerGetProfileByIdQuery.js +14 -0
  17. package/dist/sei-panorama-service/src/services/hooks/useBaControllerGetProfileByRefIdQuery.d.ts +25 -0
  18. package/dist/sei-panorama-service/src/services/hooks/useBaControllerGetProfileByRefIdQuery.js +14 -0
  19. package/dist/sei-panorama-service/src/services/hooks/useBaControllerGetTeamWithFiltersByIdQuery.d.ts +25 -0
  20. package/dist/sei-panorama-service/src/services/hooks/useBaControllerGetTeamWithFiltersByIdQuery.js +14 -0
  21. package/dist/sei-panorama-service/src/services/hooks/useBaControllerInsightBreakdownQuery.d.ts +2 -2
  22. package/dist/sei-panorama-service/src/services/hooks/useBaControllerInsightMetricsQuery.d.ts +2 -2
  23. package/dist/sei-panorama-service/src/services/hooks/useBaControllerInsightSummaryQuery.d.ts +2 -2
  24. package/dist/sei-panorama-service/src/services/hooks/useBaControllerUpdateProfileMutation.d.ts +28 -0
  25. package/dist/sei-panorama-service/src/services/hooks/useBaControllerUpdateProfileMutation.js +14 -0
  26. package/dist/sei-panorama-service/src/services/hooks/useBaControllerUpdateTeamWithFiltersMutation.d.ts +22 -0
  27. package/dist/sei-panorama-service/src/services/hooks/useBaControllerUpdateTeamWithFiltersMutation.js +14 -0
  28. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerDownloadDeveloperCsvQuery.d.ts +12 -0
  29. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerDownloadDeveloperCsvQuery.js +14 -0
  30. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerDownloadGeneratedDevelopersCsvQuery.d.ts +12 -0
  31. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerDownloadGeneratedDevelopersCsvQuery.js +14 -0
  32. package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerDeleteOrgTreeMutation.d.ts +19 -0
  33. package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerDeleteOrgTreeMutation.js +14 -0
  34. package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetBusinessAlignmentProfileRefIdQuery.d.ts +24 -0
  35. package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetBusinessAlignmentProfileRefIdQuery.js +14 -0
  36. package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutation.d.ts +26 -0
  37. package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutation.js +14 -0
  38. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamIntegrationFiltersMutation.d.ts +1 -1
  39. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamIntegrationFiltersMutation.js +1 -1
  40. package/dist/sei-panorama-service/src/services/index.d.ts +48 -0
  41. package/dist/sei-panorama-service/src/services/index.js +17 -0
  42. package/dist/sei-panorama-service/src/services/schemas/BaCategoryDto.d.ts +13 -0
  43. package/dist/sei-panorama-service/src/services/schemas/BaCategoryDto.js +4 -0
  44. package/dist/sei-panorama-service/src/services/schemas/BaCategoryTeamFilterDto.d.ts +26 -0
  45. package/dist/sei-panorama-service/src/services/schemas/BaCategoryTeamFilterDto.js +1 -0
  46. package/dist/sei-panorama-service/src/services/schemas/BaDrilldownItemDto.d.ts +33 -0
  47. package/dist/sei-panorama-service/src/services/schemas/BaDrilldownItemDto.js +4 -0
  48. package/dist/sei-panorama-service/src/services/schemas/BaDrilldownRequestDto.d.ts +18 -0
  49. package/dist/sei-panorama-service/src/services/schemas/BaDrilldownRequestDto.js +1 -0
  50. package/dist/sei-panorama-service/src/services/schemas/BaDrilldownResponseDto.d.ts +7 -0
  51. package/dist/sei-panorama-service/src/services/schemas/BaDrilldownResponseDto.js +1 -0
  52. package/dist/sei-panorama-service/src/services/schemas/BaExpressionLeafDto.d.ts +15 -0
  53. package/dist/sei-panorama-service/src/services/schemas/BaExpressionLeafDto.js +1 -0
  54. package/dist/sei-panorama-service/src/services/schemas/BaFilterDto.d.ts +22 -0
  55. package/dist/sei-panorama-service/src/services/schemas/BaFilterDto.js +1 -0
  56. package/dist/sei-panorama-service/src/services/schemas/BaFilterSetDto.d.ts +18 -0
  57. package/dist/sei-panorama-service/src/services/schemas/BaFilterSetDto.js +1 -0
  58. package/dist/sei-panorama-service/src/services/schemas/BaInsightRequestDto.d.ts +4 -1
  59. package/dist/sei-panorama-service/src/services/schemas/BaProfileRequestDto.d.ts +6 -0
  60. package/dist/sei-panorama-service/src/services/schemas/BaProfileRequestDto.js +1 -0
  61. package/dist/sei-panorama-service/src/services/schemas/BaProfileResponseDto.d.ts +22 -0
  62. package/dist/sei-panorama-service/src/services/schemas/BaProfileResponseDto.js +1 -0
  63. package/dist/sei-panorama-service/src/services/schemas/BaSummaryRequestDto.d.ts +4 -1
  64. package/dist/sei-panorama-service/src/services/schemas/BaTeamCategoryDefinition.d.ts +10 -0
  65. package/dist/sei-panorama-service/src/services/schemas/BaTeamCategoryDefinition.js +1 -0
  66. package/dist/sei-panorama-service/src/services/schemas/BaTeamFiltersRequest.d.ts +12 -0
  67. package/dist/sei-panorama-service/src/services/schemas/BaTeamFiltersRequest.js +1 -0
  68. package/dist/sei-panorama-service/src/services/schemas/BaTeamWithFiltersDto.d.ts +28 -0
  69. package/dist/sei-panorama-service/src/services/schemas/BaTeamWithFiltersDto.js +1 -0
  70. package/dist/sei-panorama-service/src/services/schemas/BreakdownRecord.d.ts +2 -2
  71. package/dist/sei-panorama-service/src/services/schemas/ErrorResponse.d.ts +1 -0
  72. package/dist/sei-panorama-service/src/services/schemas/IntegrationResponseDto.d.ts +1 -1
  73. package/dist/sei-panorama-service/src/services/schemas/IssuesPrResponse.d.ts +4 -0
  74. package/dist/sei-panorama-service/src/services/schemas/JsonNode.d.ts +3 -0
  75. package/dist/sei-panorama-service/src/services/schemas/JsonNode.js +4 -0
  76. package/dist/sei-panorama-service/src/services/schemas/OrgTreeCreateRequestDto.d.ts +4 -0
  77. package/dist/sei-panorama-service/src/services/schemas/OrgTreeResponseDto.d.ts +1 -0
  78. package/dist/sei-panorama-service/src/services/schemas/OrgTreeUpdateRequestDto.d.ts +4 -0
  79. package/package.json +1 -1
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { BaProfileResponseDto } from '../schemas/BaProfileResponseDto';
3
+ import type { BaProfileRequestDto } from '../schemas/BaProfileRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface BaControllerCreateProfileMutationQueryParams {
7
+ account: string;
8
+ projectIdentifier: string;
9
+ orgIdentifier: string;
10
+ }
11
+ export type BaControllerCreateProfileRequestBody = BaProfileRequestDto;
12
+ export type BaControllerCreateProfileOkResponse = ResponseWithPagination<BaProfileResponseDto>;
13
+ export type BaControllerCreateProfileErrorResponse = string;
14
+ export interface BaControllerCreateProfileProps extends Omit<FetcherOptions<BaControllerCreateProfileMutationQueryParams, BaControllerCreateProfileRequestBody>, 'url'> {
15
+ queryParams: BaControllerCreateProfileMutationQueryParams;
16
+ body: BaControllerCreateProfileRequestBody;
17
+ }
18
+ export declare function baControllerCreateProfile(props: BaControllerCreateProfileProps): Promise<BaControllerCreateProfileOkResponse>;
19
+ /**
20
+ * Creates a new BA profile with categories for business alignment analysis.
21
+ */
22
+ export declare function useBaControllerCreateProfileMutation(options?: Omit<UseMutationOptions<BaControllerCreateProfileOkResponse, BaControllerCreateProfileErrorResponse, BaControllerCreateProfileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<BaControllerCreateProfileOkResponse, string, BaControllerCreateProfileProps, 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 baControllerCreateProfile(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ba/profiles`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Creates a new BA profile with categories for business alignment analysis.
11
+ */
12
+ export function useBaControllerCreateProfileMutation(options) {
13
+ return useMutation((mutateProps) => baControllerCreateProfile(mutateProps), options);
14
+ }
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { BaTeamWithFiltersDto } from '../schemas/BaTeamWithFiltersDto';
3
+ import type { BaTeamFiltersRequest } from '../schemas/BaTeamFiltersRequest';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface BaControllerCreateTeamWithFiltersMutationQueryParams {
7
+ account: string;
8
+ projectIdentifier: string;
9
+ orgIdentifier: string;
10
+ }
11
+ export type BaControllerCreateTeamWithFiltersRequestBody = BaTeamFiltersRequest;
12
+ export type BaControllerCreateTeamWithFiltersOkResponse = ResponseWithPagination<BaTeamWithFiltersDto>;
13
+ export type BaControllerCreateTeamWithFiltersErrorResponse = string;
14
+ export interface BaControllerCreateTeamWithFiltersProps extends Omit<FetcherOptions<BaControllerCreateTeamWithFiltersMutationQueryParams, BaControllerCreateTeamWithFiltersRequestBody>, 'url'> {
15
+ queryParams: BaControllerCreateTeamWithFiltersMutationQueryParams;
16
+ body: BaControllerCreateTeamWithFiltersRequestBody;
17
+ }
18
+ export declare function baControllerCreateTeamWithFilters(props: BaControllerCreateTeamWithFiltersProps): Promise<BaControllerCreateTeamWithFiltersOkResponse>;
19
+ /**
20
+ * Creates category filters and expression trees for the specified team.
21
+ */
22
+ export declare function useBaControllerCreateTeamWithFiltersMutation(options?: Omit<UseMutationOptions<BaControllerCreateTeamWithFiltersOkResponse, BaControllerCreateTeamWithFiltersErrorResponse, BaControllerCreateTeamWithFiltersProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<BaControllerCreateTeamWithFiltersOkResponse, string, BaControllerCreateTeamWithFiltersProps, 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 baControllerCreateTeamWithFilters(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ba/teams/filters`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Creates category filters and expression trees for the specified team.
11
+ */
12
+ export function useBaControllerCreateTeamWithFiltersMutation(options) {
13
+ return useMutation((mutateProps) => baControllerCreateTeamWithFilters(mutateProps), options);
14
+ }
@@ -0,0 +1,24 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseWithPagination } from '../helpers';
3
+ import { FetcherOptions } from '../../../../fetcher/index.js';
4
+ export interface BaControllerDeleteProfileMutationPathParams {
5
+ /**
6
+ * @format uuid
7
+ */
8
+ profileId: string;
9
+ }
10
+ export interface BaControllerDeleteProfileMutationQueryParams {
11
+ account: string;
12
+ projectIdentifier: string;
13
+ orgIdentifier: string;
14
+ }
15
+ export type BaControllerDeleteProfileOkResponse = ResponseWithPagination<unknown>;
16
+ export type BaControllerDeleteProfileErrorResponse = string;
17
+ export interface BaControllerDeleteProfileProps extends BaControllerDeleteProfileMutationPathParams, Omit<FetcherOptions<BaControllerDeleteProfileMutationQueryParams, unknown>, 'url'> {
18
+ queryParams: BaControllerDeleteProfileMutationQueryParams;
19
+ }
20
+ export declare function baControllerDeleteProfile(props: BaControllerDeleteProfileProps): Promise<BaControllerDeleteProfileOkResponse>;
21
+ /**
22
+ * Deletes a BA profile and its categories.
23
+ */
24
+ export declare function useBaControllerDeleteProfileMutation(options?: Omit<UseMutationOptions<BaControllerDeleteProfileOkResponse, BaControllerDeleteProfileErrorResponse, BaControllerDeleteProfileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<BaControllerDeleteProfileOkResponse, string, BaControllerDeleteProfileProps, 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 baControllerDeleteProfile(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ba/profiles/${props.profileId}`, method: 'DELETE' }, props));
8
+ }
9
+ /**
10
+ * Deletes a BA profile and its categories.
11
+ */
12
+ export function useBaControllerDeleteProfileMutation(options) {
13
+ return useMutation((mutateProps) => baControllerDeleteProfile(mutateProps), options);
14
+ }
@@ -0,0 +1,24 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseWithPagination } from '../helpers';
3
+ import { FetcherOptions } from '../../../../fetcher/index.js';
4
+ export interface BaControllerDeleteTeamWithFiltersMutationPathParams {
5
+ /**
6
+ * @format int32
7
+ */
8
+ teamRefId: number;
9
+ }
10
+ export interface BaControllerDeleteTeamWithFiltersMutationQueryParams {
11
+ account: string;
12
+ projectIdentifier: string;
13
+ orgIdentifier: string;
14
+ }
15
+ export type BaControllerDeleteTeamWithFiltersOkResponse = ResponseWithPagination<unknown>;
16
+ export type BaControllerDeleteTeamWithFiltersErrorResponse = string;
17
+ export interface BaControllerDeleteTeamWithFiltersProps extends BaControllerDeleteTeamWithFiltersMutationPathParams, Omit<FetcherOptions<BaControllerDeleteTeamWithFiltersMutationQueryParams, unknown>, 'url'> {
18
+ queryParams: BaControllerDeleteTeamWithFiltersMutationQueryParams;
19
+ }
20
+ export declare function baControllerDeleteTeamWithFilters(props: BaControllerDeleteTeamWithFiltersProps): Promise<BaControllerDeleteTeamWithFiltersOkResponse>;
21
+ /**
22
+ * Deletes all category filters and expressions for the specified team.
23
+ */
24
+ export declare function useBaControllerDeleteTeamWithFiltersMutation(options?: Omit<UseMutationOptions<BaControllerDeleteTeamWithFiltersOkResponse, BaControllerDeleteTeamWithFiltersErrorResponse, BaControllerDeleteTeamWithFiltersProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<BaControllerDeleteTeamWithFiltersOkResponse, string, BaControllerDeleteTeamWithFiltersProps, 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 baControllerDeleteTeamWithFilters(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ba/teams/${props.teamRefId}/filters`, method: 'DELETE' }, props));
8
+ }
9
+ /**
10
+ * Deletes all category filters and expressions for the specified team.
11
+ */
12
+ export function useBaControllerDeleteTeamWithFiltersMutation(options) {
13
+ return useMutation((mutateProps) => baControllerDeleteTeamWithFilters(mutateProps), options);
14
+ }
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { BaDrilldownResponseDto } from '../schemas/BaDrilldownResponseDto';
3
+ import type { BaDrilldownRequestDto } from '../schemas/BaDrilldownRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface BaControllerDrilldownDataMutationQueryParams {
7
+ account: string;
8
+ projectIdentifier: string;
9
+ orgIdentifier: string;
10
+ }
11
+ export type BaControllerDrilldownDataRequestBody = BaDrilldownRequestDto;
12
+ export type BaControllerDrilldownDataOkResponse = ResponseWithPagination<BaDrilldownResponseDto>;
13
+ export type BaControllerDrilldownDataErrorResponse = string;
14
+ export interface BaControllerDrilldownDataProps extends Omit<FetcherOptions<BaControllerDrilldownDataMutationQueryParams, BaControllerDrilldownDataRequestBody>, 'url'> {
15
+ queryParams: BaControllerDrilldownDataMutationQueryParams;
16
+ body: BaControllerDrilldownDataRequestBody;
17
+ }
18
+ export declare function baControllerDrilldownData(props: BaControllerDrilldownDataProps): Promise<BaControllerDrilldownDataOkResponse>;
19
+ /**
20
+ * Provides detailed drilldown data for business alignment metrics by category.
21
+ */
22
+ export declare function useBaControllerDrilldownDataMutation(options?: Omit<UseMutationOptions<BaControllerDrilldownDataOkResponse, BaControllerDrilldownDataErrorResponse, BaControllerDrilldownDataProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<BaControllerDrilldownDataOkResponse, string, BaControllerDrilldownDataProps, 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 baControllerDrilldownData(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ba/drilldown`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Provides detailed drilldown data for business alignment metrics by category.
11
+ */
12
+ export function useBaControllerDrilldownDataMutation(options) {
13
+ return useMutation((mutateProps) => baControllerDrilldownData(mutateProps), options);
14
+ }
@@ -0,0 +1,19 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { BaProfileResponseDto } from '../schemas/BaProfileResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface BaControllerGetAllProfilesQueryQueryParams {
6
+ account: string;
7
+ projectIdentifier: string;
8
+ orgIdentifier: string;
9
+ }
10
+ export type BaControllerGetAllProfilesOkResponse = ResponseWithPagination<BaProfileResponseDto[]>;
11
+ export type BaControllerGetAllProfilesErrorResponse = string;
12
+ export interface BaControllerGetAllProfilesProps extends Omit<FetcherOptions<BaControllerGetAllProfilesQueryQueryParams, unknown>, 'url'> {
13
+ queryParams: BaControllerGetAllProfilesQueryQueryParams;
14
+ }
15
+ export declare function baControllerGetAllProfiles(props: BaControllerGetAllProfilesProps): Promise<BaControllerGetAllProfilesOkResponse>;
16
+ /**
17
+ * Retrieves all BA profiles with their categories.
18
+ */
19
+ export declare function useBaControllerGetAllProfilesQuery(props: BaControllerGetAllProfilesProps, options?: Omit<UseQueryOptions<BaControllerGetAllProfilesOkResponse, BaControllerGetAllProfilesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<BaControllerGetAllProfilesOkResponse, 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 baControllerGetAllProfiles(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ba/profiles`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieves all BA profiles with their categories.
11
+ */
12
+ export function useBaControllerGetAllProfilesQuery(props, options) {
13
+ return useQuery(['BAControllerGetAllProfiles', props.queryParams], ({ signal }) => baControllerGetAllProfiles(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,23 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { BaTeamWithFiltersDto } from '../schemas/BaTeamWithFiltersDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface BaControllerGetAllTeamsWithFiltersQueryQueryParams {
6
+ account: string;
7
+ projectIdentifier: string;
8
+ orgIdentifier: string;
9
+ /**
10
+ * @format uuid
11
+ */
12
+ profileId?: string;
13
+ }
14
+ export type BaControllerGetAllTeamsWithFiltersOkResponse = ResponseWithPagination<BaTeamWithFiltersDto[]>;
15
+ export type BaControllerGetAllTeamsWithFiltersErrorResponse = string;
16
+ export interface BaControllerGetAllTeamsWithFiltersProps extends Omit<FetcherOptions<BaControllerGetAllTeamsWithFiltersQueryQueryParams, unknown>, 'url'> {
17
+ queryParams: BaControllerGetAllTeamsWithFiltersQueryQueryParams;
18
+ }
19
+ export declare function baControllerGetAllTeamsWithFilters(props: BaControllerGetAllTeamsWithFiltersProps): Promise<BaControllerGetAllTeamsWithFiltersOkResponse>;
20
+ /**
21
+ * Retrieves all teams with their category filters and expressions.
22
+ */
23
+ export declare function useBaControllerGetAllTeamsWithFiltersQuery(props: BaControllerGetAllTeamsWithFiltersProps, options?: Omit<UseQueryOptions<BaControllerGetAllTeamsWithFiltersOkResponse, BaControllerGetAllTeamsWithFiltersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<BaControllerGetAllTeamsWithFiltersOkResponse, 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 baControllerGetAllTeamsWithFilters(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ba/teams/filters`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieves all teams with their category filters and expressions.
11
+ */
12
+ export function useBaControllerGetAllTeamsWithFiltersQuery(props, options) {
13
+ return useQuery(['BAControllerGetAllTeamsWithFilters', props.queryParams], ({ signal }) => baControllerGetAllTeamsWithFilters(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,25 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { BaProfileResponseDto } from '../schemas/BaProfileResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface BaControllerGetProfileByIdQueryPathParams {
6
+ /**
7
+ * @format uuid
8
+ */
9
+ profileId: string;
10
+ }
11
+ export interface BaControllerGetProfileByIdQueryQueryParams {
12
+ account: string;
13
+ projectIdentifier: string;
14
+ orgIdentifier: string;
15
+ }
16
+ export type BaControllerGetProfileByIdOkResponse = ResponseWithPagination<BaProfileResponseDto>;
17
+ export type BaControllerGetProfileByIdErrorResponse = string;
18
+ export interface BaControllerGetProfileByIdProps extends BaControllerGetProfileByIdQueryPathParams, Omit<FetcherOptions<BaControllerGetProfileByIdQueryQueryParams, unknown>, 'url'> {
19
+ queryParams: BaControllerGetProfileByIdQueryQueryParams;
20
+ }
21
+ export declare function baControllerGetProfileById(props: BaControllerGetProfileByIdProps): Promise<BaControllerGetProfileByIdOkResponse>;
22
+ /**
23
+ * Retrieves a BA profile with its categories by ID.
24
+ */
25
+ export declare function useBaControllerGetProfileByIdQuery(props: BaControllerGetProfileByIdProps, options?: Omit<UseQueryOptions<BaControllerGetProfileByIdOkResponse, BaControllerGetProfileByIdErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<BaControllerGetProfileByIdOkResponse, 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 baControllerGetProfileById(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ba/profiles/${props.profileId}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieves a BA profile with its categories by ID.
11
+ */
12
+ export function useBaControllerGetProfileByIdQuery(props, options) {
13
+ return useQuery(['BAControllerGetProfileById', props.profileId, props.queryParams], ({ signal }) => baControllerGetProfileById(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,25 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { BaProfileResponseDto } from '../schemas/BaProfileResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface BaControllerGetProfileByRefIdQueryPathParams {
6
+ /**
7
+ * @format int32
8
+ */
9
+ profileRefId: number;
10
+ }
11
+ export interface BaControllerGetProfileByRefIdQueryQueryParams {
12
+ account: string;
13
+ projectIdentifier: string;
14
+ orgIdentifier: string;
15
+ }
16
+ export type BaControllerGetProfileByRefIdOkResponse = ResponseWithPagination<BaProfileResponseDto>;
17
+ export type BaControllerGetProfileByRefIdErrorResponse = string;
18
+ export interface BaControllerGetProfileByRefIdProps extends BaControllerGetProfileByRefIdQueryPathParams, Omit<FetcherOptions<BaControllerGetProfileByRefIdQueryQueryParams, unknown>, 'url'> {
19
+ queryParams: BaControllerGetProfileByRefIdQueryQueryParams;
20
+ }
21
+ export declare function baControllerGetProfileByRefId(props: BaControllerGetProfileByRefIdProps): Promise<BaControllerGetProfileByRefIdOkResponse>;
22
+ /**
23
+ * Retrieves a BA profile with its categories by refId.
24
+ */
25
+ export declare function useBaControllerGetProfileByRefIdQuery(props: BaControllerGetProfileByRefIdProps, options?: Omit<UseQueryOptions<BaControllerGetProfileByRefIdOkResponse, BaControllerGetProfileByRefIdErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<BaControllerGetProfileByRefIdOkResponse, 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 baControllerGetProfileByRefId(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ba/profiles/ref/${props.profileRefId}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieves a BA profile with its categories by refId.
11
+ */
12
+ export function useBaControllerGetProfileByRefIdQuery(props, options) {
13
+ return useQuery(['BAControllerGetProfileByRefId', props.profileRefId, props.queryParams], ({ signal }) => baControllerGetProfileByRefId(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,25 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { BaTeamWithFiltersDto } from '../schemas/BaTeamWithFiltersDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface BaControllerGetTeamWithFiltersByIdQueryPathParams {
6
+ /**
7
+ * @format int32
8
+ */
9
+ teamRefId: number;
10
+ }
11
+ export interface BaControllerGetTeamWithFiltersByIdQueryQueryParams {
12
+ account: string;
13
+ projectIdentifier: string;
14
+ orgIdentifier: string;
15
+ }
16
+ export type BaControllerGetTeamWithFiltersByIdOkResponse = ResponseWithPagination<BaTeamWithFiltersDto>;
17
+ export type BaControllerGetTeamWithFiltersByIdErrorResponse = string;
18
+ export interface BaControllerGetTeamWithFiltersByIdProps extends BaControllerGetTeamWithFiltersByIdQueryPathParams, Omit<FetcherOptions<BaControllerGetTeamWithFiltersByIdQueryQueryParams, unknown>, 'url'> {
19
+ queryParams: BaControllerGetTeamWithFiltersByIdQueryQueryParams;
20
+ }
21
+ export declare function baControllerGetTeamWithFiltersById(props: BaControllerGetTeamWithFiltersByIdProps): Promise<BaControllerGetTeamWithFiltersByIdOkResponse>;
22
+ /**
23
+ * Retrieves category filters and expressions for the specified team.
24
+ */
25
+ export declare function useBaControllerGetTeamWithFiltersByIdQuery(props: BaControllerGetTeamWithFiltersByIdProps, options?: Omit<UseQueryOptions<BaControllerGetTeamWithFiltersByIdOkResponse, BaControllerGetTeamWithFiltersByIdErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<BaControllerGetTeamWithFiltersByIdOkResponse, 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 baControllerGetTeamWithFiltersById(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ba/teams/${props.teamRefId}/filters`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieves category filters and expressions for the specified team.
11
+ */
12
+ export function useBaControllerGetTeamWithFiltersByIdQuery(props, options) {
13
+ return useQuery(['BAControllerGetTeamWithFiltersById', props.teamRefId, props.queryParams], ({ signal }) => baControllerGetTeamWithFiltersById(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -5,8 +5,8 @@ import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface BaControllerInsightBreakdownQueryQueryParams {
7
7
  account: string;
8
- projectIdentifier?: string;
9
- orgIdentifier?: string;
8
+ projectIdentifier: string;
9
+ orgIdentifier: string;
10
10
  }
11
11
  export type BaControllerInsightBreakdownRequestBody = BaInsightRequestDto;
12
12
  export type BaControllerInsightBreakdownOkResponse = ResponseWithPagination<BaBreakdownDto>;
@@ -5,8 +5,8 @@ import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface BaControllerInsightMetricsQueryQueryParams {
7
7
  account: string;
8
- projectIdentifier?: string;
9
- orgIdentifier?: string;
8
+ projectIdentifier: string;
9
+ orgIdentifier: string;
10
10
  }
11
11
  export type BaControllerInsightMetricsRequestBody = BaInsightRequestDto;
12
12
  export type BaControllerInsightMetricsOkResponse = ResponseWithPagination<BaFeatureResponseDto>;
@@ -5,8 +5,8 @@ import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface BaControllerInsightSummaryQueryQueryParams {
7
7
  account: string;
8
- projectIdentifier?: string;
9
- orgIdentifier?: string;
8
+ projectIdentifier: string;
9
+ orgIdentifier: string;
10
10
  }
11
11
  export type BaControllerInsightSummaryRequestBody = BaSummaryRequestDto;
12
12
  export type BaControllerInsightSummaryOkResponse = ResponseWithPagination<BaFeatureSummaryCardDto>;
@@ -0,0 +1,28 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { BaProfileResponseDto } from '../schemas/BaProfileResponseDto';
3
+ import type { BaProfileRequestDto } from '../schemas/BaProfileRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface BaControllerUpdateProfileMutationPathParams {
7
+ /**
8
+ * @format uuid
9
+ */
10
+ profileId: string;
11
+ }
12
+ export interface BaControllerUpdateProfileMutationQueryParams {
13
+ account: string;
14
+ projectIdentifier: string;
15
+ orgIdentifier: string;
16
+ }
17
+ export type BaControllerUpdateProfileRequestBody = BaProfileRequestDto;
18
+ export type BaControllerUpdateProfileOkResponse = ResponseWithPagination<BaProfileResponseDto>;
19
+ export type BaControllerUpdateProfileErrorResponse = string;
20
+ export interface BaControllerUpdateProfileProps extends BaControllerUpdateProfileMutationPathParams, Omit<FetcherOptions<BaControllerUpdateProfileMutationQueryParams, BaControllerUpdateProfileRequestBody>, 'url'> {
21
+ queryParams: BaControllerUpdateProfileMutationQueryParams;
22
+ body: BaControllerUpdateProfileRequestBody;
23
+ }
24
+ export declare function baControllerUpdateProfile(props: BaControllerUpdateProfileProps): Promise<BaControllerUpdateProfileOkResponse>;
25
+ /**
26
+ * Updates an existing BA profile with its categories.
27
+ */
28
+ export declare function useBaControllerUpdateProfileMutation(options?: Omit<UseMutationOptions<BaControllerUpdateProfileOkResponse, BaControllerUpdateProfileErrorResponse, BaControllerUpdateProfileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<BaControllerUpdateProfileOkResponse, string, BaControllerUpdateProfileProps, 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 baControllerUpdateProfile(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ba/profiles/${props.profileId}`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ * Updates an existing BA profile with its categories.
11
+ */
12
+ export function useBaControllerUpdateProfileMutation(options) {
13
+ return useMutation((mutateProps) => baControllerUpdateProfile(mutateProps), options);
14
+ }
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { BaTeamWithFiltersDto } from '../schemas/BaTeamWithFiltersDto';
3
+ import type { BaTeamFiltersRequest } from '../schemas/BaTeamFiltersRequest';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface BaControllerUpdateTeamWithFiltersMutationQueryParams {
7
+ account: string;
8
+ projectIdentifier: string;
9
+ orgIdentifier: string;
10
+ }
11
+ export type BaControllerUpdateTeamWithFiltersRequestBody = BaTeamFiltersRequest;
12
+ export type BaControllerUpdateTeamWithFiltersOkResponse = ResponseWithPagination<BaTeamWithFiltersDto>;
13
+ export type BaControllerUpdateTeamWithFiltersErrorResponse = string;
14
+ export interface BaControllerUpdateTeamWithFiltersProps extends Omit<FetcherOptions<BaControllerUpdateTeamWithFiltersMutationQueryParams, BaControllerUpdateTeamWithFiltersRequestBody>, 'url'> {
15
+ queryParams: BaControllerUpdateTeamWithFiltersMutationQueryParams;
16
+ body: BaControllerUpdateTeamWithFiltersRequestBody;
17
+ }
18
+ export declare function baControllerUpdateTeamWithFilters(props: BaControllerUpdateTeamWithFiltersProps): Promise<BaControllerUpdateTeamWithFiltersOkResponse>;
19
+ /**
20
+ * Updates existing category filters and expressions for the specified team.
21
+ */
22
+ export declare function useBaControllerUpdateTeamWithFiltersMutation(options?: Omit<UseMutationOptions<BaControllerUpdateTeamWithFiltersOkResponse, BaControllerUpdateTeamWithFiltersErrorResponse, BaControllerUpdateTeamWithFiltersProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<BaControllerUpdateTeamWithFiltersOkResponse, string, BaControllerUpdateTeamWithFiltersProps, 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 baControllerUpdateTeamWithFilters(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ba/teams/filters`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ * Updates existing category filters and expressions for the specified team.
11
+ */
12
+ export function useBaControllerUpdateTeamWithFiltersMutation(options) {
13
+ return useMutation((mutateProps) => baControllerUpdateTeamWithFilters(mutateProps), options);
14
+ }
@@ -0,0 +1,12 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseWithPagination } from '../helpers';
3
+ import { FetcherOptions } from '../../../../fetcher/index.js';
4
+ export type DeveloperControllerDownloadDeveloperCsvOkResponse = ResponseWithPagination<unknown>;
5
+ export type DeveloperControllerDownloadDeveloperCsvErrorResponse = unknown;
6
+ export interface DeveloperControllerDownloadDeveloperCsvProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
7
+ }
8
+ export declare function developerControllerDownloadDeveloperCsv(props: DeveloperControllerDownloadDeveloperCsvProps): Promise<DeveloperControllerDownloadDeveloperCsvOkResponse>;
9
+ /**
10
+ * Downloads the latest uploaded developer CSV file
11
+ */
12
+ export declare function useDeveloperControllerDownloadDeveloperCsvQuery(props: DeveloperControllerDownloadDeveloperCsvProps, options?: Omit<UseQueryOptions<DeveloperControllerDownloadDeveloperCsvOkResponse, DeveloperControllerDownloadDeveloperCsvErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DeveloperControllerDownloadDeveloperCsvOkResponse, 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 developerControllerDownloadDeveloperCsv(props) {
7
+ return fetcher(Object.assign({ url: `/v2/developers/download`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Downloads the latest uploaded developer CSV file
11
+ */
12
+ export function useDeveloperControllerDownloadDeveloperCsvQuery(props, options) {
13
+ return useQuery(['DeveloperControllerDownloadDeveloperCsv'], ({ signal }) => developerControllerDownloadDeveloperCsv(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,12 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseWithPagination } from '../helpers';
3
+ import { FetcherOptions } from '../../../../fetcher/index.js';
4
+ export type DeveloperControllerDownloadGeneratedDevelopersCsvOkResponse = ResponseWithPagination<unknown>;
5
+ export type DeveloperControllerDownloadGeneratedDevelopersCsvErrorResponse = unknown;
6
+ export interface DeveloperControllerDownloadGeneratedDevelopersCsvProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
7
+ }
8
+ export declare function developerControllerDownloadGeneratedDevelopersCsv(props: DeveloperControllerDownloadGeneratedDevelopersCsvProps): Promise<DeveloperControllerDownloadGeneratedDevelopersCsvOkResponse>;
9
+ /**
10
+ * Downloads a CSV file generated from all developers in the database
11
+ */
12
+ export declare function useDeveloperControllerDownloadGeneratedDevelopersCsvQuery(props: DeveloperControllerDownloadGeneratedDevelopersCsvProps, options?: Omit<UseQueryOptions<DeveloperControllerDownloadGeneratedDevelopersCsvOkResponse, DeveloperControllerDownloadGeneratedDevelopersCsvErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DeveloperControllerDownloadGeneratedDevelopersCsvOkResponse, 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 developerControllerDownloadGeneratedDevelopersCsv(props) {
7
+ return fetcher(Object.assign({ url: `/v2/developers/download/generated`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Downloads a CSV file generated from all developers in the database
11
+ */
12
+ export function useDeveloperControllerDownloadGeneratedDevelopersCsvQuery(props, options) {
13
+ return useQuery(['DeveloperControllerDownloadGeneratedDevelopersCsv'], ({ signal }) => developerControllerDownloadGeneratedDevelopersCsv(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,19 @@
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 OrgTreeControllerDeleteOrgTreeMutationPathParams {
6
+ /**
7
+ * @format int32
8
+ */
9
+ id: number;
10
+ }
11
+ export type OrgTreeControllerDeleteOrgTreeOkResponse = ResponseWithPagination<unknown>;
12
+ export type OrgTreeControllerDeleteOrgTreeErrorResponse = ErrorResponse;
13
+ export interface OrgTreeControllerDeleteOrgTreeProps extends OrgTreeControllerDeleteOrgTreeMutationPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
14
+ }
15
+ export declare function orgTreeControllerDeleteOrgTree(props: OrgTreeControllerDeleteOrgTreeProps): Promise<OrgTreeControllerDeleteOrgTreeOkResponse>;
16
+ /**
17
+ * Deletes an organization tree and all its associated data
18
+ */
19
+ export declare function useOrgTreeControllerDeleteOrgTreeMutation(options?: Omit<UseMutationOptions<OrgTreeControllerDeleteOrgTreeOkResponse, OrgTreeControllerDeleteOrgTreeErrorResponse, OrgTreeControllerDeleteOrgTreeProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<OrgTreeControllerDeleteOrgTreeOkResponse, ErrorResponse, OrgTreeControllerDeleteOrgTreeProps, unknown>;