@harnessio/react-sei-panorama-service-client 0.21.20 → 0.21.21
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/useIntegrationStatsControllerGetScmCommitsCountQuery.d.ts +4 -2
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetScmCommitsCountQuery.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetScmPrsCountQuery.d.ts +4 -2
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetScmPrsCountQuery.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetScmReposCountQuery.d.ts +4 -2
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetScmReposCountQuery.js +1 -1
- package/dist/sei-panorama-service/src/services/index.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/schemas/DailyCountDataPoint.d.ts +11 -0
- package/dist/sei-panorama-service/src/services/schemas/DailyCountDataPoint.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationStatsDto.d.ts +3 -1
- package/dist/sei-panorama-service/src/services/schemas/IntegrationStatsDto.js +0 -3
- package/package.json +1 -1
|
@@ -3,7 +3,9 @@ import type { IntegrationStatsDto } from '../schemas/IntegrationStatsDto';
|
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface IntegrationStatsControllerGetScmCommitsCountQueryQueryParams {
|
|
6
|
-
|
|
6
|
+
integrationIds: string[];
|
|
7
|
+
fromDate?: string;
|
|
8
|
+
toDate?: string;
|
|
7
9
|
account: string;
|
|
8
10
|
}
|
|
9
11
|
export type IntegrationStatsControllerGetScmCommitsCountOkResponse = ResponseWithPagination<IntegrationStatsDto[]>;
|
|
@@ -13,6 +15,6 @@ export interface IntegrationStatsControllerGetScmCommitsCountProps extends Omit<
|
|
|
13
15
|
}
|
|
14
16
|
export declare function integrationStatsControllerGetScmCommitsCount(props: IntegrationStatsControllerGetScmCommitsCountProps): Promise<IntegrationStatsControllerGetScmCommitsCountOkResponse>;
|
|
15
17
|
/**
|
|
16
|
-
* Get SCM commit counts
|
|
18
|
+
* Get SCM commit counts with optional daily breakdown
|
|
17
19
|
*/
|
|
18
20
|
export declare function useIntegrationStatsControllerGetScmCommitsCountQuery(props: IntegrationStatsControllerGetScmCommitsCountProps, options?: Omit<UseQueryOptions<IntegrationStatsControllerGetScmCommitsCountOkResponse, IntegrationStatsControllerGetScmCommitsCountErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<IntegrationStatsControllerGetScmCommitsCountOkResponse, IntegrationStatsControllerGetScmCommitsCountErrorResponse>;
|
|
@@ -7,7 +7,7 @@ export function integrationStatsControllerGetScmCommitsCount(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/integration-stats/scm/commits`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Get SCM commit counts
|
|
10
|
+
* Get SCM commit counts with optional daily breakdown
|
|
11
11
|
*/
|
|
12
12
|
export function useIntegrationStatsControllerGetScmCommitsCountQuery(props, options) {
|
|
13
13
|
return useQuery(['IntegrationStatsControllerGetScmCommitsCount', props.queryParams], ({ signal }) => integrationStatsControllerGetScmCommitsCount(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -3,7 +3,9 @@ import type { IntegrationStatsDto } from '../schemas/IntegrationStatsDto';
|
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface IntegrationStatsControllerGetScmPrsCountQueryQueryParams {
|
|
6
|
-
|
|
6
|
+
integrationIds: string[];
|
|
7
|
+
fromDate?: string;
|
|
8
|
+
toDate?: string;
|
|
7
9
|
account: string;
|
|
8
10
|
}
|
|
9
11
|
export type IntegrationStatsControllerGetScmPrsCountOkResponse = ResponseWithPagination<IntegrationStatsDto[]>;
|
|
@@ -13,6 +15,6 @@ export interface IntegrationStatsControllerGetScmPrsCountProps extends Omit<Fetc
|
|
|
13
15
|
}
|
|
14
16
|
export declare function integrationStatsControllerGetScmPrsCount(props: IntegrationStatsControllerGetScmPrsCountProps): Promise<IntegrationStatsControllerGetScmPrsCountOkResponse>;
|
|
15
17
|
/**
|
|
16
|
-
* Get SCM pull request counts
|
|
18
|
+
* Get SCM pull request counts with optional daily breakdown
|
|
17
19
|
*/
|
|
18
20
|
export declare function useIntegrationStatsControllerGetScmPrsCountQuery(props: IntegrationStatsControllerGetScmPrsCountProps, options?: Omit<UseQueryOptions<IntegrationStatsControllerGetScmPrsCountOkResponse, IntegrationStatsControllerGetScmPrsCountErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<IntegrationStatsControllerGetScmPrsCountOkResponse, IntegrationStatsControllerGetScmPrsCountErrorResponse>;
|
|
@@ -7,7 +7,7 @@ export function integrationStatsControllerGetScmPrsCount(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/integration-stats/scm/prs`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Get SCM pull request counts
|
|
10
|
+
* Get SCM pull request counts with optional daily breakdown
|
|
11
11
|
*/
|
|
12
12
|
export function useIntegrationStatsControllerGetScmPrsCountQuery(props, options) {
|
|
13
13
|
return useQuery(['IntegrationStatsControllerGetScmPrsCount', props.queryParams], ({ signal }) => integrationStatsControllerGetScmPrsCount(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -3,7 +3,9 @@ import type { IntegrationStatsDto } from '../schemas/IntegrationStatsDto';
|
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface IntegrationStatsControllerGetScmReposCountQueryQueryParams {
|
|
6
|
-
|
|
6
|
+
integrationIds: string[];
|
|
7
|
+
fromDate?: string;
|
|
8
|
+
toDate?: string;
|
|
7
9
|
account: string;
|
|
8
10
|
}
|
|
9
11
|
export type IntegrationStatsControllerGetScmReposCountOkResponse = ResponseWithPagination<IntegrationStatsDto[]>;
|
|
@@ -13,6 +15,6 @@ export interface IntegrationStatsControllerGetScmReposCountProps extends Omit<Fe
|
|
|
13
15
|
}
|
|
14
16
|
export declare function integrationStatsControllerGetScmReposCount(props: IntegrationStatsControllerGetScmReposCountProps): Promise<IntegrationStatsControllerGetScmReposCountOkResponse>;
|
|
15
17
|
/**
|
|
16
|
-
* Get SCM repository counts
|
|
18
|
+
* Get SCM repository counts with optional daily breakdown
|
|
17
19
|
*/
|
|
18
20
|
export declare function useIntegrationStatsControllerGetScmReposCountQuery(props: IntegrationStatsControllerGetScmReposCountProps, options?: Omit<UseQueryOptions<IntegrationStatsControllerGetScmReposCountOkResponse, IntegrationStatsControllerGetScmReposCountErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<IntegrationStatsControllerGetScmReposCountOkResponse, IntegrationStatsControllerGetScmReposCountErrorResponse>;
|
|
@@ -7,7 +7,7 @@ export function integrationStatsControllerGetScmReposCount(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/integration-stats/scm/repos`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Get SCM repository counts
|
|
10
|
+
* Get SCM repository counts with optional daily breakdown
|
|
11
11
|
*/
|
|
12
12
|
export function useIntegrationStatsControllerGetScmReposCountQuery(props, options) {
|
|
13
13
|
return useQuery(['IntegrationStatsControllerGetScmReposCount', props.queryParams], ({ signal }) => integrationStatsControllerGetScmReposCount(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -307,6 +307,7 @@ export type { CollectionEnriched } from './schemas/CollectionEnriched';
|
|
|
307
307
|
export type { CollectionFilter } from './schemas/CollectionFilter';
|
|
308
308
|
export type { CollectionTree } from './schemas/CollectionTree';
|
|
309
309
|
export type { CommitInfo } from './schemas/CommitInfo';
|
|
310
|
+
export type { DailyCountDataPoint } from './schemas/DailyCountDataPoint';
|
|
310
311
|
export type { DailyLicenseUsageResponseDto } from './schemas/DailyLicenseUsageResponseDto';
|
|
311
312
|
export type { DataPoint } from './schemas/DataPoint';
|
|
312
313
|
export type { DataPointBreakdown } from './schemas/DataPointBreakdown';
|
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.21",
|
|
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",
|