UNPKG

fastcomments-sdk

Version:

FastComments API Client - A SDK for interacting with the FastComments API

99 lines 2.66 kB
/** * fastcomments * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 0.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { CustomConfigParameters } from './CustomConfigParameters'; import type { APIComment } from './APIComment'; import type { APIStatus } from './APIStatus'; import type { UserSessionInfo } from './UserSessionInfo'; /** * * @export * @interface SaveCommentResponse */ export interface SaveCommentResponse { /** * * @type {APIStatus} * @memberof SaveCommentResponse */ status: APIStatus; /** * * @type {APIComment} * @memberof SaveCommentResponse */ comment: APIComment; /** * * @type {UserSessionInfo} * @memberof SaveCommentResponse */ user: UserSessionInfo | null; /** * Construct a type with a set of properties K of type T * @type {{ [key: string]: object; }} * @memberof SaveCommentResponse */ moduleData?: { [key: string]: object; }; /** * * @type {string} * @memberof SaveCommentResponse */ reason: string; /** * * @type {string} * @memberof SaveCommentResponse */ code: string; /** * * @type {string} * @memberof SaveCommentResponse */ secondaryCode?: string; /** * * @type {number} * @memberof SaveCommentResponse */ bannedUntil?: number; /** * * @type {number} * @memberof SaveCommentResponse */ maxCharacterLength?: number; /** * * @type {string} * @memberof SaveCommentResponse */ translatedError?: string; /** * * @type {CustomConfigParameters} * @memberof SaveCommentResponse */ customConfig?: CustomConfigParameters; } /** * Check if a given object implements the SaveCommentResponse interface. */ export declare function instanceOfSaveCommentResponse(value: object): value is SaveCommentResponse; export declare function SaveCommentResponseFromJSON(json: any): SaveCommentResponse; export declare function SaveCommentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveCommentResponse; export declare function SaveCommentResponseToJSON(json: any): SaveCommentResponse; export declare function SaveCommentResponseToJSONTyped(value?: SaveCommentResponse | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=SaveCommentResponse.d.ts.map