@loafmarkets/shared-types 1.0.181 → 1.0.183

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/dist/index.d.ts CHANGED
@@ -32,9 +32,9 @@ export declare const orderBodySchema: z.ZodObject<{
32
32
  timeInForce: z.ZodEnum<{
33
33
  GTC: "GTC";
34
34
  }>;
35
- deadline: z.ZodNumber;
35
+ deadline: z.ZodInt;
36
36
  nonce: z.ZodString;
37
- }, z.core.$strip>;
37
+ }, z.core.$strict>;
38
38
  export type OrderRequestBody = z.infer<typeof orderBodySchema>;
39
39
  export declare const mmOrderBodySchema: z.ZodObject<{
40
40
  tokenName: z.ZodString;
@@ -51,10 +51,10 @@ export declare const mmOrderBodySchema: z.ZodObject<{
51
51
  timeInForce: z.ZodEnum<{
52
52
  GTC: "GTC";
53
53
  }>;
54
- deadline: z.ZodNumber;
54
+ deadline: z.ZodInt;
55
55
  nonce: z.ZodString;
56
56
  signature: z.ZodString;
57
- }, z.core.$strip>;
57
+ }, z.core.$strict>;
58
58
  export type MmOrderRequestBody = z.infer<typeof mmOrderBodySchema>;
59
59
  export interface OrderApiResponse {
60
60
  success: boolean;
@@ -66,8 +66,8 @@ export interface OrderNonceResponse {
66
66
  deadline: UnixTimestamp;
67
67
  }
68
68
  export declare const cancelOrderBodySchema: z.ZodObject<{
69
- orderId: z.ZodNumber;
70
- }, z.core.$strip>;
69
+ orderId: z.ZodInt;
70
+ }, z.core.$strict>;
71
71
  export type CancelOrderRequestBody = z.infer<typeof cancelOrderBodySchema>;
72
72
  export interface CancelOrderResponse {
73
73
  success: boolean;
@@ -84,7 +84,7 @@ export interface CancelAllOrdersResponse {
84
84
  }
85
85
  export declare const approveTradingBodySchema: z.ZodObject<{
86
86
  tokenName: z.ZodString;
87
- }, z.core.$strip>;
87
+ }, z.core.$strict>;
88
88
  export type ApproveTradingRequestBody = z.infer<typeof approveTradingBodySchema>;
89
89
  export interface ApprovalSideResult {
90
90
  /** True if the wallet already held a sufficient allowance (no on-chain tx sent). */
@@ -182,17 +182,17 @@ export declare const authHandleQuerySchema: z.ZodObject<{
182
182
  export type AuthHandleQueryParams = z.infer<typeof authHandleQuerySchema>;
183
183
  export declare const authPrivyTokenBodySchema: z.ZodObject<{
184
184
  privyToken: z.ZodString;
185
- }, z.core.$strip>;
185
+ }, z.core.$strict>;
186
186
  export type AuthPrivyTokenRequestBody = z.infer<typeof authPrivyTokenBodySchema>;
187
187
  export declare const authSignupBodySchema: z.ZodObject<{
188
188
  privyToken: z.ZodString;
189
189
  handle: z.ZodOptional<z.ZodString>;
190
190
  referralCode: z.ZodOptional<z.ZodString>;
191
- }, z.core.$strip>;
191
+ }, z.core.$strict>;
192
192
  export type AuthSignupRequestBody = z.infer<typeof authSignupBodySchema>;
193
193
  export declare const submitReferralCodeSchema: z.ZodObject<{
194
194
  referralCode: z.ZodString;
195
- }, z.core.$strip>;
195
+ }, z.core.$strict>;
196
196
  export type SubmitReferralCodeRequestBody = z.infer<typeof submitReferralCodeSchema>;
197
197
  export declare const authReferralValidateQuerySchema: z.ZodObject<{
198
198
  code: z.ZodString;
@@ -203,28 +203,28 @@ export interface ReferralValidateResponse {
203
203
  readonly refereeBoostPlaces: number;
204
204
  }
205
205
  export declare const adminCreateReferralCodeSchema: z.ZodObject<{
206
- ownerUserId: z.ZodOptional<z.ZodNumber>;
207
- maxUses: z.ZodNumber;
206
+ ownerUserId: z.ZodOptional<z.ZodInt>;
207
+ maxUses: z.ZodInt;
208
208
  code: z.ZodOptional<z.ZodString>;
209
- }, z.core.$strip>;
209
+ }, z.core.$strict>;
210
210
  export type AdminCreateReferralCodeRequestBody = z.infer<typeof adminCreateReferralCodeSchema>;
211
211
  export declare const adminSetRefereeBoostSchema: z.ZodObject<{
212
212
  code: z.ZodString;
213
- refereeBoostPlaces: z.ZodNumber;
214
- }, z.core.$strip>;
213
+ refereeBoostPlaces: z.ZodInt;
214
+ }, z.core.$strict>;
215
215
  export type AdminSetRefereeBoostRequestBody = z.infer<typeof adminSetRefereeBoostSchema>;
