authhero 4.84.0 → 4.86.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -48750,8 +48750,10 @@ export interface OutboxEvent extends AuditEvent {
48750
48750
  error: string | null;
48751
48751
  }
48752
48752
  export interface OutboxAdapter {
48753
- /** Write an audit event to the outbox */
48754
- create(tenantId: string, event: AuditEventInsert): Promise<void>;
48753
+ /** Write an audit event to the outbox. Returns the event ID. */
48754
+ create(tenantId: string, event: AuditEventInsert): Promise<string>;
48755
+ /** Fetch events by their IDs */
48756
+ getByIds(ids: string[]): Promise<OutboxEvent[]>;
48755
48757
  /** Fetch unprocessed events ready for delivery */
48756
48758
  getUnprocessed(limit: number): Promise<OutboxEvent[]>;
48757
48759
  /** Atomically claim events for exclusive processing. Returns IDs that were successfully claimed. */
@@ -48881,6 +48883,7 @@ export type Variables = {
48881
48883
  auth0_client?: Auth0Client$1;
48882
48884
  useragent?: string;
48883
48885
  countryCode?: CountryCode;
48886
+ outboxEventIds?: string[];
48884
48887
  };
48885
48888
  /**
48886
48889
  * Interface for SAML signing implementations.