@harnessio/react-sei-panorama-service-client 0.23.2 → 0.23.4

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 (50) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetCicdJobRunsCountQuery.d.ts +18 -0
  2. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetCicdJobRunsCountQuery.js +14 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation.d.ts +20 -0
  4. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation.js +14 -0
  5. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetCicdJobsCountWithDateRangeMutation.d.ts +20 -0
  6. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetCicdJobsCountWithDateRangeMutation.js +14 -0
  7. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsControllerGetSprintListQuery.d.ts +17 -0
  8. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsControllerGetSprintListQuery.js +14 -0
  9. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsControllerSearchSprintTicketsQuery.js +1 -1
  10. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerAssociateDevelopersToTeamMutation.d.ts +22 -0
  11. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerAssociateDevelopersToTeamMutation.js +14 -0
  12. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerDisassociateDevelopersFromTeamMutation.d.ts +19 -0
  13. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerDisassociateDevelopersFromTeamMutation.js +14 -0
  14. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetDevelopersNotInTeamQuery.d.ts +34 -0
  15. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetDevelopersNotInTeamQuery.js +14 -0
  16. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamDevelopersQuery.d.ts +11 -4
  17. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamDevelopersQuery.js +1 -1
  18. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchTeamDevelopersQuery.d.ts +4 -3
  19. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchTeamDevelopersQuery.js +2 -1
  20. package/dist/sei-panorama-service/src/services/index.d.ts +18 -7
  21. package/dist/sei-panorama-service/src/services/index.js +7 -2
  22. package/dist/sei-panorama-service/src/services/schemas/ActivityDataDto.d.ts +8 -0
  23. package/dist/sei-panorama-service/src/services/schemas/AssociateDevelopersRequestDto.d.ts +10 -0
  24. package/dist/sei-panorama-service/src/services/schemas/CloudIdentity.d.ts +13 -0
  25. package/dist/sei-panorama-service/src/services/schemas/CloudIdentity.js +4 -0
  26. package/dist/sei-panorama-service/src/services/schemas/ListResponseDtoMinimalDeveloperDto.d.ts +28 -0
  27. package/dist/sei-panorama-service/src/services/schemas/ProductivityDataPoint.d.ts +1 -1
  28. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDataPoint.d.ts +1 -1
  29. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureRequestDto.d.ts +2 -2
  30. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureResponseDto.d.ts +2 -2
  31. package/dist/sei-panorama-service/src/services/schemas/ProductivityV3FeatureBreakdownResponseDataPoint.d.ts +1 -1
  32. package/dist/sei-panorama-service/src/services/schemas/ProductivityV3FeatureRequestDto.d.ts +2 -2
  33. package/dist/sei-panorama-service/src/services/schemas/SprintDrilldownRequestDto.d.ts +1 -1
  34. package/dist/sei-panorama-service/src/services/schemas/SprintInfoDto.d.ts +5 -0
  35. package/dist/sei-panorama-service/src/services/schemas/SprintTicketsResponseDto.d.ts +0 -2
  36. package/dist/sei-panorama-service/src/services/schemas/SprintWorkBreakdownDto.d.ts +0 -4
  37. package/dist/sei-panorama-service/src/services/schemas/TeamDeveloperDto.d.ts +44 -0
  38. package/dist/sei-panorama-service/src/services/schemas/TeamDeveloperSearchParams.d.ts +9 -1
  39. package/dist/sei-panorama-service/src/services/schemas/TeamDevelopersDto.d.ts +10 -2
  40. package/package.json +1 -1
  41. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetCicdPipelinesCountQuery.d.ts +0 -18
  42. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetCicdPipelinesCountQuery.js +0 -14
  43. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsControllerSearchSprintListQuery.d.ts +0 -17
  44. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsControllerSearchSprintListQuery.js +0 -14
  45. package/dist/sei-panorama-service/src/services/schemas/DeveloperInfo.d.ts +0 -17
  46. package/dist/sei-panorama-service/src/services/schemas/IntegrationUserInfo.d.ts +0 -7
  47. package/dist/sei-panorama-service/src/services/schemas/SprintTicketsMetadataDto.d.ts +0 -5
  48. /package/dist/sei-panorama-service/src/services/schemas/{IntegrationUserInfo.js → AssociateDevelopersRequestDto.js} +0 -0
  49. /package/dist/sei-panorama-service/src/services/schemas/{DeveloperInfo.js → ListResponseDtoMinimalDeveloperDto.js} +0 -0
  50. /package/dist/sei-panorama-service/src/services/schemas/{SprintTicketsMetadataDto.js → TeamDeveloperDto.js} +0 -0
