waldur-api-client 7.8.3__py3-none-any.whl → 7.8.5__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.
Potentially problematic release.
This version of waldur-api-client might be problematic. Click here for more details.
- waldur_api_client/api/backend_resources/backend_resources_import_resource.py +3 -3
- waldur_api_client/api/booking_resources/booking_resources_count.py +108 -0
- waldur_api_client/api/booking_resources/booking_resources_list.py +108 -0
- waldur_api_client/api/call_managing_organisations/call_managing_organisations_add_user.py +17 -10
- waldur_api_client/api/customers/customers_add_user.py +17 -10
- waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_count.py +30 -0
- waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_list.py +30 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/__init__.py +1 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_actions_count.py +125 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_actions_retrieve.py +119 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_count.py +239 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_create.py +152 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_destroy.py +89 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_list.py +242 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_partial_update.py +166 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_retrieve.py +144 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_update.py +166 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_template_count.py +125 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_template_retrieve.py +126 -0
- waldur_api_client/api/marketplace_orders/marketplace_orders_set_backend_id.py +105 -0
- waldur_api_client/api/marketplace_plans/marketplace_plans_update_discounts.py +123 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_partition.py +168 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_software_catalog.py +168 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_user.py +19 -10
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_component_stats_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_costs_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_count.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_create_offering_component.py +1 -1
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_customers_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_count.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_partition.py +107 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_software_catalog.py +107 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_tos_stats_retrieve.py +146 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_partition_partial_update.py +168 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_software_catalog_partial_update.py +168 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +108 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +108 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_downscaled.py +107 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_paused.py +107 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_restrict_member_access.py +107 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_update_options.py +168 -0
- waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_count.py +15 -0
- waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_list.py +15 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +108 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +108 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_renew.py +166 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_set_downscaled.py +107 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_set_paused.py +107 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_set_restrict_member_access.py +107 -0
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_add_user.py +17 -10
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_customer_projects_list.py +15 -0
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_offerings_list.py +15 -0
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_projects_list.py +14 -24
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_set_offerings_username.py +8 -67
- waldur_api_client/api/marketplace_service_providers/service_provider_checklists_summary.py +189 -0
- waldur_api_client/api/marketplace_site_agent_identities/__init__.py +1 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_count.py +240 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_create.py +148 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_destroy.py +89 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_list.py +241 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_event_subscription.py +176 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_service.py +170 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_retrieve.py +140 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_update.py +162 -0
- waldur_api_client/api/marketplace_site_agent_processors/__init__.py +1 -0
- waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_count.py +240 -0
- waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_list.py +241 -0
- waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_retrieve.py +142 -0
- waldur_api_client/api/marketplace_site_agent_services/__init__.py +1 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_count.py +229 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_list.py +230 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_register_processor.py +172 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_retrieve.py +140 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_set_statistics.py +166 -0
- waldur_api_client/api/marketplace_software_catalogs/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_count.py +225 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_create.py +150 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_list.py +226 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_partial_update.py +164 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_update.py +164 -0
- waldur_api_client/api/marketplace_software_packages/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_count.py +352 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_create.py +150 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_list.py +353 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_partial_update.py +164 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_update.py +164 -0
- waldur_api_client/api/marketplace_software_targets/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_count.py +313 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_create.py +117 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_list.py +314 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_partial_update.py +142 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_update.py +142 -0
- waldur_api_client/api/marketplace_software_versions/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_count.py +310 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_create.py +117 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_list.py +311 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_partial_update.py +142 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_update.py +142 -0
- waldur_api_client/api/onboarding/__init__.py +1 -0
- waldur_api_client/api/onboarding/onboarding_supported_countries_retrieve.py +74 -0
- waldur_api_client/api/onboarding_justifications/__init__.py +1 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_approve.py +168 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_attach_document.py +211 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_count.py +172 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_create.py +150 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_create_justification.py +154 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_destroy.py +89 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_list.py +175 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_partial_update.py +164 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_reject.py +168 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_retrieve.py +142 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_update.py +164 -0
- waldur_api_client/api/onboarding_verifications/__init__.py +1 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_count.py +172 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_create.py +150 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_create_customer.py +144 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_destroy.py +89 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_list.py +175 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_partial_update.py +164 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_retrieve.py +142 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_update.py +164 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_validate_company.py +154 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_count.py +33 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_create.py +154 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_destroy.py +91 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_list.py +33 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_partial_update.py +164 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_update.py +164 -0
- waldur_api_client/api/openstack_networks/openstack_networks_rbac_policy_create.py +24 -22
- waldur_api_client/api/projects/projects_add_user.py +17 -10
- waldur_api_client/api/projects/projects_checklist_template_count.py +125 -0
- waldur_api_client/api/projects/projects_checklist_template_retrieve.py +126 -0
- waldur_api_client/api/projects/projects_count.py +30 -0
- waldur_api_client/api/projects/projects_list.py +30 -0
- waldur_api_client/api/projects/projects_move_project.py +19 -10
- waldur_api_client/api/projects/projects_recover.py +166 -0
- waldur_api_client/api/proposal_proposals/proposal_proposals_add_user.py +17 -10
- waldur_api_client/api/proposal_proposals/proposal_proposals_checklist_template_count.py +125 -0
- waldur_api_client/api/proposal_proposals/proposal_proposals_checklist_template_retrieve.py +126 -0
- waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_add_user.py +17 -10
- waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_offerings_list.py +15 -0
- waldur_api_client/api/remote_waldur_api/remote_waldur_api_pull_resource_robot_accounts.py +88 -0
- waldur_api_client/models/__init__.py +214 -8
- waldur_api_client/models/agent_event_subscription_create_request.py +71 -0
- waldur_api_client/models/agent_identity.py +211 -0
- waldur_api_client/models/agent_identity_request.py +157 -0
- waldur_api_client/models/agent_processor.py +170 -0
- waldur_api_client/models/agent_processor_create_request.py +89 -0
- waldur_api_client/models/agent_service.py +172 -0
- waldur_api_client/models/agent_service_create_request.py +81 -0
- waldur_api_client/models/agent_service_state.py +10 -0
- waldur_api_client/models/agent_service_statistics_request.py +59 -0
- waldur_api_client/models/base_provider_plan.py +21 -0
- waldur_api_client/models/base_public_plan.py +21 -0
- waldur_api_client/models/booking_offerings_list_field_item.py +2 -0
- waldur_api_client/models/booking_offerings_retrieve_field_item.py +2 -0
- waldur_api_client/models/booking_resource.py +37 -11
- waldur_api_client/models/booking_resource_renewal_date_type_0.py +53 -0
- waldur_api_client/models/booking_resources_list_field_item.py +1 -0
- waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/call_managing_organisations_add_user_response_400.py +65 -0
- waldur_api_client/models/call_round.py +4 -4
- waldur_api_client/models/checklist_template.py +99 -0
- waldur_api_client/models/checklist_template_checklist.py +44 -0
- waldur_api_client/models/constance_settings.py +126 -45
- waldur_api_client/models/constance_settings_request.py +126 -45
- waldur_api_client/models/constance_settings_request_form.py +126 -45
- waldur_api_client/models/constance_settings_request_multipart.py +219 -71
- waldur_api_client/models/customer.py +9 -0
- waldur_api_client/models/customer_component_usage_policy.py +175 -0
- waldur_api_client/models/customer_component_usage_policy_request.py +102 -0
- waldur_api_client/models/customers_add_user_response_400.py +65 -0
- waldur_api_client/models/customers_list_field_item.py +1 -0
- waldur_api_client/models/customers_retrieve_field_item.py +1 -0
- waldur_api_client/models/deprecated_network_rbac_policy.py +137 -0
- waldur_api_client/models/deprecated_network_rbac_policy_request.py +78 -0
- waldur_api_client/models/discount_config_request.py +91 -0
- waldur_api_client/models/discounts_update_request.py +65 -0
- waldur_api_client/models/discounts_update_request_discounts.py +57 -0
- waldur_api_client/models/event_types_enum.py +1 -0
- waldur_api_client/models/issue.py +0 -25
- waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +1 -0
- waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_orders_count_state_item.py +1 -0
- waldur_api_client/models/marketplace_orders_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_orders_list_state_item.py +1 -0
- waldur_api_client/models/marketplace_orders_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_add_user_response_400.py +65 -0
- waldur_api_client/models/marketplace_provider_offerings_list_course_accounts_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_public_offerings_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_resources_list_field_item.py +1 -0
- waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_service_providers_add_user_response_400.py +65 -0
- waldur_api_client/models/marketplace_site_agent_services_count_state_item.py +10 -0
- waldur_api_client/models/marketplace_site_agent_services_list_state_item.py +10 -0
- waldur_api_client/models/marketplace_software_catalogs_count_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_catalogs_list_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_packages_count_o_item.py +17 -0
- waldur_api_client/models/marketplace_software_packages_list_o_item.py +17 -0
- waldur_api_client/models/marketplace_software_targets_count_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_targets_list_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_versions_count_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_versions_list_o_item.py +15 -0
- waldur_api_client/models/merged_plugin_options.py +65 -8
- waldur_api_client/models/merged_plugin_options_request.py +65 -8
- waldur_api_client/models/nested_agent_processor.py +154 -0
- waldur_api_client/models/nested_agent_service.py +134 -0
- waldur_api_client/models/nested_agent_service_request.py +90 -0
- waldur_api_client/models/nested_customer_usage_policy_component.py +103 -0
- waldur_api_client/models/nested_customer_usage_policy_component_request.py +87 -0
- waldur_api_client/models/nested_partition.py +412 -0
- waldur_api_client/models/nested_partition_request.py +397 -0
- waldur_api_client/models/nested_plan_component.py +155 -0
- waldur_api_client/models/nested_plan_component_request.py +128 -0
- waldur_api_client/models/nested_round.py +5 -5
- waldur_api_client/models/nested_software_catalog.py +134 -0
- waldur_api_client/models/nested_software_catalog_catalog.py +86 -0
- waldur_api_client/models/nested_software_catalog_partition.py +86 -0
- waldur_api_client/models/nested_software_catalog_request.py +68 -0
- waldur_api_client/models/nested_software_target.py +84 -0
- waldur_api_client/models/nested_software_target_request.py +75 -0
- waldur_api_client/models/nested_software_version.py +124 -0
- waldur_api_client/models/nested_software_version_request.py +93 -0
- waldur_api_client/models/network_rbac_policy_request.py +8 -0
- waldur_api_client/models/notification.py +9 -9
- waldur_api_client/models/{notification_context_fields.py → notification_context_schema.py} +6 -6
- waldur_api_client/models/notification_template_detail_serializers.py +9 -3
- waldur_api_client/models/observable_object_type_enum.py +14 -0
- waldur_api_client/models/offering.py +42 -0
- waldur_api_client/models/offering_component.py +79 -0
- waldur_api_client/models/offering_component_request.py +80 -0
- waldur_api_client/models/offering_create.py +36 -0
- waldur_api_client/models/offering_partition.py +440 -0
- waldur_api_client/models/offering_partition_request.py +406 -0
- waldur_api_client/models/offering_software_catalog.py +176 -0
- waldur_api_client/models/offering_software_catalog_request.py +118 -0
- waldur_api_client/models/onboarding_company_validation_request_request.py +88 -0
- waldur_api_client/models/onboarding_justification.py +212 -0
- waldur_api_client/models/onboarding_justification_create_request.py +71 -0
- waldur_api_client/models/onboarding_justification_documentation.py +108 -0
- waldur_api_client/models/onboarding_justification_documentation_request.py +84 -0
- waldur_api_client/models/onboarding_justification_documentation_request_form.py +84 -0
- waldur_api_client/models/onboarding_justification_documentation_request_multipart.py +98 -0
- waldur_api_client/models/onboarding_justification_request.py +89 -0
- waldur_api_client/models/onboarding_justification_review_request.py +59 -0
- waldur_api_client/models/onboarding_verification.py +250 -0
- waldur_api_client/models/onboarding_verification_request.py +128 -0
- waldur_api_client/models/onboarding_verification_status_enum.py +12 -0
- waldur_api_client/models/open_stack_create_floating_ip_request.py +20 -1
- waldur_api_client/models/order_backend_id_request.py +59 -0
- waldur_api_client/models/order_create.py +4 -4
- waldur_api_client/models/order_details.py +43 -11
- waldur_api_client/models/order_state.py +1 -0
- waldur_api_client/models/patched_customer_component_usage_policy_request.py +104 -0
- waldur_api_client/models/patched_network_rbac_policy_request.py +85 -0
- waldur_api_client/models/patched_offering_partition_request.py +412 -0
- waldur_api_client/models/patched_offering_software_catalog_update_request.py +131 -0
- waldur_api_client/models/patched_onboarding_justification_request.py +88 -0
- waldur_api_client/models/patched_onboarding_verification_request.py +128 -0
- waldur_api_client/models/patched_project_credit_request.py +13 -0
- waldur_api_client/models/patched_project_request.py +10 -2
- waldur_api_client/models/patched_project_request_form.py +10 -2
- waldur_api_client/models/patched_project_request_multipart.py +13 -2
- waldur_api_client/models/patched_software_catalog_request.py +86 -0
- waldur_api_client/models/patched_software_package_request.py +86 -0
- waldur_api_client/models/plan_component.py +40 -0
- waldur_api_client/models/project.py +37 -2
- waldur_api_client/models/project_credit.py +13 -0
- waldur_api_client/models/project_credit_request.py +13 -0
- waldur_api_client/models/project_recovery_request.py +70 -0
- waldur_api_client/models/project_request.py +10 -2
- waldur_api_client/models/project_request_form.py +10 -2
- waldur_api_client/models/project_request_multipart.py +13 -2
- waldur_api_client/models/project_user.py +21 -4
- waldur_api_client/models/projects_add_user_response_400.py +65 -0
- waldur_api_client/models/projects_list_field_item.py +4 -0
- waldur_api_client/models/projects_move_project_response_400.py +65 -0
- waldur_api_client/models/projects_retrieve_field_item.py +4 -0
- waldur_api_client/models/proposal_proposals_add_user_response_400.py +65 -0
- waldur_api_client/models/proposal_protected_calls_add_user_response_400.py +65 -0
- waldur_api_client/models/protected_round.py +4 -4
- waldur_api_client/models/provider_offering_details.py +42 -0
- waldur_api_client/models/provider_plan_details.py +18 -0
- waldur_api_client/models/public_offering_details.py +42 -0
- waldur_api_client/models/question.py +102 -0
- waldur_api_client/models/question_options.py +79 -0
- waldur_api_client/models/remote_resource_order_remote_state_enum.py +1 -0
- waldur_api_client/models/{set_offerings_username.py → remove_partition_request.py} +11 -19
- waldur_api_client/models/remove_software_catalog_request.py +60 -0
- waldur_api_client/models/resource.py +37 -11
- waldur_api_client/models/resource_downscaled_request.py +59 -0
- waldur_api_client/models/resource_paused_request.py +59 -0
- waldur_api_client/models/resource_renew_request.py +83 -0
- waldur_api_client/models/resource_renew_request_limits.py +44 -0
- waldur_api_client/models/resource_renewal_date_type_0.py +53 -0
- waldur_api_client/models/resource_restrict_member_access_request.py +59 -0
- waldur_api_client/models/{status_enum.py → round_status.py} +1 -1
- waldur_api_client/models/service_provider_checklist_summary.py +98 -0
- waldur_api_client/models/software_catalog.py +130 -0
- waldur_api_client/models/software_catalog_request.py +87 -0
- waldur_api_client/models/software_catalog_uuid.py +60 -0
- waldur_api_client/models/software_package.py +168 -0
- waldur_api_client/models/software_package_request.py +87 -0
- waldur_api_client/models/software_target.py +110 -0
- waldur_api_client/models/software_version.py +135 -0
- waldur_api_client/models/time_series_to_s_data.py +69 -0
- waldur_api_client/models/to_s_consent_dashboard.py +155 -0
- waldur_api_client/models/update_offering_component_request.py +79 -0
- waldur_api_client/models/user.py +20 -0
- waldur_api_client/models/users_list_field_item.py +1 -0
- waldur_api_client/models/users_me_retrieve_field_item.py +1 -0
- waldur_api_client/models/users_retrieve_field_item.py +1 -0
- waldur_api_client/models/validation_decision_enum.py +10 -0
- waldur_api_client/models/validation_method_enum.py +8 -0
- waldur_api_client/models/version_adoption.py +67 -0
- {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.5.dist-info}/METADATA +1 -1
- {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.5.dist-info}/RECORD +340 -123
- waldur_api_client/models/marketplace_service_providers_projects_list_field_item.py +0 -36
- {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.5.dist-info}/WHEEL +0 -0
- {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.5.dist-info}/licenses/LICENSE +0 -0
|
@@ -6,6 +6,7 @@ import httpx
|
|
|
6
6
|
|
|
7
7
|
from ... import errors
|
|
8
8
|
from ...client import AuthenticatedClient, Client
|
|
9
|
+
from ...models.customers_add_user_response_400 import CustomersAddUserResponse400
|
|
9
10
|
from ...models.user_role_create_request import UserRoleCreateRequest
|
|
10
11
|
from ...models.user_role_expiration_time import UserRoleExpirationTime
|
|
11
12
|
from ...types import Response
|
|
@@ -31,17 +32,23 @@ def _get_kwargs(
|
|
|
31
32
|
return _kwargs
|
|
32
33
|
|
|
33
34
|
|
|
34
|
-
def _parse_response(
|
|
35
|
+
def _parse_response(
|
|
36
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
37
|
+
) -> Union[CustomersAddUserResponse400, UserRoleExpirationTime]:
|
|
35
38
|
if response.status_code == 201:
|
|
36
39
|
response_201 = UserRoleExpirationTime.from_dict(response.json())
|
|
37
40
|
|
|
38
41
|
return response_201
|
|
42
|
+
if response.status_code == 400:
|
|
43
|
+
response_400 = CustomersAddUserResponse400.from_dict(response.json())
|
|
44
|
+
|
|
45
|
+
return response_400
|
|
39
46
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
40
47
|
|
|
41
48
|
|
|
42
49
|
def _build_response(
|
|
43
50
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
44
|
-
) -> Response[UserRoleExpirationTime]:
|
|
51
|
+
) -> Response[Union[CustomersAddUserResponse400, UserRoleExpirationTime]]:
|
|
45
52
|
return Response(
|
|
46
53
|
status_code=HTTPStatus(response.status_code),
|
|
47
54
|
content=response.content,
|
|
@@ -55,7 +62,7 @@ def sync_detailed(
|
|
|
55
62
|
*,
|
|
56
63
|
client: AuthenticatedClient,
|
|
57
64
|
body: UserRoleCreateRequest,
|
|
58
|
-
) -> Response[UserRoleExpirationTime]:
|
|
65
|
+
) -> Response[Union[CustomersAddUserResponse400, UserRoleExpirationTime]]:
|
|
59
66
|
"""
|
|
60
67
|
Args:
|
|
61
68
|
uuid (UUID):
|
|
@@ -66,7 +73,7 @@ def sync_detailed(
|
|
|
66
73
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
67
74
|
|
|
68
75
|
Returns:
|
|
69
|
-
Response[UserRoleExpirationTime]
|
|
76
|
+
Response[Union[CustomersAddUserResponse400, UserRoleExpirationTime]]
|
|
70
77
|
"""
|
|
71
78
|
|
|
72
79
|
kwargs = _get_kwargs(
|
|
@@ -86,7 +93,7 @@ def sync(
|
|
|
86
93
|
*,
|
|
87
94
|
client: AuthenticatedClient,
|
|
88
95
|
body: UserRoleCreateRequest,
|
|
89
|
-
) -> UserRoleExpirationTime:
|
|
96
|
+
) -> Union[CustomersAddUserResponse400, UserRoleExpirationTime]:
|
|
90
97
|
"""
|
|
91
98
|
Args:
|
|
92
99
|
uuid (UUID):
|
|
@@ -97,7 +104,7 @@ def sync(
|
|
|
97
104
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
98
105
|
|
|
99
106
|
Returns:
|
|
100
|
-
UserRoleExpirationTime
|
|
107
|
+
Union[CustomersAddUserResponse400, UserRoleExpirationTime]
|
|
101
108
|
"""
|
|
102
109
|
|
|
103
110
|
return sync_detailed(
|
|
@@ -112,7 +119,7 @@ async def asyncio_detailed(
|
|
|
112
119
|
*,
|
|
113
120
|
client: AuthenticatedClient,
|
|
114
121
|
body: UserRoleCreateRequest,
|
|
115
|
-
) -> Response[UserRoleExpirationTime]:
|
|
122
|
+
) -> Response[Union[CustomersAddUserResponse400, UserRoleExpirationTime]]:
|
|
116
123
|
"""
|
|
117
124
|
Args:
|
|
118
125
|
uuid (UUID):
|
|
@@ -123,7 +130,7 @@ async def asyncio_detailed(
|
|
|
123
130
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
124
131
|
|
|
125
132
|
Returns:
|
|
126
|
-
Response[UserRoleExpirationTime]
|
|
133
|
+
Response[Union[CustomersAddUserResponse400, UserRoleExpirationTime]]
|
|
127
134
|
"""
|
|
128
135
|
|
|
129
136
|
kwargs = _get_kwargs(
|
|
@@ -141,7 +148,7 @@ async def asyncio(
|
|
|
141
148
|
*,
|
|
142
149
|
client: AuthenticatedClient,
|
|
143
150
|
body: UserRoleCreateRequest,
|
|
144
|
-
) -> UserRoleExpirationTime:
|
|
151
|
+
) -> Union[CustomersAddUserResponse400, UserRoleExpirationTime]:
|
|
145
152
|
"""
|
|
146
153
|
Args:
|
|
147
154
|
uuid (UUID):
|
|
@@ -152,7 +159,7 @@ async def asyncio(
|
|
|
152
159
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
153
160
|
|
|
154
161
|
Returns:
|
|
155
|
-
UserRoleExpirationTime
|
|
162
|
+
Union[CustomersAddUserResponse400, UserRoleExpirationTime]
|
|
156
163
|
"""
|
|
157
164
|
|
|
158
165
|
return (
|
|
@@ -14,6 +14,8 @@ from ...types import UNSET, Response, Unset
|
|
|
14
14
|
def _get_kwargs(
|
|
15
15
|
*,
|
|
16
16
|
billing_period: Union[Unset, datetime.date] = UNSET,
|
|
17
|
+
billing_period_month: Union[Unset, float] = UNSET,
|
|
18
|
+
billing_period_year: Union[Unset, float] = UNSET,
|
|
17
19
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
18
20
|
date_after: Union[Unset, datetime.date] = UNSET,
|
|
19
21
|
date_before: Union[Unset, datetime.date] = UNSET,
|
|
@@ -33,6 +35,10 @@ def _get_kwargs(
|
|
|
33
35
|
json_billing_period = billing_period.isoformat()
|
|
34
36
|
params["billing_period"] = json_billing_period
|
|
35
37
|
|
|
38
|
+
params["billing_period_month"] = billing_period_month
|
|
39
|
+
|
|
40
|
+
params["billing_period_year"] = billing_period_year
|
|
41
|
+
|
|
36
42
|
json_customer_uuid: Union[Unset, str] = UNSET
|
|
37
43
|
if not isinstance(customer_uuid, Unset):
|
|
38
44
|
json_customer_uuid = str(customer_uuid)
|
|
@@ -119,6 +125,8 @@ def sync_detailed(
|
|
|
119
125
|
*,
|
|
120
126
|
client: AuthenticatedClient,
|
|
121
127
|
billing_period: Union[Unset, datetime.date] = UNSET,
|
|
128
|
+
billing_period_month: Union[Unset, float] = UNSET,
|
|
129
|
+
billing_period_year: Union[Unset, float] = UNSET,
|
|
122
130
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
123
131
|
date_after: Union[Unset, datetime.date] = UNSET,
|
|
124
132
|
date_before: Union[Unset, datetime.date] = UNSET,
|
|
@@ -135,6 +143,8 @@ def sync_detailed(
|
|
|
135
143
|
|
|
136
144
|
Args:
|
|
137
145
|
billing_period (Union[Unset, datetime.date]):
|
|
146
|
+
billing_period_month (Union[Unset, float]):
|
|
147
|
+
billing_period_year (Union[Unset, float]):
|
|
138
148
|
customer_uuid (Union[Unset, UUID]):
|
|
139
149
|
date_after (Union[Unset, datetime.date]):
|
|
140
150
|
date_before (Union[Unset, datetime.date]):
|
|
@@ -157,6 +167,8 @@ def sync_detailed(
|
|
|
157
167
|
|
|
158
168
|
kwargs = _get_kwargs(
|
|
159
169
|
billing_period=billing_period,
|
|
170
|
+
billing_period_month=billing_period_month,
|
|
171
|
+
billing_period_year=billing_period_year,
|
|
160
172
|
customer_uuid=customer_uuid,
|
|
161
173
|
date_after=date_after,
|
|
162
174
|
date_before=date_before,
|
|
@@ -181,6 +193,8 @@ def sync(
|
|
|
181
193
|
*,
|
|
182
194
|
client: AuthenticatedClient,
|
|
183
195
|
billing_period: Union[Unset, datetime.date] = UNSET,
|
|
196
|
+
billing_period_month: Union[Unset, float] = UNSET,
|
|
197
|
+
billing_period_year: Union[Unset, float] = UNSET,
|
|
184
198
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
185
199
|
date_after: Union[Unset, datetime.date] = UNSET,
|
|
186
200
|
date_before: Union[Unset, datetime.date] = UNSET,
|
|
@@ -197,6 +211,8 @@ def sync(
|
|
|
197
211
|
|
|
198
212
|
Args:
|
|
199
213
|
billing_period (Union[Unset, datetime.date]):
|
|
214
|
+
billing_period_month (Union[Unset, float]):
|
|
215
|
+
billing_period_year (Union[Unset, float]):
|
|
200
216
|
customer_uuid (Union[Unset, UUID]):
|
|
201
217
|
date_after (Union[Unset, datetime.date]):
|
|
202
218
|
date_before (Union[Unset, datetime.date]):
|
|
@@ -220,6 +236,8 @@ def sync(
|
|
|
220
236
|
return sync_detailed(
|
|
221
237
|
client=client,
|
|
222
238
|
billing_period=billing_period,
|
|
239
|
+
billing_period_month=billing_period_month,
|
|
240
|
+
billing_period_year=billing_period_year,
|
|
223
241
|
customer_uuid=customer_uuid,
|
|
224
242
|
date_after=date_after,
|
|
225
243
|
date_before=date_before,
|
|
@@ -238,6 +256,8 @@ async def asyncio_detailed(
|
|
|
238
256
|
*,
|
|
239
257
|
client: AuthenticatedClient,
|
|
240
258
|
billing_period: Union[Unset, datetime.date] = UNSET,
|
|
259
|
+
billing_period_month: Union[Unset, float] = UNSET,
|
|
260
|
+
billing_period_year: Union[Unset, float] = UNSET,
|
|
241
261
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
242
262
|
date_after: Union[Unset, datetime.date] = UNSET,
|
|
243
263
|
date_before: Union[Unset, datetime.date] = UNSET,
|
|
@@ -254,6 +274,8 @@ async def asyncio_detailed(
|
|
|
254
274
|
|
|
255
275
|
Args:
|
|
256
276
|
billing_period (Union[Unset, datetime.date]):
|
|
277
|
+
billing_period_month (Union[Unset, float]):
|
|
278
|
+
billing_period_year (Union[Unset, float]):
|
|
257
279
|
customer_uuid (Union[Unset, UUID]):
|
|
258
280
|
date_after (Union[Unset, datetime.date]):
|
|
259
281
|
date_before (Union[Unset, datetime.date]):
|
|
@@ -276,6 +298,8 @@ async def asyncio_detailed(
|
|
|
276
298
|
|
|
277
299
|
kwargs = _get_kwargs(
|
|
278
300
|
billing_period=billing_period,
|
|
301
|
+
billing_period_month=billing_period_month,
|
|
302
|
+
billing_period_year=billing_period_year,
|
|
279
303
|
customer_uuid=customer_uuid,
|
|
280
304
|
date_after=date_after,
|
|
281
305
|
date_before=date_before,
|
|
@@ -298,6 +322,8 @@ async def asyncio(
|
|
|
298
322
|
*,
|
|
299
323
|
client: AuthenticatedClient,
|
|
300
324
|
billing_period: Union[Unset, datetime.date] = UNSET,
|
|
325
|
+
billing_period_month: Union[Unset, float] = UNSET,
|
|
326
|
+
billing_period_year: Union[Unset, float] = UNSET,
|
|
301
327
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
302
328
|
date_after: Union[Unset, datetime.date] = UNSET,
|
|
303
329
|
date_before: Union[Unset, datetime.date] = UNSET,
|
|
@@ -314,6 +340,8 @@ async def asyncio(
|
|
|
314
340
|
|
|
315
341
|
Args:
|
|
316
342
|
billing_period (Union[Unset, datetime.date]):
|
|
343
|
+
billing_period_month (Union[Unset, float]):
|
|
344
|
+
billing_period_year (Union[Unset, float]):
|
|
317
345
|
customer_uuid (Union[Unset, UUID]):
|
|
318
346
|
date_after (Union[Unset, datetime.date]):
|
|
319
347
|
date_before (Union[Unset, datetime.date]):
|
|
@@ -338,6 +366,8 @@ async def asyncio(
|
|
|
338
366
|
await asyncio_detailed(
|
|
339
367
|
client=client,
|
|
340
368
|
billing_period=billing_period,
|
|
369
|
+
billing_period_month=billing_period_month,
|
|
370
|
+
billing_period_year=billing_period_year,
|
|
341
371
|
customer_uuid=customer_uuid,
|
|
342
372
|
date_after=date_after,
|
|
343
373
|
date_before=date_before,
|
|
@@ -16,6 +16,8 @@ from ...types import UNSET, Response, Unset
|
|
|
16
16
|
def _get_kwargs(
|
|
17
17
|
*,
|
|
18
18
|
billing_period: Union[Unset, datetime.date] = UNSET,
|
|
19
|
+
billing_period_month: Union[Unset, float] = UNSET,
|
|
20
|
+
billing_period_year: Union[Unset, float] = UNSET,
|
|
19
21
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
20
22
|
date_after: Union[Unset, datetime.date] = UNSET,
|
|
21
23
|
date_before: Union[Unset, datetime.date] = UNSET,
|
|
@@ -36,6 +38,10 @@ def _get_kwargs(
|
|
|
36
38
|
json_billing_period = billing_period.isoformat()
|
|
37
39
|
params["billing_period"] = json_billing_period
|
|
38
40
|
|
|
41
|
+
params["billing_period_month"] = billing_period_month
|
|
42
|
+
|
|
43
|
+
params["billing_period_year"] = billing_period_year
|
|
44
|
+
|
|
39
45
|
json_customer_uuid: Union[Unset, str] = UNSET
|
|
40
46
|
if not isinstance(customer_uuid, Unset):
|
|
41
47
|
json_customer_uuid = str(customer_uuid)
|
|
@@ -131,6 +137,8 @@ def sync_detailed(
|
|
|
131
137
|
*,
|
|
132
138
|
client: AuthenticatedClient,
|
|
133
139
|
billing_period: Union[Unset, datetime.date] = UNSET,
|
|
140
|
+
billing_period_month: Union[Unset, float] = UNSET,
|
|
141
|
+
billing_period_year: Union[Unset, float] = UNSET,
|
|
134
142
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
135
143
|
date_after: Union[Unset, datetime.date] = UNSET,
|
|
136
144
|
date_before: Union[Unset, datetime.date] = UNSET,
|
|
@@ -148,6 +156,8 @@ def sync_detailed(
|
|
|
148
156
|
|
|
149
157
|
Args:
|
|
150
158
|
billing_period (Union[Unset, datetime.date]):
|
|
159
|
+
billing_period_month (Union[Unset, float]):
|
|
160
|
+
billing_period_year (Union[Unset, float]):
|
|
151
161
|
customer_uuid (Union[Unset, UUID]):
|
|
152
162
|
date_after (Union[Unset, datetime.date]):
|
|
153
163
|
date_before (Union[Unset, datetime.date]):
|
|
@@ -171,6 +181,8 @@ def sync_detailed(
|
|
|
171
181
|
|
|
172
182
|
kwargs = _get_kwargs(
|
|
173
183
|
billing_period=billing_period,
|
|
184
|
+
billing_period_month=billing_period_month,
|
|
185
|
+
billing_period_year=billing_period_year,
|
|
174
186
|
customer_uuid=customer_uuid,
|
|
175
187
|
date_after=date_after,
|
|
176
188
|
date_before=date_before,
|
|
@@ -196,6 +208,8 @@ def sync(
|
|
|
196
208
|
*,
|
|
197
209
|
client: AuthenticatedClient,
|
|
198
210
|
billing_period: Union[Unset, datetime.date] = UNSET,
|
|
211
|
+
billing_period_month: Union[Unset, float] = UNSET,
|
|
212
|
+
billing_period_year: Union[Unset, float] = UNSET,
|
|
199
213
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
200
214
|
date_after: Union[Unset, datetime.date] = UNSET,
|
|
201
215
|
date_before: Union[Unset, datetime.date] = UNSET,
|
|
@@ -213,6 +227,8 @@ def sync(
|
|
|
213
227
|
|
|
214
228
|
Args:
|
|
215
229
|
billing_period (Union[Unset, datetime.date]):
|
|
230
|
+
billing_period_month (Union[Unset, float]):
|
|
231
|
+
billing_period_year (Union[Unset, float]):
|
|
216
232
|
customer_uuid (Union[Unset, UUID]):
|
|
217
233
|
date_after (Union[Unset, datetime.date]):
|
|
218
234
|
date_before (Union[Unset, datetime.date]):
|
|
@@ -237,6 +253,8 @@ def sync(
|
|
|
237
253
|
return sync_detailed(
|
|
238
254
|
client=client,
|
|
239
255
|
billing_period=billing_period,
|
|
256
|
+
billing_period_month=billing_period_month,
|
|
257
|
+
billing_period_year=billing_period_year,
|
|
240
258
|
customer_uuid=customer_uuid,
|
|
241
259
|
date_after=date_after,
|
|
242
260
|
date_before=date_before,
|
|
@@ -256,6 +274,8 @@ async def asyncio_detailed(
|
|
|
256
274
|
*,
|
|
257
275
|
client: AuthenticatedClient,
|
|
258
276
|
billing_period: Union[Unset, datetime.date] = UNSET,
|
|
277
|
+
billing_period_month: Union[Unset, float] = UNSET,
|
|
278
|
+
billing_period_year: Union[Unset, float] = UNSET,
|
|
259
279
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
260
280
|
date_after: Union[Unset, datetime.date] = UNSET,
|
|
261
281
|
date_before: Union[Unset, datetime.date] = UNSET,
|
|
@@ -273,6 +293,8 @@ async def asyncio_detailed(
|
|
|
273
293
|
|
|
274
294
|
Args:
|
|
275
295
|
billing_period (Union[Unset, datetime.date]):
|
|
296
|
+
billing_period_month (Union[Unset, float]):
|
|
297
|
+
billing_period_year (Union[Unset, float]):
|
|
276
298
|
customer_uuid (Union[Unset, UUID]):
|
|
277
299
|
date_after (Union[Unset, datetime.date]):
|
|
278
300
|
date_before (Union[Unset, datetime.date]):
|
|
@@ -296,6 +318,8 @@ async def asyncio_detailed(
|
|
|
296
318
|
|
|
297
319
|
kwargs = _get_kwargs(
|
|
298
320
|
billing_period=billing_period,
|
|
321
|
+
billing_period_month=billing_period_month,
|
|
322
|
+
billing_period_year=billing_period_year,
|
|
299
323
|
customer_uuid=customer_uuid,
|
|
300
324
|
date_after=date_after,
|
|
301
325
|
date_before=date_before,
|
|
@@ -319,6 +343,8 @@ async def asyncio(
|
|
|
319
343
|
*,
|
|
320
344
|
client: AuthenticatedClient,
|
|
321
345
|
billing_period: Union[Unset, datetime.date] = UNSET,
|
|
346
|
+
billing_period_month: Union[Unset, float] = UNSET,
|
|
347
|
+
billing_period_year: Union[Unset, float] = UNSET,
|
|
322
348
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
323
349
|
date_after: Union[Unset, datetime.date] = UNSET,
|
|
324
350
|
date_before: Union[Unset, datetime.date] = UNSET,
|
|
@@ -336,6 +362,8 @@ async def asyncio(
|
|
|
336
362
|
|
|
337
363
|
Args:
|
|
338
364
|
billing_period (Union[Unset, datetime.date]):
|
|
365
|
+
billing_period_month (Union[Unset, float]):
|
|
366
|
+
billing_period_year (Union[Unset, float]):
|
|
339
367
|
customer_uuid (Union[Unset, UUID]):
|
|
340
368
|
date_after (Union[Unset, datetime.date]):
|
|
341
369
|
date_before (Union[Unset, datetime.date]):
|
|
@@ -361,6 +389,8 @@ async def asyncio(
|
|
|
361
389
|
await asyncio_detailed(
|
|
362
390
|
client=client,
|
|
363
391
|
billing_period=billing_period,
|
|
392
|
+
billing_period_month=billing_period_month,
|
|
393
|
+
billing_period_year=billing_period_year,
|
|
364
394
|
customer_uuid=customer_uuid,
|
|
365
395
|
date_after=date_after,
|
|
366
396
|
date_before=date_before,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Contains endpoint functions for accessing the API"""
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Union
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...types import Response
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def _get_kwargs() -> dict[str, Any]:
|
|
12
|
+
_kwargs: dict[str, Any] = {
|
|
13
|
+
"method": "head",
|
|
14
|
+
"url": "/api/marketplace-customer-component-usage-policies/actions/",
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
return _kwargs
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> int:
|
|
21
|
+
if response.status_code == HTTPStatus.OK:
|
|
22
|
+
try:
|
|
23
|
+
return int(response.headers["x-result-count"])
|
|
24
|
+
except KeyError:
|
|
25
|
+
raise errors.UnexpectedStatus(
|
|
26
|
+
response.status_code, b"Expected 'X-Result-Count' header for HEAD request, but it was not found."
|
|
27
|
+
)
|
|
28
|
+
except ValueError:
|
|
29
|
+
count_val = response.headers.get("x-result-count")
|
|
30
|
+
msg = f"Expected 'X-Result-Count' header to be an integer, but got '{count_val}'."
|
|
31
|
+
raise errors.UnexpectedStatus(response.status_code, msg.encode())
|
|
32
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[int]:
|
|
36
|
+
return Response(
|
|
37
|
+
status_code=HTTPStatus(response.status_code),
|
|
38
|
+
content=response.content,
|
|
39
|
+
headers=response.headers,
|
|
40
|
+
parsed=_parse_response(client=client, response=response),
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def sync_detailed(
|
|
45
|
+
*,
|
|
46
|
+
client: AuthenticatedClient,
|
|
47
|
+
) -> Response[int]:
|
|
48
|
+
"""Get number of items in the collection matching the request parameters.
|
|
49
|
+
|
|
50
|
+
Raises:
|
|
51
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
52
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
53
|
+
|
|
54
|
+
Returns:
|
|
55
|
+
Response[int]
|
|
56
|
+
"""
|
|
57
|
+
|
|
58
|
+
kwargs = _get_kwargs()
|
|
59
|
+
|
|
60
|
+
response = client.get_httpx_client().request(
|
|
61
|
+
**kwargs,
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
return _build_response(client=client, response=response)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
def sync(
|
|
68
|
+
*,
|
|
69
|
+
client: AuthenticatedClient,
|
|
70
|
+
) -> int:
|
|
71
|
+
"""Get number of items in the collection matching the request parameters.
|
|
72
|
+
|
|
73
|
+
Raises:
|
|
74
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
75
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
76
|
+
|
|
77
|
+
Returns:
|
|
78
|
+
int
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
return sync_detailed(
|
|
82
|
+
client=client,
|
|
83
|
+
).parsed
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
async def asyncio_detailed(
|
|
87
|
+
*,
|
|
88
|
+
client: AuthenticatedClient,
|
|
89
|
+
) -> Response[int]:
|
|
90
|
+
"""Get number of items in the collection matching the request parameters.
|
|
91
|
+
|
|
92
|
+
Raises:
|
|
93
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
94
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
95
|
+
|
|
96
|
+
Returns:
|
|
97
|
+
Response[int]
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
kwargs = _get_kwargs()
|
|
101
|
+
|
|
102
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
103
|
+
|
|
104
|
+
return _build_response(client=client, response=response)
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
async def asyncio(
|
|
108
|
+
*,
|
|
109
|
+
client: AuthenticatedClient,
|
|
110
|
+
) -> int:
|
|
111
|
+
"""Get number of items in the collection matching the request parameters.
|
|
112
|
+
|
|
113
|
+
Raises:
|
|
114
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
115
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
116
|
+
|
|
117
|
+
Returns:
|
|
118
|
+
int
|
|
119
|
+
"""
|
|
120
|
+
|
|
121
|
+
return (
|
|
122
|
+
await asyncio_detailed(
|
|
123
|
+
client=client,
|
|
124
|
+
)
|
|
125
|
+
).parsed
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Union
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...models.customer_component_usage_policy import CustomerComponentUsagePolicy
|
|
9
|
+
from ...types import Response
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def _get_kwargs() -> dict[str, Any]:
|
|
13
|
+
_kwargs: dict[str, Any] = {
|
|
14
|
+
"method": "get",
|
|
15
|
+
"url": "/api/marketplace-customer-component-usage-policies/actions/",
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
return _kwargs
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def _parse_response(
|
|
22
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
23
|
+
) -> CustomerComponentUsagePolicy:
|
|
24
|
+
if response.status_code == 200:
|
|
25
|
+
response_200 = CustomerComponentUsagePolicy.from_dict(response.json())
|
|
26
|
+
|
|
27
|
+
return response_200
|
|
28
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def _build_response(
|
|
32
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
33
|
+
) -> Response[CustomerComponentUsagePolicy]:
|
|
34
|
+
return Response(
|
|
35
|
+
status_code=HTTPStatus(response.status_code),
|
|
36
|
+
content=response.content,
|
|
37
|
+
headers=response.headers,
|
|
38
|
+
parsed=_parse_response(client=client, response=response),
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
def sync_detailed(
|
|
43
|
+
*,
|
|
44
|
+
client: AuthenticatedClient,
|
|
45
|
+
) -> Response[CustomerComponentUsagePolicy]:
|
|
46
|
+
"""
|
|
47
|
+
Raises:
|
|
48
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
49
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
50
|
+
|
|
51
|
+
Returns:
|
|
52
|
+
Response[CustomerComponentUsagePolicy]
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = _get_kwargs()
|
|
56
|
+
|
|
57
|
+
response = client.get_httpx_client().request(
|
|
58
|
+
**kwargs,
|
|
59
|
+
)
|
|
60
|
+
|
|
61
|
+
return _build_response(client=client, response=response)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
def sync(
|
|
65
|
+
*,
|
|
66
|
+
client: AuthenticatedClient,
|
|
67
|
+
) -> CustomerComponentUsagePolicy:
|
|
68
|
+
"""
|
|
69
|
+
Raises:
|
|
70
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
71
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
72
|
+
|
|
73
|
+
Returns:
|
|
74
|
+
CustomerComponentUsagePolicy
|
|
75
|
+
"""
|
|
76
|
+
|
|
77
|
+
return sync_detailed(
|
|
78
|
+
client=client,
|
|
79
|
+
).parsed
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
async def asyncio_detailed(
|
|
83
|
+
*,
|
|
84
|
+
client: AuthenticatedClient,
|
|
85
|
+
) -> Response[CustomerComponentUsagePolicy]:
|
|
86
|
+
"""
|
|
87
|
+
Raises:
|
|
88
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
89
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
90
|
+
|
|
91
|
+
Returns:
|
|
92
|
+
Response[CustomerComponentUsagePolicy]
|
|
93
|
+
"""
|
|
94
|
+
|
|
95
|
+
kwargs = _get_kwargs()
|
|
96
|
+
|
|
97
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
98
|
+
|
|
99
|
+
return _build_response(client=client, response=response)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
async def asyncio(
|
|
103
|
+
*,
|
|
104
|
+
client: AuthenticatedClient,
|
|
105
|
+
) -> CustomerComponentUsagePolicy:
|
|
106
|
+
"""
|
|
107
|
+
Raises:
|
|
108
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
109
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
110
|
+
|
|
111
|
+
Returns:
|
|
112
|
+
CustomerComponentUsagePolicy
|
|
113
|
+
"""
|
|
114
|
+
|
|
115
|
+
return (
|
|
116
|
+
await asyncio_detailed(
|
|
117
|
+
client=client,
|
|
118
|
+
)
|
|
119
|
+
).parsed
|