hyperstack 1.25.0a0__py3-none-any.whl → 1.41.2a0__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 (225) hide show
  1. hyperstack/__init__.py +80 -131
  2. hyperstack/api/__init__.py +2 -0
  3. hyperstack/api/alive_api.py +240 -0
  4. hyperstack/api/api_key_api.py +16 -20
  5. hyperstack/api/assigning_member_role_api.py +15 -17
  6. hyperstack/api/auth_api.py +1050 -5
  7. hyperstack/api/beta_access_api.py +856 -0
  8. hyperstack/api/billing_api.py +6461 -673
  9. hyperstack/api/calculate_api.py +8 -9
  10. hyperstack/api/callbacks_api.py +120 -126
  11. hyperstack/api/cluster_events_api.py +1 -2
  12. hyperstack/api/clusters_api.py +2816 -199
  13. hyperstack/api/compliance_api.py +14 -18
  14. hyperstack/api/credit_api.py +17 -15
  15. hyperstack/api/customer_contract_api.py +30 -33
  16. hyperstack/api/dashboard_api.py +4 -5
  17. hyperstack/api/deployment_api.py +4 -8
  18. hyperstack/api/environment_api.py +285 -16
  19. hyperstack/api/firewall_attachment_api.py +11 -9
  20. hyperstack/api/firewalls_api.py +341 -347
  21. hyperstack/api/flavor_api.py +4 -5
  22. hyperstack/api/floating_ip_api.py +50 -49
  23. hyperstack/api/gpu_api.py +1 -2
  24. hyperstack/api/image_api.py +35 -39
  25. hyperstack/api/invite_api.py +288 -18
  26. hyperstack/api/keypair_api.py +22 -26
  27. hyperstack/api/organization_api.py +12 -15
  28. hyperstack/api/partner_config_api.py +564 -0
  29. hyperstack/api/payment_api.py +299 -18
  30. hyperstack/api/permission_api.py +4 -5
  31. hyperstack/api/policy_api.py +4 -5
  32. hyperstack/api/pricebook_api.py +14 -12
  33. hyperstack/api/profile_api.py +13 -17
  34. hyperstack/api/rbac_role_api.py +20 -25
  35. hyperstack/api/region_api.py +7 -8
  36. hyperstack/api/security_rules_api.py +1 -2
  37. hyperstack/api/snapshot_events_api.py +1 -2
  38. hyperstack/api/snapshots_api.py +166 -172
  39. hyperstack/api/stock_api.py +4 -5
  40. hyperstack/api/template_api.py +14 -19
  41. hyperstack/api/user_api.py +55 -49
  42. hyperstack/api/user_detail_choice_api.py +1 -2
  43. hyperstack/api/user_permission_api.py +8 -10
  44. hyperstack/api/virtual_machine_api.py +1529 -929
  45. hyperstack/api/virtual_machine_events_api.py +21 -22
  46. hyperstack/api/vnc_url_api.py +54 -50
  47. hyperstack/api/volume_api.py +340 -40
  48. hyperstack/api/volume_attachment_api.py +342 -42
  49. hyperstack/api_client.py +1 -1
  50. hyperstack/configuration.py +1 -11
  51. hyperstack/models/__init__.py +77 -130
  52. hyperstack/models/{environment_fieldsfor_volume.py → access_token_field.py} +7 -7
  53. hyperstack/models/attach_volume_fields.py +6 -2
  54. hyperstack/models/attach_volumes_payload.py +4 -2
  55. hyperstack/models/{virtual_machine_usage.py → attachments_fields_for_volume.py} +13 -11
  56. hyperstack/models/{flavor_vm_fields.py → attributes.py} +15 -18
  57. hyperstack/models/auth_get_token_response_model.py +4 -6
  58. hyperstack/models/{future_node_model.py → beta_access_request_fields.py} +27 -25
  59. hyperstack/models/{create_gpu.py → beta_access_request_payload.py} +9 -11
  60. hyperstack/models/{create_discount_response.py → beta_access_request_response_model.py} +11 -11
  61. hyperstack/models/{export_billing_data_request.py → beta_access_status_item.py} +20 -23
  62. hyperstack/models/{get_all_discount_for_all_organization_response.py → beta_access_status_response_model.py} +15 -15
  63. hyperstack/models/{exclude_billing_post_response.py → billing_history.py} +13 -11
  64. hyperstack/models/billing_history_data_synthesis_details.py +105 -0
  65. hyperstack/models/{vm_usage_response.py → billing_history_fine_tuning.py} +23 -19
  66. hyperstack/models/billing_history_model_evalutation_details.py +105 -0
  67. hyperstack/models/{get_all_discounts_fields.py → billing_history_serverless_inference.py} +23 -24
  68. hyperstack/models/billing_history_serverless_inference_details.py +105 -0
  69. hyperstack/models/{billingmetricesfields.py → billing_metrices_fields.py} +4 -4
  70. hyperstack/models/{billingmetricesresponse.py → billing_metrices_response.py} +7 -7
  71. hyperstack/models/cluster_fields.py +27 -9
  72. hyperstack/models/{add_update_flavor_organization_payload.py → cluster_flavor_fields.py} +28 -26
  73. hyperstack/models/{historical_instances_fields.py → cluster_node_fields.py} +24 -22
  74. hyperstack/models/{internal_instance_flavor_fields.py → cluster_node_group_fields.py} +17 -17
  75. hyperstack/models/{create_update_policy_response_model.py → cluster_node_groups_create_response.py} +21 -11
  76. hyperstack/models/{create_update_permission_response_model.py → cluster_node_groups_get_response.py} +11 -11
  77. hyperstack/models/{auth_request_login_response_model.py → cluster_node_groups_list_response.py} +15 -11
  78. hyperstack/models/{contract_eligible_instance_fields.py → cluster_node_instance_fields.py} +13 -11
  79. hyperstack/models/{image_logos.py → cluster_nodes_list_response.py} +14 -14
  80. hyperstack/models/{internal_environment_fields.py → cluster_version.py} +13 -9
  81. hyperstack/models/cluster_versions.py +10 -2
  82. hyperstack/models/{future_nodes_stock_model.py → colors.py} +17 -15
  83. hyperstack/models/contract_discount_plan_fields.py +3 -1
  84. hyperstack/models/contract_instance_fields.py +7 -1
  85. hyperstack/models/{future_node_response_model.py → create_cluster_node_fields.py} +23 -18
  86. hyperstack/models/{update_gpu.py → create_cluster_node_group_payload.py} +12 -11
  87. hyperstack/models/create_cluster_payload.py +31 -8
  88. hyperstack/models/create_environment.py +1 -1
  89. hyperstack/models/create_instances_payload.py +7 -7
  90. hyperstack/models/create_profile_payload.py +1 -1
  91. hyperstack/models/create_snapshot_payload.py +2 -4
  92. hyperstack/models/create_volume_payload.py +1 -1
  93. hyperstack/models/data_synthesis_billing_history_details_response_schema.py +95 -0
  94. hyperstack/models/{deployment_fieldsforstartdeployments.py → deployment_fields_for_start_deployments.py} +4 -4
  95. hyperstack/models/{editlabelofanexisting_vm_payload.py → edit_label_of_an_existing_vm_payload.py} +4 -4
  96. hyperstack/models/environment_features.py +14 -2
  97. hyperstack/models/{node_stocks_payload.py → environment_fields_for_volume.py} +10 -12
  98. hyperstack/models/flavor_fields.py +3 -1
  99. hyperstack/models/{customer_fields.py → flavor_label_fields.py} +7 -7
  100. hyperstack/models/{getcreditandthresholdinfo.py → get_credit_and_threshold_info.py} +4 -4
  101. hyperstack/models/{getcreditandthresholdinfoinresponse.py → get_credit_and_threshold_info_in_response.py} +7 -7
  102. hyperstack/models/{region_payload.py → get_instance_logs_response.py} +7 -9
  103. hyperstack/models/instance_fields.py +8 -4
  104. hyperstack/models/instance_flavor_fields.py +13 -1
  105. hyperstack/models/{flavor_response.py → keypair_environment_features.py} +20 -16
  106. hyperstack/models/{internal_instance_keypair_fields.py → keypair_environment_fields.py} +13 -11
  107. hyperstack/models/keypair_fields.py +6 -2
  108. hyperstack/models/{lastdaycostfields.py → last_day_cost_fields.py} +4 -4
  109. hyperstack/models/{lastdaycostresponse.py → last_day_cost_response.py} +7 -7
  110. hyperstack/models/{export_billing_data_response.py → logos.py} +13 -9
  111. hyperstack/models/{verify_api_key_response_model.py → manual_reconciliation_model.py} +13 -13
  112. hyperstack/models/{creditrequestresponse.py → master_flavors_response.py} +14 -14
  113. hyperstack/models/{customer_payload.py → mfa_status_fields.py} +8 -10
  114. hyperstack/models/{gpu.py → mfa_status_response.py} +11 -11
  115. hyperstack/models/model_evaluation_billing_history_details_response_schema.py +95 -0
  116. hyperstack/models/{organization_thresholdfields.py → organization_threshold_fields.py} +4 -4
  117. hyperstack/models/{organizationthresholdupdateresponse.py → organization_threshold_update_response.py} +7 -7
  118. hyperstack/models/{organizationthresholdsresponse.py → organization_thresholds_response.py} +7 -7
  119. hyperstack/models/{logo_get_response.py → pagination.py} +12 -12
  120. hyperstack/models/{billing_response.py → partner_config.py} +31 -20
  121. hyperstack/models/payment_details_fields.py +5 -1
  122. hyperstack/models/{logout_payload.py → primary_color.py} +10 -8
  123. hyperstack/models/region_fields.py +16 -2
  124. hyperstack/models/{vm_usage_request_payload.py → request_instance_logs_payload.py} +8 -8
  125. hyperstack/models/{stock_visibility_user_payload.py → request_instance_logs_response.py} +8 -8
  126. hyperstack/models/{contract_billing_history.py → resource_level_billing_bucket_details_resources.py} +10 -10
  127. hyperstack/models/{node_response_model.py → resource_level_billing_history_resources_cluster.py} +21 -11
  128. hyperstack/models/resource_level_billing_history_response_attributes.py +3 -1
  129. hyperstack/models/{get_all_contracts_response_model.py → resource_level_bucket_billing_details_response_model.py} +11 -15
  130. hyperstack/models/{contract_billing_history_response_model.py → resource_level_bucket_billing_history_response_model.py} +11 -11
  131. hyperstack/models/resource_level_cluster_billing_details_response_model.py +95 -0
  132. hyperstack/models/resource_level_cluster_billing_history_response_model.py +95 -0
  133. hyperstack/models/{get_discount_detail_response.py → resource_level_cluster_graph_billing_details_response_model.py} +11 -11
  134. hyperstack/models/{organization_object_response.py → resource_level_graph_billing_details_bucket.py} +18 -14
  135. hyperstack/models/{update_discounts_status_payload.py → secondary_color.py} +10 -8
  136. hyperstack/models/{security_rules_fieldsfor_instance.py → security_rules_fields_for_instance.py} +4 -4
  137. hyperstack/models/serverless_inferenced_billing_history_details_response_schema.py +95 -0
  138. hyperstack/models/snapshot_fields.py +6 -1
  139. hyperstack/models/snapshot_retrieve_fields.py +29 -2
  140. hyperstack/models/start_deployment.py +3 -3
  141. hyperstack/models/{subscribeorunsubscribeupdatepayload.py → subscribe_or_unsubscribe_update_payload.py} +4 -4
  142. hyperstack/models/token_based_billing_history_response.py +95 -0
  143. hyperstack/models/{update_keypairnameresponse.py → update_keypair_name_response.py} +4 -4
  144. hyperstack/models/update_volume_attachment_payload.py +87 -0
  145. hyperstack/models/{verify_api_key_payload.py → update_volume_payload.py} +7 -7
  146. hyperstack/models/{stock_visibility_user_list_response.py → update_volume_response.py} +14 -16
  147. hyperstack/models/{auth_request_login_fields.py → uris.py} +19 -9
  148. hyperstack/models/{userinfopostpayload.py → user_info_post_payload.py} +4 -4
  149. hyperstack/models/{node_stock_response_model.py → user_organizations_response.py} +14 -14
  150. hyperstack/models/users_info_fields.py +3 -1
  151. hyperstack/models/volume_attachment_fields.py +9 -5
  152. hyperstack/models/volume_fields.py +14 -4
  153. hyperstack/models/{volume_fieldsfor_instance.py → volume_fields_for_instance.py} +4 -4
  154. hyperstack/models/volumes.py +17 -11
  155. hyperstack/models/{instances_summary_fields.py → volumes_fields.py} +33 -29
  156. hyperstack/models/workload_billing_history_response.py +95 -0
  157. {hyperstack-1.25.0a0.dist-info → hyperstack-1.41.2a0.dist-info}/METADATA +2 -2
  158. hyperstack-1.41.2a0.dist-info/RECORD +350 -0
  159. {hyperstack-1.25.0a0.dist-info → hyperstack-1.41.2a0.dist-info}/WHEEL +1 -1
  160. hyperstack/models/api_key_verify_fields.py +0 -93
  161. hyperstack/models/billing_immune_resources_response.py +0 -95
  162. hyperstack/models/contract_billing_history_response_attributes.py +0 -99
  163. hyperstack/models/contract_change_payload.py +0 -101
  164. hyperstack/models/contract_eligible_instances_response.py +0 -101
  165. hyperstack/models/contract_event_create_model.py +0 -91
  166. hyperstack/models/contract_resource_payload.py +0 -95
  167. hyperstack/models/contractl_billing_history_response_metrics.py +0 -87
  168. hyperstack/models/create_contract_fields.py +0 -110
  169. hyperstack/models/create_contract_payload.py +0 -106
  170. hyperstack/models/create_discounts_payload.py +0 -112
  171. hyperstack/models/create_update_permission_payload.py +0 -93
  172. hyperstack/models/create_update_policy_payload.py +0 -93
  173. hyperstack/models/creditrechargelimitfield.py +0 -93
  174. hyperstack/models/creditrechargelimitresponse.py +0 -99
  175. hyperstack/models/creditrequests.py +0 -96
  176. hyperstack/models/data.py +0 -91
  177. hyperstack/models/discount_entity_model.py +0 -97
  178. hyperstack/models/discount_fields.py +0 -100
  179. hyperstack/models/discount_plan_fields.py +0 -108
  180. hyperstack/models/discount_resource_fields.py +0 -93
  181. hyperstack/models/discount_resource_payload.py +0 -93
  182. hyperstack/models/exclude_billing_post_payload.py +0 -91
  183. hyperstack/models/field_change.py +0 -91
  184. hyperstack/models/flavor_payload.py +0 -101
  185. hyperstack/models/flavor_vms_response.py +0 -99
  186. hyperstack/models/future_node_stock_model.py +0 -93
  187. hyperstack/models/future_node_update_model.py +0 -98
  188. hyperstack/models/get_all_contract_fields.py +0 -100
  189. hyperstack/models/get_discount_response.py +0 -99
  190. hyperstack/models/get_entity_discount_detail_response.py +0 -108
  191. hyperstack/models/get_token_payload.py +0 -89
  192. hyperstack/models/get_version_response.py +0 -91
  193. hyperstack/models/historical_instance.py +0 -101
  194. hyperstack/models/infrahub_resource_object_response.py +0 -119
  195. hyperstack/models/insert_discount_plan_fields.py +0 -112
  196. hyperstack/models/internal_instance_fields.py +0 -156
  197. hyperstack/models/internal_instance_image_fields.py +0 -95
  198. hyperstack/models/internal_instances_response.py +0 -99
  199. hyperstack/models/internal_security_rules_fields_for_instance.py +0 -104
  200. hyperstack/models/internal_volume_attachment_fields.py +0 -98
  201. hyperstack/models/internal_volume_fields.py +0 -95
  202. hyperstack/models/internal_volumes_response.py +0 -99
  203. hyperstack/models/new_stock_update_response_model.py +0 -89
  204. hyperstack/models/node_model.py +0 -114
  205. hyperstack/models/node_payload_model.py +0 -97
  206. hyperstack/models/node_power_usage_model.py +0 -120
  207. hyperstack/models/node_stock_payload_model.py +0 -95
  208. hyperstack/models/organizationcreditrechargelimitresponse.py +0 -95
  209. hyperstack/models/power_usage_model.py +0 -89
  210. hyperstack/models/pricebook_resource_object_response.py +0 -107
  211. hyperstack/models/refresh_token_payload.py +0 -89
  212. hyperstack/models/region_response.py +0 -95
  213. hyperstack/models/set_defaults_payload.py +0 -89
  214. hyperstack/models/single_visibility_user_response.py +0 -91
  215. hyperstack/models/success_response_model.py +0 -89
  216. hyperstack/models/token_fields.py +0 -91
  217. hyperstack/models/update_contract_payload.py +0 -104
  218. hyperstack/models/update_discounts_payload.py +0 -102
  219. hyperstack/models/user_transfer_payload.py +0 -89
  220. hyperstack/models/volume_status_change_fields.py +0 -96
  221. hyperstack/models/volumes_last_status_change_response.py +0 -99
  222. hyperstack/models/warning_mail_log_fields.py +0 -99
  223. hyperstack/models/warning_mail_log_response.py +0 -101
  224. hyperstack-1.25.0a0.dist-info/RECORD +0 -401
  225. {hyperstack-1.25.0a0.dist-info → hyperstack-1.41.2a0.dist-info}/top_level.txt +0 -0
