Query functions for wallet pass schemas.
Summary
Functions
Hard-deletes the Apple and Google pass rows for serial_number.
Types
Functions
Hard-deletes the Apple and Google pass rows for serial_number.
Device registrations and Google callbacks cascade away via their
ON DELETE CASCADE foreign keys. Returns %{apple: count, google: count}
of rows deleted (0 when none existed).
@spec get_pass_status(String.t()) :: {:ok, lifecycle_status()} | {:diverged, %{apple: lifecycle_status() | nil, google: lifecycle_status() | nil}} | {:error, :not_found}
@spec set_pass_status(String.t(), lifecycle_status()) :: {:ok, platform_result()}