Skip to content

Commit 528f61f

Browse files
chore: sdk update
1 parent 1805e02 commit 528f61f

9 files changed

Lines changed: 30 additions & 14 deletions

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
## @hostinger/sdk@2.7.1
1+
## @hostinger/sdk@2.8.0
22

33
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
44

55
### Usage
66

77
```
8-
npm install @hostinger/sdk@2.7.1 --save
8+
npm install @hostinger/sdk@2.8.0 --save
99
```

‎api.ts‎

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.7.0
6+
* API Version: 2.8.0
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -7328,6 +7328,18 @@ export interface HorizonsV1WebsitesWebsiteUrlResource {
73287328
* @memberof HorizonsV1WebsitesWebsiteUrlResource
73297329
*/
73307330
'is_in_progress': boolean;
7331+
/**
7332+
* Whether Hostinger Horizons is generating changes to the website. Editing and publishing are refused while it is true
7333+
* @type {boolean}
7334+
* @memberof HorizonsV1WebsitesWebsiteUrlResource
7335+
*/
7336+
'is_generating': boolean;
7337+
/**
7338+
* What is running on the website right now: `website_publish` while it is being published right now, when publishing is refused; empty otherwise. An unfinished template migration also refuses publishing, with its own error, without appearing here.
7339+
* @type {Array<string>}
7340+
* @memberof HorizonsV1WebsitesWebsiteUrlResource
7341+
*/
7342+
'actions_in_progress': Array<string>;
73317343
/**
73327344
* Whether the website has an ecommerce store
73337345
* @type {boolean}
@@ -31620,7 +31632,7 @@ export const HorizonsWebsitesApiAxiosParamCreator = function (configuration?: Co
3162031632
};
3162131633
},
3162231634
/**
31623-
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
31635+
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
3162431636
* @summary Get website
3162531637
* @param {string} websiteId The website ID
3162631638
* @param {*} [options] Override http request option.
@@ -31758,7 +31770,7 @@ export const HorizonsWebsitesApiFp = function(configuration?: Configuration) {
3175831770
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3175931771
},
3176031772
/**
31761-
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
31773+
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
3176231774
* @summary Get website
3176331775
* @param {string} websiteId The website ID
3176431776
* @param {*} [options] Override http request option.
@@ -31833,7 +31845,7 @@ export const HorizonsWebsitesApiFactory = function (configuration?: Configuratio
3183331845
return localVarFp.getWebsiteListV1(options).then((request) => request(axios, basePath));
3183431846
},
3183531847
/**
31836-
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
31848+
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
3183731849
* @summary Get website
3183831850
* @param {string} websiteId The website ID
3183931851
* @param {*} [options] Override http request option.
@@ -31912,7 +31924,7 @@ export class HorizonsWebsitesApi extends BaseAPI {
3191231924
}
3191331925

3191431926
/**
31915-
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
31927+
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
3191631928
* @summary Get website
3191731929
* @param {string} websiteId The website ID
3191831930
* @param {*} [options] Override http request option.

‎base.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.7.0
6+
* API Version: 2.8.0
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎common.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.7.0
6+
* API Version: 2.8.0
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎configuration.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.7.0
6+
* API Version: 2.8.0
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -48,7 +48,7 @@ export class Configuration {
4848
this.baseOptions = {
4949
...param.baseOptions,
5050
headers: {
51-
'User-Agent': "hostinger-typescript-sdk/2.7.1",
51+
'User-Agent': "hostinger-typescript-sdk/2.8.0",
5252
...param.baseOptions?.headers,
5353
},
5454
};

‎docs/HorizonsV1WebsitesWebsiteUrlResource.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
99
**published_at** | **string** | When the website was last published, or null if it has never been published | [optional] [default to undefined]
1010
**is_template** | **boolean** | Whether the website is published as a template, so its published pages show a \&quot;Use template\&quot; banner | [optional] [default to undefined]
1111
**is_in_progress** | **boolean** | Whether Hostinger Horizons is still generating changes or publishing the website. Publishing is refused while it is true, and editing while changes are being generated. An unfinished template migration also refuses publishing, with its own error, without setting this flag. | [optional] [default to undefined]
12+
**is_generating** | **boolean** | Whether Hostinger Horizons is generating changes to the website. Editing and publishing are refused while it is true | [optional] [default to undefined]
13+
**actions_in_progress** | **Array&lt;string&gt;** | What is running on the website right now: &#x60;website_publish&#x60; while it is being published right now, when publishing is refused; empty otherwise. An unfinished template migration also refuses publishing, with its own error, without appearing here. | [optional] [default to undefined]
1214
**has_ecommerce_store** | **boolean** | Whether the website has an ecommerce store | [optional] [default to undefined]
1315

1416
## Example
@@ -21,6 +23,8 @@ const instance: HorizonsV1WebsitesWebsiteUrlResource = {
2123
published_at,
2224
is_template,
2325
is_in_progress,
26+
is_generating,
27+
actions_in_progress,
2428
has_ecommerce_store,
2529
};
2630
```

‎docs/HorizonsWebsitesApi.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ This endpoint does not have any parameters.
226226
# **getWebsiteV1**
227227
> HorizonsV1WebsitesWebsiteUrlResource getWebsiteV1()
228228
229-
Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
229+
Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
230230

231231
### Example
232232

‎index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.7.0
6+
* API Version: 2.8.0
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hostinger/sdk",
3-
"version": "2.7.1",
3+
"version": "2.8.0",
44
"description": "Hostinger API TypeScript SDK",
55
"author": "Hostinger",
66
"repository": {

0 commit comments

Comments
 (0)