@harnessio/react-sei-panorama-service-client 0.21.8 → 0.21.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGetDevelopersQuery.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerSearchDevelopersQuery.d.ts +29 -0
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerSearchDevelopersQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useExportControllerForCollectionsExportDataMutation.d.ts +27 -0
- package/dist/sei-panorama-service/src/services/hooks/{useExportControllerExportDataMutation.js → useExportControllerForCollectionsExportDataMutation.js} +3 -3
- package/dist/sei-panorama-service/src/services/hooks/useExportControllerForTeamsExportDataMutation.d.ts +27 -0
- package/dist/sei-panorama-service/src/services/hooks/useExportControllerForTeamsExportDataMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +7 -2
- package/dist/sei-panorama-service/src/services/index.js +3 -1
- package/dist/sei-panorama-service/src/services/schemas/DeveloperInfo.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/DeveloperSearchParams.d.ts +6 -0
- package/dist/sei-panorama-service/src/services/schemas/DeveloperSearchParams.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +1 -1
- package/package.json +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useExportControllerExportDataMutation.d.ts +0 -27
package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGetDevelopersQuery.d.ts
CHANGED
@@ -5,10 +5,12 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface DeveloperControllerGetDevelopersQueryQueryParams {
|
6
6
|
/**
|
7
7
|
* @format int32
|
8
|
+
* @default 0
|
8
9
|
*/
|
9
10
|
pageIndex?: number;
|
10
11
|
/**
|
11
12
|
* @format int32
|
13
|
+
* @default 50
|
12
14
|
*/
|
13
15
|
pageSize?: number;
|
14
16
|
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { DeveloperListResponseDto } from '../schemas/DeveloperListResponseDto';
|
3
|
+
import type { DeveloperSearchParams } from '../schemas/DeveloperSearchParams';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface DeveloperControllerSearchDevelopersQueryQueryParams {
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
* @default 0
|
10
|
+
*/
|
11
|
+
pageIndex?: number;
|
12
|
+
/**
|
13
|
+
* @format int32
|
14
|
+
* @default 50
|
15
|
+
*/
|
16
|
+
pageSize?: number;
|
17
|
+
}
|
18
|
+
export type DeveloperControllerSearchDevelopersRequestBody = DeveloperSearchParams;
|
19
|
+
export type DeveloperControllerSearchDevelopersOkResponse = ResponseWithPagination<DeveloperListResponseDto>;
|
20
|
+
export type DeveloperControllerSearchDevelopersErrorResponse = DeveloperListResponseDto;
|
21
|
+
export interface DeveloperControllerSearchDevelopersProps extends Omit<FetcherOptions<DeveloperControllerSearchDevelopersQueryQueryParams, DeveloperControllerSearchDevelopersRequestBody>, 'url'> {
|
22
|
+
queryParams: DeveloperControllerSearchDevelopersQueryQueryParams;
|
23
|
+
body: DeveloperControllerSearchDevelopersRequestBody;
|
24
|
+
}
|
25
|
+
export declare function developerControllerSearchDevelopers(props: DeveloperControllerSearchDevelopersProps): Promise<DeveloperControllerSearchDevelopersOkResponse>;
|
26
|
+
/**
|
27
|
+
* Returns a list of developers matching the search criteria with sorting options
|
28
|
+
*/
|
29
|
+
export declare function useDeveloperControllerSearchDevelopersQuery(props: DeveloperControllerSearchDevelopersProps, options?: Omit<UseQueryOptions<DeveloperControllerSearchDevelopersOkResponse, DeveloperControllerSearchDevelopersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DeveloperControllerSearchDevelopersOkResponse, DeveloperListResponseDto>;
|
package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerSearchDevelopersQuery.js
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
3
|
+
// Please do not modify this code directly.
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
6
|
+
export function developerControllerSearchDevelopers(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/developers/list`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Returns a list of developers matching the search criteria with sorting options
|
11
|
+
*/
|
12
|
+
export function useDeveloperControllerSearchDevelopersQuery(props, options) {
|
13
|
+
return useQuery(['DeveloperControllerSearchDevelopers', props.queryParams, props.body], ({ signal }) => developerControllerSearchDevelopers(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { ExportRequestDto } from '../schemas/ExportRequestDto';
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
|
+
export interface ExportControllerForCollectionsExportDataMutationQueryParams {
|
6
|
+
accountId: string;
|
7
|
+
projectIdentifier?: string;
|
8
|
+
orgIdentifier?: string;
|
9
|
+
/**
|
10
|
+
* @default "csv"
|
11
|
+
*/
|
12
|
+
format?: string;
|
13
|
+
}
|
14
|
+
export type ExportControllerForCollectionsExportDataRequestBody = ExportRequestDto;
|
15
|
+
export type ExportControllerForCollectionsExportDataOkResponse = ResponseWithPagination<{
|
16
|
+
[key: string]: any;
|
17
|
+
}>;
|
18
|
+
export type ExportControllerForCollectionsExportDataErrorResponse = string;
|
19
|
+
export interface ExportControllerForCollectionsExportDataProps extends Omit<FetcherOptions<ExportControllerForCollectionsExportDataMutationQueryParams, ExportControllerForCollectionsExportDataRequestBody>, 'url'> {
|
20
|
+
queryParams: ExportControllerForCollectionsExportDataMutationQueryParams;
|
21
|
+
body: ExportControllerForCollectionsExportDataRequestBody;
|
22
|
+
}
|
23
|
+
export declare function exportControllerForCollectionsExportData(props: ExportControllerForCollectionsExportDataProps): Promise<ExportControllerForCollectionsExportDataOkResponse>;
|
24
|
+
/**
|
25
|
+
* Retrieves data reports based on provided query parameters and request body, returning the report as a file.
|
26
|
+
*/
|
27
|
+
export declare function useExportControllerForCollectionsExportDataMutation(options?: Omit<UseMutationOptions<ExportControllerForCollectionsExportDataOkResponse, ExportControllerForCollectionsExportDataErrorResponse, ExportControllerForCollectionsExportDataProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ExportControllerForCollectionsExportDataOkResponse, string, ExportControllerForCollectionsExportDataProps, unknown>;
|
@@ -3,12 +3,12 @@
|
|
3
3
|
// Please do not modify this code directly.
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
|
-
export function
|
6
|
+
export function exportControllerForCollectionsExportData(props) {
|
7
7
|
return fetcher(Object.assign({ url: `/v2/insights/reports`, method: 'POST' }, props));
|
8
8
|
}
|
9
9
|
/**
|
10
10
|
* Retrieves data reports based on provided query parameters and request body, returning the report as a file.
|
11
11
|
*/
|
12
|
-
export function
|
13
|
-
return useMutation((mutateProps) =>
|
12
|
+
export function useExportControllerForCollectionsExportDataMutation(options) {
|
13
|
+
return useMutation((mutateProps) => exportControllerForCollectionsExportData(mutateProps), options);
|
14
14
|
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { ExportRequestDto } from '../schemas/ExportRequestDto';
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
|
+
export interface ExportControllerForTeamsExportDataMutationQueryParams {
|
6
|
+
accountId: string;
|
7
|
+
projectIdentifier?: string;
|
8
|
+
orgIdentifier?: string;
|
9
|
+
/**
|
10
|
+
* @default "csv"
|
11
|
+
*/
|
12
|
+
format?: string;
|
13
|
+
}
|
14
|
+
export type ExportControllerForTeamsExportDataRequestBody = ExportRequestDto;
|
15
|
+
export type ExportControllerForTeamsExportDataOkResponse = ResponseWithPagination<{
|
16
|
+
[key: string]: any;
|
17
|
+
}>;
|
18
|
+
export type ExportControllerForTeamsExportDataErrorResponse = string;
|
19
|
+
export interface ExportControllerForTeamsExportDataProps extends Omit<FetcherOptions<ExportControllerForTeamsExportDataMutationQueryParams, ExportControllerForTeamsExportDataRequestBody>, 'url'> {
|
20
|
+
queryParams: ExportControllerForTeamsExportDataMutationQueryParams;
|
21
|
+
body: ExportControllerForTeamsExportDataRequestBody;
|
22
|
+
}
|
23
|
+
export declare function exportControllerForTeamsExportData(props: ExportControllerForTeamsExportDataProps): Promise<ExportControllerForTeamsExportDataOkResponse>;
|
24
|
+
/**
|
25
|
+
* Retrieves data reports based on provided query parameters and request body, returning the report as a file.
|
26
|
+
*/
|
27
|
+
export declare function useExportControllerForTeamsExportDataMutation(options?: Omit<UseMutationOptions<ExportControllerForTeamsExportDataOkResponse, ExportControllerForTeamsExportDataErrorResponse, ExportControllerForTeamsExportDataProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ExportControllerForTeamsExportDataOkResponse, string, ExportControllerForTeamsExportDataProps, 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 exportControllerForTeamsExportData(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/teams/reports`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Retrieves data reports based on provided query parameters and request body, returning the report as a file.
|
11
|
+
*/
|
12
|
+
export function useExportControllerForTeamsExportDataMutation(options) {
|
13
|
+
return useMutation((mutateProps) => exportControllerForTeamsExportData(mutateProps), options);
|
14
|
+
}
|
@@ -63,6 +63,8 @@ export type { DeveloperControllerGroupDevelopersErrorResponse, DeveloperControll
|
|
63
63
|
export { developerControllerGroupDevelopers, useDeveloperControllerGroupDevelopersMutation, } from './hooks/useDeveloperControllerGroupDevelopersMutation';
|
64
64
|
export type { DeveloperControllerSaveDevelopersErrorResponse, DeveloperControllerSaveDevelopersMutationPathParams, DeveloperControllerSaveDevelopersOkResponse, DeveloperControllerSaveDevelopersProps, DeveloperControllerSaveDevelopersRequestBody, } from './hooks/useDeveloperControllerSaveDevelopersMutation';
|
65
65
|
export { developerControllerSaveDevelopers, useDeveloperControllerSaveDevelopersMutation, } from './hooks/useDeveloperControllerSaveDevelopersMutation';
|
66
|
+
export type { DeveloperControllerSearchDevelopersErrorResponse, DeveloperControllerSearchDevelopersOkResponse, DeveloperControllerSearchDevelopersProps, DeveloperControllerSearchDevelopersQueryQueryParams, DeveloperControllerSearchDevelopersRequestBody, } from './hooks/useDeveloperControllerSearchDevelopersQuery';
|
67
|
+
export { developerControllerSearchDevelopers, useDeveloperControllerSearchDevelopersQuery, } from './hooks/useDeveloperControllerSearchDevelopersQuery';
|
66
68
|
export type { DeveloperControllerUpdateDeveloperErrorResponse, DeveloperControllerUpdateDeveloperMutationPathParams, DeveloperControllerUpdateDeveloperOkResponse, DeveloperControllerUpdateDeveloperProps, DeveloperControllerUpdateDeveloperRequestBody, } from './hooks/useDeveloperControllerUpdateDeveloperMutation';
|
67
69
|
export { developerControllerUpdateDeveloper, useDeveloperControllerUpdateDeveloperMutation, } from './hooks/useDeveloperControllerUpdateDeveloperMutation';
|
68
70
|
export type { DeveloperControllerUploadDeveloperFileErrorResponse, DeveloperControllerUploadDeveloperFileMutationQueryParams, DeveloperControllerUploadDeveloperFileOkResponse, DeveloperControllerUploadDeveloperFileProps, DeveloperControllerUploadDeveloperFileRequestBody, } from './hooks/useDeveloperControllerUploadDeveloperFileMutation';
|
@@ -129,8 +131,10 @@ export type { EfficiencyProfileControllerListProfilesErrorResponse, EfficiencyPr
|
|
129
131
|
export { efficiencyProfileControllerListProfiles, useEfficiencyProfileControllerListProfilesQuery, } from './hooks/useEfficiencyProfileControllerListProfilesQuery';
|
130
132
|
export type { EfficiencyProfileControllerUpdateProfileErrorResponse, EfficiencyProfileControllerUpdateProfileMutationPathParams, EfficiencyProfileControllerUpdateProfileMutationQueryParams, EfficiencyProfileControllerUpdateProfileOkResponse, EfficiencyProfileControllerUpdateProfileProps, EfficiencyProfileControllerUpdateProfileRequestBody, } from './hooks/useEfficiencyProfileControllerUpdateProfileMutation';
|
131
133
|
export { efficiencyProfileControllerUpdateProfile, useEfficiencyProfileControllerUpdateProfileMutation, } from './hooks/useEfficiencyProfileControllerUpdateProfileMutation';
|
132
|
-
export type {
|
133
|
-
export {
|
134
|
+
export type { ExportControllerForCollectionsExportDataErrorResponse, ExportControllerForCollectionsExportDataMutationQueryParams, ExportControllerForCollectionsExportDataOkResponse, ExportControllerForCollectionsExportDataProps, ExportControllerForCollectionsExportDataRequestBody, } from './hooks/useExportControllerForCollectionsExportDataMutation';
|
135
|
+
export { exportControllerForCollectionsExportData, useExportControllerForCollectionsExportDataMutation, } from './hooks/useExportControllerForCollectionsExportDataMutation';
|
136
|
+
export type { ExportControllerForTeamsExportDataErrorResponse, ExportControllerForTeamsExportDataMutationQueryParams, ExportControllerForTeamsExportDataOkResponse, ExportControllerForTeamsExportDataProps, ExportControllerForTeamsExportDataRequestBody, } from './hooks/useExportControllerForTeamsExportDataMutation';
|
137
|
+
export { exportControllerForTeamsExportData, useExportControllerForTeamsExportDataMutation, } from './hooks/useExportControllerForTeamsExportDataMutation';
|
134
138
|
export type { ImFieldsControllerListImFieldsErrorResponse, ImFieldsControllerListImFieldsOkResponse, ImFieldsControllerListImFieldsProps, ImFieldsControllerListImFieldsQueryQueryParams, ImFieldsControllerListImFieldsRequestBody, } from './hooks/useImFieldsControllerListImFieldsQuery';
|
135
139
|
export { imFieldsControllerListImFields, useImFieldsControllerListImFieldsQuery, } from './hooks/useImFieldsControllerListImFieldsQuery';
|
136
140
|
export type { IntegrationControllerGetFilterValuesErrorResponse, IntegrationControllerGetFilterValuesOkResponse, IntegrationControllerGetFilterValuesProps, IntegrationControllerGetFilterValuesQueryQueryParams, IntegrationControllerGetFilterValuesRequestBody, } from './hooks/useIntegrationControllerGetFilterValuesQuery';
|
@@ -288,6 +292,7 @@ export type { DeveloperInfo } from './schemas/DeveloperInfo';
|
|
288
292
|
export type { DeveloperLicenseDto } from './schemas/DeveloperLicenseDto';
|
289
293
|
export type { DeveloperListResponseDto } from './schemas/DeveloperListResponseDto';
|
290
294
|
export type { DeveloperSaveResponseDto } from './schemas/DeveloperSaveResponseDto';
|
295
|
+
export type { DeveloperSearchParams } from './schemas/DeveloperSearchParams';
|
291
296
|
export type { DeveloperValidationErrorDto } from './schemas/DeveloperValidationErrorDto';
|
292
297
|
export type { DfConfigurationDto } from './schemas/DfConfigurationDto';
|
293
298
|
export type { DoraChangeFailureRateMetric } from './schemas/DoraChangeFailureRateMetric';
|
@@ -30,6 +30,7 @@ export { developerControllerGetDevelopers, useDeveloperControllerGetDevelopersQu
|
|
30
30
|
export { developerControllerGetLatestDeveloperSchema, useDeveloperControllerGetLatestDeveloperSchemaQuery, } from './hooks/useDeveloperControllerGetLatestDeveloperSchemaQuery';
|
31
31
|
export { developerControllerGroupDevelopers, useDeveloperControllerGroupDevelopersMutation, } from './hooks/useDeveloperControllerGroupDevelopersMutation';
|
32
32
|
export { developerControllerSaveDevelopers, useDeveloperControllerSaveDevelopersMutation, } from './hooks/useDeveloperControllerSaveDevelopersMutation';
|
33
|
+
export { developerControllerSearchDevelopers, useDeveloperControllerSearchDevelopersQuery, } from './hooks/useDeveloperControllerSearchDevelopersQuery';
|
33
34
|
export { developerControllerUpdateDeveloper, useDeveloperControllerUpdateDeveloperMutation, } from './hooks/useDeveloperControllerUpdateDeveloperMutation';
|
34
35
|
export { developerControllerUploadDeveloperFile, useDeveloperControllerUploadDeveloperFileMutation, } from './hooks/useDeveloperControllerUploadDeveloperFileMutation';
|
35
36
|
export { doraControllerBreakdown, useDoraControllerBreakdownQuery, } from './hooks/useDoraControllerBreakdownQuery';
|
@@ -63,7 +64,8 @@ export { efficiencyProfileControllerDeleteProfileByRefId, useEfficiencyProfileCo
|
|
63
64
|
export { efficiencyProfileControllerGetProfile, useEfficiencyProfileControllerGetProfileQuery, } from './hooks/useEfficiencyProfileControllerGetProfileQuery';
|
64
65
|
export { efficiencyProfileControllerListProfiles, useEfficiencyProfileControllerListProfilesQuery, } from './hooks/useEfficiencyProfileControllerListProfilesQuery';
|
65
66
|
export { efficiencyProfileControllerUpdateProfile, useEfficiencyProfileControllerUpdateProfileMutation, } from './hooks/useEfficiencyProfileControllerUpdateProfileMutation';
|
66
|
-
export {
|
67
|
+
export { exportControllerForCollectionsExportData, useExportControllerForCollectionsExportDataMutation, } from './hooks/useExportControllerForCollectionsExportDataMutation';
|
68
|
+
export { exportControllerForTeamsExportData, useExportControllerForTeamsExportDataMutation, } from './hooks/useExportControllerForTeamsExportDataMutation';
|
67
69
|
export { imFieldsControllerListImFields, useImFieldsControllerListImFieldsQuery, } from './hooks/useImFieldsControllerListImFieldsQuery';
|
68
70
|
export { integrationControllerGetFilterValues, useIntegrationControllerGetFilterValuesQuery, } from './hooks/useIntegrationControllerGetFilterValuesQuery';
|
69
71
|
export { integrationControllerListIntegrations, useIntegrationControllerListIntegrationsQuery, } from './hooks/useIntegrationControllerListIntegrationsQuery';
|
@@ -2,7 +2,7 @@ export interface FilterValuesRequestDto {
|
|
2
2
|
/**
|
3
3
|
* Filter key to get values for
|
4
4
|
*/
|
5
|
-
filterKey: 'CODE_AREA' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
|
5
|
+
filterKey: 'CODE_AREA' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
|
6
6
|
/**
|
7
7
|
* Integration ID
|
8
8
|
*/
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export interface TeamFilter {
|
2
2
|
applicableMetrics?: Array<'BA' | 'CFR' | 'DF' | 'LTTC' | 'MTTR' | 'PRODUCTIVITY'>;
|
3
|
-
filterKey?: 'CODE_AREA' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
|
3
|
+
filterKey?: 'CODE_AREA' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
|
4
4
|
/**
|
5
5
|
* @format int32
|
6
6
|
*/
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
3
|
-
"version": "0.21.
|
3
|
+
"version": "0.21.10",
|
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",
|
package/dist/sei-panorama-service/src/services/hooks/useExportControllerExportDataMutation.d.ts
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
-
import type { ExportRequestDto } from '../schemas/ExportRequestDto';
|
3
|
-
import type { ResponseWithPagination } from '../helpers';
|
4
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
|
-
export interface ExportControllerExportDataMutationQueryParams {
|
6
|
-
accountId: string;
|
7
|
-
projectIdentifier?: string;
|
8
|
-
orgIdentifier?: string;
|
9
|
-
/**
|
10
|
-
* @default "csv"
|
11
|
-
*/
|
12
|
-
format?: string;
|
13
|
-
}
|
14
|
-
export type ExportControllerExportDataRequestBody = ExportRequestDto;
|
15
|
-
export type ExportControllerExportDataOkResponse = ResponseWithPagination<{
|
16
|
-
[key: string]: any;
|
17
|
-
}>;
|
18
|
-
export type ExportControllerExportDataErrorResponse = string;
|
19
|
-
export interface ExportControllerExportDataProps extends Omit<FetcherOptions<ExportControllerExportDataMutationQueryParams, ExportControllerExportDataRequestBody>, 'url'> {
|
20
|
-
queryParams: ExportControllerExportDataMutationQueryParams;
|
21
|
-
body: ExportControllerExportDataRequestBody;
|
22
|
-
}
|
23
|
-
export declare function exportControllerExportData(props: ExportControllerExportDataProps): Promise<ExportControllerExportDataOkResponse>;
|
24
|
-
/**
|
25
|
-
* Retrieves data reports based on provided query parameters and request body, returning the report as a file.
|
26
|
-
*/
|
27
|
-
export declare function useExportControllerExportDataMutation(options?: Omit<UseMutationOptions<ExportControllerExportDataOkResponse, ExportControllerExportDataErrorResponse, ExportControllerExportDataProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ExportControllerExportDataOkResponse, string, ExportControllerExportDataProps, unknown>;
|