WebhooksPublisher
Defined in: src/sinks/xtandard-webhooks.ts:20
The slice of an @xtandard/webhooks core this sink calls.
Methods
Section titled “Methods”publish()
Section titled “publish()”publish(applicationKey, input): Promise<unknown>;Defined in: src/sinks/xtandard-webhooks.ts:21
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
applicationKey |
string |
input |
{ eventType: string; idempotencyKey?: string; payload: JsonValue; timestamp?: string; } |
input.eventType |
string |
input.idempotencyKey? |
string |
input.payload |
JsonValue |
input.timestamp? |
string |
Returns
Section titled “Returns”Promise<unknown>