@mywebapi.com/sdk 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +252 -0
- package/dist/auth.d.ts +54 -0
- package/dist/client.d.ts +137 -0
- package/dist/environments.d.ts +13 -0
- package/dist/errors.d.ts +27 -0
- package/dist/generated/model/activationModes.d.ts +14 -0
- package/dist/generated/model/activationType.d.ts +19 -0
- package/dist/generated/model/apiError.d.ts +25 -0
- package/dist/generated/model/apiMeta.d.ts +23 -0
- package/dist/generated/model/arcBackupExecutionPeriod.d.ts +14 -0
- package/dist/generated/model/arcBackupStorePeriod.d.ts +15 -0
- package/dist/generated/model/backupExecutionPeriod.d.ts +13 -0
- package/dist/generated/model/backupStorePeriod.d.ts +14 -0
- package/dist/generated/model/booleanApiResponse.d.ts +30 -0
- package/dist/generated/model/chartPeriod.d.ts +19 -0
- package/dist/generated/model/dataFeedMode.d.ts +13 -0
- package/dist/generated/model/dateTimeApiResponse.d.ts +30 -0
- package/dist/generated/model/dealAction.d.ts +31 -0
- package/dist/generated/model/dealReason.d.ts +30 -0
- package/dist/generated/model/enAuthMode.d.ts +14 -0
- package/dist/generated/model/enAuthOTPMode.d.ts +13 -0
- package/dist/generated/model/enCalcMode.d.ts +25 -0
- package/dist/generated/model/enChartMode.d.ts +13 -0
- package/dist/generated/model/enCommActionMode.d.ts +13 -0
- package/dist/generated/model/enCommChargeMode.d.ts +13 -0
- package/dist/generated/model/enCommEntryMode.d.ts +13 -0
- package/dist/generated/model/enCommMode.d.ts +13 -0
- package/dist/generated/model/enCommProfitMode.d.ts +13 -0
- package/dist/generated/model/enCommRangeMode.d.ts +15 -0
- package/dist/generated/model/enCommReasonFlags.d.ts +19 -0
- package/dist/generated/model/enCommissionMode.d.ts +18 -0
- package/dist/generated/model/enCommissionVolumeType.d.ts +12 -0
- package/dist/generated/model/enExecutionMode.d.ts +14 -0
- package/dist/generated/model/enExpirationFlags.d.ts +16 -0
- package/dist/generated/model/enFillingFlags.d.ts +15 -0
- package/dist/generated/model/enFreeMarginMode.d.ts +14 -0
- package/dist/generated/model/enGatewayAccountFlags.d.ts +12 -0
- package/dist/generated/model/enGtcMode.d.ts +13 -0
- package/dist/generated/model/enHistoryLimit.d.ts +17 -0
- package/dist/generated/model/enIndustries.d.ts +176 -0
- package/dist/generated/model/enInstantFlags.d.ts +12 -0
- package/dist/generated/model/enInstantMode.d.ts +16 -0
- package/dist/generated/model/enLogType.d.ts +18 -0
- package/dist/generated/model/enMailMode.d.ts +12 -0
- package/dist/generated/model/enManagerLimit.d.ts +17 -0
- package/dist/generated/model/enManagerRights.d.ts +86 -0
- package/dist/generated/model/enMarginCalcFlags.d.ts +12 -0
- package/dist/generated/model/enMarginFlags.d.ts +17 -0
- package/dist/generated/model/enMarginMode.d.ts +13 -0
- package/dist/generated/model/enNewsMode.d.ts +13 -0
- package/dist/generated/model/enOptionMode.d.ts +14 -0
- package/dist/generated/model/enOrderFlags.d.ts +19 -0
- package/dist/generated/model/enPermissionsFlags.d.ts +22 -0
- package/dist/generated/model/enReportsFlags.d.ts +15 -0
- package/dist/generated/model/enReportsMode.d.ts +14 -0
- package/dist/generated/model/enRequestFlags.d.ts +12 -0
- package/dist/generated/model/enSectors.d.ts +26 -0
- package/dist/generated/model/enSpliceTimeType.d.ts +11 -0
- package/dist/generated/model/enSpliceType.d.ts +13 -0
- package/dist/generated/model/enStopOutMode.d.ts +12 -0
- package/dist/generated/model/enSwapDays.d.ts +18 -0
- package/dist/generated/model/enSwapFlags.d.ts +12 -0
- package/dist/generated/model/enSwapMode.d.ts +20 -0
- package/dist/generated/model/enTickFlags.d.ts +16 -0
- package/dist/generated/model/enTradeFlags.d.ts +17 -0
- package/dist/generated/model/enTradeMode.d.ts +15 -0
- package/dist/generated/model/enTradeRightsFlags.d.ts +25 -0
- package/dist/generated/model/enTransferMode.d.ts +14 -0
- package/dist/generated/model/entryFlag.d.ts +14 -0
- package/dist/generated/model/exportExecutionPeriod.d.ts +15 -0
- package/dist/generated/model/gTCMode.d.ts +13 -0
- package/dist/generated/model/getAdmBalanceCheckParams.d.ts +13 -0
- package/dist/generated/model/getAdmTradesRequestGroupParams.d.ts +13 -0
- package/dist/generated/model/getBackupRequestOrdersFileParams.d.ts +17 -0
- package/dist/generated/model/getBackupRequestUsersFileParams.d.ts +17 -0
- package/dist/generated/model/getCfgRequestAccessParams.d.ts +19 -0
- package/dist/generated/model/getCfgRequestDataServerParams.d.ts +19 -0
- package/dist/generated/model/getCfgRequestFeederParams.d.ts +19 -0
- package/dist/generated/model/getCfgRequestGatewayAccountParams.d.ts +19 -0
- package/dist/generated/model/getCfgRequestGatewayMarkupParams.d.ts +19 -0
- package/dist/generated/model/getCfgRequestGatewayRuleParams.d.ts +19 -0
- package/dist/generated/model/getCfgRequestHolidayParams.d.ts +19 -0
- package/dist/generated/model/getCfgRequestLiveUpdateParams.d.ts +19 -0
- package/dist/generated/model/getCfgRequestManagerParams.d.ts +19 -0
- package/dist/generated/model/getCfgRequestSyncParams.d.ts +19 -0
- package/dist/generated/model/getChartRequestSymbolParams.d.ts +27 -0
- package/dist/generated/model/getDailyReportsRequestExParams.d.ts +27 -0
- package/dist/generated/model/getDailyReportsRequestParams.d.ts +27 -0
- package/dist/generated/model/getDealByGroupMaskParams.d.ts +19 -0
- package/dist/generated/model/getGroupsRequestParams.d.ts +19 -0
- package/dist/generated/model/getJournalRequestParams.d.ts +26 -0
- package/dist/generated/model/getOnlineGetParams.d.ts +19 -0
- package/dist/generated/model/getOnlineRequestParams.d.ts +19 -0
- package/dist/generated/model/getOrderByGroupMaskParams.d.ts +19 -0
- package/dist/generated/model/getPerformanceRequestParams.d.ts +15 -0
- package/dist/generated/model/getPositionByGroupMaskParams.d.ts +19 -0
- package/dist/generated/model/getReportsRequestParams.d.ts +27 -0
- package/dist/generated/model/getSrvFeedersParams.d.ts +19 -0
- package/dist/generated/model/getSymbolInfoGetParams.d.ts +13 -0
- package/dist/generated/model/getSymbolInfoUpdatedParams.d.ts +19 -0
- package/dist/generated/model/getTicksRequestSymbolParams.d.ts +22 -0
- package/dist/generated/model/getTradeRecordsRequestParams.d.ts +13 -0
- package/dist/generated/model/getTradesGetBySymbolParams.d.ts +13 -0
- package/dist/generated/model/getTradesGetParams.d.ts +19 -0
- package/dist/generated/model/getTradesRequestParams.d.ts +23 -0
- package/dist/generated/model/getTradesSnapshotParams.d.ts +13 -0
- package/dist/generated/model/getTradesSyncReadParams.d.ts +13 -0
- package/dist/generated/model/getTradesUserHistoryLoginParams.d.ts +17 -0
- package/dist/generated/model/getUserRecordsRequestParams.d.ts +13 -0
- package/dist/generated/model/getUsersRequestParams.d.ts +19 -0
- package/dist/generated/model/getUsersSnapshotParams.d.ts +13 -0
- package/dist/generated/model/getUsersSyncReadParams.d.ts +13 -0
- package/dist/generated/model/groupRights.d.ts +18 -0
- package/dist/generated/model/index.d.ts +323 -0
- package/dist/generated/model/int32ApiResponse.d.ts +30 -0
- package/dist/generated/model/int32MT4DailyReportListDictionaryApiResponse.d.ts +32 -0
- package/dist/generated/model/int32MT4DailyReportListDictionaryApiResponseData.d.ts +14 -0
- package/dist/generated/model/jsonNode.d.ts +13 -0
- package/dist/generated/model/jsonNodeApiResponse.d.ts +31 -0
- package/dist/generated/model/jsonNodeOptions.d.ts +10 -0
- package/dist/generated/model/mT4Access.d.ts +30 -0
- package/dist/generated/model/mT4AccessApiResponse.d.ts +37 -0
- package/dist/generated/model/mT4AccessListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4Backup.d.ts +83 -0
- package/dist/generated/model/mT4BackupApiResponse.d.ts +38 -0
- package/dist/generated/model/mT4BackupInfo.d.ts +27 -0
- package/dist/generated/model/mT4BackupInfoListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4BalanceDiff.d.ts +20 -0
- package/dist/generated/model/mT4BalanceDiffApiResponse.d.ts +38 -0
- package/dist/generated/model/mT4BalanceDiffListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4ChartBar.d.ts +27 -0
- package/dist/generated/model/mT4ChartBarListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4ChartWriteRequest.d.ts +21 -0
- package/dist/generated/model/mT4Common.d.ts +30 -0
- package/dist/generated/model/mT4CommonApiResponse.d.ts +36 -0
- package/dist/generated/model/mT4CommonUpdate.d.ts +49 -0
- package/dist/generated/model/mT4DailyReport.d.ts +51 -0
- package/dist/generated/model/mT4DailyReportListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4DataServer.d.ts +38 -0
- package/dist/generated/model/mT4DataServerApiResponse.d.ts +38 -0
- package/dist/generated/model/mT4DataServerListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4ExternalCommandBinaryRequest.d.ts +20 -0
- package/dist/generated/model/mT4ExternalCommandBinaryResponse.d.ts +17 -0
- package/dist/generated/model/mT4ExternalCommandBinaryResponseApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4Feeder.d.ts +54 -0
- package/dist/generated/model/mT4FeederApiResponse.d.ts +36 -0
- package/dist/generated/model/mT4FeederListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4GatewayAccount.d.ts +42 -0
- package/dist/generated/model/mT4GatewayAccountApiResponse.d.ts +38 -0
- package/dist/generated/model/mT4GatewayAccountListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4GatewayMarkup.d.ts +39 -0
- package/dist/generated/model/mT4GatewayMarkupApiResponse.d.ts +38 -0
- package/dist/generated/model/mT4GatewayMarkupListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4GatewayRule.d.ts +59 -0
- package/dist/generated/model/mT4GatewayRuleApiResponse.d.ts +41 -0
- package/dist/generated/model/mT4GatewayRuleListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4Group.d.ts +126 -0
- package/dist/generated/model/mT4GroupApiResponse.d.ts +57 -0
- package/dist/generated/model/mT4GroupListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4GroupMargin.d.ts +26 -0
- package/dist/generated/model/mT4GroupMarginListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4GroupSec.d.ts +77 -0
- package/dist/generated/model/mT4GroupSecListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4GroupUpdate.d.ts +111 -0
- package/dist/generated/model/mT4Holiday.d.ts +38 -0
- package/dist/generated/model/mT4HolidayApiResponse.d.ts +38 -0
- package/dist/generated/model/mT4HolidayListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4LiveUpdate.d.ts +43 -0
- package/dist/generated/model/mT4LiveUpdateApiResponse.d.ts +41 -0
- package/dist/generated/model/mT4LiveUpdateListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4MailBox.d.ts +34 -0
- package/dist/generated/model/mT4MailBoxListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4MailSendRequest.d.ts +36 -0
- package/dist/generated/model/mT4ManagerRights.d.ts +61 -0
- package/dist/generated/model/mT4ManagerRightsApiResponse.d.ts +39 -0
- package/dist/generated/model/mT4ManagerRightsListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4MarginLevel.d.ts +45 -0
- package/dist/generated/model/mT4MarginLevelApiResponse.d.ts +38 -0
- package/dist/generated/model/mT4MarginLevelListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4NewsSendRequest.d.ts +31 -0
- package/dist/generated/model/mT4NewsTopic.d.ts +53 -0
- package/dist/generated/model/mT4NewsTopicApiResponse.d.ts +42 -0
- package/dist/generated/model/mT4NewsTopicListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4NotificationsSendRequest.d.ts +29 -0
- package/dist/generated/model/mT4Online.d.ts +24 -0
- package/dist/generated/model/mT4OnlineListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4Performance.d.ts +30 -0
- package/dist/generated/model/mT4PerformanceListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4Plugin.d.ts +36 -0
- package/dist/generated/model/mT4PluginConfig.d.ts +23 -0
- package/dist/generated/model/mT4PluginListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4PluginParam.d.ts +22 -0
- package/dist/generated/model/mT4PluginParamApiResponse.d.ts +35 -0
- package/dist/generated/model/mT4PluginParamListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4ServerLog.d.ts +45 -0
- package/dist/generated/model/mT4ServerLogListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4ServerTime.d.ts +26 -0
- package/dist/generated/model/mT4ServerTimeApiResponse.d.ts +42 -0
- package/dist/generated/model/mT4SymbolChangeRequest.d.ts +38 -0
- package/dist/generated/model/mT4SymbolConfig.d.ts +154 -0
- package/dist/generated/model/mT4SymbolConfigApiResponse.d.ts +41 -0
- package/dist/generated/model/mT4SymbolConfigListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4SymbolConfigUpdate.d.ts +82 -0
- package/dist/generated/model/mT4SymbolDaySessions.d.ts +30 -0
- package/dist/generated/model/mT4SymbolDaySessionsListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4SymbolGroup.d.ts +26 -0
- package/dist/generated/model/mT4SymbolGroupApiResponse.d.ts +38 -0
- package/dist/generated/model/mT4SymbolGroupListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4SymbolInfo.d.ts +50 -0
- package/dist/generated/model/mT4SymbolInfoApiResponse.d.ts +42 -0
- package/dist/generated/model/mT4SymbolInfoListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4SymbolSession.d.ts +23 -0
- package/dist/generated/model/mT4Sync.d.ts +41 -0
- package/dist/generated/model/mT4SyncApiResponse.d.ts +37 -0
- package/dist/generated/model/mT4SyncListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4TickInfo.d.ts +28 -0
- package/dist/generated/model/mT4TickInfoApiResponse.d.ts +39 -0
- package/dist/generated/model/mT4TickInfoListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4TickRecord.d.ts +30 -0
- package/dist/generated/model/mT4TickRecordListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4Trade.d.ts +83 -0
- package/dist/generated/model/mT4TradeApiResponse.d.ts +43 -0
- package/dist/generated/model/mT4TradeListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4TradeRestoreInput.d.ts +54 -0
- package/dist/generated/model/mT4TradeRestoreResult.d.ts +18 -0
- package/dist/generated/model/mT4TradeRestoreResultListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4TradeTransaction.d.ts +65 -0
- package/dist/generated/model/mT4TradeTransactionApiResponse.d.ts +44 -0
- package/dist/generated/model/mT4TradeUpdate.d.ts +45 -0
- package/dist/generated/model/mT4User.d.ts +141 -0
- package/dist/generated/model/mT4UserApiResponse.d.ts +48 -0
- package/dist/generated/model/mT4UserCreate.d.ts +63 -0
- package/dist/generated/model/mT4UserListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT4UserRestoreInput.d.ts +46 -0
- package/dist/generated/model/mT4UserUpdate.d.ts +122 -0
- package/dist/generated/model/mT4UsersGroupOp.d.ts +30 -0
- package/dist/generated/model/mT5ConCommTier.d.ts +45 -0
- package/dist/generated/model/mT5ConCommission.d.ts +58 -0
- package/dist/generated/model/mT5ConGroup.d.ts +207 -0
- package/dist/generated/model/mT5ConGroupApiResponse.d.ts +31 -0
- package/dist/generated/model/mT5ConGroupCommissions.d.ts +15 -0
- package/dist/generated/model/mT5ConManager.d.ts +36 -0
- package/dist/generated/model/mT5ConManagerApiResponse.d.ts +31 -0
- package/dist/generated/model/mT5Deal.d.ts +232 -0
- package/dist/generated/model/mT5DealListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT5Order.d.ts +201 -0
- package/dist/generated/model/mT5OrderListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT5Position.d.ts +154 -0
- package/dist/generated/model/mT5PositionListApiResponse.d.ts +32 -0
- package/dist/generated/model/mT5Symbol.d.ts +548 -0
- package/dist/generated/model/mT5SymbolApiResponse.d.ts +31 -0
- package/dist/generated/model/mT5SymbolMarginRateInitial.d.ts +21 -0
- package/dist/generated/model/mT5SymbolMarginRateMaintenance.d.ts +21 -0
- package/dist/generated/model/mT5SymbolSession.d.ts +39 -0
- package/dist/generated/model/mT5Time.d.ts +23 -0
- package/dist/generated/model/mT5TimeApiResponse.d.ts +32 -0
- package/dist/generated/model/mT5User.d.ts +168 -0
- package/dist/generated/model/mT5UserApiResponse.d.ts +36 -0
- package/dist/generated/model/marginCalculationMode.d.ts +15 -0
- package/dist/generated/model/marginControllingType.d.ts +12 -0
- package/dist/generated/model/marginLevelType.d.ts +13 -0
- package/dist/generated/model/marginMode.d.ts +14 -0
- package/dist/generated/model/newsMode.d.ts +13 -0
- package/dist/generated/model/oTPMode.d.ts +12 -0
- package/dist/generated/model/orderFilling.d.ts +14 -0
- package/dist/generated/model/orderReason.d.ts +30 -0
- package/dist/generated/model/orderState.d.ts +20 -0
- package/dist/generated/model/orderTime.d.ts +14 -0
- package/dist/generated/model/orderType.d.ts +19 -0
- package/dist/generated/model/pagingMeta.d.ts +23 -0
- package/dist/generated/model/positionActions.d.ts +15 -0
- package/dist/generated/model/positionReasons.d.ts +30 -0
- package/dist/generated/model/postAdmBalanceFixParams.d.ts +13 -0
- package/dist/generated/model/postAdmTradesDeleteParams.d.ts +14 -0
- package/dist/generated/model/postBackupRestoreOrdersParams.d.ts +13 -0
- package/dist/generated/model/postBackupRestoreUsersParams.d.ts +13 -0
- package/dist/generated/model/postCfgShiftAccessPosParams.d.ts +13 -0
- package/dist/generated/model/postCfgShiftDataServerPosParams.d.ts +13 -0
- package/dist/generated/model/postCfgShiftFeederPosParams.d.ts +13 -0
- package/dist/generated/model/postCfgShiftGatewayAccountPosParams.d.ts +13 -0
- package/dist/generated/model/postCfgShiftGatewayMarkupPosParams.d.ts +13 -0
- package/dist/generated/model/postCfgShiftGatewayRulePosParams.d.ts +13 -0
- package/dist/generated/model/postCfgShiftGroupPosParams.d.ts +13 -0
- package/dist/generated/model/postCfgShiftHolidayPosParams.d.ts +13 -0
- package/dist/generated/model/postCfgShiftLiveUpdatePosParams.d.ts +13 -0
- package/dist/generated/model/postCfgShiftManagerPosParams.d.ts +13 -0
- package/dist/generated/model/postCfgShiftPluginPosParams.d.ts +13 -0
- package/dist/generated/model/postCfgShiftSymbolPosParams.d.ts +13 -0
- package/dist/generated/model/postCfgShiftSyncPosParams.d.ts +13 -0
- package/dist/generated/model/postChartAddSymbolParams.d.ts +14 -0
- package/dist/generated/model/postChartDeleteSymbolParams.d.ts +14 -0
- package/dist/generated/model/postChartUpdateSymbolParams.d.ts +14 -0
- package/dist/generated/model/postDailySyncStartParams.d.ts +14 -0
- package/dist/generated/model/postSrvChartsSyncParams.d.ts +13 -0
- package/dist/generated/model/postSrvFeedsRestartParams.d.ts +13 -0
- package/dist/generated/model/postSrvLiveUpdateStartParams.d.ts +13 -0
- package/dist/generated/model/postSrvRestartParams.d.ts +13 -0
- package/dist/generated/model/postSymbolSendTickParams.d.ts +21 -0
- package/dist/generated/model/postTradeCheckStopsParams.d.ts +13 -0
- package/dist/generated/model/postTradesSyncStartParams.d.ts +14 -0
- package/dist/generated/model/postUserPasswordSetLoginParams.d.ts +17 -0
- package/dist/generated/model/postUsersSyncStartParams.d.ts +14 -0
- package/dist/generated/model/profitCalculationMode.d.ts +13 -0
- package/dist/generated/model/requestMode.d.ts +14 -0
- package/dist/generated/model/resultCode.d.ts +50 -0
- package/dist/generated/model/serverRole.d.ts +13 -0
- package/dist/generated/model/stringApiResponse.d.ts +31 -0
- package/dist/generated/model/swapType.d.ts +14 -0
- package/dist/generated/model/symbolExecMode.d.ts +13 -0
- package/dist/generated/model/symbolPriceDirection.d.ts +13 -0
- package/dist/generated/model/synchronizationMode.d.ts +15 -0
- package/dist/generated/model/tickRequestFlags.d.ts +13 -0
- package/dist/generated/model/tradeActivationFlags.d.ts +19 -0
- package/dist/generated/model/tradeCommand.d.ts +18 -0
- package/dist/generated/model/tradeMode.d.ts +13 -0
- package/dist/generated/model/tradeModifyFlags.d.ts +23 -0
- package/dist/generated/model/tradeRecordReason.d.ts +18 -0
- package/dist/generated/model/tradeRecordState.d.ts +17 -0
- package/dist/generated/model/usersRights.d.ts +32 -0
- package/dist/generated/model/watchdogFailoverMode.d.ts +13 -0
- package/dist/generated/model/watchdogState.d.ts +13 -0
- package/dist/generated/model/webApiErrorCode.d.ts +24 -0
- package/dist/generated/mt4-v2-authentication.d.ts +64 -0
- package/dist/generated/mt4-v2-backup-destructive.d.ts +57 -0
- package/dist/generated/mt4-v2-backup.d.ts +98 -0
- package/dist/generated/mt4-v2-common.d.ts +66 -0
- package/dist/generated/mt4-v2-config.d.ts +948 -0
- package/dist/generated/mt4-v2-groups.d.ts +166 -0
- package/dist/generated/mt4-v2-history.d.ts +28 -0
- package/dist/generated/mt4-v2-mail.d.ts +25 -0
- package/dist/generated/mt4-v2-margins.d.ts +65 -0
- package/dist/generated/mt4-v2-news.d.ts +101 -0
- package/dist/generated/mt4-v2-online.d.ts +49 -0
- package/dist/generated/mt4-v2-plugins.d.ts +41 -0
- package/dist/generated/mt4-v2-prices.d.ts +175 -0
- package/dist/generated/mt4-v2-reports.d.ts +169 -0
- package/dist/generated/mt4-v2-server-admin-destructive.d.ts +87 -0
- package/dist/generated/mt4-v2-server-admin.d.ts +80 -0
- package/dist/generated/mt4-v2-sidecar-batch-reads.d.ts +82 -0
- package/dist/generated/mt4-v2-sidecar-externalcommand.d.ts +43 -0
- package/dist/generated/mt4-v2-sidecar-messaging.d.ts +65 -0
- package/dist/generated/mt4-v2-sidecar-plugins.d.ts +100 -0
- package/dist/generated/mt4-v2-symbols.d.ts +273 -0
- package/dist/generated/mt4-v2-trades.d.ts +356 -0
- package/dist/generated/mt4-v2-users.d.ts +319 -0
- package/dist/generated/mt5-v2-common.d.ts +34 -0
- package/dist/generated/mt5-v2-groups.d.ts +36 -0
- package/dist/generated/mt5-v2-managers.d.ts +21 -0
- package/dist/generated/mt5-v2-symbols.d.ts +36 -0
- package/dist/generated/mt5-v2-trades.d.ts +53 -0
- package/dist/generated/mt5-v2-users.d.ts +36 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +6357 -0
- package/dist/mutator.context.d.ts +13 -0
- package/dist/mutator.d.ts +4 -0
- package/dist/pagination.d.ts +27 -0
- package/dist/retry.d.ts +20 -0
- package/dist/signalr.d.ts +179 -0
- package/dist/signalr.mt5.d.ts +78 -0
- package/package.json +51 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type PostCfgShiftGroupPosParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Relative displacement
|
|
11
|
+
*/
|
|
12
|
+
shift?: number;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type PostCfgShiftHolidayPosParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Relative displacement
|
|
11
|
+
*/
|
|
12
|
+
shift?: number;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type PostCfgShiftLiveUpdatePosParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Relative displacement
|
|
11
|
+
*/
|
|
12
|
+
shift?: number;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type PostCfgShiftManagerPosParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Relative displacement
|
|
11
|
+
*/
|
|
12
|
+
shift?: number;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type PostCfgShiftPluginPosParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Relative displacement
|
|
11
|
+
*/
|
|
12
|
+
shift?: number;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type PostCfgShiftSymbolPosParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Relative displacement
|
|
11
|
+
*/
|
|
12
|
+
shift?: number;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type PostCfgShiftSyncPosParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Relative displacement
|
|
11
|
+
*/
|
|
12
|
+
shift?: number;
|
|
13
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ChartPeriod } from './chartPeriod';
|
|
9
|
+
export type PostChartAddSymbolParams = {
|
|
10
|
+
/**
|
|
11
|
+
* Bar period enum (M1, M5, M15, M30, H1, H4, D1, W1, MN1)
|
|
12
|
+
*/
|
|
13
|
+
period?: ChartPeriod;
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ChartPeriod } from './chartPeriod';
|
|
9
|
+
export type PostChartDeleteSymbolParams = {
|
|
10
|
+
/**
|
|
11
|
+
* Bar period enum
|
|
12
|
+
*/
|
|
13
|
+
period?: ChartPeriod;
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ChartPeriod } from './chartPeriod';
|
|
9
|
+
export type PostChartUpdateSymbolParams = {
|
|
10
|
+
/**
|
|
11
|
+
* Bar period enum
|
|
12
|
+
*/
|
|
13
|
+
period?: ChartPeriod;
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type PostDailySyncStartParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Unix-epoch-second cutoff (server-local time;
|
|
11
|
+
* 0 = pull all)
|
|
12
|
+
*/
|
|
13
|
+
timestamp?: number;
|
|
14
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type PostSrvChartsSyncParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Required deliberateness flag — must equal `true`
|
|
11
|
+
*/
|
|
12
|
+
confirm?: boolean;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type PostSrvFeedsRestartParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Required deliberateness flag — must equal `true`
|
|
11
|
+
*/
|
|
12
|
+
confirm?: boolean;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type PostSrvLiveUpdateStartParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Required deliberateness flag — must equal `true`
|
|
11
|
+
*/
|
|
12
|
+
confirm?: boolean;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type PostSrvRestartParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Required deliberateness flag — must equal `true`
|
|
11
|
+
*/
|
|
12
|
+
confirm?: boolean;
|
|
13
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type PostSymbolSendTickParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Symbol name (max 11 chars)
|
|
11
|
+
*/
|
|
12
|
+
symbol?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Bid price
|
|
15
|
+
*/
|
|
16
|
+
bid?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Ask price
|
|
19
|
+
*/
|
|
20
|
+
ask?: number;
|
|
21
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type PostTradeCheckStopsParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Reference price for the validation (typically current bid/ask).
|
|
11
|
+
*/
|
|
12
|
+
price?: number;
|
|
13
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type PostTradesSyncStartParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Unix-epoch-second cutoff (server-local time;
|
|
11
|
+
* 0 = pull all)
|
|
12
|
+
*/
|
|
13
|
+
timestamp?: number;
|
|
14
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type PostUserPasswordSetLoginParams = {
|
|
9
|
+
/**
|
|
10
|
+
* If true, sets the investor (read-only) password instead
|
|
11
|
+
*/
|
|
12
|
+
changeInvestor?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* If true, also resets the account's public key
|
|
15
|
+
*/
|
|
16
|
+
cleanPubkey?: boolean;
|
|
17
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type PostUsersSyncStartParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Unix-epoch-second cutoff (server-local time;
|
|
11
|
+
* 0 = pull all)
|
|
12
|
+
*/
|
|
13
|
+
timestamp?: number;
|
|
14
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type ProfitCalculationMode = typeof ProfitCalculationMode[keyof typeof ProfitCalculationMode];
|
|
9
|
+
export declare const ProfitCalculationMode: {
|
|
10
|
+
readonly Forex: "Forex";
|
|
11
|
+
readonly CFD: "CFD";
|
|
12
|
+
readonly Futures: "Futures";
|
|
13
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type RequestMode = typeof RequestMode[keyof typeof RequestMode];
|
|
9
|
+
export declare const RequestMode: {
|
|
10
|
+
readonly RangeIn: "RangeIn";
|
|
11
|
+
readonly RangeOut: "RangeOut";
|
|
12
|
+
readonly RangeLast: "RangeLast";
|
|
13
|
+
readonly RangeInExcludeOutOfRage: "RangeInExcludeOutOfRage";
|
|
14
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type ResultCode = typeof ResultCode[keyof typeof ResultCode];
|
|
9
|
+
export declare const ResultCode: {
|
|
10
|
+
readonly Ok: "Ok";
|
|
11
|
+
readonly OkNone: "OkNone";
|
|
12
|
+
readonly Error: "Error";
|
|
13
|
+
readonly InvalidData: "InvalidData";
|
|
14
|
+
readonly TechProblem: "TechProblem";
|
|
15
|
+
readonly OldVersion: "OldVersion";
|
|
16
|
+
readonly NoConnect: "NoConnect";
|
|
17
|
+
readonly NotEnoughRights: "NotEnoughRights";
|
|
18
|
+
readonly TooFrequent: "TooFrequent";
|
|
19
|
+
readonly Malfunction: "Malfunction";
|
|
20
|
+
readonly GenerateKey: "GenerateKey";
|
|
21
|
+
readonly SecuritySession: "SecuritySession";
|
|
22
|
+
readonly InvalidCompany: "InvalidCompany";
|
|
23
|
+
readonly AccountDisabled: "AccountDisabled";
|
|
24
|
+
readonly BadAccountInfo: "BadAccountInfo";
|
|
25
|
+
readonly PublicKeyMissing: "PublicKeyMissing";
|
|
26
|
+
readonly TradeTimeout: "TradeTimeout";
|
|
27
|
+
readonly TradeBadPrices: "TradeBadPrices";
|
|
28
|
+
readonly TradeBadStops: "TradeBadStops";
|
|
29
|
+
readonly TradeBadVolume: "TradeBadVolume";
|
|
30
|
+
readonly TradeMarketClosed: "TradeMarketClosed";
|
|
31
|
+
readonly TradeDisable: "TradeDisable";
|
|
32
|
+
readonly TradeNoMoney: "TradeNoMoney";
|
|
33
|
+
readonly TradePriceChanged: "TradePriceChanged";
|
|
34
|
+
readonly TradeOffquotes: "TradeOffquotes";
|
|
35
|
+
readonly TradeBrokerBusy: "TradeBrokerBusy";
|
|
36
|
+
readonly TradeRequote: "TradeRequote";
|
|
37
|
+
readonly TradeOrderLocked: "TradeOrderLocked";
|
|
38
|
+
readonly TradeLongOnly: "TradeLongOnly";
|
|
39
|
+
readonly TradeTooManyReq: "TradeTooManyReq";
|
|
40
|
+
readonly TradeAccepted: "TradeAccepted";
|
|
41
|
+
readonly TradeProcess: "TradeProcess";
|
|
42
|
+
readonly TradeUserCancel: "TradeUserCancel";
|
|
43
|
+
readonly TradeModifyDenied: "TradeModifyDenied";
|
|
44
|
+
readonly TradeContextBusy: "TradeContextBusy";
|
|
45
|
+
readonly TradeExpirationDenied: "TradeExpirationDenied";
|
|
46
|
+
readonly TradeTooManyOrders: "TradeTooManyOrders";
|
|
47
|
+
readonly TradeHedgeProhibited: "TradeHedgeProhibited";
|
|
48
|
+
readonly TradeProhibitedByFIFO: "TradeProhibitedByFIFO";
|
|
49
|
+
readonly UnhandledException: "UnhandledException";
|
|
50
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type ServerRole = typeof ServerRole[keyof typeof ServerRole];
|
|
9
|
+
export declare const ServerRole: {
|
|
10
|
+
readonly StandAlone: "StandAlone";
|
|
11
|
+
readonly Master: "Master";
|
|
12
|
+
readonly Slave: "Slave";
|
|
13
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ApiError } from './apiError';
|
|
9
|
+
import type { ApiMeta } from './apiMeta';
|
|
10
|
+
/**
|
|
11
|
+
* Unified v2 response envelope: data is the payload (null on error); error is the
|
|
12
|
+
* error object (null on success, always serialised); meta contains response metadata
|
|
13
|
+
* (activityId and optional paging). HTTP status is always 200.
|
|
14
|
+
*/
|
|
15
|
+
export interface StringApiResponse {
|
|
16
|
+
/** @nullable */
|
|
17
|
+
data?: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* v2 error body. Code is the stable transport error code; ManagerCode is the raw MT4
|
|
20
|
+
* ResultCode (serialized as a string for a known enum member, or as a number for an
|
|
21
|
+
* unrecognised value returned by MT4); Message is a human-readable description.
|
|
22
|
+
*/
|
|
23
|
+
error?: ApiError | null;
|
|
24
|
+
/**
|
|
25
|
+
* Response metadata. ActivityId is the W3C trace-id for correlation in Seq/SigNoz.
|
|
26
|
+
* Paging is present only on paginated list responses; otherwise it is omitted —
|
|
27
|
+
* the global JSON context policy serialises null fields, so we override that here
|
|
28
|
+
* with System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull.
|
|
29
|
+
*/
|
|
30
|
+
meta?: ApiMeta | null;
|
|
31
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type SwapType = typeof SwapType[keyof typeof SwapType];
|
|
9
|
+
export declare const SwapType: {
|
|
10
|
+
readonly Points: "Points";
|
|
11
|
+
readonly Dollars: "Dollars";
|
|
12
|
+
readonly Interest: "Interest";
|
|
13
|
+
readonly MarginCurrency: "MarginCurrency";
|
|
14
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type SymbolExecMode = typeof SymbolExecMode[keyof typeof SymbolExecMode];
|
|
9
|
+
export declare const SymbolExecMode: {
|
|
10
|
+
readonly Request: "Request";
|
|
11
|
+
readonly Instant: "Instant";
|
|
12
|
+
readonly Market: "Market";
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type SymbolPriceDirection = typeof SymbolPriceDirection[keyof typeof SymbolPriceDirection];
|
|
9
|
+
export declare const SymbolPriceDirection: {
|
|
10
|
+
readonly Up: "Up";
|
|
11
|
+
readonly Down: "Down";
|
|
12
|
+
readonly None: "None";
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type SynchronizationMode = typeof SynchronizationMode[keyof typeof SynchronizationMode];
|
|
9
|
+
export declare const SynchronizationMode: {
|
|
10
|
+
readonly Add: "Add";
|
|
11
|
+
readonly Update: "Update";
|
|
12
|
+
readonly Insert: "Insert";
|
|
13
|
+
readonly Delete: "Delete";
|
|
14
|
+
readonly Last: "Last";
|
|
15
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type TickRequestFlags = typeof TickRequestFlags[keyof typeof TickRequestFlags];
|
|
9
|
+
export declare const TickRequestFlags: {
|
|
10
|
+
readonly Raw: "Raw";
|
|
11
|
+
readonly Normal: "Normal";
|
|
12
|
+
readonly All: "All";
|
|
13
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type TradeActivationFlags = typeof TradeActivationFlags[keyof typeof TradeActivationFlags];
|
|
9
|
+
export declare const TradeActivationFlags: {
|
|
10
|
+
readonly None: "None";
|
|
11
|
+
readonly NoLimit: "NoLimit";
|
|
12
|
+
readonly NoStop: "NoStop";
|
|
13
|
+
readonly NoSLimit: "NoSLimit";
|
|
14
|
+
readonly NoSL: "NoSL";
|
|
15
|
+
readonly NoTP: "NoTP";
|
|
16
|
+
readonly NoSO: "NoSO";
|
|
17
|
+
readonly NoExpiration: "NoExpiration";
|
|
18
|
+
readonly All: "All";
|
|
19
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type TradeCommand = typeof TradeCommand[keyof typeof TradeCommand];
|
|
9
|
+
export declare const TradeCommand: {
|
|
10
|
+
readonly Buy: "Buy";
|
|
11
|
+
readonly Sell: "Sell";
|
|
12
|
+
readonly BuyLimit: "BuyLimit";
|
|
13
|
+
readonly SellLimit: "SellLimit";
|
|
14
|
+
readonly BuyStop: "BuyStop";
|
|
15
|
+
readonly SellStop: "SellStop";
|
|
16
|
+
readonly Balance: "Balance";
|
|
17
|
+
readonly Credit: "Credit";
|
|
18
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type TradeMode = typeof TradeMode[keyof typeof TradeMode];
|
|
9
|
+
export declare const TradeMode: {
|
|
10
|
+
readonly No: "No";
|
|
11
|
+
readonly Close: "Close";
|
|
12
|
+
readonly Full: "Full";
|
|
13
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* also used for Deal,Order,Position
|
|
10
|
+
*/
|
|
11
|
+
export type TradeModifyFlags = typeof TradeModifyFlags[keyof typeof TradeModifyFlags];
|
|
12
|
+
export declare const TradeModifyFlags: {
|
|
13
|
+
readonly None: "None";
|
|
14
|
+
readonly Admin: "Admin";
|
|
15
|
+
readonly Manager: "Manager";
|
|
16
|
+
readonly Position: "Position";
|
|
17
|
+
readonly Restore: "Restore";
|
|
18
|
+
readonly ApiAdmin: "ApiAdmin";
|
|
19
|
+
readonly ApiManager: "ApiManager";
|
|
20
|
+
readonly ApiServer: "ApiServer";
|
|
21
|
+
readonly ApiGateway: "ApiGateway";
|
|
22
|
+
readonly All: "All";
|
|
23
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type TradeRecordReason = typeof TradeRecordReason[keyof typeof TradeRecordReason];
|
|
9
|
+
export declare const TradeRecordReason: {
|
|
10
|
+
readonly Client: "Client";
|
|
11
|
+
readonly Expert: "Expert";
|
|
12
|
+
readonly Dealer: "Dealer";
|
|
13
|
+
readonly Signal: "Signal";
|
|
14
|
+
readonly Gateway: "Gateway";
|
|
15
|
+
readonly Mobile: "Mobile";
|
|
16
|
+
readonly Web: "Web";
|
|
17
|
+
readonly API: "API";
|
|
18
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* JSON-Pure WebAPI for MT4/MT5
|
|
5
|
+
* It uses native MetaQuote ManagerAPI for both MT4 and MT5 connection. Plus, it keep pumping connection active, so all *Get calls will run much faster, than *Request.<br/>Here partially used the idea of JSON-Pure API, only HTTP code 200 is acceptable. Other codes signal about errors on server side, which are out of control of client, like wrong parameters, platform unavailability, etc.
|
|
6
|
+
* OpenAPI spec version: 2.0
|
|
7
|
+
*/
|
|
8
|
+
export type TradeRecordState = typeof TradeRecordState[keyof typeof TradeRecordState];
|
|
9
|
+
export declare const TradeRecordState: {
|
|
10
|
+
readonly OpenNormal: "OpenNormal";
|
|
11
|
+
readonly OpenRemand: "OpenRemand";
|
|
12
|
+
readonly OpenRestored: "OpenRestored";
|
|
13
|
+
readonly ClosedNormal: "ClosedNormal";
|
|
14
|
+
readonly ClosedPart: "ClosedPart";
|
|
15
|
+
readonly ClosedBy: "ClosedBy";
|
|
16
|
+
readonly Deleted: "Deleted";
|
|
17
|
+
};
|