UNPKG

wallee

Version:
66 lines (65 loc) 1.82 kB
import { CreationEntityState } from "./CreationEntityState"; import { WebhookIdentity } from "./WebhookIdentity"; import { WebhookUrl } from "./WebhookUrl"; declare class WebhookListener { /** * Whether signature header and 'state' property are enabled in webhook payload. */ 'enablePayloadSignatureAndState'?: boolean; /** * The entity that is to be monitored. */ 'entity'?: number; /** * The entity's target states that are to be monitored. */ 'entityStates'?: Array<string>; /** * A unique identifier for the object. */ 'id'?: number; /** * The identity used to sign messages. */ 'identity'?: WebhookIdentity; /** * The ID of the space this object belongs to. */ 'linkedSpaceId'?: number; /** * The name used to identify the webhook listener. */ 'name'?: string; /** * Whether every update of the entity or only state changes are to be monitored. */ 'notifyEveryChange'?: boolean; /** * The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed. */ 'plannedPurgeDate'?: Date; /** * The object's current state. */ 'state'?: CreationEntityState; /** * The URL where notifications about entity changes are sent to. */ 'url'?: WebhookUrl; /** * The version is used for optimistic locking and incremented whenever the object is updated. */ 'version'?: number; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export { WebhookListener };