@harnessio/react-sei-panorama-service-client 0.21.22 → 0.22.0

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 (56) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useBaControllerCreateTeamWithFiltersMutation.d.ts +1 -0
  2. package/dist/sei-panorama-service/src/services/hooks/useBaControllerCreateTeamWithFiltersMutation.js +1 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useBaControllerDeleteTeamWithFiltersMutation.d.ts +1 -2
  4. package/dist/sei-panorama-service/src/services/hooks/useBaControllerDeleteTeamWithFiltersMutation.js +1 -0
  5. package/dist/sei-panorama-service/src/services/hooks/useBaControllerGetAllTeamsWithFiltersQuery.d.ts +1 -4
  6. package/dist/sei-panorama-service/src/services/hooks/useBaControllerGetAllTeamsWithFiltersQuery.js +1 -0
  7. package/dist/sei-panorama-service/src/services/hooks/useBaControllerGetProfileByRefIdQuery.js +1 -1
  8. package/dist/sei-panorama-service/src/services/hooks/useBaControllerGetTeamWithFiltersByIdQuery.d.ts +1 -0
  9. package/dist/sei-panorama-service/src/services/hooks/useBaControllerGetTeamWithFiltersByIdQuery.js +1 -0
  10. package/dist/sei-panorama-service/src/services/hooks/useBaControllerListProfilesQuery.d.ts +39 -0
  11. package/dist/sei-panorama-service/src/services/hooks/useBaControllerListProfilesQuery.js +14 -0
  12. package/dist/sei-panorama-service/src/services/hooks/useBaControllerUpdateTeamWithFiltersMutation.d.ts +1 -0
  13. package/dist/sei-panorama-service/src/services/hooks/useBaControllerUpdateTeamWithFiltersMutation.js +1 -0
  14. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerApproveDevelopersSaveMutation.js +1 -1
  15. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGetDeveloperSchemaQuery.d.ts +3 -3
  16. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGetDeveloperSchemaQuery.js +1 -1
  17. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerReuploadDeveloperFileMutation.d.ts +23 -0
  18. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerReuploadDeveloperFileMutation.js +14 -0
  19. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerSaveDevelopersMutation.d.ts +1 -1
  20. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerSaveDevelopersMutation.js +1 -1
  21. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerUploadDeveloperFileMutation.d.ts +3 -0
  22. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetIntegrationHealthDrillDownQuery.d.ts +19 -0
  23. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetIntegrationHealthDrillDownQuery.js +14 -0
  24. package/dist/sei-panorama-service/src/services/hooks/useMigrationControllerCreateSchemaForMigrationMutation.d.ts +16 -0
  25. package/dist/sei-panorama-service/src/services/hooks/useMigrationControllerCreateSchemaForMigrationMutation.js +14 -0
  26. package/dist/sei-panorama-service/src/services/hooks/useMigrationControllerProcessHistoricalDataForMigrationMutation.d.ts +16 -0
  27. package/dist/sei-panorama-service/src/services/hooks/useMigrationControllerProcessHistoricalDataForMigrationMutation.js +14 -0
  28. package/dist/sei-panorama-service/src/services/index.d.ts +18 -5
  29. package/dist/sei-panorama-service/src/services/index.js +5 -2
  30. package/dist/sei-panorama-service/src/services/schemas/BaProfileResponseDto.d.ts +2 -0
  31. package/dist/sei-panorama-service/src/services/schemas/DeveloperReuploadResponseDto.d.ts +26 -0
  32. package/dist/sei-panorama-service/src/services/schemas/DeveloperReuploadResponseDto.js +1 -0
  33. package/dist/sei-panorama-service/src/services/schemas/DeveloperSaveResponseDto.d.ts +0 -10
  34. package/dist/sei-panorama-service/src/services/schemas/DeveloperSchemaDto.d.ts +14 -0
  35. package/dist/sei-panorama-service/src/services/schemas/DeveloperSchemaDto.js +1 -0
  36. package/dist/sei-panorama-service/src/services/schemas/DevelopersUpdateReview.d.ts +6 -3
  37. package/dist/sei-panorama-service/src/services/schemas/IntegrationHealthDrillDownDto.d.ts +12 -0
  38. package/dist/sei-panorama-service/src/services/schemas/IntegrationHealthStatusDto.d.ts +3 -3
  39. package/dist/sei-panorama-service/src/services/schemas/IntegrationStatsDto.d.ts +4 -0
  40. package/dist/sei-panorama-service/src/services/schemas/ListResponseDtobaProfileResponseDto.d.ts +16 -0
  41. package/dist/sei-panorama-service/src/services/schemas/ListResponseDtobaProfileResponseDto.js +1 -0
  42. package/dist/sei-panorama-service/src/services/schemas/MigrationHistoricalDataRequest.d.ts +5 -0
  43. package/dist/sei-panorama-service/src/services/schemas/MigrationHistoricalDataRequest.js +4 -0
  44. package/dist/sei-panorama-service/src/services/schemas/MigrationHistoricalDataResponse.d.ts +9 -0
  45. package/dist/sei-panorama-service/src/services/schemas/MigrationHistoricalDataResponse.js +4 -0
  46. package/dist/sei-panorama-service/src/services/schemas/MigrationSchemaCreationRequest.d.ts +3 -0
  47. package/dist/sei-panorama-service/src/services/schemas/MigrationSchemaCreationRequest.js +4 -0
  48. package/dist/sei-panorama-service/src/services/schemas/MigrationSchemaCreationResponse.d.ts +7 -0
  49. package/dist/sei-panorama-service/src/services/schemas/MigrationSchemaCreationResponse.js +4 -0
  50. package/package.json +1 -1
  51. package/dist/sei-panorama-service/src/services/hooks/useBaControllerGetAllProfilesQuery.d.ts +0 -19
  52. package/dist/sei-panorama-service/src/services/hooks/useBaControllerGetAllProfilesQuery.js +0 -14
  53. package/dist/sei-panorama-service/src/services/hooks/useBaControllerGetProfileByIdQuery.d.ts +0 -25
  54. package/dist/sei-panorama-service/src/services/hooks/useBaControllerGetProfileByIdQuery.js +0 -14
  55. package/dist/sei-panorama-service/src/services/schemas/Developer.d.ts +0 -33
  56. /package/dist/sei-panorama-service/src/services/schemas/{Developer.js → IntegrationHealthDrillDownDto.js} +0 -0
@@ -18,5 +18,6 @@ export interface BaControllerCreateTeamWithFiltersProps extends Omit<FetcherOpti
18
18
  export declare function baControllerCreateTeamWithFilters(props: BaControllerCreateTeamWithFiltersProps): Promise<BaControllerCreateTeamWithFiltersOkResponse>;
19
19
  /**
20
20
  * Creates category filters and expression trees for the specified team.
21
+ * @deprecated
21
22
  */
