diff options
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index 5979f14b4..4297e838d 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -1708,6 +1708,13 @@ export interface DepositGroupFees { } export interface CreateDepositGroupRequest { + /** + * Pre-allocated transaction ID. + * Allows clients to easily handle notifications + * that occur while the operation has been created but + * before the creation request has returned. + */ + transactionId?: string; depositPaytoUri: string; amount: AmountString; } @@ -1733,6 +1740,7 @@ export const codecForCreateDepositGroupRequest = buildCodecForObject<CreateDepositGroupRequest>() .property("amount", codecForAmountString()) .property("depositPaytoUri", codecForString()) + .property("transactionId", codecOptional(codecForString())) .build("CreateDepositGroupRequest"); export interface CreateDepositGroupResponse { |