@harnessio/react-sei-panorama-service-client 0.26.6 → 0.26.8
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/useCustomMetricsControllerGetIngestionHistoryQuery.d.ts +36 -0
- package/dist/sei-panorama-service/src/services/hooks/useCustomMetricsControllerGetIngestionHistoryQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useCustomMetricsControllerGetIngestionStatusQuery.d.ts +24 -0
- package/dist/sei-panorama-service/src/services/hooks/useCustomMetricsControllerGetIngestionStatusQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useCustomMetricsControllerGetSchemaQuery.d.ts +44 -0
- package/dist/sei-panorama-service/src/services/hooks/useCustomMetricsControllerGetSchemaQuery.js +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useCustomMetricsControllerIngestDataMutation.d.ts +29 -0
- package/dist/sei-panorama-service/src/services/hooks/useCustomMetricsControllerIngestDataMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useCustomMetricsControllerRegisterSchemaMutation.d.ts +29 -0
- package/dist/sei-panorama-service/src/services/hooks/useCustomMetricsControllerRegisterSchemaMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useExternalDataControllerGetCurrentSchemaQuery.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/hooks/useExternalDataControllerGetCurrentSchemaQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useExternalDataControllerGetIngestionHistoryQuery.d.ts +32 -0
- package/dist/sei-panorama-service/src/services/hooks/useExternalDataControllerGetIngestionHistoryQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useExternalDataControllerGetIngestionStatusQuery.d.ts +23 -0
- package/dist/sei-panorama-service/src/services/hooks/useExternalDataControllerGetIngestionStatusQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useExternalDataControllerGetSchemaHistoryQuery.d.ts +31 -0
- package/dist/sei-panorama-service/src/services/hooks/useExternalDataControllerGetSchemaHistoryQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useExternalDataControllerIngestDataMutation.d.ts +25 -0
- package/dist/sei-panorama-service/src/services/hooks/useExternalDataControllerIngestDataMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useExternalDataControllerRegisterSchemaMutation.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useExternalDataControllerRegisterSchemaMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityInsightsExportControllerCreateExportMutation.d.ts +23 -2
- package/dist/sei-panorama-service/src/services/hooks/useProductivityInsightsExportControllerCreateExportMutation.js +23 -1
- package/dist/sei-panorama-service/src/services/hooks/useProductivityInsightsExportControllerDownloadExportQuery.d.ts +1 -5
- package/dist/sei-panorama-service/src/services/hooks/useProductivityInsightsExportControllerDownloadExportQuery.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useProductivityInsightsExportControllerGenerateExportDirectMutation.d.ts +59 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityInsightsExportControllerGenerateExportDirectMutation.js +53 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityInsightsExportControllerGenerateExportSyncMutation.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useProductivityInsightsExportControllerGenerateExportSyncMutation.js +1 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityInsightsExportControllerGetExportStatusQuery.d.ts +1 -5
- package/dist/sei-panorama-service/src/services/hooks/useProductivityInsightsExportControllerGetExportStatusQuery.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useProductivityInsightsExportControllerListExportsQuery.d.ts +0 -1
- package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerCreateExportMutation.d.ts +11 -2
- package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerCreateExportMutation.js +11 -1
- package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerCreateExport_1Mutation.d.ts +11 -2
- package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerCreateExport_1Mutation.js +11 -1
- package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerDownloadExportQuery.d.ts +1 -5
- package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerDownloadExportQuery.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerDownloadExport_1Query.d.ts +1 -5
- package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerDownloadExport_1Query.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerGenerateExportSyncMutation.d.ts +8 -2
- package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerGenerateExportSyncMutation.js +8 -1
- package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerGenerateExportSync_1Mutation.d.ts +8 -2
- package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerGenerateExportSync_1Mutation.js +8 -1
- package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerGetExportStatusQuery.d.ts +1 -5
- package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerGetExportStatusQuery.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerGetExportStatus_1Query.d.ts +1 -5
- package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerGetExportStatus_1Query.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerListExportsQuery.d.ts +0 -1
- package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerListExports_1Query.d.ts +0 -1
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetHqlFilterMetadataQuery.d.ts +13 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetHqlFilterMetadataQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamFiltersQuery.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamHqlFiltersQuery.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamHqlFiltersQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationFiltersQuery.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/index.d.ts +53 -6
- package/dist/sei-panorama-service/src/services/index.js +14 -0
- package/dist/sei-panorama-service/src/services/schemas/DataRecord.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/schemas/DataRecord.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraLttcMttrMetric.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/DrillDownResponseDtoObject.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileEvent.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ExportMetadata.d.ts +5 -1
- package/dist/sei-panorama-service/src/services/schemas/FieldConstraint.d.ts +23 -0
- package/dist/sei-panorama-service/src/services/schemas/FieldConstraint.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/FieldDefinition.d.ts +28 -0
- package/dist/sei-panorama-service/src/services/schemas/FieldDefinition.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/HqlFilterKeyMetadataDto.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/HqlFilterKeyMetadataDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/HqlFilterMetadataResponseDto.d.ts +6 -0
- package/dist/sei-panorama-service/src/services/schemas/HqlFilterMetadataResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/IngestionRequest.d.ts +15 -0
- package/dist/sei-panorama-service/src/services/schemas/IngestionRequest.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/IngestionResponse.d.ts +39 -0
- package/dist/sei-panorama-service/src/services/schemas/IngestionResponse.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/IngestionStatusResponse.d.ts +88 -0
- package/dist/sei-panorama-service/src/services/schemas/IngestionStatusResponse.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/Integration.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/IntegrationResponseDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/MetricsExportRequestDto.d.ts +7 -2
- package/dist/sei-panorama-service/src/services/schemas/MttrDrillDownResponseDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/MttrMetric.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/PageIngestionStatusResponse.d.ts +31 -0
- package/dist/sei-panorama-service/src/services/schemas/PageIngestionStatusResponse.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/PageSchemaResponse.d.ts +31 -0
- package/dist/sei-panorama-service/src/services/schemas/PageSchemaResponse.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/PageableObject.d.ts +18 -0
- package/dist/sei-panorama-service/src/services/schemas/PageableObject.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/RecordBatch.d.ts +15 -0
- package/dist/sei-panorama-service/src/services/schemas/RecordBatch.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/RecordTypeDefinition.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/schemas/RecordTypeDefinition.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/SchemaDefinition.d.ts +15 -0
- package/dist/sei-panorama-service/src/services/schemas/SchemaDefinition.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/SchemaRegistrationRequest.d.ts +15 -0
- package/dist/sei-panorama-service/src/services/schemas/SchemaRegistrationRequest.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/SchemaResponse.d.ts +52 -0
- package/dist/sei-panorama-service/src/services/schemas/SchemaResponse.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/SortObject.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/SortObject.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/SprintExportRequestDto.d.ts +15 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamFilterIntegrationSummary.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/TeamFiltersHqlDto.d.ts +11 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamFiltersHqlDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamFiltersResponseDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/TeamHqlFiltersResponseDto.d.ts +9 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamHqlFiltersResponseDto.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { MetricsExportRequestDto } from '../schemas/MetricsExportRequestDto';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface ProductivityInsightsExportControllerGenerateExportDirectMutationQueryParams {
|
|
6
|
+
projectIdentifier?: string;
|
|
7
|
+
orgIdentifier?: string;
|
|
8
|
+
}
|
|
9
|
+
export type ProductivityInsightsExportControllerGenerateExportDirectRequestBody = MetricsExportRequestDto;
|
|
10
|
+
export type ProductivityInsightsExportControllerGenerateExportDirectOkResponse = ResponseWithPagination<unknown>;
|
|
11
|
+
export type ProductivityInsightsExportControllerGenerateExportDirectErrorResponse = unknown;
|
|
12
|
+
export interface ProductivityInsightsExportControllerGenerateExportDirectProps extends Omit<FetcherOptions<ProductivityInsightsExportControllerGenerateExportDirectMutationQueryParams, ProductivityInsightsExportControllerGenerateExportDirectRequestBody>, 'url'> {
|
|
13
|
+
queryParams: ProductivityInsightsExportControllerGenerateExportDirectMutationQueryParams;
|
|
14
|
+
body: ProductivityInsightsExportControllerGenerateExportDirectRequestBody;
|
|
15
|
+
}
|
|
16
|
+
export declare function productivityInsightsExportControllerGenerateExportDirect(props: ProductivityInsightsExportControllerGenerateExportDirectProps): Promise<ProductivityInsightsExportControllerGenerateExportDirectOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Generates and returns a productivity metrics CSV file immediately without database storage.
|
|
19
|
+
*
|
|
20
|
+
* **Key Differences from Async Export:**
|
|
21
|
+
* - No database storage (no export job record)
|
|
22
|
+
* - No async processing queue
|
|
23
|
+
* - Returns CSV directly in response
|
|
24
|
+
* - No deduplication check
|
|
25
|
+
* - Generates random export ID for traceability
|
|
26
|
+
*
|
|
27
|
+
* **Metric Selection** (choose ONE):
|
|
28
|
+
* - `metricGroups`: Business-oriented groups (e.g., ["volume", "quality", "collaboration"])
|
|
29
|
+
* - `metrics`: Granular column selection (e.g., ["PR_Merged", "Work_Completed"])
|
|
30
|
+
*
|
|
31
|
+
* **New Metric Groups** (business-aligned):
|
|
32
|
+
* - `activity`: Developer engagement and coding activity
|
|
33
|
+
* - `velocity`: Speed and efficiency of delivery
|
|
34
|
+
* - `volume`: Quantity of work output (PRs, work items, LOC, commits)
|
|
35
|
+
* - `quality`: Code quality and technical debt indicators
|
|
36
|
+
* - `collaboration`: Team collaboration and code review
|
|
37
|
+
*
|
|
38
|
+
* **Legacy Labels** (backward compatible):
|
|
39
|
+
* - `pr` → maps to `volume`
|
|
40
|
+
* - `work` → maps to `volume`
|
|
41
|
+
* - `loc` → maps to `volume`
|
|
42
|
+
* - `review` → maps to `collaboration`
|
|
43
|
+
* - `rework` → maps to `quality`
|
|
44
|
+
* - `codingDays` → maps to `activity`
|
|
45
|
+
* - `commitsTotal` → maps to `volume`
|
|
46
|
+
*
|
|
47
|
+
* **Metric Levels:**
|
|
48
|
+
* - `developer`: Individual developer metrics (one row per developer per time period)
|
|
49
|
+
* - `team`: Team-level aggregations (includes team-specific metrics)
|
|
50
|
+
*
|
|
51
|
+
* **Use Cases:**
|
|
52
|
+
* - Quick data exports without tracking
|
|
53
|
+
* - Development and testing
|
|
54
|
+
* - API exploratory calls
|
|
55
|
+
* - One-time data analysis
|
|
56
|
+
*
|
|
57
|
+
* @deprecated
|
|
58
|
+
*/
|
|
59
|
+
export declare function useProductivityInsightsExportControllerGenerateExportDirectMutation(options?: Omit<UseMutationOptions<ProductivityInsightsExportControllerGenerateExportDirectOkResponse, ProductivityInsightsExportControllerGenerateExportDirectErrorResponse, ProductivityInsightsExportControllerGenerateExportDirectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ProductivityInsightsExportControllerGenerateExportDirectOkResponse, unknown, ProductivityInsightsExportControllerGenerateExportDirectProps, unknown>;
|
|
@@ -0,0 +1,53 @@
|
|
|
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 productivityInsightsExportControllerGenerateExportDirect(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/productivity/exports/direct`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Generates and returns a productivity metrics CSV file immediately without database storage.
|
|
11
|
+
*
|
|
12
|
+
* **Key Differences from Async Export:**
|
|
13
|
+
* - No database storage (no export job record)
|
|
14
|
+
* - No async processing queue
|
|
15
|
+
* - Returns CSV directly in response
|
|
16
|
+
* - No deduplication check
|
|
17
|
+
* - Generates random export ID for traceability
|
|
18
|
+
*
|
|
19
|
+
* **Metric Selection** (choose ONE):
|
|
20
|
+
* - `metricGroups`: Business-oriented groups (e.g., ["volume", "quality", "collaboration"])
|
|
21
|
+
* - `metrics`: Granular column selection (e.g., ["PR_Merged", "Work_Completed"])
|
|
22
|
+
*
|
|
23
|
+
* **New Metric Groups** (business-aligned):
|
|
24
|
+
* - `activity`: Developer engagement and coding activity
|
|
25
|
+
* - `velocity`: Speed and efficiency of delivery
|
|
26
|
+
* - `volume`: Quantity of work output (PRs, work items, LOC, commits)
|
|
27
|
+
* - `quality`: Code quality and technical debt indicators
|
|
28
|
+
* - `collaboration`: Team collaboration and code review
|
|
29
|
+
*
|
|
30
|
+
* **Legacy Labels** (backward compatible):
|
|
31
|
+
* - `pr` → maps to `volume`
|
|
32
|
+
* - `work` → maps to `volume`
|
|
33
|
+
* - `loc` → maps to `volume`
|
|
34
|
+
* - `review` → maps to `collaboration`
|
|
35
|
+
* - `rework` → maps to `quality`
|
|
36
|
+
* - `codingDays` → maps to `activity`
|
|
37
|
+
* - `commitsTotal` → maps to `volume`
|
|
38
|
+
*
|
|
39
|
+
* **Metric Levels:**
|
|
40
|
+
* - `developer`: Individual developer metrics (one row per developer per time period)
|
|
41
|
+
* - `team`: Team-level aggregations (includes team-specific metrics)
|
|
42
|
+
*
|
|
43
|
+
* **Use Cases:**
|
|
44
|
+
* - Quick data exports without tracking
|
|
45
|
+
* - Development and testing
|
|
46
|
+
* - API exploratory calls
|
|
47
|
+
* - One-time data analysis
|
|
48
|
+
*
|
|
49
|
+
* @deprecated
|
|
50
|
+
*/
|
|
51
|
+
export function useProductivityInsightsExportControllerGenerateExportDirectMutation(options) {
|
|
52
|
+
return useMutation((mutateProps) => productivityInsightsExportControllerGenerateExportDirect(mutateProps), options);
|
|
53
|
+
}
|
|
@@ -3,7 +3,6 @@ import type { MetricsExportRequestDto } from '../schemas/MetricsExportRequestDto
|
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface ProductivityInsightsExportControllerGenerateExportSyncMutationQueryParams {
|
|
6
|
-
routingId: string;
|
|
7
6
|
projectIdentifier?: string;
|
|
8
7
|
orgIdentifier?: string;
|
|
9
8
|
}
|
|
@@ -17,5 +16,6 @@ export interface ProductivityInsightsExportControllerGenerateExportSyncProps ext
|
|
|
17
16
|
export declare function productivityInsightsExportControllerGenerateExportSync(props: ProductivityInsightsExportControllerGenerateExportSyncProps): Promise<ProductivityInsightsExportControllerGenerateExportSyncOkResponse>;
|
|
18
17
|
/**
|
|
19
18
|
* Directly generates and returns a productivity metrics CSV file without async processing. Intended for testing purposes only. For production use, use the async POST /exports endpoint.
|
|
19
|
+
* @deprecated
|
|
20
20
|
*/
|
|
21
21
|
export declare function useProductivityInsightsExportControllerGenerateExportSyncMutation(options?: Omit<UseMutationOptions<ProductivityInsightsExportControllerGenerateExportSyncOkResponse, ProductivityInsightsExportControllerGenerateExportSyncErrorResponse, ProductivityInsightsExportControllerGenerateExportSyncProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ProductivityInsightsExportControllerGenerateExportSyncOkResponse, unknown, ProductivityInsightsExportControllerGenerateExportSyncProps, unknown>;
|
|
@@ -8,6 +8,7 @@ export function productivityInsightsExportControllerGenerateExportSync(props) {
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Directly generates and returns a productivity metrics CSV file without async processing. Intended for testing purposes only. For production use, use the async POST /exports endpoint.
|
|
11
|
+
* @deprecated
|
|
11
12
|
*/
|
|
12
13
|
export function useProductivityInsightsExportControllerGenerateExportSyncMutation(options) {
|
|
13
14
|
return useMutation((mutateProps) => productivityInsightsExportControllerGenerateExportSync(mutateProps), options);
|
|
@@ -5,13 +5,9 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
|
5
5
|
export interface ProductivityInsightsExportControllerGetExportStatusQueryPathParams {
|
|
6
6
|
exportId: string;
|
|
7
7
|
}
|
|
8
|
-
export interface ProductivityInsightsExportControllerGetExportStatusQueryQueryParams {
|
|
9
|
-
routingId: string;
|
|
10
|
-
}
|
|
11
8
|
export type ProductivityInsightsExportControllerGetExportStatusOkResponse = ResponseWithPagination<MetricsExportResponseDto>;
|
|
12
9
|
export type ProductivityInsightsExportControllerGetExportStatusErrorResponse = unknown;
|
|
13
|
-
export interface ProductivityInsightsExportControllerGetExportStatusProps extends ProductivityInsightsExportControllerGetExportStatusQueryPathParams, Omit<FetcherOptions<
|
|
14
|
-
queryParams: ProductivityInsightsExportControllerGetExportStatusQueryQueryParams;
|
|
10
|
+
export interface ProductivityInsightsExportControllerGetExportStatusProps extends ProductivityInsightsExportControllerGetExportStatusQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
15
11
|
}
|
|
16
12
|
export declare function productivityInsightsExportControllerGetExportStatus(props: ProductivityInsightsExportControllerGetExportStatusProps): Promise<ProductivityInsightsExportControllerGetExportStatusOkResponse>;
|
|
17
13
|
/**
|
|
@@ -10,5 +10,5 @@ export function productivityInsightsExportControllerGetExportStatus(props) {
|
|
|
10
10
|
* Retrieves the current status of an export job. If the export is completed, includes download information.
|
|
11
11
|
*/
|
|
12
12
|
export function useProductivityInsightsExportControllerGetExportStatusQuery(props, options) {
|
|
13
|
-
return useQuery(['ProductivityInsightsExportControllerGetExportStatus', props.exportId
|
|
13
|
+
return useQuery(['ProductivityInsightsExportControllerGetExportStatus', props.exportId], ({ signal }) => productivityInsightsExportControllerGetExportStatus(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -3,7 +3,6 @@ import type { MetricsExportListResponseDto } from '../schemas/MetricsExportListR
|
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface ProductivityInsightsExportControllerListExportsQueryQueryParams {
|
|
6
|
-
routingId: string;
|
|
7
6
|
status?: 'CANCELLED' | 'COMPLETED' | 'FAILED' | 'PROCESSING' | 'QUEUED';
|
|
8
7
|
/**
|
|
9
8
|
* @default "all"
|
|
@@ -4,7 +4,6 @@ import type { SprintExportRequestDto } from '../schemas/SprintExportRequestDto';
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface SprintInsightsExportControllerCreateExportMutationQueryParams {
|
|
7
|
-
routingId: string;
|
|
8
7
|
projectIdentifier?: string;
|
|
9
8
|
orgIdentifier?: string;
|
|
10
9
|
}
|
|
@@ -17,6 +16,16 @@ export interface SprintInsightsExportControllerCreateExportProps extends Omit<Fe
|
|
|
17
16
|
}
|
|
18
17
|
export declare function sprintInsightsExportControllerCreateExport(props: SprintInsightsExportControllerCreateExportProps): Promise<SprintInsightsExportControllerCreateExportOkResponse>;
|
|
19
18
|
/**
|
|
20
|
-
* Creates a new export job for sprint insights metrics.
|
|
19
|
+
* Creates a new export job for sprint insights metrics.
|
|
20
|
+
* If an identical export was requested recently (within 30 minutes),
|
|
21
|
+
* the existing export will be reused and returned with 200 OK status.
|
|
22
|
+
*
|
|
23
|
+
* Metric Selection (choose ONE):
|
|
24
|
+
* - metricGroups: ["work", "delivery"] (high-level groups)
|
|
25
|
+
* - metricColumns: ["Sprint_Commit", "Total_Work_Delivered"] (granular)
|
|
26
|
+
* - metrics: DEPRECATED, use metricGroups
|
|
27
|
+
*
|
|
28
|
+
* Note: sprintIds are used for filtering but not persisted.
|
|
29
|
+
*
|
|
21
30
|
*/
|
|
22
31
|
export declare function useSprintInsightsExportControllerCreateExportMutation(options?: Omit<UseMutationOptions<SprintInsightsExportControllerCreateExportOkResponse, SprintInsightsExportControllerCreateExportErrorResponse, SprintInsightsExportControllerCreateExportProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SprintInsightsExportControllerCreateExportOkResponse, unknown, SprintInsightsExportControllerCreateExportProps, unknown>;
|
|
@@ -7,7 +7,17 @@ export function sprintInsightsExportControllerCreateExport(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/insights/efficiency/sprints/export`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Creates a new export job for sprint insights metrics.
|
|
10
|
+
* Creates a new export job for sprint insights metrics.
|
|
11
|
+
* If an identical export was requested recently (within 30 minutes),
|
|
12
|
+
* the existing export will be reused and returned with 200 OK status.
|
|
13
|
+
*
|
|
14
|
+
* Metric Selection (choose ONE):
|
|
15
|
+
* - metricGroups: ["work", "delivery"] (high-level groups)
|
|
16
|
+
* - metricColumns: ["Sprint_Commit", "Total_Work_Delivered"] (granular)
|
|
17
|
+
* - metrics: DEPRECATED, use metricGroups
|
|
18
|
+
*
|
|
19
|
+
* Note: sprintIds are used for filtering but not persisted.
|
|
20
|
+
*
|
|
11
21
|
*/
|
|
12
22
|
export function useSprintInsightsExportControllerCreateExportMutation(options) {
|
|
13
23
|
return useMutation((mutateProps) => sprintInsightsExportControllerCreateExport(mutateProps), options);
|
|
@@ -4,7 +4,6 @@ import type { SprintExportRequestDto } from '../schemas/SprintExportRequestDto';
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface SprintInsightsExportControllerCreateExport_1MutationQueryParams {
|
|
7
|
-
routingId: string;
|
|
8
7
|
projectIdentifier?: string;
|
|
9
8
|
orgIdentifier?: string;
|
|
10
9
|
}
|
|
@@ -17,6 +16,16 @@ export interface SprintInsightsExportControllerCreateExport_1Props extends Omit<
|
|
|
17
16
|
}
|
|
18
17
|
export declare function sprintInsightsExportControllerCreateExport_1(props: SprintInsightsExportControllerCreateExport_1Props): Promise<SprintInsightsExportControllerCreateExport_1OkResponse>;
|
|
19
18
|
/**
|
|
20
|
-
* Creates a new export job for sprint insights metrics.
|
|
19
|
+
* Creates a new export job for sprint insights metrics.
|
|
20
|
+
* If an identical export was requested recently (within 30 minutes),
|
|
21
|
+
* the existing export will be reused and returned with 200 OK status.
|
|
22
|
+
*
|
|
23
|
+
* Metric Selection (choose ONE):
|
|
24
|
+
* - metricGroups: ["work", "delivery"] (high-level groups)
|
|
25
|
+
* - metricColumns: ["Sprint_Commit", "Total_Work_Delivered"] (granular)
|
|
26
|
+
* - metrics: DEPRECATED, use metricGroups
|
|
27
|
+
*
|
|
28
|
+
* Note: sprintIds are used for filtering but not persisted.
|
|
29
|
+
*
|
|
21
30
|
*/
|
|
22
31
|
export declare function useSprintInsightsExportControllerCreateExport_1Mutation(options?: Omit<UseMutationOptions<SprintInsightsExportControllerCreateExport_1OkResponse, SprintInsightsExportControllerCreateExport_1ErrorResponse, SprintInsightsExportControllerCreateExport_1Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SprintInsightsExportControllerCreateExport_1OkResponse, unknown, SprintInsightsExportControllerCreateExport_1Props, unknown>;
|
|
@@ -7,7 +7,17 @@ export function sprintInsightsExportControllerCreateExport_1(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/insights/sprints/exports`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Creates a new export job for sprint insights metrics.
|
|
10
|
+
* Creates a new export job for sprint insights metrics.
|
|
11
|
+
* If an identical export was requested recently (within 30 minutes),
|
|
12
|
+
* the existing export will be reused and returned with 200 OK status.
|
|
13
|
+
*
|
|
14
|
+
* Metric Selection (choose ONE):
|
|
15
|
+
* - metricGroups: ["work", "delivery"] (high-level groups)
|
|
16
|
+
* - metricColumns: ["Sprint_Commit", "Total_Work_Delivered"] (granular)
|
|
17
|
+
* - metrics: DEPRECATED, use metricGroups
|
|
18
|
+
*
|
|
19
|
+
* Note: sprintIds are used for filtering but not persisted.
|
|
20
|
+
*
|
|
11
21
|
*/
|
|
12
22
|
export function useSprintInsightsExportControllerCreateExport_1Mutation(options) {
|
|
13
23
|
return useMutation((mutateProps) => sprintInsightsExportControllerCreateExport_1(mutateProps), options);
|
|
@@ -4,13 +4,9 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
|
4
4
|
export interface SprintInsightsExportControllerDownloadExportQueryPathParams {
|
|
5
5
|
exportId: string;
|
|
6
6
|
}
|
|
7
|
-
export interface SprintInsightsExportControllerDownloadExportQueryQueryParams {
|
|
8
|
-
routingId: string;
|
|
9
|
-
}
|
|
10
7
|
export type SprintInsightsExportControllerDownloadExportOkResponse = ResponseWithPagination<unknown>;
|
|
11
8
|
export type SprintInsightsExportControllerDownloadExportErrorResponse = unknown;
|
|
12
|
-
export interface SprintInsightsExportControllerDownloadExportProps extends SprintInsightsExportControllerDownloadExportQueryPathParams, Omit<FetcherOptions<
|
|
13
|
-
queryParams: SprintInsightsExportControllerDownloadExportQueryQueryParams;
|
|
9
|
+
export interface SprintInsightsExportControllerDownloadExportProps extends SprintInsightsExportControllerDownloadExportQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
14
10
|
}
|
|
15
11
|
export declare function sprintInsightsExportControllerDownloadExport(props: SprintInsightsExportControllerDownloadExportProps): Promise<SprintInsightsExportControllerDownloadExportOkResponse>;
|
|
16
12
|
/**
|
|
@@ -10,5 +10,5 @@ export function sprintInsightsExportControllerDownloadExport(props) {
|
|
|
10
10
|
* Downloads the CSV file for a completed export. Returns 404 if export not found or not yet completed.
|
|
11
11
|
*/
|
|
12
12
|
export function useSprintInsightsExportControllerDownloadExportQuery(props, options) {
|
|
13
|
-
return useQuery(['SprintInsightsExportControllerDownloadExport', props.exportId
|
|
13
|
+
return useQuery(['SprintInsightsExportControllerDownloadExport', props.exportId], ({ signal }) => sprintInsightsExportControllerDownloadExport(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -4,13 +4,9 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
|
4
4
|
export interface SprintInsightsExportControllerDownloadExport_1QueryPathParams {
|
|
5
5
|
exportId: string;
|
|
6
6
|
}
|
|
7
|
-
export interface SprintInsightsExportControllerDownloadExport_1QueryQueryParams {
|
|
8
|
-
routingId: string;
|
|
9
|
-
}
|
|
10
7
|
export type SprintInsightsExportControllerDownloadExport_1OkResponse = ResponseWithPagination<unknown>;
|
|
11
8
|
export type SprintInsightsExportControllerDownloadExport_1ErrorResponse = unknown;
|
|
12
|
-
export interface SprintInsightsExportControllerDownloadExport_1Props extends SprintInsightsExportControllerDownloadExport_1QueryPathParams, Omit<FetcherOptions<
|
|
13
|
-
queryParams: SprintInsightsExportControllerDownloadExport_1QueryQueryParams;
|
|
9
|
+
export interface SprintInsightsExportControllerDownloadExport_1Props extends SprintInsightsExportControllerDownloadExport_1QueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
14
10
|
}
|
|
15
11
|
export declare function sprintInsightsExportControllerDownloadExport_1(props: SprintInsightsExportControllerDownloadExport_1Props): Promise<SprintInsightsExportControllerDownloadExport_1OkResponse>;
|
|
16
12
|
/**
|
|
@@ -10,5 +10,5 @@ export function sprintInsightsExportControllerDownloadExport_1(props) {
|
|
|
10
10
|
* Downloads the CSV file for a completed export. Returns 404 if export not found or not yet completed.
|
|
11
11
|
*/
|
|
12
12
|
export function useSprintInsightsExportControllerDownloadExport_1Query(props, options) {
|
|
13
|
-
return useQuery(['SprintInsightsExportControllerDownloadExport_1', props.exportId
|
|
13
|
+
return useQuery(['SprintInsightsExportControllerDownloadExport_1', props.exportId], ({ signal }) => sprintInsightsExportControllerDownloadExport_1(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -3,7 +3,6 @@ import type { SprintExportRequestDto } from '../schemas/SprintExportRequestDto';
|
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface SprintInsightsExportControllerGenerateExportSyncMutationQueryParams {
|
|
6
|
-
routingId: string;
|
|
7
6
|
projectIdentifier?: string;
|
|
8
7
|
orgIdentifier?: string;
|
|
9
8
|
}
|
|
@@ -16,6 +15,13 @@ export interface SprintInsightsExportControllerGenerateExportSyncProps extends O
|
|
|
16
15
|
}
|
|
17
16
|
export declare function sprintInsightsExportControllerGenerateExportSync(props: SprintInsightsExportControllerGenerateExportSyncProps): Promise<SprintInsightsExportControllerGenerateExportSyncOkResponse>;
|
|
18
17
|
/**
|
|
19
|
-
* Directly generates and returns a sprint metrics CSV file without async processing.
|
|
18
|
+
* Directly generates and returns a sprint metrics CSV file without async processing.
|
|
19
|
+
* Intended for testing purposes only. For production use, use the async POST /exports endpoint.
|
|
20
|
+
*
|
|
21
|
+
* Metric Selection (choose ONE):
|
|
22
|
+
* - metricGroups: ["work", "delivery"] (high-level groups)
|
|
23
|
+
* - metricColumns: ["Sprint_Commit", "Total_Work_Delivered"] (granular)
|
|
24
|
+
* - metrics: DEPRECATED, use metricGroups
|
|
25
|
+
*
|
|
20
26
|
*/
|
|
21
27
|
export declare function useSprintInsightsExportControllerGenerateExportSyncMutation(options?: Omit<UseMutationOptions<SprintInsightsExportControllerGenerateExportSyncOkResponse, SprintInsightsExportControllerGenerateExportSyncErrorResponse, SprintInsightsExportControllerGenerateExportSyncProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SprintInsightsExportControllerGenerateExportSyncOkResponse, unknown, SprintInsightsExportControllerGenerateExportSyncProps, unknown>;
|
|
@@ -7,7 +7,14 @@ export function sprintInsightsExportControllerGenerateExportSync(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/insights/sprints/exports/sync`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Directly generates and returns a sprint metrics CSV file without async processing.
|
|
10
|
+
* Directly generates and returns a sprint metrics CSV file without async processing.
|
|
11
|
+
* Intended for testing purposes only. For production use, use the async POST /exports endpoint.
|
|
12
|
+
*
|
|
13
|
+
* Metric Selection (choose ONE):
|
|
14
|
+
* - metricGroups: ["work", "delivery"] (high-level groups)
|
|
15
|
+
* - metricColumns: ["Sprint_Commit", "Total_Work_Delivered"] (granular)
|
|
16
|
+
* - metrics: DEPRECATED, use metricGroups
|
|
17
|
+
*
|
|
11
18
|
*/
|
|
12
19
|
export function useSprintInsightsExportControllerGenerateExportSyncMutation(options) {
|
|
13
20
|
return useMutation((mutateProps) => sprintInsightsExportControllerGenerateExportSync(mutateProps), options);
|
|
@@ -3,7 +3,6 @@ import type { SprintExportRequestDto } from '../schemas/SprintExportRequestDto';
|
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface SprintInsightsExportControllerGenerateExportSync_1MutationQueryParams {
|
|
6
|
-
routingId: string;
|
|
7
6
|
projectIdentifier?: string;
|
|
8
7
|
orgIdentifier?: string;
|
|
9
8
|
}
|
|
@@ -16,6 +15,13 @@ export interface SprintInsightsExportControllerGenerateExportSync_1Props extends
|
|
|
16
15
|
}
|
|
17
16
|
export declare function sprintInsightsExportControllerGenerateExportSync_1(props: SprintInsightsExportControllerGenerateExportSync_1Props): Promise<SprintInsightsExportControllerGenerateExportSync_1OkResponse>;
|
|
18
17
|
/**
|
|
19
|
-
* Directly generates and returns a sprint metrics CSV file without async processing.
|
|
18
|
+
* Directly generates and returns a sprint metrics CSV file without async processing.
|
|
19
|
+
* Intended for testing purposes only. For production use, use the async POST /exports endpoint.
|
|
20
|
+
*
|
|
21
|
+
* Metric Selection (choose ONE):
|
|
22
|
+
* - metricGroups: ["work", "delivery"] (high-level groups)
|
|
23
|
+
* - metricColumns: ["Sprint_Commit", "Total_Work_Delivered"] (granular)
|
|
24
|
+
* - metrics: DEPRECATED, use metricGroups
|
|
25
|
+
*
|
|
20
26
|
*/
|
|
21
27
|
export declare function useSprintInsightsExportControllerGenerateExportSync_1Mutation(options?: Omit<UseMutationOptions<SprintInsightsExportControllerGenerateExportSync_1OkResponse, SprintInsightsExportControllerGenerateExportSync_1ErrorResponse, SprintInsightsExportControllerGenerateExportSync_1Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SprintInsightsExportControllerGenerateExportSync_1OkResponse, unknown, SprintInsightsExportControllerGenerateExportSync_1Props, unknown>;
|
|
@@ -7,7 +7,14 @@ export function sprintInsightsExportControllerGenerateExportSync_1(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/insights/efficiency/sprints/export/sync`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Directly generates and returns a sprint metrics CSV file without async processing.
|
|
10
|
+
* Directly generates and returns a sprint metrics CSV file without async processing.
|
|
11
|
+
* Intended for testing purposes only. For production use, use the async POST /exports endpoint.
|
|
12
|
+
*
|
|
13
|
+
* Metric Selection (choose ONE):
|
|
14
|
+
* - metricGroups: ["work", "delivery"] (high-level groups)
|
|
15
|
+
* - metricColumns: ["Sprint_Commit", "Total_Work_Delivered"] (granular)
|
|
16
|
+
* - metrics: DEPRECATED, use metricGroups
|
|
17
|
+
*
|
|
11
18
|
*/
|
|
12
19
|
export function useSprintInsightsExportControllerGenerateExportSync_1Mutation(options) {
|
|
13
20
|
return useMutation((mutateProps) => sprintInsightsExportControllerGenerateExportSync_1(mutateProps), options);
|
|
@@ -5,13 +5,9 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
|
5
5
|
export interface SprintInsightsExportControllerGetExportStatusQueryPathParams {
|
|
6
6
|
exportId: string;
|
|
7
7
|
}
|
|
8
|
-
export interface SprintInsightsExportControllerGetExportStatusQueryQueryParams {
|
|
9
|
-
routingId: string;
|
|
10
|
-
}
|
|
11
8
|
export type SprintInsightsExportControllerGetExportStatusOkResponse = ResponseWithPagination<SprintExportStatusResponseDto>;
|
|
12
9
|
export type SprintInsightsExportControllerGetExportStatusErrorResponse = unknown;
|
|
13
|
-
export interface SprintInsightsExportControllerGetExportStatusProps extends SprintInsightsExportControllerGetExportStatusQueryPathParams, Omit<FetcherOptions<
|
|
14
|
-
queryParams: SprintInsightsExportControllerGetExportStatusQueryQueryParams;
|
|
10
|
+
export interface SprintInsightsExportControllerGetExportStatusProps extends SprintInsightsExportControllerGetExportStatusQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
15
11
|
}
|
|
16
12
|
export declare function sprintInsightsExportControllerGetExportStatus(props: SprintInsightsExportControllerGetExportStatusProps): Promise<SprintInsightsExportControllerGetExportStatusOkResponse>;
|
|
17
13
|
/**
|
|
@@ -10,5 +10,5 @@ export function sprintInsightsExportControllerGetExportStatus(props) {
|
|
|
10
10
|
* Retrieves the current status of an export job. If the export is completed, includes download information.
|
|
11
11
|
*/
|
|
12
12
|
export function useSprintInsightsExportControllerGetExportStatusQuery(props, options) {
|
|
13
|
-
return useQuery(['SprintInsightsExportControllerGetExportStatus', props.exportId
|
|
13
|
+
return useQuery(['SprintInsightsExportControllerGetExportStatus', props.exportId], ({ signal }) => sprintInsightsExportControllerGetExportStatus(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -5,13 +5,9 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
|
5
5
|
export interface SprintInsightsExportControllerGetExportStatus_1QueryPathParams {
|
|
6
6
|
exportId: string;
|
|
7
7
|
}
|
|
8
|
-
export interface SprintInsightsExportControllerGetExportStatus_1QueryQueryParams {
|
|
9
|
-
routingId: string;
|
|
10
|
-
}
|
|
11
8
|
export type SprintInsightsExportControllerGetExportStatus_1OkResponse = ResponseWithPagination<SprintExportStatusResponseDto>;
|
|
12
9
|
export type SprintInsightsExportControllerGetExportStatus_1ErrorResponse = unknown;
|
|
13
|
-
export interface SprintInsightsExportControllerGetExportStatus_1Props extends SprintInsightsExportControllerGetExportStatus_1QueryPathParams, Omit<FetcherOptions<
|
|
14
|
-
queryParams: SprintInsightsExportControllerGetExportStatus_1QueryQueryParams;
|
|
10
|
+
export interface SprintInsightsExportControllerGetExportStatus_1Props extends SprintInsightsExportControllerGetExportStatus_1QueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
15
11
|
}
|
|
16
12
|
export declare function sprintInsightsExportControllerGetExportStatus_1(props: SprintInsightsExportControllerGetExportStatus_1Props): Promise<SprintInsightsExportControllerGetExportStatus_1OkResponse>;
|
|
17
13
|
/**
|
|
@@ -10,5 +10,5 @@ export function sprintInsightsExportControllerGetExportStatus_1(props) {
|
|
|
10
10
|
* Retrieves the current status of an export job. If the export is completed, includes download information.
|
|
11
11
|
*/
|
|
12
12
|
export function useSprintInsightsExportControllerGetExportStatus_1Query(props, options) {
|
|
13
|
-
return useQuery(['SprintInsightsExportControllerGetExportStatus_1', props.exportId
|
|
13
|
+
return useQuery(['SprintInsightsExportControllerGetExportStatus_1', props.exportId], ({ signal }) => sprintInsightsExportControllerGetExportStatus_1(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -3,7 +3,6 @@ import type { SprintExportListResponseDto } from '../schemas/SprintExportListRes
|
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface SprintInsightsExportControllerListExportsQueryQueryParams {
|
|
6
|
-
routingId: string;
|
|
7
6
|
status?: 'CANCELLED' | 'COMPLETED' | 'FAILED' | 'PROCESSING' | 'QUEUED';
|
|
8
7
|
/**
|
|
9
8
|
* @default "all"
|
|
@@ -3,7 +3,6 @@ import type { SprintExportListResponseDto } from '../schemas/SprintExportListRes
|
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface SprintInsightsExportControllerListExports_1QueryQueryParams {
|
|
6
|
-
routingId: string;
|
|
7
6
|
status?: 'CANCELLED' | 'COMPLETED' | 'FAILED' | 'PROCESSING' | 'QUEUED';
|
|
8
7
|
/**
|
|
9
8
|
* @default "all"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { HqlFilterMetadataResponseDto } from '../schemas/HqlFilterMetadataResponseDto';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export type TeamsControllerGetHqlFilterMetadataOkResponse = ResponseWithPagination<HqlFilterMetadataResponseDto>;
|
|
6
|
+
export type TeamsControllerGetHqlFilterMetadataErrorResponse = unknown;
|
|
7
|
+
export interface TeamsControllerGetHqlFilterMetadataProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
8
|
+
}
|
|
9
|
+
export declare function teamsControllerGetHqlFilterMetadata(props: TeamsControllerGetHqlFilterMetadataProps): Promise<TeamsControllerGetHqlFilterMetadataOkResponse>;
|
|
10
|
+
/**
|
|
11
|
+
* Returns metadata about supported HQL filter keys for each integration type. This helps frontend understand what filter keys are available and how to use them.
|
|
12
|
+
*/
|
|
13
|
+
export declare function useTeamsControllerGetHqlFilterMetadataQuery(props: TeamsControllerGetHqlFilterMetadataProps, options?: Omit<UseQueryOptions<TeamsControllerGetHqlFilterMetadataOkResponse, TeamsControllerGetHqlFilterMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamsControllerGetHqlFilterMetadataOkResponse, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetHqlFilterMetadataQuery.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 teamsControllerGetHqlFilterMetadata(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/teams/filters/hql/metadata`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns metadata about supported HQL filter keys for each integration type. This helps frontend understand what filter keys are available and how to use them.
|
|
11
|
+
*/
|
|
12
|
+
export function useTeamsControllerGetHqlFilterMetadataQuery(props, options) {
|
|
13
|
+
return useQuery(['TeamsControllerGetHqlFilterMetadata'], ({ signal }) => teamsControllerGetHqlFilterMetadata(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamFiltersQuery.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export interface TeamsControllerGetTeamFiltersQueryPathParams {
|
|
|
10
10
|
teamRefId: number;
|
|
11
11
|
}
|
|
12
12
|
export interface TeamsControllerGetTeamFiltersQueryQueryParams {
|
|
13
|
-
integration_type?: 'AI' | 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
|
|
13
|
+
integration_type?: 'AI' | 'CD' | 'CI' | 'CUSTOM_METRICS' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
|
|
14
14
|
}
|
|
15
15
|
export type TeamsControllerGetTeamFiltersOkResponse = ResponseWithPagination<TeamFiltersResponseDto>;
|
|
16
16
|
export type TeamsControllerGetTeamFiltersErrorResponse = ErrorResponse;
|
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamHqlFiltersQuery.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TeamHqlFiltersResponseDto } from '../schemas/TeamHqlFiltersResponseDto';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface TeamsControllerGetTeamHqlFiltersQueryPathParams {
|
|
7
|
+
/**
|
|
8
|
+
* @format int32
|
|
9
|
+
*/
|
|
10
|
+
teamRefId: number;
|
|
11
|
+
}
|
|
12
|
+
export type TeamsControllerGetTeamHqlFiltersOkResponse = ResponseWithPagination<TeamHqlFiltersResponseDto>;
|
|
13
|
+
export type TeamsControllerGetTeamHqlFiltersErrorResponse = ErrorResponse;
|
|
14
|
+
export interface TeamsControllerGetTeamHqlFiltersProps extends TeamsControllerGetTeamHqlFiltersQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
15
|
+
}
|
|
16
|
+
export declare function teamsControllerGetTeamHqlFilters(props: TeamsControllerGetTeamHqlFiltersProps): Promise<TeamsControllerGetTeamHqlFiltersOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Returns HQL filter expressions for the specified team that can be directly used in canvas queries. Supports filtering by specific integration type.
|
|
19
|
+
*/
|
|
20
|
+
export declare function useTeamsControllerGetTeamHqlFiltersQuery(props: TeamsControllerGetTeamHqlFiltersProps, options?: Omit<UseQueryOptions<TeamsControllerGetTeamHqlFiltersOkResponse, TeamsControllerGetTeamHqlFiltersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamsControllerGetTeamHqlFiltersOkResponse, ErrorResponse>;
|
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamHqlFiltersQuery.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 teamsControllerGetTeamHqlFilters(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/teams/${props.teamRefId}/filters/hql`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns HQL filter expressions for the specified team that can be directly used in canvas queries. Supports filtering by specific integration type.
|
|
11
|
+
*/
|
|
12
|
+
export function useTeamsControllerGetTeamHqlFiltersQuery(props, options) {
|
|
13
|
+
return useQuery(['TeamsControllerGetTeamHqlFilters', props.teamRefId], ({ signal }) => teamsControllerGetTeamHqlFilters(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -9,7 +9,7 @@ export interface TeamsControllerGetTeamIntegrationFiltersQueryPathParams {
|
|
|
9
9
|
teamRefId: number;
|
|
10
10
|
}
|
|
11
11
|
export interface TeamsControllerGetTeamIntegrationFiltersQueryQueryParams {
|
|
12
|
-
integrationType?: 'AI' | 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
|
|
12
|
+
integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_METRICS' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
|
|
13
13
|
}
|
|
14
14
|
export type TeamsControllerGetTeamIntegrationFiltersOkResponse = ResponseWithPagination<GroupedTeamFiltersResponseDto>;
|
|
15
15
|
export type TeamsControllerGetTeamIntegrationFiltersErrorResponse = GroupedTeamFiltersResponseDto;
|