@@ -53,6 +53,7 @@ class AliveApi:
53
53
  ) -> None:
54
54
  """GET: Alive
55
55
 
56
+ Retrieve the billing status of your account to ensure that it is active. An active billing status ensures uninterrupted service. For additional information [**click here**](None/docs/api-reference/billing-resources/alive/).
56
57
 
57
58
  :param _request_timeout: timeout setting for this request. If one
58
59
  number provided, it will be total request
@@ -115,6 +116,7 @@ class AliveApi:
115
116
  ) -> ApiResponse[None]:
116
117
  """GET: Alive
117
118
 
119
+ Retrieve the billing status of your account to ensure that it is active. An active billing status ensures uninterrupted service. For additional information [**click here**](None/docs/api-reference/billing-resources/alive/).
118
120
 
119
121
  :param _request_timeout: timeout setting for this request. If one
120
122
  number provided, it will be total request
@@ -177,6 +179,7 @@ class AliveApi:
177
179
  ) -> RESTResponseType:
178
180
  """GET: Alive
179
181
 
182
+ Retrieve the billing status of your account to ensure that it is active. An active billing status ensures uninterrupted service. For additional information [**click here**](None/docs/api-reference/billing-resources/alive/).
180
183
 
181
184
  :param _request_timeout: timeout setting for this request. If one
182
185
  number provided, it will be total request
@@ -250,6 +253,7 @@ class AliveApi:
250
253
 
251
254
  # authentication setting
252
255
  _auth_settings: List[str] = [
256
+ 'apiKey'
253
257
  ]
254
258
 
255
259
  return self.api_client.param_serialize(
@@ -268,3 +272,239 @@ class AliveApi:
268
272
  )
269
273
 
270
274
 
275
+
276
+
277
+ @validate_call
278
+ def get_doc(
279
+ self,
280
+ _request_timeout: Union[
281
+ None,
282
+ Annotated[StrictFloat, Field(gt=0)],
283
+ Tuple[
284
+ Annotated[StrictFloat, Field(gt=0)],
285
+ Annotated[StrictFloat, Field(gt=0)]
286
+ ]
287
+ ] = None,
288
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
289
+ _content_type: Optional[StrictStr] = None,
290
+ _headers: Optional[Dict[StrictStr, Any]] = None,
291
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
292
+ ) -> None:
293
+ """get_doc
294
+
295
+
296
+ :param _request_timeout: timeout setting for this request. If one
297
+ number provided, it will be total request
298
+ timeout. It can also be a pair (tuple) of
299
+ (connection, read) timeouts.
300
+ :type _request_timeout: int, tuple(int, int), optional
301
+ :param _request_auth: set to override the auth_settings for an a single
302
+ request; this effectively ignores the
303
+ authentication in the spec for a single request.
304
+ :type _request_auth: dict, optional
305
+ :param _content_type: force content-type for the request.
306
+ :type _content_type: str, Optional
307
+ :param _headers: set to override the headers for a single
308
+ request; this effectively ignores the headers
309
+ in the spec for a single request.
310
+ :type _headers: dict, optional
311
+ :param _host_index: set to override the host_index for a single
312
+ request; this effectively ignores the host_index
313
+ in the spec for a single request.
314
+ :type _host_index: int, optional
315
+ :return: Returns the result object.
316
+ """ # noqa: E501
317
+
318
+ _param = self._get_doc_serialize(
319
+ _request_auth=_request_auth,
320
+ _content_type=_content_type,
321
+ _headers=_headers,
322
+ _host_index=_host_index
323
+ )
324
+
325
+ _response_types_map: Dict[str, Optional[str]] = {
326
+ '200': None,
327
+ }
328
+ response_data = self.api_client.call_api(
329
+ *_param,
330
+ _request_timeout=_request_timeout
331
+ )
332
+ response_data.read()
333
+ return self.api_client.response_deserialize(
334
+ response_data=response_data,
335
+ response_types_map=_response_types_map,
336
+ ).data
337
+
338
+
339
+ @validate_call
340
+ def get_doc_with_http_info(
341
+ self,
342
+ _request_timeout: Union[
343
+ None,
344
+ Annotated[StrictFloat, Field(gt=0)],
345
+ Tuple[
346
+ Annotated[StrictFloat, Field(gt=0)],
347
+ Annotated[StrictFloat, Field(gt=0)]
348
+ ]
349
+ ] = None,
350
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
351
+ _content_type: Optional[StrictStr] = None,
352
+ _headers: Optional[Dict[StrictStr, Any]] = None,
353
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
354
+ ) -> ApiResponse[None]:
355
+ """get_doc
356
+
357
+
358
+ :param _request_timeout: timeout setting for this request. If one
359
+ number provided, it will be total request
360
+ timeout. It can also be a pair (tuple) of
361
+ (connection, read) timeouts.
362
+ :type _request_timeout: int, tuple(int, int), optional
363
+ :param _request_auth: set to override the auth_settings for an a single
364
+ request; this effectively ignores the
365
+ authentication in the spec for a single request.
366
+ :type _request_auth: dict, optional
367
+ :param _content_type: force content-type for the request.
368
+ :type _content_type: str, Optional
369
+ :param _headers: set to override the headers for a single
370
+ request; this effectively ignores the headers
371
+ in the spec for a single request.
372
+ :type _headers: dict, optional
373
+ :param _host_index: set to override the host_index for a single
374
+ request; this effectively ignores the host_index
375
+ in the spec for a single request.
376
+ :type _host_index: int, optional
377
+ :return: Returns the result object.
378
+ """ # noqa: E501
379
+
380
+ _param = self._get_doc_serialize(
381
+ _request_auth=_request_auth,
382
+ _content_type=_content_type,
383
+ _headers=_headers,
384
+ _host_index=_host_index
385
+ )
386
+
387
+ _response_types_map: Dict[str, Optional[str]] = {
388
+ '200': None,
389
+ }
390
+ response_data = self.api_client.call_api(
391
+ *_param,
392
+ _request_timeout=_request_timeout
393
+ )
394
+ response_data.read()
395
+ return self.api_client.response_deserialize(
396
+ response_data=response_data,
397
+ response_types_map=_response_types_map,
398
+ )
399
+
400
+
401
+ @validate_call
402
+ def get_doc_without_preload_content(
403
+ self,
404
+ _request_timeout: Union[
405
+ None,
406
+ Annotated[StrictFloat, Field(gt=0)],
407
+ Tuple[
408
+ Annotated[StrictFloat, Field(gt=0)],
409
+ Annotated[StrictFloat, Field(gt=0)]
410
+ ]
411
+ ] = None,
412
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
413
+ _content_type: Optional[StrictStr] = None,
414
+ _headers: Optional[Dict[StrictStr, Any]] = None,
415
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
416
+ ) -> RESTResponseType:
417
+ """get_doc
418
+
419
+
420
+ :param _request_timeout: timeout setting for this request. If one
421
+ number provided, it will be total request
422
+ timeout. It can also be a pair (tuple) of
423
+ (connection, read) timeouts.
424
+ :type _request_timeout: int, tuple(int, int), optional
425
+ :param _request_auth: set to override the auth_settings for an a single
426
+ request; this effectively ignores the
427
+ authentication in the spec for a single request.
428
+ :type _request_auth: dict, optional
429
+ :param _content_type: force content-type for the request.
430
+ :type _content_type: str, Optional
431
+ :param _headers: set to override the headers for a single
432
+ request; this effectively ignores the headers
433
+ in the spec for a single request.
434
+ :type _headers: dict, optional
435
+ :param _host_index: set to override the host_index for a single
436
+ request; this effectively ignores the host_index
437
+ in the spec for a single request.
438
+ :type _host_index: int, optional
439
+ :return: Returns the result object.
440
+ """ # noqa: E501
441
+
442
+ _param = self._get_doc_serialize(
443
+ _request_auth=_request_auth,
444
+ _content_type=_content_type,
445
+ _headers=_headers,
446
+ _host_index=_host_index
447
+ )
448
+
449
+ _response_types_map: Dict[str, Optional[str]] = {
450
+ '200': None,
451
+ }
452
+ response_data = self.api_client.call_api(
453
+ *_param,
454
+ _request_timeout=_request_timeout
455
+ )
456
+ return response_data.response
457
+
458
+
459
+ def _get_doc_serialize(
460
+ self,
461
+ _request_auth,
462
+ _content_type,
463
+ _headers,
464
+ _host_index,
465
+ ) -> RequestSerialized:
466
+
467
+ _host = None
468
+
469
+ _collection_formats: Dict[str, str] = {
470
+ }
471
+
472
+ _path_params: Dict[str, str] = {}
473
+ _query_params: List[Tuple[str, str]] = []
474
+ _header_params: Dict[str, Optional[str]] = _headers or {}
475
+ _form_params: List[Tuple[str, str]] = []
476
+ _files: Dict[
477
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
478
+ ] = {}
479
+ _body_params: Optional[bytes] = None
480
+
481
+ # process the path parameters
482
+ # process the query parameters
483
+ # process the header parameters
484
+ # process the form parameters
485
+ # process the body parameter
486
+
487
+
488
+
489
+
490
+ # authentication setting
491
+ _auth_settings: List[str] = [
492
+ 'apiKey'
493
+ ]
494
+
495
+ return self.api_client.param_serialize(
496
+ method='GET',
497
+ resource_path='/billing/alive/doc',
498
+ path_params=_path_params,
499
+ query_params=_query_params,
500
+ header_params=_header_params,
501
+ body=_body_params,
502
+ post_params=_form_params,
503
+ files=_files,
504
+ auth_settings=_auth_settings,
505
+ collection_formats=_collection_formats,
506
+ _host=_host,
507
+ _request_auth=_request_auth
508
+ )
509
+
510
+
@@ -292,8 +292,7 @@ class ApiKeyApi:
292
292
 
293
293
  # authentication setting
294
294
  _auth_settings: List[str] = [
295
- 'apiKey',
296
- 'accessToken'
295
+ 'apiKey'
297
296
  ]
298
297
 
299
298
  return self.api_client.param_serialize(
@@ -333,7 +332,7 @@ class ApiKeyApi:
333
332
  ) -> GenerateUpdateApiKeyResponseModel:
334
333
  """Generate API Key
