across-server-openapi-python 1.3.0__py3-none-any.whl → 2.0.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 (156) hide show
  1. across/sdk/v1/__init__.py +76 -17
  2. across/sdk/v1/api/__init__.py +3 -1
  3. across/sdk/v1/api/auth_api.py +17 -286
  4. across/sdk/v1/api/broker_alert_api.py +1017 -0
  5. across/sdk/v1/api/broker_event_api.py +697 -0
  6. across/sdk/v1/api/filter_api.py +20 -20
  7. across/sdk/v1/api/group_api.py +31 -281
  8. across/sdk/v1/api/group_invite_api.py +65 -66
  9. across/sdk/v1/api/group_role_api.py +105 -106
  10. across/sdk/v1/api/instrument_api.py +20 -20
  11. across/sdk/v1/api/internal_api.py +20 -21
  12. across/sdk/v1/api/observation_api.py +762 -135
  13. across/sdk/v1/api/observation_request_api.py +2108 -0
  14. across/sdk/v1/api/observatory_api.py +24 -25
  15. across/sdk/v1/api/permission_api.py +5 -6
  16. across/sdk/v1/api/role_api.py +1 -1
  17. across/sdk/v1/api/schedule_api.py +84 -86
  18. across/sdk/v1/api/service_account_api.py +125 -126
  19. across/sdk/v1/api/telescope_api.py +26 -26
  20. across/sdk/v1/api/tle_api.py +7 -8
  21. across/sdk/v1/api/tools_api.py +55 -55
  22. across/sdk/v1/api/user_api.py +84 -333
  23. across/sdk/v1/api_client.py +111 -47
  24. across/sdk/v1/configuration.py +106 -33
  25. across/sdk/v1/exceptions.py +8 -6
  26. across/sdk/v1/models/__init__.py +36 -9
  27. across/sdk/v1/models/access_token_response.py +5 -4
  28. across/sdk/v1/models/across_server_routes_v1_group_invite_schemas_group_invite.py +106 -0
  29. across/sdk/v1/models/across_server_routes_v1_group_role_schemas_group.py +93 -0
  30. across/sdk/v1/models/across_server_routes_v1_group_role_schemas_group_role.py +20 -15
  31. across/sdk/v1/models/across_server_routes_v1_group_role_schemas_service_account.py +107 -0
  32. across/sdk/v1/models/across_server_routes_v1_group_role_schemas_user.py +7 -5
  33. across/sdk/v1/models/across_server_routes_v1_group_schemas_group.py +12 -12
  34. across/sdk/v1/models/across_server_routes_v1_group_schemas_user.py +8 -7
  35. across/sdk/v1/models/across_server_routes_v1_role_schemas_user.py +95 -0
  36. across/sdk/v1/models/across_server_routes_v1_user_schemas_group.py +11 -10
  37. across/sdk/v1/models/across_server_routes_v1_user_schemas_group_invite.py +8 -6
  38. across/sdk/v1/models/across_server_routes_v1_user_schemas_group_role.py +106 -0
  39. across/sdk/v1/models/across_server_routes_v1_user_schemas_user.py +14 -16
  40. across/sdk/v1/models/across_server_routes_v1_user_service_account_schemas_service_account.py +8 -7
  41. across/sdk/v1/models/bandpass.py +1 -1
  42. across/sdk/v1/models/bandpass_type.py +1 -1
  43. across/sdk/v1/models/broker_alert.py +106 -0
  44. across/sdk/v1/models/broker_alert_create.py +115 -0
  45. across/sdk/v1/models/broker_alert_data_source.py +39 -0
  46. across/sdk/v1/models/broker_alert_status.py +41 -0
  47. across/sdk/v1/models/broker_event.py +115 -0
  48. across/sdk/v1/models/broker_event_type.py +41 -0
  49. across/sdk/v1/models/constrained_date.py +8 -6
  50. across/sdk/v1/models/constraint_reason.py +5 -4
  51. across/sdk/v1/models/constraint_type.py +1 -1
  52. across/sdk/v1/models/coordinate.py +5 -4
  53. across/sdk/v1/models/date_range.py +5 -4
  54. across/sdk/v1/models/date_range_create.py +96 -0
  55. across/sdk/v1/models/depth_unit.py +1 -1
  56. across/sdk/v1/models/energy_bandpass.py +5 -4
  57. across/sdk/v1/models/energy_unit.py +1 -1
  58. across/sdk/v1/models/ephemeris_type.py +1 -1
  59. across/sdk/v1/models/filter.py +8 -6
  60. across/sdk/v1/models/frequency_bandpass.py +5 -4
  61. across/sdk/v1/models/frequency_unit.py +1 -1
  62. across/sdk/v1/models/grant_type.py +1 -1
  63. across/sdk/v1/models/ground_parameters.py +5 -4
  64. across/sdk/v1/models/group.py +5 -15
  65. across/sdk/v1/models/group_base.py +93 -0
  66. across/sdk/v1/models/group_invite.py +1 -1
  67. across/sdk/v1/models/group_invite_create.py +5 -4
  68. across/sdk/v1/models/group_invite_group_details.py +7 -5
  69. across/sdk/v1/models/group_read.py +7 -5
  70. across/sdk/v1/models/group_role.py +37 -6
  71. across/sdk/v1/models/group_role_create.py +7 -5
  72. across/sdk/v1/models/group_role_read.py +16 -9
  73. across/sdk/v1/models/http_validation_error.py +6 -6
  74. across/sdk/v1/models/id_name_schema.py +7 -5
  75. across/sdk/v1/models/instrument.py +31 -15
  76. across/sdk/v1/models/ivoa_obs_category.py +1 -1
  77. across/sdk/v1/models/ivoa_obs_tracking_type.py +1 -1
  78. across/sdk/v1/models/joint_visibility_result.py +23 -23
  79. across/sdk/v1/models/jpl_parameters.py +5 -4
  80. across/sdk/v1/models/localization.py +128 -0
  81. across/sdk/v1/models/localization_contour_base.py +95 -0
  82. across/sdk/v1/models/localization_create.py +121 -0
  83. across/sdk/v1/models/location_inner.py +1 -1
  84. across/sdk/v1/models/name_resolver.py +5 -4
  85. across/sdk/v1/models/nullable_date_range.py +5 -4
  86. across/sdk/v1/models/nullable_end_date_range.py +96 -0
  87. across/sdk/v1/models/observation.py +11 -10
  88. across/sdk/v1/models/observation_create.py +9 -8
  89. across/sdk/v1/models/observation_footprint.py +10 -9
  90. across/sdk/v1/models/observation_footprint_create.py +6 -6
  91. across/sdk/v1/models/observation_request.py +202 -0
  92. across/sdk/v1/models/observation_request_create.py +148 -0
  93. across/sdk/v1/models/observation_request_create_many.py +95 -0
  94. across/sdk/v1/models/observation_request_status.py +40 -0
  95. across/sdk/v1/models/observation_request_update.py +213 -0
  96. across/sdk/v1/models/observation_request_version.py +99 -0
  97. across/sdk/v1/models/observation_status.py +1 -1
  98. across/sdk/v1/models/observation_strategy.py +1 -1
  99. across/sdk/v1/models/observation_type.py +1 -1
  100. across/sdk/v1/models/observation_window.py +134 -0
  101. across/sdk/v1/models/observation_window1.py +140 -0
  102. across/sdk/v1/models/observatory.py +9 -9
  103. across/sdk/v1/models/observatory_ephemeris_type.py +5 -4
  104. across/sdk/v1/models/observatory_type.py +1 -1
  105. across/sdk/v1/models/observing_proposal.py +93 -0
  106. across/sdk/v1/models/observing_proposal_create.py +98 -0
  107. across/sdk/v1/models/page_broker_alert.py +116 -0
  108. across/sdk/v1/models/page_broker_event.py +116 -0
  109. across/sdk/v1/models/page_observation.py +6 -6
  110. across/sdk/v1/models/page_observation_request.py +116 -0
  111. across/sdk/v1/models/page_schedule.py +6 -6
  112. across/sdk/v1/models/parameters.py +1 -1
  113. across/sdk/v1/models/permission.py +7 -5
  114. across/sdk/v1/models/point.py +5 -4
  115. across/sdk/v1/models/proper_motion.py +93 -0
  116. across/sdk/v1/models/role.py +4 -4
  117. across/sdk/v1/models/role_base.py +7 -5
  118. across/sdk/v1/models/schedule.py +10 -9
  119. across/sdk/v1/models/schedule_cadence.py +8 -6
  120. across/sdk/v1/models/schedule_create.py +8 -7
  121. across/sdk/v1/models/schedule_create_many.py +9 -8
  122. across/sdk/v1/models/schedule_fidelity.py +1 -1
  123. across/sdk/v1/models/schedule_status.py +1 -1
  124. across/sdk/v1/models/service_account.py +1 -1
  125. across/sdk/v1/models/service_account_create.py +5 -4
  126. across/sdk/v1/models/service_account_secret.py +7 -5
  127. across/sdk/v1/models/service_account_update.py +5 -4
  128. across/sdk/v1/models/setting.py +100 -0
  129. across/sdk/v1/models/setting_type.py +39 -0
  130. across/sdk/v1/models/spice_parameters.py +5 -4
  131. across/sdk/v1/models/system_service_account.py +9 -9
  132. across/sdk/v1/models/telescope.py +9 -9
  133. across/sdk/v1/models/telescope_instrument.py +31 -15
  134. across/sdk/v1/models/tle.py +5 -4
  135. across/sdk/v1/models/tle_create.py +5 -4
  136. across/sdk/v1/models/tle_parameters.py +5 -4
  137. across/sdk/v1/models/unit_value.py +5 -4
  138. across/sdk/v1/models/user.py +47 -7
  139. across/sdk/v1/models/user_create.py +5 -4
  140. across/sdk/v1/models/user_info.py +7 -5
  141. across/sdk/v1/models/user_update.py +5 -4
  142. across/sdk/v1/models/validation_error.py +21 -12
  143. across/sdk/v1/models/validation_error_loc_inner.py +1 -1
  144. across/sdk/v1/models/visibility_result.py +14 -11
  145. across/sdk/v1/models/visibility_type.py +1 -1
  146. across/sdk/v1/models/visibility_window.py +5 -4
  147. across/sdk/v1/models/wavelength_bandpass.py +5 -4
  148. across/sdk/v1/models/wavelength_unit.py +1 -1
  149. across/sdk/v1/models/window.py +5 -4
  150. across/sdk/v1/rest.py +88 -12
  151. {across_server_openapi_python-1.3.0.dist-info → across_server_openapi_python-2.0.0.dist-info}/METADATA +122 -45
  152. across_server_openapi_python-2.0.0.dist-info/RECORD +162 -0
  153. {across_server_openapi_python-1.3.0.dist-info → across_server_openapi_python-2.0.0.dist-info}/WHEEL +1 -1
  154. across_server_openapi_python-1.3.0.dist-info/RECORD +0 -126
  155. {across_server_openapi_python-1.3.0.dist-info → across_server_openapi_python-2.0.0.dist-info}/licenses/LICENSE +0 -0
  156. {across_server_openapi_python-1.3.0.dist-info → across_server_openapi_python-2.0.0.dist-info}/top_level.txt +0 -0
