across-server-openapi-python 1.2.0__py3-none-any.whl → 1.3.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.
Files changed (119) hide show
  1. across/sdk/v1/__init__.py +9 -5
  2. across/sdk/v1/api/__init__.py +1 -0
  3. across/sdk/v1/api/auth_api.py +269 -1
  4. across/sdk/v1/api/filter_api.py +1 -1
  5. across/sdk/v1/api/group_api.py +256 -7
  6. across/sdk/v1/api/group_invite_api.py +1 -1
  7. across/sdk/v1/api/group_role_api.py +1 -1
  8. across/sdk/v1/api/instrument_api.py +1 -1
  9. across/sdk/v1/api/internal_api.py +1 -1
  10. across/sdk/v1/api/observation_api.py +1 -1
  11. across/sdk/v1/api/observatory_api.py +1 -1
  12. across/sdk/v1/api/permission_api.py +1 -1
  13. across/sdk/v1/api/role_api.py +552 -0
  14. across/sdk/v1/api/schedule_api.py +1 -1
  15. across/sdk/v1/api/service_account_api.py +1 -1
  16. across/sdk/v1/api/telescope_api.py +35 -1
  17. across/sdk/v1/api/tle_api.py +1 -1
  18. across/sdk/v1/api/tools_api.py +1 -1
  19. across/sdk/v1/api/user_api.py +249 -1
  20. across/sdk/v1/api_client.py +1 -1
  21. across/sdk/v1/configuration.py +2 -2
  22. across/sdk/v1/exceptions.py +1 -1
  23. across/sdk/v1/models/__init__.py +4 -3
  24. across/sdk/v1/models/access_token_response.py +1 -1
  25. across/sdk/v1/models/across_server_routes_v1_group_role_schemas_group_role.py +1 -1
  26. across/sdk/v1/models/across_server_routes_v1_group_role_schemas_user.py +1 -1
  27. across/sdk/v1/models/across_server_routes_v1_group_schemas_user.py +105 -0
  28. across/sdk/v1/models/across_server_routes_v1_user_schemas_group.py +101 -0
  29. across/sdk/v1/models/across_server_routes_v1_user_schemas_group_invite.py +1 -1
  30. across/sdk/v1/models/across_server_routes_v1_user_schemas_user.py +4 -4
  31. across/sdk/v1/models/across_server_routes_v1_user_service_account_schemas_service_account.py +1 -1
  32. across/sdk/v1/models/bandpass.py +1 -1
  33. across/sdk/v1/models/bandpass_type.py +1 -1
  34. across/sdk/v1/models/constrained_date.py +4 -7
  35. across/sdk/v1/models/constraint_reason.py +1 -1
  36. across/sdk/v1/models/constraint_type.py +1 -1
  37. across/sdk/v1/models/coordinate.py +1 -1
  38. across/sdk/v1/models/date_range.py +1 -1
  39. across/sdk/v1/models/depth_unit.py +1 -1
  40. across/sdk/v1/models/energy_bandpass.py +1 -1
  41. across/sdk/v1/models/energy_unit.py +1 -1
  42. across/sdk/v1/models/ephemeris_type.py +1 -1
  43. across/sdk/v1/models/filter.py +1 -1
  44. across/sdk/v1/models/frequency_bandpass.py +1 -1
  45. across/sdk/v1/models/frequency_unit.py +1 -1
  46. across/sdk/v1/models/grant_type.py +1 -1
  47. across/sdk/v1/models/ground_parameters.py +1 -1
  48. across/sdk/v1/models/group.py +15 -5
  49. across/sdk/v1/models/group_invite.py +1 -1
  50. across/sdk/v1/models/group_invite_create.py +1 -1
  51. across/sdk/v1/models/group_invite_group_details.py +1 -1
  52. across/sdk/v1/models/group_read.py +1 -1
  53. across/sdk/v1/models/group_role.py +1 -1
  54. across/sdk/v1/models/group_role_create.py +1 -1
  55. across/sdk/v1/models/group_role_read.py +1 -1
  56. across/sdk/v1/models/http_validation_error.py +1 -1
  57. across/sdk/v1/models/id_name_schema.py +1 -1
  58. across/sdk/v1/models/instrument.py +1 -1
  59. across/sdk/v1/models/ivoa_obs_category.py +1 -1
  60. across/sdk/v1/models/ivoa_obs_tracking_type.py +1 -1
  61. across/sdk/v1/models/joint_visibility_result.py +1 -1
  62. across/sdk/v1/models/jpl_parameters.py +1 -1
  63. across/sdk/v1/models/location_inner.py +138 -0
  64. across/sdk/v1/models/name_resolver.py +1 -1
  65. across/sdk/v1/models/nullable_date_range.py +1 -1
  66. across/sdk/v1/models/observation.py +1 -1
  67. across/sdk/v1/models/observation_create.py +1 -1
  68. across/sdk/v1/models/observation_footprint.py +1 -1
  69. across/sdk/v1/models/observation_footprint_create.py +1 -1
  70. across/sdk/v1/models/observation_status.py +1 -1
  71. across/sdk/v1/models/observation_strategy.py +1 -1
  72. across/sdk/v1/models/observation_type.py +1 -1
  73. across/sdk/v1/models/observatory.py +1 -1
  74. across/sdk/v1/models/observatory_ephemeris_type.py +1 -1
  75. across/sdk/v1/models/observatory_type.py +1 -1
  76. across/sdk/v1/models/page_observation.py +1 -1
  77. across/sdk/v1/models/page_schedule.py +1 -1
  78. across/sdk/v1/models/parameters.py +1 -1
  79. across/sdk/v1/models/permission.py +1 -1
  80. across/sdk/v1/models/point.py +1 -1
  81. across/sdk/v1/models/role.py +99 -0
  82. across/sdk/v1/models/role_base.py +1 -1
  83. across/sdk/v1/models/schedule.py +1 -1
  84. across/sdk/v1/models/schedule_cadence.py +1 -1
  85. across/sdk/v1/models/schedule_create.py +1 -1
  86. across/sdk/v1/models/schedule_create_many.py +1 -1
  87. across/sdk/v1/models/schedule_fidelity.py +1 -1
  88. across/sdk/v1/models/schedule_status.py +1 -1
  89. across/sdk/v1/models/service_account.py +1 -1
  90. across/sdk/v1/models/service_account_create.py +1 -1
  91. across/sdk/v1/models/service_account_secret.py +1 -1
  92. across/sdk/v1/models/service_account_update.py +1 -1
  93. across/sdk/v1/models/spice_parameters.py +1 -1
  94. across/sdk/v1/models/system_service_account.py +1 -1
  95. across/sdk/v1/models/telescope.py +1 -1
  96. across/sdk/v1/models/telescope_instrument.py +1 -1
  97. across/sdk/v1/models/tle.py +1 -1
  98. across/sdk/v1/models/tle_create.py +1 -1
  99. across/sdk/v1/models/tle_parameters.py +1 -1
  100. across/sdk/v1/models/unit_value.py +1 -1
  101. across/sdk/v1/models/user.py +5 -15
  102. across/sdk/v1/models/user_create.py +1 -1
  103. across/sdk/v1/models/user_info.py +1 -1
  104. across/sdk/v1/models/user_update.py +1 -1
  105. across/sdk/v1/models/validation_error.py +1 -1
  106. across/sdk/v1/models/validation_error_loc_inner.py +1 -1
  107. across/sdk/v1/models/visibility_result.py +1 -1
  108. across/sdk/v1/models/visibility_type.py +1 -1
  109. across/sdk/v1/models/visibility_window.py +1 -1
  110. across/sdk/v1/models/wavelength_bandpass.py +1 -1
  111. across/sdk/v1/models/wavelength_unit.py +1 -1
  112. across/sdk/v1/models/window.py +1 -1
  113. across/sdk/v1/rest.py +1 -1
  114. {across_server_openapi_python-1.2.0.dist-info → across_server_openapi_python-1.3.0.dist-info}/METADATA +15 -18
  115. across_server_openapi_python-1.3.0.dist-info/RECORD +126 -0
  116. across_server_openapi_python-1.2.0.dist-info/RECORD +0 -121
  117. {across_server_openapi_python-1.2.0.dist-info → across_server_openapi_python-1.3.0.dist-info}/WHEEL +0 -0
  118. {across_server_openapi_python-1.2.0.dist-info → across_server_openapi_python-1.3.0.dist-info}/licenses/LICENSE +0 -0
  119. {across_server_openapi_python-1.2.0.dist-info → across_server_openapi_python-1.3.0.dist-info}/top_level.txt +0 -0
