@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
47 lines (46 loc) • 1.4 kB
TypeScript
/**
* 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.
*/
import type { WebhookParams } from './WebhookParams';
/**
*
* @export
* @interface WebhookAction
*/
export interface WebhookAction {
/**
*
* @type {string}
* @memberof WebhookAction
*/
action?: WebhookActionActionEnum;
/**
*
* @type {WebhookParams}
* @memberof WebhookAction
*/
params: WebhookParams;
}
/**
* @export
*/
export declare const WebhookActionActionEnum: {
readonly Webhook: "webhook";
};
export type WebhookActionActionEnum = typeof WebhookActionActionEnum[keyof typeof WebhookActionActionEnum];
/**
* Check if a given object implements the WebhookAction interface.
*/
export declare function instanceOfWebhookAction(value: object): value is WebhookAction;
export declare function WebhookActionFromJSON(json: any): WebhookAction;
export declare function WebhookActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookAction;
export declare function WebhookActionToJSON(json: any): WebhookAction;
export declare function WebhookActionToJSONTyped(value?: WebhookAction | null, ignoreDiscriminator?: boolean): any;