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

View File

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

View File

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