diff options
Diffstat (limited to 'packages/taler-util/src/http-client/types.ts')
-rw-r--r-- | packages/taler-util/src/http-client/types.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/taler-util/src/http-client/types.ts b/packages/taler-util/src/http-client/types.ts index 05fce4a49..3d8814998 100644 --- a/packages/taler-util/src/http-client/types.ts +++ b/packages/taler-util/src/http-client/types.ts @@ -344,6 +344,7 @@ const codecForPublicAccount = (): Codec<TalerCorebankApi.PublicAccount> => .property("balance", codecForBalance()) .property("payto_uri", codecForPaytoString()) .property("is_taler_exchange", codecForBoolean()) + .property("row_id", codecOptional(codecForNumber())) .build("TalerCorebankApi.PublicAccount"); export const codecForPublicAccountsResponse = @@ -362,6 +363,7 @@ export const codecForAccountMinimalData = .property("debit_threshold", codecForAmountString()) .property("is_public", codecForBoolean()) .property("is_taler_exchange", codecForBoolean()) + .property("row_id", codecOptional(codecForNumber())) .build("TalerCorebankApi.AccountMinimalData"); export const codecForListBankAccountsResponse = @@ -1549,6 +1551,10 @@ export namespace TalerCorebankApi { // Is this a taler exchange account? is_taler_exchange: boolean; + + // Opaque unique ID used for pagination. + // @since v4, will become mandatory in the future. + row_id?: Integer; } export interface ListBankAccountsResponse { @@ -1579,6 +1585,10 @@ export namespace TalerCorebankApi { // Is this a taler exchange account? is_taler_exchange: boolean; + + // Opaque unique ID used for pagination. + // @since v4, will become mandatory in the future. + row_id?: Integer; } export interface AccountData { |