commit 16d14cc2f21a6ec65bd9729fe275ea6629458e61 parent aacf7787143ecd72ed475f9608be81a9530ea9c4 Author: Florian Dold <dold@taler.net> Date: Mon, 17 Aug 2026 15:35:55 +0200 taler-util: allow indefinite token-family validity Diffstat:
| M | packages/taler-util/src/types-taler-merchant.ts | | | 8 | ++++++-- |
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/packages/taler-util/src/types-taler-merchant.ts b/packages/taler-util/src/types-taler-merchant.ts @@ -3846,7 +3846,9 @@ export interface TokenFamilyCreateRequest { valid_after?: Timestamp; // End time of the token family's validity period. - valid_before: Timestamp; + // If not specified, the token family is valid indefinitely. + // @since protocol **v36**. + valid_before?: Timestamp; // Validity duration of an issued token. duration: RelativeTime; @@ -3888,7 +3890,9 @@ export interface TokenFamilyUpdateRequest { valid_after: Timestamp; // End time of the token family's validity period. - valid_before: Timestamp; + // If not specified, the token family is valid indefinitely. + // @since protocol **v36**. + valid_before?: Timestamp; // Validity duration of an issued token. duration: RelativeTime;