udl-sdk 0.1.0a16__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.
- {udl_sdk-0.1.0a16.dist-info → udl_sdk-0.1.0a18.dist-info}/METADATA +1 -1
- {udl_sdk-0.1.0a16.dist-info → udl_sdk-0.1.0a18.dist-info}/RECORD +136 -129
- unifieddatalibrary/_client.py +113 -82
- unifieddatalibrary/_version.py +1 -1
- unifieddatalibrary/resources/__init__.py +28 -84
- unifieddatalibrary/resources/air_operations/__init__.py +0 -14
- unifieddatalibrary/resources/air_operations/air_operations.py +0 -32
- unifieddatalibrary/resources/air_operations/aircraft_sorties.py +1507 -37
- unifieddatalibrary/resources/air_operations/crewpapers.py +4 -4
- unifieddatalibrary/resources/airload_plans.py +1311 -59
- unifieddatalibrary/resources/attitude_sets/attitude_sets.py +106 -0
- unifieddatalibrary/resources/conjunctions/conjunctions.py +4 -4
- unifieddatalibrary/resources/gnss_raw_if/gnss_raw_if.py +801 -0
- unifieddatalibrary/resources/iono_observations/__init__.py +33 -0
- unifieddatalibrary/resources/{iono_observation → iono_observations}/history.py +2 -2
- unifieddatalibrary/resources/{ion_oobservation.py → iono_observations/iono_observations.py} +123 -91
- unifieddatalibrary/resources/logistics_support/logistics_support.py +5 -4
- unifieddatalibrary/resources/onorbitantenna.py +5 -4
- unifieddatalibrary/resources/onorbitbattery.py +5 -4
- unifieddatalibrary/resources/onorbitsolararray.py +5 -4
- unifieddatalibrary/resources/onorbitthruster.py +5 -4
- unifieddatalibrary/resources/{report_and_activity → report_and_activities}/__init__.py +13 -13
- unifieddatalibrary/resources/{report_and_activity → report_and_activities}/poi/history.py +2 -2
- unifieddatalibrary/resources/{report_and_activity/report_and_activity.py → report_and_activities/report_and_activities.py} +35 -35
- unifieddatalibrary/resources/{report_and_activity → report_and_activities}/udl_h3geo.py +1 -1
- unifieddatalibrary/resources/{report_and_activity → report_and_activities}/udl_sigact.py +1 -1
- unifieddatalibrary/resources/scs/paths.py +4 -4
- unifieddatalibrary/resources/scs/scs.py +4 -4
- unifieddatalibrary/resources/scs/v2.py +4 -4
- unifieddatalibrary/resources/status.py +5 -4
- unifieddatalibrary/resources/supporting_data/__init__.py +0 -42
- unifieddatalibrary/resources/supporting_data/dataowner.py +257 -1
- unifieddatalibrary/resources/supporting_data/supporting_data.py +0 -96
- unifieddatalibrary/resources/track_route/track_route.py +26 -23
- unifieddatalibrary/types/__init__.py +40 -30
- unifieddatalibrary/types/air_operations/__init__.py +12 -12
- unifieddatalibrary/types/air_operations/{aircraft_sortie_list_params.py → aircraft_sorty_count_params.py} +2 -2
- unifieddatalibrary/types/air_operations/aircraft_sorty_count_response.py +7 -0
- unifieddatalibrary/types/air_operations/{aircraft_sortie_create_bulk_params.py → aircraft_sorty_create_bulk_params.py} +2 -2
- unifieddatalibrary/types/air_operations/{aircraft_sortie_create_params.py → aircraft_sorty_create_params.py} +2 -2
- unifieddatalibrary/types/air_operations/{aircraft_sortie_history_aodr_params.py → aircraft_sorty_history_aodr_params.py} +2 -2
- unifieddatalibrary/types/air_operations/{aircraft_sortie_history_count_params.py → aircraft_sorty_history_count_params.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_count_response.py → air_operations/aircraft_sorty_history_count_response.py} +2 -2
- unifieddatalibrary/types/air_operations/{aircraft_sortie_history_query_params.py → aircraft_sorty_history_query_params.py} +2 -2
- unifieddatalibrary/types/air_operations/{aircraft_sortie_history_query_response.py → aircraft_sorty_history_query_response.py} +2 -2
- unifieddatalibrary/types/air_operations/{aircraft_sortie_count_params.py → aircraft_sorty_list_params.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_count_params.py → airload_plan_count_params.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_count_response.py → airload_plan_count_response.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_create_params.py → airload_plan_create_params.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_list_params.py → airload_plan_list_params.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_queryhelp_response.py → airload_plan_queryhelp_response.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_retrieve_params.py → airload_plan_retrieve_params.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_tuple_params.py → airload_plan_tuple_params.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_tuple_response.py → airload_plan_tuple_response.py} +2 -2
- unifieddatalibrary/types/altitude_blocks_ingest_param.py +22 -0
- unifieddatalibrary/types/{attitudeset_retrieve_params.py → attitude_set_retrieve_params.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_count_params.py → gnss_raw_if_count_params.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_count_response.py → gnss_raw_if_count_response.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_file_get_params.py → gnss_raw_if_file_get_params.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_get_params.py → gnss_raw_if_get_params.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_get_response.py → gnss_raw_if_get_response.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_list_params.py → gnss_raw_if_list_params.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_list_response.py → gnss_raw_if_list_response.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_queryhelp_response.py → gnss_raw_if_queryhelp_response.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_tuple_params.py → gnss_raw_if_tuple_params.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_tuple_response.py → gnss_raw_if_tuple_response.py} +3 -3
- unifieddatalibrary/types/{gnss_rawif_upload_zip_params.py → gnss_raw_if_upload_zip_params.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_count_params.py → iono_observation_count_params.py} +2 -2
- unifieddatalibrary/types/{air_operations/aircraft_sortie_count_response.py → iono_observation_count_response.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_create_bulk_params.py → iono_observation_create_bulk_params.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_list_params.py → iono_observation_list_params.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_list_response.py → iono_observation_list_response.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_queryhelp_response.py → iono_observation_queryhelp_response.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_tuple_params.py → iono_observation_tuple_params.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_tuple_response.py → iono_observation_tuple_response.py} +82 -82
- unifieddatalibrary/types/{ion_oobservation_unvalidated_publish_params.py → iono_observation_unvalidated_publish_params.py} +2 -2
- unifieddatalibrary/types/logistics_remarks_ingest_param.py +25 -0
- unifieddatalibrary/types/logistics_support_create_bulk_params.py +4 -51
- unifieddatalibrary/types/logistics_support_create_params.py +4 -49
- unifieddatalibrary/types/logistics_support_unvalidated_publish_params.py +4 -51
- unifieddatalibrary/types/logistics_support_update_params.py +4 -49
- unifieddatalibrary/types/onorbitantenna_create_params.py +3 -38
- unifieddatalibrary/types/onorbitantenna_update_params.py +3 -38
- unifieddatalibrary/types/onorbitbattery_create_params.py +3 -38
- unifieddatalibrary/types/onorbitbattery_update_params.py +3 -38
- unifieddatalibrary/types/onorbitsolararray_create_params.py +3 -38
- unifieddatalibrary/types/onorbitsolararray_update_params.py +3 -38
- unifieddatalibrary/types/onorbitthruster_create_params.py +3 -41
- unifieddatalibrary/types/onorbitthruster_update_params.py +3 -41
- unifieddatalibrary/types/point_of_contact_ingest_param.py +41 -0
- unifieddatalibrary/types/route_points_ingest_param.py +82 -0
- unifieddatalibrary/types/shared/__init__.py +5 -0
- unifieddatalibrary/types/shared/antenna_ingest.py +62 -0
- unifieddatalibrary/types/shared/battery_ingest.py +62 -0
- unifieddatalibrary/types/shared/engine_ingest.py +65 -0
- unifieddatalibrary/types/shared/solar_array_ingest.py +62 -0
- unifieddatalibrary/types/shared/sub_status_ingest.py +74 -0
- unifieddatalibrary/types/shared_params/__init__.py +5 -0
- unifieddatalibrary/types/shared_params/antenna_ingest.py +45 -0
- unifieddatalibrary/types/shared_params/battery_ingest.py +45 -0
- unifieddatalibrary/types/shared_params/engine_ingest.py +48 -0
- unifieddatalibrary/types/shared_params/solar_array_ingest.py +45 -0
- unifieddatalibrary/types/shared_params/sub_status_ingest.py +57 -0
- unifieddatalibrary/types/status_create_params.py +3 -50
- unifieddatalibrary/types/status_update_params.py +3 -50
- unifieddatalibrary/types/supporting_data/__init__.py +13 -5
- unifieddatalibrary/types/supporting_data/{query_help_retrieve_response.py → dataowner_query_help_response.py} +2 -2
- unifieddatalibrary/types/supporting_data/{dataowner_type_list_params.py → dataowner_retrieve_data_owner_types_params.py} +2 -2
- unifieddatalibrary/types/supporting_data/dataowner_retrieve_data_owner_types_response.py +8 -0
- unifieddatalibrary/types/supporting_data/{provider_metadata_retrieve_params.py → dataowner_retrieve_provider_metadata_params.py} +2 -2
- unifieddatalibrary/types/supporting_data/{provider_metadata_retrieve_response.py → dataowner_retrieve_provider_metadata_response.py} +2 -2
- unifieddatalibrary/types/track_route_create_bulk_params.py +5 -267
- unifieddatalibrary/types/track_route_create_params.py +7 -122
- unifieddatalibrary/types/track_route_ingest_param.py +157 -0
- unifieddatalibrary/types/track_route_unvalidated_publish_params.py +7 -122
- unifieddatalibrary/types/track_route_update_params.py +7 -122
- unifieddatalibrary/resources/air_load_plans.py +0 -1341
- unifieddatalibrary/resources/air_operations/aircraft_sortie.py +0 -1557
- unifieddatalibrary/resources/attitudesets.py +0 -191
- unifieddatalibrary/resources/gnss_rawif.py +0 -871
- unifieddatalibrary/resources/iono_observation/__init__.py +0 -33
- unifieddatalibrary/resources/iono_observation/iono_observation.py +0 -102
- unifieddatalibrary/resources/supporting_data/dataowner_types.py +0 -186
- unifieddatalibrary/resources/supporting_data/provider_metadata.py +0 -179
- unifieddatalibrary/resources/supporting_data/query_help.py +0 -141
- unifieddatalibrary/types/air_operations/aircraft_sortie_history_count_response.py +0 -7
- unifieddatalibrary/types/supporting_data/dataowner_type_list_response.py +0 -7
- {udl_sdk-0.1.0a16.dist-info → udl_sdk-0.1.0a18.dist-info}/WHEEL +0 -0
- {udl_sdk-0.1.0a16.dist-info → udl_sdk-0.1.0a18.dist-info}/licenses/LICENSE +0 -0
- /unifieddatalibrary/resources/{report_and_activity → report_and_activities}/poi/__init__.py +0 -0
- /unifieddatalibrary/resources/{report_and_activity → report_and_activities}/poi/poi.py +0 -0
- /unifieddatalibrary/types/{iono_observation → iono_observations}/__init__.py +0 -0
- /unifieddatalibrary/types/{iono_observation → iono_observations}/history_aodr_params.py +0 -0
- /unifieddatalibrary/types/{iono_observation → iono_observations}/history_count_params.py +0 -0
- /unifieddatalibrary/types/{iono_observation → iono_observations}/history_count_response.py +0 -0
- /unifieddatalibrary/types/{iono_observation → iono_observations}/history_list_params.py +0 -0
- /unifieddatalibrary/types/{iono_observation → iono_observations}/history_list_response.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/__init__.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/__init__.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_aodr_params.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_count_params.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_count_response.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_list_params.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_list_response.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/udl_h3geo_unvalidated_publish_params.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/udl_sigact_file_get_params.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/udl_sigact_unvalidated_publish_params.py +0 -0
@@ -0,0 +1,33 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from .history import (
|
4
|
+
HistoryResource,
|
5
|
+
AsyncHistoryResource,
|
6
|
+
HistoryResourceWithRawResponse,
|
7
|
+
AsyncHistoryResourceWithRawResponse,
|
8
|
+
HistoryResourceWithStreamingResponse,
|
9
|
+
AsyncHistoryResourceWithStreamingResponse,
|
10
|
+
)
|
11
|
+
from .iono_observations import (
|
12
|
+
IonoObservationsResource,
|
13
|
+
AsyncIonoObservationsResource,
|
14
|
+
IonoObservationsResourceWithRawResponse,
|
15
|
+
AsyncIonoObservationsResourceWithRawResponse,
|
16
|
+
IonoObservationsResourceWithStreamingResponse,
|
17
|
+
AsyncIonoObservationsResourceWithStreamingResponse,
|
18
|
+
)
|
19
|
+
|
20
|
+
__all__ = [
|
21
|
+
"HistoryResource",
|
22
|
+
"AsyncHistoryResource",
|
23
|
+
"HistoryResourceWithRawResponse",
|
24
|
+
"AsyncHistoryResourceWithRawResponse",
|
25
|
+
"HistoryResourceWithStreamingResponse",
|
26
|
+
"AsyncHistoryResourceWithStreamingResponse",
|
27
|
+
"IonoObservationsResource",
|
28
|
+
"AsyncIonoObservationsResource",
|
29
|
+
"IonoObservationsResourceWithRawResponse",
|
30
|
+
"AsyncIonoObservationsResourceWithRawResponse",
|
31
|
+
"IonoObservationsResourceWithStreamingResponse",
|
32
|
+
"AsyncIonoObservationsResourceWithStreamingResponse",
|
33
|
+
]
|
@@ -19,8 +19,8 @@ from ..._response import (
|
|
19
19
|
)
|
20
20
|
from ...pagination import SyncOffsetPage, AsyncOffsetPage
|
21
21
|
from ..._base_client import AsyncPaginator, make_request_options
|
22
|
-
from ...types.
|
23
|
-
from ...types.
|
22
|
+
from ...types.iono_observations import history_aodr_params, history_list_params, history_count_params
|
23
|
+
from ...types.iono_observations.history_list_response import HistoryListResponse
|
24
24
|
|
25
25
|
__all__ = ["HistoryResource", "AsyncHistoryResource"]
|
26
26
|
|
@@ -7,51 +7,63 @@ from datetime import datetime
|
|
7
7
|
|
8
8
|
import httpx
|
9
9
|
|
10
|
-
from
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
10
|
+
from ...types import (
|
11
|
+
iono_observation_list_params,
|
12
|
+
iono_observation_count_params,
|
13
|
+
iono_observation_tuple_params,
|
14
|
+
iono_observation_create_bulk_params,
|
15
|
+
iono_observation_unvalidated_publish_params,
|
16
16
|
)
|
17
|
-
from
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
17
|
+
from .history import (
|
18
|
+
HistoryResource,
|
19
|
+
AsyncHistoryResource,
|
20
|
+
HistoryResourceWithRawResponse,
|
21
|
+
AsyncHistoryResourceWithRawResponse,
|
22
|
+
HistoryResourceWithStreamingResponse,
|
23
|
+
AsyncHistoryResourceWithStreamingResponse,
|
24
|
+
)
|
25
|
+
from ..._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
|
26
|
+
from ..._utils import maybe_transform, async_maybe_transform
|
27
|
+
from ..._compat import cached_property
|
28
|
+
from ..._resource import SyncAPIResource, AsyncAPIResource
|
29
|
+
from ..._response import (
|
22
30
|
to_raw_response_wrapper,
|
23
31
|
to_streamed_response_wrapper,
|
24
32
|
async_to_raw_response_wrapper,
|
25
33
|
async_to_streamed_response_wrapper,
|
26
34
|
)
|
27
|
-
from
|
28
|
-
from
|
29
|
-
from
|
30
|
-
from
|
31
|
-
from
|
35
|
+
from ...pagination import SyncOffsetPage, AsyncOffsetPage
|
36
|
+
from ..._base_client import AsyncPaginator, make_request_options
|
37
|
+
from ...types.iono_observation_list_response import IonoObservationListResponse
|
38
|
+
from ...types.iono_observation_tuple_response import IonoObservationTupleResponse
|
39
|
+
from ...types.iono_observation_queryhelp_response import IonoObservationQueryhelpResponse
|
40
|
+
|
41
|
+
__all__ = ["IonoObservationsResource", "AsyncIonoObservationsResource"]
|
32
42
|
|
33
|
-
__all__ = ["IonOobservationResource", "AsyncIonOobservationResource"]
|
34
43
|
|
44
|
+
class IonoObservationsResource(SyncAPIResource):
|
45
|
+
@cached_property
|
46
|
+
def history(self) -> HistoryResource:
|
47
|
+
return HistoryResource(self._client)
|
35
48
|
|
36
|
-
class IonOobservationResource(SyncAPIResource):
|
37
49
|
@cached_property
|
38
|
-
def with_raw_response(self) ->
|
50
|
+
def with_raw_response(self) -> IonoObservationsResourceWithRawResponse:
|
39
51
|
"""
|
40
52
|
This property can be used as a prefix for any HTTP method call to return
|
41
53
|
the raw response object instead of the parsed content.
|
42
54
|
|
43
55
|
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#accessing-raw-response-data-eg-headers
|
44
56
|
"""
|
45
|
-
return
|
57
|
+
return IonoObservationsResourceWithRawResponse(self)
|
46
58
|
|
47
59
|
@cached_property
|
48
|
-
def with_streaming_response(self) ->
|
60
|
+
def with_streaming_response(self) -> IonoObservationsResourceWithStreamingResponse:
|
49
61
|
"""
|
50
62
|
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
51
63
|
|
52
64
|
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#with_streaming_response
|
53
65
|
"""
|
54
|
-
return
|
66
|
+
return IonoObservationsResourceWithStreamingResponse(self)
|
55
67
|
|
56
68
|
def list(
|
57
69
|
self,
|
@@ -65,7 +77,7 @@ class IonOobservationResource(SyncAPIResource):
|
|
65
77
|
extra_query: Query | None = None,
|
66
78
|
extra_body: Body | None = None,
|
67
79
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
68
|
-
) -> SyncOffsetPage[
|
80
|
+
) -> SyncOffsetPage[IonoObservationListResponse]:
|
69
81
|
"""
|
70
82
|
Service operation to dynamically query data by a variety of query parameters not
|
71
83
|
specified in this API documentation. See the queryhelp operation
|
@@ -85,7 +97,7 @@ class IonOobservationResource(SyncAPIResource):
|
|
85
97
|
"""
|
86
98
|
return self._get_api_list(
|
87
99
|
"/udl/ionoobservation",
|
88
|
-
page=SyncOffsetPage[
|
100
|
+
page=SyncOffsetPage[IonoObservationListResponse],
|
89
101
|
options=make_request_options(
|
90
102
|
extra_headers=extra_headers,
|
91
103
|
extra_query=extra_query,
|
@@ -97,10 +109,10 @@ class IonOobservationResource(SyncAPIResource):
|
|
97
109
|
"first_result": first_result,
|
98
110
|
"max_results": max_results,
|
99
111
|
},
|
100
|
-
|
112
|
+
iono_observation_list_params.IonoObservationListParams,
|
101
113
|
),
|
102
114
|
),
|
103
|
-
model=
|
115
|
+
model=IonoObservationListResponse,
|
104
116
|
)
|
105
117
|
|
106
118
|
def count(
|
@@ -148,7 +160,7 @@ class IonOobservationResource(SyncAPIResource):
|
|
148
160
|
"first_result": first_result,
|
149
161
|
"max_results": max_results,
|
150
162
|
},
|
151
|
-
|
163
|
+
iono_observation_count_params.IonoObservationCountParams,
|
152
164
|
),
|
153
165
|
),
|
154
166
|
cast_to=str,
|
@@ -157,7 +169,7 @@ class IonOobservationResource(SyncAPIResource):
|
|
157
169
|
def create_bulk(
|
158
170
|
self,
|
159
171
|
*,
|
160
|
-
body: Iterable[
|
172
|
+
body: Iterable[iono_observation_create_bulk_params.Body],
|
161
173
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
162
174
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
163
175
|
extra_headers: Headers | None = None,
|
@@ -184,7 +196,7 @@ class IonOobservationResource(SyncAPIResource):
|
|
184
196
|
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
185
197
|
return self._post(
|
186
198
|
"/udl/ionoobservation/createBulk",
|
187
|
-
body=maybe_transform(body, Iterable[
|
199
|
+
body=maybe_transform(body, Iterable[iono_observation_create_bulk_params.Body]),
|
188
200
|
options=make_request_options(
|
189
201
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
190
202
|
),
|
@@ -200,7 +212,7 @@ class IonOobservationResource(SyncAPIResource):
|
|
200
212
|
extra_query: Query | None = None,
|
201
213
|
extra_body: Body | None = None,
|
202
214
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
203
|
-
) ->
|
215
|
+
) -> IonoObservationQueryhelpResponse:
|
204
216
|
"""
|
205
217
|
Service operation to provide detailed information on available dynamic query
|
206
218
|
parameters for a particular data type.
|
@@ -210,7 +222,7 @@ class IonOobservationResource(SyncAPIResource):
|
|
210
222
|
options=make_request_options(
|
211
223
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
212
224
|
),
|
213
|
-
cast_to=
|
225
|
+
cast_to=IonoObservationQueryhelpResponse,
|
214
226
|
)
|
215
227
|
|
216
228
|
def tuple(
|
@@ -226,7 +238,7 @@ class IonOobservationResource(SyncAPIResource):
|
|
226
238
|
extra_query: Query | None = None,
|
227
239
|
extra_body: Body | None = None,
|
228
240
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
229
|
-
) ->
|
241
|
+
) -> IonoObservationTupleResponse:
|
230
242
|
"""
|
231
243
|
Service operation to dynamically query data and only return specified
|
232
244
|
columns/fields. Requested columns are specified by the 'columns' query parameter
|
@@ -267,16 +279,16 @@ class IonOobservationResource(SyncAPIResource):
|
|
267
279
|
"first_result": first_result,
|
268
280
|
"max_results": max_results,
|
269
281
|
},
|
270
|
-
|
282
|
+
iono_observation_tuple_params.IonoObservationTupleParams,
|
271
283
|
),
|
272
284
|
),
|
273
|
-
cast_to=
|
285
|
+
cast_to=IonoObservationTupleResponse,
|
274
286
|
)
|
275
287
|
|
276
288
|
def unvalidated_publish(
|
277
289
|
self,
|
278
290
|
*,
|
279
|
-
body: Iterable[
|
291
|
+
body: Iterable[iono_observation_unvalidated_publish_params.Body],
|
280
292
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
281
293
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
282
294
|
extra_headers: Headers | None = None,
|
@@ -303,7 +315,7 @@ class IonOobservationResource(SyncAPIResource):
|
|
303
315
|
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
304
316
|
return self._post(
|
305
317
|
"/filedrop/udl-ionoobs",
|
306
|
-
body=maybe_transform(body, Iterable[
|
318
|
+
body=maybe_transform(body, Iterable[iono_observation_unvalidated_publish_params.Body]),
|
307
319
|
options=make_request_options(
|
308
320
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
309
321
|
),
|
@@ -311,25 +323,29 @@ class IonOobservationResource(SyncAPIResource):
|
|
311
323
|
)
|
312
324
|
|
313
325
|
|
314
|
-
class
|
326
|
+
class AsyncIonoObservationsResource(AsyncAPIResource):
|
315
327
|
@cached_property
|
316
|
-
def
|
328
|
+
def history(self) -> AsyncHistoryResource:
|
329
|
+
return AsyncHistoryResource(self._client)
|
330
|
+
|
331
|
+
@cached_property
|
332
|
+
def with_raw_response(self) -> AsyncIonoObservationsResourceWithRawResponse:
|
317
333
|
"""
|
318
334
|
This property can be used as a prefix for any HTTP method call to return
|
319
335
|
the raw response object instead of the parsed content.
|
320
336
|
|
321
337
|
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#accessing-raw-response-data-eg-headers
|
322
338
|
"""
|
323
|
-
return
|
339
|
+
return AsyncIonoObservationsResourceWithRawResponse(self)
|
324
340
|
|
325
341
|
@cached_property
|
326
|
-
def with_streaming_response(self) ->
|
342
|
+
def with_streaming_response(self) -> AsyncIonoObservationsResourceWithStreamingResponse:
|
327
343
|
"""
|
328
344
|
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
329
345
|
|
330
346
|
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#with_streaming_response
|
331
347
|
"""
|
332
|
-
return
|
348
|
+
return AsyncIonoObservationsResourceWithStreamingResponse(self)
|
333
349
|
|
334
350
|
def list(
|
335
351
|
self,
|
@@ -343,7 +359,7 @@ class AsyncIonOobservationResource(AsyncAPIResource):
|
|
343
359
|
extra_query: Query | None = None,
|
344
360
|
extra_body: Body | None = None,
|
345
361
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
346
|
-
) -> AsyncPaginator[
|
362
|
+
) -> AsyncPaginator[IonoObservationListResponse, AsyncOffsetPage[IonoObservationListResponse]]:
|
347
363
|
"""
|
348
364
|
Service operation to dynamically query data by a variety of query parameters not
|
349
365
|
specified in this API documentation. See the queryhelp operation
|
@@ -363,7 +379,7 @@ class AsyncIonOobservationResource(AsyncAPIResource):
|
|
363
379
|
"""
|
364
380
|
return self._get_api_list(
|
365
381
|
"/udl/ionoobservation",
|
366
|
-
page=AsyncOffsetPage[
|
382
|
+
page=AsyncOffsetPage[IonoObservationListResponse],
|
367
383
|
options=make_request_options(
|
368
384
|
extra_headers=extra_headers,
|
369
385
|
extra_query=extra_query,
|
@@ -375,10 +391,10 @@ class AsyncIonOobservationResource(AsyncAPIResource):
|
|
375
391
|
"first_result": first_result,
|
376
392
|
"max_results": max_results,
|
377
393
|
},
|
378
|
-
|
394
|
+
iono_observation_list_params.IonoObservationListParams,
|
379
395
|
),
|
380
396
|
),
|
381
|
-
model=
|
397
|
+
model=IonoObservationListResponse,
|
382
398
|
)
|
383
399
|
|
384
400
|
async def count(
|
@@ -426,7 +442,7 @@ class AsyncIonOobservationResource(AsyncAPIResource):
|
|
426
442
|
"first_result": first_result,
|
427
443
|
"max_results": max_results,
|
428
444
|
},
|
429
|
-
|
445
|
+
iono_observation_count_params.IonoObservationCountParams,
|
430
446
|
),
|
431
447
|
),
|
432
448
|
cast_to=str,
|
@@ -435,7 +451,7 @@ class AsyncIonOobservationResource(AsyncAPIResource):
|
|
435
451
|
async def create_bulk(
|
436
452
|
self,
|
437
453
|
*,
|
438
|
-
body: Iterable[
|
454
|
+
body: Iterable[iono_observation_create_bulk_params.Body],
|
439
455
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
440
456
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
441
457
|
extra_headers: Headers | None = None,
|
@@ -462,7 +478,7 @@ class AsyncIonOobservationResource(AsyncAPIResource):
|
|
462
478
|
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
463
479
|
return await self._post(
|
464
480
|
"/udl/ionoobservation/createBulk",
|
465
|
-
body=await async_maybe_transform(body, Iterable[
|
481
|
+
body=await async_maybe_transform(body, Iterable[iono_observation_create_bulk_params.Body]),
|
466
482
|
options=make_request_options(
|
467
483
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
468
484
|
),
|
@@ -478,7 +494,7 @@ class AsyncIonOobservationResource(AsyncAPIResource):
|
|
478
494
|
extra_query: Query | None = None,
|
479
495
|
extra_body: Body | None = None,
|
480
496
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
481
|
-
) ->
|
497
|
+
) -> IonoObservationQueryhelpResponse:
|
482
498
|
"""
|
483
499
|
Service operation to provide detailed information on available dynamic query
|
484
500
|
parameters for a particular data type.
|
@@ -488,7 +504,7 @@ class AsyncIonOobservationResource(AsyncAPIResource):
|
|
488
504
|
options=make_request_options(
|
489
505
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
490
506
|
),
|
491
|
-
cast_to=
|
507
|
+
cast_to=IonoObservationQueryhelpResponse,
|
492
508
|
)
|
493
509
|
|
494
510
|
async def tuple(
|
@@ -504,7 +520,7 @@ class AsyncIonOobservationResource(AsyncAPIResource):
|
|
504
520
|
extra_query: Query | None = None,
|
505
521
|
extra_body: Body | None = None,
|
506
522
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
507
|
-
) ->
|
523
|
+
) -> IonoObservationTupleResponse:
|
508
524
|
"""
|
509
525
|
Service operation to dynamically query data and only return specified
|
510
526
|
columns/fields. Requested columns are specified by the 'columns' query parameter
|
@@ -545,16 +561,16 @@ class AsyncIonOobservationResource(AsyncAPIResource):
|
|
545
561
|
"first_result": first_result,
|
546
562
|
"max_results": max_results,
|
547
563
|
},
|
548
|
-
|
564
|
+
iono_observation_tuple_params.IonoObservationTupleParams,
|
549
565
|
),
|
550
566
|
),
|
551
|
-
cast_to=
|
567
|
+
cast_to=IonoObservationTupleResponse,
|
552
568
|
)
|
553
569
|
|
554
570
|
async def unvalidated_publish(
|
555
571
|
self,
|
556
572
|
*,
|
557
|
-
body: Iterable[
|
573
|
+
body: Iterable[iono_observation_unvalidated_publish_params.Body],
|
558
574
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
559
575
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
560
576
|
extra_headers: Headers | None = None,
|
@@ -581,7 +597,7 @@ class AsyncIonOobservationResource(AsyncAPIResource):
|
|
581
597
|
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
582
598
|
return await self._post(
|
583
599
|
"/filedrop/udl-ionoobs",
|
584
|
-
body=await async_maybe_transform(body, Iterable[
|
600
|
+
body=await async_maybe_transform(body, Iterable[iono_observation_unvalidated_publish_params.Body]),
|
585
601
|
options=make_request_options(
|
586
602
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
587
603
|
),
|
@@ -589,97 +605,113 @@ class AsyncIonOobservationResource(AsyncAPIResource):
|
|
589
605
|
)
|
590
606
|
|
591
607
|
|
592
|
-
class
|
593
|
-
def __init__(self,
|
594
|
-
self.
|
608
|
+
class IonoObservationsResourceWithRawResponse:
|
609
|
+
def __init__(self, iono_observations: IonoObservationsResource) -> None:
|
610
|
+
self._iono_observations = iono_observations
|
595
611
|
|
596
612
|
self.list = to_raw_response_wrapper(
|
597
|
-
|
613
|
+
iono_observations.list,
|
598
614
|
)
|
599
615
|
self.count = to_raw_response_wrapper(
|
600
|
-
|
616
|
+
iono_observations.count,
|
601
617
|
)
|
602
618
|
self.create_bulk = to_raw_response_wrapper(
|
603
|
-
|
619
|
+
iono_observations.create_bulk,
|
604
620
|
)
|
605
621
|
self.queryhelp = to_raw_response_wrapper(
|
606
|
-
|
622
|
+
iono_observations.queryhelp,
|
607
623
|
)
|
608
624
|
self.tuple = to_raw_response_wrapper(
|
609
|
-
|
625
|
+
iono_observations.tuple,
|
610
626
|
)
|
611
627
|
self.unvalidated_publish = to_raw_response_wrapper(
|
612
|
-
|
628
|
+
iono_observations.unvalidated_publish,
|
613
629
|
)
|
614
630
|
|
631
|
+
@cached_property
|
632
|
+
def history(self) -> HistoryResourceWithRawResponse:
|
633
|
+
return HistoryResourceWithRawResponse(self._iono_observations.history)
|
634
|
+
|
615
635
|
|
616
|
-
class
|
617
|
-
def __init__(self,
|
618
|
-
self.
|
636
|
+
class AsyncIonoObservationsResourceWithRawResponse:
|
637
|
+
def __init__(self, iono_observations: AsyncIonoObservationsResource) -> None:
|
638
|
+
self._iono_observations = iono_observations
|
619
639
|
|
620
640
|
self.list = async_to_raw_response_wrapper(
|
621
|
-
|
641
|
+
iono_observations.list,
|
622
642
|
)
|
623
643
|
self.count = async_to_raw_response_wrapper(
|
624
|
-
|
644
|
+
iono_observations.count,
|
625
645
|
)
|
626
646
|
self.create_bulk = async_to_raw_response_wrapper(
|
627
|
-
|
647
|
+
iono_observations.create_bulk,
|
628
648
|
)
|
629
649
|
self.queryhelp = async_to_raw_response_wrapper(
|
630
|
-
|
650
|
+
iono_observations.queryhelp,
|
631
651
|
)
|
632
652
|
self.tuple = async_to_raw_response_wrapper(
|
633
|
-
|
653
|
+
iono_observations.tuple,
|
634
654
|
)
|
635
655
|
self.unvalidated_publish = async_to_raw_response_wrapper(
|
636
|
-
|
656
|
+
iono_observations.unvalidated_publish,
|
637
657
|
)
|
638
658
|
|
659
|
+
@cached_property
|
660
|
+
def history(self) -> AsyncHistoryResourceWithRawResponse:
|
661
|
+
return AsyncHistoryResourceWithRawResponse(self._iono_observations.history)
|
662
|
+
|
639
663
|
|
640
|
-
class
|
641
|
-
def __init__(self,
|
642
|
-
self.
|
664
|
+
class IonoObservationsResourceWithStreamingResponse:
|
665
|
+
def __init__(self, iono_observations: IonoObservationsResource) -> None:
|
666
|
+
self._iono_observations = iono_observations
|
643
667
|
|
644
668
|
self.list = to_streamed_response_wrapper(
|
645
|
-
|
669
|
+
iono_observations.list,
|
646
670
|
)
|
647
671
|
self.count = to_streamed_response_wrapper(
|
648
|
-
|
672
|
+
iono_observations.count,
|
649
673
|
)
|
650
674
|
self.create_bulk = to_streamed_response_wrapper(
|
651
|
-
|
675
|
+
iono_observations.create_bulk,
|
652
676
|
)
|
653
677
|
self.queryhelp = to_streamed_response_wrapper(
|
654
|
-
|
678
|
+
iono_observations.queryhelp,
|
655
679
|
)
|
656
680
|
self.tuple = to_streamed_response_wrapper(
|
657
|
-
|
681
|
+
iono_observations.tuple,
|
658
682
|
)
|
659
683
|
self.unvalidated_publish = to_streamed_response_wrapper(
|
660
|
-
|
684
|
+
iono_observations.unvalidated_publish,
|
661
685
|
)
|
662
686
|
|
687
|
+
@cached_property
|
688
|
+
def history(self) -> HistoryResourceWithStreamingResponse:
|
689
|
+
return HistoryResourceWithStreamingResponse(self._iono_observations.history)
|
690
|
+
|
663
691
|
|
664
|
-
class
|
665
|
-
def __init__(self,
|
666
|
-
self.
|
692
|
+
class AsyncIonoObservationsResourceWithStreamingResponse:
|
693
|
+
def __init__(self, iono_observations: AsyncIonoObservationsResource) -> None:
|
694
|
+
self._iono_observations = iono_observations
|
667
695
|
|
668
696
|
self.list = async_to_streamed_response_wrapper(
|
669
|
-
|
697
|
+
iono_observations.list,
|
670
698
|
)
|
671
699
|
self.count = async_to_streamed_response_wrapper(
|
672
|
-
|
700
|
+
iono_observations.count,
|
673
701
|
)
|
674
702
|
self.create_bulk = async_to_streamed_response_wrapper(
|
675
|
-
|
703
|
+
iono_observations.create_bulk,
|
676
704
|
)
|
677
705
|
self.queryhelp = async_to_streamed_response_wrapper(
|
678
|
-
|
706
|
+
iono_observations.queryhelp,
|
679
707
|
)
|
680
708
|
self.tuple = async_to_streamed_response_wrapper(
|
681
|
-
|
709
|
+
iono_observations.tuple,
|
682
710
|
)
|
683
711
|
self.unvalidated_publish = async_to_streamed_response_wrapper(
|
684
|
-
|
712
|
+
iono_observations.unvalidated_publish,
|
685
713
|
)
|
714
|
+
|
715
|
+
@cached_property
|
716
|
+
def history(self) -> AsyncHistoryResourceWithStreamingResponse:
|
717
|
+
return AsyncHistoryResourceWithStreamingResponse(self._iono_observations.history)
|
@@ -38,6 +38,7 @@ 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.logistics_remarks_ingest_param import LogisticsRemarksIngestParam
|
41
42
|
from ...types.logistics_support_get_response import LogisticsSupportGetResponse
|
42
43
|
from ...types.logistics_support_list_response import LogisticsSupportListResponse
|
43
44
|
from ...types.logistics_support_tuple_response import LogisticsSupportTupleResponse
|
@@ -87,7 +88,7 @@ class LogisticsSupportResource(SyncAPIResource):
|
|
87
88
|
logistics_discrepancy_infos: Iterable[logistics_support_create_params.LogisticsDiscrepancyInfo]
|
88
89
|
| NotGiven = NOT_GIVEN,
|
89
90
|
logistics_record_id: str | NotGiven = NOT_GIVEN,
|
90
|
-
logistics_remarks: Iterable[
|
91
|
+
logistics_remarks: Iterable[LogisticsRemarksIngestParam] | NotGiven = NOT_GIVEN,
|
91
92
|
logistics_support_items: Iterable[logistics_support_create_params.LogisticsSupportItem] | NotGiven = NOT_GIVEN,
|
92
93
|
logistics_transportation_plans: Iterable[logistics_support_create_params.LogisticsTransportationPlan]
|
93
94
|
| NotGiven = NOT_GIVEN,
|
@@ -266,7 +267,7 @@ class LogisticsSupportResource(SyncAPIResource):
|
|
266
267
|
logistics_discrepancy_infos: Iterable[logistics_support_update_params.LogisticsDiscrepancyInfo]
|
267
268
|
| NotGiven = NOT_GIVEN,
|
268
269
|
logistics_record_id: str | NotGiven = NOT_GIVEN,
|
269
|
-
logistics_remarks: Iterable[
|
270
|
+
logistics_remarks: Iterable[LogisticsRemarksIngestParam] | NotGiven = NOT_GIVEN,
|
270
271
|
logistics_support_items: Iterable[logistics_support_update_params.LogisticsSupportItem] | NotGiven = NOT_GIVEN,
|
271
272
|
logistics_transportation_plans: Iterable[logistics_support_update_params.LogisticsTransportationPlan]
|
272
273
|
| NotGiven = NOT_GIVEN,
|
@@ -762,7 +763,7 @@ class AsyncLogisticsSupportResource(AsyncAPIResource):
|
|
762
763
|
logistics_discrepancy_infos: Iterable[logistics_support_create_params.LogisticsDiscrepancyInfo]
|
763
764
|
| NotGiven = NOT_GIVEN,
|
764
765
|
logistics_record_id: str | NotGiven = NOT_GIVEN,
|
765
|
-
logistics_remarks: Iterable[
|
766
|
+
logistics_remarks: Iterable[LogisticsRemarksIngestParam] | NotGiven = NOT_GIVEN,
|
766
767
|
logistics_support_items: Iterable[logistics_support_create_params.LogisticsSupportItem] | NotGiven = NOT_GIVEN,
|
767
768
|
logistics_transportation_plans: Iterable[logistics_support_create_params.LogisticsTransportationPlan]
|
768
769
|
| NotGiven = NOT_GIVEN,
|
@@ -941,7 +942,7 @@ class AsyncLogisticsSupportResource(AsyncAPIResource):
|
|
941
942
|
logistics_discrepancy_infos: Iterable[logistics_support_update_params.LogisticsDiscrepancyInfo]
|
942
943
|
| NotGiven = NOT_GIVEN,
|
943
944
|
logistics_record_id: str | NotGiven = NOT_GIVEN,
|
944
|
-
logistics_remarks: Iterable[
|
945
|
+
logistics_remarks: Iterable[LogisticsRemarksIngestParam] | NotGiven = NOT_GIVEN,
|
945
946
|
logistics_support_items: Iterable[logistics_support_update_params.LogisticsSupportItem] | NotGiven = NOT_GIVEN,
|
946
947
|
logistics_transportation_plans: Iterable[logistics_support_update_params.LogisticsTransportationPlan]
|
947
948
|
| NotGiven = NOT_GIVEN,
|
@@ -26,6 +26,7 @@ from ..pagination import SyncOffsetPage, AsyncOffsetPage
|
|
26
26
|
from .._base_client import AsyncPaginator, make_request_options
|
27
27
|
from ..types.shared.onorbit_antenna_full import OnorbitAntennaFull
|
28
28
|
from ..types.onorbitantenna_list_response import OnorbitantennaListResponse
|
29
|
+
from ..types.shared_params.antenna_ingest import AntennaIngest
|
29
30
|
|
30
31
|
__all__ = ["OnorbitantennaResource", "AsyncOnorbitantennaResource"]
|
31
32
|
|
@@ -59,7 +60,7 @@ class OnorbitantennaResource(SyncAPIResource):
|
|
59
60
|
id_on_orbit: str,
|
60
61
|
source: str,
|
61
62
|
id: str | NotGiven = NOT_GIVEN,
|
62
|
-
antenna:
|
63
|
+
antenna: AntennaIngest | NotGiven = NOT_GIVEN,
|
63
64
|
origin: str | NotGiven = NOT_GIVEN,
|
64
65
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
65
66
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
@@ -151,7 +152,7 @@ class OnorbitantennaResource(SyncAPIResource):
|
|
151
152
|
id_on_orbit: str,
|
152
153
|
source: str,
|
153
154
|
body_id: str | NotGiven = NOT_GIVEN,
|
154
|
-
antenna:
|
155
|
+
antenna: AntennaIngest | NotGiven = NOT_GIVEN,
|
155
156
|
origin: str | NotGiven = NOT_GIVEN,
|
156
157
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
157
158
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
@@ -398,7 +399,7 @@ class AsyncOnorbitantennaResource(AsyncAPIResource):
|
|
398
399
|
id_on_orbit: str,
|
399
400
|
source: str,
|
400
401
|
id: str | NotGiven = NOT_GIVEN,
|
401
|
-
antenna:
|
402
|
+
antenna: AntennaIngest | NotGiven = NOT_GIVEN,
|
402
403
|
origin: str | NotGiven = NOT_GIVEN,
|
403
404
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
404
405
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
@@ -490,7 +491,7 @@ class AsyncOnorbitantennaResource(AsyncAPIResource):
|
|
490
491
|
id_on_orbit: str,
|
491
492
|
source: str,
|
492
493
|
body_id: str | NotGiven = NOT_GIVEN,
|
493
|
-
antenna:
|
494
|
+
antenna: AntennaIngest | NotGiven = NOT_GIVEN,
|
494
495
|
origin: str | NotGiven = NOT_GIVEN,
|
495
496
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
496
497
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|