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
waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_list.py
ADDED
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
from http import HTTPStatus
|
|
3
|
+
from typing import Any, Union
|
|
4
|
+
from uuid import UUID
|
|
5
|
+
|
|
6
|
+
import httpx
|
|
7
|
+
|
|
8
|
+
from ... import errors
|
|
9
|
+
from ...client import AuthenticatedClient, Client
|
|
10
|
+
from ...models.agent_processor import AgentProcessor
|
|
11
|
+
from ...types import UNSET, Response, Unset
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def _get_kwargs(
|
|
15
|
+
*,
|
|
16
|
+
backend_type: Union[Unset, str] = UNSET,
|
|
17
|
+
backend_version: Union[Unset, str] = UNSET,
|
|
18
|
+
last_run: Union[Unset, datetime.datetime] = UNSET,
|
|
19
|
+
page: Union[Unset, int] = UNSET,
|
|
20
|
+
page_size: Union[Unset, int] = UNSET,
|
|
21
|
+
service_uuid: Union[Unset, UUID] = UNSET,
|
|
22
|
+
) -> dict[str, Any]:
|
|
23
|
+
params: dict[str, Any] = {}
|
|
24
|
+
|
|
25
|
+
params["backend_type"] = backend_type
|
|
26
|
+
|
|
27
|
+
params["backend_version"] = backend_version
|
|
28
|
+
|
|
29
|
+
json_last_run: Union[Unset, str] = UNSET
|
|
30
|
+
if not isinstance(last_run, Unset):
|
|
31
|
+
json_last_run = last_run.isoformat()
|
|
32
|
+
params["last_run"] = json_last_run
|
|
33
|
+
|
|
34
|
+
params["page"] = page
|
|
35
|
+
|
|
36
|
+
params["page_size"] = page_size
|
|
37
|
+
|
|
38
|
+
json_service_uuid: Union[Unset, str] = UNSET
|
|
39
|
+
if not isinstance(service_uuid, Unset):
|
|
40
|
+
json_service_uuid = str(service_uuid)
|
|
41
|
+
params["service_uuid"] = json_service_uuid
|
|
42
|
+
|
|
43
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
44
|
+
|
|
45
|
+
_kwargs: dict[str, Any] = {
|
|
46
|
+
"method": "get",
|
|
47
|
+
"url": "/api/marketplace-site-agent-processors/",
|
|
48
|
+
"params": params,
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
return _kwargs
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> list["AgentProcessor"]:
|
|
55
|
+
if response.status_code == 200:
|
|
56
|
+
response_200 = []
|
|
57
|
+
_response_200 = response.json()
|
|
58
|
+
for response_200_item_data in _response_200:
|
|
59
|
+
response_200_item = AgentProcessor.from_dict(response_200_item_data)
|
|
60
|
+
|
|
61
|
+
response_200.append(response_200_item)
|
|
62
|
+
|
|
63
|
+
return response_200
|
|
64
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
def _build_response(
|
|
68
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
69
|
+
) -> Response[list["AgentProcessor"]]:
|
|
70
|
+
return Response(
|
|
71
|
+
status_code=HTTPStatus(response.status_code),
|
|
72
|
+
content=response.content,
|
|
73
|
+
headers=response.headers,
|
|
74
|
+
parsed=_parse_response(client=client, response=response),
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
def sync_detailed(
|
|
79
|
+
*,
|
|
80
|
+
client: AuthenticatedClient,
|
|
81
|
+
backend_type: Union[Unset, str] = UNSET,
|
|
82
|
+
backend_version: Union[Unset, str] = UNSET,
|
|
83
|
+
last_run: Union[Unset, datetime.datetime] = UNSET,
|
|
84
|
+
page: Union[Unset, int] = UNSET,
|
|
85
|
+
page_size: Union[Unset, int] = UNSET,
|
|
86
|
+
service_uuid: Union[Unset, UUID] = UNSET,
|
|
87
|
+
) -> Response[list["AgentProcessor"]]:
|
|
88
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
89
|
+
|
|
90
|
+
Args:
|
|
91
|
+
backend_type (Union[Unset, str]):
|
|
92
|
+
backend_version (Union[Unset, str]):
|
|
93
|
+
last_run (Union[Unset, datetime.datetime]):
|
|
94
|
+
page (Union[Unset, int]):
|
|
95
|
+
page_size (Union[Unset, int]):
|
|
96
|
+
service_uuid (Union[Unset, UUID]):
|
|
97
|
+
|
|
98
|
+
Raises:
|
|
99
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
100
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
101
|
+
|
|
102
|
+
Returns:
|
|
103
|
+
Response[list['AgentProcessor']]
|
|
104
|
+
"""
|
|
105
|
+
|
|
106
|
+
kwargs = _get_kwargs(
|
|
107
|
+
backend_type=backend_type,
|
|
108
|
+
backend_version=backend_version,
|
|
109
|
+
last_run=last_run,
|
|
110
|
+
page=page,
|
|
111
|
+
page_size=page_size,
|
|
112
|
+
service_uuid=service_uuid,
|
|
113
|
+
)
|
|
114
|
+
|
|
115
|
+
response = client.get_httpx_client().request(
|
|
116
|
+
**kwargs,
|
|
117
|
+
)
|
|
118
|
+
|
|
119
|
+
return _build_response(client=client, response=response)
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
def sync(
|
|
123
|
+
*,
|
|
124
|
+
client: AuthenticatedClient,
|
|
125
|
+
backend_type: Union[Unset, str] = UNSET,
|
|
126
|
+
backend_version: Union[Unset, str] = UNSET,
|
|
127
|
+
last_run: Union[Unset, datetime.datetime] = UNSET,
|
|
128
|
+
page: Union[Unset, int] = UNSET,
|
|
129
|
+
page_size: Union[Unset, int] = UNSET,
|
|
130
|
+
service_uuid: Union[Unset, UUID] = UNSET,
|
|
131
|
+
) -> list["AgentProcessor"]:
|
|
132
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
133
|
+
|
|
134
|
+
Args:
|
|
135
|
+
backend_type (Union[Unset, str]):
|
|
136
|
+
backend_version (Union[Unset, str]):
|
|
137
|
+
last_run (Union[Unset, datetime.datetime]):
|
|
138
|
+
page (Union[Unset, int]):
|
|
139
|
+
page_size (Union[Unset, int]):
|
|
140
|
+
service_uuid (Union[Unset, UUID]):
|
|
141
|
+
|
|
142
|
+
Raises:
|
|
143
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
144
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
145
|
+
|
|
146
|
+
Returns:
|
|
147
|
+
list['AgentProcessor']
|
|
148
|
+
"""
|
|
149
|
+
|
|
150
|
+
return sync_detailed(
|
|
151
|
+
client=client,
|
|
152
|
+
backend_type=backend_type,
|
|
153
|
+
backend_version=backend_version,
|
|
154
|
+
last_run=last_run,
|
|
155
|
+
page=page,
|
|
156
|
+
page_size=page_size,
|
|
157
|
+
service_uuid=service_uuid,
|
|
158
|
+
).parsed
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
async def asyncio_detailed(
|
|
162
|
+
*,
|
|
163
|
+
client: AuthenticatedClient,
|
|
164
|
+
backend_type: Union[Unset, str] = UNSET,
|
|
165
|
+
backend_version: Union[Unset, str] = UNSET,
|
|
166
|
+
last_run: Union[Unset, datetime.datetime] = UNSET,
|
|
167
|
+
page: Union[Unset, int] = UNSET,
|
|
168
|
+
page_size: Union[Unset, int] = UNSET,
|
|
169
|
+
service_uuid: Union[Unset, UUID] = UNSET,
|
|
170
|
+
) -> Response[list["AgentProcessor"]]:
|
|
171
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
172
|
+
|
|
173
|
+
Args:
|
|
174
|
+
backend_type (Union[Unset, str]):
|
|
175
|
+
backend_version (Union[Unset, str]):
|
|
176
|
+
last_run (Union[Unset, datetime.datetime]):
|
|
177
|
+
page (Union[Unset, int]):
|
|
178
|
+
page_size (Union[Unset, int]):
|
|
179
|
+
service_uuid (Union[Unset, UUID]):
|
|
180
|
+
|
|
181
|
+
Raises:
|
|
182
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
183
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
184
|
+
|
|
185
|
+
Returns:
|
|
186
|
+
Response[list['AgentProcessor']]
|
|
187
|
+
"""
|
|
188
|
+
|
|
189
|
+
kwargs = _get_kwargs(
|
|
190
|
+
backend_type=backend_type,
|
|
191
|
+
backend_version=backend_version,
|
|
192
|
+
last_run=last_run,
|
|
193
|
+
page=page,
|
|
194
|
+
page_size=page_size,
|
|
195
|
+
service_uuid=service_uuid,
|
|
196
|
+
)
|
|
197
|
+
|
|
198
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
199
|
+
|
|
200
|
+
return _build_response(client=client, response=response)
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
async def asyncio(
|
|
204
|
+
*,
|
|
205
|
+
client: AuthenticatedClient,
|
|
206
|
+
backend_type: Union[Unset, str] = UNSET,
|
|
207
|
+
backend_version: Union[Unset, str] = UNSET,
|
|
208
|
+
last_run: Union[Unset, datetime.datetime] = UNSET,
|
|
209
|
+
page: Union[Unset, int] = UNSET,
|
|
210
|
+
page_size: Union[Unset, int] = UNSET,
|
|
211
|
+
service_uuid: Union[Unset, UUID] = UNSET,
|
|
212
|
+
) -> list["AgentProcessor"]:
|
|
213
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
214
|
+
|
|
215
|
+
Args:
|
|
216
|
+
backend_type (Union[Unset, str]):
|
|
217
|
+
backend_version (Union[Unset, str]):
|
|
218
|
+
last_run (Union[Unset, datetime.datetime]):
|
|
219
|
+
page (Union[Unset, int]):
|
|
220
|
+
page_size (Union[Unset, int]):
|
|
221
|
+
service_uuid (Union[Unset, UUID]):
|
|
222
|
+
|
|
223
|
+
Raises:
|
|
224
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
225
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
226
|
+
|
|
227
|
+
Returns:
|
|
228
|
+
list['AgentProcessor']
|
|
229
|
+
"""
|
|
230
|
+
|
|
231
|
+
return (
|
|
232
|
+
await asyncio_detailed(
|
|
233
|
+
client=client,
|
|
234
|
+
backend_type=backend_type,
|
|
235
|
+
backend_version=backend_version,
|
|
236
|
+
last_run=last_run,
|
|
237
|
+
page=page,
|
|
238
|
+
page_size=page_size,
|
|
239
|
+
service_uuid=service_uuid,
|
|
240
|
+
)
|
|
241
|
+
).parsed
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Union
|
|
3
|
+
from uuid import UUID
|
|
4
|
+
|
|
5
|
+
import httpx
|
|
6
|
+
|
|
7
|
+
from ... import errors
|
|
8
|
+
from ...client import AuthenticatedClient, Client
|
|
9
|
+
from ...models.agent_processor import AgentProcessor
|
|
10
|
+
from ...types import Response
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _get_kwargs(
|
|
14
|
+
uuid: UUID,
|
|
15
|
+
) -> dict[str, Any]:
|
|
16
|
+
_kwargs: dict[str, Any] = {
|
|
17
|
+
"method": "get",
|
|
18
|
+
"url": f"/api/marketplace-site-agent-processors/{uuid}/",
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
return _kwargs
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> AgentProcessor:
|
|
25
|
+
if response.status_code == 200:
|
|
26
|
+
response_200 = AgentProcessor.from_dict(response.json())
|
|
27
|
+
|
|
28
|
+
return response_200
|
|
29
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def _build_response(
|
|
33
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
34
|
+
) -> Response[AgentProcessor]:
|
|
35
|
+
return Response(
|
|
36
|
+
status_code=HTTPStatus(response.status_code),
|
|
37
|
+
content=response.content,
|
|
38
|
+
headers=response.headers,
|
|
39
|
+
parsed=_parse_response(client=client, response=response),
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def sync_detailed(
|
|
44
|
+
uuid: UUID,
|
|
45
|
+
*,
|
|
46
|
+
client: AuthenticatedClient,
|
|
47
|
+
) -> Response[AgentProcessor]:
|
|
48
|
+
"""
|
|
49
|
+
Args:
|
|
50
|
+
uuid (UUID):
|
|
51
|
+
|
|
52
|
+
Raises:
|
|
53
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
54
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
55
|
+
|
|
56
|
+
Returns:
|
|
57
|
+
Response[AgentProcessor]
|
|
58
|
+
"""
|
|
59
|
+
|
|
60
|
+
kwargs = _get_kwargs(
|
|
61
|
+
uuid=uuid,
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
response = client.get_httpx_client().request(
|
|
65
|
+
**kwargs,
|
|
66
|
+
)
|
|
67
|
+
|
|
68
|
+
return _build_response(client=client, response=response)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def sync(
|
|
72
|
+
uuid: UUID,
|
|
73
|
+
*,
|
|
74
|
+
client: AuthenticatedClient,
|
|
75
|
+
) -> AgentProcessor:
|
|
76
|
+
"""
|
|
77
|
+
Args:
|
|
78
|
+
uuid (UUID):
|
|
79
|
+
|
|
80
|
+
Raises:
|
|
81
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
82
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
83
|
+
|
|
84
|
+
Returns:
|
|
85
|
+
AgentProcessor
|
|
86
|
+
"""
|
|
87
|
+
|
|
88
|
+
return sync_detailed(
|
|
89
|
+
uuid=uuid,
|
|
90
|
+
client=client,
|
|
91
|
+
).parsed
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
async def asyncio_detailed(
|
|
95
|
+
uuid: UUID,
|
|
96
|
+
*,
|
|
97
|
+
client: AuthenticatedClient,
|
|
98
|
+
) -> Response[AgentProcessor]:
|
|
99
|
+
"""
|
|
100
|
+
Args:
|
|
101
|
+
uuid (UUID):
|
|
102
|
+
|
|
103
|
+
Raises:
|
|
104
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
105
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
106
|
+
|
|
107
|
+
Returns:
|
|
108
|
+
Response[AgentProcessor]
|
|
109
|
+
"""
|
|
110
|
+
|
|
111
|
+
kwargs = _get_kwargs(
|
|
112
|
+
uuid=uuid,
|
|
113
|
+
)
|
|
114
|
+
|
|
115
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
116
|
+
|
|
117
|
+
return _build_response(client=client, response=response)
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
async def asyncio(
|
|
121
|
+
uuid: UUID,
|
|
122
|
+
*,
|
|
123
|
+
client: AuthenticatedClient,
|
|
124
|
+
) -> AgentProcessor:
|
|
125
|
+
"""
|
|
126
|
+
Args:
|
|
127
|
+
uuid (UUID):
|
|
128
|
+
|
|
129
|
+
Raises:
|
|
130
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
131
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
132
|
+
|
|
133
|
+
Returns:
|
|
134
|
+
AgentProcessor
|
|
135
|
+
"""
|
|
136
|
+
|
|
137
|
+
return (
|
|
138
|
+
await asyncio_detailed(
|
|
139
|
+
uuid=uuid,
|
|
140
|
+
client=client,
|
|
141
|
+
)
|
|
142
|
+
).parsed
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Contains endpoint functions for accessing the API"""
|
waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_count.py
ADDED
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Union
|
|
3
|
+
from uuid import UUID
|
|
4
|
+
|
|
5
|
+
import httpx
|
|
6
|
+
|
|
7
|
+
from ... import errors
|
|
8
|
+
from ...client import AuthenticatedClient, Client
|
|
9
|
+
from ...models.marketplace_site_agent_services_count_state_item import MarketplaceSiteAgentServicesCountStateItem
|
|
10
|
+
from ...types import UNSET, Response, Unset
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _get_kwargs(
|
|
14
|
+
*,
|
|
15
|
+
identity_uuid: Union[Unset, UUID] = UNSET,
|
|
16
|
+
mode: Union[Unset, str] = UNSET,
|
|
17
|
+
page: Union[Unset, int] = UNSET,
|
|
18
|
+
page_size: Union[Unset, int] = UNSET,
|
|
19
|
+
state: Union[Unset, list[MarketplaceSiteAgentServicesCountStateItem]] = UNSET,
|
|
20
|
+
) -> dict[str, Any]:
|
|
21
|
+
params: dict[str, Any] = {}
|
|
22
|
+
|
|
23
|
+
json_identity_uuid: Union[Unset, str] = UNSET
|
|
24
|
+
if not isinstance(identity_uuid, Unset):
|
|
25
|
+
json_identity_uuid = str(identity_uuid)
|
|
26
|
+
params["identity_uuid"] = json_identity_uuid
|
|
27
|
+
|
|
28
|
+
params["mode"] = mode
|
|
29
|
+
|
|
30
|
+
params["page"] = page
|
|
31
|
+
|
|
32
|
+
params["page_size"] = page_size
|
|
33
|
+
|
|
34
|
+
json_state: Union[Unset, list[int]] = UNSET
|
|
35
|
+
if not isinstance(state, Unset):
|
|
36
|
+
json_state = []
|
|
37
|
+
for state_item_data in state:
|
|
38
|
+
state_item = state_item_data.value
|
|
39
|
+
json_state.append(state_item)
|
|
40
|
+
|
|
41
|
+
params["state"] = json_state
|
|
42
|
+
|
|
43
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
44
|
+
|
|
45
|
+
_kwargs: dict[str, Any] = {
|
|
46
|
+
"method": "head",
|
|
47
|
+
"url": "/api/marketplace-site-agent-services/",
|
|
48
|
+
"params": params,
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
return _kwargs
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> int:
|
|
55
|
+
if response.status_code == HTTPStatus.OK:
|
|
56
|
+
try:
|
|
57
|
+
return int(response.headers["x-result-count"])
|
|
58
|
+
except KeyError:
|
|
59
|
+
raise errors.UnexpectedStatus(
|
|
60
|
+
response.status_code, b"Expected 'X-Result-Count' header for HEAD request, but it was not found."
|
|
61
|
+
)
|
|
62
|
+
except ValueError:
|
|
63
|
+
count_val = response.headers.get("x-result-count")
|
|
64
|
+
msg = f"Expected 'X-Result-Count' header to be an integer, but got '{count_val}'."
|
|
65
|
+
raise errors.UnexpectedStatus(response.status_code, msg.encode())
|
|
66
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[int]:
|
|
70
|
+
return Response(
|
|
71
|
+
status_code=HTTPStatus(response.status_code),
|
|
72
|
+
content=response.content,
|
|
73
|
+
headers=response.headers,
|
|
74
|
+
parsed=_parse_response(client=client, response=response),
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
def sync_detailed(
|
|
79
|
+
*,
|
|
80
|
+
client: AuthenticatedClient,
|
|
81
|
+
identity_uuid: Union[Unset, UUID] = UNSET,
|
|
82
|
+
mode: Union[Unset, str] = UNSET,
|
|
83
|
+
page: Union[Unset, int] = UNSET,
|
|
84
|
+
page_size: Union[Unset, int] = UNSET,
|
|
85
|
+
state: Union[Unset, list[MarketplaceSiteAgentServicesCountStateItem]] = UNSET,
|
|
86
|
+
) -> Response[int]:
|
|
87
|
+
"""Get number of items in the collection matching the request parameters.
|
|
88
|
+
|
|
89
|
+
Args:
|
|
90
|
+
identity_uuid (Union[Unset, UUID]):
|
|
91
|
+
mode (Union[Unset, str]):
|
|
92
|
+
page (Union[Unset, int]):
|
|
93
|
+
page_size (Union[Unset, int]):
|
|
94
|
+
state (Union[Unset, list[MarketplaceSiteAgentServicesCountStateItem]]):
|
|
95
|
+
|
|
96
|
+
Raises:
|
|
97
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
98
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
99
|
+
|
|
100
|
+
Returns:
|
|
101
|
+
Response[int]
|
|
102
|
+
"""
|
|
103
|
+
|
|
104
|
+
kwargs = _get_kwargs(
|
|
105
|
+
identity_uuid=identity_uuid,
|
|
106
|
+
mode=mode,
|
|
107
|
+
page=page,
|
|
108
|
+
page_size=page_size,
|
|
109
|
+
state=state,
|
|
110
|
+
)
|
|
111
|
+
|
|
112
|
+
response = client.get_httpx_client().request(
|
|
113
|
+
**kwargs,
|
|
114
|
+
)
|
|
115
|
+
|
|
116
|
+
return _build_response(client=client, response=response)
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
def sync(
|
|
120
|
+
*,
|
|
121
|
+
client: AuthenticatedClient,
|
|
122
|
+
identity_uuid: Union[Unset, UUID] = UNSET,
|
|
123
|
+
mode: Union[Unset, str] = UNSET,
|
|
124
|
+
page: Union[Unset, int] = UNSET,
|
|
125
|
+
page_size: Union[Unset, int] = UNSET,
|
|
126
|
+
state: Union[Unset, list[MarketplaceSiteAgentServicesCountStateItem]] = UNSET,
|
|
127
|
+
) -> int:
|
|
128
|
+
"""Get number of items in the collection matching the request parameters.
|
|
129
|
+
|
|
130
|
+
Args:
|
|
131
|
+
identity_uuid (Union[Unset, UUID]):
|
|
132
|
+
mode (Union[Unset, str]):
|
|
133
|
+
page (Union[Unset, int]):
|
|
134
|
+
page_size (Union[Unset, int]):
|
|
135
|
+
state (Union[Unset, list[MarketplaceSiteAgentServicesCountStateItem]]):
|
|
136
|
+
|
|
137
|
+
Raises:
|
|
138
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
139
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
140
|
+
|
|
141
|
+
Returns:
|
|
142
|
+
int
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
return sync_detailed(
|
|
146
|
+
client=client,
|
|
147
|
+
identity_uuid=identity_uuid,
|
|
148
|
+
mode=mode,
|
|
149
|
+
page=page,
|
|
150
|
+
page_size=page_size,
|
|
151
|
+
state=state,
|
|
152
|
+
).parsed
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
async def asyncio_detailed(
|
|
156
|
+
*,
|
|
157
|
+
client: AuthenticatedClient,
|
|
158
|
+
identity_uuid: Union[Unset, UUID] = UNSET,
|
|
159
|
+
mode: Union[Unset, str] = UNSET,
|
|
160
|
+
page: Union[Unset, int] = UNSET,
|
|
161
|
+
page_size: Union[Unset, int] = UNSET,
|
|
162
|
+
state: Union[Unset, list[MarketplaceSiteAgentServicesCountStateItem]] = UNSET,
|
|
163
|
+
) -> Response[int]:
|
|
164
|
+
"""Get number of items in the collection matching the request parameters.
|
|
165
|
+
|
|
166
|
+
Args:
|
|
167
|
+
identity_uuid (Union[Unset, UUID]):
|
|
168
|
+
mode (Union[Unset, str]):
|
|
169
|
+
page (Union[Unset, int]):
|
|
170
|
+
page_size (Union[Unset, int]):
|
|
171
|
+
state (Union[Unset, list[MarketplaceSiteAgentServicesCountStateItem]]):
|
|
172
|
+
|
|
173
|
+
Raises:
|
|
174
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
175
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
176
|
+
|
|
177
|
+
Returns:
|
|
178
|
+
Response[int]
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
kwargs = _get_kwargs(
|
|
182
|
+
identity_uuid=identity_uuid,
|
|
183
|
+
mode=mode,
|
|
184
|
+
page=page,
|
|
185
|
+
page_size=page_size,
|
|
186
|
+
state=state,
|
|
187
|
+
)
|
|
188
|
+
|
|
189
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
190
|
+
|
|
191
|
+
return _build_response(client=client, response=response)
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
async def asyncio(
|
|
195
|
+
*,
|
|
196
|
+
client: AuthenticatedClient,
|
|
197
|
+
identity_uuid: Union[Unset, UUID] = UNSET,
|
|
198
|
+
mode: Union[Unset, str] = UNSET,
|
|
199
|
+
page: Union[Unset, int] = UNSET,
|
|
200
|
+
page_size: Union[Unset, int] = UNSET,
|
|
201
|
+
state: Union[Unset, list[MarketplaceSiteAgentServicesCountStateItem]] = UNSET,
|
|
202
|
+
) -> int:
|
|
203
|
+
"""Get number of items in the collection matching the request parameters.
|
|
204
|
+
|
|
205
|
+
Args:
|
|
206
|
+
identity_uuid (Union[Unset, UUID]):
|
|
207
|
+
mode (Union[Unset, str]):
|
|
208
|
+
page (Union[Unset, int]):
|
|
209
|
+
page_size (Union[Unset, int]):
|
|
210
|
+
state (Union[Unset, list[MarketplaceSiteAgentServicesCountStateItem]]):
|
|
211
|
+
|
|
212
|
+
Raises:
|
|
213
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
214
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
215
|
+
|
|
216
|
+
Returns:
|
|
217
|
+
int
|
|
218
|
+
"""
|
|
219
|
+
|
|
220
|
+
return (
|
|
221
|
+
await asyncio_detailed(
|
|
222
|
+
client=client,
|
|
223
|
+
identity_uuid=identity_uuid,
|
|
224
|
+
mode=mode,
|
|
225
|
+
page=page,
|
|
226
|
+
page_size=page_size,
|
|
227
|
+
state=state,
|
|
228
|
+
)
|
|
229
|
+
).parsed
|