@harnessio/react-idp-service-client 0.51.3 → 0.51.4
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/idp-service/src/services/hooks/useDeleteCustomLinkCardQuickLinksMutation.d.ts +19 -0
- package/dist/idp-service/src/services/hooks/useDeleteCustomLinkCardQuickLinksMutation.js +14 -0
- package/dist/idp-service/src/services/hooks/useDeleteHeadersQuickLinksIconMutation.d.ts +18 -0
- package/dist/idp-service/src/services/hooks/useDeleteHeadersQuickLinksIconMutation.js +14 -0
- package/dist/idp-service/src/services/hooks/useDeleteHomePageLayoutCardsIconMutation.d.ts +18 -0
- package/dist/idp-service/src/services/hooks/useDeleteHomePageLayoutCardsIconMutation.js +14 -0
- package/dist/idp-service/src/services/index.d.ts +6 -0
- package/dist/idp-service/src/services/index.js +3 -0
- package/dist/idp-service/src/services/schemas/BannerInfo.d.ts +1 -0
- package/dist/idp-service/src/services/schemas/LinksInfo.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
export interface DeleteCustomLinkCardQuickLinksMutationPathParams {
|
|
5
|
+
'card-identifier': string;
|
|
6
|
+
'quick-link-identifier': string;
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteCustomLinkCardQuickLinksMutationHeaderParams {
|
|
9
|
+
'Harness-Account'?: string;
|
|
10
|
+
}
|
|
11
|
+
export type DeleteCustomLinkCardQuickLinksOkResponse = ResponseWithPagination<unknown>;
|
|
12
|
+
export type DeleteCustomLinkCardQuickLinksErrorResponse = unknown;
|
|
13
|
+
export interface DeleteCustomLinkCardQuickLinksProps extends DeleteCustomLinkCardQuickLinksMutationPathParams, Omit<FetcherOptions<unknown, unknown, DeleteCustomLinkCardQuickLinksMutationHeaderParams>, 'url'> {
|
|
14
|
+
}
|
|
15
|
+
export declare function deleteCustomLinkCardQuickLinks(props: DeleteCustomLinkCardQuickLinksProps): Promise<DeleteCustomLinkCardQuickLinksOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Delete custom link card quick links icon
|
|
18
|
+
*/
|
|
19
|
+
export declare function useDeleteCustomLinkCardQuickLinksMutation(options?: Omit<UseMutationOptions<DeleteCustomLinkCardQuickLinksOkResponse, DeleteCustomLinkCardQuickLinksErrorResponse, DeleteCustomLinkCardQuickLinksProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteCustomLinkCardQuickLinksOkResponse, unknown, DeleteCustomLinkCardQuickLinksProps, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function deleteCustomLinkCardQuickLinks(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/home-page-layout/custom-card/${props['card-identifier']}/quick-links/${props['quick-link-identifier']}/icon`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete custom link card quick links icon
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteCustomLinkCardQuickLinksMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteCustomLinkCardQuickLinks(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
export interface DeleteHeadersQuickLinksIconMutationPathParams {
|
|
5
|
+
'quick-link-identifier': string;
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteHeadersQuickLinksIconMutationHeaderParams {
|
|
8
|
+
'Harness-Account'?: string;
|
|
9
|
+
}
|
|
10
|
+
export type DeleteHeadersQuickLinksIconOkResponse = ResponseWithPagination<unknown>;
|
|
11
|
+
export type DeleteHeadersQuickLinksIconErrorResponse = unknown;
|
|
12
|
+
export interface DeleteHeadersQuickLinksIconProps extends DeleteHeadersQuickLinksIconMutationPathParams, Omit<FetcherOptions<unknown, unknown, DeleteHeadersQuickLinksIconMutationHeaderParams>, 'url'> {
|
|
13
|
+
}
|
|
14
|
+
export declare function deleteHeadersQuickLinksIcon(props: DeleteHeadersQuickLinksIconProps): Promise<DeleteHeadersQuickLinksIconOkResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Delete header quick links icon
|
|
17
|
+
*/
|
|
18
|
+
export declare function useDeleteHeadersQuickLinksIconMutation(options?: Omit<UseMutationOptions<DeleteHeadersQuickLinksIconOkResponse, DeleteHeadersQuickLinksIconErrorResponse, DeleteHeadersQuickLinksIconProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteHeadersQuickLinksIconOkResponse, unknown, DeleteHeadersQuickLinksIconProps, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function deleteHeadersQuickLinksIcon(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/home-page-layout/header/quick-links/${props['quick-link-identifier']}/icon`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete header quick links icon
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteHeadersQuickLinksIconMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteHeadersQuickLinksIcon(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
export interface DeleteHomePageLayoutCardsIconMutationPathParams {
|
|
5
|
+
'card-identifier': string;
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteHomePageLayoutCardsIconMutationHeaderParams {
|
|
8
|
+
'Harness-Account'?: string;
|
|
9
|
+
}
|
|
10
|
+
export type DeleteHomePageLayoutCardsIconOkResponse = ResponseWithPagination<unknown>;
|
|
11
|
+
export type DeleteHomePageLayoutCardsIconErrorResponse = unknown;
|
|
12
|
+
export interface DeleteHomePageLayoutCardsIconProps extends DeleteHomePageLayoutCardsIconMutationPathParams, Omit<FetcherOptions<unknown, unknown, DeleteHomePageLayoutCardsIconMutationHeaderParams>, 'url'> {
|
|
13
|
+
}
|
|
14
|
+
export declare function deleteHomePageLayoutCardsIcon(props: DeleteHomePageLayoutCardsIconProps): Promise<DeleteHomePageLayoutCardsIconOkResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Delete card icon
|
|
17
|
+
*/
|
|
18
|
+
export declare function useDeleteHomePageLayoutCardsIconMutation(options?: Omit<UseMutationOptions<DeleteHomePageLayoutCardsIconOkResponse, DeleteHomePageLayoutCardsIconErrorResponse, DeleteHomePageLayoutCardsIconProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteHomePageLayoutCardsIconOkResponse, unknown, DeleteHomePageLayoutCardsIconProps, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function deleteHomePageLayoutCardsIcon(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/home-page-layout/card/${props['card-identifier']}/icon`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete card icon
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteHomePageLayoutCardsIconMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteHomePageLayoutCardsIcon(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -19,10 +19,16 @@ export type { CustomPluginsTriggerErrorResponse, CustomPluginsTriggerMutationPat
|
|
|
19
19
|
export { customPluginsTrigger, useCustomPluginsTriggerMutation, } from './hooks/useCustomPluginsTriggerMutation';
|
|
20
20
|
export type { DeleteCheckErrorResponse, DeleteCheckMutationPathParams, DeleteCheckMutationQueryParams, DeleteCheckOkResponse, DeleteCheckProps, } from './hooks/useDeleteCheckMutation';
|
|
21
21
|
export { deleteCheck, useDeleteCheckMutation } from './hooks/useDeleteCheckMutation';
|
|
22
|
+
export type { DeleteCustomLinkCardQuickLinksErrorResponse, DeleteCustomLinkCardQuickLinksMutationPathParams, DeleteCustomLinkCardQuickLinksOkResponse, DeleteCustomLinkCardQuickLinksProps, } from './hooks/useDeleteCustomLinkCardQuickLinksMutation';
|
|
23
|
+
export { deleteCustomLinkCardQuickLinks, useDeleteCustomLinkCardQuickLinksMutation, } from './hooks/useDeleteCustomLinkCardQuickLinksMutation';
|
|
22
24
|
export type { DeleteCustomPluginInfoErrorResponse, DeleteCustomPluginInfoMutationPathParams, DeleteCustomPluginInfoMutationQueryParams, DeleteCustomPluginInfoOkResponse, DeleteCustomPluginInfoProps, } from './hooks/useDeleteCustomPluginInfoMutation';
|
|
23
25
|
export { deleteCustomPluginInfo, useDeleteCustomPluginInfoMutation, } from './hooks/useDeleteCustomPluginInfoMutation';
|
|
24
26
|
export type { DeleteGroupErrorResponse, DeleteGroupMutationPathParams, DeleteGroupOkResponse, DeleteGroupProps, } from './hooks/useDeleteGroupMutation';
|
|
25
27
|
export { deleteGroup, useDeleteGroupMutation } from './hooks/useDeleteGroupMutation';
|
|
28
|
+
export type { DeleteHeadersQuickLinksIconErrorResponse, DeleteHeadersQuickLinksIconMutationPathParams, DeleteHeadersQuickLinksIconOkResponse, DeleteHeadersQuickLinksIconProps, } from './hooks/useDeleteHeadersQuickLinksIconMutation';
|
|
29
|
+
export { deleteHeadersQuickLinksIcon, useDeleteHeadersQuickLinksIconMutation, } from './hooks/useDeleteHeadersQuickLinksIconMutation';
|
|
30
|
+
export type { DeleteHomePageLayoutCardsIconErrorResponse, DeleteHomePageLayoutCardsIconMutationPathParams, DeleteHomePageLayoutCardsIconOkResponse, DeleteHomePageLayoutCardsIconProps, } from './hooks/useDeleteHomePageLayoutCardsIconMutation';
|
|
31
|
+
export { deleteHomePageLayoutCardsIcon, useDeleteHomePageLayoutCardsIconMutation, } from './hooks/useDeleteHomePageLayoutCardsIconMutation';
|
|
26
32
|
export type { DeleteLayoutErrorResponse, DeleteLayoutOkResponse, DeleteLayoutProps, } from './hooks/useDeleteLayoutMutation';
|
|
27
33
|
export { deleteLayout, useDeleteLayoutMutation } from './hooks/useDeleteLayoutMutation';
|
|
28
34
|
export type { DeleteScorecardErrorResponse, DeleteScorecardMutationPathParams, DeleteScorecardOkResponse, DeleteScorecardProps, } from './hooks/useDeleteScorecardMutation';
|
|
@@ -8,8 +8,11 @@ export { createLayout, useCreateLayoutMutation } from './hooks/useCreateLayoutMu
|
|
|
8
8
|
export { createScorecard, useCreateScorecardMutation } from './hooks/useCreateScorecardMutation';
|
|
9
9
|
export { customPluginsTrigger, useCustomPluginsTriggerMutation, } from './hooks/useCustomPluginsTriggerMutation';
|
|
10
10
|
export { deleteCheck, useDeleteCheckMutation } from './hooks/useDeleteCheckMutation';
|
|
11
|
+
export { deleteCustomLinkCardQuickLinks, useDeleteCustomLinkCardQuickLinksMutation, } from './hooks/useDeleteCustomLinkCardQuickLinksMutation';
|
|
11
12
|
export { deleteCustomPluginInfo, useDeleteCustomPluginInfoMutation, } from './hooks/useDeleteCustomPluginInfoMutation';
|
|
12
13
|
export { deleteGroup, useDeleteGroupMutation } from './hooks/useDeleteGroupMutation';
|
|
14
|
+
export { deleteHeadersQuickLinksIcon, useDeleteHeadersQuickLinksIconMutation, } from './hooks/useDeleteHeadersQuickLinksIconMutation';
|
|
15
|
+
export { deleteHomePageLayoutCardsIcon, useDeleteHomePageLayoutCardsIconMutation, } from './hooks/useDeleteHomePageLayoutCardsIconMutation';
|
|
13
16
|
export { deleteLayout, useDeleteLayoutMutation } from './hooks/useDeleteLayoutMutation';
|
|
14
17
|
export { deleteScorecard, useDeleteScorecardMutation } from './hooks/useDeleteScorecardMutation';
|
|
15
18
|
export { generateYamlDef, useGenerateYamlDefMutation } from './hooks/useGenerateYamlDefMutation';
|