@harnessio/react-sei-panorama-service-client 0.10.0 → 0.10.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.
- package/dist/sei-panorama-service/src/services/hooks/useCategoryControllerGetCategoryQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useCategoryControllerGetCategoryQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useCategoryControllerListQuery.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/hooks/useCategoryControllerListQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useCollectionControllerGetCollectionTreeQuery.d.ts +31 -0
- package/dist/sei-panorama-service/src/services/hooks/useCollectionControllerGetCollectionTreeQuery.js +11 -0
- package/dist/sei-panorama-service/src/services/hooks/useCollectionControllerListQuery.d.ts +29 -0
- package/dist/sei-panorama-service/src/services/hooks/useCollectionControllerListQuery.js +11 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerChangeFailureRateMutation.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerChangeFailureRateMutation.js +11 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerDeploymentFrequencyMutation.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerDeploymentFrequencyMutation.js +11 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeMutation.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeMutation.js +11 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerMeanTimeRestoreMutation.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerMeanTimeRestoreMutation.js +11 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +19 -22
- package/dist/sei-panorama-service/src/services/index.js +8 -10
- package/dist/sei-panorama-service/src/services/schemas/CollectionTree.d.ts +13 -0
- package/dist/sei-panorama-service/src/services/schemas/DbListResponseCategory.d.ts +8 -0
- package/dist/sei-panorama-service/src/services/schemas/DbListResponseCategory.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/DbListResponseCollectionTree.d.ts +8 -0
- package/dist/sei-panorama-service/src/services/schemas/DbListResponseCollectionTree.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraRequest.d.ts +9 -1
- package/package.json +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useGetCategoriesTreeMutation.d.ts +0 -22
- package/dist/sei-panorama-service/src/services/hooks/useGetCategoriesTreeMutation.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useGetChangeFailureRateMutation.d.ts +0 -19
- package/dist/sei-panorama-service/src/services/hooks/useGetChangeFailureRateMutation.js +0 -11
- package/dist/sei-panorama-service/src/services/hooks/useGetDeploymentFrequencyMutation.d.ts +0 -19
- package/dist/sei-panorama-service/src/services/hooks/useGetDeploymentFrequencyMutation.js +0 -11
- package/dist/sei-panorama-service/src/services/hooks/useGetLeadTimeMutation.d.ts +0 -19
- package/dist/sei-panorama-service/src/services/hooks/useGetLeadTimeMutation.js +0 -11
- package/dist/sei-panorama-service/src/services/hooks/useGetMeanTimeRestoreMutation.d.ts +0 -19
- package/dist/sei-panorama-service/src/services/hooks/useGetMeanTimeRestoreMutation.js +0 -11
- package/dist/sei-panorama-service/src/services/hooks/useGetMeanTimeRestore_1_1_1_1Mutation.d.ts +0 -19
- package/dist/sei-panorama-service/src/services/hooks/useGetMeanTimeRestore_1_1_1_1Mutation.js +0 -11
- package/dist/sei-panorama-service/src/services/hooks/useGetTeamCollectionsTree_1Mutation.d.ts +0 -19
- package/dist/sei-panorama-service/src/services/hooks/useGetTeamCollectionsTree_1Mutation.js +0 -11
- package/dist/sei-panorama-service/src/services/hooks/useGetTeamCollectionsTree_2Mutation.d.ts +0 -23
- package/dist/sei-panorama-service/src/services/hooks/useGetTeamCollectionsTree_2Mutation.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useGetTeamTreeQuery.d.ts +0 -17
- package/dist/sei-panorama-service/src/services/hooks/useGetTeamTreeQuery.js +0 -11
- package/dist/sei-panorama-service/src/services/hooks/useGetTeamTree_1Query.d.ts +0 -17
- package/dist/sei-panorama-service/src/services/hooks/useGetTeamTree_1Query.js +0 -11
- package/dist/sei-panorama-service/src/services/schemas/Team.d.ts +0 -5
- package/dist/sei-panorama-service/src/services/schemas/TeamCollectionRequest.d.ts +0 -22
- package/dist/sei-panorama-service/src/services/schemas/TeamCollectionRequest.js +0 -4
- /package/dist/sei-panorama-service/src/services/schemas/{Team.js → CollectionTree.js} +0 -0
package/dist/sei-panorama-service/src/services/hooks/useCategoryControllerGetCategoryQuery.d.ts
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { DbListResponseCategory } from '../schemas/DbListResponseCategory';
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
|
+
export interface CategoryControllerGetCategoryQueryPathParams {
|
6
|
+
categoryId: string;
|
7
|
+
}
|
8
|
+
export interface CategoryControllerGetCategoryQueryQueryParams {
|
9
|
+
account: string;
|
10
|
+
projectIdentifier: string;
|
11
|
+
orgIdentifier?: string;
|
12
|
+
}
|
13
|
+
export type CategoryControllerGetCategoryOkResponse = ResponseWithPagination<DbListResponseCategory>;
|
14
|
+
export type CategoryControllerGetCategoryErrorResponse = unknown;
|
15
|
+
export interface CategoryControllerGetCategoryProps extends CategoryControllerGetCategoryQueryPathParams, Omit<FetcherOptions<CategoryControllerGetCategoryQueryQueryParams, unknown>, 'url'> {
|
16
|
+
queryParams: CategoryControllerGetCategoryQueryQueryParams;
|
17
|
+
}
|
18
|
+
export declare function categoryControllerGetCategory(props: CategoryControllerGetCategoryProps): Promise<CategoryControllerGetCategoryOkResponse>;
|
19
|
+
/**
|
20
|
+
* Get categories by passing a workspace id into the filter
|
21
|
+
*/
|
22
|
+
export declare function useCategoryControllerGetCategoryQuery(props: CategoryControllerGetCategoryProps, options?: Omit<UseQueryOptions<CategoryControllerGetCategoryOkResponse, CategoryControllerGetCategoryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CategoryControllerGetCategoryOkResponse, 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 { useQuery } from '@tanstack/react-query';
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
6
|
+
export function categoryControllerGetCategory(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/category/${props.categoryId}`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get categories by passing a workspace id into the filter
|
11
|
+
*/
|
12
|
+
export function useCategoryControllerGetCategoryQuery(props, options) {
|
13
|
+
return useQuery(['CategoryControllerGetCategory', props.categoryId, props.queryParams], ({ signal }) => categoryControllerGetCategory(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { DbListResponseCategory } from '../schemas/DbListResponseCategory';
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
|
+
export interface CategoryControllerListQueryQueryParams {
|
6
|
+
accountIdentifier: string;
|
7
|
+
projectIdentifier: string;
|
8
|
+
orgIdentifier?: string;
|
9
|
+
}
|
10
|
+
export type CategoryControllerListOkResponse = ResponseWithPagination<DbListResponseCategory>;
|
11
|
+
export type CategoryControllerListErrorResponse = unknown;
|
12
|
+
export interface CategoryControllerListProps extends Omit<FetcherOptions<CategoryControllerListQueryQueryParams, unknown>, 'url'> {
|
13
|
+
queryParams: CategoryControllerListQueryQueryParams;
|
14
|
+
}
|
15
|
+
export declare function categoryControllerList(props: CategoryControllerListProps): Promise<CategoryControllerListOkResponse>;
|
16
|
+
/**
|
17
|
+
* Get categories by passing a workspace id into the filter
|
18
|
+
*/
|
19
|
+
export declare function useCategoryControllerListQuery(props: CategoryControllerListProps, options?: Omit<UseQueryOptions<CategoryControllerListOkResponse, CategoryControllerListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CategoryControllerListOkResponse, 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 { useQuery } from '@tanstack/react-query';
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
6
|
+
export function categoryControllerList(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/category`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get categories by passing a workspace id into the filter
|
11
|
+
*/
|
12
|
+
export function useCategoryControllerListQuery(props, options) {
|
13
|
+
return useQuery(['CategoryControllerList', props.queryParams], ({ signal }) => categoryControllerList(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { DbListResponseCollectionTree } from '../schemas/DbListResponseCollectionTree';
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
|
+
export interface CollectionControllerGetCollectionTreeQueryPathParams {
|
6
|
+
/**
|
7
|
+
* collection identifier UUID
|
8
|
+
*/
|
9
|
+
collectionId: string;
|
10
|
+
}
|
11
|
+
export interface CollectionControllerGetCollectionTreeQueryQueryParams {
|
12
|
+
/**
|
13
|
+
* account id
|
14
|
+
*/
|
15
|
+
account: string;
|
16
|
+
/**
|
17
|
+
* project id
|
18
|
+
*/
|
19
|
+
projectIdentifier: string;
|
20
|
+
/**
|
21
|
+
* organization id
|
22
|
+
*/
|
23
|
+
orgIdentifier?: string;
|
24
|
+
}
|
25
|
+
export type CollectionControllerGetCollectionTreeOkResponse = ResponseWithPagination<DbListResponseCollectionTree>;
|
26
|
+
export type CollectionControllerGetCollectionTreeErrorResponse = unknown;
|
27
|
+
export interface CollectionControllerGetCollectionTreeProps extends CollectionControllerGetCollectionTreeQueryPathParams, Omit<FetcherOptions<CollectionControllerGetCollectionTreeQueryQueryParams, unknown>, 'url'> {
|
28
|
+
queryParams: CollectionControllerGetCollectionTreeQueryQueryParams;
|
29
|
+
}
|
30
|
+
export declare function collectionControllerGetCollectionTree(props: CollectionControllerGetCollectionTreeProps): Promise<CollectionControllerGetCollectionTreeOkResponse>;
|
31
|
+
export declare function useCollectionControllerGetCollectionTreeQuery(props: CollectionControllerGetCollectionTreeProps, options?: Omit<UseQueryOptions<CollectionControllerGetCollectionTreeOkResponse, CollectionControllerGetCollectionTreeErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CollectionControllerGetCollectionTreeOkResponse, unknown>;
|
@@ -0,0 +1,11 @@
|
|
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 collectionControllerGetCollectionTree(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/collection/${props.collectionId}`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
export function useCollectionControllerGetCollectionTreeQuery(props, options) {
|
10
|
+
return useQuery(['CollectionControllerGetCollectionTree', props.collectionId, props.queryParams], ({ signal }) => collectionControllerGetCollectionTree(Object.assign(Object.assign({}, props), { signal })), options);
|
11
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { DbListResponseCollectionTree } from '../schemas/DbListResponseCollectionTree';
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
|
+
export interface CollectionControllerListQueryQueryParams {
|
6
|
+
/**
|
7
|
+
* account id
|
8
|
+
*/
|
9
|
+
accountIdentifier: string;
|
10
|
+
/**
|
11
|
+
* project id
|
12
|
+
*/
|
13
|
+
projectIdentifier: string;
|
14
|
+
/**
|
15
|
+
* organization id
|
16
|
+
*/
|
17
|
+
orgIdentifier: string;
|
18
|
+
/**
|
19
|
+
* allow filtering by category id eg: filter=categoryId:category id
|
20
|
+
*/
|
21
|
+
filter?: string;
|
22
|
+
}
|
23
|
+
export type CollectionControllerListOkResponse = ResponseWithPagination<DbListResponseCollectionTree>;
|
24
|
+
export type CollectionControllerListErrorResponse = unknown;
|
25
|
+
export interface CollectionControllerListProps extends Omit<FetcherOptions<CollectionControllerListQueryQueryParams, unknown>, 'url'> {
|
26
|
+
queryParams: CollectionControllerListQueryQueryParams;
|
27
|
+
}
|
28
|
+
export declare function collectionControllerList(props: CollectionControllerListProps): Promise<CollectionControllerListOkResponse>;
|
29
|
+
export declare function useCollectionControllerListQuery(props: CollectionControllerListProps, options?: Omit<UseQueryOptions<CollectionControllerListOkResponse, CollectionControllerListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CollectionControllerListOkResponse, unknown>;
|
@@ -0,0 +1,11 @@
|
|
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 collectionControllerList(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/collection`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
export function useCollectionControllerListQuery(props, options) {
|
10
|
+
return useQuery(['CollectionControllerList', props.queryParams], ({ signal }) => collectionControllerList(Object.assign(Object.assign({}, props), { signal })), options);
|
11
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerChangeFailureRateMutation.d.ts
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraMetric } from '../schemas/DoraMetric';
|
3
|
+
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface DoraControllerChangeFailureRateMutationQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type DoraControllerChangeFailureRateRequestBody = DoraRequest;
|
12
|
+
export type DoraControllerChangeFailureRateOkResponse = ResponseWithPagination<DoraMetric>;
|
13
|
+
export type DoraControllerChangeFailureRateErrorResponse = unknown;
|
14
|
+
export interface DoraControllerChangeFailureRateProps extends Omit<FetcherOptions<DoraControllerChangeFailureRateMutationQueryParams, DoraControllerChangeFailureRateRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerChangeFailureRateMutationQueryParams;
|
16
|
+
body: DoraControllerChangeFailureRateRequestBody;
|
17
|
+
}
|
18
|
+
export declare function doraControllerChangeFailureRate(props: DoraControllerChangeFailureRateProps): Promise<DoraControllerChangeFailureRateOkResponse>;
|
19
|
+
export declare function useDoraControllerChangeFailureRateMutation(options?: Omit<UseMutationOptions<DoraControllerChangeFailureRateOkResponse, DoraControllerChangeFailureRateErrorResponse, DoraControllerChangeFailureRateProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DoraControllerChangeFailureRateOkResponse, unknown, DoraControllerChangeFailureRateProps, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerChangeFailureRateMutation.js
ADDED
@@ -0,0 +1,11 @@
|
|
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 doraControllerChangeFailureRate(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/changefailurerates`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
export function useDoraControllerChangeFailureRateMutation(options) {
|
10
|
+
return useMutation((mutateProps) => doraControllerChangeFailureRate(mutateProps), options);
|
11
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraMetric } from '../schemas/DoraMetric';
|
3
|
+
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface DoraControllerDeploymentFrequencyMutationQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type DoraControllerDeploymentFrequencyRequestBody = DoraRequest;
|
12
|
+
export type DoraControllerDeploymentFrequencyOkResponse = ResponseWithPagination<DoraMetric>;
|
13
|
+
export type DoraControllerDeploymentFrequencyErrorResponse = unknown;
|
14
|
+
export interface DoraControllerDeploymentFrequencyProps extends Omit<FetcherOptions<DoraControllerDeploymentFrequencyMutationQueryParams, DoraControllerDeploymentFrequencyRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerDeploymentFrequencyMutationQueryParams;
|
16
|
+
body: DoraControllerDeploymentFrequencyRequestBody;
|
17
|
+
}
|
18
|
+
export declare function doraControllerDeploymentFrequency(props: DoraControllerDeploymentFrequencyProps): Promise<DoraControllerDeploymentFrequencyOkResponse>;
|
19
|
+
export declare function useDoraControllerDeploymentFrequencyMutation(options?: Omit<UseMutationOptions<DoraControllerDeploymentFrequencyOkResponse, DoraControllerDeploymentFrequencyErrorResponse, DoraControllerDeploymentFrequencyProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DoraControllerDeploymentFrequencyOkResponse, unknown, DoraControllerDeploymentFrequencyProps, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerDeploymentFrequencyMutation.js
ADDED
@@ -0,0 +1,11 @@
|
|
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 doraControllerDeploymentFrequency(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/deploymentfrequency`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
export function useDoraControllerDeploymentFrequencyMutation(options) {
|
10
|
+
return useMutation((mutateProps) => doraControllerDeploymentFrequency(mutateProps), options);
|
11
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraMetric } from '../schemas/DoraMetric';
|
3
|
+
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface DoraControllerLeadTimeMutationQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type DoraControllerLeadTimeRequestBody = DoraRequest;
|
12
|
+
export type DoraControllerLeadTimeOkResponse = ResponseWithPagination<DoraMetric>;
|
13
|
+
export type DoraControllerLeadTimeErrorResponse = unknown;
|
14
|
+
export interface DoraControllerLeadTimeProps extends Omit<FetcherOptions<DoraControllerLeadTimeMutationQueryParams, DoraControllerLeadTimeRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerLeadTimeMutationQueryParams;
|
16
|
+
body: DoraControllerLeadTimeRequestBody;
|
17
|
+
}
|
18
|
+
export declare function doraControllerLeadTime(props: DoraControllerLeadTimeProps): Promise<DoraControllerLeadTimeOkResponse>;
|
19
|
+
export declare function useDoraControllerLeadTimeMutation(options?: Omit<UseMutationOptions<DoraControllerLeadTimeOkResponse, DoraControllerLeadTimeErrorResponse, DoraControllerLeadTimeProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DoraControllerLeadTimeOkResponse, unknown, DoraControllerLeadTimeProps, unknown>;
|
@@ -0,0 +1,11 @@
|
|
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 doraControllerLeadTime(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/leadtime`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
export function useDoraControllerLeadTimeMutation(options) {
|
10
|
+
return useMutation((mutateProps) => doraControllerLeadTime(mutateProps), options);
|
11
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerMeanTimeRestoreMutation.d.ts
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraMetric } from '../schemas/DoraMetric';
|
3
|
+
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface DoraControllerMeanTimeRestoreMutationQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type DoraControllerMeanTimeRestoreRequestBody = DoraRequest;
|
12
|
+
export type DoraControllerMeanTimeRestoreOkResponse = ResponseWithPagination<DoraMetric>;
|
13
|
+
export type DoraControllerMeanTimeRestoreErrorResponse = unknown;
|
14
|
+
export interface DoraControllerMeanTimeRestoreProps extends Omit<FetcherOptions<DoraControllerMeanTimeRestoreMutationQueryParams, DoraControllerMeanTimeRestoreRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerMeanTimeRestoreMutationQueryParams;
|
16
|
+
body: DoraControllerMeanTimeRestoreRequestBody;
|
17
|
+
}
|
18
|
+
export declare function doraControllerMeanTimeRestore(props: DoraControllerMeanTimeRestoreProps): Promise<DoraControllerMeanTimeRestoreOkResponse>;
|
19
|
+
export declare function useDoraControllerMeanTimeRestoreMutation(options?: Omit<UseMutationOptions<DoraControllerMeanTimeRestoreOkResponse, DoraControllerMeanTimeRestoreErrorResponse, DoraControllerMeanTimeRestoreProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DoraControllerMeanTimeRestoreOkResponse, unknown, DoraControllerMeanTimeRestoreProps, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerMeanTimeRestoreMutation.js
ADDED
@@ -0,0 +1,11 @@
|
|
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 doraControllerMeanTimeRestore(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/meantimerestore`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
export function useDoraControllerMeanTimeRestoreMutation(options) {
|
10
|
+
return useMutation((mutateProps) => doraControllerMeanTimeRestore(mutateProps), options);
|
11
|
+
}
|
@@ -1,27 +1,24 @@
|
|
1
1
|
export type { GetPathParamsType, ResponseWithPagination } from './helpers';
|
2
|
-
export type {
|
3
|
-
export {
|
4
|
-
export type {
|
5
|
-
export {
|
6
|
-
export type {
|
7
|
-
export {
|
8
|
-
export type {
|
9
|
-
export {
|
10
|
-
export type {
|
11
|
-
export {
|
12
|
-
export type {
|
13
|
-
export {
|
14
|
-
export type {
|
15
|
-
export {
|
16
|
-
export type {
|
17
|
-
export {
|
18
|
-
export type { GetTeamTreeErrorResponse, GetTeamTreeOkResponse, GetTeamTreeProps, GetTeamTreeQueryQueryParams, } from './hooks/useGetTeamTreeQuery';
|
19
|
-
export { getTeamTree, useGetTeamTreeQuery } from './hooks/useGetTeamTreeQuery';
|
20
|
-
export type { GetTeamTree_1ErrorResponse, GetTeamTree_1OkResponse, GetTeamTree_1Props, GetTeamTree_1QueryQueryParams, } from './hooks/useGetTeamTree_1Query';
|
21
|
-
export { getTeamTree_1, useGetTeamTree_1Query } from './hooks/useGetTeamTree_1Query';
|
2
|
+
export type { CategoryControllerGetCategoryErrorResponse, CategoryControllerGetCategoryOkResponse, CategoryControllerGetCategoryProps, CategoryControllerGetCategoryQueryPathParams, CategoryControllerGetCategoryQueryQueryParams, } from './hooks/useCategoryControllerGetCategoryQuery';
|
3
|
+
export { categoryControllerGetCategory, useCategoryControllerGetCategoryQuery, } from './hooks/useCategoryControllerGetCategoryQuery';
|
4
|
+
export type { CategoryControllerListErrorResponse, CategoryControllerListOkResponse, CategoryControllerListProps, CategoryControllerListQueryQueryParams, } from './hooks/useCategoryControllerListQuery';
|
5
|
+
export { categoryControllerList, useCategoryControllerListQuery, } from './hooks/useCategoryControllerListQuery';
|
6
|
+
export type { CollectionControllerGetCollectionTreeErrorResponse, CollectionControllerGetCollectionTreeOkResponse, CollectionControllerGetCollectionTreeProps, CollectionControllerGetCollectionTreeQueryPathParams, CollectionControllerGetCollectionTreeQueryQueryParams, } from './hooks/useCollectionControllerGetCollectionTreeQuery';
|
7
|
+
export { collectionControllerGetCollectionTree, useCollectionControllerGetCollectionTreeQuery, } from './hooks/useCollectionControllerGetCollectionTreeQuery';
|
8
|
+
export type { CollectionControllerListErrorResponse, CollectionControllerListOkResponse, CollectionControllerListProps, CollectionControllerListQueryQueryParams, } from './hooks/useCollectionControllerListQuery';
|
9
|
+
export { collectionControllerList, useCollectionControllerListQuery, } from './hooks/useCollectionControllerListQuery';
|
10
|
+
export type { DoraControllerChangeFailureRateErrorResponse, DoraControllerChangeFailureRateMutationQueryParams, DoraControllerChangeFailureRateOkResponse, DoraControllerChangeFailureRateProps, DoraControllerChangeFailureRateRequestBody, } from './hooks/useDoraControllerChangeFailureRateMutation';
|
11
|
+
export { doraControllerChangeFailureRate, useDoraControllerChangeFailureRateMutation, } from './hooks/useDoraControllerChangeFailureRateMutation';
|
12
|
+
export type { DoraControllerDeploymentFrequencyErrorResponse, DoraControllerDeploymentFrequencyMutationQueryParams, DoraControllerDeploymentFrequencyOkResponse, DoraControllerDeploymentFrequencyProps, DoraControllerDeploymentFrequencyRequestBody, } from './hooks/useDoraControllerDeploymentFrequencyMutation';
|
13
|
+
export { doraControllerDeploymentFrequency, useDoraControllerDeploymentFrequencyMutation, } from './hooks/useDoraControllerDeploymentFrequencyMutation';
|
14
|
+
export type { DoraControllerLeadTimeErrorResponse, DoraControllerLeadTimeMutationQueryParams, DoraControllerLeadTimeOkResponse, DoraControllerLeadTimeProps, DoraControllerLeadTimeRequestBody, } from './hooks/useDoraControllerLeadTimeMutation';
|
15
|
+
export { doraControllerLeadTime, useDoraControllerLeadTimeMutation, } from './hooks/useDoraControllerLeadTimeMutation';
|
16
|
+
export type { DoraControllerMeanTimeRestoreErrorResponse, DoraControllerMeanTimeRestoreMutationQueryParams, DoraControllerMeanTimeRestoreOkResponse, DoraControllerMeanTimeRestoreProps, DoraControllerMeanTimeRestoreRequestBody, } from './hooks/useDoraControllerMeanTimeRestoreMutation';
|
17
|
+
export { doraControllerMeanTimeRestore, useDoraControllerMeanTimeRestoreMutation, } from './hooks/useDoraControllerMeanTimeRestoreMutation';
|
22
18
|
export type { Category } from './schemas/Category';
|
19
|
+
export type { CollectionTree } from './schemas/CollectionTree';
|
23
20
|
export type { DataPoint } from './schemas/DataPoint';
|
21
|
+
export type { DbListResponseCategory } from './schemas/DbListResponseCategory';
|
22
|
+
export type { DbListResponseCollectionTree } from './schemas/DbListResponseCollectionTree';
|
24
23
|
export type { DoraMetric } from './schemas/DoraMetric';
|
25
24
|
export type { DoraRequest } from './schemas/DoraRequest';
|
26
|
-
export type { Team } from './schemas/Team';
|
27
|
-
export type { TeamCollectionRequest } from './schemas/TeamCollectionRequest';
|
@@ -1,10 +1,8 @@
|
|
1
|
-
export {
|
2
|
-
export {
|
3
|
-
export {
|
4
|
-
export {
|
5
|
-
export {
|
6
|
-
export {
|
7
|
-
export {
|
8
|
-
export {
|
9
|
-
export { getTeamTree, useGetTeamTreeQuery } from './hooks/useGetTeamTreeQuery';
|
10
|
-
export { getTeamTree_1, useGetTeamTree_1Query } from './hooks/useGetTeamTree_1Query';
|
1
|
+
export { categoryControllerGetCategory, useCategoryControllerGetCategoryQuery, } from './hooks/useCategoryControllerGetCategoryQuery';
|
2
|
+
export { categoryControllerList, useCategoryControllerListQuery, } from './hooks/useCategoryControllerListQuery';
|
3
|
+
export { collectionControllerGetCollectionTree, useCollectionControllerGetCollectionTreeQuery, } from './hooks/useCollectionControllerGetCollectionTreeQuery';
|
4
|
+
export { collectionControllerList, useCollectionControllerListQuery, } from './hooks/useCollectionControllerListQuery';
|
5
|
+
export { doraControllerChangeFailureRate, useDoraControllerChangeFailureRateMutation, } from './hooks/useDoraControllerChangeFailureRateMutation';
|
6
|
+
export { doraControllerDeploymentFrequency, useDoraControllerDeploymentFrequencyMutation, } from './hooks/useDoraControllerDeploymentFrequencyMutation';
|
7
|
+
export { doraControllerLeadTime, useDoraControllerLeadTimeMutation, } from './hooks/useDoraControllerLeadTimeMutation';
|
8
|
+
export { doraControllerMeanTimeRestore, useDoraControllerMeanTimeRestoreMutation, } from './hooks/useDoraControllerMeanTimeRestoreMutation';
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,8 +1,16 @@
|
|
1
1
|
export interface DoraRequest {
|
2
2
|
collection_id?: string;
|
3
|
+
/**
|
4
|
+
* @format date-time
|
5
|
+
*/
|
6
|
+
date_end?: string;
|
3
7
|
date_range?: string;
|
4
8
|
/**
|
5
|
-
*
|
9
|
+
* @format date-time
|
10
|
+
*/
|
11
|
+
date_start?: string;
|
12
|
+
/**
|
13
|
+
* Filter your result set - eg: filter:{collectionId: ["60d8e808-5070-48bb-9002-2f1fcf659820"]}
|
6
14
|
*/
|
7
15
|
filter?: string;
|
8
16
|
/**
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
3
|
-
"version": "0.10.
|
3
|
+
"version": "0.10.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,22 +0,0 @@
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
-
import type { Category } from '../schemas/Category';
|
3
|
-
import type { TeamCollectionRequest } from '../schemas/TeamCollectionRequest';
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
-
export interface GetCategoriesTreeMutationQueryParams {
|
7
|
-
company: string;
|
8
|
-
projectIdentifier: string;
|
9
|
-
orgIdentifier?: string;
|
10
|
-
}
|
11
|
-
export type GetCategoriesTreeRequestBody = TeamCollectionRequest;
|
12
|
-
export type GetCategoriesTreeOkResponse = ResponseWithPagination<Category[]>;
|
13
|
-
export type GetCategoriesTreeErrorResponse = unknown;
|
14
|
-
export interface GetCategoriesTreeProps extends Omit<FetcherOptions<GetCategoriesTreeMutationQueryParams, GetCategoriesTreeRequestBody>, 'url'> {
|
15
|
-
queryParams: GetCategoriesTreeMutationQueryParams;
|
16
|
-
body: GetCategoriesTreeRequestBody;
|
17
|
-
}
|
18
|
-
export declare function getCategoriesTree(props: GetCategoriesTreeProps): Promise<GetCategoriesTreeOkResponse>;
|
19
|
-
/**
|
20
|
-
* Get categories by passing a worskpace id into the filter
|
21
|
-
*/
|
22
|
-
export declare function useGetCategoriesTreeMutation(options?: Omit<UseMutationOptions<GetCategoriesTreeOkResponse, GetCategoriesTreeErrorResponse, GetCategoriesTreeProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetCategoriesTreeOkResponse, unknown, GetCategoriesTreeProps, unknown>;
|
@@ -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 { useMutation } from '@tanstack/react-query';
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
6
|
-
export function getCategoriesTree(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/collections/categories`, method: 'POST' }, props));
|
8
|
-
}
|
9
|
-
/**
|
10
|
-
* Get categories by passing a worskpace id into the filter
|
11
|
-
*/
|
12
|
-
export function useGetCategoriesTreeMutation(options) {
|
13
|
-
return useMutation((mutateProps) => getCategoriesTree(mutateProps), options);
|
14
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
-
import type { DoraMetric } from '../schemas/DoraMetric';
|
3
|
-
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
-
export interface GetChangeFailureRateMutationQueryParams {
|
7
|
-
company: string;
|
8
|
-
projectIdentifier: string;
|
9
|
-
orgIdentifier: string;
|
10
|
-
}
|
11
|
-
export type GetChangeFailureRateRequestBody = DoraRequest;
|
12
|
-
export type GetChangeFailureRateOkResponse = ResponseWithPagination<DoraMetric>;
|
13
|
-
export type GetChangeFailureRateErrorResponse = unknown;
|
14
|
-
export interface GetChangeFailureRateProps extends Omit<FetcherOptions<GetChangeFailureRateMutationQueryParams, GetChangeFailureRateRequestBody>, 'url'> {
|
15
|
-
queryParams: GetChangeFailureRateMutationQueryParams;
|
16
|
-
body: GetChangeFailureRateRequestBody;
|
17
|
-
}
|
18
|
-
export declare function getChangeFailureRate(props: GetChangeFailureRateProps): Promise<GetChangeFailureRateOkResponse>;
|
19
|
-
export declare function useGetChangeFailureRateMutation(options?: Omit<UseMutationOptions<GetChangeFailureRateOkResponse, GetChangeFailureRateErrorResponse, GetChangeFailureRateProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetChangeFailureRateOkResponse, unknown, GetChangeFailureRateProps, unknown>;
|
@@ -1,11 +0,0 @@
|
|
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 getChangeFailureRate(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/efficiency/dora/changefailurerates`, method: 'POST' }, props));
|
8
|
-
}
|
9
|
-
export function useGetChangeFailureRateMutation(options) {
|
10
|
-
return useMutation((mutateProps) => getChangeFailureRate(mutateProps), options);
|
11
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
-
import type { DoraMetric } from '../schemas/DoraMetric';
|
3
|
-
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
-
export interface GetDeploymentFrequencyMutationQueryParams {
|
7
|
-
company: string;
|
8
|
-
projectIdentifier: string;
|
9
|
-
orgIdentifier: string;
|
10
|
-
}
|
11
|
-
export type GetDeploymentFrequencyRequestBody = DoraRequest;
|
12
|
-
export type GetDeploymentFrequencyOkResponse = ResponseWithPagination<DoraMetric>;
|
13
|
-
export type GetDeploymentFrequencyErrorResponse = unknown;
|
14
|
-
export interface GetDeploymentFrequencyProps extends Omit<FetcherOptions<GetDeploymentFrequencyMutationQueryParams, GetDeploymentFrequencyRequestBody>, 'url'> {
|
15
|
-
queryParams: GetDeploymentFrequencyMutationQueryParams;
|
16
|
-
body: GetDeploymentFrequencyRequestBody;
|
17
|
-
}
|
18
|
-
export declare function getDeploymentFrequency(props: GetDeploymentFrequencyProps): Promise<GetDeploymentFrequencyOkResponse>;
|
19
|
-
export declare function useGetDeploymentFrequencyMutation(options?: Omit<UseMutationOptions<GetDeploymentFrequencyOkResponse, GetDeploymentFrequencyErrorResponse, GetDeploymentFrequencyProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetDeploymentFrequencyOkResponse, unknown, GetDeploymentFrequencyProps, unknown>;
|
@@ -1,11 +0,0 @@
|
|
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 getDeploymentFrequency(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/efficiency/dora/deploymentfrequency`, method: 'POST' }, props));
|
8
|
-
}
|
9
|
-
export function useGetDeploymentFrequencyMutation(options) {
|
10
|
-
return useMutation((mutateProps) => getDeploymentFrequency(mutateProps), options);
|
11
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
-
import type { DoraMetric } from '../schemas/DoraMetric';
|
3
|
-
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
-
export interface GetLeadTimeMutationQueryParams {
|
7
|
-
company: string;
|
8
|
-
projectIdentifier: string;
|
9
|
-
orgIdentifier: string;
|
10
|
-
}
|
11
|
-
export type GetLeadTimeRequestBody = DoraRequest;
|
12
|
-
export type GetLeadTimeOkResponse = ResponseWithPagination<DoraMetric>;
|
13
|
-
export type GetLeadTimeErrorResponse = unknown;
|
14
|
-
export interface GetLeadTimeProps extends Omit<FetcherOptions<GetLeadTimeMutationQueryParams, GetLeadTimeRequestBody>, 'url'> {
|
15
|
-
queryParams: GetLeadTimeMutationQueryParams;
|
16
|
-
body: GetLeadTimeRequestBody;
|
17
|
-
}
|
18
|
-
export declare function getLeadTime(props: GetLeadTimeProps): Promise<GetLeadTimeOkResponse>;
|
19
|
-
export declare function useGetLeadTimeMutation(options?: Omit<UseMutationOptions<GetLeadTimeOkResponse, GetLeadTimeErrorResponse, GetLeadTimeProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetLeadTimeOkResponse, unknown, GetLeadTimeProps, unknown>;
|
@@ -1,11 +0,0 @@
|
|
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 getLeadTime(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/efficiency/dora/leadtime`, method: 'POST' }, props));
|
8
|
-
}
|
9
|
-
export function useGetLeadTimeMutation(options) {
|
10
|
-
return useMutation((mutateProps) => getLeadTime(mutateProps), options);
|
11
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
-
import type { DoraMetric } from '../schemas/DoraMetric';
|
3
|
-
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
-
export interface GetMeanTimeRestoreMutationQueryParams {
|
7
|
-
company: string;
|
8
|
-
projectIdentifier: string;
|
9
|
-
orgIdentifier: string;
|
10
|
-
}
|
11
|
-
export type GetMeanTimeRestoreRequestBody = DoraRequest;
|
12
|
-
export type GetMeanTimeRestoreOkResponse = ResponseWithPagination<DoraMetric>;
|
13
|
-
export type GetMeanTimeRestoreErrorResponse = unknown;
|
14
|
-
export interface GetMeanTimeRestoreProps extends Omit<FetcherOptions<GetMeanTimeRestoreMutationQueryParams, GetMeanTimeRestoreRequestBody>, 'url'> {
|
15
|
-
queryParams: GetMeanTimeRestoreMutationQueryParams;
|
16
|
-
body: GetMeanTimeRestoreRequestBody;
|
17
|
-
}
|
18
|
-
export declare function getMeanTimeRestore(props: GetMeanTimeRestoreProps): Promise<GetMeanTimeRestoreOkResponse>;
|
19
|
-
export declare function useGetMeanTimeRestoreMutation(options?: Omit<UseMutationOptions<GetMeanTimeRestoreOkResponse, GetMeanTimeRestoreErrorResponse, GetMeanTimeRestoreProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetMeanTimeRestoreOkResponse, unknown, GetMeanTimeRestoreProps, unknown>;
|
@@ -1,11 +0,0 @@
|
|
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 getMeanTimeRestore(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/efficiency/dora/meantimerestore`, method: 'POST' }, props));
|
8
|
-
}
|
9
|
-
export function useGetMeanTimeRestoreMutation(options) {
|
10
|
-
return useMutation((mutateProps) => getMeanTimeRestore(mutateProps), options);
|
11
|
-
}
|
package/dist/sei-panorama-service/src/services/hooks/useGetMeanTimeRestore_1_1_1_1Mutation.d.ts
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
-
import type { DoraMetric } from '../schemas/DoraMetric';
|
3
|
-
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
-
export interface GetMeanTimeRestore_1_1_1_1MutationQueryParams {
|
7
|
-
company: string;
|
8
|
-
projectIdentifier: string;
|
9
|
-
orgIdentifier: string;
|
10
|
-
}
|
11
|
-
export type GetMeanTimeRestore_1_1_1_1RequestBody = DoraRequest;
|
12
|
-
export type GetMeanTimeRestore_1_1_1_1OkResponse = ResponseWithPagination<DoraMetric>;
|
13
|
-
export type GetMeanTimeRestore_1_1_1_1ErrorResponse = unknown;
|
14
|
-
export interface GetMeanTimeRestore_1_1_1_1Props extends Omit<FetcherOptions<GetMeanTimeRestore_1_1_1_1MutationQueryParams, GetMeanTimeRestore_1_1_1_1RequestBody>, 'url'> {
|
15
|
-
queryParams: GetMeanTimeRestore_1_1_1_1MutationQueryParams;
|
16
|
-
body: GetMeanTimeRestore_1_1_1_1RequestBody;
|
17
|
-
}
|
18
|
-
export declare function getMeanTimeRestore_1_1_1_1(props: GetMeanTimeRestore_1_1_1_1Props): Promise<GetMeanTimeRestore_1_1_1_1OkResponse>;
|
19
|
-
export declare function useGetMeanTimeRestore_1_1_1_1Mutation(options?: Omit<UseMutationOptions<GetMeanTimeRestore_1_1_1_1OkResponse, GetMeanTimeRestore_1_1_1_1ErrorResponse, GetMeanTimeRestore_1_1_1_1Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetMeanTimeRestore_1_1_1_1OkResponse, unknown, GetMeanTimeRestore_1_1_1_1Props, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useGetMeanTimeRestore_1_1_1_1Mutation.js
DELETED
@@ -1,11 +0,0 @@
|
|
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 getMeanTimeRestore_1_1_1_1(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/efficiency/dora`, method: 'POST' }, props));
|
8
|
-
}
|
9
|
-
export function useGetMeanTimeRestore_1_1_1_1Mutation(options) {
|
10
|
-
return useMutation((mutateProps) => getMeanTimeRestore_1_1_1_1(mutateProps), options);
|
11
|
-
}
|
package/dist/sei-panorama-service/src/services/hooks/useGetTeamCollectionsTree_1Mutation.d.ts
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
-
import type { Team } from '../schemas/Team';
|
3
|
-
import type { TeamCollectionRequest } from '../schemas/TeamCollectionRequest';
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
-
export interface GetTeamCollectionsTree_1MutationQueryParams {
|
7
|
-
company: string;
|
8
|
-
projectIdentifier: string;
|
9
|
-
orgIdentifier?: string;
|
10
|
-
}
|
11
|
-
export type GetTeamCollectionsTree_1RequestBody = TeamCollectionRequest;
|
12
|
-
export type GetTeamCollectionsTree_1OkResponse = ResponseWithPagination<Team[]>;
|
13
|
-
export type GetTeamCollectionsTree_1ErrorResponse = unknown;
|
14
|
-
export interface GetTeamCollectionsTree_1Props extends Omit<FetcherOptions<GetTeamCollectionsTree_1MutationQueryParams, GetTeamCollectionsTree_1RequestBody>, 'url'> {
|
15
|
-
queryParams: GetTeamCollectionsTree_1MutationQueryParams;
|
16
|
-
body: GetTeamCollectionsTree_1RequestBody;
|
17
|
-
}
|
18
|
-
export declare function getTeamCollectionsTree_1(props: GetTeamCollectionsTree_1Props): Promise<GetTeamCollectionsTree_1OkResponse>;
|
19
|
-
export declare function useGetTeamCollectionsTree_1Mutation(options?: Omit<UseMutationOptions<GetTeamCollectionsTree_1OkResponse, GetTeamCollectionsTree_1ErrorResponse, GetTeamCollectionsTree_1Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetTeamCollectionsTree_1OkResponse, unknown, GetTeamCollectionsTree_1Props, unknown>;
|
@@ -1,11 +0,0 @@
|
|
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 getTeamCollectionsTree_1(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/collections/teams`, method: 'POST' }, props));
|
8
|
-
}
|
9
|
-
export function useGetTeamCollectionsTree_1Mutation(options) {
|
10
|
-
return useMutation((mutateProps) => getTeamCollectionsTree_1(mutateProps), options);
|
11
|
-
}
|
package/dist/sei-panorama-service/src/services/hooks/useGetTeamCollectionsTree_2Mutation.d.ts
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
-
import type { Category } from '../schemas/Category';
|
3
|
-
import type { Team } from '../schemas/Team';
|
4
|
-
import type { TeamCollectionRequest } from '../schemas/TeamCollectionRequest';
|
5
|
-
import type { ResponseWithPagination } from '../helpers';
|
6
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
7
|
-
export interface GetTeamCollectionsTree_2MutationQueryParams {
|
8
|
-
company: string;
|
9
|
-
projectIdentifier: string;
|
10
|
-
orgIdentifier?: string;
|
11
|
-
}
|
12
|
-
export type GetTeamCollectionsTree_2RequestBody = TeamCollectionRequest;
|
13
|
-
export type GetTeamCollectionsTree_2OkResponse = ResponseWithPagination<Category[] & Team[]>;
|
14
|
-
export type GetTeamCollectionsTree_2ErrorResponse = unknown;
|
15
|
-
export interface GetTeamCollectionsTree_2Props extends Omit<FetcherOptions<GetTeamCollectionsTree_2MutationQueryParams, GetTeamCollectionsTree_2RequestBody>, 'url'> {
|
16
|
-
queryParams: GetTeamCollectionsTree_2MutationQueryParams;
|
17
|
-
body: GetTeamCollectionsTree_2RequestBody;
|
18
|
-
}
|
19
|
-
export declare function getTeamCollectionsTree_2(props: GetTeamCollectionsTree_2Props): Promise<GetTeamCollectionsTree_2OkResponse>;
|
20
|
-
/**
|
21
|
-
* Get categories by passing a worskpace id into the filter
|
22
|
-
*/
|
23
|
-
export declare function useGetTeamCollectionsTree_2Mutation(options?: Omit<UseMutationOptions<GetTeamCollectionsTree_2OkResponse, GetTeamCollectionsTree_2ErrorResponse, GetTeamCollectionsTree_2Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetTeamCollectionsTree_2OkResponse, unknown, GetTeamCollectionsTree_2Props, unknown>;
|
@@ -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 { useMutation } from '@tanstack/react-query';
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
6
|
-
export function getTeamCollectionsTree_2(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/collections`, method: 'POST' }, props));
|
8
|
-
}
|
9
|
-
/**
|
10
|
-
* Get categories by passing a worskpace id into the filter
|
11
|
-
*/
|
12
|
-
export function useGetTeamCollectionsTree_2Mutation(options) {
|
13
|
-
return useMutation((mutateProps) => getTeamCollectionsTree_2(mutateProps), options);
|
14
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
-
import type { Team } from '../schemas/Team';
|
3
|
-
import type { ResponseWithPagination } from '../helpers';
|
4
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
|
-
export interface GetTeamTreeQueryQueryParams {
|
6
|
-
select?: string;
|
7
|
-
filter?: string;
|
8
|
-
offset?: string;
|
9
|
-
limit?: string;
|
10
|
-
}
|
11
|
-
export type GetTeamTreeOkResponse = ResponseWithPagination<Team[]>;
|
12
|
-
export type GetTeamTreeErrorResponse = unknown;
|
13
|
-
export interface GetTeamTreeProps extends Omit<FetcherOptions<GetTeamTreeQueryQueryParams, unknown>, 'url'> {
|
14
|
-
queryParams: GetTeamTreeQueryQueryParams;
|
15
|
-
}
|
16
|
-
export declare function getTeamTree(props: GetTeamTreeProps): Promise<GetTeamTreeOkResponse>;
|
17
|
-
export declare function useGetTeamTreeQuery(props: GetTeamTreeProps, options?: Omit<UseQueryOptions<GetTeamTreeOkResponse, GetTeamTreeErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetTeamTreeOkResponse, unknown>;
|
@@ -1,11 +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 getTeamTree(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/teams/`, method: 'GET' }, props));
|
8
|
-
}
|
9
|
-
export function useGetTeamTreeQuery(props, options) {
|
10
|
-
return useQuery(['getTeamTree', props.queryParams], ({ signal }) => getTeamTree(Object.assign(Object.assign({}, props), { signal })), options);
|
11
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
-
import type { Team } from '../schemas/Team';
|
3
|
-
import type { ResponseWithPagination } from '../helpers';
|
4
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
|
-
export interface GetTeamTree_1QueryQueryParams {
|
6
|
-
select?: string;
|
7
|
-
filter?: string;
|
8
|
-
offset?: string;
|
9
|
-
limit?: string;
|
10
|
-
}
|
11
|
-
export type GetTeamTree_1OkResponse = ResponseWithPagination<Team[]>;
|
12
|
-
export type GetTeamTree_1ErrorResponse = unknown;
|
13
|
-
export interface GetTeamTree_1Props extends Omit<FetcherOptions<GetTeamTree_1QueryQueryParams, unknown>, 'url'> {
|
14
|
-
queryParams: GetTeamTree_1QueryQueryParams;
|
15
|
-
}
|
16
|
-
export declare function getTeamTree_1(props: GetTeamTree_1Props): Promise<GetTeamTree_1OkResponse>;
|
17
|
-
export declare function useGetTeamTree_1Query(props: GetTeamTree_1Props, options?: Omit<UseQueryOptions<GetTeamTree_1OkResponse, GetTeamTree_1ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetTeamTree_1OkResponse, unknown>;
|
@@ -1,11 +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 getTeamTree_1(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/teams`, method: 'GET' }, props));
|
8
|
-
}
|
9
|
-
export function useGetTeamTree_1Query(props, options) {
|
10
|
-
return useQuery(['getTeamTree_1', props.queryParams], ({ signal }) => getTeamTree_1(Object.assign(Object.assign({}, props), { signal })), options);
|
11
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
export interface TeamCollectionRequest {
|
2
|
-
/**
|
3
|
-
* Filter your result set - eg: filter:{categoryId: ["60d8e808-5070-48bb-9002-2f1fcf659820"]}
|
4
|
-
*/
|
5
|
-
filter?: string;
|
6
|
-
/**
|
7
|
-
* integer value to indicate which page should be loaded. If blank then no pagination
|
8
|
-
* @format int32
|
9
|
-
*/
|
10
|
-
page?: number;
|
11
|
-
/**
|
12
|
-
* integer value to indicate how many records to be loaded per page. If blank then no pagination
|
13
|
-
* @format int32
|
14
|
-
*/
|
15
|
-
page_size?: number;
|
16
|
-
select?: string;
|
17
|
-
/**
|
18
|
-
* Total number of records available
|
19
|
-
* @format int64
|
20
|
-
*/
|
21
|
-
total_count?: number;
|
22
|
-
}
|
File without changes
|