@@ -0,0 +1,18 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { IntegrationStatsDto } from '../schemas/IntegrationStatsDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface IntegrationStatsControllerGetCicdJobRunsCountQueryQueryParams {
6
+ integration_ids: string;
7
+ account: string;
8
+ }
9
+ export type IntegrationStatsControllerGetCicdJobRunsCountOkResponse = ResponseWithPagination<IntegrationStatsDto[]>;
10
+ export type IntegrationStatsControllerGetCicdJobRunsCountErrorResponse = IntegrationStatsDto[];
11
+ export interface IntegrationStatsControllerGetCicdJobRunsCountProps extends Omit<FetcherOptions<IntegrationStatsControllerGetCicdJobRunsCountQueryQueryParams, unknown>, 'url'> {
12
+ queryParams: IntegrationStatsControllerGetCicdJobRunsCountQueryQueryParams;
13
+ }
14
+ export declare function integrationStatsControllerGetCicdJobRunsCount(props: IntegrationStatsControllerGetCicdJobRunsCountProps): Promise<IntegrationStatsControllerGetCicdJobRunsCountOkResponse>;
15
+ /**
16
+ * Get CICD job runs counts
17
+ */
18
+ export declare function useIntegrationStatsControllerGetCicdJobRunsCountQuery(props: IntegrationStatsControllerGetCicdJobRunsCountProps, options?: Omit<UseQueryOptions<IntegrationStatsControllerGetCicdJobRunsCountOkResponse, IntegrationStatsControllerGetCicdJobRunsCountErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<IntegrationStatsControllerGetCicdJobRunsCountOkResponse, IntegrationStatsControllerGetCicdJobRunsCountErrorResponse>;
@@ -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 integrationStatsControllerGetCicdJobRunsCount(props) {
7
+ return fetcher(Object.assign({ url: `/v2/integration-stats/cicd/job_runs`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get CICD job runs counts
11
+ */
12
+ export function useIntegrationStatsControllerGetCicdJobRunsCountQuery(props, options) {
13
+ return useQuery(['IntegrationStatsControllerGetCicdJobRunsCount', props.queryParams], ({ signal }) => integrationStatsControllerGetCicdJobRunsCount(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,20 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { IntegrationStatsDto } from '../schemas/IntegrationStatsDto';
3
+ import type { ScmStatsRequest } from '../schemas/ScmStatsRequest';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutationQueryParams {
7
+ account: string;
8
+ }
9
+ export type IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeRequestBody = ScmStatsRequest;
10
+ export type IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeOkResponse = ResponseWithPagination<IntegrationStatsDto[]>;
11
+ export type IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeErrorResponse = IntegrationStatsDto[];
12
+ export interface IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeProps extends Omit<FetcherOptions<IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutationQueryParams, IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeRequestBody>, 'url'> {
13
+ queryParams: IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutationQueryParams;
14
+ body: IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeRequestBody;
15
+ }
16
+ export declare function integrationStatsControllerGetCicdJobRunsCountWithDateRange(props: IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeProps): Promise<IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeOkResponse>;
17
+ /**
18
+ * Get CICD job runs counts with optional daily breakdown
19
+ */
20
+ export declare function useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation(options?: Omit<UseMutationOptions<IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeOkResponse, IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeErrorResponse, IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeOkResponse, IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeErrorResponse, IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeProps, 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 integrationStatsControllerGetCicdJobRunsCountWithDateRange(props) {
7
+ return fetcher(Object.assign({ url: `/v2/integration-stats/cicd/job_runs`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Get CICD job runs counts with optional daily breakdown
11
+ */
12
+ export function useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation(options) {
13
+ return useMutation((mutateProps) => integrationStatsControllerGetCicdJobRunsCountWithDateRange(mutateProps), options);
14
+ }
@@ -0,0 +1,20 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { IntegrationStatsDto } from '../schemas/IntegrationStatsDto';
3
+ import type { ScmStatsRequest } from '../schemas/ScmStatsRequest';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface IntegrationStatsControllerGetCicdJobsCountWithDateRangeMutationQueryParams {
7
+ account: string;
8
+ }
9
+ export type IntegrationStatsControllerGetCicdJobsCountWithDateRangeRequestBody = ScmStatsRequest;
10
+ export type IntegrationStatsControllerGetCicdJobsCountWithDateRangeOkResponse = ResponseWithPagination<IntegrationStatsDto[]>;
11
+ export type IntegrationStatsControllerGetCicdJobsCountWithDateRangeErrorResponse = IntegrationStatsDto[];
12
+ export interface IntegrationStatsControllerGetCicdJobsCountWithDateRangeProps extends Omit<FetcherOptions<IntegrationStatsControllerGetCicdJobsCountWithDateRangeMutationQueryParams, IntegrationStatsControllerGetCicdJobsCountWithDateRangeRequestBody>, 'url'> {
13
+ queryParams: IntegrationStatsControllerGetCicdJobsCountWithDateRangeMutationQueryParams;
14
+ body: IntegrationStatsControllerGetCicdJobsCountWithDateRangeRequestBody;
15
+ }
16
+ export declare function integrationStatsControllerGetCicdJobsCountWithDateRange(props: IntegrationStatsControllerGetCicdJobsCountWithDateRangeProps): Promise<IntegrationStatsControllerGetCicdJobsCountWithDateRangeOkResponse>;
17
+ /**
18
+ * Get CICD job counts with optional daily breakdown
19
+ */
20
+ export declare function useIntegrationStatsControllerGetCicdJobsCountWithDateRangeMutation(options?: Omit<UseMutationOptions<IntegrationStatsControllerGetCicdJobsCountWithDateRangeOkResponse, IntegrationStatsControllerGetCicdJobsCountWithDateRangeErrorResponse, IntegrationStatsControllerGetCicdJobsCountWithDateRangeProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<IntegrationStatsControllerGetCicdJobsCountWithDateRangeOkResponse, IntegrationStatsControllerGetCicdJobsCountWithDateRangeErrorResponse, IntegrationStatsControllerGetCicdJobsCountWithDateRangeProps, 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 integrationStatsControllerGetCicdJobsCountWithDateRange(props) {
7
+ return fetcher(Object.assign({ url: `/v2/integration-stats/cicd/jobs`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Get CICD job counts with optional daily breakdown
11
+ */
12
+ export function useIntegrationStatsControllerGetCicdJobsCountWithDateRangeMutation(options) {
13
+ return useMutation((mutateProps) => integrationStatsControllerGetCicdJobsCountWithDateRange(mutateProps), options);
14
+ }
@@ -0,0 +1,17 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { SprintListResponseDto } from '../schemas/SprintListResponseDto';
3
+ import type { ErrorResponse } from '../schemas/ErrorResponse';
4
+ import type { SprintListRequestDto } from '../schemas/SprintListRequestDto';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export type SprintInsightsControllerGetSprintListRequestBody = SprintListRequestDto;
8
+ export type SprintInsightsControllerGetSprintListOkResponse = ResponseWithPagination<SprintListResponseDto>;
9
+ export type SprintInsightsControllerGetSprintListErrorResponse = ErrorResponse;
10
+ export interface SprintInsightsControllerGetSprintListProps extends Omit<FetcherOptions<unknown, SprintInsightsControllerGetSprintListRequestBody>, 'url'> {
11
+ body: SprintInsightsControllerGetSprintListRequestBody;
12
+ }
13
+ export declare function sprintInsightsControllerGetSprintList(props: SprintInsightsControllerGetSprintListProps): Promise<SprintInsightsControllerGetSprintListOkResponse>;
14
+ /**
15
+ * Search completed sprints for dropdown with filters
16
+ */
17
+ export declare function useSprintInsightsControllerGetSprintListQuery(props: SprintInsightsControllerGetSprintListProps, options?: Omit<UseQueryOptions<SprintInsightsControllerGetSprintListOkResponse, SprintInsightsControllerGetSprintListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SprintInsightsControllerGetSprintListOkResponse, ErrorResponse>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function sprintInsightsControllerGetSprintList(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/sprints/list`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Search completed sprints for dropdown with filters
11
+ */
12
+ export function useSprintInsightsControllerGetSprintListQuery(props, options) {
13
+ return useQuery(['SprintInsightsControllerGetSprintList', props.body], ({ signal }) => sprintInsightsControllerGetSprintList(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -4,7 +4,7 @@
4
4
  import { useQuery } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
6
  export function sprintInsightsControllerSearchSprintTickets(props) {
7
- return fetcher(Object.assign({ url: `/v2/insights/sprints/tickets/search`, method: 'POST' }, props));
7
+ return fetcher(Object.assign({ url: `/v2/insights/sprints/tickets`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
10
  * Search all tickets for a specific sprint with filters
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ErrorResponse } from '../schemas/ErrorResponse';
3
+ import type { AssociateDevelopersRequestDto } from '../schemas/AssociateDevelopersRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface TeamsControllerAssociateDevelopersToTeamMutationPathParams {
7
+ /**
8
+ * @format int32
9
+ */
10
+ teamRefId: number;
11
+ }
12
+ export type TeamsControllerAssociateDevelopersToTeamRequestBody = AssociateDevelopersRequestDto;
13
+ export type TeamsControllerAssociateDevelopersToTeamOkResponse = ResponseWithPagination<unknown>;
14
+ export type TeamsControllerAssociateDevelopersToTeamErrorResponse = unknown | ErrorResponse;
15
+ export interface TeamsControllerAssociateDevelopersToTeamProps extends TeamsControllerAssociateDevelopersToTeamMutationPathParams, Omit<FetcherOptions<unknown, TeamsControllerAssociateDevelopersToTeamRequestBody>, 'url'> {
16
+ body: TeamsControllerAssociateDevelopersToTeamRequestBody;
17
+ }
18
+ export declare function teamsControllerAssociateDevelopersToTeam(props: TeamsControllerAssociateDevelopersToTeamProps): Promise<TeamsControllerAssociateDevelopersToTeamOkResponse>;
19
+ /**
20
+ * Manually associate developers to the specified team by their reference IDs
21
+ */
22
+ export declare function useTeamsControllerAssociateDevelopersToTeamMutation(options?: Omit<UseMutationOptions<TeamsControllerAssociateDevelopersToTeamOkResponse, TeamsControllerAssociateDevelopersToTeamErrorResponse, TeamsControllerAssociateDevelopersToTeamProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TeamsControllerAssociateDevelopersToTeamOkResponse, unknown, TeamsControllerAssociateDevelopersToTeamProps, 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 teamsControllerAssociateDevelopersToTeam(props) {
7
+ return fetcher(Object.assign({ url: `/v2/teams/${props.teamRefId}/developers`, method: 'PATCH' }, props));
8
+ }
9
+ /**
10
+ * Manually associate developers to the specified team by their reference IDs
11
+ */
12
+ export function useTeamsControllerAssociateDevelopersToTeamMutation(options) {
13
+ return useMutation((mutateProps) => teamsControllerAssociateDevelopersToTeam(mutateProps), 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 TeamsControllerDisassociateDevelopersFromTeamMutationPathParams {
6
+ /**
7
+ * @format int32
8
+ */
9
+ teamRefId: number;
10
+ }
11
+ export type TeamsControllerDisassociateDevelopersFromTeamOkResponse = ResponseWithPagination<unknown>;
12
+ export type TeamsControllerDisassociateDevelopersFromTeamErrorResponse = unknown | ErrorResponse;
13
+ export interface TeamsControllerDisassociateDevelopersFromTeamProps extends TeamsControllerDisassociateDevelopersFromTeamMutationPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
14
+ }
15
+ export declare function teamsControllerDisassociateDevelopersFromTeam(props: TeamsControllerDisassociateDevelopersFromTeamProps): Promise<TeamsControllerDisassociateDevelopersFromTeamOkResponse>;
16
+ /**
17
+ * Remove manual association of developers from the specified team by their reference IDs
18
+ */
19
+ export declare function useTeamsControllerDisassociateDevelopersFromTeamMutation(options?: Omit<UseMutationOptions<TeamsControllerDisassociateDevelopersFromTeamOkResponse, TeamsControllerDisassociateDevelopersFromTeamErrorResponse, TeamsControllerDisassociateDevelopersFromTeamProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TeamsControllerDisassociateDevelopersFromTeamOkResponse, unknown, TeamsControllerDisassociateDevelopersFromTeamProps, 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 teamsControllerDisassociateDevelopersFromTeam(props) {
7
+ return fetcher(Object.assign({ url: `/v2/teams/${props.teamRefId}/developers`, method: 'DELETE' }, props));
8
+ }
9
+ /**
10
+ * Remove manual association of developers from the specified team by their reference IDs
11
+ */
12
+ export function useTeamsControllerDisassociateDevelopersFromTeamMutation(options) {
13
+ return useMutation((mutateProps) => teamsControllerDisassociateDevelopersFromTeam(mutateProps), options);
14
+ }
@@ -0,0 +1,34 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ListResponseDtoMinimalDeveloperDto } from '../schemas/ListResponseDtoMinimalDeveloperDto';
3
+ import type { ErrorResponse } from '../schemas/ErrorResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface TeamsControllerGetDevelopersNotInTeamQueryPathParams {
7
+ /**
8
+ * @format int32
9
+ */
10
+ teamRefId: number;
11
+ }
12
+ export interface TeamsControllerGetDevelopersNotInTeamQueryQueryParams {
13
+ searchValue?: string;
14
+ /**
15
+ * @format int32
16
+ * @default 0
17
+ */
18
+ pageIndex?: number;
19
+ /**
20
+ * @format int32
21
+ * @default 50
22
+ */
23
+ pageSize?: number;
24
+ }
25
+ export type TeamsControllerGetDevelopersNotInTeamOkResponse = ResponseWithPagination<ListResponseDtoMinimalDeveloperDto>;
26
+ export type TeamsControllerGetDevelopersNotInTeamErrorResponse = ErrorResponse;
27
+ export interface TeamsControllerGetDevelopersNotInTeamProps extends TeamsControllerGetDevelopersNotInTeamQueryPathParams, Omit<FetcherOptions<TeamsControllerGetDevelopersNotInTeamQueryQueryParams, unknown>, 'url'> {
28
+ queryParams: TeamsControllerGetDevelopersNotInTeamQueryQueryParams;
29
+ }
30
+ export declare function teamsControllerGetDevelopersNotInTeam(props: TeamsControllerGetDevelopersNotInTeamProps): Promise<TeamsControllerGetDevelopersNotInTeamOkResponse>;
31
+ /**
32
+ * Returns developers in the account that are NOT currently associated with the team. These are developers that can be added to the team. Supports optional search filtering and pagination.
33
+ */
34
+ export declare function useTeamsControllerGetDevelopersNotInTeamQuery(props: TeamsControllerGetDevelopersNotInTeamProps, options?: Omit<UseQueryOptions<TeamsControllerGetDevelopersNotInTeamOkResponse, TeamsControllerGetDevelopersNotInTeamErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamsControllerGetDevelopersNotInTeamOkResponse, ErrorResponse>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function teamsControllerGetDevelopersNotInTeam(props) {
7
+ return fetcher(Object.assign({ url: `/v2/teams/${props.teamRefId}/unassociated-developers`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Returns developers in the account that are NOT currently associated with the team. These are developers that can be added to the team. Supports optional search filtering and pagination.
11
+ */
12
+ export function useTeamsControllerGetDevelopersNotInTeamQuery(props, options) {
13
+ return useQuery(['TeamsControllerGetDevelopersNotInTeam', props.teamRefId, props.queryParams], ({ signal }) => teamsControllerGetDevelopersNotInTeam(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -10,15 +10,22 @@ export interface TeamsControllerGetTeamDevelopersQueryPathParams {
10
10
  teamRefId: number;
11
11
  }
12
12
  export interface TeamsControllerGetTeamDevelopersQueryQueryParams {
13
- account: string;
13
+ searchKey?: 'email' | 'name';
14
+ searchValue?: string;
15
+ sortKey?: 'email' | 'manual' | 'name' | 'shared' | 'updated_at' | 'updated_by';
16
+ sortOrder?: 'asc' | 'desc';
17
+ shared?: boolean;
18
+ hasIdentities?: boolean;
14
19
  /**
15
20
  * @format int32
21
+ * @default 0
16
22
  */
17
- page?: number;
23
+ pageIndex?: number;
18
24
  /**
19
25
  * @format int32
26
+ * @default 50
20
27
  */
21
- size?: number;
28
+ pageSize?: number;
22
29
  }
23
30
  export type TeamsControllerGetTeamDevelopersOkResponse = ResponseWithPagination<TeamDevelopersDto>;
24
31
  export type TeamsControllerGetTeamDevelopersErrorResponse = TeamDevelopersDto | ErrorResponse;
@@ -27,6 +34,6 @@ export interface TeamsControllerGetTeamDevelopersProps extends TeamsControllerGe
27
34
  }
28
35
  export declare function teamsControllerGetTeamDevelopers(props: TeamsControllerGetTeamDevelopersProps): Promise<TeamsControllerGetTeamDevelopersOkResponse>;
29
36
  /**
30
- * Returns developers for the specified team with optional pagination support
37
+ * Returns developers for the specified team with optional filtering, sorting, and pagination support. Each developer includes 'isManual' flag indicating manual association and 'isShared' flag for shared developers.
31
38
  */
32
39
  export declare function useTeamsControllerGetTeamDevelopersQuery(props: TeamsControllerGetTeamDevelopersProps, options?: Omit<UseQueryOptions<TeamsControllerGetTeamDevelopersOkResponse, TeamsControllerGetTeamDevelopersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamsControllerGetTeamDevelopersOkResponse, TeamsControllerGetTeamDevelopersErrorResponse>;
@@ -7,7 +7,7 @@ export function teamsControllerGetTeamDevelopers(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/teams/${props.teamRefId}/developers`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
- * Returns developers for the specified team with optional pagination support
10
+ * Returns developers for the specified team with optional filtering, sorting, and pagination support. Each developer includes 'isManual' flag indicating manual association and 'isShared' flag for shared developers.
11
11
  */
12
12
  export function useTeamsControllerGetTeamDevelopersQuery(props, options) {
13
13
  return useQuery(['TeamsControllerGetTeamDevelopers', props.teamRefId, props.queryParams], ({ signal }) => teamsControllerGetTeamDevelopers(Object.assign(Object.assign({}, props), { signal })), options);
@@ -14,11 +14,11 @@ export interface TeamsControllerSearchTeamDevelopersQueryQueryParams {
14
14
  /**
15
15
  * @format int32
16
16
  */
17
- page?: number;
17
+ pageIndex?: number;
18
18
  /**
19
19
  * @format int32
20
20
  */
21
- size?: number;
21
+ pageSize?: number;
22
22
  }
23
23
  export type TeamsControllerSearchTeamDevelopersRequestBody = TeamDeveloperSearchParams;
24
24
  export type TeamsControllerSearchTeamDevelopersOkResponse = ResponseWithPagination<TeamDevelopersDto>;
@@ -29,6 +29,7 @@ export interface TeamsControllerSearchTeamDevelopersProps extends TeamsControlle
29
29
  }
30
30
  export declare function teamsControllerSearchTeamDevelopers(props: TeamsControllerSearchTeamDevelopersProps): Promise<TeamsControllerSearchTeamDevelopersOkResponse>;
31
31
  /**
32
- * Search developers for the specified team with filtering and sorting options
32
+ * Search developers for the specified team with filtering and sorting options. Each developer includes 'isManual' flag indicating manual association and 'isShared' flag for shared developers.
33
+ * @deprecated
33
34
  */
34
35
  export declare function useTeamsControllerSearchTeamDevelopersQuery(props: TeamsControllerSearchTeamDevelopersProps, options?: Omit<UseQueryOptions<TeamsControllerSearchTeamDevelopersOkResponse, TeamsControllerSearchTeamDevelopersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamsControllerSearchTeamDevelopersOkResponse, TeamsControllerSearchTeamDevelopersErrorResponse>;
@@ -7,7 +7,8 @@ export function teamsControllerSearchTeamDevelopers(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/teams/${props.teamRefId}/developers`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Search developers for the specified team with filtering and sorting options
10
+ * Search developers for the specified team with filtering and sorting options. Each developer includes 'isManual' flag indicating manual association and 'isShared' flag for shared developers.
11
+ * @deprecated
11
12
  */
12
13
  export function useTeamsControllerSearchTeamDevelopersQuery(props, options) {
13
14
  return useQuery(['TeamsControllerSearchTeamDevelopers', props.teamRefId, props.queryParams, props.body], ({ signal }) => teamsControllerSearchTeamDevelopers(Object.assign(Object.assign({}, props), { signal })), options);
@@ -171,10 +171,14 @@ export type { IntegrationControllerListIntegrationsErrorResponse, IntegrationCon
171
171
  export { integrationControllerListIntegrations, useIntegrationControllerListIntegrationsQuery, } from './hooks/useIntegrationControllerListIntegrationsQuery';
172
172
  export type { IntegrationDataStatusControllerGetIntegrationDataStatusErrorResponse, IntegrationDataStatusControllerGetIntegrationDataStatusMutationQueryParams, IntegrationDataStatusControllerGetIntegrationDataStatusOkResponse, IntegrationDataStatusControllerGetIntegrationDataStatusProps, IntegrationDataStatusControllerGetIntegrationDataStatusRequestBody, } from './hooks/useIntegrationDataStatusControllerGetIntegrationDataStatusMutation';
173
173
  export { integrationDataStatusControllerGetIntegrationDataStatus, useIntegrationDataStatusControllerGetIntegrationDataStatusMutation, } from './hooks/useIntegrationDataStatusControllerGetIntegrationDataStatusMutation';
174
+ export type { IntegrationStatsControllerGetCicdJobRunsCountErrorResponse, IntegrationStatsControllerGetCicdJobRunsCountOkResponse, IntegrationStatsControllerGetCicdJobRunsCountProps, IntegrationStatsControllerGetCicdJobRunsCountQueryQueryParams, } from './hooks/useIntegrationStatsControllerGetCicdJobRunsCountQuery';
175
+ export { integrationStatsControllerGetCicdJobRunsCount, useIntegrationStatsControllerGetCicdJobRunsCountQuery, } from './hooks/useIntegrationStatsControllerGetCicdJobRunsCountQuery';
176
+ export type { IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeErrorResponse, IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutationQueryParams, IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeOkResponse, IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeProps, IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeRequestBody, } from './hooks/useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation';
177
+ export { integrationStatsControllerGetCicdJobRunsCountWithDateRange, useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation, } from './hooks/useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation';
174
178
  export type { IntegrationStatsControllerGetCicdJobsCountErrorResponse, IntegrationStatsControllerGetCicdJobsCountOkResponse, IntegrationStatsControllerGetCicdJobsCountProps, IntegrationStatsControllerGetCicdJobsCountQueryQueryParams, } from './hooks/useIntegrationStatsControllerGetCicdJobsCountQuery';
175
179
  export { integrationStatsControllerGetCicdJobsCount, useIntegrationStatsControllerGetCicdJobsCountQuery, } from './hooks/useIntegrationStatsControllerGetCicdJobsCountQuery';
176
- export type { IntegrationStatsControllerGetCicdPipelinesCountErrorResponse, IntegrationStatsControllerGetCicdPipelinesCountOkResponse, IntegrationStatsControllerGetCicdPipelinesCountProps, IntegrationStatsControllerGetCicdPipelinesCountQueryQueryParams, } from './hooks/useIntegrationStatsControllerGetCicdPipelinesCountQuery';
177
- export { integrationStatsControllerGetCicdPipelinesCount, useIntegrationStatsControllerGetCicdPipelinesCountQuery, } from './hooks/useIntegrationStatsControllerGetCicdPipelinesCountQuery';
180
+ export type { IntegrationStatsControllerGetCicdJobsCountWithDateRangeErrorResponse, IntegrationStatsControllerGetCicdJobsCountWithDateRangeMutationQueryParams, IntegrationStatsControllerGetCicdJobsCountWithDateRangeOkResponse, IntegrationStatsControllerGetCicdJobsCountWithDateRangeProps, IntegrationStatsControllerGetCicdJobsCountWithDateRangeRequestBody, } from './hooks/useIntegrationStatsControllerGetCicdJobsCountWithDateRangeMutation';
181
+ export { integrationStatsControllerGetCicdJobsCountWithDateRange, useIntegrationStatsControllerGetCicdJobsCountWithDateRangeMutation, } from './hooks/useIntegrationStatsControllerGetCicdJobsCountWithDateRangeMutation';
178
182
  export type { IntegrationStatsControllerGetImProjectsCountErrorResponse, IntegrationStatsControllerGetImProjectsCountOkResponse, IntegrationStatsControllerGetImProjectsCountProps, IntegrationStatsControllerGetImProjectsCountQueryQueryParams, } from './hooks/useIntegrationStatsControllerGetImProjectsCountQuery';
179
183
  export { integrationStatsControllerGetImProjectsCount, useIntegrationStatsControllerGetImProjectsCountQuery, } from './hooks/useIntegrationStatsControllerGetImProjectsCountQuery';
180
184
  export type { IntegrationStatsControllerGetImProjectsCountWithDateRangeErrorResponse, IntegrationStatsControllerGetImProjectsCountWithDateRangeOkResponse, IntegrationStatsControllerGetImProjectsCountWithDateRangeProps, IntegrationStatsControllerGetImProjectsCountWithDateRangeQueryQueryParams, IntegrationStatsControllerGetImProjectsCountWithDateRangeRequestBody, } from './hooks/useIntegrationStatsControllerGetImProjectsCountWithDateRangeQuery';
@@ -291,12 +295,18 @@ export type { SprintInsightsControllerGetSprintDeliveryErrorResponse, SprintInsi
291
295
  export { sprintInsightsControllerGetSprintDelivery, useSprintInsightsControllerGetSprintDeliveryQuery, } from './hooks/useSprintInsightsControllerGetSprintDeliveryQuery';
292
296
  export type { SprintInsightsControllerGetSprintDrilldownErrorResponse, SprintInsightsControllerGetSprintDrilldownOkResponse, SprintInsightsControllerGetSprintDrilldownProps, SprintInsightsControllerGetSprintDrilldownRequestBody, } from './hooks/useSprintInsightsControllerGetSprintDrilldownQuery';
293
297
  export { sprintInsightsControllerGetSprintDrilldown, useSprintInsightsControllerGetSprintDrilldownQuery, } from './hooks/useSprintInsightsControllerGetSprintDrilldownQuery';
298
+ export type { SprintInsightsControllerGetSprintListErrorResponse, SprintInsightsControllerGetSprintListOkResponse, SprintInsightsControllerGetSprintListProps, SprintInsightsControllerGetSprintListRequestBody, } from './hooks/useSprintInsightsControllerGetSprintListQuery';
299
+ export { sprintInsightsControllerGetSprintList, useSprintInsightsControllerGetSprintListQuery, } from './hooks/useSprintInsightsControllerGetSprintListQuery';
294
300
  export type { SprintInsightsControllerGetSprintSummaryErrorResponse, SprintInsightsControllerGetSprintSummaryOkResponse, SprintInsightsControllerGetSprintSummaryProps, SprintInsightsControllerGetSprintSummaryRequestBody, } from './hooks/useSprintInsightsControllerGetSprintSummaryQuery';
295
301
  export { sprintInsightsControllerGetSprintSummary, useSprintInsightsControllerGetSprintSummaryQuery, } from './hooks/useSprintInsightsControllerGetSprintSummaryQuery';
296
- export type { SprintInsightsControllerSearchSprintListErrorResponse, SprintInsightsControllerSearchSprintListOkResponse, SprintInsightsControllerSearchSprintListProps, SprintInsightsControllerSearchSprintListRequestBody, } from './hooks/useSprintInsightsControllerSearchSprintListQuery';
297
- export { sprintInsightsControllerSearchSprintList, useSprintInsightsControllerSearchSprintListQuery, } from './hooks/useSprintInsightsControllerSearchSprintListQuery';
298
302
  export type { SprintInsightsControllerSearchSprintTicketsErrorResponse, SprintInsightsControllerSearchSprintTicketsOkResponse, SprintInsightsControllerSearchSprintTicketsProps, SprintInsightsControllerSearchSprintTicketsRequestBody, } from './hooks/useSprintInsightsControllerSearchSprintTicketsQuery';
299
303
  export { sprintInsightsControllerSearchSprintTickets, useSprintInsightsControllerSearchSprintTicketsQuery, } from './hooks/useSprintInsightsControllerSearchSprintTicketsQuery';
304
+ export type { TeamsControllerAssociateDevelopersToTeamErrorResponse, TeamsControllerAssociateDevelopersToTeamMutationPathParams, TeamsControllerAssociateDevelopersToTeamOkResponse, TeamsControllerAssociateDevelopersToTeamProps, TeamsControllerAssociateDevelopersToTeamRequestBody, } from './hooks/useTeamsControllerAssociateDevelopersToTeamMutation';
305
+ export { teamsControllerAssociateDevelopersToTeam, useTeamsControllerAssociateDevelopersToTeamMutation, } from './hooks/useTeamsControllerAssociateDevelopersToTeamMutation';
306
+ export type { TeamsControllerDisassociateDevelopersFromTeamErrorResponse, TeamsControllerDisassociateDevelopersFromTeamMutationPathParams, TeamsControllerDisassociateDevelopersFromTeamOkResponse, TeamsControllerDisassociateDevelopersFromTeamProps, } from './hooks/useTeamsControllerDisassociateDevelopersFromTeamMutation';
307
+ export { teamsControllerDisassociateDevelopersFromTeam, useTeamsControllerDisassociateDevelopersFromTeamMutation, } from './hooks/useTeamsControllerDisassociateDevelopersFromTeamMutation';
308
+ export type { TeamsControllerGetDevelopersNotInTeamErrorResponse, TeamsControllerGetDevelopersNotInTeamOkResponse, TeamsControllerGetDevelopersNotInTeamProps, TeamsControllerGetDevelopersNotInTeamQueryPathParams, TeamsControllerGetDevelopersNotInTeamQueryQueryParams, } from './hooks/useTeamsControllerGetDevelopersNotInTeamQuery';
309
+ export { teamsControllerGetDevelopersNotInTeam, useTeamsControllerGetDevelopersNotInTeamQuery, } from './hooks/useTeamsControllerGetDevelopersNotInTeamQuery';
300
310
  export type { TeamsControllerGetTeamDevelopersErrorResponse, TeamsControllerGetTeamDevelopersOkResponse, TeamsControllerGetTeamDevelopersProps, TeamsControllerGetTeamDevelopersQueryPathParams, TeamsControllerGetTeamDevelopersQueryQueryParams, } from './hooks/useTeamsControllerGetTeamDevelopersQuery';
301
311
  export { teamsControllerGetTeamDevelopers, useTeamsControllerGetTeamDevelopersQuery, } from './hooks/useTeamsControllerGetTeamDevelopersQuery';
302
312
  export type { TeamsControllerGetTeamIntegrationFiltersErrorResponse, TeamsControllerGetTeamIntegrationFiltersOkResponse, TeamsControllerGetTeamIntegrationFiltersProps, TeamsControllerGetTeamIntegrationFiltersQueryPathParams, TeamsControllerGetTeamIntegrationFiltersQueryQueryParams, } from './hooks/useTeamsControllerGetTeamIntegrationFiltersQuery';
@@ -321,6 +331,7 @@ export type { AccessResponseDto } from './schemas/AccessResponseDto';
321
331
  export type { ActivityDataDto } from './schemas/ActivityDataDto';
322
332
  export type { ApiErrorResponse } from './schemas/ApiErrorResponse';
323
333
  export type { ApiResponseWrapper } from './schemas/ApiResponseWrapper';
334
+ export type { AssociateDevelopersRequestDto } from './schemas/AssociateDevelopersRequestDto';
324
335
  export type { BaBreakdownDto } from './schemas/BaBreakdownDto';
325
336
  export type { BaCategoryDto } from './schemas/BaCategoryDto';
326
337
  export type { BaCategoryMetric } from './schemas/BaCategoryMetric';
@@ -346,6 +357,7 @@ export type { BreakdownRecord } from './schemas/BreakdownRecord';
346
357
  export type { BuildInfo } from './schemas/BuildInfo';
347
358
  export type { Category } from './schemas/Category';
348
359
  export type { CfrConfigurationDto } from './schemas/CfrConfigurationDto';
360
+ export type { CloudIdentity } from './schemas/CloudIdentity';
349
361
  export type { CodeChangeStats } from './schemas/CodeChangeStats';
350
362
  export type { CodeChanges } from './schemas/CodeChanges';
351
363
  export type { CodingDaysDrilldownResponseDataPointV3 } from './schemas/CodingDaysDrilldownResponseDataPointV3';
@@ -373,7 +385,6 @@ export type { DeveloperIdentity } from './schemas/DeveloperIdentity';
373
385
  export type { DeveloperIdentityError } from './schemas/DeveloperIdentityError';
374
386
  export type { DeveloperIdentityUpsertFailureResponse } from './schemas/DeveloperIdentityUpsertFailureResponse';
375
387
  export type { DeveloperIdentityUpsertResponse } from './schemas/DeveloperIdentityUpsertResponse';
376
- export type { DeveloperInfo } from './schemas/DeveloperInfo';
377
388
  export type { DeveloperLicenseDto } from './schemas/DeveloperLicenseDto';
378
389
  export type { DeveloperListResponseDto } from './schemas/DeveloperListResponseDto';
379
390
  export type { DeveloperReuploadResponseDto } from './schemas/DeveloperReuploadResponseDto';
@@ -449,7 +460,6 @@ export type { IntegrationResponseDto } from './schemas/IntegrationResponseDto';
449
460
  export type { IntegrationStatsDto } from './schemas/IntegrationStatsDto';
450
461
  export type { IntegrationSummary } from './schemas/IntegrationSummary';
451
462
  export type { IntegrationUser } from './schemas/IntegrationUser';
452
- export type { IntegrationUserInfo } from './schemas/IntegrationUserInfo';
453
463
  export type { IssueRequest } from './schemas/IssueRequest';
454
464
  export type { IssuesPipelineExecutionResponse } from './schemas/IssuesPipelineExecutionResponse';
455
465
  export type { IssuesPipelineExecutionResponseWrapper } from './schemas/IssuesPipelineExecutionResponseWrapper';
@@ -463,6 +473,7 @@ export type { ListResponseDtoDeveloperLicenseDto } from './schemas/ListResponseD
463
473
  export type { ListResponseDtoEfficiencyProfileResponseDto } from './schemas/ListResponseDtoEfficiencyProfileResponseDto';
464
474
  export type { ListResponseDtoIntegrationConfigResponseDto } from './schemas/ListResponseDtoIntegrationConfigResponseDto';
465
475
  export type { ListResponseDtoIntegrationResponseDto } from './schemas/ListResponseDtoIntegrationResponseDto';
476
+ export type { ListResponseDtoMinimalDeveloperDto } from './schemas/ListResponseDtoMinimalDeveloperDto';
466
477
  export type { ListResponseDtoOrgTreeResponseDto } from './schemas/ListResponseDtoOrgTreeResponseDto';
467
478
  export type { ListResponseDtoProductivityProfileResponseDto } from './schemas/ListResponseDtoProductivityProfileResponseDto';
468
479
  export type { ListResponseDtobaProfileResponseDto } from './schemas/ListResponseDtobaProfileResponseDto';
@@ -554,7 +565,6 @@ export type { SprintSummaryMeticDto } from './schemas/SprintSummaryMeticDto';
554
565
  export type { SprintSummaryResponseDto } from './schemas/SprintSummaryResponseDto';
555
566
  export type { SprintTicketDto } from './schemas/SprintTicketDto';
556
567
  export type { SprintTicketEstimatesDto } from './schemas/SprintTicketEstimatesDto';
557
- export type { SprintTicketsMetadataDto } from './schemas/SprintTicketsMetadataDto';
558
568
  export type { SprintTicketsRequestDto } from './schemas/SprintTicketsRequestDto';
559
569
  export type { SprintTicketsResponseDto } from './schemas/SprintTicketsResponseDto';
560
570
  export type { SprintWorkBreakdownDto } from './schemas/SprintWorkBreakdownDto';
@@ -562,6 +572,7 @@ export type { Stage } from './schemas/Stage';
562
572
  export type { SummaryCard } from './schemas/SummaryCard';
563
573
  export type { SummaryValue } from './schemas/SummaryValue';
564
574
  export type { SummaryValueChange } from './schemas/SummaryValueChange';
575
+ export type { TeamDeveloperDto } from './schemas/TeamDeveloperDto';
565
576
  export type { TeamDeveloperSearchParams } from './schemas/TeamDeveloperSearchParams';
566
577
  export type { TeamDevelopersDto } from './schemas/TeamDevelopersDto';
567
578
  export type { TeamFilter } from './schemas/TeamFilter';
@@ -84,8 +84,10 @@ export { integrationControllerGetFilterValues, useIntegrationControllerGetFilter
84
84
  export { integrationControllerListIntegrationConfigs, useIntegrationControllerListIntegrationConfigsQuery, } from './hooks/useIntegrationControllerListIntegrationConfigsQuery';
85
85
  export { integrationControllerListIntegrations, useIntegrationControllerListIntegrationsQuery, } from './hooks/useIntegrationControllerListIntegrationsQuery';
86
86
  export { integrationDataStatusControllerGetIntegrationDataStatus, useIntegrationDataStatusControllerGetIntegrationDataStatusMutation, } from './hooks/useIntegrationDataStatusControllerGetIntegrationDataStatusMutation';
87
+ export { integrationStatsControllerGetCicdJobRunsCount, useIntegrationStatsControllerGetCicdJobRunsCountQuery, } from './hooks/useIntegrationStatsControllerGetCicdJobRunsCountQuery';
88
+ export { integrationStatsControllerGetCicdJobRunsCountWithDateRange, useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation, } from './hooks/useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation';
87
89
  export { integrationStatsControllerGetCicdJobsCount, useIntegrationStatsControllerGetCicdJobsCountQuery, } from './hooks/useIntegrationStatsControllerGetCicdJobsCountQuery';
88
- export { integrationStatsControllerGetCicdPipelinesCount, useIntegrationStatsControllerGetCicdPipelinesCountQuery, } from './hooks/useIntegrationStatsControllerGetCicdPipelinesCountQuery';
90
+ export { integrationStatsControllerGetCicdJobsCountWithDateRange, useIntegrationStatsControllerGetCicdJobsCountWithDateRangeMutation, } from './hooks/useIntegrationStatsControllerGetCicdJobsCountWithDateRangeMutation';
89
91
  export { integrationStatsControllerGetImProjectsCount, useIntegrationStatsControllerGetImProjectsCountQuery, } from './hooks/useIntegrationStatsControllerGetImProjectsCountQuery';
90
92
  export { integrationStatsControllerGetImProjectsCountWithDateRange, useIntegrationStatsControllerGetImProjectsCountWithDateRangeQuery, } from './hooks/useIntegrationStatsControllerGetImProjectsCountWithDateRangeQuery';
91
93
  export { integrationStatsControllerGetImTicketsCount, useIntegrationStatsControllerGetImTicketsCountQuery, } from './hooks/useIntegrationStatsControllerGetImTicketsCountQuery';
@@ -144,9 +146,12 @@ export { scmGaControllerGetBuildInfoFromPr, useScmGaControllerGetBuildInfoFromPr
144
146
  export { scmGaControllerGetDeployInfoFromPr, useScmGaControllerGetDeployInfoFromPrQuery, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
145
147
  export { sprintInsightsControllerGetSprintDelivery, useSprintInsightsControllerGetSprintDeliveryQuery, } from './hooks/useSprintInsightsControllerGetSprintDeliveryQuery';
146
148
  export { sprintInsightsControllerGetSprintDrilldown, useSprintInsightsControllerGetSprintDrilldownQuery, } from './hooks/useSprintInsightsControllerGetSprintDrilldownQuery';
149
+ export { sprintInsightsControllerGetSprintList, useSprintInsightsControllerGetSprintListQuery, } from './hooks/useSprintInsightsControllerGetSprintListQuery';
147
150
  export { sprintInsightsControllerGetSprintSummary, useSprintInsightsControllerGetSprintSummaryQuery, } from './hooks/useSprintInsightsControllerGetSprintSummaryQuery';
148
- export { sprintInsightsControllerSearchSprintList, useSprintInsightsControllerSearchSprintListQuery, } from './hooks/useSprintInsightsControllerSearchSprintListQuery';
149
151
  export { sprintInsightsControllerSearchSprintTickets, useSprintInsightsControllerSearchSprintTicketsQuery, } from './hooks/useSprintInsightsControllerSearchSprintTicketsQuery';
152
+ export { teamsControllerAssociateDevelopersToTeam, useTeamsControllerAssociateDevelopersToTeamMutation, } from './hooks/useTeamsControllerAssociateDevelopersToTeamMutation';
153
+ export { teamsControllerDisassociateDevelopersFromTeam, useTeamsControllerDisassociateDevelopersFromTeamMutation, } from './hooks/useTeamsControllerDisassociateDevelopersFromTeamMutation';
154
+ export { teamsControllerGetDevelopersNotInTeam, useTeamsControllerGetDevelopersNotInTeamQuery, } from './hooks/useTeamsControllerGetDevelopersNotInTeamQuery';
150
155
  export { teamsControllerGetTeamDevelopers, useTeamsControllerGetTeamDevelopersQuery, } from './hooks/useTeamsControllerGetTeamDevelopersQuery';
151
156
  export { teamsControllerGetTeamIntegrationFilters, useTeamsControllerGetTeamIntegrationFiltersQuery, } from './hooks/useTeamsControllerGetTeamIntegrationFiltersQuery';
152
157
  export { teamsControllerGetTeamIntegrations, useTeamsControllerGetTeamIntegrationsQuery, } from './hooks/useTeamsControllerGetTeamIntegrationsQuery';
@@ -1,4 +1,12 @@
1
1
  export interface ActivityDataDto {
2
+ /**
3
+ * @format int64
4
+ */
5
+ cicdJobRuns?: number;
6
+ /**
7
+ * @format int64
8
+ */
9
+ cicdJobs?: number;
2
10
  /**
3
11
  * @format int64
4
12
  */
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Request to associate developers to a team
3
+ */
4
+ export interface AssociateDevelopersRequestDto {
5
+ /**
6
+ * List of developer reference IDs to associate with the team
7
+ * @example [1001,1002,1003]
8
+ */
9
+ developerRefIds: number[];
10
+ }
@@ -0,0 +1,13 @@
1
+ export interface CloudIdentity {
2
+ /**
3
+ * Cloud identity of the user in the integration
4
+ * @example "github-user-123"
5
+ */
6
+ identity?: string;
7
+ /**
8
+ * Integration ID
9
+ * @format int32
10
+ * @example 5
11
+ */
12
+ integrationId?: number;
13
+ }
@@ -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,28 @@
1
+ import type { MinimalDeveloperDto } from '../schemas/MinimalDeveloperDto';
2
+ /**
3
+ * Paginated list response containing records and pagination metadata
4
+ */
5
+ export interface ListResponseDtoMinimalDeveloperDto {
6
+ /**
7
+ * Current page index (0-based)
8
+ * @format int32
9
+ * @example 0
10
+ */
11
+ pageIndex?: number;
12
+ /**
13
+ * Number of records per page
14
+ * @format int32
15
+ * @example 50
16
+ */
17
+ pageSize?: number;
18
+ /**
19
+ * List of records for the current page
20
+ */
21
+ records?: MinimalDeveloperDto[];
22
+ /**
23
+ * Total number of records available across all pages
24
+ * @format int32
25
+ * @example 100
26
+ */
27
+ totalCount?: number;
28
+ }
@@ -5,7 +5,7 @@ export interface ProductivityDataPoint {
5
5
  */
6
6
  endDate?: string;
7
7
  granularDataPoints?: ProductivityDataPoint[];
8
- stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
8
+ stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'CODE_AGE' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
9
9
  stacks?: {
10
10
  [key: string]: number;
11
11
  };
@@ -9,7 +9,7 @@ export interface ProductivityFeatureBreakdownResponseDataPoint {
9
9
  * @format date-time
10
10
  */
11
11
  endDate?: string;
12
- stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
12
+ stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'CODE_AGE' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
13
13
  stacks?: {
14
14
  [key: string]: number;
15
15
  };
@@ -8,7 +8,7 @@ export interface ProductivityFeatureRequestDto {
8
8
  * @format date-time
9
9
  */
10
10
  endDate?: string;
11
- featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
11
+ featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODE_REWORK' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
12
12
  granularity?: 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
13
13
  /**
14
14
  * @format int32
@@ -20,7 +20,7 @@ export interface ProductivityFeatureRequestDto {
20
20
  page_size?: number;
21
21
  sortBy?: 'AVG_TIME_TO_MERGE' | 'CODING_DAYS' | 'COMMITS' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_NUMBER' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_CYCLE_TIME_TOTAL_LINE_CHANGES' | 'PR_CYCLE_TOTAL_TIME' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
22
22
  sortByCriteria?: 'ASC' | 'DESC';
23
- stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
23
+ stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'CODE_AGE' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
24
24
  /**
25
25
  * @format date-time
26
26
  */
@@ -6,11 +6,11 @@ export interface ProductivityFeatureResponseDto {
6
6
  * @format date-time
7
7
  */
8
8
  endDate?: string;
9
- featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
9
+ featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODE_REWORK' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
10
10
  granularity?: 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
11
11
  previousData?: ProductivityDataPoint;
12
12
  section?: 'COLLABORATION' | 'OUTPUT' | 'VOLUME';
13
- stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
13
+ stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'CODE_AGE' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
14
14
  /**
15
15
  * @format date-time
16
16
  */
@@ -8,7 +8,7 @@ export interface ProductivityV3FeatureBreakdownResponseDataPoint {
8
8
  * @format date-time
9
9
  */
10
10
  endDate?: string;
11
- stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
11
+ stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'CODE_AGE' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
12
12
  stacks?: {
13
13
  [key: string]: number;
14
14
  };
@@ -5,7 +5,7 @@ export interface ProductivityV3FeatureRequestDto {
5
5
  * @format date-time
6
6
  */
7
7
  endDate?: string;
8
- featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
8
+ featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODE_REWORK' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
9
9
  granularity?: 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
10
10
  /**
11
11
  * @format int32
@@ -17,7 +17,7 @@ export interface ProductivityV3FeatureRequestDto {
17
17
  page_size?: number;
18
18
  sortBy?: 'AVG_TIME_TO_MERGE' | 'CODING_DAYS' | 'COMMITS' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_NUMBER' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_CYCLE_TIME_TOTAL_LINE_CHANGES' | 'PR_CYCLE_TOTAL_TIME' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
19
19
  sortByCriteria?: 'ASC' | 'DESC';
20
- stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
20
+ stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'CODE_AGE' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
21
21
  /**
22
22
  * @format date-time
23
23
  */
@@ -11,7 +11,7 @@ export interface SprintDrilldownRequestDto {
11
11
  dateStart: string;
12
12
  granularity?: 'MONTHLY' | 'QUARTERLY' | 'SPRINT' | 'WEEKLY';
13
13
  paginationRequest?: PaginationRequest;
14
- sortBy?: 'END_DATE' | 'SPRINT_ID' | 'SPRINT_NAME' | 'START_DATE';
14
+ sortBy?: 'CHURN_RATE' | 'COMMIT_DELIVERY_PERCENTAGE' | 'CREEP_DELIVERY_PERCENTAGE' | 'DELIVERED_COMMIT' | 'DELIVERED_CREEP' | 'END_DATE' | 'SCOPE_CREEP' | 'SPRINT_COMMIT' | 'SPRINT_ID' | 'SPRINT_NAME' | 'START_DATE' | 'TOTAL_DELIVERY_PERCENTAGE';
15
15
  sortOrder?: string;
16
16
  sprintIds?: string[];
17
17
  teamRefId: string;
@@ -1,4 +1,8 @@
1
1
  export interface SprintInfoDto {
2
+ /**
3
+ * @format date-time
4
+ */
5
+ completedAt?: string;
2
6
  /**
3
7
  * @format date-time
4
8
  */
@@ -9,4 +13,5 @@ export interface SprintInfoDto {
9
13
  * @format date-time
10
14
  */
11
15
  startDate?: string;
16
+ state?: string;
12
17
  }
@@ -1,6 +1,4 @@
1
1
  import type { SprintTicketDto } from '../schemas/SprintTicketDto';
2
- import type { SprintTicketsMetadataDto } from '../schemas/SprintTicketsMetadataDto';
3
2
  export interface SprintTicketsResponseDto {
4
3
  data?: SprintTicketDto[];
5
- metadata?: SprintTicketsMetadataDto;
6
4
  }
@@ -1,8 +1,4 @@
1
1
  export interface SprintWorkBreakdownDto {
2
- /**
3
- * @format double
4
- */
5
- carryOver?: number;
6
2
  /**
7
3
  * @format double
8
4
  */
@@ -0,0 +1,44 @@
1
+ import type { CloudIdentity } from '../schemas/CloudIdentity';
2
+ export interface TeamDeveloperDto {
3
+ /**
4
+ * Developer email
5
+ * @example "john.doe@example.com"
6
+ */
7
+ email?: string;
8
+ /**
9
+ * List of cloud identities associated with this developer
10
+ */
11
+ identities?: CloudIdentity[];
12
+ /**
13
+ * Indicates whether this developer was manually associated to the team
14
+ * @example true
15
+ */
16
+ manual?: boolean;
17
+ /**
18
+ * Developer name
19
+ * @example "John Doe"
20
+ */
21
+ name?: string;
22
+ /**
23
+ * Developer reference ID
24
+ * @format int32
25
+ * @example 1001
26
+ */
27
+ refId?: number;
28
+ /**
29
+ * Indicates whether this developer is shared across multiple teams in the org tree
30
+ * @example true
31
+ */
32
+ shared?: boolean;
33
+ /**
34
+ * Timestamp when the developer was last associated or updated in the team (epoch seconds)
35
+ * @format int64
36
+ * @example 1699876200
37
+ */
38
+ updatedAtEpochSec?: number;
39
+ /**
40
+ * Email of the user who last updated the developer association
41
+ * @example "john.doe@example.com"
42
+ */
43
+ updatedByEmail?: string;
44
+ }
@@ -3,6 +3,10 @@ export interface TeamDeveloperSearchParams {
3
3
  * List of developer reference IDs to filter by
4
4
  */
5
5
  developerRefIds?: number[];
6
+ /**
7
+ * Filter by identity completeness: true = has all identities, false = missing at least one identity, null = no filter
8
+ */
9
+ hasIdentities?: boolean;
6
10
  /**
7
11
  * Field to search in
8
12
  */
@@ -11,10 +15,14 @@ export interface TeamDeveloperSearchParams {
11
15
  * Value to search for
12
16
  */
13
17
  searchValue?: string;
18
+ /**
19
+ * Filter by shared status: true = shared developers only, false = non-shared developers only, null = all developers
20
+ */
21
+ shared?: boolean;
14
22
  /**
15
23
  * Field to sort by
16
24
  */
17
- sortKey?: 'email' | 'name';
25
+ sortKey?: 'email' | 'manual' | 'name' | 'shared' | 'updated_at' | 'updated_by';
18
26
  /**
19
27
  * Sort order
20
28
  * @default "ASC"
@@ -1,10 +1,18 @@
1
- import type { DeveloperInfo } from '../schemas/DeveloperInfo';
1
+ import type { TeamDeveloperDto } from '../schemas/TeamDeveloperDto';
2
2
  import type { PaginationMetadata } from '../schemas/PaginationMetadata';
3
3
  export interface TeamDevelopersDto {
4
- developersInfo?: DeveloperInfo[];
4
+ developers?: TeamDeveloperDto[];
5
5
  pagination?: PaginationMetadata;
6
+ /**
7
+ * @format int32
8
+ */
9
+ sharedDevelopers?: number;
6
10
  /**
7
11
  * @format int32
8
12
  */
9
13
  teamRefId?: number;
14
+ /**
15
+ * @format int32
16
+ */
17
+ totalDevelopers?: number;
10
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.23.2",
3
+ "version": "0.23.4",
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,18 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { IntegrationStatsDto } from '../schemas/IntegrationStatsDto';
3
- import type { ResponseWithPagination } from '../helpers';
4
- import { FetcherOptions } from '../../../../fetcher/index.js';
5
- export interface IntegrationStatsControllerGetCicdPipelinesCountQueryQueryParams {
6
- integration_ids: string;
7
- account: string;
8
- }
9
- export type IntegrationStatsControllerGetCicdPipelinesCountOkResponse = ResponseWithPagination<IntegrationStatsDto[]>;
10
- export type IntegrationStatsControllerGetCicdPipelinesCountErrorResponse = IntegrationStatsDto[];
11
- export interface IntegrationStatsControllerGetCicdPipelinesCountProps extends Omit<FetcherOptions<IntegrationStatsControllerGetCicdPipelinesCountQueryQueryParams, unknown>, 'url'> {
12
- queryParams: IntegrationStatsControllerGetCicdPipelinesCountQueryQueryParams;
13
- }
14
- export declare function integrationStatsControllerGetCicdPipelinesCount(props: IntegrationStatsControllerGetCicdPipelinesCountProps): Promise<IntegrationStatsControllerGetCicdPipelinesCountOkResponse>;
15
- /**
16
- * Get CICD job runs counts
17
- */
18
- export declare function useIntegrationStatsControllerGetCicdPipelinesCountQuery(props: IntegrationStatsControllerGetCicdPipelinesCountProps, options?: Omit<UseQueryOptions<IntegrationStatsControllerGetCicdPipelinesCountOkResponse, IntegrationStatsControllerGetCicdPipelinesCountErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<IntegrationStatsControllerGetCicdPipelinesCountOkResponse, IntegrationStatsControllerGetCicdPipelinesCountErrorResponse>;
@@ -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 integrationStatsControllerGetCicdPipelinesCount(props) {
7
- return fetcher(Object.assign({ url: `/v2/integration-stats/cicd/job_runs`, method: 'GET' }, props));
8
- }
9
- /**
10
- * Get CICD job runs counts
11
- */
12
- export function useIntegrationStatsControllerGetCicdPipelinesCountQuery(props, options) {
13
- return useQuery(['IntegrationStatsControllerGetCicdPipelinesCount', props.queryParams], ({ signal }) => integrationStatsControllerGetCicdPipelinesCount(Object.assign(Object.assign({}, props), { signal })), options);
14
- }
@@ -1,17 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { SprintListResponseDto } from '../schemas/SprintListResponseDto';
3
- import type { ErrorResponse } from '../schemas/ErrorResponse';
4
- import type { SprintListRequestDto } from '../schemas/SprintListRequestDto';
5
- import type { ResponseWithPagination } from '../helpers';
6
- import { FetcherOptions } from '../../../../fetcher/index.js';
7
- export type SprintInsightsControllerSearchSprintListRequestBody = SprintListRequestDto;
8
- export type SprintInsightsControllerSearchSprintListOkResponse = ResponseWithPagination<SprintListResponseDto>;
9
- export type SprintInsightsControllerSearchSprintListErrorResponse = ErrorResponse;
10
- export interface SprintInsightsControllerSearchSprintListProps extends Omit<FetcherOptions<unknown, SprintInsightsControllerSearchSprintListRequestBody>, 'url'> {
11
- body: SprintInsightsControllerSearchSprintListRequestBody;
12
- }
13
- export declare function sprintInsightsControllerSearchSprintList(props: SprintInsightsControllerSearchSprintListProps): Promise<SprintInsightsControllerSearchSprintListOkResponse>;
14
- /**
15
- * Search completed sprints for dropdown with filters
16
- */
17
- export declare function useSprintInsightsControllerSearchSprintListQuery(props: SprintInsightsControllerSearchSprintListProps, options?: Omit<UseQueryOptions<SprintInsightsControllerSearchSprintListOkResponse, SprintInsightsControllerSearchSprintListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SprintInsightsControllerSearchSprintListOkResponse, ErrorResponse>;
@@ -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 sprintInsightsControllerSearchSprintList(props) {
7
- return fetcher(Object.assign({ url: `/v2/insights/sprints/list/search`, method: 'POST' }, props));
8
- }
9
- /**
10
- * Search completed sprints for dropdown with filters
11
- */
12
- export function useSprintInsightsControllerSearchSprintListQuery(props, options) {
13
- return useQuery(['SprintInsightsControllerSearchSprintList', props.body], ({ signal }) => sprintInsightsControllerSearchSprintList(Object.assign(Object.assign({}, props), { signal })), options);
14
- }
@@ -1,17 +0,0 @@
1
- import type { IntegrationUserInfo } from '../schemas/IntegrationUserInfo';
2
- export interface DeveloperInfo {
3
- attributes?: {
4
- [key: string]: string;
5
- };
6
- /**
7
- * @format int32
8
- */
9
- developerId?: number;
10
- email?: string;
11
- integrationUsers?: IntegrationUserInfo[];
12
- name?: string;
13
- /**
14
- * @format int32
15
- */
16
- refId?: number;
17
- }
@@ -1,7 +0,0 @@
1
- export interface IntegrationUserInfo {
2
- cloudId?: string;
3
- /**
4
- * @format int32
5
- */
6
- integrationId?: number;
7
- }
@@ -1,5 +0,0 @@
1
- import type { SprintInfoDto } from '../schemas/SprintInfoDto';
2
- export interface SprintTicketsMetadataDto {
3
- computationMode?: 'STORY_POINTS' | 'TICKETS';
4
- sprintInfo?: SprintInfoDto;
5
- }