hostinger-api-sdk 1.30.4 → 1.30.6

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.
Files changed (43) hide show
  1. package/README.md +2 -2
  2. package/api.ts +391 -391
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +2 -2
  6. package/dist/api.d.ts +239 -239
  7. package/dist/api.js +372 -372
  8. package/dist/base.d.ts +1 -1
  9. package/dist/base.js +1 -1
  10. package/dist/common.d.ts +1 -1
  11. package/dist/common.js +1 -1
  12. package/dist/configuration.d.ts +1 -1
  13. package/dist/configuration.js +2 -2
  14. package/dist/esm/api.d.ts +239 -239
  15. package/dist/esm/api.js +372 -372
  16. package/dist/esm/base.d.ts +1 -1
  17. package/dist/esm/base.js +1 -1
  18. package/dist/esm/common.d.ts +1 -1
  19. package/dist/esm/common.js +1 -1
  20. package/dist/esm/configuration.d.ts +1 -1
  21. package/dist/esm/configuration.js +2 -2
  22. package/dist/esm/index.d.ts +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +1 -1
  26. package/docs/AgencyHostingCacheApi.md +4 -4
  27. package/docs/AgencyHostingCronJobsApi.md +13 -13
  28. package/docs/AgencyHostingDatabasesApi.md +21 -21
  29. package/docs/AgencyHostingDatacentersApi.md +4 -4
  30. package/docs/AgencyHostingDomainsApi.md +17 -17
  31. package/docs/AgencyHostingFilesApi.md +4 -4
  32. package/docs/{AgencyHostingListAgencyPlanDomainsV1200Response.md → AgencyHostingListDomainsV1200Response.md} +3 -3
  33. package/docs/{AgencyHostingListAgencyPlanOrdersV1200Response.md → AgencyHostingListOrdersV1200Response.md} +3 -3
  34. package/docs/{AgencyHostingListAgencyPlanWebsiteCronJobsV1200Response.md → AgencyHostingListWebsiteCronJobsV1200Response.md} +3 -3
  35. package/docs/{AgencyHostingListAgencyPlanWebsiteDatabasesV1200Response.md → AgencyHostingListWebsiteDatabasesV1200Response.md} +3 -3
  36. package/docs/AgencyHostingOrdersApi.md +5 -5
  37. package/docs/AgencyHostingWebsiteSetupsApi.md +24 -24
  38. package/docs/AgencyHostingWebsitesApi.md +16 -16
  39. package/docs/AgencyHostingWordPressApi.md +12 -12
  40. package/docs/EcommerceProductsApi.md +1 -1
  41. package/docs/EcommerceV1ProductUploadProductImageRequest.md +2 -2
  42. package/index.ts +1 -1
  43. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.32.3
4
+ * API Version: 1.32.5
5
5
  *
6
6
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
7
7
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/dist/esm/base.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.32.3
6
+ * API Version: 1.32.5
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
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.32.3
4
+ * API Version: 1.32.5
5
5
  *
6
6
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
7
7
  * 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
5
5
  *
6
- * API Version: 1.32.3
6
+ * API Version: 1.32.5
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
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.32.3
4
+ * API Version: 1.32.5
5
5
  *
6
6
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
7
7
  * 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
5
5
  *
6
- * API Version: 1.32.3
6
+ * API Version: 1.32.5
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
@@ -13,7 +13,7 @@ export class Configuration {
13
13
  var _a;
14
14
  this.accessToken = param.accessToken;
15
15
  this.basePath = param.basePath;
16
- this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.30.4" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
16
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.30.6" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
17
17
  this.formDataCtor = param.formDataCtor;
18
18
  }
