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