diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-01-29 22:58:47 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-01-29 22:58:47 +0100 |
commit | 97f6e68ce3a515938228b9a4d3e41b5f4b25a015 (patch) | |
tree | 371331acc56b7c56abec502126c2a40cdb23a95f /src/walletTypes.ts | |
parent | 9fe6dc596573f38b13f0b15c946b8bc16013fdd9 (diff) | |
download | wallet-core-97f6e68ce3a515938228b9a4d3e41b5f4b25a015.tar.xz |
change protocol to string amount network format
Diffstat (limited to 'src/walletTypes.ts')
-rw-r--r-- | src/walletTypes.ts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/walletTypes.ts b/src/walletTypes.ts index aba7dbfba..edcf65830 100644 --- a/src/walletTypes.ts +++ b/src/walletTypes.ts @@ -53,13 +53,13 @@ export class CreateReserveResponse { * Exchange URL where the bank should create the reserve. * The URL is canonicalized in the response. */ - @Checkable.String + @Checkable.String() exchange: string; /** * Reserve public key of the newly created reserve. */ - @Checkable.String + @Checkable.String() reservePub: string; /** @@ -333,13 +333,13 @@ export class CreateReserveRequest { /** * Exchange URL where the bank should create the reserve. */ - @Checkable.String + @Checkable.String() exchange: string; /** * Wire details for the bank account that sent the funds to the exchange. */ - @Checkable.Optional(Checkable.Any) + @Checkable.Optional(Checkable.Any()) senderWire?: object; /** @@ -359,7 +359,7 @@ export class ConfirmReserveRequest { * Public key of then reserve that should be marked * as confirmed. */ - @Checkable.String + @Checkable.String() reservePub: string; /** @@ -384,14 +384,14 @@ export class ReturnCoinsRequest { /** * The exchange to take the coins from. */ - @Checkable.String + @Checkable.String() exchange: string; /** * Wire details for the bank account of the customer that will * receive the funds. */ - @Checkable.Any + @Checkable.Any() senderWire?: object; /** |