22
23
  export declare function useBaControllerCreateTeamWithFiltersMutation(options?: Omit<UseMutationOptions<BaControllerCreateTeamWithFiltersOkResponse, BaControllerCreateTeamWithFiltersErrorResponse, BaControllerCreateTeamWithFiltersProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<BaControllerCreateTeamWithFiltersOkResponse, string, BaControllerCreateTeamWithFiltersProps, unknown>;
@@ -8,6 +8,7 @@ export function baControllerCreateTeamWithFilters(props) {
8
8
  }
9
9
  /**
10
10
  * Creates category filters and expression trees for the specified team.
11
+ * @deprecated
11
12
  */
12
13
  export function useBaControllerCreateTeamWithFiltersMutation(options) {
13
14
  return useMutation((mutateProps) => baControllerCreateTeamWithFilters(mutateProps), options);
@@ -9,8 +9,6 @@ export interface BaControllerDeleteTeamWithFiltersMutationPathParams {
9
9
  }
10
10
  export interface BaControllerDeleteTeamWithFiltersMutationQueryParams {
11
11
  account: string;
12
- projectIdentifier: string;
13
- orgIdentifier: string;
14
12
  }
15
13
  export type BaControllerDeleteTeamWithFiltersOkResponse = ResponseWithPagination<unknown>;
16
14
  export type BaControllerDeleteTeamWithFiltersErrorResponse = string;
@@ -20,5 +18,6 @@ export interface BaControllerDeleteTeamWithFiltersProps extends BaControllerDele
20
18
  export declare function baControllerDeleteTeamWithFilters(props: BaControllerDeleteTeamWithFiltersProps): Promise<BaControllerDeleteTeamWithFiltersOkResponse>;
21
19
  /**
22
20
  * Deletes all category filters and expressions for the specified team.
21
+ * @deprecated
23
22
  */
24
23
  export declare function useBaControllerDeleteTeamWithFiltersMutation(options?: Omit<UseMutationOptions<BaControllerDeleteTeamWithFiltersOkResponse, BaControllerDeleteTeamWithFiltersErrorResponse, BaControllerDeleteTeamWithFiltersProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<BaControllerDeleteTeamWithFiltersOkResponse, string, BaControllerDeleteTeamWithFiltersProps, unknown>;
@@ -8,6 +8,7 @@ export function baControllerDeleteTeamWithFilters(props) {
8
8
  }
9
9
  /**
10
10
  * Deletes all category filters and expressions for the specified team.
11
+ * @deprecated
11
12
  */
12
13
  export function useBaControllerDeleteTeamWithFiltersMutation(options) {
13
14
  return useMutation((mutateProps) => baControllerDeleteTeamWithFilters(mutateProps), options);
@@ -6,10 +6,6 @@ export interface BaControllerGetAllTeamsWithFiltersQueryQueryParams {
6
6
  account: string;
7
7
  projectIdentifier: string;
8
8
  orgIdentifier: string;
9
- /**
10
- * @format int32
11
- */
12
- profileRefId?: number;
13
9
  }
14
10
  export type BaControllerGetAllTeamsWithFiltersOkResponse = ResponseWithPagination<BaTeamWithFiltersDto[]>;
15
11
  export type BaControllerGetAllTeamsWithFiltersErrorResponse = string;
@@ -19,5 +15,6 @@ export interface BaControllerGetAllTeamsWithFiltersProps extends Omit<FetcherOpt
19
15
  export declare function baControllerGetAllTeamsWithFilters(props: BaControllerGetAllTeamsWithFiltersProps): Promise<BaControllerGetAllTeamsWithFiltersOkResponse>;
20
16
  /**
21
17
  * Retrieves all teams with their category filters and expressions.
18
+ * @deprecated
22
19
  */
23
20
  export declare function useBaControllerGetAllTeamsWithFiltersQuery(props: BaControllerGetAllTeamsWithFiltersProps, options?: Omit<UseQueryOptions<BaControllerGetAllTeamsWithFiltersOkResponse, BaControllerGetAllTeamsWithFiltersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<BaControllerGetAllTeamsWithFiltersOkResponse, string>;
@@ -8,6 +8,7 @@ export function baControllerGetAllTeamsWithFilters(props) {
8
8
  }
9
9
  /**
10
10
  * Retrieves all teams with their category filters and expressions.
11
+ * @deprecated
11
12
  */
12
13
  export function useBaControllerGetAllTeamsWithFiltersQuery(props, options) {
13
14
  return useQuery(['BAControllerGetAllTeamsWithFilters', props.queryParams], ({ signal }) => baControllerGetAllTeamsWithFilters(Object.assign(Object.assign({}, props), { signal })), options);
@@ -4,7 +4,7 @@
4
4
  import { useQuery } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
6
  export function baControllerGetProfileByRefId(props) {
7
- return fetcher(Object.assign({ url: `/v2/insights/ba/profiles/ref/${props.profileRefId}`, method: 'GET' }, props));
7
+ return fetcher(Object.assign({ url: `/v2/insights/ba/profiles/${props.profileRefId}`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
10
  * Retrieves a BA profile with its categories by refId.
@@ -21,5 +21,6 @@ export interface BaControllerGetTeamWithFiltersByIdProps extends BaControllerGet
21
21
  export declare function baControllerGetTeamWithFiltersById(props: BaControllerGetTeamWithFiltersByIdProps): Promise<BaControllerGetTeamWithFiltersByIdOkResponse>;
22
22
  /**
23
23
  * Retrieves category filters and expressions for the specified team.
24
+ * @deprecated
24
25
  */
25
26
  export declare function useBaControllerGetTeamWithFiltersByIdQuery(props: BaControllerGetTeamWithFiltersByIdProps, options?: Omit<UseQueryOptions<BaControllerGetTeamWithFiltersByIdOkResponse, BaControllerGetTeamWithFiltersByIdErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<BaControllerGetTeamWithFiltersByIdOkResponse, string>;
@@ -8,6 +8,7 @@ export function baControllerGetTeamWithFiltersById(props) {
8
8
  }
9
9
  /**
10
10
  * Retrieves category filters and expressions for the specified team.
11
+ * @deprecated
11
12
  */
12
13
  export function useBaControllerGetTeamWithFiltersByIdQuery(props, options) {
13
14
  return useQuery(['BAControllerGetTeamWithFiltersById', props.teamRefId, props.queryParams], ({ signal }) => baControllerGetTeamWithFiltersById(Object.assign(Object.assign({}, props), { signal })), options);
@@ -0,0 +1,39 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ListResponseDtobaProfileResponseDto } from '../schemas/ListResponseDtobaProfileResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface BaControllerListProfilesQueryQueryParams {
6
+ account: string;
7
+ /**
8
+ * @format int32
9
+ * @default 0
10
+ */
11
+ page?: number;
12
+ /**
13
+ * @default "NAME"
14
+ */
15
+ sortBy?: 'CREATED' | 'NAME' | 'UPDATED';
16
+ /**
17
+ * @default "ASC"
18
+ */
19
+ sortOrder?: 'ASC' | 'DESC';
20
+ /**
21
+ * @default ""
22
+ */
23
+ filter?: string;
24
+ /**
25
+ * @format int32
26
+ * @default 20
27
+ */
28
+ page_size?: number;
29
+ }
30
+ export type BaControllerListProfilesOkResponse = ResponseWithPagination<ListResponseDtobaProfileResponseDto>;
31
+ export type BaControllerListProfilesErrorResponse = string;
32
+ export interface BaControllerListProfilesProps extends Omit<FetcherOptions<BaControllerListProfilesQueryQueryParams, unknown>, 'url'> {
33
+ queryParams: BaControllerListProfilesQueryQueryParams;
34
+ }
35
+ export declare function baControllerListProfiles(props: BaControllerListProfilesProps): Promise<BaControllerListProfilesOkResponse>;
36
+ /**
37
+ * Retrieves BA profiles with their organization tree info, with pagination support.
38
+ */
39
+ export declare function useBaControllerListProfilesQuery(props: BaControllerListProfilesProps, options?: Omit<UseQueryOptions<BaControllerListProfilesOkResponse, BaControllerListProfilesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<BaControllerListProfilesOkResponse, 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 baControllerListProfiles(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ba/profiles`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieves BA profiles with their organization tree info, with pagination support.
11
+ */
12
+ export function useBaControllerListProfilesQuery(props, options) {
13
+ return useQuery(['BAControllerListProfiles', props.queryParams], ({ signal }) => baControllerListProfiles(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -18,5 +18,6 @@ export interface BaControllerUpdateTeamWithFiltersProps extends Omit<FetcherOpti
18
18
  export declare function baControllerUpdateTeamWithFilters(props: BaControllerUpdateTeamWithFiltersProps): Promise<BaControllerUpdateTeamWithFiltersOkResponse>;
19
19
  /**
20
20
  * Updates existing category filters and expressions for the specified team.
21
+ * @deprecated
21
22
  */
22
23
  export declare function useBaControllerUpdateTeamWithFiltersMutation(options?: Omit<UseMutationOptions<BaControllerUpdateTeamWithFiltersOkResponse, BaControllerUpdateTeamWithFiltersErrorResponse, BaControllerUpdateTeamWithFiltersProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<BaControllerUpdateTeamWithFiltersOkResponse, string, BaControllerUpdateTeamWithFiltersProps, unknown>;
@@ -8,6 +8,7 @@ export function baControllerUpdateTeamWithFilters(props) {
8
8
  }
9
9
  /**
10
10
  * Updates existing category filters and expressions for the specified team.
11
+ * @deprecated
11
12
  */
12
13
  export function useBaControllerUpdateTeamWithFiltersMutation(options) {
13
14
  return useMutation((mutateProps) => baControllerUpdateTeamWithFilters(mutateProps), options);
@@ -4,7 +4,7 @@
4
4
  import { useMutation } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
6
  export function developerControllerApproveDevelopersSave(props) {
7
- return fetcher(Object.assign({ url: `/v2/developers/uploads/${props.uploadId}/save/approve`, method: 'POST' }, props));
7
+ return fetcher(Object.assign({ url: `/v2/developers/uploads/${props.uploadId}/approve`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
10
  * Approves the saved developers from an upload and activates the changes
@@ -1,13 +1,13 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { DeveloperFieldDto } from '../schemas/DeveloperFieldDto';
2
+ import type { DeveloperSchemaDto } from '../schemas/DeveloperSchemaDto';
3
3
  import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
- export type DeveloperControllerGetDeveloperSchemaOkResponse = ResponseWithPagination<DeveloperFieldDto[]>;
5
+ export type DeveloperControllerGetDeveloperSchemaOkResponse = ResponseWithPagination<DeveloperSchemaDto>;
6
6
  export type DeveloperControllerGetDeveloperSchemaErrorResponse = unknown;
7
7
  export interface DeveloperControllerGetDeveloperSchemaProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
8
8
  }
9
9
  export declare function developerControllerGetDeveloperSchema(props: DeveloperControllerGetDeveloperSchemaProps): Promise<DeveloperControllerGetDeveloperSchemaOkResponse>;
10
10
  /**
11
- * Returns the latest developer field mappings (schema) for the account
11
+ * Returns the complete developer schema including field definitions and required fields for the account
12
12
  */
13
13
  export declare function useDeveloperControllerGetDeveloperSchemaQuery(props: DeveloperControllerGetDeveloperSchemaProps, options?: Omit<UseQueryOptions<DeveloperControllerGetDeveloperSchemaOkResponse, DeveloperControllerGetDeveloperSchemaErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DeveloperControllerGetDeveloperSchemaOkResponse, unknown>;
@@ -7,7 +7,7 @@ export function developerControllerGetDeveloperSchema(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/developers/schema`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
- * Returns the latest developer field mappings (schema) for the account
10
+ * Returns the complete developer schema including field definitions and required fields for the account
11
11
  */
12
12
  export function useDeveloperControllerGetDeveloperSchemaQuery(props, options) {
13
13
  return useQuery(['DeveloperControllerGetDeveloperSchema'], ({ signal }) => developerControllerGetDeveloperSchema(Object.assign(Object.assign({}, props), { signal })), options);
@@ -0,0 +1,23 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { DeveloperReuploadResponseDto } from '../schemas/DeveloperReuploadResponseDto';
3
+ import type { ErrorResponse } from '../schemas/ErrorResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface DeveloperControllerReuploadDeveloperFileMutationQueryParams {
7
+ /**
8
+ * @default "CSV"
9
+ */
10
+ fileType?: string;
11
+ }
12
+ export type DeveloperControllerReuploadDeveloperFileRequestBody = unknown;
13
+ export type DeveloperControllerReuploadDeveloperFileOkResponse = ResponseWithPagination<DeveloperReuploadResponseDto>;
14
+ export type DeveloperControllerReuploadDeveloperFileErrorResponse = ErrorResponse;
15
+ export interface DeveloperControllerReuploadDeveloperFileProps extends Omit<FetcherOptions<DeveloperControllerReuploadDeveloperFileMutationQueryParams, DeveloperControllerReuploadDeveloperFileRequestBody>, 'url'> {
16
+ queryParams: DeveloperControllerReuploadDeveloperFileMutationQueryParams;
17
+ body: DeveloperControllerReuploadDeveloperFileRequestBody;
18
+ }
19
+ export declare function developerControllerReuploadDeveloperFile(props: DeveloperControllerReuploadDeveloperFileProps): Promise<DeveloperControllerReuploadDeveloperFileOkResponse>;
20
+ /**
21
+ * Upload a new developer CSV file using existing field mappings. Returns detailed review information about affected developers and teams for approval workflow.
22
+ */
23
+ export declare function useDeveloperControllerReuploadDeveloperFileMutation(options?: Omit<UseMutationOptions<DeveloperControllerReuploadDeveloperFileOkResponse, DeveloperControllerReuploadDeveloperFileErrorResponse, DeveloperControllerReuploadDeveloperFileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerReuploadDeveloperFileOkResponse, ErrorResponse, DeveloperControllerReuploadDeveloperFileProps, 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 developerControllerReuploadDeveloperFile(props) {
7
+ return fetcher(Object.assign({ url: `/v2/developers/reupload`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Upload a new developer CSV file using existing field mappings. Returns detailed review information about affected developers and teams for approval workflow.
11
+ */
12
+ export function useDeveloperControllerReuploadDeveloperFileMutation(options) {
13
+ return useMutation((mutateProps) => developerControllerReuploadDeveloperFile(mutateProps), options);
14
+ }
@@ -17,6 +17,6 @@ export interface DeveloperControllerSaveDevelopersProps extends DeveloperControl
17
17
  }
18
18
  export declare function developerControllerSaveDevelopers(props: DeveloperControllerSaveDevelopersProps): Promise<DeveloperControllerSaveDevelopersOkResponse>;
19
19
  /**
20
- * Saves the developers from a validated upload to the database
20
+ * Saves the developers from a validated upload to the database. This is for the upload flow and does not include approval or review concepts.
21
21
  */
22
22
  export declare function useDeveloperControllerSaveDevelopersMutation(options?: Omit<UseMutationOptions<DeveloperControllerSaveDevelopersOkResponse, DeveloperControllerSaveDevelopersErrorResponse, DeveloperControllerSaveDevelopersProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerSaveDevelopersOkResponse, DeveloperSaveResponseDto, DeveloperControllerSaveDevelopersProps, unknown>;
@@ -7,7 +7,7 @@ export function developerControllerSaveDevelopers(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/developers/uploads/${props.uploadId}/save`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Saves the developers from a validated upload to the database
10
+ * Saves the developers from a validated upload to the database. This is for the upload flow and does not include approval or review concepts.
11
11
  */
12
12
  export function useDeveloperControllerSaveDevelopersMutation(options) {
13
13
  return useMutation((mutateProps) => developerControllerSaveDevelopers(mutateProps), options);
@@ -3,6 +3,9 @@ import type { DeveloperFilePreviewDto } from '../schemas/DeveloperFilePreviewDto
3
3
  import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface DeveloperControllerUploadDeveloperFileMutationQueryParams {
6
+ /**
7
+ * @default "CSV"
8
+ */
6
9
  fileType?: string;
7
10
  }
8
11
  export type DeveloperControllerUploadDeveloperFileRequestBody = unknown;
@@ -0,0 +1,19 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { IntegrationHealthDrillDownDto } from '../schemas/IntegrationHealthDrillDownDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface IntegrationStatsControllerGetIntegrationHealthDrillDownQueryQueryParams {
6
+ integrationId: string;
7
+ date: string;
8
+ account: string;
9
+ }
10
+ export type IntegrationStatsControllerGetIntegrationHealthDrillDownOkResponse = ResponseWithPagination<IntegrationHealthDrillDownDto[]>;
11
+ export type IntegrationStatsControllerGetIntegrationHealthDrillDownErrorResponse = IntegrationHealthDrillDownDto[];
12
+ export interface IntegrationStatsControllerGetIntegrationHealthDrillDownProps extends Omit<FetcherOptions<IntegrationStatsControllerGetIntegrationHealthDrillDownQueryQueryParams, unknown>, 'url'> {
13
+ queryParams: IntegrationStatsControllerGetIntegrationHealthDrillDownQueryQueryParams;
14
+ }
15
+ export declare function integrationStatsControllerGetIntegrationHealthDrillDown(props: IntegrationStatsControllerGetIntegrationHealthDrillDownProps): Promise<IntegrationStatsControllerGetIntegrationHealthDrillDownOkResponse>;
16
+ /**
17
+ * Get integration health drill-down for a specific date
18
+ */
19
+ export declare function useIntegrationStatsControllerGetIntegrationHealthDrillDownQuery(props: IntegrationStatsControllerGetIntegrationHealthDrillDownProps, options?: Omit<UseQueryOptions<IntegrationStatsControllerGetIntegrationHealthDrillDownOkResponse, IntegrationStatsControllerGetIntegrationHealthDrillDownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<IntegrationStatsControllerGetIntegrationHealthDrillDownOkResponse, IntegrationStatsControllerGetIntegrationHealthDrillDownErrorResponse>;
@@ -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 integrationStatsControllerGetIntegrationHealthDrillDown(props) {
7
+ return fetcher(Object.assign({ url: `/v2/integration-stats/health/drill-down`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get integration health drill-down for a specific date
11
+ */
12
+ export function useIntegrationStatsControllerGetIntegrationHealthDrillDownQuery(props, options) {
13
+ return useQuery(['IntegrationStatsControllerGetIntegrationHealthDrillDown', props.queryParams], ({ signal }) => integrationStatsControllerGetIntegrationHealthDrillDown(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,16 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { MigrationSchemaCreationResponse } from '../schemas/MigrationSchemaCreationResponse';
3
+ import type { MigrationSchemaCreationRequest } from '../schemas/MigrationSchemaCreationRequest';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export type MigrationControllerCreateSchemaForMigrationRequestBody = MigrationSchemaCreationRequest;
7
+ export type MigrationControllerCreateSchemaForMigrationOkResponse = ResponseWithPagination<MigrationSchemaCreationResponse>;
8
+ export type MigrationControllerCreateSchemaForMigrationErrorResponse = unknown | MigrationSchemaCreationResponse;
9
+ export interface MigrationControllerCreateSchemaForMigrationProps extends Omit<FetcherOptions<unknown, MigrationControllerCreateSchemaForMigrationRequestBody>, 'url'> {
10
+ body: MigrationControllerCreateSchemaForMigrationRequestBody;
11
+ }
12
+ export declare function migrationControllerCreateSchemaForMigration(props: MigrationControllerCreateSchemaForMigrationProps): Promise<MigrationControllerCreateSchemaForMigrationOkResponse>;
13
+ /**
14
+ * Creates Iceberg tables and materialized views for a specific account ID as part of the migration from SEI 1.0 to SEI 2.0
15
+ */
16
+ export declare function useMigrationControllerCreateSchemaForMigrationMutation(options?: Omit<UseMutationOptions<MigrationControllerCreateSchemaForMigrationOkResponse, MigrationControllerCreateSchemaForMigrationErrorResponse, MigrationControllerCreateSchemaForMigrationProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<MigrationControllerCreateSchemaForMigrationOkResponse, unknown, MigrationControllerCreateSchemaForMigrationProps, 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 migrationControllerCreateSchemaForMigration(props) {
7
+ return fetcher(Object.assign({ url: `/v2/migration/schema/create`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Creates Iceberg tables and materialized views for a specific account ID as part of the migration from SEI 1.0 to SEI 2.0
11
+ */
12
+ export function useMigrationControllerCreateSchemaForMigrationMutation(options) {
13
+ return useMutation((mutateProps) => migrationControllerCreateSchemaForMigration(mutateProps), options);
14
+ }
@@ -0,0 +1,16 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { MigrationHistoricalDataResponse } from '../schemas/MigrationHistoricalDataResponse';
3
+ import type { MigrationHistoricalDataRequest } from '../schemas/MigrationHistoricalDataRequest';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export type MigrationControllerProcessHistoricalDataForMigrationRequestBody = MigrationHistoricalDataRequest;
7
+ export type MigrationControllerProcessHistoricalDataForMigrationOkResponse = ResponseWithPagination<MigrationHistoricalDataResponse>;
8
+ export type MigrationControllerProcessHistoricalDataForMigrationErrorResponse = unknown | MigrationHistoricalDataResponse;
9
+ export interface MigrationControllerProcessHistoricalDataForMigrationProps extends Omit<FetcherOptions<unknown, MigrationControllerProcessHistoricalDataForMigrationRequestBody>, 'url'> {
10
+ body: MigrationControllerProcessHistoricalDataForMigrationRequestBody;
11
+ }
12
+ export declare function migrationControllerProcessHistoricalDataForMigration(props: MigrationControllerProcessHistoricalDataForMigrationProps): Promise<MigrationControllerProcessHistoricalDataForMigrationOkResponse>;
13
+ /**
14
+ * Triggers historical data reprocessing for specific integrations as part of the migration from SEI 1.0 to SEI 2.0
15
+ */
16
+ export declare function useMigrationControllerProcessHistoricalDataForMigrationMutation(options?: Omit<UseMutationOptions<MigrationControllerProcessHistoricalDataForMigrationOkResponse, MigrationControllerProcessHistoricalDataForMigrationErrorResponse, MigrationControllerProcessHistoricalDataForMigrationProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<MigrationControllerProcessHistoricalDataForMigrationOkResponse, unknown, MigrationControllerProcessHistoricalDataForMigrationProps, 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 migrationControllerProcessHistoricalDataForMigration(props) {
7
+ return fetcher(Object.assign({ url: `/v2/migration/historical-data/process`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Triggers historical data reprocessing for specific integrations as part of the migration from SEI 1.0 to SEI 2.0
11
+ */
12
+ export function useMigrationControllerProcessHistoricalDataForMigrationMutation(options) {
13
+ return useMutation((mutateProps) => migrationControllerProcessHistoricalDataForMigration(mutateProps), options);
14
+ }
@@ -9,12 +9,8 @@ export type { BaControllerDeleteTeamWithFiltersErrorResponse, BaControllerDelete
9
9
  export { baControllerDeleteTeamWithFilters, useBaControllerDeleteTeamWithFiltersMutation, } from './hooks/useBaControllerDeleteTeamWithFiltersMutation';
10
10
  export type { BaControllerDrilldownDataErrorResponse, BaControllerDrilldownDataOkResponse, BaControllerDrilldownDataProps, BaControllerDrilldownDataQueryQueryParams, BaControllerDrilldownDataRequestBody, } from './hooks/useBaControllerDrilldownDataQuery';
11
11
  export { baControllerDrilldownData, useBaControllerDrilldownDataQuery, } from './hooks/useBaControllerDrilldownDataQuery';
12
- export type { BaControllerGetAllProfilesErrorResponse, BaControllerGetAllProfilesOkResponse, BaControllerGetAllProfilesProps, BaControllerGetAllProfilesQueryQueryParams, } from './hooks/useBaControllerGetAllProfilesQuery';
13
- export { baControllerGetAllProfiles, useBaControllerGetAllProfilesQuery, } from './hooks/useBaControllerGetAllProfilesQuery';
14
12
  export type { BaControllerGetAllTeamsWithFiltersErrorResponse, BaControllerGetAllTeamsWithFiltersOkResponse, BaControllerGetAllTeamsWithFiltersProps, BaControllerGetAllTeamsWithFiltersQueryQueryParams, } from './hooks/useBaControllerGetAllTeamsWithFiltersQuery';
15
13
  export { baControllerGetAllTeamsWithFilters, useBaControllerGetAllTeamsWithFiltersQuery, } from './hooks/useBaControllerGetAllTeamsWithFiltersQuery';
16
- export type { BaControllerGetProfileByIdErrorResponse, BaControllerGetProfileByIdOkResponse, BaControllerGetProfileByIdProps, BaControllerGetProfileByIdQueryPathParams, BaControllerGetProfileByIdQueryQueryParams, } from './hooks/useBaControllerGetProfileByIdQuery';
17
- export { baControllerGetProfileById, useBaControllerGetProfileByIdQuery, } from './hooks/useBaControllerGetProfileByIdQuery';
18
14
  export type { BaControllerGetProfileByRefIdErrorResponse, BaControllerGetProfileByRefIdOkResponse, BaControllerGetProfileByRefIdProps, BaControllerGetProfileByRefIdQueryPathParams, BaControllerGetProfileByRefIdQueryQueryParams, } from './hooks/useBaControllerGetProfileByRefIdQuery';
19
15
  export { baControllerGetProfileByRefId, useBaControllerGetProfileByRefIdQuery, } from './hooks/useBaControllerGetProfileByRefIdQuery';
20
16
  export type { BaControllerGetTeamWithFiltersByIdErrorResponse, BaControllerGetTeamWithFiltersByIdOkResponse, BaControllerGetTeamWithFiltersByIdProps, BaControllerGetTeamWithFiltersByIdQueryPathParams, BaControllerGetTeamWithFiltersByIdQueryQueryParams, } from './hooks/useBaControllerGetTeamWithFiltersByIdQuery';
@@ -25,6 +21,8 @@ export type { BaControllerInsightMetricsErrorResponse, BaControllerInsightMetric
25
21
  export { baControllerInsightMetrics, useBaControllerInsightMetricsQuery, } from './hooks/useBaControllerInsightMetricsQuery';
26
22
  export type { BaControllerInsightSummaryErrorResponse, BaControllerInsightSummaryOkResponse, BaControllerInsightSummaryProps, BaControllerInsightSummaryQueryQueryParams, BaControllerInsightSummaryRequestBody, } from './hooks/useBaControllerInsightSummaryQuery';
27
23
  export { baControllerInsightSummary, useBaControllerInsightSummaryQuery, } from './hooks/useBaControllerInsightSummaryQuery';
24
+ export type { BaControllerListProfilesErrorResponse, BaControllerListProfilesOkResponse, BaControllerListProfilesProps, BaControllerListProfilesQueryQueryParams, } from './hooks/useBaControllerListProfilesQuery';
25
+ export { baControllerListProfiles, useBaControllerListProfilesQuery, } from './hooks/useBaControllerListProfilesQuery';
28
26
  export type { BaControllerUpdateProfileErrorResponse, BaControllerUpdateProfileMutationPathParams, BaControllerUpdateProfileMutationQueryParams, BaControllerUpdateProfileOkResponse, BaControllerUpdateProfileProps, BaControllerUpdateProfileRequestBody, } from './hooks/useBaControllerUpdateProfileMutation';
29
27
  export { baControllerUpdateProfile, useBaControllerUpdateProfileMutation, } from './hooks/useBaControllerUpdateProfileMutation';
30
28
  export type { BaControllerUpdateTeamWithFiltersErrorResponse, BaControllerUpdateTeamWithFiltersMutationQueryParams, BaControllerUpdateTeamWithFiltersOkResponse, BaControllerUpdateTeamWithFiltersProps, BaControllerUpdateTeamWithFiltersRequestBody, } from './hooks/useBaControllerUpdateTeamWithFiltersMutation';
@@ -69,6 +67,8 @@ export type { DeveloperControllerGetLatestDeveloperSchemaErrorResponse, Develope
69
67
  export { developerControllerGetLatestDeveloperSchema, useDeveloperControllerGetLatestDeveloperSchemaQuery, } from './hooks/useDeveloperControllerGetLatestDeveloperSchemaQuery';
70
68
  export type { DeveloperControllerGroupDevelopersErrorResponse, DeveloperControllerGroupDevelopersMutationQueryParams, DeveloperControllerGroupDevelopersOkResponse, DeveloperControllerGroupDevelopersProps, DeveloperControllerGroupDevelopersRequestBody, } from './hooks/useDeveloperControllerGroupDevelopersMutation';
71
69
  export { developerControllerGroupDevelopers, useDeveloperControllerGroupDevelopersMutation, } from './hooks/useDeveloperControllerGroupDevelopersMutation';
70
+ export type { DeveloperControllerReuploadDeveloperFileErrorResponse, DeveloperControllerReuploadDeveloperFileMutationQueryParams, DeveloperControllerReuploadDeveloperFileOkResponse, DeveloperControllerReuploadDeveloperFileProps, DeveloperControllerReuploadDeveloperFileRequestBody, } from './hooks/useDeveloperControllerReuploadDeveloperFileMutation';
71
+ export { developerControllerReuploadDeveloperFile, useDeveloperControllerReuploadDeveloperFileMutation, } from './hooks/useDeveloperControllerReuploadDeveloperFileMutation';
72
72
  export type { DeveloperControllerSaveDevelopersErrorResponse, DeveloperControllerSaveDevelopersMutationPathParams, DeveloperControllerSaveDevelopersOkResponse, DeveloperControllerSaveDevelopersProps, DeveloperControllerSaveDevelopersRequestBody, } from './hooks/useDeveloperControllerSaveDevelopersMutation';
73
73
  export { developerControllerSaveDevelopers, useDeveloperControllerSaveDevelopersMutation, } from './hooks/useDeveloperControllerSaveDevelopersMutation';
74
74
  export type { DeveloperControllerSearchDevelopersErrorResponse, DeveloperControllerSearchDevelopersOkResponse, DeveloperControllerSearchDevelopersProps, DeveloperControllerSearchDevelopersQueryQueryParams, DeveloperControllerSearchDevelopersRequestBody, } from './hooks/useDeveloperControllerSearchDevelopersQuery';
@@ -165,6 +165,8 @@ export type { IntegrationStatsControllerGetImProjectsCountErrorResponse, Integra
165
165
  export { integrationStatsControllerGetImProjectsCount, useIntegrationStatsControllerGetImProjectsCountQuery, } from './hooks/useIntegrationStatsControllerGetImProjectsCountQuery';
166
166
  export type { IntegrationStatsControllerGetImTicketsCountErrorResponse, IntegrationStatsControllerGetImTicketsCountOkResponse, IntegrationStatsControllerGetImTicketsCountProps, IntegrationStatsControllerGetImTicketsCountQueryQueryParams, } from './hooks/useIntegrationStatsControllerGetImTicketsCountQuery';
167
167
  export { integrationStatsControllerGetImTicketsCount, useIntegrationStatsControllerGetImTicketsCountQuery, } from './hooks/useIntegrationStatsControllerGetImTicketsCountQuery';
168
+ export type { IntegrationStatsControllerGetIntegrationHealthDrillDownErrorResponse, IntegrationStatsControllerGetIntegrationHealthDrillDownOkResponse, IntegrationStatsControllerGetIntegrationHealthDrillDownProps, IntegrationStatsControllerGetIntegrationHealthDrillDownQueryQueryParams, } from './hooks/useIntegrationStatsControllerGetIntegrationHealthDrillDownQuery';
169
+ export { integrationStatsControllerGetIntegrationHealthDrillDown, useIntegrationStatsControllerGetIntegrationHealthDrillDownQuery, } from './hooks/useIntegrationStatsControllerGetIntegrationHealthDrillDownQuery';
168
170
  export type { IntegrationStatsControllerGetIntegrationHealthErrorResponse, IntegrationStatsControllerGetIntegrationHealthOkResponse, IntegrationStatsControllerGetIntegrationHealthProps, IntegrationStatsControllerGetIntegrationHealthQueryQueryParams, } from './hooks/useIntegrationStatsControllerGetIntegrationHealthQuery';
169
171
  export { integrationStatsControllerGetIntegrationHealth, useIntegrationStatsControllerGetIntegrationHealthQuery, } from './hooks/useIntegrationStatsControllerGetIntegrationHealthQuery';
170
172
  export type { IntegrationStatsControllerGetScmCommitsCountErrorResponse, IntegrationStatsControllerGetScmCommitsCountOkResponse, IntegrationStatsControllerGetScmCommitsCountProps, IntegrationStatsControllerGetScmCommitsCountQueryQueryParams, IntegrationStatsControllerGetScmCommitsCountRequestBody, } from './hooks/useIntegrationStatsControllerGetScmCommitsCountQuery';
@@ -195,6 +197,10 @@ export type { LicenseControllerGetMonthlyDeveloperCountsErrorResponse, LicenseCo
195
197
  export { licenseControllerGetMonthlyDeveloperCounts, useLicenseControllerGetMonthlyDeveloperCountsQuery, } from './hooks/useLicenseControllerGetMonthlyDeveloperCountsQuery';
196
198
  export type { LicenseControllerListLicensesErrorResponse, LicenseControllerListLicensesOkResponse, LicenseControllerListLicensesProps, LicenseControllerListLicensesQueryQueryParams, LicenseControllerListLicensesRequestBody, } from './hooks/useLicenseControllerListLicensesQuery';
197
199
  export { licenseControllerListLicenses, useLicenseControllerListLicensesQuery, } from './hooks/useLicenseControllerListLicensesQuery';
200
+ export type { MigrationControllerCreateSchemaForMigrationErrorResponse, MigrationControllerCreateSchemaForMigrationOkResponse, MigrationControllerCreateSchemaForMigrationProps, MigrationControllerCreateSchemaForMigrationRequestBody, } from './hooks/useMigrationControllerCreateSchemaForMigrationMutation';
201
+ export { migrationControllerCreateSchemaForMigration, useMigrationControllerCreateSchemaForMigrationMutation, } from './hooks/useMigrationControllerCreateSchemaForMigrationMutation';
202
+ export type { MigrationControllerProcessHistoricalDataForMigrationErrorResponse, MigrationControllerProcessHistoricalDataForMigrationOkResponse, MigrationControllerProcessHistoricalDataForMigrationProps, MigrationControllerProcessHistoricalDataForMigrationRequestBody, } from './hooks/useMigrationControllerProcessHistoricalDataForMigrationMutation';
203
+ export { migrationControllerProcessHistoricalDataForMigration, useMigrationControllerProcessHistoricalDataForMigrationMutation, } from './hooks/useMigrationControllerProcessHistoricalDataForMigrationMutation';
198
204
  export type { OrgTreeControllerCreateOrgTreeErrorResponse, OrgTreeControllerCreateOrgTreeMutationQueryParams, OrgTreeControllerCreateOrgTreeOkResponse, OrgTreeControllerCreateOrgTreeProps, OrgTreeControllerCreateOrgTreeRequestBody, } from './hooks/useOrgTreeControllerCreateOrgTreeMutation';
199
205
  export { orgTreeControllerCreateOrgTree, useOrgTreeControllerCreateOrgTreeMutation, } from './hooks/useOrgTreeControllerCreateOrgTreeMutation';
200
206
  export type { OrgTreeControllerDeleteOrgTreeErrorResponse, OrgTreeControllerDeleteOrgTreeMutationPathParams, OrgTreeControllerDeleteOrgTreeOkResponse, OrgTreeControllerDeleteOrgTreeProps, } from './hooks/useOrgTreeControllerDeleteOrgTreeMutation';
@@ -320,14 +326,15 @@ export type { DataPointDeploymentFrequency } from './schemas/DataPointDeployment
320
326
  export type { DbListResponseCategory } from './schemas/DbListResponseCategory';
321
327
  export type { DbListResponseCollectionTree } from './schemas/DbListResponseCollectionTree';
322
328
  export type { DeploymentInfo } from './schemas/DeploymentInfo';
323
- export type { Developer } from './schemas/Developer';
324
329
  export type { DeveloperCloudIdMapping } from './schemas/DeveloperCloudIdMapping';
325
330
  export type { DeveloperFieldDto } from './schemas/DeveloperFieldDto';
326
331
  export type { DeveloperFilePreviewDto } from './schemas/DeveloperFilePreviewDto';
327
332
  export type { DeveloperInfo } from './schemas/DeveloperInfo';
328
333
  export type { DeveloperLicenseDto } from './schemas/DeveloperLicenseDto';
329
334
  export type { DeveloperListResponseDto } from './schemas/DeveloperListResponseDto';
335
+ export type { DeveloperReuploadResponseDto } from './schemas/DeveloperReuploadResponseDto';
330
336
  export type { DeveloperSaveResponseDto } from './schemas/DeveloperSaveResponseDto';
337
+ export type { DeveloperSchemaDto } from './schemas/DeveloperSchemaDto';
331
338
  export type { DeveloperSearchParams } from './schemas/DeveloperSearchParams';
332
339
  export type { DeveloperUpsertResponseDto } from './schemas/DeveloperUpsertResponseDto';
333
340
  export type { DeveloperValidationErrorDto } from './schemas/DeveloperValidationErrorDto';
@@ -388,6 +395,7 @@ export type { IndividualDrilldownDataV3 } from './schemas/IndividualDrilldownDat
388
395
  export type { Integration } from './schemas/Integration';
389
396
  export type { IntegrationConfigRequestDto } from './schemas/IntegrationConfigRequestDto';
390
397
  export type { IntegrationConfigResponseDto } from './schemas/IntegrationConfigResponseDto';
398
+ export type { IntegrationHealthDrillDownDto } from './schemas/IntegrationHealthDrillDownDto';
391
399
  export type { IntegrationHealthStatusDto } from './schemas/IntegrationHealthStatusDto';
392
400
  export type { IntegrationIdsDto } from './schemas/IntegrationIdsDto';
393
401
  export type { IntegrationObject } from './schemas/IntegrationObject';
@@ -409,9 +417,14 @@ export type { ListResponseDtoIntegrationConfigResponseDto } from './schemas/List
409
417
  export type { ListResponseDtoIntegrationResponseDto } from './schemas/ListResponseDtoIntegrationResponseDto';
410
418
  export type { ListResponseDtoOrgTreeResponseDto } from './schemas/ListResponseDtoOrgTreeResponseDto';
411
419
  export type { ListResponseDtoProductivityProfileResponseDto } from './schemas/ListResponseDtoProductivityProfileResponseDto';
420
+ export type { ListResponseDtobaProfileResponseDto } from './schemas/ListResponseDtobaProfileResponseDto';
412
421
  export type { LtcConfigurationDto } from './schemas/LtcConfigurationDto';
413
422
  export type { LtcStageDto } from './schemas/LtcStageDto';
414
423
  export type { Metric } from './schemas/Metric';
424
+ export type { MigrationHistoricalDataRequest } from './schemas/MigrationHistoricalDataRequest';
425
+ export type { MigrationHistoricalDataResponse } from './schemas/MigrationHistoricalDataResponse';
426
+ export type { MigrationSchemaCreationRequest } from './schemas/MigrationSchemaCreationRequest';
427
+ export type { MigrationSchemaCreationResponse } from './schemas/MigrationSchemaCreationResponse';
415
428
  export type { MinimalDeveloperDto } from './schemas/MinimalDeveloperDto';
416
429
  export type { MinimalOrgTree } from './schemas/MinimalOrgTree';
417
430
  export type { MinimalTeamHierarchyResponseDto } from './schemas/MinimalTeamHierarchyResponseDto';
@@ -3,14 +3,13 @@ export { baControllerCreateTeamWithFilters, useBaControllerCreateTeamWithFilters
3
3
  export { baControllerDeleteProfile, useBaControllerDeleteProfileMutation, } from './hooks/useBaControllerDeleteProfileMutation';
4
4
  export { baControllerDeleteTeamWithFilters, useBaControllerDeleteTeamWithFiltersMutation, } from './hooks/useBaControllerDeleteTeamWithFiltersMutation';
5
5
  export { baControllerDrilldownData, useBaControllerDrilldownDataQuery, } from './hooks/useBaControllerDrilldownDataQuery';
6
- export { baControllerGetAllProfiles, useBaControllerGetAllProfilesQuery, } from './hooks/useBaControllerGetAllProfilesQuery';
7
6
  export { baControllerGetAllTeamsWithFilters, useBaControllerGetAllTeamsWithFiltersQuery, } from './hooks/useBaControllerGetAllTeamsWithFiltersQuery';
8
- export { baControllerGetProfileById, useBaControllerGetProfileByIdQuery, } from './hooks/useBaControllerGetProfileByIdQuery';
9
7
  export { baControllerGetProfileByRefId, useBaControllerGetProfileByRefIdQuery, } from './hooks/useBaControllerGetProfileByRefIdQuery';
10
8
  export { baControllerGetTeamWithFiltersById, useBaControllerGetTeamWithFiltersByIdQuery, } from './hooks/useBaControllerGetTeamWithFiltersByIdQuery';
11
9
  export { baControllerInsightBreakdown, useBaControllerInsightBreakdownQuery, } from './hooks/useBaControllerInsightBreakdownQuery';
12
10
  export { baControllerInsightMetrics, useBaControllerInsightMetricsQuery, } from './hooks/useBaControllerInsightMetricsQuery';
13
11
  export { baControllerInsightSummary, useBaControllerInsightSummaryQuery, } from './hooks/useBaControllerInsightSummaryQuery';
12
+ export { baControllerListProfiles, useBaControllerListProfilesQuery, } from './hooks/useBaControllerListProfilesQuery';
14
13
  export { baControllerUpdateProfile, useBaControllerUpdateProfileMutation, } from './hooks/useBaControllerUpdateProfileMutation';
15
14
  export { baControllerUpdateTeamWithFilters, useBaControllerUpdateTeamWithFiltersMutation, } from './hooks/useBaControllerUpdateTeamWithFiltersMutation';
16
15
  export { cacheControllerClearAccountCategoriesCache, useCacheControllerClearAccountCategoriesCacheMutation, } from './hooks/useCacheControllerClearAccountCategoriesCacheMutation';
@@ -33,6 +32,7 @@ export { developerControllerGetDevelopers, useDeveloperControllerGetDevelopersQu
33
32
  export { developerControllerGetDistinctDeveloperAttributeValues, useDeveloperControllerGetDistinctDeveloperAttributeValuesQuery, } from './hooks/useDeveloperControllerGetDistinctDeveloperAttributeValuesQuery';
34
33
  export { developerControllerGetLatestDeveloperSchema, useDeveloperControllerGetLatestDeveloperSchemaQuery, } from './hooks/useDeveloperControllerGetLatestDeveloperSchemaQuery';
35
34
  export { developerControllerGroupDevelopers, useDeveloperControllerGroupDevelopersMutation, } from './hooks/useDeveloperControllerGroupDevelopersMutation';
35
+ export { developerControllerReuploadDeveloperFile, useDeveloperControllerReuploadDeveloperFileMutation, } from './hooks/useDeveloperControllerReuploadDeveloperFileMutation';
36
36
  export { developerControllerSaveDevelopers, useDeveloperControllerSaveDevelopersMutation, } from './hooks/useDeveloperControllerSaveDevelopersMutation';
37
37
  export { developerControllerSearchDevelopers, useDeveloperControllerSearchDevelopersQuery, } from './hooks/useDeveloperControllerSearchDevelopersQuery';
38
38
  export { developerControllerUpdateDeveloper, useDeveloperControllerUpdateDeveloperMutation, } from './hooks/useDeveloperControllerUpdateDeveloperMutation';
@@ -81,6 +81,7 @@ export { integrationStatsControllerGetCicdJobsCount, useIntegrationStatsControll
81
81
  export { integrationStatsControllerGetCicdPipelinesCount, useIntegrationStatsControllerGetCicdPipelinesCountQuery, } from './hooks/useIntegrationStatsControllerGetCicdPipelinesCountQuery';
82
82
  export { integrationStatsControllerGetImProjectsCount, useIntegrationStatsControllerGetImProjectsCountQuery, } from './hooks/useIntegrationStatsControllerGetImProjectsCountQuery';
83
83
  export { integrationStatsControllerGetImTicketsCount, useIntegrationStatsControllerGetImTicketsCountQuery, } from './hooks/useIntegrationStatsControllerGetImTicketsCountQuery';
84
+ export { integrationStatsControllerGetIntegrationHealthDrillDown, useIntegrationStatsControllerGetIntegrationHealthDrillDownQuery, } from './hooks/useIntegrationStatsControllerGetIntegrationHealthDrillDownQuery';
84
85
  export { integrationStatsControllerGetIntegrationHealth, useIntegrationStatsControllerGetIntegrationHealthQuery, } from './hooks/useIntegrationStatsControllerGetIntegrationHealthQuery';
85
86
  export { integrationStatsControllerGetScmCommitsCount, useIntegrationStatsControllerGetScmCommitsCountQuery, } from './hooks/useIntegrationStatsControllerGetScmCommitsCountQuery';
86
87
  export { integrationStatsControllerGetScmPrsCount, useIntegrationStatsControllerGetScmPrsCountQuery, } from './hooks/useIntegrationStatsControllerGetScmPrsCountQuery';
@@ -96,6 +97,8 @@ export { licenseControllerDownloadLicenses, useLicenseControllerDownloadLicenses
96
97
  export { licenseControllerGetDailyDeveloperCounts, useLicenseControllerGetDailyDeveloperCountsQuery, } from './hooks/useLicenseControllerGetDailyDeveloperCountsQuery';
97
98
  export { licenseControllerGetMonthlyDeveloperCounts, useLicenseControllerGetMonthlyDeveloperCountsQuery, } from './hooks/useLicenseControllerGetMonthlyDeveloperCountsQuery';
98
99
  export { licenseControllerListLicenses, useLicenseControllerListLicensesQuery, } from './hooks/useLicenseControllerListLicensesQuery';
100
+ export { migrationControllerCreateSchemaForMigration, useMigrationControllerCreateSchemaForMigrationMutation, } from './hooks/useMigrationControllerCreateSchemaForMigrationMutation';
101
+ export { migrationControllerProcessHistoricalDataForMigration, useMigrationControllerProcessHistoricalDataForMigrationMutation, } from './hooks/useMigrationControllerProcessHistoricalDataForMigrationMutation';
99
102
  export { orgTreeControllerCreateOrgTree, useOrgTreeControllerCreateOrgTreeMutation, } from './hooks/useOrgTreeControllerCreateOrgTreeMutation';
100
103
  export { orgTreeControllerDeleteOrgTree, useOrgTreeControllerDeleteOrgTreeMutation, } from './hooks/useOrgTreeControllerDeleteOrgTreeMutation';
101
104
  export { orgTreeControllerGetBusinessAlignmentProfileRefId, useOrgTreeControllerGetBusinessAlignmentProfileRefIdQuery, } from './hooks/useOrgTreeControllerGetBusinessAlignmentProfileRefIdQuery';
@@ -1,4 +1,5 @@
1
1
  import type { BaCategoryDto } from '../schemas/BaCategoryDto';
2
+ import type { MinimalOrgTree } from '../schemas/MinimalOrgTree';
2
3
  export interface BaProfileResponseDto {
3
4
  categories?: BaCategoryDto[];
4
5
  /**
@@ -11,6 +12,7 @@ export interface BaProfileResponseDto {
11
12
  */
12
13
  id?: string;
13
14
  name?: string;
15
+ orgTrees?: MinimalOrgTree[];
14
16
  /**
15
17
  * @format int32
16
18
  */
@@ -0,0 +1,26 @@
1
+ import type { DeveloperValidationErrorDto } from '../schemas/DeveloperValidationErrorDto';
2
+ import type { DevelopersUpdateReview } from '../schemas/DevelopersUpdateReview';
3
+ import type { DeveloperSchemaDto } from '../schemas/DeveloperSchemaDto';
4
+ /**
5
+ * Response for saving developers from an upload
6
+ */
7
+ export interface DeveloperReuploadResponseDto {
8
+ /**
9
+ * Validation errors found in the data
10
+ */
11
+ errors?: DeveloperValidationErrorDto[];
12
+ /**
13
+ * Review of developers updated
14
+ */
15
+ review?: DevelopersUpdateReview;
16
+ schema?: DeveloperSchemaDto;
17
+ /**
18
+ * Status message
19
+ */
20
+ status?: 'FAILURE' | 'SUCCESS';
21
+ /**
22
+ * ID of the developer upload
23
+ * @format int32
24
+ */
25
+ uploadId?: number;
26
+ }
@@ -1,6 +1,4 @@
1
1
  import type { DeveloperValidationErrorDto } from '../schemas/DeveloperValidationErrorDto';
2
- import type { DeveloperFieldDto } from '../schemas/DeveloperFieldDto';
3
- import type { DevelopersUpdateReview } from '../schemas/DevelopersUpdateReview';
4
2
  /**
5
3
  * Response for saving developers from an upload
6
4
  */
@@ -9,20 +7,12 @@ export interface DeveloperSaveResponseDto {
9
7
  * Validation errors found in the data
10
8
  */
11
9
  errors?: DeveloperValidationErrorDto[];
12
- /**
13
- * Available developer fields and their metadata
14
- */
15
- fields?: DeveloperFieldDto[];
16
10
  /**
17
11
  * Number of invalid records
18
12
  * @format int32
19
13
  * @deprecated
20
14
  */
21
15
  invalidRecords?: number;
22
- /**
23
- * Review of developers updated
24
- */
25
- review?: DevelopersUpdateReview;
26
16
  /**
27
17
  * Number of records successfully saved
28
18
  * @format int32
@@ -0,0 +1,14 @@
1
+ import type { DeveloperFieldDto } from '../schemas/DeveloperFieldDto';
2
+ /**
3
+ * Complete developer schema with field definitions and requirements
4
+ */
5
+ export interface DeveloperSchemaDto {
6
+ /**
7
+ * List of all available developer field definitions with their metadata
8
+ */
9
+ fields?: DeveloperFieldDto[];
10
+ /**
11
+ * List of field names that are required for developer records
12
+ */
13
+ requiredFields?: string[];
14
+ }
@@ -1,4 +1,3 @@
1
- import type { Developer } from '../schemas/Developer';
2
1
  import type { TeamInfo } from '../schemas/TeamInfo';
3
2
  /**
4
3
  * Review summary of developer and team changes
@@ -7,7 +6,9 @@ export interface DevelopersUpdateReview {
7
6
  /**
8
7
  * Developers that were added
9
8
  */
10
- addedDevs?: Developer[];
9
+ addedDevs?: Array<{
10
+ [key: string]: string;
11
+ }>;
11
12
  /**
12
13
  * Leaf teams that were added due to developer changes
13
14
  */
@@ -15,7 +16,9 @@ export interface DevelopersUpdateReview {
15
16
  /**
16
17
  * Developers that were deleted
17
18
  */
18
- deletedDevs?: Developer[];
19
+ deletedDevs?: Array<{
20
+ [key: string]: string;
21
+ }>;
19
22
  /**
20
23
  * Leaf teams that were deleted due to developer changes
21
24
  */
@@ -0,0 +1,12 @@
1
+ export interface IntegrationHealthDrillDownDto {
2
+ errorCategory?: string;
3
+ jobId?: string;
4
+ /**
5
+ * @format int32
6
+ */
7
+ retries?: number;
8
+ scanRangeTime?: string;
9
+ status?: string;
10
+ taskStartTime?: string;
11
+ timeToComplete?: string;
12
+ }
@@ -1,13 +1,13 @@
1
1
  export interface IntegrationHealthStatusDto {
2
+ date?: string;
2
3
  /**
3
4
  * @format int32
4
5
  */
5
- completedJobs?: number;
6
- date?: string;
6
+ failedJobs?: number;
7
7
  /**
8
8
  * @format int32
9
9
  */
10
- failedJobs?: number;
10
+ pendingJobs?: number;
11
11
  status?: string;
12
12
  /**
13
13
  * @format int32
@@ -6,4 +6,8 @@ export interface IntegrationStatsDto {
6
6
  count?: number;
7
7
  dailyCounts?: DailyCountDataPoint[];
8
8
  integrationId?: string;
9
+ /**
10
+ * @format int64
11
+ */
12
+ totalCount?: number;
9
13
  }
@@ -0,0 +1,16 @@
1
+ import type { BaProfileResponseDto } from '../schemas/BaProfileResponseDto';
2
+ export interface ListResponseDtobaProfileResponseDto {
3
+ /**
4
+ * @format int32
5
+ */
6
+ pageIndex?: number;
7
+ /**
8
+ * @format int32
9
+ */
10
+ pageSize?: number;
11
+ records?: BaProfileResponseDto[];
12
+ /**
13
+ * @format int32
14
+ */
15
+ totalCount?: number;
16
+ }
@@ -0,0 +1,5 @@
1
+ export interface MigrationHistoricalDataRequest {
2
+ accountId: string;
3
+ excludeIntegrationIds?: string[];
4
+ integrationIds?: string[];
5
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,9 @@
1
+ export interface MigrationHistoricalDataResponse {
2
+ accountId?: string;
3
+ excludedIntegrationIds?: string[];
4
+ jobStatus?: string;
5
+ message?: string;
6
+ onboardingApiResponse?: string;
7
+ processedIntegrationIds?: string[];
8
+ tenantId?: string;
9
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,3 @@
1
+ export interface MigrationSchemaCreationRequest {
2
+ accountId: string;
3
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,7 @@
1
+ export interface MigrationSchemaCreationResponse {
2
+ accountId?: string;
3
+ jobStatus?: string;
4
+ message?: string;
5
+ temporalResponse?: string;
6
+ tenantId?: string;
7
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.21.22",
3
+ "version": "0.22.0",
4
4
  "description": "Harness React sei panorama service client - SEI Panorama APIs integrated with react hooks for Panorama project",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,19 +0,0 @@
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>;
@@ -1,14 +0,0 @@
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
- }
@@ -1,25 +0,0 @@
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>;
@@ -1,14 +0,0 @@
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/id/${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
- }
@@ -1,33 +0,0 @@
1
- export interface Developer {
2
- attributes?: {
3
- [key: string]: string;
4
- };
5
- /**
6
- * @format date-time
7
- */
8
- createdAt?: string;
9
- createdByEmail?: string;
10
- email?: string;
11
- /**
12
- * @format int32
13
- */
14
- id?: number;
15
- /**
16
- * @format int32
17
- */
18
- managerRefId?: number;
19
- name?: string;
20
- /**
21
- * @format int32
22
- */
23
- refId?: number;
24
- /**
25
- * @format date-time
26
- */
27
- updatedAt?: string;
28
- updatedByEmail?: string;
29
- /**
30
- * @format int32
31
- */
32
- versionId?: number;
33
- }