@pear-protocol/types 2.19.0 → 2.20.0
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.
|
@@ -355,15 +355,6 @@ export declare const ActivityItemResponse: z.ZodObject<{
|
|
|
355
355
|
}, z.core.$strip>;
|
|
356
356
|
}, z.core.$strip>;
|
|
357
357
|
export type ActivityItemResponse = z.output<typeof ActivityItemResponse>;
|
|
358
|
-
export declare const AgentBalancesResponse: z.ZodObject<{
|
|
359
|
-
agentAddress: z.ZodString;
|
|
360
|
-
spot: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
361
|
-
perp: z.ZodObject<{
|
|
362
|
-
accountValue: z.ZodString;
|
|
363
|
-
withdrawable: z.ZodString;
|
|
364
|
-
}, z.core.$strip>;
|
|
365
|
-
}, z.core.$strip>;
|
|
366
|
-
export type AgentBalancesResponse = z.infer<typeof AgentBalancesResponse>;
|
|
367
358
|
/** Bare agent-approve outcome: the service returns exactly this union. */
|
|
368
359
|
export declare const AgentApproveResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
369
360
|
success: z.ZodLiteral<true>;
|
package/dist/vaults/responses.js
CHANGED
|
@@ -159,14 +159,6 @@ const ActivityResponse = z.object({
|
|
|
159
159
|
const ActivityItemResponse = z.object({
|
|
160
160
|
activity: Activity
|
|
161
161
|
});
|
|
162
|
-
const AgentBalancesResponse = z.object({
|
|
163
|
-
agentAddress: z.string(),
|
|
164
|
-
spot: z.record(z.string(), z.string()),
|
|
165
|
-
perp: z.object({
|
|
166
|
-
accountValue: z.string(),
|
|
167
|
-
withdrawable: z.string()
|
|
168
|
-
})
|
|
169
|
-
});
|
|
170
162
|
const AgentApproveSent = z.object({
|
|
171
163
|
success: z.literal(true),
|
|
172
164
|
transactionHash: z.string(),
|
|
@@ -373,4 +365,4 @@ const VaultServiceError = z.discriminatedUnion("error", [
|
|
|
373
365
|
})
|
|
374
366
|
]);
|
|
375
367
|
|
|
376
|
-
export { ActivityItemResponse, ActivityResponse, AgentApproveResponse, AgentApproveResult,
|
|
368
|
+
export { ActivityItemResponse, ActivityResponse, AgentApproveResponse, AgentApproveResult, BulkSnapshotsResponse, CreatedVaultResponse, CreatedVaultResult, NavRangeResponse, NavSnapshotResponse, NavStatsResponse, SetTraderResponse, SetTraderResult, UnifiedAccountResponse, UpdateVaultMetadataResponse, UpdateVaultMetadataResult, VaultEventListResponse, VaultInvestmentsResponse, VaultListResponse, VaultOverviewResponse, VaultRequestIssue, VaultResponse, VaultServiceError, VaultStatsResponse, WithdrawToEvmResponse, WithdrawToEvmResult };
|