Skip to content

Reservation

Defined in: src/schema.ts:250

A reservation from reserve (ADR 0005).

Property Type Description Defined in
amount number - src/schema.ts:254
createdAt string - src/schema.ts:260
customer string - src/schema.ts:252
expiresAt string - src/schema.ts:261
feature string - src/schema.ts:253
id string - src/schema.ts:251
metadata? JsonObject - src/schema.ts:259
rates Record<string, number> Units of each consumed feature per unit of feature (1 for itself; credit rates). src/schema.ts:258
takes object[] Counter takes, in order: counter key, amount (in that feature’s units) and feature. src/schema.ts:256