hostinger-api-sdk 1.30.0 → 1.30.2
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 +714 -38
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +445 -30
- package/dist/api.js +500 -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 +445 -30
- package/dist/esm/api.js +487 -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/EcommerceProductsApi.md +62 -0
- package/docs/EcommerceV1ProductProductImageUploadResource.md +22 -0
- package/docs/EcommerceV1ProductUploadProductImageRequest.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/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.2
|
|
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
|
|
@@ -3424,6 +3462,44 @@ export declare const EcommerceV1ProductProductCreationResourceProductTypeEnum: {
|
|
|
3424
3462
|
readonly Digital: "digital";
|
|
3425
3463
|
};
|
|
3426
3464
|
export type EcommerceV1ProductProductCreationResourceProductTypeEnum = typeof EcommerceV1ProductProductCreationResourceProductTypeEnum[keyof typeof EcommerceV1ProductProductCreationResourceProductTypeEnum];
|
|
3465
|
+
/**
|
|
3466
|
+
*
|
|
3467
|
+
* @export
|
|
3468
|
+
* @interface EcommerceV1ProductProductImageUploadResource
|
|
3469
|
+
*/
|
|
3470
|
+
export interface EcommerceV1ProductProductImageUploadResource {
|
|
3471
|
+
/**
|
|
3472
|
+
* CDN URL of the uploaded image.
|
|
3473
|
+
* @type {string}
|
|
3474
|
+
* @memberof EcommerceV1ProductProductImageUploadResource
|
|
3475
|
+
*/
|
|
3476
|
+
'url': string;
|
|
3477
|
+
/**
|
|
3478
|
+
* Whether the image was set as the product\'s thumbnail (primary image).
|
|
3479
|
+
* @type {boolean}
|
|
3480
|
+
* @memberof EcommerceV1ProductProductImageUploadResource
|
|
3481
|
+
*/
|
|
3482
|
+
'is_thumbnail': boolean;
|
|
3483
|
+
}
|
|
3484
|
+
/**
|
|
3485
|
+
*
|
|
3486
|
+
* @export
|
|
3487
|
+
* @interface EcommerceV1ProductUploadProductImageRequest
|
|
3488
|
+
*/
|
|
3489
|
+
export interface EcommerceV1ProductUploadProductImageRequest {
|
|
3490
|
+
/**
|
|
3491
|
+
* Raster image file (JPEG, PNG, GIF or WebP), maximum 15MB. SVG is not accepted.
|
|
3492
|
+
* @type {string}
|
|
3493
|
+
* @memberof EcommerceV1ProductUploadProductImageRequest
|
|
3494
|
+
*/
|
|
3495
|
+
'image': string;
|
|
3496
|
+
/**
|
|
3497
|
+
* When true, the image becomes the product\'s thumbnail (primary image). When omitted, it becomes the thumbnail only if the product does not have one yet.
|
|
3498
|
+
* @type {boolean}
|
|
3499
|
+
* @memberof EcommerceV1ProductUploadProductImageRequest
|
|
3500
|
+
*/
|
|
3501
|
+
'is_thumbnail': boolean | null;
|
|
3502
|
+
}
|
|
3427
3503
|
/**
|
|
3428
3504
|
*
|
|
3429
3505
|
* @export
|
|
@@ -4138,6 +4214,11 @@ export interface HostingListOrdersV1200Response {
|
|
|
4138
4214
|
*/
|
|
4139
4215
|
'meta': CommonSchemaPaginationMetaSchema;
|
|
4140
4216
|
}
|
|
4217
|
+
/**
|
|
4218
|
+
* @type HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter
|
|
4219
|
+
* @export
|
|
4220
|
+
*/
|
|
4221
|
+
export type HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter = Array<string> | string;
|
|
4141
4222
|
/**
|
|
4142
4223
|
*
|
|
4143
4224
|
* @export
|
|
@@ -4621,6 +4702,118 @@ export interface HostingV1DomainsVerifyOwnershipRequest {
|
|
|
4621
4702
|
*/
|
|
4622
4703
|
'domain': string;
|
|
4623
4704
|
}
|
|
4705
|
+
/**
|
|
4706
|
+
*
|
|
4707
|
+
* @export
|
|
4708
|
+
* @interface HostingV1FilesFileContentResource
|
|
4709
|
+
*/
|
|
4710
|
+
export interface HostingV1FilesFileContentResource {
|
|
4711
|
+
/**
|
|
4712
|
+
* File path, relative to the document root.
|
|
4713
|
+
* @type {string}
|
|
4714
|
+
* @memberof HostingV1FilesFileContentResource
|
|
4715
|
+
*/
|
|
4716
|
+
'path': string;
|
|
4717
|
+
/**
|
|
4718
|
+
* File content for the requested line range.
|
|
4719
|
+
* @type {string}
|
|
4720
|
+
* @memberof HostingV1FilesFileContentResource
|
|
4721
|
+
*/
|
|
4722
|
+
'content': string;
|
|
4723
|
+
/**
|
|
4724
|
+
* Line offset the returned content starts from.
|
|
4725
|
+
* @type {number}
|
|
4726
|
+
* @memberof HostingV1FilesFileContentResource
|
|
4727
|
+
*/
|
|
4728
|
+
'from_line': number;
|
|
4729
|
+
/**
|
|
4730
|
+
* Total number of lines in the file.
|
|
4731
|
+
* @type {number}
|
|
4732
|
+
* @memberof HostingV1FilesFileContentResource
|
|
4733
|
+
*/
|
|
4734
|
+
'total_lines': number;
|
|
4735
|
+
/**
|
|
4736
|
+
* Total file size in bytes.
|
|
4737
|
+
* @type {number}
|
|
4738
|
+
* @memberof HostingV1FilesFileContentResource
|
|
4739
|
+
*/
|
|
4740
|
+
'size_bytes': number;
|
|
4741
|
+
}
|
|
4742
|
+
/**
|
|
4743
|
+
*
|
|
4744
|
+
* @export
|
|
4745
|
+
* @interface HostingV1FilesFilesResource
|
|
4746
|
+
*/
|
|
4747
|
+
export interface HostingV1FilesFilesResource {
|
|
4748
|
+
/**
|
|
4749
|
+
* Listed directory, relative to the document root.
|
|
4750
|
+
* @type {string}
|
|
4751
|
+
* @memberof HostingV1FilesFilesResource
|
|
4752
|
+
*/
|
|
4753
|
+
'path': string;
|
|
4754
|
+
/**
|
|
4755
|
+
* Entries found in the listed directory.
|
|
4756
|
+
* @type {Array<HostingV1FilesFilesResourceItemsInner>}
|
|
4757
|
+
* @memberof HostingV1FilesFilesResource
|
|
4758
|
+
*/
|
|
4759
|
+
'items': Array<HostingV1FilesFilesResourceItemsInner>;
|
|
4760
|
+
/**
|
|
4761
|
+
* Total number of entries matching the listing, across all pages.
|
|
4762
|
+
* @type {number}
|
|
4763
|
+
* @memberof HostingV1FilesFilesResource
|
|
4764
|
+
*/
|
|
4765
|
+
'total_items': number;
|
|
4766
|
+
/**
|
|
4767
|
+
* Number of entries in this page.
|
|
4768
|
+
* @type {number}
|
|
4769
|
+
* @memberof HostingV1FilesFilesResource
|
|
4770
|
+
*/
|
|
4771
|
+
'total_items_current_page': number;
|
|
4772
|
+
/**
|
|
4773
|
+
* Number of entries skipped before this page.
|
|
4774
|
+
* @type {number}
|
|
4775
|
+
* @memberof HostingV1FilesFilesResource
|
|
4776
|
+
*/
|
|
4777
|
+
'offset': number;
|
|
4778
|
+
}
|
|
4779
|
+
/**
|
|
4780
|
+
*
|
|
4781
|
+
* @export
|
|
4782
|
+
* @interface HostingV1FilesFilesResourceItemsInner
|
|
4783
|
+
*/
|
|
4784
|
+
export interface HostingV1FilesFilesResourceItemsInner {
|
|
4785
|
+
/**
|
|
4786
|
+
* Entry name.
|
|
4787
|
+
* @type {string}
|
|
4788
|
+
* @memberof HostingV1FilesFilesResourceItemsInner
|
|
4789
|
+
*/
|
|
4790
|
+
'name': string;
|
|
4791
|
+
/**
|
|
4792
|
+
* Entry path, relative to the document root.
|
|
4793
|
+
* @type {string}
|
|
4794
|
+
* @memberof HostingV1FilesFilesResourceItemsInner
|
|
4795
|
+
*/
|
|
4796
|
+
'path': string;
|
|
4797
|
+
/**
|
|
4798
|
+
* Entry type.
|
|
4799
|
+
* @type {string}
|
|
4800
|
+
* @memberof HostingV1FilesFilesResourceItemsInner
|
|
4801
|
+
*/
|
|
4802
|
+
'type': HostingV1FilesFilesResourceItemsInnerTypeEnum;
|
|
4803
|
+
/**
|
|
4804
|
+
* Entry size in bytes. Null for directories, symlinks, and other non-file entries.
|
|
4805
|
+
* @type {number}
|
|
4806
|
+
* @memberof HostingV1FilesFilesResourceItemsInner
|
|
4807
|
+
*/
|
|
4808
|
+
'size_bytes': number | null;
|
|
4809
|
+
}
|
|
4810
|
+
export declare const HostingV1FilesFilesResourceItemsInnerTypeEnum: {
|
|
4811
|
+
readonly File: "file";
|
|
4812
|
+
readonly Directory: "directory";
|
|
4813
|
+
readonly Symlink: "symlink";
|
|
4814
|
+
readonly Other: "other";
|
|
4815
|
+
};
|
|
4816
|
+
export type HostingV1FilesFilesResourceItemsInnerTypeEnum = typeof HostingV1FilesFilesResourceItemsInnerTypeEnum[keyof typeof HostingV1FilesFilesResourceItemsInnerTypeEnum];
|
|
4624
4817
|
/**
|
|
4625
4818
|
*
|
|
4626
4819
|
* @export
|
|
@@ -5259,19 +5452,6 @@ export interface HostingV1WebsitesCreateWebsiteRequest {
|
|
|
5259
5452
|
*/
|
|
5260
5453
|
'datacenter_code': string | null;
|
|
5261
5454
|
}
|
|
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
5455
|
/**
|
|
5276
5456
|
*
|
|
5277
5457
|
* @export
|
|
@@ -13459,13 +13639,29 @@ export declare class DomainAccessVerifierVerificationsApi extends BaseAPI {
|
|
|
13459
13639
|
*/
|
|
13460
13640
|
export declare const DomainsAvailabilityApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13461
13641
|
/**
|
|
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
|
|
13642
|
+
* 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
13643
|
* @summary Check domain availability
|
|
13464
13644
|
* @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
|
|
13465
13645
|
* @param {*} [options] Override http request option.
|
|
13466
13646
|
* @throws {RequiredError}
|
|
13467
13647
|
*/
|
|
13468
13648
|
checkDomainAvailabilityV1: (domainsV1AvailabilityAvailabilityRequest: DomainsV1AvailabilityAvailabilityRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13649
|
+
/**
|
|
13650
|
+
* 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.
|
|
13651
|
+
* @summary Suggest domain names from a description
|
|
13652
|
+
* @param {DomainsV1AvailabilityAlternativesFromDescriptionRequest} domainsV1AvailabilityAlternativesFromDescriptionRequest
|
|
13653
|
+
* @param {*} [options] Override http request option.
|
|
13654
|
+
* @throws {RequiredError}
|
|
13655
|
+
*/
|
|
13656
|
+
suggestDomainNamesFromADescriptionV1: (domainsV1AvailabilityAlternativesFromDescriptionRequest: DomainsV1AvailabilityAlternativesFromDescriptionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13657
|
+
/**
|
|
13658
|
+
* 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.
|
|
13659
|
+
* @summary Suggest domain names from a domain
|
|
13660
|
+
* @param {DomainsV1AvailabilityAlternativesFromDomainRequest} domainsV1AvailabilityAlternativesFromDomainRequest
|
|
13661
|
+
* @param {*} [options] Override http request option.
|
|
13662
|
+
* @throws {RequiredError}
|
|
13663
|
+
*/
|
|
13664
|
+
suggestDomainNamesFromADomainV1: (domainsV1AvailabilityAlternativesFromDomainRequest: DomainsV1AvailabilityAlternativesFromDomainRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13469
13665
|
};
|
|
13470
13666
|
/**
|
|
13471
13667
|
* DomainsAvailabilityApi - functional programming interface
|
|
@@ -13473,13 +13669,29 @@ export declare const DomainsAvailabilityApiAxiosParamCreator: (configuration?: C
|
|
|
13473
13669
|
*/
|
|
13474
13670
|
export declare const DomainsAvailabilityApiFp: (configuration?: Configuration) => {
|
|
13475
13671
|
/**
|
|
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
|
|
13672
|
+
* 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
13673
|
* @summary Check domain availability
|
|
13478
13674
|
* @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
|
|
13479
13675
|
* @param {*} [options] Override http request option.
|
|
13480
13676
|
* @throws {RequiredError}
|
|
13481
13677
|
*/
|
|
13482
13678
|
checkDomainAvailabilityV1(domainsV1AvailabilityAvailabilityRequest: DomainsV1AvailabilityAvailabilityRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DomainsV1AvailabilityAvailabilityResource>>>;
|
|
13679
|
+
/**
|
|
13680
|
+
* 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.
|
|
13681
|
+
* @summary Suggest domain names from a description
|
|
13682
|
+
* @param {DomainsV1AvailabilityAlternativesFromDescriptionRequest} domainsV1AvailabilityAlternativesFromDescriptionRequest
|
|
13683
|
+
* @param {*} [options] Override http request option.
|
|
13684
|
+
* @throws {RequiredError}
|
|
13685
|
+
*/
|
|
13686
|
+
suggestDomainNamesFromADescriptionV1(domainsV1AvailabilityAlternativesFromDescriptionRequest: DomainsV1AvailabilityAlternativesFromDescriptionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
|
|
13687
|
+
/**
|
|
13688
|
+
* 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.
|
|
13689
|
+
* @summary Suggest domain names from a domain
|
|
13690
|
+
* @param {DomainsV1AvailabilityAlternativesFromDomainRequest} domainsV1AvailabilityAlternativesFromDomainRequest
|
|
13691
|
+
* @param {*} [options] Override http request option.
|
|
13692
|
+
* @throws {RequiredError}
|
|
13693
|
+
*/
|
|
13694
|
+
suggestDomainNamesFromADomainV1(domainsV1AvailabilityAlternativesFromDomainRequest: DomainsV1AvailabilityAlternativesFromDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
|
|
13483
13695
|
};
|
|
13484
13696
|
/**
|
|
13485
13697
|
* DomainsAvailabilityApi - factory interface
|
|
@@ -13487,13 +13699,29 @@ export declare const DomainsAvailabilityApiFp: (configuration?: Configuration) =
|
|
|
13487
13699
|
*/
|
|
13488
13700
|
export declare const DomainsAvailabilityApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
13489
13701
|
/**
|
|
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
|
|
13702
|
+
* 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
13703
|
* @summary Check domain availability
|
|
13492
13704
|
* @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
|
|
13493
13705
|
* @param {*} [options] Override http request option.
|
|
13494
13706
|
* @throws {RequiredError}
|
|
13495
13707
|
*/
|
|
13496
13708
|
checkDomainAvailabilityV1(domainsV1AvailabilityAvailabilityRequest: DomainsV1AvailabilityAvailabilityRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DomainsV1AvailabilityAvailabilityResource>>;
|
|
13709
|
+
/**
|
|
13710
|
+
* 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.
|
|
13711
|
+
* @summary Suggest domain names from a description
|
|
13712
|
+
* @param {DomainsV1AvailabilityAlternativesFromDescriptionRequest} domainsV1AvailabilityAlternativesFromDescriptionRequest
|
|
13713
|
+
* @param {*} [options] Override http request option.
|
|
13714
|
+
* @throws {RequiredError}
|
|
13715
|
+
*/
|
|
13716
|
+
suggestDomainNamesFromADescriptionV1(domainsV1AvailabilityAlternativesFromDescriptionRequest: DomainsV1AvailabilityAlternativesFromDescriptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
13717
|
+
/**
|
|
13718
|
+
* 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.
|
|
13719
|
+
* @summary Suggest domain names from a domain
|
|
13720
|
+
* @param {DomainsV1AvailabilityAlternativesFromDomainRequest} domainsV1AvailabilityAlternativesFromDomainRequest
|
|
13721
|
+
* @param {*} [options] Override http request option.
|
|
13722
|
+
* @throws {RequiredError}
|
|
13723
|
+
*/
|
|
13724
|
+
suggestDomainNamesFromADomainV1(domainsV1AvailabilityAlternativesFromDomainRequest: DomainsV1AvailabilityAlternativesFromDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
13497
13725
|
};
|
|
13498
13726
|
/**
|
|
13499
13727
|
* DomainsAvailabilityApi - object-oriented interface
|
|
@@ -13503,7 +13731,7 @@ export declare const DomainsAvailabilityApiFactory: (configuration?: Configurati
|
|
|
13503
13731
|
*/
|
|
13504
13732
|
export declare class DomainsAvailabilityApi extends BaseAPI {
|
|
13505
13733
|
/**
|
|
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
|
|
13734
|
+
* 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
13735
|
* @summary Check domain availability
|
|
13508
13736
|
* @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
|
|
13509
13737
|
* @param {*} [options] Override http request option.
|
|
@@ -13511,6 +13739,24 @@ export declare class DomainsAvailabilityApi extends BaseAPI {
|
|
|
13511
13739
|
* @memberof DomainsAvailabilityApi
|
|
13512
13740
|
*/
|
|
13513
13741
|
checkDomainAvailabilityV1(domainsV1AvailabilityAvailabilityRequest: DomainsV1AvailabilityAvailabilityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1AvailabilityAvailabilityResource[], any, {}, any>>;
|
|
13742
|
+
/**
|
|
13743
|
+
* 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.
|
|
13744
|
+
* @summary Suggest domain names from a description
|
|
13745
|
+
* @param {DomainsV1AvailabilityAlternativesFromDescriptionRequest} domainsV1AvailabilityAlternativesFromDescriptionRequest
|
|
13746
|
+
* @param {*} [options] Override http request option.
|
|
13747
|
+
* @throws {RequiredError}
|
|
13748
|
+
* @memberof DomainsAvailabilityApi
|
|
13749
|
+
*/
|
|
13750
|
+
suggestDomainNamesFromADescriptionV1(domainsV1AvailabilityAlternativesFromDescriptionRequest: DomainsV1AvailabilityAlternativesFromDescriptionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any, {}, any>>;
|
|
13751
|
+
/**
|
|
13752
|
+
* 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.
|
|
13753
|
+
* @summary Suggest domain names from a domain
|
|
13754
|
+
* @param {DomainsV1AvailabilityAlternativesFromDomainRequest} domainsV1AvailabilityAlternativesFromDomainRequest
|
|
13755
|
+
* @param {*} [options] Override http request option.
|
|
13756
|
+
* @throws {RequiredError}
|
|
13757
|
+
* @memberof DomainsAvailabilityApi
|
|
13758
|
+
*/
|
|
13759
|
+
suggestDomainNamesFromADomainV1(domainsV1AvailabilityAlternativesFromDomainRequest: DomainsV1AvailabilityAlternativesFromDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any, {}, any>>;
|
|
13514
13760
|
}
|
|
13515
13761
|
/**
|
|
13516
13762
|
* DomainsForwardingApi - axios parameter creator
|
|
@@ -14975,6 +15221,16 @@ export declare const EcommerceProductsApiAxiosParamCreator: (configuration?: Con
|
|
|
14975
15221
|
* @throws {RequiredError}
|
|
14976
15222
|
*/
|
|
14977
15223
|
createPhysicalProductV1: (storeId: string, ecommerceV1ProductCreatePhysicalProductRequest: EcommerceV1ProductCreatePhysicalProductRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15224
|
+
/**
|
|
15225
|
+
* Upload a raster image (JPEG, PNG, GIF or WebP, max 15MB) and attach it to a product in a single call. The image is virus-scanned and validated by content, then stored on the CDN. Set is_thumbnail to make it the product\'s primary image.
|
|
15226
|
+
* @summary Upload and attach a product image
|
|
15227
|
+
* @param {string} storeId The ID of the store the product belongs to.
|
|
15228
|
+
* @param {string} productId The ID of the product to attach the image to.
|
|
15229
|
+
* @param {EcommerceV1ProductUploadProductImageRequest} ecommerceV1ProductUploadProductImageRequest
|
|
15230
|
+
* @param {*} [options] Override http request option.
|
|
15231
|
+
* @throws {RequiredError}
|
|
15232
|
+
*/
|
|
15233
|
+
uploadAndAttachAProductImageV1: (storeId: string, productId: string, ecommerceV1ProductUploadProductImageRequest: EcommerceV1ProductUploadProductImageRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14978
15234
|
};
|
|
14979
15235
|
/**
|
|
14980
15236
|
* EcommerceProductsApi - functional programming interface
|
|
@@ -14999,6 +15255,16 @@ export declare const EcommerceProductsApiFp: (configuration?: Configuration) =>
|
|
|
14999
15255
|
* @throws {RequiredError}
|
|
15000
15256
|
*/
|
|
15001
15257
|
createPhysicalProductV1(storeId: string, ecommerceV1ProductCreatePhysicalProductRequest: EcommerceV1ProductCreatePhysicalProductRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EcommerceV1ProductProductCreationResource>>;
|
|
15258
|
+
/**
|
|
15259
|
+
* Upload a raster image (JPEG, PNG, GIF or WebP, max 15MB) and attach it to a product in a single call. The image is virus-scanned and validated by content, then stored on the CDN. Set is_thumbnail to make it the product\'s primary image.
|
|
15260
|
+
* @summary Upload and attach a product image
|
|
15261
|
+
* @param {string} storeId The ID of the store the product belongs to.
|
|
15262
|
+
* @param {string} productId The ID of the product to attach the image to.
|
|
15263
|
+
* @param {EcommerceV1ProductUploadProductImageRequest} ecommerceV1ProductUploadProductImageRequest
|
|
15264
|
+
* @param {*} [options] Override http request option.
|
|
15265
|
+
* @throws {RequiredError}
|
|
15266
|
+
*/
|
|
15267
|
+
uploadAndAttachAProductImageV1(storeId: string, productId: string, ecommerceV1ProductUploadProductImageRequest: EcommerceV1ProductUploadProductImageRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EcommerceV1ProductProductImageUploadResource>>;
|
|
15002
15268
|
};
|
|
15003
15269
|
/**
|
|
15004
15270
|
* EcommerceProductsApi - factory interface
|
|
@@ -15023,6 +15289,16 @@ export declare const EcommerceProductsApiFactory: (configuration?: Configuration
|
|
|
15023
15289
|
* @throws {RequiredError}
|
|
15024
15290
|
*/
|
|
15025
15291
|
createPhysicalProductV1(storeId: string, ecommerceV1ProductCreatePhysicalProductRequest: EcommerceV1ProductCreatePhysicalProductRequest, options?: RawAxiosRequestConfig): AxiosPromise<EcommerceV1ProductProductCreationResource>;
|
|
15292
|
+
/**
|
|
15293
|
+
* Upload a raster image (JPEG, PNG, GIF or WebP, max 15MB) and attach it to a product in a single call. The image is virus-scanned and validated by content, then stored on the CDN. Set is_thumbnail to make it the product\'s primary image.
|
|
15294
|
+
* @summary Upload and attach a product image
|
|
15295
|
+
* @param {string} storeId The ID of the store the product belongs to.
|
|
15296
|
+
* @param {string} productId The ID of the product to attach the image to.
|
|
15297
|
+
* @param {EcommerceV1ProductUploadProductImageRequest} ecommerceV1ProductUploadProductImageRequest
|
|
15298
|
+
* @param {*} [options] Override http request option.
|
|
15299
|
+
* @throws {RequiredError}
|
|
15300
|
+
*/
|
|
15301
|
+
uploadAndAttachAProductImageV1(storeId: string, productId: string, ecommerceV1ProductUploadProductImageRequest: EcommerceV1ProductUploadProductImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<EcommerceV1ProductProductImageUploadResource>;
|
|
15026
15302
|
};
|
|
15027
15303
|
/**
|
|
15028
15304
|
* EcommerceProductsApi - object-oriented interface
|
|
@@ -15051,6 +15327,17 @@ export declare class EcommerceProductsApi extends BaseAPI {
|
|
|
15051
15327
|
* @memberof EcommerceProductsApi
|
|
15052
15328
|
*/
|
|
15053
15329
|
createPhysicalProductV1(storeId: string, ecommerceV1ProductCreatePhysicalProductRequest: EcommerceV1ProductCreatePhysicalProductRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceV1ProductProductCreationResource, any, {}, any>>;
|
|
15330
|
+
/**
|
|
15331
|
+
* Upload a raster image (JPEG, PNG, GIF or WebP, max 15MB) and attach it to a product in a single call. The image is virus-scanned and validated by content, then stored on the CDN. Set is_thumbnail to make it the product\'s primary image.
|
|
15332
|
+
* @summary Upload and attach a product image
|
|
15333
|
+
* @param {string} storeId The ID of the store the product belongs to.
|
|
15334
|
+
* @param {string} productId The ID of the product to attach the image to.
|
|
15335
|
+
* @param {EcommerceV1ProductUploadProductImageRequest} ecommerceV1ProductUploadProductImageRequest
|
|
15336
|
+
* @param {*} [options] Override http request option.
|
|
15337
|
+
* @throws {RequiredError}
|
|
15338
|
+
* @memberof EcommerceProductsApi
|
|
15339
|
+
*/
|
|
15340
|
+
uploadAndAttachAProductImageV1(storeId: string, productId: string, ecommerceV1ProductUploadProductImageRequest: EcommerceV1ProductUploadProductImageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceV1ProductProductImageUploadResource, any, {}, any>>;
|
|
15054
15341
|
}
|
|
15055
15342
|
/**
|
|
15056
15343
|
* EcommerceSalesChannelsApi - axios parameter creator
|
|
@@ -16593,6 +16880,138 @@ export declare class HostingDomainsApi extends BaseAPI {
|
|
|
16593
16880
|
*/
|
|
16594
16881
|
verifyDomainOwnershipV1(hostingV1DomainsVerifyOwnershipRequest: HostingV1DomainsVerifyOwnershipRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1DomainsDomainAccessResource, any, {}, any>>;
|
|
16595
16882
|
}
|
|
16883
|
+
/**
|
|
16884
|
+
* HostingFilesApi - axios parameter creator
|
|
16885
|
+
* @export
|
|
16886
|
+
*/
|
|
16887
|
+
export declare const HostingFilesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
16888
|
+
/**
|
|
16889
|
+
* 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.
|
|
16890
|
+
* @summary Get website file content
|
|
16891
|
+
* @param {string} username
|
|
16892
|
+
* @param {string} domain Domain name
|
|
16893
|
+
* @param {string} path File path, relative to the document root.
|
|
16894
|
+
* @param {number | null} [fromLine] Line offset to start reading from.
|
|
16895
|
+
* @param {number | null} [maxLines] Max number of lines to return.
|
|
16896
|
+
* @param {*} [options] Override http request option.
|
|
16897
|
+
* @throws {RequiredError}
|
|
16898
|
+
*/
|
|
16899
|
+
getWebsiteFileContentV1: (username: string, domain: string, path: string, fromLine?: number | null, maxLines?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16900
|
+
/**
|
|
16901
|
+
* 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.
|
|
16902
|
+
* @summary List website files and directories
|
|
16903
|
+
* @param {string} username
|
|
16904
|
+
* @param {string} domain Domain name
|
|
16905
|
+
* @param {string} [directory] Directory path to check
|
|
16906
|
+
* @param {number | null} [maxDepth] How many directory levels deep to recurse.
|
|
16907
|
+
* @param {number | null} [maxItems] Max number of entries to return in this page.
|
|
16908
|
+
* @param {number | null} [offset] Number of entries to skip. Page with offset + item count until reaching total_items.
|
|
16909
|
+
* @param {HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter} [fileTypes] Filter by entry type, e.g. file,directory. Array or comma-separated. Omit for all types.
|
|
16910
|
+
* @param {*} [options] Override http request option.
|
|
16911
|
+
* @throws {RequiredError}
|
|
16912
|
+
*/
|
|
16913
|
+
listWebsiteFilesAndDirectoriesV1: (username: string, domain: string, directory?: string, maxDepth?: number | null, maxItems?: number | null, offset?: number | null, fileTypes?: HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16914
|
+
};
|
|
16915
|
+
/**
|
|
16916
|
+
* HostingFilesApi - functional programming interface
|
|
16917
|
+
* @export
|
|
16918
|
+
*/
|
|
16919
|
+
export declare const HostingFilesApiFp: (configuration?: Configuration) => {
|
|
16920
|
+
/**
|
|
16921
|
+
* 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.
|
|
16922
|
+
* @summary Get website file content
|
|
16923
|
+
* @param {string} username
|
|
16924
|
+
* @param {string} domain Domain name
|
|
16925
|
+
* @param {string} path File path, relative to the document root.
|
|
16926
|
+
* @param {number | null} [fromLine] Line offset to start reading from.
|
|
16927
|
+
* @param {number | null} [maxLines] Max number of lines to return.
|
|
16928
|
+
* @param {*} [options] Override http request option.
|
|
16929
|
+
* @throws {RequiredError}
|
|
16930
|
+
*/
|
|
16931
|
+
getWebsiteFileContentV1(username: string, domain: string, path: string, fromLine?: number | null, maxLines?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1FilesFileContentResource>>;
|
|
16932
|
+
/**
|
|
16933
|
+
* 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.
|
|
16934
|
+
* @summary List website files and directories
|
|
16935
|
+
* @param {string} username
|
|
16936
|
+
* @param {string} domain Domain name
|
|
16937
|
+
* @param {string} [directory] Directory path to check
|
|
16938
|
+
* @param {number | null} [maxDepth] How many directory levels deep to recurse.
|
|
16939
|
+
* @param {number | null} [maxItems] Max number of entries to return in this page.
|
|
16940
|
+
* @param {number | null} [offset] Number of entries to skip. Page with offset + item count until reaching total_items.
|
|
16941
|
+
* @param {HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter} [fileTypes] Filter by entry type, e.g. file,directory. Array or comma-separated. Omit for all types.
|
|
16942
|
+
* @param {*} [options] Override http request option.
|
|
16943
|
+
* @throws {RequiredError}
|
|
16944
|
+
*/
|
|
16945
|
+
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>>;
|
|
16946
|
+
};
|
|
16947
|
+
/**
|
|
16948
|
+
* HostingFilesApi - factory interface
|
|
16949
|
+
* @export
|
|
16950
|
+
*/
|
|
16951
|
+
export declare const HostingFilesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
16952
|
+
/**
|
|
16953
|
+
* 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.
|
|
16954
|
+
* @summary Get website file content
|
|
16955
|
+
* @param {string} username
|
|
16956
|
+
* @param {string} domain Domain name
|
|
16957
|
+
* @param {string} path File path, relative to the document root.
|
|
16958
|
+
* @param {number | null} [fromLine] Line offset to start reading from.
|
|
16959
|
+
* @param {number | null} [maxLines] Max number of lines to return.
|
|
16960
|
+
* @param {*} [options] Override http request option.
|
|
16961
|
+
* @throws {RequiredError}
|
|
16962
|
+
*/
|
|
16963
|
+
getWebsiteFileContentV1(username: string, domain: string, path: string, fromLine?: number | null, maxLines?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1FilesFileContentResource>;
|
|
16964
|
+
/**
|
|
16965
|
+
* 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.
|
|
16966
|
+
* @summary List website files and directories
|
|
16967
|
+
* @param {string} username
|
|
16968
|
+
* @param {string} domain Domain name
|
|
16969
|
+
* @param {string} [directory] Directory path to check
|
|
16970
|
+
* @param {number | null} [maxDepth] How many directory levels deep to recurse.
|
|
16971
|
+
* @param {number | null} [maxItems] Max number of entries to return in this page.
|
|
16972
|
+
* @param {number | null} [offset] Number of entries to skip. Page with offset + item count until reaching total_items.
|
|
16973
|
+
* @param {HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter} [fileTypes] Filter by entry type, e.g. file,directory. Array or comma-separated. Omit for all types.
|
|
16974
|
+
* @param {*} [options] Override http request option.
|
|
16975
|
+
* @throws {RequiredError}
|
|
16976
|
+
*/
|
|
16977
|
+
listWebsiteFilesAndDirectoriesV1(username: string, domain: string, directory?: string, maxDepth?: number | null, maxItems?: number | null, offset?: number | null, fileTypes?: HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1FilesFilesResource>;
|
|
16978
|
+
};
|
|
16979
|
+
/**
|
|
16980
|
+
* HostingFilesApi - object-oriented interface
|
|
16981
|
+
* @export
|
|
16982
|
+
* @class HostingFilesApi
|
|
16983
|
+
* @extends {BaseAPI}
|
|
16984
|
+
*/
|
|
16985
|
+
export declare class HostingFilesApi extends BaseAPI {
|
|
16986
|
+
/**
|
|
16987
|
+
* 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.
|
|
16988
|
+
* @summary Get website file content
|
|
16989
|
+
* @param {string} username
|
|
16990
|
+
* @param {string} domain Domain name
|
|
16991
|
+
* @param {string} path File path, relative to the document root.
|
|
16992
|
+
* @param {number | null} [fromLine] Line offset to start reading from.
|
|
16993
|
+
* @param {number | null} [maxLines] Max number of lines to return.
|
|
16994
|
+
* @param {*} [options] Override http request option.
|
|
16995
|
+
* @throws {RequiredError}
|
|
16996
|
+
* @memberof HostingFilesApi
|
|
16997
|
+
*/
|
|
16998
|
+
getWebsiteFileContentV1(username: string, domain: string, path: string, fromLine?: number | null, maxLines?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1FilesFileContentResource, any, {}, any>>;
|
|
16999
|
+
/**
|
|
17000
|
+
* 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.
|
|
17001
|
+
* @summary List website files and directories
|
|
17002
|
+
* @param {string} username
|
|
17003
|
+
* @param {string} domain Domain name
|
|
17004
|
+
* @param {string} [directory] Directory path to check
|
|
17005
|
+
* @param {number | null} [maxDepth] How many directory levels deep to recurse.
|
|
17006
|
+
* @param {number | null} [maxItems] Max number of entries to return in this page.
|
|
17007
|
+
* @param {number | null} [offset] Number of entries to skip. Page with offset + item count until reaching total_items.
|
|
17008
|
+
* @param {HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter} [fileTypes] Filter by entry type, e.g. file,directory. Array or comma-separated. Omit for all types.
|
|
17009
|
+
* @param {*} [options] Override http request option.
|
|
17010
|
+
* @throws {RequiredError}
|
|
17011
|
+
* @memberof HostingFilesApi
|
|
17012
|
+
*/
|
|
17013
|
+
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>>;
|
|
17014
|
+
}
|
|
16596
17015
|
/**
|
|
16597
17016
|
* HostingNodeJSApi - axios parameter creator
|
|
16598
17017
|
* @export
|
|
@@ -17249,14 +17668,13 @@ export declare const HostingWebsitesApiAxiosParamCreator: (configuration?: Confi
|
|
|
17249
17668
|
*/
|
|
17250
17669
|
createWebsiteV1: (hostingV1WebsitesCreateWebsiteRequest: HostingV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17251
17670
|
/**
|
|
17252
|
-
*
|
|
17671
|
+
* 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
17672
|
* @summary Delete website
|
|
17254
17673
|
* @param {string} domain Domain name
|
|
17255
|
-
* @param {HostingV1WebsitesDeleteWebsiteRequest} hostingV1WebsitesDeleteWebsiteRequest
|
|
17256
17674
|
* @param {*} [options] Override http request option.
|
|
17257
17675
|
* @throws {RequiredError}
|
|
17258
17676
|
*/
|
|
17259
|
-
deleteWebsiteV1: (domain: string,
|
|
17677
|
+
deleteWebsiteV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17260
17678
|
/**
|
|
17261
17679
|
* 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
17680
|
* @summary List websites
|
|
@@ -17285,14 +17703,13 @@ export declare const HostingWebsitesApiFp: (configuration?: Configuration) => {
|
|
|
17285
17703
|
*/
|
|
17286
17704
|
createWebsiteV1(hostingV1WebsitesCreateWebsiteRequest: HostingV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
17287
17705
|
/**
|
|
17288
|
-
*
|
|
17706
|
+
* 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
17707
|
* @summary Delete website
|
|
17290
17708
|
* @param {string} domain Domain name
|
|
17291
|
-
* @param {HostingV1WebsitesDeleteWebsiteRequest} hostingV1WebsitesDeleteWebsiteRequest
|
|
17292
17709
|
* @param {*} [options] Override http request option.
|
|
17293
17710
|
* @throws {RequiredError}
|
|
17294
17711
|
*/
|
|
17295
|
-
deleteWebsiteV1(domain: string,
|
|
17712
|
+
deleteWebsiteV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
17296
17713
|
/**
|
|
17297
17714
|
* 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
17715
|
* @summary List websites
|
|
@@ -17321,14 +17738,13 @@ export declare const HostingWebsitesApiFactory: (configuration?: Configuration,
|
|
|
17321
17738
|
*/
|
|
17322
17739
|
createWebsiteV1(hostingV1WebsitesCreateWebsiteRequest: HostingV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
17323
17740
|
/**
|
|
17324
|
-
*
|
|
17741
|
+
* 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
17742
|
* @summary Delete website
|
|
17326
17743
|
* @param {string} domain Domain name
|
|
17327
|
-
* @param {HostingV1WebsitesDeleteWebsiteRequest} hostingV1WebsitesDeleteWebsiteRequest
|
|
17328
17744
|
* @param {*} [options] Override http request option.
|
|
17329
17745
|
* @throws {RequiredError}
|
|
17330
17746
|
*/
|
|
17331
|
-
deleteWebsiteV1(domain: string,
|
|
17747
|
+
deleteWebsiteV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
17332
17748
|
/**
|
|
17333
17749
|
* 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
17750
|
* @summary List websites
|
|
@@ -17360,15 +17776,14 @@ export declare class HostingWebsitesApi extends BaseAPI {
|
|
|
17360
17776
|
*/
|
|
17361
17777
|
createWebsiteV1(hostingV1WebsitesCreateWebsiteRequest: HostingV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
17362
17778
|
/**
|
|
17363
|
-
*
|
|
17779
|
+
* 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
17780
|
* @summary Delete website
|
|
17365
17781
|
* @param {string} domain Domain name
|
|
17366
|
-
* @param {HostingV1WebsitesDeleteWebsiteRequest} hostingV1WebsitesDeleteWebsiteRequest
|
|
17367
17782
|
* @param {*} [options] Override http request option.
|
|
17368
17783
|
* @throws {RequiredError}
|
|
17369
17784
|
* @memberof HostingWebsitesApi
|
|
17370
17785
|
*/
|
|
17371
|
-
deleteWebsiteV1(domain: string,
|
|
17786
|
+
deleteWebsiteV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
17372
17787
|
/**
|
|
17373
17788
|
* 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
17789
|
* @summary List websites
|