UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
135 lines (134 loc) 2.99 kB
/** * AskNews API * AskNews API [![status](https://status.asknews.app/api/badge/2/status?style=for-the-badge)](https://status.asknews.app/status/prod) * * The version of the OpenAPI document: 0.24.22 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface NewsletterResponse */ export interface NewsletterResponse { /** * * @type {string} * @memberof NewsletterResponse */ id: string; /** * * @type {Date} * @memberof NewsletterResponse */ createdAt?: Date | null; /** * * @type {Date} * @memberof NewsletterResponse */ updatedAt?: Date | null; /** * * @type {string} * @memberof NewsletterResponse */ userId: string; /** * * @type {string} * @memberof NewsletterResponse */ alertId?: string | null; /** * * @type {string} * @memberof NewsletterResponse */ name: string; /** * * @type {string} * @memberof NewsletterResponse */ query: string; /** * * @type {string} * @memberof NewsletterResponse */ cron: string; /** * * @type {string} * @memberof NewsletterResponse */ model: string | null; /** * * @type {string} * @memberof NewsletterResponse */ subject: string | null; /** * * @type {string} * @memberof NewsletterResponse */ sender: string; /** * * @type {string} * @memberof NewsletterResponse */ logoUrl: string | null; /** * * @type {string} * @memberof NewsletterResponse */ replyTo: string | null; /** * * @type {string} * @memberof NewsletterResponse */ audienceId: string | null; /** * * @type {string} * @memberof NewsletterResponse */ resendApiKey: string | null; /** * * @type {boolean} * @memberof NewsletterResponse */ _public?: boolean; /** * * @type {boolean} * @memberof NewsletterResponse */ active?: boolean; /** * * @type {Date} * @memberof NewsletterResponse */ expiresAt?: Date | null; } /** * Check if a given object implements the NewsletterResponse interface. */ export declare function instanceOfNewsletterResponse(value: object): value is NewsletterResponse; export declare function NewsletterResponseFromJSON(json: any): NewsletterResponse; export declare function NewsletterResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): NewsletterResponse; export declare function NewsletterResponseToJSON(json: any): NewsletterResponse; export declare function NewsletterResponseToJSONTyped(value?: NewsletterResponse | null, ignoreDiscriminator?: boolean): any;