@dalmore/api-contracts 0.0.0-dev.169c1d3 → 0.0.0-dev.58a860b
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.
|
@@ -202,6 +202,13 @@ export const PatchSaLogSchema = z.object({
|
|
|
202
202
|
|
|
203
203
|
export type PatchSaLogSchema = z.infer<typeof PatchSaLogSchema>;
|
|
204
204
|
|
|
205
|
+
export const TradeBalanceResultZod = z.object({
|
|
206
|
+
tradeAdjustments: z.number().multipleOf(0.01),
|
|
207
|
+
chargedAmount: z.number().multipleOf(0.01),
|
|
208
|
+
balance: z.number().multipleOf(0.01),
|
|
209
|
+
});
|
|
210
|
+
export type TradeBalanceResultZod = z.infer<typeof TradeBalanceResultZod>;
|
|
211
|
+
|
|
205
212
|
export const TradeZod = IBaseEntity.extend({
|
|
206
213
|
investorAccountId: z.lazy(() => investorAccountIdSchema.nullable()),
|
|
207
214
|
accountId: accountIdSchema.nullable(),
|
package/package.json
CHANGED