/** * Squidex API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0.0 * * * 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 { WebhookMethod } from './WebhookMethod'; import type { RuleActionDto } from './RuleActionDto'; /** * * @export * @interface WebhookRuleActionDto */ export interface WebhookRuleActionDto extends RuleActionDto { /** * The url to the webhook. * @type {string} * @memberof WebhookRuleActionDto */ url: string; /** * * @type {WebhookMethod} * @memberof WebhookRuleActionDto */ method: WebhookMethod; /** * Leave it empty to use the full event as body. * @type {string} * @memberof WebhookRuleActionDto */ payload?: string | null; /** * The mime type of the payload. * @type {string} * @memberof WebhookRuleActionDto */ payloadType?: string | null; /** * The message headers in the format '[Key]=[Value]', one entry per line. * @type {string} * @memberof WebhookRuleActionDto */ headers?: string | null; /** * The shared secret that is used to calculate the payload signature. * @type {string} * @memberof WebhookRuleActionDto */ sharedSecret?: string | null; } /** * Check if a given object implements the WebhookRuleActionDto interface. */ export declare function instanceOfWebhookRuleActionDto(value: any): value is WebhookRuleActionDto; export declare function WebhookRuleActionDtoFromJSON(json: any): WebhookRuleActionDto; export declare function WebhookRuleActionDtoFromJSONTyped(json: any, _ignoreDiscriminator: boolean): WebhookRuleActionDto; export declare function WebhookRuleActionDtoToJSON(value?: WebhookRuleActionDto | null, _ignoreDiscriminator?: boolean): any;