216
216
  export declare const authCheckAccountBodySchema: z.ZodObject<{
217
217
  email: z.ZodOptional<z.ZodEmail>;
218
218
  walletAddress: z.ZodOptional<z.ZodString>;
219
- }, z.core.$strip>;
219
+ }, z.core.$strict>;
220
220
  export type AuthCheckAccountRequestBody = z.infer<typeof authCheckAccountBodySchema>;
221
221
  export declare const authUpdateHandleBodySchema: z.ZodObject<{
222
222
  handle: z.ZodString;
223
- }, z.core.$strip>;
223
+ }, z.core.$strict>;
224
224
  export type AuthUpdateHandleRequestBody = z.infer<typeof authUpdateHandleBodySchema>;
225
225
  export declare const authLoginBodySchema: z.ZodObject<{
226
226
  privyToken: z.ZodString;
227
- }, z.core.$strip>;
227
+ }, z.core.$strict>;
228
228
  export type AuthLoginRequestBody = AuthPrivyTokenRequestBody;
229
229
  export interface KycTokenResponse {
230
230
  readonly token: string;
@@ -234,6 +234,7 @@ export interface WholesaleUploadUrlResponse {
234
234
  readonly uploadUrl: string;
235
235
  readonly documentKey: string;
236
236
  }
237
+ export declare const WHOLESALE_DOC_MAX_BYTES: number;
237
238
  export declare const wholesaleSubmitSchema: z.ZodObject<{
238
239
  criteriaType: z.ZodEnum<{
239
240
  NET_ASSETS: "NET_ASSETS";
@@ -243,7 +244,7 @@ export declare const wholesaleSubmitSchema: z.ZodObject<{
243
244
  S761GA_EXPERIENCED: "S761GA_EXPERIENCED";
244
245
  }>;
245
246
  documentKey: z.ZodString;
246
- }, z.core.$strip>;
247
+ }, z.core.$strict>;
247
248
  export type WholesaleSubmitBody = z.infer<typeof wholesaleSubmitSchema>;
248
249
  export interface WholesaleApplicationResponse {
249
250
  readonly applicationId: number;
@@ -285,13 +286,13 @@ export interface AdminWholesaleApplicationItem {
285
286
  readonly adminNotes: string | null;
286
287
  }
287
288
  export declare const adminReviewWholesaleSchema: z.ZodObject<{
288
- applicationId: z.ZodNumber;
289
+ applicationId: z.ZodInt;
289
290
  decision: z.ZodEnum<{
290
291
  REJECTED: "REJECTED";
291
292
  VERIFIED: "VERIFIED";
292
293
  }>;
293
294
  adminNotes: z.ZodOptional<z.ZodString>;
294
- }, z.core.$strip>;
295
+ }, z.core.$strict>;
295
296
  export type AdminReviewWholesaleBody = z.infer<typeof adminReviewWholesaleSchema>;
296
297
  export interface RampResponse {
297
298
  readonly widgetUrl: string;
@@ -300,16 +301,16 @@ export declare const transferBaseBodySchema: z.ZodObject<{
300
301
  toAddress: z.ZodString;
301
302
  cryptoAmount: z.ZodNumber;
302
303
  nonce: z.ZodString;
303
- deadline: z.ZodNumber;
304
- }, z.core.$strip>;
304
+ deadline: z.ZodInt;
305
+ }, z.core.$strict>;
305
306
  export type TransferRequestBody = z.infer<typeof transferBaseBodySchema>;
306
307
  export declare const transferTransakBodySchema: z.ZodObject<{
307
308
  toAddress: z.ZodString;
308
309
  cryptoAmount: z.ZodNumber;
309
310
  nonce: z.ZodString;
310
- deadline: z.ZodNumber;
311
+ deadline: z.ZodInt;
311
312
  transakOrderId: z.ZodString;
312
- }, z.core.$strip>;
313
+ }, z.core.$strict>;
313
314
  export type TransakTransferRequestBody = z.infer<typeof transferTransakBodySchema>;
314
315
  export interface TransferResponse {
315
316
  readonly txHash: string;
@@ -580,12 +581,12 @@ export interface IpoPageResponse {
580
581
  readonly recentOrders: readonly IpoRecentOrder[];
581
582
  }
582
583
  export declare const ipoSubscribeSchema: z.ZodObject<{
583
- ipoId: z.ZodNumber;
584
- quantity: z.ZodNumber;
585
- deadline: z.ZodNumber;
584
+ ipoId: z.ZodInt;
585
+ quantity: z.ZodInt;
586
+ deadline: z.ZodInt;
586
587
  nonce: z.ZodString;
587
588
  allowPartial: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
588
- }, z.core.$strip>;
589
+ }, z.core.$strict>;
589
590
  export type IpoSubscribeRequestBody = z.infer<typeof ipoSubscribeSchema>;
