@dgac/nmb2b-client
Version:
EUROCONTROL Network Manager B2B SOAP client
1 lines • 8.5 kB
Source Map (JSON)
{"version":3,"sources":["../../src/Airspace/types.ts"],"sourcesContent":["export type RouteId = string; // (UALPHA|DIGIT){1,7}\nexport type PublishedPointId = string; // (UALPHA|DIGIT){1,5}\nexport type AerodromeSetId = string; // ANY{1,8}\nexport type AirspaceId = string; // ANY{1,12}\nexport type DBEPointId = string; // (UALPHA|DIGIT|*){1,5}\nexport type RestrictionId = string; // (UALPHA|DIGIT|SPECIAL_CHARACTER){1,10}\nexport type TrafficVolumeId = string; // (UALPHA|DIGIT|SPECIAL_CHARACTER){1,8}\nexport type AerodromeIATAId = string; // UALPHA{3}\nexport type AerodromeIATAOrICAOId = string; // UALPHA{3,4}\nexport type TrafficVolumeSetId = string; // (UALPHA|DIGIT|SPECIAL_CHARACTER){1,8}\nexport type TrafficVolumeIdWildcard = string; // (UALPHA|DIGIT|SPECIAL_CHARACTER|*){1,8}\nexport type TrafficVolumeSetIdWildcard = string; // (UALPHA|DIGIT|SPECIAL_CHARACTER|*){1,8}\n\nexport type AiracIdentifier =\n | {\n airacId: AIRACId;\n }\n | { airacSequenceNumber: number };\n\nexport interface AirSpeed {\n speed: number;\n unit: SpeedUnit;\n}\n\nexport interface NetworkAddress {\n network: 'AFTN' | 'OTHER' | 'SITA'; // Network\n address: string; // NetworkAddress_DataType ANY{1,8},\n}\n\nexport type SpeedUnit =\n | 'FEET_PER_MINUTE'\n | 'KILOMETERS_PER_HOUR'\n | 'KNOTS'\n | 'MACH_NUMBER'\n | 'UNDEFINED';\n\nexport type AIRACId = string; // Pattern DIGIT{4}\nexport type AerodromeICAOId = string;\nexport interface AIXMFile {\n id: string;\n fileLength: number;\n releaseTime: DateTimeSecond;\n type: string;\n}\n\nimport type {\n AirNavigationUnitId,\n Bearing,\n DateTimeMinute,\n DateTimeMinutePeriod,\n DateTimeSecond,\n DateYearMonthDay,\n DateYearMonthDayPeriod,\n DistanceNM,\n LastUpdate,\n Position,\n ReplyWithData,\n} from '../Common/types';\n\nexport interface AUPChain {\n chainDate: DateYearMonthDay;\n amcId: AirNavigationUnitId;\n aups: AUPSummary[];\n}\n\nexport interface EAUPChain {\n chainDate: DateYearMonthDay;\n eaups: EAUPSummary[];\n}\n\nexport type AUPId = string;\nexport type AUPType = 'BASELINE' | 'UPDATE';\nexport type AUPState = 'DRAFT' | 'READY' | 'RELEASED';\nexport interface AUPSummary {\n id: AUPId;\n originatingAupId?: AUPId;\n chainDate: DateYearMonthDay;\n amcId?: AirNavigationUnitId;\n aupType: AUPType;\n validityPeriod: DateTimeMinutePeriod;\n releaseTime?: DateTimeMinute;\n aupState: AUPState;\n nilAUP: boolean;\n remark: string;\n note: Array<string>;\n expandedAUP: boolean;\n lastUpdate?: LastUpdate;\n isP3?: boolean;\n}\n\nexport interface EAUPSummary {\n releaseTime: DateTimeMinute;\n validityPeriod: DateTimeMinutePeriod;\n eaupId: EAUPIdentification;\n}\n\nexport interface EAUPIdentification {\n chainDate: DateYearMonthDay;\n sequenceNumber: number;\n}\n\ntype ADRMessageType = object; // eurocontrol.cfmu.cua.b2b.aixm.ADRMessage\nexport interface AUPManualEntries {\n cdrs?: ADRMessageType;\n rsas?: ADRMessageType;\n radRestrictionActivations?: ADRMessageType;\n}\n\nexport interface AUPComputedEntries {\n implicitCDRs?: ADRMessageType;\n mergedCDRs?: ADRMessageType;\n implicitRSAs?: ADRMessageType;\n}\n\nexport interface AUP {\n summary: AUPSummary;\n aupManualEntries?: AUPManualEntries;\n aupComputedEntries?: AUPComputedEntries;\n}\n\nexport type FlightLevelUnit =\n /**\n * Hundreds of feet\n */\n | 'A'\n /**\n * Standard flight level\n */\n | 'F'\n /**\n * Altitude in tens of meters\n */\n | 'M'\n /**\n * Altitude in meters\n */\n | 'MM'\n /**\n * Standard metric level in tens of meters\n */\n | 'S'\n /**\n * Standard metric level in meters\n */\n | 'SS';\n\nexport interface FlightLevel {\n unit: FlightLevelUnit;\n level?: number;\n ground?: boolean;\n ceiling?: boolean;\n}\n\n// DIGIT{2}(UALPHA| ){0,1}\nexport type RunwayId = string;\n\nexport type TerminalProcedure =\n | { id: RouteId }\n | { DCT: void }\n | { pointId: PublishedPointId };\n\nexport interface ReferenceLocationAerodrome {\n type: 'AERODROME';\n id: AerodromeICAOId;\n}\n\nexport interface ReferenceLocationAerodromeSet {\n type: 'AERODROME_SET';\n id: AerodromeSetId;\n}\n\nexport interface ReferenceLocationAirspace {\n type: 'AIRSPACE';\n id: AirspaceId;\n}\n\nexport interface ReferenceLocationDBEPoint {\n type: 'DBE_POINT';\n id: DBEPointId;\n}\n\nexport interface ReferenceLocationPublishedPoint {\n type: 'PUBLISHED_POINT';\n id: PublishedPointId;\n}\n\nexport type ReferenceLocation =\n | ReferenceLocationAirspace\n | ReferenceLocationAerodrome\n | ReferenceLocationAerodromeSet\n | ReferenceLocationPublishedPoint\n | ReferenceLocationDBEPoint;\n\ntype ReferenceLocationMapper = {\n ReferenceLocationAirspace: ReferenceLocationAirspace;\n ReferenceLocationAerodrome: ReferenceLocationAerodrome;\n ReferenceLocationAerodromeSet: ReferenceLocationAerodromeSet;\n ReferenceLocationPublishedPoint: ReferenceLocationPublishedPoint;\n ReferenceLocationDBEPoint: ReferenceLocationDBEPoint;\n};\n\nexport type ReferenceLocationUnionWithPrefix<TPrefix extends string> = {\n [TKey in keyof ReferenceLocationMapper]: {\n [TSubKey in `${TPrefix}-${TKey}`]: ReferenceLocationMapper[TKey];\n };\n}[keyof ReferenceLocationMapper];\n\nexport type ReferenceLocationUnionWithPrefixOptional<TPrefix extends string> = {\n [TKey in keyof ReferenceLocationMapper]: {\n [TSubKey in `${TPrefix}-${TKey}`]?:\n | undefined\n | ReferenceLocationMapper[TKey];\n };\n}[keyof ReferenceLocationMapper];\n\nexport type WithReferenceLocationOnPrefix<TPrefix extends string> =\n ReferenceLocationUnionWithPrefix<TPrefix>;\n\nexport type WithReferenceLocationOnPrefixOptional<TPrefix extends string> =\n ReferenceLocationUnionWithPrefixOptional<TPrefix>;\n\nexport type FIRICAOId = string; // UALPHA{4}\n\nexport type FlightPlanProcessing =\n | 'AERODROME_FLIGHT_RULE'\n | 'DCT_LIMIT'\n | 'FRA_DCT_LIMIT'\n | 'PROFILE_TUNING'\n | 'RAD'\n | 'SSR_CODE_ALLOCATION'\n | 'TP_AIRCRAFT_TYPE_CLASSIFICATION';\n\nexport type LoadState =\n | 'HIGH_THRESHOLD'\n | 'LOW_THRESHOLD'\n | 'NORMAL'\n | 'OVERLOAD'\n | 'UNDEFINED';\n\nexport type RouteOrTerminalProcedure =\n | { DCT: null }\n | { route: RouteId }\n | { SID: TerminalProcedureIdentifier }\n | { STAR: TerminalProcedureIdentifier };\n\nexport interface TerminalProcedureIdentifier {\n id: RouteId;\n aerodromeId: AerodromeIATAOrICAOId;\n}\n\nexport type AerodromeOrPublishedPointId =\n | { aerodrome: AerodromeICAOId }\n | { point: PublishedPointId };\n\nexport type ICAOPoint =\n | { pointId: PublishedPointId }\n | { 'nonPublishedPoint-DBEPoint': DBEPoint }\n | { 'nonPublishedPoint-GeoPoint': GeoPoint }\n | { 'nonPublishedPoint-ReferencePoint': ReferencePoint };\n\nexport type NonPublishedPoint = GeoPoint | DBEPoint | ReferencePoint;\nexport interface GeoPoint {\n position: Position;\n}\nexport interface DBEPoint {\n dbePointId: DBEPointId;\n}\nexport interface ReferencePoint {\n reference: PublishedPointId;\n bearing: Bearing;\n distance: DistanceNM;\n}\n\nexport type AirspaceType =\n | 'AOI'\n | 'AOP'\n | 'AREA'\n | 'AUA'\n | 'AUAG'\n | 'CDA'\n | 'CLUS'\n | 'CRAS'\n | 'CRSA'\n | 'CS'\n | 'ERAS'\n | 'ERSA'\n | 'ES'\n | 'FIR'\n | 'IFPZ'\n | 'NAS'\n | 'REG';\n\nexport interface CompleteDatasetSummary {\n updateId: string;\n publicationDate: DateYearMonthDay;\n sourceAIRACs: [AiracIdentifier] | [AiracIdentifier, AiracIdentifier];\n files: AIXMFile[];\n}\n\nexport type CompleteDatasetQueryCriteria =\n | { publicationPeriod: DateYearMonthDayPeriod }\n | { airac: AiracIdentifier }\n | { date: DateYearMonthDay };\n\nexport interface FlightLevelRange {\n min: FlightLevel;\n max: FlightLevel;\n}\n\nexport interface CompleteAIXMDatasetRequest {\n queryCriteria: CompleteDatasetQueryCriteria;\n}\n\nexport type CompleteAIXMDatasetReply = ReplyWithData<{\n datasetSummaries: CompleteDatasetSummary[];\n}>;\n\nexport interface AUPRetrievalRequest {\n aupId: AUPId;\n returnComputed?: boolean;\n}\n\nexport type AUPRetrievalReply = ReplyWithData<{\n aup: AUP;\n}>;\n\nexport interface AUPChainRetrievalRequest {\n chainDate: DateYearMonthDay;\n amcIds?: AirNavigationUnitId[];\n}\n\nexport type AUPChainRetrievalReply = ReplyWithData<{\n chains: AUPChain[];\n}>;\n\nexport interface EAUPChainRetrievalRequest {\n chainDate: DateYearMonthDay;\n}\n\nexport type EAUPChainRetrievalReply = ReplyWithData<{\n chain: EAUPChain;\n}>;\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}