udl-sdk 0.1.0a15__py3-none-any.whl → 0.1.0a17__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 (407) hide show
  1. {udl_sdk-0.1.0a15.dist-info → udl_sdk-0.1.0a17.dist-info}/METADATA +1 -1
  2. {udl_sdk-0.1.0a15.dist-info → udl_sdk-0.1.0a17.dist-info}/RECORD +404 -380
  3. unifieddatalibrary/_base_client.py +4 -1
  4. unifieddatalibrary/_client.py +86 -21
  5. unifieddatalibrary/_files.py +4 -4
  6. unifieddatalibrary/_version.py +1 -1
  7. unifieddatalibrary/resources/air_load_plans.py +1 -1
  8. unifieddatalibrary/resources/air_operations/air_tasking_orders.py +1 -1
  9. unifieddatalibrary/resources/air_operations/crewpapers.py +8 -5
  10. unifieddatalibrary/resources/aircraft.py +1 -1
  11. unifieddatalibrary/resources/aircraft_sorties.py +1 -1
  12. unifieddatalibrary/resources/aircraft_status_remarks.py +1 -1
  13. unifieddatalibrary/resources/airfield_slot_consumptions.py +1 -1
  14. unifieddatalibrary/resources/airfield_slots.py +1 -1
  15. unifieddatalibrary/resources/airfield_status/airfield_status.py +1 -1
  16. unifieddatalibrary/resources/airfield_status/history.py +1 -1
  17. unifieddatalibrary/resources/airfields.py +1 -1
  18. unifieddatalibrary/resources/airspace_control_orders.py +1 -1
  19. unifieddatalibrary/resources/analytic_imagery.py +1 -1
  20. unifieddatalibrary/resources/antennas.py +1 -1
  21. unifieddatalibrary/resources/batteries.py +1 -1
  22. unifieddatalibrary/resources/batterydetails.py +1 -1
  23. unifieddatalibrary/resources/beam.py +1 -1
  24. unifieddatalibrary/resources/beam_contours.py +1 -1
  25. unifieddatalibrary/resources/buses.py +1 -1
  26. unifieddatalibrary/resources/channels.py +1 -1
  27. unifieddatalibrary/resources/comm.py +1 -1
  28. unifieddatalibrary/resources/conjunctions/conjunctions.py +9 -10
  29. unifieddatalibrary/resources/countries.py +1 -1
  30. unifieddatalibrary/resources/crew.py +1 -1
  31. unifieddatalibrary/resources/diplomatic_clearance/diplomatic_clearance.py +1 -1
  32. unifieddatalibrary/resources/diplomatic_clearance/history.py +1 -1
  33. unifieddatalibrary/resources/engine_details.py +1 -1
  34. unifieddatalibrary/resources/engines.py +1 -1
  35. unifieddatalibrary/resources/entities.py +1 -1
  36. unifieddatalibrary/resources/location.py +8 -8
  37. unifieddatalibrary/resources/notification/history.py +1 -1
  38. unifieddatalibrary/resources/notification/notification.py +1 -1
  39. unifieddatalibrary/resources/observations/eo_observations/eo_observations.py +1 -1
  40. unifieddatalibrary/resources/observations/eo_observations/history.py +1 -1
  41. unifieddatalibrary/resources/onboardnavigation/history.py +1 -1
  42. unifieddatalibrary/resources/onorbit/antenna_details.py +1 -1
  43. unifieddatalibrary/resources/onorbitantenna.py +5 -5
  44. unifieddatalibrary/resources/onorbitbattery.py +5 -5
  45. unifieddatalibrary/resources/onorbitdetails.py +5 -5
  46. unifieddatalibrary/resources/onorbitsolararray.py +5 -5
  47. unifieddatalibrary/resources/onorbitthruster.py +5 -5
  48. unifieddatalibrary/resources/onorbitthrusterstatus/history.py +1 -1
  49. unifieddatalibrary/resources/onorbitthrusterstatus/onorbitthrusterstatus.py +1 -1
  50. unifieddatalibrary/resources/operatingunit.py +5 -5
  51. unifieddatalibrary/resources/operatingunitremark.py +5 -5
  52. unifieddatalibrary/resources/organization.py +1 -1
  53. unifieddatalibrary/resources/organizationdetails.py +1 -1
  54. unifieddatalibrary/resources/rf_band.py +5 -5
  55. unifieddatalibrary/resources/scs/paths.py +21 -18
  56. unifieddatalibrary/resources/scs/scs.py +8 -5
  57. unifieddatalibrary/resources/scs/v2.py +8 -5
  58. unifieddatalibrary/resources/solar_array.py +5 -5
  59. unifieddatalibrary/resources/solar_array_details.py +1 -1
  60. unifieddatalibrary/resources/sortie_ppr/history.py +1 -1
  61. unifieddatalibrary/resources/sortie_ppr/sortie_ppr.py +1 -1
  62. unifieddatalibrary/resources/state_vector/history.py +1 -1
  63. unifieddatalibrary/resources/state_vector/state_vector.py +1 -1
  64. unifieddatalibrary/resources/status.py +5 -5
  65. unifieddatalibrary/resources/substatus.py +5 -5
  66. unifieddatalibrary/types/__init__.py +76 -41
  67. unifieddatalibrary/types/ai_queryhelp_response.py +3 -32
  68. unifieddatalibrary/types/air_event_queryhelp_response.py +3 -32
  69. unifieddatalibrary/types/air_load_plan_queryhelp_response.py +3 -32
  70. unifieddatalibrary/types/air_load_plan_tuple_response.py +1 -1
  71. unifieddatalibrary/types/air_operations/__init__.py +0 -3
  72. unifieddatalibrary/types/air_operations/air_tasking_order_query_help_response.py +3 -32
  73. unifieddatalibrary/types/air_operations/air_tasking_order_tuple_response.py +1 -1
  74. unifieddatalibrary/types/air_operations/aircraft_sortie_history_query_response.py +1 -1
  75. unifieddatalibrary/types/air_operations/crewpaper_upload_pdf_params.py +0 -3
  76. unifieddatalibrary/types/air_transport_mission_queryhelp_response.py +3 -32
  77. unifieddatalibrary/types/aircraft_queryhelp_response.py +3 -32
  78. unifieddatalibrary/types/aircraft_sorty_queryhelp_response.py +3 -32
  79. unifieddatalibrary/types/aircraft_sorty_tuple_response.py +1 -1
  80. unifieddatalibrary/types/aircraft_status_queryhelp_response.py +3 -32
  81. unifieddatalibrary/types/aircraft_status_remark_queryhelp_response.py +3 -32
  82. unifieddatalibrary/types/aircraft_status_remark_tuple_response.py +1 -1
  83. unifieddatalibrary/types/aircraft_tuple_query_response.py +1 -1
  84. unifieddatalibrary/types/airfield_queryhelp_response.py +3 -32
  85. unifieddatalibrary/types/airfield_slot_consumption_queryhelp_response.py +3 -32
  86. unifieddatalibrary/types/airfield_slot_consumption_tuple_response.py +1 -1
  87. unifieddatalibrary/types/airfield_slot_queryhelp_response.py +3 -32
  88. unifieddatalibrary/types/airfield_slot_tuple_response.py +1 -1
  89. unifieddatalibrary/types/airfield_status_queryhelp_response.py +3 -32
  90. unifieddatalibrary/types/airfield_status_tuple_response.py +1 -1
  91. unifieddatalibrary/types/airfield_tuple_response.py +1 -1
  92. unifieddatalibrary/types/airspace_control_order_query_help_response.py +3 -32
  93. unifieddatalibrary/types/airspace_control_order_tuple_response.py +1 -1
  94. unifieddatalibrary/types/analytic_imagery_queryhelp_response.py +3 -32
  95. unifieddatalibrary/types/antenna_queryhelp_response.py +3 -32
  96. unifieddatalibrary/types/antenna_tuple_response.py +1 -1
  97. unifieddatalibrary/types/attitude_data_query_help_response.py +3 -32
  98. unifieddatalibrary/types/attitude_data_tuple_response.py +1 -1
  99. unifieddatalibrary/types/attitude_set_query_help_response.py +3 -32
  100. unifieddatalibrary/types/aviation_risk_management_query_help_response.py +3 -32
  101. unifieddatalibrary/types/battery_queryhelp_response.py +3 -32
  102. unifieddatalibrary/types/battery_tuple_response.py +1 -1
  103. unifieddatalibrary/types/beam_contour_query_help_response.py +3 -32
  104. unifieddatalibrary/types/beam_contour_tuple_response.py +1 -1
  105. unifieddatalibrary/types/beam_query_help_response.py +3 -32
  106. unifieddatalibrary/types/beam_tuple_response.py +1 -1
  107. unifieddatalibrary/types/bus_query_help_response.py +3 -32
  108. unifieddatalibrary/types/bus_tuple_response.py +1 -1
  109. unifieddatalibrary/types/channel_queryhelp_response.py +3 -32
  110. unifieddatalibrary/types/channel_tuple_response.py +1 -1
  111. unifieddatalibrary/types/collect_request_query_help_response.py +3 -32
  112. unifieddatalibrary/types/collect_response_query_help_response.py +3 -32
  113. unifieddatalibrary/types/comm_queryhelp_response.py +3 -32
  114. unifieddatalibrary/types/comm_tuple_response.py +1 -1
  115. unifieddatalibrary/types/conjunction_get_history_response.py +1 -1
  116. unifieddatalibrary/types/conjunction_queryhelp_response.py +3 -32
  117. unifieddatalibrary/types/conjunction_tuple_response.py +1 -1
  118. unifieddatalibrary/types/conjunction_upload_conjunction_data_message_params.py +0 -3
  119. unifieddatalibrary/types/country_queryhelp_response.py +3 -32
  120. unifieddatalibrary/types/country_tuple_response.py +1 -1
  121. unifieddatalibrary/types/crew_queryhelp_response.py +3 -32
  122. unifieddatalibrary/types/crew_tuple_response.py +1 -1
  123. unifieddatalibrary/types/diff_of_arrival_queryhelp_response.py +3 -32
  124. unifieddatalibrary/types/diplomatic_clearance/country_query_help_response.py +3 -32
  125. unifieddatalibrary/types/diplomatic_clearance_queryhelp_response.py +3 -32
  126. unifieddatalibrary/types/diplomatic_clearance_tuple_response.py +1 -1
  127. unifieddatalibrary/types/drift_history_queryhelp_response.py +3 -32
  128. unifieddatalibrary/types/dropzone_query_help_response.py +3 -32
  129. unifieddatalibrary/types/effect_request_query_help_response.py +3 -32
  130. unifieddatalibrary/types/effect_response_actions_list_full.py +89 -0
  131. unifieddatalibrary/types/effect_response_metrics_full.py +27 -0
  132. unifieddatalibrary/types/effect_response_query_help_response.py +3 -32
  133. unifieddatalibrary/types/effect_response_retrieve_response.py +5 -117
  134. unifieddatalibrary/types/effect_response_tuple_response.py +5 -127
  135. unifieddatalibrary/types/effect_responses/history_list_response.py +5 -117
  136. unifieddatalibrary/types/elset_query_current_elset_help_response.py +3 -32
  137. unifieddatalibrary/types/elset_queryhelp_response.py +3 -32
  138. unifieddatalibrary/types/emitter_geolocation_query_help_response.py +3 -32
  139. unifieddatalibrary/types/engine_queryhelp_response.py +3 -32
  140. unifieddatalibrary/types/engine_tuple_response.py +1 -1
  141. unifieddatalibrary/types/entity_abridged.py +3 -81
  142. unifieddatalibrary/types/entity_query_help_response.py +3 -32
  143. unifieddatalibrary/types/entity_tuple_response.py +1 -1
  144. unifieddatalibrary/types/eop_queryhelp_response.py +3 -32
  145. unifieddatalibrary/types/ephemeris/attitude_data/history_retrieve_response.py +1 -1
  146. unifieddatalibrary/types/ephemeris_queryhelp_response.py +3 -32
  147. unifieddatalibrary/types/ephemeris_set.py +1 -1
  148. unifieddatalibrary/types/ephemeris_set_queryhelp_response.py +3 -32
  149. unifieddatalibrary/types/equipment_query_help_response.py +3 -32
  150. unifieddatalibrary/types/equipment_remark_query_help_response.py +3 -32
  151. unifieddatalibrary/types/evac_query_help_response.py +3 -32
  152. unifieddatalibrary/types/event_evolution_queryhelp_response.py +3 -32
  153. unifieddatalibrary/types/feature_assessment_query_help_response.py +3 -32
  154. unifieddatalibrary/types/flightplan_queryhelp_response.py +3 -32
  155. unifieddatalibrary/types/geo_status_queryhelp_response.py +3 -32
  156. unifieddatalibrary/types/global_atmospheric_model_query_help_response.py +3 -32
  157. unifieddatalibrary/types/gnss_observationset_queryhelp_response.py +3 -32
  158. unifieddatalibrary/types/gnss_rawif_queryhelp_response.py +3 -32
  159. unifieddatalibrary/types/ground_imagery_queryhelp_response.py +3 -32
  160. unifieddatalibrary/types/h3_geo_hex_cell_queryhelp_response.py +3 -32
  161. unifieddatalibrary/types/h3_geo_queryhelp_response.py +3 -32
  162. unifieddatalibrary/types/hazard_queryhelp_response.py +3 -32
  163. unifieddatalibrary/types/ion_oobservation_queryhelp_response.py +3 -32
  164. unifieddatalibrary/types/ir_get_response.py +1 -1
  165. unifieddatalibrary/types/ir_queryhelp_response.py +3 -32
  166. unifieddatalibrary/types/ir_tuple_response.py +1 -1
  167. unifieddatalibrary/types/isr_collection_critical_times_full.py +17 -0
  168. unifieddatalibrary/types/isr_collection_exploitation_requirement_full.py +29 -0
  169. unifieddatalibrary/types/isr_collection_poc_full.py +41 -0
  170. unifieddatalibrary/types/isr_collection_queryhelp_response.py +3 -32
  171. unifieddatalibrary/types/isr_collection_requirements_full.py +90 -0
  172. unifieddatalibrary/types/isr_collection_tuple_response.py +5 -290
  173. unifieddatalibrary/types/isr_collections/history_list_response.py +3 -286
  174. unifieddatalibrary/types/item_queryhelp_response.py +3 -32
  175. unifieddatalibrary/types/item_tracking_queryhelp_response.py +3 -32
  176. unifieddatalibrary/types/launch_detection_queryhelp_response.py +3 -32
  177. unifieddatalibrary/types/launch_event_queryhelp_response.py +3 -32
  178. unifieddatalibrary/types/launch_site_detail_find_by_source_response.py +3 -85
  179. unifieddatalibrary/types/launch_site_detail_get_response.py +1 -1
  180. unifieddatalibrary/types/launch_site_detail_list_response.py +3 -81
  181. unifieddatalibrary/types/launch_site_get_response.py +1 -1
  182. unifieddatalibrary/types/launch_site_queryhelp_response.py +3 -32
  183. unifieddatalibrary/types/launch_site_tuple_response.py +1 -1
  184. unifieddatalibrary/types/launch_vehicle_detail_get_response.py +1 -1
  185. unifieddatalibrary/types/launch_vehicle_get_response.py +2 -2
  186. unifieddatalibrary/types/launch_vehicle_queryhelp_response.py +3 -32
  187. unifieddatalibrary/types/launch_vehicle_tuple_response.py +2 -2
  188. unifieddatalibrary/types/link_status/datalink_queryhelp_response.py +3 -32
  189. unifieddatalibrary/types/link_status_queryhelp_response.py +3 -32
  190. unifieddatalibrary/types/location_queryhelp_response.py +3 -32
  191. unifieddatalibrary/types/location_tuple_response.py +1 -1
  192. unifieddatalibrary/types/logistics_discrepancy_infos_full.py +26 -0
  193. unifieddatalibrary/types/logistics_parts_full.py +51 -0
  194. unifieddatalibrary/types/logistics_remarks_abridged.py +24 -0
  195. unifieddatalibrary/types/logistics_segments_full.py +85 -0
  196. unifieddatalibrary/types/logistics_specialties_full.py +39 -0
  197. unifieddatalibrary/types/logistics_stocks_full.py +27 -0
  198. unifieddatalibrary/types/logistics_support/history_list_response.py +7 -427
  199. unifieddatalibrary/types/logistics_support_get_response.py +7 -427
  200. unifieddatalibrary/types/logistics_support_items_full.py +119 -0
  201. unifieddatalibrary/types/logistics_support_list_response.py +6 -52
  202. unifieddatalibrary/types/logistics_support_queryhelp_response.py +3 -32
  203. unifieddatalibrary/types/logistics_support_tuple_response.py +8 -431
  204. unifieddatalibrary/types/logistics_transportation_plans_full.py +137 -0
  205. unifieddatalibrary/types/maneuver_queryhelp_response.py +3 -32
  206. unifieddatalibrary/types/manifold_queryhelp_response.py +3 -32
  207. unifieddatalibrary/types/manifoldelset_queryhelp_response.py +3 -32
  208. unifieddatalibrary/types/missile_track_queryhelp_response.py +3 -32
  209. unifieddatalibrary/types/mission_assignment_queryhelp_response.py +3 -32
  210. unifieddatalibrary/types/mti_queryhelp_response.py +3 -32
  211. unifieddatalibrary/types/navigation_get_response.py +1 -1
  212. unifieddatalibrary/types/navigation_queryhelp_response.py +3 -32
  213. unifieddatalibrary/types/navigation_tuple_response.py +1 -1
  214. unifieddatalibrary/types/navigational_obstruction_queryhelp_response.py +3 -32
  215. unifieddatalibrary/types/notification/__init__.py +0 -1
  216. unifieddatalibrary/types/notification_queryhelp_response.py +3 -32
  217. unifieddatalibrary/types/notification_tuple_response.py +1 -1
  218. unifieddatalibrary/types/object_of_interest_queryhelp_response.py +3 -32
  219. unifieddatalibrary/types/observations/ecpsdr_query_help_response.py +3 -32
  220. unifieddatalibrary/types/observations/eo_observation_queryhelp_response.py +3 -32
  221. unifieddatalibrary/types/observations/eo_observation_tuple_response.py +1 -1
  222. unifieddatalibrary/types/observations/eo_observations/__init__.py +0 -1
  223. unifieddatalibrary/types/observations/monoradar_queryhelp_response.py +3 -32
  224. unifieddatalibrary/types/observations/passive_radar_observation_queryhelp_response.py +3 -32
  225. unifieddatalibrary/types/observations/radarobservation_queryhelp_response.py +3 -32
  226. unifieddatalibrary/types/observations/rf_observation_queryhelp_response.py +3 -32
  227. unifieddatalibrary/types/onboardnavigation/__init__.py +0 -1
  228. unifieddatalibrary/types/onboardnavigation_queryhelp_response.py +3 -32
  229. unifieddatalibrary/types/onboardnavigation_tuple_response.py +1 -1
  230. unifieddatalibrary/types/onorbit/__init__.py +0 -1
  231. unifieddatalibrary/types/onorbit_queryhelp_response.py +3 -32
  232. unifieddatalibrary/types/onorbitevent_queryhelp_response.py +3 -32
  233. unifieddatalibrary/types/onorbitlist_queryhelp_response.py +3 -32
  234. unifieddatalibrary/types/onorbitthrusterstatus/__init__.py +0 -1
  235. unifieddatalibrary/types/onorbitthrusterstatus_queryhelp_response.py +3 -32
  236. unifieddatalibrary/types/onorbitthrusterstatus_tuple_response.py +1 -1
  237. unifieddatalibrary/types/operatingunit_queryhelp_response.py +3 -32
  238. unifieddatalibrary/types/operatingunit_tuple_response.py +5 -589
  239. unifieddatalibrary/types/operatingunitremark_queryhelp_response.py +3 -32
  240. unifieddatalibrary/types/operatingunitremark_tuple_response.py +5 -85
  241. unifieddatalibrary/types/orbitdetermination_queryhelp_response.py +3 -32
  242. unifieddatalibrary/types/orbittrack_queryhelp_response.py +3 -32
  243. unifieddatalibrary/types/organization_queryhelp_response.py +3 -32
  244. unifieddatalibrary/types/organization_tuple_response.py +1 -1
  245. unifieddatalibrary/types/personnelrecovery_queryhelp_response.py +3 -32
  246. unifieddatalibrary/types/poi_queryhelp_response.py +3 -32
  247. unifieddatalibrary/types/port_queryhelp_response.py +3 -32
  248. unifieddatalibrary/types/rf_band_queryhelp_response.py +3 -32
  249. unifieddatalibrary/types/rf_band_tuple_response.py +5 -148
  250. unifieddatalibrary/types/rf_band_type_queryhelp_response.py +3 -32
  251. unifieddatalibrary/types/rf_emitter_detail_get_response.py +2 -2
  252. unifieddatalibrary/types/rf_emitter_detail_queryhelp_response.py +3 -32
  253. unifieddatalibrary/types/rf_emitter_detail_tuple_response.py +2 -2
  254. unifieddatalibrary/types/rf_emitter_get_response.py +3 -3
  255. unifieddatalibrary/types/rf_emitter_queryhelp_response.py +3 -32
  256. unifieddatalibrary/types/rf_emitter_tuple_response.py +3 -3
  257. unifieddatalibrary/types/route_stat_query_help_response.py +3 -32
  258. unifieddatalibrary/types/sar_observation_queryhelp_response.py +3 -32
  259. unifieddatalibrary/types/sc_file_upload_params.py +0 -3
  260. unifieddatalibrary/types/scientific_get_response.py +1 -1
  261. unifieddatalibrary/types/scientific_queryhelp_response.py +3 -32
  262. unifieddatalibrary/types/scientific_tuple_response.py +1 -1
  263. unifieddatalibrary/types/scs/__init__.py +2 -2
  264. unifieddatalibrary/types/scs/{path_create_params.py → path_create_with_file_params.py} +2 -5
  265. unifieddatalibrary/types/scs/{path_create_response.py → path_create_with_file_response.py} +2 -2
  266. unifieddatalibrary/types/scs/v2_file_upload_params.py +0 -3
  267. unifieddatalibrary/types/sensor/calibration_query_help_response.py +3 -32
  268. unifieddatalibrary/types/sensor_get_response.py +82 -1565
  269. unifieddatalibrary/types/sensor_list_response.py +2 -81
  270. unifieddatalibrary/types/sensor_maintenance_queryhelp_response.py +3 -32
  271. unifieddatalibrary/types/sensor_observation_type_queryhelp_response.py +3 -32
  272. unifieddatalibrary/types/sensor_plan_queryhelp_response.py +3 -32
  273. unifieddatalibrary/types/sensor_queryhelp_response.py +3 -32
  274. unifieddatalibrary/types/sensor_tuple_response.py +82 -1575
  275. unifieddatalibrary/types/sensor_type_queryhelp_response.py +3 -32
  276. unifieddatalibrary/types/sera_data_comm_detail_queryhelp_response.py +3 -32
  277. unifieddatalibrary/types/sera_data_early_warning_queryhelp_response.py +3 -32
  278. unifieddatalibrary/types/sera_data_navigation_queryhelp_response.py +3 -32
  279. unifieddatalibrary/types/seradata_optical_payload_queryhelp_response.py +3 -32
  280. unifieddatalibrary/types/seradata_radar_payload_queryhelp_response.py +3 -32
  281. unifieddatalibrary/types/seradata_sigint_payload_queryhelp_response.py +3 -32
  282. unifieddatalibrary/types/seradata_spacecraft_detail_get_response.py +11 -612
  283. unifieddatalibrary/types/seradata_spacecraft_detail_queryhelp_response.py +3 -32
  284. unifieddatalibrary/types/seradata_spacecraft_detail_tuple_response.py +11 -618
  285. unifieddatalibrary/types/sgi_queryhelp_response.py +3 -32
  286. unifieddatalibrary/types/shared/__init__.py +60 -0
  287. unifieddatalibrary/types/shared/air_transport_mission_full.py +1 -1
  288. unifieddatalibrary/types/{aircraft_full.py → shared/aircraft_full.py} +1 -1
  289. unifieddatalibrary/types/{air_operations → shared}/aircraftsortie_full.py +2 -2
  290. unifieddatalibrary/types/{aircraftstatusremark_full.py → shared/aircraftstatusremark_full.py} +1 -1
  291. unifieddatalibrary/types/{airfield_full.py → shared/airfield_full.py} +1 -1
  292. unifieddatalibrary/types/{airfieldslot_full.py → shared/airfieldslot_full.py} +1 -1
  293. unifieddatalibrary/types/{airfieldslotconsumption_full.py → shared/airfieldslotconsumption_full.py} +1 -1
  294. unifieddatalibrary/types/{airfieldstatus_full.py → shared/airfieldstatus_full.py} +1 -1
  295. unifieddatalibrary/types/{airloadplan_full.py → shared/airloadplan_full.py} +1 -1
  296. unifieddatalibrary/types/{airspacecontrolorder_full.py → shared/airspacecontrolorder_full.py} +1 -1
  297. unifieddatalibrary/types/{analytic_imagery_full.py → shared/analytic_imagery_full.py} +1 -1
  298. unifieddatalibrary/types/{onorbit → shared}/antenna_details_full.py +1 -1
  299. unifieddatalibrary/types/{antenna_full.py → shared/antenna_full.py} +2 -2
  300. unifieddatalibrary/types/{attitudedata_full.py → shared/attitudedata_full.py} +1 -1
  301. unifieddatalibrary/types/shared/attitudeset_full.py +1 -1
  302. unifieddatalibrary/types/{battery_full.py → shared/battery_full.py} +1 -1
  303. unifieddatalibrary/types/{batterydetails_full.py → shared/batterydetails_full.py} +1 -1
  304. unifieddatalibrary/types/{beam_full.py → shared/beam_full.py} +1 -1
  305. unifieddatalibrary/types/{beamcontour_full.py → shared/beamcontour_full.py} +1 -1
  306. unifieddatalibrary/types/{bus_full.py → shared/bus_full.py} +1 -1
  307. unifieddatalibrary/types/{channel_full.py → shared/channel_full.py} +1 -1
  308. unifieddatalibrary/types/{comm_full.py → shared/comm_full.py} +1 -1
  309. unifieddatalibrary/types/{conjunction_full.py → shared/conjunction_full.py} +2 -2
  310. unifieddatalibrary/types/{country_full.py → shared/country_full.py} +1 -1
  311. unifieddatalibrary/types/{crew_full.py → shared/crew_full.py} +1 -1
  312. unifieddatalibrary/types/shared/daily_operation_full.py +40 -0
  313. unifieddatalibrary/types/{engine.py → shared/engine.py} +1 -1
  314. unifieddatalibrary/types/{engine_details_full.py → shared/engine_details_full.py} +1 -1
  315. unifieddatalibrary/types/shared/entity_full.py +319 -0
  316. unifieddatalibrary/types/{observations/eo_observations → shared}/eo_observation_full.py +2 -2
  317. unifieddatalibrary/types/shared/evac_full.py +2 -28
  318. unifieddatalibrary/types/{location_list_response.py → shared/location_abridged.py} +3 -3
  319. unifieddatalibrary/types/{location_full.py → shared/location_full.py} +1 -1
  320. unifieddatalibrary/types/shared/maximum_on_ground_full.py +48 -0
  321. unifieddatalibrary/types/{onboardnavigation → shared}/onboardnavigation_full.py +1 -1
  322. unifieddatalibrary/types/{onorbitantenna_get_response.py → shared/onorbit_antenna_full.py} +3 -3
  323. unifieddatalibrary/types/{onorbitbattery_get_response.py → shared/onorbit_battery_full.py} +3 -3
  324. unifieddatalibrary/types/{onorbitdetail_get_response.py → shared/onorbit_details_full.py} +3 -3
  325. unifieddatalibrary/types/shared/onorbit_full.py +80 -1568
  326. unifieddatalibrary/types/shared/onorbit_solar_array_full.py +91 -0
  327. unifieddatalibrary/types/{onorbitthruster_get_response.py → shared/onorbit_thruster_full.py} +3 -3
  328. unifieddatalibrary/types/shared/operating_hours_full.py +17 -0
  329. unifieddatalibrary/types/{operatingunitremark_get_response.py → shared/operating_unit_remark_full.py} +3 -3
  330. unifieddatalibrary/types/{operatingunit_get_response.py → shared/operatingunit_full.py} +7 -80
  331. unifieddatalibrary/types/shared/operational_deviation_full.py +45 -0
  332. unifieddatalibrary/types/shared/operational_planning_full.py +45 -0
  333. unifieddatalibrary/types/{organization_details_full.py → shared/organization_details_full.py} +1 -1
  334. unifieddatalibrary/types/{organization_full.py → shared/organization_full.py} +1 -1
  335. unifieddatalibrary/types/shared/param_descriptor.py +39 -0
  336. unifieddatalibrary/types/shared/pathway_full.py +30 -0
  337. unifieddatalibrary/types/shared/related_document_full.py +18 -0
  338. unifieddatalibrary/types/{rf_band_get_response.py → shared/rf_band_full.py} +3 -3
  339. unifieddatalibrary/types/shared/sof_data_source_ref_full.py +26 -0
  340. unifieddatalibrary/types/{solar_array_details_full.py → shared/solar_array_details_full.py} +1 -1
  341. unifieddatalibrary/types/{solar_array_get_response.py → shared/solar_array_full.py} +3 -3
  342. unifieddatalibrary/types/{state_vector_full.py → shared/state_vector_full.py} +2 -2
  343. unifieddatalibrary/types/shared/status_full.py +104 -0
  344. unifieddatalibrary/types/{substatus_get_response.py → shared/sub_status_full.py} +3 -3
  345. unifieddatalibrary/types/shared/waiver_full.py +53 -0
  346. unifieddatalibrary/types/sigact/history_list_response.py +3 -27
  347. unifieddatalibrary/types/sigact_queryhelp_response.py +3 -32
  348. unifieddatalibrary/types/sigact_tuple_response.py +3 -34
  349. unifieddatalibrary/types/site/operation_query_help_response.py +3 -32
  350. unifieddatalibrary/types/site/operation_retrieve_response.py +15 -223
  351. unifieddatalibrary/types/site/operation_tuple_response.py +13 -230
  352. unifieddatalibrary/types/site_get_response.py +14 -228
  353. unifieddatalibrary/types/site_queryhelp_response.py +3 -32
  354. unifieddatalibrary/types/site_remark_queryhelp_response.py +3 -32
  355. unifieddatalibrary/types/site_status_queryhelp_response.py +3 -32
  356. unifieddatalibrary/types/site_tuple_response.py +13 -227
  357. unifieddatalibrary/types/sky_imagery/history_list_response.py +1 -1
  358. unifieddatalibrary/types/sky_imagery_get_response.py +1 -1
  359. unifieddatalibrary/types/sky_imagery_queryhelp_response.py +3 -32
  360. unifieddatalibrary/types/sky_imagery_tuple_response.py +1 -1
  361. unifieddatalibrary/types/soi_observation_set_queryhelp_response.py +3 -32
  362. unifieddatalibrary/types/solar_array_queryhelp_response.py +3 -32
  363. unifieddatalibrary/types/solar_array_tuple_response.py +5 -77
  364. unifieddatalibrary/types/sortie_ppr/__init__.py +0 -1
  365. unifieddatalibrary/types/sortie_ppr_queryhelp_response.py +3 -32
  366. unifieddatalibrary/types/sortie_ppr_tuple_response.py +1 -1
  367. unifieddatalibrary/types/space_env_observation_queryhelp_response.py +3 -32
  368. unifieddatalibrary/types/stage_get_response.py +1 -1
  369. unifieddatalibrary/types/stage_queryhelp_response.py +3 -32
  370. unifieddatalibrary/types/stage_tuple_response.py +1 -1
  371. unifieddatalibrary/types/star_catalog_queryhelp_response.py +3 -32
  372. unifieddatalibrary/types/state_vector/current_tuple_response.py +1 -1
  373. unifieddatalibrary/types/state_vector_queryhelp_response.py +3 -32
  374. unifieddatalibrary/types/state_vector_tuple_response.py +1 -1
  375. unifieddatalibrary/types/status_get_by_entity_id_response.py +5 -179
  376. unifieddatalibrary/types/status_get_by_entity_type_response.py +5 -179
  377. unifieddatalibrary/types/status_queryhelp_response.py +3 -32
  378. unifieddatalibrary/types/status_tuple_response.py +5 -175
  379. unifieddatalibrary/types/substatus_queryhelp_response.py +3 -32
  380. unifieddatalibrary/types/substatus_tuple_response.py +5 -81
  381. unifieddatalibrary/types/supporting_data/query_help_retrieve_response.py +3 -32
  382. unifieddatalibrary/types/surface_obstruction_queryhelp_response.py +3 -32
  383. unifieddatalibrary/types/surface_queryhelp_response.py +3 -32
  384. unifieddatalibrary/types/swir_queryhelp_response.py +3 -32
  385. unifieddatalibrary/types/tai_utc_queryhelp_response.py +3 -32
  386. unifieddatalibrary/types/track_detail_queryhelp_response.py +3 -32
  387. unifieddatalibrary/types/track_queryhelp_response.py +3 -32
  388. unifieddatalibrary/types/track_route_queryhelp_response.py +3 -32
  389. unifieddatalibrary/types/transponder_get_response.py +1 -1
  390. unifieddatalibrary/types/transponder_queryhelp_response.py +3 -32
  391. unifieddatalibrary/types/transponder_tuple_response.py +1 -1
  392. unifieddatalibrary/types/vessel_get_response.py +1 -1
  393. unifieddatalibrary/types/vessel_queryhelp_response.py +3 -32
  394. unifieddatalibrary/types/vessel_tuple_response.py +1 -1
  395. unifieddatalibrary/types/video_queryhelp_response.py +3 -32
  396. unifieddatalibrary/types/weather_data_queryhelp_response.py +3 -32
  397. unifieddatalibrary/types/weather_report_queryhelp_response.py +3 -32
  398. unifieddatalibrary/types/entity_full.py +0 -1805
  399. unifieddatalibrary/types/onorbitsolararray_get_response.py +0 -158
  400. unifieddatalibrary/types/status_get_response.py +0 -175
  401. {udl_sdk-0.1.0a15.dist-info → udl_sdk-0.1.0a17.dist-info}/WHEEL +0 -0
  402. {udl_sdk-0.1.0a15.dist-info → udl_sdk-0.1.0a17.dist-info}/licenses/LICENSE +0 -0
  403. /unifieddatalibrary/types/{air_operations → shared}/air_tasking_order_full.py +0 -0
  404. /unifieddatalibrary/types/{air_operations → shared}/diplomaticclearance_full.py +0 -0
  405. /unifieddatalibrary/types/{notification → shared}/notification_full.py +0 -0
  406. /unifieddatalibrary/types/{onorbitthrusterstatus → shared}/onorbitthrusterstatus_full.py +0 -0
  407. /unifieddatalibrary/types/{sortie_ppr → shared}/sortie_ppr_full.py +0 -0
