WebhooksPublisher
Defined in: src/bridges/webhooks.ts:28
The slice of @xtandard/webhooks’ core this bridge needs.
Methods
Section titled “Methods”publish()
Section titled “publish()”publish(applicationKey, input): Promise<unknown>;Defined in: src/bridges/webhooks.ts:29
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
applicationKey |
string |
input |
{ eventType: string; idempotencyKey?: string; payload: JsonValue; } |
input.eventType |
string |
input.idempotencyKey? |
string |
input.payload |
JsonValue |
Returns
Section titled “Returns”Promise<unknown>