hostinger-api-sdk 1.38.0 → 1.39.0
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 +1019 -5
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +646 -5
- package/dist/api.js +712 -15
- 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 +646 -5
- package/dist/esm/api.js +702 -5
- 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/AgencyHostingFilesApi.md +54 -0
- package/docs/HostingFilesApi.md +56 -0
- package/docs/HostingNodeJSApi.md +124 -1
- package/docs/HostingV1FilesGenerateUploadUrlRequest.md +22 -0
- package/docs/HostingV1FilesUploadUrlResource.md +24 -0
- package/docs/HostingV1NodeJsBuildSettingsResource.md +34 -0
- package/docs/HostingV1NodeJsGetBuildSettingsRequest.md +20 -0
- package/docs/HostingV1NodeJsStartBuildRequest.md +36 -0
- package/docs/HostingV1NodeJsStartBuildRequestSourceOptions.md +21 -0
- package/docs/HostingV1WebsitesDeployArchiveRequest.md +20 -0
- package/docs/HostingWebsitesApi.md +62 -0
- package/docs/WordPressInstallationsApi.md +62 -0
- package/docs/WordPressPluginsApi.md +62 -0
- package/docs/WordPressThemesApi.md +62 -0
- package/docs/WordPressV1InstallationsImportWordPressRequest.md +22 -0
- package/docs/WordPressV1PluginsDeployPluginRequest.md +22 -0
- package/docs/WordPressV1ThemesDeployThemeRequest.md +24 -0
- 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.41.0
|
|
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
|
|
@@ -5198,6 +5198,50 @@ export declare const HostingV1FilesFilesResourceItemsInnerTypeEnum: {
|
|
|
5198
5198
|
readonly Other: "other";
|
|
5199
5199
|
};
|
|
5200
5200
|
export type HostingV1FilesFilesResourceItemsInnerTypeEnum = typeof HostingV1FilesFilesResourceItemsInnerTypeEnum[keyof typeof HostingV1FilesFilesResourceItemsInnerTypeEnum];
|
|
5201
|
+
/**
|
|
5202
|
+
*
|
|
5203
|
+
* @export
|
|
5204
|
+
* @interface HostingV1FilesGenerateUploadUrlRequest
|
|
5205
|
+
*/
|
|
5206
|
+
export interface HostingV1FilesGenerateUploadUrlRequest {
|
|
5207
|
+
/**
|
|
5208
|
+
* Account username
|
|
5209
|
+
* @type {string}
|
|
5210
|
+
* @memberof HostingV1FilesGenerateUploadUrlRequest
|
|
5211
|
+
*/
|
|
5212
|
+
'username': string;
|
|
5213
|
+
/**
|
|
5214
|
+
* Website domain
|
|
5215
|
+
* @type {string}
|
|
5216
|
+
* @memberof HostingV1FilesGenerateUploadUrlRequest
|
|
5217
|
+
*/
|
|
5218
|
+
'domain': string;
|
|
5219
|
+
}
|
|
5220
|
+
/**
|
|
5221
|
+
*
|
|
5222
|
+
* @export
|
|
5223
|
+
* @interface HostingV1FilesUploadUrlResource
|
|
5224
|
+
*/
|
|
5225
|
+
export interface HostingV1FilesUploadUrlResource {
|
|
5226
|
+
/**
|
|
5227
|
+
* The TUS upload endpoint URL to send upload requests to
|
|
5228
|
+
* @type {string}
|
|
5229
|
+
* @memberof HostingV1FilesUploadUrlResource
|
|
5230
|
+
*/
|
|
5231
|
+
'url': string;
|
|
5232
|
+
/**
|
|
5233
|
+
* Authentication token to pass as the `X-Auth` header in TUS upload requests
|
|
5234
|
+
* @type {string}
|
|
5235
|
+
* @memberof HostingV1FilesUploadUrlResource
|
|
5236
|
+
*/
|
|
5237
|
+
'auth_key': string;
|
|
5238
|
+
/**
|
|
5239
|
+
* Authentication token to pass as the `X-Auth-Rest` header in TUS upload requests
|
|
5240
|
+
* @type {string}
|
|
5241
|
+
* @memberof HostingV1FilesUploadUrlResource
|
|
5242
|
+
*/
|
|
5243
|
+
'rest_auth_key': string;
|
|
5244
|
+
}
|
|
5201
5245
|
/**
|
|
5202
5246
|
*
|
|
5203
5247
|
* @export
|
|
@@ -5354,6 +5398,89 @@ export declare const HostingV1NodeJsBuildResourceStateEnum: {
|
|
|
5354
5398
|
readonly Failed: "failed";
|
|
5355
5399
|
};
|
|
5356
5400
|
export type HostingV1NodeJsBuildResourceStateEnum = typeof HostingV1NodeJsBuildResourceStateEnum[keyof typeof HostingV1NodeJsBuildResourceStateEnum];
|
|
5401
|
+
/**
|
|
5402
|
+
*
|
|
5403
|
+
* @export
|
|
5404
|
+
* @interface HostingV1NodeJsBuildSettingsResource
|
|
5405
|
+
*/
|
|
5406
|
+
export interface HostingV1NodeJsBuildSettingsResource {
|
|
5407
|
+
/**
|
|
5408
|
+
* Node.js application type
|
|
5409
|
+
* @type {string}
|
|
5410
|
+
* @memberof HostingV1NodeJsBuildSettingsResource
|
|
5411
|
+
*/
|
|
5412
|
+
'app_type': HostingV1NodeJsBuildSettingsResourceAppTypeEnum | null;
|
|
5413
|
+
/**
|
|
5414
|
+
* Node.js version
|
|
5415
|
+
* @type {number}
|
|
5416
|
+
* @memberof HostingV1NodeJsBuildSettingsResource
|
|
5417
|
+
*/
|
|
5418
|
+
'node_version': number | null;
|
|
5419
|
+
/**
|
|
5420
|
+
* Application root directory
|
|
5421
|
+
* @type {string}
|
|
5422
|
+
* @memberof HostingV1NodeJsBuildSettingsResource
|
|
5423
|
+
*/
|
|
5424
|
+
'root_directory': string | null;
|
|
5425
|
+
/**
|
|
5426
|
+
* Build output directory
|
|
5427
|
+
* @type {string}
|
|
5428
|
+
* @memberof HostingV1NodeJsBuildSettingsResource
|
|
5429
|
+
*/
|
|
5430
|
+
'output_directory': string | null;
|
|
5431
|
+
/**
|
|
5432
|
+
* The npm script to run to build the application
|
|
5433
|
+
* @type {string}
|
|
5434
|
+
* @memberof HostingV1NodeJsBuildSettingsResource
|
|
5435
|
+
*/
|
|
5436
|
+
'build_script': string | null;
|
|
5437
|
+
/**
|
|
5438
|
+
* The main entry point file for the application
|
|
5439
|
+
* @type {string}
|
|
5440
|
+
* @memberof HostingV1NodeJsBuildSettingsResource
|
|
5441
|
+
*/
|
|
5442
|
+
'entry_file': string | null;
|
|
5443
|
+
/**
|
|
5444
|
+
* Package manager
|
|
5445
|
+
* @type {string}
|
|
5446
|
+
* @memberof HostingV1NodeJsBuildSettingsResource
|
|
5447
|
+
*/
|
|
5448
|
+
'package_manager': HostingV1NodeJsBuildSettingsResourcePackageManagerEnum | null;
|
|
5449
|
+
/**
|
|
5450
|
+
* The scripts configured in the package.json file
|
|
5451
|
+
* @type {Array<string>}
|
|
5452
|
+
* @memberof HostingV1NodeJsBuildSettingsResource
|
|
5453
|
+
*/
|
|
5454
|
+
'available_scripts': Array<string>;
|
|
5455
|
+
}
|
|
5456
|
+
export declare const HostingV1NodeJsBuildSettingsResourceAppTypeEnum: {
|
|
5457
|
+
readonly CreateReactApp: "create-react-app";
|
|
5458
|
+
readonly Gatsby: "gatsby";
|
|
5459
|
+
readonly Vite: "vite";
|
|
5460
|
+
readonly Angular: "angular";
|
|
5461
|
+
readonly React: "react";
|
|
5462
|
+
readonly Vue: "vue";
|
|
5463
|
+
readonly Parcel: "parcel";
|
|
5464
|
+
readonly Next: "next";
|
|
5465
|
+
readonly Nuxt: "nuxt";
|
|
5466
|
+
readonly Nest: "nest";
|
|
5467
|
+
readonly Express: "express";
|
|
5468
|
+
readonly Fastify: "fastify";
|
|
5469
|
+
readonly Astro: "astro";
|
|
5470
|
+
readonly Svelte: "svelte";
|
|
5471
|
+
readonly SvelteKit: "svelte-kit";
|
|
5472
|
+
readonly Hono: "hono";
|
|
5473
|
+
readonly ReactRouter: "react-router";
|
|
5474
|
+
readonly Nitro: "nitro";
|
|
5475
|
+
readonly Other: "other";
|
|
5476
|
+
};
|
|
5477
|
+
export type HostingV1NodeJsBuildSettingsResourceAppTypeEnum = typeof HostingV1NodeJsBuildSettingsResourceAppTypeEnum[keyof typeof HostingV1NodeJsBuildSettingsResourceAppTypeEnum];
|
|
5478
|
+
export declare const HostingV1NodeJsBuildSettingsResourcePackageManagerEnum: {
|
|
5479
|
+
readonly Npm: "npm";
|
|
5480
|
+
readonly Yarn: "yarn";
|
|
5481
|
+
readonly Pnpm: "pnpm";
|
|
5482
|
+
};
|
|
5483
|
+
export type HostingV1NodeJsBuildSettingsResourcePackageManagerEnum = typeof HostingV1NodeJsBuildSettingsResourcePackageManagerEnum[keyof typeof HostingV1NodeJsBuildSettingsResourcePackageManagerEnum];
|
|
5357
5484
|
/**
|
|
5358
5485
|
*
|
|
5359
5486
|
* @export
|
|
@@ -5444,6 +5571,19 @@ export declare const HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum:
|
|
|
5444
5571
|
readonly Pnpm: "pnpm";
|
|
5445
5572
|
};
|
|
5446
5573
|
export type HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum = typeof HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum[keyof typeof HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum];
|
|
5574
|
+
/**
|
|
5575
|
+
*
|
|
5576
|
+
* @export
|
|
5577
|
+
* @interface HostingV1NodeJsGetBuildSettingsRequest
|
|
5578
|
+
*/
|
|
5579
|
+
export interface HostingV1NodeJsGetBuildSettingsRequest {
|
|
5580
|
+
/**
|
|
5581
|
+
* The path to the archive file relative to the document root of the vhost
|
|
5582
|
+
* @type {string}
|
|
5583
|
+
* @memberof HostingV1NodeJsGetBuildSettingsRequest
|
|
5584
|
+
*/
|
|
5585
|
+
'archive_path': string;
|
|
5586
|
+
}
|
|
5447
5587
|
/**
|
|
5448
5588
|
*
|
|
5449
5589
|
* @export
|
|
@@ -5501,6 +5641,119 @@ export interface HostingV1NodeJsSourceOptionsResource {
|
|
|
5501
5641
|
*/
|
|
5502
5642
|
'archive_path': string | null;
|
|
5503
5643
|
}
|
|
5644
|
+
/**
|
|
5645
|
+
*
|
|
5646
|
+
* @export
|
|
5647
|
+
* @interface HostingV1NodeJsStartBuildRequest
|
|
5648
|
+
*/
|
|
5649
|
+
export interface HostingV1NodeJsStartBuildRequest {
|
|
5650
|
+
/**
|
|
5651
|
+
* Node.js version
|
|
5652
|
+
* @type {number}
|
|
5653
|
+
* @memberof HostingV1NodeJsStartBuildRequest
|
|
5654
|
+
*/
|
|
5655
|
+
'node_version': HostingV1NodeJsStartBuildRequestNodeVersionEnum;
|
|
5656
|
+
/**
|
|
5657
|
+
* Node.js application type
|
|
5658
|
+
* @type {string}
|
|
5659
|
+
* @memberof HostingV1NodeJsStartBuildRequest
|
|
5660
|
+
*/
|
|
5661
|
+
'app_type': HostingV1NodeJsStartBuildRequestAppTypeEnum | null;
|
|
5662
|
+
/**
|
|
5663
|
+
* Application root directory (where package.json is located) relative to public_html
|
|
5664
|
+
* @type {string}
|
|
5665
|
+
* @memberof HostingV1NodeJsStartBuildRequest
|
|
5666
|
+
*/
|
|
5667
|
+
'root_directory': string | null;
|
|
5668
|
+
/**
|
|
5669
|
+
* Build output directory relative to the root directory
|
|
5670
|
+
* @type {string}
|
|
5671
|
+
* @memberof HostingV1NodeJsStartBuildRequest
|
|
5672
|
+
*/
|
|
5673
|
+
'output_directory': string | null;
|
|
5674
|
+
/**
|
|
5675
|
+
* Build script that will be ran to build the application
|
|
5676
|
+
* @type {string}
|
|
5677
|
+
* @memberof HostingV1NodeJsStartBuildRequest
|
|
5678
|
+
*/
|
|
5679
|
+
'build_script': string | null;
|
|
5680
|
+
/**
|
|
5681
|
+
* The main entry point file for the application
|
|
5682
|
+
* @type {string}
|
|
5683
|
+
* @memberof HostingV1NodeJsStartBuildRequest
|
|
5684
|
+
*/
|
|
5685
|
+
'entry_file': string | null;
|
|
5686
|
+
/**
|
|
5687
|
+
* Package manager
|
|
5688
|
+
* @type {string}
|
|
5689
|
+
* @memberof HostingV1NodeJsStartBuildRequest
|
|
5690
|
+
*/
|
|
5691
|
+
'package_manager': HostingV1NodeJsStartBuildRequestPackageManagerEnum | null;
|
|
5692
|
+
/**
|
|
5693
|
+
* The source type of the files
|
|
5694
|
+
* @type {string}
|
|
5695
|
+
* @memberof HostingV1NodeJsStartBuildRequest
|
|
5696
|
+
*/
|
|
5697
|
+
'source_type': HostingV1NodeJsStartBuildRequestSourceTypeEnum;
|
|
5698
|
+
/**
|
|
5699
|
+
*
|
|
5700
|
+
* @type {HostingV1NodeJsStartBuildRequestSourceOptions}
|
|
5701
|
+
* @memberof HostingV1NodeJsStartBuildRequest
|
|
5702
|
+
*/
|
|
5703
|
+
'source_options': HostingV1NodeJsStartBuildRequestSourceOptions | null;
|
|
5704
|
+
}
|
|
5705
|
+
export declare const HostingV1NodeJsStartBuildRequestNodeVersionEnum: {
|
|
5706
|
+
readonly NUMBER_18: 18;
|
|
5707
|
+
readonly NUMBER_20: 20;
|
|
5708
|
+
readonly NUMBER_22: 22;
|
|
5709
|
+
readonly NUMBER_24: 24;
|
|
5710
|
+
};
|
|
5711
|
+
export type HostingV1NodeJsStartBuildRequestNodeVersionEnum = typeof HostingV1NodeJsStartBuildRequestNodeVersionEnum[keyof typeof HostingV1NodeJsStartBuildRequestNodeVersionEnum];
|
|
5712
|
+
export declare const HostingV1NodeJsStartBuildRequestAppTypeEnum: {
|
|
5713
|
+
readonly CreateReactApp: "create-react-app";
|
|
5714
|
+
readonly Gatsby: "gatsby";
|
|
5715
|
+
readonly Vite: "vite";
|
|
5716
|
+
readonly Angular: "angular";
|
|
5717
|
+
readonly React: "react";
|
|
5718
|
+
readonly Vue: "vue";
|
|
5719
|
+
readonly Parcel: "parcel";
|
|
5720
|
+
readonly Next: "next";
|
|
5721
|
+
readonly Nuxt: "nuxt";
|
|
5722
|
+
readonly Nest: "nest";
|
|
5723
|
+
readonly Express: "express";
|
|
5724
|
+
readonly Fastify: "fastify";
|
|
5725
|
+
readonly Astro: "astro";
|
|
5726
|
+
readonly Svelte: "svelte";
|
|
5727
|
+
readonly SvelteKit: "svelte-kit";
|
|
5728
|
+
readonly Hono: "hono";
|
|
5729
|
+
readonly ReactRouter: "react-router";
|
|
5730
|
+
readonly Nitro: "nitro";
|
|
5731
|
+
readonly Other: "other";
|
|
5732
|
+
};
|
|
5733
|
+
export type HostingV1NodeJsStartBuildRequestAppTypeEnum = typeof HostingV1NodeJsStartBuildRequestAppTypeEnum[keyof typeof HostingV1NodeJsStartBuildRequestAppTypeEnum];
|
|
5734
|
+
export declare const HostingV1NodeJsStartBuildRequestPackageManagerEnum: {
|
|
5735
|
+
readonly Npm: "npm";
|
|
5736
|
+
readonly Yarn: "yarn";
|
|
5737
|
+
readonly Pnpm: "pnpm";
|
|
5738
|
+
};
|
|
5739
|
+
export type HostingV1NodeJsStartBuildRequestPackageManagerEnum = typeof HostingV1NodeJsStartBuildRequestPackageManagerEnum[keyof typeof HostingV1NodeJsStartBuildRequestPackageManagerEnum];
|
|
5740
|
+
export declare const HostingV1NodeJsStartBuildRequestSourceTypeEnum: {
|
|
5741
|
+
readonly Archive: "archive";
|
|
5742
|
+
};
|
|
5743
|
+
export type HostingV1NodeJsStartBuildRequestSourceTypeEnum = typeof HostingV1NodeJsStartBuildRequestSourceTypeEnum[keyof typeof HostingV1NodeJsStartBuildRequestSourceTypeEnum];
|
|
5744
|
+
/**
|
|
5745
|
+
* Source-specific options
|
|
5746
|
+
* @export
|
|
5747
|
+
* @interface HostingV1NodeJsStartBuildRequestSourceOptions
|
|
5748
|
+
*/
|
|
5749
|
+
export interface HostingV1NodeJsStartBuildRequestSourceOptions {
|
|
5750
|
+
/**
|
|
5751
|
+
* The path to the archive file relative to the document root of the vhost (required if source is \"archive\")
|
|
5752
|
+
* @type {string}
|
|
5753
|
+
* @memberof HostingV1NodeJsStartBuildRequestSourceOptions
|
|
5754
|
+
*/
|
|
5755
|
+
'archive_path': string;
|
|
5756
|
+
}
|
|
5504
5757
|
/**
|
|
5505
5758
|
*
|
|
5506
5759
|
* @export
|
|
@@ -5910,6 +6163,19 @@ export interface HostingV1WebsitesCreateWebsiteRequest {
|
|
|
5910
6163
|
*/
|
|
5911
6164
|
'datacenter_code': string | null;
|
|
5912
6165
|
}
|
|
6166
|
+
/**
|
|
6167
|
+
*
|
|
6168
|
+
* @export
|
|
6169
|
+
* @interface HostingV1WebsitesDeployArchiveRequest
|
|
6170
|
+
*/
|
|
6171
|
+
export interface HostingV1WebsitesDeployArchiveRequest {
|
|
6172
|
+
/**
|
|
6173
|
+
* Relative path to the archive file from website root directory
|
|
6174
|
+
* @type {string}
|
|
6175
|
+
* @memberof HostingV1WebsitesDeployArchiveRequest
|
|
6176
|
+
*/
|
|
6177
|
+
'archive_path': string;
|
|
6178
|
+
}
|
|
5913
6179
|
/**
|
|
5914
6180
|
*
|
|
5915
6181
|
* @export
|
|
@@ -11972,6 +12238,25 @@ export interface WordPressV1InstallationsDeleteInstallationRequest {
|
|
|
11972
12238
|
*/
|
|
11973
12239
|
'delete_database': boolean;
|
|
11974
12240
|
}
|
|
12241
|
+
/**
|
|
12242
|
+
*
|
|
12243
|
+
* @export
|
|
12244
|
+
* @interface WordPressV1InstallationsImportWordPressRequest
|
|
12245
|
+
*/
|
|
12246
|
+
export interface WordPressV1InstallationsImportWordPressRequest {
|
|
12247
|
+
/**
|
|
12248
|
+
* Path to the WordPress archive file (relative to website root)
|
|
12249
|
+
* @type {string}
|
|
12250
|
+
* @memberof WordPressV1InstallationsImportWordPressRequest
|
|
12251
|
+
*/
|
|
12252
|
+
'archive_path': string;
|
|
12253
|
+
/**
|
|
12254
|
+
* Path to the database SQL file (relative to website root)
|
|
12255
|
+
* @type {string}
|
|
12256
|
+
* @memberof WordPressV1InstallationsImportWordPressRequest
|
|
12257
|
+
*/
|
|
12258
|
+
'sql_path': string;
|
|
12259
|
+
}
|
|
11975
12260
|
/**
|
|
11976
12261
|
*
|
|
11977
12262
|
* @export
|
|
@@ -12528,6 +12813,25 @@ export interface WordPressV1PluginsDeactivatePluginRequest {
|
|
|
12528
12813
|
*/
|
|
12529
12814
|
'plugin': string;
|
|
12530
12815
|
}
|
|
12816
|
+
/**
|
|
12817
|
+
*
|
|
12818
|
+
* @export
|
|
12819
|
+
* @interface WordPressV1PluginsDeployPluginRequest
|
|
12820
|
+
*/
|
|
12821
|
+
export interface WordPressV1PluginsDeployPluginRequest {
|
|
12822
|
+
/**
|
|
12823
|
+
* Slug of the plugin
|
|
12824
|
+
* @type {string}
|
|
12825
|
+
* @memberof WordPressV1PluginsDeployPluginRequest
|
|
12826
|
+
*/
|
|
12827
|
+
'slug': string;
|
|
12828
|
+
/**
|
|
12829
|
+
* Relative path to the plugin directory from wp-content/plugins
|
|
12830
|
+
* @type {string}
|
|
12831
|
+
* @memberof WordPressV1PluginsDeployPluginRequest
|
|
12832
|
+
*/
|
|
12833
|
+
'plugin_path': string;
|
|
12834
|
+
}
|
|
12531
12835
|
/**
|
|
12532
12836
|
*
|
|
12533
12837
|
* @export
|
|
@@ -12814,6 +13118,31 @@ export interface WordPressV1ThemesActivateThemeRequest {
|
|
|
12814
13118
|
*/
|
|
12815
13119
|
'theme': string;
|
|
12816
13120
|
}
|
|
13121
|
+
/**
|
|
13122
|
+
*
|
|
13123
|
+
* @export
|
|
13124
|
+
* @interface WordPressV1ThemesDeployThemeRequest
|
|
13125
|
+
*/
|
|
13126
|
+
export interface WordPressV1ThemesDeployThemeRequest {
|
|
13127
|
+
/**
|
|
13128
|
+
* Slug of the theme
|
|
13129
|
+
* @type {string}
|
|
13130
|
+
* @memberof WordPressV1ThemesDeployThemeRequest
|
|
13131
|
+
*/
|
|
13132
|
+
'slug': string;
|
|
13133
|
+
/**
|
|
13134
|
+
* Relative path to the theme directory from wp-content/themes
|
|
13135
|
+
* @type {string}
|
|
13136
|
+
* @memberof WordPressV1ThemesDeployThemeRequest
|
|
13137
|
+
*/
|
|
13138
|
+
'theme_path': string;
|
|
13139
|
+
/**
|
|
13140
|
+
* Whether to activate the theme after deployment
|
|
13141
|
+
* @type {boolean}
|
|
13142
|
+
* @memberof WordPressV1ThemesDeployThemeRequest
|
|
13143
|
+
*/
|
|
13144
|
+
'is_activated': boolean | null;
|
|
13145
|
+
}
|
|
12817
13146
|
/**
|
|
12818
13147
|
*
|
|
12819
13148
|
* @export
|
|
@@ -13652,6 +13981,14 @@ export declare class AgencyHostingDomainsApi extends BaseAPI {
|
|
|
13652
13981
|
* @export
|
|
13653
13982
|
*/
|
|
13654
13983
|
export declare const AgencyHostingFilesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13984
|
+
/**
|
|
13985
|
+
* Generate a file browser upload URL with authentication credentials for uploading files to an Agency Plan website\'s file storage. Returns `url`, `auth_key` and `rest_auth_key`. Use these to upload a file to the website\'s file storage via the TUS resumable upload protocol (TUS 1.0.0). Send `X-Auth: {auth_key}` and `X-Auth-Rest: {rest_auth_key}` headers on every request below. 1. Create the upload: `POST` to `{url}/{relative_file_path}?override=true` with headers `upload-length: {file size in bytes}` and `upload-offset: 0`. Expect `201 Created`. 2. Upload the file: send the file bytes to the same location (any TUS 1.0.0 client, or `PATCH` requests with an `upload-offset` header tracking progress) until complete. `relative_file_path` is the destination path inside the website\'s file storage, e.g. `app.zip`. Instead of a TUS client, plain `curl` also works: ``` FILE=app.zip SIZE=$(stat -f%z \"$FILE\") # stat -c%s on Linux curl -i -X POST \"{url}/${FILE}?override=true\" \\ -H \"X-Auth: {auth_key}\" \\ -H \"X-Auth-Rest: {rest_auth_key}\" \\ -H \"Tus-Resumable: 1.0.0\" \\ -H \"Upload-Length: ${SIZE}\" \\ -H \"Upload-Offset: 0\" # -> 201 Created curl -i -X PATCH \"{url}/${FILE}?override=true\" \\ -H \"X-Auth: {auth_key}\" \\ -H \"X-Auth-Rest: {rest_auth_key}\" \\ -H \"Tus-Resumable: 1.0.0\" \\ -H \"Content-Type: application/offset+octet-stream\" \\ -H \"Upload-Offset: 0\" \\ --data-binary \"@${FILE}\" # -> 204 No Content, Upload-Offset response header equals SIZE when done ```
|
|
13986
|
+
* @summary Generate upload URL
|
|
13987
|
+
* @param {string} websiteUid Agency Plan website UID
|
|
13988
|
+
* @param {*} [options] Override http request option.
|
|
13989
|
+
* @throws {RequiredError}
|
|
13990
|
+
*/
|
|
13991
|
+
generateUploadURLV1: (websiteUid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13655
13992
|
/**
|
|
13656
13993
|
* Imports an Agency Plan website from an already-uploaded archive. Upload the archive to the website\'s root directory via file browser first, then provide its filename in this request. Website contents are overwritten by the archive contents. Supported archive types: .zip, .tar, .tar.gz, .tgz.
|
|
13657
13994
|
* @summary Import website from archive
|
|
@@ -13667,6 +14004,14 @@ export declare const AgencyHostingFilesApiAxiosParamCreator: (configuration?: Co
|
|
|
13667
14004
|
* @export
|
|
13668
14005
|
*/
|
|
13669
14006
|
export declare const AgencyHostingFilesApiFp: (configuration?: Configuration) => {
|
|
14007
|
+
/**
|
|
14008
|
+
* Generate a file browser upload URL with authentication credentials for uploading files to an Agency Plan website\'s file storage. Returns `url`, `auth_key` and `rest_auth_key`. Use these to upload a file to the website\'s file storage via the TUS resumable upload protocol (TUS 1.0.0). Send `X-Auth: {auth_key}` and `X-Auth-Rest: {rest_auth_key}` headers on every request below. 1. Create the upload: `POST` to `{url}/{relative_file_path}?override=true` with headers `upload-length: {file size in bytes}` and `upload-offset: 0`. Expect `201 Created`. 2. Upload the file: send the file bytes to the same location (any TUS 1.0.0 client, or `PATCH` requests with an `upload-offset` header tracking progress) until complete. `relative_file_path` is the destination path inside the website\'s file storage, e.g. `app.zip`. Instead of a TUS client, plain `curl` also works: ``` FILE=app.zip SIZE=$(stat -f%z \"$FILE\") # stat -c%s on Linux curl -i -X POST \"{url}/${FILE}?override=true\" \\ -H \"X-Auth: {auth_key}\" \\ -H \"X-Auth-Rest: {rest_auth_key}\" \\ -H \"Tus-Resumable: 1.0.0\" \\ -H \"Upload-Length: ${SIZE}\" \\ -H \"Upload-Offset: 0\" # -> 201 Created curl -i -X PATCH \"{url}/${FILE}?override=true\" \\ -H \"X-Auth: {auth_key}\" \\ -H \"X-Auth-Rest: {rest_auth_key}\" \\ -H \"Tus-Resumable: 1.0.0\" \\ -H \"Content-Type: application/offset+octet-stream\" \\ -H \"Upload-Offset: 0\" \\ --data-binary \"@${FILE}\" # -> 204 No Content, Upload-Offset response header equals SIZE when done ```
|
|
14009
|
+
* @summary Generate upload URL
|
|
14010
|
+
* @param {string} websiteUid Agency Plan website UID
|
|
14011
|
+
* @param {*} [options] Override http request option.
|
|
14012
|
+
* @throws {RequiredError}
|
|
14013
|
+
*/
|
|
14014
|
+
generateUploadURLV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1FilesUploadUrlResource>>;
|
|
13670
14015
|
/**
|
|
13671
14016
|
* Imports an Agency Plan website from an already-uploaded archive. Upload the archive to the website\'s root directory via file browser first, then provide its filename in this request. Website contents are overwritten by the archive contents. Supported archive types: .zip, .tar, .tar.gz, .tgz.
|
|
13672
14017
|
* @summary Import website from archive
|
|
@@ -13682,6 +14027,14 @@ export declare const AgencyHostingFilesApiFp: (configuration?: Configuration) =>
|
|
|
13682
14027
|
* @export
|
|
13683
14028
|
*/
|
|
13684
14029
|
export declare const AgencyHostingFilesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
14030
|
+
/**
|
|
14031
|
+
* Generate a file browser upload URL with authentication credentials for uploading files to an Agency Plan website\'s file storage. Returns `url`, `auth_key` and `rest_auth_key`. Use these to upload a file to the website\'s file storage via the TUS resumable upload protocol (TUS 1.0.0). Send `X-Auth: {auth_key}` and `X-Auth-Rest: {rest_auth_key}` headers on every request below. 1. Create the upload: `POST` to `{url}/{relative_file_path}?override=true` with headers `upload-length: {file size in bytes}` and `upload-offset: 0`. Expect `201 Created`. 2. Upload the file: send the file bytes to the same location (any TUS 1.0.0 client, or `PATCH` requests with an `upload-offset` header tracking progress) until complete. `relative_file_path` is the destination path inside the website\'s file storage, e.g. `app.zip`. Instead of a TUS client, plain `curl` also works: ``` FILE=app.zip SIZE=$(stat -f%z \"$FILE\") # stat -c%s on Linux curl -i -X POST \"{url}/${FILE}?override=true\" \\ -H \"X-Auth: {auth_key}\" \\ -H \"X-Auth-Rest: {rest_auth_key}\" \\ -H \"Tus-Resumable: 1.0.0\" \\ -H \"Upload-Length: ${SIZE}\" \\ -H \"Upload-Offset: 0\" # -> 201 Created curl -i -X PATCH \"{url}/${FILE}?override=true\" \\ -H \"X-Auth: {auth_key}\" \\ -H \"X-Auth-Rest: {rest_auth_key}\" \\ -H \"Tus-Resumable: 1.0.0\" \\ -H \"Content-Type: application/offset+octet-stream\" \\ -H \"Upload-Offset: 0\" \\ --data-binary \"@${FILE}\" # -> 204 No Content, Upload-Offset response header equals SIZE when done ```
|
|
14032
|
+
* @summary Generate upload URL
|
|
14033
|
+
* @param {string} websiteUid Agency Plan website UID
|
|
14034
|
+
* @param {*} [options] Override http request option.
|
|
14035
|
+
* @throws {RequiredError}
|
|
14036
|
+
*/
|
|
14037
|
+
generateUploadURLV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1FilesUploadUrlResource>;
|
|
13685
14038
|
/**
|
|
13686
14039
|
* Imports an Agency Plan website from an already-uploaded archive. Upload the archive to the website\'s root directory via file browser first, then provide its filename in this request. Website contents are overwritten by the archive contents. Supported archive types: .zip, .tar, .tar.gz, .tgz.
|
|
13687
14040
|
* @summary Import website from archive
|
|
@@ -13699,6 +14052,15 @@ export declare const AgencyHostingFilesApiFactory: (configuration?: Configuratio
|
|
|
13699
14052
|
* @extends {BaseAPI}
|
|
13700
14053
|
*/
|
|
13701
14054
|
export declare class AgencyHostingFilesApi extends BaseAPI {
|
|
14055
|
+
/**
|
|
14056
|
+
* Generate a file browser upload URL with authentication credentials for uploading files to an Agency Plan website\'s file storage. Returns `url`, `auth_key` and `rest_auth_key`. Use these to upload a file to the website\'s file storage via the TUS resumable upload protocol (TUS 1.0.0). Send `X-Auth: {auth_key}` and `X-Auth-Rest: {rest_auth_key}` headers on every request below. 1. Create the upload: `POST` to `{url}/{relative_file_path}?override=true` with headers `upload-length: {file size in bytes}` and `upload-offset: 0`. Expect `201 Created`. 2. Upload the file: send the file bytes to the same location (any TUS 1.0.0 client, or `PATCH` requests with an `upload-offset` header tracking progress) until complete. `relative_file_path` is the destination path inside the website\'s file storage, e.g. `app.zip`. Instead of a TUS client, plain `curl` also works: ``` FILE=app.zip SIZE=$(stat -f%z \"$FILE\") # stat -c%s on Linux curl -i -X POST \"{url}/${FILE}?override=true\" \\ -H \"X-Auth: {auth_key}\" \\ -H \"X-Auth-Rest: {rest_auth_key}\" \\ -H \"Tus-Resumable: 1.0.0\" \\ -H \"Upload-Length: ${SIZE}\" \\ -H \"Upload-Offset: 0\" # -> 201 Created curl -i -X PATCH \"{url}/${FILE}?override=true\" \\ -H \"X-Auth: {auth_key}\" \\ -H \"X-Auth-Rest: {rest_auth_key}\" \\ -H \"Tus-Resumable: 1.0.0\" \\ -H \"Content-Type: application/offset+octet-stream\" \\ -H \"Upload-Offset: 0\" \\ --data-binary \"@${FILE}\" # -> 204 No Content, Upload-Offset response header equals SIZE when done ```
|
|
14057
|
+
* @summary Generate upload URL
|
|
14058
|
+
* @param {string} websiteUid Agency Plan website UID
|
|
14059
|
+
* @param {*} [options] Override http request option.
|
|
14060
|
+
* @throws {RequiredError}
|
|
14061
|
+
* @memberof AgencyHostingFilesApi
|
|
14062
|
+
*/
|
|
14063
|
+
generateUploadURLV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgencyHostingV1FilesUploadUrlResource, any, {}, any>>;
|
|
13702
14064
|
/**
|
|
13703
14065
|
* Imports an Agency Plan website from an already-uploaded archive. Upload the archive to the website\'s root directory via file browser first, then provide its filename in this request. Website contents are overwritten by the archive contents. Supported archive types: .zip, .tar, .tar.gz, .tgz.
|
|
13704
14066
|
* @summary Import website from archive
|
|
@@ -18652,6 +19014,14 @@ export declare class HostingDomainsApi extends BaseAPI {
|
|
|
18652
19014
|
* @export
|
|
18653
19015
|
*/
|
|
18654
19016
|
export declare const HostingFilesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
19017
|
+
/**
|
|
19018
|
+
* Generate a file browser upload URL with authentication credentials for uploading files directly to a website\'s file storage. Returns `url`, `auth_key` and `rest_auth_key`. Use these to upload a file to the website\'s `public_html` directory via the TUS resumable upload protocol (TUS 1.0.0). Send `X-Auth: {auth_key}` and `X-Auth-Rest: {rest_auth_key}` headers on every request below. 1. Create the upload: `POST` to `{url}/{relative_file_path}?override=true` with headers `upload-length: {file size in bytes}` and `upload-offset: 0`. Expect `201 Created`. 2. Upload the file: send the file bytes to the same location (any TUS 1.0.0 client, or `PATCH` requests with an `upload-offset` header tracking progress) until complete. `relative_file_path` is the destination path inside `public_html`, e.g. `app.zip`. Instead of a TUS client, plain `curl` also works: ``` FILE=app.zip SIZE=$(stat -f%z \"$FILE\") # stat -c%s on Linux curl -i -X POST \"{url}/${FILE}?override=true\" \\ -H \"X-Auth: {auth_key}\" \\ -H \"X-Auth-Rest: {rest_auth_key}\" \\ -H \"Tus-Resumable: 1.0.0\" \\ -H \"Upload-Length: ${SIZE}\" \\ -H \"Upload-Offset: 0\" # -> 201 Created curl -i -X PATCH \"{url}/${FILE}?override=true\" \\ -H \"X-Auth: {auth_key}\" \\ -H \"X-Auth-Rest: {rest_auth_key}\" \\ -H \"Tus-Resumable: 1.0.0\" \\ -H \"Content-Type: application/offset+octet-stream\" \\ -H \"Upload-Offset: 0\" \\ --data-binary \"@${FILE}\" # -> 204 No Content, Upload-Offset response header equals SIZE when done ```
|
|
19019
|
+
* @summary Generate upload URL
|
|
19020
|
+
* @param {HostingV1FilesGenerateUploadUrlRequest} hostingV1FilesGenerateUploadUrlRequest
|
|
19021
|
+
* @param {*} [options] Override http request option.
|
|
19022
|
+
* @throws {RequiredError}
|
|
19023
|
+
*/
|
|
19024
|
+
generateUploadURLV1: (hostingV1FilesGenerateUploadUrlRequest: HostingV1FilesGenerateUploadUrlRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18655
19025
|
/**
|
|
18656
19026
|
* 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.
|
|
18657
19027
|
* @summary Get website file content
|
|
@@ -18684,6 +19054,14 @@ export declare const HostingFilesApiAxiosParamCreator: (configuration?: Configur
|
|
|
18684
19054
|
* @export
|
|
18685
19055
|
*/
|
|
18686
19056
|
export declare const HostingFilesApiFp: (configuration?: Configuration) => {
|
|
19057
|
+
/**
|
|
19058
|
+
* Generate a file browser upload URL with authentication credentials for uploading files directly to a website\'s file storage. Returns `url`, `auth_key` and `rest_auth_key`. Use these to upload a file to the website\'s `public_html` directory via the TUS resumable upload protocol (TUS 1.0.0). Send `X-Auth: {auth_key}` and `X-Auth-Rest: {rest_auth_key}` headers on every request below. 1. Create the upload: `POST` to `{url}/{relative_file_path}?override=true` with headers `upload-length: {file size in bytes}` and `upload-offset: 0`. Expect `201 Created`. 2. Upload the file: send the file bytes to the same location (any TUS 1.0.0 client, or `PATCH` requests with an `upload-offset` header tracking progress) until complete. `relative_file_path` is the destination path inside `public_html`, e.g. `app.zip`. Instead of a TUS client, plain `curl` also works: ``` FILE=app.zip SIZE=$(stat -f%z \"$FILE\") # stat -c%s on Linux curl -i -X POST \"{url}/${FILE}?override=true\" \\ -H \"X-Auth: {auth_key}\" \\ -H \"X-Auth-Rest: {rest_auth_key}\" \\ -H \"Tus-Resumable: 1.0.0\" \\ -H \"Upload-Length: ${SIZE}\" \\ -H \"Upload-Offset: 0\" # -> 201 Created curl -i -X PATCH \"{url}/${FILE}?override=true\" \\ -H \"X-Auth: {auth_key}\" \\ -H \"X-Auth-Rest: {rest_auth_key}\" \\ -H \"Tus-Resumable: 1.0.0\" \\ -H \"Content-Type: application/offset+octet-stream\" \\ -H \"Upload-Offset: 0\" \\ --data-binary \"@${FILE}\" # -> 204 No Content, Upload-Offset response header equals SIZE when done ```
|
|
19059
|
+
* @summary Generate upload URL
|
|
19060
|
+
* @param {HostingV1FilesGenerateUploadUrlRequest} hostingV1FilesGenerateUploadUrlRequest
|
|
19061
|
+
* @param {*} [options] Override http request option.
|
|
19062
|
+
* @throws {RequiredError}
|
|
19063
|
+
*/
|
|
19064
|
+
generateUploadURLV1(hostingV1FilesGenerateUploadUrlRequest: HostingV1FilesGenerateUploadUrlRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1FilesUploadUrlResource>>;
|
|
18687
19065
|
/**
|
|
18688
19066
|
* 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.
|
|
18689
19067
|
* @summary Get website file content
|
|
@@ -18716,6 +19094,14 @@ export declare const HostingFilesApiFp: (configuration?: Configuration) => {
|
|
|
18716
19094
|
* @export
|
|
18717
19095
|
*/
|
|
18718
19096
|
export declare const HostingFilesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
19097
|
+
/**
|
|
19098
|
+
* Generate a file browser upload URL with authentication credentials for uploading files directly to a website\'s file storage. Returns `url`, `auth_key` and `rest_auth_key`. Use these to upload a file to the website\'s `public_html` directory via the TUS resumable upload protocol (TUS 1.0.0). Send `X-Auth: {auth_key}` and `X-Auth-Rest: {rest_auth_key}` headers on every request below. 1. Create the upload: `POST` to `{url}/{relative_file_path}?override=true` with headers `upload-length: {file size in bytes}` and `upload-offset: 0`. Expect `201 Created`. 2. Upload the file: send the file bytes to the same location (any TUS 1.0.0 client, or `PATCH` requests with an `upload-offset` header tracking progress) until complete. `relative_file_path` is the destination path inside `public_html`, e.g. `app.zip`. Instead of a TUS client, plain `curl` also works: ``` FILE=app.zip SIZE=$(stat -f%z \"$FILE\") # stat -c%s on Linux curl -i -X POST \"{url}/${FILE}?override=true\" \\ -H \"X-Auth: {auth_key}\" \\ -H \"X-Auth-Rest: {rest_auth_key}\" \\ -H \"Tus-Resumable: 1.0.0\" \\ -H \"Upload-Length: ${SIZE}\" \\ -H \"Upload-Offset: 0\" # -> 201 Created curl -i -X PATCH \"{url}/${FILE}?override=true\" \\ -H \"X-Auth: {auth_key}\" \\ -H \"X-Auth-Rest: {rest_auth_key}\" \\ -H \"Tus-Resumable: 1.0.0\" \\ -H \"Content-Type: application/offset+octet-stream\" \\ -H \"Upload-Offset: 0\" \\ --data-binary \"@${FILE}\" # -> 204 No Content, Upload-Offset response header equals SIZE when done ```
|
|
19099
|
+
* @summary Generate upload URL
|
|
19100
|
+
* @param {HostingV1FilesGenerateUploadUrlRequest} hostingV1FilesGenerateUploadUrlRequest
|
|
19101
|
+
* @param {*} [options] Override http request option.
|
|
19102
|
+
* @throws {RequiredError}
|
|
19103
|
+
*/
|
|
19104
|
+
generateUploadURLV1(hostingV1FilesGenerateUploadUrlRequest: HostingV1FilesGenerateUploadUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1FilesUploadUrlResource>;
|
|
18719
19105
|
/**
|
|
18720
19106
|
* 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.
|
|
18721
19107
|
* @summary Get website file content
|
|
@@ -18750,6 +19136,15 @@ export declare const HostingFilesApiFactory: (configuration?: Configuration, bas
|
|
|
18750
19136
|
* @extends {BaseAPI}
|
|
18751
19137
|
*/
|
|
18752
19138
|
export declare class HostingFilesApi extends BaseAPI {
|
|
19139
|
+
/**
|
|
19140
|
+
* Generate a file browser upload URL with authentication credentials for uploading files directly to a website\'s file storage. Returns `url`, `auth_key` and `rest_auth_key`. Use these to upload a file to the website\'s `public_html` directory via the TUS resumable upload protocol (TUS 1.0.0). Send `X-Auth: {auth_key}` and `X-Auth-Rest: {rest_auth_key}` headers on every request below. 1. Create the upload: `POST` to `{url}/{relative_file_path}?override=true` with headers `upload-length: {file size in bytes}` and `upload-offset: 0`. Expect `201 Created`. 2. Upload the file: send the file bytes to the same location (any TUS 1.0.0 client, or `PATCH` requests with an `upload-offset` header tracking progress) until complete. `relative_file_path` is the destination path inside `public_html`, e.g. `app.zip`. Instead of a TUS client, plain `curl` also works: ``` FILE=app.zip SIZE=$(stat -f%z \"$FILE\") # stat -c%s on Linux curl -i -X POST \"{url}/${FILE}?override=true\" \\ -H \"X-Auth: {auth_key}\" \\ -H \"X-Auth-Rest: {rest_auth_key}\" \\ -H \"Tus-Resumable: 1.0.0\" \\ -H \"Upload-Length: ${SIZE}\" \\ -H \"Upload-Offset: 0\" # -> 201 Created curl -i -X PATCH \"{url}/${FILE}?override=true\" \\ -H \"X-Auth: {auth_key}\" \\ -H \"X-Auth-Rest: {rest_auth_key}\" \\ -H \"Tus-Resumable: 1.0.0\" \\ -H \"Content-Type: application/offset+octet-stream\" \\ -H \"Upload-Offset: 0\" \\ --data-binary \"@${FILE}\" # -> 204 No Content, Upload-Offset response header equals SIZE when done ```
|
|
19141
|
+
* @summary Generate upload URL
|
|
19142
|
+
* @param {HostingV1FilesGenerateUploadUrlRequest} hostingV1FilesGenerateUploadUrlRequest
|
|
19143
|
+
* @param {*} [options] Override http request option.
|
|
19144
|
+
* @throws {RequiredError}
|
|
19145
|
+
* @memberof HostingFilesApi
|
|
19146
|
+
*/
|
|
19147
|
+
generateUploadURLV1(hostingV1FilesGenerateUploadUrlRequest: HostingV1FilesGenerateUploadUrlRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1FilesUploadUrlResource, any, {}, any>>;
|
|
18753
19148
|
/**
|
|
18754
19149
|
* 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.
|
|
18755
19150
|
* @summary Get website file content
|
|
@@ -18795,7 +19190,7 @@ export type ListWebsiteFilesAndDirectoriesV1FileTypesEnum = typeof ListWebsiteFi
|
|
|
18795
19190
|
*/
|
|
18796
19191
|
export declare const HostingNodeJSApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
18797
19192
|
/**
|
|
18798
|
-
* Upload a project archive, auto-detect build settings, and immediately start a Node.js build. This is the recommended single-step approach for deploying a Node.js application. The archive is uploaded to the website\'s file storage, build settings are auto-detected from the package.json inside the archive, and the build process starts automatically. Optional override fields take precedence over auto-detected values. Maximum archive size is 50MB. Before archiving, exclude `node_modules/` and any build output directories (e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build process runs the install step automatically, and including them unnecessarily increases the archive size. This also helps keep the archive well under the 50MB limit. Example (zip): ``` zip -r archive.zip . --exclude \"node_modules/_*\" --exclude \"dist/_*\" ``` The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
19193
|
+
* Upload a project archive, auto-detect build settings, and immediately start a Node.js build. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This is the recommended single-step approach for deploying a Node.js application. The archive is uploaded to the website\'s file storage, build settings are auto-detected from the package.json inside the archive, and the build process starts automatically. Optional override fields take precedence over auto-detected values. Maximum archive size is 50MB. Before archiving, exclude `node_modules/` and any build output directories (e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build process runs the install step automatically, and including them unnecessarily increases the archive size. This also helps keep the archive well under the 50MB limit. Example (zip): ``` zip -r archive.zip . --exclude \"node_modules/_*\" --exclude \"dist/_*\" ``` The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
18799
19194
|
* @summary Create NodeJS build from archive
|
|
18800
19195
|
* @param {string} username
|
|
18801
19196
|
* @param {string} domain Domain name
|
|
@@ -18815,6 +19210,16 @@ export declare const HostingNodeJSApiAxiosParamCreator: (configuration?: Configu
|
|
|
18815
19210
|
* @throws {RequiredError}
|
|
18816
19211
|
*/
|
|
18817
19212
|
getNodeJSBuildLogsV1: (username: string, domain: string, uuid: string, fromLine?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19213
|
+
/**
|
|
19214
|
+
* Auto-detect Node.js build settings from a package.json inside an archive already on the server. Use this before calling `Start Node.js Build` to preview what settings will be used, or to let the user review and override values (framework, node version, root directory, output directory, build script) before committing to a build. The archive must already be present on the website\'s file storage. Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first. To upload an archive and start a build in one step without inspecting settings first, use the `Create Node.js Build from Archive` endpoint instead.
|
|
19215
|
+
* @summary Get Node.js build settings from archive
|
|
19216
|
+
* @param {string} username
|
|
19217
|
+
* @param {string} domain Domain name
|
|
19218
|
+
* @param {string} archivePath The path to the archive file relative to the document root of the vhost
|
|
19219
|
+
* @param {*} [options] Override http request option.
|
|
19220
|
+
* @throws {RequiredError}
|
|
19221
|
+
*/
|
|
19222
|
+
getNodeJsBuildSettingsFromArchiveV1: (username: string, domain: string, archivePath: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18818
19223
|
/**
|
|
18819
19224
|
* Retrieve a paginated list of Node.js build processes for a specific website. Each build represents a single run of the Node.js build pipeline. Use the `states` query parameter to filter results by build state (pending, running, completed, failed). Use the `uuid` from a build to poll its output via the `Get Node.js Build Logs` endpoint.
|
|
18820
19225
|
* @summary List NodeJS builds
|
|
@@ -18856,6 +19261,16 @@ export declare const HostingNodeJSApiAxiosParamCreator: (configuration?: Configu
|
|
|
18856
19261
|
* @throws {RequiredError}
|
|
18857
19262
|
*/
|
|
18858
19263
|
restartNodeJsApplicationV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19264
|
+
/**
|
|
19265
|
+
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. The `source_type` must be `archive` and `source_options.archive_path` must point to an existing archive file on the server (relative to the website document root). Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first. To auto-detect build settings from an archive before starting, first call the `Get Node.js Build Settings from Archive` endpoint. To upload an archive and start a build in one step, use the `Create Node.js Build from Archive` endpoint instead. The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
19266
|
+
* @summary Start Node.js build
|
|
19267
|
+
* @param {string} username
|
|
19268
|
+
* @param {string} domain Domain name
|
|
19269
|
+
* @param {HostingV1NodeJsStartBuildRequest} hostingV1NodeJsStartBuildRequest
|
|
19270
|
+
* @param {*} [options] Override http request option.
|
|
19271
|
+
* @throws {RequiredError}
|
|
19272
|
+
*/
|
|
19273
|
+
startNodeJsBuildV1: (username: string, domain: string, hostingV1NodeJsStartBuildRequest: HostingV1NodeJsStartBuildRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18859
19274
|
};
|
|
18860
19275
|
/**
|
|
18861
19276
|
* HostingNodeJSApi - functional programming interface
|
|
@@ -18863,7 +19278,7 @@ export declare const HostingNodeJSApiAxiosParamCreator: (configuration?: Configu
|
|
|
18863
19278
|
*/
|
|
18864
19279
|
export declare const HostingNodeJSApiFp: (configuration?: Configuration) => {
|
|
18865
19280
|
/**
|
|
18866
|
-
* Upload a project archive, auto-detect build settings, and immediately start a Node.js build. This is the recommended single-step approach for deploying a Node.js application. The archive is uploaded to the website\'s file storage, build settings are auto-detected from the package.json inside the archive, and the build process starts automatically. Optional override fields take precedence over auto-detected values. Maximum archive size is 50MB. Before archiving, exclude `node_modules/` and any build output directories (e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build process runs the install step automatically, and including them unnecessarily increases the archive size. This also helps keep the archive well under the 50MB limit. Example (zip): ``` zip -r archive.zip . --exclude \"node_modules/_*\" --exclude \"dist/_*\" ``` The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
19281
|
+
* Upload a project archive, auto-detect build settings, and immediately start a Node.js build. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This is the recommended single-step approach for deploying a Node.js application. The archive is uploaded to the website\'s file storage, build settings are auto-detected from the package.json inside the archive, and the build process starts automatically. Optional override fields take precedence over auto-detected values. Maximum archive size is 50MB. Before archiving, exclude `node_modules/` and any build output directories (e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build process runs the install step automatically, and including them unnecessarily increases the archive size. This also helps keep the archive well under the 50MB limit. Example (zip): ``` zip -r archive.zip . --exclude \"node_modules/_*\" --exclude \"dist/_*\" ``` The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
18867
19282
|
* @summary Create NodeJS build from archive
|
|
18868
19283
|
* @param {string} username
|
|
18869
19284
|
* @param {string} domain Domain name
|
|
@@ -18883,6 +19298,16 @@ export declare const HostingNodeJSApiFp: (configuration?: Configuration) => {
|
|
|
18883
19298
|
* @throws {RequiredError}
|
|
18884
19299
|
*/
|
|
18885
19300
|
getNodeJSBuildLogsV1(username: string, domain: string, uuid: string, fromLine?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1NodeJsBuildLogsResource>>;
|
|
19301
|
+
/**
|
|
19302
|
+
* Auto-detect Node.js build settings from a package.json inside an archive already on the server. Use this before calling `Start Node.js Build` to preview what settings will be used, or to let the user review and override values (framework, node version, root directory, output directory, build script) before committing to a build. The archive must already be present on the website\'s file storage. Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first. To upload an archive and start a build in one step without inspecting settings first, use the `Create Node.js Build from Archive` endpoint instead.
|
|
19303
|
+
* @summary Get Node.js build settings from archive
|
|
19304
|
+
* @param {string} username
|
|
19305
|
+
* @param {string} domain Domain name
|
|
19306
|
+
* @param {string} archivePath The path to the archive file relative to the document root of the vhost
|
|
19307
|
+
* @param {*} [options] Override http request option.
|
|
19308
|
+
* @throws {RequiredError}
|
|
19309
|
+
*/
|
|
19310
|
+
getNodeJsBuildSettingsFromArchiveV1(username: string, domain: string, archivePath: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1NodeJsBuildSettingsResource>>;
|
|
18886
19311
|
/**
|
|
18887
19312
|
* Retrieve a paginated list of Node.js build processes for a specific website. Each build represents a single run of the Node.js build pipeline. Use the `states` query parameter to filter results by build state (pending, running, completed, failed). Use the `uuid` from a build to poll its output via the `Get Node.js Build Logs` endpoint.
|
|
18888
19313
|
* @summary List NodeJS builds
|
|
@@ -18924,6 +19349,16 @@ export declare const HostingNodeJSApiFp: (configuration?: Configuration) => {
|
|
|
18924
19349
|
* @throws {RequiredError}
|
|
18925
19350
|
*/
|
|
18926
19351
|
restartNodeJsApplicationV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
19352
|
+
/**
|
|
19353
|
+
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. The `source_type` must be `archive` and `source_options.archive_path` must point to an existing archive file on the server (relative to the website document root). Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first. To auto-detect build settings from an archive before starting, first call the `Get Node.js Build Settings from Archive` endpoint. To upload an archive and start a build in one step, use the `Create Node.js Build from Archive` endpoint instead. The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
19354
|
+
* @summary Start Node.js build
|
|
19355
|
+
* @param {string} username
|
|
19356
|
+
* @param {string} domain Domain name
|
|
19357
|
+
* @param {HostingV1NodeJsStartBuildRequest} hostingV1NodeJsStartBuildRequest
|
|
19358
|
+
* @param {*} [options] Override http request option.
|
|
19359
|
+
* @throws {RequiredError}
|
|
19360
|
+
*/
|
|
19361
|
+
startNodeJsBuildV1(username: string, domain: string, hostingV1NodeJsStartBuildRequest: HostingV1NodeJsStartBuildRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1NodeJsBuildResource>>;
|
|
18927
19362
|
};
|
|
18928
19363
|
/**
|
|
18929
19364
|
* HostingNodeJSApi - factory interface
|
|
@@ -18931,7 +19366,7 @@ export declare const HostingNodeJSApiFp: (configuration?: Configuration) => {
|
|
|
18931
19366
|
*/
|
|
18932
19367
|
export declare const HostingNodeJSApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
18933
19368
|
/**
|
|
18934
|
-
* Upload a project archive, auto-detect build settings, and immediately start a Node.js build. This is the recommended single-step approach for deploying a Node.js application. The archive is uploaded to the website\'s file storage, build settings are auto-detected from the package.json inside the archive, and the build process starts automatically. Optional override fields take precedence over auto-detected values. Maximum archive size is 50MB. Before archiving, exclude `node_modules/` and any build output directories (e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build process runs the install step automatically, and including them unnecessarily increases the archive size. This also helps keep the archive well under the 50MB limit. Example (zip): ``` zip -r archive.zip . --exclude \"node_modules/_*\" --exclude \"dist/_*\" ``` The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
19369
|
+
* Upload a project archive, auto-detect build settings, and immediately start a Node.js build. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This is the recommended single-step approach for deploying a Node.js application. The archive is uploaded to the website\'s file storage, build settings are auto-detected from the package.json inside the archive, and the build process starts automatically. Optional override fields take precedence over auto-detected values. Maximum archive size is 50MB. Before archiving, exclude `node_modules/` and any build output directories (e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build process runs the install step automatically, and including them unnecessarily increases the archive size. This also helps keep the archive well under the 50MB limit. Example (zip): ``` zip -r archive.zip . --exclude \"node_modules/_*\" --exclude \"dist/_*\" ``` The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
18935
19370
|
* @summary Create NodeJS build from archive
|
|
18936
19371
|
* @param {string} username
|
|
18937
19372
|
* @param {string} domain Domain name
|
|
@@ -18951,6 +19386,16 @@ export declare const HostingNodeJSApiFactory: (configuration?: Configuration, ba
|
|
|
18951
19386
|
* @throws {RequiredError}
|
|
18952
19387
|
*/
|
|
18953
19388
|
getNodeJSBuildLogsV1(username: string, domain: string, uuid: string, fromLine?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1NodeJsBuildLogsResource>;
|
|
19389
|
+
/**
|
|
19390
|
+
* Auto-detect Node.js build settings from a package.json inside an archive already on the server. Use this before calling `Start Node.js Build` to preview what settings will be used, or to let the user review and override values (framework, node version, root directory, output directory, build script) before committing to a build. The archive must already be present on the website\'s file storage. Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first. To upload an archive and start a build in one step without inspecting settings first, use the `Create Node.js Build from Archive` endpoint instead.
|
|
19391
|
+
* @summary Get Node.js build settings from archive
|
|
19392
|
+
* @param {string} username
|
|
19393
|
+
* @param {string} domain Domain name
|
|
19394
|
+
* @param {string} archivePath The path to the archive file relative to the document root of the vhost
|
|
19395
|
+
* @param {*} [options] Override http request option.
|
|
19396
|
+
* @throws {RequiredError}
|
|
19397
|
+
*/
|
|
19398
|
+
getNodeJsBuildSettingsFromArchiveV1(username: string, domain: string, archivePath: string, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1NodeJsBuildSettingsResource>;
|
|
18954
19399
|
/**
|
|
18955
19400
|
* Retrieve a paginated list of Node.js build processes for a specific website. Each build represents a single run of the Node.js build pipeline. Use the `states` query parameter to filter results by build state (pending, running, completed, failed). Use the `uuid` from a build to poll its output via the `Get Node.js Build Logs` endpoint.
|
|
18956
19401
|
* @summary List NodeJS builds
|
|
@@ -18992,6 +19437,16 @@ export declare const HostingNodeJSApiFactory: (configuration?: Configuration, ba
|
|
|
18992
19437
|
* @throws {RequiredError}
|
|
18993
19438
|
*/
|
|
18994
19439
|
restartNodeJsApplicationV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
19440
|
+
/**
|
|
19441
|
+
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. The `source_type` must be `archive` and `source_options.archive_path` must point to an existing archive file on the server (relative to the website document root). Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first. To auto-detect build settings from an archive before starting, first call the `Get Node.js Build Settings from Archive` endpoint. To upload an archive and start a build in one step, use the `Create Node.js Build from Archive` endpoint instead. The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
19442
|
+
* @summary Start Node.js build
|
|
19443
|
+
* @param {string} username
|
|
19444
|
+
* @param {string} domain Domain name
|
|
19445
|
+
* @param {HostingV1NodeJsStartBuildRequest} hostingV1NodeJsStartBuildRequest
|
|
19446
|
+
* @param {*} [options] Override http request option.
|
|
19447
|
+
* @throws {RequiredError}
|
|
19448
|
+
*/
|
|
19449
|
+
startNodeJsBuildV1(username: string, domain: string, hostingV1NodeJsStartBuildRequest: HostingV1NodeJsStartBuildRequest, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1NodeJsBuildResource>;
|
|
18995
19450
|
};
|
|
18996
19451
|
/**
|
|
18997
19452
|
* HostingNodeJSApi - object-oriented interface
|
|
@@ -19001,7 +19456,7 @@ export declare const HostingNodeJSApiFactory: (configuration?: Configuration, ba
|
|
|
19001
19456
|
*/
|
|
19002
19457
|
export declare class HostingNodeJSApi extends BaseAPI {
|
|
19003
19458
|
/**
|
|
19004
|
-
* Upload a project archive, auto-detect build settings, and immediately start a Node.js build. This is the recommended single-step approach for deploying a Node.js application. The archive is uploaded to the website\'s file storage, build settings are auto-detected from the package.json inside the archive, and the build process starts automatically. Optional override fields take precedence over auto-detected values. Maximum archive size is 50MB. Before archiving, exclude `node_modules/` and any build output directories (e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build process runs the install step automatically, and including them unnecessarily increases the archive size. This also helps keep the archive well under the 50MB limit. Example (zip): ``` zip -r archive.zip . --exclude \"node_modules/_*\" --exclude \"dist/_*\" ``` The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
19459
|
+
* Upload a project archive, auto-detect build settings, and immediately start a Node.js build. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This is the recommended single-step approach for deploying a Node.js application. The archive is uploaded to the website\'s file storage, build settings are auto-detected from the package.json inside the archive, and the build process starts automatically. Optional override fields take precedence over auto-detected values. Maximum archive size is 50MB. Before archiving, exclude `node_modules/` and any build output directories (e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build process runs the install step automatically, and including them unnecessarily increases the archive size. This also helps keep the archive well under the 50MB limit. Example (zip): ``` zip -r archive.zip . --exclude \"node_modules/_*\" --exclude \"dist/_*\" ``` The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
19005
19460
|
* @summary Create NodeJS build from archive
|
|
19006
19461
|
* @param {string} username
|
|
19007
19462
|
* @param {string} domain Domain name
|
|
@@ -19023,6 +19478,17 @@ export declare class HostingNodeJSApi extends BaseAPI {
|
|
|
19023
19478
|
* @memberof HostingNodeJSApi
|
|
19024
19479
|
*/
|
|
19025
19480
|
getNodeJSBuildLogsV1(username: string, domain: string, uuid: string, fromLine?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1NodeJsBuildLogsResource, any, {}, any>>;
|
|
19481
|
+
/**
|
|
19482
|
+
* Auto-detect Node.js build settings from a package.json inside an archive already on the server. Use this before calling `Start Node.js Build` to preview what settings will be used, or to let the user review and override values (framework, node version, root directory, output directory, build script) before committing to a build. The archive must already be present on the website\'s file storage. Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first. To upload an archive and start a build in one step without inspecting settings first, use the `Create Node.js Build from Archive` endpoint instead.
|
|
19483
|
+
* @summary Get Node.js build settings from archive
|
|
19484
|
+
* @param {string} username
|
|
19485
|
+
* @param {string} domain Domain name
|
|
19486
|
+
* @param {string} archivePath The path to the archive file relative to the document root of the vhost
|
|
19487
|
+
* @param {*} [options] Override http request option.
|
|
19488
|
+
* @throws {RequiredError}
|
|
19489
|
+
* @memberof HostingNodeJSApi
|
|
19490
|
+
*/
|
|
19491
|
+
getNodeJsBuildSettingsFromArchiveV1(username: string, domain: string, archivePath: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1NodeJsBuildSettingsResource, any, {}, any>>;
|
|
19026
19492
|
/**
|
|
19027
19493
|
* Retrieve a paginated list of Node.js build processes for a specific website. Each build represents a single run of the Node.js build pipeline. Use the `states` query parameter to filter results by build state (pending, running, completed, failed). Use the `uuid` from a build to poll its output via the `Get Node.js Build Logs` endpoint.
|
|
19028
19494
|
* @summary List NodeJS builds
|
|
@@ -19068,6 +19534,17 @@ export declare class HostingNodeJSApi extends BaseAPI {
|
|
|
19068
19534
|
* @memberof HostingNodeJSApi
|
|
19069
19535
|
*/
|
|
19070
19536
|
restartNodeJsApplicationV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
19537
|
+
/**
|
|
19538
|
+
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. The `source_type` must be `archive` and `source_options.archive_path` must point to an existing archive file on the server (relative to the website document root). Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first. To auto-detect build settings from an archive before starting, first call the `Get Node.js Build Settings from Archive` endpoint. To upload an archive and start a build in one step, use the `Create Node.js Build from Archive` endpoint instead. The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
19539
|
+
* @summary Start Node.js build
|
|
19540
|
+
* @param {string} username
|
|
19541
|
+
* @param {string} domain Domain name
|
|
19542
|
+
* @param {HostingV1NodeJsStartBuildRequest} hostingV1NodeJsStartBuildRequest
|
|
19543
|
+
* @param {*} [options] Override http request option.
|
|
19544
|
+
* @throws {RequiredError}
|
|
19545
|
+
* @memberof HostingNodeJSApi
|
|
19546
|
+
*/
|
|
19547
|
+
startNodeJsBuildV1(username: string, domain: string, hostingV1NodeJsStartBuildRequest: HostingV1NodeJsStartBuildRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1NodeJsBuildResource, any, {}, any>>;
|
|
19071
19548
|
}
|
|
19072
19549
|
/**
|
|
19073
19550
|
* @export
|
|
@@ -19605,6 +20082,16 @@ export declare const HostingWebsitesApiAxiosParamCreator: (configuration?: Confi
|
|
|
19605
20082
|
* @throws {RequiredError}
|
|
19606
20083
|
*/
|
|
19607
20084
|
deleteWebsiteV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20085
|
+
/**
|
|
20086
|
+
* Deploy a static application from an archive file. WARNING: this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This endpoint allows you to deploy a static application from an archive file that has been uploaded to the website\'s directory. This only works for static sites (pre-built HTML/CSS/JS with no build step). For Node.js applications, use `Create NodeJS build from archive` instead, or `Start Node.js build` if the archive is already uploaded. For WordPress sites, use `Import WordPress website`.
|
|
20087
|
+
* @summary Deploy static site archive
|
|
20088
|
+
* @param {string} username
|
|
20089
|
+
* @param {string} domain Domain name
|
|
20090
|
+
* @param {HostingV1WebsitesDeployArchiveRequest} hostingV1WebsitesDeployArchiveRequest
|
|
20091
|
+
* @param {*} [options] Override http request option.
|
|
20092
|
+
* @throws {RequiredError}
|
|
20093
|
+
*/
|
|
20094
|
+
deployStaticSiteArchiveV1: (username: string, domain: string, hostingV1WebsitesDeployArchiveRequest: HostingV1WebsitesDeployArchiveRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19608
20095
|
/**
|
|
19609
20096
|
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) 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. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use the available query parameters to filter results by username, order ID, enabled status, or domain name for more targeted results.
|
|
19610
20097
|
* @summary List websites
|
|
@@ -19640,6 +20127,16 @@ export declare const HostingWebsitesApiFp: (configuration?: Configuration) => {
|
|
|
19640
20127
|
* @throws {RequiredError}
|
|
19641
20128
|
*/
|
|
19642
20129
|
deleteWebsiteV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
20130
|
+
/**
|
|
20131
|
+
* Deploy a static application from an archive file. WARNING: this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This endpoint allows you to deploy a static application from an archive file that has been uploaded to the website\'s directory. This only works for static sites (pre-built HTML/CSS/JS with no build step). For Node.js applications, use `Create NodeJS build from archive` instead, or `Start Node.js build` if the archive is already uploaded. For WordPress sites, use `Import WordPress website`.
|
|
20132
|
+
* @summary Deploy static site archive
|
|
20133
|
+
* @param {string} username
|
|
20134
|
+
* @param {string} domain Domain name
|
|
20135
|
+
* @param {HostingV1WebsitesDeployArchiveRequest} hostingV1WebsitesDeployArchiveRequest
|
|
20136
|
+
* @param {*} [options] Override http request option.
|
|
20137
|
+
* @throws {RequiredError}
|
|
20138
|
+
*/
|
|
20139
|
+
deployStaticSiteArchiveV1(username: string, domain: string, hostingV1WebsitesDeployArchiveRequest: HostingV1WebsitesDeployArchiveRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
19643
20140
|
/**
|
|
19644
20141
|
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) 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. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use the available query parameters to filter results by username, order ID, enabled status, or domain name for more targeted results.
|
|
19645
20142
|
* @summary List websites
|
|
@@ -19675,6 +20172,16 @@ export declare const HostingWebsitesApiFactory: (configuration?: Configuration,
|
|
|
19675
20172
|
* @throws {RequiredError}
|
|
19676
20173
|
*/
|
|
19677
20174
|
deleteWebsiteV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
20175
|
+
/**
|
|
20176
|
+
* Deploy a static application from an archive file. WARNING: this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This endpoint allows you to deploy a static application from an archive file that has been uploaded to the website\'s directory. This only works for static sites (pre-built HTML/CSS/JS with no build step). For Node.js applications, use `Create NodeJS build from archive` instead, or `Start Node.js build` if the archive is already uploaded. For WordPress sites, use `Import WordPress website`.
|
|
20177
|
+
* @summary Deploy static site archive
|
|
20178
|
+
* @param {string} username
|
|
20179
|
+
* @param {string} domain Domain name
|
|
20180
|
+
* @param {HostingV1WebsitesDeployArchiveRequest} hostingV1WebsitesDeployArchiveRequest
|
|
20181
|
+
* @param {*} [options] Override http request option.
|
|
20182
|
+
* @throws {RequiredError}
|
|
20183
|
+
*/
|
|
20184
|
+
deployStaticSiteArchiveV1(username: string, domain: string, hostingV1WebsitesDeployArchiveRequest: HostingV1WebsitesDeployArchiveRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
19678
20185
|
/**
|
|
19679
20186
|
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) 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. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use the available query parameters to filter results by username, order ID, enabled status, or domain name for more targeted results.
|
|
19680
20187
|
* @summary List websites
|
|
@@ -19714,6 +20221,17 @@ export declare class HostingWebsitesApi extends BaseAPI {
|
|
|
19714
20221
|
* @memberof HostingWebsitesApi
|
|
19715
20222
|
*/
|
|
19716
20223
|
deleteWebsiteV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
20224
|
+
/**
|
|
20225
|
+
* Deploy a static application from an archive file. WARNING: this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This endpoint allows you to deploy a static application from an archive file that has been uploaded to the website\'s directory. This only works for static sites (pre-built HTML/CSS/JS with no build step). For Node.js applications, use `Create NodeJS build from archive` instead, or `Start Node.js build` if the archive is already uploaded. For WordPress sites, use `Import WordPress website`.
|
|
20226
|
+
* @summary Deploy static site archive
|
|
20227
|
+
* @param {string} username
|
|
20228
|
+
* @param {string} domain Domain name
|
|
20229
|
+
* @param {HostingV1WebsitesDeployArchiveRequest} hostingV1WebsitesDeployArchiveRequest
|
|
20230
|
+
* @param {*} [options] Override http request option.
|
|
20231
|
+
* @throws {RequiredError}
|
|
20232
|
+
* @memberof HostingWebsitesApi
|
|
20233
|
+
*/
|
|
20234
|
+
deployStaticSiteArchiveV1(username: string, domain: string, hostingV1WebsitesDeployArchiveRequest: HostingV1WebsitesDeployArchiveRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
19717
20235
|
/**
|
|
19718
20236
|
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) 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. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use the available query parameters to filter results by username, order ID, enabled status, or domain name for more targeted results.
|
|
19719
20237
|
* @summary List websites
|
|
@@ -26310,6 +26828,16 @@ export declare const WordPressInstallationsApiAxiosParamCreator: (configuration?
|
|
|
26310
26828
|
* @throws {RequiredError}
|
|
26311
26829
|
*/
|
|
26312
26830
|
getInstallationJWTTokenV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26831
|
+
/**
|
|
26832
|
+
* Import WordPress website to the specified domain. WARNING: this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This endpoint allows you to import a WordPress website from archive and database files that have been uploaded to the website\'s directory.
|
|
26833
|
+
* @summary Import WordPress website
|
|
26834
|
+
* @param {string} username
|
|
26835
|
+
* @param {string} domain Domain name
|
|
26836
|
+
* @param {WordPressV1InstallationsImportWordPressRequest} wordPressV1InstallationsImportWordPressRequest
|
|
26837
|
+
* @param {*} [options] Override http request option.
|
|
26838
|
+
* @throws {RequiredError}
|
|
26839
|
+
*/
|
|
26840
|
+
importWordPressWebsiteV1: (username: string, domain: string, wordPressV1InstallationsImportWordPressRequest: WordPressV1InstallationsImportWordPressRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26313
26841
|
/**
|
|
26314
26842
|
* Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/websites and poll GET /api/hosting/v1/websites until it appears. Call GET /api/hosting/v1/wordpress/installations filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready.
|
|
26315
26843
|
* @summary Install WordPress
|
|
@@ -26399,6 +26927,16 @@ export declare const WordPressInstallationsApiFp: (configuration?: Configuration
|
|
|
26399
26927
|
* @throws {RequiredError}
|
|
26400
26928
|
*/
|
|
26401
26929
|
getInstallationJWTTokenV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1InstallationsJwtTokenResource>>;
|
|
26930
|
+
/**
|
|
26931
|
+
* Import WordPress website to the specified domain. WARNING: this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This endpoint allows you to import a WordPress website from archive and database files that have been uploaded to the website\'s directory.
|
|
26932
|
+
* @summary Import WordPress website
|
|
26933
|
+
* @param {string} username
|
|
26934
|
+
* @param {string} domain Domain name
|
|
26935
|
+
* @param {WordPressV1InstallationsImportWordPressRequest} wordPressV1InstallationsImportWordPressRequest
|
|
26936
|
+
* @param {*} [options] Override http request option.
|
|
26937
|
+
* @throws {RequiredError}
|
|
26938
|
+
*/
|
|
26939
|
+
importWordPressWebsiteV1(username: string, domain: string, wordPressV1InstallationsImportWordPressRequest: WordPressV1InstallationsImportWordPressRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
26402
26940
|
/**
|
|
26403
26941
|
* Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/websites and poll GET /api/hosting/v1/websites until it appears. Call GET /api/hosting/v1/wordpress/installations filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready.
|
|
26404
26942
|
* @summary Install WordPress
|
|
@@ -26488,6 +27026,16 @@ export declare const WordPressInstallationsApiFactory: (configuration?: Configur
|
|
|
26488
27026
|
* @throws {RequiredError}
|
|
26489
27027
|
*/
|
|
26490
27028
|
getInstallationJWTTokenV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1InstallationsJwtTokenResource>;
|
|
27029
|
+
/**
|
|
27030
|
+
* Import WordPress website to the specified domain. WARNING: this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This endpoint allows you to import a WordPress website from archive and database files that have been uploaded to the website\'s directory.
|
|
27031
|
+
* @summary Import WordPress website
|
|
27032
|
+
* @param {string} username
|
|
27033
|
+
* @param {string} domain Domain name
|
|
27034
|
+
* @param {WordPressV1InstallationsImportWordPressRequest} wordPressV1InstallationsImportWordPressRequest
|
|
27035
|
+
* @param {*} [options] Override http request option.
|
|
27036
|
+
* @throws {RequiredError}
|
|
27037
|
+
*/
|
|
27038
|
+
importWordPressWebsiteV1(username: string, domain: string, wordPressV1InstallationsImportWordPressRequest: WordPressV1InstallationsImportWordPressRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
26491
27039
|
/**
|
|
26492
27040
|
* Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/websites and poll GET /api/hosting/v1/websites until it appears. Call GET /api/hosting/v1/wordpress/installations filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready.
|
|
26493
27041
|
* @summary Install WordPress
|
|
@@ -26583,6 +27131,17 @@ export declare class WordPressInstallationsApi extends BaseAPI {
|
|
|
26583
27131
|
* @memberof WordPressInstallationsApi
|
|
26584
27132
|
*/
|
|
26585
27133
|
getInstallationJWTTokenV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1InstallationsJwtTokenResource, any, {}, any>>;
|
|
27134
|
+
/**
|
|
27135
|
+
* Import WordPress website to the specified domain. WARNING: this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This endpoint allows you to import a WordPress website from archive and database files that have been uploaded to the website\'s directory.
|
|
27136
|
+
* @summary Import WordPress website
|
|
27137
|
+
* @param {string} username
|
|
27138
|
+
* @param {string} domain Domain name
|
|
27139
|
+
* @param {WordPressV1InstallationsImportWordPressRequest} wordPressV1InstallationsImportWordPressRequest
|
|
27140
|
+
* @param {*} [options] Override http request option.
|
|
27141
|
+
* @throws {RequiredError}
|
|
27142
|
+
* @memberof WordPressInstallationsApi
|
|
27143
|
+
*/
|
|
27144
|
+
importWordPressWebsiteV1(username: string, domain: string, wordPressV1InstallationsImportWordPressRequest: WordPressV1InstallationsImportWordPressRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
26586
27145
|
/**
|
|
26587
27146
|
* Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/websites and poll GET /api/hosting/v1/websites until it appears. Call GET /api/hosting/v1/wordpress/installations filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready.
|
|
26588
27147
|
* @summary Install WordPress
|
|
@@ -27049,6 +27608,16 @@ export declare const WordPressPluginsApiAxiosParamCreator: (configuration?: Conf
|
|
|
27049
27608
|
* @throws {RequiredError}
|
|
27050
27609
|
*/
|
|
27051
27610
|
deactivateWordPressPluginV1: (username: string, software: string, wordPressV1PluginsDeactivatePluginRequest: WordPressV1PluginsDeactivatePluginRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27611
|
+
/**
|
|
27612
|
+
* Deploy a WordPress plugin from an already uploaded directory. This endpoint allows you to deploy a WordPress plugin that has been uploaded to the website\'s directory. The plugin will be activated and made available in the WordPress admin panel.
|
|
27613
|
+
* @summary Deploy WordPress plugin
|
|
27614
|
+
* @param {string} username
|
|
27615
|
+
* @param {string} domain Domain name
|
|
27616
|
+
* @param {WordPressV1PluginsDeployPluginRequest} wordPressV1PluginsDeployPluginRequest
|
|
27617
|
+
* @param {*} [options] Override http request option.
|
|
27618
|
+
* @throws {RequiredError}
|
|
27619
|
+
*/
|
|
27620
|
+
deployWordPressPluginV1: (username: string, domain: string, wordPressV1PluginsDeployPluginRequest: WordPressV1PluginsDeployPluginRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27052
27621
|
/**
|
|
27053
27622
|
* Install one or more plugins on an existing WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field). Use GET /api/hosting/v1/wordpress/plugins to discover the plugin slugs available for installation. This operation is asynchronous: a successful response only means the install job has been queued, not that the plugins are ready.
|
|
27054
27623
|
* @summary Install WordPress plugins
|
|
@@ -27158,6 +27727,16 @@ export declare const WordPressPluginsApiFp: (configuration?: Configuration) => {
|
|
|
27158
27727
|
* @throws {RequiredError}
|
|
27159
27728
|
*/
|
|
27160
27729
|
deactivateWordPressPluginV1(username: string, software: string, wordPressV1PluginsDeactivatePluginRequest: WordPressV1PluginsDeactivatePluginRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
27730
|
+
/**
|
|
27731
|
+
* Deploy a WordPress plugin from an already uploaded directory. This endpoint allows you to deploy a WordPress plugin that has been uploaded to the website\'s directory. The plugin will be activated and made available in the WordPress admin panel.
|
|
27732
|
+
* @summary Deploy WordPress plugin
|
|
27733
|
+
* @param {string} username
|
|
27734
|
+
* @param {string} domain Domain name
|
|
27735
|
+
* @param {WordPressV1PluginsDeployPluginRequest} wordPressV1PluginsDeployPluginRequest
|
|
27736
|
+
* @param {*} [options] Override http request option.
|
|
27737
|
+
* @throws {RequiredError}
|
|
27738
|
+
*/
|
|
27739
|
+
deployWordPressPluginV1(username: string, domain: string, wordPressV1PluginsDeployPluginRequest: WordPressV1PluginsDeployPluginRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
27161
27740
|
/**
|
|
27162
27741
|
* Install one or more plugins on an existing WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field). Use GET /api/hosting/v1/wordpress/plugins to discover the plugin slugs available for installation. This operation is asynchronous: a successful response only means the install job has been queued, not that the plugins are ready.
|
|
27163
27742
|
* @summary Install WordPress plugins
|
|
@@ -27267,6 +27846,16 @@ export declare const WordPressPluginsApiFactory: (configuration?: Configuration,
|
|
|
27267
27846
|
* @throws {RequiredError}
|
|
27268
27847
|
*/
|
|
27269
27848
|
deactivateWordPressPluginV1(username: string, software: string, wordPressV1PluginsDeactivatePluginRequest: WordPressV1PluginsDeactivatePluginRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
27849
|
+
/**
|
|
27850
|
+
* Deploy a WordPress plugin from an already uploaded directory. This endpoint allows you to deploy a WordPress plugin that has been uploaded to the website\'s directory. The plugin will be activated and made available in the WordPress admin panel.
|
|
27851
|
+
* @summary Deploy WordPress plugin
|
|
27852
|
+
* @param {string} username
|
|
27853
|
+
* @param {string} domain Domain name
|
|
27854
|
+
* @param {WordPressV1PluginsDeployPluginRequest} wordPressV1PluginsDeployPluginRequest
|
|
27855
|
+
* @param {*} [options] Override http request option.
|
|
27856
|
+
* @throws {RequiredError}
|
|
27857
|
+
*/
|
|
27858
|
+
deployWordPressPluginV1(username: string, domain: string, wordPressV1PluginsDeployPluginRequest: WordPressV1PluginsDeployPluginRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
27270
27859
|
/**
|
|
27271
27860
|
* Install one or more plugins on an existing WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field). Use GET /api/hosting/v1/wordpress/plugins to discover the plugin slugs available for installation. This operation is asynchronous: a successful response only means the install job has been queued, not that the plugins are ready.
|
|
27272
27861
|
* @summary Install WordPress plugins
|
|
@@ -27381,6 +27970,17 @@ export declare class WordPressPluginsApi extends BaseAPI {
|
|
|
27381
27970
|
* @memberof WordPressPluginsApi
|
|
27382
27971
|
*/
|
|
27383
27972
|
deactivateWordPressPluginV1(username: string, software: string, wordPressV1PluginsDeactivatePluginRequest: WordPressV1PluginsDeactivatePluginRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
27973
|
+
/**
|
|
27974
|
+
* Deploy a WordPress plugin from an already uploaded directory. This endpoint allows you to deploy a WordPress plugin that has been uploaded to the website\'s directory. The plugin will be activated and made available in the WordPress admin panel.
|
|
27975
|
+
* @summary Deploy WordPress plugin
|
|
27976
|
+
* @param {string} username
|
|
27977
|
+
* @param {string} domain Domain name
|
|
27978
|
+
* @param {WordPressV1PluginsDeployPluginRequest} wordPressV1PluginsDeployPluginRequest
|
|
27979
|
+
* @param {*} [options] Override http request option.
|
|
27980
|
+
* @throws {RequiredError}
|
|
27981
|
+
* @memberof WordPressPluginsApi
|
|
27982
|
+
*/
|
|
27983
|
+
deployWordPressPluginV1(username: string, domain: string, wordPressV1PluginsDeployPluginRequest: WordPressV1PluginsDeployPluginRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
27384
27984
|
/**
|
|
27385
27985
|
* Install one or more plugins on an existing WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field). Use GET /api/hosting/v1/wordpress/plugins to discover the plugin slugs available for installation. This operation is asynchronous: a successful response only means the install job has been queued, not that the plugins are ready.
|
|
27386
27986
|
* @summary Install WordPress plugins
|
|
@@ -27487,6 +28087,16 @@ export declare const WordPressThemesApiAxiosParamCreator: (configuration?: Confi
|
|
|
27487
28087
|
* @throws {RequiredError}
|
|
27488
28088
|
*/
|
|
27489
28089
|
activateWordPressThemeV1: (username: string, software: string, wordPressV1ThemesActivateThemeRequest: WordPressV1ThemesActivateThemeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28090
|
+
/**
|
|
28091
|
+
* Deploy a WordPress theme from an already uploaded directory. This endpoint allows you to deploy a WordPress theme that has been uploaded to the website\'s directory. The theme can be optionally activated after deployment.
|
|
28092
|
+
* @summary Deploy WordPress theme
|
|
28093
|
+
* @param {string} username
|
|
28094
|
+
* @param {string} domain Domain name
|
|
28095
|
+
* @param {WordPressV1ThemesDeployThemeRequest} wordPressV1ThemesDeployThemeRequest
|
|
28096
|
+
* @param {*} [options] Override http request option.
|
|
28097
|
+
* @throws {RequiredError}
|
|
28098
|
+
*/
|
|
28099
|
+
deployWordPressThemeV1: (username: string, domain: string, wordPressV1ThemesDeployThemeRequest: WordPressV1ThemesDeployThemeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27490
28100
|
/**
|
|
27491
28101
|
* Install a theme on an existing WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field). When the theme is one of the Hostinger themes (hostinger-blog, hostinger-affiliate-theme, hostinger-ai-theme), the optional `palette`, `layout`, and `font` fields are forwarded to the custom installer (defaults: palette1, layout1, default). For any other theme they are ignored. This operation is asynchronous: a successful response only means the install job has been queued, not that the theme is ready.
|
|
27492
28102
|
* @summary Install WordPress theme
|
|
@@ -27551,6 +28161,16 @@ export declare const WordPressThemesApiFp: (configuration?: Configuration) => {
|
|
|
27551
28161
|
* @throws {RequiredError}
|
|
27552
28162
|
*/
|
|
27553
28163
|
activateWordPressThemeV1(username: string, software: string, wordPressV1ThemesActivateThemeRequest: WordPressV1ThemesActivateThemeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
28164
|
+
/**
|
|
28165
|
+
* Deploy a WordPress theme from an already uploaded directory. This endpoint allows you to deploy a WordPress theme that has been uploaded to the website\'s directory. The theme can be optionally activated after deployment.
|
|
28166
|
+
* @summary Deploy WordPress theme
|
|
28167
|
+
* @param {string} username
|
|
28168
|
+
* @param {string} domain Domain name
|
|
28169
|
+
* @param {WordPressV1ThemesDeployThemeRequest} wordPressV1ThemesDeployThemeRequest
|
|
28170
|
+
* @param {*} [options] Override http request option.
|
|
28171
|
+
* @throws {RequiredError}
|
|
28172
|
+
*/
|
|
28173
|
+
deployWordPressThemeV1(username: string, domain: string, wordPressV1ThemesDeployThemeRequest: WordPressV1ThemesDeployThemeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
27554
28174
|
/**
|
|
27555
28175
|
* Install a theme on an existing WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field). When the theme is one of the Hostinger themes (hostinger-blog, hostinger-affiliate-theme, hostinger-ai-theme), the optional `palette`, `layout`, and `font` fields are forwarded to the custom installer (defaults: palette1, layout1, default). For any other theme they are ignored. This operation is asynchronous: a successful response only means the install job has been queued, not that the theme is ready.
|
|
27556
28176
|
* @summary Install WordPress theme
|
|
@@ -27615,6 +28235,16 @@ export declare const WordPressThemesApiFactory: (configuration?: Configuration,
|
|
|
27615
28235
|
* @throws {RequiredError}
|
|
27616
28236
|
*/
|
|
27617
28237
|
activateWordPressThemeV1(username: string, software: string, wordPressV1ThemesActivateThemeRequest: WordPressV1ThemesActivateThemeRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
28238
|
+
/**
|
|
28239
|
+
* Deploy a WordPress theme from an already uploaded directory. This endpoint allows you to deploy a WordPress theme that has been uploaded to the website\'s directory. The theme can be optionally activated after deployment.
|
|
28240
|
+
* @summary Deploy WordPress theme
|
|
28241
|
+
* @param {string} username
|
|
28242
|
+
* @param {string} domain Domain name
|
|
28243
|
+
* @param {WordPressV1ThemesDeployThemeRequest} wordPressV1ThemesDeployThemeRequest
|
|
28244
|
+
* @param {*} [options] Override http request option.
|
|
28245
|
+
* @throws {RequiredError}
|
|
28246
|
+
*/
|
|
28247
|
+
deployWordPressThemeV1(username: string, domain: string, wordPressV1ThemesDeployThemeRequest: WordPressV1ThemesDeployThemeRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
27618
28248
|
/**
|
|
27619
28249
|
* Install a theme on an existing WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field). When the theme is one of the Hostinger themes (hostinger-blog, hostinger-affiliate-theme, hostinger-ai-theme), the optional `palette`, `layout`, and `font` fields are forwarded to the custom installer (defaults: palette1, layout1, default). For any other theme they are ignored. This operation is asynchronous: a successful response only means the install job has been queued, not that the theme is ready.
|
|
27620
28250
|
* @summary Install WordPress theme
|
|
@@ -27682,6 +28312,17 @@ export declare class WordPressThemesApi extends BaseAPI {
|
|
|
27682
28312
|
* @memberof WordPressThemesApi
|
|
27683
28313
|
*/
|
|
27684
28314
|
activateWordPressThemeV1(username: string, software: string, wordPressV1ThemesActivateThemeRequest: WordPressV1ThemesActivateThemeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
28315
|
+
/**
|
|
28316
|
+
* Deploy a WordPress theme from an already uploaded directory. This endpoint allows you to deploy a WordPress theme that has been uploaded to the website\'s directory. The theme can be optionally activated after deployment.
|
|
28317
|
+
* @summary Deploy WordPress theme
|
|
28318
|
+
* @param {string} username
|
|
28319
|
+
* @param {string} domain Domain name
|
|
28320
|
+
* @param {WordPressV1ThemesDeployThemeRequest} wordPressV1ThemesDeployThemeRequest
|
|
28321
|
+
* @param {*} [options] Override http request option.
|
|
28322
|
+
* @throws {RequiredError}
|
|
28323
|
+
* @memberof WordPressThemesApi
|
|
28324
|
+
*/
|
|
28325
|
+
deployWordPressThemeV1(username: string, domain: string, wordPressV1ThemesDeployThemeRequest: WordPressV1ThemesDeployThemeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
27685
28326
|
/**
|
|
27686
28327
|
* Install a theme on an existing WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field). When the theme is one of the Hostinger themes (hostinger-blog, hostinger-affiliate-theme, hostinger-ai-theme), the optional `palette`, `layout`, and `font` fields are forwarded to the custom installer (defaults: palette1, layout1, default). For any other theme they are ignored. This operation is asynchronous: a successful response only means the install job has been queued, not that the theme is ready.
|
|
27687
28328
|
* @summary Install WordPress theme
|