udl-sdk 0.1.0a17__py3-none-any.whl → 0.1.0a18__py3-none-any.whl

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 (147) hide show
  1. {udl_sdk-0.1.0a17.dist-info → udl_sdk-0.1.0a18.dist-info}/METADATA +1 -1
  2. {udl_sdk-0.1.0a17.dist-info → udl_sdk-0.1.0a18.dist-info}/RECORD +136 -129
  3. unifieddatalibrary/_client.py +27 -61
  4. unifieddatalibrary/_version.py +1 -1
  5. unifieddatalibrary/resources/__init__.py +28 -84
  6. unifieddatalibrary/resources/air_operations/__init__.py +0 -14
  7. unifieddatalibrary/resources/air_operations/air_operations.py +0 -32
  8. unifieddatalibrary/resources/air_operations/aircraft_sorties.py +1507 -37
  9. unifieddatalibrary/resources/air_operations/crewpapers.py +4 -4
  10. unifieddatalibrary/resources/airload_plans.py +1311 -59
  11. unifieddatalibrary/resources/attitude_sets/attitude_sets.py +106 -0
  12. unifieddatalibrary/resources/conjunctions/conjunctions.py +4 -4
  13. unifieddatalibrary/resources/gnss_raw_if/gnss_raw_if.py +801 -0
  14. unifieddatalibrary/resources/iono_observations/__init__.py +33 -0
  15. unifieddatalibrary/resources/{iono_observation → iono_observations}/history.py +2 -2
  16. unifieddatalibrary/resources/{ion_oobservation.py → iono_observations/iono_observations.py} +123 -91
  17. unifieddatalibrary/resources/logistics_support/logistics_support.py +5 -4
  18. unifieddatalibrary/resources/onorbitantenna.py +5 -4
  19. unifieddatalibrary/resources/onorbitbattery.py +5 -4
  20. unifieddatalibrary/resources/onorbitsolararray.py +5 -4
  21. unifieddatalibrary/resources/onorbitthruster.py +5 -4
  22. unifieddatalibrary/resources/{report_and_activity → report_and_activities}/__init__.py +13 -13
  23. unifieddatalibrary/resources/{report_and_activity → report_and_activities}/poi/history.py +2 -2
  24. unifieddatalibrary/resources/{report_and_activity/report_and_activity.py → report_and_activities/report_and_activities.py} +35 -35
  25. unifieddatalibrary/resources/{report_and_activity → report_and_activities}/udl_h3geo.py +1 -1
  26. unifieddatalibrary/resources/{report_and_activity → report_and_activities}/udl_sigact.py +1 -1
  27. unifieddatalibrary/resources/scs/paths.py +4 -4
  28. unifieddatalibrary/resources/scs/scs.py +4 -4
  29. unifieddatalibrary/resources/scs/v2.py +4 -4
  30. unifieddatalibrary/resources/status.py +5 -4
  31. unifieddatalibrary/resources/supporting_data/__init__.py +0 -42
  32. unifieddatalibrary/resources/supporting_data/dataowner.py +257 -1
  33. unifieddatalibrary/resources/supporting_data/supporting_data.py +0 -96
  34. unifieddatalibrary/resources/track_route/track_route.py +26 -23
  35. unifieddatalibrary/types/__init__.py +40 -30
  36. unifieddatalibrary/types/air_operations/__init__.py +12 -12
  37. unifieddatalibrary/types/air_operations/{aircraft_sortie_list_params.py → aircraft_sorty_count_params.py} +2 -2
  38. unifieddatalibrary/types/air_operations/aircraft_sorty_count_response.py +7 -0
  39. unifieddatalibrary/types/air_operations/{aircraft_sortie_create_bulk_params.py → aircraft_sorty_create_bulk_params.py} +2 -2
  40. unifieddatalibrary/types/air_operations/{aircraft_sortie_create_params.py → aircraft_sorty_create_params.py} +2 -2
  41. unifieddatalibrary/types/air_operations/{aircraft_sortie_history_aodr_params.py → aircraft_sorty_history_aodr_params.py} +2 -2
  42. unifieddatalibrary/types/air_operations/{aircraft_sortie_history_count_params.py → aircraft_sorty_history_count_params.py} +2 -2
  43. unifieddatalibrary/types/{ion_oobservation_count_response.py → air_operations/aircraft_sorty_history_count_response.py} +2 -2
  44. unifieddatalibrary/types/air_operations/{aircraft_sortie_history_query_params.py → aircraft_sorty_history_query_params.py} +2 -2
  45. unifieddatalibrary/types/air_operations/{aircraft_sortie_history_query_response.py → aircraft_sorty_history_query_response.py} +2 -2
  46. unifieddatalibrary/types/air_operations/{aircraft_sortie_count_params.py → aircraft_sorty_list_params.py} +2 -2
  47. unifieddatalibrary/types/{air_load_plan_count_params.py → airload_plan_count_params.py} +2 -2
  48. unifieddatalibrary/types/{air_load_plan_count_response.py → airload_plan_count_response.py} +2 -2
  49. unifieddatalibrary/types/{air_load_plan_create_params.py → airload_plan_create_params.py} +2 -2
  50. unifieddatalibrary/types/{air_load_plan_list_params.py → airload_plan_list_params.py} +2 -2
  51. unifieddatalibrary/types/{air_load_plan_queryhelp_response.py → airload_plan_queryhelp_response.py} +2 -2
  52. unifieddatalibrary/types/{air_load_plan_retrieve_params.py → airload_plan_retrieve_params.py} +2 -2
  53. unifieddatalibrary/types/{air_load_plan_tuple_params.py → airload_plan_tuple_params.py} +2 -2
  54. unifieddatalibrary/types/{air_load_plan_tuple_response.py → airload_plan_tuple_response.py} +2 -2
  55. unifieddatalibrary/types/altitude_blocks_ingest_param.py +22 -0
  56. unifieddatalibrary/types/{attitudeset_retrieve_params.py → attitude_set_retrieve_params.py} +2 -2
  57. unifieddatalibrary/types/{gnss_rawif_count_params.py → gnss_raw_if_count_params.py} +2 -2
  58. unifieddatalibrary/types/{gnss_rawif_count_response.py → gnss_raw_if_count_response.py} +2 -2
  59. unifieddatalibrary/types/{gnss_rawif_file_get_params.py → gnss_raw_if_file_get_params.py} +2 -2
  60. unifieddatalibrary/types/{gnss_rawif_get_params.py → gnss_raw_if_get_params.py} +2 -2
  61. unifieddatalibrary/types/{gnss_rawif_get_response.py → gnss_raw_if_get_response.py} +2 -2
  62. unifieddatalibrary/types/{gnss_rawif_list_params.py → gnss_raw_if_list_params.py} +2 -2
  63. unifieddatalibrary/types/{gnss_rawif_list_response.py → gnss_raw_if_list_response.py} +2 -2
  64. unifieddatalibrary/types/{gnss_rawif_queryhelp_response.py → gnss_raw_if_queryhelp_response.py} +2 -2
  65. unifieddatalibrary/types/{gnss_rawif_tuple_params.py → gnss_raw_if_tuple_params.py} +2 -2
  66. unifieddatalibrary/types/{gnss_rawif_tuple_response.py → gnss_raw_if_tuple_response.py} +3 -3
  67. unifieddatalibrary/types/{gnss_rawif_upload_zip_params.py → gnss_raw_if_upload_zip_params.py} +2 -2
  68. unifieddatalibrary/types/{ion_oobservation_count_params.py → iono_observation_count_params.py} +2 -2
  69. unifieddatalibrary/types/{air_operations/aircraft_sortie_count_response.py → iono_observation_count_response.py} +2 -2
  70. unifieddatalibrary/types/{ion_oobservation_create_bulk_params.py → iono_observation_create_bulk_params.py} +2 -2
  71. unifieddatalibrary/types/{ion_oobservation_list_params.py → iono_observation_list_params.py} +2 -2
  72. unifieddatalibrary/types/{ion_oobservation_list_response.py → iono_observation_list_response.py} +2 -2
  73. unifieddatalibrary/types/{ion_oobservation_queryhelp_response.py → iono_observation_queryhelp_response.py} +2 -2
  74. unifieddatalibrary/types/{ion_oobservation_tuple_params.py → iono_observation_tuple_params.py} +2 -2
  75. unifieddatalibrary/types/{ion_oobservation_tuple_response.py → iono_observation_tuple_response.py} +82 -82
  76. unifieddatalibrary/types/{ion_oobservation_unvalidated_publish_params.py → iono_observation_unvalidated_publish_params.py} +2 -2
  77. unifieddatalibrary/types/logistics_remarks_ingest_param.py +25 -0
  78. unifieddatalibrary/types/logistics_support_create_bulk_params.py +4 -51
  79. unifieddatalibrary/types/logistics_support_create_params.py +4 -49
  80. unifieddatalibrary/types/logistics_support_unvalidated_publish_params.py +4 -51
  81. unifieddatalibrary/types/logistics_support_update_params.py +4 -49
  82. unifieddatalibrary/types/onorbitantenna_create_params.py +3 -38
  83. unifieddatalibrary/types/onorbitantenna_update_params.py +3 -38
  84. unifieddatalibrary/types/onorbitbattery_create_params.py +3 -38
  85. unifieddatalibrary/types/onorbitbattery_update_params.py +3 -38
  86. unifieddatalibrary/types/onorbitsolararray_create_params.py +3 -38
  87. unifieddatalibrary/types/onorbitsolararray_update_params.py +3 -38
  88. unifieddatalibrary/types/onorbitthruster_create_params.py +3 -41
  89. unifieddatalibrary/types/onorbitthruster_update_params.py +3 -41
  90. unifieddatalibrary/types/point_of_contact_ingest_param.py +41 -0
  91. unifieddatalibrary/types/route_points_ingest_param.py +82 -0
  92. unifieddatalibrary/types/shared/__init__.py +5 -0
  93. unifieddatalibrary/types/shared/antenna_ingest.py +62 -0
  94. unifieddatalibrary/types/shared/battery_ingest.py +62 -0
  95. unifieddatalibrary/types/shared/engine_ingest.py +65 -0
  96. unifieddatalibrary/types/shared/solar_array_ingest.py +62 -0
  97. unifieddatalibrary/types/shared/sub_status_ingest.py +74 -0
  98. unifieddatalibrary/types/shared_params/__init__.py +5 -0
  99. unifieddatalibrary/types/shared_params/antenna_ingest.py +45 -0
  100. unifieddatalibrary/types/shared_params/battery_ingest.py +45 -0
  101. unifieddatalibrary/types/shared_params/engine_ingest.py +48 -0
  102. unifieddatalibrary/types/shared_params/solar_array_ingest.py +45 -0
  103. unifieddatalibrary/types/shared_params/sub_status_ingest.py +57 -0
  104. unifieddatalibrary/types/status_create_params.py +3 -50
  105. unifieddatalibrary/types/status_update_params.py +3 -50
  106. unifieddatalibrary/types/supporting_data/__init__.py +13 -5
  107. unifieddatalibrary/types/supporting_data/{query_help_retrieve_response.py → dataowner_query_help_response.py} +2 -2
  108. unifieddatalibrary/types/supporting_data/{dataowner_type_list_params.py → dataowner_retrieve_data_owner_types_params.py} +2 -2
  109. unifieddatalibrary/types/supporting_data/dataowner_retrieve_data_owner_types_response.py +8 -0
  110. unifieddatalibrary/types/supporting_data/{provider_metadata_retrieve_params.py → dataowner_retrieve_provider_metadata_params.py} +2 -2
  111. unifieddatalibrary/types/supporting_data/{provider_metadata_retrieve_response.py → dataowner_retrieve_provider_metadata_response.py} +2 -2
  112. unifieddatalibrary/types/track_route_create_bulk_params.py +5 -267
  113. unifieddatalibrary/types/track_route_create_params.py +7 -122
  114. unifieddatalibrary/types/track_route_ingest_param.py +157 -0
  115. unifieddatalibrary/types/track_route_unvalidated_publish_params.py +7 -122
  116. unifieddatalibrary/types/track_route_update_params.py +7 -122
  117. unifieddatalibrary/resources/air_load_plans.py +0 -1341
  118. unifieddatalibrary/resources/air_operations/aircraft_sortie.py +0 -1557
  119. unifieddatalibrary/resources/attitudesets.py +0 -191
  120. unifieddatalibrary/resources/gnss_rawif.py +0 -871
  121. unifieddatalibrary/resources/iono_observation/__init__.py +0 -33
  122. unifieddatalibrary/resources/iono_observation/iono_observation.py +0 -102
  123. unifieddatalibrary/resources/supporting_data/dataowner_types.py +0 -186
  124. unifieddatalibrary/resources/supporting_data/provider_metadata.py +0 -179
  125. unifieddatalibrary/resources/supporting_data/query_help.py +0 -141
  126. unifieddatalibrary/types/air_operations/aircraft_sortie_history_count_response.py +0 -7
  127. unifieddatalibrary/types/supporting_data/dataowner_type_list_response.py +0 -7
  128. {udl_sdk-0.1.0a17.dist-info → udl_sdk-0.1.0a18.dist-info}/WHEEL +0 -0
  129. {udl_sdk-0.1.0a17.dist-info → udl_sdk-0.1.0a18.dist-info}/licenses/LICENSE +0 -0
  130. /unifieddatalibrary/resources/{report_and_activity → report_and_activities}/poi/__init__.py +0 -0
  131. /unifieddatalibrary/resources/{report_and_activity → report_and_activities}/poi/poi.py +0 -0
  132. /unifieddatalibrary/types/{iono_observation → iono_observations}/__init__.py +0 -0
  133. /unifieddatalibrary/types/{iono_observation → iono_observations}/history_aodr_params.py +0 -0
  134. /unifieddatalibrary/types/{iono_observation → iono_observations}/history_count_params.py +0 -0
  135. /unifieddatalibrary/types/{iono_observation → iono_observations}/history_count_response.py +0 -0
  136. /unifieddatalibrary/types/{iono_observation → iono_observations}/history_list_params.py +0 -0
  137. /unifieddatalibrary/types/{iono_observation → iono_observations}/history_list_response.py +0 -0
  138. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/__init__.py +0 -0
  139. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/__init__.py +0 -0
  140. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_aodr_params.py +0 -0
  141. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_count_params.py +0 -0
  142. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_count_response.py +0 -0
  143. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_list_params.py +0 -0
  144. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_list_response.py +0 -0
  145. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/udl_h3geo_unvalidated_publish_params.py +0 -0
  146. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/udl_sigact_file_get_params.py +0 -0
  147. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/udl_sigact_unvalidated_publish_params.py +0 -0
