@pfdev/api-types 3.0.10 → 3.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/v3.ts +13 -0
package/package.json
CHANGED
package/v3.ts
CHANGED
|
@@ -239,6 +239,19 @@ export const CardSalesResponseSchema = Type.Object(
|
|
|
239
239
|
|
|
240
240
|
export type CardSalesResponse = Static<typeof CardSalesResponseSchema>;
|
|
241
241
|
|
|
242
|
+
// ============= CURRENCY =============
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
export const CurrencyResponseSchema = Type.Object({
|
|
246
|
+
success: Type.Boolean(),
|
|
247
|
+
timestamp: Type.Number(),
|
|
248
|
+
date: Type.String(),
|
|
249
|
+
base: Type.String(),
|
|
250
|
+
rates: Type.Record(Type.String(), Type.Number())
|
|
251
|
+
});
|
|
252
|
+
|
|
253
|
+
export type CurrencyResponse = Static<typeof CurrencyResponseSchema>;
|
|
254
|
+
|
|
242
255
|
// ============= SEALED =============
|
|
243
256
|
|
|
244
257
|
|