UNPKG

liferay-headless-rest-client

Version:
1 lines 627 B
export type Captcha={answer?:string;image?:string;token:string;readonly'x-class-name'?:string;};export type GetCaptchaChallengeData={body?:never;path?:never;query?:never;url:'/o/captcha/v1.0/captcha/challenge';};export type GetCaptchaChallengeResponses={default:Captcha;};export type GetCaptchaChallengeResponse=GetCaptchaChallengeResponses[keyof GetCaptchaChallengeResponses];export type PostCaptchaResponseData={body?:Captcha;path?:never;query?:never;url:'/o/captcha/v1.0/captcha/response';};export type PostCaptchaResponseResponses={default:unknown;};export type ClientOptions={baseUrl:'http://localhost:8080'|(string&{});};