/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Request used to create or update a webhook * @export * @interface CreateOrUpdateWebhookRequest */ export interface CreateOrUpdateWebhookRequest { /** * The id of the Synapse object to receive events of. * @type {string} * @memberof CreateOrUpdateWebhookRequest */ objectId?: string; /** * The supported synapse object types for a Webhook * @type {string} * @memberof CreateOrUpdateWebhookRequest */ objectType?: CreateOrUpdateWebhookRequestObjectTypeEnum; /** * The list of event types to subscribe to. * @type {Set} * @memberof CreateOrUpdateWebhookRequest */ eventTypes?: Set; /** * The webhook endpoint where the events will be sent to. Must be 255 Characters or less. * @type {string} * @memberof CreateOrUpdateWebhookRequest */ invokeEndpoint?: string; /** * True if the webhook should be enabled. If false no events will be sent to the endpoint. * @type {boolean} * @memberof CreateOrUpdateWebhookRequest */ isEnabled?: boolean; } /** * @export */ export declare const CreateOrUpdateWebhookRequestObjectTypeEnum: { readonly ENTITY: "ENTITY"; }; export type CreateOrUpdateWebhookRequestObjectTypeEnum = typeof CreateOrUpdateWebhookRequestObjectTypeEnum[keyof typeof CreateOrUpdateWebhookRequestObjectTypeEnum]; /** * @export */ export declare const CreateOrUpdateWebhookRequestEventTypesEnum: { readonly CREATE: "CREATE"; readonly UPDATE: "UPDATE"; readonly DELETE: "DELETE"; }; export type CreateOrUpdateWebhookRequestEventTypesEnum = typeof CreateOrUpdateWebhookRequestEventTypesEnum[keyof typeof CreateOrUpdateWebhookRequestEventTypesEnum]; /** * Check if a given object implements the CreateOrUpdateWebhookRequest interface. */ export declare function instanceOfCreateOrUpdateWebhookRequest(value: object): value is CreateOrUpdateWebhookRequest; export declare function CreateOrUpdateWebhookRequestFromJSON(json: any): CreateOrUpdateWebhookRequest; export declare function CreateOrUpdateWebhookRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOrUpdateWebhookRequest; export declare function CreateOrUpdateWebhookRequestToJSON(json: any): CreateOrUpdateWebhookRequest; export declare function CreateOrUpdateWebhookRequestToJSONTyped(value?: CreateOrUpdateWebhookRequest | null, ignoreDiscriminator?: boolean): any;