across-server-openapi-python 1.3.0__py3-none-any.whl → 1.4.0__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.
- across/sdk/v1/__init__.py +37 -7
- across/sdk/v1/api/__init__.py +2 -0
- across/sdk/v1/api/auth_api.py +1 -1
- across/sdk/v1/api/broker_alert_api.py +1017 -0
- across/sdk/v1/api/broker_event_api.py +697 -0
- across/sdk/v1/api/filter_api.py +1 -1
- across/sdk/v1/api/group_api.py +12 -12
- across/sdk/v1/api/group_invite_api.py +1 -1
- across/sdk/v1/api/group_role_api.py +7 -7
- across/sdk/v1/api/instrument_api.py +1 -1
- across/sdk/v1/api/internal_api.py +2 -2
- across/sdk/v1/api/observation_api.py +682 -52
- across/sdk/v1/api/observatory_api.py +1 -1
- across/sdk/v1/api/permission_api.py +1 -1
- across/sdk/v1/api/role_api.py +1 -1
- across/sdk/v1/api/schedule_api.py +1 -1
- across/sdk/v1/api/service_account_api.py +7 -7
- across/sdk/v1/api/telescope_api.py +1 -1
- across/sdk/v1/api/tle_api.py +1 -1
- across/sdk/v1/api/tools_api.py +1 -1
- across/sdk/v1/api/user_api.py +22 -22
- across/sdk/v1/api_client.py +1 -1
- across/sdk/v1/configuration.py +4 -4
- across/sdk/v1/exceptions.py +1 -1
- across/sdk/v1/models/__init__.py +17 -4
- across/sdk/v1/models/access_token_response.py +1 -1
- across/sdk/v1/models/across_server_routes_v1_group_role_schemas_group.py +91 -0
- across/sdk/v1/models/across_server_routes_v1_group_role_schemas_user.py +1 -1
- across/sdk/v1/models/across_server_routes_v1_group_schemas_group.py +7 -7
- across/sdk/v1/models/across_server_routes_v1_group_schemas_user.py +1 -1
- across/sdk/v1/models/across_server_routes_v1_role_schemas_user.py +95 -0
- across/sdk/v1/models/across_server_routes_v1_user_schemas_group_invite.py +1 -1
- across/sdk/v1/models/across_server_routes_v1_user_schemas_group_role.py +105 -0
- across/sdk/v1/models/across_server_routes_v1_user_service_account_schemas_service_account.py +1 -1
- across/sdk/v1/models/bandpass.py +1 -1
- across/sdk/v1/models/bandpass_type.py +1 -1
- across/sdk/v1/models/broker_alert.py +104 -0
- across/sdk/v1/models/broker_alert_create.py +115 -0
- across/sdk/v1/models/broker_alert_data_source.py +39 -0
- across/sdk/v1/models/broker_alert_status.py +41 -0
- across/sdk/v1/models/broker_event.py +115 -0
- across/sdk/v1/models/broker_event_type.py +41 -0
- across/sdk/v1/models/constrained_date.py +1 -1
- across/sdk/v1/models/constraint_reason.py +1 -1
- across/sdk/v1/models/constraint_type.py +1 -1
- across/sdk/v1/models/coordinate.py +1 -1
- across/sdk/v1/models/date_range.py +1 -1
- across/sdk/v1/models/depth_unit.py +1 -1
- across/sdk/v1/models/energy_bandpass.py +1 -1
- across/sdk/v1/models/energy_unit.py +1 -1
- across/sdk/v1/models/ephemeris_type.py +1 -1
- across/sdk/v1/models/filter.py +1 -1
- across/sdk/v1/models/frequency_bandpass.py +1 -1
- across/sdk/v1/models/frequency_unit.py +1 -1
- across/sdk/v1/models/grant_type.py +1 -1
- across/sdk/v1/models/ground_parameters.py +1 -1
- across/sdk/v1/models/group.py +5 -15
- across/sdk/v1/models/group_base.py +91 -0
- across/sdk/v1/models/group_invite.py +1 -1
- across/sdk/v1/models/group_invite_create.py +1 -1
- across/sdk/v1/models/group_invite_group_details.py +1 -1
- across/sdk/v1/models/group_read.py +1 -1
- across/sdk/v1/models/group_role.py +37 -6
- across/sdk/v1/models/group_role_create.py +1 -1
- across/sdk/v1/models/group_role_read.py +9 -3
- across/sdk/v1/models/http_validation_error.py +1 -1
- across/sdk/v1/models/id_name_schema.py +1 -1
- across/sdk/v1/models/instrument.py +1 -1
- across/sdk/v1/models/ivoa_obs_category.py +1 -1
- across/sdk/v1/models/ivoa_obs_tracking_type.py +1 -1
- across/sdk/v1/models/joint_visibility_result.py +1 -1
- across/sdk/v1/models/jpl_parameters.py +1 -1
- across/sdk/v1/models/localization.py +127 -0
- across/sdk/v1/models/localization_contour_base.py +95 -0
- across/sdk/v1/models/localization_create.py +121 -0
- across/sdk/v1/models/name_resolver.py +1 -1
- across/sdk/v1/models/nullable_date_range.py +1 -1
- across/sdk/v1/models/observation.py +1 -1
- across/sdk/v1/models/observation_create.py +1 -1
- across/sdk/v1/models/observation_footprint.py +1 -1
- across/sdk/v1/models/observation_footprint_create.py +1 -1
- across/sdk/v1/models/observation_status.py +1 -1
- across/sdk/v1/models/observation_strategy.py +1 -1
- across/sdk/v1/models/observation_type.py +1 -1
- across/sdk/v1/models/observatory.py +1 -1
- across/sdk/v1/models/observatory_ephemeris_type.py +1 -1
- across/sdk/v1/models/observatory_type.py +1 -1
- across/sdk/v1/models/page_broker_alert.py +116 -0
- across/sdk/v1/models/page_broker_event.py +116 -0
- across/sdk/v1/models/page_observation.py +1 -1
- across/sdk/v1/models/page_schedule.py +1 -1
- across/sdk/v1/models/parameters.py +1 -1
- across/sdk/v1/models/permission.py +1 -1
- across/sdk/v1/models/point.py +1 -1
- across/sdk/v1/models/role.py +4 -4
- across/sdk/v1/models/role_base.py +1 -1
- across/sdk/v1/models/schedule.py +1 -1
- across/sdk/v1/models/schedule_cadence.py +1 -1
- across/sdk/v1/models/schedule_create.py +1 -1
- across/sdk/v1/models/schedule_create_many.py +1 -1
- across/sdk/v1/models/schedule_fidelity.py +1 -1
- across/sdk/v1/models/schedule_status.py +1 -1
- across/sdk/v1/models/service_account.py +1 -1
- across/sdk/v1/models/service_account_create.py +1 -1
- across/sdk/v1/models/service_account_secret.py +1 -1
- across/sdk/v1/models/service_account_update.py +1 -1
- across/sdk/v1/models/spice_parameters.py +1 -1
- across/sdk/v1/models/system_service_account.py +1 -1
- across/sdk/v1/models/telescope.py +1 -1
- across/sdk/v1/models/telescope_instrument.py +1 -1
- across/sdk/v1/models/tle.py +1 -1
- across/sdk/v1/models/tle_create.py +1 -1
- across/sdk/v1/models/tle_parameters.py +1 -1
- across/sdk/v1/models/unit_value.py +1 -1
- across/sdk/v1/models/user.py +47 -7
- across/sdk/v1/models/user_create.py +1 -1
- across/sdk/v1/models/user_info.py +1 -1
- across/sdk/v1/models/user_update.py +1 -1
- across/sdk/v1/models/validation_error.py +1 -1
- across/sdk/v1/models/validation_error_loc_inner.py +1 -1
- across/sdk/v1/models/visibility_result.py +1 -1
- across/sdk/v1/models/visibility_type.py +1 -1
- across/sdk/v1/models/visibility_window.py +1 -1
- across/sdk/v1/models/wavelength_bandpass.py +1 -1
- across/sdk/v1/models/wavelength_unit.py +1 -1
- across/sdk/v1/models/window.py +1 -1
- across/sdk/v1/rest.py +1 -1
- {across_server_openapi_python-1.3.0.dist-info → across_server_openapi_python-1.4.0.dist-info}/METADATA +34 -15
- across_server_openapi_python-1.4.0.dist-info/RECORD +143 -0
- across_server_openapi_python-1.3.0.dist-info/RECORD +0 -126
- {across_server_openapi_python-1.3.0.dist-info → across_server_openapi_python-1.4.0.dist-info}/WHEEL +0 -0
- {across_server_openapi_python-1.3.0.dist-info → across_server_openapi_python-1.4.0.dist-info}/licenses/LICENSE +0 -0
- {across_server_openapi_python-1.3.0.dist-info → across_server_openapi_python-1.4.0.dist-info}/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.6.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.6.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
across/sdk/v1/api/role_api.py
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.6.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.6.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.6.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -617,7 +617,7 @@ class ServiceAccountApi:
|
|
|
617
617
|
|
|
618
618
|
return self.api_client.param_serialize(
|
|
619
619
|
method='POST',
|
|
620
|
-
resource_path='/user/{user_id}/
|
|
620
|
+
resource_path='/user/{user_id}/service-account/',
|
|
621
621
|
path_params=_path_params,
|
|
622
622
|
query_params=_query_params,
|
|
623
623
|
header_params=_header_params,
|
|
@@ -899,7 +899,7 @@ class ServiceAccountApi:
|
|
|
899
899
|
|
|
900
900
|
return self.api_client.param_serialize(
|
|
901
901
|
method='DELETE',
|
|
902
|
-
resource_path='/user/{user_id}/
|
|
902
|
+
resource_path='/user/{user_id}/service-account/{service_account_id}',
|
|
903
903
|
path_params=_path_params,
|
|
904
904
|
query_params=_query_params,
|
|
905
905
|
header_params=_header_params,
|
|
@@ -1166,7 +1166,7 @@ class ServiceAccountApi:
|
|
|
1166
1166
|
|
|
1167
1167
|
return self.api_client.param_serialize(
|
|
1168
1168
|
method='GET',
|
|
1169
|
-
resource_path='/user/{user_id}/
|
|
1169
|
+
resource_path='/user/{user_id}/service-account/',
|
|
1170
1170
|
path_params=_path_params,
|
|
1171
1171
|
query_params=_query_params,
|
|
1172
1172
|
header_params=_header_params,
|
|
@@ -1448,7 +1448,7 @@ class ServiceAccountApi:
|
|
|
1448
1448
|
|
|
1449
1449
|
return self.api_client.param_serialize(
|
|
1450
1450
|
method='GET',
|
|
1451
|
-
resource_path='/user/{user_id}/
|
|
1451
|
+
resource_path='/user/{user_id}/service-account/{service_account_id}',
|
|
1452
1452
|
path_params=_path_params,
|
|
1453
1453
|
query_params=_query_params,
|
|
1454
1454
|
header_params=_header_params,
|
|
@@ -2055,7 +2055,7 @@ class ServiceAccountApi:
|
|
|
2055
2055
|
|
|
2056
2056
|
return self.api_client.param_serialize(
|
|
2057
2057
|
method='PATCH',
|
|
2058
|
-
resource_path='/user/{user_id}/
|
|
2058
|
+
resource_path='/user/{user_id}/service-account/{service_account_id}',
|
|
2059
2059
|
path_params=_path_params,
|
|
2060
2060
|
query_params=_query_params,
|
|
2061
2061
|
header_params=_header_params,
|
|
@@ -2337,7 +2337,7 @@ class ServiceAccountApi:
|
|
|
2337
2337
|
|
|
2338
2338
|
return self.api_client.param_serialize(
|
|
2339
2339
|
method='PATCH',
|
|
2340
|
-
resource_path='/user/{user_id}/
|
|
2340
|
+
resource_path='/user/{user_id}/service-account/{service_account_id}/rotate-key',
|
|
2341
2341
|
path_params=_path_params,
|
|
2342
2342
|
query_params=_query_params,
|
|
2343
2343
|
header_params=_header_params,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.6.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
across/sdk/v1/api/tle_api.py
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.6.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
across/sdk/v1/api/tools_api.py
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.6.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
across/sdk/v1/api/user_api.py
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.6.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -19,7 +19,7 @@ from typing_extensions import Annotated
|
|
|
19
19
|
from pydantic import StrictStr
|
|
20
20
|
from typing import Any, Dict, List
|
|
21
21
|
from across.sdk.v1.models.across_server_routes_v1_user_schemas_group_invite import AcrossServerRoutesV1UserSchemasGroupInvite
|
|
22
|
-
from across.sdk.v1.models.
|
|
22
|
+
from across.sdk.v1.models.user import User
|
|
23
23
|
from across.sdk.v1.models.user_create import UserCreate
|
|
24
24
|
from across.sdk.v1.models.user_update import UserUpdate
|
|
25
25
|
|
|
@@ -901,7 +901,7 @@ class UserApi:
|
|
|
901
901
|
_content_type: Optional[StrictStr] = None,
|
|
902
902
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
903
903
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
904
|
-
) ->
|
|
904
|
+
) -> User:
|
|
905
905
|
"""Deactivate a user
|
|
906
906
|
|
|
907
907
|
Deactivate a user in the ACROSS system. This will also deactivate all associated relations for the user and expire existing service accounts.
|
|
@@ -939,7 +939,7 @@ class UserApi:
|
|
|
939
939
|
)
|
|
940
940
|
|
|
941
941
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
942
|
-
'200': "
|
|
942
|
+
'200': "User",
|
|
943
943
|
'404': None,
|
|
944
944
|
'422': "HTTPValidationError",
|
|
945
945
|
}
|
|
@@ -970,7 +970,7 @@ class UserApi:
|
|
|
970
970
|
_content_type: Optional[StrictStr] = None,
|
|
971
971
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
972
972
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
973
|
-
) -> ApiResponse[
|
|
973
|
+
) -> ApiResponse[User]:
|
|
974
974
|
"""Deactivate a user
|
|
975
975
|
|
|
976
976
|
Deactivate a user in the ACROSS system. This will also deactivate all associated relations for the user and expire existing service accounts.
|
|
@@ -1008,7 +1008,7 @@ class UserApi:
|
|
|
1008
1008
|
)
|
|
1009
1009
|
|
|
1010
1010
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1011
|
-
'200': "
|
|
1011
|
+
'200': "User",
|
|
1012
1012
|
'404': None,
|
|
1013
1013
|
'422': "HTTPValidationError",
|
|
1014
1014
|
}
|
|
@@ -1077,7 +1077,7 @@ class UserApi:
|
|
|
1077
1077
|
)
|
|
1078
1078
|
|
|
1079
1079
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1080
|
-
'200': "
|
|
1080
|
+
'200': "User",
|
|
1081
1081
|
'404': None,
|
|
1082
1082
|
'422': "HTTPValidationError",
|
|
1083
1083
|
}
|
|
@@ -1434,7 +1434,7 @@ class UserApi:
|
|
|
1434
1434
|
_content_type: Optional[StrictStr] = None,
|
|
1435
1435
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1436
1436
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1437
|
-
) -> List[
|
|
1437
|
+
) -> List[User]:
|
|
1438
1438
|
"""Read users
|
|
1439
1439
|
|
|
1440
1440
|
Read many users
|
|
@@ -1469,7 +1469,7 @@ class UserApi:
|
|
|
1469
1469
|
)
|
|
1470
1470
|
|
|
1471
1471
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1472
|
-
'200': "List[
|
|
1472
|
+
'200': "List[User]",
|
|
1473
1473
|
'404': None,
|
|
1474
1474
|
}
|
|
1475
1475
|
response_data = self.api_client.call_api(
|
|
@@ -1498,7 +1498,7 @@ class UserApi:
|
|
|
1498
1498
|
_content_type: Optional[StrictStr] = None,
|
|
1499
1499
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1500
1500
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1501
|
-
) -> ApiResponse[List[
|
|
1501
|
+
) -> ApiResponse[List[User]]:
|
|
1502
1502
|
"""Read users
|
|
1503
1503
|
|
|
1504
1504
|
Read many users
|
|
@@ -1533,7 +1533,7 @@ class UserApi:
|
|
|
1533
1533
|
)
|
|
1534
1534
|
|
|
1535
1535
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1536
|
-
'200': "List[
|
|
1536
|
+
'200': "List[User]",
|
|
1537
1537
|
'404': None,
|
|
1538
1538
|
}
|
|
1539
1539
|
response_data = self.api_client.call_api(
|
|
@@ -1597,7 +1597,7 @@ class UserApi:
|
|
|
1597
1597
|
)
|
|
1598
1598
|
|
|
1599
1599
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1600
|
-
'200': "List[
|
|
1600
|
+
'200': "List[User]",
|
|
1601
1601
|
'404': None,
|
|
1602
1602
|
}
|
|
1603
1603
|
response_data = self.api_client.call_api(
|
|
@@ -1683,7 +1683,7 @@ class UserApi:
|
|
|
1683
1683
|
_content_type: Optional[StrictStr] = None,
|
|
1684
1684
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1685
1685
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1686
|
-
) ->
|
|
1686
|
+
) -> User:
|
|
1687
1687
|
"""Read a user
|
|
1688
1688
|
|
|
1689
1689
|
Read a user by a user ID.
|
|
@@ -1721,7 +1721,7 @@ class UserApi:
|
|
|
1721
1721
|
)
|
|
1722
1722
|
|
|
1723
1723
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1724
|
-
'200': "
|
|
1724
|
+
'200': "User",
|
|
1725
1725
|
'404': None,
|
|
1726
1726
|
'422': "HTTPValidationError",
|
|
1727
1727
|
}
|
|
@@ -1752,7 +1752,7 @@ class UserApi:
|
|
|
1752
1752
|
_content_type: Optional[StrictStr] = None,
|
|
1753
1753
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1754
1754
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1755
|
-
) -> ApiResponse[
|
|
1755
|
+
) -> ApiResponse[User]:
|
|
1756
1756
|
"""Read a user
|
|
1757
1757
|
|
|
1758
1758
|
Read a user by a user ID.
|
|
@@ -1790,7 +1790,7 @@ class UserApi:
|
|
|
1790
1790
|
)
|
|
1791
1791
|
|
|
1792
1792
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1793
|
-
'200': "
|
|
1793
|
+
'200': "User",
|
|
1794
1794
|
'404': None,
|
|
1795
1795
|
'422': "HTTPValidationError",
|
|
1796
1796
|
}
|
|
@@ -1859,7 +1859,7 @@ class UserApi:
|
|
|
1859
1859
|
)
|
|
1860
1860
|
|
|
1861
1861
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1862
|
-
'200': "
|
|
1862
|
+
'200': "User",
|
|
1863
1863
|
'404': None,
|
|
1864
1864
|
'422': "HTTPValidationError",
|
|
1865
1865
|
}
|
|
@@ -2233,7 +2233,7 @@ class UserApi:
|
|
|
2233
2233
|
_content_type: Optional[StrictStr] = None,
|
|
2234
2234
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2235
2235
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2236
|
-
) ->
|
|
2236
|
+
) -> User:
|
|
2237
2237
|
"""Update a user
|
|
2238
2238
|
|
|
2239
2239
|
Update a user's information for the allowed properties.
|
|
@@ -2274,7 +2274,7 @@ class UserApi:
|
|
|
2274
2274
|
)
|
|
2275
2275
|
|
|
2276
2276
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2277
|
-
'200': "
|
|
2277
|
+
'200': "User",
|
|
2278
2278
|
'404': None,
|
|
2279
2279
|
'422': "HTTPValidationError",
|
|
2280
2280
|
}
|
|
@@ -2306,7 +2306,7 @@ class UserApi:
|
|
|
2306
2306
|
_content_type: Optional[StrictStr] = None,
|
|
2307
2307
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2308
2308
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2309
|
-
) -> ApiResponse[
|
|
2309
|
+
) -> ApiResponse[User]:
|
|
2310
2310
|
"""Update a user
|
|
2311
2311
|
|
|
2312
2312
|
Update a user's information for the allowed properties.
|
|
@@ -2347,7 +2347,7 @@ class UserApi:
|
|
|
2347
2347
|
)
|
|
2348
2348
|
|
|
2349
2349
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2350
|
-
'200': "
|
|
2350
|
+
'200': "User",
|
|
2351
2351
|
'404': None,
|
|
2352
2352
|
'422': "HTTPValidationError",
|
|
2353
2353
|
}
|
|
@@ -2420,7 +2420,7 @@ class UserApi:
|
|
|
2420
2420
|
)
|
|
2421
2421
|
|
|
2422
2422
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2423
|
-
'200': "
|
|
2423
|
+
'200': "User",
|
|
2424
2424
|
'404': None,
|
|
2425
2425
|
'422': "HTTPValidationError",
|
|
2426
2426
|
}
|
across/sdk/v1/api_client.py
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.6.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
across/sdk/v1/configuration.py
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.6.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -207,7 +207,7 @@ conf = across.sdk.v1.Configuration(
|
|
|
207
207
|
) -> None:
|
|
208
208
|
"""Constructor
|
|
209
209
|
"""
|
|
210
|
-
self._base_path = "/
|
|
210
|
+
self._base_path = "/v1" if host is None else host
|
|
211
211
|
"""Default Base url
|
|
212
212
|
"""
|
|
213
213
|
self.server_index = 0 if server_index is None and host is None else server_index
|
|
@@ -533,7 +533,7 @@ conf = across.sdk.v1.Configuration(
|
|
|
533
533
|
return "Python SDK Debug Report:\n"\
|
|
534
534
|
"OS: {env}\n"\
|
|
535
535
|
"Python Version: {pyversion}\n"\
|
|
536
|
-
"Version of the API: 1.
|
|
536
|
+
"Version of the API: 1.6.0\n"\
|
|
537
537
|
"SDK Package Version: 1.0.0".\
|
|
538
538
|
format(env=sys.platform, pyversion=sys.version)
|
|
539
539
|
|
|
@@ -544,7 +544,7 @@ conf = across.sdk.v1.Configuration(
|
|
|
544
544
|
"""
|
|
545
545
|
return [
|
|
546
546
|
{
|
|
547
|
-
'url': "/
|
|
547
|
+
'url': "/v1",
|
|
548
548
|
'description': "No description provided",
|
|
549
549
|
}
|
|
550
550
|
]
|
across/sdk/v1/exceptions.py
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.6.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
across/sdk/v1/models/__init__.py
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
|
|
8
8
|
|
|
9
|
-
The version of the OpenAPI document: 1.
|
|
9
|
+
The version of the OpenAPI document: 1.6.0
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
@@ -15,15 +15,22 @@
|
|
|
15
15
|
|
|
16
16
|
# import models into model package
|
|
17
17
|
from across.sdk.v1.models.access_token_response import AccessTokenResponse
|
|
18
|
-
from across.sdk.v1.models.
|
|
18
|
+
from across.sdk.v1.models.across_server_routes_v1_group_role_schemas_group import AcrossServerRoutesV1GroupRoleSchemasGroup
|
|
19
19
|
from across.sdk.v1.models.across_server_routes_v1_group_role_schemas_user import AcrossServerRoutesV1GroupRoleSchemasUser
|
|
20
|
+
from across.sdk.v1.models.across_server_routes_v1_group_schemas_group import AcrossServerRoutesV1GroupSchemasGroup
|
|
20
21
|
from across.sdk.v1.models.across_server_routes_v1_group_schemas_user import AcrossServerRoutesV1GroupSchemasUser
|
|
21
|
-
from across.sdk.v1.models.
|
|
22
|
+
from across.sdk.v1.models.across_server_routes_v1_role_schemas_user import AcrossServerRoutesV1RoleSchemasUser
|
|
22
23
|
from across.sdk.v1.models.across_server_routes_v1_user_schemas_group_invite import AcrossServerRoutesV1UserSchemasGroupInvite
|
|
23
|
-
from across.sdk.v1.models.
|
|
24
|
+
from across.sdk.v1.models.across_server_routes_v1_user_schemas_group_role import AcrossServerRoutesV1UserSchemasGroupRole
|
|
24
25
|
from across.sdk.v1.models.across_server_routes_v1_user_service_account_schemas_service_account import AcrossServerRoutesV1UserServiceAccountSchemasServiceAccount
|
|
25
26
|
from across.sdk.v1.models.bandpass import Bandpass
|
|
26
27
|
from across.sdk.v1.models.bandpass_type import BandpassType
|
|
28
|
+
from across.sdk.v1.models.broker_alert import BrokerAlert
|
|
29
|
+
from across.sdk.v1.models.broker_alert_create import BrokerAlertCreate
|
|
30
|
+
from across.sdk.v1.models.broker_alert_data_source import BrokerAlertDataSource
|
|
31
|
+
from across.sdk.v1.models.broker_alert_status import BrokerAlertStatus
|
|
32
|
+
from across.sdk.v1.models.broker_event import BrokerEvent
|
|
33
|
+
from across.sdk.v1.models.broker_event_type import BrokerEventType
|
|
27
34
|
from across.sdk.v1.models.constrained_date import ConstrainedDate
|
|
28
35
|
from across.sdk.v1.models.constraint_reason import ConstraintReason
|
|
29
36
|
from across.sdk.v1.models.constraint_type import ConstraintType
|
|
@@ -39,6 +46,7 @@ from across.sdk.v1.models.frequency_unit import FrequencyUnit
|
|
|
39
46
|
from across.sdk.v1.models.grant_type import GrantType
|
|
40
47
|
from across.sdk.v1.models.ground_parameters import GroundParameters
|
|
41
48
|
from across.sdk.v1.models.group import Group
|
|
49
|
+
from across.sdk.v1.models.group_base import GroupBase
|
|
42
50
|
from across.sdk.v1.models.group_invite import GroupInvite
|
|
43
51
|
from across.sdk.v1.models.group_invite_create import GroupInviteCreate
|
|
44
52
|
from across.sdk.v1.models.group_invite_group_details import GroupInviteGroupDetails
|
|
@@ -53,6 +61,9 @@ from across.sdk.v1.models.ivoa_obs_tracking_type import IVOAObsTrackingType
|
|
|
53
61
|
from across.sdk.v1.models.instrument import Instrument
|
|
54
62
|
from across.sdk.v1.models.jpl_parameters import JPLParameters
|
|
55
63
|
from across.sdk.v1.models.joint_visibility_result import JointVisibilityResult
|
|
64
|
+
from across.sdk.v1.models.localization import Localization
|
|
65
|
+
from across.sdk.v1.models.localization_contour_base import LocalizationContourBase
|
|
66
|
+
from across.sdk.v1.models.localization_create import LocalizationCreate
|
|
56
67
|
from across.sdk.v1.models.name_resolver import NameResolver
|
|
57
68
|
from across.sdk.v1.models.nullable_date_range import NullableDateRange
|
|
58
69
|
from across.sdk.v1.models.observation import Observation
|
|
@@ -65,6 +76,8 @@ from across.sdk.v1.models.observation_type import ObservationType
|
|
|
65
76
|
from across.sdk.v1.models.observatory import Observatory
|
|
66
77
|
from across.sdk.v1.models.observatory_ephemeris_type import ObservatoryEphemerisType
|
|
67
78
|
from across.sdk.v1.models.observatory_type import ObservatoryType
|
|
79
|
+
from across.sdk.v1.models.page_broker_alert import PageBrokerAlert
|
|
80
|
+
from across.sdk.v1.models.page_broker_event import PageBrokerEvent
|
|
68
81
|
from across.sdk.v1.models.page_observation import PageObservation
|
|
69
82
|
from across.sdk.v1.models.page_schedule import PageSchedule
|
|
70
83
|
from across.sdk.v1.models.parameters import Parameters
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.6.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
ACROSS Server
|
|
5
|
+
|
|
6
|
+
Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.6.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class AcrossServerRoutesV1GroupRoleSchemasGroup(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
AcrossServerRoutesV1GroupRoleSchemasGroup
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
id: StrictStr
|
|
30
|
+
name: StrictStr
|
|
31
|
+
short_name: StrictStr
|
|
32
|
+
__properties: ClassVar[List[str]] = ["id", "name", "short_name"]
|
|
33
|
+
|
|
34
|
+
model_config = ConfigDict(
|
|
35
|
+
populate_by_name=True,
|
|
36
|
+
validate_assignment=True,
|
|
37
|
+
protected_namespaces=(),
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def to_str(self) -> str:
|
|
42
|
+
"""Returns the string representation of the model using alias"""
|
|
43
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
44
|
+
|
|
45
|
+
def to_json(self) -> str:
|
|
46
|
+
"""Returns the JSON representation of the model using alias"""
|
|
47
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
48
|
+
return json.dumps(self.to_dict())
|
|
49
|
+
|
|
50
|
+
@classmethod
|
|
51
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
52
|
+
"""Create an instance of AcrossServerRoutesV1GroupRoleSchemasGroup from a JSON string"""
|
|
53
|
+
return cls.from_dict(json.loads(json_str))
|
|
54
|
+
|
|
55
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
56
|
+
"""Return the dictionary representation of the model using alias.
|
|
57
|
+
|
|
58
|
+
This has the following differences from calling pydantic's
|
|
59
|
+
`self.model_dump(by_alias=True)`:
|
|
60
|
+
|
|
61
|
+
* `None` is only added to the output dict for nullable fields that
|
|
62
|
+
were set at model initialization. Other fields with value `None`
|
|
63
|
+
are ignored.
|
|
64
|
+
"""
|
|
65
|
+
excluded_fields: Set[str] = set([
|
|
66
|
+
])
|
|
67
|
+
|
|
68
|
+
_dict = self.model_dump(
|
|
69
|
+
by_alias=True,
|
|
70
|
+
exclude=excluded_fields,
|
|
71
|
+
exclude_none=True,
|
|
72
|
+
)
|
|
73
|
+
return _dict
|
|
74
|
+
|
|
75
|
+
@classmethod
|
|
76
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
77
|
+
"""Create an instance of AcrossServerRoutesV1GroupRoleSchemasGroup from a dict"""
|
|
78
|
+
if obj is None:
|
|
79
|
+
return None
|
|
80
|
+
|
|
81
|
+
if not isinstance(obj, dict):
|
|
82
|
+
return cls.model_validate(obj)
|
|
83
|
+
|
|
84
|
+
_obj = cls.model_validate({
|
|
85
|
+
"id": obj.get("id"),
|
|
86
|
+
"name": obj.get("name"),
|
|
87
|
+
"short_name": obj.get("short_name")
|
|
88
|
+
})
|
|
89
|
+
return _obj
|
|
90
|
+
|
|
91
|
+
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.6.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.6.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -19,8 +19,8 @@ import json
|
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List
|
|
22
|
-
from across.sdk.v1.models.
|
|
23
|
-
from across.sdk.v1.models.
|
|
22
|
+
from across.sdk.v1.models.across_server_routes_v1_group_schemas_user import AcrossServerRoutesV1GroupSchemasUser
|
|
23
|
+
from across.sdk.v1.models.group_role import GroupRole
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
@@ -31,8 +31,8 @@ class AcrossServerRoutesV1GroupSchemasGroup(BaseModel):
|
|
|
31
31
|
id: StrictStr
|
|
32
32
|
name: StrictStr
|
|
33
33
|
short_name: StrictStr
|
|
34
|
-
users: List[
|
|
35
|
-
roles: List[
|
|
34
|
+
users: List[AcrossServerRoutesV1GroupSchemasUser]
|
|
35
|
+
roles: List[GroupRole]
|
|
36
36
|
__properties: ClassVar[List[str]] = ["id", "name", "short_name", "users", "roles"]
|
|
37
37
|
|
|
38
38
|
model_config = ConfigDict(
|
|
@@ -103,8 +103,8 @@ class AcrossServerRoutesV1GroupSchemasGroup(BaseModel):
|
|
|
103
103
|
"id": obj.get("id"),
|
|
104
104
|
"name": obj.get("name"),
|
|
105
105
|
"short_name": obj.get("short_name"),
|
|
106
|
-
"users": [
|
|
107
|
-
"roles": [
|
|
106
|
+
"users": [AcrossServerRoutesV1GroupSchemasUser.from_dict(_item) for _item in obj["users"]] if obj.get("users") is not None else None,
|
|
107
|
+
"roles": [GroupRole.from_dict(_item) for _item in obj["roles"]] if obj.get("roles") is not None else None
|
|
108
108
|
})
|
|
109
109
|
return _obj
|
|
110
110
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.6.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|