Module Values.GenericWebhookSource

Generic webhook configuration for services that support webhook notifications.

Sourcetype nonrec t = {
  1. webhookUrl : String_.t option;
    (*

    The webhook URL endpoint

    *)
  2. webhookId : String_.t option;
    (*

    The unique webhook identifier

    *)
  3. webhookType : WebhookType.t option;
    (*

    The webhook authentication type

    *)
  4. webhookSecret : WebhookSecret.t option;
    (*

    The webhook secret for authentication

    *)
  5. apiKey : ApiKeyValue.t option;
    (*

    API Key for API Key webhook authentication

    *)
}
Sourceval make : ?webhookUrl:String_.t -> ?webhookId:String_.t -> ?webhookType:WebhookType.t -> ?webhookSecret:WebhookSecret.t -> ?apiKey:ApiKeyValue.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t