hostinger-api-sdk 1.29.2 → 1.30.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.
- package/README.md +2 -2
- package/api.ts +588 -38
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +366 -30
- package/dist/api.js +417 -33
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +366 -30
- package/dist/esm/api.js +404 -24
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/DomainsAvailabilityApi.md +113 -1
- package/docs/DomainsV1AvailabilityAlternativesFromDescriptionRequest.md +22 -0
- package/docs/DomainsV1AvailabilityAlternativesFromDomainRequest.md +22 -0
- package/docs/HostingFilesApi.md +148 -0
- package/docs/{HostingV1WebsitesDeleteWebsiteRequest.md → HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter.md} +3 -5
- package/docs/HostingV1FilesFileContentResource.md +28 -0
- package/docs/HostingV1FilesFilesResource.md +28 -0
- package/docs/HostingV1FilesFilesResourceItemsInner.md +26 -0
- package/docs/HostingWebsitesApi.md +5 -9
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.32.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
|
package/dist/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.32.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.32.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
|
package/dist/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.32.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.32.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
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.32.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -16,7 +16,7 @@ class Configuration {
|
|
|
16
16
|
var _a;
|
|
17
17
|
this.accessToken = param.accessToken;
|
|
18
18
|
this.basePath = param.basePath;
|
|
19
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.
|
|
19
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.30.1" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
20
20
|
this.formDataCtor = param.formDataCtor;
|
|
21
21
|
}
|
|
22
22
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.32.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
|
|
@@ -2274,6 +2274,44 @@ export interface DomainAccessVerifierV2VerificationsListRequest {
|
|
|
2274
2274
|
*/
|
|
2275
2275
|
'domains': Array<string>;
|
|
2276
2276
|
}
|
|
2277
|
+
/**
|
|
2278
|
+
*
|
|
2279
|
+
* @export
|
|
2280
|
+
* @interface DomainsV1AvailabilityAlternativesFromDescriptionRequest
|
|
2281
|
+
*/
|
|
2282
|
+
export interface DomainsV1AvailabilityAlternativesFromDescriptionRequest {
|
|
2283
|
+
/**
|
|
2284
|
+
* Free-text description of the project the domain is needed for
|
|
2285
|
+
* @type {string}
|
|
2286
|
+
* @memberof DomainsV1AvailabilityAlternativesFromDescriptionRequest
|
|
2287
|
+
*/
|
|
2288
|
+
'description': string;
|
|
2289
|
+
/**
|
|
2290
|
+
* Amount of domain names to suggest
|
|
2291
|
+
* @type {number}
|
|
2292
|
+
* @memberof DomainsV1AvailabilityAlternativesFromDescriptionRequest
|
|
2293
|
+
*/
|
|
2294
|
+
'limit': number;
|
|
2295
|
+
}
|
|
2296
|
+
/**
|
|
2297
|
+
*
|
|
2298
|
+
* @export
|
|
2299
|
+
* @interface DomainsV1AvailabilityAlternativesFromDomainRequest
|
|
2300
|
+
*/
|
|
2301
|
+
export interface DomainsV1AvailabilityAlternativesFromDomainRequest {
|
|
2302
|
+
/**
|
|
2303
|
+
* Domain name to base the suggestions on
|
|
2304
|
+
* @type {string}
|
|
2305
|
+
* @memberof DomainsV1AvailabilityAlternativesFromDomainRequest
|
|
2306
|
+
*/
|
|
2307
|
+
'domain': string;
|
|
2308
|
+
/**
|
|
2309
|
+
* Amount of domain names to suggest
|
|
2310
|
+
* @type {number}
|
|
2311
|
+
* @memberof DomainsV1AvailabilityAlternativesFromDomainRequest
|
|
2312
|
+
*/
|
|
2313
|
+
'limit': number;
|
|
2314
|
+
}
|
|
2277
2315
|
/**
|
|
2278
2316
|
*
|
|
2279
2317
|
* @export
|
|
@@ -4138,6 +4176,11 @@ export interface HostingListOrdersV1200Response {
|
|
|
4138
4176
|
*/
|
|
4139
4177
|
'meta': CommonSchemaPaginationMetaSchema;
|
|
4140
4178
|
}
|
|
4179
|
+
/**
|
|
4180
|
+
* @type HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter
|
|
4181
|
+
* @export
|
|
4182
|
+
*/
|
|
4183
|
+
export type HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter = Array<string> | string;
|
|
4141
4184
|
/**
|
|
4142
4185
|
*
|
|
4143
4186
|
* @export
|
|
@@ -4621,6 +4664,118 @@ export interface HostingV1DomainsVerifyOwnershipRequest {
|
|
|
4621
4664
|
*/
|
|
4622
4665
|
'domain': string;
|
|
4623
4666
|
}
|
|
4667
|
+
/**
|
|
4668
|
+
*
|
|
4669
|
+
* @export
|
|
4670
|
+
* @interface HostingV1FilesFileContentResource
|
|
4671
|
+
*/
|
|
4672
|
+
export interface HostingV1FilesFileContentResource {
|
|
4673
|
+
/**
|
|
4674
|
+
* File path, relative to the document root.
|
|
4675
|
+
* @type {string}
|
|
4676
|
+
* @memberof HostingV1FilesFileContentResource
|
|
4677
|
+
*/
|
|
4678
|
+
'path': string;
|
|
4679
|
+
/**
|
|
4680
|
+
* File content for the requested line range.
|
|
4681
|
+
* @type {string}
|
|
4682
|
+
* @memberof HostingV1FilesFileContentResource
|
|
4683
|
+
*/
|
|
4684
|
+
'content': string;
|
|
4685
|
+
/**
|
|
4686
|
+
* Line offset the returned content starts from.
|
|
4687
|
+
* @type {number}
|
|
4688
|
+
* @memberof HostingV1FilesFileContentResource
|
|
4689
|
+
*/
|
|
4690
|
+
'from_line': number;
|
|
4691
|
+
/**
|
|
4692
|
+
* Total number of lines in the file.
|
|
4693
|
+
* @type {number}
|
|
4694
|
+
* @memberof HostingV1FilesFileContentResource
|
|
4695
|
+
*/
|
|
4696
|
+
'total_lines': number;
|
|
4697
|
+
/**
|
|
4698
|
+
* Total file size in bytes.
|
|
4699
|
+
* @type {number}
|
|
4700
|
+
* @memberof HostingV1FilesFileContentResource
|
|
4701
|
+
*/
|
|
4702
|
+
'size_bytes': number;
|
|
4703
|
+
}
|
|
4704
|
+
/**
|
|
4705
|
+
*
|
|
4706
|
+
* @export
|
|
4707
|
+
* @interface HostingV1FilesFilesResource
|
|
4708
|
+
*/
|
|
4709
|
+
export interface HostingV1FilesFilesResource {
|
|
4710
|
+
/**
|
|
4711
|
+
* Listed directory, relative to the document root.
|
|
4712
|
+
* @type {string}
|
|
4713
|
+
* @memberof HostingV1FilesFilesResource
|
|
4714
|
+
*/
|
|
4715
|
+
'path': string;
|
|
4716
|
+
/**
|
|
4717
|
+
* Entries found in the listed directory.
|
|
4718
|
+
* @type {Array<HostingV1FilesFilesResourceItemsInner>}
|
|
4719
|
+
* @memberof HostingV1FilesFilesResource
|
|
4720
|
+
*/
|
|
4721
|
+
'items': Array<HostingV1FilesFilesResourceItemsInner>;
|
|
4722
|
+
/**
|
|
4723
|
+
* Total number of entries matching the listing, across all pages.
|
|
4724
|
+
* @type {number}
|
|
4725
|
+
* @memberof HostingV1FilesFilesResource
|
|
4726
|
+
*/
|
|
4727
|
+
'total_items': number;
|
|
4728
|
+
/**
|
|
4729
|
+
* Number of entries in this page.
|
|
4730
|
+
* @type {number}
|
|
4731
|
+
* @memberof HostingV1FilesFilesResource
|
|
4732
|
+
*/
|
|
4733
|
+
'total_items_current_page': number;
|
|
4734
|
+
/**
|
|
4735
|
+
* Number of entries skipped before this page.
|
|
4736
|
+
* @type {number}
|
|
4737
|
+
* @memberof HostingV1FilesFilesResource
|
|
4738
|
+
*/
|
|
4739
|
+
'offset': number;
|
|
4740
|
+
}
|
|
4741
|
+
/**
|
|
4742
|
+
*
|
|
4743
|
+
* @export
|
|
4744
|
+
* @interface HostingV1FilesFilesResourceItemsInner
|
|
4745
|
+
*/
|
|
4746
|
+
export interface HostingV1FilesFilesResourceItemsInner {
|
|
4747
|
+
/**
|
|
4748
|
+
* Entry name.
|
|
4749
|
+
* @type {string}
|
|
4750
|
+
* @memberof HostingV1FilesFilesResourceItemsInner
|
|
4751
|
+
*/
|
|
4752
|
+
'name': string;
|
|
4753
|
+
/**
|
|
4754
|
+
* Entry path, relative to the document root.
|
|
4755
|
+
* @type {string}
|
|
4756
|
+
* @memberof HostingV1FilesFilesResourceItemsInner
|
|
4757
|
+
*/
|
|
4758
|
+
'path': string;
|
|
4759
|
+
/**
|
|
4760
|
+
* Entry type.
|
|
4761
|
+
* @type {string}
|
|
4762
|
+
* @memberof HostingV1FilesFilesResourceItemsInner
|
|
4763
|
+
*/
|
|
4764
|
+
'type': HostingV1FilesFilesResourceItemsInnerTypeEnum;
|
|
4765
|
+
/**
|
|
4766
|
+
* Entry size in bytes. Null for directories, symlinks, and other non-file entries.
|
|
4767
|
+
* @type {number}
|
|
4768
|
+
* @memberof HostingV1FilesFilesResourceItemsInner
|
|
4769
|
+
*/
|
|
4770
|
+
'size_bytes': number | null;
|
|
4771
|
+
}
|
|
4772
|
+
export declare const HostingV1FilesFilesResourceItemsInnerTypeEnum: {
|
|
4773
|
+
readonly File: "file";
|
|
4774
|
+
readonly Directory: "directory";
|
|
4775
|
+
readonly Symlink: "symlink";
|
|
4776
|
+
readonly Other: "other";
|
|
4777
|
+
};
|
|
4778
|
+
export type HostingV1FilesFilesResourceItemsInnerTypeEnum = typeof HostingV1FilesFilesResourceItemsInnerTypeEnum[keyof typeof HostingV1FilesFilesResourceItemsInnerTypeEnum];
|
|
4624
4779
|
/**
|
|
4625
4780
|
*
|
|
4626
4781
|
* @export
|
|
@@ -5259,19 +5414,6 @@ export interface HostingV1WebsitesCreateWebsiteRequest {
|
|
|
5259
5414
|
*/
|
|
5260
5415
|
'datacenter_code': string | null;
|
|
5261
5416
|
}
|
|
5262
|
-
/**
|
|
5263
|
-
*
|
|
5264
|
-
* @export
|
|
5265
|
-
* @interface HostingV1WebsitesDeleteWebsiteRequest
|
|
5266
|
-
*/
|
|
5267
|
-
export interface HostingV1WebsitesDeleteWebsiteRequest {
|
|
5268
|
-
/**
|
|
5269
|
-
* Must be boolean true to confirm the permanent deletion of the website.
|
|
5270
|
-
* @type {boolean}
|
|
5271
|
-
* @memberof HostingV1WebsitesDeleteWebsiteRequest
|
|
5272
|
-
*/
|
|
5273
|
-
'confirm': boolean;
|
|
5274
|
-
}
|
|
5275
5417
|
/**
|
|
5276
5418
|
*
|
|
5277
5419
|
* @export
|
|
@@ -13459,13 +13601,29 @@ export declare class DomainAccessVerifierVerificationsApi extends BaseAPI {
|
|
|
13459
13601
|
*/
|
|
13460
13602
|
export declare const DomainsAvailabilityApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13461
13603
|
/**
|
|
13462
|
-
* Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of
|
|
13604
|
+
* Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
|
|
13463
13605
|
* @summary Check domain availability
|
|
13464
13606
|
* @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
|
|
13465
13607
|
* @param {*} [options] Override http request option.
|
|
13466
13608
|
* @throws {RequiredError}
|
|
13467
13609
|
*/
|
|
13468
13610
|
checkDomainAvailabilityV1: (domainsV1AvailabilityAvailabilityRequest: DomainsV1AvailabilityAvailabilityRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13611
|
+
/**
|
|
13612
|
+
* Suggest available domain names based on a free-text description of your project. Suggestions are generated by an AI model, so they differ between calls. Endpoint has rate limit of 90 requests per minute. Use this endpoint to find a domain name when you only know what the website is about.
|
|
13613
|
+
* @summary Suggest domain names from a description
|
|
13614
|
+
* @param {DomainsV1AvailabilityAlternativesFromDescriptionRequest} domainsV1AvailabilityAlternativesFromDescriptionRequest
|
|
13615
|
+
* @param {*} [options] Override http request option.
|
|
13616
|
+
* @throws {RequiredError}
|
|
13617
|
+
*/
|
|
13618
|
+
suggestDomainNamesFromADescriptionV1: (domainsV1AvailabilityAlternativesFromDescriptionRequest: DomainsV1AvailabilityAlternativesFromDescriptionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13619
|
+
/**
|
|
13620
|
+
* Suggest available domain names based on a domain name you already have in mind. Suggestions are generated by an AI model, so they differ between calls. Endpoint has rate limit of 90 requests per minute. Use this endpoint when the domain you wanted is taken and you need close alternatives.
|
|
13621
|
+
* @summary Suggest domain names from a domain
|
|
13622
|
+
* @param {DomainsV1AvailabilityAlternativesFromDomainRequest} domainsV1AvailabilityAlternativesFromDomainRequest
|
|
13623
|
+
* @param {*} [options] Override http request option.
|
|
13624
|
+
* @throws {RequiredError}
|
|
13625
|
+
*/
|
|
13626
|
+
suggestDomainNamesFromADomainV1: (domainsV1AvailabilityAlternativesFromDomainRequest: DomainsV1AvailabilityAlternativesFromDomainRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13469
13627
|
};
|
|
13470
13628
|
/**
|
|
13471
13629
|
* DomainsAvailabilityApi - functional programming interface
|
|
@@ -13473,13 +13631,29 @@ export declare const DomainsAvailabilityApiAxiosParamCreator: (configuration?: C
|
|
|
13473
13631
|
*/
|
|
13474
13632
|
export declare const DomainsAvailabilityApiFp: (configuration?: Configuration) => {
|
|
13475
13633
|
/**
|
|
13476
|
-
* Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of
|
|
13634
|
+
* Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
|
|
13477
13635
|
* @summary Check domain availability
|
|
13478
13636
|
* @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
|
|
13479
13637
|
* @param {*} [options] Override http request option.
|
|
13480
13638
|
* @throws {RequiredError}
|
|
13481
13639
|
*/
|
|
13482
13640
|
checkDomainAvailabilityV1(domainsV1AvailabilityAvailabilityRequest: DomainsV1AvailabilityAvailabilityRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DomainsV1AvailabilityAvailabilityResource>>>;
|
|
13641
|
+
/**
|
|
13642
|
+
* Suggest available domain names based on a free-text description of your project. Suggestions are generated by an AI model, so they differ between calls. Endpoint has rate limit of 90 requests per minute. Use this endpoint to find a domain name when you only know what the website is about.
|
|
13643
|
+
* @summary Suggest domain names from a description
|
|
13644
|
+
* @param {DomainsV1AvailabilityAlternativesFromDescriptionRequest} domainsV1AvailabilityAlternativesFromDescriptionRequest
|
|
13645
|
+
* @param {*} [options] Override http request option.
|
|
13646
|
+
* @throws {RequiredError}
|
|
13647
|
+
*/
|
|
13648
|
+
suggestDomainNamesFromADescriptionV1(domainsV1AvailabilityAlternativesFromDescriptionRequest: DomainsV1AvailabilityAlternativesFromDescriptionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
|
|
13649
|
+
/**
|
|
13650
|
+
* Suggest available domain names based on a domain name you already have in mind. Suggestions are generated by an AI model, so they differ between calls. Endpoint has rate limit of 90 requests per minute. Use this endpoint when the domain you wanted is taken and you need close alternatives.
|
|
13651
|
+
* @summary Suggest domain names from a domain
|
|
13652
|
+
* @param {DomainsV1AvailabilityAlternativesFromDomainRequest} domainsV1AvailabilityAlternativesFromDomainRequest
|
|
13653
|
+
* @param {*} [options] Override http request option.
|
|
13654
|
+
* @throws {RequiredError}
|
|
13655
|
+
*/
|
|
13656
|
+
suggestDomainNamesFromADomainV1(domainsV1AvailabilityAlternativesFromDomainRequest: DomainsV1AvailabilityAlternativesFromDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
|
|
13483
13657
|
};
|
|
13484
13658
|
/**
|
|
13485
13659
|
* DomainsAvailabilityApi - factory interface
|
|
@@ -13487,13 +13661,29 @@ export declare const DomainsAvailabilityApiFp: (configuration?: Configuration) =
|
|
|
13487
13661
|
*/
|
|
13488
13662
|
export declare const DomainsAvailabilityApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
13489
13663
|
/**
|
|
13490
|
-
* Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of
|
|
13664
|
+
* Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
|
|
13491
13665
|
* @summary Check domain availability
|
|
13492
13666
|
* @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
|
|
13493
13667
|
* @param {*} [options] Override http request option.
|
|
13494
13668
|
* @throws {RequiredError}
|
|
13495
13669
|
*/
|
|
13496
13670
|
checkDomainAvailabilityV1(domainsV1AvailabilityAvailabilityRequest: DomainsV1AvailabilityAvailabilityRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DomainsV1AvailabilityAvailabilityResource>>;
|
|
13671
|
+
/**
|
|
13672
|
+
* Suggest available domain names based on a free-text description of your project. Suggestions are generated by an AI model, so they differ between calls. Endpoint has rate limit of 90 requests per minute. Use this endpoint to find a domain name when you only know what the website is about.
|
|
13673
|
+
* @summary Suggest domain names from a description
|
|
13674
|
+
* @param {DomainsV1AvailabilityAlternativesFromDescriptionRequest} domainsV1AvailabilityAlternativesFromDescriptionRequest
|
|
13675
|
+
* @param {*} [options] Override http request option.
|
|
13676
|
+
* @throws {RequiredError}
|
|
13677
|
+
*/
|
|
13678
|
+
suggestDomainNamesFromADescriptionV1(domainsV1AvailabilityAlternativesFromDescriptionRequest: DomainsV1AvailabilityAlternativesFromDescriptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
13679
|
+
/**
|
|
13680
|
+
* Suggest available domain names based on a domain name you already have in mind. Suggestions are generated by an AI model, so they differ between calls. Endpoint has rate limit of 90 requests per minute. Use this endpoint when the domain you wanted is taken and you need close alternatives.
|
|
13681
|
+
* @summary Suggest domain names from a domain
|
|
13682
|
+
* @param {DomainsV1AvailabilityAlternativesFromDomainRequest} domainsV1AvailabilityAlternativesFromDomainRequest
|
|
13683
|
+
* @param {*} [options] Override http request option.
|
|
13684
|
+
* @throws {RequiredError}
|
|
13685
|
+
*/
|
|
13686
|
+
suggestDomainNamesFromADomainV1(domainsV1AvailabilityAlternativesFromDomainRequest: DomainsV1AvailabilityAlternativesFromDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
13497
13687
|
};
|
|
13498
13688
|
/**
|
|
13499
13689
|
* DomainsAvailabilityApi - object-oriented interface
|
|
@@ -13503,7 +13693,7 @@ export declare const DomainsAvailabilityApiFactory: (configuration?: Configurati
|
|
|
13503
13693
|
*/
|
|
13504
13694
|
export declare class DomainsAvailabilityApi extends BaseAPI {
|
|
13505
13695
|
/**
|
|
13506
|
-
* Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of
|
|
13696
|
+
* Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
|
|
13507
13697
|
* @summary Check domain availability
|
|
13508
13698
|
* @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
|
|
13509
13699
|
* @param {*} [options] Override http request option.
|
|
@@ -13511,6 +13701,24 @@ export declare class DomainsAvailabilityApi extends BaseAPI {
|
|
|
13511
13701
|
* @memberof DomainsAvailabilityApi
|
|
13512
13702
|
*/
|
|
13513
13703
|
checkDomainAvailabilityV1(domainsV1AvailabilityAvailabilityRequest: DomainsV1AvailabilityAvailabilityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1AvailabilityAvailabilityResource[], any, {}, any>>;
|
|
13704
|
+
/**
|
|
13705
|
+
* Suggest available domain names based on a free-text description of your project. Suggestions are generated by an AI model, so they differ between calls. Endpoint has rate limit of 90 requests per minute. Use this endpoint to find a domain name when you only know what the website is about.
|
|
13706
|
+
* @summary Suggest domain names from a description
|
|
13707
|
+
* @param {DomainsV1AvailabilityAlternativesFromDescriptionRequest} domainsV1AvailabilityAlternativesFromDescriptionRequest
|
|
13708
|
+
* @param {*} [options] Override http request option.
|
|
13709
|
+
* @throws {RequiredError}
|
|
13710
|
+
* @memberof DomainsAvailabilityApi
|
|
13711
|
+
*/
|
|
13712
|
+
suggestDomainNamesFromADescriptionV1(domainsV1AvailabilityAlternativesFromDescriptionRequest: DomainsV1AvailabilityAlternativesFromDescriptionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any, {}, any>>;
|
|
13713
|
+
/**
|
|
13714
|
+
* Suggest available domain names based on a domain name you already have in mind. Suggestions are generated by an AI model, so they differ between calls. Endpoint has rate limit of 90 requests per minute. Use this endpoint when the domain you wanted is taken and you need close alternatives.
|
|
13715
|
+
* @summary Suggest domain names from a domain
|
|
13716
|
+
* @param {DomainsV1AvailabilityAlternativesFromDomainRequest} domainsV1AvailabilityAlternativesFromDomainRequest
|
|
13717
|
+
* @param {*} [options] Override http request option.
|
|
13718
|
+
* @throws {RequiredError}
|
|
13719
|
+
* @memberof DomainsAvailabilityApi
|
|
13720
|
+
*/
|
|
13721
|
+
suggestDomainNamesFromADomainV1(domainsV1AvailabilityAlternativesFromDomainRequest: DomainsV1AvailabilityAlternativesFromDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any, {}, any>>;
|
|
13514
13722
|
}
|
|
13515
13723
|
/**
|
|
13516
13724
|
* DomainsForwardingApi - axios parameter creator
|
|
@@ -16593,6 +16801,138 @@ export declare class HostingDomainsApi extends BaseAPI {
|
|
|
16593
16801
|
*/
|
|
16594
16802
|
verifyDomainOwnershipV1(hostingV1DomainsVerifyOwnershipRequest: HostingV1DomainsVerifyOwnershipRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1DomainsDomainAccessResource, any, {}, any>>;
|
|
16595
16803
|
}
|
|
16804
|
+
/**
|
|
16805
|
+
* HostingFilesApi - axios parameter creator
|
|
16806
|
+
* @export
|
|
16807
|
+
*/
|
|
16808
|
+
export declare const HostingFilesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
16809
|
+
/**
|
|
16810
|
+
* Get a single file\'s content, relative to a website\'s document root. Read-only; refuses symlinks, oversized files, non-text file types, and files identified as containing secrets (e.g. credential files) — none of these are returned by this endpoint.
|
|
16811
|
+
* @summary Get website file content
|
|
16812
|
+
* @param {string} username
|
|
16813
|
+
* @param {string} domain Domain name
|
|
16814
|
+
* @param {string} path File path, relative to the document root.
|
|
16815
|
+
* @param {number | null} [fromLine] Line offset to start reading from.
|
|
16816
|
+
* @param {number | null} [maxLines] Max number of lines to return.
|
|
16817
|
+
* @param {*} [options] Override http request option.
|
|
16818
|
+
* @throws {RequiredError}
|
|
16819
|
+
*/
|
|
16820
|
+
getWebsiteFileContentV1: (username: string, domain: string, path: string, fromLine?: number | null, maxLines?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16821
|
+
/**
|
|
16822
|
+
* List files and directories under a website\'s document root. Use `directory` to browse a subdirectory relative to the document root. Symlinked entries are listed but never traversed into or resolved.
|
|
16823
|
+
* @summary List website files and directories
|
|
16824
|
+
* @param {string} username
|
|
16825
|
+
* @param {string} domain Domain name
|
|
16826
|
+
* @param {string} [directory] Directory path to check
|
|
16827
|
+
* @param {number | null} [maxDepth] How many directory levels deep to recurse.
|
|
16828
|
+
* @param {number | null} [maxItems] Max number of entries to return in this page.
|
|
16829
|
+
* @param {number | null} [offset] Number of entries to skip. Page with offset + item count until reaching total_items.
|
|
16830
|
+
* @param {HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter} [fileTypes] Filter by entry type, e.g. file,directory. Array or comma-separated. Omit for all types.
|
|
16831
|
+
* @param {*} [options] Override http request option.
|
|
16832
|
+
* @throws {RequiredError}
|
|
16833
|
+
*/
|
|
16834
|
+
listWebsiteFilesAndDirectoriesV1: (username: string, domain: string, directory?: string, maxDepth?: number | null, maxItems?: number | null, offset?: number | null, fileTypes?: HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16835
|
+
};
|
|
16836
|
+
/**
|
|
16837
|
+
* HostingFilesApi - functional programming interface
|
|
16838
|
+
* @export
|
|
16839
|
+
*/
|
|
16840
|
+
export declare const HostingFilesApiFp: (configuration?: Configuration) => {
|
|
16841
|
+
/**
|
|
16842
|
+
* Get a single file\'s content, relative to a website\'s document root. Read-only; refuses symlinks, oversized files, non-text file types, and files identified as containing secrets (e.g. credential files) — none of these are returned by this endpoint.
|
|
16843
|
+
* @summary Get website file content
|
|
16844
|
+
* @param {string} username
|
|
16845
|
+
* @param {string} domain Domain name
|
|
16846
|
+
* @param {string} path File path, relative to the document root.
|
|
16847
|
+
* @param {number | null} [fromLine] Line offset to start reading from.
|
|
16848
|
+
* @param {number | null} [maxLines] Max number of lines to return.
|
|
16849
|
+
* @param {*} [options] Override http request option.
|
|
16850
|
+
* @throws {RequiredError}
|
|
16851
|
+
*/
|
|
16852
|
+
getWebsiteFileContentV1(username: string, domain: string, path: string, fromLine?: number | null, maxLines?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1FilesFileContentResource>>;
|
|
16853
|
+
/**
|
|
16854
|
+
* List files and directories under a website\'s document root. Use `directory` to browse a subdirectory relative to the document root. Symlinked entries are listed but never traversed into or resolved.
|
|
16855
|
+
* @summary List website files and directories
|
|
16856
|
+
* @param {string} username
|
|
16857
|
+
* @param {string} domain Domain name
|
|
16858
|
+
* @param {string} [directory] Directory path to check
|
|
16859
|
+
* @param {number | null} [maxDepth] How many directory levels deep to recurse.
|
|
16860
|
+
* @param {number | null} [maxItems] Max number of entries to return in this page.
|
|
16861
|
+
* @param {number | null} [offset] Number of entries to skip. Page with offset + item count until reaching total_items.
|
|
16862
|
+
* @param {HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter} [fileTypes] Filter by entry type, e.g. file,directory. Array or comma-separated. Omit for all types.
|
|
16863
|
+
* @param {*} [options] Override http request option.
|
|
16864
|
+
* @throws {RequiredError}
|
|
16865
|
+
*/
|
|
16866
|
+
listWebsiteFilesAndDirectoriesV1(username: string, domain: string, directory?: string, maxDepth?: number | null, maxItems?: number | null, offset?: number | null, fileTypes?: HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1FilesFilesResource>>;
|
|
16867
|
+
};
|
|
16868
|
+
/**
|
|
16869
|
+
* HostingFilesApi - factory interface
|
|
16870
|
+
* @export
|
|
16871
|
+
*/
|
|
16872
|
+
export declare const HostingFilesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
16873
|
+
/**
|
|
16874
|
+
* Get a single file\'s content, relative to a website\'s document root. Read-only; refuses symlinks, oversized files, non-text file types, and files identified as containing secrets (e.g. credential files) — none of these are returned by this endpoint.
|
|
16875
|
+
* @summary Get website file content
|
|
16876
|
+
* @param {string} username
|
|
16877
|
+
* @param {string} domain Domain name
|
|
16878
|
+
* @param {string} path File path, relative to the document root.
|
|
16879
|
+
* @param {number | null} [fromLine] Line offset to start reading from.
|
|
16880
|
+
* @param {number | null} [maxLines] Max number of lines to return.
|
|
16881
|
+
* @param {*} [options] Override http request option.
|
|
16882
|
+
* @throws {RequiredError}
|
|
16883
|
+
*/
|
|
16884
|
+
getWebsiteFileContentV1(username: string, domain: string, path: string, fromLine?: number | null, maxLines?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1FilesFileContentResource>;
|
|
16885
|
+
/**
|
|
16886
|
+
* List files and directories under a website\'s document root. Use `directory` to browse a subdirectory relative to the document root. Symlinked entries are listed but never traversed into or resolved.
|
|
16887
|
+
* @summary List website files and directories
|
|
16888
|
+
* @param {string} username
|
|
16889
|
+
* @param {string} domain Domain name
|
|
16890
|
+
* @param {string} [directory] Directory path to check
|
|
16891
|
+
* @param {number | null} [maxDepth] How many directory levels deep to recurse.
|
|
16892
|
+
* @param {number | null} [maxItems] Max number of entries to return in this page.
|
|
16893
|
+
* @param {number | null} [offset] Number of entries to skip. Page with offset + item count until reaching total_items.
|
|
16894
|
+
* @param {HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter} [fileTypes] Filter by entry type, e.g. file,directory. Array or comma-separated. Omit for all types.
|
|
16895
|
+
* @param {*} [options] Override http request option.
|
|
16896
|
+
* @throws {RequiredError}
|
|
16897
|
+
*/
|
|
16898
|
+
listWebsiteFilesAndDirectoriesV1(username: string, domain: string, directory?: string, maxDepth?: number | null, maxItems?: number | null, offset?: number | null, fileTypes?: HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1FilesFilesResource>;
|
|
16899
|
+
};
|
|
16900
|
+
/**
|
|
16901
|
+
* HostingFilesApi - object-oriented interface
|
|
16902
|
+
* @export
|
|
16903
|
+
* @class HostingFilesApi
|
|
16904
|
+
* @extends {BaseAPI}
|
|
16905
|
+
*/
|
|
16906
|
+
export declare class HostingFilesApi extends BaseAPI {
|
|
16907
|
+
/**
|
|
16908
|
+
* Get a single file\'s content, relative to a website\'s document root. Read-only; refuses symlinks, oversized files, non-text file types, and files identified as containing secrets (e.g. credential files) — none of these are returned by this endpoint.
|
|
16909
|
+
* @summary Get website file content
|
|
16910
|
+
* @param {string} username
|
|
16911
|
+
* @param {string} domain Domain name
|
|
16912
|
+
* @param {string} path File path, relative to the document root.
|
|
16913
|
+
* @param {number | null} [fromLine] Line offset to start reading from.
|
|
16914
|
+
* @param {number | null} [maxLines] Max number of lines to return.
|
|
16915
|
+
* @param {*} [options] Override http request option.
|
|
16916
|
+
* @throws {RequiredError}
|
|
16917
|
+
* @memberof HostingFilesApi
|
|
16918
|
+
*/
|
|
16919
|
+
getWebsiteFileContentV1(username: string, domain: string, path: string, fromLine?: number | null, maxLines?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1FilesFileContentResource, any, {}, any>>;
|
|
16920
|
+
/**
|
|
16921
|
+
* List files and directories under a website\'s document root. Use `directory` to browse a subdirectory relative to the document root. Symlinked entries are listed but never traversed into or resolved.
|
|
16922
|
+
* @summary List website files and directories
|
|
16923
|
+
* @param {string} username
|
|
16924
|
+
* @param {string} domain Domain name
|
|
16925
|
+
* @param {string} [directory] Directory path to check
|
|
16926
|
+
* @param {number | null} [maxDepth] How many directory levels deep to recurse.
|
|
16927
|
+
* @param {number | null} [maxItems] Max number of entries to return in this page.
|
|
16928
|
+
* @param {number | null} [offset] Number of entries to skip. Page with offset + item count until reaching total_items.
|
|
16929
|
+
* @param {HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter} [fileTypes] Filter by entry type, e.g. file,directory. Array or comma-separated. Omit for all types.
|
|
16930
|
+
* @param {*} [options] Override http request option.
|
|
16931
|
+
* @throws {RequiredError}
|
|
16932
|
+
* @memberof HostingFilesApi
|
|
16933
|
+
*/
|
|
16934
|
+
listWebsiteFilesAndDirectoriesV1(username: string, domain: string, directory?: string, maxDepth?: number | null, maxItems?: number | null, offset?: number | null, fileTypes?: HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1FilesFilesResource, any, {}, any>>;
|
|
16935
|
+
}
|
|
16596
16936
|
/**
|
|
16597
16937
|
* HostingNodeJSApi - axios parameter creator
|
|
16598
16938
|
* @export
|
|
@@ -17249,14 +17589,13 @@ export declare const HostingWebsitesApiAxiosParamCreator: (configuration?: Confi
|
|
|
17249
17589
|
*/
|
|
17250
17590
|
createWebsiteV1: (hostingV1WebsitesCreateWebsiteRequest: HostingV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17251
17591
|
/**
|
|
17252
|
-
*
|
|
17592
|
+
* This endpoint permanently removes a website and all of its data. This action cannot be undone. Before calling it, make sure the user understands the consequences and explicitly confirms that they want to proceed. All website files, databases and related configuration will be removed. The hosting plan itself is kept, so a new website can be created on it afterwards. Supported websites: main and addon domain websites on web hosting plans, and Website Builder websites. Parked domains and subdomains cannot be deleted with this endpoint. The domain must be the exact website domain, not a preview domain or an alias. Returns 404 when the domain does not exist or does not belong to the authenticated client. Website removal is processed asynchronously and can take a few minutes to complete. The response returns before the removal finishes.
|
|
17253
17593
|
* @summary Delete website
|
|
17254
17594
|
* @param {string} domain Domain name
|
|
17255
|
-
* @param {HostingV1WebsitesDeleteWebsiteRequest} hostingV1WebsitesDeleteWebsiteRequest
|
|
17256
17595
|
* @param {*} [options] Override http request option.
|
|
17257
17596
|
* @throws {RequiredError}
|
|
17258
17597
|
*/
|
|
17259
|
-
deleteWebsiteV1: (domain: string,
|
|
17598
|
+
deleteWebsiteV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17260
17599
|
/**
|
|
17261
17600
|
* Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Use the available query parameters to filter results by username, order ID, enabled status, or domain name for more targeted results.
|
|
17262
17601
|
* @summary List websites
|
|
@@ -17285,14 +17624,13 @@ export declare const HostingWebsitesApiFp: (configuration?: Configuration) => {
|
|
|
17285
17624
|
*/
|
|
17286
17625
|
createWebsiteV1(hostingV1WebsitesCreateWebsiteRequest: HostingV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
17287
17626
|
/**
|
|
17288
|
-
*
|
|
17627
|
+
* This endpoint permanently removes a website and all of its data. This action cannot be undone. Before calling it, make sure the user understands the consequences and explicitly confirms that they want to proceed. All website files, databases and related configuration will be removed. The hosting plan itself is kept, so a new website can be created on it afterwards. Supported websites: main and addon domain websites on web hosting plans, and Website Builder websites. Parked domains and subdomains cannot be deleted with this endpoint. The domain must be the exact website domain, not a preview domain or an alias. Returns 404 when the domain does not exist or does not belong to the authenticated client. Website removal is processed asynchronously and can take a few minutes to complete. The response returns before the removal finishes.
|
|
17289
17628
|
* @summary Delete website
|
|
17290
17629
|
* @param {string} domain Domain name
|
|
17291
|
-
* @param {HostingV1WebsitesDeleteWebsiteRequest} hostingV1WebsitesDeleteWebsiteRequest
|
|
17292
17630
|
* @param {*} [options] Override http request option.
|
|
17293
17631
|
* @throws {RequiredError}
|
|
17294
17632
|
*/
|
|
17295
|
-
deleteWebsiteV1(domain: string,
|
|
17633
|
+
deleteWebsiteV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
17296
17634
|
/**
|
|
17297
17635
|
* Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Use the available query parameters to filter results by username, order ID, enabled status, or domain name for more targeted results.
|
|
17298
17636
|
* @summary List websites
|
|
@@ -17321,14 +17659,13 @@ export declare const HostingWebsitesApiFactory: (configuration?: Configuration,
|
|
|
17321
17659
|
*/
|
|
17322
17660
|
createWebsiteV1(hostingV1WebsitesCreateWebsiteRequest: HostingV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
17323
17661
|
/**
|
|
17324
|
-
*
|
|
17662
|
+
* This endpoint permanently removes a website and all of its data. This action cannot be undone. Before calling it, make sure the user understands the consequences and explicitly confirms that they want to proceed. All website files, databases and related configuration will be removed. The hosting plan itself is kept, so a new website can be created on it afterwards. Supported websites: main and addon domain websites on web hosting plans, and Website Builder websites. Parked domains and subdomains cannot be deleted with this endpoint. The domain must be the exact website domain, not a preview domain or an alias. Returns 404 when the domain does not exist or does not belong to the authenticated client. Website removal is processed asynchronously and can take a few minutes to complete. The response returns before the removal finishes.
|
|
17325
17663
|
* @summary Delete website
|
|
17326
17664
|
* @param {string} domain Domain name
|
|
17327
|
-
* @param {HostingV1WebsitesDeleteWebsiteRequest} hostingV1WebsitesDeleteWebsiteRequest
|
|
17328
17665
|
* @param {*} [options] Override http request option.
|
|
17329
17666
|
* @throws {RequiredError}
|
|
17330
17667
|
*/
|
|
17331
|
-
deleteWebsiteV1(domain: string,
|
|
17668
|
+
deleteWebsiteV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
17332
17669
|
/**
|
|
17333
17670
|
* Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Use the available query parameters to filter results by username, order ID, enabled status, or domain name for more targeted results.
|
|
17334
17671
|
* @summary List websites
|
|
@@ -17360,15 +17697,14 @@ export declare class HostingWebsitesApi extends BaseAPI {
|
|
|
17360
17697
|
*/
|
|
17361
17698
|
createWebsiteV1(hostingV1WebsitesCreateWebsiteRequest: HostingV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
17362
17699
|
/**
|
|
17363
|
-
*
|
|
17700
|
+
* This endpoint permanently removes a website and all of its data. This action cannot be undone. Before calling it, make sure the user understands the consequences and explicitly confirms that they want to proceed. All website files, databases and related configuration will be removed. The hosting plan itself is kept, so a new website can be created on it afterwards. Supported websites: main and addon domain websites on web hosting plans, and Website Builder websites. Parked domains and subdomains cannot be deleted with this endpoint. The domain must be the exact website domain, not a preview domain or an alias. Returns 404 when the domain does not exist or does not belong to the authenticated client. Website removal is processed asynchronously and can take a few minutes to complete. The response returns before the removal finishes.
|
|
17364
17701
|
* @summary Delete website
|
|
17365
17702
|
* @param {string} domain Domain name
|
|
17366
|
-
* @param {HostingV1WebsitesDeleteWebsiteRequest} hostingV1WebsitesDeleteWebsiteRequest
|
|
17367
17703
|
* @param {*} [options] Override http request option.
|
|
17368
17704
|
* @throws {RequiredError}
|
|
17369
17705
|
* @memberof HostingWebsitesApi
|
|
17370
17706
|
*/
|
|
17371
|
-
deleteWebsiteV1(domain: string,
|
|
17707
|
+
deleteWebsiteV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
17372
17708
|
/**
|
|
17373
17709
|
* Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Use the available query parameters to filter results by username, order ID, enabled status, or domain name for more targeted results.
|
|
17374
17710
|
* @summary List websites
|