@apideck/node
Version:
Apideck Node.js SDK
52 lines (51 loc) • 1.63 kB
TypeScript
/**
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.13.0
* Contact: support@apideck.com
*
* 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 WebhookSubscription
*/
export interface WebhookSubscription {
/**
* The ID of the downstream service
* @type {string}
* @memberof WebhookSubscription
*/
downstream_id?: string;
/**
* The list of Unify Events this connection is subscribed to
* @type {Array<string>}
* @memberof WebhookSubscription
*/
unify_event_types?: Array<string>;
/**
* The list of downstream Events this connection is subscribed to
* @type {Array<string>}
* @memberof WebhookSubscription
*/
downstream_event_types?: Array<string>;
/**
* The URL the downstream is sending to when the event is triggered
* @type {string}
* @memberof WebhookSubscription
*/
execute_url?: string;
/**
* The date and time the webhook subscription was created downstream
* @type {string}
* @memberof WebhookSubscription
*/
created_at?: string;
}
export declare function WebhookSubscriptionFromJSON(json: any): WebhookSubscription;
export declare function WebhookSubscriptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookSubscription;
export declare function WebhookSubscriptionToJSON(value?: WebhookSubscription | null): any;