UNPKG

liferay-headless-rest-client

Version:
1 lines 2.42 kB
import type{Options as ClientOptions,TDataShape,Client}from'@hey-api/client-fetch';import type{DeletePortalInstanceData,DeletePortalInstanceResponses,GetPortalInstanceData,GetPortalInstanceResponses,PatchPortalInstanceData,PatchPortalInstanceResponses,GetPortalInstancesPageData,GetPortalInstancesPageResponses,PostPortalInstanceData,PostPortalInstanceResponses,PutPortalInstanceActivateData,PutPortalInstanceActivateResponses,PutPortalInstanceDeactivateData,PutPortalInstanceDeactivateResponses}from'./types.gen';export type Options<TData extends TDataShape=TDataShape,ThrowOnError extends boolean=boolean>=ClientOptions<TData,ThrowOnError>&{client?:Client;meta?:Record<string,unknown>;};export declare const deletePortalInstance:<ThrowOnError extends boolean=false>(options:Options<DeletePortalInstanceData,ThrowOnError>)=>import("@hey-api/client-fetch").RequestResult<DeletePortalInstanceResponses,unknown,ThrowOnError,"fields">;export declare const getPortalInstance:<ThrowOnError extends boolean=false>(options:Options<GetPortalInstanceData,ThrowOnError>)=>import("@hey-api/client-fetch").RequestResult<GetPortalInstanceResponses,unknown,ThrowOnError,"fields">;export declare const patchPortalInstance:<ThrowOnError extends boolean=false>(options:Options<PatchPortalInstanceData,ThrowOnError>)=>import("@hey-api/client-fetch").RequestResult<PatchPortalInstanceResponses,unknown,ThrowOnError,"fields">;export declare const getPortalInstancesPage:<ThrowOnError extends boolean=false>(options?:Options<GetPortalInstancesPageData,ThrowOnError>)=>import("@hey-api/client-fetch").RequestResult<GetPortalInstancesPageResponses,unknown,ThrowOnError,"fields">;export declare const postPortalInstance:<ThrowOnError extends boolean=false>(options?:Options<PostPortalInstanceData,ThrowOnError>)=>import("@hey-api/client-fetch").RequestResult<PostPortalInstanceResponses,unknown,ThrowOnError,"fields">;export declare const putPortalInstanceActivate:<ThrowOnError extends boolean=false>(options:Options<PutPortalInstanceActivateData,ThrowOnError>)=>import("@hey-api/client-fetch").RequestResult<PutPortalInstanceActivateResponses,unknown,ThrowOnError,"fields">;export declare const putPortalInstanceDeactivate:<ThrowOnError extends boolean=false>(options:Options<PutPortalInstanceDeactivateData,ThrowOnError>)=>import("@hey-api/client-fetch").RequestResult<PutPortalInstanceDeactivateResponses,unknown,ThrowOnError,"fields">;