elioria-sst-x
    Preparing search index...

    Implements

    • EpiExchangeRpc
    Index
    supabase: PostgrestClient

    The supabase value.

    • Generated

      Executes exchangeEpi.

      Parameters

      • params: {
            p_condition: string;
            p_destination: string;
            p_exchange_date: string | null;
            p_new_epi_catalog_variant_id: string | null;
            p_notes: string | null;
            p_reason: string | null;
            p_sheet_id: string;
            p_tenant_id: string;
            p_user_id: string;
        }

        The params value.

      Returns Promise<ExchangeEpiRpcResult>

      The function result.

      Objective: In module packages/db/src/repositories/epi-exchange-rpc.ts, run exchangeEpi.

      Behavior: Async; accepts params; returns a value; invokes this.supabase.rpc; may throw.

      When the function cannot complete normally.