@apideck/node
Version:
Apideck Node.js SDK
72 lines (71 loc) • 2 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.
*/
import { VirtualWebhooks } from './VirtualWebhooks';
/**
* How webhooks are supported for the connector. Sometimes the connector natively supports webhooks, other times Apideck virtualizes them based on polling.
* @export
* @interface WebhookSupport
*/
export interface WebhookSupport {
/**
* Mode of the webhook support.
* @type {string}
* @memberof WebhookSupport
*/
mode?: WebhookSupportMode;
/**
* Received events are scoped to connection or across integration.
* @type {string}
* @memberof WebhookSupport
*/
subscription_level?: WebhookSupportSubscriptionLevel;
/**
* How the subscription is managed in the downstream.
* @type {string}
* @memberof WebhookSupport
*/
managed_via?: WebhookSupportManagedVia;
/**
*
* @type {VirtualWebhooks}
* @memberof WebhookSupport
*/
virtual_webhooks?: VirtualWebhooks;
}
/**
* @export
* @enum {string}
*/
export declare enum WebhookSupportMode {
native = "native",
virtual = "virtual",
none = "none"
}
/**
* @export
* @enum {string}
*/
export declare enum WebhookSupportSubscriptionLevel {
connection = "connection",
integration = "integration"
}
/**
* @export
* @enum {string}
*/
export declare enum WebhookSupportManagedVia {
manual = "manual",
api = "api"
}
export declare function WebhookSupportFromJSON(json: any): WebhookSupport;
export declare function WebhookSupportFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookSupport;
export declare function WebhookSupportToJSON(value?: WebhookSupport | null): any;