@newfold/huapi-js 2.2033.0 → 2.2040.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/package.json +1 -1
- package/src/index.d.ts +33 -1
- package/src/index.js +27 -1
- package/src/index.msw.d.ts +3 -1
- package/src/index.msw.js +15 -3
- package/src/index.schemas.d.ts +507 -351
- package/src/index.schemas.js +1 -0
package/src/index.schemas.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Hosting UAPI
|
|
5
5
|
* Hosting UAPI is an API to expose Hosting, Addons, and Site functionality to a customer-facing Front End such as (Account Manager).
|
|
6
|
-
* OpenAPI spec version: 1.
|
|
6
|
+
* OpenAPI spec version: 1.2040.0
|
|
7
7
|
*/
|
|
8
8
|
export declare type SshKeyListV4200RowsItem = {
|
|
9
9
|
authorize?: boolean;
|
|
@@ -207,13 +207,6 @@ export declare type BackupStatusV3Params = {
|
|
|
207
207
|
*/
|
|
208
208
|
client_tracking_id: string;
|
|
209
209
|
};
|
|
210
|
-
export declare type BackupListV3200 = {
|
|
211
|
-
has_more?: boolean;
|
|
212
|
-
items?: BackupListV3200ItemsItem[];
|
|
213
|
-
limit?: number;
|
|
214
|
-
offset?: number;
|
|
215
|
-
total?: number;
|
|
216
|
-
};
|
|
217
210
|
/**
|
|
218
211
|
* @nullable
|
|
219
212
|
*/
|
|
@@ -248,6 +241,13 @@ export declare type BackupListV3200ItemsItem = {
|
|
|
248
241
|
timezone?: string;
|
|
249
242
|
type?: string;
|
|
250
243
|
};
|
|
244
|
+
export declare type BackupListV3200 = {
|
|
245
|
+
has_more?: boolean;
|
|
246
|
+
items?: BackupListV3200ItemsItem[];
|
|
247
|
+
limit?: number;
|
|
248
|
+
offset?: number;
|
|
249
|
+
total?: number;
|
|
250
|
+
};
|
|
251
251
|
export declare type BackupListV3Params = {
|
|
252
252
|
page?: number;
|
|
253
253
|
limit?: number;
|
|
@@ -430,6 +430,12 @@ export declare type SiteMalwareStatusV2200 = {
|
|
|
430
430
|
*/
|
|
431
431
|
scanner_state?: string | null;
|
|
432
432
|
};
|
|
433
|
+
export declare type SitesDomainsV2200 = {
|
|
434
|
+
domains: SitesDomainsV2200DomainsItem[];
|
|
435
|
+
limit?: number;
|
|
436
|
+
page?: number;
|
|
437
|
+
total?: number;
|
|
438
|
+
};
|
|
433
439
|
/**
|
|
434
440
|
* Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
435
441
|
* @nullable
|
|
@@ -566,12 +572,6 @@ export declare type SitesDomainsV2200DomainsItem = {
|
|
|
566
572
|
*/
|
|
567
573
|
used_entri?: number | null;
|
|
568
574
|
};
|
|
569
|
-
export declare type SitesDomainsV2200 = {
|
|
570
|
-
domains: SitesDomainsV2200DomainsItem[];
|
|
571
|
-
limit?: number;
|
|
572
|
-
page?: number;
|
|
573
|
-
total?: number;
|
|
574
|
-
};
|
|
575
575
|
export declare type SitesDomainsV2Params = {
|
|
576
576
|
scan?: boolean;
|
|
577
577
|
};
|
|
@@ -748,6 +748,16 @@ export declare type SitesListV2200ItemsItem = {
|
|
|
748
748
|
*/
|
|
749
749
|
version_ptr?: string | null;
|
|
750
750
|
};
|
|
751
|
+
export declare type PublicImagesV2200 = {
|
|
752
|
+
/** Limit the number of images returned */
|
|
753
|
+
limit?: PublicImagesV2200Limit;
|
|
754
|
+
/** Number of images returned */
|
|
755
|
+
n_rows?: PublicImagesV2200NRows;
|
|
756
|
+
/** Page number */
|
|
757
|
+
page?: PublicImagesV2200Page;
|
|
758
|
+
/** List of images */
|
|
759
|
+
rows?: PublicImagesV2200RowsItem[];
|
|
760
|
+
};
|
|
751
761
|
/**
|
|
752
762
|
* User image
|
|
753
763
|
* @nullable
|
|
@@ -908,16 +918,6 @@ export declare type PublicImagesV2200NRows = string | number;
|
|
|
908
918
|
* Limit the number of images returned
|
|
909
919
|
*/
|
|
910
920
|
export declare type PublicImagesV2200Limit = string | number;
|
|
911
|
-
export declare type PublicImagesV2200 = {
|
|
912
|
-
/** Limit the number of images returned */
|
|
913
|
-
limit?: PublicImagesV2200Limit;
|
|
914
|
-
/** Number of images returned */
|
|
915
|
-
n_rows?: PublicImagesV2200NRows;
|
|
916
|
-
/** Page number */
|
|
917
|
-
page?: PublicImagesV2200Page;
|
|
918
|
-
/** List of images */
|
|
919
|
-
rows?: PublicImagesV2200RowsItem[];
|
|
920
|
-
};
|
|
921
921
|
export declare type PublicImagesV2Params = {
|
|
922
922
|
/**
|
|
923
923
|
* Brand identifier (e.g. bluehost).
|
|
@@ -1034,6 +1034,101 @@ export declare type HostingSitesV2200UsedSitesDetails = {
|
|
|
1034
1034
|
/** Count of staging sites on specified hosting account */
|
|
1035
1035
|
staging_sites?: number;
|
|
1036
1036
|
};
|
|
1037
|
+
export declare type HostingSitesV2200ItemsItem = {
|
|
1038
|
+
/** @nullable */
|
|
1039
|
+
account_back_ref?: string | null;
|
|
1040
|
+
account_id?: string;
|
|
1041
|
+
/**
|
|
1042
|
+
* the current status of the account this site belongs to
|
|
1043
|
+
* @nullable
|
|
1044
|
+
*/
|
|
1045
|
+
account_status?: string | null;
|
|
1046
|
+
/** @nullable */
|
|
1047
|
+
base_domain?: string | null;
|
|
1048
|
+
/**
|
|
1049
|
+
* False if site was added by site scanner
|
|
1050
|
+
* @nullable
|
|
1051
|
+
*/
|
|
1052
|
+
confirmed?: boolean | null;
|
|
1053
|
+
/** @nullable */
|
|
1054
|
+
datacenter?: string | null;
|
|
1055
|
+
date_added?: string;
|
|
1056
|
+
date_modified?: string;
|
|
1057
|
+
detected_type?: string;
|
|
1058
|
+
/** @nullable */
|
|
1059
|
+
docpath?: string | null;
|
|
1060
|
+
/** @nullable */
|
|
1061
|
+
docroot?: string | null;
|
|
1062
|
+
/** @nullable */
|
|
1063
|
+
domain?: string | null;
|
|
1064
|
+
edge_cache?: boolean;
|
|
1065
|
+
handler_404?: string;
|
|
1066
|
+
id?: number;
|
|
1067
|
+
/**
|
|
1068
|
+
* Whether Blu AI is enabled for the site
|
|
1069
|
+
* @nullable
|
|
1070
|
+
*/
|
|
1071
|
+
install_blu_ai?: boolean | null;
|
|
1072
|
+
/**
|
|
1073
|
+
* Whether Blu AI store is enabled for the site
|
|
1074
|
+
* @nullable
|
|
1075
|
+
*/
|
|
1076
|
+
install_blu_ai_store?: boolean | null;
|
|
1077
|
+
/** @nullable */
|
|
1078
|
+
installed_id?: string | null;
|
|
1079
|
+
/** True if docpath is public_html, otherwise False */
|
|
1080
|
+
is_primary?: boolean;
|
|
1081
|
+
/**
|
|
1082
|
+
* Job ids for the site
|
|
1083
|
+
* @nullable
|
|
1084
|
+
*/
|
|
1085
|
+
jobs?: HostingSitesV2200ItemsItemJobs;
|
|
1086
|
+
/** @nullable */
|
|
1087
|
+
last_error?: string | null;
|
|
1088
|
+
/** @nullable */
|
|
1089
|
+
migration_id?: string | null;
|
|
1090
|
+
/** @nullable */
|
|
1091
|
+
name?: string | null;
|
|
1092
|
+
/**
|
|
1093
|
+
* Status of the site's onboarding
|
|
1094
|
+
* @nullable
|
|
1095
|
+
*/
|
|
1096
|
+
onboarding?: number | null;
|
|
1097
|
+
path?: string;
|
|
1098
|
+
/** @nullable */
|
|
1099
|
+
pending_url?: string | null;
|
|
1100
|
+
/** @nullable */
|
|
1101
|
+
pending_url_data?: HostingSitesV2200ItemsItemPendingUrlData;
|
|
1102
|
+
/**
|
|
1103
|
+
* The Php Version. If unable to determine, it will be NULL
|
|
1104
|
+
* @nullable
|
|
1105
|
+
*/
|
|
1106
|
+
php_version?: string | null;
|
|
1107
|
+
resources?: HostingSitesV2200ItemsItemResources;
|
|
1108
|
+
/** @nullable */
|
|
1109
|
+
staging?: HostingSitesV2200ItemsItemStaging;
|
|
1110
|
+
status?: string;
|
|
1111
|
+
subtype?: string;
|
|
1112
|
+
/**
|
|
1113
|
+
* Date when the AI site was upgraded
|
|
1114
|
+
* @nullable
|
|
1115
|
+
*/
|
|
1116
|
+
tenweb_upgrade_date?: string | null;
|
|
1117
|
+
type?: string;
|
|
1118
|
+
/** @nullable */
|
|
1119
|
+
url?: string | null;
|
|
1120
|
+
/** @nullable */
|
|
1121
|
+
url_is_provisional?: boolean | null;
|
|
1122
|
+
/** @nullable */
|
|
1123
|
+
version?: string | null;
|
|
1124
|
+
/**
|
|
1125
|
+
* The WP Version
|
|
1126
|
+
* @nullable
|
|
1127
|
+
*/
|
|
1128
|
+
version_ptr?: string | null;
|
|
1129
|
+
/** @nullable */
|
|
1130
|
+
wp_multi_site?: HostingSitesV2200ItemsItemWpMultiSite;
|
|
1131
|
+
};
|
|
1037
1132
|
export declare type HostingSitesV2200 = {
|
|
1038
1133
|
/**
|
|
1039
1134
|
* Remaining number of sites the customer can create. Max sites - used sites. Null means 'unlimited'.
|
|
@@ -1149,101 +1244,6 @@ export declare type HostingSitesV2200ItemsItemPendingUrlData = {
|
|
|
1149
1244
|
export declare type HostingSitesV2200ItemsItemJobs = {
|
|
1150
1245
|
[key: string]: unknown;
|
|
1151
1246
|
} | null;
|
|
1152
|
-
export declare type HostingSitesV2200ItemsItem = {
|
|
1153
|
-
/** @nullable */
|
|
1154
|
-
account_back_ref?: string | null;
|
|
1155
|
-
account_id?: string;
|
|
1156
|
-
/**
|
|
1157
|
-
* the current status of the account this site belongs to
|
|
1158
|
-
* @nullable
|
|
1159
|
-
*/
|
|
1160
|
-
account_status?: string | null;
|
|
1161
|
-
/** @nullable */
|
|
1162
|
-
base_domain?: string | null;
|
|
1163
|
-
/**
|
|
1164
|
-
* False if site was added by site scanner
|
|
1165
|
-
* @nullable
|
|
1166
|
-
*/
|
|
1167
|
-
confirmed?: boolean | null;
|
|
1168
|
-
/** @nullable */
|
|
1169
|
-
datacenter?: string | null;
|
|
1170
|
-
date_added?: string;
|
|
1171
|
-
date_modified?: string;
|
|
1172
|
-
detected_type?: string;
|
|
1173
|
-
/** @nullable */
|
|
1174
|
-
docpath?: string | null;
|
|
1175
|
-
/** @nullable */
|
|
1176
|
-
docroot?: string | null;
|
|
1177
|
-
/** @nullable */
|
|
1178
|
-
domain?: string | null;
|
|
1179
|
-
edge_cache?: boolean;
|
|
1180
|
-
handler_404?: string;
|
|
1181
|
-
id?: number;
|
|
1182
|
-
/**
|
|
1183
|
-
* Whether Blu AI is enabled for the site
|
|
1184
|
-
* @nullable
|
|
1185
|
-
*/
|
|
1186
|
-
install_blu_ai?: boolean | null;
|
|
1187
|
-
/**
|
|
1188
|
-
* Whether Blu AI store is enabled for the site
|
|
1189
|
-
* @nullable
|
|
1190
|
-
*/
|
|
1191
|
-
install_blu_ai_store?: boolean | null;
|
|
1192
|
-
/** @nullable */
|
|
1193
|
-
installed_id?: string | null;
|
|
1194
|
-
/** True if docpath is public_html, otherwise False */
|
|
1195
|
-
is_primary?: boolean;
|
|
1196
|
-
/**
|
|
1197
|
-
* Job ids for the site
|
|
1198
|
-
* @nullable
|
|
1199
|
-
*/
|
|
1200
|
-
jobs?: HostingSitesV2200ItemsItemJobs;
|
|
1201
|
-
/** @nullable */
|
|
1202
|
-
last_error?: string | null;
|
|
1203
|
-
/** @nullable */
|
|
1204
|
-
migration_id?: string | null;
|
|
1205
|
-
/** @nullable */
|
|
1206
|
-
name?: string | null;
|
|
1207
|
-
/**
|
|
1208
|
-
* Status of the site's onboarding
|
|
1209
|
-
* @nullable
|
|
1210
|
-
*/
|
|
1211
|
-
onboarding?: number | null;
|
|
1212
|
-
path?: string;
|
|
1213
|
-
/** @nullable */
|
|
1214
|
-
pending_url?: string | null;
|
|
1215
|
-
/** @nullable */
|
|
1216
|
-
pending_url_data?: HostingSitesV2200ItemsItemPendingUrlData;
|
|
1217
|
-
/**
|
|
1218
|
-
* The Php Version. If unable to determine, it will be NULL
|
|
1219
|
-
* @nullable
|
|
1220
|
-
*/
|
|
1221
|
-
php_version?: string | null;
|
|
1222
|
-
resources?: HostingSitesV2200ItemsItemResources;
|
|
1223
|
-
/** @nullable */
|
|
1224
|
-
staging?: HostingSitesV2200ItemsItemStaging;
|
|
1225
|
-
status?: string;
|
|
1226
|
-
subtype?: string;
|
|
1227
|
-
/**
|
|
1228
|
-
* Date when the AI site was upgraded
|
|
1229
|
-
* @nullable
|
|
1230
|
-
*/
|
|
1231
|
-
tenweb_upgrade_date?: string | null;
|
|
1232
|
-
type?: string;
|
|
1233
|
-
/** @nullable */
|
|
1234
|
-
url?: string | null;
|
|
1235
|
-
/** @nullable */
|
|
1236
|
-
url_is_provisional?: boolean | null;
|
|
1237
|
-
/** @nullable */
|
|
1238
|
-
version?: string | null;
|
|
1239
|
-
/**
|
|
1240
|
-
* The WP Version
|
|
1241
|
-
* @nullable
|
|
1242
|
-
*/
|
|
1243
|
-
version_ptr?: string | null;
|
|
1244
|
-
/** @nullable */
|
|
1245
|
-
wp_multi_site?: HostingSitesV2200ItemsItemWpMultiSite;
|
|
1246
|
-
};
|
|
1247
1247
|
export declare type HostingSitesV2Params = {
|
|
1248
1248
|
limit?: number;
|
|
1249
1249
|
page?: number;
|
|
@@ -1774,15 +1774,90 @@ export declare type UserSpamexperts200RowsItem = {
|
|
|
1774
1774
|
*/
|
|
1775
1775
|
back_reference?: string | null;
|
|
1776
1776
|
/**
|
|
1777
|
-
* Hosting back reference for grouping rows by package
|
|
1778
|
-
* @nullable
|
|
1777
|
+
* Hosting back reference for grouping rows by package
|
|
1778
|
+
* @nullable
|
|
1779
|
+
*/
|
|
1780
|
+
hosting_back_reference?: string | null;
|
|
1781
|
+
meta: UserSpamexperts200RowsItemMeta;
|
|
1782
|
+
status: string;
|
|
1783
|
+
};
|
|
1784
|
+
export declare type UserSpamexperts200 = {
|
|
1785
|
+
rows: UserSpamexperts200RowsItem[];
|
|
1786
|
+
};
|
|
1787
|
+
export declare type UserServers200ServersItemDomainsItem = {
|
|
1788
|
+
/**
|
|
1789
|
+
* Set when the domain is auto-generated
|
|
1790
|
+
* @nullable
|
|
1791
|
+
*/
|
|
1792
|
+
autogen_id?: number | null;
|
|
1793
|
+
/** @nullable */
|
|
1794
|
+
domain?: string | null;
|
|
1795
|
+
/** @nullable */
|
|
1796
|
+
id?: number | null;
|
|
1797
|
+
/**
|
|
1798
|
+
* HAL domain type, e.g. main or park
|
|
1799
|
+
* @nullable
|
|
1800
|
+
*/
|
|
1801
|
+
type?: string | null;
|
|
1802
|
+
};
|
|
1803
|
+
export declare type UserServers200ServersItem = {
|
|
1804
|
+
/**
|
|
1805
|
+
* Jarvis account id (HAL tenant_back_ref)
|
|
1806
|
+
* @nullable
|
|
1807
|
+
*/
|
|
1808
|
+
account_id?: string | null;
|
|
1809
|
+
/** Active domains attached to the server from HAL domain_list */
|
|
1810
|
+
domains: UserServers200ServersItemDomainsItem[];
|
|
1811
|
+
/** @nullable */
|
|
1812
|
+
hostname?: string | null;
|
|
1813
|
+
/** @nullable */
|
|
1814
|
+
image_name?: string | null;
|
|
1815
|
+
/** @nullable */
|
|
1816
|
+
primary_ip?: string | null;
|
|
1817
|
+
/**
|
|
1818
|
+
* Jarvis product instance id (HAL server back_reference)
|
|
1819
|
+
* @nullable
|
|
1820
|
+
*/
|
|
1821
|
+
prod_inst_id?: string | null;
|
|
1822
|
+
/** HAL server id */
|
|
1823
|
+
server_id: number;
|
|
1824
|
+
/** @nullable */
|
|
1825
|
+
server_type?: string | null;
|
|
1826
|
+
/** @nullable */
|
|
1827
|
+
status?: string | null;
|
|
1828
|
+
/**
|
|
1829
|
+
* Target id from the server metadata
|
|
1830
|
+
* @nullable
|
|
1831
|
+
*/
|
|
1832
|
+
target_id?: string | null;
|
|
1833
|
+
/**
|
|
1834
|
+
* HAL numeric tenant id
|
|
1835
|
+
* @nullable
|
|
1836
|
+
*/
|
|
1837
|
+
tenant_id?: number | null;
|
|
1838
|
+
};
|
|
1839
|
+
export declare type UserServers200 = {
|
|
1840
|
+
servers: UserServers200ServersItem[];
|
|
1841
|
+
};
|
|
1842
|
+
export declare type UserServersParams = {
|
|
1843
|
+
/**
|
|
1844
|
+
* Optional server image name filter. When omitted, all of the user's servers are returned.
|
|
1845
|
+
*/
|
|
1846
|
+
image_name?: string | null;
|
|
1847
|
+
/**
|
|
1848
|
+
* Optional Jarvis account id (HAL tenant_back_ref). When set, HAL scopes server_list/domain_list to that account in addition to the token user_back_ref.
|
|
1849
|
+
*/
|
|
1850
|
+
account_id?: string;
|
|
1851
|
+
/**
|
|
1852
|
+
* Optional Jarvis product instance id (HAL back_reference). When set, HAL scopes server_list to that product, typically returning a single server.
|
|
1779
1853
|
*/
|
|
1780
|
-
|
|
1781
|
-
meta: UserSpamexperts200RowsItemMeta;
|
|
1782
|
-
status: string;
|
|
1854
|
+
prod_inst_id?: string | null;
|
|
1783
1855
|
};
|
|
1784
|
-
export declare type
|
|
1785
|
-
|
|
1856
|
+
export declare type UserProservices200 = {
|
|
1857
|
+
/** Pro-services products from FG */
|
|
1858
|
+
products?: UserProservices200ProductsItem[];
|
|
1859
|
+
/** Number of pro-services products returned */
|
|
1860
|
+
total?: number;
|
|
1786
1861
|
};
|
|
1787
1862
|
export declare type UserProservices200ProductsItemProductProfileOptionsItem = {
|
|
1788
1863
|
/** @nullable */
|
|
@@ -1842,12 +1917,6 @@ export declare type UserProservices200ProductsItem = {
|
|
|
1842
1917
|
/** Pro-services status: Active or Completed */
|
|
1843
1918
|
status?: string;
|
|
1844
1919
|
};
|
|
1845
|
-
export declare type UserProservices200 = {
|
|
1846
|
-
/** Pro-services products from FG */
|
|
1847
|
-
products?: UserProservices200ProductsItem[];
|
|
1848
|
-
/** Number of pro-services products returned */
|
|
1849
|
-
total?: number;
|
|
1850
|
-
};
|
|
1851
1920
|
export declare type UserProducts502 = {
|
|
1852
1921
|
/** Error code */
|
|
1853
1922
|
error?: string;
|
|
@@ -2164,6 +2233,78 @@ export declare type UserHosting200RowsItemBilling = {
|
|
|
2164
2233
|
*/
|
|
2165
2234
|
prod_name?: string | null;
|
|
2166
2235
|
} | null;
|
|
2236
|
+
export declare type UserHosting200RowsItem = {
|
|
2237
|
+
/** Additional information about the account */
|
|
2238
|
+
account_info?: UserHosting200RowsItemAccountInfo;
|
|
2239
|
+
/**
|
|
2240
|
+
* HAL Account back_reference, used to link to the product instance
|
|
2241
|
+
* @nullable
|
|
2242
|
+
*/
|
|
2243
|
+
back_reference?: string | null;
|
|
2244
|
+
/**
|
|
2245
|
+
* Information from the billing system about this hosting account
|
|
2246
|
+
* @nullable
|
|
2247
|
+
*/
|
|
2248
|
+
billing?: UserHosting200RowsItemBilling;
|
|
2249
|
+
/**
|
|
2250
|
+
* Capability sites associated with the account
|
|
2251
|
+
* @nullable
|
|
2252
|
+
*/
|
|
2253
|
+
capability_sites?: string | null;
|
|
2254
|
+
/**
|
|
2255
|
+
* Feature set name ex: hosting_40s
|
|
2256
|
+
* @nullable
|
|
2257
|
+
*/
|
|
2258
|
+
feature_set?: string | null;
|
|
2259
|
+
/** Whether the product associated with this hosting account has panel mail (True) or not (False) */
|
|
2260
|
+
has_panel_mail?: boolean;
|
|
2261
|
+
/** Whether the product associated with this hosting account can be upgraded (True) or not (False) */
|
|
2262
|
+
is_upgradeable?: boolean;
|
|
2263
|
+
/**
|
|
2264
|
+
* Account limits
|
|
2265
|
+
* @nullable
|
|
2266
|
+
*/
|
|
2267
|
+
limit?: UserHosting200RowsItemLimit;
|
|
2268
|
+
/**
|
|
2269
|
+
* Remote limits for the account
|
|
2270
|
+
* @nullable
|
|
2271
|
+
*/
|
|
2272
|
+
limit_remote?: UserHosting200RowsItemLimitRemote;
|
|
2273
|
+
/**
|
|
2274
|
+
* Package name
|
|
2275
|
+
* @nullable
|
|
2276
|
+
*/
|
|
2277
|
+
package?: string | null;
|
|
2278
|
+
/**
|
|
2279
|
+
* Control panel type
|
|
2280
|
+
* @nullable
|
|
2281
|
+
*/
|
|
2282
|
+
panel?: string | null;
|
|
2283
|
+
/**
|
|
2284
|
+
* Active panelemail purchase on this hosting account, if any
|
|
2285
|
+
* @nullable
|
|
2286
|
+
*/
|
|
2287
|
+
panel_mail_addon?: UserHosting200RowsItemPanelMailAddon;
|
|
2288
|
+
/**
|
|
2289
|
+
* Number of sites
|
|
2290
|
+
* @nullable
|
|
2291
|
+
*/
|
|
2292
|
+
sites?: number | null;
|
|
2293
|
+
/**
|
|
2294
|
+
* Usage statistics for non-staging sites
|
|
2295
|
+
* @nullable
|
|
2296
|
+
*/
|
|
2297
|
+
used?: UserHosting200RowsItemUsed;
|
|
2298
|
+
/**
|
|
2299
|
+
* Usage statistics for staging sites
|
|
2300
|
+
* @nullable
|
|
2301
|
+
*/
|
|
2302
|
+
used_stage?: UserHosting200RowsItemUsedStage;
|
|
2303
|
+
};
|
|
2304
|
+
export declare type UserHosting200 = {
|
|
2305
|
+
/** Information for the paginated hosting accounts */
|
|
2306
|
+
rows?: UserHosting200RowsItem[];
|
|
2307
|
+
};
|
|
2167
2308
|
/**
|
|
2168
2309
|
* Region information for the account
|
|
2169
2310
|
* @nullable
|
|
@@ -2378,78 +2519,6 @@ export declare type UserHosting200RowsItemAccountInfo = {
|
|
|
2378
2519
|
*/
|
|
2379
2520
|
username?: string | null;
|
|
2380
2521
|
};
|
|
2381
|
-
export declare type UserHosting200RowsItem = {
|
|
2382
|
-
/** Additional information about the account */
|
|
2383
|
-
account_info?: UserHosting200RowsItemAccountInfo;
|
|
2384
|
-
/**
|
|
2385
|
-
* HAL Account back_reference, used to link to the product instance
|
|
2386
|
-
* @nullable
|
|
2387
|
-
*/
|
|
2388
|
-
back_reference?: string | null;
|
|
2389
|
-
/**
|
|
2390
|
-
* Information from the billing system about this hosting account
|
|
2391
|
-
* @nullable
|
|
2392
|
-
*/
|
|
2393
|
-
billing?: UserHosting200RowsItemBilling;
|
|
2394
|
-
/**
|
|
2395
|
-
* Capability sites associated with the account
|
|
2396
|
-
* @nullable
|
|
2397
|
-
*/
|
|
2398
|
-
capability_sites?: string | null;
|
|
2399
|
-
/**
|
|
2400
|
-
* Feature set name ex: hosting_40s
|
|
2401
|
-
* @nullable
|
|
2402
|
-
*/
|
|
2403
|
-
feature_set?: string | null;
|
|
2404
|
-
/** Whether the product associated with this hosting account has panel mail (True) or not (False) */
|
|
2405
|
-
has_panel_mail?: boolean;
|
|
2406
|
-
/** Whether the product associated with this hosting account can be upgraded (True) or not (False) */
|
|
2407
|
-
is_upgradeable?: boolean;
|
|
2408
|
-
/**
|
|
2409
|
-
* Account limits
|
|
2410
|
-
* @nullable
|
|
2411
|
-
*/
|
|
2412
|
-
limit?: UserHosting200RowsItemLimit;
|
|
2413
|
-
/**
|
|
2414
|
-
* Remote limits for the account
|
|
2415
|
-
* @nullable
|
|
2416
|
-
*/
|
|
2417
|
-
limit_remote?: UserHosting200RowsItemLimitRemote;
|
|
2418
|
-
/**
|
|
2419
|
-
* Package name
|
|
2420
|
-
* @nullable
|
|
2421
|
-
*/
|
|
2422
|
-
package?: string | null;
|
|
2423
|
-
/**
|
|
2424
|
-
* Control panel type
|
|
2425
|
-
* @nullable
|
|
2426
|
-
*/
|
|
2427
|
-
panel?: string | null;
|
|
2428
|
-
/**
|
|
2429
|
-
* Active panelemail purchase on this hosting account, if any
|
|
2430
|
-
* @nullable
|
|
2431
|
-
*/
|
|
2432
|
-
panel_mail_addon?: UserHosting200RowsItemPanelMailAddon;
|
|
2433
|
-
/**
|
|
2434
|
-
* Number of sites
|
|
2435
|
-
* @nullable
|
|
2436
|
-
*/
|
|
2437
|
-
sites?: number | null;
|
|
2438
|
-
/**
|
|
2439
|
-
* Usage statistics for non-staging sites
|
|
2440
|
-
* @nullable
|
|
2441
|
-
*/
|
|
2442
|
-
used?: UserHosting200RowsItemUsed;
|
|
2443
|
-
/**
|
|
2444
|
-
* Usage statistics for staging sites
|
|
2445
|
-
* @nullable
|
|
2446
|
-
*/
|
|
2447
|
-
used_stage?: UserHosting200RowsItemUsedStage;
|
|
2448
|
-
};
|
|
2449
|
-
export declare type UserHosting200 = {
|
|
2450
|
-
/** Information for the paginated hosting accounts */
|
|
2451
|
-
rows?: UserHosting200RowsItem[];
|
|
2452
|
-
};
|
|
2453
2522
|
export declare type UserHostingParams = {
|
|
2454
2523
|
/**
|
|
2455
2524
|
* Starting page for pagination (default: 1)
|
|
@@ -2888,9 +2957,6 @@ export declare type SiteQualityMetrics200Audits = {
|
|
|
2888
2957
|
export declare type SiteQualityMetrics200AspectScores = {
|
|
2889
2958
|
performance?: number;
|
|
2890
2959
|
};
|
|
2891
|
-
export declare type SiteQualityMetrics200AspectDetails = {
|
|
2892
|
-
performance?: SiteQualityMetrics200AspectDetailsPerformance;
|
|
2893
|
-
};
|
|
2894
2960
|
export declare type SiteQualityMetrics200 = {
|
|
2895
2961
|
aspect_details: SiteQualityMetrics200AspectDetails;
|
|
2896
2962
|
aspect_scores: SiteQualityMetrics200AspectScores;
|
|
@@ -2921,6 +2987,9 @@ export declare type SiteQualityMetrics200AspectDetailsPerformance = {
|
|
|
2921
2987
|
'speed-index'?: SiteQualityMetrics200AspectDetailsPerformanceSpeedIndex;
|
|
2922
2988
|
'total-blocking-time'?: SiteQualityMetrics200AspectDetailsPerformanceTotalBlockingTime;
|
|
2923
2989
|
};
|
|
2990
|
+
export declare type SiteQualityMetrics200AspectDetails = {
|
|
2991
|
+
performance?: SiteQualityMetrics200AspectDetailsPerformance;
|
|
2992
|
+
};
|
|
2924
2993
|
export declare type SiteQualityMetricsStrategy = typeof SiteQualityMetricsStrategy[keyof typeof SiteQualityMetricsStrategy];
|
|
2925
2994
|
export declare const SiteQualityMetricsStrategy: {
|
|
2926
2995
|
readonly MOBILE: "MOBILE";
|
|
@@ -3629,6 +3698,10 @@ export declare type SitesAtomicMetrics200Views = {
|
|
|
3629
3698
|
last_n_days?: SitesAtomicMetrics200ViewsLastNDaysItem[];
|
|
3630
3699
|
total_hits?: number;
|
|
3631
3700
|
};
|
|
3701
|
+
export declare type SitesAtomicMetrics200 = {
|
|
3702
|
+
raw?: SitesAtomicMetrics200Raw;
|
|
3703
|
+
views?: SitesAtomicMetrics200Views;
|
|
3704
|
+
};
|
|
3632
3705
|
export declare type SitesAtomicMetrics200RawPeriodsItemDimension = {
|
|
3633
3706
|
[key: string]: string | number | number;
|
|
3634
3707
|
};
|
|
@@ -3646,10 +3719,6 @@ export declare type SitesAtomicMetrics200Raw = {
|
|
|
3646
3719
|
periods?: SitesAtomicMetrics200RawPeriodsItem[];
|
|
3647
3720
|
resolution?: number;
|
|
3648
3721
|
};
|
|
3649
|
-
export declare type SitesAtomicMetrics200 = {
|
|
3650
|
-
raw?: SitesAtomicMetrics200Raw;
|
|
3651
|
-
views?: SitesAtomicMetrics200Views;
|
|
3652
|
-
};
|
|
3653
3722
|
export declare type SitesAtomicMetricsParams = {
|
|
3654
3723
|
metric?: string[];
|
|
3655
3724
|
dimension?: string[];
|
|
@@ -3728,84 +3797,19 @@ export declare type SitesInfo200Staging = {
|
|
|
3728
3797
|
* Applies to parent site only; The id of the former parent site of the current site
|
|
3729
3798
|
* @nullable
|
|
3730
3799
|
*/
|
|
3731
|
-
promoted_from?: number | null;
|
|
3732
|
-
/**
|
|
3733
|
-
* Applies to staging site only; The id of the parent site of the current site that is being promoted
|
|
3734
|
-
* @nullable
|
|
3735
|
-
*/
|
|
3736
|
-
promoting_from?: number | null;
|
|
3737
|
-
/**
|
|
3738
|
-
* Applies to staging site only; The derived status based on promotion ids and jobs
|
|
3739
|
-
* @nullable
|
|
3740
|
-
*/
|
|
3741
|
-
promotion_status?: string | null;
|
|
3742
|
-
/** A list of staging sites of the current site */
|
|
3743
|
-
sites?: number[];
|
|
3744
|
-
} | null;
|
|
3745
|
-
export declare type SitesInfo200ResourcesStorage = {
|
|
3746
|
-
/** @nullable */
|
|
3747
|
-
available?: number | null;
|
|
3748
|
-
/** @nullable */
|
|
3749
|
-
total?: number | null;
|
|
3750
|
-
unit?: string;
|
|
3751
|
-
/** @nullable */
|
|
3752
|
-
used?: number | null;
|
|
3753
|
-
};
|
|
3754
|
-
export declare type SitesInfo200Resources = {
|
|
3755
|
-
storage?: SitesInfo200ResourcesStorage;
|
|
3756
|
-
/** @nullable */
|
|
3757
|
-
workers?: number | null;
|
|
3758
|
-
};
|
|
3759
|
-
/**
|
|
3760
|
-
* @nullable
|
|
3761
|
-
*/
|
|
3762
|
-
export declare type SitesInfo200PendingUrlData = {
|
|
3763
|
-
/**
|
|
3764
|
-
* The root domain name
|
|
3765
|
-
* @nullable
|
|
3766
|
-
*/
|
|
3767
|
-
base_domain?: string | null;
|
|
3768
|
-
/**
|
|
3769
|
-
* The Fully Qualified Domain Name (FQDN)
|
|
3770
|
-
* @nullable
|
|
3771
|
-
*/
|
|
3772
|
-
domain?: string | null;
|
|
3773
|
-
/**
|
|
3774
|
-
* The current pending_url's HAL Domain ID
|
|
3775
|
-
* @nullable
|
|
3776
|
-
*/
|
|
3777
|
-
domain_id?: number | null;
|
|
3778
|
-
/** @nullable */
|
|
3779
|
-
error?: string | null;
|
|
3780
|
-
/** Flag indicating whether the pending_url is temporary or not */
|
|
3781
|
-
is_temp?: boolean;
|
|
3782
|
-
/**
|
|
3783
|
-
* Flag indicating whether the url_sync job has run out of attempts
|
|
3784
|
-
* @nullable
|
|
3785
|
-
*/
|
|
3786
|
-
job_failed?: boolean | null;
|
|
3787
|
-
/** @nullable */
|
|
3788
|
-
stage?: string | null;
|
|
3789
|
-
/**
|
|
3790
|
-
* Timestamp for when we will update the WP url, regardless of active sessions
|
|
3791
|
-
* @nullable
|
|
3792
|
-
*/
|
|
3793
|
-
wp_session?: string | null;
|
|
3794
|
-
} | null;
|
|
3795
|
-
/**
|
|
3796
|
-
* @nullable
|
|
3797
|
-
*/
|
|
3798
|
-
export declare type SitesInfo200Pagespeed = {
|
|
3799
|
-
lastrun?: string;
|
|
3800
|
-
performance?: string;
|
|
3801
|
-
strategy?: string;
|
|
3802
|
-
} | null;
|
|
3803
|
-
/**
|
|
3804
|
-
* Job ids for the site
|
|
3805
|
-
* @nullable
|
|
3806
|
-
*/
|
|
3807
|
-
export declare type SitesInfo200Jobs = {
|
|
3808
|
-
[key: string]: unknown;
|
|
3800
|
+
promoted_from?: number | null;
|
|
3801
|
+
/**
|
|
3802
|
+
* Applies to staging site only; The id of the parent site of the current site that is being promoted
|
|
3803
|
+
* @nullable
|
|
3804
|
+
*/
|
|
3805
|
+
promoting_from?: number | null;
|
|
3806
|
+
/**
|
|
3807
|
+
* Applies to staging site only; The derived status based on promotion ids and jobs
|
|
3808
|
+
* @nullable
|
|
3809
|
+
*/
|
|
3810
|
+
promotion_status?: string | null;
|
|
3811
|
+
/** A list of staging sites of the current site */
|
|
3812
|
+
sites?: number[];
|
|
3809
3813
|
} | null;
|
|
3810
3814
|
export declare type SitesInfo200 = {
|
|
3811
3815
|
/** @nullable */
|
|
@@ -3905,6 +3909,71 @@ export declare type SitesInfo200 = {
|
|
|
3905
3909
|
/** @nullable */
|
|
3906
3910
|
wp_multi_site?: SitesInfo200WpMultiSite;
|
|
3907
3911
|
};
|
|
3912
|
+
export declare type SitesInfo200ResourcesStorage = {
|
|
3913
|
+
/** @nullable */
|
|
3914
|
+
available?: number | null;
|
|
3915
|
+
/** @nullable */
|
|
3916
|
+
total?: number | null;
|
|
3917
|
+
unit?: string;
|
|
3918
|
+
/** @nullable */
|
|
3919
|
+
used?: number | null;
|
|
3920
|
+
};
|
|
3921
|
+
export declare type SitesInfo200Resources = {
|
|
3922
|
+
storage?: SitesInfo200ResourcesStorage;
|
|
3923
|
+
/** @nullable */
|
|
3924
|
+
workers?: number | null;
|
|
3925
|
+
};
|
|
3926
|
+
/**
|
|
3927
|
+
* @nullable
|
|
3928
|
+
*/
|
|
3929
|
+
export declare type SitesInfo200PendingUrlData = {
|
|
3930
|
+
/**
|
|
3931
|
+
* The root domain name
|
|
3932
|
+
* @nullable
|
|
3933
|
+
*/
|
|
3934
|
+
base_domain?: string | null;
|
|
3935
|
+
/**
|
|
3936
|
+
* The Fully Qualified Domain Name (FQDN)
|
|
3937
|
+
* @nullable
|
|
3938
|
+
*/
|
|
3939
|
+
domain?: string | null;
|
|
3940
|
+
/**
|
|
3941
|
+
* The current pending_url's HAL Domain ID
|
|
3942
|
+
* @nullable
|
|
3943
|
+
*/
|
|
3944
|
+
domain_id?: number | null;
|
|
3945
|
+
/** @nullable */
|
|
3946
|
+
error?: string | null;
|
|
3947
|
+
/** Flag indicating whether the pending_url is temporary or not */
|
|
3948
|
+
is_temp?: boolean;
|
|
3949
|
+
/**
|
|
3950
|
+
* Flag indicating whether the url_sync job has run out of attempts
|
|
3951
|
+
* @nullable
|
|
3952
|
+
*/
|
|
3953
|
+
job_failed?: boolean | null;
|
|
3954
|
+
/** @nullable */
|
|
3955
|
+
stage?: string | null;
|
|
3956
|
+
/**
|
|
3957
|
+
* Timestamp for when we will update the WP url, regardless of active sessions
|
|
3958
|
+
* @nullable
|
|
3959
|
+
*/
|
|
3960
|
+
wp_session?: string | null;
|
|
3961
|
+
} | null;
|
|
3962
|
+
/**
|
|
3963
|
+
* @nullable
|
|
3964
|
+
*/
|
|
3965
|
+
export declare type SitesInfo200Pagespeed = {
|
|
3966
|
+
lastrun?: string;
|
|
3967
|
+
performance?: string;
|
|
3968
|
+
strategy?: string;
|
|
3969
|
+
} | null;
|
|
3970
|
+
/**
|
|
3971
|
+
* Job ids for the site
|
|
3972
|
+
* @nullable
|
|
3973
|
+
*/
|
|
3974
|
+
export declare type SitesInfo200Jobs = {
|
|
3975
|
+
[key: string]: unknown;
|
|
3976
|
+
} | null;
|
|
3908
3977
|
export declare type AccountPurchaseOrder404 = {
|
|
3909
3978
|
/** Customer error code */
|
|
3910
3979
|
error?: string;
|
|
@@ -4038,6 +4107,9 @@ export declare type AccountPurchaseProducts400 = {
|
|
|
4038
4107
|
/** Customer error code */
|
|
4039
4108
|
error?: string;
|
|
4040
4109
|
};
|
|
4110
|
+
export declare type AccountPurchaseProducts200 = {
|
|
4111
|
+
products?: AccountPurchaseProducts200ProductsItem[];
|
|
4112
|
+
};
|
|
4041
4113
|
export declare type AccountPurchaseProducts200ProductsItemTermsItem = {
|
|
4042
4114
|
base_price?: string;
|
|
4043
4115
|
final_price?: string;
|
|
@@ -4048,6 +4120,7 @@ export declare type AccountPurchaseProducts200ProductsItemTermsItem = {
|
|
|
4048
4120
|
tax_amount?: string | null;
|
|
4049
4121
|
term_quantity?: number;
|
|
4050
4122
|
term_unit?: number;
|
|
4123
|
+
/** Human-readable billing term unit (e.g. month, year) */
|
|
4051
4124
|
term_unit_description?: string;
|
|
4052
4125
|
/**
|
|
4053
4126
|
* Tax-inclusive total (discounted price + tax_amount), from live PG pricing
|
|
@@ -4055,6 +4128,14 @@ export declare type AccountPurchaseProducts200ProductsItemTermsItem = {
|
|
|
4055
4128
|
*/
|
|
4056
4129
|
total_price?: string | null;
|
|
4057
4130
|
};
|
|
4131
|
+
export declare type AccountPurchaseProducts200ProductsItemSpecs = {
|
|
4132
|
+
/** Bandwidth allocation (e.g. unmetered) */
|
|
4133
|
+
bandwidth?: string;
|
|
4134
|
+
nvme_storage_gb?: number;
|
|
4135
|
+
ram_gb?: number;
|
|
4136
|
+
ram_type?: string;
|
|
4137
|
+
vcpu_cores?: number;
|
|
4138
|
+
};
|
|
4058
4139
|
export declare type AccountPurchaseProducts200ProductsItem = {
|
|
4059
4140
|
currency_code?: string;
|
|
4060
4141
|
currency_symbol?: string;
|
|
@@ -4064,17 +4145,6 @@ export declare type AccountPurchaseProducts200ProductsItem = {
|
|
|
4064
4145
|
specs?: AccountPurchaseProducts200ProductsItemSpecs;
|
|
4065
4146
|
terms?: AccountPurchaseProducts200ProductsItemTermsItem[];
|
|
4066
4147
|
};
|
|
4067
|
-
export declare type AccountPurchaseProducts200 = {
|
|
4068
|
-
products?: AccountPurchaseProducts200ProductsItem[];
|
|
4069
|
-
};
|
|
4070
|
-
export declare type AccountPurchaseProducts200ProductsItemSpecs = {
|
|
4071
|
-
/** Bandwidth allocation (e.g. unmetered) */
|
|
4072
|
-
bandwidth?: string;
|
|
4073
|
-
nvme_storage_gb?: number;
|
|
4074
|
-
ram_gb?: number;
|
|
4075
|
-
ram_type?: string;
|
|
4076
|
-
vcpu_cores?: number;
|
|
4077
|
-
};
|
|
4078
4148
|
export declare type PublicRegions200RowsItem = {
|
|
4079
4149
|
/**
|
|
4080
4150
|
* Hosting region city
|
|
@@ -4141,6 +4211,16 @@ export declare type PublicRegions200 = {
|
|
|
4141
4211
|
/** List of regions */
|
|
4142
4212
|
rows?: PublicRegions200RowsItem[];
|
|
4143
4213
|
};
|
|
4214
|
+
export declare type PublicImages200 = {
|
|
4215
|
+
/** Limit the number of images returned */
|
|
4216
|
+
limit?: PublicImages200Limit;
|
|
4217
|
+
/** Number of images returned */
|
|
4218
|
+
n_rows?: PublicImages200NRows;
|
|
4219
|
+
/** Page number */
|
|
4220
|
+
page?: PublicImages200Page;
|
|
4221
|
+
/** List of images */
|
|
4222
|
+
rows?: PublicImages200RowsItem[];
|
|
4223
|
+
};
|
|
4144
4224
|
/**
|
|
4145
4225
|
* Links
|
|
4146
4226
|
* @nullable
|
|
@@ -4296,16 +4376,6 @@ export declare type PublicImages200NRows = string | number;
|
|
|
4296
4376
|
* Limit the number of images returned
|
|
4297
4377
|
*/
|
|
4298
4378
|
export declare type PublicImages200Limit = string | number;
|
|
4299
|
-
export declare type PublicImages200 = {
|
|
4300
|
-
/** Limit the number of images returned */
|
|
4301
|
-
limit?: PublicImages200Limit;
|
|
4302
|
-
/** Number of images returned */
|
|
4303
|
-
n_rows?: PublicImages200NRows;
|
|
4304
|
-
/** Page number */
|
|
4305
|
-
page?: PublicImages200Page;
|
|
4306
|
-
/** List of images */
|
|
4307
|
-
rows?: PublicImages200RowsItem[];
|
|
4308
|
-
};
|
|
4309
4379
|
export declare type PublicImagesParams = {
|
|
4310
4380
|
/**
|
|
4311
4381
|
* Brand identifier (e.g. bluehost).
|
|
@@ -4671,9 +4741,6 @@ export declare type HostingRedirects200Item = {
|
|
|
4671
4741
|
url?: string;
|
|
4672
4742
|
wildcard?: boolean;
|
|
4673
4743
|
};
|
|
4674
|
-
export declare type ProductLicenseDetails200 = {
|
|
4675
|
-
wpsolution?: ProductLicenseDetails200Wpsolution;
|
|
4676
|
-
};
|
|
4677
4744
|
export declare type ProductLicenseDetails200WpsolutionCreatorItem = {
|
|
4678
4745
|
expirationDate?: string;
|
|
4679
4746
|
prodInstId?: string;
|
|
@@ -4687,6 +4754,9 @@ export declare type ProductLicenseDetails200Wpsolution = {
|
|
|
4687
4754
|
creator?: ProductLicenseDetails200WpsolutionCreatorItem[];
|
|
4688
4755
|
total?: number;
|
|
4689
4756
|
};
|
|
4757
|
+
export declare type ProductLicenseDetails200 = {
|
|
4758
|
+
wpsolution?: ProductLicenseDetails200Wpsolution;
|
|
4759
|
+
};
|
|
4690
4760
|
export declare type ProductLicenseDetailsProductName = typeof ProductLicenseDetailsProductName[keyof typeof ProductLicenseDetailsProductName];
|
|
4691
4761
|
export declare const ProductLicenseDetailsProductName: {
|
|
4692
4762
|
readonly wpsolution: "wpsolution";
|
|
@@ -6956,28 +7026,6 @@ export declare type ActivityLog200 = {
|
|
|
6956
7026
|
export declare type ActivityLogParams = {
|
|
6957
7027
|
days?: number;
|
|
6958
7028
|
};
|
|
6959
|
-
export declare type HostingAccount200 = {
|
|
6960
|
-
account_id?: string;
|
|
6961
|
-
account_limits?: HostingAccount200AccountLimits;
|
|
6962
|
-
/** The timestamp that the hosting addon was created */
|
|
6963
|
-
addon_date_added?: string;
|
|
6964
|
-
advanced?: boolean;
|
|
6965
|
-
billing?: HostingAccount200Billing;
|
|
6966
|
-
brand?: string;
|
|
6967
|
-
id?: string;
|
|
6968
|
-
panel?: string;
|
|
6969
|
-
plan_key?: string;
|
|
6970
|
-
platform?: string;
|
|
6971
|
-
/** @nullable */
|
|
6972
|
-
resources?: HostingAccount200Resources;
|
|
6973
|
-
/** @nullable */
|
|
6974
|
-
server_status?: string | null;
|
|
6975
|
-
/** @nullable */
|
|
6976
|
-
ssh_hostname?: string | null;
|
|
6977
|
-
status?: string;
|
|
6978
|
-
type?: string;
|
|
6979
|
-
username?: string;
|
|
6980
|
-
};
|
|
6981
7029
|
export declare type HostingAccount200ResourcesWorkers = {
|
|
6982
7030
|
/** @nullable */
|
|
6983
7031
|
available?: number | null;
|
|
@@ -7011,6 +7059,41 @@ export declare type HostingAccount200ResourcesStorage = {
|
|
|
7011
7059
|
/** @nullable */
|
|
7012
7060
|
used?: number | null;
|
|
7013
7061
|
};
|
|
7062
|
+
/**
|
|
7063
|
+
* @nullable
|
|
7064
|
+
*/
|
|
7065
|
+
export declare type HostingAccount200Resources = {
|
|
7066
|
+
staging?: HostingAccount200ResourcesStaging;
|
|
7067
|
+
storage?: HostingAccount200ResourcesStorage;
|
|
7068
|
+
/**
|
|
7069
|
+
* Usage statistics for non-staging sites
|
|
7070
|
+
* @nullable
|
|
7071
|
+
*/
|
|
7072
|
+
used?: HostingAccount200ResourcesUsed;
|
|
7073
|
+
workers?: HostingAccount200ResourcesWorkers;
|
|
7074
|
+
} | null;
|
|
7075
|
+
export declare type HostingAccount200 = {
|
|
7076
|
+
account_id?: string;
|
|
7077
|
+
account_limits?: HostingAccount200AccountLimits;
|
|
7078
|
+
/** The timestamp that the hosting addon was created */
|
|
7079
|
+
addon_date_added?: string;
|
|
7080
|
+
advanced?: boolean;
|
|
7081
|
+
billing?: HostingAccount200Billing;
|
|
7082
|
+
brand?: string;
|
|
7083
|
+
id?: string;
|
|
7084
|
+
panel?: string;
|
|
7085
|
+
plan_key?: string;
|
|
7086
|
+
platform?: string;
|
|
7087
|
+
/** @nullable */
|
|
7088
|
+
resources?: HostingAccount200Resources;
|
|
7089
|
+
/** @nullable */
|
|
7090
|
+
server_status?: string | null;
|
|
7091
|
+
/** @nullable */
|
|
7092
|
+
ssh_hostname?: string | null;
|
|
7093
|
+
status?: string;
|
|
7094
|
+
type?: string;
|
|
7095
|
+
username?: string;
|
|
7096
|
+
};
|
|
7014
7097
|
export declare type HostingAccount200ResourcesStagingWorkers = {
|
|
7015
7098
|
/** @nullable */
|
|
7016
7099
|
available?: number | null;
|
|
@@ -7032,19 +7115,6 @@ export declare type HostingAccount200ResourcesStaging = {
|
|
|
7032
7115
|
storage?: HostingAccount200ResourcesStagingStorage;
|
|
7033
7116
|
workers?: HostingAccount200ResourcesStagingWorkers;
|
|
7034
7117
|
};
|
|
7035
|
-
/**
|
|
7036
|
-
* @nullable
|
|
7037
|
-
*/
|
|
7038
|
-
export declare type HostingAccount200Resources = {
|
|
7039
|
-
staging?: HostingAccount200ResourcesStaging;
|
|
7040
|
-
storage?: HostingAccount200ResourcesStorage;
|
|
7041
|
-
/**
|
|
7042
|
-
* Usage statistics for non-staging sites
|
|
7043
|
-
* @nullable
|
|
7044
|
-
*/
|
|
7045
|
-
used?: HostingAccount200ResourcesUsed;
|
|
7046
|
-
workers?: HostingAccount200ResourcesWorkers;
|
|
7047
|
-
} | null;
|
|
7048
7118
|
export declare type HostingAccount200Billing = {
|
|
7049
7119
|
prod_code?: string;
|
|
7050
7120
|
product_name?: string;
|
|
@@ -7145,12 +7215,97 @@ export declare type DomainHealth200 = {
|
|
|
7145
7215
|
source_timings?: DomainHealth200SourceTimings;
|
|
7146
7216
|
/** @nullable */
|
|
7147
7217
|
sources?: DomainHealth200Sources;
|
|
7218
|
+
/** @nullable */
|
|
7219
|
+
ssl?: DomainHealth200Ssl;
|
|
7220
|
+
};
|
|
7221
|
+
/**
|
|
7222
|
+
* @nullable
|
|
7223
|
+
*/
|
|
7224
|
+
export declare type DomainHealth200SslChecksItemObserved = {
|
|
7225
|
+
/**
|
|
7226
|
+
* HTTP status code observed during check
|
|
7227
|
+
* @nullable
|
|
7228
|
+
*/
|
|
7229
|
+
http_status?: string | null;
|
|
7148
7230
|
/**
|
|
7149
|
-
*
|
|
7231
|
+
* Certificate expiry datetime observed during check
|
|
7150
7232
|
* @nullable
|
|
7151
7233
|
*/
|
|
7152
|
-
|
|
7234
|
+
not_after?: string | null;
|
|
7235
|
+
} | null;
|
|
7236
|
+
export declare type DomainHealth200SslChecksItem = {
|
|
7237
|
+
code?: string;
|
|
7238
|
+
hostname?: string;
|
|
7239
|
+
name?: string;
|
|
7240
|
+
/** @nullable */
|
|
7241
|
+
observed?: DomainHealth200SslChecksItemObserved;
|
|
7242
|
+
severity?: string;
|
|
7243
|
+
status?: string;
|
|
7153
7244
|
};
|
|
7245
|
+
/**
|
|
7246
|
+
* @nullable
|
|
7247
|
+
*/
|
|
7248
|
+
export declare type DomainHealth200SslCertificate = {
|
|
7249
|
+
/**
|
|
7250
|
+
* SSL certificate issuer
|
|
7251
|
+
* @nullable
|
|
7252
|
+
*/
|
|
7253
|
+
issuer?: string | null;
|
|
7254
|
+
/**
|
|
7255
|
+
* SSL certificate expiry datetime
|
|
7256
|
+
* @nullable
|
|
7257
|
+
*/
|
|
7258
|
+
not_after?: string | null;
|
|
7259
|
+
/**
|
|
7260
|
+
* Whether an SSL certificate is present
|
|
7261
|
+
* @nullable
|
|
7262
|
+
*/
|
|
7263
|
+
present?: boolean | null;
|
|
7264
|
+
/**
|
|
7265
|
+
* SSL certificate type
|
|
7266
|
+
* @nullable
|
|
7267
|
+
*/
|
|
7268
|
+
ssl_type?: string | null;
|
|
7269
|
+
} | null;
|
|
7270
|
+
/**
|
|
7271
|
+
* @nullable
|
|
7272
|
+
*/
|
|
7273
|
+
export declare type DomainHealth200Ssl = {
|
|
7274
|
+
/**
|
|
7275
|
+
* SSL alignment status: aligned, misaligned, partial, propagating, unknown, error
|
|
7276
|
+
* @nullable
|
|
7277
|
+
*/
|
|
7278
|
+
alignment_status?: string | null;
|
|
7279
|
+
/** @nullable */
|
|
7280
|
+
certificate?: DomainHealth200SslCertificate;
|
|
7281
|
+
/**
|
|
7282
|
+
* Whether SSL was checked
|
|
7283
|
+
* @nullable
|
|
7284
|
+
*/
|
|
7285
|
+
checked?: boolean | null;
|
|
7286
|
+
/** @nullable */
|
|
7287
|
+
checks?: DomainHealth200SslChecksItem[] | null;
|
|
7288
|
+
/**
|
|
7289
|
+
* SSL primary issue code
|
|
7290
|
+
* @nullable
|
|
7291
|
+
*/
|
|
7292
|
+
primary_issue_code?: string | null;
|
|
7293
|
+
/**
|
|
7294
|
+
* SSL severity: critical, high, medium, low, info
|
|
7295
|
+
* @nullable
|
|
7296
|
+
*/
|
|
7297
|
+
severity?: string | null;
|
|
7298
|
+
/**
|
|
7299
|
+
* Reason SSL check was skipped
|
|
7300
|
+
* @nullable
|
|
7301
|
+
*/
|
|
7302
|
+
skip_reason?: string | null;
|
|
7303
|
+
/**
|
|
7304
|
+
* Whether SSL check was skipped
|
|
7305
|
+
* @nullable
|
|
7306
|
+
*/
|
|
7307
|
+
skipped?: boolean | null;
|
|
7308
|
+
} | null;
|
|
7154
7309
|
export declare type DomainHealth200SourcesZoneXns = {
|
|
7155
7310
|
[key: string]: unknown;
|
|
7156
7311
|
};
|
|
@@ -7258,6 +7413,7 @@ export declare const DomainHealthChecksItem: {
|
|
|
7258
7413
|
readonly email: "email";
|
|
7259
7414
|
readonly ssl_prereq: "ssl_prereq";
|
|
7260
7415
|
readonly cdn: "cdn";
|
|
7416
|
+
readonly ssl: "ssl";
|
|
7261
7417
|
};
|
|
7262
7418
|
export declare type DomainHealthParams = {
|
|
7263
7419
|
/**
|
|
@@ -7799,7 +7955,7 @@ export declare type AddonsLlmKeysParams = {
|
|
|
7799
7955
|
};
|
|
7800
7956
|
export declare type AddonsLlmBalance200 = {
|
|
7801
7957
|
/** Amount of credits available in the LLM account tied to the addon */
|
|
7802
|
-
credit_balance?:
|
|
7958
|
+
credit_balance?: string;
|
|
7803
7959
|
/**
|
|
7804
7960
|
* Timestamp of when the credits will expire
|
|
7805
7961
|
* @nullable
|