fixparser 9.1.7-9d6b5ca3 → 9.1.7-a0927339

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (748) hide show
  1. package/build/cjs/FIXParser.js +2 -2
  2. package/build/cjs/FIXParserBrowser.js +2 -2
  3. package/build/cjs/FIXServer.js +2 -2
  4. package/build/esm/FIXParser.mjs +2 -2
  5. package/build/esm/FIXParserBrowser.mjs +2 -2
  6. package/build/esm/FIXServer.mjs +2 -2
  7. package/package.json +2 -2
  8. package/types/FIXParser.d.ts +307 -0
  9. package/types/FIXParserBase.d.ts +124 -0
  10. package/types/FIXParserBrowser.d.ts +267 -0
  11. package/types/FIXServer.d.ts +342 -0
  12. package/types/IFIXParser.d.ts +182 -0
  13. package/types/components/Components.d.ts +41 -0
  14. package/types/enums/EnumType.d.ts +44 -0
  15. package/types/enums/Enums.d.ts +43 -0
  16. package/types/fields/Field.d.ts +91 -0
  17. package/types/fields/Fields.d.ts +42 -0
  18. package/types/fields/categories/Categories.d.ts +28 -0
  19. package/types/fields/categories/CategoryType.d.ts +27 -0
  20. package/types/fields/datatypes/Datatypes.d.ts +44 -0
  21. package/types/fields/sections/SectionType.d.ts +31 -0
  22. package/types/fields/sections/Sections.d.ts +28 -0
  23. package/types/fieldtypes/AccountType.d.ts +33 -0
  24. package/types/fieldtypes/AcctIDSource.d.ts +24 -0
  25. package/types/fieldtypes/Adjustment.d.ts +17 -0
  26. package/types/fieldtypes/AdjustmentType.d.ts +21 -0
  27. package/types/fieldtypes/AdvSide.d.ts +19 -0
  28. package/types/fieldtypes/AdvTransType.d.ts +17 -0
  29. package/types/fieldtypes/AffirmStatus.d.ts +17 -0
  30. package/types/fieldtypes/AggregatedBook.d.ts +15 -0
  31. package/types/fieldtypes/AggressorIndicator.d.ts +15 -0
  32. package/types/fieldtypes/AlgoCertificateReportStatus.d.ts +17 -0
  33. package/types/fieldtypes/AlgoCertificateReportTransType.d.ts +18 -0
  34. package/types/fieldtypes/AlgoCertificateReportType.d.ts +13 -0
  35. package/types/fieldtypes/AlgoCertificateRequestStatus.d.ts +17 -0
  36. package/types/fieldtypes/AlgoCertificateRequestTransType.d.ts +18 -0
  37. package/types/fieldtypes/AlgoCertificateRequestType.d.ts +15 -0
  38. package/types/fieldtypes/AlgoCertificateStatus.d.ts +15 -0
  39. package/types/fieldtypes/AlgorithmicTradeIndicator.d.ts +14 -0
  40. package/types/fieldtypes/AllocAccountType.d.ts +25 -0
  41. package/types/fieldtypes/AllocCancReplaceReason.d.ts +19 -0
  42. package/types/fieldtypes/AllocGroupStatus.d.ts +16 -0
  43. package/types/fieldtypes/AllocGroupSubQtyType.d.ts +17 -0
  44. package/types/fieldtypes/AllocHandlInst.d.ts +18 -0
  45. package/types/fieldtypes/AllocIntermedReqType.d.ts +23 -0
  46. package/types/fieldtypes/AllocLinkType.d.ts +15 -0
  47. package/types/fieldtypes/AllocMethod.d.ts +19 -0
  48. package/types/fieldtypes/AllocNoOrdersType.d.ts +15 -0
  49. package/types/fieldtypes/AllocPositionEffect.d.ts +19 -0
  50. package/types/fieldtypes/AllocRejCode.d.ts +70 -0
  51. package/types/fieldtypes/AllocReportType.d.ts +41 -0
  52. package/types/fieldtypes/AllocRequestStatus.d.ts +15 -0
  53. package/types/fieldtypes/AllocReversalStatus.d.ts +17 -0
  54. package/types/fieldtypes/AllocSettlInstType.d.ts +21 -0
  55. package/types/fieldtypes/AllocStatus.d.ts +40 -0
  56. package/types/fieldtypes/AllocTransType.d.ts +19 -0
  57. package/types/fieldtypes/AllocType.d.ts +56 -0
  58. package/types/fieldtypes/AllocationRollupInstruction.d.ts +16 -0
  59. package/types/fieldtypes/ApplLevelRecoveryIndicator.d.ts +15 -0
  60. package/types/fieldtypes/ApplQueueAction.d.ts +19 -0
  61. package/types/fieldtypes/ApplQueueResolution.d.ts +19 -0
  62. package/types/fieldtypes/ApplReportType.d.ts +19 -0
  63. package/types/fieldtypes/ApplReqType.d.ts +25 -0
  64. package/types/fieldtypes/ApplResponseError.d.ts +17 -0
  65. package/types/fieldtypes/ApplResponseType.d.ts +17 -0
  66. package/types/fieldtypes/ApplVerID.d.ts +33 -0
  67. package/types/fieldtypes/AsOfIndicator.d.ts +15 -0
  68. package/types/fieldtypes/AssetClass.d.ts +31 -0
  69. package/types/fieldtypes/AssetGroup.d.ts +14 -0
  70. package/types/fieldtypes/AssetSubClass.d.ts +103 -0
  71. package/types/fieldtypes/AssetValuationModel.d.ts +27 -0
  72. package/types/fieldtypes/AssignmentMethod.d.ts +15 -0
  73. package/types/fieldtypes/AttachmentEncodingType.d.ts +13 -0
  74. package/types/fieldtypes/AuctionInstruction.d.ts +15 -0
  75. package/types/fieldtypes/AuctionType.d.ts +29 -0
  76. package/types/fieldtypes/AveragePriceType.d.ts +15 -0
  77. package/types/fieldtypes/AvgPxIndicator.d.ts +20 -0
  78. package/types/fieldtypes/BasisPxType.d.ts +37 -0
  79. package/types/fieldtypes/BatchProcessMode.d.ts +14 -0
  80. package/types/fieldtypes/BeginString.d.ts +16 -0
  81. package/types/fieldtypes/Benchmark.d.ts +30 -0
  82. package/types/fieldtypes/BenchmarkCurveName.d.ts +116 -0
  83. package/types/fieldtypes/BidDescriptorType.d.ts +17 -0
  84. package/types/fieldtypes/BidRequestTransType.d.ts +15 -0
  85. package/types/fieldtypes/BidTradeType.d.ts +19 -0
  86. package/types/fieldtypes/BidType.d.ts +17 -0
  87. package/types/fieldtypes/BlockTrdAllocIndicator.d.ts +16 -0
  88. package/types/fieldtypes/BookingType.d.ts +17 -0
  89. package/types/fieldtypes/BookingUnit.d.ts +17 -0
  90. package/types/fieldtypes/BusinessDayConvention.d.ts +20 -0
  91. package/types/fieldtypes/BusinessRejectReason.d.ts +35 -0
  92. package/types/fieldtypes/CPProgram.d.ts +21 -0
  93. package/types/fieldtypes/CalculationMethod.d.ts +13 -0
  94. package/types/fieldtypes/CancellationRights.d.ts +19 -0
  95. package/types/fieldtypes/CashMargin.d.ts +17 -0
  96. package/types/fieldtypes/CashSettlPriceDefault.d.ts +13 -0
  97. package/types/fieldtypes/CashSettlQuoteMethod.d.ts +17 -0
  98. package/types/fieldtypes/CashSettlValuationMethod.d.ts +27 -0
  99. package/types/fieldtypes/ClearedIndicator.d.ts +15 -0
  100. package/types/fieldtypes/ClearingAccountType.d.ts +17 -0
  101. package/types/fieldtypes/ClearingFeeIndicator.d.ts +39 -0
  102. package/types/fieldtypes/ClearingInstruction.d.ts +41 -0
  103. package/types/fieldtypes/ClearingIntention.d.ts +15 -0
  104. package/types/fieldtypes/ClearingRequirementException.d.ts +19 -0
  105. package/types/fieldtypes/CollAction.d.ts +17 -0
  106. package/types/fieldtypes/CollApplType.d.ts +15 -0
  107. package/types/fieldtypes/CollAsgnReason.d.ts +28 -0
  108. package/types/fieldtypes/CollAsgnRejectReason.d.ts +25 -0
  109. package/types/fieldtypes/CollAsgnRespType.d.ts +21 -0
  110. package/types/fieldtypes/CollAsgnTransType.d.ts +21 -0
  111. package/types/fieldtypes/CollInquiryQualifier.d.ts +27 -0
  112. package/types/fieldtypes/CollInquiryResult.d.ts +33 -0
  113. package/types/fieldtypes/CollInquiryStatus.d.ts +21 -0
  114. package/types/fieldtypes/CollRptRejectReason.d.ts +23 -0
  115. package/types/fieldtypes/CollRptStatus.d.ts +17 -0
  116. package/types/fieldtypes/CollStatus.d.ts +22 -0
  117. package/types/fieldtypes/CollateralAmountType.d.ts +21 -0
  118. package/types/fieldtypes/CollateralReinvestmentType.d.ts +16 -0
  119. package/types/fieldtypes/CommType.d.ts +20 -0
  120. package/types/fieldtypes/CommissionAmountSubType.d.ts +16 -0
  121. package/types/fieldtypes/CommissionAmountType.d.ts +21 -0
  122. package/types/fieldtypes/CommodityFinalPriceType.d.ts +25 -0
  123. package/types/fieldtypes/ComplexEventCondition.d.ts +15 -0
  124. package/types/fieldtypes/ComplexEventCreditEventNotifyingParty.d.ts +18 -0
  125. package/types/fieldtypes/ComplexEventDateOffsetDayType.d.ts +24 -0
  126. package/types/fieldtypes/ComplexEventPVFinalPriceElectionFallback.d.ts +14 -0
  127. package/types/fieldtypes/ComplexEventPeriodType.d.ts +23 -0
  128. package/types/fieldtypes/ComplexEventPriceBoundaryMethod.d.ts +22 -0
  129. package/types/fieldtypes/ComplexEventPriceTimeType.d.ts +23 -0
  130. package/types/fieldtypes/ComplexEventQuoteBasis.d.ts +15 -0
  131. package/types/fieldtypes/ComplexEventType.d.ts +57 -0
  132. package/types/fieldtypes/ComplexOptPayoutTime.d.ts +25 -0
  133. package/types/fieldtypes/ConfirmRejReason.d.ts +50 -0
  134. package/types/fieldtypes/ConfirmStatus.d.ts +21 -0
  135. package/types/fieldtypes/ConfirmTransType.d.ts +17 -0
  136. package/types/fieldtypes/ConfirmType.d.ts +17 -0
  137. package/types/fieldtypes/ConfirmationMethod.d.ts +17 -0
  138. package/types/fieldtypes/ContAmtType.d.ts +41 -0
  139. package/types/fieldtypes/ContingencyType.d.ts +23 -0
  140. package/types/fieldtypes/ContractMultiplierUnit.d.ts +17 -0
  141. package/types/fieldtypes/ContractRefPosType.d.ts +19 -0
  142. package/types/fieldtypes/CorporateAction.d.ts +57 -0
  143. package/types/fieldtypes/CouponDayCount.d.ts +35 -0
  144. package/types/fieldtypes/CouponFrequencyUnit.d.ts +27 -0
  145. package/types/fieldtypes/CouponType.d.ts +19 -0
  146. package/types/fieldtypes/CoveredOrUncovered.d.ts +15 -0
  147. package/types/fieldtypes/CrossPrioritization.d.ts +17 -0
  148. package/types/fieldtypes/CrossType.d.ts +20 -0
  149. package/types/fieldtypes/CrossedIndicator.d.ts +14 -0
  150. package/types/fieldtypes/CurrencyCodeSource.d.ts +22 -0
  151. package/types/fieldtypes/CustOrderCapacity.d.ts +20 -0
  152. package/types/fieldtypes/CustOrderHandlingInst.d.ts +167 -0
  153. package/types/fieldtypes/CustomerOrFirm.d.ts +16 -0
  154. package/types/fieldtypes/CustomerPriority.d.ts +13 -0
  155. package/types/fieldtypes/CxlRejReason.d.ts +33 -0
  156. package/types/fieldtypes/CxlRejResponseTo.d.ts +15 -0
  157. package/types/fieldtypes/DKReason.d.ts +27 -0
  158. package/types/fieldtypes/DateRollConvention.d.ts +102 -0
  159. package/types/fieldtypes/DayBookingInst.d.ts +17 -0
  160. package/types/fieldtypes/DealingCapacity.d.ts +17 -0
  161. package/types/fieldtypes/DeleteReason.d.ts +15 -0
  162. package/types/fieldtypes/DeliveryForm.d.ts +15 -0
  163. package/types/fieldtypes/DeliveryScheduleSettlDay.d.ts +31 -0
  164. package/types/fieldtypes/DeliveryScheduleSettlFlowType.d.ts +24 -0
  165. package/types/fieldtypes/DeliveryScheduleSettlHolidaysProcessingInstruction.d.ts +16 -0
  166. package/types/fieldtypes/DeliveryScheduleSettlTimeType.d.ts +14 -0
  167. package/types/fieldtypes/DeliveryScheduleToleranceType.d.ts +16 -0
  168. package/types/fieldtypes/DeliveryScheduleType.d.ts +17 -0
  169. package/types/fieldtypes/DeliveryStreamDeliveryPointSource.d.ts +15 -0
  170. package/types/fieldtypes/DeliveryStreamDeliveryRestriction.d.ts +17 -0
  171. package/types/fieldtypes/DeliveryStreamElectingPartySide.d.ts +16 -0
  172. package/types/fieldtypes/DeliveryStreamTitleTransferCondition.d.ts +16 -0
  173. package/types/fieldtypes/DeliveryStreamToleranceOptionSide.d.ts +16 -0
  174. package/types/fieldtypes/DeliveryStreamType.d.ts +17 -0
  175. package/types/fieldtypes/DeliveryType.d.ts +20 -0
  176. package/types/fieldtypes/DeskType.d.ts +47 -0
  177. package/types/fieldtypes/DisclosureInstruction.d.ts +17 -0
  178. package/types/fieldtypes/DisclosureType.d.ts +24 -0
  179. package/types/fieldtypes/DiscretionInst.d.ts +27 -0
  180. package/types/fieldtypes/DiscretionLimitType.d.ts +17 -0
  181. package/types/fieldtypes/DiscretionMoveType.d.ts +15 -0
  182. package/types/fieldtypes/DiscretionOffsetType.d.ts +19 -0
  183. package/types/fieldtypes/DiscretionRoundDirection.d.ts +15 -0
  184. package/types/fieldtypes/DiscretionScope.d.ts +19 -0
  185. package/types/fieldtypes/DisplayMethod.d.ts +19 -0
  186. package/types/fieldtypes/DisplayWhen.d.ts +15 -0
  187. package/types/fieldtypes/DistribPaymentMethod.d.ts +37 -0
  188. package/types/fieldtypes/DividendAmountType.d.ts +15 -0
  189. package/types/fieldtypes/DividendComposition.d.ts +13 -0
  190. package/types/fieldtypes/DividendEntitlementEvent.d.ts +13 -0
  191. package/types/fieldtypes/DlvyInstType.d.ts +15 -0
  192. package/types/fieldtypes/DueToRelated.d.ts +15 -0
  193. package/types/fieldtypes/DuplicateClOrdIDIndicator.d.ts +15 -0
  194. package/types/fieldtypes/EmailType.d.ts +17 -0
  195. package/types/fieldtypes/EncryptMethod.d.ts +25 -0
  196. package/types/fieldtypes/EntitlementAttribDatatype.d.ts +81 -0
  197. package/types/fieldtypes/EntitlementRequestResult.d.ts +45 -0
  198. package/types/fieldtypes/EntitlementStatus.d.ts +20 -0
  199. package/types/fieldtypes/EntitlementSubType.d.ts +19 -0
  200. package/types/fieldtypes/EntitlementType.d.ts +26 -0
  201. package/types/fieldtypes/EventInitiatorType.d.ts +17 -0
  202. package/types/fieldtypes/EventTimeUnit.d.ts +25 -0
  203. package/types/fieldtypes/EventType.d.ts +65 -0
  204. package/types/fieldtypes/ExDestinationIDSource.d.ts +21 -0
  205. package/types/fieldtypes/ExDestinationType.d.ts +15 -0
  206. package/types/fieldtypes/ExchangeForPhysical.d.ts +15 -0
  207. package/types/fieldtypes/ExecAckStatus.d.ts +17 -0
  208. package/types/fieldtypes/ExecInst.d.ts +117 -0
  209. package/types/fieldtypes/ExecMethod.d.ts +15 -0
  210. package/types/fieldtypes/ExecPriceType.d.ts +27 -0
  211. package/types/fieldtypes/ExecRestatementReason.d.ts +51 -0
  212. package/types/fieldtypes/ExecTransType.d.ts +20 -0
  213. package/types/fieldtypes/ExecType.d.ts +55 -0
  214. package/types/fieldtypes/ExecTypeReason.d.ts +41 -0
  215. package/types/fieldtypes/ExerciseConfirmationMethod.d.ts +19 -0
  216. package/types/fieldtypes/ExerciseMethod.d.ts +15 -0
  217. package/types/fieldtypes/ExerciseStyle.d.ts +19 -0
  218. package/types/fieldtypes/ExpirationCycle.d.ts +17 -0
  219. package/types/fieldtypes/ExpirationQtyType.d.ts +21 -0
  220. package/types/fieldtypes/ExtraordinaryEventAdjustmentMethod.d.ts +14 -0
  221. package/types/fieldtypes/FXBenchmark.d.ts +20 -0
  222. package/types/fieldtypes/Field.d.ts +11446 -0
  223. package/types/fieldtypes/FinancialStatus.d.ts +17 -0
  224. package/types/fieldtypes/FlowScheduleType.d.ts +33 -0
  225. package/types/fieldtypes/ForexReq.d.ts +15 -0
  226. package/types/fieldtypes/FundRenewWaiv.d.ts +15 -0
  227. package/types/fieldtypes/FundingSource.d.ts +18 -0
  228. package/types/fieldtypes/GTBookingInst.d.ts +17 -0
  229. package/types/fieldtypes/GapFillFlag.d.ts +15 -0
  230. package/types/fieldtypes/HaltReason.d.ts +23 -0
  231. package/types/fieldtypes/HandlInst.d.ts +17 -0
  232. package/types/fieldtypes/IDSource.d.ts +30 -0
  233. package/types/fieldtypes/IOINaturalFlag.d.ts +15 -0
  234. package/types/fieldtypes/IOIQltyInd.d.ts +17 -0
  235. package/types/fieldtypes/IOIQty.d.ts +19 -0
  236. package/types/fieldtypes/IOIQualifier.d.ts +63 -0
  237. package/types/fieldtypes/IOIShares.d.ts +18 -0
  238. package/types/fieldtypes/IOITransType.d.ts +17 -0
  239. package/types/fieldtypes/IRSDirection.d.ts +16 -0
  240. package/types/fieldtypes/ImpliedMarketIndicator.d.ts +19 -0
  241. package/types/fieldtypes/InTheMoneyCondition.d.ts +15 -0
  242. package/types/fieldtypes/InViewOfCommon.d.ts +15 -0
  243. package/types/fieldtypes/IncTaxInd.d.ts +15 -0
  244. package/types/fieldtypes/IndividualAllocType.d.ts +15 -0
  245. package/types/fieldtypes/InstrAttribType.d.ts +88 -0
  246. package/types/fieldtypes/InstrmtAssignmentMethod.d.ts +15 -0
  247. package/types/fieldtypes/InstrumentScopeOperator.d.ts +15 -0
  248. package/types/fieldtypes/LastCapacity.d.ts +21 -0
  249. package/types/fieldtypes/LastFragment.d.ts +15 -0
  250. package/types/fieldtypes/LastLiquidityInd.d.ts +27 -0
  251. package/types/fieldtypes/LastRptRequested.d.ts +15 -0
  252. package/types/fieldtypes/LegSwapType.d.ts +19 -0
  253. package/types/fieldtypes/LegalConfirm.d.ts +15 -0
  254. package/types/fieldtypes/LienSeniority.d.ts +19 -0
  255. package/types/fieldtypes/LimitAmtType.d.ts +23 -0
  256. package/types/fieldtypes/LiquidityIndType.d.ts +19 -0
  257. package/types/fieldtypes/ListExecInstType.d.ts +21 -0
  258. package/types/fieldtypes/ListMethod.d.ts +15 -0
  259. package/types/fieldtypes/ListOrderStatus.d.ts +25 -0
  260. package/types/fieldtypes/ListRejectReason.d.ts +25 -0
  261. package/types/fieldtypes/ListStatusType.d.ts +23 -0
  262. package/types/fieldtypes/ListUpdateAction.d.ts +19 -0
  263. package/types/fieldtypes/LoanFacility.d.ts +23 -0
  264. package/types/fieldtypes/LocateReqd.d.ts +15 -0
  265. package/types/fieldtypes/LockType.d.ts +26 -0
  266. package/types/fieldtypes/LotType.d.ts +19 -0
  267. package/types/fieldtypes/MDBookType.d.ts +17 -0
  268. package/types/fieldtypes/MDEntryType.d.ts +93 -0
  269. package/types/fieldtypes/MDImplicitDelete.d.ts +15 -0
  270. package/types/fieldtypes/MDOriginType.d.ts +25 -0
  271. package/types/fieldtypes/MDReportEvent.d.ts +25 -0
  272. package/types/fieldtypes/MDReqRejReason.d.ts +39 -0
  273. package/types/fieldtypes/MDSecSizeType.d.ts +14 -0
  274. package/types/fieldtypes/MDStatisticIntervalType.d.ts +19 -0
  275. package/types/fieldtypes/MDStatisticRatioType.d.ts +23 -0
  276. package/types/fieldtypes/MDStatisticRequestResult.d.ts +51 -0
  277. package/types/fieldtypes/MDStatisticScope.d.ts +70 -0
  278. package/types/fieldtypes/MDStatisticScopeType.d.ts +21 -0
  279. package/types/fieldtypes/MDStatisticStatus.d.ts +15 -0
  280. package/types/fieldtypes/MDStatisticSubScope.d.ts +46 -0
  281. package/types/fieldtypes/MDStatisticType.d.ts +42 -0
  282. package/types/fieldtypes/MDStatisticValueType.d.ts +15 -0
  283. package/types/fieldtypes/MDUpdateAction.d.ts +23 -0
  284. package/types/fieldtypes/MDUpdateType.d.ts +15 -0
  285. package/types/fieldtypes/MDValueTier.d.ts +17 -0
  286. package/types/fieldtypes/MarginAmtType.d.ts +47 -0
  287. package/types/fieldtypes/MarginDirection.d.ts +13 -0
  288. package/types/fieldtypes/MarginReqmtInqQualifier.d.ts +19 -0
  289. package/types/fieldtypes/MarginReqmtInqResult.d.ts +31 -0
  290. package/types/fieldtypes/MarginReqmtRptType.d.ts +17 -0
  291. package/types/fieldtypes/MarketCondition.d.ts +14 -0
  292. package/types/fieldtypes/MarketDisruptionFallbackProvision.d.ts +16 -0
  293. package/types/fieldtypes/MarketDisruptionFallbackUnderlierType.d.ts +36 -0
  294. package/types/fieldtypes/MarketDisruptionProvision.d.ts +19 -0
  295. package/types/fieldtypes/MarketMakerActivity.d.ts +19 -0
  296. package/types/fieldtypes/MarketSegmentRelationship.d.ts +14 -0
  297. package/types/fieldtypes/MarketSegmentStatus.d.ts +14 -0
  298. package/types/fieldtypes/MarketSegmentType.d.ts +14 -0
  299. package/types/fieldtypes/MassActionReason.d.ts +26 -0
  300. package/types/fieldtypes/MassActionRejectReason.d.ts +37 -0
  301. package/types/fieldtypes/MassActionResponse.d.ts +17 -0
  302. package/types/fieldtypes/MassActionScope.d.ts +35 -0
  303. package/types/fieldtypes/MassActionType.d.ts +17 -0
  304. package/types/fieldtypes/MassCancelRejectReason.d.ts +37 -0
  305. package/types/fieldtypes/MassCancelRequestType.d.ts +35 -0
  306. package/types/fieldtypes/MassCancelResponse.d.ts +37 -0
  307. package/types/fieldtypes/MassOrderRequestResult.d.ts +21 -0
  308. package/types/fieldtypes/MassOrderRequestStatus.d.ts +17 -0
  309. package/types/fieldtypes/MassStatusReqType.d.ts +31 -0
  310. package/types/fieldtypes/MatchExceptionElementType.d.ts +38 -0
  311. package/types/fieldtypes/MatchExceptionToleranceValueType.d.ts +15 -0
  312. package/types/fieldtypes/MatchExceptionType.d.ts +25 -0
  313. package/types/fieldtypes/MatchInst.d.ts +15 -0
  314. package/types/fieldtypes/MatchStatus.d.ts +18 -0
  315. package/types/fieldtypes/MatchType.d.ts +67 -0
  316. package/types/fieldtypes/MatchingDataPointIndicator.d.ts +15 -0
  317. package/types/fieldtypes/MaturityMonthYearFormat.d.ts +17 -0
  318. package/types/fieldtypes/MaturityMonthYearIncrementUnits.d.ts +20 -0
  319. package/types/fieldtypes/Message.d.ts +333 -0
  320. package/types/fieldtypes/MessageEncoding.d.ts +20 -0
  321. package/types/fieldtypes/MetricsCalculationPriceSource.d.ts +14 -0
  322. package/types/fieldtypes/MinQtyMethod.d.ts +15 -0
  323. package/types/fieldtypes/MiscFeeBasis.d.ts +14 -0
  324. package/types/fieldtypes/MiscFeeQualifier.d.ts +13 -0
  325. package/types/fieldtypes/MiscFeeType.d.ts +69 -0
  326. package/types/fieldtypes/ModelType.d.ts +15 -0
  327. package/types/fieldtypes/MoneyLaunderingStatus.d.ts +21 -0
  328. package/types/fieldtypes/MsgDirection.d.ts +15 -0
  329. package/types/fieldtypes/MsgType.d.ts +189 -0
  330. package/types/fieldtypes/MultiJurisdictionReportingIndicator.d.ts +16 -0
  331. package/types/fieldtypes/MultiLegReportingType.d.ts +17 -0
  332. package/types/fieldtypes/MultiLegRptTypeReq.d.ts +17 -0
  333. package/types/fieldtypes/MultilegModel.d.ts +17 -0
  334. package/types/fieldtypes/MultilegPriceMethod.d.ts +23 -0
  335. package/types/fieldtypes/NBBOEntryType.d.ts +15 -0
  336. package/types/fieldtypes/NBBOSource.d.ts +15 -0
  337. package/types/fieldtypes/NegotiationMethod.d.ts +14 -0
  338. package/types/fieldtypes/NetGrossInd.d.ts +15 -0
  339. package/types/fieldtypes/NetworkRequestType.d.ts +19 -0
  340. package/types/fieldtypes/NetworkStatusResponseType.d.ts +15 -0
  341. package/types/fieldtypes/NewsCategory.d.ts +21 -0
  342. package/types/fieldtypes/NewsRefType.d.ts +18 -0
  343. package/types/fieldtypes/NoSides.d.ts +15 -0
  344. package/types/fieldtypes/NonCashDividendTreatment.d.ts +13 -0
  345. package/types/fieldtypes/NonDeliverableFixingDateType.d.ts +16 -0
  346. package/types/fieldtypes/NotAffectedReason.d.ts +15 -0
  347. package/types/fieldtypes/NotifyBrokerOfCredit.d.ts +15 -0
  348. package/types/fieldtypes/ObligationType.d.ts +19 -0
  349. package/types/fieldtypes/OddLot.d.ts +15 -0
  350. package/types/fieldtypes/OffsetInstruction.d.ts +13 -0
  351. package/types/fieldtypes/OffshoreIndicator.d.ts +14 -0
  352. package/types/fieldtypes/OpenClose.d.ts +16 -0
  353. package/types/fieldtypes/OpenCloseSettlFlag.d.ts +23 -0
  354. package/types/fieldtypes/OpenCloseSettleFlag.d.ts +18 -0
  355. package/types/fieldtypes/OptPayoutType.d.ts +29 -0
  356. package/types/fieldtypes/OptionExerciseDateType.d.ts +15 -0
  357. package/types/fieldtypes/OrdRejReason.d.ts +70 -0
  358. package/types/fieldtypes/OrdStatus.d.ts +41 -0
  359. package/types/fieldtypes/OrdType.d.ts +59 -0
  360. package/types/fieldtypes/OrderAttributeType.d.ts +26 -0
  361. package/types/fieldtypes/OrderCapacity.d.ts +24 -0
  362. package/types/fieldtypes/OrderCategory.d.ts +31 -0
  363. package/types/fieldtypes/OrderDelayUnit.d.ts +35 -0
  364. package/types/fieldtypes/OrderEntryAction.d.ts +21 -0
  365. package/types/fieldtypes/OrderEventReason.d.ts +37 -0
  366. package/types/fieldtypes/OrderEventType.d.ts +33 -0
  367. package/types/fieldtypes/OrderHandlingInstSource.d.ts +15 -0
  368. package/types/fieldtypes/OrderOrigination.d.ts +23 -0
  369. package/types/fieldtypes/OrderOwnershipIndicator.d.ts +16 -0
  370. package/types/fieldtypes/OrderRelationship.d.ts +15 -0
  371. package/types/fieldtypes/OrderResponseLevel.d.ts +15 -0
  372. package/types/fieldtypes/OrderRestrictions.d.ts +47 -0
  373. package/types/fieldtypes/OrigCustOrderCapacity.d.ts +19 -0
  374. package/types/fieldtypes/OwnerType.d.ts +53 -0
  375. package/types/fieldtypes/OwnershipType.d.ts +17 -0
  376. package/types/fieldtypes/PartyActionRejectReason.d.ts +19 -0
  377. package/types/fieldtypes/PartyActionResponse.d.ts +14 -0
  378. package/types/fieldtypes/PartyActionType.d.ts +17 -0
  379. package/types/fieldtypes/PartyDetailDefinitionStatus.d.ts +18 -0
  380. package/types/fieldtypes/PartyDetailRequestResult.d.ts +23 -0
  381. package/types/fieldtypes/PartyDetailRequestStatus.d.ts +19 -0
  382. package/types/fieldtypes/PartyDetailRoleQualifier.d.ts +54 -0
  383. package/types/fieldtypes/PartyDetailStatus.d.ts +17 -0
  384. package/types/fieldtypes/PartyIDSource.d.ts +63 -0
  385. package/types/fieldtypes/PartyRelationship.d.ts +89 -0
  386. package/types/fieldtypes/PartyRiskLimitStatus.d.ts +13 -0
  387. package/types/fieldtypes/PartyRole.d.ts +237 -0
  388. package/types/fieldtypes/PartySubIDType.d.ts +147 -0
  389. package/types/fieldtypes/PayReportStatus.d.ts +18 -0
  390. package/types/fieldtypes/PayReportTransType.d.ts +16 -0
  391. package/types/fieldtypes/PayRequestStatus.d.ts +18 -0
  392. package/types/fieldtypes/PayRequestTransType.d.ts +15 -0
  393. package/types/fieldtypes/PaymentDateOffsetDayType.d.ts +23 -0
  394. package/types/fieldtypes/PaymentForwardStartType.d.ts +19 -0
  395. package/types/fieldtypes/PaymentMethod.d.ts +52 -0
  396. package/types/fieldtypes/PaymentPaySide.d.ts +15 -0
  397. package/types/fieldtypes/PaymentScheduleStepRelativeTo.d.ts +16 -0
  398. package/types/fieldtypes/PaymentScheduleType.d.ts +59 -0
  399. package/types/fieldtypes/PaymentSettlStyle.d.ts +17 -0
  400. package/types/fieldtypes/PaymentStreamAveragingMethod.d.ts +16 -0
  401. package/types/fieldtypes/PaymentStreamCapRateBuySide.d.ts +16 -0
  402. package/types/fieldtypes/PaymentStreamCompoundingMethod.d.ts +20 -0
  403. package/types/fieldtypes/PaymentStreamDiscountType.d.ts +15 -0
  404. package/types/fieldtypes/PaymentStreamFRADiscounting.d.ts +18 -0
  405. package/types/fieldtypes/PaymentStreamFloorRateBuySide.d.ts +16 -0
  406. package/types/fieldtypes/PaymentStreamInflationInterpolationMethod.d.ts +16 -0
  407. package/types/fieldtypes/PaymentStreamInflationLagDayType.d.ts +24 -0
  408. package/types/fieldtypes/PaymentStreamInflationLagUnit.d.ts +20 -0
  409. package/types/fieldtypes/PaymentStreamInterpolationPeriod.d.ts +16 -0
  410. package/types/fieldtypes/PaymentStreamLinkStrikePriceType.d.ts +16 -0
  411. package/types/fieldtypes/PaymentStreamNegativeRateTreatment.d.ts +16 -0
  412. package/types/fieldtypes/PaymentStreamPaymentDateOffsetDayType.d.ts +24 -0
  413. package/types/fieldtypes/PaymentStreamPaymentDateOffsetUnit.d.ts +20 -0
  414. package/types/fieldtypes/PaymentStreamPaymentFrequencyUnit.d.ts +22 -0
  415. package/types/fieldtypes/PaymentStreamPricingDayDistribution.d.ts +20 -0
  416. package/types/fieldtypes/PaymentStreamPricingDayOfWeek.d.ts +28 -0
  417. package/types/fieldtypes/PaymentStreamRateIndexCurveUnit.d.ts +20 -0
  418. package/types/fieldtypes/PaymentStreamRateIndexSource.d.ts +20 -0
  419. package/types/fieldtypes/PaymentStreamRateSpreadPositionType.d.ts +16 -0
  420. package/types/fieldtypes/PaymentStreamRateSpreadType.d.ts +16 -0
  421. package/types/fieldtypes/PaymentStreamRateTreatment.d.ts +15 -0
  422. package/types/fieldtypes/PaymentStreamRealizedVarianceMethod.d.ts +15 -0
  423. package/types/fieldtypes/PaymentStreamResetWeeklyRollConvention.d.ts +26 -0
  424. package/types/fieldtypes/PaymentStreamSettlLevel.d.ts +15 -0
  425. package/types/fieldtypes/PaymentStreamType.d.ts +31 -0
  426. package/types/fieldtypes/PaymentStubLength.d.ts +15 -0
  427. package/types/fieldtypes/PaymentStubType.d.ts +19 -0
  428. package/types/fieldtypes/PaymentSubType.d.ts +30 -0
  429. package/types/fieldtypes/PaymentType.d.ts +41 -0
  430. package/types/fieldtypes/PegLimitType.d.ts +17 -0
  431. package/types/fieldtypes/PegMoveType.d.ts +15 -0
  432. package/types/fieldtypes/PegOffsetType.d.ts +21 -0
  433. package/types/fieldtypes/PegPriceType.d.ts +28 -0
  434. package/types/fieldtypes/PegRoundDirection.d.ts +15 -0
  435. package/types/fieldtypes/PegScope.d.ts +19 -0
  436. package/types/fieldtypes/PosAmtReason.d.ts +24 -0
  437. package/types/fieldtypes/PosAmtType.d.ts +77 -0
  438. package/types/fieldtypes/PosMaintAction.d.ts +15 -0
  439. package/types/fieldtypes/PosMaintResult.d.ts +17 -0
  440. package/types/fieldtypes/PosMaintStatus.d.ts +21 -0
  441. package/types/fieldtypes/PosQtyStatus.d.ts +17 -0
  442. package/types/fieldtypes/PosReqResult.d.ts +22 -0
  443. package/types/fieldtypes/PosReqStatus.d.ts +17 -0
  444. package/types/fieldtypes/PosReqType.d.ts +33 -0
  445. package/types/fieldtypes/PosTransType.d.ts +36 -0
  446. package/types/fieldtypes/PosType.d.ts +81 -0
  447. package/types/fieldtypes/PositionCapacity.d.ts +19 -0
  448. package/types/fieldtypes/PositionEffect.d.ts +23 -0
  449. package/types/fieldtypes/PossDupFlag.d.ts +15 -0
  450. package/types/fieldtypes/PossResend.d.ts +15 -0
  451. package/types/fieldtypes/PostTradePaymentDebitOrCredit.d.ts +16 -0
  452. package/types/fieldtypes/PostTradePaymentStatus.d.ts +16 -0
  453. package/types/fieldtypes/PreallocMethod.d.ts +15 -0
  454. package/types/fieldtypes/PreviouslyReported.d.ts +13 -0
  455. package/types/fieldtypes/PriceLimitType.d.ts +17 -0
  456. package/types/fieldtypes/PriceMovementType.d.ts +15 -0
  457. package/types/fieldtypes/PriceProtectionScope.d.ts +19 -0
  458. package/types/fieldtypes/PriceQualifier.d.ts +14 -0
  459. package/types/fieldtypes/PriceQuoteMethod.d.ts +19 -0
  460. package/types/fieldtypes/PriceType.d.ts +56 -0
  461. package/types/fieldtypes/PriorityIndicator.d.ts +15 -0
  462. package/types/fieldtypes/PrivateQuote.d.ts +15 -0
  463. package/types/fieldtypes/ProcessCode.d.ts +25 -0
  464. package/types/fieldtypes/Product.d.ts +37 -0
  465. package/types/fieldtypes/ProgRptReqs.d.ts +17 -0
  466. package/types/fieldtypes/ProtectionTermEventDayType.d.ts +23 -0
  467. package/types/fieldtypes/ProtectionTermEventQualifier.d.ts +15 -0
  468. package/types/fieldtypes/ProtectionTermEventUnit.d.ts +19 -0
  469. package/types/fieldtypes/ProvisionBreakFeeElection.d.ts +21 -0
  470. package/types/fieldtypes/ProvisionCalculationAgent.d.ts +19 -0
  471. package/types/fieldtypes/ProvisionCashSettlMethod.d.ts +25 -0
  472. package/types/fieldtypes/ProvisionCashSettlPaymentDateType.d.ts +16 -0
  473. package/types/fieldtypes/ProvisionCashSettlQuoteType.d.ts +19 -0
  474. package/types/fieldtypes/ProvisionDateTenorUnit.d.ts +19 -0
  475. package/types/fieldtypes/ProvisionOptionExerciseEarliestDateOffsetUnit.d.ts +20 -0
  476. package/types/fieldtypes/ProvisionOptionExerciseFixedDateType.d.ts +16 -0
  477. package/types/fieldtypes/ProvisionOptionSinglePartyBuyerSide.d.ts +16 -0
  478. package/types/fieldtypes/ProvisionType.d.ts +23 -0
  479. package/types/fieldtypes/PublishTrdIndicator.d.ts +15 -0
  480. package/types/fieldtypes/PutOrCall.d.ts +15 -0
  481. package/types/fieldtypes/QtyType.d.ts +17 -0
  482. package/types/fieldtypes/QuoteAckStatus.d.ts +17 -0
  483. package/types/fieldtypes/QuoteAttributeType.d.ts +16 -0
  484. package/types/fieldtypes/QuoteCancelType.d.ts +25 -0
  485. package/types/fieldtypes/QuoteCondition.d.ts +131 -0
  486. package/types/fieldtypes/QuoteEntryRejectReason.d.ts +30 -0
  487. package/types/fieldtypes/QuoteEntryStatus.d.ts +29 -0
  488. package/types/fieldtypes/QuoteModelType.d.ts +13 -0
  489. package/types/fieldtypes/QuotePriceType.d.ts +54 -0
  490. package/types/fieldtypes/QuoteRejectReason.d.ts +54 -0
  491. package/types/fieldtypes/QuoteRequestRejectReason.d.ts +42 -0
  492. package/types/fieldtypes/QuoteRequestType.d.ts +17 -0
  493. package/types/fieldtypes/QuoteRespType.d.ts +28 -0
  494. package/types/fieldtypes/QuoteResponseLevel.d.ts +19 -0
  495. package/types/fieldtypes/QuoteSideIndicator.d.ts +13 -0
  496. package/types/fieldtypes/QuoteStatus.d.ts +56 -0
  497. package/types/fieldtypes/QuoteType.d.ts +21 -0
  498. package/types/fieldtypes/RateSource.d.ts +20 -0
  499. package/types/fieldtypes/RateSourceType.d.ts +15 -0
  500. package/types/fieldtypes/RefOrdIDReason.d.ts +17 -0
  501. package/types/fieldtypes/RefOrderIDSource.d.ts +22 -0
  502. package/types/fieldtypes/RefRiskLimitCheckIDType.d.ts +17 -0
  503. package/types/fieldtypes/ReferenceDataDateType.d.ts +15 -0
  504. package/types/fieldtypes/ReferenceEntityType.d.ts +31 -0
  505. package/types/fieldtypes/RegistRejReasonCode.d.ts +49 -0
  506. package/types/fieldtypes/RegistStatus.d.ts +19 -0
  507. package/types/fieldtypes/RegistTransType.d.ts +17 -0
  508. package/types/fieldtypes/RegulatoryReportType.d.ts +46 -0
  509. package/types/fieldtypes/RegulatoryTradeIDEvent.d.ts +23 -0
  510. package/types/fieldtypes/RegulatoryTradeIDScope.d.ts +15 -0
  511. package/types/fieldtypes/RegulatoryTradeIDType.d.ts +18 -0
  512. package/types/fieldtypes/RegulatoryTransactionType.d.ts +14 -0
  513. package/types/fieldtypes/RelatedInstrumentType.d.ts +21 -0
  514. package/types/fieldtypes/RelatedOrderIDSource.d.ts +17 -0
  515. package/types/fieldtypes/RelatedPositionIDSource.d.ts +17 -0
  516. package/types/fieldtypes/RelatedPriceSource.d.ts +15 -0
  517. package/types/fieldtypes/RelatedTradeIDSource.d.ts +25 -0
  518. package/types/fieldtypes/RelativeValueSide.d.ts +17 -0
  519. package/types/fieldtypes/RelativeValueType.d.ts +23 -0
  520. package/types/fieldtypes/ReleaseInstruction.d.ts +15 -0
  521. package/types/fieldtypes/RemunerationIndicator.d.ts +15 -0
  522. package/types/fieldtypes/ReportToExch.d.ts +15 -0
  523. package/types/fieldtypes/RequestResult.d.ts +25 -0
  524. package/types/fieldtypes/ResetSeqNumFlag.d.ts +15 -0
  525. package/types/fieldtypes/RespondentType.d.ts +19 -0
  526. package/types/fieldtypes/ResponseTransportType.d.ts +13 -0
  527. package/types/fieldtypes/RestructuringType.d.ts +19 -0
  528. package/types/fieldtypes/ReturnRateDateMode.d.ts +15 -0
  529. package/types/fieldtypes/ReturnRatePriceBasis.d.ts +18 -0
  530. package/types/fieldtypes/ReturnRatePriceSequence.d.ts +17 -0
  531. package/types/fieldtypes/ReturnRatePriceType.d.ts +15 -0
  532. package/types/fieldtypes/ReturnRateQuoteTimeType.d.ts +20 -0
  533. package/types/fieldtypes/ReturnRateValuationPriceOption.d.ts +16 -0
  534. package/types/fieldtypes/ReturnTrigger.d.ts +31 -0
  535. package/types/fieldtypes/RiskLimitAction.d.ts +27 -0
  536. package/types/fieldtypes/RiskLimitCheckModelType.d.ts +15 -0
  537. package/types/fieldtypes/RiskLimitCheckRequestResult.d.ts +24 -0
  538. package/types/fieldtypes/RiskLimitCheckRequestStatus.d.ts +20 -0
  539. package/types/fieldtypes/RiskLimitCheckRequestType.d.ts +13 -0
  540. package/types/fieldtypes/RiskLimitCheckStatus.d.ts +26 -0
  541. package/types/fieldtypes/RiskLimitCheckTransType.d.ts +17 -0
  542. package/types/fieldtypes/RiskLimitCheckType.d.ts +13 -0
  543. package/types/fieldtypes/RiskLimitReportRejectReason.d.ts +18 -0
  544. package/types/fieldtypes/RiskLimitReportStatus.d.ts +15 -0
  545. package/types/fieldtypes/RiskLimitRequestResult.d.ts +45 -0
  546. package/types/fieldtypes/RiskLimitRequestType.d.ts +17 -0
  547. package/types/fieldtypes/RiskLimitType.d.ts +38 -0
  548. package/types/fieldtypes/RoundingDirection.d.ts +17 -0
  549. package/types/fieldtypes/RoutingArrangementIndicator.d.ts +16 -0
  550. package/types/fieldtypes/RoutingType.d.ts +23 -0
  551. package/types/fieldtypes/Rule80A.d.ts +58 -0
  552. package/types/fieldtypes/Scope.d.ts +17 -0
  553. package/types/fieldtypes/SecurityClassificationReason.d.ts +28 -0
  554. package/types/fieldtypes/SecurityIDSource.d.ts +74 -0
  555. package/types/fieldtypes/SecurityListRequestType.d.ts +23 -0
  556. package/types/fieldtypes/SecurityListType.d.ts +19 -0
  557. package/types/fieldtypes/SecurityListTypeSource.d.ts +17 -0
  558. package/types/fieldtypes/SecurityRejectReason.d.ts +33 -0
  559. package/types/fieldtypes/SecurityRequestResult.d.ts +23 -0
  560. package/types/fieldtypes/SecurityRequestType.d.ts +31 -0
  561. package/types/fieldtypes/SecurityResponseType.d.ts +19 -0
  562. package/types/fieldtypes/SecurityStatus.d.ts +22 -0
  563. package/types/fieldtypes/SecurityTradingEvent.d.ts +29 -0
  564. package/types/fieldtypes/SecurityTradingStatus.d.ts +63 -0
  565. package/types/fieldtypes/SecurityType.d.ts +361 -0
  566. package/types/fieldtypes/SecurityUpdateAction.d.ts +17 -0
  567. package/types/fieldtypes/SelfMatchPreventionInstruction.d.ts +15 -0
  568. package/types/fieldtypes/Seniority.d.ts +20 -0
  569. package/types/fieldtypes/SessionRejectReason.d.ts +51 -0
  570. package/types/fieldtypes/SessionStatus.d.ts +33 -0
  571. package/types/fieldtypes/SettlCurrFxRateCalc.d.ts +15 -0
  572. package/types/fieldtypes/SettlDeliveryType.d.ts +19 -0
  573. package/types/fieldtypes/SettlDisruptionProvision.d.ts +15 -0
  574. package/types/fieldtypes/SettlInstMode.d.ts +23 -0
  575. package/types/fieldtypes/SettlInstReqRejCode.d.ts +19 -0
  576. package/types/fieldtypes/SettlInstSource.d.ts +17 -0
  577. package/types/fieldtypes/SettlInstTransType.d.ts +19 -0
  578. package/types/fieldtypes/SettlLocation.d.ts +26 -0
  579. package/types/fieldtypes/SettlMethod.d.ts +16 -0
  580. package/types/fieldtypes/SettlObligMode.d.ts +15 -0
  581. package/types/fieldtypes/SettlObligSource.d.ts +21 -0
  582. package/types/fieldtypes/SettlObligTransType.d.ts +19 -0
  583. package/types/fieldtypes/SettlPriceDeterminationMethod.d.ts +26 -0
  584. package/types/fieldtypes/SettlPriceType.d.ts +15 -0
  585. package/types/fieldtypes/SettlSessID.d.ts +19 -0
  586. package/types/fieldtypes/SettlStatusReportStatus.d.ts +16 -0
  587. package/types/fieldtypes/SettlStatusRequestStatus.d.ts +16 -0
  588. package/types/fieldtypes/SettlSubMethod.d.ts +18 -0
  589. package/types/fieldtypes/SettlType.d.ts +34 -0
  590. package/types/fieldtypes/SettlmntTyp.d.ts +32 -0
  591. package/types/fieldtypes/ShortSaleExemptionReason.d.ts +21 -0
  592. package/types/fieldtypes/ShortSaleReason.d.ts +23 -0
  593. package/types/fieldtypes/ShortSaleRestriction.d.ts +19 -0
  594. package/types/fieldtypes/Side.d.ts +42 -0
  595. package/types/fieldtypes/SideClearingTradePriceType.d.ts +15 -0
  596. package/types/fieldtypes/SideMultiLegReportingType.d.ts +17 -0
  597. package/types/fieldtypes/SideValueInd.d.ts +15 -0
  598. package/types/fieldtypes/SingleQuoteIndicator.d.ts +15 -0
  599. package/types/fieldtypes/SolicitedFlag.d.ts +15 -0
  600. package/types/fieldtypes/StandInstDbType.d.ts +21 -0
  601. package/types/fieldtypes/StatsType.d.ts +19 -0
  602. package/types/fieldtypes/StatusValue.d.ts +19 -0
  603. package/types/fieldtypes/StipulationType.d.ts +192 -0
  604. package/types/fieldtypes/StrategyParameterType.d.ts +69 -0
  605. package/types/fieldtypes/StrategyType.d.ts +23 -0
  606. package/types/fieldtypes/StreamAsgnAckType.d.ts +15 -0
  607. package/types/fieldtypes/StreamAsgnRejReason.d.ts +21 -0
  608. package/types/fieldtypes/StreamAsgnReqType.d.ts +15 -0
  609. package/types/fieldtypes/StreamAsgnType.d.ts +17 -0
  610. package/types/fieldtypes/StreamCommodityDataSourceIDType.d.ts +20 -0
  611. package/types/fieldtypes/StreamCommodityNearbySettlDayUnit.d.ts +16 -0
  612. package/types/fieldtypes/StreamNotionalAdjustments.d.ts +14 -0
  613. package/types/fieldtypes/StreamNotionalCommodityFrequency.d.ts +26 -0
  614. package/types/fieldtypes/StreamType.d.ts +15 -0
  615. package/types/fieldtypes/StrikeIndexQuote.d.ts +16 -0
  616. package/types/fieldtypes/StrikePriceBoundaryMethod.d.ts +21 -0
  617. package/types/fieldtypes/StrikePriceDeterminationMethod.d.ts +20 -0
  618. package/types/fieldtypes/SubscriptionRequestType.d.ts +17 -0
  619. package/types/fieldtypes/SwapClass.d.ts +19 -0
  620. package/types/fieldtypes/SwapSubClass.d.ts +21 -0
  621. package/types/fieldtypes/SymbolSfx.d.ts +15 -0
  622. package/types/fieldtypes/TargetStrategy.d.ts +17 -0
  623. package/types/fieldtypes/TaxAdvantageType.d.ts +73 -0
  624. package/types/fieldtypes/TaxonomyType.d.ts +13 -0
  625. package/types/fieldtypes/TerminationType.d.ts +19 -0
  626. package/types/fieldtypes/TestActionRequestStatus.d.ts +16 -0
  627. package/types/fieldtypes/TestActionType.d.ts +17 -0
  628. package/types/fieldtypes/TestGatewayDetailType.d.ts +21 -0
  629. package/types/fieldtypes/TestMessageIndicator.d.ts +15 -0
  630. package/types/fieldtypes/TestSuiteActivityState.d.ts +15 -0
  631. package/types/fieldtypes/TestSuiteRequestStatus.d.ts +16 -0
  632. package/types/fieldtypes/TestSuiteRequestTransType.d.ts +15 -0
  633. package/types/fieldtypes/TestSuiteStatus.d.ts +19 -0
  634. package/types/fieldtypes/TestThresholdType.d.ts +15 -0
  635. package/types/fieldtypes/ThrottleAction.d.ts +21 -0
  636. package/types/fieldtypes/ThrottleCountIndicator.d.ts +15 -0
  637. package/types/fieldtypes/ThrottleInst.d.ts +15 -0
  638. package/types/fieldtypes/ThrottleStatus.d.ts +15 -0
  639. package/types/fieldtypes/ThrottleType.d.ts +15 -0
  640. package/types/fieldtypes/TickDirection.d.ts +19 -0
  641. package/types/fieldtypes/TickRuleType.d.ts +22 -0
  642. package/types/fieldtypes/TimeInForce.d.ts +24 -0
  643. package/types/fieldtypes/TimeUnit.d.ts +29 -0
  644. package/types/fieldtypes/TradSesControl.d.ts +15 -0
  645. package/types/fieldtypes/TradSesEvent.d.ts +19 -0
  646. package/types/fieldtypes/TradSesMethod.d.ts +19 -0
  647. package/types/fieldtypes/TradSesMode.d.ts +17 -0
  648. package/types/fieldtypes/TradSesStatus.d.ts +25 -0
  649. package/types/fieldtypes/TradSesStatusRejReason.d.ts +15 -0
  650. package/types/fieldtypes/TradeAggregationRejectReason.d.ts +18 -0
  651. package/types/fieldtypes/TradeAggregationRequestStatus.d.ts +16 -0
  652. package/types/fieldtypes/TradeAggregationTransType.d.ts +17 -0
  653. package/types/fieldtypes/TradeAllocGroupInstruction.d.ts +15 -0
  654. package/types/fieldtypes/TradeAllocIndicator.d.ts +25 -0
  655. package/types/fieldtypes/TradeAllocStatus.d.ts +19 -0
  656. package/types/fieldtypes/TradeCollateralization.d.ts +20 -0
  657. package/types/fieldtypes/TradeCondition.d.ts +178 -0
  658. package/types/fieldtypes/TradeContingency.d.ts +14 -0
  659. package/types/fieldtypes/TradeContinuation.d.ts +67 -0
  660. package/types/fieldtypes/TradeHandlingInstr.d.ts +26 -0
  661. package/types/fieldtypes/TradeMatchAckStatus.d.ts +17 -0
  662. package/types/fieldtypes/TradeMatchRejectReason.d.ts +23 -0
  663. package/types/fieldtypes/TradePriceCondition.d.ts +42 -0
  664. package/types/fieldtypes/TradePriceNegotiationMethod.d.ts +26 -0
  665. package/types/fieldtypes/TradePublishIndicator.d.ts +18 -0
  666. package/types/fieldtypes/TradeQtyType.d.ts +27 -0
  667. package/types/fieldtypes/TradeReportRejectReason.d.ts +29 -0
  668. package/types/fieldtypes/TradeReportTransType.d.ts +23 -0
  669. package/types/fieldtypes/TradeReportType.d.ts +44 -0
  670. package/types/fieldtypes/TradeReportingIndicator.d.ts +28 -0
  671. package/types/fieldtypes/TradeRequestResult.d.ts +29 -0
  672. package/types/fieldtypes/TradeRequestStatus.d.ts +17 -0
  673. package/types/fieldtypes/TradeRequestType.d.ts +21 -0
  674. package/types/fieldtypes/TradeType.d.ts +20 -0
  675. package/types/fieldtypes/TradeVolType.d.ts +15 -0
  676. package/types/fieldtypes/TradedFlatSwitch.d.ts +15 -0
  677. package/types/fieldtypes/TradingCapacity.d.ts +27 -0
  678. package/types/fieldtypes/TradingSessionID.d.ts +25 -0
  679. package/types/fieldtypes/TradingSessionSubID.d.ts +33 -0
  680. package/types/fieldtypes/TransactionAttributeType.d.ts +14 -0
  681. package/types/fieldtypes/TransferRejectReason.d.ts +23 -0
  682. package/types/fieldtypes/TransferReportType.d.ts +15 -0
  683. package/types/fieldtypes/TransferScope.d.ts +17 -0
  684. package/types/fieldtypes/TransferStatus.d.ts +23 -0
  685. package/types/fieldtypes/TransferTransType.d.ts +17 -0
  686. package/types/fieldtypes/TransferType.d.ts +17 -0
  687. package/types/fieldtypes/TrdAckStatus.d.ts +17 -0
  688. package/types/fieldtypes/TrdRegPublicationReason.d.ts +29 -0
  689. package/types/fieldtypes/TrdRegPublicationType.d.ts +18 -0
  690. package/types/fieldtypes/TrdRegTimestampManualIndicator.d.ts +16 -0
  691. package/types/fieldtypes/TrdRegTimestampType.d.ts +60 -0
  692. package/types/fieldtypes/TrdRptStatus.d.ts +31 -0
  693. package/types/fieldtypes/TrdSubType.d.ts +104 -0
  694. package/types/fieldtypes/TrdType.d.ts +133 -0
  695. package/types/fieldtypes/TriggerAction.d.ts +17 -0
  696. package/types/fieldtypes/TriggerOrderType.d.ts +15 -0
  697. package/types/fieldtypes/TriggerPriceDirection.d.ts +15 -0
  698. package/types/fieldtypes/TriggerPriceType.d.ts +23 -0
  699. package/types/fieldtypes/TriggerPriceTypeScope.d.ts +19 -0
  700. package/types/fieldtypes/TriggerScope.d.ts +23 -0
  701. package/types/fieldtypes/TriggerType.d.ts +21 -0
  702. package/types/fieldtypes/Triggered.d.ts +23 -0
  703. package/types/fieldtypes/UnderlyingCashType.d.ts +15 -0
  704. package/types/fieldtypes/UnderlyingFXRateCalc.d.ts +15 -0
  705. package/types/fieldtypes/UnderlyingNotionalAdjustments.d.ts +15 -0
  706. package/types/fieldtypes/UnderlyingObligationType.d.ts +19 -0
  707. package/types/fieldtypes/UnderlyingPriceDeterminationMethod.d.ts +20 -0
  708. package/types/fieldtypes/UnderlyingSettlementType.d.ts +17 -0
  709. package/types/fieldtypes/UnitOfMeasure.d.ts +162 -0
  710. package/types/fieldtypes/UnsolicitedIndicator.d.ts +15 -0
  711. package/types/fieldtypes/UpfrontPriceType.d.ts +15 -0
  712. package/types/fieldtypes/Urgency.d.ts +17 -0
  713. package/types/fieldtypes/UserRequestType.d.ts +21 -0
  714. package/types/fieldtypes/UserStatus.d.ts +29 -0
  715. package/types/fieldtypes/ValuationMethod.d.ts +21 -0
  716. package/types/fieldtypes/ValueCheckAction.d.ts +14 -0
  717. package/types/fieldtypes/ValueCheckType.d.ts +14 -0
  718. package/types/fieldtypes/VenueType.d.ts +32 -0
  719. package/types/fieldtypes/VerificationMethod.d.ts +15 -0
  720. package/types/fieldtypes/WorkingIndicator.d.ts +15 -0
  721. package/types/fieldtypes/YieldType.d.ts +79 -0
  722. package/types/fieldtypes/index.d.ts +699 -0
  723. package/types/groups/Groups.d.ts +43 -0
  724. package/types/licensemanager/LicenseManager.d.ts +104 -0
  725. package/types/licensemanager/LicenseManagerUtils.d.ts +8 -0
  726. package/types/logger/Logger.d.ts +93 -0
  727. package/types/message/Message.d.ts +408 -0
  728. package/types/messagetemplates/MessageTemplates.d.ts +32 -0
  729. package/types/messagetype/MessageType.d.ts +138 -0
  730. package/types/session/ClientMessageProcessor.d.ts +13 -0
  731. package/types/session/ServerMessageProcessor.d.ts +13 -0
  732. package/types/session/SessionFirstMessage.d.ts +12 -0
  733. package/types/session/SessionLogon.d.ts +18 -0
  734. package/types/session/SessionLogout.d.ts +3 -0
  735. package/types/session/SessionResendRequest.d.ts +18 -0
  736. package/types/session/SessionSequence.d.ts +12 -0
  737. package/types/session/SessionSequenceReset.d.ts +11 -0
  738. package/types/session/SessionTestRequest.d.ts +11 -0
  739. package/types/spec/SpecCategories.d.ts +11 -0
  740. package/types/spec/SpecComponents.d.ts +30 -0
  741. package/types/spec/SpecDatatypes.d.ts +18 -0
  742. package/types/spec/SpecEnums.d.ts +18 -0
  743. package/types/spec/SpecFields.d.ts +19 -0
  744. package/types/spec/SpecGroups.d.ts +29 -0
  745. package/types/spec/SpecSections.d.ts +10 -0
  746. package/types/util/FrameDecoder.d.ts +7 -0
  747. package/types/util/timestamp.d.ts +2 -0
  748. package/types/util/util.d.ts +23 -0
