Function refreshTranscriptionCredit

  • Replace a checked interval only for the active full record; never erase local liabilities. A finished local request that the evidence lists is reconciled once: its supplier cost counts through the reported total and its local gross leaves the unreported deduction.

    Parameters

    • t: CreditTransaction
    • input: {
          scopeId: string;
          recordVersion: string;
          evidence: DeepgramUsageEvidence;
          at: number;
      }
      • scopeId: string
      • recordVersion: string
      • evidence: DeepgramUsageEvidence
      • at: number

    Returns Promise<void>

    Throws

    For an inactive version, evidence of another project, contract or baseline, evidence from the future or older than the last check or failure, a total or interval that regressed, a duplicate request, or a reconciled request that is missing or changed.