mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-11 04:19:48 +00:00
53 lines
1.2 KiB
TypeScript
53 lines
1.2 KiB
TypeScript
/*
|
|
* Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT.
|
|
*/
|
|
|
|
import { SpeakeasyBase, SpeakeasyMetadata } from "../../../internal/utils";
|
|
import { AxiosResponse } from "axios";
|
|
import { Expose } from "class-transformer";
|
|
|
|
export class SendPasswordResetEmailRequestBody extends SpeakeasyBase {
|
|
@SpeakeasyMetadata()
|
|
@Expose({ name: "login" })
|
|
login: string;
|
|
}
|
|
|
|
/**
|
|
* success response
|
|
*/
|
|
export class SendPasswordResetEmailResponseBody extends SpeakeasyBase {
|
|
@SpeakeasyMetadata()
|
|
@Expose({ name: "success" })
|
|
success: string;
|
|
|
|
@SpeakeasyMetadata()
|
|
@Expose({ name: "user_found" })
|
|
userFound: boolean;
|
|
}
|
|
|
|
export class SendPasswordResetEmailResponse extends SpeakeasyBase {
|
|
/**
|
|
* HTTP response content type for this operation
|
|
*/
|
|
@SpeakeasyMetadata()
|
|
contentType: string;
|
|
|
|
/**
|
|
* HTTP response status code for this operation
|
|
*/
|
|
@SpeakeasyMetadata()
|
|
statusCode: number;
|
|
|
|
/**
|
|
* Raw HTTP response; suitable for custom response parsing
|
|
*/
|
|
@SpeakeasyMetadata()
|
|
rawResponse: AxiosResponse;
|
|
|
|
/**
|
|
* success response
|
|
*/
|
|
@SpeakeasyMetadata()
|
|
object?: SendPasswordResetEmailResponseBody;
|
|
}
|