UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
134 lines (133 loc) 2.71 kB
/** * AskNews API * AskNews API * * The version of the OpenAPI document: 0.18.6 * 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; /** * * @type {Date} * @memberof NewsletterResponse */ updatedAt?: Date; /** * * @type {string} * @memberof NewsletterResponse */ userId: string; /** * * @type {string} * @memberof NewsletterResponse */ alertId?: string; /** * * @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; } /** * Check if a given object implements the NewsletterResponse interface. */ export declare function instanceOfNewsletterResponse(value: object): boolean; export declare function NewsletterResponseFromJSON(json: any): NewsletterResponse; export declare function NewsletterResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): NewsletterResponse; export declare function NewsletterResponseToJSON(value?: NewsletterResponse | null): any;