@orbis-systems/orbis-api-clients 0.7.8 → 0.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aesmidas/index.d.ts +260 -48
- package/dist/aesmidas/index.d.ts.map +1 -1
- package/dist/aesmidas/index.esm.js +1 -1
- package/dist/aesmidas/index.esm.js.map +1 -1
- package/dist/aesmidas/index.js +1 -1
- package/dist/aesmidas/index.js.map +1 -1
- package/dist/bridgewise/index.d.ts +769 -301
- package/dist/bridgewise/index.d.ts.map +1 -1
- package/dist/bridgewise/index.esm.js +1 -1
- package/dist/bridgewise/index.esm.js.map +1 -1
- package/dist/bridgewise/index.js +1 -1
- package/dist/bridgewise/index.js.map +1 -1
- package/dist/insight/index.d.ts +189 -178
- package/dist/insight/index.d.ts.map +1 -1
- package/dist/insight/index.esm.js +1 -1
- package/dist/insight/index.esm.js.map +1 -1
- package/dist/insight/index.js +1 -1
- package/dist/insight/index.js.map +1 -1
- package/dist/orbis/index.d.ts +76 -76
- package/dist/orbis/index.d.ts.map +1 -1
- package/dist/orbis/index.esm.js +1 -1
- package/dist/orbis/index.esm.js.map +1 -1
- package/dist/orbis/index.js +1 -1
- package/dist/orbis/index.js.map +1 -1
- package/dist/uma/index.d.ts +346 -346
- package/dist/uma/index.d.ts.map +1 -1
- package/dist/uma/index.esm.js +1 -1
- package/dist/uma/index.esm.js.map +1 -1
- package/dist/uma/index.js +1 -1
- package/dist/uma/index.js.map +1 -1
- package/dist/zerohash/index.d.ts +91 -91
- package/dist/zerohash/index.d.ts.map +1 -1
- package/dist/zerohash/index.esm.js +1 -1
- package/dist/zerohash/index.esm.js.map +1 -1
- package/dist/zerohash/index.js +1 -1
- package/dist/zerohash/index.js.map +1 -1
- package/package.json +1 -1
package/dist/zerohash/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e,t,s,r,n,a,i,o,u,l,d,_,c,p,E,R,m,T,h,C,S,y,P,O,A,I,N,g,f,U,L,D,v,w,M,B,H,b,F,G,k,Z,q,V,j,x,K,W,J,Y,Q,X,$,z,ee,et,es,er,en,ea,ei,eo,eu,el,ed,e_,ec,ep,eE,eR,em,eT,eh,eC,eS,ey,eP,eO,eA,eI,eN,eg,ef,eU,eL,eD,ev,ew,eM,eB,eH,eb,eF,eG,ek,eZ,eq,eV,ej,ex,eK,eW,eJ,eY,eQ,eX,e$,ez,e0,e1,e5,e2,e3,e6,e7,e4,e8,e9,te,tt,ts,tr,tn,ta,ti,to,tu,tl,td,t_,tc,tp,tE,tR,tm,tT,th,tC,tS,ty,tP,tO,tA,tI,tN,tg,tf,tU,tL,tD,tv,tw,tM,tB,tH,tb,tF,tG,tk,tZ,tq,tV,tj,tx,tK,tW,tJ,tY,tQ,tX,t$,tz,t0,t1,t5,t2,t3,t6,t7,t4,t8,t9,se,st,ss,sr,sn,sa,si,so,su,sl,sd,s_,sc,sp,sE,sR,sm,sT,sh,sC,sS,sy,sP,sO,sA,sI,sN,sg,sf,sU,sL,sD,sv,sw,sM,sB,sH,sb,sF,sG,sk,sZ,sq,sV,sj,sx,sK,sW,sJ,sY,sQ,sX,s$=require("auto-bind"),sz=require("async-mutex"),s0=require("consola"),s1=require("date-fns"),s5=require("jwt-decode"),s2=require("axios"),s3=require("axios-better-stacktrace"),s6=require("lodash");function s7(e,t){return Object.keys(t).forEach(function(s){"default"===s||"__esModule"===s||Object.prototype.hasOwnProperty.call(e,s)||Object.defineProperty(e,s,{enumerable:!0,get:function(){return t[s]}})}),e}function s4(e,t,s,r){Object.defineProperty(e,t,{get:s,set:r,enumerable:!0,configurable:!0})}function s8(e){return e&&e.__esModule?e.default:e}var s9={};s4(s9,"ZeroHashApi",()=>oM);class re{constructor(e){this.apiClient=e,s8(s$)(this)}getApiClient(){return this.apiClient}}var rt=((e={}).Json="application/json",e.FormData="multipart/form-data",e.UrlEncoded="application/x-www-form-urlencoded",e.Text="text/plain",e);class rs{constructor(e){this.config=e,s8(s$)(this),this.storage=e.storage??sessionStorage,this.axiosInstance=s8(s2).create({...e.axiosConfig,baseURL:e.baseUrl,headers:{"Content-Type":"application/json",...e.axiosConfig?.headers}}),s8(s3)(this.axiosInstance)}stringifyFormItem(e){return"object"==typeof e&&null!==e?JSON.stringify(e):`${e}`}createFormData(e){return e instanceof FormData?e:Object.keys(e).reduce((t,s)=>{let r=e[s];for(let e of r instanceof Array?r:[r]){let r=e instanceof Blob||e instanceof File;t.append(s,r?e:this.stringifyFormItem(e))}return t},new FormData)}async request(e){let{contentType:t,data:s}=e;(0,s6.isNil)(s)||("multipart/form-data"===t&&"object"==typeof s&&(e.data=this.createFormData(s)),"text/plain"===t&&"string"!=typeof s&&(e.data=JSON.stringify(s)));let r=(0,s6.merge)(e.secure??this.config.defaultSecure??!0?await this.prepareAuthRequestConfig():{},t?{headers:{"Content-Type":t}}:{},e);try{let{data:e,status:t,statusText:s}=await this.axiosInstance.request(r);return{success:!0,data:e,status:t,statusText:s}}catch(s){let t={success:!1,status:-1,statusText:String(s),error:s};if((0,s2.isAxiosError)(s)&&(this.config.onAxiosError?.(s),t.data=s.response?.data,t.status=s.response?.status??t.status,t.statusText=s.response?.statusText??t.statusText),this.config.onError?.(s),!this.config.handleError&&!e.handleError)throw s;return t}}get(e,t){return this.request({...t,method:"GET",url:e})}delete(e,t){return this.request({...t,method:"DELETE",url:e})}head(e,t){return this.request({...t,method:"HEAD",url:e})}options(e,t){return this.request({...t,method:"OPTIONS",url:e})}post(e,t,s){return this.request({...s,method:"POST",url:e,data:t})}put(e,t,s){return this.request({...s,method:"PUT",url:e,data:t})}patch(e,t,s){return this.request({...s,method:"PATCH",url:e,data:t})}getAxios(){return this.axiosInstance}setAuthData(e){this.storage.setItem(this.config.authDataStorageKey||"auth",JSON.stringify(e))}getAuthData(){let e=this.storage.getItem(this.config.authDataStorageKey||"auth");return e?JSON.parse(e):null}getConfig(){return this.config}}class rr extends rs{constructor(e){super(e),this.config=e,this.lock=new sz.Mutex}getConfig(){return super.getConfig()}setRenewTokenCallback(e){this.renewTokenCallback=e}async prepareAuthRequestConfig(){if(this.config.axiosConfig?.withCredentials)return{};let{accessToken:e}=this.getAuthData()||{};if(!e)return(0,s0.consola).warn("No access token found. Please set auth data after authorization."),{};if(!1!==this.config.autoRenewToken&&this.isTokenExpired(e))try{await this.lock.runExclusive(async()=>{this.config.debug&&(0,s0.consola).debug("Token expired. Renewing…"),e=(await this.renewToken()).accessToken,this.lock.cancel()})}catch(t){if(t===sz.E_CANCELED)e=this.getAuthData()?.accessToken;else throw t}return{headers:{Authorization:`${this.config.authSchema??"Bearer"} ${e}`}}}isTokenExpired(e){let t=(0,s5.jwtDecode)(e);return!t.exp||(0,s1.isBefore)((0,s1.subMinutes)(1e3*t.exp,1),Date.now())}async renewToken(){let e=this.config.onRenewToken??this.renewTokenCallback;if(!e)throw Error("No renew token callback provided");let t=await e();return this.setAuthData(t),t}}JSON.parse('{"ERR_ACAT_ASSETS_UNDEFINED":"Acat Assets Undefined","ERR_ACAT_FAILURE":"Acat Failure","ERR_ACAT_IN_PROGRESS":"Acat In Progress","ERR_ACCOUNT_NOT_ACTIVE":"Account Not Active","ERR_ACCOUNT_NOT_TRADABLE":"Account is currently not tradable","ERR_ACCOUNT_TRADING_HALTED":"Account Trading Halted","ERR_ACCOUNT_TYPE_MISSING":"Account Type Missing","ERR_ACCOUNT_UNDEFINED":"Account undefined","ERR_ACH_DEPOSITS_NOT_ALLOWED":"Ach Deposits Not Allowed","ERR_ACH_NOT_ALLOWED":"Ach Not Allowed","ERR_ACH_WITHDRAWAL_NOT_ALLOWED":"Ach Withdrawal Not Allowed","ERR_ACQUISITION_OF_CORP_ACT_OPTION":"Acquisition Of Corp Act Option","ERR_ADJUSTMENT_FAILURE":"Adjustment Failure","ERR_ALGO_STRATEGY_NOT_SUPPORTED":"Algo Strategy not supported","ERR_ALL_DISALLOWED":"All Disallowed","ERR_AMOUNT_MUST_BE_GREATER_THAN_ZERO":"Amount Must Be Greater Than Zero","ERR_AON_NOT_SUPPORTED":"All-Or-None not supported","ERR_ATTEMPTED_TRADE":"Attempted Trade","ERR_BALANCE_LOADER_NOT_AVAILABLE":"Balance Loader not available","ERR_BANK_ACCOUNT_TYPE_NOT_SUPPORTED":"Bank Account Type Not Supported","ERR_BANK_RELATIONSHIP_CREATION_FAILURE":"Bank Relationship Creation Failure","ERR_BANK_RELATIONSHIP_DUPLICATE_BENEFICIARY":"Bank Relationship Duplicate Beneficiary","ERR_BANK_RELATIONSHIP_DUPLICATE_NICKNAME":"Bank Relationship Duplicate Nickname","ERR_BANK_RELATIONSHIP_LIMIT":"Bank Relationship Limit","ERR_BANK_RELATIONSHIP_NOT_APPROVED":"Bank Relationship Not Approved","ERR_BANK_RELATIONSHIP_NOT_FOUND":"Bank Relationship Not Found","ERR_BANK_RELATIONSHIP_NOT_SUPPORTED":"Bank Relationship Not Supported","ERR_BENEFICIARY_MISSING":"Beneficiary Missing","ERR_BENEFICIARY_PRESENT":"Beneficiary Present","ERR_BNP_OTC_THRESHOLD":"BNP OTC threshold","ERR_BUY_EXPIRATION_LONGER":"Buy Expiration Longer","ERR_BUY_EXPIRATION_SHORTER":"Buy Expiration Shorter","ERR_BUY_OPEN_SELL_OPEN":"Cannot Buy to Open and Sell to Open at same time","ERR_BUY_OPTION_PRICE_GREATER_SELL_OPTION_PRICE":"Buy Option Price Greater Sell Option Price","ERR_BUY_OPTION_PRICE_LESSER_SELL_OPTION_PRICE":"Buy Option Price Lesser Sell Option Price","ERR_BUY_RESTRICTED":"Buy orders for this security are not allowed","ERR_BUY_STRIKE_EQUAL_SELL_STRIKE":"Buy strike is equal to Sell strike price","ERR_BUY_STRIKE_LESS_SELL_STRIKE":"Buy Strike is less than Sell strike price","ERR_BUY_STRIKE_MORE_SELL_STRIKE":"Buy Strike higher than Sell Strike Price","ERR_CANCEL_FAILED":"Cancel Failed","ERR_CANNOT_BUY_TO_CLOSE":"Cannot Buy To close","ERR_CANNOT_BUY_TO_OPEN":"Cannot Buy To Open","ERR_CANNOT_DO_SPREADS":"Spread trading is not available","ERR_CANNOT_NAKED_SELL_TO_OPEN":"Cannot sell to open without spread","ERR_CANNOT_SELL_TO_CLOSE":"Cannot Sell To Close","ERR_CANNOT_SELL_TO_OPEN":"Cannot Sell To Open","ERR_CFR_275_206_RESTRICTED":"Cfr 275206 Restricted","ERR_CONTRACT_SIZE_UNAVAILABLE":"Contract size unavailable","ERR_CORE_POST_DISALLOWED":"Core Post Disallowed","ERR_CREATING_NAKED_POSITION":"This transaction will create a naked position your account is not allowed to have","ERR_CRYPTO_NOT_ALLOWED":"Crypto Not Allowed","ERR_CRYPTO_NOT_ENABLED":"Crypto Not Enabled","ERR_CRYPTO_SIGNUP_NOT_SUPPORTED":"Crypto Signup Not Supported","ERR_DIFFERENT_STRIKE_DISTANCE":"Different strike distance","ERR_DIMES_ONLY":"This option is traded in dimes (10c increments) only","ERR_DOCUMENT_CALL_NOT_SUPPORTED":"Document Call Not Supported","ERR_DOES_NOT_MEET_MINIMUM":"Does not meet minimum","ERR_DOMESTIC_NOT_SUPPORTED":"Domestic Not Supported","ERR_DUPLICATE_ORDER_REFERENCE":"Duplicate order reference","ERR_DUPLICATE_ORDER_SUBMISSION":"Duplicate order. Please resubmit in at least 30 seconds","ERR_DUPLICATE_QUANTTY":"Duplicate Quantty","ERR_EIP_BUYS_MIS":"This security cannot be acquired due to an SIP classification","ERR_ENCRYPTION_FAILED":"Encryption Failed","ERR_ESIGNATURE_REQUIRED":"E-Signature Required","ERR_ESS":"ESS Error","ERR_ESTABLISHING_LONG_ON_NONINTERMEDIARY_WTH_SHORT":"Establishing Long on Non-Intermediary with Short","ERR_ESTABLISHING_SHORT_ON_NONINTERMEDIARY_WTH_LONG":"Establishing Short on Non-Intermediary with Long","ERR_ETH_NOT_SUPPORTED":"ETH not supported","ERR_EXCEEDED_NOTIONAL_LIMIT":"Exceeded Notional Limit","ERR_EXCHANGE_RESTRICTION":"Trading on this security has been restricted","ERR_FEATURE_NOT_AVAILABLE":"Feature not available","ERR_FEATURE_NOT_SUPPORTED":"Feature Not Supported","ERR_FILE_UPLOAD_FAILED":"File Upload Failed","ERR_FRACTIONAL_LIMITS_NOT_ALLOWED":"Fractional Limits Not Allowed","ERR_FRACTIONAL_NOT_ALLOWED":"Fractional Not Allowed","ERR_FRACTIONAL_QUANTITY_NOT_SUPPORTED":"Fractional quantity not supported","ERR_GIFT_MUST_HAVE_PURPOSE":"Gift Must Have Purpose","ERR_GREATER_THAN_MAXIMUM_QUANTITIES":"Quantity Greater than Allowable Maximum","ERR_GTC_NOT_ALLOWED":"GTC orders are not allowed","ERR_IDENTIFIER_MISSING":"Identifier Missing","ERR_IDENTITIES_NOT_AVAILABLE":"Identities Not Available","ERR_IDENTITY_ID_MISSING":"Identity Id Missing","ERR_INSERT_G_EVENT_BUY_LEG":"Insert G-Event for SELL leg","ERR_INSERT_G_EVENT_SELL_LEG":"Insert G-Event for BUY leg","ERR_INSERT_REPLACE_BUY_LEG":"INSERT Replace buy leg","ERR_INSERT_REPLACE_HIST":"INSERT replace history","ERR_INSERT_REPLACE_SELL_LEG":"INSERT Replace sell leg","ERR_INSERT_REPLACE_SUCCESS_HIST":"INSERT Replace success history","ERR_INSERT_V_EVENT_BUY_LEG":"Insert V-Event for BUY leg","ERR_INSERT_V_EVENT_SELL_LEG":"Insert V-Event for SELL leg","ERR_INSTANT_DEPOSIT_DENIED":"Instant Deposit Denied","ERR_INSUFFICIEND_LONG_TO_COVER":"Insufficiend long to cover","ERR_INSUFFICIENT_ARGUMENTS":"Insufficient arguments","ERR_INSUFFICIENT_CASH":"Insufficient Cash","ERR_INSUFFICIENT_EQUITY":"Insufficient Equity","ERR_INSUFFICIENT_FUNDS":"Insufficient Funds","ERR_INSUFFICIENT_SHARES":"Insufficient Shares","ERR_INSUFFICIENT_SHORT_SHARES":"Insufficient short shares","ERR_INVALID_2FA":"Invalid 2 Fa","ERR_INVALID_ABA_NUMBER":"Invalid Aba Number","ERR_INVALID_ACCOUNT":"Invalid account","ERR_INVALID_BANK_ACCOUNT":"Invalid Bank Account","ERR_INVALID_BANK_BRANCH":"Invalid Bank Branch","ERR_INVALID_BANK_COUNTRY":"Invalid Bank Country","ERR_INVALID_BLOCK_SIZE":"Invalid Block Size","ERR_INVALID_CITY":"Invalid City","ERR_INVALID_COUNTRY":"Invalid Country","ERR_INVALID_DISBURSEMENT_TYPE":"Invalid Disbursement Type","ERR_INVALID_DOCUMENT_ID":"Invalid Document Id","ERR_INVALID_EXPECTED_VALUE":"Invalid expected value","ERR_INVALID_IDENTIFIER_TYPE":"Invalid Identifier Type","ERR_INVALID_PEG_TYPE":"Invalid peg type","ERR_INVALID_PEG":"Invalid peg","ERR_INVALID_RELATIONSHIP":"Invalid relationship","ERR_INVALID_STREET_MATCH":"Invalid Street Match","ERR_INVALID_STREET":"Invalid Street","ERR_INVALID_TRADING_PASSWORD":"Invalid trading password","ERR_INVALID_USER":"Invalid user","ERR_INVENTORY_NOT_ALLOWED":"Inventory not Allowed","ERR_INVENTORY_NOT_DEFINED":"Inventory Not Defined","ERR_JOURNAL_REQUEST_FAILED":"Journal Request Failed","ERR_LARGE_ORDER_REJECTION":"Large Order Rejection","ERR_LEGAL_NOT_SUPPORTED":"Legal Not Supported","ERR_LESS_OR_NO_BUY_TO_OPEN_POSN":"Less Or No Buy To Open Position","ERR_LESS_OR_NO_SELL_TO_OPEN_POSN":"Less Or No Sell To Open Position","ERR_LESS_THAN_MINIMUM_QUANTITIES":"Quantity Less than Allowable Minimum","ERR_LIMIT_GREATER_STOP":"Limit price must be less than the stop price","ERR_LIMIT_LESS_STOP":"Limit price must be greater than the stop price","ERR_LIMIT_MARKET_ONLY":"Only limit and market orders are supported","ERR_LIMIT_ONLY":"Limit orders only","ERR_LINK_IN_INVALID_STATUS":"Link In Invalid Status","ERR_LIQUIDATION_ONLY":"Liquidation only","ERR_LIQUIDATION_WITH_EXISTING_OPEN_SELL_ORDER":"Liquidation with existing Open Sell Order","ERR_MARGIN_ACCOUNT_ONLY":"Margin Account Only","ERR_MARKET_CLOSED":"Market is closed","ERR_MARKET_ORDER_PRIOR_MARKET_OPEN_RESTRICTED":"Market Order Prior Market Open Restricted","ERR_MARKUP_TOO_BIG":"Markup too big","ERR_MAX_FLOOR_GREATER_THAN_QUANTITY":"Max Floor Greater than Quantity","ERR_MAX_FLOOR_NOT_ODD_LOT":"Max Floor Not Odd Lot","ERR_MICRO_CAP_THRESHOLD":"Micro cap threshold","ERR_MINIMUM_ORDER_LIMIT":"Minimum Order Limit","ERR_MISSING_ADDRESS":"Missing Address","ERR_MISSING_BANK_ACCOUNT":"Missing Bank Account","ERR_MISSING_BANK_BRANCH":"Missing Bank Branch","ERR_MISSING_BANK_CITY":"Missing Bank City","ERR_MISSING_BANK_CODE":"Missing Bank Code","ERR_MISSING_BANK_COUNTRY":"Missing Bank Country","ERR_MISSING_BANK_NAME":"Missing Bank Name","ERR_MISSING_BANK_POSTAL_CODE":"Missing Bank Postal Code","ERR_MISSING_BANK_STATE_PROVINCE":"Missing Bank State Province","ERR_MISSING_CAPITAL_GAINS_INDICATOR":"Missing Capital Gains Indicator","ERR_MISSING_CONTRA_ACCOUNT_TITLE":"Missing Contra Account Title","ERR_MISSING_CONTRA_ACCOUNT_TYPE":"Missing Contra Account Type","ERR_MISSING_CONTRA_ACCOUNT":"Missing Contra Account","ERR_MISSING_CONTRIBUTION_TYPE":"Missing Contribution Type","ERR_MISSING_CONTRIBUTION_YEAR":"Missing Contribution Year","ERR_MISSING_CONTRIBUTION":"Missing Contribution","ERR_MISSING_CONTROL_RESOLUTION":"Missing Control Resolution","ERR_MISSING_CONTROL_SOURCE":"Missing Control Source","ERR_MISSING_CONTROL_TRANSFER_ID":"Missing Control Transfer Id","ERR_MISSING_DISTRIBUTION_INSTITUTION":"Missing Distribution Institution","ERR_MISSING_DISTRIBUTION_REASON":"Missing Distribution Reason","ERR_MISSING_DISTRIBUTION":"Missing Distribution","ERR_MISSING_DIVIDENDS_INDICATOR":"Missing Dividends Indicator","ERR_MISSING_ID":"Missing ID","ERR_MISSING_LIMIT":"Missing limit","ERR_MISSING_LOA":"Missing Loa","ERR_MISSING_NICKNAME":"Missing Nickname","ERR_MISSING_ORDER_TYPE":"Missing order type","ERR_MISSING_ORDERS":"Missing orders","ERR_MISSING_PAYMENT_METHOD":"Missing Payment Method","ERR_MISSING_PRIMARY_TAX_ID":"Missing Primary Tax Id","ERR_MISSING_QUANTITY":"Quantity missing from Order","ERR_MISSING_REMOTE_DEVICE":"Missing Remote Device","ERR_MISSING_REMOTE_IP":"Missing Remote Ip","ERR_MISSING_RULE_5030_5131":"Missing Rule 50305131","ERR_MISSING_STOP":"Missing stop","ERR_MISSING_TOKEN":"Missing Token","ERR_MISSING_TRANSFER_ID":"Missing Transfer Id","ERR_MISSING_VALUE_TYPE":"Missing Value Type","ERR_MISSING_VALUE":"Value missing","ERR_MODEL_HAS_ACCOUNTS":"Model has accounts","ERR_MODEL_NOT_DEFINED":"Model not defined","ERR_MULTIPLE_ACCOUNT_TYPES":"Multiple account types","ERR_MULTIPLE_ACCOUNTS":"Multiple Accounts","ERR_MULTIPLE_CURRENCIES":"Multiple currencies","ERR_MULTIPLE_MODELS":"Multiple models","ERR_MULTIPLE_SECURITIES":"Multiple securities","ERR_MULTIPLE_SIDES":"Multiple sides","ERR_MULTIPLE_TRANSACTIONS":"Multiple transactions","ERR_MUST_BE_CALLS":"Must Be Calls","ERR_MUST_BE_CREDIT":"Must Be Credit","ERR_MUST_BE_DEBIT":"Transaction must be Debit","ERR_MUST_BE_EVEN":"Must Be Even","ERR_MUST_BE_OPTION":"Must Be Option","ERR_MUST_BE_PUTS":"Must Be Puts","ERR_MUST_ENTER_CREDIT_PRICE":"Credit price must be entered","ERR_MUST_ENTER_DEBIT_PRICE":"Debit price must be entered","ERR_MUST_MARGIN_ACCOUNT":"Margin account is required to complete this transaction","ERR_MUTUAL_FUND_NO_NEW_INVESTORS_ALLOWED":"Mutual Fund No New Investors Allowed","ERR_MUTUAL_FUND_NOT_ALLOWED_TO_CANCEL":"Mutual Fund not allowed to cancel","ERR_MUTUAL_FUND_NOT_ALLOWED":"This fund is not on the list of approved funds","ERR_MUTUAL_FUND_SUBSTITUTE_LIQUIDATION_NOT_SUPPORTED":"Mutual Fund Substitute Liquidation not supported","ERR_MUTUAL_FUND_SUBSTITUTE_VALUE":"Mutual Fund Substitute Value","ERR_MUTUAL_FUND_TIME_EXCEEDS_ORDER_CUTOFF":"Mutual Fund Time exceeds Order cutoff","ERR_MUTUAL_FUND_TRADING_RESTRICTED":"This account does not have access to mutual fund trading","ERR_NAKED_CALLS_NOT_PERMITTED":"Naked Call Positions not Permitted","ERR_NAKED_PUTS_NOT_PERMITTED":"Naked Put Positions not Permitted","ERR_NAME_MISMATCH":"Name mismatch","ERR_NAMES_NOT_AVAILABLE":"Names Not Available","ERR_NEGATIVE_MARKUP":"Markup cannot be negative","ERR_NEW_ORDERS_ARE_RESTRICTED":"New Orders Are Restricted","ERR_NICKELS_ONLY":"Price must be in 5 cent spread","ERR_NO_BANK_ACCOUNT_FOUND":"No Bank Account Found","ERR_NO_BANK_ACCOUNT_WITH_SAME_NAME":"No Bank Account With Same Name","ERR_NO_CHANGES":"No changes","ERR_NO_GTC_ON_INET":"GTC orders are not allowed on ECN","ERR_NO_GTD_PERMITTED":"GTD Orders not Permitted","ERR_NO_ILM_ACCOUNT":"No Ilm Account","ERR_NO_OTCBB_ON_PREPOST":"No OTCBB for pre and post market","ERR_NO_OTCBB":"Cannot short sell an OTC stock","ERR_NO_QUOTE":"No Quote","ERR_NO_SHARES_AVAILABLE":"No shares available","ERR_NO_VALUE":"No Value","ERR_NON_CORE_DISALLOWED":"Non Core Disallowed","ERR_NOT_ACH":"Not Ach","ERR_NOT_MICRODEPOSIT":"Not Microdeposit","ERR_NOT_SHORTABLE":"Not Shortable","ERR_NOTIONAL_EXPECTED":"Notional expected","ERR_OCO_INVALID_ORDER_TYPE":"OCO invalid order type","ERR_OCO_LIMIT_BELOW_STOP":"OCO limit below stop","ERR_OCO_MUST_BE_LIMIT":"OCO must be limit","ERR_OCO_MUST_BE_STOP":"OCO must be stop","ERR_OCO_NEED_DIFFERENT_SECURITY":"OCO needs different security","ERR_OCO_NEED_SAME_SECURITY":"OCO Need same security","ERR_OCO_NEED_SAME_SIZE":"OCO needs same size","ERR_OCO_STOP_BELOW_LIMIT":"OCO stop below limit","ERR_OCO_STOP_TOO_CLOSE":"Oco stop too close","ERR_OCO_VALUE_MUST_BE_EQUAL":"OCO value must be equal","ERR_OCT_CLOSING_PRICE_THRESHOLD":"Oct Closing Price Threshold","ERR_ODD_LOT_ONLY":"This security trades in odd lots only","ERR_OPEN_ORDER_LIMIT":"Open Order Limit","ERR_OPEN_TRANSFERS":"Open Transfers","ERR_OPERATION_NOT_SUPPORTED":"Operation not supported","ERR_OPTION_EXPIRED":"Option Expired","ERR_OPTION_TRADING_RESTRICTED":"Option trading restricted","ERR_OPTIONS_NOT_PERMITTED":"Options not permitted","ERR_ORDER_EXCEEDS_SHARE_LIMIT":"Order exceeds share limit","ERR_ORDER_EXCEEDS_THRESHOLD":"Order exceeds threshold","ERR_ORDER_EXCEEDS_VALUE_LIMIT":"Order exceeds value limit","ERR_ORDER_MISMATCH":"Order mismatch","ERR_ORDER_NOT_FOUND_BUY_LEG":"Order cannot find BUY leg of spread","ERR_ORDER_NOT_FOUND_SELL_LEG":"Order cannot find SELL leg of spread","ERR_ORDER_NOT_FOUND":"Order not found","ERR_ORDER_TIME_RESTRICTED":"Order Time restricted","ERR_ORDER_TOO_LARGE":"Order too large","ERR_ORDER_TYPE_NOT_PERMITTED":"Order Type not permitted","ERR_ORDER_TYPE_NOT_TRADABLE":"Cannot place market orders at this time","ERR_ORDER_VALUE_TOO_SMALL":"Order value too small","ERR_OTC_MARKET_CAP_THRESHOLD":"Otc Market Cap Threshold","ERR_OTC_PRICE_THRESHOLD":"OTC price threshold","ERR_OUTSIDE_MARKET_HOURS":"Cannot trade outside market hours","ERR_PASSPHRASE_NOT_SUPPORTED":"Passphrase not supported","ERR_PASSWORD_COMMONLY_USED":"Password commonly used","ERR_PASSWORD_CONTAINS_SEQUENCE":"Password contains sequenced characters","ERR_PASSWORD_CONTAINS_SUBSEQUENCE":"Password cannot have a sequence of consecutive characters/numbers","ERR_PASSWORD_CONTAINS_USERNAME":"Password contains username","ERR_PASSWORD_DIGITS_ONLY":"Password cannot only contain digits","ERR_PASSWORD_INSUFFICIENT_DIGITS":"Password has insufficient digits","ERR_PASSWORD_INVALID":"Incorrect old password","ERR_PASSWORD_NEEDS_MULTICASE":"Password needs multicase characters","ERR_PASSWORD_RECENTLY_USED":"Password was recently used","ERR_PASSWORD_TOO_SHORT":"Password is too short","ERR_PAST_DELIVERY_DATE":"Past Delivery Date","ERR_PAYMENT_METHODS_NOT_AVAILABLE":"Payment Methods Not Available","ERR_PAYMENT_METHODS_NOT_SUPPORTED":"Payment Methods Not Supported","ERR_PLAID_ERROR":"Plaid Error","ERR_POLICY_UPDATE_NOT_SUPPORTED":"Policy Update not supported","ERR_POSITION_LOADER_NOT_AVAILABLE":"Position Loader not available","ERR_POSITION_NOT_FOUND":"Position not found","ERR_PRE_CORE_DISALLOWED":"Pre Core Disallowed","ERR_PRE_IPO":"Market orders are not allowed on pre-IPO stocks","ERR_PRICE_MOVEMENT_THRESHOLD":"Price movement threshold","ERR_PRICE_TOO_SMALL":"Price too small","ERR_PURPOSE_NOT_SUPPORTED":"Purpose Not Supported","ERR_QUANTITIES_INVALID_INCREMENT":"Invalid Qunatity Increment","ERR_QUANTITIES_NOT_EQUAL":"Spread Quantities are not Equal","ERR_QUANTITY_NOT_SUPPORTED":"Quantity not supported","ERR_QUOTE_COUNTRY_NOT_SUPPORTED":"Quote country not supported","ERR_RECIPIENT_BANK_MISSING":"Recipient Bank Missing","ERR_RECIPIENT_BANK_PRESENT":"Recipient Bank Present","ERR_RECONFIRM_NOT_REQUESTED":"Reconfirm Not Requested","ERR_RELATIONSHIP_NAME_MISMATCH":"Error: Name Mismatch","ERR_REPLACE_ACTIVE_ZERO":"Replace active zero","ERR_REPLACE_IN_PROGRESS":"Replace in progress","ERR_REQUEST_IN_PROGRESS":"Request in progress","ERR_RESTRICTED_ITEM: not-whitelisted":"This stock is restricted from fractional trading. Please round the share quantity to a whole number","ERR_RESTRICTED_ITEM":"This item is whitelisted","ERR_ROUTES_NOT_AVAILABLE":"Routes not available","ERR_SAME_EXPIRATION_MONTH":"Same expiration month","ERR_SAME_UNDERLYING":"Same Underlying","ERR_SANDP_MINIMUM_THRESHOLD_BREACH":"This bond is below investment threshold. Please select bond with higher rating","ERR_SELL_CLOSE_BUY_CLOSE":"Cannot Sell to Close and Buy to Close same position","ERR_SELL_RESTRICTED":"Sell orders for this security are not allowed","ERR_SHARES_LESS_EXECUTED":"Shares less executed","ERR_SHORT_SPREADS_NOT_PERMITTED":"Short Spreadsn not permitted","ERR_SHORTABLE_LIMIT_EXCEEDED":"Shortable Limit Exceeded","ERR_START_TIME_BEFORE_END_TIME":"Start time before end time","ERR_STATE_RESTRICTED":"State Restricted","ERR_STATUS_NOT_IN_W_E_B":"Status Not In WEB","ERR_STOP_AON":"Stop All-Or-None","ERR_STOP_GREATER_LAST":"Stop price must be less than the last price","ERR_STOP_LESS_LAST":"Stop price cannot be less than last price","ERR_SYMBOL_NOT_TRADABLE":"Symbol is not tradable","ERR_THIRD_PARTY_XFER_RESTRICTED":"Third-Party Transfers restricted","ERR_TOO_EARLY_TO_ENTER":"Too early to enter","ERR_TOO_LATE_TO_ENTER":"Too late to enter","ERR_TOO_MANY_DECIMAL_PLACES":"Too many decimal places","ERR_TOO_MANY_DEPOSITS":"Too many deposits","ERR_TOO_MANY_IDENTICAL_REQUESTS":"Too many identical requests","ERR_TOO_MANY_REQUESTS":"Too many requests","ERR_TOO_MANY_SHARES":"Too many shares","ERR_TOO_MANY_WITHDRAWALS":"Too many withdrawals","ERR_TOO_SMALL_FOR_AON":"Quantity too small of All-Or-None","ERR_TRADING_HALTED":"Trading has been halted temporarily","ERR_TRADING_LIMIT":"Trading limit error","ERR_TRADING_RESTRICTED":"Trading Restricted","ERR_TRANSACTION_NOT_SUPPORTED":"Transaction is not supported for this order type","ERR_TRANSFER_METHOD_NOT_SUPPORTED":"Transfer Method not supported","ERR_TRANSFER_NOT_FOUND":"Transfer Not Found","ERR_TRANSFER_REJECTED":"Transfer rejected","ERR_TRIGGER_FAILURE":"Trigger Failure","ERR_UNALLOCATED_ORDERS":"Unallocated orders","ERR_UNEVEN_BREADTH":"Uneven Breadth","ERR_UNEXPECTED_ERROR":"Unexpected Error","ERR_UNKNOWN_ERROR":"Unknown Error","ERR_UNKNOWN_KEY_FOR_USER":"Unknown Key For User","ERR_UNKNOWN_ORDER_TYPE":"Unknown Order Type","ERR_UNKNOWN_PARAMETER_FOR_USER":"Unknown Parameter For User","ERR_UNKNOWN_STRATEGY":"Unknown Strategy","ERR_UNREALISTIC_CREDIT_DEBIT":"Unrealistic credit debit","ERR_UNREALISTIC_CREDIT":"Unrealistic credit","ERR_UNREALISTIC_PERCENTAGE":"Unrealistic percentage","ERR_UNREALISTIC_TOTAL":"Unrealistic total","ERR_UNREALISTIC_VALUE":"Unrealistic value","ERR_UPDATE_REPLACE_BUY_LEG":"UPDATE Replace buy leg","ERR_UPDATE_REPLACE_SELL_LEG":"UPDATE Replace sell leg","ERR_UPDATE_STATUS_G":"Update status G","ERR_VALIDATOR_NOT_AVAILABLE":"Validator not available","ERR_VOLUME_CONSTRAINT_NEEDED":"Volume constraint needed","ERR_VOLUME_CONSTRAINT_NOT_NEEDED":"Volume Constraint not needed","ERR_WASH_TRADE":"Cannot place an order while order is open","ERR_WIRE_WITHDRAWAL_NOT_ALLOWED":"Wire Withdrawal Not Allowed"}');class rn{constructor(e){this.apiClient=e,s8(s$)(this)}list(e,t){return this.apiClient.request({...t,url:`/transfer/relationship/list/${e}`,method:"GET",secure:!0})}getInfo(e,t){return this.apiClient.request({...t,url:"/transfer/relationship/get",method:"GET",params:e,secure:!0})}paymentMethods(e,t){return this.apiClient.request({...t,url:"/transfer/bank/paymentMethods",method:"GET",params:e,secure:!0})}paymentMethodsViaAddress(e,t){return this.apiClient.request({...t,url:"/transfer/bank/paymentMethods",method:"POST",data:e,secure:!0,contentType:rt.Json})}bankCodes(e,t){return this.apiClient.request({...t,url:"/transfer/bank/bankCodes",method:"GET",params:e,secure:!0})}bankCodesViaAddress(e,t){return this.apiClient.request({...t,url:"/transfer/bank/bankCodes",method:"POST",data:e,secure:!0,contentType:rt.Json})}create(e,t){return this.apiClient.request({...t,url:"/transfer/relationship/create",method:"POST",data:e,secure:!0,contentType:rt.Json,responseType:"json"})}wireInformation(e,t){return this.apiClient.request({...t,url:"/transfer/relationship/wire/create",method:"POST",data:e,secure:!0})}bankingRelationship(e,t){return this.apiClient.request({...t,url:"/transfer/relationship/bank/create",method:"POST",data:e,secure:!0})}approve(e,t){return this.apiClient.request({...t,url:"/transfer/relationship/approve",method:"POST",data:e,secure:!0,responseType:"json"})}cancel(e,t,s){return this.apiClient.request({...s,url:`/transfer/relationship/cancel/${e}`,method:"POST",data:t,secure:!0,contentType:rt.Json,responseType:"json"})}rename(e,t,s){return this.apiClient.request({...s,url:`/transfer/relationship/rename/${e}`,method:"POST",data:t,secure:!0,contentType:rt.Json,responseType:"json"})}advisorPolicyUpdate(e,t){return this.apiClient.request({...t,url:"/transfer/relationship/policy",method:"POST",data:e,secure:!0,contentType:rt.Json})}documentUpload(e,t){return this.apiClient.request({...t,url:"/transfer/relationship/wire/upload",method:"POST",data:e,secure:!0,contentType:rt.FormData})}mfaReInitiation(e,t){return this.apiClient.request({...t,url:"/transfer/relationship/wire/2fa/reinitiate",method:"POST",data:e,secure:!0,contentType:rt.Json})}supplementWire(e,t){return this.apiClient.request({...t,url:"/transfer/relationship/wire/supplement",method:"POST",data:e,secure:!0,contentType:rt.Json})}}class ra{constructor(e){this.apiClient=e,s8(s$)(this)}initiate(e){return this.apiClient.request({...e,url:"/iav/init",method:"GET",secure:!0})}initiatePost(e,t,s){return this.apiClient.request({...s,url:"/iav/init",method:"POST",params:e,data:t,secure:!0,contentType:rt.FormData})}complete(e,t){return this.apiClient.request({...t,url:"/iav/complete",method:"POST",data:e,secure:!0})}listBankAccounts(e,t){return this.apiClient.request({...t,url:"/iav/list",method:"POST",data:e,secure:!0,responseType:"json"})}linkBankAccount(e,t){return this.apiClient.request({...t,url:"/iav/link",method:"POST",data:e,secure:!0,contentType:rt.Json,responseType:"json"})}importWithPlaid(e,t){return this.apiClient.request({...t,url:"/iav/import",method:"POST",data:e,secure:!0,contentType:rt.Json})}}class ri{constructor(e){this.apiClient=e,s8(s$)(this)}deposit(e,t){return this.apiClient.request({...t,url:"/transfer/ach/deposit",method:"POST",data:e,secure:!0})}withdraw(e,t){return this.apiClient.request({...t,url:"/transfer/ach/withdraw",method:"POST",data:e,secure:!0})}}class ro{constructor(e){this.apiClient=e,s8(s$)(this)}search(e,t){return this.apiClient.request({...t,url:"/transfer/acat/search",method:"GET",params:e,secure:!0})}cancel(e,t){return this.apiClient.request({...t,url:"/transfer/acat/cancel",method:"POST",data:e,secure:!0,contentType:rt.Json})}initiateSchedule(e,t){return this.apiClient.request({...t,url:"/transfer/acat/initiate",method:"POST",data:e,secure:!0,contentType:rt.Json})}bulkSchedule(e,t){return this.apiClient.request({...t,url:"/transfer/acat/schedule",method:"POST",data:e,secure:!0,contentType:rt.Json})}}class ru{constructor(e){this.apiClient=e,s8(s$)(this)}outgoing(e,t){return this.apiClient.request({...t,url:"/transfer/wire/outgoing",method:"POST",data:e,secure:!0,contentType:rt.Json})}}class rl{constructor(e){this.apiClient=e,s8(s$)(this)}journalRequest(e,t){return this.apiClient.request({...t,url:"/transfer/journal/request",method:"POST",data:e,secure:!0,contentType:rt.Json})}search(e,t){return this.apiClient.request({...t,url:"/transfer/journal/search",method:"POST",data:e,secure:!0,contentType:rt.Json})}}class rd{constructor(e){this.apiClient=e,s8(s$)(this)}transferRequest(e,t){return this.apiClient.request({...t,url:"/transfer/position/request",method:"POST",data:e,secure:!0,contentType:rt.Json})}}class r_{constructor(e){this.apiClient=e,s8(s$)(this)}fundTransfer(e,t,s){return this.apiClient.request({...s,url:`/transfer/bank/${e}`,method:"POST",data:t,secure:!0,contentType:rt.Json})}}class rc{constructor(e){this.apiClient=e,s8(s$)(this)}depositWithdrawal(e,t,s){return this.apiClient.request({...s,url:`/transfer/ict/$${e}`,method:"POST",data:t,secure:!0,contentType:rt.Json})}depositWithdrawalV2(e,t,s){return this.apiClient.request({...s,url:`/transfer/v2/ict/$${e}`,method:"POST",data:t,secure:!0,contentType:rt.Json})}obtainTheReport(e,t){return this.apiClient.request({...t,url:"/transfer/reports/obtain",method:"POST",data:e,secure:!0,contentType:rt.Json})}listReports(e){return this.apiClient.request({...e,url:"/transfer/reports",method:"GET",secure:!0})}}class rp{constructor(e){this.apiClient=e,s8(s$)(this)}withdrawal(e,t){return this.apiClient.request({...t,url:"/transfer/check/outgoing",method:"POST",data:e,secure:!0,contentType:rt.Json})}}class rE{constructor(e){this.apiClient=e,this.relationships=new rn(e),this.instantAccountVerification=new ra(e),this.ach=new ri(e),this.acats=new ro(e),this.wires=new ru(e),this.journals=new rl(e),this.positions=new rd(e),this.bank=new r_(e),this.instantCashTransfers=new rc(e),this.cheques=new rp(e),s8(s$)(this)}transferDetails(e,t,s){return this.apiClient.request({...s,url:`/transfer/details/${e}/${t}`,method:"GET",secure:!0})}transferStatus(e,t,s){return this.apiClient.request({...s,url:`/transfer/status/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}transferStatusModel(e,t){return this.apiClient.request({...t,url:`/transfer/status/model/${e}`,method:"GET",secure:!0,responseType:"json"})}transferStatusBranch(e,t){return this.apiClient.request({...t,url:"/transfer/status/branch",method:"GET",params:e,secure:!0,responseType:"json"})}amountAvailable(e,t){return this.apiClient.request({...t,url:`/transfer/available/${e}`,method:"GET",secure:!0})}legalDocumentTypes(e){return this.apiClient.request({...e,url:"/transfer/legal/types",method:"GET",secure:!0})}legalDocument(e,t){return this.apiClient.request({...t,url:"/transfer/legal/content",method:"GET",params:e,secure:!0})}cancel(e,t){return this.apiClient.request({...t,url:"/transfer/ach/cancel",method:"POST",data:e,secure:!0,contentType:rt.Json})}feesAndCredits(e,t){return this.apiClient.request({...t,url:"/transfer/fees/apply",method:"POST",data:e,secure:!0,contentType:rt.Json})}listFees(e){return this.apiClient.request({...e,url:"/transfer/fees/classifications/fees",method:"GET",secure:!0})}listCredits(e){return this.apiClient.request({...e,url:"/transfer/fees/classifications/credits",method:"GET",secure:!0})}cryptoDepositAddress(e,t){return this.apiClient.request({...t,url:"/transfer/crypto/deposit/wallet/address",method:"GET",data:e,secure:!0,contentType:rt.Json})}cryptoWithdrawalEstimate(e,t){return this.apiClient.request({...t,url:"/transfer/crypto/withdrawal/estimate",method:"POST",data:e,secure:!0,contentType:rt.Json})}cryptoWithdrawal(e,t){return this.apiClient.request({...t,url:"/transfer/crypto/withdraw",method:"POST",data:e,secure:!0,contentType:rt.Json})}}var rR={},rm={};s4(rm,"ZeroHashUnderlyingCurrency",()=>rT),s4(rm,"ZeroHashQuotedCurrency",()=>rh),s4(rm,"ZeroHashAsset",()=>rC),s4(rm,"ZeroHashProductionAsset",()=>rS),s4(rm,"ZeroHashRunHistoryEntityRunTypeEnum",()=>ry),s4(rm,"ZeroHashAccountMovementsEntityMovementTypeEnum",()=>rP),s4(rm,"ZeroHashAccountMovementsEntityOriginEnum",()=>rO),s4(rm,"ZeroHashMovementsEntityMovementTypeEnum",()=>rA),s4(rm,"ZeroHashMovementsEntityTransferTypeEnum",()=>rI),s4(rm,"ZeroHashMovementsEntityOriginEnum",()=>rN),s4(rm,"ZeroHashClobAccountEntityAccountTierEnum",()=>rg),s4(rm,"ZeroHashPostClobAccountBodyAccountTierEnum",()=>rf),s4(rm,"ZeroHashPostClobResponseEntityAccountTierEnum",()=>rU),s4(rm,"ZeroHashPatchPrefundedAccountBodyAccountTierEnum",()=>rL),s4(rm,"ZeroHashPostAwardsResponseSideEnum",()=>rD),s4(rm,"ZeroHashPostAwardsResponseSettlementTypeEnum",()=>rv),s4(rm,"ZeroHashPostAwardsResponseIssuerFeePayorTypeEnum",()=>rw),s4(rm,"ZeroHashPatchDigitalAssetAddressesBodyBlockchainEnum",()=>rM),s4(rm,"ZeroHashPostDepositsFundEntityAccountTypeEnum",()=>rB),s4(rm,"ZeroHashGetRequestForQuoteResponseSideEnum",()=>rH),s4(rm,"ZeroHashPostRequestForQuoteResponseSideEnum",()=>rb),s4(rm,"ZeroHashPostRequestForQuoteResponseSettlementTypeEnum",()=>rF),s4(rm,"ZeroHashPostRequestForQuoteResponseIssuerFeePayorTypeEnum",()=>rG),s4(rm,"ZeroHashPostRequestForQuoteBodySideEnum",()=>rk),s4(rm,"ZeroHashPostRequestForQuoteBodyQuoteExpiryEnum",()=>rZ),s4(rm,"ZeroHashPostRequestForQuoteBodySettlementTypeEnum",()=>rq),s4(rm,"ZeroHashPostExecuteQuoteResponseStatusEnum",()=>rV),s4(rm,"ZeroHashQuoteEntitySideEnum",()=>rj),s4(rm,"ZeroHashQuoteEntitySettlementTypeEnum",()=>rx),s4(rm,"ZeroHashQuoteEntityIssuerFeePayorTypeEnum",()=>rK),s4(rm,"ZeroHashGetParticipantKycStatusResponseIdvEnum",()=>rW),s4(rm,"ZeroHashGetParticipantKycStatusResponseLivenessCheckEnum",()=>rJ),s4(rm,"ZeroHashGetParticipantFullInfoResponseEntityTypeEnum",()=>rY),s4(rm,"ZeroHashGetParticipantFullInfoResponseIdNumberTypeEnum",()=>rQ),s4(rm,"ZeroHashGetParticipantFullInfoResponseKycEnum",()=>rX),s4(rm,"ZeroHashGetParticipantFullInfoResponseSanctionScreeningEnum",()=>r$),s4(rm,"ZeroHashGetParticipantFullInfoResponseIdvEnum",()=>rz),s4(rm,"ZeroHashGetParticipantFullInfoResponseLivenessCheckEnum",()=>r0),s4(rm,"ZeroHashGetParticipantFullInfoResponseEmploymentStatusEnum",()=>r1),s4(rm,"ZeroHashGetParticipantFullInfoResponseIndustryEnum",()=>r5),s4(rm,"ZeroHashGetParticipantFullInfoResponseSourceOfFundsEnum",()=>r2),s4(rm,"ZeroHashGetParticipantFullInfoResponseTypeEnum",()=>r3),s4(rm,"ZeroHashGetParticipantFullInfoResponseRegionEnum",()=>r6),s4(rm,"ZeroHashGetParticipantFullInfoResponseSalaryEnum",()=>r7),s4(rm,"ZeroHashGetParticipantFullInfoResponseSavingsAndInvestmentsEnum",()=>r4),s4(rm,"ZeroHashGetParticipantFullInfoResponseInvestorCategoryEnum",()=>r8),s4(rm,"ZeroHashGetParticipantFullInfoResponseResultEnum",()=>r9),s4(rm,"ZeroHashGetParticipantSanctionScreeningInfoResponseEntityTypeEnum",()=>ne),s4(rm,"ZeroHashPostCustomersBodyIdNumberTypeEnum",()=>nt),s4(rm,"ZeroHashPostCustomersBodyRiskRatingEnum",()=>ns),s4(rm,"ZeroHashPostCustomersBodyKycEnum",()=>nr),s4(rm,"ZeroHashPostCustomersBodySanctionScreeningEnum",()=>nn),s4(rm,"ZeroHashPostCustomersBodyIdvEnum",()=>na),s4(rm,"ZeroHashPostCustomersBodyLivenessCheckEnum",()=>ni),s4(rm,"ZeroHashPostCustomersBodyEmploymentStatusEnum",()=>no),s4(rm,"ZeroHashPostCustomersBodyIndustryEnum",()=>nu),s4(rm,"ZeroHashPostCustomersBodySalaryEnum",()=>nl),s4(rm,"ZeroHashPostCustomersBodySourceOfFundsEnum",()=>nd),s4(rm,"ZeroHashPostCustomersBodySavingsAndInvestmentsEnum",()=>n_),s4(rm,"ZeroHashPostCustomersBodyTypeEnum",()=>nc),s4(rm,"ZeroHashPostCustomersBodyRegionEnum",()=>np),s4(rm,"ZeroHashPostCustomersBodyTxEquivalentAnnualVolumeEnum",()=>nE),s4(rm,"ZeroHashPostCustomersBodyTxFrequencyOfUseEnum",()=>nR),s4(rm,"ZeroHashPostCustomersBodyGrossAnnualIncomeAmountEnum",()=>nm),s4(rm,"ZeroHashPostCustomersBodyTxTypeOfServiceEnum",()=>nT),s4(rm,"ZeroHashPostCustomersBodyTxRelationshipTermWithServiceEnum",()=>nh),s4(rm,"ZeroHashPostCustomersResponseGenderEnum",()=>nC),s4(rm,"ZeroHashPostCustomersResponseIdNumberTypeEnum",()=>nS),s4(rm,"ZeroHashPostCustomersResponseRiskRatingEnum",()=>ny),s4(rm,"ZeroHashPostCustomersResponseKycEnum",()=>nP),s4(rm,"ZeroHashPostCustomersResponseSanctionScreeningEnum",()=>nO),s4(rm,"ZeroHashPostCustomersResponseIdvEnum",()=>nA),s4(rm,"ZeroHashPostCustomersResponseLivenessCheckEnum",()=>nI),s4(rm,"ZeroHashPostCustomersResponseEmploymentStatusEnum",()=>nN),s4(rm,"ZeroHashPostCustomersResponseIndustryEnum",()=>ng),s4(rm,"ZeroHashPostCustomersResponseSourceOfFundsEnum",()=>nf),s4(rm,"ZeroHashPostCustomersResponseTypeEnum",()=>nU),s4(rm,"ZeroHashPostCustomersResponseRegionEnum",()=>nL),s4(rm,"ZeroHashPostCustomersResponsePurposeOfTransactionsEnum",()=>nD),s4(rm,"ZeroHashPostCustomersResponseExpectedMonthlyTransactionCountEnum",()=>nv),s4(rm,"ZeroHashPostCustomersResponseExpectedUsdEquivalentDailyVolumeEnum",()=>nw),s4(rm,"ZeroHashPostCustomersResponseTxEquivalentAnnualVolumeEnum",()=>nM),s4(rm,"ZeroHashPostCustomersResponseTxFrequencyOfUseEnum",()=>nB),s4(rm,"ZeroHashPostCustomersResponseGrossAnnualIncomeAmountEnum",()=>nH),s4(rm,"ZeroHashPostCustomersResponseTxTypeOfServiceEnum",()=>nb),s4(rm,"ZeroHashPostCustomersResponseTxRelationshipTermWithServiceEnum",()=>nF),s4(rm,"ZeroHashPostBeneficiariesBodyIdNumberTypeEnum",()=>nG),s4(rm,"ZeroHashPostBeneficiariesBodyTypeEnum",()=>nk),s4(rm,"ZeroHashPostBeneficiariesBodyRegionEnum",()=>nZ),s4(rm,"ZeroHashPostBeneficiariesBodyEmploymentStatusEnum",()=>nq),s4(rm,"ZeroHashPostBeneficiariesBodyIndustryEnum",()=>nV),s4(rm,"ZeroHashPostBeneficiariesBodySourceOfFundsEnum",()=>nj),s4(rm,"ZeroHashPatchBeneficiariesBodyIdNumberTypeEnum",()=>nx),s4(rm,"ZeroHashPatchBeneficiariesBodyTypeEnum",()=>nK),s4(rm,"ZeroHashPatchBeneficiariesBodyRegionEnum",()=>nW),s4(rm,"ZeroHashPatchBeneficiariesBodyEmploymentStatusEnum",()=>nJ),s4(rm,"ZeroHashPatchBeneficiariesBodyIndustryEnum",()=>nY),s4(rm,"ZeroHashPatchBeneficiariesBodySourceOfFundsEnum",()=>nQ),s4(rm,"ZeroHashPostBeneficiariesResponseIdNumberTypeEnum",()=>nX),s4(rm,"ZeroHashPostBeneficiariesResponseTypeEnum",()=>n$),s4(rm,"ZeroHashPostBeneficiariesResponseRegionEnum",()=>nz),s4(rm,"ZeroHashPostBeneficiariesResponseEmploymentStatusEnum",()=>n0),s4(rm,"ZeroHashPostBeneficiariesResponseIndustryEnum",()=>n1),s4(rm,"ZeroHashPostBeneficiariesResponseSourceOfFundsEnum",()=>n5),s4(rm,"ZeroHashPatchBeneficiariesResponseIdNumberTypeEnum",()=>n2),s4(rm,"ZeroHashPatchBeneficiariesResponseTypeEnum",()=>n3),s4(rm,"ZeroHashPatchBeneficiariesResponseRegionEnum",()=>n6),s4(rm,"ZeroHashPatchBeneficiariesResponseEmploymentStatusEnum",()=>n7),s4(rm,"ZeroHashPatchBeneficiariesResponseIndustryEnum",()=>n4),s4(rm,"ZeroHashPatchBeneficiariesResponseSourceOfFundsEnum",()=>n8),s4(rm,"ZeroHashPatchCustomersBodyGenderEnum",()=>n9),s4(rm,"ZeroHashPatchCustomersBodyIdNumberTypeEnum",()=>ae),s4(rm,"ZeroHashPatchCustomersBodyRiskRatingEnum",()=>at),s4(rm,"ZeroHashPatchCustomersBodyKycEnum",()=>as),s4(rm,"ZeroHashPatchCustomersBodySanctionScreeningEnum",()=>ar),s4(rm,"ZeroHashPatchCustomersBodyIdvEnum",()=>an),s4(rm,"ZeroHashPatchCustomersBodyLivenessCheckEnum",()=>aa),s4(rm,"ZeroHashPatchCustomersBodyEmploymentStatusEnum",()=>ai),s4(rm,"ZeroHashPatchCustomersBodyIndustryEnum",()=>ao),s4(rm,"ZeroHashPatchCustomersBodySourceOfFundsEnum",()=>au),s4(rm,"ZeroHashPatchCustomersBodyTypeEnum",()=>al),s4(rm,"ZeroHashPatchCustomersBodyRegionEnum",()=>ad),s4(rm,"ZeroHashPatchCustomersBodySalaryEnum",()=>a_),s4(rm,"ZeroHashPatchCustomersBodySavingsAndInvestmentsEnum",()=>ac),s4(rm,"ZeroHashPatchCustomersBodyInvestorCategoryEnum",()=>ap),s4(rm,"ZeroHashPatchCustomersBodyPurposeOfTransactionsEnum",()=>aE),s4(rm,"ZeroHashPatchCustomersBodyExpectedMonthlyTransactionCountEnum",()=>aR),s4(rm,"ZeroHashPatchCustomersBodyExpectedUsdEquivalentDailyVolumeEnum",()=>am),s4(rm,"ZeroHashPatchCustomersBodyTxEquivalentAnnualVolumeEnum",()=>aT),s4(rm,"ZeroHashPatchCustomersBodyTxFrequencyOfUseEnum",()=>ah),s4(rm,"ZeroHashPatchCustomersBodyGrossAnnualIncomeAmountEnum",()=>aC),s4(rm,"ZeroHashPatchCustomersBodyTxTypeOfServiceEnum",()=>aS),s4(rm,"ZeroHashPatchCustomersBodyTxRelationshipTermWithServiceEnum",()=>ay),s4(rm,"ZeroHashLockCustomersBodyReasonCodeEnum",()=>aP),s4(rm,"ZeroHashPostCustomersMinorBodyIdNumberTypeEnum",()=>aO),s4(rm,"ZeroHashPostCustomersMinorBodyCustodianRelationshipEnum",()=>aA),s4(rm,"ZeroHashPostCustomersMinorResponseIdNumberTypeEnum",()=>aI),s4(rm,"ZeroHashPostCustomersMinorResponseCustodianRelationshipEnum",()=>aN),s4(rm,"ZeroHashPatchMinorBodyIdNumberTypeEnum",()=>ag),s4(rm,"ZeroHashPatchMinorBodyRiskRatingEnum",()=>af),s4(rm,"ZeroHashPatchMinorResponseIdNumberTypeEnum",()=>aU),s4(rm,"ZeroHashPatchMinorResponseRiskRatingEnum",()=>aL),s4(rm,"ZeroHashPostDocumentsBodyDocumentTypeEnum",()=>aD),s4(rm,"ZeroHashPostEntityBodyEntityTypeEnum",()=>av),s4(rm,"ZeroHashPostEntityBodyRiskRatingEnum",()=>aw),s4(rm,"ZeroHashPostEntityBodySanctionScreeningEnum",()=>aM),s4(rm,"ZeroHashPostEntityResponseEntityTypeEnum",()=>aB),s4(rm,"ZeroHashPostEntityResponseRiskRatingEnum",()=>aH),s4(rm,"ZeroHashPostEntityResponseSanctionScreeningEnum",()=>ab),s4(rm,"ZeroHashPostEntityDocumentsBodyDocumentTypeEnum",()=>aF),s4(rm,"ZeroHashControlPersonEntityIdNumberTypeEnum",()=>aG),s4(rm,"ZeroHashControlPersonEntitySanctionScreeningEnum",()=>ak),s4(rm,"ZeroHashControlPersonEntityKycEnum",()=>aZ),s4(rm,"ZeroHashControlPersonEntityControlPersonEnum",()=>aq),s4(rm,"ZeroHashControlPersonResponseEntityIdNumberTypeEnum",()=>aV),s4(rm,"ZeroHashControlPersonResponseEntitySanctionScreeningEnum",()=>aj),s4(rm,"ZeroHashControlPersonResponseEntityKycEnum",()=>ax),s4(rm,"ZeroHashControlPersonResponseEntityControlPersonEnum",()=>aK),s4(rm,"ZeroHashBeneficialOwnerEntityIdNumberTypeEnum",()=>aW),s4(rm,"ZeroHashBeneficialOwnerEntitySanctionScreeningEnum",()=>aJ),s4(rm,"ZeroHashBeneficialOwnerEntityKycEnum",()=>aY),s4(rm,"ZeroHashBeneficialOwnerEntityBeneficialOwnerEnum",()=>aQ),s4(rm,"ZeroHashBeneficialOwnerResponseEntityIdNumberTypeEnum",()=>aX),s4(rm,"ZeroHashBeneficialOwnerResponseEntitySanctionScreeningEnum",()=>a$),s4(rm,"ZeroHashBeneficialOwnerResponseEntityKycEnum",()=>az),s4(rm,"ZeroHashBeneficialOwnerResponseEntityBeneficialOwnerEnum",()=>a0),s4(rm,"ZeroHashPostTradesBodyProductTypeEnum",()=>a1),s4(rm,"ZeroHashPostTradesBodyTradeTypeEnum",()=>a5),s4(rm,"ZeroHashPostTradesBodyTradeStateEnum",()=>a2),s4(rm,"ZeroHashPostTradesBodyOriginEnum",()=>a3),s4(rm,"ZeroHashPostTradesBodySideEnum",()=>a6),s4(rm,"ZeroHashPostTradesBodyLiquidityIndicatorEnum",()=>a7),s4(rm,"ZeroHashPostTradesBodySettlementStateEnum",()=>a4),s4(rm,"ZeroHashTradeResponseEntityProductTypeEnum",()=>a8),s4(rm,"ZeroHashTradeResponseEntityTradeTypeEnum",()=>a9),s4(rm,"ZeroHashTradeResponseEntityTradeStateEnum",()=>ie),s4(rm,"ZeroHashTradeResponseEntityOriginEnum",()=>it),s4(rm,"ZeroHashTradeResponseEntitySideEnum",()=>is),s4(rm,"ZeroHashTradeResponseEntityLiquidityIndicatorEnum",()=>ir),s4(rm,"ZeroHashTradeResponseEntitySettlementStateEnum",()=>ia),s4(rm,"ZeroHashTransferEntityStatusEnum",()=>ii),s4(rm,"ZeroHashExecuteResponseOnChainStatusEnum",()=>io),s4(rm,"ZeroHashFiatAccountsEntityStatusEnum",()=>iu),s4(rm,"ZeroHashWithdrawalRequestEntityOnChainStatusEnum",()=>il),s4(rm,"ZeroHashPostCreateExternalAccountRequestTypeEnum",()=>id),s4(rm,"ZeroHashPostCreateExternalAccountRequestNetworkEnum",()=>i_),s4(rm,"ZeroHashPostCreateExternalAccountRequestTypeEnum1",()=>ic),s4(rm,"ZeroHashPostCreateExternalAccountRequestNetworkEnum1",()=>ip),s4(rm,"ZeroHashPostCreateExternalAccountResponseStatusEnum",()=>iE),s4(rm,"ZeroHashPostCreateExternalAccountResponseStatusEnum1",()=>iR),s4(rm,"ZeroHashPostCreateExternalAccountResponseNetworkEnum",()=>im),s4(rm,"ZeroHashPostCloseExternalAccountResponseAccountTypeEnum",()=>iT),s4(rm,"ZeroHashPostCloseExternalAccountResponseStatusEnum",()=>ih),s4(rm,"ZeroHashPostPaymentsRequestTransferTypeEnum",()=>iC),s4(rm,"ZeroHashPostPaymentsRequestNetworkEnum",()=>iS),s4(rm,"ZeroHashPostPaymentsRequestPaymentTypeEnum",()=>iy),s4(rm,"ZeroHashPostPaymentsResponseStatusEnum",()=>iP),s4(rm,"ZeroHashPostPaymentsResponseTransferTypeEnum",()=>iO),s4(rm,"ZeroHashPostPaymentsResponseStatusEnum1",()=>iA),s4(rm,"ZeroHashExternalAccountAccountTypeEnum",()=>iI),s4(rm,"ZeroHashExternalAccountStatusEnum",()=>iN),s4(rm,"ZeroHashExternalAccountStatusEnum1",()=>ig),s4(rm,"ZeroHashExternalAccountTypeEnum",()=>iU),s4(rm,"ZeroHashExternalAccountNetworkEnum",()=>iL),s4(rm,"ZeroHashAchTransactionStatusStatusEnum",()=>iD),s4(rm,"ZeroHashAchTransactionStatusTransferTypeEnum",()=>iv),s4(rm,"ZeroHashAchTransactionStatusVelocityStatusEnum",()=>iw),s4(rm,"ZeroHashAchStatusStatusEnum",()=>iM),s4(rm,"ZeroHashAchTransactionHistoryNetworkEnum",()=>iB),s4(rm,"ZeroHashAchTransactionHistoryTransferTypeEnum",()=>iH),s4(rm,"ZeroHashPendingAchTransactionsTransferTypeEnum",()=>ib),s4(rm,"ZeroHashPaymentPaymentTypeEnum",()=>iF),s4(rm,"ZeroHashPostCwExecuteQuoteResponseStatusEnum",()=>iG),s4(rm,"ZeroHashCwQuoteEntitySideEnum",()=>ik),s4(rm,"ZeroHashCwQuoteEntityExecuteSideEnum",()=>iZ),s4(rm,"ZeroHashPostCwRequestForQuoteBodySideEnum",()=>iq),s4(rm,"ZeroHashPostPaymentsRequestForQuoteRequestSideEnum",()=>iV),s4(rm,"ZeroHashPostPaymentsRequestForQuoteRequestQuoteExpiryEnum",()=>ij),s4(rm,"ZeroHashPostPaymentsExecutePaymentResponseStatusEnum",()=>ix),s4(rm,"ZeroHashPostPaymentsRetryResponseStatusEnum",()=>iK),s4(rm,"ZeroHashGetTradesParamsTradeStateEnum",()=>iW),s4(rm,"ZeroHashGetTradesParamsSettlementStateEnum",()=>iJ),s4(rm,"ZeroHashGetMovementsParamsMovementTypeEnum",()=>iY),s4(rm,"ZeroHashGetMovementsParamsTransferTypeEnum",()=>iQ),s4(rm,"ZeroHashGetWithdrawalRequestsParamsOnChainStatusEnum",()=>iX),s4(rm,"ZeroHashGetParticipantsParamsStatusEnum",()=>i$),s4(rm,"ZeroHashGetQuoteParamsSideEnum",()=>iz),s4(rm,"ZeroHashGetExternalAccountsParamsAccountTypeEnum",()=>i0),s4(rm,"ZeroHashGetExternalAccountsParamsAccountStatusEnum",()=>i1),s4(rm,"ZeroHashGetFiatTransactionsParamsTransferTypeEnum",()=>i5),s4(rm,"ZeroHashGetFiatTransactionStatusesParamsStatusEnum",()=>i2),s4(rm,"ZeroHashGetQuoteParams2SideEnum",()=>i3),s4(rm,"ZeroHashGetOhlcvDataParamsTimeFrameEnum",()=>i6);var rT=((t={}).AAVEETH="AAVE.ETH",t.BATETH="BAT.ETH",t.BCH="BCH",t.BTC="BTC",t.BUSD="BUSD",t.CEL="CEL",t.CUSDC="CUSDC",t.CVC="CVC",t.CZRX="CZRX",t.DAI="DAI",t.ENJ="ENJ",t.EOS="EOS",t.ETH="ETH",t.KIN="KIN",t.KNC="KNC",t.LINK="LINK",t.LTC="LTC",t.OMG="OMG",t.USDP="USDP",t.REP="REP",t.STORJ="STORJ",t.TUSD="TUSD",t.USDCETH="USDC.ETH",t.USDT="USDT",t.XLM="XLM",t.XRP="XRP",t.ZRX="ZRX",t.CAD="CAD",t.EUR="EUR",t.GBP="GBP",t.JPY="JPY",t.MXN="MXN",t.USD="USD",t.ZAR="ZAR",t),rh=((s={}).USD="USD",s.EUR="EUR",s.GBP="GBP",s.BRL="BRL",s),rC=((r={}).AAVEETH="AAVE.ETH",r.BATETH="BAT.ETH",r.BCH="BCH",r.BTC="BTC",r.BUSD="BUSD",r.CEL="CEL",r.CUSDC="CUSDC",r.CVC="CVC",r.CZRX="CZRX",r.DAI="DAI",r.ENJ="ENJ",r.EOS="EOS",r.ETH="ETH",r.KIN="KIN",r.KNC="KNC",r.LINK="LINK",r.LTC="LTC",r.OMG="OMG",r.USDP="USDP",r.REP="REP",r.STORJ="STORJ",r.TUSD="TUSD",r.USDCETH="USDC.ETH",r.USDT="USDT",r.XLM="XLM",r.XRP="XRP",r.ZRX="ZRX",r),rS=((n={}).AAVEETH="AAVE.ETH",n.BATETH="BAT.ETH",n.BCH="BCH",n.BTC="BTC",n.BUSD="BUSD",n.CEL="CEL",n.CUSDC="CUSDC",n.CVC="CVC",n.CZRX="CZRX",n.DAI="DAI",n.ENJ="ENJ",n.EOS="EOS",n.ETH="ETH",n.KIN="KIN",n.KNC="KNC",n.LINK="LINK",n.LTC="LTC",n.OMG="OMG",n.USDP="USDP",n.REP="REP",n.STORJ="STORJ",n.TUSD="TUSD",n.USDCETH="USDC.ETH",n.USDT="USDT",n.XLM="XLM",n.XRP="XRP",n.ZRX="ZRX",n),ry=((a={}).Deposit="deposit",a.ExecutionFee="execution_fee",a.NetworkFee="network_fee",a.Settlement="settlement",a.Transfer="transfer",a.Withdrawal="withdrawal",a),rP=((i={}).InitialMargin="initial_margin",i.Deposit="deposit",i.ExecutionFee="execution_fee",i.FinalSettlement="final_settlement",i.FinalSettlementDefault="final_settlement_default",i.FinalSettlementDefaultFallback="final_settlement_default_fallback",i.FinalSettlementDefaultPartial="final_settlement_default_partial",i.FinalSettlementOutstanding="final_settlement_outstanding",i.InterestPayment="interest_payment",i.CollateralizeLoan="collateralize_loan",i.LoanCollateralReturn="loan_collateral_return",i.NetworkFee="network_fee",i.OtcFinalSettlement="otc_final_settlement",i.PrincipalSwap="principal_swap",i.Repayment="repayment",i.Transfer="transfer",i.VariationMargin="variation_margin",i.VariationMarginCall="variation_margin_call",i.Withdrawal="withdrawal",i.WithdrawalConfirmed="withdrawal_confirmed",i.WithdrawalPending="withdrawal_pending",i.Commission="commission",i.BankFee="bank_fee",i.TransactionFee="transaction_fee",i),rO=((o={}).RestApi="rest_api",o.Sdk="sdk",o.Secondary="secondary",o),rA=((u={}).InitialMargin="initial_margin",u.Deposit="deposit",u.ExecutionFee="execution_fee",u.FinalSettlement="final_settlement",u.FinalSettlementDefault="final_settlement_default",u.FinalSettlementDefaultFallback="final_settlement_default_fallback",u.FinalSettlementDefaultPartial="final_settlement_default_partial",u.FinalSettlementOutstanding="final_settlement_outstanding",u.InterestPayment="interest_payment",u.CollateralizeLoan="collateralize_loan",u.LoanCollateralReturn="loan_collateral_return",u.NetworkFee="network_fee",u.OtcFinalSettlement="otc_final_settlement",u.PrincipalSwap="principal_swap",u.Repayment="repayment",u.Transfer="transfer",u.VariationMargin="variation_margin",u.VariationMarginCall="variation_margin_call",u.Withdrawal="withdrawal",u.WithdrawalConfirmed="withdrawal_confirmed",u.WithdrawalPending="withdrawal_pending",u.Commission="commission",u.BankFee="bank_fee",u.TransactionFee="transaction_fee",u),rI=((l={}).TradeAllocation="trade_allocation",l.CommissionAllocation="commission_allocation",l.CommissionCorrection="commission_correction",l.RevenueCapture="revenue_capture",l.Fund="fund",l.Prefunded="prefunded",l),rN=((d={}).RestApi="rest_api",d.Sdk="sdk",d.Secondary="secondary",d),rg=((_={}).Lite="lite",_.Pro="pro",_),rf=((c={}).Lite="lite",c.Pro="pro",c),rU=((p={}).Lite="lite",p.Pro="pro",p),rL=((E={}).Lite="lite",E.Pro="pro",E),rD=((R={}).Buy="buy",R.Sell="sell",R),rv=((m={}).STANDARD="STANDARD",m),rw=((T={}).CUSTOMER="CUSTOMER",T.PLATFORM="PLATFORM",T),rM=((h={}).Ethereum="ethereum",h.Avalanche="avalanche",h.Arbitrum="arbitrum",h.Optimism="optimism",h.Polygon="polygon",h),rB=((C={}).Available="available",C.Collateral="collateral",C.Payable="payable",C.Receivable="receivable",C.CollateralDeficiency="collateral_deficiency",C),rH=((S={}).Buy="buy",S.Sell="sell",S),rb=((y={}).Buy="buy",y.Sell="sell",y),rF=((P={}).STANDARD="STANDARD",P),rG=((O={}).CUSTOMER="CUSTOMER",O.PLATFORM="PLATFORM",O),rk=((A={}).Buy="buy",A.Sell="sell",A),rZ=((I={}).Value5S="5s",I.Value30S="30s",I.Value1M="1m",I.Value5M="5m",I.Value10M="10m",I.Value15M="15m",I),rq=((N={}).STANDARD="STANDARD",N),rV=((g={}).Completed="Completed",g),rj=((f={}).Buy="buy",f.Sell="sell",f),rx=((U={}).STANDARD="STANDARD",U),rK=((L={}).CUSTOMER="CUSTOMER",L.PLATFORM="PLATFORM",L),rW=((D={}).Unknown="unknown",D.Pass="pass",D.Fail="fail",D.NotApplicable="not_applicable",D),rJ=((v={}).Unknown="unknown",v.Pass="pass",v.Fail="fail",v.NotApplicable="not_applicable",v),rY=((w={}).Corporation="corporation",w.Llc="llc",w.Partnership="partnership",w.SoleProprietorship="sole_proprietorship",w.Other="other",w.NonProfit="non_profit",w.PublicOrSemiPublicAdministrative="public_or_semi_public_administrative",w.Trust="trust",w.Cooperation="cooperation",w.CompanyWithLimitedLiability="company_with_limited_liability",w),rQ=((M={}).Ssn="ssn",M.Ein="ein",M.UsDriversLicense="us_drivers_license",M.UsPassport="us_passport",M.UsPassportCard="us_passport_card",M.UsPermanentResidentCard="us_permanent_resident_card",M.UsBorderCrossingCard="us_border_crossing_card",M.UsAlienCard="us_alien_card",M.UsIdCard="us_id_card",M.NonUsPassport="non_us_passport",M.NonUsOther="non_us_other",M.Passport="passport",M.EuDriversLicense="eu_drivers_license",M.LegalEntityIdentifier="legal_entity_identifier",M.ChamberOfCommerceNumber="chamber_of_commerce_number",M.ValueAddedTaxNumber="value_added_tax_number",M),rX=((B={}).Pass="pass",B.Fail="fail",B),r$=((H={}).Pass="pass",H.Fail="fail",H),rz=((b={}).Pass="pass",b.Fail="fail",b),r0=((F={}).Pass="pass",F.Fail="fail",F),r1=((G={}).FullTime="full_time",G.PartTime="part_time",G.SelfEmployed="self_employed",G.Unemployed="unemployed",G.Retired="retired",G.Student="student",G),r5=((k={}).AdultEntertainment="adult_entertainment",k.AdvertisingMediaMarketing="advertising_media_marketing",k.Agriculture="agriculture",k.ArtsEntertainment="arts_entertainment",k.Charity="charity",k.ConstructionManufacturing="construction_manufacturing",k.Consulting="consulting",k.ConsumerProductsServices="consumer_products_services",k.CryptoMining="crypto_mining",k.Ecommerce="ecommerce",k.Education="education",k.Electronics="electronics",k.Fashion="fashion",k.FinancialServices="financial_services",k.FoodBeverages="food_beverages",k.GovernmentAgency="government_agency",k.Insurance="insurance",k.JewelryGemstones="jewelry_gemstones",k.LawEnforcement="law_enforcement",k.LegalServices="legal_services",k.MiningEnergyChemicals="mining_energy_chemicals",k.OnlineGamingGambling="online_gaming_gambling",k.Pharmaceuticals="pharmaceuticals",k.PropertyRealEstate="property_real_estate",k.RetailWholesale="retail_wholesale",k.Transportation="transportation",k.TravelCarHire="travel_car_hire",k.WeaponsDefenseAerospace="weapons_defense_aerospace",k.Other="other",k),r2=((Z={}).Salary="salary",Z.Savings="savings",Z.PensionRetirement="pension_retirement",Z.Inheritance="inheritance",Z.Investment="investment",Z.Loan="loan",Z.Gift="gift",Z.Other="other",Z),r3=((q={}).FundAutoConvert="fund_auto_convert",q.PaymentServicesTerms="payment_services_terms",q.AccountLink="account_link",q),r6=((V={}).Worldwide="worldwide",V.Us="us",V.Brazil="brazil",V.Uk="uk",V.Eu="eu",V),r7=((j={}).Under3500="under_3500",j.Between35001And75000="between_35001_and_75000",j.Between75001And125000="between_75001_and_125000",j.Between125001And200000="between_125001_and_200000",j.Over200000="over_200000",j),r4=((x={}).Under10000="under_10000",x.Between10001And25000="between_10001_and_25000",x.Between25001And50000="between_25001_and_50000",x.Between50001And100000="between_50001_and_100000",x.Between100001And250000="between_100001_and_250000",x.Over250000="over_250000",x),r8=((K={}).Restricted="restricted",K.HighNetWorthIndividual="high_net_worth_individual",K.CertifiedSophisticatedInvestor="certified_sophisticated_investor",K),r9=((W={}).Pass="pass",W.Fail="fail",W),ne=((J={}).Corporation="corporation",J.Llc="llc",J.Partnership="partnership",J.SoleProprietorship="sole_proprietorship",J.Other="other",J.NonProfit="non_profit",J.PublicOrSemiPublicAdministrative="public_or_semi_public_administrative",J.Trust="trust",J.Cooperation="cooperation",J.CompanyWithLimitedLiability="company_with_limited_liability",J),nt=((Y={}).UsDriversLicense="us_drivers_license",Y.UsPassport="us_passport",Y.UsPassportCard="us_passport_card",Y.UsPermanentResidentCard="us_permanent_resident_card",Y.UsBorderCrossingCard="us_border_crossing_card",Y.UsAlienCard="us_alien_card",Y.UsIdCard="us_id_card",Y.NonUsPassport="non_us_passport",Y.NonUsOther="non_us_other",Y.Passport="passport",Y.EuDriversLicense="eu_drivers_license",Y),ns=((Q={}).Low="low",Q.Medium="medium",Q.High="high",Q),nr=((X={}).Pass="pass",X.Fail="fail",X),nn=(($={}).Pass="pass",$.Fail="fail",$),na=((z={}).Pass="pass",z.Fail="fail",z),ni=((ee={}).Pass="pass",ee.Fail="fail",ee),no=((et={}).FullTime="full_time",et.PartTime="part_time",et.SelfEmployed="self_employed",et.Unemployed="unemployed",et.Retired="retired",et.Student="student",et),nu=((es={}).AdultEntertainment="adult_entertainment",es.AdvertisingMediaMarketing="advertising_media_marketing",es.Agriculture="agriculture",es.ArtsEntertainment="arts_entertainment",es.Charity="charity",es.ConstructionManufacturing="construction_manufacturing",es.Consulting="consulting",es.ConsumerProductsServices="consumer_products_services",es.CryptoMining="crypto_mining",es.Ecommerce="ecommerce",es.Education="education",es.Electronics="electronics",es.Fashion="fashion",es.FinancialServices="financial_services",es.FoodBeverages="food_beverages",es.GovernmentAgency="government_agency",es.Insurance="insurance",es.JewelryGemstones="jewelry_gemstones",es.LawEnforcement="law_enforcement",es.LegalServices="legal_services",es.MiningEnergyChemicals="mining_energy_chemicals",es.OnlineGamingGambling="online_gaming_gambling",es.Pharmaceuticals="pharmaceuticals",es.PropertyRealEstate="property_real_estate",es.RetailWholesale="retail_wholesale",es.Transportation="transportation",es.TravelCarHire="travel_car_hire",es.WeaponsDefenseAerospace="weapons_defense_aerospace",es.Other="other",es),nl=((er={}).Under3500="under_3500",er.Between35001And75000="between_35001_and_75000",er.Between75001And125000="between_75001_and_125000",er.Between125001And200000="between_125001_and_200000",er.Over200000="over_200000",er),nd=((en={}).Salary="salary",en.Savings="savings",en.PensionRetirement="pension_retirement",en.Inheritance="inheritance",en.Investment="investment",en.Loan="loan",en.Gift="gift",en.Other="other",en),n_=((ea={}).Under10000="under_10000",ea.Between10001And25000="between_10001_and_25000",ea.Between25001And50000="between_25001_and_50000",ea.Between50001And100000="between_50001_and_100000",ea.Between100001And250000="between_100001_and_250000",ea.Over250000="over_250000",ea),nc=((ei={}).FundAutoConvert="fund_auto_convert",ei.PaymentServicesTerms="payment_services_terms",ei.AccountLink="account_link",ei),np=((eo={}).Worldwide="worldwide",eo.Us="us",eo.Brazil="brazil",eo.Uk="uk",eo.Eu="eu",eo),nE=((eu={}).UpTo5K="up_to_5k",eu.Value5KTo25K="5k_to_25k",eu.Value25KTo100K="25k_to_100k",eu.Value100KAndUp="100k_and_up",eu),nR=((el={}).UpTo12="up_to_12",el.Value12To53="12_to_53",el.Value53To365="53_to_365",el.Value365AndUp="365_and_up",el),nm=((ed={}).UpTo5K="up_to_5k",ed.Value5KTo25K="5k_to_25k",ed.Value25KTo100K="25k_to_100k",ed.Value100KAndUp="100k_and_up",ed),nT=((e_={}).Unknown="unknown",e_.BuyCrypto="buy_crypto",e_.SellCrypto="sell_crypto",e_.SwapCrypto="swap_crypto",e_.BuyCryptoFiat="buy_crypto_fiat",e_.SellCryptoFiat="sell_crypto_fiat",e_.TradeCryptoCrypto="trade_crypto_crypto",e_.PeerToPeer="peer_to_peer",e_),nh=((ec={}).LongTerm="long_term",ec.ShortTerm="short_term",ec.Other="other",ec),nC=((ep={}).Male="male",ep.Female="female",ep.Other="other",ep),nS=((eE={}).UsDriversLicense="us_drivers_license",eE.UsPassport="us_passport",eE.UsPassportCard="us_passport_card",eE.UsPermanentResidentCard="us_permanent_resident_card",eE.UsBorderCrossingCard="us_border_crossing_card",eE.UsAlienCard="us_alien_card",eE.UsIdCard="us_id_card",eE.NonUsPassport="non_us_passport",eE.NonUsOther="non_us_other",eE.Passport="passport",eE.EuDriversLicense="eu_drivers_license",eE),ny=((eR={}).Low="low",eR.Medium="medium",eR.High="high",eR),nP=((em={}).Pass="pass",em.Fail="fail",em),nO=((eT={}).Pass="pass",eT.Fail="fail",eT),nA=((eh={}).Pass="pass",eh.Fail="fail",eh),nI=((eC={}).Pass="pass",eC.Fail="fail",eC),nN=((eS={}).FullTime="full_time",eS.PartTime="part_time",eS.SelfEmployed="self_employed",eS.Unemployed="unemployed",eS.Retired="retired",eS.Student="student",eS),ng=((ey={}).AdultEntertainment="adult_entertainment",ey.AdvertisingMediaMarketing="advertising_media_marketing",ey.Agriculture="agriculture",ey.ArtsEntertainment="arts_entertainment",ey.Charity="charity",ey.ConstructionManufacturing="construction_manufacturing",ey.Consulting="consulting",ey.ConsumerProductsServices="consumer_products_services",ey.CryptoMining="crypto_mining",ey.Ecommerce="ecommerce",ey.Education="education",ey.Electronics="electronics",ey.Fashion="fashion",ey.FinancialServices="financial_services",ey.FoodBeverages="food_beverages",ey.GovernmentAgency="government_agency",ey.Insurance="insurance",ey.JewelryGemstones="jewelry_gemstones",ey.LawEnforcement="law_enforcement",ey.LegalServices="legal_services",ey.MiningEnergyChemicals="mining_energy_chemicals",ey.OnlineGamingGambling="online_gaming_gambling",ey.Pharmaceuticals="pharmaceuticals",ey.PropertyRealEstate="property_real_estate",ey.RetailWholesale="retail_wholesale",ey.Transportation="transportation",ey.TravelCarHire="travel_car_hire",ey.WeaponsDefenseAerospace="weapons_defense_aerospace",ey.Other="other",ey),nf=((eP={}).Salary="salary",eP.Savings="savings",eP.PensionRetirement="pension_retirement",eP.Inheritance="inheritance",eP.Investment="investment",eP.Loan="loan",eP.Gift="gift",eP.Other="other",eP),nU=((eO={}).FundAutoConvert="fund_auto_convert",eO.PaymentServicesTerms="payment_services_terms",eO.AccountLink="account_link",eO),nL=((eA={}).Worldwide="worldwide",eA.Us="us",eA.Brazil="brazil",eA.Uk="uk",eA.Eu="eu",eA),nD=((eI={}).FinvestPersonal="finvest_personal",eI.FinvestBusiness="finvest_business",eI.PaymentsPersonal="payments_personal",eI.PaymentsBusiness="payments_business",eI.BillpayPersonal="billpay_personal",eI.BillpayBusiness="billpay_business",eI.P2PUs="p2p_us",eI.P2PIntl="p2p_intl",eI.Other="other",eI),nv=((eN={}).Under10="under_10",eN.Between11And100="between_11_and_100",eN.Between101And1000="between_101_and_1000",eN.Over1000="over_1000",eN),nw=((eg={}).Under1000="under_1000",eg.Between1001And10000="between_1001_and_10000",eg.Between10001And100000="between_10001_and_100000",eg.Over100000="over_100000",eg),nM=((ef={}).UpTo5K="up_to_5k",ef.Value5KTo25K="5k_to_25k",ef.Value25KTo100K="25k_to_100k",ef.Value100KAndUp="100k_and_up",ef),nB=((eU={}).UpTo12="up_to_12",eU.Value12To53="12_to_53",eU.Value53To365="53_to_365",eU.Value365AndUp="365_and_up",eU),nH=((eL={}).UpTo5K="up_to_5k",eL.Value5KTo25K="5k_to_25k",eL.Value25KTo100K="25k_to_100k",eL.Value100KAndUp="100k_and_up",eL),nb=((eD={}).Unknown="unknown",eD.BuyCrypto="buy_crypto",eD.SellCrypto="sell_crypto",eD.SwapCrypto="swap_crypto",eD.BuyCryptoFiat="buy_crypto_fiat",eD.SellCryptoFiat="sell_crypto_fiat",eD.TradeCryptoCrypto="trade_crypto_crypto",eD.PeerToPeer="peer_to_peer",eD),nF=((ev={}).LongTerm="long_term",ev.ShortTerm="short_term",ev.Other="other",ev),nG=((ew={}).UsDriversLicense="us_drivers_license",ew.UsPassport="us_passport",ew.UsPassportCard="us_passport_card",ew.UsPermanentResidentCard="us_permanent_resident_card",ew.UsBorderCrossingCard="us_border_crossing_card",ew.UsAlienCard="us_alien_card",ew.UsIdCard="us_id_card",ew.NonUsPassport="non_us_passport",ew.NonUsOther="non_us_other",ew.Passport="passport",ew.EuDriversLicense="eu_drivers_license",ew.LegalEntityIdentifier="legal_entity_identifier",ew.ChamberOfCommerceNumber="chamber_of_commerce_number",ew.ValueAddedTaxNumber="value_added_tax_number",ew),nk=((eM={}).FundAutoConvert="fund_auto_convert",eM.PaymentServicesTerms="payment_services_terms",eM.AccountLink="account_link",eM),nZ=((eB={}).Worldwide="worldwide",eB.Us="us",eB.Brazil="brazil",eB.Uk="uk",eB.Eu="eu",eB),nq=((eH={}).FullTime="full_time",eH.PartTime="part_time",eH.SelfEmployed="self_employed",eH.Unemployed="unemployed",eH.Retired="retired",eH.Student="student",eH),nV=((eb={}).AdultEntertainment="adult_entertainment",eb.AdvertisingMediaMarketing="advertising_media_marketing",eb.Agriculture="agriculture",eb.ArtsEntertainment="arts_entertainment",eb.Charity="charity",eb.ConstructionManufacturing="construction_manufacturing",eb.Consulting="consulting",eb.ConsumerProductsServices="consumer_products_services",eb.CryptoMining="crypto_mining",eb.Ecommerce="ecommerce",eb.Education="education",eb.Electronics="electronics",eb.Fashion="fashion",eb.FinancialServices="financial_services",eb.FoodBeverages="food_beverages",eb.GovernmentAgency="government_agency",eb.Insurance="insurance",eb.JewelryGemstones="jewelry_gemstones",eb.LawEnforcement="law_enforcement",eb.LegalServices="legal_services",eb.MiningEnergyChemicals="mining_energy_chemicals",eb.OnlineGamingGambling="online_gaming_gambling",eb.Pharmaceuticals="pharmaceuticals",eb.PropertyRealEstate="property_real_estate",eb.RetailWholesale="retail_wholesale",eb.Transportation="transportation",eb.TravelCarHire="travel_car_hire",eb.WeaponsDefenseAerospace="weapons_defense_aerospace",eb.Other="other",eb),nj=((eF={}).Salary="salary",eF.Savings="savings",eF.PensionRetirement="pension_retirement",eF.Inheritance="inheritance",eF.Investment="investment",eF.Loan="loan",eF.Gift="gift",eF.Other="other",eF),nx=((eG={}).UsDriversLicense="us_drivers_license",eG.UsPassport="us_passport",eG.UsPassportCard="us_passport_card",eG.UsPermanentResidentCard="us_permanent_resident_card",eG.UsBorderCrossingCard="us_border_crossing_card",eG.UsAlienCard="us_alien_card",eG.UsIdCard="us_id_card",eG.NonUsPassport="non_us_passport",eG.NonUsOther="non_us_other",eG.Passport="passport",eG.EuDriversLicense="eu_drivers_license",eG.LegalEntityIdentifier="legal_entity_identifier",eG.ChamberOfCommerceNumber="chamber_of_commerce_number",eG.ValueAddedTaxNumber="value_added_tax_number",eG),nK=((ek={}).FundAutoConvert="fund_auto_convert",ek.PaymentServicesTerms="payment_services_terms",ek.AccountLink="account_link",ek),nW=((eZ={}).Worldwide="worldwide",eZ.Us="us",eZ.Brazil="brazil",eZ.Uk="uk",eZ.Eu="eu",eZ),nJ=((eq={}).FullTime="full_time",eq.PartTime="part_time",eq.SelfEmployed="self_employed",eq.Unemployed="unemployed",eq.Retired="retired",eq.Student="student",eq),nY=((eV={}).AdultEntertainment="adult_entertainment",eV.AdvertisingMediaMarketing="advertising_media_marketing",eV.Agriculture="agriculture",eV.ArtsEntertainment="arts_entertainment",eV.Charity="charity",eV.ConstructionManufacturing="construction_manufacturing",eV.Consulting="consulting",eV.ConsumerProductsServices="consumer_products_services",eV.CryptoMining="crypto_mining",eV.Ecommerce="ecommerce",eV.Education="education",eV.Electronics="electronics",eV.Fashion="fashion",eV.FinancialServices="financial_services",eV.FoodBeverages="food_beverages",eV.GovernmentAgency="government_agency",eV.Insurance="insurance",eV.JewelryGemstones="jewelry_gemstones",eV.LawEnforcement="law_enforcement",eV.LegalServices="legal_services",eV.MiningEnergyChemicals="mining_energy_chemicals",eV.OnlineGamingGambling="online_gaming_gambling",eV.Pharmaceuticals="pharmaceuticals",eV.PropertyRealEstate="property_real_estate",eV.RetailWholesale="retail_wholesale",eV.Transportation="transportation",eV.TravelCarHire="travel_car_hire",eV.WeaponsDefenseAerospace="weapons_defense_aerospace",eV.Other="other",eV),nQ=((ej={}).Salary="salary",ej.Savings="savings",ej.PensionRetirement="pension_retirement",ej.Inheritance="inheritance",ej.Investment="investment",ej.Loan="loan",ej.Gift="gift",ej.Other="other",ej),nX=((ex={}).UsDriversLicense="us_drivers_license",ex.UsPassport="us_passport",ex.UsPassportCard="us_passport_card",ex.UsPermanentResidentCard="us_permanent_resident_card",ex.UsBorderCrossingCard="us_border_crossing_card",ex.UsAlienCard="us_alien_card",ex.UsIdCard="us_id_card",ex.NonUsPassport="non_us_passport",ex.NonUsOther="non_us_other",ex.Passport="passport",ex.EuDriversLicense="eu_drivers_license",ex.LegalEntityIdentifier="legal_entity_identifier",ex.ChamberOfCommerceNumber="chamber_of_commerce_number",ex.ValueAddedTaxNumber="value_added_tax_number",ex),n$=((eK={}).FundAutoConvert="fund_auto_convert",eK.PaymentServicesTerms="payment_services_terms",eK.AccountLink="account_link",eK),nz=((eW={}).Worldwide="worldwide",eW.Us="us",eW.Brazil="brazil",eW.Uk="uk",eW.Eu="eu",eW),n0=((eJ={}).FullTime="full_time",eJ.PartTime="part_time",eJ.SelfEmployed="self_employed",eJ.Unemployed="unemployed",eJ.Retired="retired",eJ.Student="student",eJ),n1=((eY={}).AdultEntertainment="adult_entertainment",eY.AdvertisingMediaMarketing="advertising_media_marketing",eY.Agriculture="agriculture",eY.ArtsEntertainment="arts_entertainment",eY.Charity="charity",eY.ConstructionManufacturing="construction_manufacturing",eY.Consulting="consulting",eY.ConsumerProductsServices="consumer_products_services",eY.CryptoMining="crypto_mining",eY.Ecommerce="ecommerce",eY.Education="education",eY.Electronics="electronics",eY.Fashion="fashion",eY.FinancialServices="financial_services",eY.FoodBeverages="food_beverages",eY.GovernmentAgency="government_agency",eY.Insurance="insurance",eY.JewelryGemstones="jewelry_gemstones",eY.LawEnforcement="law_enforcement",eY.LegalServices="legal_services",eY.MiningEnergyChemicals="mining_energy_chemicals",eY.OnlineGamingGambling="online_gaming_gambling",eY.Pharmaceuticals="pharmaceuticals",eY.PropertyRealEstate="property_real_estate",eY.RetailWholesale="retail_wholesale",eY.Transportation="transportation",eY.TravelCarHire="travel_car_hire",eY.WeaponsDefenseAerospace="weapons_defense_aerospace",eY.Other="other",eY),n5=((eQ={}).Salary="salary",eQ.Savings="savings",eQ.PensionRetirement="pension_retirement",eQ.Inheritance="inheritance",eQ.Investment="investment",eQ.Loan="loan",eQ.Gift="gift",eQ.Other="other",eQ),n2=((eX={}).UsDriversLicense="us_drivers_license",eX.UsPassport="us_passport",eX.UsPassportCard="us_passport_card",eX.UsPermanentResidentCard="us_permanent_resident_card",eX.UsBorderCrossingCard="us_border_crossing_card",eX.UsAlienCard="us_alien_card",eX.UsIdCard="us_id_card",eX.NonUsPassport="non_us_passport",eX.NonUsOther="non_us_other",eX.Passport="passport",eX.EuDriversLicense="eu_drivers_license",eX.LegalEntityIdentifier="legal_entity_identifier",eX.ChamberOfCommerceNumber="chamber_of_commerce_number",eX.ValueAddedTaxNumber="value_added_tax_number",eX),n3=((e$={}).FundAutoConvert="fund_auto_convert",e$.PaymentServicesTerms="payment_services_terms",e$.AccountLink="account_link",e$),n6=((ez={}).Worldwide="worldwide",ez.Us="us",ez.Brazil="brazil",ez.Uk="uk",ez.Eu="eu",ez),n7=((e0={}).FullTime="full_time",e0.PartTime="part_time",e0.SelfEmployed="self_employed",e0.Unemployed="unemployed",e0.Retired="retired",e0.Student="student",e0),n4=((e1={}).AdultEntertainment="adult_entertainment",e1.AdvertisingMediaMarketing="advertising_media_marketing",e1.Agriculture="agriculture",e1.ArtsEntertainment="arts_entertainment",e1.Charity="charity",e1.ConstructionManufacturing="construction_manufacturing",e1.Consulting="consulting",e1.ConsumerProductsServices="consumer_products_services",e1.CryptoMining="crypto_mining",e1.Ecommerce="ecommerce",e1.Education="education",e1.Electronics="electronics",e1.Fashion="fashion",e1.FinancialServices="financial_services",e1.FoodBeverages="food_beverages",e1.GovernmentAgency="government_agency",e1.Insurance="insurance",e1.JewelryGemstones="jewelry_gemstones",e1.LawEnforcement="law_enforcement",e1.LegalServices="legal_services",e1.MiningEnergyChemicals="mining_energy_chemicals",e1.OnlineGamingGambling="online_gaming_gambling",e1.Pharmaceuticals="pharmaceuticals",e1.PropertyRealEstate="property_real_estate",e1.RetailWholesale="retail_wholesale",e1.Transportation="transportation",e1.TravelCarHire="travel_car_hire",e1.WeaponsDefenseAerospace="weapons_defense_aerospace",e1.Other="other",e1),n8=((e5={}).Salary="salary",e5.Savings="savings",e5.PensionRetirement="pension_retirement",e5.Inheritance="inheritance",e5.Investment="investment",e5.Loan="loan",e5.Gift="gift",e5.Other="other",e5),n9=((e2={}).Male="male",e2.Female="female",e2.Other="other",e2),ae=((e3={}).UsDriversLicense="us_drivers_license",e3.UsPassport="us_passport",e3.UsPassportCard="us_passport_card",e3.UsPermanentResidentCard="us_permanent_resident_card",e3.UsBorderCrossingCard="us_border_crossing_card",e3.UsAlienCard="us_alien_card",e3.UsIdCard="us_id_card",e3.NonUsPassport="non_us_passport",e3.NonUsOther="non_us_other",e3.Passport="passport",e3.EuDriversLicense="eu_drivers_license",e3),at=((e6={}).Low="low",e6.Medium="medium",e6.High="high",e6),as=((e7={}).Pass="pass",e7.Fail="fail",e7),ar=((e4={}).Pass="pass",e4.Fail="fail",e4),an=((e8={}).Pass="pass",e8.Fail="fail",e8),aa=((e9={}).Pass="pass",e9.Fail="fail",e9),ai=((te={}).FullTime="full_time",te.PartTime="part_time",te.SelfEmployed="self_employed",te.Unemployed="unemployed",te.Retired="retired",te.Student="student",te),ao=((tt={}).AdultEntertainment="adult_entertainment",tt.AdvertisingMediaMarketing="advertising_media_marketing",tt.Agriculture="agriculture",tt.ArtsEntertainment="arts_entertainment",tt.Charity="charity",tt.ConstructionManufacturing="construction_manufacturing",tt.Consulting="consulting",tt.ConsumerProductsServices="consumer_products_services",tt.CryptoMining="crypto_mining",tt.Ecommerce="ecommerce",tt.Education="education",tt.Electronics="electronics",tt.Fashion="fashion",tt.FinancialServices="financial_services",tt.FoodBeverages="food_beverages",tt.GovernmentAgency="government_agency",tt.Insurance="insurance",tt.JewelryGemstones="jewelry_gemstones",tt.LawEnforcement="law_enforcement",tt.LegalServices="legal_services",tt.MiningEnergyChemicals="mining_energy_chemicals",tt.OnlineGamingGambling="online_gaming_gambling",tt.Pharmaceuticals="pharmaceuticals",tt.PropertyRealEstate="property_real_estate",tt.RetailWholesale="retail_wholesale",tt.Transportation="transportation",tt.TravelCarHire="travel_car_hire",tt.WeaponsDefenseAerospace="weapons_defense_aerospace",tt.Other="other",tt),au=((ts={}).Salary="salary",ts.Savings="savings",ts.PensionRetirement="pension_retirement",ts.Inheritance="inheritance",ts.Investment="investment",ts.Loan="loan",ts.Gift="gift",ts.Other="other",ts),al=((tr={}).FundAutoConvert="fund_auto_convert",tr.PaymentServicesTerms="payment_services_terms",tr.AccountLink="account_link",tr),ad=((tn={}).Worldwide="worldwide",tn.Us="us",tn.Brazil="brazil",tn.Uk="uk",tn.Eu="eu",tn),a_=((ta={}).Under3500="under_3500",ta.Between35001And75000="between_35001_and_75000",ta.Between75001And125000="between_75001_and_125000",ta.Between125001And200000="between_125001_and_200000",ta.Over200000="over_200000",ta),ac=((ti={}).Under10000="under_10000",ti.Between10001And25000="between_10001_and_25000",ti.Between25001And50000="between_25001_and_50000",ti.Between50001And100000="between_50001_and_100000",ti.Between100001And250000="between_100001_and_250000",ti.Over250000="over_250000",ti),ap=((to={}).Restricted="restricted",to.HighNetWorthIndividual="high_net_worth_individual",to.CertifiedSophisticatedInvestor="certified_sophisticated_investor",to),aE=((tu={}).FinvestPersonal="finvest_personal",tu.FinvestBusiness="finvest_business",tu.PaymentsPersonal="payments_personal",tu.PaymentsBusiness="payments_business",tu.BillpayPersonal="billpay_personal",tu.BillpayBusiness="billpay_business",tu.P2PUs="p2p_us",tu.P2PIntl="p2p_intl",tu.Other="other",tu),aR=((tl={}).Under10="under_10",tl.Between11And100="between_11_and_100",tl.Between101And1000="between_101_and_1000",tl.Over1000="over_1000",tl),am=((td={}).Under1000="under_1000",td.Between1001And10000="between_1001_and_10000",td.Between10001And100000="between_10001_and_100000",td.Over100000="over_100000",td),aT=((t_={}).UpTo5K="up_to_5k",t_.Value5KTo25K="5k_to_25k",t_.Value25KTo100K="25k_to_100k",t_.Value100KAndUp="100k_and_up",t_),ah=((tc={}).UpTo12="up_to_12",tc.Value12To53="12_to_53",tc.Value53To365="53_to_365",tc.Value365AndUp="365_and_up",tc),aC=((tp={}).UpTo5K="up_to_5k",tp.Value5KTo25K="5k_to_25k",tp.Value25KTo100K="25k_to_100k",tp.Value100KAndUp="100k_and_up",tp),aS=((tE={}).Unknown="unknown",tE.BuyCrypto="buy_crypto",tE.SellCrypto="sell_crypto",tE.SwapCrypto="swap_crypto",tE.BuyCryptoFiat="buy_crypto_fiat",tE.SellCryptoFiat="sell_crypto_fiat",tE.TradeCryptoCrypto="trade_crypto_crypto",tE.PeerToPeer="peer_to_peer",tE),ay=((tR={}).LongTerm="long_term",tR.ShortTerm="short_term",tR.Other="other",tR),aP=((tm={}).UserRequest="user_request",tm.ComplianceIssue="compliance_issue",tm),aO=((tT={}).UsPassport="us_passport",tT),aA=((th={}).Parent="parent",th.LegalGuardian="legal_guardian",th),aI=((tC={}).UsPassport="us_passport",tC),aN=((tS={}).Parent="parent",tS.LegalGuardian="legal_guardian",tS.Unknown="unknown",tS),ag=((ty={}).UsPassport="us_passport",ty),af=((tP={}).Low="low",tP.Medium="medium",tP.High="high",tP),aU=((tO={}).UsPassport="us_passport",tO),aL=((tA={}).Low="low",tA.Medium="medium",tA.High="high",tA),aD=((tI={}).UsDriversLicense="us_drivers_license",tI.UsPassport="us_passport",tI.UsPassportCard="us_passport_card",tI.UsPermanentResidentCard="us_permanent_resident_card",tI.UsBorderCrossingCard="us_border_crossing_card",tI.UsAlienCard="us_alien_card",tI.UsIdCard="us_id_card",tI.NonUsPassport="non_us_passport",tI.NonUsOther="non_us_other",tI.ProofOfIncome="proof_of_income",tI.EuPassport="eu_passport",tI.EuIdCard="eu_id_card",tI.EuDriversLicense="eu_drivers_license",tI.EuAddressVerification="eu_address_verification",tI),av=((tN={}).Corporation="corporation",tN.Llc="llc",tN.Partnership="partnership",tN.SoleProprietorship="sole_proprietorship",tN.Other="other",tN.NonProfit="non_profit",tN),aw=((tg={}).Low="low",tg.Medium="medium",tg.High="high",tg),aM=((tf={}).Pass="pass",tf.Fail="fail",tf),aB=((tU={}).Corporation="corporation",tU.Llc="llc",tU.Partnership="partnership",tU.SoleProprietorship="sole_proprietorship",tU.Other="other",tU.NonProfit="non_profit",tU),aH=((tL={}).Low="low",tL.Medium="medium",tL.High="high",tL),ab=((tD={}).Pass="pass",tD.Fail="fail",tD),aF=((tv={}).UsDriversLicense="us_drivers_license",tv.UsPassport="us_passport",tv.UsPassportCard="us_passport_card",tv.UsPermanentResidentCard="us_permanent_resident_card",tv.UsBorderCrossingCard="us_border_crossing_card",tv.UsAlienCard="us_alien_card",tv.UsIdCard="us_id_card",tv.UsTemporaryResidentCard="us_temporary_resident_card",tv.UsVisa="us_visa",tv.NonUsPassport="non_us_passport",tv.NonUsOther="non_us_other",tv.EuPassport="eu_passport",tv.EuIdCard="eu_id_card",tv.EuDriversLicense="eu_drivers_license",tv.EuAddressVerification="eu_address_verification",tv),aG=((tw={}).UsDriversLicense="us_drivers_license",tw.UsPassport="us_passport",tw.UsPassportCard="us_passport_card",tw.UsPermanentResidentCard="us_permanent_resident_card",tw.UsBorderCrossingCard="us_border_crossing_card",tw.UsAlienCard="us_alien_card",tw.UsIdCard="us_id_card",tw.NonUsPassport="non_us_passport",tw.NonUsOther="non_us_other",tw.Passport="passport",tw.EuDriversLicense="eu_drivers_license",tw.LegalEntityIdentifier="legal_entity_identifier",tw.ChamberOfCommerceNumber="chamber_of_commerce_number",tw.ValueAddedTaxNumber="value_added_tax_number",tw),ak=((tM={}).Pass="pass",tM.Fail="fail",tM),aZ=((tB={}).Pass="pass",tB.Fail="fail",tB),aq=((tH={})[tH.Value0=0]="Value0",tH[tH.Value1=1]="Value1",tH[tH.Value2=2]="Value2",tH[tH.Value3=3]="Value3",tH),aV=((tb={}).UsDriversLicense="us_drivers_license",tb.UsPassport="us_passport",tb.UsPassportCard="us_passport_card",tb.UsPermanentResidentCard="us_permanent_resident_card",tb.UsBorderCrossingCard="us_border_crossing_card",tb.UsAlienCard="us_alien_card",tb.UsIdCard="us_id_card",tb.NonUsPassport="non_us_passport",tb.NonUsOther="non_us_other",tb.Passport="passport",tb),aj=((tF={}).Pass="pass",tF.Fail="fail",tF),ax=((tG={}).Pass="pass",tG.Fail="fail",tG),aK=((tk={})[tk.Value0=0]="Value0",tk[tk.Value1=1]="Value1",tk[tk.Value2=2]="Value2",tk[tk.Value3=3]="Value3",tk),aW=((tZ={}).UsDriversLicense="us_drivers_license",tZ.UsPassport="us_passport",tZ.UsPassportCard="us_passport_card",tZ.UsPermanentResidentCard="us_permanent_resident_card",tZ.UsBorderCrossingCard="us_border_crossing_card",tZ.UsAlienCard="us_alien_card",tZ.UsIdCard="us_id_card",tZ.NonUsPassport="non_us_passport",tZ.NonUsOther="non_us_other",tZ.Passport="passport",tZ),aJ=((tq={}).Pass="pass",tq.Fail="fail",tq),aY=((tV={}).Pass="pass",tV.Fail="fail",tV),aQ=((tj={})[tj.Value0=0]="Value0",tj[tj.Value1=1]="Value1",tj[tj.Value2=2]="Value2",tj),aX=((tx={}).UsDriversLicense="us_drivers_license",tx.UsPassport="us_passport",tx.UsPassportCard="us_passport_card",tx.UsPermanentResidentCard="us_permanent_resident_card",tx.UsBorderCrossingCard="us_border_crossing_card",tx.UsAlienCard="us_alien_card",tx.UsIdCard="us_id_card",tx.NonUsPassport="non_us_passport",tx.NonUsOther="non_us_other",tx.Passport="passport",tx),a$=((tK={}).Pass="pass",tK.Fail="fail",tK),az=((tW={}).Pass="pass",tW.Fail="fail",tW),a0=((tJ={})[tJ.Value0=0]="Value0",tJ[tJ.Value1=1]="Value1",tJ[tJ.Value2=2]="Value2",tJ),a1=((tY={}).Spot="spot",tY.Forward="forward",tY),a5=((tQ={}).Regular="regular",tQ.Block="block",tQ),a2=((tX={}).Accepted="accepted",tX.Active="active",tX.Terminated="terminated",tX),a3=((t$={}).RestApi="rest_api",t$.Sdk="sdk",t$.Secondary="secondary",t$),a6=((tz={}).Buy="buy",tz.Sell="sell",tz),a7=((t0={}).Added="added",t0.Removed="removed",t0),a4=((t1={}).Null="null",t1.ObligationsOutstanding="obligations_outstanding",t1.CurrentObligationsMet="current_obligations_met",t1.Settled="settled",t1.Defaulted="defaulted",t1.CounterpartyDefaulted="counterparty_defaulted",t1),a8=((t5={}).Spot="spot",t5.Forward="forward",t5),a9=((t2={}).Regular="regular",t2.Block="block",t2),ie=((t3={}).Accepted="accepted",t3.Active="active",t3.Terminated="terminated",t3),it=((t6={}).RestApi="rest_api",t6.Sdk="sdk",t6.Secondary="secondary",t6),is=((t7={}).Buy="buy",t7.Sell="sell",t7),ir=((t4={}).Added="added",t4.Removed="removed",t4),ia=((t8={}).Null="null",t8.ObligationsOutstanding="obligations_outstanding",t8.CurrentObligationsMet="current_obligations_met",t8.Settled="settled",t8.Defaulted="defaulted",t8.CounterpartyDefaulted="counterparty_defaulted",t8),ii=((t9={}).Pending="pending",t9.Approved="approved",t9.Canceled="canceled",t9.Rejected="rejected",t9.Settled="settled",t9.Outstanding="outstanding",t9.ErrorCanceled="error_canceled",t9),io=((se={}).CONFIRMED="CONFIRMED",se.PENDING="PENDING",se),iu=((st={}).PENDING_CREATION="PENDING_CREATION",st.APPROVED="APPROVED",st.REJECTED="REJECTED",st.DELETED="DELETED",st.PENDING_CHANGE="PENDING_CHANGE",st),il=((ss={}).PENDING="PENDING",ss.CONFIRMED="CONFIRMED",ss),id=((sr={}).Crypto="crypto",sr.Fiat="fiat",sr),i_=((sn={}).ETH="ETH",sn.ALGO="ALGO",sn.ARBITRUM="ARBITRUM",sn.AVAX="AVAX",sn.BASE="BASE",sn.HBAR="HBAR",sn.POLYGON="POLYGON",sn.SOL="SOL",sn.OP="OP",sn.SUI="SUI",sn.XLM="XLM",sn.ZK="ZK",sn),ic=((sa={}).Crypto="crypto",sa.Fiat="fiat",sa),ip=((si={}).ETH="ETH",si.ALGO="ALGO",si.ARBITRUM="ARBITRUM",si.AVAX="AVAX",si.BASE="BASE",si.HBAR="HBAR",si.POLYGON="POLYGON",si.SOL="SOL",si.OP="OP",si.SUI="SUI",si.XLM="XLM",si.ZK="ZK",si),iE=((so={}).Pending="pending",so.Approved="approved",so.Rejected="rejected",so.Locked="locked",so.Disabled="disabled",so.Closed="closed",so),iR=((su={}).Pending="pending",su.Approved="approved",su.Rejected="rejected",su.Locked="locked",su.Disabled="disabled",su.Closed="closed",su),im=((sl={}).ETH="ETH",sl.ALGO="ALGO",sl.ARBITRUM="ARBITRUM",sl.AVAX="AVAX",sl.BASE="BASE",sl.HBAR="HBAR",sl.POLYGON="POLYGON",sl.SOL="SOL",sl.OP="OP",sl.SUI="SUI",sl.XLM="XLM",sl.ZK="ZK",sl),iT=((sd={}).Checking="checking",sd.Savings="savings",sd),ih=((s_={}).Pending="pending",s_.Approved="approved",s_.Rejected="rejected",s_.Locked="locked",s_.Disabled="disabled",s_.Closed="closed",s_),iC=((sc={}).Credit="credit",sc.Debit="debit",sc),iS=((sp={}).Ach="ach",sp.SameDayAch="same_day_ach",sp.Rtp="rtp",sp),iy=((sE={}).Payout="payout",sE),iP=((sR={}).Posted="posted",sR.Cancelled="cancelled",sR.Failed="failed",sR.Returned="returned",sR.Submitted="submitted",sR.Pending="pending",sR.Settled="settled",sR.Rejected="rejected",sR.PendingTrade="pending_trade",sR.ReturnedSettled="returned_settled",sR.Retried="retried",sR.Unspecified="unspecified",sR),iO=((sm={}).Credit="credit",sm.Debit="debit",sm.Unspecified="unspecified",sm),iA=((sT={}).Submitted="submitted",sT.Pending="pending",sT.Posted="posted",sT.Settled="settled",sT.Failed="failed",sT),iI=((sh={}).Checking="checking",sh.Savings="savings",sh),iN=((sC={}).Pending="pending",sC.Approved="approved",sC.Rejected="rejected",sC.Locked="locked",sC.Disabled="disabled",sC.Closed="closed",sC),ig=((sS={}).Pending="pending",sS.Approved="approved",sS.Rejected="rejected",sS.Locked="locked",sS.Disabled="disabled",sS.Closed="closed",sS),iU=((sy={}).Crypto="crypto",sy.Fiat="fiat",sy),iL=((sP={}).ETH="ETH",sP.ALGO="ALGO",sP.ARBITRUM="ARBITRUM",sP.AVAX="AVAX",sP.BASE="BASE",sP.HBAR="HBAR",sP.POLYGON="POLYGON",sP.SOL="SOL",sP.OP="OP",sP.SUI="SUI",sP.XLM="XLM",sP.ZK="ZK",sP),iD=((sO={}).Posted="posted",sO.Cancelled="cancelled",sO.Failed="failed",sO.Returned="returned",sO.Submitted="submitted",sO.Pending="pending",sO.Settled="settled",sO.Rejected="rejected",sO.PendingTrade="pending_trade",sO.ReturnedSettled="returned_settled",sO.Retried="retried",sO.Unspecified="unspecified",sO),iv=((sA={}).Credit="credit",sA.Debit="debit",sA.Unspecified="unspecified",sA),iw=((sI={}).Pending="pending",sI.Approved="approved",sI.Rejected="rejected",sI),iM=((sN={}).Posted="posted",sN.Cancelled="cancelled",sN.Failed="failed",sN.Returned="returned",sN.Submitted="submitted",sN.Pending="pending",sN.Settled="settled",sN.Rejected="rejected",sN.PendingTrade="pending_trade",sN.ReturnedSettled="returned_settled",sN.Retried="retried",sN.Unspecified="unspecified",sN),iB=((sg={}).Ach="ach",sg.SameDayAch="same_day_ach",sg.Wire="wire",sg.Unspecified="unspecified",sg.Rtp="rtp",sg),iH=((sf={}).Credit="credit",sf.Debit="debit",sf.Unspecified="unspecified",sf),ib=((sU={}).Credit="credit",sU.Debit="debit",sU.Unspecified="unspecified",sU),iF=((sL={}).Payout="payout",sL),iG=((sD={}).Completed="Completed",sD.Rejected="Rejected",sD.Unknown="Unknown",sD),ik=((sv={}).Buy="buy",sv.Sell="sell",sv),iZ=((sw={}).Buy="buy",sw.Sell="sell",sw),iq=((sM={}).Buy="buy",sM.Sell="sell",sM),iV=((sB={}).Buy="buy",sB.Sell="sell",sB),ij=((sH={}).Value30S="30s",sH.Value1M="1m",sH.Value5M="5m",sH.Value10M="10m",sH.Value15M="15m",sH),ix=((sb={}).Posted="posted",sb.Cancelled="cancelled",sb.Failed="failed",sb.Submitted="submitted",sb.Pending="pending",sb.PendingTrade="pending_trade",sb.ReturnedSettled="returned_settled",sb.Settled="settled",sb.Rejected="rejected",sb.Posted1="posted",sb.Returned="returned",sb),iK=((sF={}).Posted="posted",sF.Cancelled="cancelled",sF.Failed="failed",sF.Submitted="submitted",sF.Pending="pending",sF.PendingTrade="pending_trade",sF.Settled="settled",sF.Rejected="rejected",sF.Returned="returned",sF.ReturnedSettled="returned_settled",sF.Retried="retried",sF.Unspecified="unspecified",sF),iW=((sG={}).Accepted="accepted",sG.Active="active",sG.Terminated="terminated",sG),iJ=((sk={}).Null="null",sk.ObligationsOutstanding="obligations_outstanding",sk.CurrentObligationsMet="current_obligations_met",sk.Settled="settled",sk.Defaulted="defaulted",sk.CounterpartyDefaulted="counterparty_defaulted",sk),iY=((sZ={}).InitialMargin="initial_margin",sZ.Deposit="deposit",sZ.ExecutionFee="execution_fee",sZ.FinalSettlement="final_settlement",sZ.FinalSettlementDefault="final_settlement_default",sZ.FinalSettlementDefaultFallback="final_settlement_default_fallback",sZ.FinalSettlementDefaultPartial="final_settlement_default_partial",sZ.FinalSettlementOutstanding="final_settlement_outstanding",sZ.InterestPayment="interest_payment",sZ.CollateralizeLoan="collateralize_loan",sZ.LoanCollateralReturn="loan_collateral_return",sZ.NetworkFee="network_fee",sZ.OtcFinalSettlement="otc_final_settlement",sZ.PrincipalSwap="principal_swap",sZ.Repayment="repayment",sZ.Transfer="transfer",sZ.VariationMargin="variation_margin",sZ.VariationMarginCall="variation_margin_call",sZ.Withdrawal="withdrawal",sZ.WithdrawalConfirmed="withdrawal_confirmed",sZ.WithdrawalPending="withdrawal_pending",sZ.Commission="commission",sZ.BankFee="bank_fee",sZ.TransactionFee="transaction_fee",sZ),iQ=((sq={}).TradeAllocation="trade_allocation",sq.CommissionAllocation="commission_allocation",sq.CommissionCorrection="commission_correction",sq.RevenueCapture="revenue_capture",sq.Fund="fund",sq.Prefunded="prefunded",sq),iX=((sV={}).PENDING="PENDING",sV.CONFIRMED="CONFIRMED",sV),i$=((sj={}).Submitted="submitted",sj.PendingApproval="pending_approval",sj.Approved="approved",sj.Rejected="rejected",sj.Locked="locked",sj.PendingUnlock="pending_unlock",sj.PendingDisable="pending_disable",sj.Disabled="disabled",sj.Divested="divested",sj.Closed="closed",sj),iz=((sx={}).Buy="buy",sx.Sell="sell",sx),i0=((sK={}).Checking="checking",sK.Savings="savings",sK),i1=((sW={}).Pending="pending",sW.Approved="approved",sW.Closed="closed",sW.Rejected="rejected",sW.Locked="locked",sW.Disabled="disabled",sW.Failed="failed",sW),i5=((sJ={}).Credit="credit",sJ.Debit="debit",sJ),i2=((sY={}).Posted="posted",sY.Cancelled="cancelled",sY.Failed="failed",sY.Returned="returned",sY.Submitted="submitted",sY.Pending="pending",sY.Settled="settled",sY.Rejected="rejected",sY.PendingTrade="pending_trade",sY.ReturnedSettled="returned_settled",sY.Retried="retried",sY.Unspecified="unspecified",sY),i3=((sQ={}).Buy="buy",sQ.Sell="sell",sQ),i6=((sX={}).Minute="minute",sX.Hourly="hourly",sX.Daily="daily",sX),i7={};s4(i7,"Public",()=>i4);class i4{constructor(e){this.apiClient=e,s8(s$)(this)}getServerTime(e){return this.apiClient.request({...e,url:"/time",method:"GET",secure:!0,responseType:"json"})}}var i8={};s4(i8,"Index",()=>i9);class i9{constructor(e){this.apiClient=e,s8(s$)(this)}getIndexPrice(e,t,s){return this.apiClient.request({...s,url:"/index",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}}var oe={};s4(oe,"Assets",()=>ot);class ot{constructor(e){this.apiClient=e,s8(s$)(this)}getAssets(e,t,s){return this.apiClient.request({...s,url:"/assets",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}}var os={};s4(os,"Trades",()=>or);class or{constructor(e){this.apiClient=e,s8(s$)(this)}submitTrade(e,t,s){return this.apiClient.request({...s,url:"/trades",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getTrades(e,t,s){return this.apiClient.request({...s,url:"/trades",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}submitBatchOfTrades(e,t,s){return this.apiClient.request({...s,url:"/trades/batch",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getTrade(e,t,s){return this.apiClient.request({...s,url:`/trades/${e}`,method:"GET",secure:!0,headers:t,responseType:"json"})}}var on={};s4(on,"Positions",()=>oa);class oa{constructor(e){this.apiClient=e,s8(s$)(this)}getPositions(e,t,s){return this.apiClient.request({...s,url:"/positions",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getPlatformPositions(e,t,s,r){return this.apiClient.request({...r,url:`/positions/platform/${e}`,method:"GET",params:t,secure:!0,headers:s,responseType:"json"})}}var oi={};s4(oi,"Accounts",()=>oo);class oo{constructor(e){this.apiClient=e,s8(s$)(this)}getAccounts(e,t,s){return this.apiClient.request({...s,url:"/accounts",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getAccount(e,t,s){return this.apiClient.request({...s,url:`/accounts/${e}`,method:"GET",secure:!0,headers:t,responseType:"json"})}getNdOs(e,t){return this.apiClient.request({...t,url:"/accounts/net_delivery_obligations",method:"GET",secure:!0,headers:e,responseType:"json"})}getAccountMovements(e,t,s,r){return this.apiClient.request({...r,url:`/accounts/${e}/movements`,method:"GET",params:t,secure:!0,headers:s,responseType:"json"})}getAccountRunHistory(e,t,s){return this.apiClient.request({...s,url:`/accounts/${e}/run_history`,method:"GET",secure:!0,headers:t,responseType:"json"})}}var ou={};s4(ou,"Deposits",()=>ol);class ol{constructor(e){this.apiClient=e,s8(s$)(this)}createDepositAddress(e,t,s){return this.apiClient.request({...s,url:"/deposits/digital_asset_addresses",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getDepositAddresses(e,t,s){return this.apiClient.request({...s,url:"/deposits/digital_asset_addresses",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}updateAddressOwner(e,t,s){return this.apiClient.request({...s,url:"/deposits/digital_asset_addresses",method:"PATCH",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}createABolt11InvoiceForDeposit(e,t,s){return this.apiClient.request({...s,url:"/deposits/bolt11",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}createATestPaymentForABolt11DepositInvoice(e,t,s){return this.apiClient.request({...s,url:"/deposits/bolt11/test_payment",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json})}fundAccount(e,t,s){return this.apiClient.request({...s,url:"/deposits/fund",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getDeposits(e,t,s){return this.apiClient.request({...s,url:"/deposits",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getFiatAccounts(e,t){return this.apiClient.request({...t,url:"/deposits/fiat_accounts",method:"GET",secure:!0,headers:e,responseType:"json"})}createUmaAddress(e,t,s){return this.apiClient.request({...s,url:"/deposits/uma",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json})}getUmaAddresses(e,t,s){return this.apiClient.request({...s,url:"/deposits/uma",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}updateUmaAddress(e,t,s){return this.apiClient.request({...s,url:"/deposits/uma",method:"PATCH",data:e,secure:!0,headers:t,contentType:rt.Json})}}var od={};s4(od,"Movements",()=>o_);class o_{constructor(e){this.apiClient=e,s8(s$)(this)}getMovements(e,t,s){return this.apiClient.request({...s,url:"/movements",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}}var oc={};s4(oc,"Withdrawals",()=>op);class op{constructor(e){this.apiClient=e,s8(s$)(this)}createWithdrawalRequest(e,t,s){return this.apiClient.request({...s,url:"/withdrawals/requests",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getWithdrawalRequests(e,t,s){return this.apiClient.request({...s,url:"/withdrawals/requests",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getWithdrawalRequest(e,t,s){return this.apiClient.request({...s,url:`/withdrawals/requests/${e}`,method:"GET",secure:!0,headers:t,responseType:"json"})}deleteWithdrawalRequest(e,t,s){return this.apiClient.request({...s,url:`/withdrawals/requests/${e}`,method:"DELETE",secure:!0,headers:t,responseType:"json"})}executeWithdrawal(e,t,s){return this.apiClient.request({...s,url:"/withdrawals/execute",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}requestUmaWithdrawal(e,t,s){return this.apiClient.request({...s,url:"/withdrawals/uma",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}performsAnUmaLookupPriorToInitiatingAWithdrawal(e,t,s){return this.apiClient.request({...s,url:`/withdrawals/umalookup/${e}`,method:"GET",secure:!0,headers:t,responseType:"json"})}getWithdrawalAddresses(e,t,s){return this.apiClient.request({...s,url:"/withdrawals/digital_asset_addresses",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getWithdrawalAddress(e,t,s){return this.apiClient.request({...s,url:`/withdrawals/digital_asset_addresses/${e}`,method:"GET",secure:!0,headers:t,responseType:"json"})}getWithdrawalQuote(e,t,s){return this.apiClient.request({...s,url:"/withdrawals/locked_network_fee",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getFiatAccounts(e,t){return this.apiClient.request({...t,url:"/withdrawals/fiat_accounts",method:"GET",secure:!0,headers:e,responseType:"json"})}getFiatAccount(e,t,s){return this.apiClient.request({...s,url:`/withdrawals/fiat_accounts/${e}`,method:"GET",secure:!0,headers:t,responseType:"json"})}getNetworkFeeEstimate(e,t,s){return this.apiClient.request({...s,url:"/withdrawals/estimate_network_fee",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}validateAddress(e,t,s){return this.apiClient.request({...s,url:"/withdrawals/validate_address",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}}var oE={};s4(oE,"Transfers",()=>oR);class oR{constructor(e){this.apiClient=e,s8(s$)(this)}getTransfers(e,t,s){return this.apiClient.request({...s,url:"/transfers",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}createTransfer(e,t,s){return this.apiClient.request({...s,url:"/transfers",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getTransfer(e,t,s){return this.apiClient.request({...s,url:`/transfers/${e}`,method:"GET",secure:!0,headers:t,responseType:"json"})}}var om={};s4(om,"Participants",()=>oT);class oT{constructor(e){this.apiClient=e,s8(s$)(this)}createCustomer(e,t,s){return this.apiClient.request({...s,url:"/participants/customers/new",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}submitDocuments(e,t,s){return this.apiClient.request({...s,url:"/participants/documents",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}updateCustomer(e,t,s,r){return this.apiClient.request({...r,url:`/participants/customers/${e}`,method:"PATCH",data:t,secure:!0,headers:s,contentType:rt.Json,responseType:"json"})}lockCustomer(e,t,s,r){return this.apiClient.request({...r,url:`/participants/customers/${e}/lock`,method:"POST",data:t,secure:!0,headers:s,contentType:rt.Json})}createMinor(e,t,s){return this.apiClient.request({...s,url:"/participants/customers/minor",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}updateMinorDob(e,t,s,r){return this.apiClient.request({...r,url:`/participants/customers/minor/${e}/update_dob`,method:"POST",data:t,secure:!0,headers:s,contentType:rt.Json,responseType:"json"})}updateMinor(e,t,s,r){return this.apiClient.request({...r,url:`/participants/customers/minor/${e}`,method:"PATCH",data:t,secure:!0,headers:s,contentType:rt.Json,responseType:"json"})}promoteMinor(e,t,s){return this.apiClient.request({...s,url:"/participants/customers/promote_minor",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}createBeneficiary(e,t,s){return this.apiClient.request({...s,url:"/participants/beneficiaries/new",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}updateBeneficiary(e,t,s,r){return this.apiClient.request({...r,url:`/participants/beneficiaries/${e}`,method:"PATCH",data:t,secure:!0,headers:s,contentType:rt.Json,responseType:"json"})}createEntityCustomer(e,t,s){return this.apiClient.request({...s,url:"/participants/entity/new",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}submitEntityDocuments(e,t,s){return this.apiClient.request({...s,url:"/participants/entity/documents",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getParticipants(e,t,s){return this.apiClient.request({...s,url:"/participants",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getParticipant(e,t,s){return this.apiClient.request({...s,url:`/participants/${e}`,method:"GET",secure:!0,headers:t,responseType:"json"})}getParticipantLimits(e,t,s){return this.apiClient.request({...s,url:`/participant/${e}/limits`,method:"GET",secure:!0,headers:t,responseType:"json"})}getParticipantKycStatus(e,t,s){return this.apiClient.request({...s,url:`/participant/${e}/kyc_status`,method:"GET",secure:!0,headers:t,responseType:"json"})}getParticipantBasicInfo(e,t,s){return this.apiClient.request({...s,url:`/participant/${e}/basic_info`,method:"GET",secure:!0,headers:t,responseType:"json"})}getParticipantSanctionScreeningInfo(e,t,s){return this.apiClient.request({...s,url:`/participant/${e}/sanction_screening_info`,method:"GET",secure:!0,headers:t,responseType:"json"})}getParticipantFullInfo(e,t,s){return this.apiClient.request({...s,url:`/participant/${e}/full_info`,method:"GET",secure:!0,headers:t,responseType:"json"})}getCountries(e,t){return this.apiClient.request({...t,url:"/jurisdiction/countries",method:"GET",secure:!0,headers:e,responseType:"json"})}getSubdivisions(e,t,s){return this.apiClient.request({...s,url:"/jurisdiction/subdivisions",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}evaluateParticipantOnboarding(e,t,s){return this.apiClient.request({...s,url:"/jurisdiction/evaluate-onboarding",method:"POST",params:e,secure:!0,headers:t,responseType:"json"})}}var oh={};s4(oh,"Liquidity",()=>oC);class oC{constructor(e){this.apiClient=e,s8(s$)(this)}getQuote(e,t,s){return this.apiClient.request({...s,url:"/liquidity/rfq",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getQuote2(e,t,s){return this.apiClient.request({...s,url:"/liquidity/rfq",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}updateQuote(e,t,s){return this.apiClient.request({...s,url:"/liquidity/rfq",method:"PATCH",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}executeQuote(e,t,s){return this.apiClient.request({...s,url:"/liquidity/execute",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}}var oS={};s4(oS,"Rewards",()=>oy);class oy{constructor(e){this.apiClient=e,s8(s$)(this)}disperseRewards(e,t,s){return this.apiClient.request({...s,url:"/rewards",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}}var oP={};s4(oP,"Awards",()=>oO);class oO{constructor(e){this.apiClient=e,s8(s$)(this)}fundAwardsAccount(e,t,s){return this.apiClient.request({...s,url:"/awards/fund",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}distributeAwards(e,t,s){return this.apiClient.request({...s,url:"/awards/distribute",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}}var oA={};s4(oA,"Payments",()=>oI);class oI{constructor(e){this.apiClient=e,s8(s$)(this)}createExternalAccounts(e,t,s){return this.apiClient.request({...s,url:"/payments/external_accounts",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getExternalAccounts(e,t,s){return this.apiClient.request({...s,url:"/payments/external_accounts",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}closeExternalAccount(e,t,s,r){return this.apiClient.request({...r,url:`/payments/external_accounts/${e}/close`,method:"POST",data:t,secure:!0,headers:s,contentType:rt.Json,responseType:"json"})}createPayment(e,t,s){return this.apiClient.request({...s,url:"/payments",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getPayments(e,t,s){return this.apiClient.request({...s,url:"/payments",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getPaymentById(e,t,s){return this.apiClient.request({...s,url:`/payments/${e}`,method:"GET",secure:!0,headers:t,responseType:"json"})}getPendingFiatTransactions(e,t,s){return this.apiClient.request({...s,url:"/payments/settlements",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}retryAFiatPayment(e,t,s){return this.apiClient.request({...s,url:`/payments/${e}/retry`,method:"POST",secure:!0,headers:t,responseType:"json"})}getFiatTransactions(e,t,s){return this.apiClient.request({...s,url:"/payments/history",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getFiatTransactionStatuses(e,t,s){return this.apiClient.request({...s,url:"/payments/status",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getQuote(e,t,s){return this.apiClient.request({...s,url:"/payments/rfq",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}executeQuote(e,t,s){return this.apiClient.request({...s,url:"/payments/execute",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}}var oN={};s4(oN,"ConvertAndWithdraw",()=>og);class og{constructor(e){this.apiClient=e,s8(s$)(this)}getQuote(e,t,s){return this.apiClient.request({...s,url:"/convert_withdraw/rfq",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getQuote2(e,t,s){return this.apiClient.request({...s,url:"/convert_withdraw/rfq",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}executeQuote(e,t,s){return this.apiClient.request({...s,url:"/convert_withdraw/execute",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}}var of={};s4(of,"MarketData",()=>oU);class oU{constructor(e){this.apiClient=e,s8(s$)(this)}getSymbolData(e,t){return this.apiClient.request({...t,url:"/market_data/symbol_data",method:"GET",params:e,secure:!0,responseType:"json"})}getOhlcvData(e,t,s){return this.apiClient.request({...s,url:"/market_data/ohlcv",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getNewsArticles(e,t){return this.apiClient.request({...t,url:"/market_data/news/latest",method:"GET",params:e,secure:!0,responseType:"json"})}getNewsFeeds(e){return this.apiClient.request({...e,url:"/market_data/news/feeds",method:"GET",secure:!0,responseType:"json"})}getCategories(e){return this.apiClient.request({...e,url:"/market_data/news/categories",method:"GET",secure:!0,responseType:"json"})}}var oL={};s4(oL,"Fund",()=>oD);class oD{constructor(e){this.apiClient=e,s8(s$)(this)}getQuote(e,t,s){return this.apiClient.request({...s,url:"/fund/rfq",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getTransactions(e,t,s){return this.apiClient.request({...s,url:"/fund/transactions",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}}var ov={};s4(ov,"Clob",()=>ow);class ow{constructor(e){this.apiClient=e,s8(s$)(this)}createAccountClob(e,t,s){return this.apiClient.request({...s,url:"/clob/accounts",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getAccountsClob(e,t,s){return this.apiClient.request({...s,url:"/clob/accounts",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}updateClobAccount(e,t,s){return this.apiClient.request({...s,url:"/clob/accounts",method:"PATCH",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}searchOrders(e,t,s){return this.apiClient.request({...s,url:"/orders/v1/search_orders",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}searchExecutions(e,t,s){return this.apiClient.request({...s,url:"/orders/v1/search_executions",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}createOrderSubscription(e,t,s){return this.apiClient.request({...s,url:"/orders/v1/create_order_subscription",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}submitOrder(e,t,s){return this.apiClient.request({...s,url:"/orders/v1/insert_order",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}cancelOrder(e,t,s){return this.apiClient.request({...s,url:"/orders/v1/cancel_order",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}listInstruments(e,t,s){return this.apiClient.request({...s,url:"/orders/v1/list_instruments",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}tradeStats(e,t,s){return this.apiClient.request({...s,url:"/orders/v1/get_trade_stats",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}}s7(rR,rm),s7(rR,i7),s7(rR,i8),s7(rR,oe),s7(rR,os),s7(rR,on),s7(rR,oi),s7(rR,ou),s7(rR,od),s7(rR,oc),s7(rR,oE),s7(rR,om),s7(rR,oh),s7(rR,oS),s7(rR,oP),s7(rR,oA),s7(rR,oN),s7(rR,of),s7(rR,oL),s7(rR,ov);class oM extends re{constructor(e){super(new rr(e)),this.config=e,this.accounts=new oo(this.apiClient),this.assets=new ot(this.apiClient),this.awards=new oO(this.apiClient),this.clob=new ow(this.apiClient),this.convertAndWithdraw=new og(this.apiClient),this.deposits=new ol(this.apiClient),this.fund=new oD(this.apiClient),this.index=new i9(this.apiClient),this.liquidity=new oC(this.apiClient),this.marketData=new oU(this.apiClient),this.movements=new o_(this.apiClient),this.participants=new oT(this.apiClient),this.payments=new oI(this.apiClient),this.positions=new oa(this.apiClient),this.public=new i4(this.apiClient),this.rewards=new oy(this.apiClient),this.trades=new or(this.apiClient),this.transfers=new rE(this.apiClient),this.withdrawals=new op(this.apiClient)}}s7(module.exports,s9),s7(module.exports,rR);
|
|
1
|
+
var e,t,s,r,n,a,i,o,u,l,d,_,c,p,E,R,m,T,h,C,S,y,P,O,A,I,N,g,f,U,L,D,v,w,M,B,H,b,F,G,k,Z,q,V,j,x,K,W,J,Y,Q,X,$,z,ee,et,es,er,en,ea,ei,eo,eu,el,ed,e_,ec,ep,eE,eR,em,eT,eh,eC,eS,ey,eP,eO,eA,eI,eN,eg,ef,eU,eL,eD,ev,ew,eM,eB,eH,eb,eF,eG,ek,eZ,eq,eV,ej,ex,eK,eW,eJ,eY,eQ,eX,e$,ez,e0,e1,e5,e2,e3,e6,e7,e4,e8,e9,te,tt,ts,tr,tn,ta,ti,to,tu,tl,td,t_,tc,tp,tE,tR,tm,tT,th,tC,tS,ty,tP,tO,tA,tI,tN,tg,tf,tU,tL,tD,tv,tw,tM,tB,tH,tb,tF,tG,tk,tZ,tq,tV,tj,tx,tK,tW,tJ,tY,tQ,tX,t$,tz,t0,t1,t5,t2,t3,t6,t7,t4,t8,t9,se,st,ss,sr,sn,sa,si,so,su,sl,sd,s_,sc,sp,sE,sR,sm,sT,sh,sC,sS,sy,sP,sO,sA,sI,sN,sg,sf,sU,sL,sD,sv,sw,sM,sB,sH,sb,sF,sG,sk,sZ,sq,sV,sj,sx,sK,sW,sJ,sY,sQ,sX,s$=require("auto-bind"),sz=require("async-mutex"),s0=require("consola"),s1=require("date-fns"),s5=require("jwt-decode"),s2=require("axios"),s3=require("axios-better-stacktrace"),s6=require("lodash");function s7(e,t){return Object.keys(t).forEach(function(s){"default"===s||"__esModule"===s||Object.prototype.hasOwnProperty.call(e,s)||Object.defineProperty(e,s,{enumerable:!0,get:function(){return t[s]}})}),e}function s4(e,t,s,r){Object.defineProperty(e,t,{get:s,set:r,enumerable:!0,configurable:!0})}function s8(e){return e&&e.__esModule?e.default:e}var s9={};s4(s9,"ZeroHashApi",()=>oM);class re{constructor(e){this.apiClient=e,s8(s$)(this)}getApiClient(){return this.apiClient}}var rt=((e={}).Json="application/json",e.FormData="multipart/form-data",e.UrlEncoded="application/x-www-form-urlencoded",e.Text="text/plain",e);class rs{constructor(e){this.config=e,s8(s$)(this),this.storage=e.storage??sessionStorage,this.axiosInstance=s8(s2).create({...e.axiosConfig,baseURL:e.baseUrl,headers:{"Content-Type":"application/json",...e.axiosConfig?.headers}}),s8(s3)(this.axiosInstance)}stringifyFormItem(e){return"object"==typeof e&&null!==e?JSON.stringify(e):`${e}`}createFormData(e){return e instanceof FormData?e:Object.keys(e).reduce((t,s)=>{let r=e[s];for(let e of r instanceof Array?r:[r]){let r=e instanceof Blob||e instanceof File;t.append(s,r?e:this.stringifyFormItem(e))}return t},new FormData)}async request(e){let{contentType:t,data:s}=e;(0,s6.isNil)(s)||("multipart/form-data"===t&&"object"==typeof s&&(e.data=this.createFormData(s)),"text/plain"===t&&"string"!=typeof s&&(e.data=JSON.stringify(s)));let r=(0,s6.merge)(e.secure??this.config.defaultSecure??!0?await this.prepareAuthRequestConfig():{},t?{headers:{"Content-Type":t}}:{},e);try{let{data:e,status:t,statusText:s}=await this.axiosInstance.request(r);return{success:!0,data:e,status:t,statusText:s}}catch(s){let t={success:!1,status:-1,statusText:String(s),error:s};if((0,s2.isAxiosError)(s)&&(this.config.onAxiosError?.(s),t.data=s.response?.data,t.status=s.response?.status??t.status,t.statusText=s.response?.statusText??t.statusText),this.config.onError?.(s),!this.config.handleError&&!e.handleError)throw s;return t}}get(e,t){return this.request({...t,method:"GET",url:e})}delete(e,t){return this.request({...t,method:"DELETE",url:e})}head(e,t){return this.request({...t,method:"HEAD",url:e})}options(e,t){return this.request({...t,method:"OPTIONS",url:e})}post(e,t,s){return this.request({...s,method:"POST",url:e,data:t})}put(e,t,s){return this.request({...s,method:"PUT",url:e,data:t})}patch(e,t,s){return this.request({...s,method:"PATCH",url:e,data:t})}getAxios(){return this.axiosInstance}setAuthData(e){this.storage.setItem(this.config.authDataStorageKey||"auth",JSON.stringify(e))}getAuthData(){let e=this.storage.getItem(this.config.authDataStorageKey||"auth");return e?JSON.parse(e):null}getConfig(){return this.config}}class rr extends rs{constructor(e){super(e),this.config=e,this.lock=new sz.Mutex}getConfig(){return super.getConfig()}setRenewTokenCallback(e){this.renewTokenCallback=e}async prepareAuthRequestConfig(){if(this.config.axiosConfig?.withCredentials)return{};let{accessToken:e}=this.getAuthData()||{};if(!e)return(0,s0.consola).warn("No access token found. Please set auth data after authorization."),{};if(!1!==this.config.autoRenewToken&&this.isTokenExpired(e))try{await this.lock.runExclusive(async()=>{this.config.debug&&(0,s0.consola).debug("Token expired. Renewing…"),e=(await this.renewToken()).accessToken,this.lock.cancel()})}catch(t){if(t===sz.E_CANCELED)e=this.getAuthData()?.accessToken;else throw t}return{headers:{Authorization:`${this.config.authSchema??"Bearer"} ${e}`}}}isTokenExpired(e){let t=(0,s5.jwtDecode)(e);return!t.exp||(0,s1.isBefore)((0,s1.subMinutes)(1e3*t.exp,1),Date.now())}async renewToken(){let e=this.config.onRenewToken??this.renewTokenCallback;if(!e)throw Error("No renew token callback provided");let t=await e();return this.setAuthData(t),t}}JSON.parse('{"ERR_ACAT_ASSETS_UNDEFINED":"Acat Assets Undefined","ERR_ACAT_FAILURE":"Acat Failure","ERR_ACAT_IN_PROGRESS":"Acat In Progress","ERR_ACCOUNT_NOT_ACTIVE":"Account Not Active","ERR_ACCOUNT_NOT_TRADABLE":"Account is currently not tradable","ERR_ACCOUNT_TRADING_HALTED":"Account Trading Halted","ERR_ACCOUNT_TYPE_MISSING":"Account Type Missing","ERR_ACCOUNT_UNDEFINED":"Account undefined","ERR_ACH_DEPOSITS_NOT_ALLOWED":"Ach Deposits Not Allowed","ERR_ACH_NOT_ALLOWED":"Ach Not Allowed","ERR_ACH_WITHDRAWAL_NOT_ALLOWED":"Ach Withdrawal Not Allowed","ERR_ACQUISITION_OF_CORP_ACT_OPTION":"Acquisition Of Corp Act Option","ERR_ADJUSTMENT_FAILURE":"Adjustment Failure","ERR_ALGO_STRATEGY_NOT_SUPPORTED":"Algo Strategy not supported","ERR_ALL_DISALLOWED":"All Disallowed","ERR_AMOUNT_MUST_BE_GREATER_THAN_ZERO":"Amount Must Be Greater Than Zero","ERR_AON_NOT_SUPPORTED":"All-Or-None not supported","ERR_ATTEMPTED_TRADE":"Attempted Trade","ERR_BALANCE_LOADER_NOT_AVAILABLE":"Balance Loader not available","ERR_BANK_ACCOUNT_TYPE_NOT_SUPPORTED":"Bank Account Type Not Supported","ERR_BANK_RELATIONSHIP_CREATION_FAILURE":"Bank Relationship Creation Failure","ERR_BANK_RELATIONSHIP_DUPLICATE_BENEFICIARY":"Bank Relationship Duplicate Beneficiary","ERR_BANK_RELATIONSHIP_DUPLICATE_NICKNAME":"Bank Relationship Duplicate Nickname","ERR_BANK_RELATIONSHIP_LIMIT":"Bank Relationship Limit","ERR_BANK_RELATIONSHIP_NOT_APPROVED":"Bank Relationship Not Approved","ERR_BANK_RELATIONSHIP_NOT_FOUND":"Bank Relationship Not Found","ERR_BANK_RELATIONSHIP_NOT_SUPPORTED":"Bank Relationship Not Supported","ERR_BENEFICIARY_MISSING":"Beneficiary Missing","ERR_BENEFICIARY_PRESENT":"Beneficiary Present","ERR_BNP_OTC_THRESHOLD":"BNP OTC threshold","ERR_BUY_EXPIRATION_LONGER":"Buy Expiration Longer","ERR_BUY_EXPIRATION_SHORTER":"Buy Expiration Shorter","ERR_BUY_OPEN_SELL_OPEN":"Cannot Buy to Open and Sell to Open at same time","ERR_BUY_OPTION_PRICE_GREATER_SELL_OPTION_PRICE":"Buy Option Price Greater Sell Option Price","ERR_BUY_OPTION_PRICE_LESSER_SELL_OPTION_PRICE":"Buy Option Price Lesser Sell Option Price","ERR_BUY_RESTRICTED":"Buy orders for this security are not allowed","ERR_BUY_STRIKE_EQUAL_SELL_STRIKE":"Buy strike is equal to Sell strike price","ERR_BUY_STRIKE_LESS_SELL_STRIKE":"Buy Strike is less than Sell strike price","ERR_BUY_STRIKE_MORE_SELL_STRIKE":"Buy Strike higher than Sell Strike Price","ERR_CANCEL_FAILED":"Cancel Failed","ERR_CANNOT_BUY_TO_CLOSE":"Cannot Buy To close","ERR_CANNOT_BUY_TO_OPEN":"Cannot Buy To Open","ERR_CANNOT_DO_SPREADS":"Spread trading is not available","ERR_CANNOT_NAKED_SELL_TO_OPEN":"Cannot sell to open without spread","ERR_CANNOT_SELL_TO_CLOSE":"Cannot Sell To Close","ERR_CANNOT_SELL_TO_OPEN":"Cannot Sell To Open","ERR_CFR_275_206_RESTRICTED":"Cfr 275206 Restricted","ERR_CONTRACT_SIZE_UNAVAILABLE":"Contract size unavailable","ERR_CORE_POST_DISALLOWED":"Core Post Disallowed","ERR_CREATING_NAKED_POSITION":"This transaction will create a naked position your account is not allowed to have","ERR_CRYPTO_NOT_ALLOWED":"Crypto Not Allowed","ERR_CRYPTO_NOT_ENABLED":"Crypto Not Enabled","ERR_CRYPTO_SIGNUP_NOT_SUPPORTED":"Crypto Signup Not Supported","ERR_DIFFERENT_STRIKE_DISTANCE":"Different strike distance","ERR_DIMES_ONLY":"This option is traded in dimes (10c increments) only","ERR_DOCUMENT_CALL_NOT_SUPPORTED":"Document Call Not Supported","ERR_DOES_NOT_MEET_MINIMUM":"Does not meet minimum","ERR_DOMESTIC_NOT_SUPPORTED":"Domestic Not Supported","ERR_DUPLICATE_ORDER_REFERENCE":"Duplicate order reference","ERR_DUPLICATE_ORDER_SUBMISSION":"Duplicate order. Please resubmit in at least 30 seconds","ERR_DUPLICATE_QUANTTY":"Duplicate Quantty","ERR_EIP_BUYS_MIS":"This security cannot be acquired due to an SIP classification","ERR_ENCRYPTION_FAILED":"Encryption Failed","ERR_ESIGNATURE_REQUIRED":"E-Signature Required","ERR_ESS":"ESS Error","ERR_ESTABLISHING_LONG_ON_NONINTERMEDIARY_WTH_SHORT":"Establishing Long on Non-Intermediary with Short","ERR_ESTABLISHING_SHORT_ON_NONINTERMEDIARY_WTH_LONG":"Establishing Short on Non-Intermediary with Long","ERR_ETH_NOT_SUPPORTED":"ETH not supported","ERR_EXCEEDED_NOTIONAL_LIMIT":"Exceeded Notional Limit","ERR_EXCHANGE_RESTRICTION":"Trading on this security has been restricted","ERR_FEATURE_NOT_AVAILABLE":"Feature not available","ERR_FEATURE_NOT_SUPPORTED":"Feature Not Supported","ERR_FILE_UPLOAD_FAILED":"File Upload Failed","ERR_FRACTIONAL_LIMITS_NOT_ALLOWED":"Fractional Limits Not Allowed","ERR_FRACTIONAL_NOT_ALLOWED":"Fractional Not Allowed","ERR_FRACTIONAL_QUANTITY_NOT_SUPPORTED":"Fractional quantity not supported","ERR_GIFT_MUST_HAVE_PURPOSE":"Gift Must Have Purpose","ERR_GREATER_THAN_MAXIMUM_QUANTITIES":"Quantity Greater than Allowable Maximum","ERR_GTC_NOT_ALLOWED":"GTC orders are not allowed","ERR_IDENTIFIER_MISSING":"Identifier Missing","ERR_IDENTITIES_NOT_AVAILABLE":"Identities Not Available","ERR_IDENTITY_ID_MISSING":"Identity Id Missing","ERR_INSERT_G_EVENT_BUY_LEG":"Insert G-Event for SELL leg","ERR_INSERT_G_EVENT_SELL_LEG":"Insert G-Event for BUY leg","ERR_INSERT_REPLACE_BUY_LEG":"INSERT Replace buy leg","ERR_INSERT_REPLACE_HIST":"INSERT replace history","ERR_INSERT_REPLACE_SELL_LEG":"INSERT Replace sell leg","ERR_INSERT_REPLACE_SUCCESS_HIST":"INSERT Replace success history","ERR_INSERT_V_EVENT_BUY_LEG":"Insert V-Event for BUY leg","ERR_INSERT_V_EVENT_SELL_LEG":"Insert V-Event for SELL leg","ERR_INSTANT_DEPOSIT_DENIED":"Instant Deposit Denied","ERR_INSUFFICIEND_LONG_TO_COVER":"Insufficiend long to cover","ERR_INSUFFICIENT_ARGUMENTS":"Insufficient arguments","ERR_INSUFFICIENT_CASH":"Insufficient Cash","ERR_INSUFFICIENT_EQUITY":"Insufficient Equity","ERR_INSUFFICIENT_FUNDS":"Insufficient Funds","ERR_INSUFFICIENT_SHARES":"Insufficient Shares","ERR_INSUFFICIENT_SHORT_SHARES":"Insufficient short shares","ERR_INVALID_2FA":"Invalid 2 Fa","ERR_INVALID_ABA_NUMBER":"Invalid Aba Number","ERR_INVALID_ACCOUNT":"Invalid account","ERR_INVALID_BANK_ACCOUNT":"Invalid Bank Account","ERR_INVALID_BANK_BRANCH":"Invalid Bank Branch","ERR_INVALID_BANK_COUNTRY":"Invalid Bank Country","ERR_INVALID_BLOCK_SIZE":"Invalid Block Size","ERR_INVALID_CITY":"Invalid City","ERR_INVALID_COUNTRY":"Invalid Country","ERR_INVALID_DISBURSEMENT_TYPE":"Invalid Disbursement Type","ERR_INVALID_DOCUMENT_ID":"Invalid Document Id","ERR_INVALID_EXPECTED_VALUE":"Invalid expected value","ERR_INVALID_IDENTIFIER_TYPE":"Invalid Identifier Type","ERR_INVALID_PEG_TYPE":"Invalid peg type","ERR_INVALID_PEG":"Invalid peg","ERR_INVALID_RELATIONSHIP":"Invalid relationship","ERR_INVALID_STREET_MATCH":"Invalid Street Match","ERR_INVALID_STREET":"Invalid Street","ERR_INVALID_TRADING_PASSWORD":"Invalid trading password","ERR_INVALID_USER":"Invalid user","ERR_INVENTORY_NOT_ALLOWED":"Inventory not Allowed","ERR_INVENTORY_NOT_DEFINED":"Inventory Not Defined","ERR_JOURNAL_REQUEST_FAILED":"Journal Request Failed","ERR_LARGE_ORDER_REJECTION":"Large Order Rejection","ERR_LEGAL_NOT_SUPPORTED":"Legal Not Supported","ERR_LESS_OR_NO_BUY_TO_OPEN_POSN":"Less Or No Buy To Open Position","ERR_LESS_OR_NO_SELL_TO_OPEN_POSN":"Less Or No Sell To Open Position","ERR_LESS_THAN_MINIMUM_QUANTITIES":"Quantity Less than Allowable Minimum","ERR_LIMIT_GREATER_STOP":"Limit price must be less than the stop price","ERR_LIMIT_LESS_STOP":"Limit price must be greater than the stop price","ERR_LIMIT_MARKET_ONLY":"Only limit and market orders are supported","ERR_LIMIT_ONLY":"Limit orders only","ERR_LINK_IN_INVALID_STATUS":"Link In Invalid Status","ERR_LIQUIDATION_ONLY":"Liquidation only","ERR_LIQUIDATION_WITH_EXISTING_OPEN_SELL_ORDER":"Liquidation with existing Open Sell Order","ERR_MARGIN_ACCOUNT_ONLY":"Margin Account Only","ERR_MARKET_CLOSED":"Market is closed","ERR_MARKET_ORDER_PRIOR_MARKET_OPEN_RESTRICTED":"Market Order Prior Market Open Restricted","ERR_MARKUP_TOO_BIG":"Markup too big","ERR_MAX_FLOOR_GREATER_THAN_QUANTITY":"Max Floor Greater than Quantity","ERR_MAX_FLOOR_NOT_ODD_LOT":"Max Floor Not Odd Lot","ERR_MICRO_CAP_THRESHOLD":"Micro cap threshold","ERR_MINIMUM_ORDER_LIMIT":"Minimum Order Limit","ERR_MISSING_ADDRESS":"Missing Address","ERR_MISSING_BANK_ACCOUNT":"Missing Bank Account","ERR_MISSING_BANK_BRANCH":"Missing Bank Branch","ERR_MISSING_BANK_CITY":"Missing Bank City","ERR_MISSING_BANK_CODE":"Missing Bank Code","ERR_MISSING_BANK_COUNTRY":"Missing Bank Country","ERR_MISSING_BANK_NAME":"Missing Bank Name","ERR_MISSING_BANK_POSTAL_CODE":"Missing Bank Postal Code","ERR_MISSING_BANK_STATE_PROVINCE":"Missing Bank State Province","ERR_MISSING_CAPITAL_GAINS_INDICATOR":"Missing Capital Gains Indicator","ERR_MISSING_CONTRA_ACCOUNT_TITLE":"Missing Contra Account Title","ERR_MISSING_CONTRA_ACCOUNT_TYPE":"Missing Contra Account Type","ERR_MISSING_CONTRA_ACCOUNT":"Missing Contra Account","ERR_MISSING_CONTRIBUTION_TYPE":"Missing Contribution Type","ERR_MISSING_CONTRIBUTION_YEAR":"Missing Contribution Year","ERR_MISSING_CONTRIBUTION":"Missing Contribution","ERR_MISSING_CONTROL_RESOLUTION":"Missing Control Resolution","ERR_MISSING_CONTROL_SOURCE":"Missing Control Source","ERR_MISSING_CONTROL_TRANSFER_ID":"Missing Control Transfer Id","ERR_MISSING_DISTRIBUTION_INSTITUTION":"Missing Distribution Institution","ERR_MISSING_DISTRIBUTION_REASON":"Missing Distribution Reason","ERR_MISSING_DISTRIBUTION":"Missing Distribution","ERR_MISSING_DIVIDENDS_INDICATOR":"Missing Dividends Indicator","ERR_MISSING_ID":"Missing ID","ERR_MISSING_LIMIT":"Missing limit","ERR_MISSING_LOA":"Missing Loa","ERR_MISSING_NICKNAME":"Missing Nickname","ERR_MISSING_ORDER_TYPE":"Missing order type","ERR_MISSING_ORDERS":"Missing orders","ERR_MISSING_PAYMENT_METHOD":"Missing Payment Method","ERR_MISSING_PRIMARY_TAX_ID":"Missing Primary Tax Id","ERR_MISSING_QUANTITY":"Quantity missing from Order","ERR_MISSING_REMOTE_DEVICE":"Missing Remote Device","ERR_MISSING_REMOTE_IP":"Missing Remote Ip","ERR_MISSING_RULE_5030_5131":"Missing Rule 50305131","ERR_MISSING_STOP":"Missing stop","ERR_MISSING_TOKEN":"Missing Token","ERR_MISSING_TRANSFER_ID":"Missing Transfer Id","ERR_MISSING_VALUE_TYPE":"Missing Value Type","ERR_MISSING_VALUE":"Value missing","ERR_MODEL_HAS_ACCOUNTS":"Model has accounts","ERR_MODEL_NOT_DEFINED":"Model not defined","ERR_MULTIPLE_ACCOUNT_TYPES":"Multiple account types","ERR_MULTIPLE_ACCOUNTS":"Multiple Accounts","ERR_MULTIPLE_CURRENCIES":"Multiple currencies","ERR_MULTIPLE_MODELS":"Multiple models","ERR_MULTIPLE_SECURITIES":"Multiple securities","ERR_MULTIPLE_SIDES":"Multiple sides","ERR_MULTIPLE_TRANSACTIONS":"Multiple transactions","ERR_MUST_BE_CALLS":"Must Be Calls","ERR_MUST_BE_CREDIT":"Must Be Credit","ERR_MUST_BE_DEBIT":"Transaction must be Debit","ERR_MUST_BE_EVEN":"Must Be Even","ERR_MUST_BE_OPTION":"Must Be Option","ERR_MUST_BE_PUTS":"Must Be Puts","ERR_MUST_ENTER_CREDIT_PRICE":"Credit price must be entered","ERR_MUST_ENTER_DEBIT_PRICE":"Debit price must be entered","ERR_MUST_MARGIN_ACCOUNT":"Margin account is required to complete this transaction","ERR_MUTUAL_FUND_NO_NEW_INVESTORS_ALLOWED":"Mutual Fund No New Investors Allowed","ERR_MUTUAL_FUND_NOT_ALLOWED_TO_CANCEL":"Mutual Fund not allowed to cancel","ERR_MUTUAL_FUND_NOT_ALLOWED":"This fund is not on the list of approved funds","ERR_MUTUAL_FUND_SUBSTITUTE_LIQUIDATION_NOT_SUPPORTED":"Mutual Fund Substitute Liquidation not supported","ERR_MUTUAL_FUND_SUBSTITUTE_VALUE":"Mutual Fund Substitute Value","ERR_MUTUAL_FUND_TIME_EXCEEDS_ORDER_CUTOFF":"Mutual Fund Time exceeds Order cutoff","ERR_MUTUAL_FUND_TRADING_RESTRICTED":"This account does not have access to mutual fund trading","ERR_NAKED_CALLS_NOT_PERMITTED":"Naked Call Positions not Permitted","ERR_NAKED_PUTS_NOT_PERMITTED":"Naked Put Positions not Permitted","ERR_NAME_MISMATCH":"Name mismatch","ERR_NAMES_NOT_AVAILABLE":"Names Not Available","ERR_NEGATIVE_MARKUP":"Markup cannot be negative","ERR_NEW_ORDERS_ARE_RESTRICTED":"New Orders Are Restricted","ERR_NICKELS_ONLY":"Price must be in 5 cent spread","ERR_NO_BANK_ACCOUNT_FOUND":"No Bank Account Found","ERR_NO_BANK_ACCOUNT_WITH_SAME_NAME":"No Bank Account With Same Name","ERR_NO_CHANGES":"No changes","ERR_NO_GTC_ON_INET":"GTC orders are not allowed on ECN","ERR_NO_GTD_PERMITTED":"GTD Orders not Permitted","ERR_NO_ILM_ACCOUNT":"No Ilm Account","ERR_NO_OTCBB_ON_PREPOST":"No OTCBB for pre and post market","ERR_NO_OTCBB":"Cannot short sell an OTC stock","ERR_NO_QUOTE":"No Quote","ERR_NO_SHARES_AVAILABLE":"No shares available","ERR_NO_VALUE":"No Value","ERR_NON_CORE_DISALLOWED":"Non Core Disallowed","ERR_NOT_ACH":"Not Ach","ERR_NOT_MICRODEPOSIT":"Not Microdeposit","ERR_NOT_SHORTABLE":"Not Shortable","ERR_NOTIONAL_EXPECTED":"Notional expected","ERR_OCO_INVALID_ORDER_TYPE":"OCO invalid order type","ERR_OCO_LIMIT_BELOW_STOP":"OCO limit below stop","ERR_OCO_MUST_BE_LIMIT":"OCO must be limit","ERR_OCO_MUST_BE_STOP":"OCO must be stop","ERR_OCO_NEED_DIFFERENT_SECURITY":"OCO needs different security","ERR_OCO_NEED_SAME_SECURITY":"OCO Need same security","ERR_OCO_NEED_SAME_SIZE":"OCO needs same size","ERR_OCO_STOP_BELOW_LIMIT":"OCO stop below limit","ERR_OCO_STOP_TOO_CLOSE":"Oco stop too close","ERR_OCO_VALUE_MUST_BE_EQUAL":"OCO value must be equal","ERR_OCT_CLOSING_PRICE_THRESHOLD":"Oct Closing Price Threshold","ERR_ODD_LOT_ONLY":"This security trades in odd lots only","ERR_OPEN_ORDER_LIMIT":"Open Order Limit","ERR_OPEN_TRANSFERS":"Open Transfers","ERR_OPERATION_NOT_SUPPORTED":"Operation not supported","ERR_OPTION_EXPIRED":"Option Expired","ERR_OPTION_TRADING_RESTRICTED":"Option trading restricted","ERR_OPTIONS_NOT_PERMITTED":"Options not permitted","ERR_ORDER_EXCEEDS_SHARE_LIMIT":"Order exceeds share limit","ERR_ORDER_EXCEEDS_THRESHOLD":"Order exceeds threshold","ERR_ORDER_EXCEEDS_VALUE_LIMIT":"Order exceeds value limit","ERR_ORDER_MISMATCH":"Order mismatch","ERR_ORDER_NOT_FOUND_BUY_LEG":"Order cannot find BUY leg of spread","ERR_ORDER_NOT_FOUND_SELL_LEG":"Order cannot find SELL leg of spread","ERR_ORDER_NOT_FOUND":"Order not found","ERR_ORDER_TIME_RESTRICTED":"Order Time restricted","ERR_ORDER_TOO_LARGE":"Order too large","ERR_ORDER_TYPE_NOT_PERMITTED":"Order Type not permitted","ERR_ORDER_TYPE_NOT_TRADABLE":"Cannot place market orders at this time","ERR_ORDER_VALUE_TOO_SMALL":"Order value too small","ERR_OTC_MARKET_CAP_THRESHOLD":"Otc Market Cap Threshold","ERR_OTC_PRICE_THRESHOLD":"OTC price threshold","ERR_OUTSIDE_MARKET_HOURS":"Cannot trade outside market hours","ERR_PASSPHRASE_NOT_SUPPORTED":"Passphrase not supported","ERR_PASSWORD_COMMONLY_USED":"Password commonly used","ERR_PASSWORD_CONTAINS_SEQUENCE":"Password contains sequenced characters","ERR_PASSWORD_CONTAINS_SUBSEQUENCE":"Password cannot have a sequence of consecutive characters/numbers","ERR_PASSWORD_CONTAINS_USERNAME":"Password contains username","ERR_PASSWORD_DIGITS_ONLY":"Password cannot only contain digits","ERR_PASSWORD_INSUFFICIENT_DIGITS":"Password has insufficient digits","ERR_PASSWORD_INVALID":"Incorrect old password","ERR_PASSWORD_NEEDS_MULTICASE":"Password needs multicase characters","ERR_PASSWORD_RECENTLY_USED":"Password was recently used","ERR_PASSWORD_TOO_SHORT":"Password is too short","ERR_PAST_DELIVERY_DATE":"Past Delivery Date","ERR_PAYMENT_METHODS_NOT_AVAILABLE":"Payment Methods Not Available","ERR_PAYMENT_METHODS_NOT_SUPPORTED":"Payment Methods Not Supported","ERR_PLAID_ERROR":"Plaid Error","ERR_POLICY_UPDATE_NOT_SUPPORTED":"Policy Update not supported","ERR_POSITION_LOADER_NOT_AVAILABLE":"Position Loader not available","ERR_POSITION_NOT_FOUND":"Position not found","ERR_PRE_CORE_DISALLOWED":"Pre Core Disallowed","ERR_PRE_IPO":"Market orders are not allowed on pre-IPO stocks","ERR_PRICE_MOVEMENT_THRESHOLD":"Price movement threshold","ERR_PRICE_TOO_SMALL":"Price too small","ERR_PURPOSE_NOT_SUPPORTED":"Purpose Not Supported","ERR_QUANTITIES_INVALID_INCREMENT":"Invalid Qunatity Increment","ERR_QUANTITIES_NOT_EQUAL":"Spread Quantities are not Equal","ERR_QUANTITY_NOT_SUPPORTED":"Quantity not supported","ERR_QUOTE_COUNTRY_NOT_SUPPORTED":"Quote country not supported","ERR_RECIPIENT_BANK_MISSING":"Recipient Bank Missing","ERR_RECIPIENT_BANK_PRESENT":"Recipient Bank Present","ERR_RECONFIRM_NOT_REQUESTED":"Reconfirm Not Requested","ERR_RELATIONSHIP_NAME_MISMATCH":"Error: Name Mismatch","ERR_REPLACE_ACTIVE_ZERO":"Replace active zero","ERR_REPLACE_IN_PROGRESS":"Replace in progress","ERR_REQUEST_IN_PROGRESS":"Request in progress","ERR_RESTRICTED_ITEM: not-whitelisted":"This stock is restricted from fractional trading. Please round the share quantity to a whole number","ERR_RESTRICTED_ITEM":"This item is whitelisted","ERR_ROUTES_NOT_AVAILABLE":"Routes not available","ERR_SAME_EXPIRATION_MONTH":"Same expiration month","ERR_SAME_UNDERLYING":"Same Underlying","ERR_SANDP_MINIMUM_THRESHOLD_BREACH":"This bond is below investment threshold. Please select bond with higher rating","ERR_SELL_CLOSE_BUY_CLOSE":"Cannot Sell to Close and Buy to Close same position","ERR_SELL_RESTRICTED":"Sell orders for this security are not allowed","ERR_SHARES_LESS_EXECUTED":"Shares less executed","ERR_SHORT_SPREADS_NOT_PERMITTED":"Short Spreadsn not permitted","ERR_SHORTABLE_LIMIT_EXCEEDED":"Shortable Limit Exceeded","ERR_START_TIME_BEFORE_END_TIME":"Start time before end time","ERR_STATE_RESTRICTED":"State Restricted","ERR_STATUS_NOT_IN_W_E_B":"Status Not In WEB","ERR_STOP_AON":"Stop All-Or-None","ERR_STOP_GREATER_LAST":"Stop price must be less than the last price","ERR_STOP_LESS_LAST":"Stop price cannot be less than last price","ERR_SYMBOL_NOT_TRADABLE":"Symbol is not tradable","ERR_THIRD_PARTY_XFER_RESTRICTED":"Third-Party Transfers restricted","ERR_TOO_EARLY_TO_ENTER":"Too early to enter","ERR_TOO_LATE_TO_ENTER":"Too late to enter","ERR_TOO_MANY_DECIMAL_PLACES":"Too many decimal places","ERR_TOO_MANY_DEPOSITS":"Too many deposits","ERR_TOO_MANY_IDENTICAL_REQUESTS":"Too many identical requests","ERR_TOO_MANY_REQUESTS":"Too many requests","ERR_TOO_MANY_SHARES":"Too many shares","ERR_TOO_MANY_WITHDRAWALS":"Too many withdrawals","ERR_TOO_SMALL_FOR_AON":"Quantity too small of All-Or-None","ERR_TRADING_HALTED":"Trading has been halted temporarily","ERR_TRADING_LIMIT":"Trading limit error","ERR_TRADING_RESTRICTED":"Trading Restricted","ERR_TRANSACTION_NOT_SUPPORTED":"Transaction is not supported for this order type","ERR_TRANSFER_METHOD_NOT_SUPPORTED":"Transfer Method not supported","ERR_TRANSFER_NOT_FOUND":"Transfer Not Found","ERR_TRANSFER_REJECTED":"Transfer rejected","ERR_TRIGGER_FAILURE":"Trigger Failure","ERR_UNALLOCATED_ORDERS":"Unallocated orders","ERR_UNEVEN_BREADTH":"Uneven Breadth","ERR_UNEXPECTED_ERROR":"Unexpected Error","ERR_UNKNOWN_ERROR":"Unknown Error","ERR_UNKNOWN_KEY_FOR_USER":"Unknown Key For User","ERR_UNKNOWN_ORDER_TYPE":"Unknown Order Type","ERR_UNKNOWN_PARAMETER_FOR_USER":"Unknown Parameter For User","ERR_UNKNOWN_STRATEGY":"Unknown Strategy","ERR_UNREALISTIC_CREDIT_DEBIT":"Unrealistic credit debit","ERR_UNREALISTIC_CREDIT":"Unrealistic credit","ERR_UNREALISTIC_PERCENTAGE":"Unrealistic percentage","ERR_UNREALISTIC_TOTAL":"Unrealistic total","ERR_UNREALISTIC_VALUE":"Unrealistic value","ERR_UPDATE_REPLACE_BUY_LEG":"UPDATE Replace buy leg","ERR_UPDATE_REPLACE_SELL_LEG":"UPDATE Replace sell leg","ERR_UPDATE_STATUS_G":"Update status G","ERR_VALIDATOR_NOT_AVAILABLE":"Validator not available","ERR_VOLUME_CONSTRAINT_NEEDED":"Volume constraint needed","ERR_VOLUME_CONSTRAINT_NOT_NEEDED":"Volume Constraint not needed","ERR_WASH_TRADE":"Cannot place an order while order is open","ERR_WIRE_WITHDRAWAL_NOT_ALLOWED":"Wire Withdrawal Not Allowed"}');class rn{constructor(e){this.apiClient=e,s8(s$)(this)}list(e,t){return this.apiClient.request({...t,url:`/transfer/relationship/list/${e}`,method:"GET",secure:!0})}getInfo(e,t){return this.apiClient.request({...t,url:"/transfer/relationship/get",method:"GET",params:e,secure:!0})}paymentMethods(e,t){return this.apiClient.request({...t,url:"/transfer/bank/paymentMethods",method:"GET",params:e,secure:!0})}paymentMethodsViaAddress(e,t){return this.apiClient.request({...t,url:"/transfer/bank/paymentMethods",method:"POST",data:e,secure:!0,contentType:rt.Json})}bankCodes(e,t){return this.apiClient.request({...t,url:"/transfer/bank/bankCodes",method:"GET",params:e,secure:!0})}bankCodesViaAddress(e,t){return this.apiClient.request({...t,url:"/transfer/bank/bankCodes",method:"POST",data:e,secure:!0,contentType:rt.Json})}create(e,t){return this.apiClient.request({...t,url:"/transfer/relationship/create",method:"POST",data:e,secure:!0,contentType:rt.Json,responseType:"json"})}wireInformation(e,t){return this.apiClient.request({...t,url:"/transfer/relationship/wire/create",method:"POST",data:e,secure:!0})}bankingRelationship(e,t){return this.apiClient.request({...t,url:"/transfer/relationship/bank/create",method:"POST",data:e,secure:!0})}approve(e,t){return this.apiClient.request({...t,url:"/transfer/relationship/approve",method:"POST",data:e,secure:!0,responseType:"json"})}cancel(e,t,s){return this.apiClient.request({...s,url:`/transfer/relationship/cancel/${e}`,method:"POST",data:t,secure:!0,contentType:rt.Json,responseType:"json"})}rename(e,t,s){return this.apiClient.request({...s,url:`/transfer/relationship/rename/${e}`,method:"POST",data:t,secure:!0,contentType:rt.Json,responseType:"json"})}advisorPolicyUpdate(e,t){return this.apiClient.request({...t,url:"/transfer/relationship/policy",method:"POST",data:e,secure:!0,contentType:rt.Json})}documentUpload(e,t){return this.apiClient.request({...t,url:"/transfer/relationship/wire/upload",method:"POST",data:e,secure:!0,contentType:rt.FormData})}mfaReInitiation(e,t){return this.apiClient.request({...t,url:"/transfer/relationship/wire/2fa/reinitiate",method:"POST",data:e,secure:!0,contentType:rt.Json})}supplementWire(e,t){return this.apiClient.request({...t,url:"/transfer/relationship/wire/supplement",method:"POST",data:e,secure:!0,contentType:rt.Json})}}class ra{constructor(e){this.apiClient=e,s8(s$)(this)}initiate(e){return this.apiClient.request({...e,url:"/iav/init",method:"GET",secure:!0})}initiatePost(e,t,s){return this.apiClient.request({...s,url:"/iav/init",method:"POST",params:e,data:t,secure:!0,contentType:rt.FormData})}complete(e,t){return this.apiClient.request({...t,url:"/iav/complete",method:"POST",data:e,secure:!0})}listBankAccounts(e,t){return this.apiClient.request({...t,url:"/iav/list",method:"POST",data:e,secure:!0,responseType:"json"})}linkBankAccount(e,t){return this.apiClient.request({...t,url:"/iav/link",method:"POST",data:e,secure:!0,contentType:rt.Json,responseType:"json"})}importWithPlaid(e,t){return this.apiClient.request({...t,url:"/iav/import",method:"POST",data:e,secure:!0,contentType:rt.Json})}}class ri{constructor(e){this.apiClient=e,s8(s$)(this)}deposit(e,t){return this.apiClient.request({...t,url:"/transfer/ach/deposit",method:"POST",data:e,secure:!0})}withdraw(e,t){return this.apiClient.request({...t,url:"/transfer/ach/withdraw",method:"POST",data:e,secure:!0})}}class ro{constructor(e){this.apiClient=e,s8(s$)(this)}search(e,t){return this.apiClient.request({...t,url:"/transfer/acat/search",method:"GET",params:e,secure:!0})}cancel(e,t){return this.apiClient.request({...t,url:"/transfer/acat/cancel",method:"POST",data:e,secure:!0,contentType:rt.Json})}initiateSchedule(e,t){return this.apiClient.request({...t,url:"/transfer/acat/initiate",method:"POST",data:e,secure:!0,contentType:rt.Json})}bulkSchedule(e,t){return this.apiClient.request({...t,url:"/transfer/acat/schedule",method:"POST",data:e,secure:!0,contentType:rt.Json})}}class ru{constructor(e){this.apiClient=e,s8(s$)(this)}outgoing(e,t){return this.apiClient.request({...t,url:"/transfer/wire/outgoing",method:"POST",data:e,secure:!0,contentType:rt.Json})}}class rl{constructor(e){this.apiClient=e,s8(s$)(this)}journalRequest(e,t){return this.apiClient.request({...t,url:"/transfer/journal/request",method:"POST",data:e,secure:!0,contentType:rt.Json})}search(e,t){return this.apiClient.request({...t,url:"/transfer/journal/search",method:"POST",data:e,secure:!0,contentType:rt.Json})}}class rd{constructor(e){this.apiClient=e,s8(s$)(this)}transferRequest(e,t){return this.apiClient.request({...t,url:"/transfer/position/request",method:"POST",data:e,secure:!0,contentType:rt.Json})}}class r_{constructor(e){this.apiClient=e,s8(s$)(this)}fundTransfer(e,t,s){return this.apiClient.request({...s,url:`/transfer/bank/${e}`,method:"POST",data:t,secure:!0,contentType:rt.Json})}}class rc{constructor(e){this.apiClient=e,s8(s$)(this)}depositWithdrawal(e,t,s){return this.apiClient.request({...s,url:`/transfer/ict/$${e}`,method:"POST",data:t,secure:!0,contentType:rt.Json})}depositWithdrawalV2(e,t,s){return this.apiClient.request({...s,url:`/transfer/v2/ict/$${e}`,method:"POST",data:t,secure:!0,contentType:rt.Json})}obtainTheReport(e,t){return this.apiClient.request({...t,url:"/transfer/reports/obtain",method:"POST",data:e,secure:!0,contentType:rt.Json})}listReports(e){return this.apiClient.request({...e,url:"/transfer/reports",method:"GET",secure:!0})}}class rp{constructor(e){this.apiClient=e,s8(s$)(this)}withdrawal(e,t){return this.apiClient.request({...t,url:"/transfer/check/outgoing",method:"POST",data:e,secure:!0,contentType:rt.Json})}}class rE{constructor(e){this.apiClient=e,this.relationships=new rn(e),this.instantAccountVerification=new ra(e),this.ach=new ri(e),this.acats=new ro(e),this.wires=new ru(e),this.journals=new rl(e),this.positions=new rd(e),this.bank=new r_(e),this.instantCashTransfers=new rc(e),this.cheques=new rp(e),s8(s$)(this)}transferDetails(e,t,s){return this.apiClient.request({...s,url:`/transfer/details/${e}/${t}`,method:"GET",secure:!0})}transferStatus(e,t,s){return this.apiClient.request({...s,url:`/transfer/status/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}transferStatusModel(e,t){return this.apiClient.request({...t,url:`/transfer/status/model/${e}`,method:"GET",secure:!0,responseType:"json"})}transferStatusBranch(e,t){return this.apiClient.request({...t,url:"/transfer/status/branch",method:"GET",params:e,secure:!0,responseType:"json"})}amountAvailable(e,t){return this.apiClient.request({...t,url:`/transfer/available/${e}`,method:"GET",secure:!0})}legalDocumentTypes(e){return this.apiClient.request({...e,url:"/transfer/legal/types",method:"GET",secure:!0})}legalDocument(e,t){return this.apiClient.request({...t,url:"/transfer/legal/content",method:"GET",params:e,secure:!0})}cancel(e,t){return this.apiClient.request({...t,url:"/transfer/ach/cancel",method:"POST",data:e,secure:!0,contentType:rt.Json})}feesAndCredits(e,t){return this.apiClient.request({...t,url:"/transfer/fees/apply",method:"POST",data:e,secure:!0,contentType:rt.Json})}listFees(e){return this.apiClient.request({...e,url:"/transfer/fees/classifications/fees",method:"GET",secure:!0})}listCredits(e){return this.apiClient.request({...e,url:"/transfer/fees/classifications/credits",method:"GET",secure:!0})}cryptoDepositAddress(e,t){return this.apiClient.request({...t,url:"/transfer/crypto/deposit/wallet/address",method:"GET",data:e,secure:!0,contentType:rt.Json})}cryptoWithdrawalEstimate(e,t){return this.apiClient.request({...t,url:"/transfer/crypto/withdrawal/estimate",method:"POST",data:e,secure:!0,contentType:rt.Json})}cryptoWithdrawal(e,t){return this.apiClient.request({...t,url:"/transfer/crypto/withdraw",method:"POST",data:e,secure:!0,contentType:rt.Json})}}var rR={},rm={};s4(rm,"ZeroHashUnderlyingCurrency",()=>rT),s4(rm,"ZeroHashQuotedCurrency",()=>rh),s4(rm,"ZeroHashAsset",()=>rC),s4(rm,"ZeroHashProductionAsset",()=>rS),s4(rm,"ZeroHashRunHistoryEntityRunTypeEnum",()=>ry),s4(rm,"ZeroHashAccountMovementsEntityMovementTypeEnum",()=>rP),s4(rm,"ZeroHashAccountMovementsEntityOriginEnum",()=>rO),s4(rm,"ZeroHashMovementsEntityMovementTypeEnum",()=>rA),s4(rm,"ZeroHashMovementsEntityTransferTypeEnum",()=>rI),s4(rm,"ZeroHashMovementsEntityOriginEnum",()=>rN),s4(rm,"ZeroHashClobAccountEntityAccountTierEnum",()=>rg),s4(rm,"ZeroHashPostClobAccountBodyAccountTierEnum",()=>rf),s4(rm,"ZeroHashPostClobResponseEntityAccountTierEnum",()=>rU),s4(rm,"ZeroHashPatchPrefundedAccountBodyAccountTierEnum",()=>rL),s4(rm,"ZeroHashPostAwardsResponseSideEnum",()=>rD),s4(rm,"ZeroHashPostAwardsResponseSettlementTypeEnum",()=>rv),s4(rm,"ZeroHashPostAwardsResponseIssuerFeePayorTypeEnum",()=>rw),s4(rm,"ZeroHashPatchDigitalAssetAddressesBodyBlockchainEnum",()=>rM),s4(rm,"ZeroHashPostDepositsFundEntityAccountTypeEnum",()=>rB),s4(rm,"ZeroHashGetRequestForQuoteResponseSideEnum",()=>rH),s4(rm,"ZeroHashPostRequestForQuoteResponseSideEnum",()=>rb),s4(rm,"ZeroHashPostRequestForQuoteResponseSettlementTypeEnum",()=>rF),s4(rm,"ZeroHashPostRequestForQuoteResponseIssuerFeePayorTypeEnum",()=>rG),s4(rm,"ZeroHashPostRequestForQuoteBodySideEnum",()=>rk),s4(rm,"ZeroHashPostRequestForQuoteBodyQuoteExpiryEnum",()=>rZ),s4(rm,"ZeroHashPostRequestForQuoteBodySettlementTypeEnum",()=>rq),s4(rm,"ZeroHashPostExecuteQuoteResponseStatusEnum",()=>rV),s4(rm,"ZeroHashQuoteEntitySideEnum",()=>rj),s4(rm,"ZeroHashQuoteEntitySettlementTypeEnum",()=>rx),s4(rm,"ZeroHashQuoteEntityIssuerFeePayorTypeEnum",()=>rK),s4(rm,"ZeroHashGetParticipantKycStatusResponseIdvEnum",()=>rW),s4(rm,"ZeroHashGetParticipantKycStatusResponseLivenessCheckEnum",()=>rJ),s4(rm,"ZeroHashGetParticipantFullInfoResponseEntityTypeEnum",()=>rY),s4(rm,"ZeroHashGetParticipantFullInfoResponseIdNumberTypeEnum",()=>rQ),s4(rm,"ZeroHashGetParticipantFullInfoResponseKycEnum",()=>rX),s4(rm,"ZeroHashGetParticipantFullInfoResponseSanctionScreeningEnum",()=>r$),s4(rm,"ZeroHashGetParticipantFullInfoResponseIdvEnum",()=>rz),s4(rm,"ZeroHashGetParticipantFullInfoResponseLivenessCheckEnum",()=>r0),s4(rm,"ZeroHashGetParticipantFullInfoResponseEmploymentStatusEnum",()=>r1),s4(rm,"ZeroHashGetParticipantFullInfoResponseIndustryEnum",()=>r5),s4(rm,"ZeroHashGetParticipantFullInfoResponseSourceOfFundsEnum",()=>r2),s4(rm,"ZeroHashGetParticipantFullInfoResponseTypeEnum",()=>r3),s4(rm,"ZeroHashGetParticipantFullInfoResponseRegionEnum",()=>r6),s4(rm,"ZeroHashGetParticipantFullInfoResponseSalaryEnum",()=>r7),s4(rm,"ZeroHashGetParticipantFullInfoResponseSavingsAndInvestmentsEnum",()=>r4),s4(rm,"ZeroHashGetParticipantFullInfoResponseInvestorCategoryEnum",()=>r8),s4(rm,"ZeroHashGetParticipantFullInfoResponseResultEnum",()=>r9),s4(rm,"ZeroHashGetParticipantSanctionScreeningInfoResponseEntityTypeEnum",()=>ne),s4(rm,"ZeroHashPostCustomersBodyIdNumberTypeEnum",()=>nt),s4(rm,"ZeroHashPostCustomersBodyRiskRatingEnum",()=>ns),s4(rm,"ZeroHashPostCustomersBodyKycEnum",()=>nr),s4(rm,"ZeroHashPostCustomersBodySanctionScreeningEnum",()=>nn),s4(rm,"ZeroHashPostCustomersBodyIdvEnum",()=>na),s4(rm,"ZeroHashPostCustomersBodyLivenessCheckEnum",()=>ni),s4(rm,"ZeroHashPostCustomersBodyEmploymentStatusEnum",()=>no),s4(rm,"ZeroHashPostCustomersBodyIndustryEnum",()=>nu),s4(rm,"ZeroHashPostCustomersBodySalaryEnum",()=>nl),s4(rm,"ZeroHashPostCustomersBodySourceOfFundsEnum",()=>nd),s4(rm,"ZeroHashPostCustomersBodySavingsAndInvestmentsEnum",()=>n_),s4(rm,"ZeroHashPostCustomersBodyTypeEnum",()=>nc),s4(rm,"ZeroHashPostCustomersBodyRegionEnum",()=>np),s4(rm,"ZeroHashPostCustomersBodyTxEquivalentAnnualVolumeEnum",()=>nE),s4(rm,"ZeroHashPostCustomersBodyTxFrequencyOfUseEnum",()=>nR),s4(rm,"ZeroHashPostCustomersBodyGrossAnnualIncomeAmountEnum",()=>nm),s4(rm,"ZeroHashPostCustomersBodyTxTypeOfServiceEnum",()=>nT),s4(rm,"ZeroHashPostCustomersBodyTxRelationshipTermWithServiceEnum",()=>nh),s4(rm,"ZeroHashPostCustomersResponseGenderEnum",()=>nC),s4(rm,"ZeroHashPostCustomersResponseIdNumberTypeEnum",()=>nS),s4(rm,"ZeroHashPostCustomersResponseRiskRatingEnum",()=>ny),s4(rm,"ZeroHashPostCustomersResponseKycEnum",()=>nP),s4(rm,"ZeroHashPostCustomersResponseSanctionScreeningEnum",()=>nO),s4(rm,"ZeroHashPostCustomersResponseIdvEnum",()=>nA),s4(rm,"ZeroHashPostCustomersResponseLivenessCheckEnum",()=>nI),s4(rm,"ZeroHashPostCustomersResponseEmploymentStatusEnum",()=>nN),s4(rm,"ZeroHashPostCustomersResponseIndustryEnum",()=>ng),s4(rm,"ZeroHashPostCustomersResponseSourceOfFundsEnum",()=>nf),s4(rm,"ZeroHashPostCustomersResponseTypeEnum",()=>nU),s4(rm,"ZeroHashPostCustomersResponseRegionEnum",()=>nL),s4(rm,"ZeroHashPostCustomersResponsePurposeOfTransactionsEnum",()=>nD),s4(rm,"ZeroHashPostCustomersResponseExpectedMonthlyTransactionCountEnum",()=>nv),s4(rm,"ZeroHashPostCustomersResponseExpectedUsdEquivalentDailyVolumeEnum",()=>nw),s4(rm,"ZeroHashPostCustomersResponseTxEquivalentAnnualVolumeEnum",()=>nM),s4(rm,"ZeroHashPostCustomersResponseTxFrequencyOfUseEnum",()=>nB),s4(rm,"ZeroHashPostCustomersResponseGrossAnnualIncomeAmountEnum",()=>nH),s4(rm,"ZeroHashPostCustomersResponseTxTypeOfServiceEnum",()=>nb),s4(rm,"ZeroHashPostCustomersResponseTxRelationshipTermWithServiceEnum",()=>nF),s4(rm,"ZeroHashPostBeneficiariesBodyIdNumberTypeEnum",()=>nG),s4(rm,"ZeroHashPostBeneficiariesBodyTypeEnum",()=>nk),s4(rm,"ZeroHashPostBeneficiariesBodyRegionEnum",()=>nZ),s4(rm,"ZeroHashPostBeneficiariesBodyEmploymentStatusEnum",()=>nq),s4(rm,"ZeroHashPostBeneficiariesBodyIndustryEnum",()=>nV),s4(rm,"ZeroHashPostBeneficiariesBodySourceOfFundsEnum",()=>nj),s4(rm,"ZeroHashPatchBeneficiariesBodyIdNumberTypeEnum",()=>nx),s4(rm,"ZeroHashPatchBeneficiariesBodyTypeEnum",()=>nK),s4(rm,"ZeroHashPatchBeneficiariesBodyRegionEnum",()=>nW),s4(rm,"ZeroHashPatchBeneficiariesBodyEmploymentStatusEnum",()=>nJ),s4(rm,"ZeroHashPatchBeneficiariesBodyIndustryEnum",()=>nY),s4(rm,"ZeroHashPatchBeneficiariesBodySourceOfFundsEnum",()=>nQ),s4(rm,"ZeroHashPostBeneficiariesResponseIdNumberTypeEnum",()=>nX),s4(rm,"ZeroHashPostBeneficiariesResponseTypeEnum",()=>n$),s4(rm,"ZeroHashPostBeneficiariesResponseRegionEnum",()=>nz),s4(rm,"ZeroHashPostBeneficiariesResponseEmploymentStatusEnum",()=>n0),s4(rm,"ZeroHashPostBeneficiariesResponseIndustryEnum",()=>n1),s4(rm,"ZeroHashPostBeneficiariesResponseSourceOfFundsEnum",()=>n5),s4(rm,"ZeroHashPatchBeneficiariesResponseIdNumberTypeEnum",()=>n2),s4(rm,"ZeroHashPatchBeneficiariesResponseTypeEnum",()=>n3),s4(rm,"ZeroHashPatchBeneficiariesResponseRegionEnum",()=>n6),s4(rm,"ZeroHashPatchBeneficiariesResponseEmploymentStatusEnum",()=>n7),s4(rm,"ZeroHashPatchBeneficiariesResponseIndustryEnum",()=>n4),s4(rm,"ZeroHashPatchBeneficiariesResponseSourceOfFundsEnum",()=>n8),s4(rm,"ZeroHashPatchCustomersBodyGenderEnum",()=>n9),s4(rm,"ZeroHashPatchCustomersBodyIdNumberTypeEnum",()=>ae),s4(rm,"ZeroHashPatchCustomersBodyRiskRatingEnum",()=>at),s4(rm,"ZeroHashPatchCustomersBodyKycEnum",()=>as),s4(rm,"ZeroHashPatchCustomersBodySanctionScreeningEnum",()=>ar),s4(rm,"ZeroHashPatchCustomersBodyIdvEnum",()=>an),s4(rm,"ZeroHashPatchCustomersBodyLivenessCheckEnum",()=>aa),s4(rm,"ZeroHashPatchCustomersBodyEmploymentStatusEnum",()=>ai),s4(rm,"ZeroHashPatchCustomersBodyIndustryEnum",()=>ao),s4(rm,"ZeroHashPatchCustomersBodySourceOfFundsEnum",()=>au),s4(rm,"ZeroHashPatchCustomersBodyTypeEnum",()=>al),s4(rm,"ZeroHashPatchCustomersBodyRegionEnum",()=>ad),s4(rm,"ZeroHashPatchCustomersBodySalaryEnum",()=>a_),s4(rm,"ZeroHashPatchCustomersBodySavingsAndInvestmentsEnum",()=>ac),s4(rm,"ZeroHashPatchCustomersBodyInvestorCategoryEnum",()=>ap),s4(rm,"ZeroHashPatchCustomersBodyPurposeOfTransactionsEnum",()=>aE),s4(rm,"ZeroHashPatchCustomersBodyExpectedMonthlyTransactionCountEnum",()=>aR),s4(rm,"ZeroHashPatchCustomersBodyExpectedUsdEquivalentDailyVolumeEnum",()=>am),s4(rm,"ZeroHashPatchCustomersBodyTxEquivalentAnnualVolumeEnum",()=>aT),s4(rm,"ZeroHashPatchCustomersBodyTxFrequencyOfUseEnum",()=>ah),s4(rm,"ZeroHashPatchCustomersBodyGrossAnnualIncomeAmountEnum",()=>aC),s4(rm,"ZeroHashPatchCustomersBodyTxTypeOfServiceEnum",()=>aS),s4(rm,"ZeroHashPatchCustomersBodyTxRelationshipTermWithServiceEnum",()=>ay),s4(rm,"ZeroHashLockCustomersBodyReasonCodeEnum",()=>aP),s4(rm,"ZeroHashPostCustomersMinorBodyIdNumberTypeEnum",()=>aO),s4(rm,"ZeroHashPostCustomersMinorBodyCustodianRelationshipEnum",()=>aA),s4(rm,"ZeroHashPostCustomersMinorResponseIdNumberTypeEnum",()=>aI),s4(rm,"ZeroHashPostCustomersMinorResponseCustodianRelationshipEnum",()=>aN),s4(rm,"ZeroHashPatchMinorBodyIdNumberTypeEnum",()=>ag),s4(rm,"ZeroHashPatchMinorBodyRiskRatingEnum",()=>af),s4(rm,"ZeroHashPatchMinorResponseIdNumberTypeEnum",()=>aU),s4(rm,"ZeroHashPatchMinorResponseRiskRatingEnum",()=>aL),s4(rm,"ZeroHashPostDocumentsBodyDocumentTypeEnum",()=>aD),s4(rm,"ZeroHashPostEntityBodyEntityTypeEnum",()=>av),s4(rm,"ZeroHashPostEntityBodyRiskRatingEnum",()=>aw),s4(rm,"ZeroHashPostEntityBodySanctionScreeningEnum",()=>aM),s4(rm,"ZeroHashPostEntityResponseEntityTypeEnum",()=>aB),s4(rm,"ZeroHashPostEntityResponseRiskRatingEnum",()=>aH),s4(rm,"ZeroHashPostEntityResponseSanctionScreeningEnum",()=>ab),s4(rm,"ZeroHashPostEntityDocumentsBodyDocumentTypeEnum",()=>aF),s4(rm,"ZeroHashControlPersonEntityIdNumberTypeEnum",()=>aG),s4(rm,"ZeroHashControlPersonEntitySanctionScreeningEnum",()=>ak),s4(rm,"ZeroHashControlPersonEntityKycEnum",()=>aZ),s4(rm,"ZeroHashControlPersonEntityControlPersonEnum",()=>aq),s4(rm,"ZeroHashControlPersonResponseEntityIdNumberTypeEnum",()=>aV),s4(rm,"ZeroHashControlPersonResponseEntitySanctionScreeningEnum",()=>aj),s4(rm,"ZeroHashControlPersonResponseEntityKycEnum",()=>ax),s4(rm,"ZeroHashControlPersonResponseEntityControlPersonEnum",()=>aK),s4(rm,"ZeroHashBeneficialOwnerEntityIdNumberTypeEnum",()=>aW),s4(rm,"ZeroHashBeneficialOwnerEntitySanctionScreeningEnum",()=>aJ),s4(rm,"ZeroHashBeneficialOwnerEntityKycEnum",()=>aY),s4(rm,"ZeroHashBeneficialOwnerEntityBeneficialOwnerEnum",()=>aQ),s4(rm,"ZeroHashBeneficialOwnerResponseEntityIdNumberTypeEnum",()=>aX),s4(rm,"ZeroHashBeneficialOwnerResponseEntitySanctionScreeningEnum",()=>a$),s4(rm,"ZeroHashBeneficialOwnerResponseEntityKycEnum",()=>az),s4(rm,"ZeroHashBeneficialOwnerResponseEntityBeneficialOwnerEnum",()=>a0),s4(rm,"ZeroHashPostTradesBodyProductTypeEnum",()=>a1),s4(rm,"ZeroHashPostTradesBodyTradeTypeEnum",()=>a5),s4(rm,"ZeroHashPostTradesBodyTradeStateEnum",()=>a2),s4(rm,"ZeroHashPostTradesBodyOriginEnum",()=>a3),s4(rm,"ZeroHashPostTradesBodySideEnum",()=>a6),s4(rm,"ZeroHashPostTradesBodyLiquidityIndicatorEnum",()=>a7),s4(rm,"ZeroHashPostTradesBodySettlementStateEnum",()=>a4),s4(rm,"ZeroHashTradeResponseEntityProductTypeEnum",()=>a8),s4(rm,"ZeroHashTradeResponseEntityTradeTypeEnum",()=>a9),s4(rm,"ZeroHashTradeResponseEntityTradeStateEnum",()=>ie),s4(rm,"ZeroHashTradeResponseEntityOriginEnum",()=>it),s4(rm,"ZeroHashTradeResponseEntitySideEnum",()=>is),s4(rm,"ZeroHashTradeResponseEntityLiquidityIndicatorEnum",()=>ir),s4(rm,"ZeroHashTradeResponseEntitySettlementStateEnum",()=>ia),s4(rm,"ZeroHashTransferEntityStatusEnum",()=>ii),s4(rm,"ZeroHashExecuteResponseOnChainStatusEnum",()=>io),s4(rm,"ZeroHashFiatAccountsEntityStatusEnum",()=>iu),s4(rm,"ZeroHashWithdrawalRequestEntityOnChainStatusEnum",()=>il),s4(rm,"ZeroHashPostCreateExternalAccountRequestTypeEnum",()=>id),s4(rm,"ZeroHashPostCreateExternalAccountRequestNetworkEnum",()=>i_),s4(rm,"ZeroHashPostCreateExternalAccountRequestTypeEnum1",()=>ic),s4(rm,"ZeroHashPostCreateExternalAccountRequestNetworkEnum1",()=>ip),s4(rm,"ZeroHashPostCreateExternalAccountResponseStatusEnum",()=>iE),s4(rm,"ZeroHashPostCreateExternalAccountResponseStatusEnum1",()=>iR),s4(rm,"ZeroHashPostCreateExternalAccountResponseNetworkEnum",()=>im),s4(rm,"ZeroHashPostCloseExternalAccountResponseAccountTypeEnum",()=>iT),s4(rm,"ZeroHashPostCloseExternalAccountResponseStatusEnum",()=>ih),s4(rm,"ZeroHashPostPaymentsRequestTransferTypeEnum",()=>iC),s4(rm,"ZeroHashPostPaymentsRequestNetworkEnum",()=>iS),s4(rm,"ZeroHashPostPaymentsRequestPaymentTypeEnum",()=>iy),s4(rm,"ZeroHashPostPaymentsResponseStatusEnum",()=>iP),s4(rm,"ZeroHashPostPaymentsResponseTransferTypeEnum",()=>iO),s4(rm,"ZeroHashPostPaymentsResponseStatusEnum1",()=>iA),s4(rm,"ZeroHashExternalAccountAccountTypeEnum",()=>iI),s4(rm,"ZeroHashExternalAccountStatusEnum",()=>iN),s4(rm,"ZeroHashExternalAccountStatusEnum1",()=>ig),s4(rm,"ZeroHashExternalAccountTypeEnum",()=>iU),s4(rm,"ZeroHashExternalAccountNetworkEnum",()=>iL),s4(rm,"ZeroHashAchTransactionStatusStatusEnum",()=>iD),s4(rm,"ZeroHashAchTransactionStatusTransferTypeEnum",()=>iv),s4(rm,"ZeroHashAchTransactionStatusVelocityStatusEnum",()=>iw),s4(rm,"ZeroHashAchStatusStatusEnum",()=>iM),s4(rm,"ZeroHashAchTransactionHistoryNetworkEnum",()=>iB),s4(rm,"ZeroHashAchTransactionHistoryTransferTypeEnum",()=>iH),s4(rm,"ZeroHashPendingAchTransactionsTransferTypeEnum",()=>ib),s4(rm,"ZeroHashPaymentPaymentTypeEnum",()=>iF),s4(rm,"ZeroHashPostCwExecuteQuoteResponseStatusEnum",()=>iG),s4(rm,"ZeroHashCwQuoteEntitySideEnum",()=>ik),s4(rm,"ZeroHashCwQuoteEntityExecuteSideEnum",()=>iZ),s4(rm,"ZeroHashPostCwRequestForQuoteBodySideEnum",()=>iq),s4(rm,"ZeroHashPostPaymentsRequestForQuoteRequestSideEnum",()=>iV),s4(rm,"ZeroHashPostPaymentsRequestForQuoteRequestQuoteExpiryEnum",()=>ij),s4(rm,"ZeroHashPostPaymentsExecutePaymentResponseStatusEnum",()=>ix),s4(rm,"ZeroHashPostPaymentsRetryResponseStatusEnum",()=>iK),s4(rm,"ZeroHashGetTradesParamsTradeStateEnum",()=>iW),s4(rm,"ZeroHashGetTradesParamsSettlementStateEnum",()=>iJ),s4(rm,"ZeroHashGetMovementsParamsMovementTypeEnum",()=>iY),s4(rm,"ZeroHashGetMovementsParamsTransferTypeEnum",()=>iQ),s4(rm,"ZeroHashGetWithdrawalRequestsParamsOnChainStatusEnum",()=>iX),s4(rm,"ZeroHashGetParticipantsParamsStatusEnum",()=>i$),s4(rm,"ZeroHashGetQuoteParamsSideEnum",()=>iz),s4(rm,"ZeroHashGetExternalAccountsParamsAccountTypeEnum",()=>i0),s4(rm,"ZeroHashGetExternalAccountsParamsAccountStatusEnum",()=>i1),s4(rm,"ZeroHashGetFiatTransactionsParamsTransferTypeEnum",()=>i5),s4(rm,"ZeroHashGetFiatTransactionStatusesParamsStatusEnum",()=>i2),s4(rm,"ZeroHashGetQuoteParams2SideEnum",()=>i3),s4(rm,"ZeroHashGetOhlcvDataParamsTimeFrameEnum",()=>i6);var rT=((t={}).AAVEETH="AAVE.ETH",t.BATETH="BAT.ETH",t.BCH="BCH",t.BTC="BTC",t.BUSD="BUSD",t.CEL="CEL",t.CUSDC="CUSDC",t.CVC="CVC",t.CZRX="CZRX",t.DAI="DAI",t.ENJ="ENJ",t.EOS="EOS",t.ETH="ETH",t.KIN="KIN",t.KNC="KNC",t.LINK="LINK",t.LTC="LTC",t.OMG="OMG",t.USDP="USDP",t.REP="REP",t.STORJ="STORJ",t.TUSD="TUSD",t.USDCETH="USDC.ETH",t.USDT="USDT",t.XLM="XLM",t.XRP="XRP",t.ZRX="ZRX",t.CAD="CAD",t.EUR="EUR",t.GBP="GBP",t.JPY="JPY",t.MXN="MXN",t.USD="USD",t.ZAR="ZAR",t),rh=((s={}).USD="USD",s.EUR="EUR",s.GBP="GBP",s.BRL="BRL",s),rC=((r={}).AAVEETH="AAVE.ETH",r.BATETH="BAT.ETH",r.BCH="BCH",r.BTC="BTC",r.BUSD="BUSD",r.CEL="CEL",r.CUSDC="CUSDC",r.CVC="CVC",r.CZRX="CZRX",r.DAI="DAI",r.ENJ="ENJ",r.EOS="EOS",r.ETH="ETH",r.KIN="KIN",r.KNC="KNC",r.LINK="LINK",r.LTC="LTC",r.OMG="OMG",r.USDP="USDP",r.REP="REP",r.STORJ="STORJ",r.TUSD="TUSD",r.USDCETH="USDC.ETH",r.USDT="USDT",r.XLM="XLM",r.XRP="XRP",r.ZRX="ZRX",r),rS=((n={}).AAVEETH="AAVE.ETH",n.BATETH="BAT.ETH",n.BCH="BCH",n.BTC="BTC",n.BUSD="BUSD",n.CEL="CEL",n.CUSDC="CUSDC",n.CVC="CVC",n.CZRX="CZRX",n.DAI="DAI",n.ENJ="ENJ",n.EOS="EOS",n.ETH="ETH",n.KIN="KIN",n.KNC="KNC",n.LINK="LINK",n.LTC="LTC",n.OMG="OMG",n.USDP="USDP",n.REP="REP",n.STORJ="STORJ",n.TUSD="TUSD",n.USDCETH="USDC.ETH",n.USDT="USDT",n.XLM="XLM",n.XRP="XRP",n.ZRX="ZRX",n),ry=((a={}).Deposit="deposit",a.ExecutionFee="execution_fee",a.NetworkFee="network_fee",a.Settlement="settlement",a.Transfer="transfer",a.Withdrawal="withdrawal",a),rP=((i={}).InitialMargin="initial_margin",i.Deposit="deposit",i.ExecutionFee="execution_fee",i.FinalSettlement="final_settlement",i.FinalSettlementDefault="final_settlement_default",i.FinalSettlementDefaultFallback="final_settlement_default_fallback",i.FinalSettlementDefaultPartial="final_settlement_default_partial",i.FinalSettlementOutstanding="final_settlement_outstanding",i.InterestPayment="interest_payment",i.CollateralizeLoan="collateralize_loan",i.LoanCollateralReturn="loan_collateral_return",i.NetworkFee="network_fee",i.OtcFinalSettlement="otc_final_settlement",i.PrincipalSwap="principal_swap",i.Repayment="repayment",i.Transfer="transfer",i.VariationMargin="variation_margin",i.VariationMarginCall="variation_margin_call",i.Withdrawal="withdrawal",i.WithdrawalConfirmed="withdrawal_confirmed",i.WithdrawalPending="withdrawal_pending",i.Commission="commission",i.BankFee="bank_fee",i.TransactionFee="transaction_fee",i),rO=((o={}).RestApi="rest_api",o.Sdk="sdk",o.Secondary="secondary",o),rA=((u={}).InitialMargin="initial_margin",u.Deposit="deposit",u.ExecutionFee="execution_fee",u.FinalSettlement="final_settlement",u.FinalSettlementDefault="final_settlement_default",u.FinalSettlementDefaultFallback="final_settlement_default_fallback",u.FinalSettlementDefaultPartial="final_settlement_default_partial",u.FinalSettlementOutstanding="final_settlement_outstanding",u.InterestPayment="interest_payment",u.CollateralizeLoan="collateralize_loan",u.LoanCollateralReturn="loan_collateral_return",u.NetworkFee="network_fee",u.OtcFinalSettlement="otc_final_settlement",u.PrincipalSwap="principal_swap",u.Repayment="repayment",u.Transfer="transfer",u.VariationMargin="variation_margin",u.VariationMarginCall="variation_margin_call",u.Withdrawal="withdrawal",u.WithdrawalConfirmed="withdrawal_confirmed",u.WithdrawalPending="withdrawal_pending",u.Commission="commission",u.BankFee="bank_fee",u.TransactionFee="transaction_fee",u),rI=((l={}).TradeAllocation="trade_allocation",l.CommissionAllocation="commission_allocation",l.CommissionCorrection="commission_correction",l.RevenueCapture="revenue_capture",l.Fund="fund",l.Prefunded="prefunded",l),rN=((d={}).RestApi="rest_api",d.Sdk="sdk",d.Secondary="secondary",d),rg=((_={}).Lite="lite",_.Pro="pro",_),rf=((c={}).Lite="lite",c.Pro="pro",c),rU=((p={}).Lite="lite",p.Pro="pro",p),rL=((E={}).Lite="lite",E.Pro="pro",E),rD=((R={}).Buy="buy",R.Sell="sell",R),rv=((m={}).STANDARD="STANDARD",m),rw=((T={}).CUSTOMER="CUSTOMER",T.PLATFORM="PLATFORM",T),rM=((h={}).Ethereum="ethereum",h.Avalanche="avalanche",h.Arbitrum="arbitrum",h.Optimism="optimism",h.Polygon="polygon",h),rB=((C={}).Available="available",C.Collateral="collateral",C.Payable="payable",C.Receivable="receivable",C.CollateralDeficiency="collateral_deficiency",C),rH=((S={}).Buy="buy",S.Sell="sell",S),rb=((y={}).Buy="buy",y.Sell="sell",y),rF=((P={}).STANDARD="STANDARD",P),rG=((O={}).CUSTOMER="CUSTOMER",O.PLATFORM="PLATFORM",O),rk=((A={}).Buy="buy",A.Sell="sell",A),rZ=((I={}).Value5S="5s",I.Value30S="30s",I.Value1M="1m",I.Value5M="5m",I.Value10M="10m",I.Value15M="15m",I),rq=((N={}).STANDARD="STANDARD",N),rV=((g={}).Completed="Completed",g),rj=((f={}).Buy="buy",f.Sell="sell",f),rx=((U={}).STANDARD="STANDARD",U),rK=((L={}).CUSTOMER="CUSTOMER",L.PLATFORM="PLATFORM",L),rW=((D={}).Unknown="unknown",D.Pass="pass",D.Fail="fail",D.NotApplicable="not_applicable",D),rJ=((v={}).Unknown="unknown",v.Pass="pass",v.Fail="fail",v.NotApplicable="not_applicable",v),rY=((w={}).Corporation="corporation",w.Llc="llc",w.Partnership="partnership",w.SoleProprietorship="sole_proprietorship",w.Other="other",w.NonProfit="non_profit",w.PublicOrSemiPublicAdministrative="public_or_semi_public_administrative",w.Trust="trust",w.Cooperation="cooperation",w.CompanyWithLimitedLiability="company_with_limited_liability",w),rQ=((M={}).Ssn="ssn",M.Ein="ein",M.UsDriversLicense="us_drivers_license",M.UsPassport="us_passport",M.UsPassportCard="us_passport_card",M.UsPermanentResidentCard="us_permanent_resident_card",M.UsBorderCrossingCard="us_border_crossing_card",M.UsAlienCard="us_alien_card",M.UsIdCard="us_id_card",M.NonUsPassport="non_us_passport",M.NonUsOther="non_us_other",M.Passport="passport",M.EuDriversLicense="eu_drivers_license",M.LegalEntityIdentifier="legal_entity_identifier",M.ChamberOfCommerceNumber="chamber_of_commerce_number",M.ValueAddedTaxNumber="value_added_tax_number",M),rX=((B={}).Pass="pass",B.Fail="fail",B),r$=((H={}).Pass="pass",H.Fail="fail",H),rz=((b={}).Pass="pass",b.Fail="fail",b),r0=((F={}).Pass="pass",F.Fail="fail",F),r1=((G={}).FullTime="full_time",G.PartTime="part_time",G.SelfEmployed="self_employed",G.Unemployed="unemployed",G.Retired="retired",G.Student="student",G),r5=((k={}).AdultEntertainment="adult_entertainment",k.AdvertisingMediaMarketing="advertising_media_marketing",k.Agriculture="agriculture",k.ArtsEntertainment="arts_entertainment",k.Charity="charity",k.ConstructionManufacturing="construction_manufacturing",k.Consulting="consulting",k.ConsumerProductsServices="consumer_products_services",k.CryptoMining="crypto_mining",k.Ecommerce="ecommerce",k.Education="education",k.Electronics="electronics",k.Fashion="fashion",k.FinancialServices="financial_services",k.FoodBeverages="food_beverages",k.GovernmentAgency="government_agency",k.Insurance="insurance",k.JewelryGemstones="jewelry_gemstones",k.LawEnforcement="law_enforcement",k.LegalServices="legal_services",k.MiningEnergyChemicals="mining_energy_chemicals",k.OnlineGamingGambling="online_gaming_gambling",k.Pharmaceuticals="pharmaceuticals",k.PropertyRealEstate="property_real_estate",k.RetailWholesale="retail_wholesale",k.Transportation="transportation",k.TravelCarHire="travel_car_hire",k.WeaponsDefenseAerospace="weapons_defense_aerospace",k.Other="other",k),r2=((Z={}).Salary="salary",Z.Savings="savings",Z.PensionRetirement="pension_retirement",Z.Inheritance="inheritance",Z.Investment="investment",Z.Loan="loan",Z.Gift="gift",Z.Other="other",Z),r3=((q={}).FundAutoConvert="fund_auto_convert",q.PaymentServicesTerms="payment_services_terms",q.AccountLink="account_link",q),r6=((V={}).Worldwide="worldwide",V.Us="us",V.Brazil="brazil",V.Uk="uk",V.Eu="eu",V),r7=((j={}).Under3500="under_3500",j.Between35001And75000="between_35001_and_75000",j.Between75001And125000="between_75001_and_125000",j.Between125001And200000="between_125001_and_200000",j.Over200000="over_200000",j),r4=((x={}).Under10000="under_10000",x.Between10001And25000="between_10001_and_25000",x.Between25001And50000="between_25001_and_50000",x.Between50001And100000="between_50001_and_100000",x.Between100001And250000="between_100001_and_250000",x.Over250000="over_250000",x),r8=((K={}).Restricted="restricted",K.HighNetWorthIndividual="high_net_worth_individual",K.CertifiedSophisticatedInvestor="certified_sophisticated_investor",K),r9=((W={}).Pass="pass",W.Fail="fail",W),ne=((J={}).Corporation="corporation",J.Llc="llc",J.Partnership="partnership",J.SoleProprietorship="sole_proprietorship",J.Other="other",J.NonProfit="non_profit",J.PublicOrSemiPublicAdministrative="public_or_semi_public_administrative",J.Trust="trust",J.Cooperation="cooperation",J.CompanyWithLimitedLiability="company_with_limited_liability",J),nt=((Y={}).UsDriversLicense="us_drivers_license",Y.UsPassport="us_passport",Y.UsPassportCard="us_passport_card",Y.UsPermanentResidentCard="us_permanent_resident_card",Y.UsBorderCrossingCard="us_border_crossing_card",Y.UsAlienCard="us_alien_card",Y.UsIdCard="us_id_card",Y.NonUsPassport="non_us_passport",Y.NonUsOther="non_us_other",Y.Passport="passport",Y.EuDriversLicense="eu_drivers_license",Y),ns=((Q={}).Low="low",Q.Medium="medium",Q.High="high",Q),nr=((X={}).Pass="pass",X.Fail="fail",X),nn=(($={}).Pass="pass",$.Fail="fail",$),na=((z={}).Pass="pass",z.Fail="fail",z),ni=((ee={}).Pass="pass",ee.Fail="fail",ee),no=((et={}).FullTime="full_time",et.PartTime="part_time",et.SelfEmployed="self_employed",et.Unemployed="unemployed",et.Retired="retired",et.Student="student",et),nu=((es={}).AdultEntertainment="adult_entertainment",es.AdvertisingMediaMarketing="advertising_media_marketing",es.Agriculture="agriculture",es.ArtsEntertainment="arts_entertainment",es.Charity="charity",es.ConstructionManufacturing="construction_manufacturing",es.Consulting="consulting",es.ConsumerProductsServices="consumer_products_services",es.CryptoMining="crypto_mining",es.Ecommerce="ecommerce",es.Education="education",es.Electronics="electronics",es.Fashion="fashion",es.FinancialServices="financial_services",es.FoodBeverages="food_beverages",es.GovernmentAgency="government_agency",es.Insurance="insurance",es.JewelryGemstones="jewelry_gemstones",es.LawEnforcement="law_enforcement",es.LegalServices="legal_services",es.MiningEnergyChemicals="mining_energy_chemicals",es.OnlineGamingGambling="online_gaming_gambling",es.Pharmaceuticals="pharmaceuticals",es.PropertyRealEstate="property_real_estate",es.RetailWholesale="retail_wholesale",es.Transportation="transportation",es.TravelCarHire="travel_car_hire",es.WeaponsDefenseAerospace="weapons_defense_aerospace",es.Other="other",es),nl=((er={}).Under3500="under_3500",er.Between35001And75000="between_35001_and_75000",er.Between75001And125000="between_75001_and_125000",er.Between125001And200000="between_125001_and_200000",er.Over200000="over_200000",er),nd=((en={}).Salary="salary",en.Savings="savings",en.PensionRetirement="pension_retirement",en.Inheritance="inheritance",en.Investment="investment",en.Loan="loan",en.Gift="gift",en.Other="other",en),n_=((ea={}).Under10000="under_10000",ea.Between10001And25000="between_10001_and_25000",ea.Between25001And50000="between_25001_and_50000",ea.Between50001And100000="between_50001_and_100000",ea.Between100001And250000="between_100001_and_250000",ea.Over250000="over_250000",ea),nc=((ei={}).FundAutoConvert="fund_auto_convert",ei.PaymentServicesTerms="payment_services_terms",ei.AccountLink="account_link",ei),np=((eo={}).Worldwide="worldwide",eo.Us="us",eo.Brazil="brazil",eo.Uk="uk",eo.Eu="eu",eo),nE=((eu={}).UpTo5K="up_to_5k",eu.Value5KTo25K="5k_to_25k",eu.Value25KTo100K="25k_to_100k",eu.Value100KAndUp="100k_and_up",eu),nR=((el={}).UpTo12="up_to_12",el.Value12To53="12_to_53",el.Value53To365="53_to_365",el.Value365AndUp="365_and_up",el),nm=((ed={}).UpTo5K="up_to_5k",ed.Value5KTo25K="5k_to_25k",ed.Value25KTo100K="25k_to_100k",ed.Value100KAndUp="100k_and_up",ed),nT=((e_={}).Unknown="unknown",e_.BuyCrypto="buy_crypto",e_.SellCrypto="sell_crypto",e_.SwapCrypto="swap_crypto",e_.BuyCryptoFiat="buy_crypto_fiat",e_.SellCryptoFiat="sell_crypto_fiat",e_.TradeCryptoCrypto="trade_crypto_crypto",e_.PeerToPeer="peer_to_peer",e_),nh=((ec={}).LongTerm="long_term",ec.ShortTerm="short_term",ec.Other="other",ec),nC=((ep={}).Male="male",ep.Female="female",ep.Other="other",ep),nS=((eE={}).UsDriversLicense="us_drivers_license",eE.UsPassport="us_passport",eE.UsPassportCard="us_passport_card",eE.UsPermanentResidentCard="us_permanent_resident_card",eE.UsBorderCrossingCard="us_border_crossing_card",eE.UsAlienCard="us_alien_card",eE.UsIdCard="us_id_card",eE.NonUsPassport="non_us_passport",eE.NonUsOther="non_us_other",eE.Passport="passport",eE.EuDriversLicense="eu_drivers_license",eE),ny=((eR={}).Low="low",eR.Medium="medium",eR.High="high",eR),nP=((em={}).Pass="pass",em.Fail="fail",em),nO=((eT={}).Pass="pass",eT.Fail="fail",eT),nA=((eh={}).Pass="pass",eh.Fail="fail",eh),nI=((eC={}).Pass="pass",eC.Fail="fail",eC),nN=((eS={}).FullTime="full_time",eS.PartTime="part_time",eS.SelfEmployed="self_employed",eS.Unemployed="unemployed",eS.Retired="retired",eS.Student="student",eS),ng=((ey={}).AdultEntertainment="adult_entertainment",ey.AdvertisingMediaMarketing="advertising_media_marketing",ey.Agriculture="agriculture",ey.ArtsEntertainment="arts_entertainment",ey.Charity="charity",ey.ConstructionManufacturing="construction_manufacturing",ey.Consulting="consulting",ey.ConsumerProductsServices="consumer_products_services",ey.CryptoMining="crypto_mining",ey.Ecommerce="ecommerce",ey.Education="education",ey.Electronics="electronics",ey.Fashion="fashion",ey.FinancialServices="financial_services",ey.FoodBeverages="food_beverages",ey.GovernmentAgency="government_agency",ey.Insurance="insurance",ey.JewelryGemstones="jewelry_gemstones",ey.LawEnforcement="law_enforcement",ey.LegalServices="legal_services",ey.MiningEnergyChemicals="mining_energy_chemicals",ey.OnlineGamingGambling="online_gaming_gambling",ey.Pharmaceuticals="pharmaceuticals",ey.PropertyRealEstate="property_real_estate",ey.RetailWholesale="retail_wholesale",ey.Transportation="transportation",ey.TravelCarHire="travel_car_hire",ey.WeaponsDefenseAerospace="weapons_defense_aerospace",ey.Other="other",ey),nf=((eP={}).Salary="salary",eP.Savings="savings",eP.PensionRetirement="pension_retirement",eP.Inheritance="inheritance",eP.Investment="investment",eP.Loan="loan",eP.Gift="gift",eP.Other="other",eP),nU=((eO={}).FundAutoConvert="fund_auto_convert",eO.PaymentServicesTerms="payment_services_terms",eO.AccountLink="account_link",eO),nL=((eA={}).Worldwide="worldwide",eA.Us="us",eA.Brazil="brazil",eA.Uk="uk",eA.Eu="eu",eA),nD=((eI={}).FinvestPersonal="finvest_personal",eI.FinvestBusiness="finvest_business",eI.PaymentsPersonal="payments_personal",eI.PaymentsBusiness="payments_business",eI.BillpayPersonal="billpay_personal",eI.BillpayBusiness="billpay_business",eI.P2PUs="p2p_us",eI.P2PIntl="p2p_intl",eI.Other="other",eI),nv=((eN={}).Under10="under_10",eN.Between11And100="between_11_and_100",eN.Between101And1000="between_101_and_1000",eN.Over1000="over_1000",eN),nw=((eg={}).Under1000="under_1000",eg.Between1001And10000="between_1001_and_10000",eg.Between10001And100000="between_10001_and_100000",eg.Over100000="over_100000",eg),nM=((ef={}).UpTo5K="up_to_5k",ef.Value5KTo25K="5k_to_25k",ef.Value25KTo100K="25k_to_100k",ef.Value100KAndUp="100k_and_up",ef),nB=((eU={}).UpTo12="up_to_12",eU.Value12To53="12_to_53",eU.Value53To365="53_to_365",eU.Value365AndUp="365_and_up",eU),nH=((eL={}).UpTo5K="up_to_5k",eL.Value5KTo25K="5k_to_25k",eL.Value25KTo100K="25k_to_100k",eL.Value100KAndUp="100k_and_up",eL),nb=((eD={}).Unknown="unknown",eD.BuyCrypto="buy_crypto",eD.SellCrypto="sell_crypto",eD.SwapCrypto="swap_crypto",eD.BuyCryptoFiat="buy_crypto_fiat",eD.SellCryptoFiat="sell_crypto_fiat",eD.TradeCryptoCrypto="trade_crypto_crypto",eD.PeerToPeer="peer_to_peer",eD),nF=((ev={}).LongTerm="long_term",ev.ShortTerm="short_term",ev.Other="other",ev),nG=((ew={}).UsDriversLicense="us_drivers_license",ew.UsPassport="us_passport",ew.UsPassportCard="us_passport_card",ew.UsPermanentResidentCard="us_permanent_resident_card",ew.UsBorderCrossingCard="us_border_crossing_card",ew.UsAlienCard="us_alien_card",ew.UsIdCard="us_id_card",ew.NonUsPassport="non_us_passport",ew.NonUsOther="non_us_other",ew.Passport="passport",ew.EuDriversLicense="eu_drivers_license",ew.LegalEntityIdentifier="legal_entity_identifier",ew.ChamberOfCommerceNumber="chamber_of_commerce_number",ew.ValueAddedTaxNumber="value_added_tax_number",ew),nk=((eM={}).FundAutoConvert="fund_auto_convert",eM.PaymentServicesTerms="payment_services_terms",eM.AccountLink="account_link",eM),nZ=((eB={}).Worldwide="worldwide",eB.Us="us",eB.Brazil="brazil",eB.Uk="uk",eB.Eu="eu",eB),nq=((eH={}).FullTime="full_time",eH.PartTime="part_time",eH.SelfEmployed="self_employed",eH.Unemployed="unemployed",eH.Retired="retired",eH.Student="student",eH),nV=((eb={}).AdultEntertainment="adult_entertainment",eb.AdvertisingMediaMarketing="advertising_media_marketing",eb.Agriculture="agriculture",eb.ArtsEntertainment="arts_entertainment",eb.Charity="charity",eb.ConstructionManufacturing="construction_manufacturing",eb.Consulting="consulting",eb.ConsumerProductsServices="consumer_products_services",eb.CryptoMining="crypto_mining",eb.Ecommerce="ecommerce",eb.Education="education",eb.Electronics="electronics",eb.Fashion="fashion",eb.FinancialServices="financial_services",eb.FoodBeverages="food_beverages",eb.GovernmentAgency="government_agency",eb.Insurance="insurance",eb.JewelryGemstones="jewelry_gemstones",eb.LawEnforcement="law_enforcement",eb.LegalServices="legal_services",eb.MiningEnergyChemicals="mining_energy_chemicals",eb.OnlineGamingGambling="online_gaming_gambling",eb.Pharmaceuticals="pharmaceuticals",eb.PropertyRealEstate="property_real_estate",eb.RetailWholesale="retail_wholesale",eb.Transportation="transportation",eb.TravelCarHire="travel_car_hire",eb.WeaponsDefenseAerospace="weapons_defense_aerospace",eb.Other="other",eb),nj=((eF={}).Salary="salary",eF.Savings="savings",eF.PensionRetirement="pension_retirement",eF.Inheritance="inheritance",eF.Investment="investment",eF.Loan="loan",eF.Gift="gift",eF.Other="other",eF),nx=((eG={}).UsDriversLicense="us_drivers_license",eG.UsPassport="us_passport",eG.UsPassportCard="us_passport_card",eG.UsPermanentResidentCard="us_permanent_resident_card",eG.UsBorderCrossingCard="us_border_crossing_card",eG.UsAlienCard="us_alien_card",eG.UsIdCard="us_id_card",eG.NonUsPassport="non_us_passport",eG.NonUsOther="non_us_other",eG.Passport="passport",eG.EuDriversLicense="eu_drivers_license",eG.LegalEntityIdentifier="legal_entity_identifier",eG.ChamberOfCommerceNumber="chamber_of_commerce_number",eG.ValueAddedTaxNumber="value_added_tax_number",eG),nK=((ek={}).FundAutoConvert="fund_auto_convert",ek.PaymentServicesTerms="payment_services_terms",ek.AccountLink="account_link",ek),nW=((eZ={}).Worldwide="worldwide",eZ.Us="us",eZ.Brazil="brazil",eZ.Uk="uk",eZ.Eu="eu",eZ),nJ=((eq={}).FullTime="full_time",eq.PartTime="part_time",eq.SelfEmployed="self_employed",eq.Unemployed="unemployed",eq.Retired="retired",eq.Student="student",eq),nY=((eV={}).AdultEntertainment="adult_entertainment",eV.AdvertisingMediaMarketing="advertising_media_marketing",eV.Agriculture="agriculture",eV.ArtsEntertainment="arts_entertainment",eV.Charity="charity",eV.ConstructionManufacturing="construction_manufacturing",eV.Consulting="consulting",eV.ConsumerProductsServices="consumer_products_services",eV.CryptoMining="crypto_mining",eV.Ecommerce="ecommerce",eV.Education="education",eV.Electronics="electronics",eV.Fashion="fashion",eV.FinancialServices="financial_services",eV.FoodBeverages="food_beverages",eV.GovernmentAgency="government_agency",eV.Insurance="insurance",eV.JewelryGemstones="jewelry_gemstones",eV.LawEnforcement="law_enforcement",eV.LegalServices="legal_services",eV.MiningEnergyChemicals="mining_energy_chemicals",eV.OnlineGamingGambling="online_gaming_gambling",eV.Pharmaceuticals="pharmaceuticals",eV.PropertyRealEstate="property_real_estate",eV.RetailWholesale="retail_wholesale",eV.Transportation="transportation",eV.TravelCarHire="travel_car_hire",eV.WeaponsDefenseAerospace="weapons_defense_aerospace",eV.Other="other",eV),nQ=((ej={}).Salary="salary",ej.Savings="savings",ej.PensionRetirement="pension_retirement",ej.Inheritance="inheritance",ej.Investment="investment",ej.Loan="loan",ej.Gift="gift",ej.Other="other",ej),nX=((ex={}).UsDriversLicense="us_drivers_license",ex.UsPassport="us_passport",ex.UsPassportCard="us_passport_card",ex.UsPermanentResidentCard="us_permanent_resident_card",ex.UsBorderCrossingCard="us_border_crossing_card",ex.UsAlienCard="us_alien_card",ex.UsIdCard="us_id_card",ex.NonUsPassport="non_us_passport",ex.NonUsOther="non_us_other",ex.Passport="passport",ex.EuDriversLicense="eu_drivers_license",ex.LegalEntityIdentifier="legal_entity_identifier",ex.ChamberOfCommerceNumber="chamber_of_commerce_number",ex.ValueAddedTaxNumber="value_added_tax_number",ex),n$=((eK={}).FundAutoConvert="fund_auto_convert",eK.PaymentServicesTerms="payment_services_terms",eK.AccountLink="account_link",eK),nz=((eW={}).Worldwide="worldwide",eW.Us="us",eW.Brazil="brazil",eW.Uk="uk",eW.Eu="eu",eW),n0=((eJ={}).FullTime="full_time",eJ.PartTime="part_time",eJ.SelfEmployed="self_employed",eJ.Unemployed="unemployed",eJ.Retired="retired",eJ.Student="student",eJ),n1=((eY={}).AdultEntertainment="adult_entertainment",eY.AdvertisingMediaMarketing="advertising_media_marketing",eY.Agriculture="agriculture",eY.ArtsEntertainment="arts_entertainment",eY.Charity="charity",eY.ConstructionManufacturing="construction_manufacturing",eY.Consulting="consulting",eY.ConsumerProductsServices="consumer_products_services",eY.CryptoMining="crypto_mining",eY.Ecommerce="ecommerce",eY.Education="education",eY.Electronics="electronics",eY.Fashion="fashion",eY.FinancialServices="financial_services",eY.FoodBeverages="food_beverages",eY.GovernmentAgency="government_agency",eY.Insurance="insurance",eY.JewelryGemstones="jewelry_gemstones",eY.LawEnforcement="law_enforcement",eY.LegalServices="legal_services",eY.MiningEnergyChemicals="mining_energy_chemicals",eY.OnlineGamingGambling="online_gaming_gambling",eY.Pharmaceuticals="pharmaceuticals",eY.PropertyRealEstate="property_real_estate",eY.RetailWholesale="retail_wholesale",eY.Transportation="transportation",eY.TravelCarHire="travel_car_hire",eY.WeaponsDefenseAerospace="weapons_defense_aerospace",eY.Other="other",eY),n5=((eQ={}).Salary="salary",eQ.Savings="savings",eQ.PensionRetirement="pension_retirement",eQ.Inheritance="inheritance",eQ.Investment="investment",eQ.Loan="loan",eQ.Gift="gift",eQ.Other="other",eQ),n2=((eX={}).UsDriversLicense="us_drivers_license",eX.UsPassport="us_passport",eX.UsPassportCard="us_passport_card",eX.UsPermanentResidentCard="us_permanent_resident_card",eX.UsBorderCrossingCard="us_border_crossing_card",eX.UsAlienCard="us_alien_card",eX.UsIdCard="us_id_card",eX.NonUsPassport="non_us_passport",eX.NonUsOther="non_us_other",eX.Passport="passport",eX.EuDriversLicense="eu_drivers_license",eX.LegalEntityIdentifier="legal_entity_identifier",eX.ChamberOfCommerceNumber="chamber_of_commerce_number",eX.ValueAddedTaxNumber="value_added_tax_number",eX),n3=((e$={}).FundAutoConvert="fund_auto_convert",e$.PaymentServicesTerms="payment_services_terms",e$.AccountLink="account_link",e$),n6=((ez={}).Worldwide="worldwide",ez.Us="us",ez.Brazil="brazil",ez.Uk="uk",ez.Eu="eu",ez),n7=((e0={}).FullTime="full_time",e0.PartTime="part_time",e0.SelfEmployed="self_employed",e0.Unemployed="unemployed",e0.Retired="retired",e0.Student="student",e0),n4=((e1={}).AdultEntertainment="adult_entertainment",e1.AdvertisingMediaMarketing="advertising_media_marketing",e1.Agriculture="agriculture",e1.ArtsEntertainment="arts_entertainment",e1.Charity="charity",e1.ConstructionManufacturing="construction_manufacturing",e1.Consulting="consulting",e1.ConsumerProductsServices="consumer_products_services",e1.CryptoMining="crypto_mining",e1.Ecommerce="ecommerce",e1.Education="education",e1.Electronics="electronics",e1.Fashion="fashion",e1.FinancialServices="financial_services",e1.FoodBeverages="food_beverages",e1.GovernmentAgency="government_agency",e1.Insurance="insurance",e1.JewelryGemstones="jewelry_gemstones",e1.LawEnforcement="law_enforcement",e1.LegalServices="legal_services",e1.MiningEnergyChemicals="mining_energy_chemicals",e1.OnlineGamingGambling="online_gaming_gambling",e1.Pharmaceuticals="pharmaceuticals",e1.PropertyRealEstate="property_real_estate",e1.RetailWholesale="retail_wholesale",e1.Transportation="transportation",e1.TravelCarHire="travel_car_hire",e1.WeaponsDefenseAerospace="weapons_defense_aerospace",e1.Other="other",e1),n8=((e5={}).Salary="salary",e5.Savings="savings",e5.PensionRetirement="pension_retirement",e5.Inheritance="inheritance",e5.Investment="investment",e5.Loan="loan",e5.Gift="gift",e5.Other="other",e5),n9=((e2={}).Male="male",e2.Female="female",e2.Other="other",e2),ae=((e3={}).UsDriversLicense="us_drivers_license",e3.UsPassport="us_passport",e3.UsPassportCard="us_passport_card",e3.UsPermanentResidentCard="us_permanent_resident_card",e3.UsBorderCrossingCard="us_border_crossing_card",e3.UsAlienCard="us_alien_card",e3.UsIdCard="us_id_card",e3.NonUsPassport="non_us_passport",e3.NonUsOther="non_us_other",e3.Passport="passport",e3.EuDriversLicense="eu_drivers_license",e3),at=((e6={}).Low="low",e6.Medium="medium",e6.High="high",e6),as=((e7={}).Pass="pass",e7.Fail="fail",e7),ar=((e4={}).Pass="pass",e4.Fail="fail",e4),an=((e8={}).Pass="pass",e8.Fail="fail",e8),aa=((e9={}).Pass="pass",e9.Fail="fail",e9),ai=((te={}).FullTime="full_time",te.PartTime="part_time",te.SelfEmployed="self_employed",te.Unemployed="unemployed",te.Retired="retired",te.Student="student",te),ao=((tt={}).AdultEntertainment="adult_entertainment",tt.AdvertisingMediaMarketing="advertising_media_marketing",tt.Agriculture="agriculture",tt.ArtsEntertainment="arts_entertainment",tt.Charity="charity",tt.ConstructionManufacturing="construction_manufacturing",tt.Consulting="consulting",tt.ConsumerProductsServices="consumer_products_services",tt.CryptoMining="crypto_mining",tt.Ecommerce="ecommerce",tt.Education="education",tt.Electronics="electronics",tt.Fashion="fashion",tt.FinancialServices="financial_services",tt.FoodBeverages="food_beverages",tt.GovernmentAgency="government_agency",tt.Insurance="insurance",tt.JewelryGemstones="jewelry_gemstones",tt.LawEnforcement="law_enforcement",tt.LegalServices="legal_services",tt.MiningEnergyChemicals="mining_energy_chemicals",tt.OnlineGamingGambling="online_gaming_gambling",tt.Pharmaceuticals="pharmaceuticals",tt.PropertyRealEstate="property_real_estate",tt.RetailWholesale="retail_wholesale",tt.Transportation="transportation",tt.TravelCarHire="travel_car_hire",tt.WeaponsDefenseAerospace="weapons_defense_aerospace",tt.Other="other",tt),au=((ts={}).Salary="salary",ts.Savings="savings",ts.PensionRetirement="pension_retirement",ts.Inheritance="inheritance",ts.Investment="investment",ts.Loan="loan",ts.Gift="gift",ts.Other="other",ts),al=((tr={}).FundAutoConvert="fund_auto_convert",tr.PaymentServicesTerms="payment_services_terms",tr.AccountLink="account_link",tr),ad=((tn={}).Worldwide="worldwide",tn.Us="us",tn.Brazil="brazil",tn.Uk="uk",tn.Eu="eu",tn),a_=((ta={}).Under3500="under_3500",ta.Between35001And75000="between_35001_and_75000",ta.Between75001And125000="between_75001_and_125000",ta.Between125001And200000="between_125001_and_200000",ta.Over200000="over_200000",ta),ac=((ti={}).Under10000="under_10000",ti.Between10001And25000="between_10001_and_25000",ti.Between25001And50000="between_25001_and_50000",ti.Between50001And100000="between_50001_and_100000",ti.Between100001And250000="between_100001_and_250000",ti.Over250000="over_250000",ti),ap=((to={}).Restricted="restricted",to.HighNetWorthIndividual="high_net_worth_individual",to.CertifiedSophisticatedInvestor="certified_sophisticated_investor",to),aE=((tu={}).FinvestPersonal="finvest_personal",tu.FinvestBusiness="finvest_business",tu.PaymentsPersonal="payments_personal",tu.PaymentsBusiness="payments_business",tu.BillpayPersonal="billpay_personal",tu.BillpayBusiness="billpay_business",tu.P2PUs="p2p_us",tu.P2PIntl="p2p_intl",tu.Other="other",tu),aR=((tl={}).Under10="under_10",tl.Between11And100="between_11_and_100",tl.Between101And1000="between_101_and_1000",tl.Over1000="over_1000",tl),am=((td={}).Under1000="under_1000",td.Between1001And10000="between_1001_and_10000",td.Between10001And100000="between_10001_and_100000",td.Over100000="over_100000",td),aT=((t_={}).UpTo5K="up_to_5k",t_.Value5KTo25K="5k_to_25k",t_.Value25KTo100K="25k_to_100k",t_.Value100KAndUp="100k_and_up",t_),ah=((tc={}).UpTo12="up_to_12",tc.Value12To53="12_to_53",tc.Value53To365="53_to_365",tc.Value365AndUp="365_and_up",tc),aC=((tp={}).UpTo5K="up_to_5k",tp.Value5KTo25K="5k_to_25k",tp.Value25KTo100K="25k_to_100k",tp.Value100KAndUp="100k_and_up",tp),aS=((tE={}).Unknown="unknown",tE.BuyCrypto="buy_crypto",tE.SellCrypto="sell_crypto",tE.SwapCrypto="swap_crypto",tE.BuyCryptoFiat="buy_crypto_fiat",tE.SellCryptoFiat="sell_crypto_fiat",tE.TradeCryptoCrypto="trade_crypto_crypto",tE.PeerToPeer="peer_to_peer",tE),ay=((tR={}).LongTerm="long_term",tR.ShortTerm="short_term",tR.Other="other",tR),aP=((tm={}).UserRequest="user_request",tm.ComplianceIssue="compliance_issue",tm),aO=((tT={}).UsPassport="us_passport",tT),aA=((th={}).Parent="parent",th.LegalGuardian="legal_guardian",th),aI=((tC={}).UsPassport="us_passport",tC),aN=((tS={}).Parent="parent",tS.LegalGuardian="legal_guardian",tS.Unknown="unknown",tS),ag=((ty={}).UsPassport="us_passport",ty),af=((tP={}).Low="low",tP.Medium="medium",tP.High="high",tP),aU=((tO={}).UsPassport="us_passport",tO),aL=((tA={}).Low="low",tA.Medium="medium",tA.High="high",tA),aD=((tI={}).UsDriversLicense="us_drivers_license",tI.UsPassport="us_passport",tI.UsPassportCard="us_passport_card",tI.UsPermanentResidentCard="us_permanent_resident_card",tI.UsBorderCrossingCard="us_border_crossing_card",tI.UsAlienCard="us_alien_card",tI.UsIdCard="us_id_card",tI.NonUsPassport="non_us_passport",tI.NonUsOther="non_us_other",tI.ProofOfIncome="proof_of_income",tI.EuPassport="eu_passport",tI.EuIdCard="eu_id_card",tI.EuDriversLicense="eu_drivers_license",tI.EuAddressVerification="eu_address_verification",tI),av=((tN={}).Corporation="corporation",tN.Llc="llc",tN.Partnership="partnership",tN.SoleProprietorship="sole_proprietorship",tN.Other="other",tN.NonProfit="non_profit",tN),aw=((tg={}).Low="low",tg.Medium="medium",tg.High="high",tg),aM=((tf={}).Pass="pass",tf.Fail="fail",tf),aB=((tU={}).Corporation="corporation",tU.Llc="llc",tU.Partnership="partnership",tU.SoleProprietorship="sole_proprietorship",tU.Other="other",tU.NonProfit="non_profit",tU),aH=((tL={}).Low="low",tL.Medium="medium",tL.High="high",tL),ab=((tD={}).Pass="pass",tD.Fail="fail",tD),aF=((tv={}).UsDriversLicense="us_drivers_license",tv.UsPassport="us_passport",tv.UsPassportCard="us_passport_card",tv.UsPermanentResidentCard="us_permanent_resident_card",tv.UsBorderCrossingCard="us_border_crossing_card",tv.UsAlienCard="us_alien_card",tv.UsIdCard="us_id_card",tv.UsTemporaryResidentCard="us_temporary_resident_card",tv.UsVisa="us_visa",tv.NonUsPassport="non_us_passport",tv.NonUsOther="non_us_other",tv.EuPassport="eu_passport",tv.EuIdCard="eu_id_card",tv.EuDriversLicense="eu_drivers_license",tv.EuAddressVerification="eu_address_verification",tv),aG=((tw={}).UsDriversLicense="us_drivers_license",tw.UsPassport="us_passport",tw.UsPassportCard="us_passport_card",tw.UsPermanentResidentCard="us_permanent_resident_card",tw.UsBorderCrossingCard="us_border_crossing_card",tw.UsAlienCard="us_alien_card",tw.UsIdCard="us_id_card",tw.NonUsPassport="non_us_passport",tw.NonUsOther="non_us_other",tw.Passport="passport",tw.EuDriversLicense="eu_drivers_license",tw.LegalEntityIdentifier="legal_entity_identifier",tw.ChamberOfCommerceNumber="chamber_of_commerce_number",tw.ValueAddedTaxNumber="value_added_tax_number",tw),ak=((tM={}).Pass="pass",tM.Fail="fail",tM),aZ=((tB={}).Pass="pass",tB.Fail="fail",tB),aq=((tH={})[tH.Value0=0]="Value0",tH[tH.Value1=1]="Value1",tH[tH.Value2=2]="Value2",tH[tH.Value3=3]="Value3",tH),aV=((tb={}).UsDriversLicense="us_drivers_license",tb.UsPassport="us_passport",tb.UsPassportCard="us_passport_card",tb.UsPermanentResidentCard="us_permanent_resident_card",tb.UsBorderCrossingCard="us_border_crossing_card",tb.UsAlienCard="us_alien_card",tb.UsIdCard="us_id_card",tb.NonUsPassport="non_us_passport",tb.NonUsOther="non_us_other",tb.Passport="passport",tb),aj=((tF={}).Pass="pass",tF.Fail="fail",tF),ax=((tG={}).Pass="pass",tG.Fail="fail",tG),aK=((tk={})[tk.Value0=0]="Value0",tk[tk.Value1=1]="Value1",tk[tk.Value2=2]="Value2",tk[tk.Value3=3]="Value3",tk),aW=((tZ={}).UsDriversLicense="us_drivers_license",tZ.UsPassport="us_passport",tZ.UsPassportCard="us_passport_card",tZ.UsPermanentResidentCard="us_permanent_resident_card",tZ.UsBorderCrossingCard="us_border_crossing_card",tZ.UsAlienCard="us_alien_card",tZ.UsIdCard="us_id_card",tZ.NonUsPassport="non_us_passport",tZ.NonUsOther="non_us_other",tZ.Passport="passport",tZ),aJ=((tq={}).Pass="pass",tq.Fail="fail",tq),aY=((tV={}).Pass="pass",tV.Fail="fail",tV),aQ=((tj={})[tj.Value0=0]="Value0",tj[tj.Value1=1]="Value1",tj[tj.Value2=2]="Value2",tj),aX=((tx={}).UsDriversLicense="us_drivers_license",tx.UsPassport="us_passport",tx.UsPassportCard="us_passport_card",tx.UsPermanentResidentCard="us_permanent_resident_card",tx.UsBorderCrossingCard="us_border_crossing_card",tx.UsAlienCard="us_alien_card",tx.UsIdCard="us_id_card",tx.NonUsPassport="non_us_passport",tx.NonUsOther="non_us_other",tx.Passport="passport",tx),a$=((tK={}).Pass="pass",tK.Fail="fail",tK),az=((tW={}).Pass="pass",tW.Fail="fail",tW),a0=((tJ={})[tJ.Value0=0]="Value0",tJ[tJ.Value1=1]="Value1",tJ[tJ.Value2=2]="Value2",tJ),a1=((tY={}).Spot="spot",tY.Forward="forward",tY),a5=((tQ={}).Regular="regular",tQ.Block="block",tQ),a2=((tX={}).Accepted="accepted",tX.Active="active",tX.Terminated="terminated",tX),a3=((t$={}).RestApi="rest_api",t$.Sdk="sdk",t$.Secondary="secondary",t$),a6=((tz={}).Buy="buy",tz.Sell="sell",tz),a7=((t0={}).Added="added",t0.Removed="removed",t0),a4=((t1={}).Null="null",t1.ObligationsOutstanding="obligations_outstanding",t1.CurrentObligationsMet="current_obligations_met",t1.Settled="settled",t1.Defaulted="defaulted",t1.CounterpartyDefaulted="counterparty_defaulted",t1),a8=((t5={}).Spot="spot",t5.Forward="forward",t5),a9=((t2={}).Regular="regular",t2.Block="block",t2),ie=((t3={}).Accepted="accepted",t3.Active="active",t3.Terminated="terminated",t3),it=((t6={}).RestApi="rest_api",t6.Sdk="sdk",t6.Secondary="secondary",t6),is=((t7={}).Buy="buy",t7.Sell="sell",t7),ir=((t4={}).Added="added",t4.Removed="removed",t4),ia=((t8={}).Null="null",t8.ObligationsOutstanding="obligations_outstanding",t8.CurrentObligationsMet="current_obligations_met",t8.Settled="settled",t8.Defaulted="defaulted",t8.CounterpartyDefaulted="counterparty_defaulted",t8),ii=((t9={}).Pending="pending",t9.Approved="approved",t9.Canceled="canceled",t9.Rejected="rejected",t9.Settled="settled",t9.Outstanding="outstanding",t9.ErrorCanceled="error_canceled",t9),io=((se={}).CONFIRMED="CONFIRMED",se.PENDING="PENDING",se),iu=((st={}).PENDING_CREATION="PENDING_CREATION",st.APPROVED="APPROVED",st.REJECTED="REJECTED",st.DELETED="DELETED",st.PENDING_CHANGE="PENDING_CHANGE",st),il=((ss={}).PENDING="PENDING",ss.CONFIRMED="CONFIRMED",ss),id=((sr={}).Crypto="crypto",sr.Fiat="fiat",sr),i_=((sn={}).ETH="ETH",sn.ALGO="ALGO",sn.ARBITRUM="ARBITRUM",sn.AVAX="AVAX",sn.BASE="BASE",sn.HBAR="HBAR",sn.POLYGON="POLYGON",sn.SOL="SOL",sn.OP="OP",sn.SUI="SUI",sn.XLM="XLM",sn.ZK="ZK",sn),ic=((sa={}).Crypto="crypto",sa.Fiat="fiat",sa),ip=((si={}).ETH="ETH",si.ALGO="ALGO",si.ARBITRUM="ARBITRUM",si.AVAX="AVAX",si.BASE="BASE",si.HBAR="HBAR",si.POLYGON="POLYGON",si.SOL="SOL",si.OP="OP",si.SUI="SUI",si.XLM="XLM",si.ZK="ZK",si),iE=((so={}).Pending="pending",so.Approved="approved",so.Rejected="rejected",so.Locked="locked",so.Disabled="disabled",so.Closed="closed",so),iR=((su={}).Pending="pending",su.Approved="approved",su.Rejected="rejected",su.Locked="locked",su.Disabled="disabled",su.Closed="closed",su),im=((sl={}).ETH="ETH",sl.ALGO="ALGO",sl.ARBITRUM="ARBITRUM",sl.AVAX="AVAX",sl.BASE="BASE",sl.HBAR="HBAR",sl.POLYGON="POLYGON",sl.SOL="SOL",sl.OP="OP",sl.SUI="SUI",sl.XLM="XLM",sl.ZK="ZK",sl),iT=((sd={}).Checking="checking",sd.Savings="savings",sd),ih=((s_={}).Pending="pending",s_.Approved="approved",s_.Rejected="rejected",s_.Locked="locked",s_.Disabled="disabled",s_.Closed="closed",s_),iC=((sc={}).Credit="credit",sc.Debit="debit",sc),iS=((sp={}).Ach="ach",sp.SameDayAch="same_day_ach",sp.Rtp="rtp",sp),iy=((sE={}).Payout="payout",sE),iP=((sR={}).Posted="posted",sR.Cancelled="cancelled",sR.Failed="failed",sR.Returned="returned",sR.Submitted="submitted",sR.Pending="pending",sR.Settled="settled",sR.Rejected="rejected",sR.PendingTrade="pending_trade",sR.ReturnedSettled="returned_settled",sR.Retried="retried",sR.Unspecified="unspecified",sR),iO=((sm={}).Credit="credit",sm.Debit="debit",sm.Unspecified="unspecified",sm),iA=((sT={}).Submitted="submitted",sT.Pending="pending",sT.Posted="posted",sT.Settled="settled",sT.Failed="failed",sT),iI=((sh={}).Checking="checking",sh.Savings="savings",sh),iN=((sC={}).Pending="pending",sC.Approved="approved",sC.Rejected="rejected",sC.Locked="locked",sC.Disabled="disabled",sC.Closed="closed",sC),ig=((sS={}).Pending="pending",sS.Approved="approved",sS.Rejected="rejected",sS.Locked="locked",sS.Disabled="disabled",sS.Closed="closed",sS),iU=((sy={}).Crypto="crypto",sy.Fiat="fiat",sy),iL=((sP={}).ETH="ETH",sP.ALGO="ALGO",sP.ARBITRUM="ARBITRUM",sP.AVAX="AVAX",sP.BASE="BASE",sP.HBAR="HBAR",sP.POLYGON="POLYGON",sP.SOL="SOL",sP.OP="OP",sP.SUI="SUI",sP.XLM="XLM",sP.ZK="ZK",sP),iD=((sO={}).Posted="posted",sO.Cancelled="cancelled",sO.Failed="failed",sO.Returned="returned",sO.Submitted="submitted",sO.Pending="pending",sO.Settled="settled",sO.Rejected="rejected",sO.PendingTrade="pending_trade",sO.ReturnedSettled="returned_settled",sO.Retried="retried",sO.Unspecified="unspecified",sO),iv=((sA={}).Credit="credit",sA.Debit="debit",sA.Unspecified="unspecified",sA),iw=((sI={}).Pending="pending",sI.Approved="approved",sI.Rejected="rejected",sI),iM=((sN={}).Posted="posted",sN.Cancelled="cancelled",sN.Failed="failed",sN.Returned="returned",sN.Submitted="submitted",sN.Pending="pending",sN.Settled="settled",sN.Rejected="rejected",sN.PendingTrade="pending_trade",sN.ReturnedSettled="returned_settled",sN.Retried="retried",sN.Unspecified="unspecified",sN),iB=((sg={}).Ach="ach",sg.SameDayAch="same_day_ach",sg.Wire="wire",sg.Unspecified="unspecified",sg.Rtp="rtp",sg),iH=((sf={}).Credit="credit",sf.Debit="debit",sf.Unspecified="unspecified",sf),ib=((sU={}).Credit="credit",sU.Debit="debit",sU.Unspecified="unspecified",sU),iF=((sL={}).Payout="payout",sL),iG=((sD={}).Completed="Completed",sD.Rejected="Rejected",sD.Unknown="Unknown",sD),ik=((sv={}).Buy="buy",sv.Sell="sell",sv),iZ=((sw={}).Buy="buy",sw.Sell="sell",sw),iq=((sM={}).Buy="buy",sM.Sell="sell",sM),iV=((sB={}).Buy="buy",sB.Sell="sell",sB),ij=((sH={}).Value30S="30s",sH.Value1M="1m",sH.Value5M="5m",sH.Value10M="10m",sH.Value15M="15m",sH),ix=((sb={}).Posted="posted",sb.Cancelled="cancelled",sb.Failed="failed",sb.Submitted="submitted",sb.Pending="pending",sb.PendingTrade="pending_trade",sb.ReturnedSettled="returned_settled",sb.Settled="settled",sb.Rejected="rejected",sb.Posted1="posted",sb.Returned="returned",sb),iK=((sF={}).Posted="posted",sF.Cancelled="cancelled",sF.Failed="failed",sF.Submitted="submitted",sF.Pending="pending",sF.PendingTrade="pending_trade",sF.Settled="settled",sF.Rejected="rejected",sF.Returned="returned",sF.ReturnedSettled="returned_settled",sF.Retried="retried",sF.Unspecified="unspecified",sF),iW=((sG={}).Accepted="accepted",sG.Active="active",sG.Terminated="terminated",sG),iJ=((sk={}).Null="null",sk.ObligationsOutstanding="obligations_outstanding",sk.CurrentObligationsMet="current_obligations_met",sk.Settled="settled",sk.Defaulted="defaulted",sk.CounterpartyDefaulted="counterparty_defaulted",sk),iY=((sZ={}).InitialMargin="initial_margin",sZ.Deposit="deposit",sZ.ExecutionFee="execution_fee",sZ.FinalSettlement="final_settlement",sZ.FinalSettlementDefault="final_settlement_default",sZ.FinalSettlementDefaultFallback="final_settlement_default_fallback",sZ.FinalSettlementDefaultPartial="final_settlement_default_partial",sZ.FinalSettlementOutstanding="final_settlement_outstanding",sZ.InterestPayment="interest_payment",sZ.CollateralizeLoan="collateralize_loan",sZ.LoanCollateralReturn="loan_collateral_return",sZ.NetworkFee="network_fee",sZ.OtcFinalSettlement="otc_final_settlement",sZ.PrincipalSwap="principal_swap",sZ.Repayment="repayment",sZ.Transfer="transfer",sZ.VariationMargin="variation_margin",sZ.VariationMarginCall="variation_margin_call",sZ.Withdrawal="withdrawal",sZ.WithdrawalConfirmed="withdrawal_confirmed",sZ.WithdrawalPending="withdrawal_pending",sZ.Commission="commission",sZ.BankFee="bank_fee",sZ.TransactionFee="transaction_fee",sZ),iQ=((sq={}).TradeAllocation="trade_allocation",sq.CommissionAllocation="commission_allocation",sq.CommissionCorrection="commission_correction",sq.RevenueCapture="revenue_capture",sq.Fund="fund",sq.Prefunded="prefunded",sq),iX=((sV={}).PENDING="PENDING",sV.CONFIRMED="CONFIRMED",sV),i$=((sj={}).Submitted="submitted",sj.PendingApproval="pending_approval",sj.Approved="approved",sj.Rejected="rejected",sj.Locked="locked",sj.PendingUnlock="pending_unlock",sj.PendingDisable="pending_disable",sj.Disabled="disabled",sj.Divested="divested",sj.Closed="closed",sj),iz=((sx={}).Buy="buy",sx.Sell="sell",sx),i0=((sK={}).Checking="checking",sK.Savings="savings",sK),i1=((sW={}).Pending="pending",sW.Approved="approved",sW.Closed="closed",sW.Rejected="rejected",sW.Locked="locked",sW.Disabled="disabled",sW.Failed="failed",sW),i5=((sJ={}).Credit="credit",sJ.Debit="debit",sJ),i2=((sY={}).Posted="posted",sY.Cancelled="cancelled",sY.Failed="failed",sY.Returned="returned",sY.Submitted="submitted",sY.Pending="pending",sY.Settled="settled",sY.Rejected="rejected",sY.PendingTrade="pending_trade",sY.ReturnedSettled="returned_settled",sY.Retried="retried",sY.Unspecified="unspecified",sY),i3=((sQ={}).Buy="buy",sQ.Sell="sell",sQ),i6=((sX={}).Minute="minute",sX.Hourly="hourly",sX.Daily="daily",sX),i7={};s4(i7,"Public",()=>i4);class i4{constructor(e){this.apiClient=e,s8(s$)(this)}getServerTime(e){return this.apiClient.request({...e,url:"/time",method:"GET",secure:!0,responseType:"json"})}}var i8={};s4(i8,"Index",()=>i9);class i9{constructor(e){this.apiClient=e,s8(s$)(this)}getIndexPrice(e,t,s){return this.apiClient.request({...s,url:"/index",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}}var oe={};s4(oe,"Assets",()=>ot);class ot{constructor(e){this.apiClient=e,s8(s$)(this)}getAssets(e,t,s){return this.apiClient.request({...s,url:"/assets",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}}var os={};s4(os,"Trades",()=>or);class or{constructor(e){this.apiClient=e,s8(s$)(this)}submitTrade(e,t,s){return this.apiClient.request({...s,url:"/trades",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getTrades(e,t,s){return this.apiClient.request({...s,url:"/trades",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}submitBatchOfTrades(e,t,s){return this.apiClient.request({...s,url:"/trades/batch",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getTrade(e,t,s){return this.apiClient.request({...s,url:`/trades/${e}`,method:"GET",secure:!0,headers:t,responseType:"json"})}}var on={};s4(on,"Positions",()=>oa);class oa{constructor(e){this.apiClient=e,s8(s$)(this)}getPositions(e,t,s){return this.apiClient.request({...s,url:"/positions",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getPlatformPositions(e,t,s,r){return this.apiClient.request({...r,url:`/positions/platform/${e}`,method:"GET",params:t,secure:!0,headers:s,responseType:"json"})}}var oi={};s4(oi,"Accounts",()=>oo);class oo{constructor(e){this.apiClient=e,s8(s$)(this)}getAccounts(e,t,s){return this.apiClient.request({...s,url:"/accounts",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getAccount(e,t,s){return this.apiClient.request({...s,url:`/accounts/${e}`,method:"GET",secure:!0,headers:t,responseType:"json"})}getNdOs(e,t){return this.apiClient.request({...t,url:"/accounts/net_delivery_obligations",method:"GET",secure:!0,headers:e,responseType:"json"})}getAccountMovements(e,t,s,r){return this.apiClient.request({...r,url:`/accounts/${e}/movements`,method:"GET",params:t,secure:!0,headers:s,responseType:"json"})}getAccountRunHistory(e,t,s){return this.apiClient.request({...s,url:`/accounts/${e}/run_history`,method:"GET",secure:!0,headers:t,responseType:"json"})}}var ou={};s4(ou,"Deposits",()=>ol);class ol{constructor(e){this.apiClient=e,s8(s$)(this)}createDepositAddress(e,t,s){return this.apiClient.request({...s,url:"/deposits/digital_asset_addresses",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getDepositAddresses(e,t,s){return this.apiClient.request({...s,url:"/deposits/digital_asset_addresses",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}updateAddressOwner(e,t,s){return this.apiClient.request({...s,url:"/deposits/digital_asset_addresses",method:"PATCH",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}createABolt11InvoiceForDeposit(e,t,s){return this.apiClient.request({...s,url:"/deposits/bolt11",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}createATestPaymentForABolt11DepositInvoice(e,t,s){return this.apiClient.request({...s,url:"/deposits/bolt11/test_payment",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json})}fundAccount(e,t,s){return this.apiClient.request({...s,url:"/deposits/fund",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getDeposits(e,t,s){return this.apiClient.request({...s,url:"/deposits",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getFiatAccounts(e,t){return this.apiClient.request({...t,url:"/deposits/fiat_accounts",method:"GET",secure:!0,headers:e,responseType:"json"})}createUmaAddress(e,t,s){return this.apiClient.request({...s,url:"/deposits/uma",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json})}getUmaAddresses(e,t,s){return this.apiClient.request({...s,url:"/deposits/uma",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}updateUmaAddress(e,t,s){return this.apiClient.request({...s,url:"/deposits/uma",method:"PATCH",data:e,secure:!0,headers:t,contentType:rt.Json})}}var od={};s4(od,"Movements",()=>o_);class o_{constructor(e){this.apiClient=e,s8(s$)(this)}getMovements(e,t,s){return this.apiClient.request({...s,url:"/movements",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}}var oc={};s4(oc,"Withdrawals",()=>op);class op{constructor(e){this.apiClient=e,s8(s$)(this)}createWithdrawalRequest(e,t,s){return this.apiClient.request({...s,url:"/withdrawals/requests",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getWithdrawalRequests(e,t,s){return this.apiClient.request({...s,url:"/withdrawals/requests",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getWithdrawalRequest(e,t,s){return this.apiClient.request({...s,url:`/withdrawals/requests/${e}`,method:"GET",secure:!0,headers:t,responseType:"json"})}deleteWithdrawalRequest(e,t,s){return this.apiClient.request({...s,url:`/withdrawals/requests/${e}`,method:"DELETE",secure:!0,headers:t,responseType:"json"})}executeWithdrawal(e,t,s){return this.apiClient.request({...s,url:"/withdrawals/execute",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}requestUmaWithdrawal(e,t,s){return this.apiClient.request({...s,url:"/withdrawals/uma",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}performsAnUmaLookupPriorToInitiatingAWithdrawal(e,t,s){return this.apiClient.request({...s,url:`/withdrawals/umalookup/${e}`,method:"GET",secure:!0,headers:t,responseType:"json"})}getWithdrawalAddresses(e,t,s){return this.apiClient.request({...s,url:"/withdrawals/digital_asset_addresses",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getWithdrawalAddress(e,t,s){return this.apiClient.request({...s,url:`/withdrawals/digital_asset_addresses/${e}`,method:"GET",secure:!0,headers:t,responseType:"json"})}getWithdrawalQuote(e,t,s){return this.apiClient.request({...s,url:"/withdrawals/locked_network_fee",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getFiatAccounts(e,t){return this.apiClient.request({...t,url:"/withdrawals/fiat_accounts",method:"GET",secure:!0,headers:e,responseType:"json"})}getFiatAccount(e,t,s){return this.apiClient.request({...s,url:`/withdrawals/fiat_accounts/${e}`,method:"GET",secure:!0,headers:t,responseType:"json"})}getNetworkFeeEstimate(e,t,s){return this.apiClient.request({...s,url:"/withdrawals/estimate_network_fee",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}validateAddress(e,t,s){return this.apiClient.request({...s,url:"/withdrawals/validate_address",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}}var oE={};s4(oE,"Transfers",()=>oR);class oR{constructor(e){this.apiClient=e,s8(s$)(this)}getTransfers(e,t,s){return this.apiClient.request({...s,url:"/transfers",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}createTransfer(e,t,s){return this.apiClient.request({...s,url:"/transfers",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getTransfer(e,t,s){return this.apiClient.request({...s,url:`/transfers/${e}`,method:"GET",secure:!0,headers:t,responseType:"json"})}}var om={};s4(om,"Participants",()=>oT);class oT{constructor(e){this.apiClient=e,s8(s$)(this)}createCustomer(e,t,s){return this.apiClient.request({...s,url:"/participants/customers/new",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}submitDocuments(e,t,s){return this.apiClient.request({...s,url:"/participants/documents",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}updateCustomer(e,t,s,r){return this.apiClient.request({...r,url:`/participants/customers/${e}`,method:"PATCH",data:t,secure:!0,headers:s,contentType:rt.Json,responseType:"json"})}lockCustomer(e,t,s,r){return this.apiClient.request({...r,url:`/participants/customers/${e}/lock`,method:"POST",data:t,secure:!0,headers:s,contentType:rt.Json})}createMinor(e,t,s){return this.apiClient.request({...s,url:"/participants/customers/minor",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}updateMinorDob(e,t,s,r){return this.apiClient.request({...r,url:`/participants/customers/minor/${e}/update_dob`,method:"POST",data:t,secure:!0,headers:s,contentType:rt.Json,responseType:"json"})}updateMinor(e,t,s,r){return this.apiClient.request({...r,url:`/participants/customers/minor/${e}`,method:"PATCH",data:t,secure:!0,headers:s,contentType:rt.Json,responseType:"json"})}promoteMinor(e,t,s){return this.apiClient.request({...s,url:"/participants/customers/promote_minor",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}createBeneficiary(e,t,s){return this.apiClient.request({...s,url:"/participants/beneficiaries/new",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}updateBeneficiary(e,t,s,r){return this.apiClient.request({...r,url:`/participants/beneficiaries/${e}`,method:"PATCH",data:t,secure:!0,headers:s,contentType:rt.Json,responseType:"json"})}createEntityCustomer(e,t,s){return this.apiClient.request({...s,url:"/participants/entity/new",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}submitEntityDocuments(e,t,s){return this.apiClient.request({...s,url:"/participants/entity/documents",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getParticipants(e,t,s){return this.apiClient.request({...s,url:"/participants",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getParticipant(e,t,s){return this.apiClient.request({...s,url:`/participants/${e}`,method:"GET",secure:!0,headers:t,responseType:"json"})}getParticipantLimits(e,t,s){return this.apiClient.request({...s,url:`/participant/${e}/limits`,method:"GET",secure:!0,headers:t,responseType:"json"})}getParticipantKycStatus(e,t,s){return this.apiClient.request({...s,url:`/participant/${e}/kyc_status`,method:"GET",secure:!0,headers:t,responseType:"json"})}getParticipantBasicInfo(e,t,s){return this.apiClient.request({...s,url:`/participant/${e}/basic_info`,method:"GET",secure:!0,headers:t,responseType:"json"})}getParticipantSanctionScreeningInfo(e,t,s){return this.apiClient.request({...s,url:`/participant/${e}/sanction_screening_info`,method:"GET",secure:!0,headers:t,responseType:"json"})}getParticipantFullInfo(e,t,s){return this.apiClient.request({...s,url:`/participant/${e}/full_info`,method:"GET",secure:!0,headers:t,responseType:"json"})}getCountries(e,t){return this.apiClient.request({...t,url:"/jurisdiction/countries",method:"GET",secure:!0,headers:e,responseType:"json"})}getSubdivisions(e,t,s){return this.apiClient.request({...s,url:"/jurisdiction/subdivisions",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}evaluateParticipantOnboarding(e,t,s){return this.apiClient.request({...s,url:"/jurisdiction/evaluate-onboarding",method:"POST",params:e,secure:!0,headers:t,responseType:"json"})}}var oh={};s4(oh,"Liquidity",()=>oC);class oC{constructor(e){this.apiClient=e,s8(s$)(this)}getQuote(e,t,s){return this.apiClient.request({...s,url:"/liquidity/rfq",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getQuote2(e,t,s){return this.apiClient.request({...s,url:"/liquidity/rfq",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}updateQuote(e,t,s){return this.apiClient.request({...s,url:"/liquidity/rfq",method:"PATCH",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}executeQuote(e,t,s){return this.apiClient.request({...s,url:"/liquidity/execute",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}}var oS={};s4(oS,"Rewards",()=>oy);class oy{constructor(e){this.apiClient=e,s8(s$)(this)}disperseRewards(e,t,s){return this.apiClient.request({...s,url:"/rewards",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}}var oP={};s4(oP,"Awards",()=>oO);class oO{constructor(e){this.apiClient=e,s8(s$)(this)}fundAwardsAccount(e,t,s){return this.apiClient.request({...s,url:"/awards/fund",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}distributeAwards(e,t,s){return this.apiClient.request({...s,url:"/awards/distribute",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}}var oA={};s4(oA,"Payments",()=>oI);class oI{constructor(e){this.apiClient=e,s8(s$)(this)}createExternalAccounts(e,t,s){return this.apiClient.request({...s,url:"/payments/external_accounts",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getExternalAccounts(e,t,s){return this.apiClient.request({...s,url:"/payments/external_accounts",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}closeExternalAccount(e,t,s,r){return this.apiClient.request({...r,url:`/payments/external_accounts/${e}/close`,method:"POST",data:t,secure:!0,headers:s,contentType:rt.Json,responseType:"json"})}createPayment(e,t,s){return this.apiClient.request({...s,url:"/payments",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getPayments(e,t,s){return this.apiClient.request({...s,url:"/payments",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getPaymentById(e,t,s){return this.apiClient.request({...s,url:`/payments/${e}`,method:"GET",secure:!0,headers:t,responseType:"json"})}getPendingFiatTransactions(e,t,s){return this.apiClient.request({...s,url:"/payments/settlements",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}retryAFiatPayment(e,t,s){return this.apiClient.request({...s,url:`/payments/${e}/retry`,method:"POST",secure:!0,headers:t,responseType:"json"})}getFiatTransactions(e,t,s){return this.apiClient.request({...s,url:"/payments/history",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getFiatTransactionStatuses(e,t,s){return this.apiClient.request({...s,url:"/payments/status",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getQuote(e,t,s){return this.apiClient.request({...s,url:"/payments/rfq",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}executeQuote(e,t,s){return this.apiClient.request({...s,url:"/payments/execute",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}}var oN={};s4(oN,"MarketData",()=>og);class og{constructor(e){this.apiClient=e,s8(s$)(this)}getSymbolData(e,t){return this.apiClient.request({...t,url:"/market_data/symbol_data",method:"GET",params:e,secure:!0,responseType:"json"})}getOhlcvData(e,t,s){return this.apiClient.request({...s,url:"/market_data/ohlcv",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getNewsArticles(e,t){return this.apiClient.request({...t,url:"/market_data/news/latest",method:"GET",params:e,secure:!0,responseType:"json"})}getNewsFeeds(e){return this.apiClient.request({...e,url:"/market_data/news/feeds",method:"GET",secure:!0,responseType:"json"})}getCategories(e){return this.apiClient.request({...e,url:"/market_data/news/categories",method:"GET",secure:!0,responseType:"json"})}}var of={};s4(of,"ConvertAndWithdraw",()=>oU);class oU{constructor(e){this.apiClient=e,s8(s$)(this)}getQuote(e,t,s){return this.apiClient.request({...s,url:"/convert_withdraw/rfq",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getQuote2(e,t,s){return this.apiClient.request({...s,url:"/convert_withdraw/rfq",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}executeQuote(e,t,s){return this.apiClient.request({...s,url:"/convert_withdraw/execute",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}}var oL={};s4(oL,"Fund",()=>oD);class oD{constructor(e){this.apiClient=e,s8(s$)(this)}getQuote(e,t,s){return this.apiClient.request({...s,url:"/fund/rfq",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getTransactions(e,t,s){return this.apiClient.request({...s,url:"/fund/transactions",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}}var ov={};s4(ov,"Clob",()=>ow);class ow{constructor(e){this.apiClient=e,s8(s$)(this)}createAccountClob(e,t,s){return this.apiClient.request({...s,url:"/clob/accounts",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}getAccountsClob(e,t,s){return this.apiClient.request({...s,url:"/clob/accounts",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}updateClobAccount(e,t,s){return this.apiClient.request({...s,url:"/clob/accounts",method:"PATCH",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}searchOrders(e,t,s){return this.apiClient.request({...s,url:"/orders/v1/search_orders",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}searchExecutions(e,t,s){return this.apiClient.request({...s,url:"/orders/v1/search_executions",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}createOrderSubscription(e,t,s){return this.apiClient.request({...s,url:"/orders/v1/create_order_subscription",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}submitOrder(e,t,s){return this.apiClient.request({...s,url:"/orders/v1/insert_order",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}cancelOrder(e,t,s){return this.apiClient.request({...s,url:"/orders/v1/cancel_order",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}listInstruments(e,t,s){return this.apiClient.request({...s,url:"/orders/v1/list_instruments",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}tradeStats(e,t,s){return this.apiClient.request({...s,url:"/orders/v1/get_trade_stats",method:"POST",data:e,secure:!0,headers:t,contentType:rt.Json,responseType:"json"})}}s7(rR,rm),s7(rR,i7),s7(rR,i8),s7(rR,oe),s7(rR,os),s7(rR,on),s7(rR,oi),s7(rR,ou),s7(rR,od),s7(rR,oc),s7(rR,oE),s7(rR,om),s7(rR,oh),s7(rR,oS),s7(rR,oP),s7(rR,oA),s7(rR,oN),s7(rR,of),s7(rR,oL),s7(rR,ov);class oM extends re{constructor(e){super(new rr(e)),this.config=e,this.accounts=new oo(this.apiClient),this.assets=new ot(this.apiClient),this.awards=new oO(this.apiClient),this.clob=new ow(this.apiClient),this.convertAndWithdraw=new oU(this.apiClient),this.deposits=new ol(this.apiClient),this.fund=new oD(this.apiClient),this.index=new i9(this.apiClient),this.liquidity=new oC(this.apiClient),this.marketData=new og(this.apiClient),this.movements=new o_(this.apiClient),this.participants=new oT(this.apiClient),this.payments=new oI(this.apiClient),this.positions=new oa(this.apiClient),this.public=new i4(this.apiClient),this.rewards=new oy(this.apiClient),this.trades=new or(this.apiClient),this.transfers=new rE(this.apiClient),this.withdrawals=new op(this.apiClient)}}s7(module.exports,s9),s7(module.exports,rR);
|
|
2
2
|
//# sourceMappingURL=index.js.map
|