@@ -2,275 +2,13 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import Union, Iterable
6
- from datetime import datetime
7
- from typing_extensions import Literal, Required, Annotated, TypedDict
5
+ from typing import Iterable
6
+ from typing_extensions import Required, TypedDict
8
7
 
9
- from .._utils import PropertyInfo
8
+ from .track_route_ingest_param import TrackRouteIngestParam
10
9
 
11
- __all__ = ["TrackRouteCreateBulkParams", "Body", "BodyAltitudeBlock", "BodyPoc", "BodyRoutePoint"]
10
+ __all__ = ["TrackRouteCreateBulkParams"]
12
11
 
13
12
 
14
13
  class TrackRouteCreateBulkParams(TypedDict, total=False):
15
- body: Required[Iterable[Body]]
16
-
17
-
18
- class BodyAltitudeBlock(TypedDict, total=False):
19
- altitude_sequence_id: Annotated[str, PropertyInfo(alias="altitudeSequenceId")]
20
- """Sequencing field for the altitude block."""
21
-
22
- lower_altitude: Annotated[float, PropertyInfo(alias="lowerAltitude")]
23
- """Lowest altitude of the track route altitude block above mean sea level in feet."""
24
-
25
- upper_altitude: Annotated[float, PropertyInfo(alias="upperAltitude")]
26
- """
27
- Highest altitude of the track route altitude block above mean sea level in feet.
28
- """
29
-
30
-
31
- class BodyPoc(TypedDict, total=False):
32
- office: str
33
- """Office name for which the contact belongs."""
34
-
35
- phone: str
36
- """Phone number of the contact."""
37
-
38
- poc_name: Annotated[str, PropertyInfo(alias="pocName")]
39
- """The name of the contact."""
40
-
41
- poc_org: Annotated[str, PropertyInfo(alias="pocOrg")]
42
- """Organization name for which the contact belongs."""
43
-
44
- poc_sequence_id: Annotated[int, PropertyInfo(alias="pocSequenceId")]
45
- """Sequencing field for point of contact."""
46
-
47
- poc_type_name: Annotated[str, PropertyInfo(alias="pocTypeName")]
48
- """
49
- A code or name that represents the contact's role in association to the track
50
- route (ex. Originator, Scheduler, Maintainer, etc.).
51
- """
52
-
53
- rank: str
54
- """The rank of contact."""
55
-
56
- remark: str
57
- """Text of the remark."""
58
-
59
- username: str
60
- """The username of the contact."""
61
-
62
-
63
- class BodyRoutePoint(TypedDict, total=False):
64
- alt_country_code: Annotated[str, PropertyInfo(alias="altCountryCode")]
65
- """
66
- Specifies an alternate country code if the data provider code is not part of an
67
- official NAVAID Country Code standard such as ISO-3166 or FIPS. This field will
68
- be set to the value provided by the source and should be used for all Queries
69
- specifying a Country Code.
70
- """
71
-
72
- country_code: Annotated[str, PropertyInfo(alias="countryCode")]
73
- """
74
- The DoD Standard Country Code designator for the country where the route point
75
- resides. This field should be set to "OTHR" if the source value does not match a
76
- UDL country code value (ISO-3166-ALPHA-2).
77
- """
78
-
79
- dafif_pt: Annotated[bool, PropertyInfo(alias="dafifPt")]
80
- """
81
- Flag indicating this is a Digital Aeronautical Flight Information File (DAFIF)
82
- point.
83
- """
84
-
85
- mag_dec: Annotated[float, PropertyInfo(alias="magDec")]
86
- """
87
- The magnetic declination/variation of the route point location from true north,
88
- in degrees. Positive values east of true north and negative values west of true
89
- north.
90
- """
91
-
92
- navaid: str
93
- """Navigational Aid (NAVAID) identification code."""
94
-
95
- navaid_length: Annotated[float, PropertyInfo(alias="navaidLength")]
96
- """The length of the course from the Navigational Aid (NAVAID) in nautical miles."""
97
-
98
- navaid_type: Annotated[str, PropertyInfo(alias="navaidType")]
99
- """The NAVAID type of this route point (ex. VOR, VORTAC, TACAN, etc.)."""
100
-
101
- pt_lat: Annotated[float, PropertyInfo(alias="ptLat")]
102
- """WGS84 latitude of the point location, in degrees.
103
-
104
- -90 to 90 degrees (negative values south of equator).
105
- """
106
-
107
- pt_lon: Annotated[float, PropertyInfo(alias="ptLon")]
108
- """WGS84 longitude of the point location, in degrees.
109
-
110
- -180 to 180 degrees (negative values west of Prime Meridian).
111
- """
112
-
113
- pt_sequence_id: Annotated[int, PropertyInfo(alias="ptSequenceId")]
114
- """Sequencing field for the track route.
115
-
116
- This is the identifier representing the sequence of waypoints associated to the
117
- track route.
118
- """
119
-
120
- pt_type_code: Annotated[str, PropertyInfo(alias="ptTypeCode")]
121
- """Code representation of the point within the track route (ex.
122
-
123
- EP, EX, CP, IP, etc.).
124
- """
125
-
126
- pt_type_name: Annotated[str, PropertyInfo(alias="ptTypeName")]
127
- """The name that represents the point within the track route (ex.
128
-
129
- ENTRY POINT, EXIT POINT, CONTROL POINT, INITIAL POINT, etc.).
130
- """
131
-
132
- waypoint_name: Annotated[str, PropertyInfo(alias="waypointName")]
133
- """Name of a waypoint which identifies the location of the point."""
134
-
135
-
136
- class Body(TypedDict, total=False):
137
- classification_marking: Required[Annotated[str, PropertyInfo(alias="classificationMarking")]]
138
- """Classification marking of the data in IC/CAPCO Portion-marked format."""
139
-
140
- data_mode: Required[Annotated[Literal["REAL", "TEST", "SIMULATED", "EXERCISE"], PropertyInfo(alias="dataMode")]]
141
- """Indicator of whether the data is EXERCISE, REAL, SIMULATED, or TEST data:
142
-
143
- EXERCISE: Data pertaining to a government or military exercise. The data
144
- may include both real and simulated data.
145
-
146
- REAL: Data collected or produced that pertains to real-world objects,
147
- events, and analysis.
148
-
149
- SIMULATED: Synthetic data generated by a model to mimic real-world
150
- datasets.
151
-
152
- TEST: Specific datasets used to evaluate compliance with specifications and
153
- requirements, and for validating technical, functional, and performance
154
- characteristics.
155
- """
156
-
157
- last_update_date: Required[Annotated[Union[str, datetime], PropertyInfo(alias="lastUpdateDate", format="iso8601")]]
158
- """
159
- The last updated date of the track route in ISO 8601 UTC format with millisecond
160
- precision.
161
- """
162
-
163
- source: Required[str]
164
- """Source of the data."""
165
-
166
- type: Required[str]
167
- """The track route type represented by this record (ex. AIR REFUELING)."""
168
-
169
- id: str
170
- """Unique identifier of the record, auto-generated by the system."""
171
-
172
- altitude_blocks: Annotated[Iterable[BodyAltitudeBlock], PropertyInfo(alias="altitudeBlocks")]
173
- """Minimum and maximum altitude bounds for the track."""
174
-
175
- apn_setting: Annotated[str, PropertyInfo(alias="apnSetting")]
176
- """The APN radar code sent and received by the aircraft for identification."""
177
-
178
- apx_beacon_code: Annotated[str, PropertyInfo(alias="apxBeaconCode")]
179
- """The APX radar code sent and received by the aircraft for identification."""
180
-
181
- artcc_message: Annotated[str, PropertyInfo(alias="artccMessage")]
182
- """Air Refueling Track Control Center message."""
183
-
184
- creating_org: Annotated[str, PropertyInfo(alias="creatingOrg")]
185
- """The name of the creating organization of the track route."""
186
-
187
- direction: str
188
- """The principal compass direction (cardinal or ordinal) of the track route."""
189
-
190
- effective_date: Annotated[Union[str, datetime], PropertyInfo(alias="effectiveDate", format="iso8601")]
191
- """
192
- The date which the DAFIF track was last updated/validated in ISO 8601 UTC format
193
- with millisecond precision.
194
- """
195
-
196
- external_id: Annotated[str, PropertyInfo(alias="externalId")]
197
- """Optional air refueling track ID from external systems.
198
-
199
- This field has no meaning within UDL and is provided as a convenience for
200
- systems that require tracking of an internal system generated ID.
201
- """
202
-
203
- last_used_date: Annotated[Union[str, datetime], PropertyInfo(alias="lastUsedDate", format="iso8601")]
204
- """
205
- Used to show last time the track route was added to an itinerary in ISO 8601 UTC
206
- format with millisecond precision.
207
- """
208
-
209
- location_track_id: Annotated[str, PropertyInfo(alias="locationTrackId")]
210
- """Track location ID."""
211
-
212
- origin: str
213
- """
214
- Originating system or organization which produced the data, if different from
215
- the source. The origin may be different than the source if the source was a
216
- mediating system which forwarded the data on behalf of the origin system. If
217
- null, the source may be assumed to be the origin.
218
- """
219
-
220
- poc: Iterable[BodyPoc]
221
- """Point of contacts for scheduling or modifying the route."""
222
-
223
- pri_freq: Annotated[float, PropertyInfo(alias="priFreq")]
224
- """The primary UHF radio frequency used for the track route in megahertz."""
225
-
226
- receiver_tanker_ch_code: Annotated[str, PropertyInfo(alias="receiverTankerCHCode")]
227
- """The receiver tanker channel identifer for air refueling tracks."""
228
-
229
- region_code: Annotated[str, PropertyInfo(alias="regionCode")]
230
- """
231
- Region code indicating where the track resides as determined by the data source.
232
- """
233
-
234
- region_name: Annotated[str, PropertyInfo(alias="regionName")]
235
- """Region where the track resides."""
236
-
237
- review_date: Annotated[Union[str, datetime], PropertyInfo(alias="reviewDate", format="iso8601")]
238
- """
239
- Date the track needs to be reviewed for accuracy or deletion in ISO 8601 UTC
240
- format with millisecond precision.
241
- """
242
-
243
- route_points: Annotated[Iterable[BodyRoutePoint], PropertyInfo(alias="routePoints")]
244
- """Points identified within the route."""
245
-
246
- scheduler_org_name: Annotated[str, PropertyInfo(alias="schedulerOrgName")]
247
- """Point of contact for the air refueling track route scheduler."""
248
-
249
- scheduler_org_unit: Annotated[str, PropertyInfo(alias="schedulerOrgUnit")]
250
- """The unit responsible for scheduling the track route."""
251
-
252
- sec_freq: Annotated[float, PropertyInfo(alias="secFreq")]
253
- """The secondary UHF radio frequency used for the track route in megahertz."""
254
-
255
- short_name: Annotated[str, PropertyInfo(alias="shortName")]
256
- """Abbreviated name of the track."""
257
-
258
- sic: str
259
- """Standard Indicator Code of the air refueling track."""
260
-
261
- track_id: Annotated[str, PropertyInfo(alias="trackId")]
262
- """Identifier of the track."""
263
-
264
- track_name: Annotated[str, PropertyInfo(alias="trackName")]
265
- """Name of the track."""
266
-
267
- type_code: Annotated[str, PropertyInfo(alias="typeCode")]
268
- """Type of process used by AMC to schedule an air refueling event.
269
-
270
- Possible values are A (Matched Long Range), F (Matched AMC Short Notice), N
271
- (Unmatched Theater Operation Short Notice (Theater Assets)), R, Unmatched Long
272
- Range, S (Soft Air Refueling), T (Matched Theater Operation Short Notice
273
- (Theater Assets)), V (Unmatched AMC Short Notice), X (Unmatched Theater
274
- Operation Short Notice (AMC Assets)), Y (Matched Theater Operation Short Notice
275
- (AMC Assets)), Z (Other Air Refueling).
276
- """
14
+ body: Required[Iterable[TrackRouteIngestParam]]
@@ -7,8 +7,11 @@ from datetime import datetime
7
7
  from typing_extensions import Literal, Required, Annotated, TypedDict
