UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
49 lines (48 loc) 1.36 kB
/** * AskNews API * AskNews API * * The version of the OpenAPI document: 0.21.1 * 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 WebhookParams */ export interface WebhookParams { /** * The URL to send the webhook when the alert triggers * @type {string} * @memberof WebhookParams */ url: string; /** * * @type {{ [key: string]: string; }} * @memberof WebhookParams */ headers?: { [key: string]: string; } | null; /** * * @type {{ [key: string]: any; }} * @memberof WebhookParams */ payload?: { [key: string]: any; } | null; } /** * Check if a given object implements the WebhookParams interface. */ export declare function instanceOfWebhookParams(value: object): value is WebhookParams; export declare function WebhookParamsFromJSON(json: any): WebhookParams; export declare function WebhookParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookParams; export declare function WebhookParamsToJSON(json: any): WebhookParams; export declare function WebhookParamsToJSONTyped(value?: WebhookParams | null, ignoreDiscriminator?: boolean): any;