590
591
  export interface IpoSubscribeResponse {
591
592
  readonly success: boolean;
@@ -594,8 +595,8 @@ export interface IpoSubscribeResponse {
594
595
  readonly errorMessage?: string;
595
596
  }
596
597
  export declare const approveIpoBodySchema: z.ZodObject<{
597
- ipoId: z.ZodNumber;
598
- }, z.core.$strip>;
598
+ ipoId: z.ZodInt;
599
+ }, z.core.$strict>;
599
600
  export type ApproveIpoRequestBody = z.infer<typeof approveIpoBodySchema>;
600
601
  export interface ApproveIpoResponse {
601
602
  readonly approved: true;
@@ -705,8 +706,8 @@ export declare const valuationSummaryQuerySchema: z.ZodObject<{
705
706
  }>>;
706
707
  }, z.core.$strip>;
707
708
  export declare const valuationHistoryQuerySchema: z.ZodObject<{
708
- startDate: z.ZodOptional<z.ZodString>;
709
- endDate: z.ZodOptional<z.ZodString>;
709
+ startDate: z.ZodOptional<z.ZodISODate>;
710
+ endDate: z.ZodOptional<z.ZodISODate>;
710
711
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
711
712
  order: z.ZodOptional<z.ZodEnum<{
712
713
  asc: "asc";
@@ -848,15 +849,15 @@ export declare const adminCreatePropertyBodySchema: z.ZodObject<{
848
849
  tokenName: z.ZodString;
849
850
  ticker: z.ZodString;
850
851
  assetName: z.ZodString;
851
- totalTokens: z.ZodNumber;
852
- tokensIssued: z.ZodNumber;
853
- tradingStartsAt: z.ZodNumber;
852
+ totalTokens: z.ZodInt;
853
+ tokensIssued: z.ZodInt;
854
+ tradingStartsAt: z.ZodInt;
854
855
  rentalYieldPercentage: z.ZodNumber;
855
856
  growth5Yr: z.ZodNumber;
856
857
  isCompetition: z.ZodOptional<z.ZodBoolean>;
857
858
  description: z.ZodString;
858
859
  weeklyRent: z.ZodNumber;
859
- headerImageUrl: z.ZodString;
860
+ headerImageUrl: z.ZodURL;
860
861
  ownership: z.ZodEnum<{
861
862
  FREEHOLD: "FREEHOLD";
862
863
  LEASEHOLD: "LEASEHOLD";
@@ -865,27 +866,27 @@ export declare const adminCreatePropertyBodySchema: z.ZodObject<{
865
866
  garden: z.ZodBoolean;
866
867
  gym: z.ZodBoolean;
867
868
  zoning: z.ZodString;
868
- levels: z.ZodNumber;
869
+ levels: z.ZodInt;
869
870
  daStatus: z.ZodString;
870
871
  heritageStatus: z.ZodString;
871
872
  developmentOptionality: z.ZodString;
872
- suburbMedian: z.ZodNumber;
873
+ suburbMedian: z.ZodInt;
873
874
  propertyHistory: z.ZodArray<z.ZodObject<{
874
- year: z.ZodNumber;
875
+ year: z.ZodInt;
875
876
  event: z.ZodString;
876
877
  amount: z.ZodNullable<z.ZodNumber>;
877
- }, z.core.$strip>>;
878
+ }, z.core.$strict>>;
878
879
  documents: z.ZodArray<z.ZodObject<{
879
880
  title: z.ZodString;
880
- documentUrl: z.ZodString;
881
- }, z.core.$strip>>;
881
+ documentUrl: z.ZodURL;
882
+ }, z.core.$strict>>;
882
883
  images: z.ZodArray<z.ZodObject<{
883
- imageUrl: z.ZodString;
884
+ imageUrl: z.ZodURL;
884
885
  title: z.ZodString;
885
886
  subtitle: z.ZodString;
886
- }, z.core.$strip>>;
887
- advisorImages: z.ZodArray<z.ZodString>;
888
- videoUrl: z.ZodString;
887
+ }, z.core.$strict>>;
888
+ advisorImages: z.ZodArray<z.ZodURL>;
889
+ videoUrl: z.ZodURL;
889
890
  streetAddress: z.ZodString;
890
891
  suburb: z.ZodString;
891
892
  state: z.ZodString;
@@ -894,40 +895,40 @@ export declare const adminCreatePropertyBodySchema: z.ZodObject<{
894
895
  latitude: z.ZodNumber;
895
896
  longitude: z.ZodNumber;
896
897
  propertyType: z.ZodString;
897
- bedrooms: z.ZodNumber;
898
- bathrooms: z.ZodNumber;
899
- carSpaces: z.ZodNumber;
900
- garageSpaces: z.ZodNumber;
898
+ bedrooms: z.ZodInt;
899
+ bathrooms: z.ZodInt;
900
+ carSpaces: z.ZodInt;
901
+ garageSpaces: z.ZodInt;
901
902
  landSizeSqm: z.ZodNumber;
902
903
  buildingSizeSqm: z.ZodNumber;
903
- yearBuilt: z.ZodNumber;
904
+ yearBuilt: z.ZodInt;
904
905
  swimmingPool: z.ZodBoolean;
905
906
  tennisCourt: z.ZodBoolean;
906
- }, z.core.$strip>;
907
+ }, z.core.$strict>;
907
908
  export type AdminCreatePropertyRequestBody = z.infer<typeof adminCreatePropertyBodySchema>;
908
909
  export interface AdminCreatePropertyResponse {
909
910
  readonly propertyId: number;
910
911
  }
911
912
  export declare const adminCreateIpoBodySchema: z.ZodObject<{
912
- propertyId: z.ZodNumber;
913
+ propertyId: z.ZodInt;
913
914
  tokenPriceUsdl: z.ZodNumber;
914
915
  supplyToSell: z.ZodNumber;
915
916
  offeringValuation: z.ZodNumber;
916
- feeBps: z.ZodNumber;
917
- contractStartTime: z.ZodNumber;
918
- publicStartTime: z.ZodNumber;
919
- endTime: z.ZodNumber;
920
- }, z.core.$strip>;
917
+ feeBps: z.ZodInt;
918
+ contractStartTime: z.ZodInt;
919
+ publicStartTime: z.ZodInt;
920
+ endTime: z.ZodInt;
921
+ }, z.core.$strict>;
921
922
  export type AdminCreateIpoRequestBody = z.infer<typeof adminCreateIpoBodySchema>;
922
923
  export interface AdminCreateIpoResponse {
923
924
  readonly ipoId: number;
924
925
  readonly propertyId: number;
925
926
  }
926
927
  export declare const adminDeployPropertyTokenBodySchema: z.ZodObject<{
927
- propertyId: z.ZodNumber;
928
+ propertyId: z.ZodInt;
928
929
  transferTo: z.ZodOptional<z.ZodString>;
929
930
  transferAmount: z.ZodDefault<z.ZodNumber>;
930
- }, z.core.$strip>;
931
+ }, z.core.$strict>;
931
932
  export type AdminDeployPropertyTokenRequestBody = z.infer<typeof adminDeployPropertyTokenBodySchema>;
932
933
  export interface AdminDeployPropertyTokenResponse {
933
934
  readonly tokenAddress: string;
@@ -936,11 +937,11 @@ export interface AdminDeployPropertyTokenResponse {
936
937
  readonly propertyId: number;
937
938
  }
938
939
  export declare const adminMintPropertyTokenBodySchema: z.ZodObject<{
939
- propertyId: z.ZodNumber;
940
+ propertyId: z.ZodInt;
940
941
  walletAddress: z.ZodString;
941
942
  amount: z.ZodNumber;
942
943
  entryPriceUsdl: z.ZodNumber;
943
- }, z.core.$strip>;
944
+ }, z.core.$strict>;
944
945
  export type AdminMintPropertyTokenRequestBody = z.infer<typeof adminMintPropertyTokenBodySchema>;
945
946
  export interface AdminMintPropertyTokenResponse {
946
947
  readonly tokenAddress: string;
@@ -955,7 +956,7 @@ export interface AdminMintPropertyTokenResponse {
955
956
  export declare const adminMintPaymentTokenBodySchema: z.ZodObject<{
956
957
  walletAddress: z.ZodString;
957
958
  amount: z.ZodNumber;
958
- }, z.core.$strip>;
959
+ }, z.core.$strict>;
959
960
  export type AdminMintPaymentTokenRequestBody = z.infer<typeof adminMintPaymentTokenBodySchema>;
960
961
  export interface AdminMintPaymentTokenResponse {
961
962
  readonly tokenAddress: string;
@@ -965,10 +966,10 @@ export interface AdminMintPaymentTokenResponse {
965
966
  readonly txHash: string;
966
967
  }
967
968
  export declare const adminDeploySaleBodySchema: z.ZodObject<{
968
- ipoId: z.ZodNumber;
969
+ ipoId: z.ZodInt;
969
970
  maxPerWallet: z.ZodNumber;
970
971
  fundsRecipient: z.ZodString;
971
- }, z.core.$strip>;
972
+ }, z.core.$strict>;
972
973
  export type AdminDeploySaleRequestBody = z.infer<typeof adminDeploySaleBodySchema>;
973
974
  export interface AdminDeploySaleResponse {
974
975
  readonly saleId: string;
@@ -978,9 +979,9 @@ export interface AdminDeploySaleResponse {
978
979
  readonly propertyId: number;
979
980
  }
980
981
  export declare const adminSetSaleStatusBodySchema: z.ZodObject<{
981
- ipoId: z.ZodNumber;
982
- newStatus: z.ZodNumber;
983
- }, z.core.$strip>;
982
+ ipoId: z.ZodInt;
983
+ newStatus: z.ZodInt;
984
+ }, z.core.$strict>;
984
985
  export type AdminSetSaleStatusRequestBody = z.infer<typeof adminSetSaleStatusBodySchema>;
985
986
  export interface AdminSetSaleStatusResponse {
986
987
  readonly transactionHash: string;
@@ -999,7 +1000,7 @@ export declare const adminUpdateIpoBodySchema: z.ZodObject<{
999
1000
  LIVE: "LIVE";
1000
1001
  CLOSED: "CLOSED";
1001
1002
  }>>;
1002
- }, z.core.$strip>;
1003
+ }, z.core.$strict>;
1003
1004
  export type AdminUpdateIpoRequestBody = z.infer<typeof adminUpdateIpoBodySchema>;
1004
1005
  export interface AdminUpdateIpoResponse {
1005
1006
  readonly ipoId: number;
@@ -1007,10 +1008,10 @@ export interface AdminUpdateIpoResponse {
1007
1008
  readonly status: IpoStatus;
1008
1009
  }
1009
1010
  export declare const adminGraduateSaleBodySchema: z.ZodObject<{
1010
- ipoId: z.ZodNumber;
1011
+ ipoId: z.ZodInt;
1011
1012
  useBatchMigration: z.ZodDefault<z.ZodBoolean>;
1012
- batchSize: z.ZodDefault<z.ZodNumber>;
1013
- }, z.core.$strip>;
1013
+ batchSize: z.ZodDefault<z.ZodInt>;
1014
+ }, z.core.$strict>;
1014
1015
  export type AdminGraduateSaleRequestBody = z.infer<typeof adminGraduateSaleBodySchema>;
1015
1016
  export interface AdminGraduateSaleResponse {
1016
1017
  readonly migrationComplete: boolean;
@@ -1018,13 +1019,13 @@ export interface AdminGraduateSaleResponse {
1018
1019
  readonly propertyId: number;
1019
1020
  }
1020
1021
  export declare const adminSetPropertyStatusBodySchema: z.ZodObject<{
1021
- propertyId: z.ZodNumber;
1022
+ propertyId: z.ZodInt;
1022
1023
  newStatus: z.ZodEnum<{
1023
1024
  PENDING: "PENDING";
1024
1025
  LIVE: "LIVE";
1025
1026
  DELISTED: "DELISTED";
1026
1027
  }>;
1027
- }, z.core.$strip>;
1028
+ }, z.core.$strict>;
1028
1029
  export type AdminSetPropertyStatusRequestBody = z.infer<typeof adminSetPropertyStatusBodySchema>;
1029
1030
  export interface AdminSetPropertyStatusResponse {
1030
1031
  readonly propertyId: number;
@@ -1032,12 +1033,12 @@ export interface AdminSetPropertyStatusResponse {
1032
1033
  readonly newStatus: PropertyStatus;
1033
1034
  }
1034
1035
  export declare const adminSetPropertyHaltBodySchema: z.ZodObject<{
1035
- propertyId: z.ZodNumber;
1036
+ propertyId: z.ZodInt;
1036
1037
  status: z.ZodEnum<{
1037
1038
  HALTED: "HALTED";
1038
1039
  ACTIVE: "ACTIVE";
1039
1040
  }>;
1040
- }, z.core.$strip>;
1041
+ }, z.core.$strict>;
1041
1042
  export type AdminSetPropertyHaltRequestBody = z.infer<typeof adminSetPropertyHaltBodySchema>;
1042
1043
  export interface AdminSetPropertyHaltResponse {
1043
1044
  readonly propertyId: number;
@@ -1046,7 +1047,7 @@ export interface AdminSetPropertyHaltResponse {
1046
1047
  }
1047
1048
  export declare const adminRetryDepositConversionBodySchema: z.ZodObject<{
1048
1049
  walletAddress: z.ZodString;
1049
- }, z.core.$strip>;
1050
+ }, z.core.$strict>;
1050
1051
  export type AdminRetryDepositConversionRequestBody = z.infer<typeof adminRetryDepositConversionBodySchema>;
1051
1052
  export interface AdminRetryDepositConversionItem {
1052
1053
  readonly depositId: number;
@@ -1067,10 +1068,10 @@ export declare const adminReconcileWalletBodySchema: z.ZodObject<{
1067
1068
  USDL: "USDL";
1068
1069
  PROPERTY: "PROPERTY";
1069
1070
  }>>>;
1070
- maxAbsCorrectionUsdl: z.ZodOptional<z.ZodNumber>;
1071
- maxAbsCorrectionPropertyTokens: z.ZodOptional<z.ZodNumber>;
1071
+ maxAbsCorrectionUsdl: z.ZodOptional<z.ZodInt>;
1072
+ maxAbsCorrectionPropertyTokens: z.ZodOptional<z.ZodInt>;
1072
1073
  walletAddress: z.ZodString;
1073
- }, z.core.$strip>;
1074
+ }, z.core.$strict>;
1074
1075
  export type AdminReconcileWalletRequestBody = z.infer<typeof adminReconcileWalletBodySchema>;
1075
1076
  export declare const adminReconcileSweepBodySchema: z.ZodObject<{
1076
1077
  dryRun: z.ZodOptional<z.ZodBoolean>;
@@ -1078,17 +1079,17 @@ export declare const adminReconcileSweepBodySchema: z.ZodObject<{
1078
1079
  USDL: "USDL";
1079
1080
  PROPERTY: "PROPERTY";
1080
1081
  }>>>;
1081
- maxAbsCorrectionUsdl: z.ZodOptional<z.ZodNumber>;
1082
- maxAbsCorrectionPropertyTokens: z.ZodOptional<z.ZodNumber>;
1083
- }, z.core.$strip>;
1082
+ maxAbsCorrectionUsdl: z.ZodOptional<z.ZodInt>;
1083
+ maxAbsCorrectionPropertyTokens: z.ZodOptional<z.ZodInt>;
1084
+ }, z.core.$strict>;
1084
1085
  export type AdminReconcileSweepRequestBody = z.infer<typeof adminReconcileSweepBodySchema>;
1085
1086
  export declare const adminUpdateFeeTiersBodySchema: z.ZodObject<{
1086
1087
  tiers: z.ZodArray<z.ZodObject<{
1087
- minVolume14d: z.ZodNumber;
1088
- spotTakerFeeBps: z.ZodNumber;
1089
- spotMakerFeeBps: z.ZodNumber;
1090
- }, z.core.$strip>>;
1091
- }, z.core.$strip>;
1088
+ minVolume14d: z.ZodInt;
1089
+ spotTakerFeeBps: z.ZodInt;
1090
+ spotMakerFeeBps: z.ZodInt;
1091
+ }, z.core.$strict>>;
1092
+ }, z.core.$strict>;
1092
1093
  export type AdminUpdateFeeTiersRequestBody = z.infer<typeof adminUpdateFeeTiersBodySchema>;
