hostinger-api-sdk 2.13.2 → 2.14.1

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 (40) hide show
  1. package/README.md +2 -2
  2. package/api.ts +729 -24
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +2 -2
  6. package/dist/api.d.ts +494 -24
  7. package/dist/api.js +481 -33
  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 +494 -24
  15. package/dist/esm/api.js +465 -21
  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/HostingPocketBaseApi.md +311 -0
  27. package/docs/HostingV1OnboardingsStartOnboardingRequest.md +1 -1
  28. package/docs/HostingV1PocketBaseBackendCreatedResource.md +36 -0
  29. package/docs/HostingV1PocketBaseBackendResource.md +32 -0
  30. package/docs/HostingV1PocketBaseCreateBackendRequest.md +22 -0
  31. package/docs/HostingV1PocketBaseInstanceResource.md +32 -0
  32. package/docs/HostingV1PocketBaseSuperuserResource.md +24 -0
  33. package/docs/HostingV1PocketBaseUpdateSuperuserRequest.md +22 -0
  34. package/docs/HostingWebsitesApi.md +1 -1
  35. package/docs/MailAPITokensApi.md +3 -3
  36. package/docs/MailV1ApiTokensApiTokenCreatedResource.md +1 -1
  37. package/docs/WordPressInstallationsApi.md +1 -1
  38. package/docs/WordPressV1InstallationsInstallWordPressRequest.md +1 -1
  39. package/index.ts +1 -1
  40. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.13.1
4
+ * API Version: 2.14.1
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
@@ -9805,7 +9805,7 @@ export type HostingV1OnboardingsOnboardingResourceStatusEnum = typeof HostingV1O
9805
9805
  */
