Skip to content

MemoryWebhookInboxRow — @gj-kit/toss-payments-postgresql

A public interface from @gj-kit/toss-payments-postgresql/testing. The signature below is taken directly from the 0.5.1 release declaration.

import { MemoryWebhookInboxRow } from '@gj-kit/toss-payments-postgresql/testing';
/** Redacted inbox row — the PostgreSQL table has no read API, so the fake exposes it here. */
interface MemoryWebhookInboxRow {
readonly dedupeKey: string;
readonly transmissionId: string;
readonly transmissionTime: string | null;
readonly retriedCount: number;
readonly trust: AcceptedWebhook['trust'];
readonly eventType: string;
/** Stored form: same redaction/sanitization as `webhook_inbox.event` (JSON round-tripped). */
readonly event: unknown;
readonly deliveries: number;
}

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/toss-payments-postgresql
  • Version: 0.5.1
  • Public entry: ./testing
  • Source: GitHub