across/sdk/v1/__init__.py CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
9
9
 
10
- The version of the OpenAPI document: 1.3.2
10
+ The version of the OpenAPI document: 1.4.0
11
11
  Generated by OpenAPI Generator (https://openapi-generator.tech)
12
12
 
13
13
  Do not edit the class manually.
@@ -28,6 +28,7 @@ __all__ = [
28
28
  "ObservationApi",
29
29
  "ObservatoryApi",
30
30
  "PermissionApi",
31
+ "RoleApi",
31
32
  "ScheduleApi",
32
33
  "ServiceAccountApi",
33
34
  "TLEApi",
@@ -46,7 +47,8 @@ __all__ = [
46
47
  "AccessTokenResponse",
47
48
  "AcrossServerRoutesV1GroupRoleSchemasGroupRole",
48
49
  "AcrossServerRoutesV1GroupRoleSchemasUser",
49
- "AcrossServerRoutesV1GroupSchemasGroup",
50
+ "AcrossServerRoutesV1GroupSchemasUser",
51
+ "AcrossServerRoutesV1UserSchemasGroup",
50
52
  "AcrossServerRoutesV1UserSchemasGroupInvite",
51
53
  "AcrossServerRoutesV1UserSchemasUser",
52
54
  "AcrossServerRoutesV1UserServiceAccountSchemasServiceAccount",
@@ -57,7 +59,6 @@ __all__ = [
57
59
  "ConstraintType",
58
60
  "Coordinate",
59
61
  "DateRange",
60
- "Datetime",
61
62
  "DepthUnit",
62
63
  "EnergyBandpass",
63
64
  "EnergyUnit",
@@ -99,6 +100,7 @@ __all__ = [
99
100
  "Parameters",
100
101
  "Permission",
101
102
  "Point",
103
+ "Role",
102
104
  "RoleBase",
103
105
  "SPICEParameters",
104
106
  "Schedule",
@@ -143,6 +145,7 @@ from across.sdk.v1.api.internal_api import InternalApi as InternalApi
143
145
  from across.sdk.v1.api.observation_api import ObservationApi as ObservationApi
144
146
  from across.sdk.v1.api.observatory_api import ObservatoryApi as ObservatoryApi
145
147
  from across.sdk.v1.api.permission_api import PermissionApi as PermissionApi
148
+ from across.sdk.v1.api.role_api import RoleApi as RoleApi
146
149
  from across.sdk.v1.api.schedule_api import ScheduleApi as ScheduleApi
147
150
  from across.sdk.v1.api.service_account_api import ServiceAccountApi as ServiceAccountApi
148
151
  from across.sdk.v1.api.tle_api import TLEApi as TLEApi
@@ -165,7 +168,8 @@ from across.sdk.v1.exceptions import ApiException as ApiException
165
168
  from across.sdk.v1.models.access_token_response import AccessTokenResponse as AccessTokenResponse
166
169
  from across.sdk.v1.models.across_server_routes_v1_group_role_schemas_group_role import AcrossServerRoutesV1GroupRoleSchemasGroupRole as AcrossServerRoutesV1GroupRoleSchemasGroupRole
167
170
  from across.sdk.v1.models.across_server_routes_v1_group_role_schemas_user import AcrossServerRoutesV1GroupRoleSchemasUser as AcrossServerRoutesV1GroupRoleSchemasUser
168
- from across.sdk.v1.models.across_server_routes_v1_group_schemas_group import AcrossServerRoutesV1GroupSchemasGroup as AcrossServerRoutesV1GroupSchemasGroup
171
+ from across.sdk.v1.models.across_server_routes_v1_group_schemas_user import AcrossServerRoutesV1GroupSchemasUser as AcrossServerRoutesV1GroupSchemasUser
172
+ from across.sdk.v1.models.across_server_routes_v1_user_schemas_group import AcrossServerRoutesV1UserSchemasGroup as AcrossServerRoutesV1UserSchemasGroup
169
173
  from across.sdk.v1.models.across_server_routes_v1_user_schemas_group_invite import AcrossServerRoutesV1UserSchemasGroupInvite as AcrossServerRoutesV1UserSchemasGroupInvite
170
174
  from across.sdk.v1.models.across_server_routes_v1_user_schemas_user import AcrossServerRoutesV1UserSchemasUser as AcrossServerRoutesV1UserSchemasUser
171
175
  from across.sdk.v1.models.across_server_routes_v1_user_service_account_schemas_service_account import AcrossServerRoutesV1UserServiceAccountSchemasServiceAccount as AcrossServerRoutesV1UserServiceAccountSchemasServiceAccount
@@ -176,7 +180,6 @@ from across.sdk.v1.models.constraint_reason import ConstraintReason as Constrain
176
180
  from across.sdk.v1.models.constraint_type import ConstraintType as ConstraintType
177
181
  from across.sdk.v1.models.coordinate import Coordinate as Coordinate
178
182
  from across.sdk.v1.models.date_range import DateRange as DateRange
179
- from across.sdk.v1.models.datetime import Datetime as Datetime
180
183
  from across.sdk.v1.models.depth_unit import DepthUnit as DepthUnit
181
184
  from across.sdk.v1.models.energy_bandpass import EnergyBandpass as EnergyBandpass
182
185
  from across.sdk.v1.models.energy_unit import EnergyUnit as EnergyUnit
@@ -218,6 +221,7 @@ from across.sdk.v1.models.page_schedule import PageSchedule as PageSchedule
218
221
  from across.sdk.v1.models.parameters import Parameters as Parameters
219
222
  from across.sdk.v1.models.permission import Permission as Permission
220
223
  from across.sdk.v1.models.point import Point as Point
224
+ from across.sdk.v1.models.role import Role as Role
221
225
  from across.sdk.v1.models.role_base import RoleBase as RoleBase
222
226
  from across.sdk.v1.models.spice_parameters import SPICEParameters as SPICEParameters
223
227
  from across.sdk.v1.models.schedule import Schedule as Schedule
@@ -11,6 +11,7 @@ from across.sdk.v1.api.internal_api import InternalApi
11
11
  from across.sdk.v1.api.observation_api import ObservationApi
12
12
  from across.sdk.v1.api.observatory_api import ObservatoryApi
13
13
  from across.sdk.v1.api.permission_api import PermissionApi
14
+ from across.sdk.v1.api.role_api import RoleApi
14
15
  from across.sdk.v1.api.schedule_api import ScheduleApi
15
16
  from across.sdk.v1.api.service_account_api import ServiceAccountApi
16
17
  from across.sdk.v1.api.tle_api import TLEApi
@@ -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.3.2
8
+ The version of the OpenAPI document: 1.4.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -39,6 +39,274 @@ class AuthApi:
39
39
  self.api_client = api_client
40
40
 
41
41
 
42
+ @validate_call
43
+ def local_token_auth_local_token_get(
44
+ self,
45
+ email: StrictStr,
46
+ _request_timeout: Union[
47
+ None,
48
+ Annotated[StrictFloat, Field(gt=0)],
49
+ Tuple[
50
+ Annotated[StrictFloat, Field(gt=0)],
51
+ Annotated[StrictFloat, Field(gt=0)]
52
+ ]
53
+ ] = None,
54
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
55
+ _content_type: Optional[StrictStr] = None,
56
+ _headers: Optional[Dict[StrictStr, Any]] = None,
57
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
58
+ ) -> str:
59
+ """Local Token
60
+
61
+ For local only, directly return an access token for testing purposes that expires after 1 day
62
+
63
+ :param email: (required)
64
+ :type email: str
65
+ :param _request_timeout: timeout setting for this request. If one
66
+ number provided, it will be total request
67
+ timeout. It can also be a pair (tuple) of
68
+ (connection, read) timeouts.
69
+ :type _request_timeout: int, tuple(int, int), optional
70
+ :param _request_auth: set to override the auth_settings for an a single
71
+ request; this effectively ignores the
72
+ authentication in the spec for a single request.
73
+ :type _request_auth: dict, optional
74
+ :param _content_type: force content-type for the request.
75
+ :type _content_type: str, Optional
76
+ :param _headers: set to override the headers for a single
77
+ request; this effectively ignores the headers
78
+ in the spec for a single request.
79
+ :type _headers: dict, optional
80
+ :param _host_index: set to override the host_index for a single
81
+ request; this effectively ignores the host_index
82
+ in the spec for a single request.
83
+ :type _host_index: int, optional
84
+ :return: Returns the result object.
85
+ """ # noqa: E501
86
+
87
+ _param = self._local_token_auth_local_token_get_serialize(
88
+ email=email,
89
+ _request_auth=_request_auth,
90
+ _content_type=_content_type,
91
+ _headers=_headers,
92
+ _host_index=_host_index
93
+ )
94
+
95
+ _response_types_map: Dict[str, Optional[str]] = {
96
+ '200': "str",
97
+ '404': None,
98
+ '422': "HTTPValidationError",
99
+ }
100
+ response_data = self.api_client.call_api(
101
+ *_param,
102
+ _request_timeout=_request_timeout
103
+ )
104
+ response_data.read()
105
+ return self.api_client.response_deserialize(
106
+ response_data=response_data,
107
+ response_types_map=_response_types_map,
108
+ ).data
109
+
110
+
111
+ @validate_call
112
+ def local_token_auth_local_token_get_with_http_info(
113
+ self,
114
+ email: StrictStr,
115
+ _request_timeout: Union[
116
+ None,
117
+ Annotated[StrictFloat, Field(gt=0)],
118
+ Tuple[
119
+ Annotated[StrictFloat, Field(gt=0)],
120
+ Annotated[StrictFloat, Field(gt=0)]
121
+ ]
122
+ ] = None,
123
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
124
+ _content_type: Optional[StrictStr] = None,
125
+ _headers: Optional[Dict[StrictStr, Any]] = None,
126
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
127
+ ) -> ApiResponse[str]:
128
+ """Local Token
129
+
130
+ For local only, directly return an access token for testing purposes that expires after 1 day
131
+
132
+ :param email: (required)
133
+ :type email: str
134
+ :param _request_timeout: timeout setting for this request. If one
135
+ number provided, it will be total request
136
+ timeout. It can also be a pair (tuple) of
137
+ (connection, read) timeouts.
138
+ :type _request_timeout: int, tuple(int, int), optional
139
+ :param _request_auth: set to override the auth_settings for an a single
140
+ request; this effectively ignores the
141
+ authentication in the spec for a single request.
142
+ :type _request_auth: dict, optional
143
+ :param _content_type: force content-type for the request.
144
+ :type _content_type: str, Optional
145
+ :param _headers: set to override the headers for a single
146
+ request; this effectively ignores the headers
147
+ in the spec for a single request.
148
+ :type _headers: dict, optional
149
+ :param _host_index: set to override the host_index for a single
150
+ request; this effectively ignores the host_index
151
+ in the spec for a single request.
152
+ :type _host_index: int, optional
153
+ :return: Returns the result object.
154
+ """ # noqa: E501
155
+
156
+ _param = self._local_token_auth_local_token_get_serialize(
157
+ email=email,
158
+ _request_auth=_request_auth,
159
+ _content_type=_content_type,
160
+ _headers=_headers,
161
+ _host_index=_host_index
162
+ )
163
+
164
+ _response_types_map: Dict[str, Optional[str]] = {
165
+ '200': "str",
166
+ '404': None,
167
+ '422': "HTTPValidationError",
168
+ }
169
+ response_data = self.api_client.call_api(
170
+ *_param,
171
+ _request_timeout=_request_timeout
172
+ )
173
+ response_data.read()
174
+ return self.api_client.response_deserialize(
175
+ response_data=response_data,
176
+ response_types_map=_response_types_map,
177
+ )
178
+
179
+
180
+ @validate_call
181
+ def local_token_auth_local_token_get_without_preload_content(
182
+ self,
183
+ email: StrictStr,
184
+ _request_timeout: Union[
185
+ None,
186
+ Annotated[StrictFloat, Field(gt=0)],
187
+ Tuple[
188
+ Annotated[StrictFloat, Field(gt=0)],
189
+ Annotated[StrictFloat, Field(gt=0)]
190
+ ]
191
+ ] = None,
192
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
193
+ _content_type: Optional[StrictStr] = None,
194
+ _headers: Optional[Dict[StrictStr, Any]] = None,
195
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
196
+ ) -> RESTResponseType:
197
+ """Local Token
198
+
199
+ For local only, directly return an access token for testing purposes that expires after 1 day
200
+
201
+ :param email: (required)
202
+ :type email: str
203
+ :param _request_timeout: timeout setting for this request. If one
204
+ number provided, it will be total request
205
+ timeout. It can also be a pair (tuple) of
206
+ (connection, read) timeouts.
207
+ :type _request_timeout: int, tuple(int, int), optional
208
+ :param _request_auth: set to override the auth_settings for an a single
209
+ request; this effectively ignores the
210
+ authentication in the spec for a single request.
211
+ :type _request_auth: dict, optional
212
+ :param _content_type: force content-type for the request.
213
+ :type _content_type: str, Optional
214
+ :param _headers: set to override the headers for a single
215
+ request; this effectively ignores the headers
216
+ in the spec for a single request.
217
+ :type _headers: dict, optional
218
+ :param _host_index: set to override the host_index for a single
219
+ request; this effectively ignores the host_index
220
+ in the spec for a single request.
221
+ :type _host_index: int, optional
222
+ :return: Returns the result object.
223
+ """ # noqa: E501
224
+
225
+ _param = self._local_token_auth_local_token_get_serialize(
226
+ email=email,
227
+ _request_auth=_request_auth,
228
+ _content_type=_content_type,
229
+ _headers=_headers,
230
+ _host_index=_host_index
231
+ )
232
+
233
+ _response_types_map: Dict[str, Optional[str]] = {
234
+ '200': "str",
235
+ '404': None,
236
+ '422': "HTTPValidationError",
237
+ }
238
+ response_data = self.api_client.call_api(
239
+ *_param,
240
+ _request_timeout=_request_timeout
241
+ )
242
+ return response_data.response
243
+
244
+
245
+ def _local_token_auth_local_token_get_serialize(
246
+ self,
247
+ email,
248
+ _request_auth,
249
+ _content_type,
250
+ _headers,
251
+ _host_index,
252
+ ) -> RequestSerialized:
253
+
254
+ _host = None
255
+
256
+ _collection_formats: Dict[str, str] = {
257
+ }
258
+
259
+ _path_params: Dict[str, str] = {}
260
+ _query_params: List[Tuple[str, str]] = []
261
+ _header_params: Dict[str, Optional[str]] = _headers or {}
262
+ _form_params: List[Tuple[str, str]] = []
263
+ _files: Dict[
264
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
265
+ ] = {}
266
+ _body_params: Optional[bytes] = None
267
+
268
+ # process the path parameters
269
+ # process the query parameters
270
+ if email is not None:
271
+
272
+ _query_params.append(('email', email))
273
+
274
+ # process the header parameters
275
+ # process the form parameters
276
+ # process the body parameter
277
+
278
+
279
+ # set the HTTP header `Accept`
280
+ if 'Accept' not in _header_params:
281
+ _header_params['Accept'] = self.api_client.select_header_accept(
282
+ [
283
+ 'application/json'
284
+ ]
285
+ )
286
+
287
+
288
+ # authentication setting
289
+ _auth_settings: List[str] = [
290
+ ]
291
+
292
+ return self.api_client.param_serialize(
293
+ method='GET',
294
+ resource_path='/auth/local-token',
295
+ path_params=_path_params,
296
+ query_params=_query_params,
297
+ header_params=_header_params,
298
+ body=_body_params,
299
+ post_params=_form_params,
300
+ files=_files,
301
+ auth_settings=_auth_settings,
302
+ collection_formats=_collection_formats,
303
+ _host=_host,
304
+ _request_auth=_request_auth
305
+ )
306
+
307
+
308
+
309
+
42
310
  @validate_call
43
311
  def login(
44
312
  self,
@@ -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.3.2
8
+ The version of the OpenAPI document: 1.4.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.3.2
8
+ The version of the OpenAPI document: 1.4.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -17,7 +17,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union
17
17
  from typing_extensions import Annotated
18
18
 
19
19
  from pydantic import StrictStr
20
- from across.sdk.v1.models.across_server_routes_v1_group_schemas_group import AcrossServerRoutesV1GroupSchemasGroup
20
+ from typing import List
21
+ from across.sdk.v1.models.group import Group
21
22
 
22
23
  from across.sdk.v1.api_client import ApiClient, RequestSerialized
23
24
  from across.sdk.v1.api_response import ApiResponse
@@ -53,7 +54,7 @@ class GroupApi:
53
54
  _content_type: Optional[StrictStr] = None,
54
55
  _headers: Optional[Dict[StrictStr, Any]] = None,
55
56
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
56
- ) -> AcrossServerRoutesV1GroupSchemasGroup:
57
+ ) -> Group:
57
58
  """Read a group
58
59
 
59
60
  Read a group by role ID.
@@ -91,7 +92,7 @@ class GroupApi:
91
92
  )
92
93
 
93
94
  _response_types_map: Dict[str, Optional[str]] = {
94
- '200': "AcrossServerRoutesV1GroupSchemasGroup",
95
+ '200': "Group",
95
96
  '404': None,
96
97
  '422': "HTTPValidationError",
97
98
  }
@@ -122,7 +123,7 @@ class GroupApi:
122
123
  _content_type: Optional[StrictStr] = None,
123
124
  _headers: Optional[Dict[StrictStr, Any]] = None,
124
125
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
125
- ) -> ApiResponse[AcrossServerRoutesV1GroupSchemasGroup]:
126
+ ) -> ApiResponse[Group]:
126
127
  """Read a group
127
128
 
128
129
  Read a group by role ID.
@@ -160,7 +161,7 @@ class GroupApi:
160
161
  )
161
162
 
162
163
  _response_types_map: Dict[str, Optional[str]] = {
163
- '200': "AcrossServerRoutesV1GroupSchemasGroup",
164
+ '200': "Group",
164
165
  '404': None,
165
166
  '422': "HTTPValidationError",
166
167
  }
@@ -229,7 +230,7 @@ class GroupApi:
229
230
  )
230
231
 
231
232
  _response_types_map: Dict[str, Optional[str]] = {
232
- '200': "AcrossServerRoutesV1GroupSchemasGroup",
233
+ '200': "Group",
233
234
  '404': None,
234
235
  '422': "HTTPValidationError",
235
236
  }
@@ -304,6 +305,254 @@ class GroupApi:
304
305
 
305
306
 
306
307
 
308
+ @validate_call
309
+ def get_many_group_get(
310
+ self,
311
+ _request_timeout: Union[
312
+ None,
313
+ Annotated[StrictFloat, Field(gt=0)],
314
+ Tuple[
315
+ Annotated[StrictFloat, Field(gt=0)],
316
+ Annotated[StrictFloat, Field(gt=0)]
317
+ ]
318
+ ] = None,
319
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
320
+ _content_type: Optional[StrictStr] = None,
321
+ _headers: Optional[Dict[StrictStr, Any]] = None,
322
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
323
+ ) -> List[Group]:
324
+ """Read groups
325
+
326
+ Read many groups
327
+
328
+ :param _request_timeout: timeout setting for this request. If one
329
+ number provided, it will be total request
330
+ timeout. It can also be a pair (tuple) of
331
+ (connection, read) timeouts.
332
+ :type _request_timeout: int, tuple(int, int), optional
333
+ :param _request_auth: set to override the auth_settings for an a single
334
+ request; this effectively ignores the
335
+ authentication in the spec for a single request.
336
+ :type _request_auth: dict, optional
337
+ :param _content_type: force content-type for the request.
338
+ :type _content_type: str, Optional
339
+ :param _headers: set to override the headers for a single
340
+ request; this effectively ignores the headers
341
+ in the spec for a single request.
342
+ :type _headers: dict, optional
343
+ :param _host_index: set to override the host_index for a single
344
+ request; this effectively ignores the host_index
345
+ in the spec for a single request.
346
+ :type _host_index: int, optional
347
+ :return: Returns the result object.
348
+ """ # noqa: E501
349
+
350
+ _param = self._get_many_group_get_serialize(
351
+ _request_auth=_request_auth,
352
+ _content_type=_content_type,
353
+ _headers=_headers,
354
+ _host_index=_host_index
355
+ )
356
+
357
+ _response_types_map: Dict[str, Optional[str]] = {
358
+ '200': "List[Group]",
359
+ '404': None,
360
+ }
361
+ response_data = self.api_client.call_api(
362
+ *_param,
363
+ _request_timeout=_request_timeout
364
+ )
365
+ response_data.read()
366
+ return self.api_client.response_deserialize(
367
+ response_data=response_data,
368
+ response_types_map=_response_types_map,
369
+ ).data
370
+
371
+
372
+ @validate_call
373
+ def get_many_group_get_with_http_info(
374
+ self,
375
+ _request_timeout: Union[
376
+ None,
377
+ Annotated[StrictFloat, Field(gt=0)],
378
+ Tuple[
379
+ Annotated[StrictFloat, Field(gt=0)],
380
+ Annotated[StrictFloat, Field(gt=0)]
381
+ ]
382
+ ] = None,
383
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
384
+ _content_type: Optional[StrictStr] = None,
385
+ _headers: Optional[Dict[StrictStr, Any]] = None,
386
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
387
+ ) -> ApiResponse[List[Group]]:
388
+ """Read groups
389
+
390
+ Read many groups
391
+
392
+ :param _request_timeout: timeout setting for this request. If one
393
+ number provided, it will be total request
394
+ timeout. It can also be a pair (tuple) of
395
+ (connection, read) timeouts.
396
+ :type _request_timeout: int, tuple(int, int), optional
397
+ :param _request_auth: set to override the auth_settings for an a single
398
+ request; this effectively ignores the
399
+ authentication in the spec for a single request.
400
+ :type _request_auth: dict, optional
401
+ :param _content_type: force content-type for the request.
402
+ :type _content_type: str, Optional
403
+ :param _headers: set to override the headers for a single
404
+ request; this effectively ignores the headers
405
+ in the spec for a single request.
406
+ :type _headers: dict, optional
407
+ :param _host_index: set to override the host_index for a single
408
+ request; this effectively ignores the host_index
409
+ in the spec for a single request.
410
+ :type _host_index: int, optional
411
+ :return: Returns the result object.
412
+ """ # noqa: E501
413
+
414
+ _param = self._get_many_group_get_serialize(
415
+ _request_auth=_request_auth,
416
+ _content_type=_content_type,
417
+ _headers=_headers,
418
+ _host_index=_host_index
419
+ )
420
+
421
+ _response_types_map: Dict[str, Optional[str]] = {
422
+ '200': "List[Group]",
423
+ '404': None,
424
+ }
425
+ response_data = self.api_client.call_api(
426
+ *_param,
427
+ _request_timeout=_request_timeout
428
+ )
429
+ response_data.read()
430
+ return self.api_client.response_deserialize(
431
+ response_data=response_data,
432
+ response_types_map=_response_types_map,
433
+ )
434
+
435
+
436
+ @validate_call
437
+ def get_many_group_get_without_preload_content(
438
+ self,
439
+ _request_timeout: Union[
440
+ None,
441
+ Annotated[StrictFloat, Field(gt=0)],
442
+ Tuple[
443
+ Annotated[StrictFloat, Field(gt=0)],
444
+ Annotated[StrictFloat, Field(gt=0)]
445
+ ]
446
+ ] = None,
447
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
448
+ _content_type: Optional[StrictStr] = None,
449
+ _headers: Optional[Dict[StrictStr, Any]] = None,
450
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
451
+ ) -> RESTResponseType:
452
+ """Read groups
453
+
454
+ Read many groups
455
+
456
+ :param _request_timeout: timeout setting for this request. If one
457
+ number provided, it will be total request
458
+ timeout. It can also be a pair (tuple) of
459
+ (connection, read) timeouts.
460
+ :type _request_timeout: int, tuple(int, int), optional
461
+ :param _request_auth: set to override the auth_settings for an a single
462
+ request; this effectively ignores the
463
+ authentication in the spec for a single request.
464
+ :type _request_auth: dict, optional
465
+ :param _content_type: force content-type for the request.
466
+ :type _content_type: str, Optional
467
+ :param _headers: set to override the headers for a single
468
+ request; this effectively ignores the headers
469
+ in the spec for a single request.
470
+ :type _headers: dict, optional
471
+ :param _host_index: set to override the host_index for a single
472
+ request; this effectively ignores the host_index
473
+ in the spec for a single request.
474
+ :type _host_index: int, optional
475
+ :return: Returns the result object.
476
+ """ # noqa: E501
477
+
478
+ _param = self._get_many_group_get_serialize(
479
+ _request_auth=_request_auth,
480
+ _content_type=_content_type,
481
+ _headers=_headers,
482
+ _host_index=_host_index
483
+ )
484
+
485
+ _response_types_map: Dict[str, Optional[str]] = {
486
+ '200': "List[Group]",
487
+ '404': None,
488
+ }
489
+ response_data = self.api_client.call_api(
490
+ *_param,
491
+ _request_timeout=_request_timeout
492
+ )
493
+ return response_data.response
494
+
495
+
496
+ def _get_many_group_get_serialize(
497
+ self,
498
+ _request_auth,
499
+ _content_type,
500
+ _headers,
501
+ _host_index,
502
+ ) -> RequestSerialized:
503
+
504
+ _host = None
505
+
506
+ _collection_formats: Dict[str, str] = {
507
+ }
508
+
509
+ _path_params: Dict[str, str] = {}
510
+ _query_params: List[Tuple[str, str]] = []
511
+ _header_params: Dict[str, Optional[str]] = _headers or {}
512
+ _form_params: List[Tuple[str, str]] = []
513
+ _files: Dict[
514
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
515
+ ] = {}
516
+ _body_params: Optional[bytes] = None
517
+
518
+ # process the path parameters
519
+ # process the query parameters
520
+ # process the header parameters
521
+ # process the form parameters
522
+ # process the body parameter
523
+
524
+
525
+ # set the HTTP header `Accept`
526
+ if 'Accept' not in _header_params:
527
+ _header_params['Accept'] = self.api_client.select_header_accept(
528
+ [
529
+ 'application/json'
530
+ ]
531
+ )
532
+
533
+
534
+ # authentication setting
535
+ _auth_settings: List[str] = [
536
+ ]
537
+
538
+ return self.api_client.param_serialize(
539
+ method='GET',
540
+ resource_path='/group/',
541
+ path_params=_path_params,
542
+ query_params=_query_params,
543
+ header_params=_header_params,
544
+ body=_body_params,
545
+ post_params=_form_params,
546
+ files=_files,
547
+ auth_settings=_auth_settings,
548
+ collection_formats=_collection_formats,
549
+ _host=_host,
550
+ _request_auth=_request_auth
551
+ )
552
+
553
+
554
+
555
+
307
556
  @validate_call
308
557
  def remove_user(
309
558
  self,