9806
9806
  export interface HostingV1OnboardingsStartOnboardingRequest {
9807
9807
  /**
9808
- * Website type. Omit or `null` for an empty website. `wordpress` installs WordPress in the website root and requires `wordpress`. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory with generated credentials. `headless_empty` installs nothing, so WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`.
9808
+ * Website type. Omit or `null` for an empty website. `wordpress` installs WordPress in the website root and requires `wordpress`. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory with generated credentials. `headless_pocketbase` only marks the website as a headless PocketBase website: create the backend afterwards with `Create PocketBase backend` (`POST /api/hosting/v1/accounts/{username}/websites/{domain}/pocketbase`). `headless_empty` installs nothing, so WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`, or a PocketBase backend through the PocketBase endpoint.
9809
9809
  * @type {string}
9810
9810
  * @memberof HostingV1OnboardingsStartOnboardingRequest
9811
9811
  */
@@ -10115,6 +10115,261 @@ export interface HostingV1PhpUpdatePhpVersionRequest {
10115
10115
  */
10116
10116
  'version': string;
10117
10117
  }
10118
+ /**
10119
+ *
10120
+ * @export
10121
+ * @interface HostingV1PocketBaseBackendCreatedResource
10122
+ */
10123
+ export interface HostingV1PocketBaseBackendCreatedResource {
10124
+ /**
10125
+ * PocketBase instance ID
10126
+ * @type {string}
10127
+ * @memberof HostingV1PocketBaseBackendCreatedResource
10128
+ */
10129
+ 'instance_id': string;
10130
+ /**
10131
+ * Website domain that serves the PocketBase API
10132
+ * @type {string}
10133
+ * @memberof HostingV1PocketBaseBackendCreatedResource
10134
+ */
10135
+ 'domain': string;
10136
+ /**
10137
+ * Base URL of the PocketBase REST API
10138
+ * @type {string}
10139
+ * @memberof HostingV1PocketBaseBackendCreatedResource
10140
+ */
10141
+ 'api_url': string;
10142
+ /**
10143
+ * URL of the PocketBase dashboard
10144
+ * @type {string}
10145
+ * @memberof HostingV1PocketBaseBackendCreatedResource
10146
+ */
10147
+ 'admin_url': string;
10148
+ /**
10149
+ * Email of the superuser set up when the backend was created
10150
+ * @type {string}
10151
+ * @memberof HostingV1PocketBaseBackendCreatedResource
10152
+ */
10153
+ 'superuser_email': string | null;
10154
+ /**
10155
+ * Password of that superuser, generated when the request had none. Returned only here: Hostinger does not store it, so save it right away.
10156
+ * @type {string}
10157
+ * @memberof HostingV1PocketBaseBackendCreatedResource
10158
+ */
10159
+ 'superuser_password': string | null;
10160
+ /**
10161
+ * Live process state. The instance sleeps when idle and wakes on the first request. Usually null right after creation.
10162
+ * @type {string}
10163
+ * @memberof HostingV1PocketBaseBackendCreatedResource
10164
+ */
10165
+ 'state': HostingV1PocketBaseBackendCreatedResourceStateEnum | null;
10166
+ /**
10167
+ * PocketBase version
10168
+ * @type {string}
10169
+ * @memberof HostingV1PocketBaseBackendCreatedResource
10170
+ */
10171
+ 'version': string | null;
10172
+ /**
10173
+ * What to do next with this backend
10174
+ * @type {Array<string>}
10175
+ * @memberof HostingV1PocketBaseBackendCreatedResource
10176
+ */
10177
+ 'next_steps': Array<string>;
10178
+ }
10179
+ export declare const HostingV1PocketBaseBackendCreatedResourceStateEnum: {
10180
+ readonly Asleep: "asleep";
10181
+ readonly Starting: "starting";
10182
+ readonly Running: "running";
10183
+ readonly Stopping: "stopping";
10184
+ readonly Failed: "failed";
10185
+ readonly Unregistered: "unregistered";
10186
+ readonly Unknown: "unknown";
10187
+ readonly Missing: "missing";
10188
+ };
10189
+ export type HostingV1PocketBaseBackendCreatedResourceStateEnum = typeof HostingV1PocketBaseBackendCreatedResourceStateEnum[keyof typeof HostingV1PocketBaseBackendCreatedResourceStateEnum];
10190
+ /**
10191
+ *
10192
+ * @export
10193
+ * @interface HostingV1PocketBaseBackendResource
10194
+ */
10195
+ export interface HostingV1PocketBaseBackendResource {
10196
+ /**
10197
+ * PocketBase instance ID
10198
+ * @type {string}
10199
+ * @memberof HostingV1PocketBaseBackendResource
10200
+ */
10201
+ 'instance_id': string;
10202
+ /**
10203
+ * Website domain that serves the PocketBase API
10204
+ * @type {string}
10205
+ * @memberof HostingV1PocketBaseBackendResource
10206
+ */
10207
+ 'domain': string;
10208
+ /**
10209
+ * Base URL of the PocketBase REST API
10210
+ * @type {string}
10211
+ * @memberof HostingV1PocketBaseBackendResource
10212
+ */
10213
+ 'api_url': string;
10214
+ /**
10215
+ * URL of the PocketBase dashboard
10216
+ * @type {string}
10217
+ * @memberof HostingV1PocketBaseBackendResource
10218
+ */
10219
+ 'admin_url': string;
10220
+ /**
10221
+ * Live process state. The instance sleeps when idle and wakes on the first request. Null when the server could not be reached.
10222
+ * @type {string}
10223
+ * @memberof HostingV1PocketBaseBackendResource
10224
+ */
10225
+ 'state': HostingV1PocketBaseBackendResourceStateEnum | null;
10226
+ /**
10227
+ * PocketBase version
10228
+ * @type {string}
10229
+ * @memberof HostingV1PocketBaseBackendResource
10230
+ */
10231
+ 'version': string | null;
10232
+ /**
10233
+ * What to do next with this backend
10234
+ * @type {Array<string>}
10235
+ * @memberof HostingV1PocketBaseBackendResource
10236
+ */
10237
+ 'next_steps': Array<string>;
10238
+ }
10239
+ export declare const HostingV1PocketBaseBackendResourceStateEnum: {
10240
+ readonly Asleep: "asleep";
10241
+ readonly Starting: "starting";
10242
+ readonly Running: "running";
10243
+ readonly Stopping: "stopping";
10244
+ readonly Failed: "failed";
10245
+ readonly Unregistered: "unregistered";
10246
+ readonly Unknown: "unknown";
10247
+ readonly Missing: "missing";
10248
+ };
10249
+ export type HostingV1PocketBaseBackendResourceStateEnum = typeof HostingV1PocketBaseBackendResourceStateEnum[keyof typeof HostingV1PocketBaseBackendResourceStateEnum];
10250
+ /**
10251
+ *
10252
+ * @export
10253
+ * @interface HostingV1PocketBaseCreateBackendRequest
10254
+ */
10255
+ export interface HostingV1PocketBaseCreateBackendRequest {
10256
+ /**
10257
+ * Email of the PocketBase superuser. Defaults to the email of the website owner.
10258
+ * @type {string}
10259
+ * @memberof HostingV1PocketBaseCreateBackendRequest
10260
+ */
10261
+ 'superuser_email': string | null;
10262
+ /**
10263
+ * Password for the PocketBase superuser, 10-128 characters. Leave it out to have a strong one generated. Either way it is returned once in the response and never stored.
10264
+ * @type {string}
10265
+ * @memberof HostingV1PocketBaseCreateBackendRequest
10266
+ */
10267
+ 'superuser_password': string | null;
10268
+ }
10269
+ /**
10270
+ *
10271
+ * @export
10272
+ * @interface HostingV1PocketBaseInstanceResource
10273
+ */
10274
+ export interface HostingV1PocketBaseInstanceResource {
10275
+ /**
10276
+ * PocketBase instance ID
10277
+ * @type {string}
10278
+ * @memberof HostingV1PocketBaseInstanceResource
10279
+ */
10280
+ 'instance_id': string;
10281
+ /**
10282
+ * Website domain that serves the PocketBase API
10283
+ * @type {string}
10284
+ * @memberof HostingV1PocketBaseInstanceResource
10285
+ */
10286
+ 'domain': string;
10287
+ /**
10288
+ * Base URL of the PocketBase REST API
10289
+ * @type {string}
10290
+ * @memberof HostingV1PocketBaseInstanceResource
10291
+ */
10292
+ 'api_url': string;
10293
+ /**
10294
+ * URL of the PocketBase dashboard
10295
+ * @type {string}
10296
+ * @memberof HostingV1PocketBaseInstanceResource
10297
+ */
10298
+ 'admin_url': string;
10299
+ /**
10300
+ * Live process state. The instance sleeps when idle and wakes on the first request. Null when the server could not be reached.
10301
+ * @type {string}
10302
+ * @memberof HostingV1PocketBaseInstanceResource
10303
+ */
10304
+ 'state': HostingV1PocketBaseInstanceResourceStateEnum | null;
10305
+ /**
10306
+ * PocketBase version
10307
+ * @type {string}
10308
+ * @memberof HostingV1PocketBaseInstanceResource
10309
+ */
10310
+ 'version': string | null;
10311
+ /**
10312
+ * Disk space used by the instance data, in KB
10313
+ * @type {number}
10314
+ * @memberof HostingV1PocketBaseInstanceResource
10315
+ */
10316
+ 'disk_usage_kb': number | null;
10317
+ }
10318
+ export declare const HostingV1PocketBaseInstanceResourceStateEnum: {
10319
+ readonly Asleep: "asleep";
10320
+ readonly Starting: "starting";
10321
+ readonly Running: "running";
10322
+ readonly Stopping: "stopping";
10323
+ readonly Failed: "failed";
10324
+ readonly Unregistered: "unregistered";
10325
+ readonly Unknown: "unknown";
10326
+ readonly Missing: "missing";
10327
+ };
10328
+ export type HostingV1PocketBaseInstanceResourceStateEnum = typeof HostingV1PocketBaseInstanceResourceStateEnum[keyof typeof HostingV1PocketBaseInstanceResourceStateEnum];
10329
+ /**
10330
+ *
10331
+ * @export
10332
+ * @interface HostingV1PocketBaseSuperuserResource
10333
+ */
10334
+ export interface HostingV1PocketBaseSuperuserResource {
10335
+ /**
10336
+ * Website domain that serves the PocketBase API
10337
+ * @type {string}
10338
+ * @memberof HostingV1PocketBaseSuperuserResource
10339
+ */
10340
+ 'domain': string;
10341
+ /**
10342
+ * Email of the superuser that was created or got the new password
10343
+ * @type {string}
10344
+ * @memberof HostingV1PocketBaseSuperuserResource
10345
+ */
10346
+ 'superuser_email': string;
10347
+ /**
10348
+ * The new password of that superuser, generated when the request had none. Hostinger does not store it and will not show it again, so save it right away.
10349
+ * @type {string}
10350
+ * @memberof HostingV1PocketBaseSuperuserResource
10351
+ */
10352
+ 'superuser_password': string;
10353
+ }
10354
+ /**
10355
+ *
10356
+ * @export
10357
+ * @interface HostingV1PocketBaseUpdateSuperuserRequest
10358
+ */
10359
+ export interface HostingV1PocketBaseUpdateSuperuserRequest {
10360
+ /**
10361
+ * Email of the superuser to create or update. Defaults to the email of the website owner.
10362
+ * @type {string}
10363
+ * @memberof HostingV1PocketBaseUpdateSuperuserRequest
10364
+ */
10365
+ 'superuser_email': string | null;
10366
+ /**
10367
+ * New password of the PocketBase superuser, 10-128 characters. Leave it out to have a strong one generated. Either way it is returned once in the response and never stored.
10368
+ * @type {string}
10369
+ * @memberof HostingV1PocketBaseUpdateSuperuserRequest
10370
+ */
10371
+ 'superuser_password': string | null;
10372
+ }
10118
10373
  /**
10119
10374
  *
10120
10375
  * @export
@@ -10818,7 +11073,7 @@ export interface MailV1ApiTokensApiTokenCreatedResource {
10818
11073
  */
10819
11074
  'id': string;
10820
11075
  /**
10821
- * Plaintext API token, returned only in this response. Grants access to the [Hostinger Email API](https://api.mail.hostinger.com/) for mailbox provisioning and management.
11076
+ * Plaintext API token, returned only in this response. Grants access to the mailboxes it is scoped to through the [Hostinger Mail API](https://api.mail.hostinger.com/).
10822
11077
  * @type {string}
10823
11078
  * @memberof MailV1ApiTokensApiTokenCreatedResource
10824
11079
  */
@@ -17943,7 +18198,7 @@ export interface WordPressV1InstallationsInstallWordPressRequest {
17943
18198
  */
17944
18199
  'language': string | null;
17945
18200
  /**
17946
- * Installation kind; `default` when omitted. `headless` installs WordPress into the `cms` directory with the Hostinger headless MU plugin and marks the website as a headless WordPress website. Accepted only for a website that is already headless, e.g. one created by `POST /api/hosting/v1/orders/{order_id}/onboardings` (`hosting_websites_create`) with `type: headless_empty`; any other website is rejected with 422.
18201
+ * Installation kind; `default` when omitted. `headless` installs WordPress into the `cms` directory with the Hostinger headless MU plugin and marks the website as a headless WordPress website. Accepted only for an empty headless website, e.g. one created by `POST /api/hosting/v1/orders/{order_id}/onboardings` (`hosting_websites_create`) with `type: headless_empty`; any other website, including a headless website that already has WordPress or a PocketBase backend, is rejected with 422.
17947
18202
  * @type {string}
17948
18203
  * @memberof WordPressV1InstallationsInstallWordPressRequest
17949
18204
  */
@@ -28258,6 +28513,221 @@ export declare class HostingPHPApi extends BaseAPI {
28258
28513
  */
28259
28514
  updatePHPVersionV1(username: string, domain: string, hostingV1PhpUpdatePhpVersionRequest: HostingV1PhpUpdatePhpVersionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
28260
28515
  }
28516
+ /**
28517
+ * HostingPocketBaseApi - axios parameter creator
28518
+ * @export
28519
+ */
28520
+ export declare const HostingPocketBaseApiAxiosParamCreator: (configuration?: Configuration) => {
28521
+ /**
28522
+ * Creates a PocketBase backend for a website: a database, authentication, file storage and a realtime REST API, served from the website\'s own domain. A website has at most one PocketBase backend. Creation usually takes a few seconds. The backend takes over the `/api` and `/_` paths of the website: from then on requests to these paths and everything below them go to PocketBase, while every other path keeps serving the website. Do not create a backend for a website that serves its own `/api` or `/_` paths, because they stop working; confirm with the user before calling it. Deleting the backend gives both paths back to the website. Headless WordPress websites and parked domains are not supported; for a parked domain, use the website it is parked on. A website that already has a backend is rejected with 422, unless that backend is in state `missing`: then it is replaced with a new, empty one. A website set up with `type: headless_empty` becomes `headless_pocketbase`; any other website keeps its type. `superuser_password` is optional: leave it out to get a strong generated password, or send your own (10-128 characters). The response returns it in `superuser_password` once and Hostinger never stores it, so save it in your app secrets right away; you need it to manage the backend through the PocketBase REST API. If it is lost, set a new one with the `Set PocketBase superuser` endpoint. `superuser_email` defaults to the email of the website owner. The instance sleeps when idle and wakes on the first request, so the first call after a quiet period can take a few seconds. `next_steps` in the response lists what to do next. PocketBase is rolling out gradually: an account without access yet gets 422.
28523
+ * @summary Create PocketBase backend
28524
+ * @param {string} username
28525
+ * @param {string} domain Domain name
28526
+ * @param {HostingV1PocketBaseCreateBackendRequest} [hostingV1PocketBaseCreateBackendRequest]
28527
+ * @param {*} [options] Override http request option.
28528
+ * @throws {RequiredError}
28529
+ */
28530
+ createPocketBaseBackendV1: (username: string, domain: string, hostingV1PocketBaseCreateBackendRequest?: HostingV1PocketBaseCreateBackendRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28531
+ /**
28532
+ * Permanently deletes the PocketBase backend of a website with all its data (collections, records, users and uploaded files) and gives the `/api` and `/_` paths back to the website; a `headless_pocketbase` website becomes `headless_empty`. This cannot be undone and every app using this backend stops working, so confirm with the user before calling it and export the data you need from the dashboard (`admin_url`) first. Returns success also when the website has no PocketBase backend; then it only clears a `headless_pocketbase` mark. To regain access after losing the superuser password, use the `Set PocketBase superuser` endpoint instead of deleting the backend. PocketBase is rolling out gradually: an account without access yet gets 422; an unknown website gets 404.
28533
+ * @summary Delete PocketBase backend
28534
+ * @param {string} username
28535
+ * @param {string} domain Domain name
28536
+ * @param {*} [options] Override http request option.
28537
+ * @throws {RequiredError}
28538
+ */
28539
+ deletePocketBaseBackendV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28540
+ /**
28541
+ * Returns the PocketBase backend of a website: its REST API and dashboard URLs, live state and version. A PocketBase backend gives the website a database, authentication, file storage and a realtime REST API, served from the website\'s own domain under `/api` and `/_`. Returns 404 when the website has no PocketBase backend. The superuser password is only shown once, when it is set, and is never returned here. If it is lost, set a new one with the `Set PocketBase superuser` endpoint. The instance sleeps when idle and wakes on the first request, so `asleep` is a normal state and the first call to a sleeping instance can take a few seconds. `starting`, `running` and `stopping` are healthy; `failed` or `unregistered` mean the instance is broken; `missing` means its files are gone from the server, and creating the PocketBase backend again sets up a new, empty one. `state` is null when the server could not be reached; retry later. PocketBase is rolling out gradually: an account without access yet gets 422.
28542
+ * @summary Get PocketBase backend
28543
+ * @param {string} username
28544
+ * @param {string} domain Domain name
28545
+ * @param {*} [options] Override http request option.
28546
+ * @throws {RequiredError}
28547
+ */
28548
+ getPocketBaseBackendV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28549
+ /**
28550
+ * Lists the PocketBase backends of all websites of a hosting account with their URLs, live state, version and disk usage. A PocketBase backend gives a website a database, authentication, file storage and a realtime REST API, served from the website\'s own domain. An empty list means no website of the account has a PocketBase backend. States: `asleep` is normal (the instance sleeps when idle and wakes on the first request); `starting`, `running` and `stopping` are healthy; `failed` or `unregistered` mean the instance is broken; `missing` means its files are gone from the server, and creating the PocketBase backend again sets up a new, empty one. `state` is null when the server could not be reached; retry later. PocketBase is rolling out gradually: an account without access yet gets 422.
28551
+ * @summary List account PocketBase backends
28552
+ * @param {string} username
28553
+ * @param {*} [options] Override http request option.
28554
+ * @throws {RequiredError}
28555
+ */
28556
+ listAccountPocketBaseBackendsV1: (username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28557
+ /**
28558
+ * Sets the password of a superuser of the website\'s PocketBase backend, and creates that superuser when there is none with the given email. The old password of that superuser stops working at once, so apps and scripts still using it lose superuser access; confirm with the user before calling it. Use it when the superuser password is lost (Hostinger never stores it), when it leaked and must be rotated, or to add another superuser with a different email. Returns 404 when the website has no PocketBase backend; create one first. App user accounts are managed through the PocketBase REST API, not here. `superuser_password` is optional: leave it out to get a strong generated password, or send your own (10-128 characters). The response returns it in `superuser_password` once and Hostinger never stores it, so save it in your app secrets right away, then authenticate again with `pb.collection(\'_superusers\').authWithPassword`. `superuser_email` defaults to the email of the website owner. PocketBase is rolling out gradually: an account without access yet gets 422.
28559
+ * @summary Set PocketBase superuser
28560
+ * @param {string} username
28561
+ * @param {string} domain Domain name
28562
+ * @param {HostingV1PocketBaseUpdateSuperuserRequest} [hostingV1PocketBaseUpdateSuperuserRequest]
28563
+ * @param {*} [options] Override http request option.
28564
+ * @throws {RequiredError}
28565
+ */
28566
+ setPocketBaseSuperuserV1: (username: string, domain: string, hostingV1PocketBaseUpdateSuperuserRequest?: HostingV1PocketBaseUpdateSuperuserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28567
+ };
28568
+ /**
28569
+ * HostingPocketBaseApi - functional programming interface
28570
+ * @export
28571
+ */
28572
+ export declare const HostingPocketBaseApiFp: (configuration?: Configuration) => {
28573
+ /**
28574
+ * Creates a PocketBase backend for a website: a database, authentication, file storage and a realtime REST API, served from the website\'s own domain. A website has at most one PocketBase backend. Creation usually takes a few seconds. The backend takes over the `/api` and `/_` paths of the website: from then on requests to these paths and everything below them go to PocketBase, while every other path keeps serving the website. Do not create a backend for a website that serves its own `/api` or `/_` paths, because they stop working; confirm with the user before calling it. Deleting the backend gives both paths back to the website. Headless WordPress websites and parked domains are not supported; for a parked domain, use the website it is parked on. A website that already has a backend is rejected with 422, unless that backend is in state `missing`: then it is replaced with a new, empty one. A website set up with `type: headless_empty` becomes `headless_pocketbase`; any other website keeps its type. `superuser_password` is optional: leave it out to get a strong generated password, or send your own (10-128 characters). The response returns it in `superuser_password` once and Hostinger never stores it, so save it in your app secrets right away; you need it to manage the backend through the PocketBase REST API. If it is lost, set a new one with the `Set PocketBase superuser` endpoint. `superuser_email` defaults to the email of the website owner. The instance sleeps when idle and wakes on the first request, so the first call after a quiet period can take a few seconds. `next_steps` in the response lists what to do next. PocketBase is rolling out gradually: an account without access yet gets 422.
28575
+ * @summary Create PocketBase backend
28576
+ * @param {string} username
28577
+ * @param {string} domain Domain name
28578
+ * @param {HostingV1PocketBaseCreateBackendRequest} [hostingV1PocketBaseCreateBackendRequest]
28579
+ * @param {*} [options] Override http request option.
28580
+ * @throws {RequiredError}
28581
+ */
28582
+ createPocketBaseBackendV1(username: string, domain: string, hostingV1PocketBaseCreateBackendRequest?: HostingV1PocketBaseCreateBackendRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1PocketBaseBackendCreatedResource>>;
28583
+ /**
28584
+ * Permanently deletes the PocketBase backend of a website with all its data (collections, records, users and uploaded files) and gives the `/api` and `/_` paths back to the website; a `headless_pocketbase` website becomes `headless_empty`. This cannot be undone and every app using this backend stops working, so confirm with the user before calling it and export the data you need from the dashboard (`admin_url`) first. Returns success also when the website has no PocketBase backend; then it only clears a `headless_pocketbase` mark. To regain access after losing the superuser password, use the `Set PocketBase superuser` endpoint instead of deleting the backend. PocketBase is rolling out gradually: an account without access yet gets 422; an unknown website gets 404.
28585
+ * @summary Delete PocketBase backend
28586
+ * @param {string} username
28587
+ * @param {string} domain Domain name
28588
+ * @param {*} [options] Override http request option.
28589
+ * @throws {RequiredError}
28590
+ */
28591
+ deletePocketBaseBackendV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
28592
+ /**
28593
+ * Returns the PocketBase backend of a website: its REST API and dashboard URLs, live state and version. A PocketBase backend gives the website a database, authentication, file storage and a realtime REST API, served from the website\'s own domain under `/api` and `/_`. Returns 404 when the website has no PocketBase backend. The superuser password is only shown once, when it is set, and is never returned here. If it is lost, set a new one with the `Set PocketBase superuser` endpoint. The instance sleeps when idle and wakes on the first request, so `asleep` is a normal state and the first call to a sleeping instance can take a few seconds. `starting`, `running` and `stopping` are healthy; `failed` or `unregistered` mean the instance is broken; `missing` means its files are gone from the server, and creating the PocketBase backend again sets up a new, empty one. `state` is null when the server could not be reached; retry later. PocketBase is rolling out gradually: an account without access yet gets 422.
28594
+ * @summary Get PocketBase backend
28595
+ * @param {string} username
28596
+ * @param {string} domain Domain name
28597
+ * @param {*} [options] Override http request option.
28598
+ * @throws {RequiredError}
28599
+ */
28600
+ getPocketBaseBackendV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1PocketBaseBackendResource>>;
28601
+ /**
28602
+ * Lists the PocketBase backends of all websites of a hosting account with their URLs, live state, version and disk usage. A PocketBase backend gives a website a database, authentication, file storage and a realtime REST API, served from the website\'s own domain. An empty list means no website of the account has a PocketBase backend. States: `asleep` is normal (the instance sleeps when idle and wakes on the first request); `starting`, `running` and `stopping` are healthy; `failed` or `unregistered` mean the instance is broken; `missing` means its files are gone from the server, and creating the PocketBase backend again sets up a new, empty one. `state` is null when the server could not be reached; retry later. PocketBase is rolling out gradually: an account without access yet gets 422.
28603
+ * @summary List account PocketBase backends
28604
+ * @param {string} username
28605
+ * @param {*} [options] Override http request option.
28606
+ * @throws {RequiredError}
28607
+ */
28608
+ listAccountPocketBaseBackendsV1(username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HostingV1PocketBaseInstanceResource>>>;
28609
+ /**
28610
+ * Sets the password of a superuser of the website\'s PocketBase backend, and creates that superuser when there is none with the given email. The old password of that superuser stops working at once, so apps and scripts still using it lose superuser access; confirm with the user before calling it. Use it when the superuser password is lost (Hostinger never stores it), when it leaked and must be rotated, or to add another superuser with a different email. Returns 404 when the website has no PocketBase backend; create one first. App user accounts are managed through the PocketBase REST API, not here. `superuser_password` is optional: leave it out to get a strong generated password, or send your own (10-128 characters). The response returns it in `superuser_password` once and Hostinger never stores it, so save it in your app secrets right away, then authenticate again with `pb.collection(\'_superusers\').authWithPassword`. `superuser_email` defaults to the email of the website owner. PocketBase is rolling out gradually: an account without access yet gets 422.
28611
+ * @summary Set PocketBase superuser
28612
+ * @param {string} username
28613
+ * @param {string} domain Domain name
28614
+ * @param {HostingV1PocketBaseUpdateSuperuserRequest} [hostingV1PocketBaseUpdateSuperuserRequest]
28615
+ * @param {*} [options] Override http request option.
28616
+ * @throws {RequiredError}
28617
+ */
28618
+ setPocketBaseSuperuserV1(username: string, domain: string, hostingV1PocketBaseUpdateSuperuserRequest?: HostingV1PocketBaseUpdateSuperuserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1PocketBaseSuperuserResource>>;
28619
+ };
28620
+ /**
28621
+ * HostingPocketBaseApi - factory interface
28622
+ * @export
28623
+ */
28624
+ export declare const HostingPocketBaseApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
28625
+ /**
28626
+ * Creates a PocketBase backend for a website: a database, authentication, file storage and a realtime REST API, served from the website\'s own domain. A website has at most one PocketBase backend. Creation usually takes a few seconds. The backend takes over the `/api` and `/_` paths of the website: from then on requests to these paths and everything below them go to PocketBase, while every other path keeps serving the website. Do not create a backend for a website that serves its own `/api` or `/_` paths, because they stop working; confirm with the user before calling it. Deleting the backend gives both paths back to the website. Headless WordPress websites and parked domains are not supported; for a parked domain, use the website it is parked on. A website that already has a backend is rejected with 422, unless that backend is in state `missing`: then it is replaced with a new, empty one. A website set up with `type: headless_empty` becomes `headless_pocketbase`; any other website keeps its type. `superuser_password` is optional: leave it out to get a strong generated password, or send your own (10-128 characters). The response returns it in `superuser_password` once and Hostinger never stores it, so save it in your app secrets right away; you need it to manage the backend through the PocketBase REST API. If it is lost, set a new one with the `Set PocketBase superuser` endpoint. `superuser_email` defaults to the email of the website owner. The instance sleeps when idle and wakes on the first request, so the first call after a quiet period can take a few seconds. `next_steps` in the response lists what to do next. PocketBase is rolling out gradually: an account without access yet gets 422.
28627
+ * @summary Create PocketBase backend
28628
+ * @param {string} username
28629
+ * @param {string} domain Domain name
28630
+ * @param {HostingV1PocketBaseCreateBackendRequest} [hostingV1PocketBaseCreateBackendRequest]
28631
+ * @param {*} [options] Override http request option.
28632
+ * @throws {RequiredError}
28633
+ */
28634
+ createPocketBaseBackendV1(username: string, domain: string, hostingV1PocketBaseCreateBackendRequest?: HostingV1PocketBaseCreateBackendRequest, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1PocketBaseBackendCreatedResource>;
28635
+ /**
28636
+ * Permanently deletes the PocketBase backend of a website with all its data (collections, records, users and uploaded files) and gives the `/api` and `/_` paths back to the website; a `headless_pocketbase` website becomes `headless_empty`. This cannot be undone and every app using this backend stops working, so confirm with the user before calling it and export the data you need from the dashboard (`admin_url`) first. Returns success also when the website has no PocketBase backend; then it only clears a `headless_pocketbase` mark. To regain access after losing the superuser password, use the `Set PocketBase superuser` endpoint instead of deleting the backend. PocketBase is rolling out gradually: an account without access yet gets 422; an unknown website gets 404.
28637
+ * @summary Delete PocketBase backend
28638
+ * @param {string} username
28639
+ * @param {string} domain Domain name
28640
+ * @param {*} [options] Override http request option.
28641
+ * @throws {RequiredError}
28642
+ */
28643
+ deletePocketBaseBackendV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
28644
+ /**
28645
+ * Returns the PocketBase backend of a website: its REST API and dashboard URLs, live state and version. A PocketBase backend gives the website a database, authentication, file storage and a realtime REST API, served from the website\'s own domain under `/api` and `/_`. Returns 404 when the website has no PocketBase backend. The superuser password is only shown once, when it is set, and is never returned here. If it is lost, set a new one with the `Set PocketBase superuser` endpoint. The instance sleeps when idle and wakes on the first request, so `asleep` is a normal state and the first call to a sleeping instance can take a few seconds. `starting`, `running` and `stopping` are healthy; `failed` or `unregistered` mean the instance is broken; `missing` means its files are gone from the server, and creating the PocketBase backend again sets up a new, empty one. `state` is null when the server could not be reached; retry later. PocketBase is rolling out gradually: an account without access yet gets 422.
28646
+ * @summary Get PocketBase backend
28647
+ * @param {string} username
28648
+ * @param {string} domain Domain name
28649
+ * @param {*} [options] Override http request option.
28650
+ * @throws {RequiredError}
28651
+ */
28652
+ getPocketBaseBackendV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1PocketBaseBackendResource>;
28653
+ /**
28654
+ * Lists the PocketBase backends of all websites of a hosting account with their URLs, live state, version and disk usage. A PocketBase backend gives a website a database, authentication, file storage and a realtime REST API, served from the website\'s own domain. An empty list means no website of the account has a PocketBase backend. States: `asleep` is normal (the instance sleeps when idle and wakes on the first request); `starting`, `running` and `stopping` are healthy; `failed` or `unregistered` mean the instance is broken; `missing` means its files are gone from the server, and creating the PocketBase backend again sets up a new, empty one. `state` is null when the server could not be reached; retry later. PocketBase is rolling out gradually: an account without access yet gets 422.
28655
+ * @summary List account PocketBase backends
28656
+ * @param {string} username
28657
+ * @param {*} [options] Override http request option.
28658
+ * @throws {RequiredError}
28659
+ */
28660
+ listAccountPocketBaseBackendsV1(username: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<HostingV1PocketBaseInstanceResource>>;
28661
+ /**
28662
+ * Sets the password of a superuser of the website\'s PocketBase backend, and creates that superuser when there is none with the given email. The old password of that superuser stops working at once, so apps and scripts still using it lose superuser access; confirm with the user before calling it. Use it when the superuser password is lost (Hostinger never stores it), when it leaked and must be rotated, or to add another superuser with a different email. Returns 404 when the website has no PocketBase backend; create one first. App user accounts are managed through the PocketBase REST API, not here. `superuser_password` is optional: leave it out to get a strong generated password, or send your own (10-128 characters). The response returns it in `superuser_password` once and Hostinger never stores it, so save it in your app secrets right away, then authenticate again with `pb.collection(\'_superusers\').authWithPassword`. `superuser_email` defaults to the email of the website owner. PocketBase is rolling out gradually: an account without access yet gets 422.
28663
+ * @summary Set PocketBase superuser
28664
+ * @param {string} username
28665
+ * @param {string} domain Domain name
28666
+ * @param {HostingV1PocketBaseUpdateSuperuserRequest} [hostingV1PocketBaseUpdateSuperuserRequest]
28667
+ * @param {*} [options] Override http request option.
28668
+ * @throws {RequiredError}
28669
+ */
28670
+ setPocketBaseSuperuserV1(username: string, domain: string, hostingV1PocketBaseUpdateSuperuserRequest?: HostingV1PocketBaseUpdateSuperuserRequest, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1PocketBaseSuperuserResource>;
28671
+ };
28672
+ /**
28673
+ * HostingPocketBaseApi - object-oriented interface
28674
+ * @export
28675
+ * @class HostingPocketBaseApi
28676
+ * @extends {BaseAPI}
28677
+ */
28678
+ export declare class HostingPocketBaseApi extends BaseAPI {
28679
+ /**
28680
+ * Creates a PocketBase backend for a website: a database, authentication, file storage and a realtime REST API, served from the website\'s own domain. A website has at most one PocketBase backend. Creation usually takes a few seconds. The backend takes over the `/api` and `/_` paths of the website: from then on requests to these paths and everything below them go to PocketBase, while every other path keeps serving the website. Do not create a backend for a website that serves its own `/api` or `/_` paths, because they stop working; confirm with the user before calling it. Deleting the backend gives both paths back to the website. Headless WordPress websites and parked domains are not supported; for a parked domain, use the website it is parked on. A website that already has a backend is rejected with 422, unless that backend is in state `missing`: then it is replaced with a new, empty one. A website set up with `type: headless_empty` becomes `headless_pocketbase`; any other website keeps its type. `superuser_password` is optional: leave it out to get a strong generated password, or send your own (10-128 characters). The response returns it in `superuser_password` once and Hostinger never stores it, so save it in your app secrets right away; you need it to manage the backend through the PocketBase REST API. If it is lost, set a new one with the `Set PocketBase superuser` endpoint. `superuser_email` defaults to the email of the website owner. The instance sleeps when idle and wakes on the first request, so the first call after a quiet period can take a few seconds. `next_steps` in the response lists what to do next. PocketBase is rolling out gradually: an account without access yet gets 422.
28681
+ * @summary Create PocketBase backend
28682
+ * @param {string} username
28683
+ * @param {string} domain Domain name
28684
+ * @param {HostingV1PocketBaseCreateBackendRequest} [hostingV1PocketBaseCreateBackendRequest]
28685
+ * @param {*} [options] Override http request option.
28686
+ * @throws {RequiredError}
28687
+ * @memberof HostingPocketBaseApi
28688
+ */
28689
+ createPocketBaseBackendV1(username: string, domain: string, hostingV1PocketBaseCreateBackendRequest?: HostingV1PocketBaseCreateBackendRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1PocketBaseBackendCreatedResource, any, {}, any>>;
28690
+ /**
28691
+ * Permanently deletes the PocketBase backend of a website with all its data (collections, records, users and uploaded files) and gives the `/api` and `/_` paths back to the website; a `headless_pocketbase` website becomes `headless_empty`. This cannot be undone and every app using this backend stops working, so confirm with the user before calling it and export the data you need from the dashboard (`admin_url`) first. Returns success also when the website has no PocketBase backend; then it only clears a `headless_pocketbase` mark. To regain access after losing the superuser password, use the `Set PocketBase superuser` endpoint instead of deleting the backend. PocketBase is rolling out gradually: an account without access yet gets 422; an unknown website gets 404.
28692
+ * @summary Delete PocketBase backend
28693
+ * @param {string} username
28694
+ * @param {string} domain Domain name
28695
+ * @param {*} [options] Override http request option.
28696
+ * @throws {RequiredError}
28697
+ * @memberof HostingPocketBaseApi
28698
+ */
28699
+ deletePocketBaseBackendV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
28700
+ /**
28701
+ * Returns the PocketBase backend of a website: its REST API and dashboard URLs, live state and version. A PocketBase backend gives the website a database, authentication, file storage and a realtime REST API, served from the website\'s own domain under `/api` and `/_`. Returns 404 when the website has no PocketBase backend. The superuser password is only shown once, when it is set, and is never returned here. If it is lost, set a new one with the `Set PocketBase superuser` endpoint. The instance sleeps when idle and wakes on the first request, so `asleep` is a normal state and the first call to a sleeping instance can take a few seconds. `starting`, `running` and `stopping` are healthy; `failed` or `unregistered` mean the instance is broken; `missing` means its files are gone from the server, and creating the PocketBase backend again sets up a new, empty one. `state` is null when the server could not be reached; retry later. PocketBase is rolling out gradually: an account without access yet gets 422.
28702
+ * @summary Get PocketBase backend
28703
+ * @param {string} username
28704
+ * @param {string} domain Domain name
28705
+ * @param {*} [options] Override http request option.
28706
+ * @throws {RequiredError}
28707
+ * @memberof HostingPocketBaseApi
28708
+ */
28709
+ getPocketBaseBackendV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1PocketBaseBackendResource, any, {}, any>>;
28710
+ /**
28711
+ * Lists the PocketBase backends of all websites of a hosting account with their URLs, live state, version and disk usage. A PocketBase backend gives a website a database, authentication, file storage and a realtime REST API, served from the website\'s own domain. An empty list means no website of the account has a PocketBase backend. States: `asleep` is normal (the instance sleeps when idle and wakes on the first request); `starting`, `running` and `stopping` are healthy; `failed` or `unregistered` mean the instance is broken; `missing` means its files are gone from the server, and creating the PocketBase backend again sets up a new, empty one. `state` is null when the server could not be reached; retry later. PocketBase is rolling out gradually: an account without access yet gets 422.
28712
+ * @summary List account PocketBase backends
28713
+ * @param {string} username
28714
+ * @param {*} [options] Override http request option.
28715
+ * @throws {RequiredError}
28716
+ * @memberof HostingPocketBaseApi
28717
+ */
28718
+ listAccountPocketBaseBackendsV1(username: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1PocketBaseInstanceResource[], any, {}, any>>;
28719
+ /**
28720
+ * Sets the password of a superuser of the website\'s PocketBase backend, and creates that superuser when there is none with the given email. The old password of that superuser stops working at once, so apps and scripts still using it lose superuser access; confirm with the user before calling it. Use it when the superuser password is lost (Hostinger never stores it), when it leaked and must be rotated, or to add another superuser with a different email. Returns 404 when the website has no PocketBase backend; create one first. App user accounts are managed through the PocketBase REST API, not here. `superuser_password` is optional: leave it out to get a strong generated password, or send your own (10-128 characters). The response returns it in `superuser_password` once and Hostinger never stores it, so save it in your app secrets right away, then authenticate again with `pb.collection(\'_superusers\').authWithPassword`. `superuser_email` defaults to the email of the website owner. PocketBase is rolling out gradually: an account without access yet gets 422.
28721
+ * @summary Set PocketBase superuser
28722
+ * @param {string} username
28723
+ * @param {string} domain Domain name
28724
+ * @param {HostingV1PocketBaseUpdateSuperuserRequest} [hostingV1PocketBaseUpdateSuperuserRequest]
28725
+ * @param {*} [options] Override http request option.
28726
+ * @throws {RequiredError}
28727
+ * @memberof HostingPocketBaseApi
28728
+ */
28729
+ setPocketBaseSuperuserV1(username: string, domain: string, hostingV1PocketBaseUpdateSuperuserRequest?: HostingV1PocketBaseUpdateSuperuserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1PocketBaseSuperuserResource, any, {}, any>>;
28730
+ }
28261
28731
  /**
28262
28732
  * HostingRedirectsApi - axios parameter creator
28263
28733
  * @export
@@ -28646,7 +29116,7 @@ export declare const HostingWebsitesApiAxiosParamCreator: (configuration?: Confi
28646
29116
  */
28647
29117
  listWebsitesV1: (page?: number, perPage?: number, username?: string | null, orderId?: number | null, isEnabled?: boolean | null, domain?: string | null, websiteTypes?: Array<ListWebsitesV1WebsiteTypesEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28648
29118
  /**
28649
- * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain; the created setup returns it as `domain`. REST clients that need to know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, can generate one through `POST /api/hosting/v1/domains/free-subdomains` and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
29119
+ * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_pocketbase` marks the website as a headless PocketBase website but installs nothing: create its PocketBase backend with `Create PocketBase backend` (`POST /api/hosting/v1/accounts/{username}/websites/{domain}/pocketbase`) once the setup is `completed`. `headless_empty` installs nothing either: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`, or a PocketBase backend through the same PocketBase endpoint. Omit `domain` to set the website up on a generated temporary free subdomain; the created setup returns it as `domain`. REST clients that need to know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, can generate one through `POST /api/hosting/v1/domains/free-subdomains` and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
28650
29120
  * @summary Start website setup
28651
29121
  * @param {number} orderId Hosting order ID. List orders to find available IDs.
28652
29122
  * @param {HostingV1OnboardingsStartOnboardingRequest} hostingV1OnboardingsStartOnboardingRequest
@@ -28712,7 +29182,7 @@ export declare const HostingWebsitesApiFp: (configuration?: Configuration) => {
28712
29182
  */
28713
29183
  listWebsitesV1(page?: number, perPage?: number, username?: string | null, orderId?: number | null, isEnabled?: boolean | null, domain?: string | null, websiteTypes?: Array<ListWebsitesV1WebsiteTypesEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingListWebsitesV1200Response>>;
28714
29184
  /**
28715
- * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain; the created setup returns it as `domain`. REST clients that need to know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, can generate one through `POST /api/hosting/v1/domains/free-subdomains` and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
29185
+ * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_pocketbase` marks the website as a headless PocketBase website but installs nothing: create its PocketBase backend with `Create PocketBase backend` (`POST /api/hosting/v1/accounts/{username}/websites/{domain}/pocketbase`) once the setup is `completed`. `headless_empty` installs nothing either: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`, or a PocketBase backend through the same PocketBase endpoint. Omit `domain` to set the website up on a generated temporary free subdomain; the created setup returns it as `domain`. REST clients that need to know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, can generate one through `POST /api/hosting/v1/domains/free-subdomains` and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
28716
29186
  * @summary Start website setup
28717
29187
  * @param {number} orderId Hosting order ID. List orders to find available IDs.
28718
29188
  * @param {HostingV1OnboardingsStartOnboardingRequest} hostingV1OnboardingsStartOnboardingRequest
@@ -28778,7 +29248,7 @@ export declare const HostingWebsitesApiFactory: (configuration?: Configuration,
28778
29248
  */
28779
29249
  listWebsitesV1(page?: number, perPage?: number, username?: string | null, orderId?: number | null, isEnabled?: boolean | null, domain?: string | null, websiteTypes?: Array<ListWebsitesV1WebsiteTypesEnum>, options?: RawAxiosRequestConfig): AxiosPromise<HostingListWebsitesV1200Response>;
28780
29250
  /**
28781
- * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain; the created setup returns it as `domain`. REST clients that need to know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, can generate one through `POST /api/hosting/v1/domains/free-subdomains` and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
29251
+ * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_pocketbase` marks the website as a headless PocketBase website but installs nothing: create its PocketBase backend with `Create PocketBase backend` (`POST /api/hosting/v1/accounts/{username}/websites/{domain}/pocketbase`) once the setup is `completed`. `headless_empty` installs nothing either: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`, or a PocketBase backend through the same PocketBase endpoint. Omit `domain` to set the website up on a generated temporary free subdomain; the created setup returns it as `domain`. REST clients that need to know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, can generate one through `POST /api/hosting/v1/domains/free-subdomains` and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
28782
29252
  * @summary Start website setup
28783
29253
  * @param {number} orderId Hosting order ID. List orders to find available IDs.
28784
29254
  * @param {HostingV1OnboardingsStartOnboardingRequest} hostingV1OnboardingsStartOnboardingRequest
@@ -28851,7 +29321,7 @@ export declare class HostingWebsitesApi extends BaseAPI {
28851
29321
  */
28852
29322
  listWebsitesV1(page?: number, perPage?: number, username?: string | null, orderId?: number | null, isEnabled?: boolean | null, domain?: string | null, websiteTypes?: Array<ListWebsitesV1WebsiteTypesEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingListWebsitesV1200Response, any, {}, any>>;
28853
29323
  /**
28854
- * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain; the created setup returns it as `domain`. REST clients that need to know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, can generate one through `POST /api/hosting/v1/domains/free-subdomains` and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
29324
+ * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_pocketbase` marks the website as a headless PocketBase website but installs nothing: create its PocketBase backend with `Create PocketBase backend` (`POST /api/hosting/v1/accounts/{username}/websites/{domain}/pocketbase`) once the setup is `completed`. `headless_empty` installs nothing either: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`, or a PocketBase backend through the same PocketBase endpoint. Omit `domain` to set the website up on a generated temporary free subdomain; the created setup returns it as `domain`. REST clients that need to know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, can generate one through `POST /api/hosting/v1/domains/free-subdomains` and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
28855
29325
  * @summary Start website setup
28856
29326
  * @param {number} orderId Hosting order ID. List orders to find available IDs.
28857
29327
  * @param {HostingV1OnboardingsStartOnboardingRequest} hostingV1OnboardingsStartOnboardingRequest
@@ -28878,7 +29348,7 @@ export type ListWebsitesV1WebsiteTypesEnum = typeof ListWebsitesV1WebsiteTypesEn
28878
29348
  */
28879
29349
  export declare const MailAPITokensApiAxiosParamCreator: (configuration?: Configuration) => {
28880
29350
  /**
28881
- * Create an API token for the given mail order. The token grants access to the [Hostinger Email API](https://api.mail.hostinger.com/), where you can provision and manage the mailboxes it is scoped to. The plaintext token is returned only in this response, never again. A maximum of 10 tokens can exist per order. Use `scope.has_all_mailboxes` to cover all current and future mailboxes, or list specific mailboxes in `scope.mailbox_ids`.
29351
+ * Create an API token for the given mail order. Through the [Hostinger Mail API](https://api.mail.hostinger.com/), the token grants access to the mailboxes it is scoped to (for example, to read, search, send and organise email messages), without signing in with a mailbox password over IMAP, SMTP or webmail. A token covers either all mailboxes of the order or only the ones you choose. Set `scope.has_all_mailboxes` to `true` to cover all current and future mailboxes, or to `false` and list specific mailboxes in `scope.mailbox_ids`. The plaintext token is returned only in this response, never again. Store it securely, because anyone who has it gets the same access. A maximum of 10 tokens can exist per order.
28882
29352
  * @summary Create API token
28883
29353
  * @param {string} orderId Order resource ID
28884
29354
  * @param {MailV1SchemaCreateApiTokenRequestSchema} mailV1SchemaCreateApiTokenRequestSchema
@@ -28887,7 +29357,7 @@ export declare const MailAPITokensApiAxiosParamCreator: (configuration?: Configu
28887
29357
  */
28888
29358
  createAPITokenV1: (orderId: string, mailV1SchemaCreateApiTokenRequestSchema: MailV1SchemaCreateApiTokenRequestSchema, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28889
29359
  /**
28890
- * Retrieve a paginated list of [Hostinger Email API](https://api.mail.hostinger.com/) tokens across all your mail orders, optionally filtered by order. Plaintext tokens are never included; they are returned only when a token is created.
29360
+ * Retrieve a paginated list of [Hostinger Mail API](https://api.mail.hostinger.com/) tokens across all your mail orders, optionally filtered by order. Plaintext tokens are never included; they are returned only when a token is created.
28891
29361
  * @summary List API tokens
28892
29362
  * @param {string | null} [orderId] Filter tokens by order resource ID. Single value or comma-separated list.
28893
29363
  * @param {number} [page] Page number
@@ -28897,7 +29367,7 @@ export declare const MailAPITokensApiAxiosParamCreator: (configuration?: Configu
28897
29367
  */
28898
29368
  listAPITokensV1: (orderId?: string | null, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28899
29369
  /**
28900
- * Revoke an API token. The token immediately loses access to the [Hostinger Email API](https://api.mail.hostinger.com/). This action cannot be undone.
29370
+ * Revoke an API token. The token immediately loses access to the [Hostinger Mail API](https://api.mail.hostinger.com/). This action cannot be undone.
28901
29371
  * @summary Revoke API token
28902
29372
  * @param {string} tokenId API token ID (returned when the token was created)
28903
29373
  * @param {*} [options] Override http request option.
@@ -28911,7 +29381,7 @@ export declare const MailAPITokensApiAxiosParamCreator: (configuration?: Configu
28911
29381
  */
28912
29382
  export declare const MailAPITokensApiFp: (configuration?: Configuration) => {
28913
29383
  /**
28914
- * Create an API token for the given mail order. The token grants access to the [Hostinger Email API](https://api.mail.hostinger.com/), where you can provision and manage the mailboxes it is scoped to. The plaintext token is returned only in this response, never again. A maximum of 10 tokens can exist per order. Use `scope.has_all_mailboxes` to cover all current and future mailboxes, or list specific mailboxes in `scope.mailbox_ids`.
29384
+ * Create an API token for the given mail order. Through the [Hostinger Mail API](https://api.mail.hostinger.com/), the token grants access to the mailboxes it is scoped to (for example, to read, search, send and organise email messages), without signing in with a mailbox password over IMAP, SMTP or webmail. A token covers either all mailboxes of the order or only the ones you choose. Set `scope.has_all_mailboxes` to `true` to cover all current and future mailboxes, or to `false` and list specific mailboxes in `scope.mailbox_ids`. The plaintext token is returned only in this response, never again. Store it securely, because anyone who has it gets the same access. A maximum of 10 tokens can exist per order.
28915
29385
  * @summary Create API token
28916
29386
  * @param {string} orderId Order resource ID
28917
29387
  * @param {MailV1SchemaCreateApiTokenRequestSchema} mailV1SchemaCreateApiTokenRequestSchema
@@ -28920,7 +29390,7 @@ export declare const MailAPITokensApiFp: (configuration?: Configuration) => {
28920
29390
  */
28921
29391
  createAPITokenV1(orderId: string, mailV1SchemaCreateApiTokenRequestSchema: MailV1SchemaCreateApiTokenRequestSchema, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MailV1ApiTokensApiTokenCreatedResource>>;
28922
29392
  /**
28923
- * Retrieve a paginated list of [Hostinger Email API](https://api.mail.hostinger.com/) tokens across all your mail orders, optionally filtered by order. Plaintext tokens are never included; they are returned only when a token is created.
29393
+ * Retrieve a paginated list of [Hostinger Mail API](https://api.mail.hostinger.com/) tokens across all your mail orders, optionally filtered by order. Plaintext tokens are never included; they are returned only when a token is created.
28924
29394
  * @summary List API tokens
28925
29395
  * @param {string | null} [orderId] Filter tokens by order resource ID. Single value or comma-separated list.
28926
29396
  * @param {number} [page] Page number
@@ -28930,7 +29400,7 @@ export declare const MailAPITokensApiFp: (configuration?: Configuration) => {
28930
29400
  */
28931
29401
  listAPITokensV1(orderId?: string | null, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MailListAPITokensV1200Response>>;
28932
29402
  /**
28933
- * Revoke an API token. The token immediately loses access to the [Hostinger Email API](https://api.mail.hostinger.com/). This action cannot be undone.
29403
+ * Revoke an API token. The token immediately loses access to the [Hostinger Mail API](https://api.mail.hostinger.com/). This action cannot be undone.
28934
29404
  * @summary Revoke API token
28935
29405
  * @param {string} tokenId API token ID (returned when the token was created)
28936
29406
  * @param {*} [options] Override http request option.
@@ -28944,7 +29414,7 @@ export declare const MailAPITokensApiFp: (configuration?: Configuration) => {
28944
29414
  */
28945
29415
  export declare const MailAPITokensApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
28946
29416
  /**
28947
- * Create an API token for the given mail order. The token grants access to the [Hostinger Email API](https://api.mail.hostinger.com/), where you can provision and manage the mailboxes it is scoped to. The plaintext token is returned only in this response, never again. A maximum of 10 tokens can exist per order. Use `scope.has_all_mailboxes` to cover all current and future mailboxes, or list specific mailboxes in `scope.mailbox_ids`.
29417
+ * Create an API token for the given mail order. Through the [Hostinger Mail API](https://api.mail.hostinger.com/), the token grants access to the mailboxes it is scoped to (for example, to read, search, send and organise email messages), without signing in with a mailbox password over IMAP, SMTP or webmail. A token covers either all mailboxes of the order or only the ones you choose. Set `scope.has_all_mailboxes` to `true` to cover all current and future mailboxes, or to `false` and list specific mailboxes in `scope.mailbox_ids`. The plaintext token is returned only in this response, never again. Store it securely, because anyone who has it gets the same access. A maximum of 10 tokens can exist per order.
28948
29418
  * @summary Create API token
28949
29419
  * @param {string} orderId Order resource ID
28950
29420
  * @param {MailV1SchemaCreateApiTokenRequestSchema} mailV1SchemaCreateApiTokenRequestSchema
@@ -28953,7 +29423,7 @@ export declare const MailAPITokensApiFactory: (configuration?: Configuration, ba
28953
29423
  */
28954
29424
  createAPITokenV1(orderId: string, mailV1SchemaCreateApiTokenRequestSchema: MailV1SchemaCreateApiTokenRequestSchema, options?: RawAxiosRequestConfig): AxiosPromise<MailV1ApiTokensApiTokenCreatedResource>;
28955
29425
  /**
28956
- * Retrieve a paginated list of [Hostinger Email API](https://api.mail.hostinger.com/) tokens across all your mail orders, optionally filtered by order. Plaintext tokens are never included; they are returned only when a token is created.
29426
+ * Retrieve a paginated list of [Hostinger Mail API](https://api.mail.hostinger.com/) tokens across all your mail orders, optionally filtered by order. Plaintext tokens are never included; they are returned only when a token is created.
28957
29427
  * @summary List API tokens
28958
29428
  * @param {string | null} [orderId] Filter tokens by order resource ID. Single value or comma-separated list.
28959
29429
  * @param {number} [page] Page number
@@ -28963,7 +29433,7 @@ export declare const MailAPITokensApiFactory: (configuration?: Configuration, ba
28963
29433
  */
28964
29434
  listAPITokensV1(orderId?: string | null, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<MailListAPITokensV1200Response>;
28965
29435
  /**
28966
- * Revoke an API token. The token immediately loses access to the [Hostinger Email API](https://api.mail.hostinger.com/). This action cannot be undone.
29436
+ * Revoke an API token. The token immediately loses access to the [Hostinger Mail API](https://api.mail.hostinger.com/). This action cannot be undone.
28967
29437
  * @summary Revoke API token
28968
29438
  * @param {string} tokenId API token ID (returned when the token was created)
28969
29439
  * @param {*} [options] Override http request option.
@@ -28979,7 +29449,7 @@ export declare const MailAPITokensApiFactory: (configuration?: Configuration, ba
28979
29449
  */
28980
29450
  export declare class MailAPITokensApi extends BaseAPI {
28981
29451
  /**
28982
- * Create an API token for the given mail order. The token grants access to the [Hostinger Email API](https://api.mail.hostinger.com/), where you can provision and manage the mailboxes it is scoped to. The plaintext token is returned only in this response, never again. A maximum of 10 tokens can exist per order. Use `scope.has_all_mailboxes` to cover all current and future mailboxes, or list specific mailboxes in `scope.mailbox_ids`.
29452
+ * Create an API token for the given mail order. Through the [Hostinger Mail API](https://api.mail.hostinger.com/), the token grants access to the mailboxes it is scoped to (for example, to read, search, send and organise email messages), without signing in with a mailbox password over IMAP, SMTP or webmail. A token covers either all mailboxes of the order or only the ones you choose. Set `scope.has_all_mailboxes` to `true` to cover all current and future mailboxes, or to `false` and list specific mailboxes in `scope.mailbox_ids`. The plaintext token is returned only in this response, never again. Store it securely, because anyone who has it gets the same access. A maximum of 10 tokens can exist per order.
28983
29453
  * @summary Create API token
28984
29454
  * @param {string} orderId Order resource ID
28985
29455
  * @param {MailV1SchemaCreateApiTokenRequestSchema} mailV1SchemaCreateApiTokenRequestSchema
@@ -28989,7 +29459,7 @@ export declare class MailAPITokensApi extends BaseAPI {
28989
29459
  */
28990
29460
  createAPITokenV1(orderId: string, mailV1SchemaCreateApiTokenRequestSchema: MailV1SchemaCreateApiTokenRequestSchema, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MailV1ApiTokensApiTokenCreatedResource, any, {}, any>>;
28991
29461
  /**
28992
- * Retrieve a paginated list of [Hostinger Email API](https://api.mail.hostinger.com/) tokens across all your mail orders, optionally filtered by order. Plaintext tokens are never included; they are returned only when a token is created.
29462
+ * Retrieve a paginated list of [Hostinger Mail API](https://api.mail.hostinger.com/) tokens across all your mail orders, optionally filtered by order. Plaintext tokens are never included; they are returned only when a token is created.
28993
29463
  * @summary List API tokens
28994
29464
  * @param {string | null} [orderId] Filter tokens by order resource ID. Single value or comma-separated list.
28995
29465
  * @param {number} [page] Page number
@@ -29000,7 +29470,7 @@ export declare class MailAPITokensApi extends BaseAPI {
29000
29470
  */
29001
29471
  listAPITokensV1(orderId?: string | null, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MailListAPITokensV1200Response, any, {}, any>>;
29002
29472
  /**
29003
- * Revoke an API token. The token immediately loses access to the [Hostinger Email API](https://api.mail.hostinger.com/). This action cannot be undone.
29473
+ * Revoke an API token. The token immediately loses access to the [Hostinger Mail API](https://api.mail.hostinger.com/). This action cannot be undone.
29004
29474
  * @summary Revoke API token
29005
29475
  * @param {string} tokenId API token ID (returned when the token was created)
29006
29476
  * @param {*} [options] Override http request option.
@@ -36789,7 +37259,7 @@ export declare const WordPressInstallationsApiAxiosParamCreator: (configuration?
36789
37259
  */
36790
37260
  importWordPressWebsiteV1: (username: string, domain: string, wordPressV1InstallationsImportWordPressRequest: WordPressV1InstallationsImportWordPressRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
36791
37261
  /**
36792
- * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_create` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
37262
+ * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_create` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must be an empty headless website (`headless_empty`): the headless install rewrites the root `.htaccess`, so any other website, including a headless website that already has WordPress or a PocketBase backend, is rejected with 422. To replace a PocketBase backend with WordPress, delete it first with `Delete PocketBase backend`. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
36793
37263
  * @summary Install WordPress
36794
37264
  * @param {string} username
36795
37265
  * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
@@ -36888,7 +37358,7 @@ export declare const WordPressInstallationsApiFp: (configuration?: Configuration
36888
37358
  */
36889
37359
  importWordPressWebsiteV1(username: string, domain: string, wordPressV1InstallationsImportWordPressRequest: WordPressV1InstallationsImportWordPressRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
36890
37360
  /**
36891
- * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_create` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
37361
+ * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_create` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must be an empty headless website (`headless_empty`): the headless install rewrites the root `.htaccess`, so any other website, including a headless website that already has WordPress or a PocketBase backend, is rejected with 422. To replace a PocketBase backend with WordPress, delete it first with `Delete PocketBase backend`. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
36892
37362
  * @summary Install WordPress
36893
37363
  * @param {string} username
36894
37364
  * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
@@ -36987,7 +37457,7 @@ export declare const WordPressInstallationsApiFactory: (configuration?: Configur
36987
37457
  */
36988
37458
  importWordPressWebsiteV1(username: string, domain: string, wordPressV1InstallationsImportWordPressRequest: WordPressV1InstallationsImportWordPressRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
36989
37459
  /**
36990
- * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_create` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
37460
+ * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_create` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must be an empty headless website (`headless_empty`): the headless install rewrites the root `.htaccess`, so any other website, including a headless website that already has WordPress or a PocketBase backend, is rejected with 422. To replace a PocketBase backend with WordPress, delete it first with `Delete PocketBase backend`. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
36991
37461
  * @summary Install WordPress
36992
37462
  * @param {string} username
36993
37463
  * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
@@ -37093,7 +37563,7 @@ export declare class WordPressInstallationsApi extends BaseAPI {
37093
37563
  */
37094
37564
  importWordPressWebsiteV1(username: string, domain: string, wordPressV1InstallationsImportWordPressRequest: WordPressV1InstallationsImportWordPressRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
37095
37565
  /**
37096
- * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_create` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
37566
+ * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_create` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must be an empty headless website (`headless_empty`): the headless install rewrites the root `.htaccess`, so any other website, including a headless website that already has WordPress or a PocketBase backend, is rejected with 422. To replace a PocketBase backend with WordPress, delete it first with `Delete PocketBase backend`. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
37097
37567
  * @summary Install WordPress
37098
37568
  * @param {string} username
37099
37569
  * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest