@symmio/trading-core 4.0.0 → 4.2.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.
Files changed (447) hide show
  1. package/dist/balance-history/get-balance-history/types.d.ts +3 -1
  2. package/dist/balance-history/get-balance-history/types.d.ts.map +1 -1
  3. package/dist/balance-history/get-balance-history/types.js +1 -1
  4. package/dist/balance-history/get-balance-history/types.js.map +1 -1
  5. package/dist/funding/get-funding-index-checkpoints/get-funding-index-checkpoints.d.ts +50 -0
  6. package/dist/funding/get-funding-index-checkpoints/get-funding-index-checkpoints.d.ts.map +1 -0
  7. package/dist/funding/get-funding-index-checkpoints/get-funding-index-checkpoints.js +30 -0
  8. package/dist/funding/get-funding-index-checkpoints/get-funding-index-checkpoints.js.map +1 -0
  9. package/dist/funding/get-funding-index-checkpoints/index.d.ts +5 -0
  10. package/dist/funding/get-funding-index-checkpoints/index.d.ts.map +1 -0
  11. package/dist/funding/get-funding-index-checkpoints/query-document.d.ts +16 -0
  12. package/dist/funding/get-funding-index-checkpoints/query-document.d.ts.map +1 -0
  13. package/dist/funding/get-funding-index-checkpoints/query-document.js +7 -0
  14. package/dist/funding/get-funding-index-checkpoints/query-document.js.map +1 -0
  15. package/dist/funding/get-funding-index-checkpoints/query.d.ts +37 -0
  16. package/dist/funding/get-funding-index-checkpoints/query.d.ts.map +1 -0
  17. package/dist/funding/get-funding-index-checkpoints/query.js +23 -0
  18. package/dist/funding/get-funding-index-checkpoints/query.js.map +1 -0
  19. package/dist/funding/get-funding-index-checkpoints/to-funding-index-checkpoint-row.d.ts +12 -0
  20. package/dist/funding/get-funding-index-checkpoints/to-funding-index-checkpoint-row.d.ts.map +1 -0
  21. package/dist/funding/get-funding-index-checkpoints/to-funding-index-checkpoint-row.js +31 -0
  22. package/dist/funding/get-funding-index-checkpoints/to-funding-index-checkpoint-row.js.map +1 -0
  23. package/dist/funding/get-funding-index-checkpoints/types.d.ts +51 -0
  24. package/dist/funding/get-funding-index-checkpoints/types.d.ts.map +1 -0
  25. package/dist/funding/get-quote-funding-settlements/get-quote-funding-settlements.d.ts +47 -0
  26. package/dist/funding/get-quote-funding-settlements/get-quote-funding-settlements.d.ts.map +1 -0
  27. package/dist/funding/get-quote-funding-settlements/get-quote-funding-settlements.js +30 -0
  28. package/dist/funding/get-quote-funding-settlements/get-quote-funding-settlements.js.map +1 -0
  29. package/dist/funding/get-quote-funding-settlements/index.d.ts +5 -0
  30. package/dist/funding/get-quote-funding-settlements/index.d.ts.map +1 -0
  31. package/dist/funding/get-quote-funding-settlements/query-document.d.ts +16 -0
  32. package/dist/funding/get-quote-funding-settlements/query-document.d.ts.map +1 -0
  33. package/dist/funding/get-quote-funding-settlements/query-document.js +7 -0
  34. package/dist/funding/get-quote-funding-settlements/query-document.js.map +1 -0
  35. package/dist/funding/get-quote-funding-settlements/query.d.ts +37 -0
  36. package/dist/funding/get-quote-funding-settlements/query.d.ts.map +1 -0
  37. package/dist/funding/get-quote-funding-settlements/query.js +23 -0
  38. package/dist/funding/get-quote-funding-settlements/query.js.map +1 -0
  39. package/dist/funding/get-quote-funding-settlements/to-quote-funding-settlement-row.d.ts +12 -0
  40. package/dist/funding/get-quote-funding-settlements/to-quote-funding-settlement-row.d.ts.map +1 -0
  41. package/dist/funding/get-quote-funding-settlements/to-quote-funding-settlement-row.js +33 -0
  42. package/dist/funding/get-quote-funding-settlements/to-quote-funding-settlement-row.js.map +1 -0
  43. package/dist/funding/get-quote-funding-settlements/types.d.ts +56 -0
  44. package/dist/funding/get-quote-funding-settlements/types.d.ts.map +1 -0
  45. package/dist/funding/index.d.ts +3 -0
  46. package/dist/funding/index.d.ts.map +1 -0
  47. package/dist/index.d.ts +63 -4
  48. package/dist/index.d.ts.map +1 -1
  49. package/dist/index.js +427 -386
  50. package/dist/liquidation/get-liquidation-details/get-liquidation-details.d.ts +44 -0
  51. package/dist/liquidation/get-liquidation-details/get-liquidation-details.d.ts.map +1 -0
  52. package/dist/liquidation/get-liquidation-details/get-liquidation-details.js +30 -0
  53. package/dist/liquidation/get-liquidation-details/get-liquidation-details.js.map +1 -0
  54. package/dist/liquidation/get-liquidation-details/index.d.ts +5 -0
  55. package/dist/liquidation/get-liquidation-details/index.d.ts.map +1 -0
  56. package/dist/liquidation/get-liquidation-details/query-document.d.ts +16 -0
  57. package/dist/liquidation/get-liquidation-details/query-document.d.ts.map +1 -0
  58. package/dist/liquidation/get-liquidation-details/query-document.js +7 -0
  59. package/dist/liquidation/get-liquidation-details/query-document.js.map +1 -0
  60. package/dist/liquidation/get-liquidation-details/query.d.ts +37 -0
  61. package/dist/liquidation/get-liquidation-details/query.d.ts.map +1 -0
  62. package/dist/liquidation/get-liquidation-details/query.js +23 -0
  63. package/dist/liquidation/get-liquidation-details/query.js.map +1 -0
  64. package/dist/liquidation/get-liquidation-details/to-liquidation-detail-row.d.ts +12 -0
  65. package/dist/liquidation/get-liquidation-details/to-liquidation-detail-row.d.ts.map +1 -0
  66. package/dist/liquidation/get-liquidation-details/to-liquidation-detail-row.js +32 -0
  67. package/dist/liquidation/get-liquidation-details/to-liquidation-detail-row.js.map +1 -0
  68. package/dist/liquidation/get-liquidation-details/types.d.ts +47 -0
  69. package/dist/liquidation/get-liquidation-details/types.d.ts.map +1 -0
  70. package/dist/liquidation/index.d.ts +2 -0
  71. package/dist/liquidation/index.d.ts.map +1 -0
  72. package/dist/margin/get-margin-transfers/get-margin-transfers.d.ts +51 -0
  73. package/dist/margin/get-margin-transfers/get-margin-transfers.d.ts.map +1 -0
  74. package/dist/margin/get-margin-transfers/get-margin-transfers.js +32 -0
  75. package/dist/margin/get-margin-transfers/get-margin-transfers.js.map +1 -0
  76. package/dist/margin/get-margin-transfers/index.d.ts +5 -0
  77. package/dist/margin/get-margin-transfers/index.d.ts.map +1 -0
  78. package/dist/margin/get-margin-transfers/query-document.d.ts +17 -0
  79. package/dist/margin/get-margin-transfers/query-document.d.ts.map +1 -0
  80. package/dist/margin/get-margin-transfers/query-document.js +7 -0
  81. package/dist/margin/get-margin-transfers/query-document.js.map +1 -0
  82. package/dist/margin/get-margin-transfers/query.d.ts +37 -0
  83. package/dist/margin/get-margin-transfers/query.d.ts.map +1 -0
  84. package/dist/margin/get-margin-transfers/query.js +23 -0
  85. package/dist/margin/get-margin-transfers/query.js.map +1 -0
  86. package/dist/margin/get-margin-transfers/to-margin-transfer-row.d.ts +12 -0
  87. package/dist/margin/get-margin-transfers/to-margin-transfer-row.d.ts.map +1 -0
  88. package/dist/margin/get-margin-transfers/to-margin-transfer-row.js +19 -0
  89. package/dist/margin/get-margin-transfers/to-margin-transfer-row.js.map +1 -0
  90. package/dist/margin/get-margin-transfers/types.d.ts +27 -0
  91. package/dist/margin/get-margin-transfers/types.d.ts.map +1 -0
  92. package/dist/margin/index.d.ts +1 -0
  93. package/dist/margin/index.d.ts.map +1 -1
  94. package/dist/pools/add-market/to-created-pool.d.ts.map +1 -1
  95. package/dist/pools/add-market/to-created-pool.js +4 -0
  96. package/dist/pools/add-market/to-created-pool.js.map +1 -1
  97. package/dist/pools/add-market/types.d.ts +8 -0
  98. package/dist/pools/add-market/types.d.ts.map +1 -1
  99. package/dist/pools/auth/authenticate-listing.d.ts +3 -1
  100. package/dist/pools/auth/authenticate-listing.d.ts.map +1 -1
  101. package/dist/pools/auth/authenticate-listing.js +28 -23
  102. package/dist/pools/auth/authenticate-listing.js.map +1 -1
  103. package/dist/pools/auth/can-reuse-listing-challenge.d.ts +5 -0
  104. package/dist/pools/auth/can-reuse-listing-challenge.d.ts.map +1 -0
  105. package/dist/pools/auth/can-reuse-listing-challenge.js +9 -0
  106. package/dist/pools/auth/can-reuse-listing-challenge.js.map +1 -0
  107. package/dist/pools/auth/query.d.ts +15 -0
  108. package/dist/pools/auth/query.d.ts.map +1 -1
  109. package/dist/pools/auth/query.js +28 -4
  110. package/dist/pools/auth/query.js.map +1 -1
  111. package/dist/pools/auth/to-siwe.d.ts +5 -1
  112. package/dist/pools/auth/to-siwe.d.ts.map +1 -1
  113. package/dist/pools/auth/to-siwe.js +4 -2
  114. package/dist/pools/auth/to-siwe.js.map +1 -1
  115. package/dist/pools/auth/types.d.ts +2 -0
  116. package/dist/pools/auth/types.d.ts.map +1 -1
  117. package/dist/pools/cancel-withdraw/cancel-withdraw.js +1 -1
  118. package/dist/pools/cancel-withdraw/cancel-withdraw.js.map +1 -1
  119. package/dist/pools/claim-history/get-pool-claim.d.ts +11 -0
  120. package/dist/pools/claim-history/get-pool-claim.d.ts.map +1 -0
  121. package/dist/pools/claim-history/get-pool-claim.js +25 -0
  122. package/dist/pools/claim-history/get-pool-claim.js.map +1 -0
  123. package/dist/pools/claim-history/index.d.ts +1 -0
  124. package/dist/pools/claim-history/index.d.ts.map +1 -1
  125. package/dist/pools/claim-history/to-pool-claim.d.ts.map +1 -1
  126. package/dist/pools/claim-history/to-pool-claim.js +2 -0
  127. package/dist/pools/claim-history/to-pool-claim.js.map +1 -1
  128. package/dist/pools/composition.d.ts +16 -0
  129. package/dist/pools/composition.d.ts.map +1 -0
  130. package/dist/pools/composition.js +39 -0
  131. package/dist/pools/composition.js.map +1 -0
  132. package/dist/pools/empty-pool-profit.d.ts +4 -0
  133. package/dist/pools/empty-pool-profit.d.ts.map +1 -0
  134. package/dist/pools/empty-pool-profit.js +17 -0
  135. package/dist/pools/empty-pool-profit.js.map +1 -0
  136. package/dist/pools/index.d.ts +8 -0
  137. package/dist/pools/index.d.ts.map +1 -1
  138. package/dist/pools/listing-config/to-listing-config.d.ts +5 -1
  139. package/dist/pools/listing-config/to-listing-config.d.ts.map +1 -1
  140. package/dist/pools/listing-config/to-listing-config.js +19 -8
  141. package/dist/pools/listing-config/to-listing-config.js.map +1 -1
  142. package/dist/pools/maintenance-fees/get-pool-maintenance-fees.d.ts +37 -0
  143. package/dist/pools/maintenance-fees/get-pool-maintenance-fees.d.ts.map +1 -0
  144. package/dist/pools/maintenance-fees/get-pool-maintenance-fees.js +35 -0
  145. package/dist/pools/maintenance-fees/get-pool-maintenance-fees.js.map +1 -0
  146. package/dist/pools/maintenance-fees/index.d.ts +3 -0
  147. package/dist/pools/maintenance-fees/index.d.ts.map +1 -0
  148. package/dist/pools/maintenance-fees/query.d.ts +11 -0
  149. package/dist/pools/maintenance-fees/query.d.ts.map +1 -0
  150. package/dist/pools/maintenance-fees/query.js +21 -0
  151. package/dist/pools/maintenance-fees/query.js.map +1 -0
  152. package/dist/pools/market-config/to-listing-market-config.d.ts +6 -1
  153. package/dist/pools/market-config/to-listing-market-config.d.ts.map +1 -1
  154. package/dist/pools/market-config/to-listing-market-config.js +1 -0
  155. package/dist/pools/market-config/to-listing-market-config.js.map +1 -1
  156. package/dist/pools/market-config/types.d.ts +5 -0
  157. package/dist/pools/market-config/types.d.ts.map +1 -1
  158. package/dist/pools/market-config/types.js.map +1 -1
  159. package/dist/pools/market-data/get-pool-market-data.d.ts +14 -0
  160. package/dist/pools/market-data/get-pool-market-data.d.ts.map +1 -0
  161. package/dist/pools/market-data/get-pool-market-data.js +25 -0
  162. package/dist/pools/market-data/get-pool-market-data.js.map +1 -0
  163. package/dist/pools/market-data/index.d.ts +2 -0
  164. package/dist/pools/market-data/index.d.ts.map +1 -0
  165. package/dist/pools/market-detail/to-listing-market-detail.d.ts +5 -1
  166. package/dist/pools/market-detail/to-listing-market-detail.d.ts.map +1 -1
  167. package/dist/pools/market-detail/to-listing-market-detail.js +45 -33
  168. package/dist/pools/market-detail/to-listing-market-detail.js.map +1 -1
  169. package/dist/pools/markets/to-listing-market.d.ts +13 -1
  170. package/dist/pools/markets/to-listing-market.d.ts.map +1 -1
  171. package/dist/pools/markets/to-listing-market.js +24 -12
  172. package/dist/pools/markets/to-listing-market.js.map +1 -1
  173. package/dist/pools/open-positions/calculate-pool-open-positions.d.ts +39 -0
  174. package/dist/pools/open-positions/calculate-pool-open-positions.d.ts.map +1 -0
  175. package/dist/pools/open-positions/calculate-pool-open-positions.js +83 -0
  176. package/dist/pools/open-positions/calculate-pool-open-positions.js.map +1 -0
  177. package/dist/pools/open-positions/get-pool-open-positions.d.ts +17 -0
  178. package/dist/pools/open-positions/get-pool-open-positions.d.ts.map +1 -0
  179. package/dist/pools/open-positions/get-pool-open-positions.js +39 -0
  180. package/dist/pools/open-positions/get-pool-open-positions.js.map +1 -0
  181. package/dist/pools/open-positions/index.d.ts +4 -0
  182. package/dist/pools/open-positions/index.d.ts.map +1 -0
  183. package/dist/pools/open-positions/query.d.ts +17 -0
  184. package/dist/pools/open-positions/query.d.ts.map +1 -0
  185. package/dist/pools/open-positions/query.js +21 -0
  186. package/dist/pools/open-positions/query.js.map +1 -0
  187. package/dist/pools/portfolio/calculate-pool-portfolio.d.ts +66 -0
  188. package/dist/pools/portfolio/calculate-pool-portfolio.d.ts.map +1 -0
  189. package/dist/pools/portfolio/calculate-pool-portfolio.js +96 -0
  190. package/dist/pools/portfolio/calculate-pool-portfolio.js.map +1 -0
  191. package/dist/pools/portfolio/get-pool-portfolio.d.ts +19 -0
  192. package/dist/pools/portfolio/get-pool-portfolio.d.ts.map +1 -0
  193. package/dist/pools/portfolio/get-pool-portfolio.js +88 -0
  194. package/dist/pools/portfolio/get-pool-portfolio.js.map +1 -0
  195. package/dist/pools/portfolio/index.d.ts +4 -0
  196. package/dist/pools/portfolio/index.d.ts.map +1 -0
  197. package/dist/pools/portfolio/query.d.ts +17 -0
  198. package/dist/pools/portfolio/query.d.ts.map +1 -0
  199. package/dist/pools/portfolio/query.js +21 -0
  200. package/dist/pools/portfolio/query.js.map +1 -0
  201. package/dist/pools/portfolio/read-positions.d.ts +4 -0
  202. package/dist/pools/portfolio/read-positions.d.ts.map +1 -0
  203. package/dist/pools/portfolio/read-positions.js +31 -0
  204. package/dist/pools/portfolio/read-positions.js.map +1 -0
  205. package/dist/pools/position/calculate-pool-position.d.ts +85 -0
  206. package/dist/pools/position/calculate-pool-position.d.ts.map +1 -0
  207. package/dist/pools/position/calculate-pool-position.js +59 -0
  208. package/dist/pools/position/calculate-pool-position.js.map +1 -0
  209. package/dist/pools/position/get-pool-position.d.ts +22 -0
  210. package/dist/pools/position/get-pool-position.d.ts.map +1 -0
  211. package/dist/pools/position/get-pool-position.js +47 -0
  212. package/dist/pools/position/get-pool-position.js.map +1 -0
  213. package/dist/pools/position/index.d.ts +4 -0
  214. package/dist/pools/position/index.d.ts.map +1 -0
  215. package/dist/pools/position/query.d.ts +17 -0
  216. package/dist/pools/position/query.d.ts.map +1 -0
  217. package/dist/pools/position/query.js +21 -0
  218. package/dist/pools/position/query.js.map +1 -0
  219. package/dist/pools/position/sum-deposits.d.ts +10 -0
  220. package/dist/pools/position/sum-deposits.d.ts.map +1 -0
  221. package/dist/pools/position/sum-deposits.js +35 -0
  222. package/dist/pools/position/sum-deposits.js.map +1 -0
  223. package/dist/pools/profit/get-user-profit.d.ts +4 -0
  224. package/dist/pools/profit/get-user-profit.d.ts.map +1 -1
  225. package/dist/pools/profit/get-user-profit.js +18 -12
  226. package/dist/pools/profit/get-user-profit.js.map +1 -1
  227. package/dist/pools/profit/to-user-pool-profit.d.ts +22 -4
  228. package/dist/pools/profit/to-user-pool-profit.d.ts.map +1 -1
  229. package/dist/pools/profit/to-user-pool-profit.js +28 -12
  230. package/dist/pools/profit/to-user-pool-profit.js.map +1 -1
  231. package/dist/pools/quotes/get-pool-quotes.d.ts +8 -1
  232. package/dist/pools/quotes/get-pool-quotes.d.ts.map +1 -1
  233. package/dist/pools/quotes/get-pool-quotes.js +8 -1
  234. package/dist/pools/quotes/get-pool-quotes.js.map +1 -1
  235. package/dist/pools/quotes/query-document.d.ts.map +1 -1
  236. package/dist/pools/quotes/query-document.js +1 -1
  237. package/dist/pools/quotes/query-document.js.map +1 -1
  238. package/dist/pools/quotes/to-pool-quote.d.ts.map +1 -1
  239. package/dist/pools/quotes/to-pool-quote.js +13 -0
  240. package/dist/pools/quotes/to-pool-quote.js.map +1 -1
  241. package/dist/pools/rewards/query.js +25 -25
  242. package/dist/pools/statistics/calculate-pool-statistics.d.ts +69 -0
  243. package/dist/pools/statistics/calculate-pool-statistics.d.ts.map +1 -0
  244. package/dist/pools/statistics/calculate-pool-statistics.js +42 -0
  245. package/dist/pools/statistics/calculate-pool-statistics.js.map +1 -0
  246. package/dist/pools/statistics/get-pool-statistics.d.ts +29 -0
  247. package/dist/pools/statistics/get-pool-statistics.d.ts.map +1 -0
  248. package/dist/pools/statistics/get-pool-statistics.js +61 -0
  249. package/dist/pools/statistics/get-pool-statistics.js.map +1 -0
  250. package/dist/pools/statistics/index.d.ts +4 -0
  251. package/dist/pools/statistics/index.d.ts.map +1 -0
  252. package/dist/pools/statistics/query.d.ts +17 -0
  253. package/dist/pools/statistics/query.d.ts.map +1 -0
  254. package/dist/pools/statistics/query.js +21 -0
  255. package/dist/pools/statistics/query.js.map +1 -0
  256. package/dist/pools/token-metadata/get-listing-token-metadata.d.ts +32 -0
  257. package/dist/pools/token-metadata/get-listing-token-metadata.d.ts.map +1 -0
  258. package/dist/pools/token-metadata/get-listing-token-metadata.js +43 -0
  259. package/dist/pools/token-metadata/get-listing-token-metadata.js.map +1 -0
  260. package/dist/pools/token-metadata/index.d.ts +3 -0
  261. package/dist/pools/token-metadata/index.d.ts.map +1 -0
  262. package/dist/pools/token-metadata/query.d.ts +11 -0
  263. package/dist/pools/token-metadata/query.d.ts.map +1 -0
  264. package/dist/pools/token-metadata/query.js +21 -0
  265. package/dist/pools/token-metadata/query.js.map +1 -0
  266. package/dist/pools/token-support/check-listing-token-support.d.ts +23 -0
  267. package/dist/pools/token-support/check-listing-token-support.d.ts.map +1 -0
  268. package/dist/pools/token-support/check-listing-token-support.js +36 -0
  269. package/dist/pools/token-support/check-listing-token-support.js.map +1 -0
  270. package/dist/pools/token-support/index.d.ts +3 -0
  271. package/dist/pools/token-support/index.d.ts.map +1 -0
  272. package/dist/pools/token-support/query.d.ts +11 -0
  273. package/dist/pools/token-support/query.d.ts.map +1 -0
  274. package/dist/pools/token-support/query.js +21 -0
  275. package/dist/pools/token-support/query.js.map +1 -0
  276. package/dist/pools/trade-history/calculate-history-metrics.d.ts +12 -0
  277. package/dist/pools/trade-history/calculate-history-metrics.d.ts.map +1 -0
  278. package/dist/pools/trade-history/calculate-history-metrics.js +36 -0
  279. package/dist/pools/trade-history/calculate-history-metrics.js.map +1 -0
  280. package/dist/pools/trade-history/get-pool-trade-history.d.ts +21 -1
  281. package/dist/pools/trade-history/get-pool-trade-history.d.ts.map +1 -1
  282. package/dist/pools/trade-history/get-pool-trade-history.js +57 -18
  283. package/dist/pools/trade-history/get-pool-trade-history.js.map +1 -1
  284. package/dist/pools/trade-history/query-document.d.ts +3 -0
  285. package/dist/pools/trade-history/query-document.d.ts.map +1 -1
  286. package/dist/pools/trade-history/query-document.js +1 -1
  287. package/dist/pools/trade-history/query-document.js.map +1 -1
  288. package/dist/pools/transactions/get-pool-transaction-range.d.ts +6 -0
  289. package/dist/pools/transactions/get-pool-transaction-range.d.ts.map +1 -0
  290. package/dist/pools/transactions/get-pool-transaction-range.js +26 -0
  291. package/dist/pools/transactions/get-pool-transaction-range.js.map +1 -0
  292. package/dist/pools/transactions/index.d.ts +1 -0
  293. package/dist/pools/transactions/index.d.ts.map +1 -1
  294. package/dist/pools/types/generated/listing-backend.js +34 -10
  295. package/dist/pools/types/generated/listing-backend.js.map +1 -1
  296. package/dist/pools/types.d.ts +129 -6
  297. package/dist/pools/types.d.ts.map +1 -1
  298. package/dist/pools/types.js.map +1 -1
  299. package/dist/pools/user-markets/get-user-listing-markets.d.ts +2 -0
  300. package/dist/pools/user-markets/get-user-listing-markets.d.ts.map +1 -1
  301. package/dist/pools/user-markets/get-user-listing-markets.js.map +1 -1
  302. package/dist/pools/user-markets/to-user-listing-market.js +1 -1
  303. package/dist/pools/user-markets/to-user-listing-market.js.map +1 -1
  304. package/dist/pools/user-transactions/get-user-transactions.d.ts +2 -0
  305. package/dist/pools/user-transactions/get-user-transactions.d.ts.map +1 -1
  306. package/dist/pools/user-transactions/get-user-transactions.js.map +1 -1
  307. package/dist/pools/user-transactions/to-user-transaction.d.ts +5 -1
  308. package/dist/pools/user-transactions/to-user-transaction.d.ts.map +1 -1
  309. package/dist/pools/user-transactions/to-user-transaction.js +3 -0
  310. package/dist/pools/user-transactions/to-user-transaction.js.map +1 -1
  311. package/dist/quotes/get-quote-events-by-type/get-quote-events-by-type.d.ts +22 -12
  312. package/dist/quotes/get-quote-events-by-type/get-quote-events-by-type.d.ts.map +1 -1
  313. package/dist/quotes/get-quote-events-by-type/get-quote-events-by-type.js +20 -21
  314. package/dist/quotes/get-quote-events-by-type/get-quote-events-by-type.js.map +1 -1
  315. package/dist/quotes/get-quote-events-by-type/query-document.d.ts +5 -5
  316. package/dist/quotes/get-quote-events-by-type/query-document.d.ts.map +1 -1
  317. package/dist/quotes/get-quote-events-by-type/query-document.js +1 -1
  318. package/dist/quotes/get-quote-events-by-type/query-document.js.map +1 -1
  319. package/dist/quotes/get-quote-events-by-type/query.d.ts +7 -6
  320. package/dist/quotes/get-quote-events-by-type/query.d.ts.map +1 -1
  321. package/dist/quotes/get-quote-events-by-type/query.js +19 -17
  322. package/dist/quotes/get-quote-events-by-type/query.js.map +1 -1
  323. package/dist/quotes/get-quote-events-by-type/to-quote-event-row.d.ts +2 -2
  324. package/dist/quotes/get-quote-events-by-type/to-quote-event-row.d.ts.map +1 -1
  325. package/dist/quotes/get-quote-events-by-type/to-quote-event-row.js +1 -3
  326. package/dist/quotes/get-quote-events-by-type/to-quote-event-row.js.map +1 -1
  327. package/dist/quotes/get-quote-events-by-type/types.d.ts +14 -3
  328. package/dist/quotes/get-quote-events-by-type/types.d.ts.map +1 -1
  329. package/dist/quotes/get-quote-events-by-type/types.js.map +1 -1
  330. package/dist/quotes/get-quote-funding/get-quote-funding.d.ts +12 -2
  331. package/dist/quotes/get-quote-funding/get-quote-funding.d.ts.map +1 -1
  332. package/dist/quotes/get-quote-funding/get-quote-funding.js +21 -17
  333. package/dist/quotes/get-quote-funding/get-quote-funding.js.map +1 -1
  334. package/dist/quotes/get-quote-funding/query-document.d.ts +3 -2
  335. package/dist/quotes/get-quote-funding/query-document.d.ts.map +1 -1
  336. package/dist/quotes/get-quote-funding/query-document.js +1 -1
  337. package/dist/quotes/get-quote-funding/query-document.js.map +1 -1
  338. package/dist/quotes/get-quote-funding/query.d.ts.map +1 -1
  339. package/dist/quotes/get-quote-funding/query.js +2 -1
  340. package/dist/quotes/get-quote-funding/query.js.map +1 -1
  341. package/dist/quotes/get-quote-funding/to-funding-row.d.ts.map +1 -1
  342. package/dist/quotes/get-quote-funding/to-funding-row.js +1 -3
  343. package/dist/quotes/get-quote-funding/to-funding-row.js.map +1 -1
  344. package/dist/quotes/get-quote-history/get-quote-history.d.ts +18 -7
  345. package/dist/quotes/get-quote-history/get-quote-history.d.ts.map +1 -1
  346. package/dist/quotes/get-quote-history/get-quote-history.js +32 -22
  347. package/dist/quotes/get-quote-history/get-quote-history.js.map +1 -1
  348. package/dist/quotes/get-quote-history/query-document.d.ts +12 -7
  349. package/dist/quotes/get-quote-history/query-document.d.ts.map +1 -1
  350. package/dist/quotes/get-quote-history/query-document.js +1 -1
  351. package/dist/quotes/get-quote-history/query-document.js.map +1 -1
  352. package/dist/quotes/get-quote-history/query.d.ts +3 -2
  353. package/dist/quotes/get-quote-history/query.d.ts.map +1 -1
  354. package/dist/quotes/get-quote-history/query.js +22 -19
  355. package/dist/quotes/get-quote-history/query.js.map +1 -1
  356. package/dist/quotes/get-quote-history/to-history-row.d.ts.map +1 -1
  357. package/dist/quotes/get-quote-history/to-history-row.js +52 -37
  358. package/dist/quotes/get-quote-history/to-history-row.js.map +1 -1
  359. package/dist/quotes/get-quote-history/types.d.ts +41 -0
  360. package/dist/quotes/get-quote-history/types.d.ts.map +1 -1
  361. package/dist/quotes/get-quote-history/types.js.map +1 -1
  362. package/dist/quotes/get-quotes-events-by-type/get-quotes-events-by-type.d.ts +21 -11
  363. package/dist/quotes/get-quotes-events-by-type/get-quotes-events-by-type.d.ts.map +1 -1
  364. package/dist/quotes/get-quotes-events-by-type/get-quotes-events-by-type.js +19 -21
  365. package/dist/quotes/get-quotes-events-by-type/get-quotes-events-by-type.js.map +1 -1
  366. package/dist/quotes/get-quotes-events-by-type/query-document.d.ts +7 -7
  367. package/dist/quotes/get-quotes-events-by-type/query-document.d.ts.map +1 -1
  368. package/dist/quotes/get-quotes-events-by-type/query-document.js +1 -1
  369. package/dist/quotes/get-quotes-events-by-type/query-document.js.map +1 -1
  370. package/dist/quotes/get-quotes-events-by-type/query.d.ts +8 -6
  371. package/dist/quotes/get-quotes-events-by-type/query.d.ts.map +1 -1
  372. package/dist/quotes/get-quotes-events-by-type/query.js +22 -20
  373. package/dist/quotes/get-quotes-events-by-type/query.js.map +1 -1
  374. package/dist/quotes/get-subgraph-quotes/get-subgraph-quotes.d.ts +38 -0
  375. package/dist/quotes/get-subgraph-quotes/get-subgraph-quotes.d.ts.map +1 -0
  376. package/dist/quotes/get-subgraph-quotes/get-subgraph-quotes.js +28 -0
  377. package/dist/quotes/get-subgraph-quotes/get-subgraph-quotes.js.map +1 -0
  378. package/dist/quotes/get-subgraph-quotes/index.d.ts +5 -0
  379. package/dist/quotes/get-subgraph-quotes/index.d.ts.map +1 -0
  380. package/dist/quotes/get-subgraph-quotes/query-document.d.ts +15 -0
  381. package/dist/quotes/get-subgraph-quotes/query-document.d.ts.map +1 -0
  382. package/dist/quotes/get-subgraph-quotes/query-document.js +7 -0
  383. package/dist/quotes/get-subgraph-quotes/query-document.js.map +1 -0
  384. package/dist/quotes/get-subgraph-quotes/query.d.ts +37 -0
  385. package/dist/quotes/get-subgraph-quotes/query.d.ts.map +1 -0
  386. package/dist/quotes/get-subgraph-quotes/query.js +23 -0
  387. package/dist/quotes/get-subgraph-quotes/query.js.map +1 -0
  388. package/dist/quotes/get-subgraph-quotes/to-subgraph-quote-row.d.ts +12 -0
  389. package/dist/quotes/get-subgraph-quotes/to-subgraph-quote-row.d.ts.map +1 -0
  390. package/dist/quotes/get-subgraph-quotes/to-subgraph-quote-row.js +32 -0
  391. package/dist/quotes/get-subgraph-quotes/to-subgraph-quote-row.js.map +1 -0
  392. package/dist/quotes/get-subgraph-quotes/types.d.ts +54 -0
  393. package/dist/quotes/get-subgraph-quotes/types.d.ts.map +1 -0
  394. package/dist/quotes/index.d.ts +1 -0
  395. package/dist/quotes/index.d.ts.map +1 -1
  396. package/dist/quotes/liquidation/calculate-liquidation-price.d.ts +5 -1
  397. package/dist/quotes/liquidation/calculate-liquidation-price.d.ts.map +1 -1
  398. package/dist/quotes/liquidation/calculate-liquidation-price.js +1 -1
  399. package/dist/quotes/liquidation/calculate-liquidation-price.js.map +1 -1
  400. package/dist/quotes/upnl/calculate-quote-pnl.d.ts.map +1 -1
  401. package/dist/quotes/upnl/calculate-quote-pnl.js +8 -8
  402. package/dist/quotes/upnl/calculate-quote-pnl.js.map +1 -1
  403. package/dist/quotes/upnl/calculate-quote-upnl.d.ts +2 -2
  404. package/dist/quotes/upnl/calculate-quote-upnl.d.ts.map +1 -1
  405. package/dist/quotes/upnl/calculate-quote-upnl.js +16 -15
  406. package/dist/quotes/upnl/calculate-quote-upnl.js.map +1 -1
  407. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/get-party-a-open-positions-batch.d.ts +122 -0
  408. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/get-party-a-open-positions-batch.d.ts.map +1 -0
  409. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/get-party-a-open-positions-batch.js +80 -0
  410. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/get-party-a-open-positions-batch.js.map +1 -0
  411. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/index.d.ts +3 -0
  412. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/index.d.ts.map +1 -0
  413. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/query.d.ts +37 -0
  414. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/query.d.ts.map +1 -0
  415. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/query.js +27 -0
  416. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/query.js.map +1 -0
  417. package/dist/symmio-contracts/symmio/index.d.ts +2 -0
  418. package/dist/symmio-contracts/symmio/index.d.ts.map +1 -1
  419. package/dist/symmio-contracts/symmio/is-party-a-liquidated/index.d.ts +3 -0
  420. package/dist/symmio-contracts/symmio/is-party-a-liquidated/index.d.ts.map +1 -0
  421. package/dist/symmio-contracts/symmio/is-party-a-liquidated/is-party-a-liquidated.d.ts +37 -0
  422. package/dist/symmio-contracts/symmio/is-party-a-liquidated/is-party-a-liquidated.d.ts.map +1 -0
  423. package/dist/symmio-contracts/symmio/is-party-a-liquidated/is-party-a-liquidated.js +15 -0
  424. package/dist/symmio-contracts/symmio/is-party-a-liquidated/is-party-a-liquidated.js.map +1 -0
  425. package/dist/symmio-contracts/symmio/is-party-a-liquidated/query.d.ts +38 -0
  426. package/dist/symmio-contracts/symmio/is-party-a-liquidated/query.d.ts.map +1 -0
  427. package/dist/symmio-contracts/symmio/is-party-a-liquidated/query.js +29 -0
  428. package/dist/symmio-contracts/symmio/is-party-a-liquidated/query.js.map +1 -0
  429. package/dist/symmio-subgraph/index.d.ts +1 -0
  430. package/dist/symmio-subgraph/index.d.ts.map +1 -1
  431. package/dist/symmio-subgraph/subgraph-decode.d.ts +51 -0
  432. package/dist/symmio-subgraph/subgraph-decode.d.ts.map +1 -0
  433. package/dist/symmio-subgraph/subgraph-decode.js +24 -0
  434. package/dist/symmio-subgraph/subgraph-decode.js.map +1 -0
  435. package/dist/symmio-subgraph/subgraph-filters.d.ts +97 -0
  436. package/dist/symmio-subgraph/subgraph-filters.d.ts.map +1 -0
  437. package/dist/symmio-subgraph/subgraph-filters.js +39 -0
  438. package/dist/symmio-subgraph/subgraph-filters.js.map +1 -0
  439. package/dist/symmio-subgraph/types/generated/analytics/gql.d.ts +26 -6
  440. package/dist/symmio-subgraph/types/generated/analytics/gql.d.ts.map +1 -1
  441. package/dist/symmio-subgraph/types/generated/analytics/gql.js +16 -11
  442. package/dist/symmio-subgraph/types/generated/analytics/gql.js.map +1 -1
  443. package/dist/symmio-subgraph/types/generated/analytics/graphql.d.ts +3661 -9
  444. package/dist/symmio-subgraph/types/generated/analytics/graphql.d.ts.map +1 -1
  445. package/dist/symmio-subgraph/types/generated/analytics/graphql.js +2 -2
  446. package/dist/symmio-subgraph/types/generated/analytics/graphql.js.map +1 -1
  447. package/package.json +1 -1
