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
|
@@ -35,14 +35,14 @@ class Project:
|
|
|
35
35
|
customer_native_name (Union[Unset, str]):
|
|
36
36
|
customer_abbreviation (Union[Unset, str]):
|
|
37
37
|
description (Union[Unset, str]):
|
|
38
|
+
customer_display_billing_info_in_projects (Union[Unset, bool]):
|
|
38
39
|
created (Union[Unset, datetime.datetime]):
|
|
39
40
|
type_ (Union[None, Unset, str]):
|
|
40
41
|
type_name (Union[None, Unset, str]):
|
|
41
42
|
type_uuid (Union[None, UUID, Unset]):
|
|
42
43
|
backend_id (Union[Unset, str]):
|
|
43
44
|
start_date (Union[None, Unset, datetime.date]):
|
|
44
|
-
end_date (Union[None, Unset, datetime.date]):
|
|
45
|
-
scheduled for termination.
|
|
45
|
+
end_date (Union[None, Unset, datetime.date]):
|
|
46
46
|
end_date_requested_by (Union[None, Unset, str]):
|
|
47
47
|
oecd_fos_2007_code (Union[BlankEnum, None, OecdFos2007CodeEnum, Unset]):
|
|
48
48
|
oecd_fos_2007_label (Union[Unset, str]):
|
|
@@ -51,6 +51,9 @@ class Project:
|
|
|
51
51
|
resources_count (Union[Unset, int]):
|
|
52
52
|
max_service_accounts (Union[None, Unset, int]): Maximum number of service accounts allowed
|
|
53
53
|
kind (Union[Unset, KindEnum]):
|
|
54
|
+
is_removed (Union[Unset, bool]):
|
|
55
|
+
termination_metadata (Union[Unset, Any]):
|
|
56
|
+
staff_notes (Union[Unset, str]):
|
|
54
57
|
project_credit (Union[None, Unset, float]):
|
|
55
58
|
marketplace_resource_count (Union[Unset, ProjectMarketplaceResourceCount]):
|
|
56
59
|
billing_price_estimate (Union[Unset, NestedPriceEstimate]):
|
|
@@ -67,6 +70,7 @@ class Project:
|
|
|
67
70
|
customer_native_name: Union[Unset, str] = UNSET
|
|
68
71
|
customer_abbreviation: Union[Unset, str] = UNSET
|
|
69
72
|
description: Union[Unset, str] = UNSET
|
|
73
|
+
customer_display_billing_info_in_projects: Union[Unset, bool] = UNSET
|
|
70
74
|
created: Union[Unset, datetime.datetime] = UNSET
|
|
71
75
|
type_: Union[None, Unset, str] = UNSET
|
|
72
76
|
type_name: Union[None, Unset, str] = UNSET
|
|
@@ -82,6 +86,9 @@ class Project:
|
|
|
82
86
|
resources_count: Union[Unset, int] = UNSET
|
|
83
87
|
max_service_accounts: Union[None, Unset, int] = UNSET
|
|
84
88
|
kind: Union[Unset, KindEnum] = UNSET
|
|
89
|
+
is_removed: Union[Unset, bool] = UNSET
|
|
90
|
+
termination_metadata: Union[Unset, Any] = UNSET
|
|
91
|
+
staff_notes: Union[Unset, str] = UNSET
|
|
85
92
|
project_credit: Union[None, Unset, float] = UNSET
|
|
86
93
|
marketplace_resource_count: Union[Unset, "ProjectMarketplaceResourceCount"] = UNSET
|
|
87
94
|
billing_price_estimate: Union[Unset, "NestedPriceEstimate"] = UNSET
|
|
@@ -114,6 +121,8 @@ class Project:
|
|
|
114
121
|
|
|
115
122
|
description = self.description
|
|
116
123
|
|
|
124
|
+
customer_display_billing_info_in_projects = self.customer_display_billing_info_in_projects
|
|
125
|
+
|
|
117
126
|
created: Union[Unset, str] = UNSET
|
|
118
127
|
if not isinstance(self.created, Unset):
|
|
119
128
|
created = self.created.isoformat()
|
|
@@ -194,6 +203,12 @@ class Project:
|
|
|
194
203
|
if not isinstance(self.kind, Unset):
|
|
195
204
|
kind = self.kind.value
|
|
196
205
|
|
|
206
|
+
is_removed = self.is_removed
|
|
207
|
+
|
|
208
|
+
termination_metadata = self.termination_metadata
|
|
209
|
+
|
|
210
|
+
staff_notes = self.staff_notes
|
|
211
|
+
|
|
197
212
|
project_credit: Union[None, Unset, float]
|
|
198
213
|
if isinstance(self.project_credit, Unset):
|
|
199
214
|
project_credit = UNSET
|
|
@@ -233,6 +248,8 @@ class Project:
|
|
|
233
248
|
field_dict["customer_abbreviation"] = customer_abbreviation
|
|
234
249
|
if description is not UNSET:
|
|
235
250
|
field_dict["description"] = description
|
|
251
|
+
if customer_display_billing_info_in_projects is not UNSET:
|
|
252
|
+
field_dict["customer_display_billing_info_in_projects"] = customer_display_billing_info_in_projects
|
|
236
253
|
if created is not UNSET:
|
|
237
254
|
field_dict["created"] = created
|
|
238
255
|
if type_ is not UNSET:
|
|
@@ -263,6 +280,12 @@ class Project:
|
|
|
263
280
|
field_dict["max_service_accounts"] = max_service_accounts
|
|
264
281
|
if kind is not UNSET:
|
|
265
282
|
field_dict["kind"] = kind
|
|
283
|
+
if is_removed is not UNSET:
|
|
284
|
+
field_dict["is_removed"] = is_removed
|
|
285
|
+
if termination_metadata is not UNSET:
|
|
286
|
+
field_dict["termination_metadata"] = termination_metadata
|
|
287
|
+
if staff_notes is not UNSET:
|
|
288
|
+
field_dict["staff_notes"] = staff_notes
|
|
266
289
|
if project_credit is not UNSET:
|
|
267
290
|
field_dict["project_credit"] = project_credit
|
|
268
291
|
if marketplace_resource_count is not UNSET:
|
|
@@ -310,6 +333,8 @@ class Project:
|
|
|
310
333
|
|
|
311
334
|
description = d.pop("description", UNSET)
|
|
312
335
|
|
|
336
|
+
customer_display_billing_info_in_projects = d.pop("customer_display_billing_info_in_projects", UNSET)
|
|
337
|
+
|
|
313
338
|
_created = d.pop("created", UNSET)
|
|
314
339
|
created: Union[Unset, datetime.datetime]
|
|
315
340
|
if isinstance(_created, Unset):
|
|
@@ -453,6 +478,12 @@ class Project:
|
|
|
453
478
|
else:
|
|
454
479
|
kind = KindEnum(_kind)
|
|
455
480
|
|
|
481
|
+
is_removed = d.pop("is_removed", UNSET)
|
|
482
|
+
|
|
483
|
+
termination_metadata = d.pop("termination_metadata", UNSET)
|
|
484
|
+
|
|
485
|
+
staff_notes = d.pop("staff_notes", UNSET)
|
|
486
|
+
|
|
456
487
|
def _parse_project_credit(data: object) -> Union[None, Unset, float]:
|
|
457
488
|
if data is None:
|
|
458
489
|
return data
|
|
@@ -488,6 +519,7 @@ class Project:
|
|
|
488
519
|
customer_native_name=customer_native_name,
|
|
489
520
|
customer_abbreviation=customer_abbreviation,
|
|
490
521
|
description=description,
|
|
522
|
+
customer_display_billing_info_in_projects=customer_display_billing_info_in_projects,
|
|
491
523
|
created=created,
|
|
492
524
|
type_=type_,
|
|
493
525
|
type_name=type_name,
|
|
@@ -503,6 +535,9 @@ class Project:
|
|
|
503
535
|
resources_count=resources_count,
|
|
504
536
|
max_service_accounts=max_service_accounts,
|
|
505
537
|
kind=kind,
|
|
538
|
+
is_removed=is_removed,
|
|
539
|
+
termination_metadata=termination_metadata,
|
|
540
|
+
staff_notes=staff_notes,
|
|
506
541
|
project_credit=project_credit,
|
|
507
542
|
marketplace_resource_count=marketplace_resource_count,
|
|
508
543
|
billing_price_estimate=billing_price_estimate,
|
|
@@ -41,6 +41,7 @@ class ProjectCredit:
|
|
|
41
41
|
minimal_consumption_logic (Union[Unset, MinimalConsumptionLogicEnum]):
|
|
42
42
|
grace_coefficient (Union[Unset, str]):
|
|
43
43
|
apply_as_minimal_consumption (Union[Unset, bool]):
|
|
44
|
+
mark_unused_credit_as_spent_on_project_termination (Union[Unset, bool]):
|
|
44
45
|
"""
|
|
45
46
|
|
|
46
47
|
uuid: UUID
|
|
@@ -63,6 +64,7 @@ class ProjectCredit:
|
|
|
63
64
|
minimal_consumption_logic: Union[Unset, MinimalConsumptionLogicEnum] = UNSET
|
|
64
65
|
grace_coefficient: Union[Unset, str] = UNSET
|
|
65
66
|
apply_as_minimal_consumption: Union[Unset, bool] = UNSET
|
|
67
|
+
mark_unused_credit_as_spent_on_project_termination: Union[Unset, bool] = UNSET
|
|
66
68
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
67
69
|
|
|
68
70
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -117,6 +119,8 @@ class ProjectCredit:
|
|
|
117
119
|
|
|
118
120
|
apply_as_minimal_consumption = self.apply_as_minimal_consumption
|
|
119
121
|
|
|
122
|
+
mark_unused_credit_as_spent_on_project_termination = self.mark_unused_credit_as_spent_on_project_termination
|
|
123
|
+
|
|
120
124
|
field_dict: dict[str, Any] = {}
|
|
121
125
|
field_dict.update(self.additional_properties)
|
|
122
126
|
field_dict.update(
|
|
@@ -149,6 +153,10 @@ class ProjectCredit:
|
|
|
149
153
|
field_dict["grace_coefficient"] = grace_coefficient
|
|
150
154
|
if apply_as_minimal_consumption is not UNSET:
|
|
151
155
|
field_dict["apply_as_minimal_consumption"] = apply_as_minimal_consumption
|
|
156
|
+
if mark_unused_credit_as_spent_on_project_termination is not UNSET:
|
|
157
|
+
field_dict["mark_unused_credit_as_spent_on_project_termination"] = (
|
|
158
|
+
mark_unused_credit_as_spent_on_project_termination
|
|
159
|
+
)
|
|
152
160
|
|
|
153
161
|
return field_dict
|
|
154
162
|
|
|
@@ -222,6 +230,10 @@ class ProjectCredit:
|
|
|
222
230
|
|
|
223
231
|
apply_as_minimal_consumption = d.pop("apply_as_minimal_consumption", UNSET)
|
|
224
232
|
|
|
233
|
+
mark_unused_credit_as_spent_on_project_termination = d.pop(
|
|
234
|
+
"mark_unused_credit_as_spent_on_project_termination", UNSET
|
|
235
|
+
)
|
|
236
|
+
|
|
225
237
|
project_credit = cls(
|
|
226
238
|
uuid=uuid,
|
|
227
239
|
url=url,
|
|
@@ -243,6 +255,7 @@ class ProjectCredit:
|
|
|
243
255
|
minimal_consumption_logic=minimal_consumption_logic,
|
|
244
256
|
grace_coefficient=grace_coefficient,
|
|
245
257
|
apply_as_minimal_consumption=apply_as_minimal_consumption,
|
|
258
|
+
mark_unused_credit_as_spent_on_project_termination=mark_unused_credit_as_spent_on_project_termination,
|
|
246
259
|
)
|
|
247
260
|
|
|
248
261
|
project_credit.additional_properties = d
|
|
@@ -23,6 +23,7 @@ class ProjectCreditRequest:
|
|
|
23
23
|
minimal_consumption_logic (Union[Unset, MinimalConsumptionLogicEnum]):
|
|
24
24
|
grace_coefficient (Union[Unset, str]):
|
|
25
25
|
apply_as_minimal_consumption (Union[Unset, bool]):
|
|
26
|
+
mark_unused_credit_as_spent_on_project_termination (Union[Unset, bool]):
|
|
26
27
|
"""
|
|
27
28
|
|
|
28
29
|
project: str
|
|
@@ -32,6 +33,7 @@ class ProjectCreditRequest:
|
|
|
32
33
|
minimal_consumption_logic: Union[Unset, MinimalConsumptionLogicEnum] = UNSET
|
|
33
34
|
grace_coefficient: Union[Unset, str] = UNSET
|
|
34
35
|
apply_as_minimal_consumption: Union[Unset, bool] = UNSET
|
|
36
|
+
mark_unused_credit_as_spent_on_project_termination: Union[Unset, bool] = UNSET
|
|
35
37
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
36
38
|
|
|
37
39
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -57,6 +59,8 @@ class ProjectCreditRequest:
|
|
|
57
59
|
|
|
58
60
|
apply_as_minimal_consumption = self.apply_as_minimal_consumption
|
|
59
61
|
|
|
62
|
+
mark_unused_credit_as_spent_on_project_termination = self.mark_unused_credit_as_spent_on_project_termination
|
|
63
|
+
|
|
60
64
|
field_dict: dict[str, Any] = {}
|
|
61
65
|
field_dict.update(self.additional_properties)
|
|
62
66
|
field_dict.update(
|
|
@@ -76,6 +80,10 @@ class ProjectCreditRequest:
|
|
|
76
80
|
field_dict["grace_coefficient"] = grace_coefficient
|
|
77
81
|
if apply_as_minimal_consumption is not UNSET:
|
|
78
82
|
field_dict["apply_as_minimal_consumption"] = apply_as_minimal_consumption
|
|
83
|
+
if mark_unused_credit_as_spent_on_project_termination is not UNSET:
|
|
84
|
+
field_dict["mark_unused_credit_as_spent_on_project_termination"] = (
|
|
85
|
+
mark_unused_credit_as_spent_on_project_termination
|
|
86
|
+
)
|
|
79
87
|
|
|
80
88
|
return field_dict
|
|
81
89
|
|
|
@@ -116,6 +124,10 @@ class ProjectCreditRequest:
|
|
|
116
124
|
|
|
117
125
|
apply_as_minimal_consumption = d.pop("apply_as_minimal_consumption", UNSET)
|
|
118
126
|
|
|
127
|
+
mark_unused_credit_as_spent_on_project_termination = d.pop(
|
|
128
|
+
"mark_unused_credit_as_spent_on_project_termination", UNSET
|
|
129
|
+
)
|
|
130
|
+
|
|
119
131
|
project_credit_request = cls(
|
|
120
132
|
project=project,
|
|
121
133
|
value=value,
|
|
@@ -124,6 +136,7 @@ class ProjectCreditRequest:
|
|
|
124
136
|
minimal_consumption_logic=minimal_consumption_logic,
|
|
125
137
|
grace_coefficient=grace_coefficient,
|
|
126
138
|
apply_as_minimal_consumption=apply_as_minimal_consumption,
|
|
139
|
+
mark_unused_credit_as_spent_on_project_termination=mark_unused_credit_as_spent_on_project_termination,
|
|
127
140
|
)
|
|
128
141
|
|
|
129
142
|
project_credit_request.additional_properties = d
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar, Union
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
from ..types import UNSET, Unset
|
|
8
|
+
|
|
9
|
+
T = TypeVar("T", bound="ProjectRecoveryRequest")
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@_attrs_define
|
|
13
|
+
class ProjectRecoveryRequest:
|
|
14
|
+
"""
|
|
15
|
+
Attributes:
|
|
16
|
+
restore_team_members (Union[Unset, bool]): Whether to automatically restore team members who had access before
|
|
17
|
+
project deletion (staff only) Default: False.
|
|
18
|
+
send_invitations_to_previous_members (Union[Unset, bool]): Whether to send invitations to users who had access
|
|
19
|
+
before project deletion Default: False.
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
restore_team_members: Union[Unset, bool] = False
|
|
23
|
+
send_invitations_to_previous_members: Union[Unset, bool] = False
|
|
24
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
25
|
+
|
|
26
|
+
def to_dict(self) -> dict[str, Any]:
|
|
27
|
+
restore_team_members = self.restore_team_members
|
|
28
|
+
|
|
29
|
+
send_invitations_to_previous_members = self.send_invitations_to_previous_members
|
|
30
|
+
|
|
31
|
+
field_dict: dict[str, Any] = {}
|
|
32
|
+
field_dict.update(self.additional_properties)
|
|
33
|
+
field_dict.update({})
|
|
34
|
+
if restore_team_members is not UNSET:
|
|
35
|
+
field_dict["restore_team_members"] = restore_team_members
|
|
36
|
+
if send_invitations_to_previous_members is not UNSET:
|
|
37
|
+
field_dict["send_invitations_to_previous_members"] = send_invitations_to_previous_members
|
|
38
|
+
|
|
39
|
+
return field_dict
|
|
40
|
+
|
|
41
|
+
@classmethod
|
|
42
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
43
|
+
d = dict(src_dict)
|
|
44
|
+
restore_team_members = d.pop("restore_team_members", UNSET)
|
|
45
|
+
|
|
46
|
+
send_invitations_to_previous_members = d.pop("send_invitations_to_previous_members", UNSET)
|
|
47
|
+
|
|
48
|
+
project_recovery_request = cls(
|
|
49
|
+
restore_team_members=restore_team_members,
|
|
50
|
+
send_invitations_to_previous_members=send_invitations_to_previous_members,
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
project_recovery_request.additional_properties = d
|
|
54
|
+
return project_recovery_request
|
|
55
|
+
|
|
56
|
+
@property
|
|
57
|
+
def additional_keys(self) -> list[str]:
|
|
58
|
+
return list(self.additional_properties.keys())
|
|
59
|
+
|
|
60
|
+
def __getitem__(self, key: str) -> Any:
|
|
61
|
+
return self.additional_properties[key]
|
|
62
|
+
|
|
63
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
64
|
+
self.additional_properties[key] = value
|
|
65
|
+
|
|
66
|
+
def __delitem__(self, key: str) -> None:
|
|
67
|
+
del self.additional_properties[key]
|
|
68
|
+
|
|
69
|
+
def __contains__(self, key: str) -> bool:
|
|
70
|
+
return key in self.additional_properties
|
|
@@ -27,12 +27,12 @@ class ProjectRequest:
|
|
|
27
27
|
type_ (Union[None, Unset, str]):
|
|
28
28
|
backend_id (Union[Unset, str]):
|
|
29
29
|
start_date (Union[None, Unset, datetime.date]):
|
|
30
|
-
end_date (Union[None, Unset, datetime.date]):
|
|
31
|
-
scheduled for termination.
|
|
30
|
+
end_date (Union[None, Unset, datetime.date]):
|
|
32
31
|
oecd_fos_2007_code (Union[BlankEnum, None, OecdFos2007CodeEnum, Unset]):
|
|
33
32
|
is_industry (Union[Unset, bool]):
|
|
34
33
|
image (Union[File, None, Unset]):
|
|
35
34
|
kind (Union[Unset, KindEnum]):
|
|
35
|
+
staff_notes (Union[Unset, str]):
|
|
36
36
|
"""
|
|
37
37
|
|
|
38
38
|
name: str
|
|
@@ -47,6 +47,7 @@ class ProjectRequest:
|
|
|
47
47
|
is_industry: Union[Unset, bool] = UNSET
|
|
48
48
|
image: Union[File, None, Unset] = UNSET
|
|
49
49
|
kind: Union[Unset, KindEnum] = UNSET
|
|
50
|
+
staff_notes: Union[Unset, str] = UNSET
|
|
50
51
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
51
52
|
|
|
52
53
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -107,6 +108,8 @@ class ProjectRequest:
|
|
|
107
108
|
if not isinstance(self.kind, Unset):
|
|
108
109
|
kind = self.kind.value
|
|
109
110
|
|
|
111
|
+
staff_notes = self.staff_notes
|
|
112
|
+
|
|
110
113
|
field_dict: dict[str, Any] = {}
|
|
111
114
|
field_dict.update(self.additional_properties)
|
|
112
115
|
field_dict.update(
|
|
@@ -135,6 +138,8 @@ class ProjectRequest:
|
|
|
135
138
|
field_dict["image"] = image
|
|
136
139
|
if kind is not UNSET:
|
|
137
140
|
field_dict["kind"] = kind
|
|
141
|
+
if staff_notes is not UNSET:
|
|
142
|
+
field_dict["staff_notes"] = staff_notes
|
|
138
143
|
|
|
139
144
|
return field_dict
|
|
140
145
|
|
|
@@ -245,6 +250,8 @@ class ProjectRequest:
|
|
|
245
250
|
else:
|
|
246
251
|
kind = KindEnum(_kind)
|
|
247
252
|
|
|
253
|
+
staff_notes = d.pop("staff_notes", UNSET)
|
|
254
|
+
|
|
248
255
|
project_request = cls(
|
|
249
256
|
name=name,
|
|
250
257
|
customer=customer,
|
|
@@ -258,6 +265,7 @@ class ProjectRequest:
|
|
|
258
265
|
is_industry=is_industry,
|
|
259
266
|
image=image,
|
|
260
267
|
kind=kind,
|
|
268
|
+
staff_notes=staff_notes,
|
|
261
269
|
)
|
|
262
270
|
|
|
263
271
|
project_request.additional_properties = d
|
|
@@ -27,12 +27,12 @@ class ProjectRequestForm:
|
|
|
27
27
|
type_ (Union[None, Unset, str]):
|
|
28
28
|
backend_id (Union[Unset, str]):
|
|
29
29
|
start_date (Union[None, Unset, datetime.date]):
|
|
30
|
-
end_date (Union[None, Unset, datetime.date]):
|
|
31
|
-
scheduled for termination.
|
|
30
|
+
end_date (Union[None, Unset, datetime.date]):
|
|
32
31
|
oecd_fos_2007_code (Union[BlankEnum, None, OecdFos2007CodeEnum, Unset]):
|
|
33
32
|
is_industry (Union[Unset, bool]):
|
|
34
33
|
image (Union[File, None, Unset]):
|
|
35
34
|
kind (Union[Unset, KindEnum]):
|
|
35
|
+
staff_notes (Union[Unset, str]):
|
|
36
36
|
"""
|
|
37
37
|
|
|
38
38
|
name: str
|
|
@@ -47,6 +47,7 @@ class ProjectRequestForm:
|
|
|
47
47
|
is_industry: Union[Unset, bool] = UNSET
|
|
48
48
|
image: Union[File, None, Unset] = UNSET
|
|
49
49
|
kind: Union[Unset, KindEnum] = UNSET
|
|
50
|
+
staff_notes: Union[Unset, str] = UNSET
|
|
50
51
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
51
52
|
|
|
52
53
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -107,6 +108,8 @@ class ProjectRequestForm:
|
|
|
107
108
|
if not isinstance(self.kind, Unset):
|
|
108
109
|
kind = self.kind.value
|
|
109
110
|
|
|
111
|
+
staff_notes = self.staff_notes
|
|
112
|
+
|
|
110
113
|
field_dict: dict[str, Any] = {}
|
|
111
114
|
field_dict.update(self.additional_properties)
|
|
112
115
|
field_dict.update(
|
|
@@ -135,6 +138,8 @@ class ProjectRequestForm:
|
|
|
135
138
|
field_dict["image"] = image
|
|
136
139
|
if kind is not UNSET:
|
|
137
140
|
field_dict["kind"] = kind
|
|
141
|
+
if staff_notes is not UNSET:
|
|
142
|
+
field_dict["staff_notes"] = staff_notes
|
|
138
143
|
|
|
139
144
|
return field_dict
|
|
140
145
|
|
|
@@ -245,6 +250,8 @@ class ProjectRequestForm:
|
|
|
245
250
|
else:
|
|
246
251
|
kind = KindEnum(_kind)
|
|
247
252
|
|
|
253
|
+
staff_notes = d.pop("staff_notes", UNSET)
|
|
254
|
+
|
|
248
255
|
project_request_form = cls(
|
|
249
256
|
name=name,
|
|
250
257
|
customer=customer,
|
|
@@ -258,6 +265,7 @@ class ProjectRequestForm:
|
|
|
258
265
|
is_industry=is_industry,
|
|
259
266
|
image=image,
|
|
260
267
|
kind=kind,
|
|
268
|
+
staff_notes=staff_notes,
|
|
261
269
|
)
|
|
262
270
|
|
|
263
271
|
project_request_form.additional_properties = d
|
|
@@ -27,12 +27,12 @@ class ProjectRequestMultipart:
|
|
|
27
27
|
type_ (Union[None, Unset, str]):
|
|
28
28
|
backend_id (Union[Unset, str]):
|
|
29
29
|
start_date (Union[None, Unset, datetime.date]):
|
|
30
|
-
end_date (Union[None, Unset, datetime.date]):
|
|
31
|
-
scheduled for termination.
|
|
30
|
+
end_date (Union[None, Unset, datetime.date]):
|
|
32
31
|
oecd_fos_2007_code (Union[BlankEnum, None, OecdFos2007CodeEnum, Unset]):
|
|
33
32
|
is_industry (Union[Unset, bool]):
|
|
34
33
|
image (Union[File, None, Unset]):
|
|
35
34
|
kind (Union[Unset, KindEnum]):
|
|
35
|
+
staff_notes (Union[Unset, str]):
|
|
36
36
|
"""
|
|
37
37
|
|
|
38
38
|
name: str
|
|
@@ -47,6 +47,7 @@ class ProjectRequestMultipart:
|
|
|
47
47
|
is_industry: Union[Unset, bool] = UNSET
|
|
48
48
|
image: Union[File, None, Unset] = UNSET
|
|
49
49
|
kind: Union[Unset, KindEnum] = UNSET
|
|
50
|
+
staff_notes: Union[Unset, str] = UNSET
|
|
50
51
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
51
52
|
|
|
52
53
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -107,6 +108,8 @@ class ProjectRequestMultipart:
|
|
|
107
108
|
if not isinstance(self.kind, Unset):
|
|
108
109
|
kind = self.kind.value
|
|
109
110
|
|
|
111
|
+
staff_notes = self.staff_notes
|
|
112
|
+
|
|
110
113
|
field_dict: dict[str, Any] = {}
|
|
111
114
|
field_dict.update(self.additional_properties)
|
|
112
115
|
field_dict.update(
|
|
@@ -135,6 +138,8 @@ class ProjectRequestMultipart:
|
|
|
135
138
|
field_dict["image"] = image
|
|
136
139
|
if kind is not UNSET:
|
|
137
140
|
field_dict["kind"] = kind
|
|
141
|
+
if staff_notes is not UNSET:
|
|
142
|
+
field_dict["staff_notes"] = staff_notes
|
|
138
143
|
|
|
139
144
|
return field_dict
|
|
140
145
|
|
|
@@ -194,6 +199,9 @@ class ProjectRequestMultipart:
|
|
|
194
199
|
if not isinstance(self.kind, Unset):
|
|
195
200
|
files.append(("kind", (None, str(self.kind.value).encode(), "text/plain")))
|
|
196
201
|
|
|
202
|
+
if not isinstance(self.staff_notes, Unset):
|
|
203
|
+
files.append(("staff_notes", (None, str(self.staff_notes).encode(), "text/plain")))
|
|
204
|
+
|
|
197
205
|
for prop_name, prop in self.additional_properties.items():
|
|
198
206
|
files.append((prop_name, (None, str(prop).encode(), "text/plain")))
|
|
199
207
|
|
|
@@ -306,6 +314,8 @@ class ProjectRequestMultipart:
|
|
|
306
314
|
else:
|
|
307
315
|
kind = KindEnum(_kind)
|
|
308
316
|
|
|
317
|
+
staff_notes = d.pop("staff_notes", UNSET)
|
|
318
|
+
|
|
309
319
|
project_request_multipart = cls(
|
|
310
320
|
name=name,
|
|
311
321
|
customer=customer,
|
|
@@ -319,6 +329,7 @@ class ProjectRequestMultipart:
|
|
|
319
329
|
is_industry=is_industry,
|
|
320
330
|
image=image,
|
|
321
331
|
kind=kind,
|
|
332
|
+
staff_notes=staff_notes,
|
|
322
333
|
)
|
|
323
334
|
|
|
324
335
|
project_request_multipart.additional_properties = d
|
|
@@ -24,7 +24,7 @@ class ProjectUser:
|
|
|
24
24
|
role (str):
|
|
25
25
|
expiration_time (Union[None, datetime.datetime]):
|
|
26
26
|
offering_user_username (Union[None, str]):
|
|
27
|
-
offering_user_state (OfferingUserState):
|
|
27
|
+
offering_user_state (Union[None, OfferingUserState]):
|
|
28
28
|
email (Union[Unset, str]):
|
|
29
29
|
"""
|
|
30
30
|
|
|
@@ -35,7 +35,7 @@ class ProjectUser:
|
|
|
35
35
|
role: str
|
|
36
36
|
expiration_time: Union[None, datetime.datetime]
|
|
37
37
|
offering_user_username: Union[None, str]
|
|
38
|
-
offering_user_state: OfferingUserState
|
|
38
|
+
offering_user_state: Union[None, OfferingUserState]
|
|
39
39
|
email: Union[Unset, str] = UNSET
|
|
40
40
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
41
41
|
|
|
@@ -59,7 +59,11 @@ class ProjectUser:
|
|
|
59
59
|
offering_user_username: Union[None, str]
|
|
60
60
|
offering_user_username = self.offering_user_username
|
|
61
61
|
|
|
62
|
-
offering_user_state
|
|
62
|
+
offering_user_state: Union[None, str]
|
|
63
|
+
if isinstance(self.offering_user_state, OfferingUserState):
|
|
64
|
+
offering_user_state = self.offering_user_state.value
|
|
65
|
+
else:
|
|
66
|
+
offering_user_state = self.offering_user_state
|
|
63
67
|
|
|
64
68
|
email = self.email
|
|
65
69
|
|
|
@@ -117,7 +121,20 @@ class ProjectUser:
|
|
|
117
121
|
|
|
118
122
|
offering_user_username = _parse_offering_user_username(d.pop("offering_user_username"))
|
|
119
123
|
|
|
120
|
-
|
|
124
|
+
def _parse_offering_user_state(data: object) -> Union[None, OfferingUserState]:
|
|
125
|
+
if data is None:
|
|
126
|
+
return data
|
|
127
|
+
try:
|
|
128
|
+
if not isinstance(data, str):
|
|
129
|
+
raise TypeError()
|
|
130
|
+
offering_user_state_type_0 = OfferingUserState(data)
|
|
131
|
+
|
|
132
|
+
return offering_user_state_type_0
|
|
133
|
+
except: # noqa: E722
|
|
134
|
+
pass
|
|
135
|
+
return cast(Union[None, OfferingUserState], data)
|
|
136
|
+
|
|
137
|
+
offering_user_state = _parse_offering_user_state(d.pop("offering_user_state"))
|
|
121
138
|
|
|
122
139
|
email = d.pop("email", UNSET)
|
|
123
140
|
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar, Union, cast
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
from ..types import UNSET, Unset
|
|
8
|
+
|
|
9
|
+
T = TypeVar("T", bound="ProjectsAddUserResponse400")
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@_attrs_define
|
|
13
|
+
class ProjectsAddUserResponse400:
|
|
14
|
+
"""Validation error when trying to add user to terminated project
|
|
15
|
+
|
|
16
|
+
Example:
|
|
17
|
+
{'non_field_errors': ['Cannot manage team members for terminated projects.']}
|
|
18
|
+
|
|
19
|
+
Attributes:
|
|
20
|
+
non_field_errors (Union[Unset, list[str]]):
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
non_field_errors: Union[Unset, list[str]] = UNSET
|
|
24
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
25
|
+
|
|
26
|
+
def to_dict(self) -> dict[str, Any]:
|
|
27
|
+
non_field_errors: Union[Unset, list[str]] = UNSET
|
|
28
|
+
if not isinstance(self.non_field_errors, Unset):
|
|
29
|
+
non_field_errors = self.non_field_errors
|
|
30
|
+
|
|
31
|
+
field_dict: dict[str, Any] = {}
|
|
32
|
+
field_dict.update(self.additional_properties)
|
|
33
|
+
field_dict.update({})
|
|
34
|
+
if non_field_errors is not UNSET:
|
|
35
|
+
field_dict["non_field_errors"] = non_field_errors
|
|
36
|
+
|
|
37
|
+
return field_dict
|
|
38
|
+
|
|
39
|
+
@classmethod
|
|
40
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
41
|
+
d = dict(src_dict)
|
|
42
|
+
non_field_errors = cast(list[str], d.pop("non_field_errors", UNSET))
|
|
43
|
+
|
|
44
|
+
projects_add_user_response_400 = cls(
|
|
45
|
+
non_field_errors=non_field_errors,
|
|
46
|
+
)
|
|
47
|
+
|
|
48
|
+
projects_add_user_response_400.additional_properties = d
|
|
49
|
+
return projects_add_user_response_400
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
def additional_keys(self) -> list[str]:
|
|
53
|
+
return list(self.additional_properties.keys())
|
|
54
|
+
|
|
55
|
+
def __getitem__(self, key: str) -> Any:
|
|
56
|
+
return self.additional_properties[key]
|
|
57
|
+
|
|
58
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
59
|
+
self.additional_properties[key] = value
|
|
60
|
+
|
|
61
|
+
def __delitem__(self, key: str) -> None:
|
|
62
|
+
del self.additional_properties[key]
|
|
63
|
+
|
|
64
|
+
def __contains__(self, key: str) -> bool:
|
|
65
|
+
return key in self.additional_properties
|
|
@@ -7,6 +7,7 @@ class ProjectsListFieldItem(str, Enum):
|
|
|
7
7
|
CREATED = "created"
|
|
8
8
|
CUSTOMER = "customer"
|
|
9
9
|
CUSTOMER_ABBREVIATION = "customer_abbreviation"
|
|
10
|
+
CUSTOMER_DISPLAY_BILLING_INFO_IN_PROJECTS = "customer_display_billing_info_in_projects"
|
|
10
11
|
CUSTOMER_NAME = "customer_name"
|
|
11
12
|
CUSTOMER_NATIVE_NAME = "customer_native_name"
|
|
12
13
|
CUSTOMER_SLUG = "customer_slug"
|
|
@@ -16,6 +17,7 @@ class ProjectsListFieldItem(str, Enum):
|
|
|
16
17
|
END_DATE_REQUESTED_BY = "end_date_requested_by"
|
|
17
18
|
IMAGE = "image"
|
|
18
19
|
IS_INDUSTRY = "is_industry"
|
|
20
|
+
IS_REMOVED = "is_removed"
|
|
19
21
|
KIND = "kind"
|
|
20
22
|
MARKETPLACE_RESOURCE_COUNT = "marketplace_resource_count"
|
|
21
23
|
MAX_SERVICE_ACCOUNTS = "max_service_accounts"
|
|
@@ -25,7 +27,9 @@ class ProjectsListFieldItem(str, Enum):
|
|
|
25
27
|
PROJECT_CREDIT = "project_credit"
|
|
26
28
|
RESOURCES_COUNT = "resources_count"
|
|
27
29
|
SLUG = "slug"
|
|
30
|
+
STAFF_NOTES = "staff_notes"
|
|
28
31
|
START_DATE = "start_date"
|
|
32
|
+
TERMINATION_METADATA = "termination_metadata"
|
|
29
33
|
TYPE = "type"
|
|
30
34
|
TYPE_NAME = "type_name"
|
|
31
35
|
TYPE_UUID = "type_uuid"
|