hostinger-api 0.0.8__tar.gz → 0.0.11__tar.gz
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.
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/PKG-INFO +5 -2
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/README.md +4 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/__init__.py +5 -2
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/__init__.py +1 -0
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/billing_catalog_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/billing_orders_api.py +4 -4
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/billing_payment_methods_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/billing_subscriptions_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/dns_snapshot_api.py +2 -2
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/dns_zone_api.py +7 -7
- hostinger_api-0.0.11/hostinger_api/api/domains_availability_api.py +314 -0
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/domains_portfolio_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/vps_actions_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/vps_backups_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/vps_data_centers_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/vps_firewall_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/vps_malware_scanner_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/vps_post_install_scripts_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/vps_public_keys_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/vps_recovery_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/vps_snapshots_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/vps_virtual_machine_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/vpsos_templates_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/vpsptr_records_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api_client.py +2 -2
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/configuration.py +3 -3
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/exceptions.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/__init__.py +3 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/billing_v1_catalog_catalog_item_price_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/billing_v1_catalog_catalog_item_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/billing_v1_order_order_billing_address_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/billing_v1_order_order_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/billing_v1_order_store_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/billing_v1_order_store_request_items_inner.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/billing_v1_payment_method_payment_method_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/billing_v1_subscription_cancel_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/billing_v1_subscription_subscription_resource.py +10 -12
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/common_schema_error_response_schema.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/common_schema_pagination_meta_schema.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/common_schema_unauthorized_response_schema.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/common_schema_unprocessable_content_response_schema.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/common_schema_unprocessable_content_response_schema_errors.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/common_success_empty_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/dnsv1_snapshot_snapshot_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/dnsv1_snapshot_snapshot_with_content_resource.py +11 -3
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/dnsv1_zone_destroy_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/dnsv1_zone_destroy_request_filters_inner.py +4 -7
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/dnsv1_zone_name_record_resource.py +4 -4
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/dnsv1_zone_record_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/dnsv1_zone_reset_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/dnsv1_zone_update_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/dnsv1_zone_update_request_zone_inner.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/dnsv1_zone_update_request_zone_inner_records_inner.py +1 -1
- hostinger_api-0.0.11/hostinger_api/models/domains_v1_availability_availability_request.py +89 -0
- hostinger_api-0.0.11/hostinger_api/models/domains_v1_availability_availability_resource.py +101 -0
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/domains_v1_domain_domain_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vps_get_action_list_v1200_response.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vps_get_backup_list_v1200_response.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vps_get_firewall_list_v1200_response.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vps_get_post_install_script_list_v1200_response.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vps_get_public_key_list_v1200_response.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_action_action_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_backup_backup_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_data_center_data_center_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_firewall_firewall_resource.py +4 -4
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_firewall_firewall_rule_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_firewall_rules_store_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_firewall_store_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_ip_address_ip_address_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_malware_metrics_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_metrics_metrics_collection.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_metrics_metrics_collection_cpu_usage.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_metrics_metrics_collection_disk_space.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_metrics_metrics_collection_incoming_traffic.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_metrics_metrics_collection_outgoing_traffic.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_metrics_metrics_collection_ram_usage.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_metrics_metrics_collection_uptime.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_metrics_metrics_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_post_install_script_post_install_script_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_post_install_script_store_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_public_key_attach_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_public_key_public_key_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_public_key_store_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_snapshot_snapshot_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_template_template_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_virtual_machine_hostname_update_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_virtual_machine_nameservers_update_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_virtual_machine_panel_password_update_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_virtual_machine_recovery_start_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_virtual_machine_recreate_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_virtual_machine_root_password_update_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_virtual_machine_setup_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_virtual_machine_setup_request_public_key.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource_ipv4.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource_ipv6.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource_template.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/rest.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api.egg-info/PKG-INFO +5 -2
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api.egg-info/SOURCES.txt +6 -0
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/pyproject.toml +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/setup.py +2 -2
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_billing_catalog_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_billing_orders_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_billing_payment_methods_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_billing_subscriptions_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_billing_v1_catalog_catalog_item_price_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_billing_v1_catalog_catalog_item_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_billing_v1_order_order_billing_address_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_billing_v1_order_order_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_billing_v1_order_store_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_billing_v1_order_store_request_items_inner.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_billing_v1_payment_method_payment_method_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_billing_v1_subscription_cancel_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_billing_v1_subscription_subscription_resource.py +3 -4
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_common_schema_error_response_schema.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_common_schema_pagination_meta_schema.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_common_schema_unauthorized_response_schema.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_common_schema_unprocessable_content_response_schema.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_common_schema_unprocessable_content_response_schema_errors.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_common_success_empty_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_dns_snapshot_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_dns_zone_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_dnsv1_snapshot_snapshot_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_dnsv1_snapshot_snapshot_with_content_resource.py +12 -2
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_dnsv1_zone_destroy_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_dnsv1_zone_destroy_request_filters_inner.py +3 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_dnsv1_zone_name_record_resource.py +2 -2
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_dnsv1_zone_record_resource.py +2 -2
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_dnsv1_zone_reset_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_dnsv1_zone_update_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_dnsv1_zone_update_request_zone_inner.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_dnsv1_zone_update_request_zone_inner_records_inner.py +1 -1
- hostinger_api-0.0.11/test/test_domains_availability_api.py +36 -0
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_domains_portfolio_api.py +1 -1
- hostinger_api-0.0.11/test/test_domains_v1_availability_availability_request.py +53 -0
- hostinger_api-0.0.11/test/test_domains_v1_availability_availability_resource.py +52 -0
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_domains_v1_domain_domain_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vps_actions_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vps_backups_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vps_data_centers_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vps_firewall_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vps_get_action_list_v1200_response.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vps_get_backup_list_v1200_response.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vps_get_firewall_list_v1200_response.py +2 -2
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vps_get_post_install_script_list_v1200_response.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vps_get_public_key_list_v1200_response.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vps_malware_scanner_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vps_post_install_scripts_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vps_public_keys_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vps_recovery_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vps_snapshots_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vps_virtual_machine_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsos_templates_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsptr_records_api.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_action_action_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_backup_backup_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_data_center_data_center_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_firewall_firewall_resource.py +2 -2
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_firewall_firewall_rule_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_firewall_rules_store_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_firewall_store_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_ip_address_ip_address_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_malware_metrics_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_metrics_metrics_collection.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_metrics_metrics_collection_cpu_usage.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_metrics_metrics_collection_disk_space.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_metrics_metrics_collection_incoming_traffic.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_metrics_metrics_collection_outgoing_traffic.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_metrics_metrics_collection_ram_usage.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_metrics_metrics_collection_uptime.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_metrics_metrics_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_post_install_script_post_install_script_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_post_install_script_store_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_public_key_attach_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_public_key_public_key_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_public_key_store_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_snapshot_snapshot_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_template_template_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_virtual_machine_hostname_update_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_virtual_machine_nameservers_update_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_virtual_machine_panel_password_update_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_virtual_machine_recovery_start_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_virtual_machine_recreate_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_virtual_machine_root_password_update_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_virtual_machine_setup_request.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_virtual_machine_setup_request_public_key.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_virtual_machine_virtual_machine_resource.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_virtual_machine_virtual_machine_resource_ipv4.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_virtual_machine_virtual_machine_resource_ipv6.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/test/test_vpsv1_virtual_machine_virtual_machine_resource_template.py +1 -1
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api_response.py +0 -0
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/py.typed +0 -0
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api.egg-info/dependency_links.txt +0 -0
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api.egg-info/requires.txt +0 -0
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api.egg-info/top_level.txt +0 -0
- {hostinger_api-0.0.8 → hostinger_api-0.0.11}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hostinger_api
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.11
|
|
4
4
|
Summary: Hostinger API
|
|
5
5
|
Home-page: https://github.com/hostinger/api-python-sdk
|
|
6
6
|
Author: Hostinger
|
|
@@ -115,12 +115,13 @@ Class | Method | HTTP request | Description
|
|
|
115
115
|
*BillingSubscriptionsApi* | [**get_subscription_list_v1**](docs/BillingSubscriptionsApi.md#get_subscription_list_v1) | **GET** /api/billing/v1/subscriptions | Get subscription list
|
|
116
116
|
*DNSSnapshotApi* | [**get_snapshot_list_v1**](docs/DNSSnapshotApi.md#get_snapshot_list_v1) | **GET** /api/dns/v1/snapshots/{domain} | Get snapshot list
|
|
117
117
|
*DNSSnapshotApi* | [**get_snapshot_v1**](docs/DNSSnapshotApi.md#get_snapshot_v1) | **GET** /api/dns/v1/snapshots/{domain}/{snapshotId} | Get snapshot
|
|
118
|
-
*DNSSnapshotApi* | [**restore_snapshot_v1**](docs/DNSSnapshotApi.md#restore_snapshot_v1) | **POST** /api/dns/v1/snapshots/{domain}/{snapshotId} | Restore snapshot
|
|
118
|
+
*DNSSnapshotApi* | [**restore_snapshot_v1**](docs/DNSSnapshotApi.md#restore_snapshot_v1) | **POST** /api/dns/v1/snapshots/{domain}/{snapshotId}/restore | Restore snapshot
|
|
119
119
|
*DNSZoneApi* | [**delete_zone_records_v1**](docs/DNSZoneApi.md#delete_zone_records_v1) | **DELETE** /api/dns/v1/zones/{domain} | Delete zone records
|
|
120
120
|
*DNSZoneApi* | [**get_records_v1**](docs/DNSZoneApi.md#get_records_v1) | **GET** /api/dns/v1/zones/{domain} | Get records
|
|
121
121
|
*DNSZoneApi* | [**reset_zone_records_v1**](docs/DNSZoneApi.md#reset_zone_records_v1) | **POST** /api/dns/v1/zones/{domain}/reset | Reset zone records
|
|
122
122
|
*DNSZoneApi* | [**update_zone_records_v1**](docs/DNSZoneApi.md#update_zone_records_v1) | **PUT** /api/dns/v1/zones/{domain} | Update zone records
|
|
123
123
|
*DNSZoneApi* | [**validate_zone_records_v1**](docs/DNSZoneApi.md#validate_zone_records_v1) | **POST** /api/dns/v1/zones/{domain}/validate | Validate zone records
|
|
124
|
+
*DomainsAvailabilityApi* | [**check_domain_availability_v1**](docs/DomainsAvailabilityApi.md#check_domain_availability_v1) | **POST** /api/domains/v1/availability | Check domain availability
|
|
124
125
|
*DomainsPortfolioApi* | [**get_domain_list_v1**](docs/DomainsPortfolioApi.md#get_domain_list_v1) | **GET** /api/domains/v1/portfolio | Get domain list
|
|
125
126
|
*VPSActionsApi* | [**get_action_list_v1**](docs/VPSActionsApi.md#get_action_list_v1) | **GET** /api/vps/v1/virtual-machines/{virtualMachineId}/actions | Get action list
|
|
126
127
|
*VPSActionsApi* | [**get_action_v1**](docs/VPSActionsApi.md#get_action_v1) | **GET** /api/vps/v1/virtual-machines/{virtualMachineId}/actions/{actionId} | Get action
|
|
@@ -203,6 +204,8 @@ Class | Method | HTTP request | Description
|
|
|
203
204
|
- [DNSV1ZoneUpdateRequest](docs/DNSV1ZoneUpdateRequest.md)
|
|
204
205
|
- [DNSV1ZoneUpdateRequestZoneInner](docs/DNSV1ZoneUpdateRequestZoneInner.md)
|
|
205
206
|
- [DNSV1ZoneUpdateRequestZoneInnerRecordsInner](docs/DNSV1ZoneUpdateRequestZoneInnerRecordsInner.md)
|
|
207
|
+
- [DomainsV1AvailabilityAvailabilityRequest](docs/DomainsV1AvailabilityAvailabilityRequest.md)
|
|
208
|
+
- [DomainsV1AvailabilityAvailabilityResource](docs/DomainsV1AvailabilityAvailabilityResource.md)
|
|
206
209
|
- [DomainsV1DomainDomainResource](docs/DomainsV1DomainDomainResource.md)
|
|
207
210
|
- [VPSGetActionListV1200Response](docs/VPSGetActionListV1200Response.md)
|
|
208
211
|
- [VPSGetBackupListV1200Response](docs/VPSGetBackupListV1200Response.md)
|
|
@@ -91,12 +91,13 @@ Class | Method | HTTP request | Description
|
|
|
91
91
|
*BillingSubscriptionsApi* | [**get_subscription_list_v1**](docs/BillingSubscriptionsApi.md#get_subscription_list_v1) | **GET** /api/billing/v1/subscriptions | Get subscription list
|
|
92
92
|
*DNSSnapshotApi* | [**get_snapshot_list_v1**](docs/DNSSnapshotApi.md#get_snapshot_list_v1) | **GET** /api/dns/v1/snapshots/{domain} | Get snapshot list
|
|
93
93
|
*DNSSnapshotApi* | [**get_snapshot_v1**](docs/DNSSnapshotApi.md#get_snapshot_v1) | **GET** /api/dns/v1/snapshots/{domain}/{snapshotId} | Get snapshot
|
|
94
|
-
*DNSSnapshotApi* | [**restore_snapshot_v1**](docs/DNSSnapshotApi.md#restore_snapshot_v1) | **POST** /api/dns/v1/snapshots/{domain}/{snapshotId} | Restore snapshot
|
|
94
|
+
*DNSSnapshotApi* | [**restore_snapshot_v1**](docs/DNSSnapshotApi.md#restore_snapshot_v1) | **POST** /api/dns/v1/snapshots/{domain}/{snapshotId}/restore | Restore snapshot
|
|
95
95
|
*DNSZoneApi* | [**delete_zone_records_v1**](docs/DNSZoneApi.md#delete_zone_records_v1) | **DELETE** /api/dns/v1/zones/{domain} | Delete zone records
|
|
96
96
|
*DNSZoneApi* | [**get_records_v1**](docs/DNSZoneApi.md#get_records_v1) | **GET** /api/dns/v1/zones/{domain} | Get records
|
|
97
97
|
*DNSZoneApi* | [**reset_zone_records_v1**](docs/DNSZoneApi.md#reset_zone_records_v1) | **POST** /api/dns/v1/zones/{domain}/reset | Reset zone records
|
|
98
98
|
*DNSZoneApi* | [**update_zone_records_v1**](docs/DNSZoneApi.md#update_zone_records_v1) | **PUT** /api/dns/v1/zones/{domain} | Update zone records
|
|
99
99
|
*DNSZoneApi* | [**validate_zone_records_v1**](docs/DNSZoneApi.md#validate_zone_records_v1) | **POST** /api/dns/v1/zones/{domain}/validate | Validate zone records
|
|
100
|
+
*DomainsAvailabilityApi* | [**check_domain_availability_v1**](docs/DomainsAvailabilityApi.md#check_domain_availability_v1) | **POST** /api/domains/v1/availability | Check domain availability
|
|
100
101
|
*DomainsPortfolioApi* | [**get_domain_list_v1**](docs/DomainsPortfolioApi.md#get_domain_list_v1) | **GET** /api/domains/v1/portfolio | Get domain list
|
|
101
102
|
*VPSActionsApi* | [**get_action_list_v1**](docs/VPSActionsApi.md#get_action_list_v1) | **GET** /api/vps/v1/virtual-machines/{virtualMachineId}/actions | Get action list
|
|
102
103
|
*VPSActionsApi* | [**get_action_v1**](docs/VPSActionsApi.md#get_action_v1) | **GET** /api/vps/v1/virtual-machines/{virtualMachineId}/actions/{actionId} | Get action
|
|
@@ -179,6 +180,8 @@ Class | Method | HTTP request | Description
|
|
|
179
180
|
- [DNSV1ZoneUpdateRequest](docs/DNSV1ZoneUpdateRequest.md)
|
|
180
181
|
- [DNSV1ZoneUpdateRequestZoneInner](docs/DNSV1ZoneUpdateRequestZoneInner.md)
|
|
181
182
|
- [DNSV1ZoneUpdateRequestZoneInnerRecordsInner](docs/DNSV1ZoneUpdateRequestZoneInnerRecordsInner.md)
|
|
183
|
+
- [DomainsV1AvailabilityAvailabilityRequest](docs/DomainsV1AvailabilityAvailabilityRequest.md)
|
|
184
|
+
- [DomainsV1AvailabilityAvailabilityResource](docs/DomainsV1AvailabilityAvailabilityResource.md)
|
|
182
185
|
- [DomainsV1DomainDomainResource](docs/DomainsV1DomainDomainResource.md)
|
|
183
186
|
- [VPSGetActionListV1200Response](docs/VPSGetActionListV1200Response.md)
|
|
184
187
|
- [VPSGetBackupListV1200Response](docs/VPSGetBackupListV1200Response.md)
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
"""
|
|
6
6
|
Hostinger API Python SDK
|
|
7
7
|
|
|
8
|
-
API Version: 0.0.
|
|
8
|
+
API Version: 0.0.25
|
|
9
9
|
|
|
10
10
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
11
11
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
__version__ = "0.0.
|
|
15
|
+
__version__ = "0.0.11"
|
|
16
16
|
|
|
17
17
|
# import apis into sdk package
|
|
18
18
|
from hostinger_api.api.billing_catalog_api import BillingCatalogApi
|
|
@@ -21,6 +21,7 @@ from hostinger_api.api.billing_payment_methods_api import BillingPaymentMethodsA
|
|
|
21
21
|
from hostinger_api.api.billing_subscriptions_api import BillingSubscriptionsApi
|
|
22
22
|
from hostinger_api.api.dns_snapshot_api import DNSSnapshotApi
|
|
23
23
|
from hostinger_api.api.dns_zone_api import DNSZoneApi
|
|
24
|
+
from hostinger_api.api.domains_availability_api import DomainsAvailabilityApi
|
|
24
25
|
from hostinger_api.api.domains_portfolio_api import DomainsPortfolioApi
|
|
25
26
|
from hostinger_api.api.vps_actions_api import VPSActionsApi
|
|
26
27
|
from hostinger_api.api.vps_backups_api import VPSBackupsApi
|
|
@@ -72,6 +73,8 @@ from hostinger_api.models.dnsv1_zone_reset_request import DNSV1ZoneResetRequest
|
|
|
72
73
|
from hostinger_api.models.dnsv1_zone_update_request import DNSV1ZoneUpdateRequest
|
|
73
74
|
from hostinger_api.models.dnsv1_zone_update_request_zone_inner import DNSV1ZoneUpdateRequestZoneInner
|
|
74
75
|
from hostinger_api.models.dnsv1_zone_update_request_zone_inner_records_inner import DNSV1ZoneUpdateRequestZoneInnerRecordsInner
|
|
76
|
+
from hostinger_api.models.domains_v1_availability_availability_request import DomainsV1AvailabilityAvailabilityRequest
|
|
77
|
+
from hostinger_api.models.domains_v1_availability_availability_resource import DomainsV1AvailabilityAvailabilityResource
|
|
75
78
|
from hostinger_api.models.domains_v1_domain_domain_resource import DomainsV1DomainDomainResource
|
|
76
79
|
from hostinger_api.models.vps_get_action_list_v1200_response import VPSGetActionListV1200Response
|
|
77
80
|
from hostinger_api.models.vps_get_backup_list_v1200_response import VPSGetBackupListV1200Response
|
|
@@ -7,6 +7,7 @@ from hostinger_api.api.billing_payment_methods_api import BillingPaymentMethodsA
|
|
|
7
7
|
from hostinger_api.api.billing_subscriptions_api import BillingSubscriptionsApi
|
|
8
8
|
from hostinger_api.api.dns_snapshot_api import DNSSnapshotApi
|
|
9
9
|
from hostinger_api.api.dns_zone_api import DNSZoneApi
|
|
10
|
+
from hostinger_api.api.domains_availability_api import DomainsAvailabilityApi
|
|
10
11
|
from hostinger_api.api.domains_portfolio_api import DomainsPortfolioApi
|
|
11
12
|
from hostinger_api.api.vps_actions_api import VPSActionsApi
|
|
12
13
|
from hostinger_api.api.vps_backups_api import VPSBackupsApi
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.25
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.25
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -49,7 +49,7 @@ class BillingOrdersApi:
|
|
|
49
49
|
) -> BillingV1OrderOrderResource:
|
|
50
50
|
"""Create new service order
|
|
51
51
|
|
|
52
|
-
This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for
|
|
52
|
+
This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
|
|
53
53
|
|
|
54
54
|
:param billing_v1_order_store_request: (required)
|
|
55
55
|
:type billing_v1_order_store_request: BillingV1OrderStoreRequest
|
|
@@ -119,7 +119,7 @@ class BillingOrdersApi:
|
|
|
119
119
|
) -> ApiResponse[BillingV1OrderOrderResource]:
|
|
120
120
|
"""Create new service order
|
|
121
121
|
|
|
122
|
-
This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for
|
|
122
|
+
This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
|
|
123
123
|
|
|
124
124
|
:param billing_v1_order_store_request: (required)
|
|
125
125
|
:type billing_v1_order_store_request: BillingV1OrderStoreRequest
|
|
@@ -189,7 +189,7 @@ class BillingOrdersApi:
|
|
|
189
189
|
) -> RESTResponseType:
|
|
190
190
|
"""Create new service order
|
|
191
191
|
|
|
192
|
-
This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for
|
|
192
|
+
This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
|
|
193
193
|
|
|
194
194
|
:param billing_v1_order_store_request: (required)
|
|
195
195
|
:type billing_v1_order_store_request: BillingV1OrderStoreRequest
|
{hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/billing_payment_methods_api.py
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.25
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.25
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.25
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -849,7 +849,7 @@ class DNSSnapshotApi:
|
|
|
849
849
|
|
|
850
850
|
return self.api_client.param_serialize(
|
|
851
851
|
method='POST',
|
|
852
|
-
resource_path='/api/dns/v1/snapshots/{domain}/{snapshotId}',
|
|
852
|
+
resource_path='/api/dns/v1/snapshots/{domain}/{snapshotId}/restore',
|
|
853
853
|
path_params=_path_params,
|
|
854
854
|
query_params=_query_params,
|
|
855
855
|
header_params=_header_params,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.25
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -56,7 +56,7 @@ class DNSZoneApi:
|
|
|
56
56
|
) -> CommonSuccessEmptyResource:
|
|
57
57
|
"""Delete zone records
|
|
58
58
|
|
|
59
|
-
This endpoint deletes
|
|
59
|
+
This endpoint deletes DNS records for the selected domain. To filter which records to delete, add the `name` of the record and `type` to the filter. Multiple filters can be provided with single request. If you have multiple records with the same name and type, and you want to delete only part of them, refer to the `Update zone records` endpoint.
|
|
60
60
|
|
|
61
61
|
:param domain: Domain name (required)
|
|
62
62
|
:type domain: str
|
|
@@ -130,7 +130,7 @@ class DNSZoneApi:
|
|
|
130
130
|
) -> ApiResponse[CommonSuccessEmptyResource]:
|
|
131
131
|
"""Delete zone records
|
|
132
132
|
|
|
133
|
-
This endpoint deletes
|
|
133
|
+
This endpoint deletes DNS records for the selected domain. To filter which records to delete, add the `name` of the record and `type` to the filter. Multiple filters can be provided with single request. If you have multiple records with the same name and type, and you want to delete only part of them, refer to the `Update zone records` endpoint.
|
|
134
134
|
|
|
135
135
|
:param domain: Domain name (required)
|
|
136
136
|
:type domain: str
|
|
@@ -204,7 +204,7 @@ class DNSZoneApi:
|
|
|
204
204
|
) -> RESTResponseType:
|
|
205
205
|
"""Delete zone records
|
|
206
206
|
|
|
207
|
-
This endpoint deletes
|
|
207
|
+
This endpoint deletes DNS records for the selected domain. To filter which records to delete, add the `name` of the record and `type` to the filter. Multiple filters can be provided with single request. If you have multiple records with the same name and type, and you want to delete only part of them, refer to the `Update zone records` endpoint.
|
|
208
208
|
|
|
209
209
|
:param domain: Domain name (required)
|
|
210
210
|
:type domain: str
|
|
@@ -919,7 +919,7 @@ class DNSZoneApi:
|
|
|
919
919
|
) -> CommonSuccessEmptyResource:
|
|
920
920
|
"""Update zone records
|
|
921
921
|
|
|
922
|
-
This endpoint updates DNS records for the selected domain.
|
|
922
|
+
This endpoint updates DNS records for the selected domain. Using `overwrite = true` will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added.
|
|
923
923
|
|
|
924
924
|
:param domain: Domain name (required)
|
|
925
925
|
:type domain: str
|
|
@@ -993,7 +993,7 @@ class DNSZoneApi:
|
|
|
993
993
|
) -> ApiResponse[CommonSuccessEmptyResource]:
|
|
994
994
|
"""Update zone records
|
|
995
995
|
|
|
996
|
-
This endpoint updates DNS records for the selected domain.
|
|
996
|
+
This endpoint updates DNS records for the selected domain. Using `overwrite = true` will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added.
|
|
997
997
|
|
|
998
998
|
:param domain: Domain name (required)
|
|
999
999
|
:type domain: str
|
|
@@ -1067,7 +1067,7 @@ class DNSZoneApi:
|
|
|
1067
1067
|
) -> RESTResponseType:
|
|
1068
1068
|
"""Update zone records
|
|
1069
1069
|
|
|
1070
|
-
This endpoint updates DNS records for the selected domain.
|
|
1070
|
+
This endpoint updates DNS records for the selected domain. Using `overwrite = true` will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added.
|
|
1071
1071
|
|
|
1072
1072
|
:param domain: Domain name (required)
|
|
1073
1073
|
:type domain: str
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Hostinger API Python SDK
|
|
5
|
+
|
|
6
|
+
API Version: 0.0.25
|
|
7
|
+
|
|
8
|
+
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
|
+
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
10
|
+
""" # noqa: E501
|
|
11
|
+
|
|
12
|
+
import warnings
|
|
13
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
14
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
15
|
+
from typing_extensions import Annotated
|
|
16
|
+
|
|
17
|
+
from typing import List
|
|
18
|
+
from hostinger_api.models.domains_v1_availability_availability_request import DomainsV1AvailabilityAvailabilityRequest
|
|
19
|
+
from hostinger_api.models.domains_v1_availability_availability_resource import DomainsV1AvailabilityAvailabilityResource
|
|
20
|
+
|
|
21
|
+
from hostinger_api.api_client import ApiClient, RequestSerialized
|
|
22
|
+
from hostinger_api.api_response import ApiResponse
|
|
23
|
+
from hostinger_api.rest import RESTResponseType
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class DomainsAvailabilityApi:
|
|
27
|
+
|
|
28
|
+
def __init__(self, api_client=None) -> None:
|
|
29
|
+
if api_client is None:
|
|
30
|
+
api_client = ApiClient.get_default()
|
|
31
|
+
self.api_client = api_client
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
@validate_call
|
|
35
|
+
def check_domain_availability_v1(
|
|
36
|
+
self,
|
|
37
|
+
domains_v1_availability_availability_request: DomainsV1AvailabilityAvailabilityRequest,
|
|
38
|
+
_request_timeout: Union[
|
|
39
|
+
None,
|
|
40
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
41
|
+
Tuple[
|
|
42
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
43
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
44
|
+
]
|
|
45
|
+
] = None,
|
|
46
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
47
|
+
_content_type: Optional[StrictStr] = None,
|
|
48
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
49
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
50
|
+
) -> List[DomainsV1AvailabilityAvailabilityResource]:
|
|
51
|
+
"""Check domain availability
|
|
52
|
+
|
|
53
|
+
This endpoint checks the availability of a domain name. Multiple TLDs can be checked at once. Endpoint has rate limit of 10 requests per minute.
|
|
54
|
+
|
|
55
|
+
:param domains_v1_availability_availability_request: (required)
|
|
56
|
+
:type domains_v1_availability_availability_request: DomainsV1AvailabilityAvailabilityRequest
|
|
57
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
58
|
+
number provided, it will be total request
|
|
59
|
+
timeout. It can also be a pair (tuple) of
|
|
60
|
+
(connection, read) timeouts.
|
|
61
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
62
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
63
|
+
request; this effectively ignores the
|
|
64
|
+
authentication in the spec for a single request.
|
|
65
|
+
:type _request_auth: dict, optional
|
|
66
|
+
:param _content_type: force content-type for the request.
|
|
67
|
+
:type _content_type: str, Optional
|
|
68
|
+
:param _headers: set to override the headers for a single
|
|
69
|
+
request; this effectively ignores the headers
|
|
70
|
+
in the spec for a single request.
|
|
71
|
+
:type _headers: dict, optional
|
|
72
|
+
:param _host_index: set to override the host_index for a single
|
|
73
|
+
request; this effectively ignores the host_index
|
|
74
|
+
in the spec for a single request.
|
|
75
|
+
:type _host_index: int, optional
|
|
76
|
+
:return: Returns the result object.
|
|
77
|
+
""" # noqa: E501
|
|
78
|
+
|
|
79
|
+
_param = self._check_domain_availability_v1_serialize(
|
|
80
|
+
domains_v1_availability_availability_request=domains_v1_availability_availability_request,
|
|
81
|
+
_request_auth=_request_auth,
|
|
82
|
+
_content_type=_content_type,
|
|
83
|
+
_headers=_headers,
|
|
84
|
+
_host_index=_host_index
|
|
85
|
+
)
|
|
86
|
+
|
|
87
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
88
|
+
'200': "List[DomainsV1AvailabilityAvailabilityResource]",
|
|
89
|
+
'422': "CommonSchemaUnprocessableContentResponseSchema",
|
|
90
|
+
'401': "CommonSchemaUnauthorizedResponseSchema",
|
|
91
|
+
'500': "CommonSchemaErrorResponseSchema",
|
|
92
|
+
}
|
|
93
|
+
response_data = self.api_client.call_api(
|
|
94
|
+
*_param,
|
|
95
|
+
_request_timeout=_request_timeout
|
|
96
|
+
)
|
|
97
|
+
response_data.read()
|
|
98
|
+
return self.api_client.response_deserialize(
|
|
99
|
+
response_data=response_data,
|
|
100
|
+
response_types_map=_response_types_map,
|
|
101
|
+
).data
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
@validate_call
|
|
105
|
+
def check_domain_availability_v1_with_http_info(
|
|
106
|
+
self,
|
|
107
|
+
domains_v1_availability_availability_request: DomainsV1AvailabilityAvailabilityRequest,
|
|
108
|
+
_request_timeout: Union[
|
|
109
|
+
None,
|
|
110
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
111
|
+
Tuple[
|
|
112
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
113
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
114
|
+
]
|
|
115
|
+
] = None,
|
|
116
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
117
|
+
_content_type: Optional[StrictStr] = None,
|
|
118
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
119
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
120
|
+
) -> ApiResponse[List[DomainsV1AvailabilityAvailabilityResource]]:
|
|
121
|
+
"""Check domain availability
|
|
122
|
+
|
|
123
|
+
This endpoint checks the availability of a domain name. Multiple TLDs can be checked at once. Endpoint has rate limit of 10 requests per minute.
|
|
124
|
+
|
|
125
|
+
:param domains_v1_availability_availability_request: (required)
|
|
126
|
+
:type domains_v1_availability_availability_request: DomainsV1AvailabilityAvailabilityRequest
|
|
127
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
128
|
+
number provided, it will be total request
|
|
129
|
+
timeout. It can also be a pair (tuple) of
|
|
130
|
+
(connection, read) timeouts.
|
|
131
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
132
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
133
|
+
request; this effectively ignores the
|
|
134
|
+
authentication in the spec for a single request.
|
|
135
|
+
:type _request_auth: dict, optional
|
|
136
|
+
:param _content_type: force content-type for the request.
|
|
137
|
+
:type _content_type: str, Optional
|
|
138
|
+
:param _headers: set to override the headers for a single
|
|
139
|
+
request; this effectively ignores the headers
|
|
140
|
+
in the spec for a single request.
|
|
141
|
+
:type _headers: dict, optional
|
|
142
|
+
:param _host_index: set to override the host_index for a single
|
|
143
|
+
request; this effectively ignores the host_index
|
|
144
|
+
in the spec for a single request.
|
|
145
|
+
:type _host_index: int, optional
|
|
146
|
+
:return: Returns the result object.
|
|
147
|
+
""" # noqa: E501
|
|
148
|
+
|
|
149
|
+
_param = self._check_domain_availability_v1_serialize(
|
|
150
|
+
domains_v1_availability_availability_request=domains_v1_availability_availability_request,
|
|
151
|
+
_request_auth=_request_auth,
|
|
152
|
+
_content_type=_content_type,
|
|
153
|
+
_headers=_headers,
|
|
154
|
+
_host_index=_host_index
|
|
155
|
+
)
|
|
156
|
+
|
|
157
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
158
|
+
'200': "List[DomainsV1AvailabilityAvailabilityResource]",
|
|
159
|
+
'422': "CommonSchemaUnprocessableContentResponseSchema",
|
|
160
|
+
'401': "CommonSchemaUnauthorizedResponseSchema",
|
|
161
|
+
'500': "CommonSchemaErrorResponseSchema",
|
|
162
|
+
}
|
|
163
|
+
response_data = self.api_client.call_api(
|
|
164
|
+
*_param,
|
|
165
|
+
_request_timeout=_request_timeout
|
|
166
|
+
)
|
|
167
|
+
response_data.read()
|
|
168
|
+
return self.api_client.response_deserialize(
|
|
169
|
+
response_data=response_data,
|
|
170
|
+
response_types_map=_response_types_map,
|
|
171
|
+
)
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
@validate_call
|
|
175
|
+
def check_domain_availability_v1_without_preload_content(
|
|
176
|
+
self,
|
|
177
|
+
domains_v1_availability_availability_request: DomainsV1AvailabilityAvailabilityRequest,
|
|
178
|
+
_request_timeout: Union[
|
|
179
|
+
None,
|
|
180
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
181
|
+
Tuple[
|
|
182
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
183
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
184
|
+
]
|
|
185
|
+
] = None,
|
|
186
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
187
|
+
_content_type: Optional[StrictStr] = None,
|
|
188
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
189
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
190
|
+
) -> RESTResponseType:
|
|
191
|
+
"""Check domain availability
|
|
192
|
+
|
|
193
|
+
This endpoint checks the availability of a domain name. Multiple TLDs can be checked at once. Endpoint has rate limit of 10 requests per minute.
|
|
194
|
+
|
|
195
|
+
:param domains_v1_availability_availability_request: (required)
|
|
196
|
+
:type domains_v1_availability_availability_request: DomainsV1AvailabilityAvailabilityRequest
|
|
197
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
198
|
+
number provided, it will be total request
|
|
199
|
+
timeout. It can also be a pair (tuple) of
|
|
200
|
+
(connection, read) timeouts.
|
|
201
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
202
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
203
|
+
request; this effectively ignores the
|
|
204
|
+
authentication in the spec for a single request.
|
|
205
|
+
:type _request_auth: dict, optional
|
|
206
|
+
:param _content_type: force content-type for the request.
|
|
207
|
+
:type _content_type: str, Optional
|
|
208
|
+
:param _headers: set to override the headers for a single
|
|
209
|
+
request; this effectively ignores the headers
|
|
210
|
+
in the spec for a single request.
|
|
211
|
+
:type _headers: dict, optional
|
|
212
|
+
:param _host_index: set to override the host_index for a single
|
|
213
|
+
request; this effectively ignores the host_index
|
|
214
|
+
in the spec for a single request.
|
|
215
|
+
:type _host_index: int, optional
|
|
216
|
+
:return: Returns the result object.
|
|
217
|
+
""" # noqa: E501
|
|
218
|
+
|
|
219
|
+
_param = self._check_domain_availability_v1_serialize(
|
|
220
|
+
domains_v1_availability_availability_request=domains_v1_availability_availability_request,
|
|
221
|
+
_request_auth=_request_auth,
|
|
222
|
+
_content_type=_content_type,
|
|
223
|
+
_headers=_headers,
|
|
224
|
+
_host_index=_host_index
|
|
225
|
+
)
|
|
226
|
+
|
|
227
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
228
|
+
'200': "List[DomainsV1AvailabilityAvailabilityResource]",
|
|
229
|
+
'422': "CommonSchemaUnprocessableContentResponseSchema",
|
|
230
|
+
'401': "CommonSchemaUnauthorizedResponseSchema",
|
|
231
|
+
'500': "CommonSchemaErrorResponseSchema",
|
|
232
|
+
}
|
|
233
|
+
response_data = self.api_client.call_api(
|
|
234
|
+
*_param,
|
|
235
|
+
_request_timeout=_request_timeout
|
|
236
|
+
)
|
|
237
|
+
return response_data.response
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
def _check_domain_availability_v1_serialize(
|
|
241
|
+
self,
|
|
242
|
+
domains_v1_availability_availability_request,
|
|
243
|
+
_request_auth,
|
|
244
|
+
_content_type,
|
|
245
|
+
_headers,
|
|
246
|
+
_host_index,
|
|
247
|
+
) -> RequestSerialized:
|
|
248
|
+
|
|
249
|
+
_host = None
|
|
250
|
+
|
|
251
|
+
_collection_formats: Dict[str, str] = {
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
_path_params: Dict[str, str] = {}
|
|
255
|
+
_query_params: List[Tuple[str, str]] = []
|
|
256
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
257
|
+
_form_params: List[Tuple[str, str]] = []
|
|
258
|
+
_files: Dict[
|
|
259
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
260
|
+
] = {}
|
|
261
|
+
_body_params: Optional[bytes] = None
|
|
262
|
+
|
|
263
|
+
# process the path parameters
|
|
264
|
+
# process the query parameters
|
|
265
|
+
# process the header parameters
|
|
266
|
+
# process the form parameters
|
|
267
|
+
# process the body parameter
|
|
268
|
+
if domains_v1_availability_availability_request is not None:
|
|
269
|
+
_body_params = domains_v1_availability_availability_request
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
# set the HTTP header `Accept`
|
|
273
|
+
if 'Accept' not in _header_params:
|
|
274
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
275
|
+
[
|
|
276
|
+
'application/json'
|
|
277
|
+
]
|
|
278
|
+
)
|
|
279
|
+
|
|
280
|
+
# set the HTTP header `Content-Type`
|
|
281
|
+
if _content_type:
|
|
282
|
+
_header_params['Content-Type'] = _content_type
|
|
283
|
+
else:
|
|
284
|
+
_default_content_type = (
|
|
285
|
+
self.api_client.select_header_content_type(
|
|
286
|
+
[
|
|
287
|
+
'application/json'
|
|
288
|
+
]
|
|
289
|
+
)
|
|
290
|
+
)
|
|
291
|
+
if _default_content_type is not None:
|
|
292
|
+
_header_params['Content-Type'] = _default_content_type
|
|
293
|
+
|
|
294
|
+
# authentication setting
|
|
295
|
+
_auth_settings: List[str] = [
|
|
296
|
+
'apiToken'
|
|
297
|
+
]
|
|
298
|
+
|
|
299
|
+
return self.api_client.param_serialize(
|
|
300
|
+
method='POST',
|
|
301
|
+
resource_path='/api/domains/v1/availability',
|
|
302
|
+
path_params=_path_params,
|
|
303
|
+
query_params=_query_params,
|
|
304
|
+
header_params=_header_params,
|
|
305
|
+
body=_body_params,
|
|
306
|
+
post_params=_form_params,
|
|
307
|
+
files=_files,
|
|
308
|
+
auth_settings=_auth_settings,
|
|
309
|
+
collection_formats=_collection_formats,
|
|
310
|
+
_host=_host,
|
|
311
|
+
_request_auth=_request_auth
|
|
312
|
+
)
|
|
313
|
+
|
|
314
|
+
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.25
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.25
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.25
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.25
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.25
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.25
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
{hostinger_api-0.0.8 → hostinger_api-0.0.11}/hostinger_api/api/vps_post_install_scripts_api.py
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.25
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.25
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|