1093
1094
  export interface FeeVolumeTier {
1094
1095
  readonly minVolume14d: number;
@@ -1114,12 +1115,12 @@ export interface RuntimeSettings {
1114
1115
  export type RuntimeSettingsOverrides = Partial<RuntimeSettings>;
1115
1116
  export declare const runtimeSettingsOverridesSchema: z.ZodObject<{
1116
1117
  priceBandEnabled: z.ZodOptional<z.ZodBoolean>;
1117
- priceBandDefaultBps: z.ZodOptional<z.ZodNumber>;
1118
+ priceBandDefaultBps: z.ZodOptional<z.ZodInt>;
1118
1119
  enableTradingFees: z.ZodOptional<z.ZodBoolean>;
1119
1120
  enableLimitPriceDeviationCheck: z.ZodOptional<z.ZodBoolean>;
1120
- maxLimitPriceDeviationBps: z.ZodOptional<z.ZodNumber>;
1121
- maxSlippageBps: z.ZodOptional<z.ZodNumber>;
1122
- rateLimitMaxRequests: z.ZodOptional<z.ZodNumber>;
1121
+ maxLimitPriceDeviationBps: z.ZodOptional<z.ZodInt>;
1122
+ maxSlippageBps: z.ZodOptional<z.ZodInt>;
1123
+ rateLimitMaxRequests: z.ZodOptional<z.ZodInt>;
1123
1124
  tradingClosedStart: z.ZodOptional<z.ZodString>;
1124
1125
  tradingClosedEnd: z.ZodOptional<z.ZodString>;
1125
1126
  tradingClosedDays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
@@ -1135,12 +1136,12 @@ export declare const runtimeSettingsOverridesSchema: z.ZodObject<{
1135
1136
  }, z.core.$strip>;
1136
1137
  export declare const adminUpdateRuntimeSettingsBodySchema: z.ZodObject<{
1137
1138
  priceBandEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1138
- priceBandDefaultBps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1139
+ priceBandDefaultBps: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1139
1140
  enableTradingFees: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1140
1141
  enableLimitPriceDeviationCheck: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1141
- maxLimitPriceDeviationBps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1142
- maxSlippageBps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1143
- rateLimitMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1142
+ maxLimitPriceDeviationBps: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1143
+ maxSlippageBps: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1144
+ rateLimitMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1144
1145
  tradingClosedStart: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1145
1146
  tradingClosedEnd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1146
1147
  tradingClosedDays: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
@@ -1153,7 +1154,7 @@ export declare const adminUpdateRuntimeSettingsBodySchema: z.ZodObject<{
1153
1154
  Sunday: "Sunday";
1154
1155
  }>>>>;
1155
1156
  tradingHalted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1156
- }, z.core.$strip>;
1157
+ }, z.core.$strict>;
1157
1158
  export type AdminUpdateRuntimeSettingsRequestBody = z.infer<typeof adminUpdateRuntimeSettingsBodySchema>;
1158
1159
  export interface AdminRuntimeSettingsResponse {
1159
1160
  readonly effective: RuntimeSettings;
@@ -1162,16 +1163,25 @@ export interface AdminRuntimeSettingsResponse {
1162
1163
  }
1163
1164
  export declare const adminSetTradingHaltBodySchema: z.ZodObject<{
1164
1165
  halted: z.ZodBoolean;
1165
- }, z.core.$strip>;
1166
+ }, z.core.$strict>;
1166
1167
  export type AdminSetTradingHaltRequestBody = z.infer<typeof adminSetTradingHaltBodySchema>;
1167
1168
  export interface AdminTradingHaltResponse {
1168
1169
  readonly halted: boolean;
1169
1170
  readonly overridden: boolean;
1170
1171
  }
1172
+ export declare const adminUpdatePrivateClientBodySchema: z.ZodObject<{
1173
+ walletAddress: z.ZodString;
1174
+ isPrivateClient: z.ZodBoolean;
1175
+ }, z.core.$strict>;
1176
+ export type AdminUpdatePrivateClientRequestBody = z.infer<typeof adminUpdatePrivateClientBodySchema>;
1177
+ export declare const adminSyncIpoAllocationBodySchema: z.ZodObject<{
1178
+ ipoId: z.ZodInt;
1179
+ }, z.core.$strict>;
1180
+ export type AdminSyncIpoAllocationRequestBody = z.infer<typeof adminSyncIpoAllocationBodySchema>;
1171
1181
  export declare const createApiKeyBodySchema: z.ZodObject<{
1172
1182
  description: z.ZodOptional<z.ZodString>;
1173
- expiresInDays: z.ZodDefault<z.ZodNumber>;
1174
- }, z.core.$strip>;
1183
+ expiresInDays: z.ZodDefault<z.ZodInt>;
1184
+ }, z.core.$strict>;
1175
1185
  export type CreateApiKeyRequestBody = z.infer<typeof createApiKeyBodySchema>;
1176
1186
  export declare const revokeApiKeyParamsSchema: z.ZodObject<{
1177
1187
  id: z.ZodCoercedNumber<unknown>;
@@ -1198,11 +1208,11 @@ export interface RevokeApiKeyResponse {
1198
1208
  readonly success: true;
1199
1209
  }
1200
1210
  export declare const adminPreviewDistributionBodySchema: z.ZodObject<{
1201
- propertyId: z.ZodNumber;
1202
- periodStart: z.ZodString;
1203
- periodEnd: z.ZodString;
1211
+ propertyId: z.ZodInt;
1212
+ periodStart: z.ZodISODate;
1213
+ periodEnd: z.ZodISODate;
1204
1214
  totalAmount: z.ZodNumber;
1205
- }, z.core.$strip>;
1215
+ }, z.core.$strict>;
1206
1216
  export type AdminPreviewDistributionRequestBody = z.infer<typeof adminPreviewDistributionBodySchema>;
1207
1217
  export interface AdminPreviewDistributionHolder {
1208
1218
  readonly walletAddress: string;
@@ -1217,11 +1227,11 @@ export interface AdminPreviewDistributionResponse {
1217
1227
  readonly holders: readonly AdminPreviewDistributionHolder[];
1218
1228
  }
1219
1229
  export declare const adminExecuteDistributionBodySchema: z.ZodObject<{
1220
- propertyId: z.ZodNumber;
1221
- periodStart: z.ZodString;
1222
- periodEnd: z.ZodString;
1230
+ propertyId: z.ZodInt;
1231
+ periodStart: z.ZodISODate;
1232
+ periodEnd: z.ZodISODate;
1223
1233
  totalAmount: z.ZodNumber;
1224
- }, z.core.$strip>;
1234
+ }, z.core.$strict>;
1225
1235
  export type AdminExecuteDistributionRequestBody = z.infer<typeof adminExecuteDistributionBodySchema>;
1226
1236
  export interface AdminExecuteDistributionResponse {
1227
1237
  readonly rentalDistributionId: number;
@@ -1253,9 +1263,9 @@ export interface AdminGetDistributionResponse {
1253
1263
  readonly amountUnclaimed: number;
1254
1264
  }
1255
1265
  export declare const adminReclaimDistributionBodySchema: z.ZodObject<{
1256
- rentalDistributionId: z.ZodNumber;
1266
+ rentalDistributionId: z.ZodInt;
1257
1267
  amount: z.ZodNumber;
1258
- }, z.core.$strip>;
1268
+ }, z.core.$strict>;
1259
1269
  export type AdminReclaimDistributionRequestBody = z.infer<typeof adminReclaimDistributionBodySchema>;
1260
1270
  export interface AdminReclaimDistributionResponse {
1261
1271
  readonly txHash: string;
@@ -1284,12 +1294,12 @@ export interface ClaimYieldResponse {
1284
1294
  export declare const volumeMultiplierTierSchema: z.ZodObject<{
1285
1295
  minVolume: z.ZodNumber;
1286
1296
  multiplier: z.ZodNumber;
1287
- }, z.core.$strip>;
1297
+ }, z.core.$strict>;
1288
1298
  export type VolumeMultiplierTier = z.infer<typeof volumeMultiplierTierSchema>;
1289
1299
  export declare const volumeMultiplierTiersSchema: z.ZodArray<z.ZodObject<{
1290
1300
  minVolume: z.ZodNumber;
1291
1301
  multiplier: z.ZodNumber;
1292
- }, z.core.$strip>>;
1302
+ }, z.core.$strict>>;
1293
1303
  export type CompetitionRoundStatus = 'DRAFT' | 'PENDING' | 'PREPARED' | 'ACTIVE' | 'ENDING' | 'ENDED';
1294
1304
  /**
1295
1305
  * One prize-pool entry: how much the participant finishing at `place` receives
@@ -1297,40 +1307,40 @@ export type CompetitionRoundStatus = 'DRAFT' | 'PENDING' | 'PREPARED' | 'ACTIVE'
1297
1307
  * display — the backend stores it verbatim and does NOT distribute prizes.
1298
1308
  */
1299
1309
  export declare const prizePoolEntrySchema: z.ZodObject<{
1300
- place: z.ZodNumber;
1310
+ place: z.ZodInt;
1301
1311
  amount: z.ZodNumber;
1302
- }, z.core.$strip>;
1312
+ }, z.core.$strict>;
1303
1313
  export type PrizePoolEntry = z.infer<typeof prizePoolEntrySchema>;
