-minor rename

This commit is contained in:
Florian Dold 2023-06-20 19:43:39 +02:00
parent 98a351aa4c
commit 77849fdf5d
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
3 changed files with 7 additions and 7 deletions

View File

@ -2358,7 +2358,7 @@ export const codecForInitiatePeerPushDebitRequest =
.property("partialContractTerms", codecForPeerContractTerms()) .property("partialContractTerms", codecForPeerContractTerms())
.build("InitiatePeerPushDebitRequest"); .build("InitiatePeerPushDebitRequest");
export interface PreparePeerPushCredit { export interface PreparePeerPushCreditRequest {
talerUri: string; talerUri: string;
} }
@ -2395,8 +2395,8 @@ export interface PreparePeerPullDebitResponse {
} }
export const codecForPreparePeerPushCreditRequest = export const codecForPreparePeerPushCreditRequest =
(): Codec<PreparePeerPushCredit> => (): Codec<PreparePeerPushCreditRequest> =>
buildCodecForObject<PreparePeerPushCredit>() buildCodecForObject<PreparePeerPushCreditRequest>()
.property("talerUri", codecForString()) .property("talerUri", codecForString())
.build("CheckPeerPushPaymentRequest"); .build("CheckPeerPushPaymentRequest");

View File

@ -23,7 +23,7 @@ import {
HttpStatusCode, HttpStatusCode,
Logger, Logger,
PeerContractTerms, PeerContractTerms,
PreparePeerPushCredit, PreparePeerPushCreditRequest,
PreparePeerPushCreditResponse, PreparePeerPushCreditResponse,
TalerErrorCode, TalerErrorCode,
TalerPreciseTimestamp, TalerPreciseTimestamp,
@ -83,7 +83,7 @@ const logger = new Logger("pay-peer-push-credit.ts");
export async function preparePeerPushCredit( export async function preparePeerPushCredit(
ws: InternalWalletState, ws: InternalWalletState,
req: PreparePeerPushCredit, req: PreparePeerPushCreditRequest,
): Promise<PreparePeerPushCreditResponse> { ): Promise<PreparePeerPushCreditResponse> {
const uri = parsePayPushUri(req.talerUri); const uri = parsePayPushUri(req.talerUri);

View File

@ -82,7 +82,7 @@ import {
PreparePayTemplateRequest, PreparePayTemplateRequest,
PreparePeerPullDebitRequest, PreparePeerPullDebitRequest,
PreparePeerPullDebitResponse, PreparePeerPullDebitResponse,
PreparePeerPushCredit, PreparePeerPushCreditRequest,
PreparePeerPushCreditResponse, PreparePeerPushCreditResponse,
PrepareRefundRequest, PrepareRefundRequest,
PrepareTipRequest, PrepareTipRequest,
@ -729,7 +729,7 @@ export type InitiatePeerPushDebitOp = {
*/ */
export type PreparePeerPushCreditOp = { export type PreparePeerPushCreditOp = {
op: WalletApiOperation.PreparePeerPushCredit; op: WalletApiOperation.PreparePeerPushCredit;
request: PreparePeerPushCredit; request: PreparePeerPushCreditRequest;
response: PreparePeerPushCreditResponse; response: PreparePeerPushCreditResponse;
}; };