335
334
 
336
- Generates your API key, providing access to the Infrahub APIs. For further details on API keys, [**click here**](https://infrahub-doc.nexgencloud.com/docs/api-reference/auth-resources/api-key/generate-api-key).
335
+ Generates your API key, providing access to the Infrahub APIs. For further details on API keys, [**click here**](https://docs...cloud/docs/api-reference/auth-resources/api-key/generate-api-key).
337
336
 
338
337
  :param payload: (required)
339
338
  :type payload: GenerateUpdateApiKeyPayload
@@ -405,7 +404,7 @@ class ApiKeyApi:
405
404
  ) -> ApiResponse[GenerateUpdateApiKeyResponseModel]:
406
405
  """Generate API Key
407
406
 
408
- Generates your API key, providing access to the Infrahub APIs. For further details on API keys, [**click here**](https://infrahub-doc.nexgencloud.com/docs/api-reference/auth-resources/api-key/generate-api-key).
407
+ Generates your API key, providing access to the Infrahub APIs. For further details on API keys, [**click here**](https://docs...cloud/docs/api-reference/auth-resources/api-key/generate-api-key).
409
408
 
410
409
  :param payload: (required)
411
410
  :type payload: GenerateUpdateApiKeyPayload
@@ -477,7 +476,7 @@ class ApiKeyApi:
477
476
  ) -> RESTResponseType:
478
477
  """Generate API Key
479
478
 
480
- Generates your API key, providing access to the Infrahub APIs. For further details on API keys, [**click here**](https://infrahub-doc.nexgencloud.com/docs/api-reference/auth-resources/api-key/generate-api-key).
479
+ Generates your API key, providing access to the Infrahub APIs. For further details on API keys, [**click here**](https://docs...cloud/docs/api-reference/auth-resources/api-key/generate-api-key).
481
480
 
482
481
  :param payload: (required)
483
482
  :type payload: GenerateUpdateApiKeyPayload
@@ -582,7 +581,6 @@ class ApiKeyApi:
582
581
 
583
582
  # authentication setting
584
583
  _auth_settings: List[str] = [
585
- 'accessToken'
586
584
  ]
587
585
 
588
586
  return self.api_client.param_serialize(
@@ -604,7 +602,7 @@ class ApiKeyApi:
604
602
 
605
603
 
606
604
  @validate_call
607
- def retrieve_api_keys(
605
+ def retrieve_api_key(
608
606
  self,
609
607
  _request_timeout: Union[
610
608
  None,
@@ -621,7 +619,7 @@ class ApiKeyApi:
621
619
  ) -> GetApiKeysResponseModel:
622
620
  """Retrieve API Keys
623
621
 
624
- Retrieves your API keys, granting access to the Infrahub APIs. For further details on API keys, [**click here**](https://infrahub-doc.nexgencloud.com/docs/api-reference/auth-resources/api-key/retrieve-api-key).
622
+ Retrieves your API keys, granting access to the Infrahub APIs. For further details on API keys, [**click here**](https://docs...cloud/docs/api-reference/auth-resources/api-key/retrieve-api-key).
625
623
 
626
624
  :param _request_timeout: timeout setting for this request. If one
627
625
  number provided, it will be total request
@@ -645,7 +643,7 @@ class ApiKeyApi:
645
643
  :return: Returns the result object.
646
644
  """ # noqa: E501
647
645
 
648
- _param = self._retrieve_api_keys_serialize(
646
+ _param = self._retrieve_api_key_serialize(
649
647
  _request_auth=_request_auth,
650
648
  _content_type=_content_type,
651
649
  _headers=_headers,
@@ -670,7 +668,7 @@ class ApiKeyApi:
670
668
 
671
669
 
672
670
  @validate_call
673
- def retrieve_api_keys_with_http_info(
671
+ def retrieve_api_key_with_http_info(
674
672
  self,
675
673
  _request_timeout: Union[
676
674
  None,
@@ -687,7 +685,7 @@ class ApiKeyApi:
687
685
  ) -> ApiResponse[GetApiKeysResponseModel]:
688
686
  """Retrieve API Keys
689
687
 
690
- Retrieves your API keys, granting access to the Infrahub APIs. For further details on API keys, [**click here**](https://infrahub-doc.nexgencloud.com/docs/api-reference/auth-resources/api-key/retrieve-api-key).
688
+ Retrieves your API keys, granting access to the Infrahub APIs. For further details on API keys, [**click here**](https://docs...cloud/docs/api-reference/auth-resources/api-key/retrieve-api-key).
691
689
 
692
690
  :param _request_timeout: timeout setting for this request. If one
693
691
  number provided, it will be total request
@@ -711,7 +709,7 @@ class ApiKeyApi:
711
709
  :return: Returns the result object.
712
710
  """ # noqa: E501
713
711
 
714
- _param = self._retrieve_api_keys_serialize(
712
+ _param = self._retrieve_api_key_serialize(
715
713
  _request_auth=_request_auth,
716
714
  _content_type=_content_type,
717
715
  _headers=_headers,
@@ -736,7 +734,7 @@ class ApiKeyApi:
736
734
 
737
735
 
738
736
  @validate_call
739
- def retrieve_api_keys_without_preload_content(
737
+ def retrieve_api_key_without_preload_content(
740
738
  self,
741
739
  _request_timeout: Union[
742
740
  None,
@@ -753,7 +751,7 @@ class ApiKeyApi:
753
751
  ) -> RESTResponseType:
754
752
  """Retrieve API Keys
755
753
 
756
- Retrieves your API keys, granting access to the Infrahub APIs. For further details on API keys, [**click here**](https://infrahub-doc.nexgencloud.com/docs/api-reference/auth-resources/api-key/retrieve-api-key).
754
+ Retrieves your API keys, granting access to the Infrahub APIs. For further details on API keys, [**click here**](https://docs...cloud/docs/api-reference/auth-resources/api-key/retrieve-api-key).
757
755
 
758
756
  :param _request_timeout: timeout setting for this request. If one
759
757
  number provided, it will be total request
@@ -777,7 +775,7 @@ class ApiKeyApi:
777
775
  :return: Returns the result object.
778
776
  """ # noqa: E501
779
777
 
780
- _param = self._retrieve_api_keys_serialize(
778
+ _param = self._retrieve_api_key_serialize(
781
779
  _request_auth=_request_auth,
782
780
  _content_type=_content_type,
783
781
  _headers=_headers,
@@ -797,7 +795,7 @@ class ApiKeyApi:
797
795
  return response_data.response
798
796
 
799
797
 
800
- def _retrieve_api_keys_serialize(
798
+ def _retrieve_api_key_serialize(
801
799
  self,
802
800
  _request_auth,
803
801
  _content_type,
@@ -837,8 +835,7 @@ class ApiKeyApi:
837
835
 
838
836
  # authentication setting
839
837
  _auth_settings: List[str] = [
840
- 'apiKey',
841
- 'accessToken'
838
+ 'apiKey'
842
839
  ]
843
840
 
844
841
  return self.api_client.param_serialize(
@@ -1139,8 +1136,7 @@ class ApiKeyApi:
1139
1136
 
1140
1137
  # authentication setting
1141
1138
  _auth_settings: List[str] = [
1142
- 'apiKey',
1143
- 'accessToken'
1139
+ 'apiKey'
1144
1140
  ]
1145
1141
 
1146
1142
  return self.api_client.param_serialize(
@@ -40,7 +40,7 @@ class AssigningMemberRoleApi:
40
40
 
41
41
 
42
42
  @validate_call
43
- def assign_rbac_role(
43
+ def assign_rbac_role_to_user(
44
44
  self,
45
45
  user_id: StrictInt,
46
46
  payload: AssignRbacRolePayload,
@@ -59,7 +59,7 @@ class AssigningMemberRoleApi:
59
59
  ) -> RbacRoleDetailResponseModel:
60
60
  """Assign RBAC Role
61
61
 
62
- Assigns a specific RBAC role to a user within your organization, granting them access to the resource actions permitted by the role. Provide the user ID in the path and the role ID in the request body. For additional information, [click here](https://infrahub-doc.nexgencloud.com/docs/api-reference/auth-resources/rbac/manage-member-roles/assign-rbac-role).
62
+ Assigns a specific RBAC role to a user within your organization, granting them access to the resource actions permitted by the role. Provide the user ID in the path and the role ID in the request body. For additional information, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/manage-member-roles/assign-rbac-role).
63
63
 
64
64
  :param user_id: (required)
65
65
  :type user_id: int
@@ -87,7 +87,7 @@ class AssigningMemberRoleApi:
87
87
  :return: Returns the result object.
88
88
  """ # noqa: E501
89
89
 
90
- _param = self._assign_rbac_role_serialize(
90
+ _param = self._assign_rbac_role_to_user_serialize(
91
91
  user_id=user_id,
92
92
  payload=payload,
93
93
  _request_auth=_request_auth,
@@ -115,7 +115,7 @@ class AssigningMemberRoleApi:
115
115
 
116
116
 
117
117
  @validate_call
118
- def assign_rbac_role_with_http_info(
118
+ def assign_rbac_role_to_user_with_http_info(
119
119
  self,
120
120
  user_id: StrictInt,
121
121
  payload: AssignRbacRolePayload,
@@ -134,7 +134,7 @@ class AssigningMemberRoleApi:
134
134
  ) -> ApiResponse[RbacRoleDetailResponseModel]:
135
135
  """Assign RBAC Role
136
136
 
137
- Assigns a specific RBAC role to a user within your organization, granting them access to the resource actions permitted by the role. Provide the user ID in the path and the role ID in the request body. For additional information, [click here](https://infrahub-doc.nexgencloud.com/docs/api-reference/auth-resources/rbac/manage-member-roles/assign-rbac-role).
137
+ Assigns a specific RBAC role to a user within your organization, granting them access to the resource actions permitted by the role. Provide the user ID in the path and the role ID in the request body. For additional information, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/manage-member-roles/assign-rbac-role).
138
138
 
139
139
  :param user_id: (required)
140
140
  :type user_id: int
@@ -162,7 +162,7 @@ class AssigningMemberRoleApi:
162
162
  :return: Returns the result object.
163
163
  """ # noqa: E501
164
164
 
165
- _param = self._assign_rbac_role_serialize(
165
+ _param = self._assign_rbac_role_to_user_serialize(
166
166
  user_id=user_id,
167
167
  payload=payload,
168
168
  _request_auth=_request_auth,
@@ -190,7 +190,7 @@ class AssigningMemberRoleApi:
190
190
 
191
191
 
192
192
  @validate_call
193
- def assign_rbac_role_without_preload_content(
193
+ def assign_rbac_role_to_user_without_preload_content(
194
194
  self,
195
195
  user_id: StrictInt,
196
196
  payload: AssignRbacRolePayload,
@@ -209,7 +209,7 @@ class AssigningMemberRoleApi:
209
209
  ) -> RESTResponseType:
210
210
  """Assign RBAC Role
211
211
 
212
- Assigns a specific RBAC role to a user within your organization, granting them access to the resource actions permitted by the role. Provide the user ID in the path and the role ID in the request body. For additional information, [click here](https://infrahub-doc.nexgencloud.com/docs/api-reference/auth-resources/rbac/manage-member-roles/assign-rbac-role).
212
+ Assigns a specific RBAC role to a user within your organization, granting them access to the resource actions permitted by the role. Provide the user ID in the path and the role ID in the request body. For additional information, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/manage-member-roles/assign-rbac-role).
213
213
 
214
214
  :param user_id: (required)
215
215
  :type user_id: int
@@ -237,7 +237,7 @@ class AssigningMemberRoleApi:
237
237
  :return: Returns the result object.
238
238
  """ # noqa: E501
239
239
 
240
- _param = self._assign_rbac_role_serialize(
240
+ _param = self._assign_rbac_role_to_user_serialize(
241
241
  user_id=user_id,
242
242
  payload=payload,
243
243
  _request_auth=_request_auth,
@@ -260,7 +260,7 @@ class AssigningMemberRoleApi:
260
260
  return response_data.response
261
261
 
262
262
 
263
- def _assign_rbac_role_serialize(
263
+ def _assign_rbac_role_to_user_serialize(
264
264
  self,
265
265
  user_id,
266
266
  payload,
@@ -319,8 +319,7 @@ class AssigningMemberRoleApi:
319
319
 
320
320
  # authentication setting
321
321
  _auth_settings: List[str] = [
322
- 'apiKey',
323
- 'accessToken'
322
+ 'apiKey'
324
323
  ]
325
324
 
326
325
  return self.api_client.param_serialize(
@@ -360,7 +359,7 @@ class AssigningMemberRoleApi:
360
359
  ) -> CommonResponseModel:
361
360
  """Remove RBAC Role From User
362
361
 
363
- Removes an RBAC role from a user within your organization, revoking the resource permissions they had access to. Provide the user ID in the path. For additional information, [click here](https://infrahub-doc.nexgencloud.com/docs/api-reference/auth-resources/rbac/manage-member-roles/revoke-rbac-role).
362
+ Removes an RBAC role from a user within your organization, revoking the resource permissions they had access to. Provide the user ID in the path. For additional information, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/manage-member-roles/revoke-rbac-role).
364
363
 
365
364
  :param user_id: (required)
366
365
  :type user_id: int
@@ -431,7 +430,7 @@ class AssigningMemberRoleApi:
431
430
  ) -> ApiResponse[CommonResponseModel]:
432
431
  """Remove RBAC Role From User
433
432
 
434
- Removes an RBAC role from a user within your organization, revoking the resource permissions they had access to. Provide the user ID in the path. For additional information, [click here](https://infrahub-doc.nexgencloud.com/docs/api-reference/auth-resources/rbac/manage-member-roles/revoke-rbac-role).
433
+ Removes an RBAC role from a user within your organization, revoking the resource permissions they had access to. Provide the user ID in the path. For additional information, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/manage-member-roles/revoke-rbac-role).
435
434
 
436
435
  :param user_id: (required)
437
436
  :type user_id: int
@@ -502,7 +501,7 @@ class AssigningMemberRoleApi:
502
501
  ) -> RESTResponseType:
503
502
  """Remove RBAC Role From User
504
503
 
505
- Removes an RBAC role from a user within your organization, revoking the resource permissions they had access to. Provide the user ID in the path. For additional information, [click here](https://infrahub-doc.nexgencloud.com/docs/api-reference/auth-resources/rbac/manage-member-roles/revoke-rbac-role).
504
+ Removes an RBAC role from a user within your organization, revoking the resource permissions they had access to. Provide the user ID in the path. For additional information, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/manage-member-roles/revoke-rbac-role).
506
505
 
507
506
  :param user_id: (required)
508
507
  :type user_id: int
@@ -593,8 +592,7 @@ class AssigningMemberRoleApi:
593
592
 
594
593
  # authentication setting
595
594
  _auth_settings: List[str] = [
596
- 'apiKey',
597
- 'accessToken'
595
+ 'apiKey'
598
596
  ]
599
597
 
600
598
  return self.api_client.param_serialize(