@@ -1,23 +1,22 @@
1
- # coding: utf-8
2
-
3
1
  """
4
2
  ACROSS Server
5
3
 
6
4
  Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
7
5
 
8
- The version of the OpenAPI document: 1.4.0
6
+ The version of the OpenAPI document: 2.0.2
9
7
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
8
 
11
9
  Do not edit the class manually.
12
10
  """ # noqa: E501
13
11
 
12
+
14
13
  import warnings
15
14
  from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
16
15
  from typing import Any, Dict, List, Optional, Tuple, Union
17
16
  from typing_extensions import Annotated
18
17
 
19
- from pydantic import StrictStr
20
18
  from typing import List
19
+ from uuid import UUID
21
20
  from across.sdk.v1.models.across_server_routes_v1_group_role_schemas_group_role import AcrossServerRoutesV1GroupRoleSchemasGroupRole
22
21
  from across.sdk.v1.models.group_role_create import GroupRoleCreate
23
22
  from across.sdk.v1.models.group_role_read import GroupRoleRead
@@ -43,9 +42,9 @@ class GroupRoleApi:
43
42
  @validate_call
44
43
  def assign_to_user(
45
44
  self,
46
- group_role_id: StrictStr,
47
- group_id: StrictStr,
48
- user_id: StrictStr,
45
+ group_role_id: UUID,
46
+ group_id: UUID,
47
+ user_id: UUID,
49
48
  _request_timeout: Union[
50
49
  None,
51
50
  Annotated[StrictFloat, Field(gt=0)],
@@ -64,11 +63,11 @@ class GroupRoleApi:
64
63
  Assign a group role by id to a user id within that group.
65
64
 
66
65
  :param group_role_id: (required)
67
- :type group_role_id: str
66
+ :type group_role_id: UUID
68
67
  :param group_id: (required)
69
- :type group_id: str
68
+ :type group_id: UUID
70
69
  :param user_id: (required)
71
- :type user_id: str
70
+ :type user_id: UUID
72
71
  :param _request_timeout: timeout setting for this request. If one
73
72
  number provided, it will be total request
74
73
  timeout. It can also be a pair (tuple) of
@@ -120,9 +119,9 @@ class GroupRoleApi:
120
119
  @validate_call
121
120
  def assign_to_user_with_http_info(
122
121
  self,
123
- group_role_id: StrictStr,
124
- group_id: StrictStr,
125
- user_id: StrictStr,
122
+ group_role_id: UUID,
123
+ group_id: UUID,
124
+ user_id: UUID,
126
125
  _request_timeout: Union[
127
126
  None,
128
127
  Annotated[StrictFloat, Field(gt=0)],
@@ -141,11 +140,11 @@ class GroupRoleApi:
141
140
  Assign a group role by id to a user id within that group.
142
141
 
143
142
  :param group_role_id: (required)
144
- :type group_role_id: str
143
+ :type group_role_id: UUID
145
144
  :param group_id: (required)
146
- :type group_id: str
145
+ :type group_id: UUID
147
146
  :param user_id: (required)
148
- :type user_id: str
147
+ :type user_id: UUID
149
148
  :param _request_timeout: timeout setting for this request. If one
150
149
  number provided, it will be total request
151
150
  timeout. It can also be a pair (tuple) of
@@ -197,9 +196,9 @@ class GroupRoleApi:
197
196
  @validate_call
198
197
  def assign_to_user_without_preload_content(
199
198
  self,
200
- group_role_id: StrictStr,
201
- group_id: StrictStr,
202
- user_id: StrictStr,
199
+ group_role_id: UUID,
200
+ group_id: UUID,
201
+ user_id: UUID,
203
202
  _request_timeout: Union[
204
203
  None,
205
204
  Annotated[StrictFloat, Field(gt=0)],
@@ -218,11 +217,11 @@ class GroupRoleApi:
218
217
  Assign a group role by id to a user id within that group.
219
218
 
220
219
  :param group_role_id: (required)
221
- :type group_role_id: str
220
+ :type group_role_id: UUID
222
221
  :param group_id: (required)
223
- :type group_id: str
222
+ :type group_id: UUID
224
223
  :param user_id: (required)
225
- :type user_id: str
224
+ :type user_id: UUID
226
225
  :param _request_timeout: timeout setting for this request. If one
227
226
  number provided, it will be total request
228
227
  timeout. It can also be a pair (tuple) of
@@ -285,7 +284,7 @@ class GroupRoleApi:
285
284
 
286
285
  _path_params: Dict[str, str] = {}
287
286
  _query_params: List[Tuple[str, str]] = []
288
- _header_params: Dict[str, Optional[str]] = _headers or {}
287
+ _header_params: Dict[str, Any] = self.api_client._merge_headers(_headers)
289
288
  _form_params: List[Tuple[str, str]] = []
290
289
  _files: Dict[
291
290
  str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
@@ -306,7 +305,7 @@ class GroupRoleApi:
306
305
 
307
306
 
308
307
  # set the HTTP header `Accept`
309
- if 'Accept' not in _header_params:
308
+ if not any(key.lower() == 'accept' for key in _header_params):
310
309
  _header_params['Accept'] = self.api_client.select_header_accept(
311
310
  [
312
311
  'application/json'
@@ -340,7 +339,7 @@ class GroupRoleApi:
340
339
  @validate_call
341
340
  def create_group_role(
342
341
  self,
343
- group_id: StrictStr,
342
+ group_id: UUID,
344
343
  group_role_create: GroupRoleCreate,
345
344
  _request_timeout: Union[
346
345
  None,
@@ -360,7 +359,7 @@ class GroupRoleApi:
360
359
  Create a group role with a set of permissions in a group that you control
361
360
 
362
361
  :param group_id: (required)
363
- :type group_id: str
362
+ :type group_id: UUID
364
363
  :param group_role_create: (required)
365
364
  :type group_role_create: GroupRoleCreate
366
365
  :param _request_timeout: timeout setting for this request. If one
@@ -413,7 +412,7 @@ class GroupRoleApi:
413
412
  @validate_call
414
413
  def create_group_role_with_http_info(
415
414
  self,
416
- group_id: StrictStr,
415
+ group_id: UUID,
417
416
  group_role_create: GroupRoleCreate,
418
417
  _request_timeout: Union[
419
418
  None,
@@ -433,7 +432,7 @@ class GroupRoleApi:
433
432
  Create a group role with a set of permissions in a group that you control
434
433
 
435
434
  :param group_id: (required)
436
- :type group_id: str
435
+ :type group_id: UUID
437
436
  :param group_role_create: (required)
438
437
  :type group_role_create: GroupRoleCreate
439
438
  :param _request_timeout: timeout setting for this request. If one
@@ -486,7 +485,7 @@ class GroupRoleApi:
486
485
  @validate_call
487
486
  def create_group_role_without_preload_content(
488
487
  self,
489
- group_id: StrictStr,
488
+ group_id: UUID,
490
489
  group_role_create: GroupRoleCreate,
491
490
  _request_timeout: Union[
492
491
  None,
@@ -506,7 +505,7 @@ class GroupRoleApi:
506
505
  Create a group role with a set of permissions in a group that you control
507
506
 
508
507
  :param group_id: (required)
509
- :type group_id: str
508
+ :type group_id: UUID
510
509
  :param group_role_create: (required)
511
510
  :type group_role_create: GroupRoleCreate
512
511
  :param _request_timeout: timeout setting for this request. If one
@@ -569,7 +568,7 @@ class GroupRoleApi:
569
568
 
570
569
  _path_params: Dict[str, str] = {}
571
570
  _query_params: List[Tuple[str, str]] = []
572
- _header_params: Dict[str, Optional[str]] = _headers or {}
571
+ _header_params: Dict[str, Any] = self.api_client._merge_headers(_headers)
573
572
  _form_params: List[Tuple[str, str]] = []
574
573
  _files: Dict[
575
574
  str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
@@ -588,7 +587,7 @@ class GroupRoleApi:
588
587
 
589
588
 
590
589
  # set the HTTP header `Accept`
591
- if 'Accept' not in _header_params:
590
+ if not any(key.lower() == 'accept' for key in _header_params):
592
591
  _header_params['Accept'] = self.api_client.select_header_accept(
593
592
  [
594
593
  'application/json'
@@ -597,7 +596,7 @@ class GroupRoleApi:
597
596
 
598
597
  # set the HTTP header `Content-Type`
599
598
  if _content_type:
600
- _header_params['Content-Type'] = _content_type
599
+ self.api_client._set_header(_header_params, 'Content-Type', _content_type)
601
600
  else:
602
601
  _default_content_type = (
603
602
  self.api_client.select_header_content_type(
@@ -607,7 +606,7 @@ class GroupRoleApi:
607
606
  )
608
607
  )
609
608
  if _default_content_type is not None:
610
- _header_params['Content-Type'] = _default_content_type
609
+ self.api_client._set_header(_header_params, 'Content-Type', _default_content_type)
611
610
 
612
611
  # authentication setting
613
612
  _auth_settings: List[str] = [
@@ -635,8 +634,8 @@ class GroupRoleApi:
635
634
  @validate_call
636
635
  def delete_group_role(
637
636
  self,
638
- group_id: StrictStr,
639
- group_role_id: StrictStr,
637
+ group_id: UUID,
638
+ group_role_id: UUID,
640
639
  _request_timeout: Union[
641
640
  None,
642
641
  Annotated[StrictFloat, Field(gt=0)],
@@ -655,9 +654,9 @@ class GroupRoleApi:
655
654
  Delete a group role by role ID.
656
655
 
657
656
  :param group_id: (required)
658
- :type group_id: str
657
+ :type group_id: UUID
659
658
  :param group_role_id: (required)
660
- :type group_role_id: str
659
+ :type group_role_id: UUID
661
660
  :param _request_timeout: timeout setting for this request. If one
662
661
  number provided, it will be total request
663
662
  timeout. It can also be a pair (tuple) of
@@ -708,8 +707,8 @@ class GroupRoleApi:
708
707
  @validate_call
709
708
  def delete_group_role_with_http_info(
710
709
  self,
711
- group_id: StrictStr,
712
- group_role_id: StrictStr,
710
+ group_id: UUID,
711
+ group_role_id: UUID,
713
712
  _request_timeout: Union[
714
713
  None,
715
714
  Annotated[StrictFloat, Field(gt=0)],
@@ -728,9 +727,9 @@ class GroupRoleApi:
728
727
  Delete a group role by role ID.
729
728
 
730
729
  :param group_id: (required)
731
- :type group_id: str
730
+ :type group_id: UUID
732
731
  :param group_role_id: (required)
733
- :type group_role_id: str
732
+ :type group_role_id: UUID
734
733
  :param _request_timeout: timeout setting for this request. If one
735
734
  number provided, it will be total request
736
735
  timeout. It can also be a pair (tuple) of
@@ -781,8 +780,8 @@ class GroupRoleApi:
781
780
  @validate_call
782
781
  def delete_group_role_without_preload_content(
783
782
  self,
784
- group_id: StrictStr,
785
- group_role_id: StrictStr,
783
+ group_id: UUID,
784
+ group_role_id: UUID,
786
785
  _request_timeout: Union[
787
786
  None,
788
787
  Annotated[StrictFloat, Field(gt=0)],
@@ -801,9 +800,9 @@ class GroupRoleApi:
801
800
  Delete a group role by role ID.
802
801
 
803
802
  :param group_id: (required)
804
- :type group_id: str
803
+ :type group_id: UUID
805
804
  :param group_role_id: (required)
806
- :type group_role_id: str
805
+ :type group_role_id: UUID
807
806
  :param _request_timeout: timeout setting for this request. If one
808
807
  number provided, it will be total request
809
808
  timeout. It can also be a pair (tuple) of
@@ -864,7 +863,7 @@ class GroupRoleApi:
864
863
 
865
864
  _path_params: Dict[str, str] = {}
866
865
  _query_params: List[Tuple[str, str]] = []
867
- _header_params: Dict[str, Optional[str]] = _headers or {}
866
+ _header_params: Dict[str, Any] = self.api_client._merge_headers(_headers)
868
867
  _form_params: List[Tuple[str, str]] = []
869
868
  _files: Dict[
870
869
  str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
@@ -883,7 +882,7 @@ class GroupRoleApi:
883
882
 
884
883
 
885
884
  # set the HTTP header `Accept`
886
- if 'Accept' not in _header_params:
885
+ if not any(key.lower() == 'accept' for key in _header_params):
887
886
  _header_params['Accept'] = self.api_client.select_header_accept(
888
887
  [
889
888
  'application/json'
@@ -917,8 +916,8 @@ class GroupRoleApi:
917
916
  @validate_call
918
917
  def get_group_role(
919
918
  self,
920
- group_id: StrictStr,
921
- group_role_id: StrictStr,
919
+ group_id: UUID,
920
+ group_role_id: UUID,
922
921
  _request_timeout: Union[
923
922
  None,
924
923
  Annotated[StrictFloat, Field(gt=0)],
@@ -937,9 +936,9 @@ class GroupRoleApi:
937
936
  Read a group role by role ID.
938
937
 
939
938
  :param group_id: (required)
940
- :type group_id: str
939
+ :type group_id: UUID
941
940
  :param group_role_id: (required)
942
- :type group_role_id: str
941
+ :type group_role_id: UUID
943
942
  :param _request_timeout: timeout setting for this request. If one
944
943
  number provided, it will be total request
945
944
  timeout. It can also be a pair (tuple) of
@@ -990,8 +989,8 @@ class GroupRoleApi:
990
989
  @validate_call
991
990
  def get_group_role_with_http_info(
992
991
  self,
993
- group_id: StrictStr,
994
- group_role_id: StrictStr,
992
+ group_id: UUID,
993
+ group_role_id: UUID,
995
994
  _request_timeout: Union[
996
995
  None,
997
996
  Annotated[StrictFloat, Field(gt=0)],
@@ -1010,9 +1009,9 @@ class GroupRoleApi:
1010
1009
  Read a group role by role ID.
1011
1010
 
1012
1011
  :param group_id: (required)
1013
- :type group_id: str
1012
+ :type group_id: UUID
1014
1013
  :param group_role_id: (required)
1015
- :type group_role_id: str
1014
+ :type group_role_id: UUID
1016
1015
  :param _request_timeout: timeout setting for this request. If one
1017
1016
  number provided, it will be total request
1018
1017
  timeout. It can also be a pair (tuple) of
@@ -1063,8 +1062,8 @@ class GroupRoleApi:
1063
1062
  @validate_call
1064
1063
  def get_group_role_without_preload_content(
1065
1064
  self,
1066
- group_id: StrictStr,
1067
- group_role_id: StrictStr,
1065
+ group_id: UUID,
1066
+ group_role_id: UUID,
1068
1067
  _request_timeout: Union[
1069
1068
  None,
1070
1069
  Annotated[StrictFloat, Field(gt=0)],
@@ -1083,9 +1082,9 @@ class GroupRoleApi:
1083
1082
  Read a group role by role ID.
1084
1083
 
1085
1084
  :param group_id: (required)
1086
- :type group_id: str
1085
+ :type group_id: UUID
1087
1086
  :param group_role_id: (required)
1088
- :type group_role_id: str
1087
+ :type group_role_id: UUID
1089
1088
  :param _request_timeout: timeout setting for this request. If one
1090
1089
  number provided, it will be total request
1091
1090
  timeout. It can also be a pair (tuple) of
@@ -1146,7 +1145,7 @@ class GroupRoleApi:
1146
1145
 
1147
1146
  _path_params: Dict[str, str] = {}
1148
1147
  _query_params: List[Tuple[str, str]] = []
1149
- _header_params: Dict[str, Optional[str]] = _headers or {}
1148
+ _header_params: Dict[str, Any] = self.api_client._merge_headers(_headers)
1150
1149
  _form_params: List[Tuple[str, str]] = []
1151
1150
  _files: Dict[
1152
1151
  str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
@@ -1165,7 +1164,7 @@ class GroupRoleApi:
1165
1164
 
1166
1165
 
1167
1166
  # set the HTTP header `Accept`
1168
- if 'Accept' not in _header_params:
1167
+ if not any(key.lower() == 'accept' for key in _header_params):
1169
1168
  _header_params['Accept'] = self.api_client.select_header_accept(
1170
1169
  [
1171
1170
  'application/json'
@@ -1199,7 +1198,7 @@ class GroupRoleApi:
1199
1198
  @validate_call
1200
1199
  def get_group_roles(
1201
1200
  self,
1202
- group_id: StrictStr,
1201
+ group_id: UUID,
1203
1202
  _request_timeout: Union[
1204
1203
  None,
1205
1204
  Annotated[StrictFloat, Field(gt=0)],
@@ -1218,7 +1217,7 @@ class GroupRoleApi:
1218
1217
  Read many group roles.
1219
1218
 
1220
1219
  :param group_id: (required)
1221
- :type group_id: str
1220
+ :type group_id: UUID
1222
1221
  :param _request_timeout: timeout setting for this request. If one
1223
1222
  number provided, it will be total request
1224
1223
  timeout. It can also be a pair (tuple) of
@@ -1268,7 +1267,7 @@ class GroupRoleApi:
1268
1267
  @validate_call
1269
1268
  def get_group_roles_with_http_info(
1270
1269
  self,
1271
- group_id: StrictStr,
1270
+ group_id: UUID,
1272
1271
  _request_timeout: Union[
1273
1272
  None,
1274
1273
  Annotated[StrictFloat, Field(gt=0)],
@@ -1287,7 +1286,7 @@ class GroupRoleApi:
1287
1286
  Read many group roles.
1288
1287
 
1289
1288
  :param group_id: (required)
1290
- :type group_id: str
1289
+ :type group_id: UUID
1291
1290
  :param _request_timeout: timeout setting for this request. If one
1292
1291
  number provided, it will be total request
1293
1292
  timeout. It can also be a pair (tuple) of
@@ -1337,7 +1336,7 @@ class GroupRoleApi:
1337
1336
  @validate_call
1338
1337
  def get_group_roles_without_preload_content(
1339
1338
  self,
1340
- group_id: StrictStr,
1339
+ group_id: UUID,
1341
1340
  _request_timeout: Union[
1342
1341
  None,
1343
1342
  Annotated[StrictFloat, Field(gt=0)],
@@ -1356,7 +1355,7 @@ class GroupRoleApi:
1356
1355
  Read many group roles.
1357
1356
 
1358
1357
  :param group_id: (required)
1359
- :type group_id: str
1358
+ :type group_id: UUID
1360
1359
  :param _request_timeout: timeout setting for this request. If one
1361
1360
  number provided, it will be total request
1362
1361
  timeout. It can also be a pair (tuple) of
@@ -1415,7 +1414,7 @@ class GroupRoleApi:
1415
1414
 
1416
1415
  _path_params: Dict[str, str] = {}
1417
1416
  _query_params: List[Tuple[str, str]] = []
1418
- _header_params: Dict[str, Optional[str]] = _headers or {}
1417
+ _header_params: Dict[str, Any] = self.api_client._merge_headers(_headers)
1419
1418
  _form_params: List[Tuple[str, str]] = []
1420
1419
  _files: Dict[
1421
1420
  str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
@@ -1432,7 +1431,7 @@ class GroupRoleApi:
1432
1431
 
1433
1432
 
1434
1433
  # set the HTTP header `Accept`
1435
- if 'Accept' not in _header_params:
1434
+ if not any(key.lower() == 'accept' for key in _header_params):
1436
1435
  _header_params['Accept'] = self.api_client.select_header_accept(
1437
1436
  [
1438
1437
  'application/json'
@@ -1466,9 +1465,9 @@ class GroupRoleApi:
1466
1465
  @validate_call
1467
1466
  def remove_from_user(
1468
1467
  self,
1469
- group_role_id: StrictStr,
1470
- group_id: StrictStr,
1471
- user_id: StrictStr,
1468
+ group_role_id: UUID,
1469
+ group_id: UUID,
1470
+ user_id: UUID,
1472
1471
  _request_timeout: Union[
1473
1472
  None,
1474
1473
  Annotated[StrictFloat, Field(gt=0)],
@@ -1487,11 +1486,11 @@ class GroupRoleApi:
1487
1486
  Remove a group role by id from a user id within that group.
1488
1487
 
1489
1488
  :param group_role_id: (required)
1490
- :type group_role_id: str
1489
+ :type group_role_id: UUID
1491
1490
  :param group_id: (required)
1492
- :type group_id: str
1491
+ :type group_id: UUID
1493
1492
  :param user_id: (required)
1494
- :type user_id: str
1493
+ :type user_id: UUID
1495
1494
  :param _request_timeout: timeout setting for this request. If one
1496
1495
  number provided, it will be total request
1497
1496
  timeout. It can also be a pair (tuple) of
@@ -1543,9 +1542,9 @@ class GroupRoleApi:
1543
1542
  @validate_call
1544
1543
  def remove_from_user_with_http_info(
1545
1544
  self,
1546
- group_role_id: StrictStr,
1547
- group_id: StrictStr,
1548
- user_id: StrictStr,
1545
+ group_role_id: UUID,
1546
+ group_id: UUID,
1547
+ user_id: UUID,
1549
1548
  _request_timeout: Union[
1550
1549
  None,
1551
1550
  Annotated[StrictFloat, Field(gt=0)],
@@ -1564,11 +1563,11 @@ class GroupRoleApi:
1564
1563
  Remove a group role by id from a user id within that group.
1565
1564
 
1566
1565
  :param group_role_id: (required)
1567
- :type group_role_id: str
1566
+ :type group_role_id: UUID
1568
1567
  :param group_id: (required)
1569
- :type group_id: str
1568
+ :type group_id: UUID
1570
1569
  :param user_id: (required)
1571
- :type user_id: str
1570
+ :type user_id: UUID
1572
1571
  :param _request_timeout: timeout setting for this request. If one
1573
1572
  number provided, it will be total request
1574
1573
  timeout. It can also be a pair (tuple) of
@@ -1620,9 +1619,9 @@ class GroupRoleApi:
1620
1619
  @validate_call
1621
1620
  def remove_from_user_without_preload_content(
1622
1621
  self,
1623
- group_role_id: StrictStr,
1624
- group_id: StrictStr,
1625
- user_id: StrictStr,
1622
+ group_role_id: UUID,
1623
+ group_id: UUID,
1624
+ user_id: UUID,
1626
1625
  _request_timeout: Union[
1627
1626
  None,
1628
1627
  Annotated[StrictFloat, Field(gt=0)],
@@ -1641,11 +1640,11 @@ class GroupRoleApi:
1641
1640
  Remove a group role by id from a user id within that group.
1642
1641
 
1643
1642
  :param group_role_id: (required)
1644
- :type group_role_id: str
1643
+ :type group_role_id: UUID
1645
1644
  :param group_id: (required)
1646
- :type group_id: str
1645
+ :type group_id: UUID
1647
1646
  :param user_id: (required)
1648
- :type user_id: str
1647
+ :type user_id: UUID
1649
1648
  :param _request_timeout: timeout setting for this request. If one
1650
1649
  number provided, it will be total request
1651
1650
  timeout. It can also be a pair (tuple) of
@@ -1708,7 +1707,7 @@ class GroupRoleApi:
1708
1707
 
1709
1708
  _path_params: Dict[str, str] = {}
1710
1709
  _query_params: List[Tuple[str, str]] = []
1711
- _header_params: Dict[str, Optional[str]] = _headers or {}
1710
+ _header_params: Dict[str, Any] = self.api_client._merge_headers(_headers)
1712
1711
  _form_params: List[Tuple[str, str]] = []
1713
1712
  _files: Dict[
1714
1713
  str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
@@ -1729,7 +1728,7 @@ class GroupRoleApi:
1729
1728
 
1730
1729
 
1731
1730
  # set the HTTP header `Accept`
1732
- if 'Accept' not in _header_params:
1731
+ if not any(key.lower() == 'accept' for key in _header_params):
1733
1732
  _header_params['Accept'] = self.api_client.select_header_accept(
1734
1733
  [
1735
1734
  'application/json'
@@ -1763,8 +1762,8 @@ class GroupRoleApi:
1763
1762
  @validate_call
1764
1763
  def update_group_role(
1765
1764
  self,
1766
- group_role_id: StrictStr,
1767
- group_id: StrictStr,
1765
+ group_role_id: UUID,
1766
+ group_id: UUID,
1768
1767
  group_role_create: GroupRoleCreate,
1769
1768
  _request_timeout: Union[
1770
1769
  None,
@@ -1784,9 +1783,9 @@ class GroupRoleApi:
1784
1783
  Update a group role and its permissions in a group that you control
1785
1784
 
1786
1785
  :param group_role_id: (required)
1787
- :type group_role_id: str
1786
+ :type group_role_id: UUID
1788
1787
  :param group_id: (required)
1789
- :type group_id: str
1788
+ :type group_id: UUID
1790
1789
  :param group_role_create: (required)
1791
1790
  :type group_role_create: GroupRoleCreate
1792
1791
  :param _request_timeout: timeout setting for this request. If one
@@ -1840,8 +1839,8 @@ class GroupRoleApi:
1840
1839
  @validate_call
1841
1840
  def update_group_role_with_http_info(
1842
1841
  self,
1843
- group_role_id: StrictStr,
1844
- group_id: StrictStr,
1842
+ group_role_id: UUID,
1843
+ group_id: UUID,
1845
1844
  group_role_create: GroupRoleCreate,
1846
1845
  _request_timeout: Union[
1847
1846
  None,
@@ -1861,9 +1860,9 @@ class GroupRoleApi:
1861
1860
  Update a group role and its permissions in a group that you control
1862
1861
 
1863
1862
  :param group_role_id: (required)
1864
- :type group_role_id: str
1863
+ :type group_role_id: UUID
1865
1864
  :param group_id: (required)
1866
- :type group_id: str
1865
+ :type group_id: UUID
1867
1866
  :param group_role_create: (required)
1868
1867
  :type group_role_create: GroupRoleCreate
1869
1868
  :param _request_timeout: timeout setting for this request. If one
@@ -1917,8 +1916,8 @@ class GroupRoleApi:
1917
1916
  @validate_call
1918
1917
  def update_group_role_without_preload_content(
1919
1918
  self,
1920
- group_role_id: StrictStr,
1921
- group_id: StrictStr,
1919
+ group_role_id: UUID,
1920
+ group_id: UUID,
1922
1921
  group_role_create: GroupRoleCreate,
1923
1922
  _request_timeout: Union[
1924
1923
  None,
@@ -1938,9 +1937,9 @@ class GroupRoleApi:
1938
1937
  Update a group role and its permissions in a group that you control
1939
1938
 
1940
1939
  :param group_role_id: (required)
1941
- :type group_role_id: str
1940
+ :type group_role_id: UUID
1942
1941
  :param group_id: (required)
1943
- :type group_id: str
1942
+ :type group_id: UUID
1944
1943
  :param group_role_create: (required)
1945
1944
  :type group_role_create: GroupRoleCreate
1946
1945
  :param _request_timeout: timeout setting for this request. If one
@@ -2005,7 +2004,7 @@ class GroupRoleApi:
2005
2004
 
2006
2005
  _path_params: Dict[str, str] = {}
2007
2006
  _query_params: List[Tuple[str, str]] = []
2008
- _header_params: Dict[str, Optional[str]] = _headers or {}
2007
+ _header_params: Dict[str, Any] = self.api_client._merge_headers(_headers)
2009
2008
  _form_params: List[Tuple[str, str]] = []
2010
2009
  _files: Dict[
2011
2010
  str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
@@ -2026,7 +2025,7 @@ class GroupRoleApi:
2026
2025
 
2027
2026
 
2028
2027
  # set the HTTP header `Accept`
2029
- if 'Accept' not in _header_params:
2028
+ if not any(key.lower() == 'accept' for key in _header_params):
2030
2029
  _header_params['Accept'] = self.api_client.select_header_accept(
2031
2030
  [
2032
2031
  'application/json'
@@ -2035,7 +2034,7 @@ class GroupRoleApi:
2035
2034
 
2036
2035
  # set the HTTP header `Content-Type`
2037
2036
  if _content_type:
2038
- _header_params['Content-Type'] = _content_type
2037
+ self.api_client._set_header(_header_params, 'Content-Type', _content_type)
2039
2038
  else:
2040
2039
  _default_content_type = (
2041
2040
  self.api_client.select_header_content_type(
@@ -2045,7 +2044,7 @@ class GroupRoleApi:
2045
2044
  )
2046
2045
  )
2047
2046
  if _default_content_type is not None:
2048
- _header_params['Content-Type'] = _default_content_type
2047
+ self.api_client._set_header(_header_params, 'Content-Type', _default_content_type)
2049
2048
 
2050
2049
  # authentication setting
2051
2050
  _auth_settings: List[str] = [