8
8
 
9
9
  from .._utils import PropertyInfo
10
+ from .route_points_ingest_param import RoutePointsIngestParam
11
+ from .altitude_blocks_ingest_param import AltitudeBlocksIngestParam
12
+ from .point_of_contact_ingest_param import PointOfContactIngestParam
10
13
 
11
- __all__ = ["TrackRouteCreateParams", "AltitudeBlock", "Poc", "RoutePoint"]
14
+ __all__ = ["TrackRouteCreateParams"]
12
15
 
13
16
 
14
17
  class TrackRouteCreateParams(TypedDict, total=False):
@@ -47,7 +50,7 @@ class TrackRouteCreateParams(TypedDict, total=False):
47
50
  id: str
48
51
  """Unique identifier of the record, auto-generated by the system."""
49
52
 
50
- altitude_blocks: Annotated[Iterable[AltitudeBlock], PropertyInfo(alias="altitudeBlocks")]
53
+ altitude_blocks: Annotated[Iterable[AltitudeBlocksIngestParam], PropertyInfo(alias="altitudeBlocks")]
51
54
  """Minimum and maximum altitude bounds for the track."""
52
55
 
53
56
  apn_setting: Annotated[str, PropertyInfo(alias="apnSetting")]
@@ -95,7 +98,7 @@ class TrackRouteCreateParams(TypedDict, total=False):
95
98
  null, the source may be assumed to be the origin.
