@harnessio/react-sei-panorama-service-client 0.24.0 → 0.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
@@ -291,10 +291,10 @@ export type { SprintInsightsControllerGetSprintDeliveryErrorResponse, SprintInsi
291
291
  export { sprintInsightsControllerGetSprintDelivery, useSprintInsightsControllerGetSprintDeliveryQuery, } from './hooks/useSprintInsightsControllerGetSprintDeliveryQuery';
292
292
  export type { SprintInsightsControllerGetSprintDrilldownErrorResponse, SprintInsightsControllerGetSprintDrilldownOkResponse, SprintInsightsControllerGetSprintDrilldownProps, SprintInsightsControllerGetSprintDrilldownRequestBody, } from './hooks/useSprintInsightsControllerGetSprintDrilldownQuery';
293
293
  export { sprintInsightsControllerGetSprintDrilldown, useSprintInsightsControllerGetSprintDrilldownQuery, } from './hooks/useSprintInsightsControllerGetSprintDrilldownQuery';
294
+ export type { SprintInsightsControllerGetSprintListErrorResponse, SprintInsightsControllerGetSprintListOkResponse, SprintInsightsControllerGetSprintListProps, SprintInsightsControllerGetSprintListRequestBody, } from './hooks/useSprintInsightsControllerGetSprintListQuery';
295
+ export { sprintInsightsControllerGetSprintList, useSprintInsightsControllerGetSprintListQuery, } from './hooks/useSprintInsightsControllerGetSprintListQuery';
294
296
  export type { SprintInsightsControllerGetSprintSummaryErrorResponse, SprintInsightsControllerGetSprintSummaryOkResponse, SprintInsightsControllerGetSprintSummaryProps, SprintInsightsControllerGetSprintSummaryRequestBody, } from './hooks/useSprintInsightsControllerGetSprintSummaryQuery';
295
297
  export { sprintInsightsControllerGetSprintSummary, useSprintInsightsControllerGetSprintSummaryQuery, } from './hooks/useSprintInsightsControllerGetSprintSummaryQuery';
296
- export type { SprintInsightsControllerSearchSprintListErrorResponse, SprintInsightsControllerSearchSprintListOkResponse, SprintInsightsControllerSearchSprintListProps, SprintInsightsControllerSearchSprintListRequestBody, } from './hooks/useSprintInsightsControllerSearchSprintListQuery';
297
- export { sprintInsightsControllerSearchSprintList, useSprintInsightsControllerSearchSprintListQuery, } from './hooks/useSprintInsightsControllerSearchSprintListQuery';
298
298
  export type { SprintInsightsControllerSearchSprintTicketsErrorResponse, SprintInsightsControllerSearchSprintTicketsOkResponse, SprintInsightsControllerSearchSprintTicketsProps, SprintInsightsControllerSearchSprintTicketsRequestBody, } from './hooks/useSprintInsightsControllerSearchSprintTicketsQuery';
299
299
  export { sprintInsightsControllerSearchSprintTickets, useSprintInsightsControllerSearchSprintTicketsQuery, } from './hooks/useSprintInsightsControllerSearchSprintTicketsQuery';
300
300
  export type { TeamsControllerAssociateDevelopersToTeamErrorResponse, TeamsControllerAssociateDevelopersToTeamMutationPathParams, TeamsControllerAssociateDevelopersToTeamOkResponse, TeamsControllerAssociateDevelopersToTeamProps, TeamsControllerAssociateDevelopersToTeamRequestBody, } from './hooks/useTeamsControllerAssociateDevelopersToTeamMutation';
@@ -144,8 +144,8 @@ export { scmGaControllerGetBuildInfoFromPr, useScmGaControllerGetBuildInfoFromPr
144
144
  export { scmGaControllerGetDeployInfoFromPr, useScmGaControllerGetDeployInfoFromPrQuery, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
145
145
  export { sprintInsightsControllerGetSprintDelivery, useSprintInsightsControllerGetSprintDeliveryQuery, } from './hooks/useSprintInsightsControllerGetSprintDeliveryQuery';
146
146
  export { sprintInsightsControllerGetSprintDrilldown, useSprintInsightsControllerGetSprintDrilldownQuery, } from './hooks/useSprintInsightsControllerGetSprintDrilldownQuery';
147
+ export { sprintInsightsControllerGetSprintList, useSprintInsightsControllerGetSprintListQuery, } from './hooks/useSprintInsightsControllerGetSprintListQuery';
147
148
  export { sprintInsightsControllerGetSprintSummary, useSprintInsightsControllerGetSprintSummaryQuery, } from './hooks/useSprintInsightsControllerGetSprintSummaryQuery';
148
- export { sprintInsightsControllerSearchSprintList, useSprintInsightsControllerSearchSprintListQuery, } from './hooks/useSprintInsightsControllerSearchSprintListQuery';
149
149
  export { sprintInsightsControllerSearchSprintTickets, useSprintInsightsControllerSearchSprintTicketsQuery, } from './hooks/useSprintInsightsControllerSearchSprintTicketsQuery';
150
150
  export { teamsControllerAssociateDevelopersToTeam, useTeamsControllerAssociateDevelopersToTeamMutation, } from './hooks/useTeamsControllerAssociateDevelopersToTeamMutation';
151
151
  export { teamsControllerDisassociateDevelopersFromTeam, useTeamsControllerDisassociateDevelopersFromTeamMutation, } from './hooks/useTeamsControllerDisassociateDevelopersFromTeamMutation';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.24.0",
3
+ "version": "0.24.1",
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,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
- }