@@ -0,0 +1,43 @@
1
+ import { type ISpecGroups } from '../spec/SpecGroups';
2
+ /**
3
+ * Class for managing FIX protocol groups.
4
+ * Provides functionality to find and filter groups based on various criteria.
5
+ * Uses caching to improve performance when looking up groups.
6
+ */
7
+ export declare class Groups {
8
+ /** Array of all available groups from the FIX specification */
9
+ groups: ISpecGroups[];
10
+ /** Cache map for looking up groups by their ID */
11
+ cacheMap: Map<number, ISpecGroups>;
12
+ /** Cache map for looking up groups by their name */
13
+ cacheMapByName: Map<string, ISpecGroups>;
14
+ /**
15
+ * Creates a new Groups instance and initializes the cache maps.
16
+ * Populates both the ID-based and name-based cache maps for efficient lookups.
17
+ */
18
+ constructor();
19
+ /**
20
+ * Finds a group by its component ID.
21
+ *
22
+ * @param {number} componentId - The ID of the group to find
23
+ * @returns {ISpecGroups | undefined} The found group, or undefined if not found
24
+ */
25
+ find(componentId: number): ISpecGroups | undefined;
26
+ /**
27
+ * Finds a group by its name.
28
+ *
29
+ * @param {string} name - The name of the group to find
30
+ * @returns {ISpecGroups | undefined} The found group, or undefined if not found
31
+ */
32
+ findByName(name: string): ISpecGroups | undefined;
33
+ /**
34
+ * Filters and finds a group based on the NoMDEntries tag and message type.
35
+ * Handles special cases for MarketDataSnapshotFullRefresh and MarketDataIncrementalRefresh messages.
36
+ * Falls back to searching by numInGroup ID if no special case matches.
37
+ *
38
+ * @param {number} tag - The tag number to filter by (typically NoMDEntries)
39
+ * @param {string} messageType - The type of the message being processed
40
+ * @returns {ISpecGroups | undefined} The found group, or undefined if not found
41
+ */
42
+ filterMapByNumInGroupId(tag: number, messageType: string): ISpecGroups | undefined;
43
+ }
@@ -0,0 +1,104 @@
1
+ import type { Logger } from '../logger/Logger';
2
+ declare global {
3
+ const __RELEASE_INFORMATION__: string;
4
+ const __DISTRIBUTED_CACHING_MECHANISM__: string;
5
+ const __MULTI_THREAD_SYNC_MUTEX__: string;
6
+ const __INTERFACE_COMPOSITION_PATTERN__: string;
7
+ }
8
+ /**
9
+ * The LicenseManager class is responsible for validating license keys,
10
+ * ensuring that only users with valid licenses can access the
11
+ * Pro version features of the FIXParsers.
12
+ *
13
+ * @public
14
+ */
15
+ declare class LicenseManager {
16
+ #private;
17
+ /** Error message for missing free license */
18
+ static readonly ERROR_MESSAGE_NO_FREE_LICENSE = 'Requires FIXParser Free license';
19
+ /** Error message for missing pro license */
20
+ static readonly ERROR_MESSAGE_NO_LICENSE = 'Requires FIXParser Pro license';
21
+ /**
22
+ * Private constructor to prevent instantiation.
23
+ * This is a static class.
24
+ */
25
+ private constructor();
26
+ /**
27
+ * Validates if a free license is present and valid.
28
+ * Checks for free, pro, or trial license types.
29
+ *
30
+ * @returns {boolean} True if a valid free license is present
31
+ */
32
+ static readonly validateFreeLicense: () => boolean;
33
+ /**
34
+ * Validates if a pro license is present and valid.
35
+ * Checks for pro or trial license types.
36
+ *
37
+ * @returns {boolean} True if a valid pro license is present
38
+ */
39
+ static readonly validateLicense: () => boolean;
40
+ /**
41
+ * Sets the logger instance for license validation messages.
42
+ *
43
+ * @param {Logger} loggerInstance - The logger instance to use
44
+ */
45
+ static setLogger(loggerInstance: Logger): void;
46
+ /**
47
+ * Sets and validates a license key.
48
+ * Processes the key, verifies its signature, and extracts license information.
49
+ *
50
+ * @param {string} rawLicenseKey - The raw license key to validate
51
+ * @returns {Promise<void>} A promise that resolves when the license is validated
52
+ */
53
+ static setLicenseKey(rawLicenseKey: string): Promise<void>;
54
+ /**
55
+ * Gets the release date from the release information.
56
+ *
57
+ * @returns {Date} The release date
58
+ */
59
+ private static getReleaseDate;
60
+ /**
61
+ * Formats a date into a human-readable string.
62
+ *
63
+ * @param {Date} date - The date to format
64
+ * @returns {string} The formatted date string
65
+ */
66
+ private static formatDate;
67
+ /**
68
+ * Validates a license key by checking its ID, expiry date, and type.
69
+ *
70
+ * @param {string} keyId - The license key ID
71
+ * @param {number} expiryTimestamp - The license expiry timestamp
72
+ * @param {LicenseType} type - The license type
73
+ * @returns {boolean} True if the license is valid
74
+ */
75
+ private static validateKey;
76
+ /**
77
+ * Outputs a message indicating a valid free license.
78
+ */
79
+ private static outputValidFreeLicense;
80
+ /**
81
+ * Outputs a message indicating a valid pro license.
82
+ */
83
+ private static outputValidLicense;
84
+ /**
85
+ * Outputs a message indicating an invalid free license.
86
+ */
87
+ private static outputInvalidFreeLicenseKey;
88
+ /**
89
+ * Outputs a message indicating an invalid pro license.
90
+ */
91
+ private static outputInvalidLicenseKey;
92
+ /**
93
+ * Outputs a message indicating a missing license key.
94
+ */
95
+ private static outputMissingLicenseKey;
96
+ /**
97
+ * Outputs a message indicating an incompatible version.
98
+ *
99
+ * @param {string} formattedExpiryDate - The formatted expiry date
100
+ * @param {string} formattedReleaseDate - The formatted release date
101
+ */
102
+ private static outputIncompatibleVersion;
103
+ }
104
+ export { LicenseManager };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Decodes a Base64 encoded string to its original form.
3
+ * This is a polyfill for the atob function, which may not be available in all environments.
4
+ *
5
+ * @param {string} input - The Base64 encoded string to decode
6
+ * @returns {string | undefined} The decoded string, or undefined if the input is invalid
7
+ */
8
+ export declare const atob: (input: string) => string | undefined;
@@ -0,0 +1,93 @@
1
+ import type { ILogTransporter, Level, LogMessage } from 'fixparser-common';
2
+ import { type ConsoleFormat as Format } from 'fixparser-plugin-log-console';
3
+ /**
4
+ * Configuration options for logging output.
5
+ *
6
+ * @public
7
+ */
8
+ export type LogOptions = {
9
+ name?: string;
10
+ id?: string;
11
+ level?: Level;
12
+ format?: Format;
13
+ transport?: ILogTransporter;
14
+ };
15
+ /**
16
+ * Logger class for handling FIX protocol logging.
17
+ * Provides methods for logging messages at different severity levels
18
+ * and supports custom log transports and formats.
19
+ */
20
+ export declare class Logger {
21
+ #private;
22
+ /** Name of the logger instance */
23
+ name: string;
24
+ /** Unique identifier for the logger instance */
25
+ id: string;
26
+ /**
27
+ * Creates a new Logger instance with the specified options.
28
+ *
29
+ * @param {LogOptions} [options] - Configuration options for the logger
30
+ * @param {string} [options.name=''] - Name of the logger
31
+ * @param {string} [options.id] - Unique identifier for the logger (auto-generated if not provided)
32
+ * @param {Level} [options.level='info'] - Initial log level
33
+ * @param {Format} [options.format='json'] - Log message format
34
+ * @param {ILogTransporter} [options.transport] - Custom log transport (defaults to console)
35
+ */
36
+ constructor(options?: LogOptions);
37
+ /**
38
+ * Processes a log message, adding metadata and sending it through the transport.
39
+ * Only processes messages if logging is enabled and the message level meets the current level.
40
+ *
41
+ * @param {LogMessage} msg - The message to process
42
+ * @returns {this} The logger instance for chaining
43
+ */
44
+ private processMessage;
45
+ /**
46
+ * Logs a message at the specified level.
47
+ * If no level is specified, defaults to 'info'.
48
+ *
49
+ * @param {LogMessage} msg - The message to log
50
+ * @returns {this} The logger instance for chaining
51
+ */
52
+ log(msg: LogMessage): this;
53
+ /**
54
+ * Logs a warning message.
55
+ *
56
+ * @param {Omit<LogMessage, 'level'>} msg - The message to log (level will be set to 'warn')
57
+ * @returns {this} The logger instance for chaining
58
+ */
59
+ logWarning(msg: Omit<LogMessage, 'level'>): this;
60
+ /**
61
+ * Logs an error message.
62
+ *
63
+ * @param {Omit<LogMessage, 'level'>} msg - The message to log (level will be set to 'error')
64
+ * @returns {this} The logger instance for chaining
65
+ */
66
+ logError(msg: Omit<LogMessage, 'level'>): this;
67
+ /**
68
+ * Sets whether the logger should be silent.
69
+ * When silent, no messages will be logged regardless of their level.
70
+ *
71
+ * @param {boolean} silent - Whether to silence the logger
72
+ */
73
+ set silent(silent: boolean);
74
+ /**
75
+ * Gets whether the logger is currently silent.
76
+ *
77
+ * @returns {boolean} True if the logger is silent, false otherwise
78
+ */
79
+ get silent(): boolean;
80
+ /**
81
+ * Gets the current log level.
82
+ *
83
+ * @returns {Level} The current log level
84
+ */
85
+ get level(): Level;
86
+ /**
87
+ * Gets the current log format.
88
+ *
89
+ * @returns {Format} The current log format
90
+ */
91
+ get format(): Format;
92
+ }
93
+ export type { Format };
@@ -0,0 +1,408 @@
1
+ import { Field } from '../fields/Field';
2
+ import type { RefType, Structure } from '../messagetype/MessageType';
3
+ import type { ISpecEnums } from '../spec/SpecEnums';
4
+ import type { ISpecFields } from '../spec/SpecFields';
5
+ import { type FIXValue } from '../util/util';
6
+ type FieldValues = {
7
+ [tag: string]: any;
8
+ };
9
+ /**
10
+ * The MessageError object is used by FIXParser validation to
11
+ * represent detailed error information when validation fails,
12
+ * including the field, tag, value, expected value, and a
13
+ * descriptive error message.
14
+ *
15
+ * @public
16
+ */
17
+ export type MessageError = {
18
+ field: RefType | ISpecFields | undefined;
19
+ name: string | undefined;
20
+ tag: number;
21
+ value: FIXValue;
22
+ expectedValue?: FIXValue;
23
+ error: string;
24
+ };
25
+ /**
26
+ * Represents a complete FIX (Financial Information eXchange) message structure.
27
+ * The message is divided into three main parts: Header, Body, and Trailer.
28
+ *
29
+ * @typedef {Object} FIXJSON
30
+ * @property {Record<string, FIXValue | FIXValue[]>} Header - The header section of the FIX message, which includes metadata such as the sender, target, and timestamp.
31
+ * @property {Record<string, FIXValue | FIXValue[] | Record<string, FIXValue | FIXValue[]>[]}> Body - The body section of the FIX message, which contains the actual transaction or data being conveyed. It can contain nested groups.
32
+ * @property {Record<string, FIXValue | FIXValue[]>} Trailer - The trailer section of the FIX message, which typically contains checksum or other closing information.
33
+ */
34
+ type FIXJSON = {
35
+ Header: Record<string, FIXValue | FIXValue[]>;
36
+ Body: Record<string, FIXValue | FIXValue[] | Record<string, FIXValue | FIXValue[]>[]>;
37
+ Trailer: Record<string, FIXValue | FIXValue[]>;
38
+ };
39
+ /**
40
+ * A FIX message is a standardized electronic communication used in
41
+ * financial markets to exchange information such as orders,
42
+ * executions, and market data between trading participants,
43
+ * following the FIX protocol's predefined structure and rules.
44
+ *
45
+ * @public
46
+ */
47
+ export declare class Message {
48
+ #private;
49
+ /** The fix version associated with the message. */
50
+ fixVersion: string;
51
+ /** The data fields associated with the message. */
52
+ data: Field[];
53
+ /** The FIX string representation of the message. */
54
+ messageString: string;
55
+ /** The description of the message. */
56
+ description: string;
57
+ /** The type of the message. */
58
+ messageType: string;
59
+ /** A description of the message type. */
60
+ messageTypeDescription: string;
61
+ /** The sequence number of the message. */
62
+ messageSequence: number;
63
+ /** The structure of the message, can be null if not defined. */
64
+ structure: Structure[] | undefined;
65
+ /** Flag indicating whether the body length is valid. */
66
+ bodyLengthValid: boolean;
67
+ /** Flag indicating whether the checksum is valid. */
68
+ checksumValid: boolean;
69
+ /** The specified checksum value of the message, can be null if not available. */
70
+ checksumValue: string | undefined;
71
+ /** The actual checksum value of the message, can be null if not provided. */
72
+ checksumExpected: string | undefined;
73
+ /** The specified body length of the message, can be null if not available. */
74
+ bodyLengthValue: number | undefined;
75
+ /** The actual body length of the message, can be null if not provided. */
76
+ bodyLengthExpected: number | undefined;
77
+ /**
78
+ * Creates a new FIX Message instance.
79
+ *
80
+ * The constructor initializes the FIX Message with the specified FIX version and optional
81
+ * custom fields. It processes the fields to set specific FIX tags such as `BeginString`,
82
+ * `MsgSeqNum`, and `MsgType`, and updates the message accordingly.
83
+ *
84
+ * @param {string} [fixVersion=DEFAULT_FIX_VERSION] - The FIX protocol version. Defaults to `DEFAULT_FIX_VERSION`.
85
+ * @param {...Field} fields - A variable number of `Field` objects that represent individual tags in the FIX message.
86
+ * Each field object must contain a `tag` and a `value`, where `tag` indicates the field type (e.g., `BeginString`, `MsgSeqNum`, etc.).
87
+ *
88
+ * @throws {Error} If the field contains an invalid tag or value type.
89
+ *
90
+ * @example
91
+ * const message = new Message('FIXT.1.1', new Field(FieldType.MsgType, Messages.NewOrderSingle), new Field(Fields.OrderQty, 10000));
92
+ *
93
+ */
94
+ constructor(fixVersion?: string, ...fields: Field[]);
95
+ /**
96
+ * Adds a single `Field` object to the message data.
97
+ *
98
+ * @param {Field} field - The `Field` object to be added.
99
+ */
100
+ addField(field: Field): void;
101
+ /**
102
+ * Adds multiple `Field` objects to the message data.
103
+ * If the field's tag is `MsgType`, it will be added at the beginning of the `data` array.
104
+ * Otherwise, it will be appended to the end.
105
+ *
106
+ * @param {...Field} fields - One or more `Field` objects to be added.
107
+ */
108
+ addFields(...fields: Field[]): void;
109
+ /**
110
+ * Removes a field from the message data by its `tag`.
111
+ *
112
+ * @param {number} tag - The tag of the field to be removed.
113
+ */
114
+ removeFieldByTag(tag: number): void;
115
+ /**
116
+ * Retrieves a single field from the message data by its `tag`.
117
+ *
118
+ * @param {number} tag - The tag of the field to be retrieved.
119
+ * @returns {Field | undefined} The `Field` object if found, otherwise `undefined`.
120
+ */
121
+ getField(tag: number): Field | undefined;
122
+ /**
123
+ * Retrieves all fields from the message data that have the specified `tag`.
124
+ *
125
+ * @param {number} tag - The tag of the fields to be retrieved.
126
+ * @returns {Field[]} An array of `Field` objects that match the specified `tag`, or an empty array if no fields match.
127
+ */
128
+ getFields(tag: number): Field[] | undefined;
129
+ /**
130
+ * Returns an object containing the name-explain pairs of all fields in the message.
131
+ * The `name` of each field is used as the key, and the enumeration of the (`value`) is assigned to it.
132
+ * For example, `MsgType: 'D'` gets assigned `MsgType: 'NewOrderSingle'`,
133
+ *
134
+ * @returns {FieldValues} An object where the keys are field names and the values are the explained field values.
135
+ * @example
136
+ * console.log(message.getFieldExplains());
137
+ * {
138
+ * '47': 'A',
139
+ * BeginString: 'FIX42',
140
+ * BodyLength: 146,
141
+ * MsgType: 'NewOrderSingle',
142
+ * MsgSeqNum: 4,
143
+ * SenderCompID: 'ABC_DEFG01',
144
+ * SendingTime: '20090323-15:40:29',
145
+ * TargetCompID: 'CCG',
146
+ * OnBehalfOfCompID: 'XYZ',
147
+ * ClOrdID: 'NF 0542/03232009',
148
+ * Side: 'Buy',
149
+ * OrderQty: 100,
150
+ * Symbol: 'CVS',
151
+ * OrdType: 'Market',
152
+ * TimeInForce: 'Day',
153
+ * TransactTime: '20090323-15:40:29',
154
+ * HandlInst: 'AutomatedExecutionNoIntervention',
155
+ * SecurityExchange: 'N',
156
+ * CheckSum: '195'
157
+ * }
158
+ */
159
+ getFieldExplains(): FieldValues;
160
+ /**
161
+ * Returns an object containing the name-value pairs of all fields in the message.
162
+ * The `name` of each field is used as the key, and the `value` is assigned to it.
163
+ *
164
+ * @returns {FieldValues} An object where the keys are field names and the values are field values.
165
+ * @example
166
+ * console.log(message.getFieldNameValues());
167
+ * {
168
+ * '47': 'A',
169
+ * BeginString: 'FIX.4.2',
170
+ * BodyLength: 146,
171
+ * MsgType: 'D',
172
+ * MsgSeqNum: 4,
173
+ * SenderCompID: 'ABC_DEFG01',
174
+ * SendingTime: '20090323-15:40:29',
175
+ * TargetCompID: 'CCG',
176
+ * OnBehalfOfCompID: 'XYZ',
177
+ * ClOrdID: 'NF 0542/03232009',
178
+ * Side: '1',
179
+ * OrderQty: 100,
180
+ * Symbol: 'CVS',
181
+ * OrdType: '1',
182
+ * TimeInForce: '0',
183
+ * TransactTime: '20090323-15:40:29',
184
+ * HandlInst: '1',
185
+ * SecurityExchange: 'N',
186
+ * CheckSum: '195'
187
+ * }
188
+ */
189
+ getFieldNameValues(): FieldValues;
190
+ /**
191
+ * Returns an object containing the values of all fields in the message, indexed by their `tag`.
192
+ * If a tag has multiple fields, the values will be stored in an array.
193
+ *
194
+ * @returns {FieldValues} An object where the keys are field tags and the values are field values (or arrays of values).
195
+ * @example
196
+ * console.log(message.getFieldValues());
197
+ * {
198
+ * '8': 'FIX.4.2',
199
+ * '9': 146,
200
+ * '10': '195',
201
+ * '11': 'NF 0542/03232009',
202
+ * '21': '1',
203
+ * '34': 4,
204
+ * '35': 'D',
205
+ * '38': 100,
206
+ * '40': '1',
207
+ * '47': 'A',
208
+ * '49': 'ABC_DEFG01',
209
+ * '52': '20090323-15:40:29',
210
+ * '54': '1',
211
+ * '55': 'CVS',
212
+ * '56': 'CCG',
213
+ * '59': '0',
214
+ * '60': '20090323-15:40:29',
215
+ * '115': 'XYZ',
216
+ * '207': 'N'
217
+ * }
218
+ */
219
+ getFieldValues(): FieldValues;
220
+ /**
221
+ * Updates a field in the message data based on its `tag`.
222
+ * If a field with the same tag exists, it will be replaced with the new `Field` object.
223
+ *
224
+ * @param {Field} field - The `Field` object to update in the data.
225
+ */
226
+ setField(field: Field): void;
227
+ /**
228
+ * Retrieves the enumeration for a given `tag` and `value` based on the message's `MsgType`.
229
+ * This method ensures that the `MsgType` field is present and has a value before attempting
230
+ * to retrieve the corresponding enumeration.
231
+ *
232
+ * @param {number} tag - The tag of the field for which the enum is to be retrieved.
233
+ * @param {FIXValue} value - The value of the field for which the enum is to be retrieved.
234
+ * @returns {ISpecEnums | undefined} The corresponding enumeration if found, or `undefined` if the `MsgType` field is missing
235
+ * or has no value, or if no matching enum is found.
236
+ *
237
+ * @example
238
+ * const enumValue = message.getEnum(35, 'D');
239
+ * console.log(`Enum: ${enumValue}`);
240
+ */
241
+ getEnum(tag: number, value: FIXValue): ISpecEnums | undefined;
242
+ /**
243
+ * Generates a brief Bloomberg-style description of the current message based on its fields, such as `Side`, `OrderQty`, `Symbol`, `Price`, etc.
244
+ * The description is typically used for a quick summary of an order or trade message, formatted with key field values.
245
+ *
246
+ * Depending on the available fields, the method formats and returns a string summarizing the message's main details,
247
+ * such as quantity, price, symbol, and order type. If certain fields (like `LeavesQty`, `OrderQty`, `Price`, etc.) are not present,
248
+ * it adjusts the description accordingly.
249
+ *
250
+ * @returns {string | null} A brief string description summarizing the message. If no description can be formed, `null` is returned.
251
+ *
252
+ * @example
253
+ * const description = message.getBriefDescription();
254
+ * console.log(description); // "100 AAPL LMT @123.45 GTC"
255
+ */
256
+ getBriefDescription(): string | undefined;
257
+ /**
258
+ * Validates the body length of the FIX message by comparing the provided value to the actual body length.
259
+ * The body length is calculated as the difference between the positions of the `MsgType` tag and the `Checksum` tag.
260
+ *
261
+ * @param {string} value - The body length value to validate against the calculated body length.
262
+ * @returns {boolean} `true` if the provided body length matches the calculated body length, otherwise `false`.
263
+ *
264
+ * @example
265
+ * const isValid = message.validateBodyLength('123');
266
+ * console.log(isValid); // true if the body length is correct, false otherwise
267
+ */
268
+ validateBodyLength(value: string): boolean;
269
+ /**
270
+ * Validates the checksum of the FIX message by comparing the provided checksum value to the calculated checksum.
271
+ * The checksum is calculated based on the substring of the message string before the `Checksum` tag.
272
+ *
273
+ * @param {string} value - The checksum value to validate against the calculated checksum.
274
+ * @returns {boolean} `true` if the provided checksum matches the calculated checksum, otherwise `false`.
275
+ *
276
+ * @example
277
+ * const isValid = message.validateChecksum('123456');
278
+ * console.log(isValid); // true if the checksum is valid, false otherwise
279
+ */
280
+ validateChecksum(value: string): boolean;
281
+ /**
282
+ * Recalculates and updates the body length and checksum of the FIX message.
283
+ * This method is useful when message fields have been modified and the message
284
+ * needs to be updated with correct length and checksum values.
285
+ *
286
+ * The method will:
287
+ * 1. Calculate the new body length based on the message content
288
+ * 2. Calculate the new checksum based on the entire message
289
+ * 3. Update the message's internal state with the new values
290
+ *
291
+ * @returns {Object} An object containing the new body length and checksum values
292
+ * @property {number} bodyLength - The newly calculated body length
293
+ * @property {string} checksum - The newly calculated checksum
294
+ *
295
+ * @example
296
+ * const message = new Message('FIX.4.4');
297
+ * message.addField(new Field(FieldType.OrderQty, 100));
298
+ * const { bodyLength, checksum } = message.recalculateMessageLengths();
299
+ * console.log(`New body length: ${bodyLength}, New checksum: ${checksum}`);
300
+ */
301
+ recalculateMessageLengths(): {
302
+ bodyLength: number;
303
+ checksum: string;
304
+ };
305
+ /**
306
+ * Validates the structure and content of a given FIX message.
307
+ *
308
+ * This method checks the fields in the provided `message` for correct data format, required fields,
309
+ * and field references (such as `fieldRef`, `groupRef`, `componentRef`). It also validates specific fields
310
+ * like `BodyLength` and `CheckSum` against expected values.
311
+ *
312
+ * The validation process can be constrained to only required fields, based on the `requiredFieldsOnly` flag.
313
+ *
314
+ * @param {boolean} [requiredFieldsOnly=true] - If `true`, only required fields (as specified in the message structure) are validated.
315
+ * Defaults to `true`.
316
+ *
317
+ * @returns {MessageError[]} - An array of validation errors. Each error includes details about the field that caused the error,
318
+ * such as the field's `tag`, `name`, `value`, the error message, and any expected value (if applicable).
319
+ *
320
+ * @throws {Error} If any internal validation process fails or an invalid message is encountered.
321
+ *
322
+ * @example
323
+ * const validationErrors = message.validate();
324
+ *
325
+ * if (validationErrors.length > 0) {
326
+ * validationErrors.forEach(error => {
327
+ * console.error(`Field ${error.name} (Tag ${error.tag}) has error: ${error.error}`);
328
+ * });
329
+ * }
330
+ */
331
+ validate(requiredFieldsOnly?: boolean): MessageError[];
332
+ /**
333
+ * Encodes the FIX message into a string format based on the current message data, including its header, body, and trailer.
334
+ * This method first validates the license, then constructs the message by adding fields such as `BeginString`, `BodyLength`,
335
+ * and `CheckSum`. It also calculates the body length and checksum dynamically, ensuring the message is correctly formatted
336
+ * according to the FIX protocol.
337
+ *
338
+ * @param {string} [separator=SOH] - The separator used to separate fields in the encoded FIX message. Defaults to `SOH` (Start of Header).
339
+ * @returns {string} The encoded FIX message string, including calculated body length and checksum.
340
+ * @throws {Error} If the license is invalid, it throws an error with a message indicating no valid license.
341
+ *
342
+ * @example
343
+ * const fixMessage = message.encode();
344
+ * console.log(fixMessage); // "8=FIX.4.4|35=D|49=SenderCompID|56=TargetCompID|34=1|10=123"
345
+ */
346
+ encode(separator?: string): string;
347
+ /**
348
+ * Converts the current FIX message to a JSON-like structure (FIX JSON), representing the message in a format that mirrors the FIX protocol.
349
+ * The structure includes three main sections: `Header`, `Body`, and `Trailer`. Each section contains fields and, where applicable,
350
+ * groups of repeating fields. The method processes the fields in the `data` array and organizes them into these sections, handling
351
+ * groups, references, and field types appropriately.
352
+ *
353
+ * @returns {FIXJSON} The FIX message converted into a structured JSON-like format with `Header`, `Body`, and `Trailer` sections.
354
+ *
355
+ * @throws {Error} If the license is invalid, an error is thrown with a message indicating that no valid license is available.
356
+ *
357
+ * @example
358
+ * const fixJson = message.toFIXJSON();
359
+ * console.log(fixJson);
360
+ * // {
361
+ * // "Header": {
362
+ * // "BeginString": "FIXT.1.1",
363
+ * // "MsgType": "NewOrderSingle",
364
+ * // "SenderCompID": "ABC",
365
+ * // "TargetCompID": "XYZ"
366
+ * // },
367
+ * // "Body": {
368
+ * // "OrderQty": 1000,
369
+ * // "Price": 50.25,
370
+ * // "Symbol": "AAPL",
371
+ * // "Side": "Buy"
372
+ * // },
373
+ * // "Trailer": {
374
+ * // "CheckSum": "123"
375
+ * // }
376
+ * // }
377
+ */
378
+ toFIXJSON(): FIXJSON;
379
+ /**
380
+ * Creates and returns a new instance of the `Message` class, which is a deep clone of the current `Message` instance.
381
+ * The cloned instance has the same `fixVersion`, `messageSequence`, and `messageType`, but the `data` array is also cloned to avoid references to the original fields.
382
+ *
383
+ * @returns {Message} A new `Message` instance that is a clone of the current one.
384
+ *
385
+ * @example
386
+ * const originalMessage = new Message('FIXT.1.1', field1, field2, field3);
387
+ * const clonedMessage = originalMessage.clone();
388
+ * console.log(clonedMessage); // A new Message instance with the same data as the original
389
+ */
390
+ clone(): Message;
391
+ /**
392
+ * Resets the internal state of the `Message` instance to its initial, empty state.
393
+ * This includes clearing all data fields, resetting various properties to their default values,
394
+ * and ensuring the message is in a clean state ready for processing.
395
+ *
396
+ * This method is typically used when you want to clear the state of the current `Message` object
397
+ * and prepare it for new data, e.g., when parsing or constructing a new FIX message.
398
+ *
399
+ * @private
400
+ * @returns {void} This method does not return any value.
401
+ *
402
+ * @example
403
+ * const message = new Message('FIX.4.4', field1, field2);
404
+ * message.reset(); // Clears all properties and prepares the message for a new state
405
+ */
406
+ private reset;
407
+ }
408
+ export {};