@boarteam/fix-dict-fix42 4.0.0 → 4.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/README.md +9 -5
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +31 -2
- package/dist/index.d.ts +31 -2
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _boarteam_fix from '@boarteam/fix';
|
|
2
|
-
import { MessageView, DictionaryJSON, MessageFactory } from '@boarteam/fix';
|
|
2
|
+
import { InboundMessageOf, MessageView, DictionaryJSON, MessageFactory } from '@boarteam/fix';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The complete FIX.4.2 dictionary as data. Pass to `loadDictionary` from `@boarteam/fix`
|
|
@@ -4110,5 +4110,34 @@ declare const isMessageType: _boarteam_fix.MessageTypeGuard<MessageBodies>;
|
|
|
4110
4110
|
* `MessageView<MarketDataSnapshotFullRefreshBody>`.
|
|
4111
4111
|
*/
|
|
4112
4112
|
type MessageOf<M extends keyof MessageBodies & string> = MessageView<MessageBodies[M] & object>;
|
|
4113
|
+
/**
|
|
4114
|
+
* The narrowing guard for a RECEIVED message, bound to this dictionary's `MessageBodies` —
|
|
4115
|
+
* `isMessageType` for the inbound path. Given a message of unknown body (an
|
|
4116
|
+
* `InboundMessage`, which is what `toInbound`/`engine.inbound` hand back) and a `MsgType`
|
|
4117
|
+
* value, it narrows the view so `get()` reads are typed to that message's body — and unlike
|
|
4118
|
+
* the encode-side guard it preserves the inbound view, so `envelope` and `parsed` survive
|
|
4119
|
+
* the narrowing. Runtime is a plain `msgType` compare.
|
|
4120
|
+
*
|
|
4121
|
+
* ```ts
|
|
4122
|
+
* const inbound = toInbound(parse(raw, dictionary).message, dictionary);
|
|
4123
|
+
* if (isInboundType(inbound, 'W')) {
|
|
4124
|
+
* inbound.get('NoMDEntries'); // the typed entry array
|
|
4125
|
+
* inbound.envelope.MsgSeqNum; // still reachable after narrowing
|
|
4126
|
+
* }
|
|
4127
|
+
* ```
|
|
4128
|
+
*
|
|
4129
|
+
* To narrow to *every* message this dictionary defines at once — a
|
|
4130
|
+
* `switch (message.msgType)` that types each case — bind `inboundKnownGuard` yourself:
|
|
4131
|
+
* it takes the dictionary at runtime, so an app that extends this one must bind its own
|
|
4132
|
+
* extended dictionary rather than borrow a guard bound to the stock one.
|
|
4133
|
+
*/
|
|
4134
|
+
declare const isInboundType: _boarteam_fix.InboundTypeGuard<MessageBodies>;
|
|
4135
|
+
/**
|
|
4136
|
+
* The typed read surface of a RECEIVED message whose `MsgType` value is `M` — the inbound
|
|
4137
|
+
* counterpart of `MessageOf`, for annotating a narrowed message (a handler parameter, a
|
|
4138
|
+
* variable). `InboundOf<'W'>` is the market-data snapshot's read view, `msgType` pinned to
|
|
4139
|
+
* the literal `'W'` and `envelope`/`parsed` included.
|
|
4140
|
+
*/
|
|
4141
|
+
type InboundOf<M extends keyof MessageBodies & string> = InboundMessageOf<MessageBodies[M] & object, M>;
|
|
4113
4142
|
|
|
4114
|
-
export { Adjustment, AdvSide, AdvTransType, type AdvertisementBody, AggregatedBook, AllocHandlInst, AllocLinkType, AllocRejCode, AllocStatus, AllocTransType, type AllocationBody, type AllocationInstructionAckBody, type Allocation_NoAllocsEntry, type Allocation_NoAllocs_NoMiscFeesEntry, type Allocation_NoExecsEntry, type Allocation_NoOrdersEntry, BasisPxType, Benchmark, type BidRequestBody, BidRequestTransType, type BidRequest_NoBidComponentsEntry, type BidRequest_NoBidDescriptorsEntry, type BidResponseBody, type BidResponse_NoBidComponentsEntry, type BusinessMessageRejectBody, BusinessRejectReason, CommType, CorporateAction, CoveredOrUncovered, CustomerOrFirm, CxlRejReason, CxlRejResponseTo, DICTIONARY_VERSION, DKReason, DeleteReason, DiscretionInst, type DontKnowTradeBody, DueToRelated, type EmailBody, EmailType, type Email_LinesOfTextEntry, type Email_NoRelatedSymEntry, type Email_NoRoutingIDsEntry, EncryptMethod, type EnumFieldName, Enums, ExchangeForPhysical, ExecInst, ExecRestatementReason, ExecTransType, ExecType, type ExecutionReportBody, type ExecutionReport_NoContraBrokersEntry, FinancialStatus, ForexReq, GTBookingInst, GapFillFlag, HaltReason, HandlInst, type HeartbeatBody, IDSource, type IOIBody, IOINaturalFlag, IOIQltyInd, IOIQualifier, IOIShares, IOITransType, type IOI_NoIOIQualifiersEntry, type IOI_NoRoutingIDsEntry, InViewOfCommon, IncTaxInd, LastCapacity, LiquidityIndType, type ListCancelRequestBody, ListExecInstType, type ListExecuteBody, type ListStatusBody, type ListStatusRequestBody, type ListStatus_NoOrdersEntry, type ListStrikePriceBody, type ListStrikePrice_NoStrikesEntry, LocateReqd, type LogonBody, type Logon_NoMsgTypesEntry, type LogoutBody, MDEntryType, MDReqRejReason, MDUpdateAction, MDUpdateType, type MarketDataIncrementalRefreshBody, type MarketDataIncrementalRefresh_NoMDEntriesEntry, type MarketDataRequestBody, type MarketDataRequestRejectBody, type MarketDataRequest_NoMDEntryTypesEntry, type MarketDataRequest_NoRelatedSymEntry, type MarketDataSnapshotFullRefreshBody, type MarketDataSnapshotFullRefresh_NoMDEntriesEntry, type MassQuoteBody, type MassQuote_NoQuoteSetsEntry, type MassQuote_NoQuoteSets_NoQuoteEntriesEntry, type MessageBodies, MessageEncoding, type MessageOf, MiscFeeType, MsgDirection, MsgType, type MsgTypeName, MsgTypeNames, MultiLegReportingType, NetGrossInd, type NewsBody, type News_LinesOfTextEntry, type News_NoRelatedSymEntry, type News_NoRoutingIDsEntry, NotifyBrokerOfCredit, OpenClose, OpenCloseSettleFlag, OrdRejReason, OrdStatus, OrdType, type OrderCancelRejectBody, type OrderCancelReplaceRequestBody, type OrderCancelReplaceRequest_NoAllocsEntry, type OrderCancelReplaceRequest_NoTradingSessionsEntry, type OrderCancelRequestBody, type OrderListBody, type OrderList_NoOrdersEntry, type OrderList_NoOrders_NoAllocsEntry, type OrderList_NoOrders_NoTradingSessionsEntry, type OrderSingleBody, type OrderSingle_NoAllocsEntry, type OrderSingle_NoTradingSessionsEntry, type OrderStatusRequestBody, PossDupFlag, PossResend, PriceType, ProcessCode, ProgRptReqs, PutOrCall, QuoteAckStatus, type QuoteAcknowledgementBody, type QuoteAcknowledgement_NoQuoteSetsEntry, type QuoteAcknowledgement_NoQuoteSets_NoQuoteEntriesEntry, type QuoteBody, type QuoteCancelBody, QuoteCancelType, type QuoteCancel_NoQuoteEntriesEntry, QuoteCondition, QuoteEntryRejectReason, QuoteRejectReason, type QuoteRequestBody, QuoteRequestType, type QuoteRequest_NoRelatedSymEntry, QuoteResponseLevel, type QuoteStatusRequestBody, type RejectBody, ReportToExch, type ResendRequestBody, ResetSeqNumFlag, RoutingType, Rule80A, type SecurityDefinitionBody, type SecurityDefinitionRequestBody, type SecurityDefinitionRequest_NoRelatedSymEntry, type SecurityDefinition_NoRelatedSymEntry, SecurityRequestType, SecurityResponseType, type SecurityStatusBody, type SecurityStatusRequestBody, SecurityTradingStatus, SecurityType, type SequenceResetBody, SessionRejectReason, SettlInstMode, SettlInstSource, SettlInstTransType, SettlLocation, type SettlementInstructionsBody, SettlmntTyp, Side, SolicitedFlag, StandInstDbType, SubscriptionRequestType, type TagName, TagNames, Tags, type TestRequestBody, TickDirection, TimeInForce, TradSesMethod, TradSesMode, TradSesStatus, TradeCondition, TradeType, type TradingSessionStatusBody, type TradingSessionStatusRequestBody, UnsolicitedIndicator, Urgency, dictionary, isMessageType, message };
|
|
4143
|
+
export { Adjustment, AdvSide, AdvTransType, type AdvertisementBody, AggregatedBook, AllocHandlInst, AllocLinkType, AllocRejCode, AllocStatus, AllocTransType, type AllocationBody, type AllocationInstructionAckBody, type Allocation_NoAllocsEntry, type Allocation_NoAllocs_NoMiscFeesEntry, type Allocation_NoExecsEntry, type Allocation_NoOrdersEntry, BasisPxType, Benchmark, type BidRequestBody, BidRequestTransType, type BidRequest_NoBidComponentsEntry, type BidRequest_NoBidDescriptorsEntry, type BidResponseBody, type BidResponse_NoBidComponentsEntry, type BusinessMessageRejectBody, BusinessRejectReason, CommType, CorporateAction, CoveredOrUncovered, CustomerOrFirm, CxlRejReason, CxlRejResponseTo, DICTIONARY_VERSION, DKReason, DeleteReason, DiscretionInst, type DontKnowTradeBody, DueToRelated, type EmailBody, EmailType, type Email_LinesOfTextEntry, type Email_NoRelatedSymEntry, type Email_NoRoutingIDsEntry, EncryptMethod, type EnumFieldName, Enums, ExchangeForPhysical, ExecInst, ExecRestatementReason, ExecTransType, ExecType, type ExecutionReportBody, type ExecutionReport_NoContraBrokersEntry, FinancialStatus, ForexReq, GTBookingInst, GapFillFlag, HaltReason, HandlInst, type HeartbeatBody, IDSource, type IOIBody, IOINaturalFlag, IOIQltyInd, IOIQualifier, IOIShares, IOITransType, type IOI_NoIOIQualifiersEntry, type IOI_NoRoutingIDsEntry, InViewOfCommon, type InboundOf, IncTaxInd, LastCapacity, LiquidityIndType, type ListCancelRequestBody, ListExecInstType, type ListExecuteBody, type ListStatusBody, type ListStatusRequestBody, type ListStatus_NoOrdersEntry, type ListStrikePriceBody, type ListStrikePrice_NoStrikesEntry, LocateReqd, type LogonBody, type Logon_NoMsgTypesEntry, type LogoutBody, MDEntryType, MDReqRejReason, MDUpdateAction, MDUpdateType, type MarketDataIncrementalRefreshBody, type MarketDataIncrementalRefresh_NoMDEntriesEntry, type MarketDataRequestBody, type MarketDataRequestRejectBody, type MarketDataRequest_NoMDEntryTypesEntry, type MarketDataRequest_NoRelatedSymEntry, type MarketDataSnapshotFullRefreshBody, type MarketDataSnapshotFullRefresh_NoMDEntriesEntry, type MassQuoteBody, type MassQuote_NoQuoteSetsEntry, type MassQuote_NoQuoteSets_NoQuoteEntriesEntry, type MessageBodies, MessageEncoding, type MessageOf, MiscFeeType, MsgDirection, MsgType, type MsgTypeName, MsgTypeNames, MultiLegReportingType, NetGrossInd, type NewsBody, type News_LinesOfTextEntry, type News_NoRelatedSymEntry, type News_NoRoutingIDsEntry, NotifyBrokerOfCredit, OpenClose, OpenCloseSettleFlag, OrdRejReason, OrdStatus, OrdType, type OrderCancelRejectBody, type OrderCancelReplaceRequestBody, type OrderCancelReplaceRequest_NoAllocsEntry, type OrderCancelReplaceRequest_NoTradingSessionsEntry, type OrderCancelRequestBody, type OrderListBody, type OrderList_NoOrdersEntry, type OrderList_NoOrders_NoAllocsEntry, type OrderList_NoOrders_NoTradingSessionsEntry, type OrderSingleBody, type OrderSingle_NoAllocsEntry, type OrderSingle_NoTradingSessionsEntry, type OrderStatusRequestBody, PossDupFlag, PossResend, PriceType, ProcessCode, ProgRptReqs, PutOrCall, QuoteAckStatus, type QuoteAcknowledgementBody, type QuoteAcknowledgement_NoQuoteSetsEntry, type QuoteAcknowledgement_NoQuoteSets_NoQuoteEntriesEntry, type QuoteBody, type QuoteCancelBody, QuoteCancelType, type QuoteCancel_NoQuoteEntriesEntry, QuoteCondition, QuoteEntryRejectReason, QuoteRejectReason, type QuoteRequestBody, QuoteRequestType, type QuoteRequest_NoRelatedSymEntry, QuoteResponseLevel, type QuoteStatusRequestBody, type RejectBody, ReportToExch, type ResendRequestBody, ResetSeqNumFlag, RoutingType, Rule80A, type SecurityDefinitionBody, type SecurityDefinitionRequestBody, type SecurityDefinitionRequest_NoRelatedSymEntry, type SecurityDefinition_NoRelatedSymEntry, SecurityRequestType, SecurityResponseType, type SecurityStatusBody, type SecurityStatusRequestBody, SecurityTradingStatus, SecurityType, type SequenceResetBody, SessionRejectReason, SettlInstMode, SettlInstSource, SettlInstTransType, SettlLocation, type SettlementInstructionsBody, SettlmntTyp, Side, SolicitedFlag, StandInstDbType, SubscriptionRequestType, type TagName, TagNames, Tags, type TestRequestBody, TickDirection, TimeInForce, TradSesMethod, TradSesMode, TradSesStatus, TradeCondition, TradeType, type TradingSessionStatusBody, type TradingSessionStatusRequestBody, UnsolicitedIndicator, Urgency, dictionary, isInboundType, isMessageType, message };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _boarteam_fix from '@boarteam/fix';
|
|
2
|
-
import { MessageView, DictionaryJSON, MessageFactory } from '@boarteam/fix';
|
|
2
|
+
import { InboundMessageOf, MessageView, DictionaryJSON, MessageFactory } from '@boarteam/fix';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The complete FIX.4.2 dictionary as data. Pass to `loadDictionary` from `@boarteam/fix`
|
|
@@ -4110,5 +4110,34 @@ declare const isMessageType: _boarteam_fix.MessageTypeGuard<MessageBodies>;
|
|
|
4110
4110
|
* `MessageView<MarketDataSnapshotFullRefreshBody>`.
|
|
4111
4111
|
*/
|
|
4112
4112
|
type MessageOf<M extends keyof MessageBodies & string> = MessageView<MessageBodies[M] & object>;
|
|
4113
|
+
/**
|
|
4114
|
+
* The narrowing guard for a RECEIVED message, bound to this dictionary's `MessageBodies` —
|
|
4115
|
+
* `isMessageType` for the inbound path. Given a message of unknown body (an
|
|
4116
|
+
* `InboundMessage`, which is what `toInbound`/`engine.inbound` hand back) and a `MsgType`
|
|
4117
|
+
* value, it narrows the view so `get()` reads are typed to that message's body — and unlike
|
|
4118
|
+
* the encode-side guard it preserves the inbound view, so `envelope` and `parsed` survive
|
|
4119
|
+
* the narrowing. Runtime is a plain `msgType` compare.
|
|
4120
|
+
*
|
|
4121
|
+
* ```ts
|
|
4122
|
+
* const inbound = toInbound(parse(raw, dictionary).message, dictionary);
|
|
4123
|
+
* if (isInboundType(inbound, 'W')) {
|
|
4124
|
+
* inbound.get('NoMDEntries'); // the typed entry array
|
|
4125
|
+
* inbound.envelope.MsgSeqNum; // still reachable after narrowing
|
|
4126
|
+
* }
|
|
4127
|
+
* ```
|
|
4128
|
+
*
|
|
4129
|
+
* To narrow to *every* message this dictionary defines at once — a
|
|
4130
|
+
* `switch (message.msgType)` that types each case — bind `inboundKnownGuard` yourself:
|
|
4131
|
+
* it takes the dictionary at runtime, so an app that extends this one must bind its own
|
|
4132
|
+
* extended dictionary rather than borrow a guard bound to the stock one.
|
|
4133
|
+
*/
|
|
4134
|
+
declare const isInboundType: _boarteam_fix.InboundTypeGuard<MessageBodies>;
|
|
4135
|
+
/**
|
|
4136
|
+
* The typed read surface of a RECEIVED message whose `MsgType` value is `M` — the inbound
|
|
4137
|
+
* counterpart of `MessageOf`, for annotating a narrowed message (a handler parameter, a
|
|
4138
|
+
* variable). `InboundOf<'W'>` is the market-data snapshot's read view, `msgType` pinned to
|
|
4139
|
+
* the literal `'W'` and `envelope`/`parsed` included.
|
|
4140
|
+
*/
|
|
4141
|
+
type InboundOf<M extends keyof MessageBodies & string> = InboundMessageOf<MessageBodies[M] & object, M>;
|
|
4113
4142
|
|
|
4114
|
-
export { Adjustment, AdvSide, AdvTransType, type AdvertisementBody, AggregatedBook, AllocHandlInst, AllocLinkType, AllocRejCode, AllocStatus, AllocTransType, type AllocationBody, type AllocationInstructionAckBody, type Allocation_NoAllocsEntry, type Allocation_NoAllocs_NoMiscFeesEntry, type Allocation_NoExecsEntry, type Allocation_NoOrdersEntry, BasisPxType, Benchmark, type BidRequestBody, BidRequestTransType, type BidRequest_NoBidComponentsEntry, type BidRequest_NoBidDescriptorsEntry, type BidResponseBody, type BidResponse_NoBidComponentsEntry, type BusinessMessageRejectBody, BusinessRejectReason, CommType, CorporateAction, CoveredOrUncovered, CustomerOrFirm, CxlRejReason, CxlRejResponseTo, DICTIONARY_VERSION, DKReason, DeleteReason, DiscretionInst, type DontKnowTradeBody, DueToRelated, type EmailBody, EmailType, type Email_LinesOfTextEntry, type Email_NoRelatedSymEntry, type Email_NoRoutingIDsEntry, EncryptMethod, type EnumFieldName, Enums, ExchangeForPhysical, ExecInst, ExecRestatementReason, ExecTransType, ExecType, type ExecutionReportBody, type ExecutionReport_NoContraBrokersEntry, FinancialStatus, ForexReq, GTBookingInst, GapFillFlag, HaltReason, HandlInst, type HeartbeatBody, IDSource, type IOIBody, IOINaturalFlag, IOIQltyInd, IOIQualifier, IOIShares, IOITransType, type IOI_NoIOIQualifiersEntry, type IOI_NoRoutingIDsEntry, InViewOfCommon, IncTaxInd, LastCapacity, LiquidityIndType, type ListCancelRequestBody, ListExecInstType, type ListExecuteBody, type ListStatusBody, type ListStatusRequestBody, type ListStatus_NoOrdersEntry, type ListStrikePriceBody, type ListStrikePrice_NoStrikesEntry, LocateReqd, type LogonBody, type Logon_NoMsgTypesEntry, type LogoutBody, MDEntryType, MDReqRejReason, MDUpdateAction, MDUpdateType, type MarketDataIncrementalRefreshBody, type MarketDataIncrementalRefresh_NoMDEntriesEntry, type MarketDataRequestBody, type MarketDataRequestRejectBody, type MarketDataRequest_NoMDEntryTypesEntry, type MarketDataRequest_NoRelatedSymEntry, type MarketDataSnapshotFullRefreshBody, type MarketDataSnapshotFullRefresh_NoMDEntriesEntry, type MassQuoteBody, type MassQuote_NoQuoteSetsEntry, type MassQuote_NoQuoteSets_NoQuoteEntriesEntry, type MessageBodies, MessageEncoding, type MessageOf, MiscFeeType, MsgDirection, MsgType, type MsgTypeName, MsgTypeNames, MultiLegReportingType, NetGrossInd, type NewsBody, type News_LinesOfTextEntry, type News_NoRelatedSymEntry, type News_NoRoutingIDsEntry, NotifyBrokerOfCredit, OpenClose, OpenCloseSettleFlag, OrdRejReason, OrdStatus, OrdType, type OrderCancelRejectBody, type OrderCancelReplaceRequestBody, type OrderCancelReplaceRequest_NoAllocsEntry, type OrderCancelReplaceRequest_NoTradingSessionsEntry, type OrderCancelRequestBody, type OrderListBody, type OrderList_NoOrdersEntry, type OrderList_NoOrders_NoAllocsEntry, type OrderList_NoOrders_NoTradingSessionsEntry, type OrderSingleBody, type OrderSingle_NoAllocsEntry, type OrderSingle_NoTradingSessionsEntry, type OrderStatusRequestBody, PossDupFlag, PossResend, PriceType, ProcessCode, ProgRptReqs, PutOrCall, QuoteAckStatus, type QuoteAcknowledgementBody, type QuoteAcknowledgement_NoQuoteSetsEntry, type QuoteAcknowledgement_NoQuoteSets_NoQuoteEntriesEntry, type QuoteBody, type QuoteCancelBody, QuoteCancelType, type QuoteCancel_NoQuoteEntriesEntry, QuoteCondition, QuoteEntryRejectReason, QuoteRejectReason, type QuoteRequestBody, QuoteRequestType, type QuoteRequest_NoRelatedSymEntry, QuoteResponseLevel, type QuoteStatusRequestBody, type RejectBody, ReportToExch, type ResendRequestBody, ResetSeqNumFlag, RoutingType, Rule80A, type SecurityDefinitionBody, type SecurityDefinitionRequestBody, type SecurityDefinitionRequest_NoRelatedSymEntry, type SecurityDefinition_NoRelatedSymEntry, SecurityRequestType, SecurityResponseType, type SecurityStatusBody, type SecurityStatusRequestBody, SecurityTradingStatus, SecurityType, type SequenceResetBody, SessionRejectReason, SettlInstMode, SettlInstSource, SettlInstTransType, SettlLocation, type SettlementInstructionsBody, SettlmntTyp, Side, SolicitedFlag, StandInstDbType, SubscriptionRequestType, type TagName, TagNames, Tags, type TestRequestBody, TickDirection, TimeInForce, TradSesMethod, TradSesMode, TradSesStatus, TradeCondition, TradeType, type TradingSessionStatusBody, type TradingSessionStatusRequestBody, UnsolicitedIndicator, Urgency, dictionary, isMessageType, message };
|
|
4143
|
+
export { Adjustment, AdvSide, AdvTransType, type AdvertisementBody, AggregatedBook, AllocHandlInst, AllocLinkType, AllocRejCode, AllocStatus, AllocTransType, type AllocationBody, type AllocationInstructionAckBody, type Allocation_NoAllocsEntry, type Allocation_NoAllocs_NoMiscFeesEntry, type Allocation_NoExecsEntry, type Allocation_NoOrdersEntry, BasisPxType, Benchmark, type BidRequestBody, BidRequestTransType, type BidRequest_NoBidComponentsEntry, type BidRequest_NoBidDescriptorsEntry, type BidResponseBody, type BidResponse_NoBidComponentsEntry, type BusinessMessageRejectBody, BusinessRejectReason, CommType, CorporateAction, CoveredOrUncovered, CustomerOrFirm, CxlRejReason, CxlRejResponseTo, DICTIONARY_VERSION, DKReason, DeleteReason, DiscretionInst, type DontKnowTradeBody, DueToRelated, type EmailBody, EmailType, type Email_LinesOfTextEntry, type Email_NoRelatedSymEntry, type Email_NoRoutingIDsEntry, EncryptMethod, type EnumFieldName, Enums, ExchangeForPhysical, ExecInst, ExecRestatementReason, ExecTransType, ExecType, type ExecutionReportBody, type ExecutionReport_NoContraBrokersEntry, FinancialStatus, ForexReq, GTBookingInst, GapFillFlag, HaltReason, HandlInst, type HeartbeatBody, IDSource, type IOIBody, IOINaturalFlag, IOIQltyInd, IOIQualifier, IOIShares, IOITransType, type IOI_NoIOIQualifiersEntry, type IOI_NoRoutingIDsEntry, InViewOfCommon, type InboundOf, IncTaxInd, LastCapacity, LiquidityIndType, type ListCancelRequestBody, ListExecInstType, type ListExecuteBody, type ListStatusBody, type ListStatusRequestBody, type ListStatus_NoOrdersEntry, type ListStrikePriceBody, type ListStrikePrice_NoStrikesEntry, LocateReqd, type LogonBody, type Logon_NoMsgTypesEntry, type LogoutBody, MDEntryType, MDReqRejReason, MDUpdateAction, MDUpdateType, type MarketDataIncrementalRefreshBody, type MarketDataIncrementalRefresh_NoMDEntriesEntry, type MarketDataRequestBody, type MarketDataRequestRejectBody, type MarketDataRequest_NoMDEntryTypesEntry, type MarketDataRequest_NoRelatedSymEntry, type MarketDataSnapshotFullRefreshBody, type MarketDataSnapshotFullRefresh_NoMDEntriesEntry, type MassQuoteBody, type MassQuote_NoQuoteSetsEntry, type MassQuote_NoQuoteSets_NoQuoteEntriesEntry, type MessageBodies, MessageEncoding, type MessageOf, MiscFeeType, MsgDirection, MsgType, type MsgTypeName, MsgTypeNames, MultiLegReportingType, NetGrossInd, type NewsBody, type News_LinesOfTextEntry, type News_NoRelatedSymEntry, type News_NoRoutingIDsEntry, NotifyBrokerOfCredit, OpenClose, OpenCloseSettleFlag, OrdRejReason, OrdStatus, OrdType, type OrderCancelRejectBody, type OrderCancelReplaceRequestBody, type OrderCancelReplaceRequest_NoAllocsEntry, type OrderCancelReplaceRequest_NoTradingSessionsEntry, type OrderCancelRequestBody, type OrderListBody, type OrderList_NoOrdersEntry, type OrderList_NoOrders_NoAllocsEntry, type OrderList_NoOrders_NoTradingSessionsEntry, type OrderSingleBody, type OrderSingle_NoAllocsEntry, type OrderSingle_NoTradingSessionsEntry, type OrderStatusRequestBody, PossDupFlag, PossResend, PriceType, ProcessCode, ProgRptReqs, PutOrCall, QuoteAckStatus, type QuoteAcknowledgementBody, type QuoteAcknowledgement_NoQuoteSetsEntry, type QuoteAcknowledgement_NoQuoteSets_NoQuoteEntriesEntry, type QuoteBody, type QuoteCancelBody, QuoteCancelType, type QuoteCancel_NoQuoteEntriesEntry, QuoteCondition, QuoteEntryRejectReason, QuoteRejectReason, type QuoteRequestBody, QuoteRequestType, type QuoteRequest_NoRelatedSymEntry, QuoteResponseLevel, type QuoteStatusRequestBody, type RejectBody, ReportToExch, type ResendRequestBody, ResetSeqNumFlag, RoutingType, Rule80A, type SecurityDefinitionBody, type SecurityDefinitionRequestBody, type SecurityDefinitionRequest_NoRelatedSymEntry, type SecurityDefinition_NoRelatedSymEntry, SecurityRequestType, SecurityResponseType, type SecurityStatusBody, type SecurityStatusRequestBody, SecurityTradingStatus, SecurityType, type SequenceResetBody, SessionRejectReason, SettlInstMode, SettlInstSource, SettlInstTransType, SettlLocation, type SettlementInstructionsBody, SettlmntTyp, Side, SolicitedFlag, StandInstDbType, SubscriptionRequestType, type TagName, TagNames, Tags, type TestRequestBody, TickDirection, TimeInForce, TradSesMethod, TradSesMode, TradSesStatus, TradeCondition, TradeType, type TradingSessionStatusBody, type TradingSessionStatusRequestBody, UnsolicitedIndicator, Urgency, dictionary, isInboundType, isMessageType, message };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { messageFactory, messageTypeGuard } from '@boarteam/fix';
|
|
1
|
+
import { messageFactory, messageTypeGuard, inboundTypeGuard } from '@boarteam/fix';
|
|
2
2
|
|
|
3
3
|
// src/index.ts
|
|
4
4
|
|
|
@@ -16018,7 +16018,8 @@ var Enums = {
|
|
|
16018
16018
|
};
|
|
16019
16019
|
var message = messageFactory(dictionary);
|
|
16020
16020
|
var isMessageType = messageTypeGuard();
|
|
16021
|
+
var isInboundType = inboundTypeGuard();
|
|
16021
16022
|
|
|
16022
|
-
export { Adjustment, AdvSide, AdvTransType, AggregatedBook, AllocHandlInst, AllocLinkType, AllocRejCode, AllocStatus, AllocTransType, BasisPxType, Benchmark, BidRequestTransType, BusinessRejectReason, CommType, CorporateAction, CoveredOrUncovered, CustomerOrFirm, CxlRejReason, CxlRejResponseTo, DICTIONARY_VERSION, DKReason, DeleteReason, DiscretionInst, DueToRelated, EmailType, EncryptMethod, Enums, ExchangeForPhysical, ExecInst, ExecRestatementReason, ExecTransType, ExecType, FinancialStatus, ForexReq, GTBookingInst, GapFillFlag, HaltReason, HandlInst, IDSource, IOINaturalFlag, IOIQltyInd, IOIQualifier, IOIShares, IOITransType, InViewOfCommon, IncTaxInd, LastCapacity, LiquidityIndType, ListExecInstType, LocateReqd, MDEntryType, MDReqRejReason, MDUpdateAction, MDUpdateType, MessageEncoding, MiscFeeType, MsgDirection, MsgType, MsgTypeNames, MultiLegReportingType, NetGrossInd, NotifyBrokerOfCredit, OpenClose, OpenCloseSettleFlag, OrdRejReason, OrdStatus, OrdType, PossDupFlag, PossResend, PriceType, ProcessCode, ProgRptReqs, PutOrCall, QuoteAckStatus, QuoteCancelType, QuoteCondition, QuoteEntryRejectReason, QuoteRejectReason, QuoteRequestType, QuoteResponseLevel, ReportToExch, ResetSeqNumFlag, RoutingType, Rule80A, SecurityRequestType, SecurityResponseType, SecurityTradingStatus, SecurityType, SessionRejectReason, SettlInstMode, SettlInstSource, SettlInstTransType, SettlLocation, SettlmntTyp, Side, SolicitedFlag, StandInstDbType, SubscriptionRequestType, TagNames, Tags, TickDirection, TimeInForce, TradSesMethod, TradSesMode, TradSesStatus, TradeCondition, TradeType, UnsolicitedIndicator, Urgency, dictionary, isMessageType, message };
|
|
16023
|
+
export { Adjustment, AdvSide, AdvTransType, AggregatedBook, AllocHandlInst, AllocLinkType, AllocRejCode, AllocStatus, AllocTransType, BasisPxType, Benchmark, BidRequestTransType, BusinessRejectReason, CommType, CorporateAction, CoveredOrUncovered, CustomerOrFirm, CxlRejReason, CxlRejResponseTo, DICTIONARY_VERSION, DKReason, DeleteReason, DiscretionInst, DueToRelated, EmailType, EncryptMethod, Enums, ExchangeForPhysical, ExecInst, ExecRestatementReason, ExecTransType, ExecType, FinancialStatus, ForexReq, GTBookingInst, GapFillFlag, HaltReason, HandlInst, IDSource, IOINaturalFlag, IOIQltyInd, IOIQualifier, IOIShares, IOITransType, InViewOfCommon, IncTaxInd, LastCapacity, LiquidityIndType, ListExecInstType, LocateReqd, MDEntryType, MDReqRejReason, MDUpdateAction, MDUpdateType, MessageEncoding, MiscFeeType, MsgDirection, MsgType, MsgTypeNames, MultiLegReportingType, NetGrossInd, NotifyBrokerOfCredit, OpenClose, OpenCloseSettleFlag, OrdRejReason, OrdStatus, OrdType, PossDupFlag, PossResend, PriceType, ProcessCode, ProgRptReqs, PutOrCall, QuoteAckStatus, QuoteCancelType, QuoteCondition, QuoteEntryRejectReason, QuoteRejectReason, QuoteRequestType, QuoteResponseLevel, ReportToExch, ResetSeqNumFlag, RoutingType, Rule80A, SecurityRequestType, SecurityResponseType, SecurityTradingStatus, SecurityType, SessionRejectReason, SettlInstMode, SettlInstSource, SettlInstTransType, SettlLocation, SettlmntTyp, Side, SolicitedFlag, StandInstDbType, SubscriptionRequestType, TagNames, Tags, TickDirection, TimeInForce, TradSesMethod, TradSesMode, TradSesStatus, TradeCondition, TradeType, UnsolicitedIndicator, Urgency, dictionary, isInboundType, isMessageType, message };
|
|
16023
16024
|
//# sourceMappingURL=index.js.map
|
|
16024
16025
|
//# sourceMappingURL=index.js.map
|