mark proposalid as depreacted

This commit is contained in:
Sebastian 2023-07-10 09:44:01 -03:00
parent bf3e99ea27
commit 2f072a4c12
No known key found for this signature in database
GPG Key ID: 173909D1A5F66069

View File

@ -776,7 +776,7 @@ export const codecForPreparePayResultAlreadyConfirmed =
.property("amountEffective", codecOptional(codecForAmountString()))
.property("amountRaw", codecForAmountString())
.property("paid", codecForBoolean())
.property("talerUri", codecOptional(codecForString()))
.property("talerUri", codecForString())
.property("contractTerms", codecForAny())
.property("contractTermsHash", codecForString())
.property("transactionId", codecForTransactionIdStr())
@ -828,6 +828,9 @@ export interface PreparePayResultPaymentPossible {
export interface PreparePayResultInsufficientBalance {
status: PreparePayResultType.InsufficientBalance;
transactionId: TransactionIdStr;
/**
* @deprecated use transactionId
*/
proposalId: string;
contractTerms: MerchantContractTerms;
amountRaw: string;
@ -843,8 +846,11 @@ export interface PreparePayResultAlreadyConfirmed {
amountRaw: string;
amountEffective: string | undefined;
contractTermsHash: string;
/**
* @deprecated use transactionId
*/
proposalId: string;
talerUri?: string;
talerUri: string;
}
export interface BankWithdrawDetails {