UNPKG

fastcomments-sdk

Version:

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

104 lines 3.02 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 { RenderableUserNotification } from './RenderableUserNotification'; import type { APIStatus } from './APIStatus'; /** * * @export * @interface GetUserNotificationsResponse */ export interface GetUserNotificationsResponse { /** * Construct a type with a set of properties K of type T * @type {{ [key: string]: string; }} * @memberof GetUserNotificationsResponse */ translations?: { [key: string]: string; }; /** * * @type {boolean} * @memberof GetUserNotificationsResponse */ isSubscribed: boolean; /** * * @type {boolean} * @memberof GetUserNotificationsResponse */ hasMore: boolean; /** * * @type {Array<RenderableUserNotification>} * @memberof GetUserNotificationsResponse */ notifications: Array<RenderableUserNotification>; /** * * @type {APIStatus} * @memberof GetUserNotificationsResponse */ status: APIStatus; /** * * @type {string} * @memberof GetUserNotificationsResponse */ reason: string; /** * * @type {string} * @memberof GetUserNotificationsResponse */ code: string; /** * * @type {string} * @memberof GetUserNotificationsResponse */ secondaryCode?: string; /** * * @type {number} * @memberof GetUserNotificationsResponse */ bannedUntil?: number; /** * * @type {number} * @memberof GetUserNotificationsResponse */ maxCharacterLength?: number; /** * * @type {string} * @memberof GetUserNotificationsResponse */ translatedError?: string; /** * * @type {CustomConfigParameters} * @memberof GetUserNotificationsResponse */ customConfig?: CustomConfigParameters; } /** * Check if a given object implements the GetUserNotificationsResponse interface. */ export declare function instanceOfGetUserNotificationsResponse(value: object): value is GetUserNotificationsResponse; export declare function GetUserNotificationsResponseFromJSON(json: any): GetUserNotificationsResponse; export declare function GetUserNotificationsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetUserNotificationsResponse; export declare function GetUserNotificationsResponseToJSON(json: any): GetUserNotificationsResponse; export declare function GetUserNotificationsResponseToJSONTyped(value?: GetUserNotificationsResponse | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=GetUserNotificationsResponse.d.ts.map