@@ -551,7 +551,10 @@ class BaseClient(Generic[_HttpxClientT, _DefaultStreamT]):
551
551
  is_body_allowed = options.method.lower() != "get"
552
552
 
553
553
  if is_body_allowed:
554
- kwargs["json"] = json_data if is_given(json_data) else None
554
+ if isinstance(json_data, bytes):
555
+ kwargs["content"] = json_data
556
+ else:
557
+ kwargs["json"] = json_data if is_given(json_data) else None
555
558
  kwargs["files"] = files
556
559
  else:
557
560
  headers.pop("Content-Type", None)
@@ -14,6 +14,7 @@ from ._qs import Querystring
14
14
  from ._types import (
15
15
  NOT_GIVEN,
16
16
  Omit,
17
+ Headers,
17
18
  Timeout,
18
19
  NotGiven,
19
20
  Transport,
@@ -117,7 +118,7 @@ from .resources import (
117
118
  seradata_spacecraft_details,
118
119
  )
119
120
  from ._streaming import Stream as Stream, AsyncStream as AsyncStream
120
- from ._exceptions import APIStatusError, UnifieddatalibraryError
121
+ from ._exceptions import APIStatusError
121
122
  from ._base_client import (
122
123
  DEFAULT_MAX_RETRIES,
123
124
  SyncAPIClient,
@@ -377,14 +378,16 @@ class Unifieddatalibrary(SyncAPIClient):
377
378
  with_streaming_response: UnifieddatalibraryWithStreamedResponse
378
379
 
379
380
  # client options
380
- password: str
381
- username: str
381
+ password: str | None
382
+ username: str | None
383
+ access_token: str | None
382
384
 
383
385
  def __init__(
384
386
  self,
385
387
  *,
386
388
  password: str | None = None,
387
389
  username: str | None = None,
390
+ access_token: str | None = None,
388
391
  base_url: str | httpx.URL | None = None,
389
392
  timeout: Union[float, Timeout, None, NotGiven] = NOT_GIVEN,
390
393
  max_retries: int = DEFAULT_MAX_RETRIES,
@@ -409,23 +412,20 @@ class Unifieddatalibrary(SyncAPIClient):
409
412
  This automatically infers the following arguments from their corresponding environment variables if they are not provided:
410
413
  - `password` from `UDL_AUTH_PASSWORD`
411
414
  - `username` from `UDL_AUTH_USERNAME`
415
+ - `access_token` from `UDL_ACCESS_TOKEN`
412
416
  """
413
417
  if password is None:
414
418
  password = os.environ.get("UDL_AUTH_PASSWORD")
415
- if password is None:
416
- raise UnifieddatalibraryError(
417
- "The password client option must be set either by passing password to the client or by setting the UDL_AUTH_PASSWORD environment variable"
418
- )
419
419
  self.password = password
420
420
 
421
421
  if username is None:
422
422
  username = os.environ.get("UDL_AUTH_USERNAME")
423
- if username is None:
424
- raise UnifieddatalibraryError(
425
- "The username client option must be set either by passing username to the client or by setting the UDL_AUTH_USERNAME environment variable"
426
- )
427
423
  self.username = username
428
424
 
425
+ if access_token is None:
426
+ access_token = os.environ.get("UDL_ACCESS_TOKEN")
427
+ self.access_token = access_token
428
+
429
429
  if base_url is None:
430
430
  base_url = os.environ.get("UNIFIEDDATALIBRARY_BASE_URL")
431
431
  self._base_url_overridden = base_url is not None
@@ -618,10 +618,25 @@ class Unifieddatalibrary(SyncAPIClient):
618
618
  @property
619
619
  @override
620
620
  def auth_headers(self) -> dict[str, str]:
621
+ return {**self._basic_auth, **self._bearer_auth}
622
+
623
+ @property
624
+ def _basic_auth(self) -> dict[str, str]:
625
+ if self.username is None:
626
+ return {}
627
+ if self.password is None:
628
+ return {}
621
629
  credentials = f"{self.username}:{self.password}".encode("ascii")
622
630
  header = f"Basic {base64.b64encode(credentials).decode('ascii')}"
623
631
  return {"Authorization": header}
624
632
 
633
+ @property
634
+ def _bearer_auth(self) -> dict[str, str]:
635
+ access_token = self.access_token
636
+ if access_token is None:
637
+ return {}
638
+ return {"Authorization": f"Bearer {access_token}"}
639
+
625
640
  @property
626
641
  @override
627
642
  def default_headers(self) -> dict[str, str | Omit]:
@@ -631,11 +646,28 @@ class Unifieddatalibrary(SyncAPIClient):
631
646
  **self._custom_headers,
632
647
  }
633
648
 
649
+ @override
650
+ def _validate_headers(self, headers: Headers, custom_headers: Headers) -> None:
651
+ if self.username and self.password and headers.get("Authorization"):
652
+ return
653
+ if isinstance(custom_headers.get("Authorization"), Omit):
654
+ return
655
+
656
+ if self.access_token and headers.get("Authorization"):
657
+ return
658
+ if isinstance(custom_headers.get("Authorization"), Omit):
659
+ return
660
+
661
+ raise TypeError(
662
+ '"Could not resolve authentication method. Expected either username, password or access_token to be set. Or for one of the `Authorization` or `Authorization` headers to be explicitly omitted"'
663
+ )
664
+
634
665
  def copy(
635
666
  self,
636
667
  *,
637
668
  password: str | None = None,
638
669
  username: str | None = None,
670
+ access_token: str | None = None,
639
671
  base_url: str | httpx.URL | None = None,
640
672
  timeout: float | Timeout | None | NotGiven = NOT_GIVEN,
641
673
  http_client: httpx.Client | None = None,
@@ -671,6 +703,7 @@ class Unifieddatalibrary(SyncAPIClient):
671
703
  client = self.__class__(
672
704
  password=password or self.password,
673
705
  username=username or self.username,
706
+ access_token=access_token or self.access_token,
674
707
  base_url=base_url or self.base_url,
675
708
  timeout=self.timeout if isinstance(timeout, NotGiven) else timeout,
676
709
  http_client=http_client,
@@ -889,14 +922,16 @@ class AsyncUnifieddatalibrary(AsyncAPIClient):
889
922
  with_streaming_response: AsyncUnifieddatalibraryWithStreamedResponse
890
923
 
891
924
  # client options
892
- password: str
893
- username: str
925
+ password: str | None
926
+ username: str | None
927
+ access_token: str | None
894
928
 
895
929
  def __init__(
896
930
  self,
897
931
  *,
898
932
  password: str | None = None,
899
933
  username: str | None = None,
934
+ access_token: str | None = None,
900
935
  base_url: str | httpx.URL | None = None,
901
936
  timeout: Union[float, Timeout, None, NotGiven] = NOT_GIVEN,
902
937
  max_retries: int = DEFAULT_MAX_RETRIES,
@@ -921,23 +956,20 @@ class AsyncUnifieddatalibrary(AsyncAPIClient):
921
956
  This automatically infers the following arguments from their corresponding environment variables if they are not provided:
922
957
  - `password` from `UDL_AUTH_PASSWORD`
923
958
  - `username` from `UDL_AUTH_USERNAME`
959
+ - `access_token` from `UDL_ACCESS_TOKEN`
924
960
  """
925
961
  if password is None:
926
962
  password = os.environ.get("UDL_AUTH_PASSWORD")
927
- if password is None:
928
- raise UnifieddatalibraryError(
929
- "The password client option must be set either by passing password to the client or by setting the UDL_AUTH_PASSWORD environment variable"
930
- )
931
963
  self.password = password
932
964
 
933
965
  if username is None:
934
966
  username = os.environ.get("UDL_AUTH_USERNAME")
935
- if username is None:
936
- raise UnifieddatalibraryError(
937
- "The username client option must be set either by passing username to the client or by setting the UDL_AUTH_USERNAME environment variable"
938
- )
939
967
  self.username = username
940
968
 
969
+ if access_token is None:
970
+ access_token = os.environ.get("UDL_ACCESS_TOKEN")
971
+ self.access_token = access_token
972
+
941
973
  if base_url is None:
942
974
  base_url = os.environ.get("UNIFIEDDATALIBRARY_BASE_URL")
943
975
  self._base_url_overridden = base_url is not None
@@ -1130,10 +1162,25 @@ class AsyncUnifieddatalibrary(AsyncAPIClient):
1130
1162
  @property
1131
1163
  @override
1132
1164
  def auth_headers(self) -> dict[str, str]:
1165
+ return {**self._basic_auth, **self._bearer_auth}
1166
+
1167
+ @property
1168
+ def _basic_auth(self) -> dict[str, str]:
1169
+ if self.username is None:
1170
+ return {}
1171
+ if self.password is None:
1172
+ return {}
1133
1173
  credentials = f"{self.username}:{self.password}".encode("ascii")
1134
1174
  header = f"Basic {base64.b64encode(credentials).decode('ascii')}"
1135
1175
  return {"Authorization": header}
1136
1176
 
1177
+ @property
1178
+ def _bearer_auth(self) -> dict[str, str]:
1179
+ access_token = self.access_token
1180
+ if access_token is None:
1181
+ return {}
1182
+ return {"Authorization": f"Bearer {access_token}"}
1183
+
1137
1184
  @property
1138
1185
  @override
1139
1186
  def default_headers(self) -> dict[str, str | Omit]:
@@ -1143,11 +1190,28 @@ class AsyncUnifieddatalibrary(AsyncAPIClient):
1143
1190
  **self._custom_headers,
1144
1191
  }
1145
1192
 
1193
+ @override
1194
+ def _validate_headers(self, headers: Headers, custom_headers: Headers) -> None:
1195
+ if self.username and self.password and headers.get("Authorization"):
1196
+ return
1197
+ if isinstance(custom_headers.get("Authorization"), Omit):
1198
+ return
1199
+
1200
+ if self.access_token and headers.get("Authorization"):
1201
+ return
1202
+ if isinstance(custom_headers.get("Authorization"), Omit):
1203
+ return
1204
+
1205
+ raise TypeError(
1206
+ '"Could not resolve authentication method. Expected either username, password or access_token to be set. Or for one of the `Authorization` or `Authorization` headers to be explicitly omitted"'
1207
+ )
1208
+
1146
1209
  def copy(
1147
1210
  self,
1148
1211
  *,
1149
1212
  password: str | None = None,
1150
1213
  username: str | None = None,
1214
+ access_token: str | None = None,
1151
1215
  base_url: str | httpx.URL | None = None,
1152
1216
  timeout: float | Timeout | None | NotGiven = NOT_GIVEN,
1153
1217
  http_client: httpx.AsyncClient | None = None,
@@ -1183,6 +1247,7 @@ class AsyncUnifieddatalibrary(AsyncAPIClient):
1183
1247
  client = self.__class__(
1184
1248
  password=password or self.password,
1185
1249
  username=username or self.username,
1250
+ access_token=access_token or self.access_token,
1186
1251
  base_url=base_url or self.base_url,
1187
1252
  timeout=self.timeout if isinstance(timeout, NotGiven) else timeout,
1188
1253
  http_client=http_client,
@@ -69,12 +69,12 @@ def _transform_file(file: FileTypes) -> HttpxFileTypes:
69
69
  return file
70
70
 
71
71
  if is_tuple_t(file):
72
- return (file[0], _read_file_content(file[1]), *file[2:])
72
+ return (file[0], read_file_content(file[1]), *file[2:])
73
73
 
74
74
  raise TypeError(f"Expected file types input to be a FileContent type or to be a tuple")
75
75
 
76
76
 
77
- def _read_file_content(file: FileContent) -> HttpxFileContent:
77
+ def read_file_content(file: FileContent) -> HttpxFileContent:
78
78
  if isinstance(file, os.PathLike):
79
79
  return pathlib.Path(file).read_bytes()
80
80
  return file
@@ -111,12 +111,12 @@ async def _async_transform_file(file: FileTypes) -> HttpxFileTypes:
111
111
  return file
112
112
 
113
113
  if is_tuple_t(file):
114
- return (file[0], await _async_read_file_content(file[1]), *file[2:])
114
+ return (file[0], await async_read_file_content(file[1]), *file[2:])
115
115
 
116
116
  raise TypeError(f"Expected file types input to be a FileContent type or to be a tuple")
117
117
 
118
118
 
119
- async def _async_read_file_content(file: FileContent) -> HttpxFileContent:
119
+ async def async_read_file_content(file: FileContent) -> HttpxFileContent:
120
120
  if isinstance(file, os.PathLike):
121
121
  return await anyio.Path(file).read_bytes()
122
122
 
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "unifieddatalibrary"
4
- __version__ = "0.1.0-alpha.15" # x-release-please-version
4
+ __version__ = "0.1.0-alpha.17" # x-release-please-version
@@ -27,8 +27,8 @@ from .._response import (
27
27
  )
28
28
  from ..pagination import SyncOffsetPage, AsyncOffsetPage
29
29
  from .._base_client import AsyncPaginator, make_request_options
30
- from ..types.airloadplan_full import AirloadplanFull
31
30
  from ..types.airloadplan_abridged import AirloadplanAbridged
31
+ from ..types.shared.airloadplan_full import AirloadplanFull
32
32
  from ..types.air_load_plan_tuple_response import AirLoadPlanTupleResponse
33
33
  from ..types.air_load_plan_queryhelp_response import AirLoadPlanQueryhelpResponse
34
34
 
@@ -28,7 +28,7 @@ from ...types.air_operations import (
28
28
  air_tasking_order_retrieve_params,
29
29
  air_tasking_order_unvalidated_publish_params,
30
30
  )
31
- from ...types.air_operations.air_tasking_order_full import AirTaskingOrderFull
31
+ from ...types.shared.air_tasking_order_full import AirTaskingOrderFull
32
32
  from ...types.air_operations.airtaskingorder_abridged import AirtaskingorderAbridged
33
33
  from ...types.air_operations.air_tasking_order_tuple_response import AirTaskingOrderTupleResponse
34
34
  from ...types.air_operations.air_tasking_order_query_help_response import AirTaskingOrderQueryHelpResponse
@@ -6,7 +6,8 @@ from typing_extensions import Literal
6
6
 
7
7
  import httpx
8
8
 
9
- from ..._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven, FileTypes
9
+ from ..._files import read_file_content, async_read_file_content
10
+ from ..._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven, FileContent
10
11
  from ..._utils import maybe_transform, async_maybe_transform
11
12
  from ..._compat import cached_property
12
13
  from ..._resource import SyncAPIResource, AsyncAPIResource
@@ -85,12 +86,12 @@ class CrewpapersResource(SyncAPIResource):
85
86
 
86
87
  def upload_pdf(
87
88
  self,
89
+ params: FileContent,
88
90
  *,
89
91
  aircraft_sortie_ids: str,
90
92
  classification_marking: str,
91
93
  paper_status: Literal["PUBLISHED", "DELETED", "UPDATED", "READ"],
92
94
  papers_version: str,
93
- body: FileTypes,
94
95
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
95
96
  # The extra values given here take precedence over values defined on the client or passed to this method.
96
97
  extra_headers: Headers | None = None,
@@ -122,9 +123,10 @@ class CrewpapersResource(SyncAPIResource):
122
123
  timeout: Override the client-level default timeout for this request, in seconds
123
124
  """
124
125
  extra_headers = {"Accept": "*/*", **(extra_headers or {})}
126
+ extra_headers["Content-Type"] = "application/pdf"
125
127
  return self._post(
126
128
  "/filedrop/crewpapers",
127
- body=maybe_transform(body, crewpaper_upload_pdf_params.CrewpaperUploadPdfParams),
129
+ body=read_file_content(params),
128
130
  options=make_request_options(
129
131
  extra_headers=extra_headers,
130
132
  extra_query=extra_query,
@@ -207,12 +209,12 @@ class AsyncCrewpapersResource(AsyncAPIResource):
207
209
 
208
210
  async def upload_pdf(
209
211
  self,
212
+ params: FileContent,
210
213
  *,
211
214
  aircraft_sortie_ids: str,
212
215
  classification_marking: str,
213
216
  paper_status: Literal["PUBLISHED", "DELETED", "UPDATED", "READ"],
214
217
  papers_version: str,
215
- body: FileTypes,
216
218
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
217
219
  # The extra values given here take precedence over values defined on the client or passed to this method.
218
220
  extra_headers: Headers | None = None,
@@ -244,9 +246,10 @@ class AsyncCrewpapersResource(AsyncAPIResource):
244
246
  timeout: Override the client-level default timeout for this request, in seconds
245
247
  """
246
248
  extra_headers = {"Accept": "*/*", **(extra_headers or {})}
249
+ extra_headers["Content-Type"] = "application/pdf"
247
250
  return await self._post(
248
251
  "/filedrop/crewpapers",
249
- body=await async_maybe_transform(body, crewpaper_upload_pdf_params.CrewpaperUploadPdfParams),
252
+ body=await async_read_file_content(params),
250
253
  options=make_request_options(
251
254
  extra_headers=extra_headers,
252
255
  extra_query=extra_query,
@@ -26,9 +26,9 @@ from .._response import (
26
26
  )
27
27
  from ..pagination import SyncOffsetPage, AsyncOffsetPage
28
28
  from .._base_client import AsyncPaginator, make_request_options
29
- from ..types.aircraft_full import AircraftFull
30
29
  from ..types.aircraft_abridged import AircraftAbridged
31
30
  from ..types.entity_ingest_param import EntityIngestParam
31
+ from ..types.shared.aircraft_full import AircraftFull
32
32
  from ..types.aircraft_queryhelp_response import AircraftQueryhelpResponse
33
33
  from ..types.aircraft_tuple_query_response import AircraftTupleQueryResponse
34
34
 
@@ -20,9 +20,9 @@ from .._response import (
20
20
  async_to_streamed_response_wrapper,
21
21
  )
22
22
  from .._base_client import make_request_options
23
+ from ..types.shared.aircraftsortie_full import AircraftsortieFull
23
24
  from ..types.aircraft_sorty_tuple_response import AircraftSortyTupleResponse
24
25
  from ..types.aircraft_sorty_queryhelp_response import AircraftSortyQueryhelpResponse
25
- from ..types.air_operations.aircraftsortie_full import AircraftsortieFull
26
26
 
27
27
  __all__ = ["AircraftSortiesResource", "AsyncAircraftSortiesResource"]
28
28
 
@@ -28,8 +28,8 @@ from .._response import (
28
28
  )
29
29
  from ..pagination import SyncOffsetPage, AsyncOffsetPage
30
30
  from .._base_client import AsyncPaginator, make_request_options
31
- from ..types.aircraftstatusremark_full import AircraftstatusremarkFull
32
31
  from ..types.aircraftstatusremark_abridged import AircraftstatusremarkAbridged
32
+ from ..types.shared.aircraftstatusremark_full import AircraftstatusremarkFull
33
33
  from ..types.aircraft_status_remark_tuple_response import AircraftStatusRemarkTupleResponse
34
34
  from ..types.aircraft_status_remark_queryhelp_response import AircraftStatusRemarkQueryhelpResponse
35
35
 
@@ -28,8 +28,8 @@ from .._response import (
28
28
  )
29
29
  from ..pagination import SyncOffsetPage, AsyncOffsetPage
30
30
  from .._base_client import AsyncPaginator, make_request_options
31
- from ..types.airfieldslotconsumption_full import AirfieldslotconsumptionFull
32
31
  from ..types.airfieldslotconsumption_abridged import AirfieldslotconsumptionAbridged
32
+ from ..types.shared.airfieldslotconsumption_full import AirfieldslotconsumptionFull
33
33
  from ..types.airfield_slot_consumption_tuple_response import AirfieldSlotConsumptionTupleResponse
34
34
  from ..types.airfield_slot_consumption_queryhelp_response import AirfieldSlotConsumptionQueryhelpResponse
35
35
 
@@ -26,8 +26,8 @@ from .._response import (
26
26
  )
27
27
  from ..pagination import SyncOffsetPage, AsyncOffsetPage
28
28
  from .._base_client import AsyncPaginator, make_request_options
29
- from ..types.airfieldslot_full import AirfieldslotFull
30
29
  from ..types.airfieldslot_abridged import AirfieldslotAbridged
30
+ from ..types.shared.airfieldslot_full import AirfieldslotFull
31
31
  from ..types.airfield_slot_tuple_response import AirfieldSlotTupleResponse
32
32
  from ..types.airfield_slot_queryhelp_response import AirfieldSlotQueryhelpResponse
33
33
 
@@ -36,8 +36,8 @@ from ..._response import (
36
36
  )
37
37
  from ...pagination import SyncOffsetPage, AsyncOffsetPage
38
38
  from ..._base_client import AsyncPaginator, make_request_options
39
- from ...types.airfieldstatus_full import AirfieldstatusFull
40
39
  from ...types.airfieldstatus_abridged import AirfieldstatusAbridged
40
+ from ...types.shared.airfieldstatus_full import AirfieldstatusFull
41
41
  from ...types.airfield_status_tuple_response import AirfieldStatusTupleResponse
42
42
  from ...types.airfield_status_queryhelp_response import AirfieldStatusQueryhelpResponse
43
43
 
@@ -17,7 +17,7 @@ from ..._response import (
17
17
  from ...pagination import SyncOffsetPage, AsyncOffsetPage
18
18
  from ..._base_client import AsyncPaginator, make_request_options
19
19
  from ...types.airfield_status import history_list_params, history_count_params
20
- from ...types.airfieldstatus_full import AirfieldstatusFull
20
+ from ...types.shared.airfieldstatus_full import AirfieldstatusFull
21
21
 
22
22
  __all__ = ["HistoryResource", "AsyncHistoryResource"]
23
23
 
@@ -27,8 +27,8 @@ from .._response import (
27
27
  )
28
28
  from ..pagination import SyncOffsetPage, AsyncOffsetPage
29
29
  from .._base_client import AsyncPaginator, make_request_options
30
- from ..types.airfield_full import AirfieldFull
31
30
  from ..types.airfield_abridged import AirfieldAbridged
31
+ from ..types.shared.airfield_full import AirfieldFull
32
32
  from ..types.airfield_tuple_response import AirfieldTupleResponse
33
33
  from ..types.airfield_queryhelp_response import AirfieldQueryhelpResponse
34
34
 
@@ -28,8 +28,8 @@ from .._response import (
28
28
  )
29
29
  from ..pagination import SyncOffsetPage, AsyncOffsetPage
30
30
  from .._base_client import AsyncPaginator, make_request_options
31
- from ..types.airspacecontrolorder_full import AirspacecontrolorderFull
32
31
  from ..types.airspacecontrolorder_abridged import AirspacecontrolorderAbridged
32
+ from ..types.shared.airspacecontrolorder_full import AirspacecontrolorderFull
33
33
  from ..types.airspace_control_order_tuple_response import AirspaceControlOrderTupleResponse
34
34
  from ..types.airspace_control_order_query_help_response import AirspaceControlOrderQueryHelpResponse
35
35
 
@@ -38,8 +38,8 @@ from .._response import (
38
38
  )
39
39
  from ..pagination import SyncOffsetPage, AsyncOffsetPage
40
40
  from .._base_client import AsyncPaginator, make_request_options
41
- from ..types.analytic_imagery_full import AnalyticImageryFull
42
41
  from ..types.analytic_imagery_abridged import AnalyticImageryAbridged
42
+ from ..types.shared.analytic_imagery_full import AnalyticImageryFull
43
43
  from ..types.analytic_imagery_tuple_response import AnalyticImageryTupleResponse
44
44
  from ..types.analytic_imagery_history_response import AnalyticImageryHistoryResponse
45
45
  from ..types.analytic_imagery_queryhelp_response import AnalyticImageryQueryhelpResponse
@@ -26,8 +26,8 @@ from .._response import (
26
26
  )
27
27
  from ..pagination import SyncOffsetPage, AsyncOffsetPage
28
28
  from .._base_client import AsyncPaginator, make_request_options
29
- from ..types.antenna_full import AntennaFull
30
29
  from ..types.antenna_abridged import AntennaAbridged
30
+ from ..types.shared.antenna_full import AntennaFull
31
31
  from ..types.antenna_tuple_response import AntennaTupleResponse
32
32
  from ..types.antenna_queryhelp_response import AntennaQueryhelpResponse
33
33
 
@@ -26,8 +26,8 @@ from .._response import (
26
26
  )
27
27
  from ..pagination import SyncOffsetPage, AsyncOffsetPage
28
28
  from .._base_client import AsyncPaginator, make_request_options
29
- from ..types.battery_full import BatteryFull
30
29
  from ..types.battery_abridged import BatteryAbridged
30
+ from ..types.shared.battery_full import BatteryFull
31
31
  from ..types.battery_tuple_response import BatteryTupleResponse
32
32
  from ..types.battery_queryhelp_response import BatteryQueryhelpResponse
33
33
 
@@ -25,8 +25,8 @@ from .._response import (
25
25
  )
26
26
  from ..pagination import SyncOffsetPage, AsyncOffsetPage
27
27
  from .._base_client import AsyncPaginator, make_request_options
28
- from ..types.batterydetails_full import BatterydetailsFull
29
28
  from ..types.batterydetails_abridged import BatterydetailsAbridged
29
+ from ..types.shared.batterydetails_full import BatterydetailsFull
30
30
 
31
31
  __all__ = ["BatterydetailsResource", "AsyncBatterydetailsResource"]
32
32
 
@@ -26,8 +26,8 @@ from .._response import (
26
26
  )
27
27
  from ..pagination import SyncOffsetPage, AsyncOffsetPage
28
28
  from .._base_client import AsyncPaginator, make_request_options
29
- from ..types.beam_full import BeamFull
30
29
  from ..types.beam_abridged import BeamAbridged
30
+ from ..types.shared.beam_full import BeamFull
31
31
  from ..types.beam_tuple_response import BeamTupleResponse
32
32
  from ..types.beam_query_help_response import BeamQueryHelpResponse
33
33
 
@@ -28,8 +28,8 @@ from .._response import (
28
28
  )
29
29
  from ..pagination import SyncOffsetPage, AsyncOffsetPage
30
30
  from .._base_client import AsyncPaginator, make_request_options
31
- from ..types.beamcontour_full import BeamcontourFull
32
31
  from ..types.beamcontour_abridged import BeamcontourAbridged
32
+ from ..types.shared.beamcontour_full import BeamcontourFull
33
33
  from ..types.beam_contour_tuple_response import BeamContourTupleResponse
34
34
  from ..types.beam_contour_query_help_response import BeamContourQueryHelpResponse
35
35
 
@@ -27,8 +27,8 @@ from .._response import (
27
27
  )
28
28
  from ..pagination import SyncOffsetPage, AsyncOffsetPage
29
29
  from .._base_client import AsyncPaginator, make_request_options
30
- from ..types.bus_full import BusFull
31
30
  from ..types.bus_abridged import BusAbridged
31
+ from ..types.shared.bus_full import BusFull
32
32
  from ..types.bus_tuple_response import BusTupleResponse
33
33
  from ..types.entity_ingest_param import EntityIngestParam
34
34
  from ..types.bus_query_help_response import BusQueryHelpResponse
@@ -26,8 +26,8 @@ from .._response import (
26
26
  )
27
27
  from ..pagination import SyncOffsetPage, AsyncOffsetPage
28
28
  from .._base_client import AsyncPaginator, make_request_options
29
- from ..types.channel_full import ChannelFull
30
29
  from ..types.channel_abridged import ChannelAbridged
30
+ from ..types.shared.channel_full import ChannelFull
31
31
  from ..types.channel_tuple_response import ChannelTupleResponse
32
32
  from ..types.channel_queryhelp_response import ChannelQueryhelpResponse
33
33
 
@@ -26,8 +26,8 @@ from .._response import (
26
26
  )
27
27
  from ..pagination import SyncOffsetPage, AsyncOffsetPage
28
28
  from .._base_client import AsyncPaginator, make_request_options
29
- from ..types.comm_full import CommFull
30
29
  from ..types.comm_abridged import CommAbridged
30
+ from ..types.shared.comm_full import CommFull
31
31
  from ..types.comm_tuple_response import CommTupleResponse
32
32
  from ..types.entity_ingest_param import EntityIngestParam
33
33
  from ..types.comm_queryhelp_response import CommQueryhelpResponse
@@ -27,7 +27,8 @@ from .history import (
27
27
  HistoryResourceWithStreamingResponse,
28
28
  AsyncHistoryResourceWithStreamingResponse,
29
29
  )
30
- from ..._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven, FileTypes
30
+ from ..._files import read_file_content, async_read_file_content
31
+ from ..._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven, FileContent
31
32
  from ..._utils import maybe_transform, async_maybe_transform
32
33
  from ..._compat import cached_property
33
34
  from ..._resource import SyncAPIResource, AsyncAPIResource
@@ -39,8 +40,8 @@ from ..._response import (
39
40
  )
40
41
  from ...pagination import SyncOffsetPage, AsyncOffsetPage
41
42
  from ..._base_client import AsyncPaginator, make_request_options
42
- from ...types.conjunction_full import ConjunctionFull
43
43
  from ...types.conjunction_abridged import ConjunctionAbridged
44
+ from ...types.shared.conjunction_full import ConjunctionFull
44
45
  from ...types.conjunction_tuple_response import ConjunctionTupleResponse
45
46
  from ...types.conjunction_queryhelp_response import ConjunctionQueryhelpResponse
46
47
  from ...types.conjunction_get_history_response import ConjunctionGetHistoryResponse
@@ -814,12 +815,12 @@ class ConjunctionsResource(SyncAPIResource):
814
815
 
815
816
  def upload_conjunction_data_message(
816
817
  self,
818
+ aprams: FileContent,
817
819
  *,
818
820
  classification: str,
819
821
  data_mode: Literal["REAL", "TEST", "SIMULATED", "EXERCISE"],
820
822
  filename: str,
821
823
  source: str,
822
- body: FileTypes,
823
824
  tags: str | NotGiven = NOT_GIVEN,
824
825
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
825
826
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -863,11 +864,10 @@ class ConjunctionsResource(SyncAPIResource):
863
864
  timeout: Override the client-level default timeout for this request, in seconds
864
865
  """
865
866
  extra_headers = {"Accept": "*/*", **(extra_headers or {})}
867
+ extra_headers["Content-Type"] = "application/zip"
866
868
  return self._post(
867
869
  "/filedrop/cdms",
868
- body=maybe_transform(
869
- body, conjunction_upload_conjunction_data_message_params.ConjunctionUploadConjunctionDataMessageParams
870
- ),
870
+ body=read_file_content(aprams),
871
871
  options=make_request_options(
872
872
  extra_headers=extra_headers,
873
873
  extra_query=extra_query,
@@ -1654,12 +1654,12 @@ class AsyncConjunctionsResource(AsyncAPIResource):
1654
1654
 
1655
1655
  async def upload_conjunction_data_message(
1656
1656
  self,
1657
+ aprams: FileContent,
1657
1658
  *,
1658
1659
  classification: str,
1659
1660
  data_mode: Literal["REAL", "TEST", "SIMULATED", "EXERCISE"],
1660
1661
  filename: str,
1661
1662
  source: str,
1662
- body: FileTypes,
1663
1663
  tags: str | NotGiven = NOT_GIVEN,
1664
1664
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1665
1665
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1703,11 +1703,10 @@ class AsyncConjunctionsResource(AsyncAPIResource):
1703
1703
  timeout: Override the client-level default timeout for this request, in seconds
1704
1704
  """
1705
1705
  extra_headers = {"Accept": "*/*", **(extra_headers or {})}
1706
+ extra_headers["Content-Type"] = "application/zip"
1706
1707
  return await self._post(
1707
1708
  "/filedrop/cdms",
1708
- body=await async_maybe_transform(
1709
- body, conjunction_upload_conjunction_data_message_params.ConjunctionUploadConjunctionDataMessageParams
1710
- ),
1709
+ body=await async_read_file_content(aprams),
1711
1710
  options=make_request_options(
1712
1711
  extra_headers=extra_headers,
1713
1712
  extra_query=extra_query,
@@ -26,8 +26,8 @@ from .._response import (
26
26
  )
27
27
  from ..pagination import SyncOffsetPage, AsyncOffsetPage
28
28
  from .._base_client import AsyncPaginator, make_request_options
29
- from ..types.country_full import CountryFull
30
29
  from ..types.country_abridged import CountryAbridged
30
+ from ..types.shared.country_full import CountryFull
31
31
  from ..types.country_tuple_response import CountryTupleResponse
32
32
  from ..types.country_queryhelp_response import CountryQueryhelpResponse
33
33