@@ -9,8 +9,3444 @@ type Exact<T extends {
9
9
  export type Incremental<T> = T | {
10
10
  [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never;
11
11
  };
12
+ export type Account_Filter = {
13
+ /** Filter for the block changed event. */
14
+ _change_block?: BlockChangedFilter | null | undefined;
15
+ account?: string | null | undefined;
16
+ accountKind?: string | null | undefined;
17
+ accountKind_contains?: string | null | undefined;
18
+ accountKind_contains_nocase?: string | null | undefined;
19
+ accountKind_ends_with?: string | null | undefined;
20
+ accountKind_ends_with_nocase?: string | null | undefined;
21
+ accountKind_gt?: string | null | undefined;
22
+ accountKind_gte?: string | null | undefined;
23
+ accountKind_in?: Array<string> | null | undefined;
24
+ accountKind_lt?: string | null | undefined;
25
+ accountKind_lte?: string | null | undefined;
26
+ accountKind_not?: string | null | undefined;
27
+ accountKind_not_contains?: string | null | undefined;
28
+ accountKind_not_contains_nocase?: string | null | undefined;
29
+ accountKind_not_ends_with?: string | null | undefined;
30
+ accountKind_not_ends_with_nocase?: string | null | undefined;
31
+ accountKind_not_in?: Array<string> | null | undefined;
32
+ accountKind_not_starts_with?: string | null | undefined;
33
+ accountKind_not_starts_with_nocase?: string | null | undefined;
34
+ accountKind_starts_with?: string | null | undefined;
35
+ accountKind_starts_with_nocase?: string | null | undefined;
36
+ accountLayerSource?: string | null | undefined;
37
+ accountLayerSource_contains?: string | null | undefined;
38
+ accountLayerSource_gt?: string | null | undefined;
39
+ accountLayerSource_gte?: string | null | undefined;
40
+ accountLayerSource_in?: Array<string> | null | undefined;
41
+ accountLayerSource_lt?: string | null | undefined;
42
+ accountLayerSource_lte?: string | null | undefined;
43
+ accountLayerSource_not?: string | null | undefined;
44
+ accountLayerSource_not_contains?: string | null | undefined;
45
+ accountLayerSource_not_in?: Array<string> | null | undefined;
46
+ accountSource?: string | null | undefined;
47
+ accountSource_contains?: string | null | undefined;
48
+ accountSource_gt?: string | null | undefined;
49
+ accountSource_gte?: string | null | undefined;
50
+ accountSource_in?: Array<string> | null | undefined;
51
+ accountSource_lt?: string | null | undefined;
52
+ accountSource_lte?: string | null | undefined;
53
+ accountSource_not?: string | null | undefined;
54
+ accountSource_not_contains?: string | null | undefined;
55
+ accountSource_not_in?: Array<string> | null | undefined;
56
+ account_contains?: string | null | undefined;
57
+ account_gt?: string | null | undefined;
58
+ account_gte?: string | null | undefined;
59
+ account_in?: Array<string> | null | undefined;
60
+ account_lt?: string | null | undefined;
61
+ account_lte?: string | null | undefined;
62
+ account_not?: string | null | undefined;
63
+ account_not_contains?: string | null | undefined;
64
+ account_not_in?: Array<string> | null | undefined;
65
+ affiliate?: string | null | undefined;
66
+ affiliateRef?: string | null | undefined;
67
+ affiliateRef_?: Affiliate_Filter | null | undefined;
68
+ affiliateRef_contains?: string | null | undefined;
69
+ affiliateRef_contains_nocase?: string | null | undefined;
70
+ affiliateRef_ends_with?: string | null | undefined;
71
+ affiliateRef_ends_with_nocase?: string | null | undefined;
72
+ affiliateRef_gt?: string | null | undefined;
73
+ affiliateRef_gte?: string | null | undefined;
74
+ affiliateRef_in?: Array<string> | null | undefined;
75
+ affiliateRef_lt?: string | null | undefined;
76
+ affiliateRef_lte?: string | null | undefined;
77
+ affiliateRef_not?: string | null | undefined;
78
+ affiliateRef_not_contains?: string | null | undefined;
79
+ affiliateRef_not_contains_nocase?: string | null | undefined;
80
+ affiliateRef_not_ends_with?: string | null | undefined;
81
+ affiliateRef_not_ends_with_nocase?: string | null | undefined;
82
+ affiliateRef_not_in?: Array<string> | null | undefined;
83
+ affiliateRef_not_starts_with?: string | null | undefined;
84
+ affiliateRef_not_starts_with_nocase?: string | null | undefined;
85
+ affiliateRef_starts_with?: string | null | undefined;
86
+ affiliateRef_starts_with_nocase?: string | null | undefined;
87
+ affiliate_contains?: string | null | undefined;
88
+ affiliate_gt?: string | null | undefined;
89
+ affiliate_gte?: string | null | undefined;
90
+ affiliate_in?: Array<string> | null | undefined;
91
+ affiliate_lt?: string | null | undefined;
92
+ affiliate_lte?: string | null | undefined;
93
+ affiliate_not?: string | null | undefined;
94
+ affiliate_not_contains?: string | null | undefined;
95
+ affiliate_not_in?: Array<string> | null | undefined;
96
+ allocated?: string | null | undefined;
97
+ allocated_gt?: string | null | undefined;
98
+ allocated_gte?: string | null | undefined;
99
+ allocated_in?: Array<string> | null | undefined;
100
+ allocated_lt?: string | null | undefined;
101
+ allocated_lte?: string | null | undefined;
102
+ allocated_not?: string | null | undefined;
103
+ allocated_not_in?: Array<string> | null | undefined;
104
+ and?: Array<Account_Filter | null | undefined> | null | undefined;
105
+ blockNumber?: string | null | undefined;
106
+ blockNumber_gt?: string | null | undefined;
107
+ blockNumber_gte?: string | null | undefined;
108
+ blockNumber_in?: Array<string> | null | undefined;
109
+ blockNumber_lt?: string | null | undefined;
110
+ blockNumber_lte?: string | null | undefined;
111
+ blockNumber_not?: string | null | undefined;
112
+ blockNumber_not_in?: Array<string> | null | undefined;
113
+ coreSource?: string | null | undefined;
114
+ coreSource_contains?: string | null | undefined;
115
+ coreSource_gt?: string | null | undefined;
116
+ coreSource_gte?: string | null | undefined;
117
+ coreSource_in?: Array<string> | null | undefined;
118
+ coreSource_lt?: string | null | undefined;
119
+ coreSource_lte?: string | null | undefined;
120
+ coreSource_not?: string | null | undefined;
121
+ coreSource_not_contains?: string | null | undefined;
122
+ coreSource_not_in?: Array<string> | null | undefined;
123
+ deallocated?: string | null | undefined;
124
+ deallocated_gt?: string | null | undefined;
125
+ deallocated_gte?: string | null | undefined;
126
+ deallocated_in?: Array<string> | null | undefined;
127
+ deallocated_lt?: string | null | undefined;
128
+ deallocated_lte?: string | null | undefined;
129
+ deallocated_not?: string | null | undefined;
130
+ deallocated_not_in?: Array<string> | null | undefined;
131
+ deploymentId?: string | null | undefined;
132
+ deploymentId_contains?: string | null | undefined;
133
+ deploymentId_contains_nocase?: string | null | undefined;
134
+ deploymentId_ends_with?: string | null | undefined;
135
+ deploymentId_ends_with_nocase?: string | null | undefined;
136
+ deploymentId_gt?: string | null | undefined;
137
+ deploymentId_gte?: string | null | undefined;
138
+ deploymentId_in?: Array<string> | null | undefined;
139
+ deploymentId_lt?: string | null | undefined;
140
+ deploymentId_lte?: string | null | undefined;
141
+ deploymentId_not?: string | null | undefined;
142
+ deploymentId_not_contains?: string | null | undefined;
143
+ deploymentId_not_contains_nocase?: string | null | undefined;
144
+ deploymentId_not_ends_with?: string | null | undefined;
145
+ deploymentId_not_ends_with_nocase?: string | null | undefined;
146
+ deploymentId_not_in?: Array<string> | null | undefined;
147
+ deploymentId_not_starts_with?: string | null | undefined;
148
+ deploymentId_not_starts_with_nocase?: string | null | undefined;
149
+ deploymentId_starts_with?: string | null | undefined;
150
+ deploymentId_starts_with_nocase?: string | null | undefined;
151
+ deposit?: string | null | undefined;
152
+ deposit_gt?: string | null | undefined;
153
+ deposit_gte?: string | null | undefined;
154
+ deposit_in?: Array<string> | null | undefined;
155
+ deposit_lt?: string | null | undefined;
156
+ deposit_lte?: string | null | undefined;
157
+ deposit_not?: string | null | undefined;
158
+ deposit_not_in?: Array<string> | null | undefined;
159
+ globalCounter?: string | null | undefined;
160
+ globalCounter_gt?: string | null | undefined;
161
+ globalCounter_gte?: string | null | undefined;
162
+ globalCounter_in?: Array<string> | null | undefined;
163
+ globalCounter_lt?: string | null | undefined;
164
+ globalCounter_lte?: string | null | undefined;
165
+ globalCounter_not?: string | null | undefined;
166
+ globalCounter_not_in?: Array<string> | null | undefined;
167
+ id?: string | number | null | undefined;
168
+ id_gt?: string | number | null | undefined;
169
+ id_gte?: string | number | null | undefined;
170
+ id_in?: Array<string | number> | null | undefined;
171
+ id_lt?: string | number | null | undefined;
172
+ id_lte?: string | number | null | undefined;
173
+ id_not?: string | number | null | undefined;
174
+ id_not_in?: Array<string | number> | null | undefined;
175
+ isDeleted?: boolean | null | undefined;
176
+ isDeleted_in?: Array<boolean> | null | undefined;
177
+ isDeleted_not?: boolean | null | undefined;
178
+ isDeleted_not_in?: Array<boolean> | null | undefined;
179
+ isVirtual?: boolean | null | undefined;
180
+ isVirtual_in?: Array<boolean> | null | undefined;
181
+ isVirtual_not?: boolean | null | undefined;
182
+ isVirtual_not_in?: Array<boolean> | null | undefined;
183
+ lastActivityTimestamp?: string | null | undefined;
184
+ lastActivityTimestamp_gt?: string | null | undefined;
185
+ lastActivityTimestamp_gte?: string | null | undefined;
186
+ lastActivityTimestamp_in?: Array<string> | null | undefined;
187
+ lastActivityTimestamp_lt?: string | null | undefined;
188
+ lastActivityTimestamp_lte?: string | null | undefined;
189
+ lastActivityTimestamp_not?: string | null | undefined;
190
+ lastActivityTimestamp_not_in?: Array<string> | null | undefined;
191
+ lastBalanceActivityTimestamp?: string | null | undefined;
192
+ lastBalanceActivityTimestamp_gt?: string | null | undefined;
193
+ lastBalanceActivityTimestamp_gte?: string | null | undefined;
194
+ lastBalanceActivityTimestamp_in?: Array<string> | null | undefined;
195
+ lastBalanceActivityTimestamp_lt?: string | null | undefined;
196
+ lastBalanceActivityTimestamp_lte?: string | null | undefined;
197
+ lastBalanceActivityTimestamp_not?: string | null | undefined;
198
+ lastBalanceActivityTimestamp_not_in?: Array<string> | null | undefined;
199
+ lastCoreActivityTimestamp?: string | null | undefined;
200
+ lastCoreActivityTimestamp_gt?: string | null | undefined;
201
+ lastCoreActivityTimestamp_gte?: string | null | undefined;
202
+ lastCoreActivityTimestamp_in?: Array<string> | null | undefined;
203
+ lastCoreActivityTimestamp_lt?: string | null | undefined;
204
+ lastCoreActivityTimestamp_lte?: string | null | undefined;
205
+ lastCoreActivityTimestamp_not?: string | null | undefined;
206
+ lastCoreActivityTimestamp_not_in?: Array<string> | null | undefined;
207
+ lastLayerActivityTimestamp?: string | null | undefined;
208
+ lastLayerActivityTimestamp_gt?: string | null | undefined;
209
+ lastLayerActivityTimestamp_gte?: string | null | undefined;
210
+ lastLayerActivityTimestamp_in?: Array<string> | null | undefined;
211
+ lastLayerActivityTimestamp_lt?: string | null | undefined;
212
+ lastLayerActivityTimestamp_lte?: string | null | undefined;
213
+ lastLayerActivityTimestamp_not?: string | null | undefined;
214
+ lastLayerActivityTimestamp_not_in?: Array<string> | null | undefined;
215
+ name?: string | null | undefined;
216
+ name_contains?: string | null | undefined;
217
+ name_contains_nocase?: string | null | undefined;
218
+ name_ends_with?: string | null | undefined;
219
+ name_ends_with_nocase?: string | null | undefined;
220
+ name_gt?: string | null | undefined;
221
+ name_gte?: string | null | undefined;
222
+ name_in?: Array<string> | null | undefined;
223
+ name_lt?: string | null | undefined;
224
+ name_lte?: string | null | undefined;
225
+ name_not?: string | null | undefined;
226
+ name_not_contains?: string | null | undefined;
227
+ name_not_contains_nocase?: string | null | undefined;
228
+ name_not_ends_with?: string | null | undefined;
229
+ name_not_ends_with_nocase?: string | null | undefined;
230
+ name_not_in?: Array<string> | null | undefined;
231
+ name_not_starts_with?: string | null | undefined;
232
+ name_not_starts_with_nocase?: string | null | undefined;
233
+ name_starts_with?: string | null | undefined;
234
+ name_starts_with_nocase?: string | null | undefined;
235
+ or?: Array<Account_Filter | null | undefined> | null | undefined;
236
+ owner?: string | null | undefined;
237
+ owner_contains?: string | null | undefined;
238
+ owner_gt?: string | null | undefined;
239
+ owner_gte?: string | null | undefined;
240
+ owner_in?: Array<string> | null | undefined;
241
+ owner_lt?: string | null | undefined;
242
+ owner_lte?: string | null | undefined;
243
+ owner_not?: string | null | undefined;
244
+ owner_not_contains?: string | null | undefined;
245
+ owner_not_in?: Array<string> | null | undefined;
246
+ parentAddress?: string | null | undefined;
247
+ parentAddress_contains?: string | null | undefined;
248
+ parentAddress_gt?: string | null | undefined;
249
+ parentAddress_gte?: string | null | undefined;
250
+ parentAddress_in?: Array<string> | null | undefined;
251
+ parentAddress_lt?: string | null | undefined;
252
+ parentAddress_lte?: string | null | undefined;
253
+ parentAddress_not?: string | null | undefined;
254
+ parentAddress_not_contains?: string | null | undefined;
255
+ parentAddress_not_in?: Array<string> | null | undefined;
256
+ positionsCount?: string | null | undefined;
257
+ positionsCount_gt?: string | null | undefined;
258
+ positionsCount_gte?: string | null | undefined;
259
+ positionsCount_in?: Array<string> | null | undefined;
260
+ positionsCount_lt?: string | null | undefined;
261
+ positionsCount_lte?: string | null | undefined;
262
+ positionsCount_not?: string | null | undefined;
263
+ positionsCount_not_in?: Array<string> | null | undefined;
264
+ quotesCount?: string | null | undefined;
265
+ quotesCount_gt?: string | null | undefined;
266
+ quotesCount_gte?: string | null | undefined;
267
+ quotesCount_in?: Array<string> | null | undefined;
268
+ quotesCount_lt?: string | null | undefined;
269
+ quotesCount_lte?: string | null | undefined;
270
+ quotesCount_not?: string | null | undefined;
271
+ quotesCount_not_in?: Array<string> | null | undefined;
272
+ source?: string | null | undefined;
273
+ source_contains?: string | null | undefined;
274
+ source_gt?: string | null | undefined;
275
+ source_gte?: string | null | undefined;
276
+ source_in?: Array<string> | null | undefined;
277
+ source_lt?: string | null | undefined;
278
+ source_lte?: string | null | undefined;
279
+ source_not?: string | null | undefined;
280
+ source_not_contains?: string | null | undefined;
281
+ source_not_in?: Array<string> | null | undefined;
282
+ subAccount?: string | null | undefined;
283
+ subAccount_?: SubAccount_Filter | null | undefined;
284
+ subAccount_contains?: string | null | undefined;
285
+ subAccount_contains_nocase?: string | null | undefined;
286
+ subAccount_ends_with?: string | null | undefined;
287
+ subAccount_ends_with_nocase?: string | null | undefined;
288
+ subAccount_gt?: string | null | undefined;
289
+ subAccount_gte?: string | null | undefined;
290
+ subAccount_in?: Array<string> | null | undefined;
291
+ subAccount_lt?: string | null | undefined;
292
+ subAccount_lte?: string | null | undefined;
293
+ subAccount_not?: string | null | undefined;
294
+ subAccount_not_contains?: string | null | undefined;
295
+ subAccount_not_contains_nocase?: string | null | undefined;
296
+ subAccount_not_ends_with?: string | null | undefined;
297
+ subAccount_not_ends_with_nocase?: string | null | undefined;
298
+ subAccount_not_in?: Array<string> | null | undefined;
299
+ subAccount_not_starts_with?: string | null | undefined;
300
+ subAccount_not_starts_with_nocase?: string | null | undefined;
301
+ subAccount_starts_with?: string | null | undefined;
302
+ subAccount_starts_with_nocase?: string | null | undefined;
303
+ timestamp?: string | null | undefined;
304
+ timestamp_gt?: string | null | undefined;
305
+ timestamp_gte?: string | null | undefined;
306
+ timestamp_in?: Array<string> | null | undefined;
307
+ timestamp_lt?: string | null | undefined;
308
+ timestamp_lte?: string | null | undefined;
309
+ timestamp_not?: string | null | undefined;
310
+ timestamp_not_in?: Array<string> | null | undefined;
311
+ transaction?: string | null | undefined;
312
+ transaction_contains?: string | null | undefined;
313
+ transaction_gt?: string | null | undefined;
314
+ transaction_gte?: string | null | undefined;
315
+ transaction_in?: Array<string> | null | undefined;
316
+ transaction_lt?: string | null | undefined;
317
+ transaction_lte?: string | null | undefined;
318
+ transaction_not?: string | null | undefined;
319
+ transaction_not_contains?: string | null | undefined;
320
+ transaction_not_in?: Array<string> | null | undefined;
321
+ type?: string | null | undefined;
322
+ type_contains?: string | null | undefined;
323
+ type_contains_nocase?: string | null | undefined;
324
+ type_ends_with?: string | null | undefined;
325
+ type_ends_with_nocase?: string | null | undefined;
326
+ type_gt?: string | null | undefined;
327
+ type_gte?: string | null | undefined;
328
+ type_in?: Array<string> | null | undefined;
329
+ type_lt?: string | null | undefined;
330
+ type_lte?: string | null | undefined;
331
+ type_not?: string | null | undefined;
332
+ type_not_contains?: string | null | undefined;
333
+ type_not_contains_nocase?: string | null | undefined;
334
+ type_not_ends_with?: string | null | undefined;
335
+ type_not_ends_with_nocase?: string | null | undefined;
336
+ type_not_in?: Array<string> | null | undefined;
337
+ type_not_starts_with?: string | null | undefined;
338
+ type_not_starts_with_nocase?: string | null | undefined;
339
+ type_starts_with?: string | null | undefined;
340
+ type_starts_with_nocase?: string | null | undefined;
341
+ updateTimestamp?: string | null | undefined;
342
+ updateTimestamp_gt?: string | null | undefined;
343
+ updateTimestamp_gte?: string | null | undefined;
344
+ updateTimestamp_in?: Array<string> | null | undefined;
345
+ updateTimestamp_lt?: string | null | undefined;
346
+ updateTimestamp_lte?: string | null | undefined;
347
+ updateTimestamp_not?: string | null | undefined;
348
+ updateTimestamp_not_in?: Array<string> | null | undefined;
349
+ user?: string | null | undefined;
350
+ userRef?: string | null | undefined;
351
+ userRef_?: User_Filter | null | undefined;
352
+ userRef_contains?: string | null | undefined;
353
+ userRef_contains_nocase?: string | null | undefined;
354
+ userRef_ends_with?: string | null | undefined;
355
+ userRef_ends_with_nocase?: string | null | undefined;
356
+ userRef_gt?: string | null | undefined;
357
+ userRef_gte?: string | null | undefined;
358
+ userRef_in?: Array<string> | null | undefined;
359
+ userRef_lt?: string | null | undefined;
360
+ userRef_lte?: string | null | undefined;
361
+ userRef_not?: string | null | undefined;
362
+ userRef_not_contains?: string | null | undefined;
363
+ userRef_not_contains_nocase?: string | null | undefined;
364
+ userRef_not_ends_with?: string | null | undefined;
365
+ userRef_not_ends_with_nocase?: string | null | undefined;
366
+ userRef_not_in?: Array<string> | null | undefined;
367
+ userRef_not_starts_with?: string | null | undefined;
368
+ userRef_not_starts_with_nocase?: string | null | undefined;
369
+ userRef_starts_with?: string | null | undefined;
370
+ userRef_starts_with_nocase?: string | null | undefined;
371
+ user_contains?: string | null | undefined;
372
+ user_gt?: string | null | undefined;
373
+ user_gte?: string | null | undefined;
374
+ user_in?: Array<string> | null | undefined;
375
+ user_lt?: string | null | undefined;
376
+ user_lte?: string | null | undefined;
377
+ user_not?: string | null | undefined;
378
+ user_not_contains?: string | null | undefined;
379
+ user_not_in?: Array<string> | null | undefined;
380
+ virtualAccount?: string | null | undefined;
381
+ virtualAccount_?: VirtualAccount_Filter | null | undefined;
382
+ virtualAccount_contains?: string | null | undefined;
383
+ virtualAccount_contains_nocase?: string | null | undefined;
384
+ virtualAccount_ends_with?: string | null | undefined;
385
+ virtualAccount_ends_with_nocase?: string | null | undefined;
386
+ virtualAccount_gt?: string | null | undefined;
387
+ virtualAccount_gte?: string | null | undefined;
388
+ virtualAccount_in?: Array<string> | null | undefined;
389
+ virtualAccount_lt?: string | null | undefined;
390
+ virtualAccount_lte?: string | null | undefined;
391
+ virtualAccount_not?: string | null | undefined;
392
+ virtualAccount_not_contains?: string | null | undefined;
393
+ virtualAccount_not_contains_nocase?: string | null | undefined;
394
+ virtualAccount_not_ends_with?: string | null | undefined;
395
+ virtualAccount_not_ends_with_nocase?: string | null | undefined;
396
+ virtualAccount_not_in?: Array<string> | null | undefined;
397
+ virtualAccount_not_starts_with?: string | null | undefined;
398
+ virtualAccount_not_starts_with_nocase?: string | null | undefined;
399
+ virtualAccount_starts_with?: string | null | undefined;
400
+ virtualAccount_starts_with_nocase?: string | null | undefined;
401
+ withdraw?: string | null | undefined;
402
+ withdraw_gt?: string | null | undefined;
403
+ withdraw_gte?: string | null | undefined;
404
+ withdraw_in?: Array<string> | null | undefined;
405
+ withdraw_lt?: string | null | undefined;
406
+ withdraw_lte?: string | null | undefined;
407
+ withdraw_not?: string | null | undefined;
408
+ withdraw_not_in?: Array<string> | null | undefined;
409
+ };
410
+ export type Affiliate_Filter = {
411
+ /** Filter for the block changed event. */
412
+ _change_block?: BlockChangedFilter | null | undefined;
413
+ accountManager?: string | null | undefined;
414
+ accountManager_contains?: string | null | undefined;
415
+ accountManager_gt?: string | null | undefined;
416
+ accountManager_gte?: string | null | undefined;
417
+ accountManager_in?: Array<string> | null | undefined;
418
+ accountManager_lt?: string | null | undefined;
419
+ accountManager_lte?: string | null | undefined;
420
+ accountManager_not?: string | null | undefined;
421
+ accountManager_not_contains?: string | null | undefined;
422
+ accountManager_not_in?: Array<string> | null | undefined;
423
+ address?: string | null | undefined;
424
+ address_contains?: string | null | undefined;
425
+ address_gt?: string | null | undefined;
426
+ address_gte?: string | null | undefined;
427
+ address_in?: Array<string> | null | undefined;
428
+ address_lt?: string | null | undefined;
429
+ address_lte?: string | null | undefined;
430
+ address_not?: string | null | undefined;
431
+ address_not_contains?: string | null | undefined;
432
+ address_not_in?: Array<string> | null | undefined;
433
+ admin?: string | null | undefined;
434
+ admin_contains?: string | null | undefined;
435
+ admin_gt?: string | null | undefined;
436
+ admin_gte?: string | null | undefined;
437
+ admin_in?: Array<string> | null | undefined;
438
+ admin_lt?: string | null | undefined;
439
+ admin_lte?: string | null | undefined;
440
+ admin_not?: string | null | undefined;
441
+ admin_not_contains?: string | null | undefined;
442
+ admin_not_in?: Array<string> | null | undefined;
443
+ and?: Array<Affiliate_Filter | null | undefined> | null | undefined;
444
+ brandColor?: string | null | undefined;
445
+ brandColor_contains?: string | null | undefined;
446
+ brandColor_contains_nocase?: string | null | undefined;
447
+ brandColor_ends_with?: string | null | undefined;
448
+ brandColor_ends_with_nocase?: string | null | undefined;
449
+ brandColor_gt?: string | null | undefined;
450
+ brandColor_gte?: string | null | undefined;
451
+ brandColor_in?: Array<string> | null | undefined;
452
+ brandColor_lt?: string | null | undefined;
453
+ brandColor_lte?: string | null | undefined;
454
+ brandColor_not?: string | null | undefined;
455
+ brandColor_not_contains?: string | null | undefined;
456
+ brandColor_not_contains_nocase?: string | null | undefined;
457
+ brandColor_not_ends_with?: string | null | undefined;
458
+ brandColor_not_ends_with_nocase?: string | null | undefined;
459
+ brandColor_not_in?: Array<string> | null | undefined;
460
+ brandColor_not_starts_with?: string | null | undefined;
461
+ brandColor_not_starts_with_nocase?: string | null | undefined;
462
+ brandColor_starts_with?: string | null | undefined;
463
+ brandColor_starts_with_nocase?: string | null | undefined;
464
+ expressRate?: string | null | undefined;
465
+ expressRate_gt?: string | null | undefined;
466
+ expressRate_gte?: string | null | undefined;
467
+ expressRate_in?: Array<string> | null | undefined;
468
+ expressRate_lt?: string | null | undefined;
469
+ expressRate_lte?: string | null | undefined;
470
+ expressRate_not?: string | null | undefined;
471
+ expressRate_not_in?: Array<string> | null | undefined;
472
+ feeClaims_?: FeeClaim_Filter | null | undefined;
473
+ feeDistributor?: string | null | undefined;
474
+ feeDistributor_contains?: string | null | undefined;
475
+ feeDistributor_gt?: string | null | undefined;
476
+ feeDistributor_gte?: string | null | undefined;
477
+ feeDistributor_in?: Array<string> | null | undefined;
478
+ feeDistributor_lt?: string | null | undefined;
479
+ feeDistributor_lte?: string | null | undefined;
480
+ feeDistributor_not?: string | null | undefined;
481
+ feeDistributor_not_contains?: string | null | undefined;
482
+ feeDistributor_not_in?: Array<string> | null | undefined;
483
+ id?: string | number | null | undefined;
484
+ id_gt?: string | number | null | undefined;
485
+ id_gte?: string | number | null | undefined;
486
+ id_in?: Array<string | number> | null | undefined;
487
+ id_lt?: string | number | null | undefined;
488
+ id_lte?: string | number | null | undefined;
489
+ id_not?: string | number | null | undefined;
490
+ id_not_in?: Array<string | number> | null | undefined;
491
+ name?: string | null | undefined;
492
+ name_contains?: string | null | undefined;
493
+ name_contains_nocase?: string | null | undefined;
494
+ name_ends_with?: string | null | undefined;
495
+ name_ends_with_nocase?: string | null | undefined;
496
+ name_gt?: string | null | undefined;
497
+ name_gte?: string | null | undefined;
498
+ name_in?: Array<string> | null | undefined;
499
+ name_lt?: string | null | undefined;
500
+ name_lte?: string | null | undefined;
501
+ name_not?: string | null | undefined;
502
+ name_not_contains?: string | null | undefined;
503
+ name_not_contains_nocase?: string | null | undefined;
504
+ name_not_ends_with?: string | null | undefined;
505
+ name_not_ends_with_nocase?: string | null | undefined;
506
+ name_not_in?: Array<string> | null | undefined;
507
+ name_not_starts_with?: string | null | undefined;
508
+ name_not_starts_with_nocase?: string | null | undefined;
509
+ name_starts_with?: string | null | undefined;
510
+ name_starts_with_nocase?: string | null | undefined;
511
+ or?: Array<Affiliate_Filter | null | undefined> | null | undefined;
512
+ pendingAdmin?: string | null | undefined;
513
+ pendingAdmin_contains?: string | null | undefined;
514
+ pendingAdmin_gt?: string | null | undefined;
515
+ pendingAdmin_gte?: string | null | undefined;
516
+ pendingAdmin_in?: Array<string> | null | undefined;
517
+ pendingAdmin_lt?: string | null | undefined;
518
+ pendingAdmin_lte?: string | null | undefined;
519
+ pendingAdmin_not?: string | null | undefined;
520
+ pendingAdmin_not_contains?: string | null | undefined;
521
+ pendingAdmin_not_in?: Array<string> | null | undefined;
522
+ source?: string | null | undefined;
523
+ source_contains?: string | null | undefined;
524
+ source_gt?: string | null | undefined;
525
+ source_gte?: string | null | undefined;
526
+ source_in?: Array<string> | null | undefined;
527
+ source_lt?: string | null | undefined;
528
+ source_lte?: string | null | undefined;
529
+ source_not?: string | null | undefined;
530
+ source_not_contains?: string | null | undefined;
531
+ source_not_in?: Array<string> | null | undefined;
532
+ stakeholdersUpdatePending?: boolean | null | undefined;
533
+ stakeholdersUpdatePending_in?: Array<boolean> | null | undefined;
534
+ stakeholdersUpdatePending_not?: boolean | null | undefined;
535
+ stakeholdersUpdatePending_not_in?: Array<boolean> | null | undefined;
536
+ status?: string | null | undefined;
537
+ status_contains?: string | null | undefined;
538
+ status_contains_nocase?: string | null | undefined;
539
+ status_ends_with?: string | null | undefined;
540
+ status_ends_with_nocase?: string | null | undefined;
541
+ status_gt?: string | null | undefined;
542
+ status_gte?: string | null | undefined;
543
+ status_in?: Array<string> | null | undefined;
544
+ status_lt?: string | null | undefined;
545
+ status_lte?: string | null | undefined;
546
+ status_not?: string | null | undefined;
547
+ status_not_contains?: string | null | undefined;
548
+ status_not_contains_nocase?: string | null | undefined;
549
+ status_not_ends_with?: string | null | undefined;
550
+ status_not_ends_with_nocase?: string | null | undefined;
551
+ status_not_in?: Array<string> | null | undefined;
552
+ status_not_starts_with?: string | null | undefined;
553
+ status_not_starts_with_nocase?: string | null | undefined;
554
+ status_starts_with?: string | null | undefined;
555
+ status_starts_with_nocase?: string | null | undefined;
556
+ subAccounts_?: SubAccount_Filter | null | undefined;
557
+ symmioShare?: string | null | undefined;
558
+ symmioShare_gt?: string | null | undefined;
559
+ symmioShare_gte?: string | null | undefined;
560
+ symmioShare_in?: Array<string> | null | undefined;
561
+ symmioShare_lt?: string | null | undefined;
562
+ symmioShare_lte?: string | null | undefined;
563
+ symmioShare_not?: string | null | undefined;
564
+ symmioShare_not_in?: Array<string> | null | undefined;
565
+ timestamp?: string | null | undefined;
566
+ timestamp_gt?: string | null | undefined;
567
+ timestamp_gte?: string | null | undefined;
568
+ timestamp_in?: Array<string> | null | undefined;
569
+ timestamp_lt?: string | null | undefined;
570
+ timestamp_lte?: string | null | undefined;
571
+ timestamp_not?: string | null | undefined;
572
+ timestamp_not_in?: Array<string> | null | undefined;
573
+ updateTimestamp?: string | null | undefined;
574
+ updateTimestamp_gt?: string | null | undefined;
575
+ updateTimestamp_gte?: string | null | undefined;
576
+ updateTimestamp_in?: Array<string> | null | undefined;
577
+ updateTimestamp_lt?: string | null | undefined;
578
+ updateTimestamp_lte?: string | null | undefined;
579
+ updateTimestamp_not?: string | null | undefined;
580
+ updateTimestamp_not_in?: Array<string> | null | undefined;
581
+ virtualProvider?: string | null | undefined;
582
+ virtualProvider_contains?: string | null | undefined;
583
+ virtualProvider_gt?: string | null | undefined;
584
+ virtualProvider_gte?: string | null | undefined;
585
+ virtualProvider_in?: Array<string> | null | undefined;
586
+ virtualProvider_lt?: string | null | undefined;
587
+ virtualProvider_lte?: string | null | undefined;
588
+ virtualProvider_not?: string | null | undefined;
589
+ virtualProvider_not_contains?: string | null | undefined;
590
+ virtualProvider_not_in?: Array<string> | null | undefined;
591
+ };
592
+ export type BlockChangedFilter = {
593
+ number_gte: number;
594
+ };
595
+ export type FeeClaim_Filter = {
596
+ /** Filter for the block changed event. */
597
+ _change_block?: BlockChangedFilter | null | undefined;
598
+ affiliate?: string | null | undefined;
599
+ affiliate_?: Affiliate_Filter | null | undefined;
600
+ affiliate_contains?: string | null | undefined;
601
+ affiliate_contains_nocase?: string | null | undefined;
602
+ affiliate_ends_with?: string | null | undefined;
603
+ affiliate_ends_with_nocase?: string | null | undefined;
604
+ affiliate_gt?: string | null | undefined;
605
+ affiliate_gte?: string | null | undefined;
606
+ affiliate_in?: Array<string> | null | undefined;
607
+ affiliate_lt?: string | null | undefined;
608
+ affiliate_lte?: string | null | undefined;
609
+ affiliate_not?: string | null | undefined;
610
+ affiliate_not_contains?: string | null | undefined;
611
+ affiliate_not_contains_nocase?: string | null | undefined;
612
+ affiliate_not_ends_with?: string | null | undefined;
613
+ affiliate_not_ends_with_nocase?: string | null | undefined;
614
+ affiliate_not_in?: Array<string> | null | undefined;
615
+ affiliate_not_starts_with?: string | null | undefined;
616
+ affiliate_not_starts_with_nocase?: string | null | undefined;
617
+ affiliate_starts_with?: string | null | undefined;
618
+ affiliate_starts_with_nocase?: string | null | undefined;
619
+ amount?: string | null | undefined;
620
+ amount_gt?: string | null | undefined;
621
+ amount_gte?: string | null | undefined;
622
+ amount_in?: Array<string> | null | undefined;
623
+ amount_lt?: string | null | undefined;
624
+ amount_lte?: string | null | undefined;
625
+ amount_not?: string | null | undefined;
626
+ amount_not_in?: Array<string> | null | undefined;
627
+ and?: Array<FeeClaim_Filter | null | undefined> | null | undefined;
628
+ blockNumber?: string | null | undefined;
629
+ blockNumber_gt?: string | null | undefined;
630
+ blockNumber_gte?: string | null | undefined;
631
+ blockNumber_in?: Array<string> | null | undefined;
632
+ blockNumber_lt?: string | null | undefined;
633
+ blockNumber_lte?: string | null | undefined;
634
+ blockNumber_not?: string | null | undefined;
635
+ blockNumber_not_in?: Array<string> | null | undefined;
636
+ id?: string | number | null | undefined;
637
+ id_gt?: string | number | null | undefined;
638
+ id_gte?: string | number | null | undefined;
639
+ id_in?: Array<string | number> | null | undefined;
640
+ id_lt?: string | number | null | undefined;
641
+ id_lte?: string | number | null | undefined;
642
+ id_not?: string | number | null | undefined;
643
+ id_not_in?: Array<string | number> | null | undefined;
644
+ or?: Array<FeeClaim_Filter | null | undefined> | null | undefined;
645
+ source?: string | null | undefined;
646
+ source_contains?: string | null | undefined;
647
+ source_gt?: string | null | undefined;
648
+ source_gte?: string | null | undefined;
649
+ source_in?: Array<string> | null | undefined;
650
+ source_lt?: string | null | undefined;
651
+ source_lte?: string | null | undefined;
652
+ source_not?: string | null | undefined;
653
+ source_not_contains?: string | null | undefined;
654
+ source_not_in?: Array<string> | null | undefined;
655
+ symmio?: string | null | undefined;
656
+ symmio_contains?: string | null | undefined;
657
+ symmio_gt?: string | null | undefined;
658
+ symmio_gte?: string | null | undefined;
659
+ symmio_in?: Array<string> | null | undefined;
660
+ symmio_lt?: string | null | undefined;
661
+ symmio_lte?: string | null | undefined;
662
+ symmio_not?: string | null | undefined;
663
+ symmio_not_contains?: string | null | undefined;
664
+ symmio_not_in?: Array<string> | null | undefined;
665
+ timestamp?: string | null | undefined;
666
+ timestamp_gt?: string | null | undefined;
667
+ timestamp_gte?: string | null | undefined;
668
+ timestamp_in?: Array<string> | null | undefined;
669
+ timestamp_lt?: string | null | undefined;
670
+ timestamp_lte?: string | null | undefined;
671
+ timestamp_not?: string | null | undefined;
672
+ timestamp_not_in?: Array<string> | null | undefined;
673
+ transaction?: string | null | undefined;
674
+ transaction_contains?: string | null | undefined;
675
+ transaction_gt?: string | null | undefined;
676
+ transaction_gte?: string | null | undefined;
677
+ transaction_in?: Array<string> | null | undefined;
678
+ transaction_lt?: string | null | undefined;
679
+ transaction_lte?: string | null | undefined;
680
+ transaction_not?: string | null | undefined;
681
+ transaction_not_contains?: string | null | undefined;
682
+ transaction_not_in?: Array<string> | null | undefined;
683
+ };
684
+ export type FundingIndexCheckpoint_Filter = {
685
+ /** Filter for the block changed event. */
686
+ _change_block?: BlockChangedFilter | null | undefined;
687
+ accumulatedLongRate?: string | null | undefined;
688
+ accumulatedLongRate_gt?: string | null | undefined;
689
+ accumulatedLongRate_gte?: string | null | undefined;
690
+ accumulatedLongRate_in?: Array<string> | null | undefined;
691
+ accumulatedLongRate_lt?: string | null | undefined;
692
+ accumulatedLongRate_lte?: string | null | undefined;
693
+ accumulatedLongRate_not?: string | null | undefined;
694
+ accumulatedLongRate_not_in?: Array<string> | null | undefined;
695
+ accumulatedShortRate?: string | null | undefined;
696
+ accumulatedShortRate_gt?: string | null | undefined;
697
+ accumulatedShortRate_gte?: string | null | undefined;
698
+ accumulatedShortRate_in?: Array<string> | null | undefined;
699
+ accumulatedShortRate_lt?: string | null | undefined;
700
+ accumulatedShortRate_lte?: string | null | undefined;
701
+ accumulatedShortRate_not?: string | null | undefined;
702
+ accumulatedShortRate_not_in?: Array<string> | null | undefined;
703
+ and?: Array<FundingIndexCheckpoint_Filter | null | undefined> | null | undefined;
704
+ blockNumber?: string | null | undefined;
705
+ blockNumber_gt?: string | null | undefined;
706
+ blockNumber_gte?: string | null | undefined;
707
+ blockNumber_in?: Array<string> | null | undefined;
708
+ blockNumber_lt?: string | null | undefined;
709
+ blockNumber_lte?: string | null | undefined;
710
+ blockNumber_not?: string | null | undefined;
711
+ blockNumber_not_in?: Array<string> | null | undefined;
712
+ currentLongRate?: string | null | undefined;
713
+ currentLongRate_gt?: string | null | undefined;
714
+ currentLongRate_gte?: string | null | undefined;
715
+ currentLongRate_in?: Array<string> | null | undefined;
716
+ currentLongRate_lt?: string | null | undefined;
717
+ currentLongRate_lte?: string | null | undefined;
718
+ currentLongRate_not?: string | null | undefined;
719
+ currentLongRate_not_in?: Array<string> | null | undefined;
720
+ currentShortRate?: string | null | undefined;
721
+ currentShortRate_gt?: string | null | undefined;
722
+ currentShortRate_gte?: string | null | undefined;
723
+ currentShortRate_in?: Array<string> | null | undefined;
724
+ currentShortRate_lt?: string | null | undefined;
725
+ currentShortRate_lte?: string | null | undefined;
726
+ currentShortRate_not?: string | null | undefined;
727
+ currentShortRate_not_in?: Array<string> | null | undefined;
728
+ epochDuration?: string | null | undefined;
729
+ epochDuration_gt?: string | null | undefined;
730
+ epochDuration_gte?: string | null | undefined;
731
+ epochDuration_in?: Array<string> | null | undefined;
732
+ epochDuration_lt?: string | null | undefined;
733
+ epochDuration_lte?: string | null | undefined;
734
+ epochDuration_not?: string | null | undefined;
735
+ epochDuration_not_in?: Array<string> | null | undefined;
736
+ eventType?: string | null | undefined;
737
+ eventType_contains?: string | null | undefined;
738
+ eventType_contains_nocase?: string | null | undefined;
739
+ eventType_ends_with?: string | null | undefined;
740
+ eventType_ends_with_nocase?: string | null | undefined;
741
+ eventType_gt?: string | null | undefined;
742
+ eventType_gte?: string | null | undefined;
743
+ eventType_in?: Array<string> | null | undefined;
744
+ eventType_lt?: string | null | undefined;
745
+ eventType_lte?: string | null | undefined;
746
+ eventType_not?: string | null | undefined;
747
+ eventType_not_contains?: string | null | undefined;
748
+ eventType_not_contains_nocase?: string | null | undefined;
749
+ eventType_not_ends_with?: string | null | undefined;
750
+ eventType_not_ends_with_nocase?: string | null | undefined;
751
+ eventType_not_in?: Array<string> | null | undefined;
752
+ eventType_not_starts_with?: string | null | undefined;
753
+ eventType_not_starts_with_nocase?: string | null | undefined;
754
+ eventType_starts_with?: string | null | undefined;
755
+ eventType_starts_with_nocase?: string | null | undefined;
756
+ id?: string | number | null | undefined;
757
+ id_gt?: string | number | null | undefined;
758
+ id_gte?: string | number | null | undefined;
759
+ id_in?: Array<string | number> | null | undefined;
760
+ id_lt?: string | number | null | undefined;
761
+ id_lte?: string | number | null | undefined;
762
+ id_not?: string | number | null | undefined;
763
+ id_not_in?: Array<string | number> | null | undefined;
764
+ lastUpdatedEpoch?: string | null | undefined;
765
+ lastUpdatedEpoch_gt?: string | null | undefined;
766
+ lastUpdatedEpoch_gte?: string | null | undefined;
767
+ lastUpdatedEpoch_in?: Array<string> | null | undefined;
768
+ lastUpdatedEpoch_lt?: string | null | undefined;
769
+ lastUpdatedEpoch_lte?: string | null | undefined;
770
+ lastUpdatedEpoch_not?: string | null | undefined;
771
+ lastUpdatedEpoch_not_in?: Array<string> | null | undefined;
772
+ lastUpdatedTimestamp?: string | null | undefined;
773
+ lastUpdatedTimestamp_gt?: string | null | undefined;
774
+ lastUpdatedTimestamp_gte?: string | null | undefined;
775
+ lastUpdatedTimestamp_in?: Array<string> | null | undefined;
776
+ lastUpdatedTimestamp_lt?: string | null | undefined;
777
+ lastUpdatedTimestamp_lte?: string | null | undefined;
778
+ lastUpdatedTimestamp_not?: string | null | undefined;
779
+ lastUpdatedTimestamp_not_in?: Array<string> | null | undefined;
780
+ marketPrice?: string | null | undefined;
781
+ marketPrice_gt?: string | null | undefined;
782
+ marketPrice_gte?: string | null | undefined;
783
+ marketPrice_in?: Array<string> | null | undefined;
784
+ marketPrice_lt?: string | null | undefined;
785
+ marketPrice_lte?: string | null | undefined;
786
+ marketPrice_not?: string | null | undefined;
787
+ marketPrice_not_in?: Array<string> | null | undefined;
788
+ or?: Array<FundingIndexCheckpoint_Filter | null | undefined> | null | undefined;
789
+ partyB?: string | null | undefined;
790
+ partyB_contains?: string | null | undefined;
791
+ partyB_gt?: string | null | undefined;
792
+ partyB_gte?: string | null | undefined;
793
+ partyB_in?: Array<string> | null | undefined;
794
+ partyB_lt?: string | null | undefined;
795
+ partyB_lte?: string | null | undefined;
796
+ partyB_not?: string | null | undefined;
797
+ partyB_not_contains?: string | null | undefined;
798
+ partyB_not_in?: Array<string> | null | undefined;
799
+ rawLongRate?: string | null | undefined;
800
+ rawLongRate_gt?: string | null | undefined;
801
+ rawLongRate_gte?: string | null | undefined;
802
+ rawLongRate_in?: Array<string> | null | undefined;
803
+ rawLongRate_lt?: string | null | undefined;
804
+ rawLongRate_lte?: string | null | undefined;
805
+ rawLongRate_not?: string | null | undefined;
806
+ rawLongRate_not_in?: Array<string> | null | undefined;
807
+ rawShortRate?: string | null | undefined;
808
+ rawShortRate_gt?: string | null | undefined;
809
+ rawShortRate_gte?: string | null | undefined;
810
+ rawShortRate_in?: Array<string> | null | undefined;
811
+ rawShortRate_lt?: string | null | undefined;
812
+ rawShortRate_lte?: string | null | undefined;
813
+ rawShortRate_not?: string | null | undefined;
814
+ rawShortRate_not_in?: Array<string> | null | undefined;
815
+ snapshotLongFee?: string | null | undefined;
816
+ snapshotLongFee_gt?: string | null | undefined;
817
+ snapshotLongFee_gte?: string | null | undefined;
818
+ snapshotLongFee_in?: Array<string> | null | undefined;
819
+ snapshotLongFee_lt?: string | null | undefined;
820
+ snapshotLongFee_lte?: string | null | undefined;
821
+ snapshotLongFee_not?: string | null | undefined;
822
+ snapshotLongFee_not_in?: Array<string> | null | undefined;
823
+ snapshotShortFee?: string | null | undefined;
824
+ snapshotShortFee_gt?: string | null | undefined;
825
+ snapshotShortFee_gte?: string | null | undefined;
826
+ snapshotShortFee_in?: Array<string> | null | undefined;
827
+ snapshotShortFee_lt?: string | null | undefined;
828
+ snapshotShortFee_lte?: string | null | undefined;
829
+ snapshotShortFee_not?: string | null | undefined;
830
+ snapshotShortFee_not_in?: Array<string> | null | undefined;
831
+ source?: string | null | undefined;
832
+ source_contains?: string | null | undefined;
833
+ source_gt?: string | null | undefined;
834
+ source_gte?: string | null | undefined;
835
+ source_in?: Array<string> | null | undefined;
836
+ source_lt?: string | null | undefined;
837
+ source_lte?: string | null | undefined;
838
+ source_not?: string | null | undefined;
839
+ source_not_contains?: string | null | undefined;
840
+ source_not_in?: Array<string> | null | undefined;
841
+ startEpoch?: string | null | undefined;
842
+ startEpochTimestamp?: string | null | undefined;
843
+ startEpochTimestamp_gt?: string | null | undefined;
844
+ startEpochTimestamp_gte?: string | null | undefined;
845
+ startEpochTimestamp_in?: Array<string> | null | undefined;
846
+ startEpochTimestamp_lt?: string | null | undefined;
847
+ startEpochTimestamp_lte?: string | null | undefined;
848
+ startEpochTimestamp_not?: string | null | undefined;
849
+ startEpochTimestamp_not_in?: Array<string> | null | undefined;
850
+ startEpoch_gt?: string | null | undefined;
851
+ startEpoch_gte?: string | null | undefined;
852
+ startEpoch_in?: Array<string> | null | undefined;
853
+ startEpoch_lt?: string | null | undefined;
854
+ startEpoch_lte?: string | null | undefined;
855
+ startEpoch_not?: string | null | undefined;
856
+ startEpoch_not_in?: Array<string> | null | undefined;
857
+ symbolId?: string | null | undefined;
858
+ symbolId_gt?: string | null | undefined;
859
+ symbolId_gte?: string | null | undefined;
860
+ symbolId_in?: Array<string> | null | undefined;
861
+ symbolId_lt?: string | null | undefined;
862
+ symbolId_lte?: string | null | undefined;
863
+ symbolId_not?: string | null | undefined;
864
+ symbolId_not_in?: Array<string> | null | undefined;
865
+ symbolName?: string | null | undefined;
866
+ symbolName_contains?: string | null | undefined;
867
+ symbolName_contains_nocase?: string | null | undefined;
868
+ symbolName_ends_with?: string | null | undefined;
869
+ symbolName_ends_with_nocase?: string | null | undefined;
870
+ symbolName_gt?: string | null | undefined;
871
+ symbolName_gte?: string | null | undefined;
872
+ symbolName_in?: Array<string> | null | undefined;
873
+ symbolName_lt?: string | null | undefined;
874
+ symbolName_lte?: string | null | undefined;
875
+ symbolName_not?: string | null | undefined;
876
+ symbolName_not_contains?: string | null | undefined;
877
+ symbolName_not_contains_nocase?: string | null | undefined;
878
+ symbolName_not_ends_with?: string | null | undefined;
879
+ symbolName_not_ends_with_nocase?: string | null | undefined;
880
+ symbolName_not_in?: Array<string> | null | undefined;
881
+ symbolName_not_starts_with?: string | null | undefined;
882
+ symbolName_not_starts_with_nocase?: string | null | undefined;
883
+ symbolName_starts_with?: string | null | undefined;
884
+ symbolName_starts_with_nocase?: string | null | undefined;
885
+ timestamp?: string | null | undefined;
886
+ timestamp_gt?: string | null | undefined;
887
+ timestamp_gte?: string | null | undefined;
888
+ timestamp_in?: Array<string> | null | undefined;
889
+ timestamp_lt?: string | null | undefined;
890
+ timestamp_lte?: string | null | undefined;
891
+ timestamp_not?: string | null | undefined;
892
+ timestamp_not_in?: Array<string> | null | undefined;
893
+ transaction?: string | null | undefined;
894
+ transaction_contains?: string | null | undefined;
895
+ transaction_gt?: string | null | undefined;
896
+ transaction_gte?: string | null | undefined;
897
+ transaction_in?: Array<string> | null | undefined;
898
+ transaction_lt?: string | null | undefined;
899
+ transaction_lte?: string | null | undefined;
900
+ transaction_not?: string | null | undefined;
901
+ transaction_not_contains?: string | null | undefined;
902
+ transaction_not_in?: Array<string> | null | undefined;
903
+ };
904
+ export type FundingIndexCheckpoint_OrderBy = "accumulatedLongRate" | "accumulatedShortRate" | "blockNumber" | "currentLongRate" | "currentShortRate" | "epochDuration" | "eventType" | "id" | "lastUpdatedEpoch" | "lastUpdatedTimestamp" | "marketPrice" | "partyB" | "rawLongRate" | "rawShortRate" | "snapshotLongFee" | "snapshotShortFee" | "source" | "startEpoch" | "startEpochTimestamp" | "symbolId" | "symbolName" | "timestamp" | "transaction";
905
+ export type LiquidationDetail_Filter = {
906
+ /** Filter for the block changed event. */
907
+ _change_block?: BlockChangedFilter | null | undefined;
908
+ accountLayerSource?: string | null | undefined;
909
+ accountLayerSource_contains?: string | null | undefined;
910
+ accountLayerSource_gt?: string | null | undefined;
911
+ accountLayerSource_gte?: string | null | undefined;
912
+ accountLayerSource_in?: Array<string> | null | undefined;
913
+ accountLayerSource_lt?: string | null | undefined;
914
+ accountLayerSource_lte?: string | null | undefined;
915
+ accountLayerSource_not?: string | null | undefined;
916
+ accountLayerSource_not_contains?: string | null | undefined;
917
+ accountLayerSource_not_in?: Array<string> | null | undefined;
918
+ affiliate?: string | null | undefined;
919
+ affiliate_contains?: string | null | undefined;
920
+ affiliate_gt?: string | null | undefined;
921
+ affiliate_gte?: string | null | undefined;
922
+ affiliate_in?: Array<string> | null | undefined;
923
+ affiliate_lt?: string | null | undefined;
924
+ affiliate_lte?: string | null | undefined;
925
+ affiliate_not?: string | null | undefined;
926
+ affiliate_not_contains?: string | null | undefined;
927
+ affiliate_not_in?: Array<string> | null | undefined;
928
+ allocatedBalance?: string | null | undefined;
929
+ allocatedBalance_gt?: string | null | undefined;
930
+ allocatedBalance_gte?: string | null | undefined;
931
+ allocatedBalance_in?: Array<string> | null | undefined;
932
+ allocatedBalance_lt?: string | null | undefined;
933
+ allocatedBalance_lte?: string | null | undefined;
934
+ allocatedBalance_not?: string | null | undefined;
935
+ allocatedBalance_not_in?: Array<string> | null | undefined;
936
+ and?: Array<LiquidationDetail_Filter | null | undefined> | null | undefined;
937
+ autoTakeover?: boolean | null | undefined;
938
+ autoTakeover_in?: Array<boolean> | null | undefined;
939
+ autoTakeover_not?: boolean | null | undefined;
940
+ autoTakeover_not_in?: Array<boolean> | null | undefined;
941
+ coreSource?: string | null | undefined;
942
+ coreSource_contains?: string | null | undefined;
943
+ coreSource_gt?: string | null | undefined;
944
+ coreSource_gte?: string | null | undefined;
945
+ coreSource_in?: Array<string> | null | undefined;
946
+ coreSource_lt?: string | null | undefined;
947
+ coreSource_lte?: string | null | undefined;
948
+ coreSource_not?: string | null | undefined;
949
+ coreSource_not_contains?: string | null | undefined;
950
+ coreSource_not_in?: Array<string> | null | undefined;
951
+ deferredBalance?: string | null | undefined;
952
+ deferredBalance_gt?: string | null | undefined;
953
+ deferredBalance_gte?: string | null | undefined;
954
+ deferredBalance_in?: Array<string> | null | undefined;
955
+ deferredBalance_lt?: string | null | undefined;
956
+ deferredBalance_lte?: string | null | undefined;
957
+ deferredBalance_not?: string | null | undefined;
958
+ deferredBalance_not_in?: Array<string> | null | undefined;
959
+ deficit?: string | null | undefined;
960
+ deficit_gt?: string | null | undefined;
961
+ deficit_gte?: string | null | undefined;
962
+ deficit_in?: Array<string> | null | undefined;
963
+ deficit_lt?: string | null | undefined;
964
+ deficit_lte?: string | null | undefined;
965
+ deficit_not?: string | null | undefined;
966
+ deficit_not_in?: Array<string> | null | undefined;
967
+ deploymentId?: string | null | undefined;
968
+ deploymentId_contains?: string | null | undefined;
969
+ deploymentId_contains_nocase?: string | null | undefined;
970
+ deploymentId_ends_with?: string | null | undefined;
971
+ deploymentId_ends_with_nocase?: string | null | undefined;
972
+ deploymentId_gt?: string | null | undefined;
973
+ deploymentId_gte?: string | null | undefined;
974
+ deploymentId_in?: Array<string> | null | undefined;
975
+ deploymentId_lt?: string | null | undefined;
976
+ deploymentId_lte?: string | null | undefined;
977
+ deploymentId_not?: string | null | undefined;
978
+ deploymentId_not_contains?: string | null | undefined;
979
+ deploymentId_not_contains_nocase?: string | null | undefined;
980
+ deploymentId_not_ends_with?: string | null | undefined;
981
+ deploymentId_not_ends_with_nocase?: string | null | undefined;
982
+ deploymentId_not_in?: Array<string> | null | undefined;
983
+ deploymentId_not_starts_with?: string | null | undefined;
984
+ deploymentId_not_starts_with_nocase?: string | null | undefined;
985
+ deploymentId_starts_with?: string | null | undefined;
986
+ deploymentId_starts_with_nocase?: string | null | undefined;
987
+ disputed?: boolean | null | undefined;
988
+ disputed_in?: Array<boolean> | null | undefined;
989
+ disputed_not?: boolean | null | undefined;
990
+ disputed_not_in?: Array<boolean> | null | undefined;
991
+ events_?: LiquidationEvent_Filter | null | undefined;
992
+ freeBalance?: string | null | undefined;
993
+ freeBalance_gt?: string | null | undefined;
994
+ freeBalance_gte?: string | null | undefined;
995
+ freeBalance_in?: Array<string> | null | undefined;
996
+ freeBalance_lt?: string | null | undefined;
997
+ freeBalance_lte?: string | null | undefined;
998
+ freeBalance_not?: string | null | undefined;
999
+ freeBalance_not_in?: Array<string> | null | undefined;
1000
+ freeMarginAtStart?: string | null | undefined;
1001
+ freeMarginAtStart_gt?: string | null | undefined;
1002
+ freeMarginAtStart_gte?: string | null | undefined;
1003
+ freeMarginAtStart_in?: Array<string> | null | undefined;
1004
+ freeMarginAtStart_lt?: string | null | undefined;
1005
+ freeMarginAtStart_lte?: string | null | undefined;
1006
+ freeMarginAtStart_not?: string | null | undefined;
1007
+ freeMarginAtStart_not_in?: Array<string> | null | undefined;
1008
+ fullyLiquidated?: boolean | null | undefined;
1009
+ fullyLiquidatedTimestamp?: string | null | undefined;
1010
+ fullyLiquidatedTimestamp_gt?: string | null | undefined;
1011
+ fullyLiquidatedTimestamp_gte?: string | null | undefined;
1012
+ fullyLiquidatedTimestamp_in?: Array<string> | null | undefined;
1013
+ fullyLiquidatedTimestamp_lt?: string | null | undefined;
1014
+ fullyLiquidatedTimestamp_lte?: string | null | undefined;
1015
+ fullyLiquidatedTimestamp_not?: string | null | undefined;
1016
+ fullyLiquidatedTimestamp_not_in?: Array<string> | null | undefined;
1017
+ fullyLiquidated_in?: Array<boolean> | null | undefined;
1018
+ fullyLiquidated_not?: boolean | null | undefined;
1019
+ fullyLiquidated_not_in?: Array<boolean> | null | undefined;
1020
+ globalCounter?: string | null | undefined;
1021
+ globalCounter_gt?: string | null | undefined;
1022
+ globalCounter_gte?: string | null | undefined;
1023
+ globalCounter_in?: Array<string> | null | undefined;
1024
+ globalCounter_lt?: string | null | undefined;
1025
+ globalCounter_lte?: string | null | undefined;
1026
+ globalCounter_not?: string | null | undefined;
1027
+ globalCounter_not_in?: Array<string> | null | undefined;
1028
+ id?: string | number | null | undefined;
1029
+ id_gt?: string | number | null | undefined;
1030
+ id_gte?: string | number | null | undefined;
1031
+ id_in?: Array<string | number> | null | undefined;
1032
+ id_lt?: string | number | null | undefined;
1033
+ id_lte?: string | number | null | undefined;
1034
+ id_not?: string | number | null | undefined;
1035
+ id_not_in?: Array<string | number> | null | undefined;
1036
+ involvedPartyBCounts?: string | null | undefined;
1037
+ involvedPartyBCounts_gt?: string | null | undefined;
1038
+ involvedPartyBCounts_gte?: string | null | undefined;
1039
+ involvedPartyBCounts_in?: Array<string> | null | undefined;
1040
+ involvedPartyBCounts_lt?: string | null | undefined;
1041
+ involvedPartyBCounts_lte?: string | null | undefined;
1042
+ involvedPartyBCounts_not?: string | null | undefined;
1043
+ involvedPartyBCounts_not_in?: Array<string> | null | undefined;
1044
+ liquidationAllocatedBalance?: string | null | undefined;
1045
+ liquidationAllocatedBalance_gt?: string | null | undefined;
1046
+ liquidationAllocatedBalance_gte?: string | null | undefined;
1047
+ liquidationAllocatedBalance_in?: Array<string> | null | undefined;
1048
+ liquidationAllocatedBalance_lt?: string | null | undefined;
1049
+ liquidationAllocatedBalance_lte?: string | null | undefined;
1050
+ liquidationAllocatedBalance_not?: string | null | undefined;
1051
+ liquidationAllocatedBalance_not_in?: Array<string> | null | undefined;
1052
+ liquidationBlockNumber?: string | null | undefined;
1053
+ liquidationBlockNumber_gt?: string | null | undefined;
1054
+ liquidationBlockNumber_gte?: string | null | undefined;
1055
+ liquidationBlockNumber_in?: Array<string> | null | undefined;
1056
+ liquidationBlockNumber_lt?: string | null | undefined;
1057
+ liquidationBlockNumber_lte?: string | null | undefined;
1058
+ liquidationBlockNumber_not?: string | null | undefined;
1059
+ liquidationBlockNumber_not_in?: Array<string> | null | undefined;
1060
+ liquidationEscrow?: string | null | undefined;
1061
+ liquidationEscrow_gt?: string | null | undefined;
1062
+ liquidationEscrow_gte?: string | null | undefined;
1063
+ liquidationEscrow_in?: Array<string> | null | undefined;
1064
+ liquidationEscrow_lt?: string | null | undefined;
1065
+ liquidationEscrow_lte?: string | null | undefined;
1066
+ liquidationEscrow_not?: string | null | undefined;
1067
+ liquidationEscrow_not_in?: Array<string> | null | undefined;
1068
+ liquidationFee?: string | null | undefined;
1069
+ liquidationFee_gt?: string | null | undefined;
1070
+ liquidationFee_gte?: string | null | undefined;
1071
+ liquidationFee_in?: Array<string> | null | undefined;
1072
+ liquidationFee_lt?: string | null | undefined;
1073
+ liquidationFee_lte?: string | null | undefined;
1074
+ liquidationFee_not?: string | null | undefined;
1075
+ liquidationFee_not_in?: Array<string> | null | undefined;
1076
+ liquidationId?: string | null | undefined;
1077
+ liquidationId_contains?: string | null | undefined;
1078
+ liquidationId_gt?: string | null | undefined;
1079
+ liquidationId_gte?: string | null | undefined;
1080
+ liquidationId_in?: Array<string> | null | undefined;
1081
+ liquidationId_lt?: string | null | undefined;
1082
+ liquidationId_lte?: string | null | undefined;
1083
+ liquidationId_not?: string | null | undefined;
1084
+ liquidationId_not_contains?: string | null | undefined;
1085
+ liquidationId_not_in?: Array<string> | null | undefined;
1086
+ liquidationStartTransaction?: string | null | undefined;
1087
+ liquidationStartTransaction_contains?: string | null | undefined;
1088
+ liquidationStartTransaction_gt?: string | null | undefined;
1089
+ liquidationStartTransaction_gte?: string | null | undefined;
1090
+ liquidationStartTransaction_in?: Array<string> | null | undefined;
1091
+ liquidationStartTransaction_lt?: string | null | undefined;
1092
+ liquidationStartTransaction_lte?: string | null | undefined;
1093
+ liquidationStartTransaction_not?: string | null | undefined;
1094
+ liquidationStartTransaction_not_contains?: string | null | undefined;
1095
+ liquidationStartTransaction_not_in?: Array<string> | null | undefined;
1096
+ liquidationTimestamp?: string | null | undefined;
1097
+ liquidationTimestamp_gt?: string | null | undefined;
1098
+ liquidationTimestamp_gte?: string | null | undefined;
1099
+ liquidationTimestamp_in?: Array<string> | null | undefined;
1100
+ liquidationTimestamp_lt?: string | null | undefined;
1101
+ liquidationTimestamp_lte?: string | null | undefined;
1102
+ liquidationTimestamp_not?: string | null | undefined;
1103
+ liquidationTimestamp_not_in?: Array<string> | null | undefined;
1104
+ liquidationType?: number | null | undefined;
1105
+ liquidationType_gt?: number | null | undefined;
1106
+ liquidationType_gte?: number | null | undefined;
1107
+ liquidationType_in?: Array<number> | null | undefined;
1108
+ liquidationType_lt?: number | null | undefined;
1109
+ liquidationType_lte?: number | null | undefined;
1110
+ liquidationType_not?: number | null | undefined;
1111
+ liquidationType_not_in?: Array<number> | null | undefined;
1112
+ liquidator?: string | null | undefined;
1113
+ liquidator_contains?: string | null | undefined;
1114
+ liquidator_gt?: string | null | undefined;
1115
+ liquidator_gte?: string | null | undefined;
1116
+ liquidator_in?: Array<string> | null | undefined;
1117
+ liquidator_lt?: string | null | undefined;
1118
+ liquidator_lte?: string | null | undefined;
1119
+ liquidator_not?: string | null | undefined;
1120
+ liquidator_not_contains?: string | null | undefined;
1121
+ liquidator_not_in?: Array<string> | null | undefined;
1122
+ lockedCva?: string | null | undefined;
1123
+ lockedCva_gt?: string | null | undefined;
1124
+ lockedCva_gte?: string | null | undefined;
1125
+ lockedCva_in?: Array<string> | null | undefined;
1126
+ lockedCva_lt?: string | null | undefined;
1127
+ lockedCva_lte?: string | null | undefined;
1128
+ lockedCva_not?: string | null | undefined;
1129
+ lockedCva_not_in?: Array<string> | null | undefined;
1130
+ lockedLf?: string | null | undefined;
1131
+ lockedLf_gt?: string | null | undefined;
1132
+ lockedLf_gte?: string | null | undefined;
1133
+ lockedLf_in?: Array<string> | null | undefined;
1134
+ lockedLf_lt?: string | null | undefined;
1135
+ lockedLf_lte?: string | null | undefined;
1136
+ lockedLf_not?: string | null | undefined;
1137
+ lockedLf_not_in?: Array<string> | null | undefined;
1138
+ lockedPartyAmm?: string | null | undefined;
1139
+ lockedPartyAmm_gt?: string | null | undefined;
1140
+ lockedPartyAmm_gte?: string | null | undefined;
1141
+ lockedPartyAmm_in?: Array<string> | null | undefined;
1142
+ lockedPartyAmm_lt?: string | null | undefined;
1143
+ lockedPartyAmm_lte?: string | null | undefined;
1144
+ lockedPartyAmm_not?: string | null | undefined;
1145
+ lockedPartyAmm_not_in?: Array<string> | null | undefined;
1146
+ lockedPartyBmm?: string | null | undefined;
1147
+ lockedPartyBmm_gt?: string | null | undefined;
1148
+ lockedPartyBmm_gte?: string | null | undefined;
1149
+ lockedPartyBmm_in?: Array<string> | null | undefined;
1150
+ lockedPartyBmm_lt?: string | null | undefined;
1151
+ lockedPartyBmm_lte?: string | null | undefined;
1152
+ lockedPartyBmm_not?: string | null | undefined;
1153
+ lockedPartyBmm_not_in?: Array<string> | null | undefined;
1154
+ lossRestsAt?: string | null | undefined;
1155
+ lossRestsAt_gt?: string | null | undefined;
1156
+ lossRestsAt_gte?: string | null | undefined;
1157
+ lossRestsAt_in?: Array<string> | null | undefined;
1158
+ lossRestsAt_lt?: string | null | undefined;
1159
+ lossRestsAt_lte?: string | null | undefined;
1160
+ lossRestsAt_not?: string | null | undefined;
1161
+ lossRestsAt_not_in?: Array<string> | null | undefined;
1162
+ or?: Array<LiquidationDetail_Filter | null | undefined> | null | undefined;
1163
+ owner?: string | null | undefined;
1164
+ owner_contains?: string | null | undefined;
1165
+ owner_gt?: string | null | undefined;
1166
+ owner_gte?: string | null | undefined;
1167
+ owner_in?: Array<string> | null | undefined;
1168
+ owner_lt?: string | null | undefined;
1169
+ owner_lte?: string | null | undefined;
1170
+ owner_not?: string | null | undefined;
1171
+ owner_not_contains?: string | null | undefined;
1172
+ owner_not_in?: Array<string> | null | undefined;
1173
+ paidCva?: string | null | undefined;
1174
+ paidCva_gt?: string | null | undefined;
1175
+ paidCva_gte?: string | null | undefined;
1176
+ paidCva_in?: Array<string> | null | undefined;
1177
+ paidCva_lt?: string | null | undefined;
1178
+ paidCva_lte?: string | null | undefined;
1179
+ paidCva_not?: string | null | undefined;
1180
+ paidCva_not_in?: Array<string> | null | undefined;
1181
+ paidLf?: string | null | undefined;
1182
+ paidLf_gt?: string | null | undefined;
1183
+ paidLf_gte?: string | null | undefined;
1184
+ paidLf_in?: Array<string> | null | undefined;
1185
+ paidLf_lt?: string | null | undefined;
1186
+ paidLf_lte?: string | null | undefined;
1187
+ paidLf_not?: string | null | undefined;
1188
+ paidLf_not_in?: Array<string> | null | undefined;
1189
+ partyA?: string | null | undefined;
1190
+ partyAAccount?: string | null | undefined;
1191
+ partyAAccount_?: Account_Filter | null | undefined;
1192
+ partyAAccount_contains?: string | null | undefined;
1193
+ partyAAccount_contains_nocase?: string | null | undefined;
1194
+ partyAAccount_ends_with?: string | null | undefined;
1195
+ partyAAccount_ends_with_nocase?: string | null | undefined;
1196
+ partyAAccount_gt?: string | null | undefined;
1197
+ partyAAccount_gte?: string | null | undefined;
1198
+ partyAAccount_in?: Array<string> | null | undefined;
1199
+ partyAAccount_lt?: string | null | undefined;
1200
+ partyAAccount_lte?: string | null | undefined;
1201
+ partyAAccount_not?: string | null | undefined;
1202
+ partyAAccount_not_contains?: string | null | undefined;
1203
+ partyAAccount_not_contains_nocase?: string | null | undefined;
1204
+ partyAAccount_not_ends_with?: string | null | undefined;
1205
+ partyAAccount_not_ends_with_nocase?: string | null | undefined;
1206
+ partyAAccount_not_in?: Array<string> | null | undefined;
1207
+ partyAAccount_not_starts_with?: string | null | undefined;
1208
+ partyAAccount_not_starts_with_nocase?: string | null | undefined;
1209
+ partyAAccount_starts_with?: string | null | undefined;
1210
+ partyAAccount_starts_with_nocase?: string | null | undefined;
1211
+ partyAAccumulatedUpnl?: string | null | undefined;
1212
+ partyAAccumulatedUpnl_gt?: string | null | undefined;
1213
+ partyAAccumulatedUpnl_gte?: string | null | undefined;
1214
+ partyAAccumulatedUpnl_in?: Array<string> | null | undefined;
1215
+ partyAAccumulatedUpnl_lt?: string | null | undefined;
1216
+ partyAAccumulatedUpnl_lte?: string | null | undefined;
1217
+ partyAAccumulatedUpnl_not?: string | null | undefined;
1218
+ partyAAccumulatedUpnl_not_in?: Array<string> | null | undefined;
1219
+ partyA_contains?: string | null | undefined;
1220
+ partyA_gt?: string | null | undefined;
1221
+ partyA_gte?: string | null | undefined;
1222
+ partyA_in?: Array<string> | null | undefined;
1223
+ partyA_lt?: string | null | undefined;
1224
+ partyA_lte?: string | null | undefined;
1225
+ partyA_not?: string | null | undefined;
1226
+ partyA_not_contains?: string | null | undefined;
1227
+ partyA_not_in?: Array<string> | null | undefined;
1228
+ potentialLf?: string | null | undefined;
1229
+ potentialLf_gt?: string | null | undefined;
1230
+ potentialLf_gte?: string | null | undefined;
1231
+ potentialLf_in?: Array<string> | null | undefined;
1232
+ potentialLf_lt?: string | null | undefined;
1233
+ potentialLf_lte?: string | null | undefined;
1234
+ potentialLf_not?: string | null | undefined;
1235
+ potentialLf_not_in?: Array<string> | null | undefined;
1236
+ reimbursement?: string | null | undefined;
1237
+ reimbursement_gt?: string | null | undefined;
1238
+ reimbursement_gte?: string | null | undefined;
1239
+ reimbursement_in?: Array<string> | null | undefined;
1240
+ reimbursement_lt?: string | null | undefined;
1241
+ reimbursement_lte?: string | null | undefined;
1242
+ reimbursement_not?: string | null | undefined;
1243
+ reimbursement_not_in?: Array<string> | null | undefined;
1244
+ settled?: boolean | null | undefined;
1245
+ settledAmounts?: Array<string> | null | undefined;
1246
+ settledAmounts_contains?: Array<string> | null | undefined;
1247
+ settledAmounts_not?: Array<string> | null | undefined;
1248
+ settledAmounts_not_contains?: Array<string> | null | undefined;
1249
+ settledPartyBs?: Array<string> | null | undefined;
1250
+ settledPartyBs_contains?: Array<string> | null | undefined;
1251
+ settledPartyBs_not?: Array<string> | null | undefined;
1252
+ settledPartyBs_not_contains?: Array<string> | null | undefined;
1253
+ settled_in?: Array<boolean> | null | undefined;
1254
+ settled_not?: boolean | null | undefined;
1255
+ settled_not_in?: Array<boolean> | null | undefined;
1256
+ settlementActualAmounts?: Array<string> | null | undefined;
1257
+ settlementActualAmounts_contains?: Array<string> | null | undefined;
1258
+ settlementActualAmounts_not?: Array<string> | null | undefined;
1259
+ settlementActualAmounts_not_contains?: Array<string> | null | undefined;
1260
+ settlementAttributionComplete?: boolean | null | undefined;
1261
+ settlementAttributionComplete_in?: Array<boolean> | null | undefined;
1262
+ settlementAttributionComplete_not?: boolean | null | undefined;
1263
+ settlementAttributionComplete_not_in?: Array<boolean> | null | undefined;
1264
+ settlementCvaReturned?: Array<string> | null | undefined;
1265
+ settlementCvaReturned_contains?: Array<string> | null | undefined;
1266
+ settlementCvaReturned_not?: Array<string> | null | undefined;
1267
+ settlementCvaReturned_not_contains?: Array<string> | null | undefined;
1268
+ settlementExpectedAmounts?: Array<string> | null | undefined;
1269
+ settlementExpectedAmounts_contains?: Array<string> | null | undefined;
1270
+ settlementExpectedAmounts_not?: Array<string> | null | undefined;
1271
+ settlementExpectedAmounts_not_contains?: Array<string> | null | undefined;
1272
+ settlementModes?: Array<string> | null | undefined;
1273
+ settlementModes_contains?: Array<string> | null | undefined;
1274
+ settlementModes_contains_nocase?: Array<string> | null | undefined;
1275
+ settlementModes_not?: Array<string> | null | undefined;
1276
+ settlementModes_not_contains?: Array<string> | null | undefined;
1277
+ settlementModes_not_contains_nocase?: Array<string> | null | undefined;
1278
+ settlementPartyBs?: Array<string> | null | undefined;
1279
+ settlementPartyBs_contains?: Array<string> | null | undefined;
1280
+ settlementPartyBs_not?: Array<string> | null | undefined;
1281
+ settlementPartyBs_not_contains?: Array<string> | null | undefined;
1282
+ settlementReserveContributions?: Array<string> | null | undefined;
1283
+ settlementReserveContributions_contains?: Array<string> | null | undefined;
1284
+ settlementReserveContributions_not?: Array<string> | null | undefined;
1285
+ settlementReserveContributions_not_contains?: Array<string> | null | undefined;
1286
+ settlementStates?: Array<string> | null | undefined;
1287
+ settlementStates_contains?: Array<string> | null | undefined;
1288
+ settlementStates_contains_nocase?: Array<string> | null | undefined;
1289
+ settlementStates_not?: Array<string> | null | undefined;
1290
+ settlementStates_not_contains?: Array<string> | null | undefined;
1291
+ settlementStates_not_contains_nocase?: Array<string> | null | undefined;
1292
+ source?: string | null | undefined;
1293
+ source_contains?: string | null | undefined;
1294
+ source_gt?: string | null | undefined;
1295
+ source_gte?: string | null | undefined;
1296
+ source_in?: Array<string> | null | undefined;
1297
+ source_lt?: string | null | undefined;
1298
+ source_lte?: string | null | undefined;
1299
+ source_not?: string | null | undefined;
1300
+ source_not_contains?: string | null | undefined;
1301
+ source_not_in?: Array<string> | null | undefined;
1302
+ subAccountRef?: string | null | undefined;
1303
+ subAccountRef_?: SubAccount_Filter | null | undefined;
1304
+ subAccountRef_contains?: string | null | undefined;
1305
+ subAccountRef_contains_nocase?: string | null | undefined;
1306
+ subAccountRef_ends_with?: string | null | undefined;
1307
+ subAccountRef_ends_with_nocase?: string | null | undefined;
1308
+ subAccountRef_gt?: string | null | undefined;
1309
+ subAccountRef_gte?: string | null | undefined;
1310
+ subAccountRef_in?: Array<string> | null | undefined;
1311
+ subAccountRef_lt?: string | null | undefined;
1312
+ subAccountRef_lte?: string | null | undefined;
1313
+ subAccountRef_not?: string | null | undefined;
1314
+ subAccountRef_not_contains?: string | null | undefined;
1315
+ subAccountRef_not_contains_nocase?: string | null | undefined;
1316
+ subAccountRef_not_ends_with?: string | null | undefined;
1317
+ subAccountRef_not_ends_with_nocase?: string | null | undefined;
1318
+ subAccountRef_not_in?: Array<string> | null | undefined;
1319
+ subAccountRef_not_starts_with?: string | null | undefined;
1320
+ subAccountRef_not_starts_with_nocase?: string | null | undefined;
1321
+ subAccountRef_starts_with?: string | null | undefined;
1322
+ subAccountRef_starts_with_nocase?: string | null | undefined;
1323
+ takeover?: boolean | null | undefined;
1324
+ takeoverSettled?: boolean | null | undefined;
1325
+ takeoverSettledTimestamp?: string | null | undefined;
1326
+ takeoverSettledTimestamp_gt?: string | null | undefined;
1327
+ takeoverSettledTimestamp_gte?: string | null | undefined;
1328
+ takeoverSettledTimestamp_in?: Array<string> | null | undefined;
1329
+ takeoverSettledTimestamp_lt?: string | null | undefined;
1330
+ takeoverSettledTimestamp_lte?: string | null | undefined;
1331
+ takeoverSettledTimestamp_not?: string | null | undefined;
1332
+ takeoverSettledTimestamp_not_in?: Array<string> | null | undefined;
1333
+ takeoverSettled_in?: Array<boolean> | null | undefined;
1334
+ takeoverSettled_not?: boolean | null | undefined;
1335
+ takeoverSettled_not_in?: Array<boolean> | null | undefined;
1336
+ takeoverTimestamp?: string | null | undefined;
1337
+ takeoverTimestamp_gt?: string | null | undefined;
1338
+ takeoverTimestamp_gte?: string | null | undefined;
1339
+ takeoverTimestamp_in?: Array<string> | null | undefined;
1340
+ takeoverTimestamp_lt?: string | null | undefined;
1341
+ takeoverTimestamp_lte?: string | null | undefined;
1342
+ takeoverTimestamp_not?: string | null | undefined;
1343
+ takeoverTimestamp_not_in?: Array<string> | null | undefined;
1344
+ takeover_in?: Array<boolean> | null | undefined;
1345
+ takeover_not?: boolean | null | undefined;
1346
+ takeover_not_in?: Array<boolean> | null | undefined;
1347
+ timestamp?: string | null | undefined;
1348
+ timestamp_gt?: string | null | undefined;
1349
+ timestamp_gte?: string | null | undefined;
1350
+ timestamp_in?: Array<string> | null | undefined;
1351
+ timestamp_lt?: string | null | undefined;
1352
+ timestamp_lte?: string | null | undefined;
1353
+ timestamp_not?: string | null | undefined;
1354
+ timestamp_not_in?: Array<string> | null | undefined;
1355
+ totalPnl?: string | null | undefined;
1356
+ totalPnl_gt?: string | null | undefined;
1357
+ totalPnl_gte?: string | null | undefined;
1358
+ totalPnl_in?: Array<string> | null | undefined;
1359
+ totalPnl_lt?: string | null | undefined;
1360
+ totalPnl_lte?: string | null | undefined;
1361
+ totalPnl_not?: string | null | undefined;
1362
+ totalPnl_not_in?: Array<string> | null | undefined;
1363
+ totalUnrealizedLoss?: string | null | undefined;
1364
+ totalUnrealizedLoss_gt?: string | null | undefined;
1365
+ totalUnrealizedLoss_gte?: string | null | undefined;
1366
+ totalUnrealizedLoss_in?: Array<string> | null | undefined;
1367
+ totalUnrealizedLoss_lt?: string | null | undefined;
1368
+ totalUnrealizedLoss_lte?: string | null | undefined;
1369
+ totalUnrealizedLoss_not?: string | null | undefined;
1370
+ totalUnrealizedLoss_not_in?: Array<string> | null | undefined;
1371
+ upnl?: string | null | undefined;
1372
+ upnl_gt?: string | null | undefined;
1373
+ upnl_gte?: string | null | undefined;
1374
+ upnl_in?: Array<string> | null | undefined;
1375
+ upnl_lt?: string | null | undefined;
1376
+ upnl_lte?: string | null | undefined;
1377
+ upnl_not?: string | null | undefined;
1378
+ upnl_not_in?: Array<string> | null | undefined;
1379
+ virtualAccountRef?: string | null | undefined;
1380
+ virtualAccountRef_?: VirtualAccount_Filter | null | undefined;
1381
+ virtualAccountRef_contains?: string | null | undefined;
1382
+ virtualAccountRef_contains_nocase?: string | null | undefined;
1383
+ virtualAccountRef_ends_with?: string | null | undefined;
1384
+ virtualAccountRef_ends_with_nocase?: string | null | undefined;
1385
+ virtualAccountRef_gt?: string | null | undefined;
1386
+ virtualAccountRef_gte?: string | null | undefined;
1387
+ virtualAccountRef_in?: Array<string> | null | undefined;
1388
+ virtualAccountRef_lt?: string | null | undefined;
1389
+ virtualAccountRef_lte?: string | null | undefined;
1390
+ virtualAccountRef_not?: string | null | undefined;
1391
+ virtualAccountRef_not_contains?: string | null | undefined;
1392
+ virtualAccountRef_not_contains_nocase?: string | null | undefined;
1393
+ virtualAccountRef_not_ends_with?: string | null | undefined;
1394
+ virtualAccountRef_not_ends_with_nocase?: string | null | undefined;
1395
+ virtualAccountRef_not_in?: Array<string> | null | undefined;
1396
+ virtualAccountRef_not_starts_with?: string | null | undefined;
1397
+ virtualAccountRef_not_starts_with_nocase?: string | null | undefined;
1398
+ virtualAccountRef_starts_with?: string | null | undefined;
1399
+ virtualAccountRef_starts_with_nocase?: string | null | undefined;
1400
+ };
1401
+ export type LiquidationDetail_OrderBy = "accountLayerSource" | "affiliate" | "allocatedBalance" | "autoTakeover" | "coreSource" | "deferredBalance" | "deficit" | "deploymentId" | "disputed" | "events" | "freeBalance" | "freeMarginAtStart" | "fullyLiquidated" | "fullyLiquidatedTimestamp" | "globalCounter" | "id" | "involvedPartyBCounts" | "liquidationAllocatedBalance" | "liquidationBlockNumber" | "liquidationEscrow" | "liquidationFee" | "liquidationId" | "liquidationStartTransaction" | "liquidationTimestamp" | "liquidationType" | "liquidator" | "lockedCva" | "lockedLf" | "lockedPartyAmm" | "lockedPartyBmm" | "lossRestsAt" | "owner" | "paidCva" | "paidLf" | "partyA" | "partyAAccount" | "partyAAccount__account" | "partyAAccount__accountKind" | "partyAAccount__accountLayerSource" | "partyAAccount__accountSource" | "partyAAccount__affiliate" | "partyAAccount__allocated" | "partyAAccount__blockNumber" | "partyAAccount__coreSource" | "partyAAccount__deallocated" | "partyAAccount__deploymentId" | "partyAAccount__deposit" | "partyAAccount__globalCounter" | "partyAAccount__id" | "partyAAccount__isDeleted" | "partyAAccount__isVirtual" | "partyAAccount__lastActivityTimestamp" | "partyAAccount__lastBalanceActivityTimestamp" | "partyAAccount__lastCoreActivityTimestamp" | "partyAAccount__lastLayerActivityTimestamp" | "partyAAccount__name" | "partyAAccount__owner" | "partyAAccount__parentAddress" | "partyAAccount__positionsCount" | "partyAAccount__quotesCount" | "partyAAccount__source" | "partyAAccount__timestamp" | "partyAAccount__transaction" | "partyAAccount__type" | "partyAAccount__updateTimestamp" | "partyAAccount__user" | "partyAAccount__withdraw" | "partyAAccumulatedUpnl" | "potentialLf" | "reimbursement" | "settled" | "settledAmounts" | "settledPartyBs" | "settlementActualAmounts" | "settlementAttributionComplete" | "settlementCvaReturned" | "settlementExpectedAmounts" | "settlementModes" | "settlementPartyBs" | "settlementReserveContributions" | "settlementStates" | "source" | "subAccountRef" | "subAccountRef__accountLayerSource" | "subAccountRef__activePositions" | "subAccountRef__activeVirtualAccounts" | "subAccountRef__address" | "subAccountRef__affiliateAddress" | "subAccountRef__cancelledQuotesCount" | "subAccountRef__closedQuotesCount" | "subAccountRef__coreSource" | "subAccountRef__deploymentId" | "subAccountRef__expiredQuotesCount" | "subAccountRef__id" | "subAccountRef__isDeleted" | "subAccountRef__isLegacy" | "subAccountRef__isolationType" | "subAccountRef__lastConfigTimestamp" | "subAccountRef__lastMarginTransferTimestamp" | "subAccountRef__lastTradeTimestamp" | "subAccountRef__latestMarginBalance" | "subAccountRef__legacyContract" | "subAccountRef__legacyImported" | "subAccountRef__legacyImportedTimestamp" | "subAccountRef__liquidatedQuotesCount" | "subAccountRef__metadata" | "subAccountRef__name" | "subAccountRef__openPositionsCount" | "subAccountRef__owner" | "subAccountRef__pendingQuotesCount" | "subAccountRef__rejectedQuotesCount" | "subAccountRef__routingMode" | "subAccountRef__singleVAMode" | "subAccountRef__source" | "subAccountRef__symmioCore" | "subAccountRef__timestamp" | "subAccountRef__totalPositions" | "subAccountRef__totalVirtualAccounts" | "subAccountRef__updateTimestamp" | "takeover" | "takeoverSettled" | "takeoverSettledTimestamp" | "takeoverTimestamp" | "timestamp" | "totalPnl" | "totalUnrealizedLoss" | "upnl" | "virtualAccountRef" | "virtualAccountRef__accountLayerSource" | "virtualAccountRef__activePositions" | "virtualAccountRef__address" | "virtualAccountRef__cancelledQuotesCount" | "virtualAccountRef__closedQuotesCount" | "virtualAccountRef__coreSource" | "virtualAccountRef__deploymentId" | "virtualAccountRef__expiredQuotesCount" | "virtualAccountRef__id" | "virtualAccountRef__isDeleted" | "virtualAccountRef__isolationType" | "virtualAccountRef__lastDeleteTimestamp" | "virtualAccountRef__lastMarginTransferTimestamp" | "virtualAccountRef__lastReuseTimestamp" | "virtualAccountRef__lastTradeTimestamp" | "virtualAccountRef__latestMarginBalance" | "virtualAccountRef__liquidatedQuotesCount" | "virtualAccountRef__metadata" | "virtualAccountRef__openPositionsCount" | "virtualAccountRef__owner" | "virtualAccountRef__parentAddress" | "virtualAccountRef__pendingQuotesCount" | "virtualAccountRef__rejectedQuotesCount" | "virtualAccountRef__reuseCount" | "virtualAccountRef__source" | "virtualAccountRef__symbolId" | "virtualAccountRef__timestamp" | "virtualAccountRef__totalPositions" | "virtualAccountRef__updateTimestamp";
1402
+ export type LiquidationEvent_Filter = {
1403
+ /** Filter for the block changed event. */
1404
+ _change_block?: BlockChangedFilter | null | undefined;
1405
+ and?: Array<LiquidationEvent_Filter | null | undefined> | null | undefined;
1406
+ blockNumber?: string | null | undefined;
1407
+ blockNumber_gt?: string | null | undefined;
1408
+ blockNumber_gte?: string | null | undefined;
1409
+ blockNumber_in?: Array<string> | null | undefined;
1410
+ blockNumber_lt?: string | null | undefined;
1411
+ blockNumber_lte?: string | null | undefined;
1412
+ blockNumber_not?: string | null | undefined;
1413
+ blockNumber_not_in?: Array<string> | null | undefined;
1414
+ globalCounter?: string | null | undefined;
1415
+ globalCounter_gt?: string | null | undefined;
1416
+ globalCounter_gte?: string | null | undefined;
1417
+ globalCounter_in?: Array<string> | null | undefined;
1418
+ globalCounter_lt?: string | null | undefined;
1419
+ globalCounter_lte?: string | null | undefined;
1420
+ globalCounter_not?: string | null | undefined;
1421
+ globalCounter_not_in?: Array<string> | null | undefined;
1422
+ id?: string | number | null | undefined;
1423
+ id_gt?: string | number | null | undefined;
1424
+ id_gte?: string | number | null | undefined;
1425
+ id_in?: Array<string | number> | null | undefined;
1426
+ id_lt?: string | number | null | undefined;
1427
+ id_lte?: string | number | null | undefined;
1428
+ id_not?: string | number | null | undefined;
1429
+ id_not_in?: Array<string | number> | null | undefined;
1430
+ liquidationDetail?: string | null | undefined;
1431
+ liquidationDetail_?: LiquidationDetail_Filter | null | undefined;
1432
+ liquidationDetail_contains?: string | null | undefined;
1433
+ liquidationDetail_contains_nocase?: string | null | undefined;
1434
+ liquidationDetail_ends_with?: string | null | undefined;
1435
+ liquidationDetail_ends_with_nocase?: string | null | undefined;
1436
+ liquidationDetail_gt?: string | null | undefined;
1437
+ liquidationDetail_gte?: string | null | undefined;
1438
+ liquidationDetail_in?: Array<string> | null | undefined;
1439
+ liquidationDetail_lt?: string | null | undefined;
1440
+ liquidationDetail_lte?: string | null | undefined;
1441
+ liquidationDetail_not?: string | null | undefined;
1442
+ liquidationDetail_not_contains?: string | null | undefined;
1443
+ liquidationDetail_not_contains_nocase?: string | null | undefined;
1444
+ liquidationDetail_not_ends_with?: string | null | undefined;
1445
+ liquidationDetail_not_ends_with_nocase?: string | null | undefined;
1446
+ liquidationDetail_not_in?: Array<string> | null | undefined;
1447
+ liquidationDetail_not_starts_with?: string | null | undefined;
1448
+ liquidationDetail_not_starts_with_nocase?: string | null | undefined;
1449
+ liquidationDetail_starts_with?: string | null | undefined;
1450
+ liquidationDetail_starts_with_nocase?: string | null | undefined;
1451
+ liquidationId?: string | null | undefined;
1452
+ liquidationId_contains?: string | null | undefined;
1453
+ liquidationId_gt?: string | null | undefined;
1454
+ liquidationId_gte?: string | null | undefined;
1455
+ liquidationId_in?: Array<string> | null | undefined;
1456
+ liquidationId_lt?: string | null | undefined;
1457
+ liquidationId_lte?: string | null | undefined;
1458
+ liquidationId_not?: string | null | undefined;
1459
+ liquidationId_not_contains?: string | null | undefined;
1460
+ liquidationId_not_in?: Array<string> | null | undefined;
1461
+ liquidator?: string | null | undefined;
1462
+ liquidator_contains?: string | null | undefined;
1463
+ liquidator_gt?: string | null | undefined;
1464
+ liquidator_gte?: string | null | undefined;
1465
+ liquidator_in?: Array<string> | null | undefined;
1466
+ liquidator_lt?: string | null | undefined;
1467
+ liquidator_lte?: string | null | undefined;
1468
+ liquidator_not?: string | null | undefined;
1469
+ liquidator_not_contains?: string | null | undefined;
1470
+ liquidator_not_in?: Array<string> | null | undefined;
1471
+ metadata?: string | null | undefined;
1472
+ metadata_contains?: string | null | undefined;
1473
+ metadata_contains_nocase?: string | null | undefined;
1474
+ metadata_ends_with?: string | null | undefined;
1475
+ metadata_ends_with_nocase?: string | null | undefined;
1476
+ metadata_gt?: string | null | undefined;
1477
+ metadata_gte?: string | null | undefined;
1478
+ metadata_in?: Array<string> | null | undefined;
1479
+ metadata_lt?: string | null | undefined;
1480
+ metadata_lte?: string | null | undefined;
1481
+ metadata_not?: string | null | undefined;
1482
+ metadata_not_contains?: string | null | undefined;
1483
+ metadata_not_contains_nocase?: string | null | undefined;
1484
+ metadata_not_ends_with?: string | null | undefined;
1485
+ metadata_not_ends_with_nocase?: string | null | undefined;
1486
+ metadata_not_in?: Array<string> | null | undefined;
1487
+ metadata_not_starts_with?: string | null | undefined;
1488
+ metadata_not_starts_with_nocase?: string | null | undefined;
1489
+ metadata_starts_with?: string | null | undefined;
1490
+ metadata_starts_with_nocase?: string | null | undefined;
1491
+ or?: Array<LiquidationEvent_Filter | null | undefined> | null | undefined;
1492
+ source?: string | null | undefined;
1493
+ source_contains?: string | null | undefined;
1494
+ source_gt?: string | null | undefined;
1495
+ source_gte?: string | null | undefined;
1496
+ source_in?: Array<string> | null | undefined;
1497
+ source_lt?: string | null | undefined;
1498
+ source_lte?: string | null | undefined;
1499
+ source_not?: string | null | undefined;
1500
+ source_not_contains?: string | null | undefined;
1501
+ source_not_in?: Array<string> | null | undefined;
1502
+ timestamp?: string | null | undefined;
1503
+ timestamp_gt?: string | null | undefined;
1504
+ timestamp_gte?: string | null | undefined;
1505
+ timestamp_in?: Array<string> | null | undefined;
1506
+ timestamp_lt?: string | null | undefined;
1507
+ timestamp_lte?: string | null | undefined;
1508
+ timestamp_not?: string | null | undefined;
1509
+ timestamp_not_in?: Array<string> | null | undefined;
1510
+ transaction?: string | null | undefined;
1511
+ transaction_contains?: string | null | undefined;
1512
+ transaction_gt?: string | null | undefined;
1513
+ transaction_gte?: string | null | undefined;
1514
+ transaction_in?: Array<string> | null | undefined;
1515
+ transaction_lt?: string | null | undefined;
1516
+ transaction_lte?: string | null | undefined;
1517
+ transaction_not?: string | null | undefined;
1518
+ transaction_not_contains?: string | null | undefined;
1519
+ transaction_not_in?: Array<string> | null | undefined;
1520
+ type?: string | null | undefined;
1521
+ type_contains?: string | null | undefined;
1522
+ type_contains_nocase?: string | null | undefined;
1523
+ type_ends_with?: string | null | undefined;
1524
+ type_ends_with_nocase?: string | null | undefined;
1525
+ type_gt?: string | null | undefined;
1526
+ type_gte?: string | null | undefined;
1527
+ type_in?: Array<string> | null | undefined;
1528
+ type_lt?: string | null | undefined;
1529
+ type_lte?: string | null | undefined;
1530
+ type_not?: string | null | undefined;
1531
+ type_not_contains?: string | null | undefined;
1532
+ type_not_contains_nocase?: string | null | undefined;
1533
+ type_not_ends_with?: string | null | undefined;
1534
+ type_not_ends_with_nocase?: string | null | undefined;
1535
+ type_not_in?: Array<string> | null | undefined;
1536
+ type_not_starts_with?: string | null | undefined;
1537
+ type_not_starts_with_nocase?: string | null | undefined;
1538
+ type_starts_with?: string | null | undefined;
1539
+ type_starts_with_nocase?: string | null | undefined;
1540
+ };
1541
+ export type MarginTransfer_Filter = {
1542
+ /** Filter for the block changed event. */
1543
+ _change_block?: BlockChangedFilter | null | undefined;
1544
+ accountLayerSource?: string | null | undefined;
1545
+ accountLayerSource_contains?: string | null | undefined;
1546
+ accountLayerSource_gt?: string | null | undefined;
1547
+ accountLayerSource_gte?: string | null | undefined;
1548
+ accountLayerSource_in?: Array<string> | null | undefined;
1549
+ accountLayerSource_lt?: string | null | undefined;
1550
+ accountLayerSource_lte?: string | null | undefined;
1551
+ accountLayerSource_not?: string | null | undefined;
1552
+ accountLayerSource_not_contains?: string | null | undefined;
1553
+ accountLayerSource_not_in?: Array<string> | null | undefined;
1554
+ amount?: string | null | undefined;
1555
+ amount_gt?: string | null | undefined;
1556
+ amount_gte?: string | null | undefined;
1557
+ amount_in?: Array<string> | null | undefined;
1558
+ amount_lt?: string | null | undefined;
1559
+ amount_lte?: string | null | undefined;
1560
+ amount_not?: string | null | undefined;
1561
+ amount_not_in?: Array<string> | null | undefined;
1562
+ and?: Array<MarginTransfer_Filter | null | undefined> | null | undefined;
1563
+ blockNumber?: string | null | undefined;
1564
+ blockNumber_gt?: string | null | undefined;
1565
+ blockNumber_gte?: string | null | undefined;
1566
+ blockNumber_in?: Array<string> | null | undefined;
1567
+ blockNumber_lt?: string | null | undefined;
1568
+ blockNumber_lte?: string | null | undefined;
1569
+ blockNumber_not?: string | null | undefined;
1570
+ blockNumber_not_in?: Array<string> | null | undefined;
1571
+ coreSource?: string | null | undefined;
1572
+ coreSource_contains?: string | null | undefined;
1573
+ coreSource_gt?: string | null | undefined;
1574
+ coreSource_gte?: string | null | undefined;
1575
+ coreSource_in?: Array<string> | null | undefined;
1576
+ coreSource_lt?: string | null | undefined;
1577
+ coreSource_lte?: string | null | undefined;
1578
+ coreSource_not?: string | null | undefined;
1579
+ coreSource_not_contains?: string | null | undefined;
1580
+ coreSource_not_in?: Array<string> | null | undefined;
1581
+ deploymentId?: string | null | undefined;
1582
+ deploymentId_contains?: string | null | undefined;
1583
+ deploymentId_contains_nocase?: string | null | undefined;
1584
+ deploymentId_ends_with?: string | null | undefined;
1585
+ deploymentId_ends_with_nocase?: string | null | undefined;
1586
+ deploymentId_gt?: string | null | undefined;
1587
+ deploymentId_gte?: string | null | undefined;
1588
+ deploymentId_in?: Array<string> | null | undefined;
1589
+ deploymentId_lt?: string | null | undefined;
1590
+ deploymentId_lte?: string | null | undefined;
1591
+ deploymentId_not?: string | null | undefined;
1592
+ deploymentId_not_contains?: string | null | undefined;
1593
+ deploymentId_not_contains_nocase?: string | null | undefined;
1594
+ deploymentId_not_ends_with?: string | null | undefined;
1595
+ deploymentId_not_ends_with_nocase?: string | null | undefined;
1596
+ deploymentId_not_in?: Array<string> | null | undefined;
1597
+ deploymentId_not_starts_with?: string | null | undefined;
1598
+ deploymentId_not_starts_with_nocase?: string | null | undefined;
1599
+ deploymentId_starts_with?: string | null | undefined;
1600
+ deploymentId_starts_with_nocase?: string | null | undefined;
1601
+ globalCounter?: string | null | undefined;
1602
+ globalCounter_gt?: string | null | undefined;
1603
+ globalCounter_gte?: string | null | undefined;
1604
+ globalCounter_in?: Array<string> | null | undefined;
1605
+ globalCounter_lt?: string | null | undefined;
1606
+ globalCounter_lte?: string | null | undefined;
1607
+ globalCounter_not?: string | null | undefined;
1608
+ globalCounter_not_in?: Array<string> | null | undefined;
1609
+ id?: string | number | null | undefined;
1610
+ id_gt?: string | number | null | undefined;
1611
+ id_gte?: string | number | null | undefined;
1612
+ id_in?: Array<string | number> | null | undefined;
1613
+ id_lt?: string | number | null | undefined;
1614
+ id_lte?: string | number | null | undefined;
1615
+ id_not?: string | number | null | undefined;
1616
+ id_not_in?: Array<string | number> | null | undefined;
1617
+ or?: Array<MarginTransfer_Filter | null | undefined> | null | undefined;
1618
+ source?: string | null | undefined;
1619
+ source_contains?: string | null | undefined;
1620
+ source_gt?: string | null | undefined;
1621
+ source_gte?: string | null | undefined;
1622
+ source_in?: Array<string> | null | undefined;
1623
+ source_lt?: string | null | undefined;
1624
+ source_lte?: string | null | undefined;
1625
+ source_not?: string | null | undefined;
1626
+ source_not_contains?: string | null | undefined;
1627
+ source_not_in?: Array<string> | null | undefined;
1628
+ subAccount?: string | null | undefined;
1629
+ subAccountRef?: string | null | undefined;
1630
+ subAccountRef_?: SubAccount_Filter | null | undefined;
1631
+ subAccountRef_contains?: string | null | undefined;
1632
+ subAccountRef_contains_nocase?: string | null | undefined;
1633
+ subAccountRef_ends_with?: string | null | undefined;
1634
+ subAccountRef_ends_with_nocase?: string | null | undefined;
1635
+ subAccountRef_gt?: string | null | undefined;
1636
+ subAccountRef_gte?: string | null | undefined;
1637
+ subAccountRef_in?: Array<string> | null | undefined;
1638
+ subAccountRef_lt?: string | null | undefined;
1639
+ subAccountRef_lte?: string | null | undefined;
1640
+ subAccountRef_not?: string | null | undefined;
1641
+ subAccountRef_not_contains?: string | null | undefined;
1642
+ subAccountRef_not_contains_nocase?: string | null | undefined;
1643
+ subAccountRef_not_ends_with?: string | null | undefined;
1644
+ subAccountRef_not_ends_with_nocase?: string | null | undefined;
1645
+ subAccountRef_not_in?: Array<string> | null | undefined;
1646
+ subAccountRef_not_starts_with?: string | null | undefined;
1647
+ subAccountRef_not_starts_with_nocase?: string | null | undefined;
1648
+ subAccountRef_starts_with?: string | null | undefined;
1649
+ subAccountRef_starts_with_nocase?: string | null | undefined;
1650
+ subAccount_?: SubAccount_Filter | null | undefined;
1651
+ subAccount_contains?: string | null | undefined;
1652
+ subAccount_contains_nocase?: string | null | undefined;
1653
+ subAccount_ends_with?: string | null | undefined;
1654
+ subAccount_ends_with_nocase?: string | null | undefined;
1655
+ subAccount_gt?: string | null | undefined;
1656
+ subAccount_gte?: string | null | undefined;
1657
+ subAccount_in?: Array<string> | null | undefined;
1658
+ subAccount_lt?: string | null | undefined;
1659
+ subAccount_lte?: string | null | undefined;
1660
+ subAccount_not?: string | null | undefined;
1661
+ subAccount_not_contains?: string | null | undefined;
1662
+ subAccount_not_contains_nocase?: string | null | undefined;
1663
+ subAccount_not_ends_with?: string | null | undefined;
1664
+ subAccount_not_ends_with_nocase?: string | null | undefined;
1665
+ subAccount_not_in?: Array<string> | null | undefined;
1666
+ subAccount_not_starts_with?: string | null | undefined;
1667
+ subAccount_not_starts_with_nocase?: string | null | undefined;
1668
+ subAccount_starts_with?: string | null | undefined;
1669
+ subAccount_starts_with_nocase?: string | null | undefined;
1670
+ timestamp?: string | null | undefined;
1671
+ timestamp_gt?: string | null | undefined;
1672
+ timestamp_gte?: string | null | undefined;
1673
+ timestamp_in?: Array<string> | null | undefined;
1674
+ timestamp_lt?: string | null | undefined;
1675
+ timestamp_lte?: string | null | undefined;
1676
+ timestamp_not?: string | null | undefined;
1677
+ timestamp_not_in?: Array<string> | null | undefined;
1678
+ transaction?: string | null | undefined;
1679
+ transaction_contains?: string | null | undefined;
1680
+ transaction_gt?: string | null | undefined;
1681
+ transaction_gte?: string | null | undefined;
1682
+ transaction_in?: Array<string> | null | undefined;
1683
+ transaction_lt?: string | null | undefined;
1684
+ transaction_lte?: string | null | undefined;
1685
+ transaction_not?: string | null | undefined;
1686
+ transaction_not_contains?: string | null | undefined;
1687
+ transaction_not_in?: Array<string> | null | undefined;
1688
+ type?: string | null | undefined;
1689
+ type_contains?: string | null | undefined;
1690
+ type_contains_nocase?: string | null | undefined;
1691
+ type_ends_with?: string | null | undefined;
1692
+ type_ends_with_nocase?: string | null | undefined;
1693
+ type_gt?: string | null | undefined;
1694
+ type_gte?: string | null | undefined;
1695
+ type_in?: Array<string> | null | undefined;
1696
+ type_lt?: string | null | undefined;
1697
+ type_lte?: string | null | undefined;
1698
+ type_not?: string | null | undefined;
1699
+ type_not_contains?: string | null | undefined;
1700
+ type_not_contains_nocase?: string | null | undefined;
1701
+ type_not_ends_with?: string | null | undefined;
1702
+ type_not_ends_with_nocase?: string | null | undefined;
1703
+ type_not_in?: Array<string> | null | undefined;
1704
+ type_not_starts_with?: string | null | undefined;
1705
+ type_not_starts_with_nocase?: string | null | undefined;
1706
+ type_starts_with?: string | null | undefined;
1707
+ type_starts_with_nocase?: string | null | undefined;
1708
+ virtualAccount?: string | null | undefined;
1709
+ virtualAccountRef?: string | null | undefined;
1710
+ virtualAccountRef_?: VirtualAccount_Filter | null | undefined;
1711
+ virtualAccountRef_contains?: string | null | undefined;
1712
+ virtualAccountRef_contains_nocase?: string | null | undefined;
1713
+ virtualAccountRef_ends_with?: string | null | undefined;
1714
+ virtualAccountRef_ends_with_nocase?: string | null | undefined;
1715
+ virtualAccountRef_gt?: string | null | undefined;
1716
+ virtualAccountRef_gte?: string | null | undefined;
1717
+ virtualAccountRef_in?: Array<string> | null | undefined;
1718
+ virtualAccountRef_lt?: string | null | undefined;
1719
+ virtualAccountRef_lte?: string | null | undefined;
1720
+ virtualAccountRef_not?: string | null | undefined;
1721
+ virtualAccountRef_not_contains?: string | null | undefined;
1722
+ virtualAccountRef_not_contains_nocase?: string | null | undefined;
1723
+ virtualAccountRef_not_ends_with?: string | null | undefined;
1724
+ virtualAccountRef_not_ends_with_nocase?: string | null | undefined;
1725
+ virtualAccountRef_not_in?: Array<string> | null | undefined;
1726
+ virtualAccountRef_not_starts_with?: string | null | undefined;
1727
+ virtualAccountRef_not_starts_with_nocase?: string | null | undefined;
1728
+ virtualAccountRef_starts_with?: string | null | undefined;
1729
+ virtualAccountRef_starts_with_nocase?: string | null | undefined;
1730
+ virtualAccount_?: VirtualAccount_Filter | null | undefined;
1731
+ virtualAccount_contains?: string | null | undefined;
1732
+ virtualAccount_contains_nocase?: string | null | undefined;
1733
+ virtualAccount_ends_with?: string | null | undefined;
1734
+ virtualAccount_ends_with_nocase?: string | null | undefined;
1735
+ virtualAccount_gt?: string | null | undefined;
1736
+ virtualAccount_gte?: string | null | undefined;
1737
+ virtualAccount_in?: Array<string> | null | undefined;
1738
+ virtualAccount_lt?: string | null | undefined;
1739
+ virtualAccount_lte?: string | null | undefined;
1740
+ virtualAccount_not?: string | null | undefined;
1741
+ virtualAccount_not_contains?: string | null | undefined;
1742
+ virtualAccount_not_contains_nocase?: string | null | undefined;
1743
+ virtualAccount_not_ends_with?: string | null | undefined;
1744
+ virtualAccount_not_ends_with_nocase?: string | null | undefined;
1745
+ virtualAccount_not_in?: Array<string> | null | undefined;
1746
+ virtualAccount_not_starts_with?: string | null | undefined;
1747
+ virtualAccount_not_starts_with_nocase?: string | null | undefined;
1748
+ virtualAccount_starts_with?: string | null | undefined;
1749
+ virtualAccount_starts_with_nocase?: string | null | undefined;
1750
+ };
1751
+ export type MarginTransfer_OrderBy = "accountLayerSource" | "amount" | "blockNumber" | "coreSource" | "deploymentId" | "globalCounter" | "id" | "source" | "subAccount" | "subAccountRef" | "subAccountRef__accountLayerSource" | "subAccountRef__activePositions" | "subAccountRef__activeVirtualAccounts" | "subAccountRef__address" | "subAccountRef__affiliateAddress" | "subAccountRef__cancelledQuotesCount" | "subAccountRef__closedQuotesCount" | "subAccountRef__coreSource" | "subAccountRef__deploymentId" | "subAccountRef__expiredQuotesCount" | "subAccountRef__id" | "subAccountRef__isDeleted" | "subAccountRef__isLegacy" | "subAccountRef__isolationType" | "subAccountRef__lastConfigTimestamp" | "subAccountRef__lastMarginTransferTimestamp" | "subAccountRef__lastTradeTimestamp" | "subAccountRef__latestMarginBalance" | "subAccountRef__legacyContract" | "subAccountRef__legacyImported" | "subAccountRef__legacyImportedTimestamp" | "subAccountRef__liquidatedQuotesCount" | "subAccountRef__metadata" | "subAccountRef__name" | "subAccountRef__openPositionsCount" | "subAccountRef__owner" | "subAccountRef__pendingQuotesCount" | "subAccountRef__rejectedQuotesCount" | "subAccountRef__routingMode" | "subAccountRef__singleVAMode" | "subAccountRef__source" | "subAccountRef__symmioCore" | "subAccountRef__timestamp" | "subAccountRef__totalPositions" | "subAccountRef__totalVirtualAccounts" | "subAccountRef__updateTimestamp" | "subAccount__accountLayerSource" | "subAccount__activePositions" | "subAccount__activeVirtualAccounts" | "subAccount__address" | "subAccount__affiliateAddress" | "subAccount__cancelledQuotesCount" | "subAccount__closedQuotesCount" | "subAccount__coreSource" | "subAccount__deploymentId" | "subAccount__expiredQuotesCount" | "subAccount__id" | "subAccount__isDeleted" | "subAccount__isLegacy" | "subAccount__isolationType" | "subAccount__lastConfigTimestamp" | "subAccount__lastMarginTransferTimestamp" | "subAccount__lastTradeTimestamp" | "subAccount__latestMarginBalance" | "subAccount__legacyContract" | "subAccount__legacyImported" | "subAccount__legacyImportedTimestamp" | "subAccount__liquidatedQuotesCount" | "subAccount__metadata" | "subAccount__name" | "subAccount__openPositionsCount" | "subAccount__owner" | "subAccount__pendingQuotesCount" | "subAccount__rejectedQuotesCount" | "subAccount__routingMode" | "subAccount__singleVAMode" | "subAccount__source" | "subAccount__symmioCore" | "subAccount__timestamp" | "subAccount__totalPositions" | "subAccount__totalVirtualAccounts" | "subAccount__updateTimestamp" | "timestamp" | "transaction" | "type" | "virtualAccount" | "virtualAccountRef" | "virtualAccountRef__accountLayerSource" | "virtualAccountRef__activePositions" | "virtualAccountRef__address" | "virtualAccountRef__cancelledQuotesCount" | "virtualAccountRef__closedQuotesCount" | "virtualAccountRef__coreSource" | "virtualAccountRef__deploymentId" | "virtualAccountRef__expiredQuotesCount" | "virtualAccountRef__id" | "virtualAccountRef__isDeleted" | "virtualAccountRef__isolationType" | "virtualAccountRef__lastDeleteTimestamp" | "virtualAccountRef__lastMarginTransferTimestamp" | "virtualAccountRef__lastReuseTimestamp" | "virtualAccountRef__lastTradeTimestamp" | "virtualAccountRef__latestMarginBalance" | "virtualAccountRef__liquidatedQuotesCount" | "virtualAccountRef__metadata" | "virtualAccountRef__openPositionsCount" | "virtualAccountRef__owner" | "virtualAccountRef__parentAddress" | "virtualAccountRef__pendingQuotesCount" | "virtualAccountRef__rejectedQuotesCount" | "virtualAccountRef__reuseCount" | "virtualAccountRef__source" | "virtualAccountRef__symbolId" | "virtualAccountRef__timestamp" | "virtualAccountRef__totalPositions" | "virtualAccountRef__updateTimestamp" | "virtualAccount__accountLayerSource" | "virtualAccount__activePositions" | "virtualAccount__address" | "virtualAccount__cancelledQuotesCount" | "virtualAccount__closedQuotesCount" | "virtualAccount__coreSource" | "virtualAccount__deploymentId" | "virtualAccount__expiredQuotesCount" | "virtualAccount__id" | "virtualAccount__isDeleted" | "virtualAccount__isolationType" | "virtualAccount__lastDeleteTimestamp" | "virtualAccount__lastMarginTransferTimestamp" | "virtualAccount__lastReuseTimestamp" | "virtualAccount__lastTradeTimestamp" | "virtualAccount__latestMarginBalance" | "virtualAccount__liquidatedQuotesCount" | "virtualAccount__metadata" | "virtualAccount__openPositionsCount" | "virtualAccount__owner" | "virtualAccount__parentAddress" | "virtualAccount__pendingQuotesCount" | "virtualAccount__rejectedQuotesCount" | "virtualAccount__reuseCount" | "virtualAccount__source" | "virtualAccount__symbolId" | "virtualAccount__timestamp" | "virtualAccount__totalPositions" | "virtualAccount__updateTimestamp";
12
1752
  /** Defines the order direction, either ascending or descending */
13
1753
  export type OrderDirection = "asc" | "desc";
1754
+ export type QuoteEvent_Filter = {
1755
+ /** Filter for the block changed event. */
1756
+ _change_block?: BlockChangedFilter | null | undefined;
1757
+ and?: Array<QuoteEvent_Filter | null | undefined> | null | undefined;
1758
+ blockNumber?: string | null | undefined;
1759
+ blockNumber_gt?: string | null | undefined;
1760
+ blockNumber_gte?: string | null | undefined;
1761
+ blockNumber_in?: Array<string> | null | undefined;
1762
+ blockNumber_lt?: string | null | undefined;
1763
+ blockNumber_lte?: string | null | undefined;
1764
+ blockNumber_not?: string | null | undefined;
1765
+ blockNumber_not_in?: Array<string> | null | undefined;
1766
+ globalCounter?: string | null | undefined;
1767
+ globalCounter_gt?: string | null | undefined;
1768
+ globalCounter_gte?: string | null | undefined;
1769
+ globalCounter_in?: Array<string> | null | undefined;
1770
+ globalCounter_lt?: string | null | undefined;
1771
+ globalCounter_lte?: string | null | undefined;
1772
+ globalCounter_not?: string | null | undefined;
1773
+ globalCounter_not_in?: Array<string> | null | undefined;
1774
+ id?: string | number | null | undefined;
1775
+ id_gt?: string | number | null | undefined;
1776
+ id_gte?: string | number | null | undefined;
1777
+ id_in?: Array<string | number> | null | undefined;
1778
+ id_lt?: string | number | null | undefined;
1779
+ id_lte?: string | number | null | undefined;
1780
+ id_not?: string | number | null | undefined;
1781
+ id_not_in?: Array<string | number> | null | undefined;
1782
+ metadata?: string | null | undefined;
1783
+ metadata_contains?: string | null | undefined;
1784
+ metadata_contains_nocase?: string | null | undefined;
1785
+ metadata_ends_with?: string | null | undefined;
1786
+ metadata_ends_with_nocase?: string | null | undefined;
1787
+ metadata_gt?: string | null | undefined;
1788
+ metadata_gte?: string | null | undefined;
1789
+ metadata_in?: Array<string> | null | undefined;
1790
+ metadata_lt?: string | null | undefined;
1791
+ metadata_lte?: string | null | undefined;
1792
+ metadata_not?: string | null | undefined;
1793
+ metadata_not_contains?: string | null | undefined;
1794
+ metadata_not_contains_nocase?: string | null | undefined;
1795
+ metadata_not_ends_with?: string | null | undefined;
1796
+ metadata_not_ends_with_nocase?: string | null | undefined;
1797
+ metadata_not_in?: Array<string> | null | undefined;
1798
+ metadata_not_starts_with?: string | null | undefined;
1799
+ metadata_not_starts_with_nocase?: string | null | undefined;
1800
+ metadata_starts_with?: string | null | undefined;
1801
+ metadata_starts_with_nocase?: string | null | undefined;
1802
+ or?: Array<QuoteEvent_Filter | null | undefined> | null | undefined;
1803
+ quote?: string | null | undefined;
1804
+ quoteId?: string | null | undefined;
1805
+ quoteId_gt?: string | null | undefined;
1806
+ quoteId_gte?: string | null | undefined;
1807
+ quoteId_in?: Array<string> | null | undefined;
1808
+ quoteId_lt?: string | null | undefined;
1809
+ quoteId_lte?: string | null | undefined;
1810
+ quoteId_not?: string | null | undefined;
1811
+ quoteId_not_in?: Array<string> | null | undefined;
1812
+ quote_?: Quote_Filter | null | undefined;
1813
+ quote_contains?: string | null | undefined;
1814
+ quote_contains_nocase?: string | null | undefined;
1815
+ quote_ends_with?: string | null | undefined;
1816
+ quote_ends_with_nocase?: string | null | undefined;
1817
+ quote_gt?: string | null | undefined;
1818
+ quote_gte?: string | null | undefined;
1819
+ quote_in?: Array<string> | null | undefined;
1820
+ quote_lt?: string | null | undefined;
1821
+ quote_lte?: string | null | undefined;
1822
+ quote_not?: string | null | undefined;
1823
+ quote_not_contains?: string | null | undefined;
1824
+ quote_not_contains_nocase?: string | null | undefined;
1825
+ quote_not_ends_with?: string | null | undefined;
1826
+ quote_not_ends_with_nocase?: string | null | undefined;
1827
+ quote_not_in?: Array<string> | null | undefined;
1828
+ quote_not_starts_with?: string | null | undefined;
1829
+ quote_not_starts_with_nocase?: string | null | undefined;
1830
+ quote_starts_with?: string | null | undefined;
1831
+ quote_starts_with_nocase?: string | null | undefined;
1832
+ source?: string | null | undefined;
1833
+ source_contains?: string | null | undefined;
1834
+ source_gt?: string | null | undefined;
1835
+ source_gte?: string | null | undefined;
1836
+ source_in?: Array<string> | null | undefined;
1837
+ source_lt?: string | null | undefined;
1838
+ source_lte?: string | null | undefined;
1839
+ source_not?: string | null | undefined;
1840
+ source_not_contains?: string | null | undefined;
1841
+ source_not_in?: Array<string> | null | undefined;
1842
+ timestamp?: string | null | undefined;
1843
+ timestamp_gt?: string | null | undefined;
1844
+ timestamp_gte?: string | null | undefined;
1845
+ timestamp_in?: Array<string> | null | undefined;
1846
+ timestamp_lt?: string | null | undefined;
1847
+ timestamp_lte?: string | null | undefined;
1848
+ timestamp_not?: string | null | undefined;
1849
+ timestamp_not_in?: Array<string> | null | undefined;
1850
+ transaction?: string | null | undefined;
1851
+ transaction_contains?: string | null | undefined;
1852
+ transaction_gt?: string | null | undefined;
1853
+ transaction_gte?: string | null | undefined;
1854
+ transaction_in?: Array<string> | null | undefined;
1855
+ transaction_lt?: string | null | undefined;
1856
+ transaction_lte?: string | null | undefined;
1857
+ transaction_not?: string | null | undefined;
1858
+ transaction_not_contains?: string | null | undefined;
1859
+ transaction_not_in?: Array<string> | null | undefined;
1860
+ type?: string | null | undefined;
1861
+ type_contains?: string | null | undefined;
1862
+ type_contains_nocase?: string | null | undefined;
1863
+ type_ends_with?: string | null | undefined;
1864
+ type_ends_with_nocase?: string | null | undefined;
1865
+ type_gt?: string | null | undefined;
1866
+ type_gte?: string | null | undefined;
1867
+ type_in?: Array<string> | null | undefined;
1868
+ type_lt?: string | null | undefined;
1869
+ type_lte?: string | null | undefined;
1870
+ type_not?: string | null | undefined;
1871
+ type_not_contains?: string | null | undefined;
1872
+ type_not_contains_nocase?: string | null | undefined;
1873
+ type_not_ends_with?: string | null | undefined;
1874
+ type_not_ends_with_nocase?: string | null | undefined;
1875
+ type_not_in?: Array<string> | null | undefined;
1876
+ type_not_starts_with?: string | null | undefined;
1877
+ type_not_starts_with_nocase?: string | null | undefined;
1878
+ type_starts_with?: string | null | undefined;
1879
+ type_starts_with_nocase?: string | null | undefined;
1880
+ };
1881
+ export type QuoteFundingSettlement_Filter = {
1882
+ /** Filter for the block changed event. */
1883
+ _change_block?: BlockChangedFilter | null | undefined;
1884
+ and?: Array<QuoteFundingSettlement_Filter | null | undefined> | null | undefined;
1885
+ balanceChanged?: boolean | null | undefined;
1886
+ balanceChanged_in?: Array<boolean> | null | undefined;
1887
+ balanceChanged_not?: boolean | null | undefined;
1888
+ balanceChanged_not_in?: Array<boolean> | null | undefined;
1889
+ blockNumber?: string | null | undefined;
1890
+ blockNumber_gt?: string | null | undefined;
1891
+ blockNumber_gte?: string | null | undefined;
1892
+ blockNumber_in?: Array<string> | null | undefined;
1893
+ blockNumber_lt?: string | null | undefined;
1894
+ blockNumber_lte?: string | null | undefined;
1895
+ blockNumber_not?: string | null | undefined;
1896
+ blockNumber_not_in?: Array<string> | null | undefined;
1897
+ fundingDeltaPerUnit?: string | null | undefined;
1898
+ fundingDeltaPerUnit_gt?: string | null | undefined;
1899
+ fundingDeltaPerUnit_gte?: string | null | undefined;
1900
+ fundingDeltaPerUnit_in?: Array<string> | null | undefined;
1901
+ fundingDeltaPerUnit_lt?: string | null | undefined;
1902
+ fundingDeltaPerUnit_lte?: string | null | undefined;
1903
+ fundingDeltaPerUnit_not?: string | null | undefined;
1904
+ fundingDeltaPerUnit_not_in?: Array<string> | null | undefined;
1905
+ id?: string | number | null | undefined;
1906
+ id_gt?: string | number | null | undefined;
1907
+ id_gte?: string | number | null | undefined;
1908
+ id_in?: Array<string | number> | null | undefined;
1909
+ id_lt?: string | number | null | undefined;
1910
+ id_lte?: string | number | null | undefined;
1911
+ id_not?: string | number | null | undefined;
1912
+ id_not_in?: Array<string | number> | null | undefined;
1913
+ newAccumulatedPaidFunding?: string | null | undefined;
1914
+ newAccumulatedPaidFunding_gt?: string | null | undefined;
1915
+ newAccumulatedPaidFunding_gte?: string | null | undefined;
1916
+ newAccumulatedPaidFunding_in?: Array<string> | null | undefined;
1917
+ newAccumulatedPaidFunding_lt?: string | null | undefined;
1918
+ newAccumulatedPaidFunding_lte?: string | null | undefined;
1919
+ newAccumulatedPaidFunding_not?: string | null | undefined;
1920
+ newAccumulatedPaidFunding_not_in?: Array<string> | null | undefined;
1921
+ newLastFundingPaymentTimestamp?: string | null | undefined;
1922
+ newLastFundingPaymentTimestamp_gt?: string | null | undefined;
1923
+ newLastFundingPaymentTimestamp_gte?: string | null | undefined;
1924
+ newLastFundingPaymentTimestamp_in?: Array<string> | null | undefined;
1925
+ newLastFundingPaymentTimestamp_lt?: string | null | undefined;
1926
+ newLastFundingPaymentTimestamp_lte?: string | null | undefined;
1927
+ newLastFundingPaymentTimestamp_not?: string | null | undefined;
1928
+ newLastFundingPaymentTimestamp_not_in?: Array<string> | null | undefined;
1929
+ newPaidThroughEpoch?: string | null | undefined;
1930
+ newPaidThroughEpoch_gt?: string | null | undefined;
1931
+ newPaidThroughEpoch_gte?: string | null | undefined;
1932
+ newPaidThroughEpoch_in?: Array<string> | null | undefined;
1933
+ newPaidThroughEpoch_lt?: string | null | undefined;
1934
+ newPaidThroughEpoch_lte?: string | null | undefined;
1935
+ newPaidThroughEpoch_not?: string | null | undefined;
1936
+ newPaidThroughEpoch_not_in?: Array<string> | null | undefined;
1937
+ openAmount?: string | null | undefined;
1938
+ openAmount_gt?: string | null | undefined;
1939
+ openAmount_gte?: string | null | undefined;
1940
+ openAmount_in?: Array<string> | null | undefined;
1941
+ openAmount_lt?: string | null | undefined;
1942
+ openAmount_lte?: string | null | undefined;
1943
+ openAmount_not?: string | null | undefined;
1944
+ openAmount_not_in?: Array<string> | null | undefined;
1945
+ or?: Array<QuoteFundingSettlement_Filter | null | undefined> | null | undefined;
1946
+ paidByPartyA?: string | null | undefined;
1947
+ paidByPartyA_gt?: string | null | undefined;
1948
+ paidByPartyA_gte?: string | null | undefined;
1949
+ paidByPartyA_in?: Array<string> | null | undefined;
1950
+ paidByPartyA_lt?: string | null | undefined;
1951
+ paidByPartyA_lte?: string | null | undefined;
1952
+ paidByPartyA_not?: string | null | undefined;
1953
+ paidByPartyA_not_in?: Array<string> | null | undefined;
1954
+ partyA?: string | null | undefined;
1955
+ partyA_contains?: string | null | undefined;
1956
+ partyA_gt?: string | null | undefined;
1957
+ partyA_gte?: string | null | undefined;
1958
+ partyA_in?: Array<string> | null | undefined;
1959
+ partyA_lt?: string | null | undefined;
1960
+ partyA_lte?: string | null | undefined;
1961
+ partyA_not?: string | null | undefined;
1962
+ partyA_not_contains?: string | null | undefined;
1963
+ partyA_not_in?: Array<string> | null | undefined;
1964
+ partyB?: string | null | undefined;
1965
+ partyB_contains?: string | null | undefined;
1966
+ partyB_gt?: string | null | undefined;
1967
+ partyB_gte?: string | null | undefined;
1968
+ partyB_in?: Array<string> | null | undefined;
1969
+ partyB_lt?: string | null | undefined;
1970
+ partyB_lte?: string | null | undefined;
1971
+ partyB_not?: string | null | undefined;
1972
+ partyB_not_contains?: string | null | undefined;
1973
+ partyB_not_in?: Array<string> | null | undefined;
1974
+ positionType?: number | null | undefined;
1975
+ positionType_gt?: number | null | undefined;
1976
+ positionType_gte?: number | null | undefined;
1977
+ positionType_in?: Array<number> | null | undefined;
1978
+ positionType_lt?: number | null | undefined;
1979
+ positionType_lte?: number | null | undefined;
1980
+ positionType_not?: number | null | undefined;
1981
+ positionType_not_in?: Array<number> | null | undefined;
1982
+ previousAccumulatedPaidFunding?: string | null | undefined;
1983
+ previousAccumulatedPaidFunding_gt?: string | null | undefined;
1984
+ previousAccumulatedPaidFunding_gte?: string | null | undefined;
1985
+ previousAccumulatedPaidFunding_in?: Array<string> | null | undefined;
1986
+ previousAccumulatedPaidFunding_lt?: string | null | undefined;
1987
+ previousAccumulatedPaidFunding_lte?: string | null | undefined;
1988
+ previousAccumulatedPaidFunding_not?: string | null | undefined;
1989
+ previousAccumulatedPaidFunding_not_in?: Array<string> | null | undefined;
1990
+ previousLastFundingPaymentTimestamp?: string | null | undefined;
1991
+ previousLastFundingPaymentTimestamp_gt?: string | null | undefined;
1992
+ previousLastFundingPaymentTimestamp_gte?: string | null | undefined;
1993
+ previousLastFundingPaymentTimestamp_in?: Array<string> | null | undefined;
1994
+ previousLastFundingPaymentTimestamp_lt?: string | null | undefined;
1995
+ previousLastFundingPaymentTimestamp_lte?: string | null | undefined;
1996
+ previousLastFundingPaymentTimestamp_not?: string | null | undefined;
1997
+ previousLastFundingPaymentTimestamp_not_in?: Array<string> | null | undefined;
1998
+ previousPaidThroughEpoch?: string | null | undefined;
1999
+ previousPaidThroughEpoch_gt?: string | null | undefined;
2000
+ previousPaidThroughEpoch_gte?: string | null | undefined;
2001
+ previousPaidThroughEpoch_in?: Array<string> | null | undefined;
2002
+ previousPaidThroughEpoch_lt?: string | null | undefined;
2003
+ previousPaidThroughEpoch_lte?: string | null | undefined;
2004
+ previousPaidThroughEpoch_not?: string | null | undefined;
2005
+ previousPaidThroughEpoch_not_in?: Array<string> | null | undefined;
2006
+ quote?: string | null | undefined;
2007
+ quoteId?: string | null | undefined;
2008
+ quoteId_gt?: string | null | undefined;
2009
+ quoteId_gte?: string | null | undefined;
2010
+ quoteId_in?: Array<string> | null | undefined;
2011
+ quoteId_lt?: string | null | undefined;
2012
+ quoteId_lte?: string | null | undefined;
2013
+ quoteId_not?: string | null | undefined;
2014
+ quoteId_not_in?: Array<string> | null | undefined;
2015
+ quote_?: Quote_Filter | null | undefined;
2016
+ quote_contains?: string | null | undefined;
2017
+ quote_contains_nocase?: string | null | undefined;
2018
+ quote_ends_with?: string | null | undefined;
2019
+ quote_ends_with_nocase?: string | null | undefined;
2020
+ quote_gt?: string | null | undefined;
2021
+ quote_gte?: string | null | undefined;
2022
+ quote_in?: Array<string> | null | undefined;
2023
+ quote_lt?: string | null | undefined;
2024
+ quote_lte?: string | null | undefined;
2025
+ quote_not?: string | null | undefined;
2026
+ quote_not_contains?: string | null | undefined;
2027
+ quote_not_contains_nocase?: string | null | undefined;
2028
+ quote_not_ends_with?: string | null | undefined;
2029
+ quote_not_ends_with_nocase?: string | null | undefined;
2030
+ quote_not_in?: Array<string> | null | undefined;
2031
+ quote_not_starts_with?: string | null | undefined;
2032
+ quote_not_starts_with_nocase?: string | null | undefined;
2033
+ quote_starts_with?: string | null | undefined;
2034
+ quote_starts_with_nocase?: string | null | undefined;
2035
+ receivedByPartyA?: string | null | undefined;
2036
+ receivedByPartyA_gt?: string | null | undefined;
2037
+ receivedByPartyA_gte?: string | null | undefined;
2038
+ receivedByPartyA_in?: Array<string> | null | undefined;
2039
+ receivedByPartyA_lt?: string | null | undefined;
2040
+ receivedByPartyA_lte?: string | null | undefined;
2041
+ receivedByPartyA_not?: string | null | undefined;
2042
+ receivedByPartyA_not_in?: Array<string> | null | undefined;
2043
+ signedAmount?: string | null | undefined;
2044
+ signedAmount_gt?: string | null | undefined;
2045
+ signedAmount_gte?: string | null | undefined;
2046
+ signedAmount_in?: Array<string> | null | undefined;
2047
+ signedAmount_lt?: string | null | undefined;
2048
+ signedAmount_lte?: string | null | undefined;
2049
+ signedAmount_not?: string | null | undefined;
2050
+ signedAmount_not_in?: Array<string> | null | undefined;
2051
+ source?: string | null | undefined;
2052
+ source_contains?: string | null | undefined;
2053
+ source_gt?: string | null | undefined;
2054
+ source_gte?: string | null | undefined;
2055
+ source_in?: Array<string> | null | undefined;
2056
+ source_lt?: string | null | undefined;
2057
+ source_lte?: string | null | undefined;
2058
+ source_not?: string | null | undefined;
2059
+ source_not_contains?: string | null | undefined;
2060
+ source_not_in?: Array<string> | null | undefined;
2061
+ symbolId?: string | null | undefined;
2062
+ symbolId_gt?: string | null | undefined;
2063
+ symbolId_gte?: string | null | undefined;
2064
+ symbolId_in?: Array<string> | null | undefined;
2065
+ symbolId_lt?: string | null | undefined;
2066
+ symbolId_lte?: string | null | undefined;
2067
+ symbolId_not?: string | null | undefined;
2068
+ symbolId_not_in?: Array<string> | null | undefined;
2069
+ symbolName?: string | null | undefined;
2070
+ symbolName_contains?: string | null | undefined;
2071
+ symbolName_contains_nocase?: string | null | undefined;
2072
+ symbolName_ends_with?: string | null | undefined;
2073
+ symbolName_ends_with_nocase?: string | null | undefined;
2074
+ symbolName_gt?: string | null | undefined;
2075
+ symbolName_gte?: string | null | undefined;
2076
+ symbolName_in?: Array<string> | null | undefined;
2077
+ symbolName_lt?: string | null | undefined;
2078
+ symbolName_lte?: string | null | undefined;
2079
+ symbolName_not?: string | null | undefined;
2080
+ symbolName_not_contains?: string | null | undefined;
2081
+ symbolName_not_contains_nocase?: string | null | undefined;
2082
+ symbolName_not_ends_with?: string | null | undefined;
2083
+ symbolName_not_ends_with_nocase?: string | null | undefined;
2084
+ symbolName_not_in?: Array<string> | null | undefined;
2085
+ symbolName_not_starts_with?: string | null | undefined;
2086
+ symbolName_not_starts_with_nocase?: string | null | undefined;
2087
+ symbolName_starts_with?: string | null | undefined;
2088
+ symbolName_starts_with_nocase?: string | null | undefined;
2089
+ timestamp?: string | null | undefined;
2090
+ timestamp_gt?: string | null | undefined;
2091
+ timestamp_gte?: string | null | undefined;
2092
+ timestamp_in?: Array<string> | null | undefined;
2093
+ timestamp_lt?: string | null | undefined;
2094
+ timestamp_lte?: string | null | undefined;
2095
+ timestamp_not?: string | null | undefined;
2096
+ timestamp_not_in?: Array<string> | null | undefined;
2097
+ transaction?: string | null | undefined;
2098
+ transaction_contains?: string | null | undefined;
2099
+ transaction_gt?: string | null | undefined;
2100
+ transaction_gte?: string | null | undefined;
2101
+ transaction_in?: Array<string> | null | undefined;
2102
+ transaction_lt?: string | null | undefined;
2103
+ transaction_lte?: string | null | undefined;
2104
+ transaction_not?: string | null | undefined;
2105
+ transaction_not_contains?: string | null | undefined;
2106
+ transaction_not_in?: Array<string> | null | undefined;
2107
+ trigger?: string | null | undefined;
2108
+ trigger_contains?: string | null | undefined;
2109
+ trigger_contains_nocase?: string | null | undefined;
2110
+ trigger_ends_with?: string | null | undefined;
2111
+ trigger_ends_with_nocase?: string | null | undefined;
2112
+ trigger_gt?: string | null | undefined;
2113
+ trigger_gte?: string | null | undefined;
2114
+ trigger_in?: Array<string> | null | undefined;
2115
+ trigger_lt?: string | null | undefined;
2116
+ trigger_lte?: string | null | undefined;
2117
+ trigger_not?: string | null | undefined;
2118
+ trigger_not_contains?: string | null | undefined;
2119
+ trigger_not_contains_nocase?: string | null | undefined;
2120
+ trigger_not_ends_with?: string | null | undefined;
2121
+ trigger_not_ends_with_nocase?: string | null | undefined;
2122
+ trigger_not_in?: Array<string> | null | undefined;
2123
+ trigger_not_starts_with?: string | null | undefined;
2124
+ trigger_not_starts_with_nocase?: string | null | undefined;
2125
+ trigger_starts_with?: string | null | undefined;
2126
+ trigger_starts_with_nocase?: string | null | undefined;
2127
+ };
2128
+ export type QuoteFundingSettlement_OrderBy = "balanceChanged" | "blockNumber" | "fundingDeltaPerUnit" | "id" | "newAccumulatedPaidFunding" | "newLastFundingPaymentTimestamp" | "newPaidThroughEpoch" | "openAmount" | "paidByPartyA" | "partyA" | "partyB" | "positionType" | "previousAccumulatedPaidFunding" | "previousLastFundingPaymentTimestamp" | "previousPaidThroughEpoch" | "quote" | "quoteId" | "quote__accumulatedPaidFunding" | "quote__action" | "quote__affiliate" | "quote__averageClosedPrice" | "quote__blockNumber" | "quote__closeDeadline" | "quote__closeFee" | "quote__closeId" | "quote__closePrice" | "quote__closedAmount" | "quote__closedPrice" | "quote__cva" | "quote__feeAffiliate" | "quote__fillAmount" | "quote__globalCounter" | "quote__id" | "quote__initialCva" | "quote__initialLf" | "quote__initialOpenedPrice" | "quote__initialPartyAmm" | "quote__initialPartyBmm" | "quote__lastAdjustmentEpoch" | "quote__lastAdjustmentFactor" | "quote__lastFundingPaymentTimestamp" | "quote__leverage" | "quote__lf" | "quote__liquidateAmount" | "quote__liquidatePrice" | "quote__liquidatedSide" | "quote__liquidationId" | "quote__marketPrice" | "quote__maxFundingRate" | "quote__openDeadline" | "quote__openedPrice" | "quote__orderTypeClose" | "quote__orderTypeOpen" | "quote__paidCloseFee" | "quote__paidOpenFee" | "quote__partyA" | "quote__partyAmm" | "quote__partyB" | "quote__partyBmm" | "quote__positionType" | "quote__quantity" | "quote__quantityToClose" | "quote__quoteId" | "quote__quoteStatus" | "quote__requestedOpenPrice" | "quote__source" | "quote__symbol" | "quote__symbolId" | "quote__timestamp" | "quote__timestampFullyClose" | "quote__timestampOpenPosition" | "quote__timestampSendQuote" | "quote__tradingFee" | "quote__userPaidFunding" | "quote__userReceivedFunding" | "receivedByPartyA" | "signedAmount" | "source" | "symbolId" | "symbolName" | "timestamp" | "transaction" | "trigger";
2129
+ export type Quote_Filter = {
2130
+ /** Filter for the block changed event. */
2131
+ _change_block?: BlockChangedFilter | null | undefined;
2132
+ accumulatedPaidFunding?: string | null | undefined;
2133
+ accumulatedPaidFunding_gt?: string | null | undefined;
2134
+ accumulatedPaidFunding_gte?: string | null | undefined;
2135
+ accumulatedPaidFunding_in?: Array<string> | null | undefined;
2136
+ accumulatedPaidFunding_lt?: string | null | undefined;
2137
+ accumulatedPaidFunding_lte?: string | null | undefined;
2138
+ accumulatedPaidFunding_not?: string | null | undefined;
2139
+ accumulatedPaidFunding_not_in?: Array<string> | null | undefined;
2140
+ action?: string | null | undefined;
2141
+ action_contains?: string | null | undefined;
2142
+ action_contains_nocase?: string | null | undefined;
2143
+ action_ends_with?: string | null | undefined;
2144
+ action_ends_with_nocase?: string | null | undefined;
2145
+ action_gt?: string | null | undefined;
2146
+ action_gte?: string | null | undefined;
2147
+ action_in?: Array<string> | null | undefined;
2148
+ action_lt?: string | null | undefined;
2149
+ action_lte?: string | null | undefined;
2150
+ action_not?: string | null | undefined;
2151
+ action_not_contains?: string | null | undefined;
2152
+ action_not_contains_nocase?: string | null | undefined;
2153
+ action_not_ends_with?: string | null | undefined;
2154
+ action_not_ends_with_nocase?: string | null | undefined;
2155
+ action_not_in?: Array<string> | null | undefined;
2156
+ action_not_starts_with?: string | null | undefined;
2157
+ action_not_starts_with_nocase?: string | null | undefined;
2158
+ action_starts_with?: string | null | undefined;
2159
+ action_starts_with_nocase?: string | null | undefined;
2160
+ affiliate?: string | null | undefined;
2161
+ affiliate_contains?: string | null | undefined;
2162
+ affiliate_gt?: string | null | undefined;
2163
+ affiliate_gte?: string | null | undefined;
2164
+ affiliate_in?: Array<string> | null | undefined;
2165
+ affiliate_lt?: string | null | undefined;
2166
+ affiliate_lte?: string | null | undefined;
2167
+ affiliate_not?: string | null | undefined;
2168
+ affiliate_not_contains?: string | null | undefined;
2169
+ affiliate_not_in?: Array<string> | null | undefined;
2170
+ and?: Array<Quote_Filter | null | undefined> | null | undefined;
2171
+ averageClosedPrice?: string | null | undefined;
2172
+ averageClosedPrice_gt?: string | null | undefined;
2173
+ averageClosedPrice_gte?: string | null | undefined;
2174
+ averageClosedPrice_in?: Array<string> | null | undefined;
2175
+ averageClosedPrice_lt?: string | null | undefined;
2176
+ averageClosedPrice_lte?: string | null | undefined;
2177
+ averageClosedPrice_not?: string | null | undefined;
2178
+ averageClosedPrice_not_in?: Array<string> | null | undefined;
2179
+ blockNumber?: string | null | undefined;
2180
+ blockNumber_gt?: string | null | undefined;
2181
+ blockNumber_gte?: string | null | undefined;
2182
+ blockNumber_in?: Array<string> | null | undefined;
2183
+ blockNumber_lt?: string | null | undefined;
2184
+ blockNumber_lte?: string | null | undefined;
2185
+ blockNumber_not?: string | null | undefined;
2186
+ blockNumber_not_in?: Array<string> | null | undefined;
2187
+ closeDeadline?: string | null | undefined;
2188
+ closeDeadline_gt?: string | null | undefined;
2189
+ closeDeadline_gte?: string | null | undefined;
2190
+ closeDeadline_in?: Array<string> | null | undefined;
2191
+ closeDeadline_lt?: string | null | undefined;
2192
+ closeDeadline_lte?: string | null | undefined;
2193
+ closeDeadline_not?: string | null | undefined;
2194
+ closeDeadline_not_in?: Array<string> | null | undefined;
2195
+ closeFee?: string | null | undefined;
2196
+ closeFee_gt?: string | null | undefined;
2197
+ closeFee_gte?: string | null | undefined;
2198
+ closeFee_in?: Array<string> | null | undefined;
2199
+ closeFee_lt?: string | null | undefined;
2200
+ closeFee_lte?: string | null | undefined;
2201
+ closeFee_not?: string | null | undefined;
2202
+ closeFee_not_in?: Array<string> | null | undefined;
2203
+ closeId?: string | null | undefined;
2204
+ closeId_gt?: string | null | undefined;
2205
+ closeId_gte?: string | null | undefined;
2206
+ closeId_in?: Array<string> | null | undefined;
2207
+ closeId_lt?: string | null | undefined;
2208
+ closeId_lte?: string | null | undefined;
2209
+ closeId_not?: string | null | undefined;
2210
+ closeId_not_in?: Array<string> | null | undefined;
2211
+ closePrice?: string | null | undefined;
2212
+ closePrice_gt?: string | null | undefined;
2213
+ closePrice_gte?: string | null | undefined;
2214
+ closePrice_in?: Array<string> | null | undefined;
2215
+ closePrice_lt?: string | null | undefined;
2216
+ closePrice_lte?: string | null | undefined;
2217
+ closePrice_not?: string | null | undefined;
2218
+ closePrice_not_in?: Array<string> | null | undefined;
2219
+ closedAmount?: string | null | undefined;
2220
+ closedAmount_gt?: string | null | undefined;
2221
+ closedAmount_gte?: string | null | undefined;
2222
+ closedAmount_in?: Array<string> | null | undefined;
2223
+ closedAmount_lt?: string | null | undefined;
2224
+ closedAmount_lte?: string | null | undefined;
2225
+ closedAmount_not?: string | null | undefined;
2226
+ closedAmount_not_in?: Array<string> | null | undefined;
2227
+ closedPrice?: string | null | undefined;
2228
+ closedPrice_gt?: string | null | undefined;
2229
+ closedPrice_gte?: string | null | undefined;
2230
+ closedPrice_in?: Array<string> | null | undefined;
2231
+ closedPrice_lt?: string | null | undefined;
2232
+ closedPrice_lte?: string | null | undefined;
2233
+ closedPrice_not?: string | null | undefined;
2234
+ closedPrice_not_in?: Array<string> | null | undefined;
2235
+ cva?: string | null | undefined;
2236
+ cva_gt?: string | null | undefined;
2237
+ cva_gte?: string | null | undefined;
2238
+ cva_in?: Array<string> | null | undefined;
2239
+ cva_lt?: string | null | undefined;
2240
+ cva_lte?: string | null | undefined;
2241
+ cva_not?: string | null | undefined;
2242
+ cva_not_in?: Array<string> | null | undefined;
2243
+ feeAffiliate?: string | null | undefined;
2244
+ feeAffiliate_contains?: string | null | undefined;
2245
+ feeAffiliate_gt?: string | null | undefined;
2246
+ feeAffiliate_gte?: string | null | undefined;
2247
+ feeAffiliate_in?: Array<string> | null | undefined;
2248
+ feeAffiliate_lt?: string | null | undefined;
2249
+ feeAffiliate_lte?: string | null | undefined;
2250
+ feeAffiliate_not?: string | null | undefined;
2251
+ feeAffiliate_not_contains?: string | null | undefined;
2252
+ feeAffiliate_not_in?: Array<string> | null | undefined;
2253
+ fillAmount?: string | null | undefined;
2254
+ fillAmount_gt?: string | null | undefined;
2255
+ fillAmount_gte?: string | null | undefined;
2256
+ fillAmount_in?: Array<string> | null | undefined;
2257
+ fillAmount_lt?: string | null | undefined;
2258
+ fillAmount_lte?: string | null | undefined;
2259
+ fillAmount_not?: string | null | undefined;
2260
+ fillAmount_not_in?: Array<string> | null | undefined;
2261
+ fundingSettlements_?: QuoteFundingSettlement_Filter | null | undefined;
2262
+ globalCounter?: string | null | undefined;
2263
+ globalCounter_gt?: string | null | undefined;
2264
+ globalCounter_gte?: string | null | undefined;
2265
+ globalCounter_in?: Array<string> | null | undefined;
2266
+ globalCounter_lt?: string | null | undefined;
2267
+ globalCounter_lte?: string | null | undefined;
2268
+ globalCounter_not?: string | null | undefined;
2269
+ globalCounter_not_in?: Array<string> | null | undefined;
2270
+ id?: string | null | undefined;
2271
+ id_contains?: string | null | undefined;
2272
+ id_contains_nocase?: string | null | undefined;
2273
+ id_ends_with?: string | null | undefined;
2274
+ id_ends_with_nocase?: string | null | undefined;
2275
+ id_gt?: string | null | undefined;
2276
+ id_gte?: string | null | undefined;
2277
+ id_in?: Array<string> | null | undefined;
2278
+ id_lt?: string | null | undefined;
2279
+ id_lte?: string | null | undefined;
2280
+ id_not?: string | null | undefined;
2281
+ id_not_contains?: string | null | undefined;
2282
+ id_not_contains_nocase?: string | null | undefined;
2283
+ id_not_ends_with?: string | null | undefined;
2284
+ id_not_ends_with_nocase?: string | null | undefined;
2285
+ id_not_in?: Array<string> | null | undefined;
2286
+ id_not_starts_with?: string | null | undefined;
2287
+ id_not_starts_with_nocase?: string | null | undefined;
2288
+ id_starts_with?: string | null | undefined;
2289
+ id_starts_with_nocase?: string | null | undefined;
2290
+ initialCva?: string | null | undefined;
2291
+ initialCva_gt?: string | null | undefined;
2292
+ initialCva_gte?: string | null | undefined;
2293
+ initialCva_in?: Array<string> | null | undefined;
2294
+ initialCva_lt?: string | null | undefined;
2295
+ initialCva_lte?: string | null | undefined;
2296
+ initialCva_not?: string | null | undefined;
2297
+ initialCva_not_in?: Array<string> | null | undefined;
2298
+ initialLf?: string | null | undefined;
2299
+ initialLf_gt?: string | null | undefined;
2300
+ initialLf_gte?: string | null | undefined;
2301
+ initialLf_in?: Array<string> | null | undefined;
2302
+ initialLf_lt?: string | null | undefined;
2303
+ initialLf_lte?: string | null | undefined;
2304
+ initialLf_not?: string | null | undefined;
2305
+ initialLf_not_in?: Array<string> | null | undefined;
2306
+ initialOpenedPrice?: string | null | undefined;
2307
+ initialOpenedPrice_gt?: string | null | undefined;
2308
+ initialOpenedPrice_gte?: string | null | undefined;
2309
+ initialOpenedPrice_in?: Array<string> | null | undefined;
2310
+ initialOpenedPrice_lt?: string | null | undefined;
2311
+ initialOpenedPrice_lte?: string | null | undefined;
2312
+ initialOpenedPrice_not?: string | null | undefined;
2313
+ initialOpenedPrice_not_in?: Array<string> | null | undefined;
2314
+ initialPartyAmm?: string | null | undefined;
2315
+ initialPartyAmm_gt?: string | null | undefined;
2316
+ initialPartyAmm_gte?: string | null | undefined;
2317
+ initialPartyAmm_in?: Array<string> | null | undefined;
2318
+ initialPartyAmm_lt?: string | null | undefined;
2319
+ initialPartyAmm_lte?: string | null | undefined;
2320
+ initialPartyAmm_not?: string | null | undefined;
2321
+ initialPartyAmm_not_in?: Array<string> | null | undefined;
2322
+ initialPartyBmm?: string | null | undefined;
2323
+ initialPartyBmm_gt?: string | null | undefined;
2324
+ initialPartyBmm_gte?: string | null | undefined;
2325
+ initialPartyBmm_in?: Array<string> | null | undefined;
2326
+ initialPartyBmm_lt?: string | null | undefined;
2327
+ initialPartyBmm_lte?: string | null | undefined;
2328
+ initialPartyBmm_not?: string | null | undefined;
2329
+ initialPartyBmm_not_in?: Array<string> | null | undefined;
2330
+ lastAdjustmentEpoch?: string | null | undefined;
2331
+ lastAdjustmentEpoch_gt?: string | null | undefined;
2332
+ lastAdjustmentEpoch_gte?: string | null | undefined;
2333
+ lastAdjustmentEpoch_in?: Array<string> | null | undefined;
2334
+ lastAdjustmentEpoch_lt?: string | null | undefined;
2335
+ lastAdjustmentEpoch_lte?: string | null | undefined;
2336
+ lastAdjustmentEpoch_not?: string | null | undefined;
2337
+ lastAdjustmentEpoch_not_in?: Array<string> | null | undefined;
2338
+ lastAdjustmentFactor?: string | null | undefined;
2339
+ lastAdjustmentFactor_gt?: string | null | undefined;
2340
+ lastAdjustmentFactor_gte?: string | null | undefined;
2341
+ lastAdjustmentFactor_in?: Array<string> | null | undefined;
2342
+ lastAdjustmentFactor_lt?: string | null | undefined;
2343
+ lastAdjustmentFactor_lte?: string | null | undefined;
2344
+ lastAdjustmentFactor_not?: string | null | undefined;
2345
+ lastAdjustmentFactor_not_in?: Array<string> | null | undefined;
2346
+ lastFundingPaymentTimestamp?: string | null | undefined;
2347
+ lastFundingPaymentTimestamp_gt?: string | null | undefined;
2348
+ lastFundingPaymentTimestamp_gte?: string | null | undefined;
2349
+ lastFundingPaymentTimestamp_in?: Array<string> | null | undefined;
2350
+ lastFundingPaymentTimestamp_lt?: string | null | undefined;
2351
+ lastFundingPaymentTimestamp_lte?: string | null | undefined;
2352
+ lastFundingPaymentTimestamp_not?: string | null | undefined;
2353
+ lastFundingPaymentTimestamp_not_in?: Array<string> | null | undefined;
2354
+ leverage?: string | null | undefined;
2355
+ leverage_gt?: string | null | undefined;
2356
+ leverage_gte?: string | null | undefined;
2357
+ leverage_in?: Array<string> | null | undefined;
2358
+ leverage_lt?: string | null | undefined;
2359
+ leverage_lte?: string | null | undefined;
2360
+ leverage_not?: string | null | undefined;
2361
+ leverage_not_in?: Array<string> | null | undefined;
2362
+ lf?: string | null | undefined;
2363
+ lf_gt?: string | null | undefined;
2364
+ lf_gte?: string | null | undefined;
2365
+ lf_in?: Array<string> | null | undefined;
2366
+ lf_lt?: string | null | undefined;
2367
+ lf_lte?: string | null | undefined;
2368
+ lf_not?: string | null | undefined;
2369
+ lf_not_in?: Array<string> | null | undefined;
2370
+ liquidateAmount?: string | null | undefined;
2371
+ liquidateAmount_gt?: string | null | undefined;
2372
+ liquidateAmount_gte?: string | null | undefined;
2373
+ liquidateAmount_in?: Array<string> | null | undefined;
2374
+ liquidateAmount_lt?: string | null | undefined;
2375
+ liquidateAmount_lte?: string | null | undefined;
2376
+ liquidateAmount_not?: string | null | undefined;
2377
+ liquidateAmount_not_in?: Array<string> | null | undefined;
2378
+ liquidatePrice?: string | null | undefined;
2379
+ liquidatePrice_gt?: string | null | undefined;
2380
+ liquidatePrice_gte?: string | null | undefined;
2381
+ liquidatePrice_in?: Array<string> | null | undefined;
2382
+ liquidatePrice_lt?: string | null | undefined;
2383
+ liquidatePrice_lte?: string | null | undefined;
2384
+ liquidatePrice_not?: string | null | undefined;
2385
+ liquidatePrice_not_in?: Array<string> | null | undefined;
2386
+ liquidatedSide?: number | null | undefined;
2387
+ liquidatedSide_gt?: number | null | undefined;
2388
+ liquidatedSide_gte?: number | null | undefined;
2389
+ liquidatedSide_in?: Array<number> | null | undefined;
2390
+ liquidatedSide_lt?: number | null | undefined;
2391
+ liquidatedSide_lte?: number | null | undefined;
2392
+ liquidatedSide_not?: number | null | undefined;
2393
+ liquidatedSide_not_in?: Array<number> | null | undefined;
2394
+ liquidationId?: string | null | undefined;
2395
+ liquidationId_contains?: string | null | undefined;
2396
+ liquidationId_gt?: string | null | undefined;
2397
+ liquidationId_gte?: string | null | undefined;
2398
+ liquidationId_in?: Array<string> | null | undefined;
2399
+ liquidationId_lt?: string | null | undefined;
2400
+ liquidationId_lte?: string | null | undefined;
2401
+ liquidationId_not?: string | null | undefined;
2402
+ liquidationId_not_contains?: string | null | undefined;
2403
+ liquidationId_not_in?: Array<string> | null | undefined;
2404
+ marketPrice?: string | null | undefined;
2405
+ marketPrice_gt?: string | null | undefined;
2406
+ marketPrice_gte?: string | null | undefined;
2407
+ marketPrice_in?: Array<string> | null | undefined;
2408
+ marketPrice_lt?: string | null | undefined;
2409
+ marketPrice_lte?: string | null | undefined;
2410
+ marketPrice_not?: string | null | undefined;
2411
+ marketPrice_not_in?: Array<string> | null | undefined;
2412
+ maxFundingRate?: string | null | undefined;
2413
+ maxFundingRate_gt?: string | null | undefined;
2414
+ maxFundingRate_gte?: string | null | undefined;
2415
+ maxFundingRate_in?: Array<string> | null | undefined;
2416
+ maxFundingRate_lt?: string | null | undefined;
2417
+ maxFundingRate_lte?: string | null | undefined;
2418
+ maxFundingRate_not?: string | null | undefined;
2419
+ maxFundingRate_not_in?: Array<string> | null | undefined;
2420
+ openDeadline?: string | null | undefined;
2421
+ openDeadline_gt?: string | null | undefined;
2422
+ openDeadline_gte?: string | null | undefined;
2423
+ openDeadline_in?: Array<string> | null | undefined;
2424
+ openDeadline_lt?: string | null | undefined;
2425
+ openDeadline_lte?: string | null | undefined;
2426
+ openDeadline_not?: string | null | undefined;
2427
+ openDeadline_not_in?: Array<string> | null | undefined;
2428
+ openedPrice?: string | null | undefined;
2429
+ openedPrice_gt?: string | null | undefined;
2430
+ openedPrice_gte?: string | null | undefined;
2431
+ openedPrice_in?: Array<string> | null | undefined;
2432
+ openedPrice_lt?: string | null | undefined;
2433
+ openedPrice_lte?: string | null | undefined;
2434
+ openedPrice_not?: string | null | undefined;
2435
+ openedPrice_not_in?: Array<string> | null | undefined;
2436
+ or?: Array<Quote_Filter | null | undefined> | null | undefined;
2437
+ orderTypeClose?: number | null | undefined;
2438
+ orderTypeClose_gt?: number | null | undefined;
2439
+ orderTypeClose_gte?: number | null | undefined;
2440
+ orderTypeClose_in?: Array<number> | null | undefined;
2441
+ orderTypeClose_lt?: number | null | undefined;
2442
+ orderTypeClose_lte?: number | null | undefined;
2443
+ orderTypeClose_not?: number | null | undefined;
2444
+ orderTypeClose_not_in?: Array<number> | null | undefined;
2445
+ orderTypeOpen?: number | null | undefined;
2446
+ orderTypeOpen_gt?: number | null | undefined;
2447
+ orderTypeOpen_gte?: number | null | undefined;
2448
+ orderTypeOpen_in?: Array<number> | null | undefined;
2449
+ orderTypeOpen_lt?: number | null | undefined;
2450
+ orderTypeOpen_lte?: number | null | undefined;
2451
+ orderTypeOpen_not?: number | null | undefined;
2452
+ orderTypeOpen_not_in?: Array<number> | null | undefined;
2453
+ paidCloseFee?: string | null | undefined;
2454
+ paidCloseFee_gt?: string | null | undefined;
2455
+ paidCloseFee_gte?: string | null | undefined;
2456
+ paidCloseFee_in?: Array<string> | null | undefined;
2457
+ paidCloseFee_lt?: string | null | undefined;
2458
+ paidCloseFee_lte?: string | null | undefined;
2459
+ paidCloseFee_not?: string | null | undefined;
2460
+ paidCloseFee_not_in?: Array<string> | null | undefined;
2461
+ paidOpenFee?: string | null | undefined;
2462
+ paidOpenFee_gt?: string | null | undefined;
2463
+ paidOpenFee_gte?: string | null | undefined;
2464
+ paidOpenFee_in?: Array<string> | null | undefined;
2465
+ paidOpenFee_lt?: string | null | undefined;
2466
+ paidOpenFee_lte?: string | null | undefined;
2467
+ paidOpenFee_not?: string | null | undefined;
2468
+ paidOpenFee_not_in?: Array<string> | null | undefined;
2469
+ partyA?: string | null | undefined;
2470
+ partyAAccount?: string | null | undefined;
2471
+ partyAAccount_?: Account_Filter | null | undefined;
2472
+ partyAAccount_contains?: string | null | undefined;
2473
+ partyAAccount_contains_nocase?: string | null | undefined;
2474
+ partyAAccount_ends_with?: string | null | undefined;
2475
+ partyAAccount_ends_with_nocase?: string | null | undefined;
2476
+ partyAAccount_gt?: string | null | undefined;
2477
+ partyAAccount_gte?: string | null | undefined;
2478
+ partyAAccount_in?: Array<string> | null | undefined;
2479
+ partyAAccount_lt?: string | null | undefined;
2480
+ partyAAccount_lte?: string | null | undefined;
2481
+ partyAAccount_not?: string | null | undefined;
2482
+ partyAAccount_not_contains?: string | null | undefined;
2483
+ partyAAccount_not_contains_nocase?: string | null | undefined;
2484
+ partyAAccount_not_ends_with?: string | null | undefined;
2485
+ partyAAccount_not_ends_with_nocase?: string | null | undefined;
2486
+ partyAAccount_not_in?: Array<string> | null | undefined;
2487
+ partyAAccount_not_starts_with?: string | null | undefined;
2488
+ partyAAccount_not_starts_with_nocase?: string | null | undefined;
2489
+ partyAAccount_starts_with?: string | null | undefined;
2490
+ partyAAccount_starts_with_nocase?: string | null | undefined;
2491
+ partyA_contains?: string | null | undefined;
2492
+ partyA_gt?: string | null | undefined;
2493
+ partyA_gte?: string | null | undefined;
2494
+ partyA_in?: Array<string> | null | undefined;
2495
+ partyA_lt?: string | null | undefined;
2496
+ partyA_lte?: string | null | undefined;
2497
+ partyA_not?: string | null | undefined;
2498
+ partyA_not_contains?: string | null | undefined;
2499
+ partyA_not_in?: Array<string> | null | undefined;
2500
+ partyAmm?: string | null | undefined;
2501
+ partyAmm_gt?: string | null | undefined;
2502
+ partyAmm_gte?: string | null | undefined;
2503
+ partyAmm_in?: Array<string> | null | undefined;
2504
+ partyAmm_lt?: string | null | undefined;
2505
+ partyAmm_lte?: string | null | undefined;
2506
+ partyAmm_not?: string | null | undefined;
2507
+ partyAmm_not_in?: Array<string> | null | undefined;
2508
+ partyB?: string | null | undefined;
2509
+ partyB_contains?: string | null | undefined;
2510
+ partyB_gt?: string | null | undefined;
2511
+ partyB_gte?: string | null | undefined;
2512
+ partyB_in?: Array<string> | null | undefined;
2513
+ partyB_lt?: string | null | undefined;
2514
+ partyB_lte?: string | null | undefined;
2515
+ partyB_not?: string | null | undefined;
2516
+ partyB_not_contains?: string | null | undefined;
2517
+ partyB_not_in?: Array<string> | null | undefined;
2518
+ partyBmm?: string | null | undefined;
2519
+ partyBmm_gt?: string | null | undefined;
2520
+ partyBmm_gte?: string | null | undefined;
2521
+ partyBmm_in?: Array<string> | null | undefined;
2522
+ partyBmm_lt?: string | null | undefined;
2523
+ partyBmm_lte?: string | null | undefined;
2524
+ partyBmm_not?: string | null | undefined;
2525
+ partyBmm_not_in?: Array<string> | null | undefined;
2526
+ partyBsWhiteList?: Array<string> | null | undefined;
2527
+ partyBsWhiteList_contains?: Array<string> | null | undefined;
2528
+ partyBsWhiteList_not?: Array<string> | null | undefined;
2529
+ partyBsWhiteList_not_contains?: Array<string> | null | undefined;
2530
+ positionType?: number | null | undefined;
2531
+ positionType_gt?: number | null | undefined;
2532
+ positionType_gte?: number | null | undefined;
2533
+ positionType_in?: Array<number> | null | undefined;
2534
+ positionType_lt?: number | null | undefined;
2535
+ positionType_lte?: number | null | undefined;
2536
+ positionType_not?: number | null | undefined;
2537
+ positionType_not_in?: Array<number> | null | undefined;
2538
+ quantity?: string | null | undefined;
2539
+ quantityToClose?: string | null | undefined;
2540
+ quantityToClose_gt?: string | null | undefined;
2541
+ quantityToClose_gte?: string | null | undefined;
2542
+ quantityToClose_in?: Array<string> | null | undefined;
2543
+ quantityToClose_lt?: string | null | undefined;
2544
+ quantityToClose_lte?: string | null | undefined;
2545
+ quantityToClose_not?: string | null | undefined;
2546
+ quantityToClose_not_in?: Array<string> | null | undefined;
2547
+ quantity_gt?: string | null | undefined;
2548
+ quantity_gte?: string | null | undefined;
2549
+ quantity_in?: Array<string> | null | undefined;
2550
+ quantity_lt?: string | null | undefined;
2551
+ quantity_lte?: string | null | undefined;
2552
+ quantity_not?: string | null | undefined;
2553
+ quantity_not_in?: Array<string> | null | undefined;
2554
+ quoteEvents_?: QuoteEvent_Filter | null | undefined;
2555
+ quoteId?: string | null | undefined;
2556
+ quoteId_gt?: string | null | undefined;
2557
+ quoteId_gte?: string | null | undefined;
2558
+ quoteId_in?: Array<string> | null | undefined;
2559
+ quoteId_lt?: string | null | undefined;
2560
+ quoteId_lte?: string | null | undefined;
2561
+ quoteId_not?: string | null | undefined;
2562
+ quoteId_not_in?: Array<string> | null | undefined;
2563
+ quoteStatus?: number | null | undefined;
2564
+ quoteStatus_gt?: number | null | undefined;
2565
+ quoteStatus_gte?: number | null | undefined;
2566
+ quoteStatus_in?: Array<number> | null | undefined;
2567
+ quoteStatus_lt?: number | null | undefined;
2568
+ quoteStatus_lte?: number | null | undefined;
2569
+ quoteStatus_not?: number | null | undefined;
2570
+ quoteStatus_not_in?: Array<number> | null | undefined;
2571
+ requestedOpenPrice?: string | null | undefined;
2572
+ requestedOpenPrice_gt?: string | null | undefined;
2573
+ requestedOpenPrice_gte?: string | null | undefined;
2574
+ requestedOpenPrice_in?: Array<string> | null | undefined;
2575
+ requestedOpenPrice_lt?: string | null | undefined;
2576
+ requestedOpenPrice_lte?: string | null | undefined;
2577
+ requestedOpenPrice_not?: string | null | undefined;
2578
+ requestedOpenPrice_not_in?: Array<string> | null | undefined;
2579
+ source?: string | null | undefined;
2580
+ source_contains?: string | null | undefined;
2581
+ source_gt?: string | null | undefined;
2582
+ source_gte?: string | null | undefined;
2583
+ source_in?: Array<string> | null | undefined;
2584
+ source_lt?: string | null | undefined;
2585
+ source_lte?: string | null | undefined;
2586
+ source_not?: string | null | undefined;
2587
+ source_not_contains?: string | null | undefined;
2588
+ source_not_in?: Array<string> | null | undefined;
2589
+ subAccount?: string | null | undefined;
2590
+ subAccount_?: SubAccount_Filter | null | undefined;
2591
+ subAccount_contains?: string | null | undefined;
2592
+ subAccount_contains_nocase?: string | null | undefined;
2593
+ subAccount_ends_with?: string | null | undefined;
2594
+ subAccount_ends_with_nocase?: string | null | undefined;
2595
+ subAccount_gt?: string | null | undefined;
2596
+ subAccount_gte?: string | null | undefined;
2597
+ subAccount_in?: Array<string> | null | undefined;
2598
+ subAccount_lt?: string | null | undefined;
2599
+ subAccount_lte?: string | null | undefined;
2600
+ subAccount_not?: string | null | undefined;
2601
+ subAccount_not_contains?: string | null | undefined;
2602
+ subAccount_not_contains_nocase?: string | null | undefined;
2603
+ subAccount_not_ends_with?: string | null | undefined;
2604
+ subAccount_not_ends_with_nocase?: string | null | undefined;
2605
+ subAccount_not_in?: Array<string> | null | undefined;
2606
+ subAccount_not_starts_with?: string | null | undefined;
2607
+ subAccount_not_starts_with_nocase?: string | null | undefined;
2608
+ subAccount_starts_with?: string | null | undefined;
2609
+ subAccount_starts_with_nocase?: string | null | undefined;
2610
+ symbol?: string | null | undefined;
2611
+ symbolId?: string | null | undefined;
2612
+ symbolId_gt?: string | null | undefined;
2613
+ symbolId_gte?: string | null | undefined;
2614
+ symbolId_in?: Array<string> | null | undefined;
2615
+ symbolId_lt?: string | null | undefined;
2616
+ symbolId_lte?: string | null | undefined;
2617
+ symbolId_not?: string | null | undefined;
2618
+ symbolId_not_in?: Array<string> | null | undefined;
2619
+ symbol_contains?: string | null | undefined;
2620
+ symbol_contains_nocase?: string | null | undefined;
2621
+ symbol_ends_with?: string | null | undefined;
2622
+ symbol_ends_with_nocase?: string | null | undefined;
2623
+ symbol_gt?: string | null | undefined;
2624
+ symbol_gte?: string | null | undefined;
2625
+ symbol_in?: Array<string> | null | undefined;
2626
+ symbol_lt?: string | null | undefined;
2627
+ symbol_lte?: string | null | undefined;
2628
+ symbol_not?: string | null | undefined;
2629
+ symbol_not_contains?: string | null | undefined;
2630
+ symbol_not_contains_nocase?: string | null | undefined;
2631
+ symbol_not_ends_with?: string | null | undefined;
2632
+ symbol_not_ends_with_nocase?: string | null | undefined;
2633
+ symbol_not_in?: Array<string> | null | undefined;
2634
+ symbol_not_starts_with?: string | null | undefined;
2635
+ symbol_not_starts_with_nocase?: string | null | undefined;
2636
+ symbol_starts_with?: string | null | undefined;
2637
+ symbol_starts_with_nocase?: string | null | undefined;
2638
+ timestamp?: string | null | undefined;
2639
+ timestampFullyClose?: string | null | undefined;
2640
+ timestampFullyClose_gt?: string | null | undefined;
2641
+ timestampFullyClose_gte?: string | null | undefined;
2642
+ timestampFullyClose_in?: Array<string> | null | undefined;
2643
+ timestampFullyClose_lt?: string | null | undefined;
2644
+ timestampFullyClose_lte?: string | null | undefined;
2645
+ timestampFullyClose_not?: string | null | undefined;
2646
+ timestampFullyClose_not_in?: Array<string> | null | undefined;
2647
+ timestampOpenPosition?: string | null | undefined;
2648
+ timestampOpenPosition_gt?: string | null | undefined;
2649
+ timestampOpenPosition_gte?: string | null | undefined;
2650
+ timestampOpenPosition_in?: Array<string> | null | undefined;
2651
+ timestampOpenPosition_lt?: string | null | undefined;
2652
+ timestampOpenPosition_lte?: string | null | undefined;
2653
+ timestampOpenPosition_not?: string | null | undefined;
2654
+ timestampOpenPosition_not_in?: Array<string> | null | undefined;
2655
+ timestampSendQuote?: string | null | undefined;
2656
+ timestampSendQuote_gt?: string | null | undefined;
2657
+ timestampSendQuote_gte?: string | null | undefined;
2658
+ timestampSendQuote_in?: Array<string> | null | undefined;
2659
+ timestampSendQuote_lt?: string | null | undefined;
2660
+ timestampSendQuote_lte?: string | null | undefined;
2661
+ timestampSendQuote_not?: string | null | undefined;
2662
+ timestampSendQuote_not_in?: Array<string> | null | undefined;
2663
+ timestamp_gt?: string | null | undefined;
2664
+ timestamp_gte?: string | null | undefined;
2665
+ timestamp_in?: Array<string> | null | undefined;
2666
+ timestamp_lt?: string | null | undefined;
2667
+ timestamp_lte?: string | null | undefined;
2668
+ timestamp_not?: string | null | undefined;
2669
+ timestamp_not_in?: Array<string> | null | undefined;
2670
+ tradingFee?: string | null | undefined;
2671
+ tradingFee_gt?: string | null | undefined;
2672
+ tradingFee_gte?: string | null | undefined;
2673
+ tradingFee_in?: Array<string> | null | undefined;
2674
+ tradingFee_lt?: string | null | undefined;
2675
+ tradingFee_lte?: string | null | undefined;
2676
+ tradingFee_not?: string | null | undefined;
2677
+ tradingFee_not_in?: Array<string> | null | undefined;
2678
+ userPaidFunding?: string | null | undefined;
2679
+ userPaidFunding_gt?: string | null | undefined;
2680
+ userPaidFunding_gte?: string | null | undefined;
2681
+ userPaidFunding_in?: Array<string> | null | undefined;
2682
+ userPaidFunding_lt?: string | null | undefined;
2683
+ userPaidFunding_lte?: string | null | undefined;
2684
+ userPaidFunding_not?: string | null | undefined;
2685
+ userPaidFunding_not_in?: Array<string> | null | undefined;
2686
+ userReceivedFunding?: string | null | undefined;
2687
+ userReceivedFunding_gt?: string | null | undefined;
2688
+ userReceivedFunding_gte?: string | null | undefined;
2689
+ userReceivedFunding_in?: Array<string> | null | undefined;
2690
+ userReceivedFunding_lt?: string | null | undefined;
2691
+ userReceivedFunding_lte?: string | null | undefined;
2692
+ userReceivedFunding_not?: string | null | undefined;
2693
+ userReceivedFunding_not_in?: Array<string> | null | undefined;
2694
+ virtualAccount?: string | null | undefined;
2695
+ virtualAccount_?: VirtualAccount_Filter | null | undefined;
2696
+ virtualAccount_contains?: string | null | undefined;
2697
+ virtualAccount_contains_nocase?: string | null | undefined;
2698
+ virtualAccount_ends_with?: string | null | undefined;
2699
+ virtualAccount_ends_with_nocase?: string | null | undefined;
2700
+ virtualAccount_gt?: string | null | undefined;
2701
+ virtualAccount_gte?: string | null | undefined;
2702
+ virtualAccount_in?: Array<string> | null | undefined;
2703
+ virtualAccount_lt?: string | null | undefined;
2704
+ virtualAccount_lte?: string | null | undefined;
2705
+ virtualAccount_not?: string | null | undefined;
2706
+ virtualAccount_not_contains?: string | null | undefined;
2707
+ virtualAccount_not_contains_nocase?: string | null | undefined;
2708
+ virtualAccount_not_ends_with?: string | null | undefined;
2709
+ virtualAccount_not_ends_with_nocase?: string | null | undefined;
2710
+ virtualAccount_not_in?: Array<string> | null | undefined;
2711
+ virtualAccount_not_starts_with?: string | null | undefined;
2712
+ virtualAccount_not_starts_with_nocase?: string | null | undefined;
2713
+ virtualAccount_starts_with?: string | null | undefined;
2714
+ virtualAccount_starts_with_nocase?: string | null | undefined;
2715
+ };
2716
+ export type Quote_OrderBy = "accumulatedPaidFunding" | "action" | "affiliate" | "averageClosedPrice" | "blockNumber" | "closeDeadline" | "closeFee" | "closeId" | "closePrice" | "closedAmount" | "closedPrice" | "cva" | "feeAffiliate" | "fillAmount" | "fundingSettlements" | "globalCounter" | "id" | "initialCva" | "initialLf" | "initialOpenedPrice" | "initialPartyAmm" | "initialPartyBmm" | "lastAdjustmentEpoch" | "lastAdjustmentFactor" | "lastFundingPaymentTimestamp" | "leverage" | "lf" | "liquidateAmount" | "liquidatePrice" | "liquidatedSide" | "liquidationId" | "marketPrice" | "maxFundingRate" | "openDeadline" | "openedPrice" | "orderTypeClose" | "orderTypeOpen" | "paidCloseFee" | "paidOpenFee" | "partyA" | "partyAAccount" | "partyAAccount__account" | "partyAAccount__accountKind" | "partyAAccount__accountLayerSource" | "partyAAccount__accountSource" | "partyAAccount__affiliate" | "partyAAccount__allocated" | "partyAAccount__blockNumber" | "partyAAccount__coreSource" | "partyAAccount__deallocated" | "partyAAccount__deploymentId" | "partyAAccount__deposit" | "partyAAccount__globalCounter" | "partyAAccount__id" | "partyAAccount__isDeleted" | "partyAAccount__isVirtual" | "partyAAccount__lastActivityTimestamp" | "partyAAccount__lastBalanceActivityTimestamp" | "partyAAccount__lastCoreActivityTimestamp" | "partyAAccount__lastLayerActivityTimestamp" | "partyAAccount__name" | "partyAAccount__owner" | "partyAAccount__parentAddress" | "partyAAccount__positionsCount" | "partyAAccount__quotesCount" | "partyAAccount__source" | "partyAAccount__timestamp" | "partyAAccount__transaction" | "partyAAccount__type" | "partyAAccount__updateTimestamp" | "partyAAccount__user" | "partyAAccount__withdraw" | "partyAmm" | "partyB" | "partyBmm" | "partyBsWhiteList" | "positionType" | "quantity" | "quantityToClose" | "quoteEvents" | "quoteId" | "quoteStatus" | "requestedOpenPrice" | "source" | "subAccount" | "subAccount__accountLayerSource" | "subAccount__activePositions" | "subAccount__activeVirtualAccounts" | "subAccount__address" | "subAccount__affiliateAddress" | "subAccount__cancelledQuotesCount" | "subAccount__closedQuotesCount" | "subAccount__coreSource" | "subAccount__deploymentId" | "subAccount__expiredQuotesCount" | "subAccount__id" | "subAccount__isDeleted" | "subAccount__isLegacy" | "subAccount__isolationType" | "subAccount__lastConfigTimestamp" | "subAccount__lastMarginTransferTimestamp" | "subAccount__lastTradeTimestamp" | "subAccount__latestMarginBalance" | "subAccount__legacyContract" | "subAccount__legacyImported" | "subAccount__legacyImportedTimestamp" | "subAccount__liquidatedQuotesCount" | "subAccount__metadata" | "subAccount__name" | "subAccount__openPositionsCount" | "subAccount__owner" | "subAccount__pendingQuotesCount" | "subAccount__rejectedQuotesCount" | "subAccount__routingMode" | "subAccount__singleVAMode" | "subAccount__source" | "subAccount__symmioCore" | "subAccount__timestamp" | "subAccount__totalPositions" | "subAccount__totalVirtualAccounts" | "subAccount__updateTimestamp" | "symbol" | "symbolId" | "timestamp" | "timestampFullyClose" | "timestampOpenPosition" | "timestampSendQuote" | "tradingFee" | "userPaidFunding" | "userReceivedFunding" | "virtualAccount" | "virtualAccount__accountLayerSource" | "virtualAccount__activePositions" | "virtualAccount__address" | "virtualAccount__cancelledQuotesCount" | "virtualAccount__closedQuotesCount" | "virtualAccount__coreSource" | "virtualAccount__deploymentId" | "virtualAccount__expiredQuotesCount" | "virtualAccount__id" | "virtualAccount__isDeleted" | "virtualAccount__isolationType" | "virtualAccount__lastDeleteTimestamp" | "virtualAccount__lastMarginTransferTimestamp" | "virtualAccount__lastReuseTimestamp" | "virtualAccount__lastTradeTimestamp" | "virtualAccount__latestMarginBalance" | "virtualAccount__liquidatedQuotesCount" | "virtualAccount__metadata" | "virtualAccount__openPositionsCount" | "virtualAccount__owner" | "virtualAccount__parentAddress" | "virtualAccount__pendingQuotesCount" | "virtualAccount__rejectedQuotesCount" | "virtualAccount__reuseCount" | "virtualAccount__source" | "virtualAccount__symbolId" | "virtualAccount__timestamp" | "virtualAccount__totalPositions" | "virtualAccount__updateTimestamp";
2717
+ export type SubAccount_Filter = {
2718
+ /** Filter for the block changed event. */
2719
+ _change_block?: BlockChangedFilter | null | undefined;
2720
+ accountLayerSource?: string | null | undefined;
2721
+ accountLayerSource_contains?: string | null | undefined;
2722
+ accountLayerSource_gt?: string | null | undefined;
2723
+ accountLayerSource_gte?: string | null | undefined;
2724
+ accountLayerSource_in?: Array<string> | null | undefined;
2725
+ accountLayerSource_lt?: string | null | undefined;
2726
+ accountLayerSource_lte?: string | null | undefined;
2727
+ accountLayerSource_not?: string | null | undefined;
2728
+ accountLayerSource_not_contains?: string | null | undefined;
2729
+ accountLayerSource_not_in?: Array<string> | null | undefined;
2730
+ activePositions?: string | null | undefined;
2731
+ activePositions_gt?: string | null | undefined;
2732
+ activePositions_gte?: string | null | undefined;
2733
+ activePositions_in?: Array<string> | null | undefined;
2734
+ activePositions_lt?: string | null | undefined;
2735
+ activePositions_lte?: string | null | undefined;
2736
+ activePositions_not?: string | null | undefined;
2737
+ activePositions_not_in?: Array<string> | null | undefined;
2738
+ activeVirtualAccounts?: string | null | undefined;
2739
+ activeVirtualAccounts_gt?: string | null | undefined;
2740
+ activeVirtualAccounts_gte?: string | null | undefined;
2741
+ activeVirtualAccounts_in?: Array<string> | null | undefined;
2742
+ activeVirtualAccounts_lt?: string | null | undefined;
2743
+ activeVirtualAccounts_lte?: string | null | undefined;
2744
+ activeVirtualAccounts_not?: string | null | undefined;
2745
+ activeVirtualAccounts_not_in?: Array<string> | null | undefined;
2746
+ address?: string | null | undefined;
2747
+ address_contains?: string | null | undefined;
2748
+ address_gt?: string | null | undefined;
2749
+ address_gte?: string | null | undefined;
2750
+ address_in?: Array<string> | null | undefined;
2751
+ address_lt?: string | null | undefined;
2752
+ address_lte?: string | null | undefined;
2753
+ address_not?: string | null | undefined;
2754
+ address_not_contains?: string | null | undefined;
2755
+ address_not_in?: Array<string> | null | undefined;
2756
+ affiliate?: string | null | undefined;
2757
+ affiliateAddress?: string | null | undefined;
2758
+ affiliateAddress_contains?: string | null | undefined;
2759
+ affiliateAddress_gt?: string | null | undefined;
2760
+ affiliateAddress_gte?: string | null | undefined;
2761
+ affiliateAddress_in?: Array<string> | null | undefined;
2762
+ affiliateAddress_lt?: string | null | undefined;
2763
+ affiliateAddress_lte?: string | null | undefined;
2764
+ affiliateAddress_not?: string | null | undefined;
2765
+ affiliateAddress_not_contains?: string | null | undefined;
2766
+ affiliateAddress_not_in?: Array<string> | null | undefined;
2767
+ affiliate_?: Affiliate_Filter | null | undefined;
2768
+ affiliate_contains?: string | null | undefined;
2769
+ affiliate_contains_nocase?: string | null | undefined;
2770
+ affiliate_ends_with?: string | null | undefined;
2771
+ affiliate_ends_with_nocase?: string | null | undefined;
2772
+ affiliate_gt?: string | null | undefined;
2773
+ affiliate_gte?: string | null | undefined;
2774
+ affiliate_in?: Array<string> | null | undefined;
2775
+ affiliate_lt?: string | null | undefined;
2776
+ affiliate_lte?: string | null | undefined;
2777
+ affiliate_not?: string | null | undefined;
2778
+ affiliate_not_contains?: string | null | undefined;
2779
+ affiliate_not_contains_nocase?: string | null | undefined;
2780
+ affiliate_not_ends_with?: string | null | undefined;
2781
+ affiliate_not_ends_with_nocase?: string | null | undefined;
2782
+ affiliate_not_in?: Array<string> | null | undefined;
2783
+ affiliate_not_starts_with?: string | null | undefined;
2784
+ affiliate_not_starts_with_nocase?: string | null | undefined;
2785
+ affiliate_starts_with?: string | null | undefined;
2786
+ affiliate_starts_with_nocase?: string | null | undefined;
2787
+ and?: Array<SubAccount_Filter | null | undefined> | null | undefined;
2788
+ cancelledQuotesCount?: string | null | undefined;
2789
+ cancelledQuotesCount_gt?: string | null | undefined;
2790
+ cancelledQuotesCount_gte?: string | null | undefined;
2791
+ cancelledQuotesCount_in?: Array<string> | null | undefined;
2792
+ cancelledQuotesCount_lt?: string | null | undefined;
2793
+ cancelledQuotesCount_lte?: string | null | undefined;
2794
+ cancelledQuotesCount_not?: string | null | undefined;
2795
+ cancelledQuotesCount_not_in?: Array<string> | null | undefined;
2796
+ closedQuotesCount?: string | null | undefined;
2797
+ closedQuotesCount_gt?: string | null | undefined;
2798
+ closedQuotesCount_gte?: string | null | undefined;
2799
+ closedQuotesCount_in?: Array<string> | null | undefined;
2800
+ closedQuotesCount_lt?: string | null | undefined;
2801
+ closedQuotesCount_lte?: string | null | undefined;
2802
+ closedQuotesCount_not?: string | null | undefined;
2803
+ closedQuotesCount_not_in?: Array<string> | null | undefined;
2804
+ coreSource?: string | null | undefined;
2805
+ coreSource_contains?: string | null | undefined;
2806
+ coreSource_gt?: string | null | undefined;
2807
+ coreSource_gte?: string | null | undefined;
2808
+ coreSource_in?: Array<string> | null | undefined;
2809
+ coreSource_lt?: string | null | undefined;
2810
+ coreSource_lte?: string | null | undefined;
2811
+ coreSource_not?: string | null | undefined;
2812
+ coreSource_not_contains?: string | null | undefined;
2813
+ coreSource_not_in?: Array<string> | null | undefined;
2814
+ deploymentId?: string | null | undefined;
2815
+ deploymentId_contains?: string | null | undefined;
2816
+ deploymentId_contains_nocase?: string | null | undefined;
2817
+ deploymentId_ends_with?: string | null | undefined;
2818
+ deploymentId_ends_with_nocase?: string | null | undefined;
2819
+ deploymentId_gt?: string | null | undefined;
2820
+ deploymentId_gte?: string | null | undefined;
2821
+ deploymentId_in?: Array<string> | null | undefined;
2822
+ deploymentId_lt?: string | null | undefined;
2823
+ deploymentId_lte?: string | null | undefined;
2824
+ deploymentId_not?: string | null | undefined;
2825
+ deploymentId_not_contains?: string | null | undefined;
2826
+ deploymentId_not_contains_nocase?: string | null | undefined;
2827
+ deploymentId_not_ends_with?: string | null | undefined;
2828
+ deploymentId_not_ends_with_nocase?: string | null | undefined;
2829
+ deploymentId_not_in?: Array<string> | null | undefined;
2830
+ deploymentId_not_starts_with?: string | null | undefined;
2831
+ deploymentId_not_starts_with_nocase?: string | null | undefined;
2832
+ deploymentId_starts_with?: string | null | undefined;
2833
+ deploymentId_starts_with_nocase?: string | null | undefined;
2834
+ expiredQuotesCount?: string | null | undefined;
2835
+ expiredQuotesCount_gt?: string | null | undefined;
2836
+ expiredQuotesCount_gte?: string | null | undefined;
2837
+ expiredQuotesCount_in?: Array<string> | null | undefined;
2838
+ expiredQuotesCount_lt?: string | null | undefined;
2839
+ expiredQuotesCount_lte?: string | null | undefined;
2840
+ expiredQuotesCount_not?: string | null | undefined;
2841
+ expiredQuotesCount_not_in?: Array<string> | null | undefined;
2842
+ id?: string | number | null | undefined;
2843
+ id_gt?: string | number | null | undefined;
2844
+ id_gte?: string | number | null | undefined;
2845
+ id_in?: Array<string | number> | null | undefined;
2846
+ id_lt?: string | number | null | undefined;
2847
+ id_lte?: string | number | null | undefined;
2848
+ id_not?: string | number | null | undefined;
2849
+ id_not_in?: Array<string | number> | null | undefined;
2850
+ isDeleted?: boolean | null | undefined;
2851
+ isDeleted_in?: Array<boolean> | null | undefined;
2852
+ isDeleted_not?: boolean | null | undefined;
2853
+ isDeleted_not_in?: Array<boolean> | null | undefined;
2854
+ isLegacy?: boolean | null | undefined;
2855
+ isLegacy_in?: Array<boolean> | null | undefined;
2856
+ isLegacy_not?: boolean | null | undefined;
2857
+ isLegacy_not_in?: Array<boolean> | null | undefined;
2858
+ isolationType?: number | null | undefined;
2859
+ isolationType_gt?: number | null | undefined;
2860
+ isolationType_gte?: number | null | undefined;
2861
+ isolationType_in?: Array<number> | null | undefined;
2862
+ isolationType_lt?: number | null | undefined;
2863
+ isolationType_lte?: number | null | undefined;
2864
+ isolationType_not?: number | null | undefined;
2865
+ isolationType_not_in?: Array<number> | null | undefined;
2866
+ lastConfigTimestamp?: string | null | undefined;
2867
+ lastConfigTimestamp_gt?: string | null | undefined;
2868
+ lastConfigTimestamp_gte?: string | null | undefined;
2869
+ lastConfigTimestamp_in?: Array<string> | null | undefined;
2870
+ lastConfigTimestamp_lt?: string | null | undefined;
2871
+ lastConfigTimestamp_lte?: string | null | undefined;
2872
+ lastConfigTimestamp_not?: string | null | undefined;
2873
+ lastConfigTimestamp_not_in?: Array<string> | null | undefined;
2874
+ lastMarginTransferTimestamp?: string | null | undefined;
2875
+ lastMarginTransferTimestamp_gt?: string | null | undefined;
2876
+ lastMarginTransferTimestamp_gte?: string | null | undefined;
2877
+ lastMarginTransferTimestamp_in?: Array<string> | null | undefined;
2878
+ lastMarginTransferTimestamp_lt?: string | null | undefined;
2879
+ lastMarginTransferTimestamp_lte?: string | null | undefined;
2880
+ lastMarginTransferTimestamp_not?: string | null | undefined;
2881
+ lastMarginTransferTimestamp_not_in?: Array<string> | null | undefined;
2882
+ lastTradeTimestamp?: string | null | undefined;
2883
+ lastTradeTimestamp_gt?: string | null | undefined;
2884
+ lastTradeTimestamp_gte?: string | null | undefined;
2885
+ lastTradeTimestamp_in?: Array<string> | null | undefined;
2886
+ lastTradeTimestamp_lt?: string | null | undefined;
2887
+ lastTradeTimestamp_lte?: string | null | undefined;
2888
+ lastTradeTimestamp_not?: string | null | undefined;
2889
+ lastTradeTimestamp_not_in?: Array<string> | null | undefined;
2890
+ latestMarginBalance?: string | null | undefined;
2891
+ latestMarginBalance_gt?: string | null | undefined;
2892
+ latestMarginBalance_gte?: string | null | undefined;
2893
+ latestMarginBalance_in?: Array<string> | null | undefined;
2894
+ latestMarginBalance_lt?: string | null | undefined;
2895
+ latestMarginBalance_lte?: string | null | undefined;
2896
+ latestMarginBalance_not?: string | null | undefined;
2897
+ latestMarginBalance_not_in?: Array<string> | null | undefined;
2898
+ legacyContract?: string | null | undefined;
2899
+ legacyContract_contains?: string | null | undefined;
2900
+ legacyContract_gt?: string | null | undefined;
2901
+ legacyContract_gte?: string | null | undefined;
2902
+ legacyContract_in?: Array<string> | null | undefined;
2903
+ legacyContract_lt?: string | null | undefined;
2904
+ legacyContract_lte?: string | null | undefined;
2905
+ legacyContract_not?: string | null | undefined;
2906
+ legacyContract_not_contains?: string | null | undefined;
2907
+ legacyContract_not_in?: Array<string> | null | undefined;
2908
+ legacyImported?: boolean | null | undefined;
2909
+ legacyImportedTimestamp?: string | null | undefined;
2910
+ legacyImportedTimestamp_gt?: string | null | undefined;
2911
+ legacyImportedTimestamp_gte?: string | null | undefined;
2912
+ legacyImportedTimestamp_in?: Array<string> | null | undefined;
2913
+ legacyImportedTimestamp_lt?: string | null | undefined;
2914
+ legacyImportedTimestamp_lte?: string | null | undefined;
2915
+ legacyImportedTimestamp_not?: string | null | undefined;
2916
+ legacyImportedTimestamp_not_in?: Array<string> | null | undefined;
2917
+ legacyImported_in?: Array<boolean> | null | undefined;
2918
+ legacyImported_not?: boolean | null | undefined;
2919
+ legacyImported_not_in?: Array<boolean> | null | undefined;
2920
+ liquidatedQuotesCount?: string | null | undefined;
2921
+ liquidatedQuotesCount_gt?: string | null | undefined;
2922
+ liquidatedQuotesCount_gte?: string | null | undefined;
2923
+ liquidatedQuotesCount_in?: Array<string> | null | undefined;
2924
+ liquidatedQuotesCount_lt?: string | null | undefined;
2925
+ liquidatedQuotesCount_lte?: string | null | undefined;
2926
+ liquidatedQuotesCount_not?: string | null | undefined;
2927
+ liquidatedQuotesCount_not_in?: Array<string> | null | undefined;
2928
+ marginTransfers_?: MarginTransfer_Filter | null | undefined;
2929
+ metadata?: string | null | undefined;
2930
+ metadata_contains?: string | null | undefined;
2931
+ metadata_gt?: string | null | undefined;
2932
+ metadata_gte?: string | null | undefined;
2933
+ metadata_in?: Array<string> | null | undefined;
2934
+ metadata_lt?: string | null | undefined;
2935
+ metadata_lte?: string | null | undefined;
2936
+ metadata_not?: string | null | undefined;
2937
+ metadata_not_contains?: string | null | undefined;
2938
+ metadata_not_in?: Array<string> | null | undefined;
2939
+ name?: string | null | undefined;
2940
+ name_contains?: string | null | undefined;
2941
+ name_contains_nocase?: string | null | undefined;
2942
+ name_ends_with?: string | null | undefined;
2943
+ name_ends_with_nocase?: string | null | undefined;
2944
+ name_gt?: string | null | undefined;
2945
+ name_gte?: string | null | undefined;
2946
+ name_in?: Array<string> | null | undefined;
2947
+ name_lt?: string | null | undefined;
2948
+ name_lte?: string | null | undefined;
2949
+ name_not?: string | null | undefined;
2950
+ name_not_contains?: string | null | undefined;
2951
+ name_not_contains_nocase?: string | null | undefined;
2952
+ name_not_ends_with?: string | null | undefined;
2953
+ name_not_ends_with_nocase?: string | null | undefined;
2954
+ name_not_in?: Array<string> | null | undefined;
2955
+ name_not_starts_with?: string | null | undefined;
2956
+ name_not_starts_with_nocase?: string | null | undefined;
2957
+ name_starts_with?: string | null | undefined;
2958
+ name_starts_with_nocase?: string | null | undefined;
2959
+ openPositionsCount?: string | null | undefined;
2960
+ openPositionsCount_gt?: string | null | undefined;
2961
+ openPositionsCount_gte?: string | null | undefined;
2962
+ openPositionsCount_in?: Array<string> | null | undefined;
2963
+ openPositionsCount_lt?: string | null | undefined;
2964
+ openPositionsCount_lte?: string | null | undefined;
2965
+ openPositionsCount_not?: string | null | undefined;
2966
+ openPositionsCount_not_in?: Array<string> | null | undefined;
2967
+ or?: Array<SubAccount_Filter | null | undefined> | null | undefined;
2968
+ owner?: string | null | undefined;
2969
+ ownerRef?: string | null | undefined;
2970
+ ownerRef_?: User_Filter | null | undefined;
2971
+ ownerRef_contains?: string | null | undefined;
2972
+ ownerRef_contains_nocase?: string | null | undefined;
2973
+ ownerRef_ends_with?: string | null | undefined;
2974
+ ownerRef_ends_with_nocase?: string | null | undefined;
2975
+ ownerRef_gt?: string | null | undefined;
2976
+ ownerRef_gte?: string | null | undefined;
2977
+ ownerRef_in?: Array<string> | null | undefined;
2978
+ ownerRef_lt?: string | null | undefined;
2979
+ ownerRef_lte?: string | null | undefined;
2980
+ ownerRef_not?: string | null | undefined;
2981
+ ownerRef_not_contains?: string | null | undefined;
2982
+ ownerRef_not_contains_nocase?: string | null | undefined;
2983
+ ownerRef_not_ends_with?: string | null | undefined;
2984
+ ownerRef_not_ends_with_nocase?: string | null | undefined;
2985
+ ownerRef_not_in?: Array<string> | null | undefined;
2986
+ ownerRef_not_starts_with?: string | null | undefined;
2987
+ ownerRef_not_starts_with_nocase?: string | null | undefined;
2988
+ ownerRef_starts_with?: string | null | undefined;
2989
+ ownerRef_starts_with_nocase?: string | null | undefined;
2990
+ owner_contains?: string | null | undefined;
2991
+ owner_gt?: string | null | undefined;
2992
+ owner_gte?: string | null | undefined;
2993
+ owner_in?: Array<string> | null | undefined;
2994
+ owner_lt?: string | null | undefined;
2995
+ owner_lte?: string | null | undefined;
2996
+ owner_not?: string | null | undefined;
2997
+ owner_not_contains?: string | null | undefined;
2998
+ owner_not_in?: Array<string> | null | undefined;
2999
+ pendingQuotesCount?: string | null | undefined;
3000
+ pendingQuotesCount_gt?: string | null | undefined;
3001
+ pendingQuotesCount_gte?: string | null | undefined;
3002
+ pendingQuotesCount_in?: Array<string> | null | undefined;
3003
+ pendingQuotesCount_lt?: string | null | undefined;
3004
+ pendingQuotesCount_lte?: string | null | undefined;
3005
+ pendingQuotesCount_not?: string | null | undefined;
3006
+ pendingQuotesCount_not_in?: Array<string> | null | undefined;
3007
+ quotes_?: Quote_Filter | null | undefined;
3008
+ rejectedQuotesCount?: string | null | undefined;
3009
+ rejectedQuotesCount_gt?: string | null | undefined;
3010
+ rejectedQuotesCount_gte?: string | null | undefined;
3011
+ rejectedQuotesCount_in?: Array<string> | null | undefined;
3012
+ rejectedQuotesCount_lt?: string | null | undefined;
3013
+ rejectedQuotesCount_lte?: string | null | undefined;
3014
+ rejectedQuotesCount_not?: string | null | undefined;
3015
+ rejectedQuotesCount_not_in?: Array<string> | null | undefined;
3016
+ routingMode?: string | null | undefined;
3017
+ routingMode_contains?: string | null | undefined;
3018
+ routingMode_contains_nocase?: string | null | undefined;
3019
+ routingMode_ends_with?: string | null | undefined;
3020
+ routingMode_ends_with_nocase?: string | null | undefined;
3021
+ routingMode_gt?: string | null | undefined;
3022
+ routingMode_gte?: string | null | undefined;
3023
+ routingMode_in?: Array<string> | null | undefined;
3024
+ routingMode_lt?: string | null | undefined;
3025
+ routingMode_lte?: string | null | undefined;
3026
+ routingMode_not?: string | null | undefined;
3027
+ routingMode_not_contains?: string | null | undefined;
3028
+ routingMode_not_contains_nocase?: string | null | undefined;
3029
+ routingMode_not_ends_with?: string | null | undefined;
3030
+ routingMode_not_ends_with_nocase?: string | null | undefined;
3031
+ routingMode_not_in?: Array<string> | null | undefined;
3032
+ routingMode_not_starts_with?: string | null | undefined;
3033
+ routingMode_not_starts_with_nocase?: string | null | undefined;
3034
+ routingMode_starts_with?: string | null | undefined;
3035
+ routingMode_starts_with_nocase?: string | null | undefined;
3036
+ singleVAMode?: boolean | null | undefined;
3037
+ singleVAMode_in?: Array<boolean> | null | undefined;
3038
+ singleVAMode_not?: boolean | null | undefined;
3039
+ singleVAMode_not_in?: Array<boolean> | null | undefined;
3040
+ source?: string | null | undefined;
3041
+ source_contains?: string | null | undefined;
3042
+ source_gt?: string | null | undefined;
3043
+ source_gte?: string | null | undefined;
3044
+ source_in?: Array<string> | null | undefined;
3045
+ source_lt?: string | null | undefined;
3046
+ source_lte?: string | null | undefined;
3047
+ source_not?: string | null | undefined;
3048
+ source_not_contains?: string | null | undefined;
3049
+ source_not_in?: Array<string> | null | undefined;
3050
+ symmioCore?: string | null | undefined;
3051
+ symmioCore_contains?: string | null | undefined;
3052
+ symmioCore_gt?: string | null | undefined;
3053
+ symmioCore_gte?: string | null | undefined;
3054
+ symmioCore_in?: Array<string> | null | undefined;
3055
+ symmioCore_lt?: string | null | undefined;
3056
+ symmioCore_lte?: string | null | undefined;
3057
+ symmioCore_not?: string | null | undefined;
3058
+ symmioCore_not_contains?: string | null | undefined;
3059
+ symmioCore_not_in?: Array<string> | null | undefined;
3060
+ timestamp?: string | null | undefined;
3061
+ timestamp_gt?: string | null | undefined;
3062
+ timestamp_gte?: string | null | undefined;
3063
+ timestamp_in?: Array<string> | null | undefined;
3064
+ timestamp_lt?: string | null | undefined;
3065
+ timestamp_lte?: string | null | undefined;
3066
+ timestamp_not?: string | null | undefined;
3067
+ timestamp_not_in?: Array<string> | null | undefined;
3068
+ totalPositions?: string | null | undefined;
3069
+ totalPositions_gt?: string | null | undefined;
3070
+ totalPositions_gte?: string | null | undefined;
3071
+ totalPositions_in?: Array<string> | null | undefined;
3072
+ totalPositions_lt?: string | null | undefined;
3073
+ totalPositions_lte?: string | null | undefined;
3074
+ totalPositions_not?: string | null | undefined;
3075
+ totalPositions_not_in?: Array<string> | null | undefined;
3076
+ totalVirtualAccounts?: string | null | undefined;
3077
+ totalVirtualAccounts_gt?: string | null | undefined;
3078
+ totalVirtualAccounts_gte?: string | null | undefined;
3079
+ totalVirtualAccounts_in?: Array<string> | null | undefined;
3080
+ totalVirtualAccounts_lt?: string | null | undefined;
3081
+ totalVirtualAccounts_lte?: string | null | undefined;
3082
+ totalVirtualAccounts_not?: string | null | undefined;
3083
+ totalVirtualAccounts_not_in?: Array<string> | null | undefined;
3084
+ updateTimestamp?: string | null | undefined;
3085
+ updateTimestamp_gt?: string | null | undefined;
3086
+ updateTimestamp_gte?: string | null | undefined;
3087
+ updateTimestamp_in?: Array<string> | null | undefined;
3088
+ updateTimestamp_lt?: string | null | undefined;
3089
+ updateTimestamp_lte?: string | null | undefined;
3090
+ updateTimestamp_not?: string | null | undefined;
3091
+ updateTimestamp_not_in?: Array<string> | null | undefined;
3092
+ virtualAccounts_?: VirtualAccount_Filter | null | undefined;
3093
+ };
3094
+ export type User_Filter = {
3095
+ /** Filter for the block changed event. */
3096
+ _change_block?: BlockChangedFilter | null | undefined;
3097
+ accounts_?: Account_Filter | null | undefined;
3098
+ address?: string | null | undefined;
3099
+ address_contains?: string | null | undefined;
3100
+ address_gt?: string | null | undefined;
3101
+ address_gte?: string | null | undefined;
3102
+ address_in?: Array<string> | null | undefined;
3103
+ address_lt?: string | null | undefined;
3104
+ address_lte?: string | null | undefined;
3105
+ address_not?: string | null | undefined;
3106
+ address_not_contains?: string | null | undefined;
3107
+ address_not_in?: Array<string> | null | undefined;
3108
+ and?: Array<User_Filter | null | undefined> | null | undefined;
3109
+ globalCounter?: string | null | undefined;
3110
+ globalCounter_gt?: string | null | undefined;
3111
+ globalCounter_gte?: string | null | undefined;
3112
+ globalCounter_in?: Array<string> | null | undefined;
3113
+ globalCounter_lt?: string | null | undefined;
3114
+ globalCounter_lte?: string | null | undefined;
3115
+ globalCounter_not?: string | null | undefined;
3116
+ globalCounter_not_in?: Array<string> | null | undefined;
3117
+ id?: string | number | null | undefined;
3118
+ id_gt?: string | number | null | undefined;
3119
+ id_gte?: string | number | null | undefined;
3120
+ id_in?: Array<string | number> | null | undefined;
3121
+ id_lt?: string | number | null | undefined;
3122
+ id_lte?: string | number | null | undefined;
3123
+ id_not?: string | number | null | undefined;
3124
+ id_not_in?: Array<string | number> | null | undefined;
3125
+ or?: Array<User_Filter | null | undefined> | null | undefined;
3126
+ subAccounts_?: SubAccount_Filter | null | undefined;
3127
+ timestamp?: string | null | undefined;
3128
+ timestamp_gt?: string | null | undefined;
3129
+ timestamp_gte?: string | null | undefined;
3130
+ timestamp_in?: Array<string> | null | undefined;
3131
+ timestamp_lt?: string | null | undefined;
3132
+ timestamp_lte?: string | null | undefined;
3133
+ timestamp_not?: string | null | undefined;
3134
+ timestamp_not_in?: Array<string> | null | undefined;
3135
+ transaction?: string | null | undefined;
3136
+ transaction_contains?: string | null | undefined;
3137
+ transaction_gt?: string | null | undefined;
3138
+ transaction_gte?: string | null | undefined;
3139
+ transaction_in?: Array<string> | null | undefined;
3140
+ transaction_lt?: string | null | undefined;
3141
+ transaction_lte?: string | null | undefined;
3142
+ transaction_not?: string | null | undefined;
3143
+ transaction_not_contains?: string | null | undefined;
3144
+ transaction_not_in?: Array<string> | null | undefined;
3145
+ virtualAccounts_?: VirtualAccount_Filter | null | undefined;
3146
+ };
3147
+ export type VirtualAccount_Filter = {
3148
+ /** Filter for the block changed event. */
3149
+ _change_block?: BlockChangedFilter | null | undefined;
3150
+ accountLayerSource?: string | null | undefined;
3151
+ accountLayerSource_contains?: string | null | undefined;
3152
+ accountLayerSource_gt?: string | null | undefined;
3153
+ accountLayerSource_gte?: string | null | undefined;
3154
+ accountLayerSource_in?: Array<string> | null | undefined;
3155
+ accountLayerSource_lt?: string | null | undefined;
3156
+ accountLayerSource_lte?: string | null | undefined;
3157
+ accountLayerSource_not?: string | null | undefined;
3158
+ accountLayerSource_not_contains?: string | null | undefined;
3159
+ accountLayerSource_not_in?: Array<string> | null | undefined;
3160
+ activePositions?: string | null | undefined;
3161
+ activePositions_gt?: string | null | undefined;
3162
+ activePositions_gte?: string | null | undefined;
3163
+ activePositions_in?: Array<string> | null | undefined;
3164
+ activePositions_lt?: string | null | undefined;
3165
+ activePositions_lte?: string | null | undefined;
3166
+ activePositions_not?: string | null | undefined;
3167
+ activePositions_not_in?: Array<string> | null | undefined;
3168
+ address?: string | null | undefined;
3169
+ address_contains?: string | null | undefined;
3170
+ address_gt?: string | null | undefined;
3171
+ address_gte?: string | null | undefined;
3172
+ address_in?: Array<string> | null | undefined;
3173
+ address_lt?: string | null | undefined;
3174
+ address_lte?: string | null | undefined;
3175
+ address_not?: string | null | undefined;
3176
+ address_not_contains?: string | null | undefined;
3177
+ address_not_in?: Array<string> | null | undefined;
3178
+ and?: Array<VirtualAccount_Filter | null | undefined> | null | undefined;
3179
+ cancelledQuotesCount?: string | null | undefined;
3180
+ cancelledQuotesCount_gt?: string | null | undefined;
3181
+ cancelledQuotesCount_gte?: string | null | undefined;
3182
+ cancelledQuotesCount_in?: Array<string> | null | undefined;
3183
+ cancelledQuotesCount_lt?: string | null | undefined;
3184
+ cancelledQuotesCount_lte?: string | null | undefined;
3185
+ cancelledQuotesCount_not?: string | null | undefined;
3186
+ cancelledQuotesCount_not_in?: Array<string> | null | undefined;
3187
+ closedQuotesCount?: string | null | undefined;
3188
+ closedQuotesCount_gt?: string | null | undefined;
3189
+ closedQuotesCount_gte?: string | null | undefined;
3190
+ closedQuotesCount_in?: Array<string> | null | undefined;
3191
+ closedQuotesCount_lt?: string | null | undefined;
3192
+ closedQuotesCount_lte?: string | null | undefined;
3193
+ closedQuotesCount_not?: string | null | undefined;
3194
+ closedQuotesCount_not_in?: Array<string> | null | undefined;
3195
+ coreSource?: string | null | undefined;
3196
+ coreSource_contains?: string | null | undefined;
3197
+ coreSource_gt?: string | null | undefined;
3198
+ coreSource_gte?: string | null | undefined;
3199
+ coreSource_in?: Array<string> | null | undefined;
3200
+ coreSource_lt?: string | null | undefined;
3201
+ coreSource_lte?: string | null | undefined;
3202
+ coreSource_not?: string | null | undefined;
3203
+ coreSource_not_contains?: string | null | undefined;
3204
+ coreSource_not_in?: Array<string> | null | undefined;
3205
+ deploymentId?: string | null | undefined;
3206
+ deploymentId_contains?: string | null | undefined;
3207
+ deploymentId_contains_nocase?: string | null | undefined;
3208
+ deploymentId_ends_with?: string | null | undefined;
3209
+ deploymentId_ends_with_nocase?: string | null | undefined;
3210
+ deploymentId_gt?: string | null | undefined;
3211
+ deploymentId_gte?: string | null | undefined;
3212
+ deploymentId_in?: Array<string> | null | undefined;
3213
+ deploymentId_lt?: string | null | undefined;
3214
+ deploymentId_lte?: string | null | undefined;
3215
+ deploymentId_not?: string | null | undefined;
3216
+ deploymentId_not_contains?: string | null | undefined;
3217
+ deploymentId_not_contains_nocase?: string | null | undefined;
3218
+ deploymentId_not_ends_with?: string | null | undefined;
3219
+ deploymentId_not_ends_with_nocase?: string | null | undefined;
3220
+ deploymentId_not_in?: Array<string> | null | undefined;
3221
+ deploymentId_not_starts_with?: string | null | undefined;
3222
+ deploymentId_not_starts_with_nocase?: string | null | undefined;
3223
+ deploymentId_starts_with?: string | null | undefined;
3224
+ deploymentId_starts_with_nocase?: string | null | undefined;
3225
+ expiredQuotesCount?: string | null | undefined;
3226
+ expiredQuotesCount_gt?: string | null | undefined;
3227
+ expiredQuotesCount_gte?: string | null | undefined;
3228
+ expiredQuotesCount_in?: Array<string> | null | undefined;
3229
+ expiredQuotesCount_lt?: string | null | undefined;
3230
+ expiredQuotesCount_lte?: string | null | undefined;
3231
+ expiredQuotesCount_not?: string | null | undefined;
3232
+ expiredQuotesCount_not_in?: Array<string> | null | undefined;
3233
+ id?: string | number | null | undefined;
3234
+ id_gt?: string | number | null | undefined;
3235
+ id_gte?: string | number | null | undefined;
3236
+ id_in?: Array<string | number> | null | undefined;
3237
+ id_lt?: string | number | null | undefined;
3238
+ id_lte?: string | number | null | undefined;
3239
+ id_not?: string | number | null | undefined;
3240
+ id_not_in?: Array<string | number> | null | undefined;
3241
+ isDeleted?: boolean | null | undefined;
3242
+ isDeleted_in?: Array<boolean> | null | undefined;
3243
+ isDeleted_not?: boolean | null | undefined;
3244
+ isDeleted_not_in?: Array<boolean> | null | undefined;
3245
+ isolationType?: number | null | undefined;
3246
+ isolationType_gt?: number | null | undefined;
3247
+ isolationType_gte?: number | null | undefined;
3248
+ isolationType_in?: Array<number> | null | undefined;
3249
+ isolationType_lt?: number | null | undefined;
3250
+ isolationType_lte?: number | null | undefined;
3251
+ isolationType_not?: number | null | undefined;
3252
+ isolationType_not_in?: Array<number> | null | undefined;
3253
+ lastDeleteTimestamp?: string | null | undefined;
3254
+ lastDeleteTimestamp_gt?: string | null | undefined;
3255
+ lastDeleteTimestamp_gte?: string | null | undefined;
3256
+ lastDeleteTimestamp_in?: Array<string> | null | undefined;
3257
+ lastDeleteTimestamp_lt?: string | null | undefined;
3258
+ lastDeleteTimestamp_lte?: string | null | undefined;
3259
+ lastDeleteTimestamp_not?: string | null | undefined;
3260
+ lastDeleteTimestamp_not_in?: Array<string> | null | undefined;
3261
+ lastMarginTransferTimestamp?: string | null | undefined;
3262
+ lastMarginTransferTimestamp_gt?: string | null | undefined;
3263
+ lastMarginTransferTimestamp_gte?: string | null | undefined;
3264
+ lastMarginTransferTimestamp_in?: Array<string> | null | undefined;
3265
+ lastMarginTransferTimestamp_lt?: string | null | undefined;
3266
+ lastMarginTransferTimestamp_lte?: string | null | undefined;
3267
+ lastMarginTransferTimestamp_not?: string | null | undefined;
3268
+ lastMarginTransferTimestamp_not_in?: Array<string> | null | undefined;
3269
+ lastReuseTimestamp?: string | null | undefined;
3270
+ lastReuseTimestamp_gt?: string | null | undefined;
3271
+ lastReuseTimestamp_gte?: string | null | undefined;
3272
+ lastReuseTimestamp_in?: Array<string> | null | undefined;
3273
+ lastReuseTimestamp_lt?: string | null | undefined;
3274
+ lastReuseTimestamp_lte?: string | null | undefined;
3275
+ lastReuseTimestamp_not?: string | null | undefined;
3276
+ lastReuseTimestamp_not_in?: Array<string> | null | undefined;
3277
+ lastTradeTimestamp?: string | null | undefined;
3278
+ lastTradeTimestamp_gt?: string | null | undefined;
3279
+ lastTradeTimestamp_gte?: string | null | undefined;
3280
+ lastTradeTimestamp_in?: Array<string> | null | undefined;
3281
+ lastTradeTimestamp_lt?: string | null | undefined;
3282
+ lastTradeTimestamp_lte?: string | null | undefined;
3283
+ lastTradeTimestamp_not?: string | null | undefined;
3284
+ lastTradeTimestamp_not_in?: Array<string> | null | undefined;
3285
+ latestMarginBalance?: string | null | undefined;
3286
+ latestMarginBalance_gt?: string | null | undefined;
3287
+ latestMarginBalance_gte?: string | null | undefined;
3288
+ latestMarginBalance_in?: Array<string> | null | undefined;
3289
+ latestMarginBalance_lt?: string | null | undefined;
3290
+ latestMarginBalance_lte?: string | null | undefined;
3291
+ latestMarginBalance_not?: string | null | undefined;
3292
+ latestMarginBalance_not_in?: Array<string> | null | undefined;
3293
+ liquidatedQuotesCount?: string | null | undefined;
3294
+ liquidatedQuotesCount_gt?: string | null | undefined;
3295
+ liquidatedQuotesCount_gte?: string | null | undefined;
3296
+ liquidatedQuotesCount_in?: Array<string> | null | undefined;
3297
+ liquidatedQuotesCount_lt?: string | null | undefined;
3298
+ liquidatedQuotesCount_lte?: string | null | undefined;
3299
+ liquidatedQuotesCount_not?: string | null | undefined;
3300
+ liquidatedQuotesCount_not_in?: Array<string> | null | undefined;
3301
+ marginTransfers_?: MarginTransfer_Filter | null | undefined;
3302
+ metadata?: string | null | undefined;
3303
+ metadata_contains?: string | null | undefined;
3304
+ metadata_gt?: string | null | undefined;
3305
+ metadata_gte?: string | null | undefined;
3306
+ metadata_in?: Array<string> | null | undefined;
3307
+ metadata_lt?: string | null | undefined;
3308
+ metadata_lte?: string | null | undefined;
3309
+ metadata_not?: string | null | undefined;
3310
+ metadata_not_contains?: string | null | undefined;
3311
+ metadata_not_in?: Array<string> | null | undefined;
3312
+ openPositionsCount?: string | null | undefined;
3313
+ openPositionsCount_gt?: string | null | undefined;
3314
+ openPositionsCount_gte?: string | null | undefined;
3315
+ openPositionsCount_in?: Array<string> | null | undefined;
3316
+ openPositionsCount_lt?: string | null | undefined;
3317
+ openPositionsCount_lte?: string | null | undefined;
3318
+ openPositionsCount_not?: string | null | undefined;
3319
+ openPositionsCount_not_in?: Array<string> | null | undefined;
3320
+ or?: Array<VirtualAccount_Filter | null | undefined> | null | undefined;
3321
+ owner?: string | null | undefined;
3322
+ ownerRef?: string | null | undefined;
3323
+ ownerRef_?: User_Filter | null | undefined;
3324
+ ownerRef_contains?: string | null | undefined;
3325
+ ownerRef_contains_nocase?: string | null | undefined;
3326
+ ownerRef_ends_with?: string | null | undefined;
3327
+ ownerRef_ends_with_nocase?: string | null | undefined;
3328
+ ownerRef_gt?: string | null | undefined;
3329
+ ownerRef_gte?: string | null | undefined;
3330
+ ownerRef_in?: Array<string> | null | undefined;
3331
+ ownerRef_lt?: string | null | undefined;
3332
+ ownerRef_lte?: string | null | undefined;
3333
+ ownerRef_not?: string | null | undefined;
3334
+ ownerRef_not_contains?: string | null | undefined;
3335
+ ownerRef_not_contains_nocase?: string | null | undefined;
3336
+ ownerRef_not_ends_with?: string | null | undefined;
3337
+ ownerRef_not_ends_with_nocase?: string | null | undefined;
3338
+ ownerRef_not_in?: Array<string> | null | undefined;
3339
+ ownerRef_not_starts_with?: string | null | undefined;
3340
+ ownerRef_not_starts_with_nocase?: string | null | undefined;
3341
+ ownerRef_starts_with?: string | null | undefined;
3342
+ ownerRef_starts_with_nocase?: string | null | undefined;
3343
+ owner_contains?: string | null | undefined;
3344
+ owner_gt?: string | null | undefined;
3345
+ owner_gte?: string | null | undefined;
3346
+ owner_in?: Array<string> | null | undefined;
3347
+ owner_lt?: string | null | undefined;
3348
+ owner_lte?: string | null | undefined;
3349
+ owner_not?: string | null | undefined;
3350
+ owner_not_contains?: string | null | undefined;
3351
+ owner_not_in?: Array<string> | null | undefined;
3352
+ parent?: string | null | undefined;
3353
+ parentAddress?: string | null | undefined;
3354
+ parentAddress_contains?: string | null | undefined;
3355
+ parentAddress_gt?: string | null | undefined;
3356
+ parentAddress_gte?: string | null | undefined;
3357
+ parentAddress_in?: Array<string> | null | undefined;
3358
+ parentAddress_lt?: string | null | undefined;
3359
+ parentAddress_lte?: string | null | undefined;
3360
+ parentAddress_not?: string | null | undefined;
3361
+ parentAddress_not_contains?: string | null | undefined;
3362
+ parentAddress_not_in?: Array<string> | null | undefined;
3363
+ parent_?: SubAccount_Filter | null | undefined;
3364
+ parent_contains?: string | null | undefined;
3365
+ parent_contains_nocase?: string | null | undefined;
3366
+ parent_ends_with?: string | null | undefined;
3367
+ parent_ends_with_nocase?: string | null | undefined;
3368
+ parent_gt?: string | null | undefined;
3369
+ parent_gte?: string | null | undefined;
3370
+ parent_in?: Array<string> | null | undefined;
3371
+ parent_lt?: string | null | undefined;
3372
+ parent_lte?: string | null | undefined;
3373
+ parent_not?: string | null | undefined;
3374
+ parent_not_contains?: string | null | undefined;
3375
+ parent_not_contains_nocase?: string | null | undefined;
3376
+ parent_not_ends_with?: string | null | undefined;
3377
+ parent_not_ends_with_nocase?: string | null | undefined;
3378
+ parent_not_in?: Array<string> | null | undefined;
3379
+ parent_not_starts_with?: string | null | undefined;
3380
+ parent_not_starts_with_nocase?: string | null | undefined;
3381
+ parent_starts_with?: string | null | undefined;
3382
+ parent_starts_with_nocase?: string | null | undefined;
3383
+ pendingQuotesCount?: string | null | undefined;
3384
+ pendingQuotesCount_gt?: string | null | undefined;
3385
+ pendingQuotesCount_gte?: string | null | undefined;
3386
+ pendingQuotesCount_in?: Array<string> | null | undefined;
3387
+ pendingQuotesCount_lt?: string | null | undefined;
3388
+ pendingQuotesCount_lte?: string | null | undefined;
3389
+ pendingQuotesCount_not?: string | null | undefined;
3390
+ pendingQuotesCount_not_in?: Array<string> | null | undefined;
3391
+ rejectedQuotesCount?: string | null | undefined;
3392
+ rejectedQuotesCount_gt?: string | null | undefined;
3393
+ rejectedQuotesCount_gte?: string | null | undefined;
3394
+ rejectedQuotesCount_in?: Array<string> | null | undefined;
3395
+ rejectedQuotesCount_lt?: string | null | undefined;
3396
+ rejectedQuotesCount_lte?: string | null | undefined;
3397
+ rejectedQuotesCount_not?: string | null | undefined;
3398
+ rejectedQuotesCount_not_in?: Array<string> | null | undefined;
3399
+ reuseCount?: string | null | undefined;
3400
+ reuseCount_gt?: string | null | undefined;
3401
+ reuseCount_gte?: string | null | undefined;
3402
+ reuseCount_in?: Array<string> | null | undefined;
3403
+ reuseCount_lt?: string | null | undefined;
3404
+ reuseCount_lte?: string | null | undefined;
3405
+ reuseCount_not?: string | null | undefined;
3406
+ reuseCount_not_in?: Array<string> | null | undefined;
3407
+ source?: string | null | undefined;
3408
+ source_contains?: string | null | undefined;
3409
+ source_gt?: string | null | undefined;
3410
+ source_gte?: string | null | undefined;
3411
+ source_in?: Array<string> | null | undefined;
3412
+ source_lt?: string | null | undefined;
3413
+ source_lte?: string | null | undefined;
3414
+ source_not?: string | null | undefined;
3415
+ source_not_contains?: string | null | undefined;
3416
+ source_not_in?: Array<string> | null | undefined;
3417
+ symbolId?: string | null | undefined;
3418
+ symbolId_gt?: string | null | undefined;
3419
+ symbolId_gte?: string | null | undefined;
3420
+ symbolId_in?: Array<string> | null | undefined;
3421
+ symbolId_lt?: string | null | undefined;
3422
+ symbolId_lte?: string | null | undefined;
3423
+ symbolId_not?: string | null | undefined;
3424
+ symbolId_not_in?: Array<string> | null | undefined;
3425
+ timestamp?: string | null | undefined;
3426
+ timestamp_gt?: string | null | undefined;
3427
+ timestamp_gte?: string | null | undefined;
3428
+ timestamp_in?: Array<string> | null | undefined;
3429
+ timestamp_lt?: string | null | undefined;
3430
+ timestamp_lte?: string | null | undefined;
3431
+ timestamp_not?: string | null | undefined;
3432
+ timestamp_not_in?: Array<string> | null | undefined;
3433
+ totalPositions?: string | null | undefined;
3434
+ totalPositions_gt?: string | null | undefined;
3435
+ totalPositions_gte?: string | null | undefined;
3436
+ totalPositions_in?: Array<string> | null | undefined;
3437
+ totalPositions_lt?: string | null | undefined;
3438
+ totalPositions_lte?: string | null | undefined;
3439
+ totalPositions_not?: string | null | undefined;
3440
+ totalPositions_not_in?: Array<string> | null | undefined;
3441
+ updateTimestamp?: string | null | undefined;
3442
+ updateTimestamp_gt?: string | null | undefined;
3443
+ updateTimestamp_gte?: string | null | undefined;
3444
+ updateTimestamp_in?: Array<string> | null | undefined;
3445
+ updateTimestamp_lt?: string | null | undefined;
3446
+ updateTimestamp_lte?: string | null | undefined;
3447
+ updateTimestamp_not?: string | null | undefined;
3448
+ updateTimestamp_not_in?: Array<string> | null | undefined;
3449
+ };
14
3450
  export type BalanceChangesQueryVariables = Exact<{
15
3451
  accounts: Array<string> | string;
16
3452
  typeIn: Array<string> | string;
@@ -33,6 +3469,126 @@ export type BalanceChangesQuery = {
33
3469
  marginTransferType: string | null;
34
3470
  }>;
35
3471
  };
3472
+ export type FundingIndexCheckpointsQueryVariables = Exact<{
3473
+ where: FundingIndexCheckpoint_Filter;
3474
+ first: number;
3475
+ skip: number;
3476
+ orderBy: FundingIndexCheckpoint_OrderBy;
3477
+ orderDirection: OrderDirection;
3478
+ }>;
3479
+ export type FundingIndexCheckpointsQuery = {
3480
+ fundingIndexCheckpoints: Array<{
3481
+ id: string;
3482
+ source: string;
3483
+ symbolId: string;
3484
+ partyB: string;
3485
+ eventType: string;
3486
+ rawLongRate: string | null;
3487
+ rawShortRate: string | null;
3488
+ marketPrice: string | null;
3489
+ currentLongRate: string | null;
3490
+ currentShortRate: string | null;
3491
+ accumulatedLongRate: string | null;
3492
+ accumulatedShortRate: string | null;
3493
+ epochDuration: string | null;
3494
+ lastUpdatedEpoch: string | null;
3495
+ startEpoch: string | null;
3496
+ startEpochTimestamp: string | null;
3497
+ snapshotLongFee: string | null;
3498
+ snapshotShortFee: string | null;
3499
+ timestamp: string;
3500
+ blockNumber: string;
3501
+ transaction: string;
3502
+ }>;
3503
+ };
3504
+ export type QuoteFundingSettlementsQueryVariables = Exact<{
3505
+ where: QuoteFundingSettlement_Filter;
3506
+ first: number;
3507
+ skip: number;
3508
+ orderBy: QuoteFundingSettlement_OrderBy;
3509
+ orderDirection: OrderDirection;
3510
+ }>;
3511
+ export type QuoteFundingSettlementsQuery = {
3512
+ quoteFundingSettlements: Array<{
3513
+ id: string;
3514
+ source: string;
3515
+ quoteId: string;
3516
+ partyA: string;
3517
+ partyB: string;
3518
+ symbolId: string;
3519
+ positionType: number;
3520
+ trigger: string;
3521
+ openAmount: string;
3522
+ signedAmount: string;
3523
+ paidByPartyA: string;
3524
+ receivedByPartyA: string;
3525
+ previousAccumulatedPaidFunding: string;
3526
+ newAccumulatedPaidFunding: string;
3527
+ fundingDeltaPerUnit: string;
3528
+ previousLastFundingPaymentTimestamp: string;
3529
+ newLastFundingPaymentTimestamp: string;
3530
+ previousPaidThroughEpoch: string | null;
3531
+ newPaidThroughEpoch: string | null;
3532
+ balanceChanged: boolean;
3533
+ timestamp: string;
3534
+ blockNumber: string;
3535
+ transaction: string;
3536
+ }>;
3537
+ };
3538
+ export type LiquidationDetailsQueryVariables = Exact<{
3539
+ where: LiquidationDetail_Filter;
3540
+ first: number;
3541
+ skip: number;
3542
+ orderBy: LiquidationDetail_OrderBy;
3543
+ orderDirection: OrderDirection;
3544
+ }>;
3545
+ export type LiquidationDetailsQuery = {
3546
+ liquidationDetails: Array<{
3547
+ id: string;
3548
+ source: string;
3549
+ partyA: string;
3550
+ liquidationId: string;
3551
+ liquidationType: number;
3552
+ liquidationTimestamp: string;
3553
+ timestamp: string | null;
3554
+ lockedCva: string | null;
3555
+ lockedLf: string | null;
3556
+ lockedPartyAmm: string | null;
3557
+ paidCva: string | null;
3558
+ paidLf: string | null;
3559
+ upnl: string;
3560
+ deficit: string;
3561
+ liquidationFee: string;
3562
+ settled: boolean;
3563
+ fullyLiquidated: boolean;
3564
+ settlementExpectedAmounts: Array<string> | null;
3565
+ settlementActualAmounts: Array<string> | null;
3566
+ }>;
3567
+ };
3568
+ export type MarginTransfersQueryVariables = Exact<{
3569
+ where: MarginTransfer_Filter;
3570
+ first: number;
3571
+ skip: number;
3572
+ orderBy: MarginTransfer_OrderBy;
3573
+ orderDirection: OrderDirection;
3574
+ }>;
3575
+ export type MarginTransfersQuery = {
3576
+ marginTransfers: Array<{
3577
+ id: string;
3578
+ type: string;
3579
+ amount: string;
3580
+ source: string;
3581
+ timestamp: string;
3582
+ blockNumber: string;
3583
+ transaction: string;
3584
+ virtualAccount: {
3585
+ id: string;
3586
+ };
3587
+ subAccount: {
3588
+ id: string;
3589
+ };
3590
+ }>;
3591
+ };
36
3592
  export type PoolQuotesQueryVariables = Exact<{
37
3593
  symbolId: string;
38
3594
  source: string;
@@ -64,6 +3620,22 @@ export type PoolQuotesQuery = {
64
3620
  liquidatePrice: string | null;
65
3621
  timestamp: string;
66
3622
  blockNumber: string;
3623
+ timestampSendQuote: string | null;
3624
+ timestampOpenPosition: string | null;
3625
+ closedPrice: string | null;
3626
+ marketPrice: string | null;
3627
+ tradingFee: string;
3628
+ closeFee: string;
3629
+ leverage: string | null;
3630
+ initialCva: string;
3631
+ initialPartyAmm: string | null;
3632
+ initialLf: string;
3633
+ userPaidFunding: string | null;
3634
+ userReceivedFunding: string | null;
3635
+ subAccount: {
3636
+ id: string;
3637
+ owner: string;
3638
+ } | null;
67
3639
  }>;
68
3640
  };
69
3641
  export type PoolQuoteEventsQueryVariables = Exact<{
@@ -83,7 +3655,13 @@ export type PoolQuoteEventsQuery = {
83
3655
  quoteId: string;
84
3656
  blockNumber: string;
85
3657
  transaction: string;
3658
+ source: string;
86
3659
  quote: {
3660
+ id: string;
3661
+ timestamp: string;
3662
+ blockNumber: string;
3663
+ userPaidFunding: string | null;
3664
+ userReceivedFunding: string | null;
87
3665
  quoteId: string;
88
3666
  quoteStatus: number | null;
89
3667
  positionType: number | null;
@@ -94,22 +3672,41 @@ export type PoolQuoteEventsQuery = {
94
3672
  partyB: string | null;
95
3673
  quantity: string | null;
96
3674
  openedPrice: string | null;
3675
+ initialOpenedPrice: string | null;
97
3676
  requestedOpenPrice: string | null;
3677
+ marketPrice: string | null;
98
3678
  averageClosedPrice: string | null;
99
3679
  closePrice: string | null;
3680
+ closedPrice: string | null;
100
3681
  closedAmount: string | null;
101
3682
  quantityToClose: string | null;
102
3683
  liquidateAmount: string | null;
103
3684
  liquidatePrice: string | null;
3685
+ tradingFee: string;
3686
+ closeFee: string;
3687
+ leverage: string | null;
3688
+ cva: string | null;
3689
+ lf: string | null;
3690
+ initialCva: string;
3691
+ initialLf: string;
3692
+ initialPartyAmm: string | null;
3693
+ timestampSendQuote: string | null;
3694
+ timestampOpenPosition: string | null;
104
3695
  subAccount: {
105
3696
  id: string;
3697
+ owner: string;
106
3698
  } | null;
3699
+ sendQuoteEvents: Array<{
3700
+ transaction: string;
3701
+ }>;
3702
+ openPositionEvents: Array<{
3703
+ metadata: string | null;
3704
+ }>;
107
3705
  };
108
3706
  }>;
109
3707
  };
110
3708
  export type QuoteEventsForQuoteByTypeQueryVariables = Exact<{
111
- quoteId: string;
112
- typeIn: Array<string> | string;
3709
+ where: QuoteEvent_Filter;
113
3710
  first: number;
114
3711
  skip: number;
115
3712
  orderDirection: OrderDirection;
@@ -126,7 +3723,7 @@ export type QuoteEventsForQuoteByTypeQuery = {
126
3723
  }>;
127
3724
  };
128
3725
  export type QuotesFundingQueryVariables = Exact<{
129
- ids: Array<string> | string;
3726
+ where: Quote_Filter;
130
3727
  first: number;
131
3728
  }>;
132
3729
  export type QuotesFundingQuery = {
@@ -137,13 +3734,10 @@ export type QuotesFundingQuery = {
137
3734
  }>;
138
3735
  };
139
3736
  export type QuoteEventsForHistoryQueryVariables = Exact<{
140
- typeIn: Array<string> | string;
141
- subAccounts: Array<string> | string;
3737
+ where: QuoteEvent_Filter;
142
3738
  first: number;
143
3739
  skip: number;
144
3740
  orderDirection: OrderDirection;
145
- startDate: string;
146
- endDate: string;
147
3741
  }>;
148
3742
  export type QuoteEventsForHistoryQuery = {
149
3743
  quoteEvents: Array<{
@@ -154,6 +3748,7 @@ export type QuoteEventsForHistoryQuery = {
154
3748
  quoteId: string;
155
3749
  blockNumber: string;
156
3750
  transaction: string;
3751
+ source: string;
157
3752
  quote: {
158
3753
  quoteId: string;
159
3754
  quoteStatus: number | null;
@@ -165,22 +3760,41 @@ export type QuoteEventsForHistoryQuery = {
165
3760
  partyB: string | null;
166
3761
  quantity: string | null;
167
3762
  openedPrice: string | null;
3763
+ initialOpenedPrice: string | null;
168
3764
  requestedOpenPrice: string | null;
3765
+ marketPrice: string | null;
169
3766
  averageClosedPrice: string | null;
170
3767
  closePrice: string | null;
3768
+ closedPrice: string | null;
171
3769
  closedAmount: string | null;
172
3770
  quantityToClose: string | null;
173
3771
  liquidateAmount: string | null;
174
3772
  liquidatePrice: string | null;
3773
+ tradingFee: string;
3774
+ closeFee: string;
3775
+ leverage: string | null;
3776
+ cva: string | null;
3777
+ lf: string | null;
3778
+ initialCva: string;
3779
+ initialLf: string;
3780
+ initialPartyAmm: string | null;
3781
+ timestampSendQuote: string | null;
3782
+ timestampOpenPosition: string | null;
175
3783
  subAccount: {
176
3784
  id: string;
3785
+ owner: string;
177
3786
  } | null;
3787
+ sendQuoteEvents: Array<{
3788
+ transaction: string;
3789
+ }>;
3790
+ openPositionEvents: Array<{
3791
+ metadata: string | null;
3792
+ }>;
178
3793
  };
179
3794
  }>;
180
3795
  };
181
3796
  export type QuoteEventsForQuotesByTypeQueryVariables = Exact<{
182
- quoteIds: Array<string> | string;
183
- typeIn: Array<string> | string;
3797
+ where: QuoteEvent_Filter;
184
3798
  first: number;
185
3799
  skip: number;
186
3800
  orderDirection: OrderDirection;
@@ -196,6 +3810,39 @@ export type QuoteEventsForQuotesByTypeQuery = {
196
3810
  quoteId: string;
197
3811
  }>;
198
3812
  };
3813
+ export type SubgraphQuotesQueryVariables = Exact<{
3814
+ where: Quote_Filter;
3815
+ first: number;
3816
+ skip: number;
3817
+ orderBy: Quote_OrderBy;
3818
+ orderDirection: OrderDirection;
3819
+ }>;
3820
+ export type SubgraphQuotesQuery = {
3821
+ quotes: Array<{
3822
+ id: string;
3823
+ source: string;
3824
+ quoteId: string;
3825
+ quoteStatus: number | null;
3826
+ partyA: string;
3827
+ partyB: string | null;
3828
+ symbolId: string | null;
3829
+ symbol: string | null;
3830
+ positionType: number | null;
3831
+ quantity: string | null;
3832
+ fillAmount: string | null;
3833
+ closedAmount: string | null;
3834
+ openedPrice: string | null;
3835
+ accumulatedPaidFunding: string | null;
3836
+ lastFundingPaymentTimestamp: string | null;
3837
+ userPaidFunding: string | null;
3838
+ userReceivedFunding: string | null;
3839
+ timestampSendQuote: string | null;
3840
+ timestampOpenPosition: string | null;
3841
+ timestampFullyClose: string | null;
3842
+ timestamp: string;
3843
+ blockNumber: string;
3844
+ }>;
3845
+ };
199
3846
  export declare class TypedDocumentString<TResult, TVariables> extends String implements DocumentTypeDecoration<TResult, TVariables> {
200
3847
  __apiType?: NonNullable<DocumentTypeDecoration<TResult, TVariables>["__apiType"]>;
201
3848
  private value;
@@ -204,11 +3851,16 @@ export declare class TypedDocumentString<TResult, TVariables> extends String imp
204
3851
  toString(): string & DocumentTypeDecoration<TResult, TVariables>;
205
3852
  }
206
3853
  export declare const BalanceChangesDocument: TypedDocumentString<BalanceChangesQuery, BalanceChangesQueryVariables>;
3854
+ export declare const FundingIndexCheckpointsDocument: TypedDocumentString<FundingIndexCheckpointsQuery, FundingIndexCheckpointsQueryVariables>;
3855
+ export declare const QuoteFundingSettlementsDocument: TypedDocumentString<QuoteFundingSettlementsQuery, QuoteFundingSettlementsQueryVariables>;
3856
+ export declare const LiquidationDetailsDocument: TypedDocumentString<LiquidationDetailsQuery, LiquidationDetailsQueryVariables>;
3857
+ export declare const MarginTransfersDocument: TypedDocumentString<MarginTransfersQuery, MarginTransfersQueryVariables>;
207
3858
  export declare const PoolQuotesDocument: TypedDocumentString<PoolQuotesQuery, PoolQuotesQueryVariables>;
208
3859
  export declare const PoolQuoteEventsDocument: TypedDocumentString<PoolQuoteEventsQuery, PoolQuoteEventsQueryVariables>;
209
3860
  export declare const QuoteEventsForQuoteByTypeDocument: TypedDocumentString<QuoteEventsForQuoteByTypeQuery, QuoteEventsForQuoteByTypeQueryVariables>;
210
3861
  export declare const QuotesFundingDocument: TypedDocumentString<QuotesFundingQuery, QuotesFundingQueryVariables>;
211
3862
  export declare const QuoteEventsForHistoryDocument: TypedDocumentString<QuoteEventsForHistoryQuery, QuoteEventsForHistoryQueryVariables>;
212
3863
  export declare const QuoteEventsForQuotesByTypeDocument: TypedDocumentString<QuoteEventsForQuotesByTypeQuery, QuoteEventsForQuotesByTypeQueryVariables>;
3864
+ export declare const SubgraphQuotesDocument: TypedDocumentString<SubgraphQuotesQuery, SubgraphQuotesQueryVariables>;
213
3865
  export {};
214
3866
  //# sourceMappingURL=graphql.d.ts.map