96
99
  """
97
100
 
98
- poc: Iterable[Poc]
101
+ poc: Iterable[PointOfContactIngestParam]
99
102
  """Point of contacts for scheduling or modifying the route."""
100
103
 
101
104
  pri_freq: Annotated[float, PropertyInfo(alias="priFreq")]
@@ -118,7 +121,7 @@ class TrackRouteCreateParams(TypedDict, total=False):
118
121
  format with millisecond precision.
119
122
  """
120
123
 
121
- route_points: Annotated[Iterable[RoutePoint], PropertyInfo(alias="routePoints")]
124
+ route_points: Annotated[Iterable[RoutePointsIngestParam], PropertyInfo(alias="routePoints")]
122
125
  """Points identified within the route."""
123
126
 
124
127
  scheduler_org_name: Annotated[str, PropertyInfo(alias="schedulerOrgName")]
@@ -152,121 +155,3 @@ class TrackRouteCreateParams(TypedDict, total=False):
152
155
  Operation Short Notice (AMC Assets)), Y (Matched Theater Operation Short Notice
153
156
  (AMC Assets)), Z (Other Air Refueling).
154
157
  """
155
-
156
-
157
- class AltitudeBlock(TypedDict, total=False):
158
- altitude_sequence_id: Annotated[str, PropertyInfo(alias="altitudeSequenceId")]
159
- """Sequencing field for the altitude block."""
160
-
161
- lower_altitude: Annotated[float, PropertyInfo(alias="lowerAltitude")]
162
- """Lowest altitude of the track route altitude block above mean sea level in feet."""
163
-
164
- upper_altitude: Annotated[float, PropertyInfo(alias="upperAltitude")]
165
- """
166
- Highest altitude of the track route altitude block above mean sea level in feet.
167
- """
168
-
169
-
170
- class Poc(TypedDict, total=False):
171
- office: str
172
- """Office name for which the contact belongs."""
173
-
174
- phone: str
175
- """Phone number of the contact."""
176
-
177
- poc_name: Annotated[str, PropertyInfo(alias="pocName")]
178
- """The name of the contact."""
179
-
180
- poc_org: Annotated[str, PropertyInfo(alias="pocOrg")]
181
- """Organization name for which the contact belongs."""
182
-
183
- poc_sequence_id: Annotated[int, PropertyInfo(alias="pocSequenceId")]
184
- """Sequencing field for point of contact."""
185
-
186
- poc_type_name: Annotated[str, PropertyInfo(alias="pocTypeName")]
187
- """
188
- A code or name that represents the contact's role in association to the track
189
- route (ex. Originator, Scheduler, Maintainer, etc.).
190
- """
191
-
192
- rank: str
193
- """The rank of contact."""
194
-
195
- remark: str
196
- """Text of the remark."""
197
-
198
- username: str
199
- """The username of the contact."""
200
-
201
-
202
- class RoutePoint(TypedDict, total=False):
203
- alt_country_code: Annotated[str, PropertyInfo(alias="altCountryCode")]
204
- """
205
- Specifies an alternate country code if the data provider code is not part of an
206
- official NAVAID Country Code standard such as ISO-3166 or FIPS. This field will
207
- be set to the value provided by the source and should be used for all Queries
208
- specifying a Country Code.
209
- """
210
-
211
- country_code: Annotated[str, PropertyInfo(alias="countryCode")]
212
- """
213
- The DoD Standard Country Code designator for the country where the route point
214
- resides. This field should be set to "OTHR" if the source value does not match a
215
- UDL country code value (ISO-3166-ALPHA-2).
216
- """
217
-
218
- dafif_pt: Annotated[bool, PropertyInfo(alias="dafifPt")]
219
- """
220
- Flag indicating this is a Digital Aeronautical Flight Information File (DAFIF)
221
- point.
222
- """
223
-
224
- mag_dec: Annotated[float, PropertyInfo(alias="magDec")]
225
- """
226
- The magnetic declination/variation of the route point location from true north,
227
- in degrees. Positive values east of true north and negative values west of true
228
- north.
229
- """
230
-
231
- navaid: str
232
- """Navigational Aid (NAVAID) identification code."""
233
-
234
- navaid_length: Annotated[float, PropertyInfo(alias="navaidLength")]
235
- """The length of the course from the Navigational Aid (NAVAID) in nautical miles."""
236
-
237
- navaid_type: Annotated[str, PropertyInfo(alias="navaidType")]
238
- """The NAVAID type of this route point (ex. VOR, VORTAC, TACAN, etc.)."""
239
-
240
- pt_lat: Annotated[float, PropertyInfo(alias="ptLat")]
241
- """WGS84 latitude of the point location, in degrees.
242
-
243
- -90 to 90 degrees (negative values south of equator).
244
- """
245
-
246
- pt_lon: Annotated[float, PropertyInfo(alias="ptLon")]
247
- """WGS84 longitude of the point location, in degrees.
248
-
249
- -180 to 180 degrees (negative values west of Prime Meridian).
250
- """
251
-
252
- pt_sequence_id: Annotated[int, PropertyInfo(alias="ptSequenceId")]
253
- """Sequencing field for the track route.
254
-
255
- This is the identifier representing the sequence of waypoints associated to the
256
- track route.
257
- """
258
-
259
- pt_type_code: Annotated[str, PropertyInfo(alias="ptTypeCode")]
260
- """Code representation of the point within the track route (ex.
261
-
262
- EP, EX, CP, IP, etc.).
263
- """
264
-
265
- pt_type_name: Annotated[str, PropertyInfo(alias="ptTypeName")]
266
- """The name that represents the point within the track route (ex.
267
-
268
- ENTRY POINT, EXIT POINT, CONTROL POINT, INITIAL POINT, etc.).
269
- """
270
-
271
- waypoint_name: Annotated[str, PropertyInfo(alias="waypointName")]
272
- """Name of a waypoint which identifies the location of the point."""
@@ -0,0 +1,157 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Union, Iterable
6
+ from datetime import datetime
7
+ from typing_extensions import Literal, Required, Annotated, TypedDict
8
+
9
+ from .._utils import PropertyInfo
10
+ from .route_points_ingest_param import RoutePointsIngestParam
11
+ from .altitude_blocks_ingest_param import AltitudeBlocksIngestParam
12
+ from .point_of_contact_ingest_param import PointOfContactIngestParam
13
+
14
+ __all__ = ["TrackRouteIngestParam"]
15
+
16
+
17
+ class TrackRouteIngestParam(TypedDict, total=False):
18
+ classification_marking: Required[Annotated[str, PropertyInfo(alias="classificationMarking")]]
19
+ """Classification marking of the data in IC/CAPCO Portion-marked format."""
20
+
21
+ data_mode: Required[Annotated[Literal["REAL", "TEST", "SIMULATED", "EXERCISE"], PropertyInfo(alias="dataMode")]]
22
+ """Indicator of whether the data is EXERCISE, REAL, SIMULATED, or TEST data:
23
+
24
+ EXERCISE: Data pertaining to a government or military exercise. The data
25
+ may include both real and simulated data.
26
+
27
+ REAL: Data collected or produced that pertains to real-world objects,
28
+ events, and analysis.
29
+
30
+ SIMULATED: Synthetic data generated by a model to mimic real-world
31
+ datasets.
32
+
33
+ TEST: Specific datasets used to evaluate compliance with specifications and
34
+ requirements, and for validating technical, functional, and performance
35
+ characteristics.
36
+ """
37
+
38
+ last_update_date: Required[Annotated[Union[str, datetime], PropertyInfo(alias="lastUpdateDate", format="iso8601")]]
39
+ """
40
+ The last updated date of the track route in ISO 8601 UTC format with millisecond
41
+ precision.
42
+ """
43
+
44
+ source: Required[str]
45
+ """Source of the data."""
46
+
47
+ type: Required[str]
48
+ """The track route type represented by this record (ex. AIR REFUELING)."""
49
+
50
+ id: str
51
+ """Unique identifier of the record, auto-generated by the system."""
52
+
53
+ altitude_blocks: Annotated[Iterable[AltitudeBlocksIngestParam], PropertyInfo(alias="altitudeBlocks")]
54
+ """Minimum and maximum altitude bounds for the track."""
55
+
56
+ apn_setting: Annotated[str, PropertyInfo(alias="apnSetting")]
57
+ """The APN radar code sent and received by the aircraft for identification."""
58
+
59
+ apx_beacon_code: Annotated[str, PropertyInfo(alias="apxBeaconCode")]
60
+ """The APX radar code sent and received by the aircraft for identification."""
61
+
62
+ artcc_message: Annotated[str, PropertyInfo(alias="artccMessage")]
63
+ """Air Refueling Track Control Center message."""
64
+
65
+ creating_org: Annotated[str, PropertyInfo(alias="creatingOrg")]
66
+ """The name of the creating organization of the track route."""
67
+
68
+ direction: str
69
+ """The principal compass direction (cardinal or ordinal) of the track route."""
70
+
71
+ effective_date: Annotated[Union[str, datetime], PropertyInfo(alias="effectiveDate", format="iso8601")]
72
+ """
73
+ The date which the DAFIF track was last updated/validated in ISO 8601 UTC format
74
+ with millisecond precision.
75
+ """
76
+
77
+ external_id: Annotated[str, PropertyInfo(alias="externalId")]
78
+ """Optional air refueling track ID from external systems.
79
+
80
+ This field has no meaning within UDL and is provided as a convenience for
81
+ systems that require tracking of an internal system generated ID.
82
+ """
83
+
84
+ last_used_date: Annotated[Union[str, datetime], PropertyInfo(alias="lastUsedDate", format="iso8601")]
85
+ """
86
+ Used to show last time the track route was added to an itinerary in ISO 8601 UTC
87
+ format with millisecond precision.
88
+ """
89
+
90
+ location_track_id: Annotated[str, PropertyInfo(alias="locationTrackId")]
91
+ """Track location ID."""
92
+
93
+ origin: str
94
+ """
95
+ Originating system or organization which produced the data, if different from
96
+ the source. The origin may be different than the source if the source was a
97
+ mediating system which forwarded the data on behalf of the origin system. If
98
+ null, the source may be assumed to be the origin.
99
+ """
100
+
101
+ poc: Iterable[PointOfContactIngestParam]
102
+ """Point of contacts for scheduling or modifying the route."""
103
+
104
+ pri_freq: Annotated[float, PropertyInfo(alias="priFreq")]
105
+ """The primary UHF radio frequency used for the track route in megahertz."""
106
+
107
+ receiver_tanker_ch_code: Annotated[str, PropertyInfo(alias="receiverTankerCHCode")]
108
+ """The receiver tanker channel identifer for air refueling tracks."""
109
+
110
+ region_code: Annotated[str, PropertyInfo(alias="regionCode")]
111
+ """
112
+ Region code indicating where the track resides as determined by the data source.
113
+ """
114
+
115
+ region_name: Annotated[str, PropertyInfo(alias="regionName")]
116
+ """Region where the track resides."""
117
+
118
+ review_date: Annotated[Union[str, datetime], PropertyInfo(alias="reviewDate", format="iso8601")]
119
+ """
120
+ Date the track needs to be reviewed for accuracy or deletion in ISO 8601 UTC
121
+ format with millisecond precision.
122
+ """
123
+
124
+ route_points: Annotated[Iterable[RoutePointsIngestParam], PropertyInfo(alias="routePoints")]
125
+ """Points identified within the route."""
126
+
127
+ scheduler_org_name: Annotated[str, PropertyInfo(alias="schedulerOrgName")]
128
+ """Point of contact for the air refueling track route scheduler."""
129
+
130
+ scheduler_org_unit: Annotated[str, PropertyInfo(alias="schedulerOrgUnit")]
131
+ """The unit responsible for scheduling the track route."""
132
+
133
+ sec_freq: Annotated[float, PropertyInfo(alias="secFreq")]
134
+ """The secondary UHF radio frequency used for the track route in megahertz."""
135
+
136
+ short_name: Annotated[str, PropertyInfo(alias="shortName")]
137
+ """Abbreviated name of the track."""
138
+
139
+ sic: str
140
+ """Standard Indicator Code of the air refueling track."""
141
+
142
+ track_id: Annotated[str, PropertyInfo(alias="trackId")]
143
+ """Identifier of the track."""
144
+
145
+ track_name: Annotated[str, PropertyInfo(alias="trackName")]
146
+ """Name of the track."""
147
+
148
+ type_code: Annotated[str, PropertyInfo(alias="typeCode")]
149
+ """Type of process used by AMC to schedule an air refueling event.
150
+
151
+ Possible values are A (Matched Long Range), F (Matched AMC Short Notice), N
152
+ (Unmatched Theater Operation Short Notice (Theater Assets)), R, Unmatched Long
153
+ Range, S (Soft Air Refueling), T (Matched Theater Operation Short Notice
154
+ (Theater Assets)), V (Unmatched AMC Short Notice), X (Unmatched Theater
155
+ Operation Short Notice (AMC Assets)), Y (Matched Theater Operation Short Notice
156
+ (AMC Assets)), Z (Other Air Refueling).
157
+ """