UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
34 lines (33 loc) 1.16 kB
/** * AskNews API * AskNews API * * The version of the OpenAPI document: 0.19.10 * 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. */ import type { EmailAction } from './EmailAction'; import type { GoogleDocsAction } from './GoogleDocsAction'; import type { ResendBroadcastAction } from './ResendBroadcastAction'; import type { WebhookAction } from './WebhookAction'; /** * @type TriggersInner * * @export */ export type TriggersInner = { action: 'email'; } & EmailAction | { action: 'google_docs'; } & GoogleDocsAction | { action: 'resend_broadcast'; } & ResendBroadcastAction | { action: 'webhook'; } & WebhookAction; export declare function TriggersInnerFromJSON(json: any): TriggersInner; export declare function TriggersInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): TriggersInner; export declare function TriggersInnerToJSON(json: any): any; export declare function TriggersInnerToJSONTyped(value?: TriggersInner | null, ignoreDiscriminator?: boolean): any;