Skip to content

Commit 620d593

Browse files
committed
chore: sdk update
1 parent 408502e commit 620d593

183 files changed

Lines changed: 207 additions & 201 deletions

File tree

Some content is hidden

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Class | Method | HTTP request | Description
8383
*BillingSubscriptionsApi* | [**getSubscriptionListV1**](docs/Api/BillingSubscriptionsApi.md#getsubscriptionlistv1) | **GET** /api/billing/v1/subscriptions | Get subscription list
8484
*DNSSnapshotApi* | [**getSnapshotListV1**](docs/Api/DNSSnapshotApi.md#getsnapshotlistv1) | **GET** /api/dns/v1/snapshots/{domain} | Get snapshot list
8585
*DNSSnapshotApi* | [**getSnapshotV1**](docs/Api/DNSSnapshotApi.md#getsnapshotv1) | **GET** /api/dns/v1/snapshots/{domain}/{snapshotId} | Get snapshot
86-
*DNSSnapshotApi* | [**restoreSnapshotV1**](docs/Api/DNSSnapshotApi.md#restoresnapshotv1) | **POST** /api/dns/v1/snapshots/{domain}/{snapshotId} | Restore snapshot
86+
*DNSSnapshotApi* | [**restoreSnapshotV1**](docs/Api/DNSSnapshotApi.md#restoresnapshotv1) | **POST** /api/dns/v1/snapshots/{domain}/{snapshotId}/restore | Restore snapshot
8787
*DNSZoneApi* | [**deleteZoneRecordsV1**](docs/Api/DNSZoneApi.md#deletezonerecordsv1) | **DELETE** /api/dns/v1/zones/{domain} | Delete zone records
8888
*DNSZoneApi* | [**getRecordsV1**](docs/Api/DNSZoneApi.md#getrecordsv1) | **GET** /api/dns/v1/zones/{domain} | Get records
8989
*DNSZoneApi* | [**resetZoneRecordsV1**](docs/Api/DNSZoneApi.md#resetzonerecordsv1) | **POST** /api/dns/v1/zones/{domain}/reset | Reset zone records

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hostinger/api-php-sdk",
3-
"version": "0.0.19",
3+
"version": "0.0.21",
44
"description": "Hostinger API PHP SDK",
55
"keywords": [
66
"hostinger",

docs/Api/BillingOrdersApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ createNewServiceOrderV1($billingV1OrderStoreRequest): \Hostinger\Model\BillingV1
1515

1616
Create new service order
1717

18-
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 automatically renewal.
18+
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.
1919

2020
### Example
2121

docs/Api/DNSSnapshotApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ All URIs are relative to https://developers.hostinger.com, except if the operati
66
| ------------- | ------------- | ------------- |
77
| [**getSnapshotListV1()**](DNSSnapshotApi.md#getSnapshotListV1) | **GET** /api/dns/v1/snapshots/{domain} | Get snapshot list |
88
| [**getSnapshotV1()**](DNSSnapshotApi.md#getSnapshotV1) | **GET** /api/dns/v1/snapshots/{domain}/{snapshotId} | Get snapshot |
9-
| [**restoreSnapshotV1()**](DNSSnapshotApi.md#restoreSnapshotV1) | **POST** /api/dns/v1/snapshots/{domain}/{snapshotId} | Restore snapshot |
9+
| [**restoreSnapshotV1()**](DNSSnapshotApi.md#restoreSnapshotV1) | **POST** /api/dns/v1/snapshots/{domain}/{snapshotId}/restore | Restore snapshot |
1010

1111

1212
## `getSnapshotListV1()`

docs/Api/DNSZoneApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ deleteZoneRecordsV1($domain, $dNSV1ZoneDestroyRequest): \Hostinger\Model\CommonS
1919

2020
Delete zone records
2121

22-
This endpoint deletes selected DNS records for the selected domain.
22+
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.
2323

2424
### Example
2525

@@ -161,7 +161,7 @@ updateZoneRecordsV1($domain, $dNSV1ZoneUpdateRequest): \Hostinger\Model\CommonSu
161161

162162
Update zone records
163163

164-
This endpoint updates DNS records for the selected domain. This endpoint could also be used to delete single record when multiple records exist under same name. In that case use `overwrite` flag and provide records which should remain. All other records under same name will be deleted.
164+
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.
165165

166166
### Example
167167

docs/Model/DNSV1SnapshotSnapshotWithContentResource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**id** | **int** | Snapshot ID |
88
**reason** | **string** | Reason of the update |
9-
**snapshot** | **string** | Contents of the DNS zone |
9+
**snapshot** | [**\Hostinger\Model\DNSV1ZoneRecordResource[]**](DNSV1ZoneRecordResource.md) | Array of [`DNS.V1.Zone.RecordResource`](#model/dnsv1zonerecordresource) |
1010
**createdAt** | **\DateTime** | |
1111

1212
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

src/Api/BillingCatalogApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API PHP SDK
55
*
6-
* API Version: 0.0.17
6+
* API Version: 0.0.20
77
* @url https://github.com/hostinger/api-php-sdk
88
*
99
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!

src/Api/BillingOrdersApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API PHP SDK
55
*
6-
* API Version: 0.0.17
6+
* API Version: 0.0.20
77
* @url https://github.com/hostinger/api-php-sdk
88
*
99
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!

src/Api/BillingPaymentMethodsApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API PHP SDK
55
*
6-
* API Version: 0.0.17
6+
* API Version: 0.0.20
77
* @url https://github.com/hostinger/api-php-sdk
88
*
99
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!

src/Api/BillingSubscriptionsApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API PHP SDK
55
*
6-
* API Version: 0.0.17
6+
* API Version: 0.0.20
77
* @url https://github.com/hostinger/api-php-sdk
88
*
99
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!

0 commit comments

Comments
 (0)