19
19
  /**
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.32.3
4
+ * API Version: 1.32.5
5
5
  *
6
6
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
7
7
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/dist/esm/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.32.3
6
+ * API Version: 1.32.5
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
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.32.3
4
+ * API Version: 1.32.5
5
5
  *
6
6
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
7
7
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 1.32.3
7
+ * API Version: 1.32.5
8
8
  *
9
9
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
10
10
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -4,10 +4,10 @@ All URIs are relative to *https://developers.hostinger.com*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**clearAgencyPlanWebsiteCacheV1**](#clearagencyplanwebsitecachev1) | **DELETE** /api/agency-hosting/v1/websites/{website_uid}/cache | Clear Agency Plan website cache|
7
+ |[**clearWebsiteCacheV1**](#clearwebsitecachev1) | **DELETE** /api/agency-hosting/v1/websites/{website_uid}/cache | Clear website cache|
8
8
 
9
- # **clearAgencyPlanWebsiteCacheV1**
10
- > CommonSuccessEmptyResource clearAgencyPlanWebsiteCacheV1()
9
+ # **clearWebsiteCacheV1**
10
+ > CommonSuccessEmptyResource clearWebsiteCacheV1()
11
11
 
12
12
  Clears cache for all domains associated with an Agency Plan website, including its preview domain. This operation clears all cache types for the website.
13
13
 
@@ -24,7 +24,7 @@ const apiInstance = new AgencyHostingCacheApi(configuration);
24
24
 
25
25
  let websiteUid: string; //Agency Plan website UID (default to undefined)
26
26
 
27
- const { status, data } = await apiInstance.clearAgencyPlanWebsiteCacheV1(
27
+ const { status, data } = await apiInstance.clearWebsiteCacheV1(
28
28
  websiteUid
29
29
  );
30
30
  ```
@@ -4,12 +4,12 @@ All URIs are relative to *https://developers.hostinger.com*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**createAgencyPlanWebsiteCronJobV1**](#createagencyplanwebsitecronjobv1) | **POST** /api/agency-hosting/v1/websites/{website_uid}/cron-jobs | Create Agency Plan website cron job|
8
- |[**deleteAgencyPlanWebsiteCronJobV1**](#deleteagencyplanwebsitecronjobv1) | **DELETE** /api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid} | Delete Agency Plan website cron job|
9
- |[**listAgencyPlanWebsiteCronJobsV1**](#listagencyplanwebsitecronjobsv1) | **GET** /api/agency-hosting/v1/websites/{website_uid}/cron-jobs | List Agency Plan website cron jobs|
7
+ |[**createWebsiteCronJobV1**](#createwebsitecronjobv1) | **POST** /api/agency-hosting/v1/websites/{website_uid}/cron-jobs | Create website cron job|
8
+ |[**deleteWebsiteCronJobV1**](#deletewebsitecronjobv1) | **DELETE** /api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid} | Delete website cron job|
9
+ |[**listWebsiteCronJobsV1**](#listwebsitecronjobsv1) | **GET** /api/agency-hosting/v1/websites/{website_uid}/cron-jobs | List website cron jobs|
10
10
 
11
- # **createAgencyPlanWebsiteCronJobV1**
12
- > AgencyHostingV1WebsitesCronJobsCronJobResource createAgencyPlanWebsiteCronJobV1(agencyHostingV1WebsitesCronJobsCreateCronJobRequest)
11
+ # **createWebsiteCronJobV1**
12
+ > AgencyHostingV1WebsitesCronJobsCronJobResource createWebsiteCronJobV1(agencyHostingV1WebsitesCronJobsCreateCronJobRequest)
13
13
 
14
14
  Creates a cron job for an Agency Plan website from a schedule expression and a command. Returns the created cron job, including its uuid, which is required to delete the cron job.
15
15
 
@@ -28,7 +28,7 @@ const apiInstance = new AgencyHostingCronJobsApi(configuration);
28
28
  let websiteUid: string; //Agency Plan website UID (default to undefined)
29
29
  let agencyHostingV1WebsitesCronJobsCreateCronJobRequest: AgencyHostingV1WebsitesCronJobsCreateCronJobRequest; //
30
30
 
31
- const { status, data } = await apiInstance.createAgencyPlanWebsiteCronJobV1(
31
+ const { status, data } = await apiInstance.createWebsiteCronJobV1(
32
32
  websiteUid,
33
33
  agencyHostingV1WebsitesCronJobsCreateCronJobRequest
34
34
  );
@@ -66,8 +66,8 @@ const { status, data } = await apiInstance.createAgencyPlanWebsiteCronJobV1(
66
66
 
67
67
  [[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)
68
68
 
69
- # **deleteAgencyPlanWebsiteCronJobV1**
70
- > CommonSuccessEmptyResource deleteAgencyPlanWebsiteCronJobV1()
69
+ # **deleteWebsiteCronJobV1**
70
+ > CommonSuccessEmptyResource deleteWebsiteCronJobV1()
71
71
 
72
72
  Permanently deletes the cron job identified by its uuid from an Agency Plan website. The operation is idempotent: deleting a cron job that does not exist succeeds without error.
73
73
 
@@ -85,7 +85,7 @@ const apiInstance = new AgencyHostingCronJobsApi(configuration);
85
85
  let websiteUid: string; //Agency Plan website UID (default to undefined)
86
86
  let uuid: string; //Unique identifier of the cron job as returned by the list cron jobs endpoint. (default to undefined)
87
87
 
88
- const { status, data } = await apiInstance.deleteAgencyPlanWebsiteCronJobV1(
88
+ const { status, data } = await apiInstance.deleteWebsiteCronJobV1(
89
89
  websiteUid,
90
90
  uuid
91
91
  );
@@ -122,8 +122,8 @@ const { status, data } = await apiInstance.deleteAgencyPlanWebsiteCronJobV1(
122
122
 
123
123
  [[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)
124
124
 
125
- # **listAgencyPlanWebsiteCronJobsV1**
126
- > AgencyHostingListAgencyPlanWebsiteCronJobsV1200Response listAgencyPlanWebsiteCronJobsV1()
125
+ # **listWebsiteCronJobsV1**
126
+ > AgencyHostingListWebsiteCronJobsV1200Response listWebsiteCronJobsV1()
127
127
 
128
128
  Returns a paginated list of cron jobs configured for an Agency Plan website. Each entry includes the schedule expression and the command executed on that schedule.
129
129
 
@@ -142,7 +142,7 @@ let websiteUid: string; //Agency Plan website UID (default to undefined)
142
142
  let page: number; //Page number (optional) (default to undefined)
143
143
  let perPage: number; //Number of items per page (optional) (default to 25)
144
144
 
145
- const { status, data } = await apiInstance.listAgencyPlanWebsiteCronJobsV1(
145
+ const { status, data } = await apiInstance.listWebsiteCronJobsV1(
146
146
  websiteUid,
147
147
  page,
148
148
  perPage
@@ -160,7 +160,7 @@ const { status, data } = await apiInstance.listAgencyPlanWebsiteCronJobsV1(
160
160
 
161
161
  ### Return type
162
162
 
163
- **AgencyHostingListAgencyPlanWebsiteCronJobsV1200Response**
163
+ **AgencyHostingListWebsiteCronJobsV1200Response**
164
164
 
165
165
  ### Authorization
166
166
 
@@ -4,14 +4,14 @@ All URIs are relative to *https://developers.hostinger.com*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**createAgencyPlanWebsiteDatabaseUserV1**](#createagencyplanwebsitedatabaseuserv1) | **POST** /api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users | Create Agency Plan website database user|
8
- |[**createAgencyPlanWebsiteDatabaseV1**](#createagencyplanwebsitedatabasev1) | **POST** /api/agency-hosting/v1/websites/{website_uid}/databases | Create Agency Plan website database|
9
- |[**deleteAgencyPlanWebsiteDatabaseUserV1**](#deleteagencyplanwebsitedatabaseuserv1) | **DELETE** /api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name} | Delete Agency Plan website database user|
10
- |[**deleteAgencyPlanWebsiteDatabaseV1**](#deleteagencyplanwebsitedatabasev1) | **DELETE** /api/agency-hosting/v1/websites/{website_uid}/databases/{database_name} | Delete Agency Plan website database|
11
- |[**listAgencyPlanWebsiteDatabasesV1**](#listagencyplanwebsitedatabasesv1) | **GET** /api/agency-hosting/v1/websites/{website_uid}/databases | List Agency Plan website databases|
7
+ |[**createWebsiteDatabaseUserV1**](#createwebsitedatabaseuserv1) | **POST** /api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users | Create website database user|
8
+ |[**createWebsiteDatabaseV1**](#createwebsitedatabasev1) | **POST** /api/agency-hosting/v1/websites/{website_uid}/databases | Create website database|
9
+ |[**deleteWebsiteDatabaseUserV1**](#deletewebsitedatabaseuserv1) | **DELETE** /api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name} | Delete website database user|
10
+ |[**deleteWebsiteDatabaseV1**](#deletewebsitedatabasev1) | **DELETE** /api/agency-hosting/v1/websites/{website_uid}/databases/{database_name} | Delete website database|
11
+ |[**listWebsiteDatabasesV1**](#listwebsitedatabasesv1) | **GET** /api/agency-hosting/v1/websites/{website_uid}/databases | List website databases|
12
12
 
13
- # **createAgencyPlanWebsiteDatabaseUserV1**
14
- > AgencyHostingV1WebsitesDatabasesDatabaseUserResource createAgencyPlanWebsiteDatabaseUserV1(agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest)
13
+ # **createWebsiteDatabaseUserV1**
14
+ > AgencyHostingV1WebsitesDatabasesDatabaseUserResource createWebsiteDatabaseUserV1(agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest)
15
15
 
16
16
  Creates a user for an existing database on an Agency Plan website. Each database supports a single non-system user; creating a user for a database that already has one fails.
17
17
 
@@ -31,7 +31,7 @@ let websiteUid: string; //Agency Plan website UID (default to undefined)
31
31
  let databaseName: string; //Full database name as returned by the list databases endpoint. (default to undefined)
32
32
  let agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest: AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest; //
33
33
 
34
- const { status, data } = await apiInstance.createAgencyPlanWebsiteDatabaseUserV1(
34
+ const { status, data } = await apiInstance.createWebsiteDatabaseUserV1(
35
35
  websiteUid,
36
36
  databaseName,
37
37
  agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest
@@ -71,8 +71,8 @@ const { status, data } = await apiInstance.createAgencyPlanWebsiteDatabaseUserV1
71
71
 
72
72
  [[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)
73
73
 
74
- # **createAgencyPlanWebsiteDatabaseV1**
75
- > AgencyHostingV1WebsitesDatabasesDatabaseResource createAgencyPlanWebsiteDatabaseV1(agencyHostingV1WebsitesDatabasesCreateDatabaseRequest)
74
+ # **createWebsiteDatabaseV1**
75
+ > AgencyHostingV1WebsitesDatabasesDatabaseResource createWebsiteDatabaseV1(agencyHostingV1WebsitesDatabasesCreateDatabaseRequest)
76
76
 
77
77
  Creates a MySQL database with a dedicated user for an Agency Plan website. The database name, username, and password must all be provided by the caller.
78
78
 
@@ -91,7 +91,7 @@ const apiInstance = new AgencyHostingDatabasesApi(configuration);
91
91
  let websiteUid: string; //Agency Plan website UID (default to undefined)
92
92
  let agencyHostingV1WebsitesDatabasesCreateDatabaseRequest: AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest; //
93
93
 
94
- const { status, data } = await apiInstance.createAgencyPlanWebsiteDatabaseV1(
94
+ const { status, data } = await apiInstance.createWebsiteDatabaseV1(
95
95
  websiteUid,
96
96
  agencyHostingV1WebsitesDatabasesCreateDatabaseRequest
97
97
  );
@@ -129,8 +129,8 @@ const { status, data } = await apiInstance.createAgencyPlanWebsiteDatabaseV1(
129
129
 
130
130
  [[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)
131
131
 
132
- # **deleteAgencyPlanWebsiteDatabaseUserV1**
133
- > CommonSuccessEmptyResource deleteAgencyPlanWebsiteDatabaseUserV1()
132
+ # **deleteWebsiteDatabaseUserV1**
133
+ > CommonSuccessEmptyResource deleteWebsiteDatabaseUserV1()
134
134
 
135
135
  Permanently deletes a database user from an Agency Plan website database, revoking all access it had. The operation is idempotent: deleting a user that does not exist succeeds without error.
136
136
 
@@ -149,7 +149,7 @@ let websiteUid: string; //Agency Plan website UID (default to undefined)
149
149
  let databaseName: string; //Full database name as returned by the list databases endpoint. (default to undefined)
150
150
  let databaseUserName: string; //Database username as returned by the list databases endpoint. (default to undefined)
151
151
 
152
- const { status, data } = await apiInstance.deleteAgencyPlanWebsiteDatabaseUserV1(
152
+ const { status, data } = await apiInstance.deleteWebsiteDatabaseUserV1(
153
153
  websiteUid,
154
154
  databaseName,
155
155
  databaseUserName
@@ -188,8 +188,8 @@ const { status, data } = await apiInstance.deleteAgencyPlanWebsiteDatabaseUserV1
188
188
 
189
189
  [[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)
190
190
 
191
- # **deleteAgencyPlanWebsiteDatabaseV1**
192
- > CommonSuccessEmptyResource deleteAgencyPlanWebsiteDatabaseV1()
191
+ # **deleteWebsiteDatabaseV1**
192
+ > CommonSuccessEmptyResource deleteWebsiteDatabaseV1()
193
193
 
194
194
  Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users. The operation is idempotent: deleting a database that does not exist succeeds without error.
195
195
 
@@ -207,7 +207,7 @@ const apiInstance = new AgencyHostingDatabasesApi(configuration);
207
207
  let websiteUid: string; //Agency Plan website UID (default to undefined)
208
208
  let databaseName: string; //Full database name as returned by the list databases endpoint. (default to undefined)
209
209
 
210
- const { status, data } = await apiInstance.deleteAgencyPlanWebsiteDatabaseV1(
210
+ const { status, data } = await apiInstance.deleteWebsiteDatabaseV1(
211
211
  websiteUid,
212
212
  databaseName
213
213
  );
@@ -244,8 +244,8 @@ const { status, data } = await apiInstance.deleteAgencyPlanWebsiteDatabaseV1(
244
244
 
245
245
  [[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)
246
246
 
247
- # **listAgencyPlanWebsiteDatabasesV1**
248
- > AgencyHostingListAgencyPlanWebsiteDatabasesV1200Response listAgencyPlanWebsiteDatabasesV1()
247
+ # **listWebsiteDatabasesV1**
248
+ > AgencyHostingListWebsiteDatabasesV1200Response listWebsiteDatabasesV1()
249
249
 
250
250
  Returns a paginated list of MySQL databases created for an Agency Plan website. Each entry includes the database\'s non-system users.
251
251
 
@@ -264,7 +264,7 @@ let websiteUid: string; //Agency Plan website UID (default to undefined)
264
264
  let page: number; //Page number (optional) (default to undefined)
265
265
  let perPage: number; //Number of items per page (optional) (default to 25)
266
266
 
267
- const { status, data } = await apiInstance.listAgencyPlanWebsiteDatabasesV1(
267
+ const { status, data } = await apiInstance.listWebsiteDatabasesV1(
268
268
  websiteUid,
269
269
  page,
270
270
  perPage
@@ -282,7 +282,7 @@ const { status, data } = await apiInstance.listAgencyPlanWebsiteDatabasesV1(
282
282
 
283
283
  ### Return type
284
284
 
285
- **AgencyHostingListAgencyPlanWebsiteDatabasesV1200Response**
285
+ **AgencyHostingListWebsiteDatabasesV1200Response**
286
286
 
287
287
  ### Authorization
288
288
 
@@ -4,10 +4,10 @@ All URIs are relative to *https://developers.hostinger.com*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**listAvailableDatacentersForAnAgencyPlanOrderV1**](#listavailabledatacentersforanagencyplanorderv1) | **GET** /api/agency-hosting/v1/orders/{order_id}/datacenters | List available datacenters for an Agency Plan order|
7
+ |[**listAvailableDatacentersV1**](#listavailabledatacentersv1) | **GET** /api/agency-hosting/v1/orders/{order_id}/datacenters | List available datacenters|
8
8
 
9
- # **listAvailableDatacentersForAnAgencyPlanOrderV1**
10
- > Array<AgencyHostingV1DatacentersDatacenterResource> listAvailableDatacentersForAnAgencyPlanOrderV1()
9
+ # **listAvailableDatacentersV1**
10
+ > Array<AgencyHostingV1DatacentersDatacenterResource> listAvailableDatacentersV1()
11
11
 
12
12
  Lists the datacenters available for provisioning a new website on the given Agency Plan hosting order. Each datacenter includes a `pinger_url` you can ping from the client to measure round-trip latency; comparing the results across datacenters lets you pick the nearest one (lowest ping) before choosing its `code` as the `datacenter_code` when creating a website setup.
13
13
 
@@ -24,7 +24,7 @@ const apiInstance = new AgencyHostingDatacentersApi(configuration);
24
24
 
25
25
  let orderId: number; //Agency Plan order ID (default to undefined)
26
26
 
27
- const { status, data } = await apiInstance.listAvailableDatacentersForAnAgencyPlanOrderV1(
27
+ const { status, data } = await apiInstance.listAvailableDatacentersV1(
28
28
  orderId
29
29
  );
30
30
  ```
@@ -4,13 +4,13 @@ All URIs are relative to *https://developers.hostinger.com*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**changeAgencyPlanWebsiteDomainV1**](#changeagencyplanwebsitedomainv1) | **PUT** /api/agency-hosting/v1/websites/{website_uid}/domains/{from_domain} | Change Agency Plan website domain|
8
- |[**linkDomainToAgencyPlanWebsiteV1**](#linkdomaintoagencyplanwebsitev1) | **POST** /api/agency-hosting/v1/websites/{website_uid}/domains | Link domain to Agency Plan website|
9
- |[**listAgencyPlanDomainsV1**](#listagencyplandomainsv1) | **GET** /api/agency-hosting/v1/domains | List Agency Plan domains|
10
- |[**unlinkDomainFromAgencyPlanWebsiteV1**](#unlinkdomainfromagencyplanwebsitev1) | **DELETE** /api/agency-hosting/v1/websites/{website_uid}/domains/{domain} | Unlink domain from Agency Plan website|
7
+ |[**changeWebsiteDomainV1**](#changewebsitedomainv1) | **PUT** /api/agency-hosting/v1/websites/{website_uid}/domains/{from_domain} | Change website domain|
8
+ |[**linkDomainToWebsiteV1**](#linkdomaintowebsitev1) | **POST** /api/agency-hosting/v1/websites/{website_uid}/domains | Link domain to website|
9
+ |[**listDomainsV1**](#listdomainsv1) | **GET** /api/agency-hosting/v1/domains | List domains|
10
+ |[**unlinkDomainFromWebsiteV1**](#unlinkdomainfromwebsitev1) | **DELETE** /api/agency-hosting/v1/websites/{website_uid}/domains/{domain} | Unlink domain from website|
11
11
 
12
- # **changeAgencyPlanWebsiteDomainV1**
13
- > CommonSuccessEmptyResource changeAgencyPlanWebsiteDomainV1(agencyHostingV1DomainsChangeDomainRequest)
12
+ # **changeWebsiteDomainV1**
13
+ > CommonSuccessEmptyResource changeWebsiteDomainV1(agencyHostingV1DomainsChangeDomainRequest)
14
14
 
15
15
  Changes the primary domain for an Agency Plan website. Provide the current domain in the path and the new domain in the request body. Set domain to null to revert to the temporary domain.
16
16
 
@@ -30,7 +30,7 @@ let websiteUid: string; //Agency Plan website UID (default to undefined)
30
30
  let fromDomain: string; //Current domain name to change from (default to undefined)
31
31
  let agencyHostingV1DomainsChangeDomainRequest: AgencyHostingV1DomainsChangeDomainRequest; //
32
32
 
33
- const { status, data } = await apiInstance.changeAgencyPlanWebsiteDomainV1(
33
+ const { status, data } = await apiInstance.changeWebsiteDomainV1(
34
34
  websiteUid,
35
35
  fromDomain,
36
36
  agencyHostingV1DomainsChangeDomainRequest
@@ -70,8 +70,8 @@ const { status, data } = await apiInstance.changeAgencyPlanWebsiteDomainV1(
70
70
 
71
71
  [[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)
72
72
 
73
- # **linkDomainToAgencyPlanWebsiteV1**
74
- > CommonSuccessEmptyResource linkDomainToAgencyPlanWebsiteV1(agencyHostingV1DomainsLinkDomainRequest)
73
+ # **linkDomainToWebsiteV1**
74
+ > CommonSuccessEmptyResource linkDomainToWebsiteV1(agencyHostingV1DomainsLinkDomainRequest)
75
75
 
76
76
  Links a domain to the specified Agency Plan website so it can serve traffic for that domain.
77
77
 
@@ -90,7 +90,7 @@ const apiInstance = new AgencyHostingDomainsApi(configuration);
90
90
  let websiteUid: string; //Agency Plan website UID (default to undefined)
91
91
  let agencyHostingV1DomainsLinkDomainRequest: AgencyHostingV1DomainsLinkDomainRequest; //
92
92
 
93
- const { status, data } = await apiInstance.linkDomainToAgencyPlanWebsiteV1(
93
+ const { status, data } = await apiInstance.linkDomainToWebsiteV1(
94
94
  websiteUid,
95
95
  agencyHostingV1DomainsLinkDomainRequest
96
96
  );
@@ -128,8 +128,8 @@ const { status, data } = await apiInstance.linkDomainToAgencyPlanWebsiteV1(
128
128
 
129
129
  [[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)
130
130
 
131
- # **listAgencyPlanDomainsV1**
132
- > AgencyHostingListAgencyPlanDomainsV1200Response listAgencyPlanDomainsV1()
131
+ # **listDomainsV1**
132
+ > AgencyHostingListDomainsV1200Response listDomainsV1()
133
133
 
134
134
  Returns a paginated list of domains associated with Agency Plan websites accessible to the authenticated client. Use the website_uuids filter to narrow results to specific websites.
135
135
 
@@ -148,7 +148,7 @@ let page: number; //Page number (optional) (default to undefined)
148
148
  let perPage: number; //Number of items per page (optional) (default to 25)
149
149
  let websiteUuids: Array<string>; //Filter by website UIDs (optional) (default to undefined)
150
150
 
151
- const { status, data } = await apiInstance.listAgencyPlanDomainsV1(
151
+ const { status, data } = await apiInstance.listDomainsV1(
152
152
  page,
153
153
  perPage,
154
154
  websiteUuids
@@ -166,7 +166,7 @@ const { status, data } = await apiInstance.listAgencyPlanDomainsV1(
166
166
 
167
167
  ### Return type
168
168
 
169
- **AgencyHostingListAgencyPlanDomainsV1200Response**
169
+ **AgencyHostingListDomainsV1200Response**
170
170
 
171
171
  ### Authorization
172
172
 
@@ -187,8 +187,8 @@ const { status, data } = await apiInstance.listAgencyPlanDomainsV1(
187
187
 
188
188
  [[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)
189
189
 
190
- # **unlinkDomainFromAgencyPlanWebsiteV1**
191
- > CommonSuccessEmptyResource unlinkDomainFromAgencyPlanWebsiteV1()
190
+ # **unlinkDomainFromWebsiteV1**
191
+ > CommonSuccessEmptyResource unlinkDomainFromWebsiteV1()
192
192
 
193
193
  Unlinks a domain from the specified Agency Plan website. The website stops serving traffic on this domain immediately. Website files and database are preserved, and any other linked domains remain accessible. If this is the only domain on the website, unlinking leaves the website without an accessible domain.
194
194
 
@@ -206,7 +206,7 @@ const apiInstance = new AgencyHostingDomainsApi(configuration);
206
206
  let websiteUid: string; //Agency Plan website UID (default to undefined)
207
207
  let domain: string; //Domain name (default to undefined)
208
208
 
209
- const { status, data } = await apiInstance.unlinkDomainFromAgencyPlanWebsiteV1(
209
+ const { status, data } = await apiInstance.unlinkDomainFromWebsiteV1(
210
210
  websiteUid,
211
211
  domain
212
212
  );
@@ -4,10 +4,10 @@ All URIs are relative to *https://developers.hostinger.com*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**importAgencyPlanWebsiteFromArchiveV1**](#importagencyplanwebsitefromarchivev1) | **POST** /api/agency-hosting/v1/websites/{website_uid}/files/import-archive | Import Agency Plan website from archive|
7
+ |[**importWebsiteFromArchiveV1**](#importwebsitefromarchivev1) | **POST** /api/agency-hosting/v1/websites/{website_uid}/files/import-archive | Import website from archive|
8
8
 
9
- # **importAgencyPlanWebsiteFromArchiveV1**
10
- > CommonSuccessEmptyResource importAgencyPlanWebsiteFromArchiveV1(agencyHostingV1FilesImportArchiveRequest)
9
+ # **importWebsiteFromArchiveV1**
10
+ > CommonSuccessEmptyResource importWebsiteFromArchiveV1(agencyHostingV1FilesImportArchiveRequest)
11
11
 
12
12
  Imports an Agency Plan website from an already-uploaded archive. Upload the archive to the website\'s root directory via file browser first, then provide its filename in this request. Website contents are overwritten by the archive contents. Supported archive types: .zip, .tar, .tar.gz, .tgz.
13
13
 
@@ -26,7 +26,7 @@ const apiInstance = new AgencyHostingFilesApi(configuration);
26
26
  let websiteUid: string; //Agency Plan website UID (default to undefined)
27
27
  let agencyHostingV1FilesImportArchiveRequest: AgencyHostingV1FilesImportArchiveRequest; //
28
28
 
29
- const { status, data } = await apiInstance.importAgencyPlanWebsiteFromArchiveV1(
29
+ const { status, data } = await apiInstance.importWebsiteFromArchiveV1(
30
30
  websiteUid,
31
31
  agencyHostingV1FilesImportArchiveRequest
32
32
  );
@@ -1,4 +1,4 @@
1
- # AgencyHostingListAgencyPlanDomainsV1200Response
1
+ # AgencyHostingListDomainsV1200Response
2
2
 
3
3
 
4
4
  ## Properties
@@ -11,9 +11,9 @@ Name | Type | Description | Notes
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { AgencyHostingListAgencyPlanDomainsV1200Response } from 'hostinger-api-sdk';
14
+ import { AgencyHostingListDomainsV1200Response } from 'hostinger-api-sdk';
15
15
 
16
- const instance: AgencyHostingListAgencyPlanDomainsV1200Response = {
16
+ const instance: AgencyHostingListDomainsV1200Response = {
17
17
  data,
18
18
  meta,
19
19
  };
@@ -1,4 +1,4 @@
1
- # AgencyHostingListAgencyPlanOrdersV1200Response
1
+ # AgencyHostingListOrdersV1200Response
2
2
 
3
3
 
4
4
  ## Properties
@@ -11,9 +11,9 @@ Name | Type | Description | Notes
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { AgencyHostingListAgencyPlanOrdersV1200Response } from 'hostinger-api-sdk';
14
+ import { AgencyHostingListOrdersV1200Response } from 'hostinger-api-sdk';
15
15
 
16
- const instance: AgencyHostingListAgencyPlanOrdersV1200Response = {
16
+ const instance: AgencyHostingListOrdersV1200Response = {
17
17
  data,
18
18
  meta,
19
19
  };
@@ -1,4 +1,4 @@
1
- # AgencyHostingListAgencyPlanWebsiteCronJobsV1200Response
1
+ # AgencyHostingListWebsiteCronJobsV1200Response
2
2
 
3
3
 
4
4
  ## Properties
@@ -11,9 +11,9 @@ Name | Type | Description | Notes
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { AgencyHostingListAgencyPlanWebsiteCronJobsV1200Response } from 'hostinger-api-sdk';
14
+ import { AgencyHostingListWebsiteCronJobsV1200Response } from 'hostinger-api-sdk';
15
15
 
16
- const instance: AgencyHostingListAgencyPlanWebsiteCronJobsV1200Response = {
16
+ const instance: AgencyHostingListWebsiteCronJobsV1200Response = {
17
17
  data,
18
18
  meta,
19
19
  };
@@ -1,4 +1,4 @@
1
- # AgencyHostingListAgencyPlanWebsiteDatabasesV1200Response
1
+ # AgencyHostingListWebsiteDatabasesV1200Response
2
2
 
3
3
 
4
4
  ## Properties
@@ -11,9 +11,9 @@ Name | Type | Description | Notes
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { AgencyHostingListAgencyPlanWebsiteDatabasesV1200Response } from 'hostinger-api-sdk';
14
+ import { AgencyHostingListWebsiteDatabasesV1200Response } from 'hostinger-api-sdk';
15
15
 
16
- const instance: AgencyHostingListAgencyPlanWebsiteDatabasesV1200Response = {
16
+ const instance: AgencyHostingListWebsiteDatabasesV1200Response = {
17
17
  data,
18
18
  meta,
19
19
  };
@@ -4,10 +4,10 @@ All URIs are relative to *https://developers.hostinger.com*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**listAgencyPlanOrdersV1**](#listagencyplanordersv1) | **GET** /api/agency-hosting/v1/orders | List Agency Plan orders|
7
+ |[**listOrdersV1**](#listordersv1) | **GET** /api/agency-hosting/v1/orders | List orders|
8
8
 
9
- # **listAgencyPlanOrdersV1**
10
- > AgencyHostingListAgencyPlanOrdersV1200Response listAgencyPlanOrdersV1()
9
+ # **listOrdersV1**
10
+ > AgencyHostingListOrdersV1200Response listOrdersV1()
11
11
 
12
12
  Returns a paginated list of Agency Plan orders accessible to the authenticated client.
13
13
 
@@ -25,7 +25,7 @@ const apiInstance = new AgencyHostingOrdersApi(configuration);
25
25
  let page: number; //Page number (optional) (default to undefined)
26
26
  let perPage: number; //Number of items per page (optional) (default to 25)
27
27
 
28
- const { status, data } = await apiInstance.listAgencyPlanOrdersV1(
28
+ const { status, data } = await apiInstance.listOrdersV1(
29
29
  page,
30
30
  perPage
31
31
  );
@@ -41,7 +41,7 @@ const { status, data } = await apiInstance.listAgencyPlanOrdersV1(
41
41
 
42
42
  ### Return type
43
43
 
44
- **AgencyHostingListAgencyPlanOrdersV1200Response**
44
+ **AgencyHostingListOrdersV1200Response**
45
45
 
46
46
  ### Authorization
47
47