1304
1314
  export declare const prizePoolSchema: z.ZodArray<z.ZodObject<{
1305
- place: z.ZodNumber;
1315
+ place: z.ZodInt;
1306
1316
  amount: z.ZodNumber;
1307
- }, z.core.$strip>>;
1317
+ }, z.core.$strict>>;
1308
1318
  /**
1309
1319
  * Body for CREATING a competition round. The round is persisted in DRAFT
1310
1320
  */
1311
1321
  export declare const adminCreateCompetitionRoundBodySchema: z.ZodObject<{
1312
1322
  roundName: z.ZodString;
1313
1323
  roundRules: z.ZodOptional<z.ZodString>;
1314
- startsAt: z.ZodOptional<z.ZodNumber>;
1315
- endsAt: z.ZodOptional<z.ZodNumber>;
1316
- startingBalanceUsdl: z.ZodNumber;
1317
- participantBatchSize: z.ZodNumber;
1318
- priorityBoostPlaces: z.ZodNumber;
1319
- maxBoostsPerUser: z.ZodNumber;
1320
- maxRewardedReferrals: z.ZodNumber;
1321
- perReferralUsdlReward: z.ZodNumber;
1324
+ startsAt: z.ZodOptional<z.ZodInt>;
1325
+ endsAt: z.ZodOptional<z.ZodInt>;
1326
+ startingBalanceUsdl: z.ZodInt;
1327
+ participantBatchSize: z.ZodInt;
1328
+ priorityBoostPlaces: z.ZodInt;
1329
+ maxBoostsPerUser: z.ZodInt;
1330
+ maxRewardedReferrals: z.ZodInt;
1331
+ perReferralUsdlReward: z.ZodInt;
1322
1332
  volumeMultiplierTiers: z.ZodArray<z.ZodObject<{
1323
1333
  minVolume: z.ZodNumber;
1324
1334
  multiplier: z.ZodNumber;
1325
- }, z.core.$strip>>;
1335
+ }, z.core.$strict>>;
1326
1336
  pnlMultiplier: z.ZodNumber;
1327
- bottomCullPercent: z.ZodOptional<z.ZodNumber>;
1337
+ bottomCullPercent: z.ZodOptional<z.ZodInt>;
1328
1338
  prizePool: z.ZodOptional<z.ZodArray<z.ZodObject<{
1329
- place: z.ZodNumber;
1339
+ place: z.ZodInt;
1330
1340
  amount: z.ZodNumber;
1331
- }, z.core.$strip>>>;
1332
- newAssetPropertyId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1333
- }, z.core.$strip>;
1341
+ }, z.core.$strict>>>;
1342
+ newAssetPropertyId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1343
+ }, z.core.$strict>;
1334
1344
  export type AdminCreateCompetitionRoundRequestBody = z.infer<typeof adminCreateCompetitionRoundBodySchema>;
1335
1345
  /** Path param schema for round-scoped admin routes (`:roundId`). */
1336
1346
  export declare const competitionRoundParamsSchema: z.ZodObject<{
@@ -1422,7 +1432,7 @@ export interface QueuePositionResponse {
1422
1432
  export declare const competitionPayoutDetailsBodySchema: z.ZodObject<{
1423
1433
  walletAddress: z.ZodOptional<z.ZodString>;
1424
1434
  email: z.ZodOptional<z.ZodEmail>;
1425
- }, z.core.$strip>;
1435
+ }, z.core.$strict>;
1426
1436
  export type CompetitionPayoutDetailsRequestBody = z.infer<typeof competitionPayoutDetailsBodySchema>;
1427
1437
  /** Which destination a winner nominated. */
1428
1438
  export type CompetitionPayoutType = 'WALLET' | 'EMAIL';