aboutsummaryrefslogtreecommitdiff
path: root/src/webex/messages.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-01-19 01:27:27 +0100
committerFlorian Dold <florian.dold@gmail.com>2018-01-19 01:27:27 +0100
commit1671d9a508b803af31762bcd9508e70eb40e7b48 (patch)
tree24d79103d0661c9edafd1d6371692b726b2f0ef3 /src/webex/messages.ts
parent2f68e9e50e83c55ca46e9d4d72956d6525d0fa8c (diff)
downloadwallet-core-1671d9a508b803af31762bcd9508e70eb40e7b48.tar.xz
refactor tipping, adjust to new redirect-based API
Diffstat (limited to 'src/webex/messages.ts')
-rw-r--r--src/webex/messages.ts16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/webex/messages.ts b/src/webex/messages.ts
index 0fcd6047e..e1bd6f12c 100644
--- a/src/webex/messages.ts
+++ b/src/webex/messages.ts
@@ -171,20 +171,12 @@ export interface MessageMap {
request: { refundPermissions: talerTypes.RefundPermission[] };
response: void;
};
- "get-tip-planchets": {
- request: walletTypes.GetTipPlanchetsRequest;
- response: void;
- };
- "process-tip-response": {
- request: walletTypes.ProcessTipResponseRequest;
- response: void;
- };
"accept-tip": {
- request: walletTypes.AcceptTipRequest;
+ request: { tipToken: talerTypes.TipToken };
response: void;
};
"get-tip-status": {
- request: walletTypes.TipStatusRequest;
+ request: { tipToken: talerTypes.TipToken };
response: void;
};
"clear-notification": {
@@ -199,6 +191,10 @@ export interface MessageMap {
request: any;
response: void;
};
+ "submit-pay": {
+ request: { contractTermsHash: string, sessionId: string | undefined };
+ response: void;
+ };
}
/**