Skip to content

Commit 396a6dd

Browse files
committed
Updated: 2025-10-08
1 parent a11a683 commit 396a6dd

44 files changed

Lines changed: 2791 additions & 223 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openapi-generator/FILES

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ docs/CreateMultipleDomainMailboxes201Response.md
108108
docs/CreateMultipleDomainMailboxesRequest.md
109109
docs/CreateNetworkDrive.md
110110
docs/CreateNetworkDrive201Response.md
111+
docs/CreatePayment.md
111112
docs/CreateProject.md
112113
docs/CreateProject201Response.md
113114
docs/CreateRule.md
@@ -232,6 +233,7 @@ docs/GetFinances200Response.md
232233
docs/GetFloatingIps200Response.md
233234
docs/GetKey200Response.md
234235
docs/GetKeys200Response.md
236+
docs/GetLinkCardPayment200Response.md
235237
docs/GetLocations200Response.md
236238
docs/GetMailQuota200Response.md
237239
docs/GetMailboxes200Response.md
@@ -256,6 +258,8 @@ docs/GetServerStatistics200Response.md
256258
docs/GetServerStatisticsNew200Response.md
257259
docs/GetServers200Response.md
258260
docs/GetServersPresets200Response.md
261+
docs/GetServicePrices200Response.md
262+
docs/GetServicePrices200ResponseMeta.md
259263
docs/GetSoftware200Response.md
260264
docs/GetStorageSubdomains200Response.md
261265
docs/GetStorageTransferStatus200Response.md
@@ -280,6 +284,7 @@ docs/ImageUrlIn.md
280284
docs/ImagesApi.md
281285
docs/ImagesOutResponse.md
282286
docs/IncreaseNodes.md
287+
docs/InfoServicePrice.md
283288
docs/Invoice.md
284289
docs/K8SVersionsResponse.md
285290
docs/KubernetesApi.md
@@ -316,6 +321,8 @@ docs/NotificationSettingChannel.md
316321
docs/NotificationSettingChannels.md
317322
docs/NotificationSettingType.md
318323
docs/OS.md
324+
docs/PaymentType.md
325+
docs/PaymentsApi.md
319326
docs/PerformActionOnBackupRequest.md
320327
docs/PerformActionOnServerRequest.md
321328
docs/Policy.md
@@ -368,6 +375,11 @@ docs/ServersSoftware.md
368375
docs/ServersSoftwareRequirements.md
369376
docs/ServersStatistics.md
370377
docs/ServersStatisticsMeta.md
378+
docs/ServiceCostType.md
379+
docs/ServicePrice.md
380+
docs/ServicePriceConfiguration.md
381+
docs/ServicePriceType.md
382+
docs/ServiceServicePrice.md
371383
docs/SetLabels.md
372384
docs/SettingCondition.md
373385
docs/SpamFilterIsDisabled.md
@@ -539,6 +551,7 @@ test/test_create_multiple_domain_mailboxes201_response.py
539551
test/test_create_multiple_domain_mailboxes_request.py
540552
test/test_create_network_drive.py
541553
test/test_create_network_drive201_response.py
554+
test/test_create_payment.py
542555
test/test_create_project.py
543556
test/test_create_project201_response.py
544557
test/test_create_rule.py
@@ -663,6 +676,7 @@ test/test_get_finances200_response.py
663676
test/test_get_floating_ips200_response.py
664677
test/test_get_key200_response.py
665678
test/test_get_keys200_response.py
679+
test/test_get_link_card_payment200_response.py
666680
test/test_get_locations200_response.py
667681
test/test_get_mail_quota200_response.py
668682
test/test_get_mailboxes200_response.py
@@ -687,6 +701,8 @@ test/test_get_server_statistics200_response.py
687701
test/test_get_server_statistics_new200_response.py
688702
test/test_get_servers200_response.py
689703
test/test_get_servers_presets200_response.py
704+
test/test_get_service_prices200_response.py
705+
test/test_get_service_prices200_response_meta.py
690706
test/test_get_software200_response.py
691707
test/test_get_storage_subdomains200_response.py
692708
test/test_get_storage_transfer_status200_response.py
@@ -711,6 +727,7 @@ test/test_image_url_in.py
711727
test/test_images_api.py
712728
test/test_images_out_response.py
713729
test/test_increase_nodes.py
730+
test/test_info_service_price.py
714731
test/test_invoice.py
715732
test/test_k8_s_versions_response.py
716733
test/test_kubernetes_api.py
@@ -747,6 +764,8 @@ test/test_notification_setting_channel.py
747764
test/test_notification_setting_channels.py
748765
test/test_notification_setting_type.py
749766
test/test_os.py
767+
test/test_payment_type.py
768+
test/test_payments_api.py
750769
test/test_perform_action_on_backup_request.py
751770
test/test_perform_action_on_server_request.py
752771
test/test_policy.py
@@ -798,6 +817,11 @@ test/test_servers_software.py
798817
test/test_servers_software_requirements.py
799818
test/test_servers_statistics.py
800819
test/test_servers_statistics_meta.py
820+
test/test_service_cost_type.py
821+
test/test_service_price.py
822+
test/test_service_price_configuration.py
823+
test/test_service_price_type.py
824+
test/test_service_service_price.py
801825
test/test_set_labels.py
802826
test/test_setting_condition.py
803827
test/test_spam_filter_is_disabled.py
@@ -876,6 +900,7 @@ timeweb_cloud_api/api/kubernetes_api.py
876900
timeweb_cloud_api/api/locations_api.py
877901
timeweb_cloud_api/api/mail_api.py
878902
timeweb_cloud_api/api/network_drives_api.py
903+
timeweb_cloud_api/api/payments_api.py
879904
timeweb_cloud_api/api/projects_api.py
880905
timeweb_cloud_api/api/s3_api.py
881906
timeweb_cloud_api/api/servers_api.py
@@ -985,6 +1010,7 @@ timeweb_cloud_api/models/create_multiple_domain_mailboxes201_response.py
9851010
timeweb_cloud_api/models/create_multiple_domain_mailboxes_request.py
9861011
timeweb_cloud_api/models/create_network_drive.py
9871012
timeweb_cloud_api/models/create_network_drive201_response.py
1013+
timeweb_cloud_api/models/create_payment.py
9881014
timeweb_cloud_api/models/create_project.py
9891015
timeweb_cloud_api/models/create_project201_response.py
9901016
timeweb_cloud_api/models/create_rule.py
@@ -1104,6 +1130,7 @@ timeweb_cloud_api/models/get_finances200_response.py
11041130
timeweb_cloud_api/models/get_floating_ips200_response.py
11051131
timeweb_cloud_api/models/get_key200_response.py
11061132
timeweb_cloud_api/models/get_keys200_response.py
1133+
timeweb_cloud_api/models/get_link_card_payment200_response.py
11071134
timeweb_cloud_api/models/get_locations200_response.py
11081135
timeweb_cloud_api/models/get_mail_quota200_response.py
11091136
timeweb_cloud_api/models/get_mailboxes200_response.py
@@ -1128,6 +1155,8 @@ timeweb_cloud_api/models/get_server_statistics200_response.py
11281155
timeweb_cloud_api/models/get_server_statistics_new200_response.py
11291156
timeweb_cloud_api/models/get_servers200_response.py
11301157
timeweb_cloud_api/models/get_servers_presets200_response.py
1158+
timeweb_cloud_api/models/get_service_prices200_response.py
1159+
timeweb_cloud_api/models/get_service_prices200_response_meta.py
11311160
timeweb_cloud_api/models/get_software200_response.py
11321161
timeweb_cloud_api/models/get_storage_subdomains200_response.py
11331162
timeweb_cloud_api/models/get_storage_transfer_status200_response.py
@@ -1151,6 +1180,7 @@ timeweb_cloud_api/models/image_url_auth.py
11511180
timeweb_cloud_api/models/image_url_in.py
11521181
timeweb_cloud_api/models/images_out_response.py
11531182
timeweb_cloud_api/models/increase_nodes.py
1183+
timeweb_cloud_api/models/info_service_price.py
11541184
timeweb_cloud_api/models/invoice.py
11551185
timeweb_cloud_api/models/k8_s_versions_response.py
11561186
timeweb_cloud_api/models/location.py
@@ -1183,6 +1213,7 @@ timeweb_cloud_api/models/notification_setting_channel.py
11831213
timeweb_cloud_api/models/notification_setting_channels.py
11841214
timeweb_cloud_api/models/notification_setting_type.py
11851215
timeweb_cloud_api/models/os.py
1216+
timeweb_cloud_api/models/payment_type.py
11861217
timeweb_cloud_api/models/perform_action_on_backup_request.py
11871218
timeweb_cloud_api/models/perform_action_on_server_request.py
11881219
timeweb_cloud_api/models/policy.py
@@ -1231,6 +1262,11 @@ timeweb_cloud_api/models/servers_software.py
12311262
timeweb_cloud_api/models/servers_software_requirements.py
12321263
timeweb_cloud_api/models/servers_statistics.py
12331264
timeweb_cloud_api/models/servers_statistics_meta.py
1265+
timeweb_cloud_api/models/service_cost_type.py
1266+
timeweb_cloud_api/models/service_price.py
1267+
timeweb_cloud_api/models/service_price_configuration.py
1268+
timeweb_cloud_api/models/service_price_type.py
1269+
timeweb_cloud_api/models/service_service_price.py
12341270
timeweb_cloud_api/models/set_labels.py
12351271
timeweb_cloud_api/models/setting_condition.py
12361272
timeweb_cloud_api/models/spam_filter_is_disabled.py

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ Class | Method | HTTP request | Description
252252
*AccountApi* | [**get_account_status**](docs/AccountApi.md#get_account_status) | **GET** /api/v1/account/status | Получение статуса аккаунта
253253
*AccountApi* | [**get_auth_access_settings**](docs/AccountApi.md#get_auth_access_settings) | **GET** /api/v1/auth/access | Получить информацию о ограничениях авторизации пользователя
254254
*AccountApi* | [**get_countries**](docs/AccountApi.md#get_countries) | **GET** /api/v1/auth/access/countries | Получение списка стран
255-
*AccountApi* | [**get_finances**](docs/AccountApi.md#get_finances) | **GET** /api/v1/account/finances | Получение платежной информации
256255
*AccountApi* | [**get_notification_settings**](docs/AccountApi.md#get_notification_settings) | **GET** /api/v1/account/notification-settings | Получение настроек уведомлений аккаунта
257256
*AccountApi* | [**update_auth_restrictions_by_countries**](docs/AccountApi.md#update_auth_restrictions_by_countries) | **POST** /api/v1/auth/access/countries/enabled | Включение/отключение ограничений по стране
258257
*AccountApi* | [**update_auth_restrictions_by_ip**](docs/AccountApi.md#update_auth_restrictions_by_ip) | **POST** /api/v1/auth/access/ips/enabled | Включение/отключение ограничений по IP-адресу
@@ -428,6 +427,9 @@ Class | Method | HTTP request | Description
428427
*NetworkDrivesApi* | [**mount_network_drive**](docs/NetworkDrivesApi.md#mount_network_drive) | **POST** /api/v1/network-drives/{network_drive_id}/mount | Подключить сетевой диск к сервису
429428
*NetworkDrivesApi* | [**unmount_network_drive**](docs/NetworkDrivesApi.md#unmount_network_drive) | **POST** /api/v1/network-drives/{network_drive_id}/unmount | Отключить сетевой диск от сервиса
430429
*NetworkDrivesApi* | [**update_network_drive**](docs/NetworkDrivesApi.md#update_network_drive) | **PATCH** /api/v1/network-drives/{network_drive_id} | Изменение сетевого диска по ID
430+
*PaymentsApi* | [**get_finances**](docs/PaymentsApi.md#get_finances) | **GET** /api/v1/account/finances | Получение платежной информации
431+
*PaymentsApi* | [**get_link_card_payment**](docs/PaymentsApi.md#get_link_card_payment) | **POST** /api/v1/account/payment-link | Получение ссылки на оплату
432+
*PaymentsApi* | [**get_service_prices**](docs/PaymentsApi.md#get_service_prices) | **GET** /api/v1/account/services/cost | Получение стоимости сервисов
431433
*ProjectsApi* | [**add_balancer_to_project**](docs/ProjectsApi.md#add_balancer_to_project) | **POST** /api/v1/projects/{project_id}/resources/balancers | Добавление балансировщика в проект
432434
*ProjectsApi* | [**add_cluster_to_project**](docs/ProjectsApi.md#add_cluster_to_project) | **POST** /api/v1/projects/{project_id}/resources/clusters | Добавление кластера в проект
433435
*ProjectsApi* | [**add_database_to_project**](docs/ProjectsApi.md#add_database_to_project) | **POST** /api/v1/projects/{project_id}/resources/databases | Добавление базы данных в проект
@@ -622,6 +624,7 @@ Class | Method | HTTP request | Description
622624
- [CreateMultipleDomainMailboxesRequest](docs/CreateMultipleDomainMailboxesRequest.md)
623625
- [CreateNetworkDrive](docs/CreateNetworkDrive.md)
624626
- [CreateNetworkDrive201Response](docs/CreateNetworkDrive201Response.md)
627+
- [CreatePayment](docs/CreatePayment.md)
625628
- [CreateProject](docs/CreateProject.md)
626629
- [CreateProject201Response](docs/CreateProject201Response.md)
627630
- [CreateRule](docs/CreateRule.md)
@@ -741,6 +744,7 @@ Class | Method | HTTP request | Description
741744
- [GetFloatingIps200Response](docs/GetFloatingIps200Response.md)
742745
- [GetKey200Response](docs/GetKey200Response.md)
743746
- [GetKeys200Response](docs/GetKeys200Response.md)
747+
- [GetLinkCardPayment200Response](docs/GetLinkCardPayment200Response.md)
744748
- [GetLocations200Response](docs/GetLocations200Response.md)
745749
- [GetMailQuota200Response](docs/GetMailQuota200Response.md)
746750
- [GetMailboxes200Response](docs/GetMailboxes200Response.md)
@@ -765,6 +769,8 @@ Class | Method | HTTP request | Description
765769
- [GetServerStatisticsNew200Response](docs/GetServerStatisticsNew200Response.md)
766770
- [GetServers200Response](docs/GetServers200Response.md)
767771
- [GetServersPresets200Response](docs/GetServersPresets200Response.md)
772+
- [GetServicePrices200Response](docs/GetServicePrices200Response.md)
773+
- [GetServicePrices200ResponseMeta](docs/GetServicePrices200ResponseMeta.md)
768774
- [GetSoftware200Response](docs/GetSoftware200Response.md)
769775
- [GetStorageSubdomains200Response](docs/GetStorageSubdomains200Response.md)
770776
- [GetStorageTransferStatus200Response](docs/GetStorageTransferStatus200Response.md)
@@ -788,6 +794,7 @@ Class | Method | HTTP request | Description
788794
- [ImageUrlIn](docs/ImageUrlIn.md)
789795
- [ImagesOutResponse](docs/ImagesOutResponse.md)
790796
- [IncreaseNodes](docs/IncreaseNodes.md)
797+
- [InfoServicePrice](docs/InfoServicePrice.md)
791798
- [Invoice](docs/Invoice.md)
792799
- [K8SVersionsResponse](docs/K8SVersionsResponse.md)
793800
- [Location](docs/Location.md)
@@ -820,6 +827,7 @@ Class | Method | HTTP request | Description
820827
- [NotificationSettingChannels](docs/NotificationSettingChannels.md)
821828
- [NotificationSettingType](docs/NotificationSettingType.md)
822829
- [OS](docs/OS.md)
830+
- [PaymentType](docs/PaymentType.md)
823831
- [PerformActionOnBackupRequest](docs/PerformActionOnBackupRequest.md)
824832
- [PerformActionOnServerRequest](docs/PerformActionOnServerRequest.md)
825833
- [Policy](docs/Policy.md)
@@ -868,6 +876,11 @@ Class | Method | HTTP request | Description
868876
- [ServersSoftwareRequirements](docs/ServersSoftwareRequirements.md)
869877
- [ServersStatistics](docs/ServersStatistics.md)
870878
- [ServersStatisticsMeta](docs/ServersStatisticsMeta.md)
879+
- [ServiceCostType](docs/ServiceCostType.md)
880+
- [ServicePrice](docs/ServicePrice.md)
881+
- [ServicePriceConfiguration](docs/ServicePriceConfiguration.md)
882+
- [ServicePriceType](docs/ServicePriceType.md)
883+
- [ServiceServicePrice](docs/ServiceServicePrice.md)
871884
- [SetLabels](docs/SetLabels.md)
872885
- [SettingCondition](docs/SettingCondition.md)
873886
- [SpamFilterIsDisabled](docs/SpamFilterIsDisabled.md)

docs/AccountApi.md

Lines changed: 0 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Method | HTTP request | Description
1111
[**get_account_status**](AccountApi.md#get_account_status) | **GET** /api/v1/account/status | Получение статуса аккаунта
1212
[**get_auth_access_settings**](AccountApi.md#get_auth_access_settings) | **GET** /api/v1/auth/access | Получить информацию о ограничениях авторизации пользователя
1313
[**get_countries**](AccountApi.md#get_countries) | **GET** /api/v1/auth/access/countries | Получение списка стран
14-
[**get_finances**](AccountApi.md#get_finances) | **GET** /api/v1/account/finances | Получение платежной информации
1514
[**get_notification_settings**](AccountApi.md#get_notification_settings) | **GET** /api/v1/account/notification-settings | Получение настроек уведомлений аккаунта
1615
[**update_auth_restrictions_by_countries**](AccountApi.md#update_auth_restrictions_by_countries) | **POST** /api/v1/auth/access/countries/enabled | Включение/отключение ограничений по стране
1716
[**update_auth_restrictions_by_ip**](AccountApi.md#update_auth_restrictions_by_ip) | **POST** /api/v1/auth/access/ips/enabled | Включение/отключение ограничений по IP-адресу
@@ -571,83 +570,6 @@ This endpoint does not need any parameter.
571570

572571
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
573572

574-
# **get_finances**
575-
> GetFinances200Response get_finances()
576-
577-
Получение платежной информации
578-
579-
Чтобы получить платежную информацию, отправьте GET-запрос на `/api/v1/account/finances`.
580-
581-
### Example
582-
583-
* Bearer (JWT) Authentication (Bearer):
584-
```python
585-
import time
586-
import os
587-
import timeweb_cloud_api
588-
from timeweb_cloud_api.models.get_finances200_response import GetFinances200Response
589-
from timeweb_cloud_api.rest import ApiException
590-
from pprint import pprint
591-
592-
# Defining the host is optional and defaults to https://api.timeweb.cloud
593-
# See configuration.py for a list of all supported configuration parameters.
594-
configuration = timeweb_cloud_api.Configuration(
595-
host = "https://api.timeweb.cloud"
596-
)
597-
598-
# The client must configure the authentication and authorization parameters
599-
# in accordance with the API server security policy.
600-
# Examples for each auth method are provided below, use the example that
601-
# satisfies your auth use case.
602-
603-
# Configure Bearer authorization (JWT): Bearer
604-
configuration = timeweb_cloud_api.Configuration(
605-
access_token = os.environ["BEARER_TOKEN"]
606-
)
607-
608-
# Enter a context with an instance of the API client
609-
with timeweb_cloud_api.ApiClient(configuration) as api_client:
610-
# Create an instance of the API class
611-
api_instance = timeweb_cloud_api.AccountApi(api_client)
612-
613-
try:
614-
# Получение платежной информации
615-
api_response = api_instance.get_finances()
616-
print("The response of AccountApi->get_finances:\n")
617-
pprint(api_response)
618-
except Exception as e:
619-
print("Exception when calling AccountApi->get_finances: %s\n" % e)
620-
```
621-
622-
623-
### Parameters
624-
This endpoint does not need any parameter.
625-
626-
### Return type
627-
628-
[**GetFinances200Response**](GetFinances200Response.md)
629-
630-
### Authorization
631-
632-
[Bearer](../README.md#Bearer)
633-
634-
### HTTP request headers
635-
636-
- **Content-Type**: Not defined
637-
- **Accept**: application/json
638-
639-
### HTTP response details
640-
| Status code | Description | Response headers |
641-
|-------------|-------------|------------------|
642-
**200** | Объект JSON c ключом `finances` | - |
643-
**400** | | - |
644-
**401** | | - |
645-
**403** | | - |
646-
**429** | | - |
647-
**500** | | - |
648-
649-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
650-
651573
# **get_notification_settings**
652574
> GetNotificationSettings200Response get_notification_settings()
653575

docs/CreatePayment.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# CreatePayment
2+
3+
Данные для создания платежа
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**amount** | **object** | Сумма оплаты |
9+
**payment_type** | [**PaymentType**](PaymentType.md) | |
10+
**is_bind_card** | **object** | Привязать карту | [optional]
11+
**return_url** | **object** | URL для перенаправления после успешной оплаты | [optional]
12+
**fail_url** | **object** | URL для перенаправления после неудачной оплаты | [optional]
13+
14+
## Example
15+
16+
```python
17+
from timeweb_cloud_api.models.create_payment import CreatePayment
18+
19+
# TODO update the JSON string below
20+
json = "{}"
21+
# create an instance of CreatePayment from a JSON string
22+
create_payment_instance = CreatePayment.from_json(json)
23+
# print the JSON string representation of the object
24+
print CreatePayment.to_json()
25+
26+
# convert the object into a dict
27+
create_payment_dict = create_payment_instance.to_dict()
28+
# create an instance of CreatePayment from a dict
29+
create_payment_form_dict = create_payment.from_dict(create_payment_dict)
30+
```
31+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
32+
33+

0 commit comments

Comments
 (0)