@newfold/huapi-js 2.1750.0 → 2.1772.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 +158 -7
- package/src/index.js +124 -10
- package/src/index.msw.d.ts +11 -1
- package/src/index.msw.js +65 -5
- package/src/index.schemas.d.ts +264 -188
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.1772.0
|
|
7
7
|
*/
|
|
8
8
|
export declare type SshKeyListV4200RowsItem = {
|
|
9
9
|
authorize?: boolean;
|
|
@@ -410,6 +410,17 @@ export declare type SitesDomainsV2200DomainsItem = {
|
|
|
410
410
|
export declare type SitesDomainsV2Params = {
|
|
411
411
|
scan?: boolean;
|
|
412
412
|
};
|
|
413
|
+
export declare type SitesListV2200 = {
|
|
414
|
+
items?: SitesListV2200ItemsItem[];
|
|
415
|
+
/** page size */
|
|
416
|
+
limit?: number;
|
|
417
|
+
/** current page number */
|
|
418
|
+
page?: number;
|
|
419
|
+
/** total number of pages */
|
|
420
|
+
pages?: number;
|
|
421
|
+
/** total number of sites returned */
|
|
422
|
+
total?: number;
|
|
423
|
+
};
|
|
413
424
|
/**
|
|
414
425
|
* @nullable
|
|
415
426
|
*/
|
|
@@ -572,17 +583,6 @@ export declare type SitesListV2200ItemsItem = {
|
|
|
572
583
|
*/
|
|
573
584
|
version_ptr?: string | null;
|
|
574
585
|
};
|
|
575
|
-
export declare type SitesListV2200 = {
|
|
576
|
-
items?: SitesListV2200ItemsItem[];
|
|
577
|
-
/** page size */
|
|
578
|
-
limit?: number;
|
|
579
|
-
/** current page number */
|
|
580
|
-
page?: number;
|
|
581
|
-
/** total number of pages */
|
|
582
|
-
pages?: number;
|
|
583
|
-
/** total number of sites returned */
|
|
584
|
-
total?: number;
|
|
585
|
-
};
|
|
586
586
|
export declare type SshKeyV2200 = {
|
|
587
587
|
deleted?: number;
|
|
588
588
|
key_name?: string;
|
|
@@ -923,6 +923,12 @@ export declare type HostingDomainsUnassignV2Body = {
|
|
|
923
923
|
/** The site id to be unassigned */
|
|
924
924
|
site_id: number;
|
|
925
925
|
};
|
|
926
|
+
export declare type HostingDomainsV2200 = {
|
|
927
|
+
domains: HostingDomainsV2200DomainsItem[];
|
|
928
|
+
limit?: number;
|
|
929
|
+
page?: number;
|
|
930
|
+
total?: number;
|
|
931
|
+
};
|
|
926
932
|
/**
|
|
927
933
|
* Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
928
934
|
* @nullable
|
|
@@ -1059,12 +1065,6 @@ export declare type HostingDomainsV2200DomainsItem = {
|
|
|
1059
1065
|
*/
|
|
1060
1066
|
used_entri?: number | null;
|
|
1061
1067
|
};
|
|
1062
|
-
export declare type HostingDomainsV2200 = {
|
|
1063
|
-
domains: HostingDomainsV2200DomainsItem[];
|
|
1064
|
-
limit?: number;
|
|
1065
|
-
page?: number;
|
|
1066
|
-
total?: number;
|
|
1067
|
-
};
|
|
1068
1068
|
export declare type HostingDomainsV2TypesItem = typeof HostingDomainsV2TypesItem[keyof typeof HostingDomainsV2TypesItem];
|
|
1069
1069
|
export declare const HostingDomainsV2TypesItem: {
|
|
1070
1070
|
readonly addon: "addon";
|
|
@@ -1234,70 +1234,6 @@ export declare type UserHostingOverviewParams = {
|
|
|
1234
1234
|
*/
|
|
1235
1235
|
limit?: number;
|
|
1236
1236
|
};
|
|
1237
|
-
export declare type UserHosting200RowsItem = {
|
|
1238
|
-
/** Additional information about the account */
|
|
1239
|
-
account_info?: UserHosting200RowsItemAccountInfo;
|
|
1240
|
-
/** HAL Account back_reference, used to link to the product instance */
|
|
1241
|
-
back_reference?: string;
|
|
1242
|
-
/**
|
|
1243
|
-
* Information from the billing system about this hosting account
|
|
1244
|
-
* @nullable
|
|
1245
|
-
*/
|
|
1246
|
-
billing?: UserHosting200RowsItemBilling;
|
|
1247
|
-
/**
|
|
1248
|
-
* Capability sites associated with the account
|
|
1249
|
-
* @nullable
|
|
1250
|
-
*/
|
|
1251
|
-
capability_sites?: string | null;
|
|
1252
|
-
/**
|
|
1253
|
-
* Feature set name ex: hosting_40s
|
|
1254
|
-
* @nullable
|
|
1255
|
-
*/
|
|
1256
|
-
feature_set?: string | null;
|
|
1257
|
-
/** Whether the product associated with this hosting account has panel mail (True) or not (False) */
|
|
1258
|
-
has_panel_mail?: boolean;
|
|
1259
|
-
/** Whether the product associated with this hosting account can be upgraded (True) or not (False) */
|
|
1260
|
-
is_upgradeable?: boolean;
|
|
1261
|
-
/**
|
|
1262
|
-
* Account limits
|
|
1263
|
-
* @nullable
|
|
1264
|
-
*/
|
|
1265
|
-
limit?: UserHosting200RowsItemLimit;
|
|
1266
|
-
/**
|
|
1267
|
-
* Remote limits for the account
|
|
1268
|
-
* @nullable
|
|
1269
|
-
*/
|
|
1270
|
-
limit_remote?: UserHosting200RowsItemLimitRemote;
|
|
1271
|
-
/**
|
|
1272
|
-
* Package name
|
|
1273
|
-
* @nullable
|
|
1274
|
-
*/
|
|
1275
|
-
package?: string | null;
|
|
1276
|
-
/**
|
|
1277
|
-
* Control panel type
|
|
1278
|
-
* @nullable
|
|
1279
|
-
*/
|
|
1280
|
-
panel?: string | null;
|
|
1281
|
-
/**
|
|
1282
|
-
* Number of sites
|
|
1283
|
-
* @nullable
|
|
1284
|
-
*/
|
|
1285
|
-
sites?: number | null;
|
|
1286
|
-
/**
|
|
1287
|
-
* Usage statistics for non-staging sites
|
|
1288
|
-
* @nullable
|
|
1289
|
-
*/
|
|
1290
|
-
used?: UserHosting200RowsItemUsed;
|
|
1291
|
-
/**
|
|
1292
|
-
* Usage statistics for staging sites
|
|
1293
|
-
* @nullable
|
|
1294
|
-
*/
|
|
1295
|
-
used_stage?: UserHosting200RowsItemUsedStage;
|
|
1296
|
-
};
|
|
1297
|
-
export declare type UserHosting200 = {
|
|
1298
|
-
/** Information for the paginated hosting accounts */
|
|
1299
|
-
rows?: UserHosting200RowsItem[];
|
|
1300
|
-
};
|
|
1301
1237
|
/**
|
|
1302
1238
|
* Usage statistics for staging sites
|
|
1303
1239
|
* @nullable
|
|
@@ -1334,6 +1270,16 @@ export declare type UserHosting200RowsItemUsed = {
|
|
|
1334
1270
|
* @nullable
|
|
1335
1271
|
*/
|
|
1336
1272
|
disk_usage?: number | null;
|
|
1273
|
+
/**
|
|
1274
|
+
* Total number of domain
|
|
1275
|
+
* @nullable
|
|
1276
|
+
*/
|
|
1277
|
+
domain?: number | null;
|
|
1278
|
+
/**
|
|
1279
|
+
* Number of files (inodes) used on the hosting account - if 0, unable to retrieve data or unlimited
|
|
1280
|
+
* @nullable
|
|
1281
|
+
*/
|
|
1282
|
+
inodes?: number | null;
|
|
1337
1283
|
/**
|
|
1338
1284
|
* Total number of sites
|
|
1339
1285
|
* @nullable
|
|
@@ -1360,6 +1306,11 @@ export declare type UserHosting200RowsItemUsed = {
|
|
|
1360
1306
|
* @nullable
|
|
1361
1307
|
*/
|
|
1362
1308
|
export declare type UserHosting200RowsItemLimitRemote = {
|
|
1309
|
+
/**
|
|
1310
|
+
* Total Number of files (inodes) on the hosting account
|
|
1311
|
+
* @nullable
|
|
1312
|
+
*/
|
|
1313
|
+
inodes?: number | null;
|
|
1363
1314
|
/**
|
|
1364
1315
|
* Quota in KB associated with the account
|
|
1365
1316
|
* @nullable
|
|
@@ -1418,6 +1369,70 @@ export declare type UserHosting200RowsItemBilling = {
|
|
|
1418
1369
|
*/
|
|
1419
1370
|
prod_name?: string | null;
|
|
1420
1371
|
} | null;
|
|
1372
|
+
export declare type UserHosting200RowsItem = {
|
|
1373
|
+
/** Additional information about the account */
|
|
1374
|
+
account_info?: UserHosting200RowsItemAccountInfo;
|
|
1375
|
+
/** HAL Account back_reference, used to link to the product instance */
|
|
1376
|
+
back_reference?: string;
|
|
1377
|
+
/**
|
|
1378
|
+
* Information from the billing system about this hosting account
|
|
1379
|
+
* @nullable
|
|
1380
|
+
*/
|
|
1381
|
+
billing?: UserHosting200RowsItemBilling;
|
|
1382
|
+
/**
|
|
1383
|
+
* Capability sites associated with the account
|
|
1384
|
+
* @nullable
|
|
1385
|
+
*/
|
|
1386
|
+
capability_sites?: string | null;
|
|
1387
|
+
/**
|
|
1388
|
+
* Feature set name ex: hosting_40s
|
|
1389
|
+
* @nullable
|
|
1390
|
+
*/
|
|
1391
|
+
feature_set?: string | null;
|
|
1392
|
+
/** Whether the product associated with this hosting account has panel mail (True) or not (False) */
|
|
1393
|
+
has_panel_mail?: boolean;
|
|
1394
|
+
/** Whether the product associated with this hosting account can be upgraded (True) or not (False) */
|
|
1395
|
+
is_upgradeable?: boolean;
|
|
1396
|
+
/**
|
|
1397
|
+
* Account limits
|
|
1398
|
+
* @nullable
|
|
1399
|
+
*/
|
|
1400
|
+
limit?: UserHosting200RowsItemLimit;
|
|
1401
|
+
/**
|
|
1402
|
+
* Remote limits for the account
|
|
1403
|
+
* @nullable
|
|
1404
|
+
*/
|
|
1405
|
+
limit_remote?: UserHosting200RowsItemLimitRemote;
|
|
1406
|
+
/**
|
|
1407
|
+
* Package name
|
|
1408
|
+
* @nullable
|
|
1409
|
+
*/
|
|
1410
|
+
package?: string | null;
|
|
1411
|
+
/**
|
|
1412
|
+
* Control panel type
|
|
1413
|
+
* @nullable
|
|
1414
|
+
*/
|
|
1415
|
+
panel?: string | null;
|
|
1416
|
+
/**
|
|
1417
|
+
* Number of sites
|
|
1418
|
+
* @nullable
|
|
1419
|
+
*/
|
|
1420
|
+
sites?: number | null;
|
|
1421
|
+
/**
|
|
1422
|
+
* Usage statistics for non-staging sites
|
|
1423
|
+
* @nullable
|
|
1424
|
+
*/
|
|
1425
|
+
used?: UserHosting200RowsItemUsed;
|
|
1426
|
+
/**
|
|
1427
|
+
* Usage statistics for staging sites
|
|
1428
|
+
* @nullable
|
|
1429
|
+
*/
|
|
1430
|
+
used_stage?: UserHosting200RowsItemUsedStage;
|
|
1431
|
+
};
|
|
1432
|
+
export declare type UserHosting200 = {
|
|
1433
|
+
/** Information for the paginated hosting accounts */
|
|
1434
|
+
rows?: UserHosting200RowsItem[];
|
|
1435
|
+
};
|
|
1421
1436
|
/**
|
|
1422
1437
|
* Region information for the account
|
|
1423
1438
|
* @nullable
|
|
@@ -1469,6 +1484,11 @@ export declare type UserHosting200RowsItemAccountInfo = {
|
|
|
1469
1484
|
* @nullable
|
|
1470
1485
|
*/
|
|
1471
1486
|
addon_status?: string | null;
|
|
1487
|
+
/**
|
|
1488
|
+
* The app being used on the server, if applicable
|
|
1489
|
+
* @nullable
|
|
1490
|
+
*/
|
|
1491
|
+
application?: string | null;
|
|
1472
1492
|
/**
|
|
1473
1493
|
* Brand name associated with the account
|
|
1474
1494
|
* @nullable
|
|
@@ -1515,10 +1535,15 @@ export declare type UserHosting200RowsItemAccountInfo = {
|
|
|
1515
1535
|
*/
|
|
1516
1536
|
ns?: string[] | null;
|
|
1517
1537
|
/**
|
|
1518
|
-
* Operating system name
|
|
1538
|
+
* Operating system name, if applicable
|
|
1519
1539
|
* @nullable
|
|
1520
1540
|
*/
|
|
1521
1541
|
os_name?: string | null;
|
|
1542
|
+
/**
|
|
1543
|
+
* Operating system version, if applicable
|
|
1544
|
+
* @nullable
|
|
1545
|
+
*/
|
|
1546
|
+
os_version?: string | null;
|
|
1522
1547
|
/**
|
|
1523
1548
|
* Platform type
|
|
1524
1549
|
* @nullable
|
|
@@ -1549,6 +1574,11 @@ export declare type UserHosting200RowsItemAccountInfo = {
|
|
|
1549
1574
|
* @nullable
|
|
1550
1575
|
*/
|
|
1551
1576
|
server_type?: string | null;
|
|
1577
|
+
/**
|
|
1578
|
+
* The software installed on the server, if applicable
|
|
1579
|
+
* @nullable
|
|
1580
|
+
*/
|
|
1581
|
+
software?: string | null;
|
|
1552
1582
|
/**
|
|
1553
1583
|
* SSH hostname
|
|
1554
1584
|
* @nullable
|
|
@@ -2066,6 +2096,27 @@ export declare type CreatePhpInfo200 = {
|
|
|
2066
2096
|
/** html file content */
|
|
2067
2097
|
html?: string;
|
|
2068
2098
|
};
|
|
2099
|
+
export declare type SitesPerformanceRedisPurge200 = {
|
|
2100
|
+
[key: string]: unknown;
|
|
2101
|
+
};
|
|
2102
|
+
export declare type SitesPerformanceRedisPurgeBody = {
|
|
2103
|
+
[key: string]: unknown;
|
|
2104
|
+
};
|
|
2105
|
+
export declare type SitesPerformanceRedisUninstall200 = {
|
|
2106
|
+
[key: string]: unknown;
|
|
2107
|
+
};
|
|
2108
|
+
export declare type SitesPerformanceRedisStatus200 = {
|
|
2109
|
+
obj_cache_enabled?: boolean;
|
|
2110
|
+
obj_cache_installed?: boolean;
|
|
2111
|
+
redis_service_active?: boolean;
|
|
2112
|
+
};
|
|
2113
|
+
export declare type SitesPerformanceRedisToggle200 = {
|
|
2114
|
+
[key: string]: unknown;
|
|
2115
|
+
};
|
|
2116
|
+
export declare type SitesPerformanceRedisToggleBody = {
|
|
2117
|
+
/** Pass either 0 or 1 */
|
|
2118
|
+
state: number;
|
|
2119
|
+
};
|
|
2069
2120
|
export declare type SitesPerformanceEndurancePageCache200 = {
|
|
2070
2121
|
result?: string;
|
|
2071
2122
|
status?: string;
|
|
@@ -2134,6 +2185,13 @@ export declare type SitesMetricDimensions200DimensionsVisitorCountryCodeItem = {
|
|
|
2134
2185
|
dimension?: SitesMetricDimensions200DimensionsVisitorCountryCodeItemDimension;
|
|
2135
2186
|
timestamp?: number;
|
|
2136
2187
|
};
|
|
2188
|
+
export declare type SitesMetricDimensions200DimensionsVisitorAsnItemDimension = {
|
|
2189
|
+
[key: string]: number;
|
|
2190
|
+
};
|
|
2191
|
+
export declare type SitesMetricDimensions200DimensionsVisitorAsnItem = {
|
|
2192
|
+
dimension?: SitesMetricDimensions200DimensionsVisitorAsnItemDimension;
|
|
2193
|
+
timestamp?: number;
|
|
2194
|
+
};
|
|
2137
2195
|
export declare type SitesMetricDimensions200Dimensions = {
|
|
2138
2196
|
http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
|
|
2139
2197
|
http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
|
|
@@ -2146,13 +2204,6 @@ export declare type SitesMetricDimensions200Dimensions = {
|
|
|
2146
2204
|
visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
|
|
2147
2205
|
wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
|
|
2148
2206
|
};
|
|
2149
|
-
export declare type SitesMetricDimensions200DimensionsVisitorAsnItemDimension = {
|
|
2150
|
-
[key: string]: number;
|
|
2151
|
-
};
|
|
2152
|
-
export declare type SitesMetricDimensions200DimensionsVisitorAsnItem = {
|
|
2153
|
-
dimension?: SitesMetricDimensions200DimensionsVisitorAsnItemDimension;
|
|
2154
|
-
timestamp?: number;
|
|
2155
|
-
};
|
|
2156
2207
|
export declare type SitesMetricDimensions200DimensionsPageRendererItemDimension = {
|
|
2157
2208
|
[key: string]: number;
|
|
2158
2209
|
};
|
|
@@ -2704,71 +2755,6 @@ export declare type SitesInfo200Staging = {
|
|
|
2704
2755
|
/** A list of staging sites of the current site */
|
|
2705
2756
|
sites?: number[];
|
|
2706
2757
|
} | null;
|
|
2707
|
-
export declare type SitesInfo200ResourcesStorage = {
|
|
2708
|
-
/** @nullable */
|
|
2709
|
-
available?: number | null;
|
|
2710
|
-
/** @nullable */
|
|
2711
|
-
total?: number | null;
|
|
2712
|
-
unit?: string;
|
|
2713
|
-
/** @nullable */
|
|
2714
|
-
used?: number | null;
|
|
2715
|
-
};
|
|
2716
|
-
export declare type SitesInfo200Resources = {
|
|
2717
|
-
storage?: SitesInfo200ResourcesStorage;
|
|
2718
|
-
/** @nullable */
|
|
2719
|
-
workers?: number | null;
|
|
2720
|
-
};
|
|
2721
|
-
/**
|
|
2722
|
-
* @nullable
|
|
2723
|
-
*/
|
|
2724
|
-
export declare type SitesInfo200PendingUrlData = {
|
|
2725
|
-
/**
|
|
2726
|
-
* The root domain name
|
|
2727
|
-
* @nullable
|
|
2728
|
-
*/
|
|
2729
|
-
base_domain?: string | null;
|
|
2730
|
-
/**
|
|
2731
|
-
* The Fully Qualified Domain Name (FQDN)
|
|
2732
|
-
* @nullable
|
|
2733
|
-
*/
|
|
2734
|
-
domain?: string | null;
|
|
2735
|
-
/**
|
|
2736
|
-
* The current pending_url's HAL Domain ID
|
|
2737
|
-
* @nullable
|
|
2738
|
-
*/
|
|
2739
|
-
domain_id?: number | null;
|
|
2740
|
-
/** @nullable */
|
|
2741
|
-
error?: string | null;
|
|
2742
|
-
/** Flag indicating whether the pending_url is temporary or not */
|
|
2743
|
-
is_temp?: boolean;
|
|
2744
|
-
/**
|
|
2745
|
-
* Flag indicating whether the url_sync job has run out of attempts
|
|
2746
|
-
* @nullable
|
|
2747
|
-
*/
|
|
2748
|
-
job_failed?: boolean | null;
|
|
2749
|
-
/** @nullable */
|
|
2750
|
-
stage?: string | null;
|
|
2751
|
-
/**
|
|
2752
|
-
* Timestamp for when we will update the WP url, regardless of active sessions
|
|
2753
|
-
* @nullable
|
|
2754
|
-
*/
|
|
2755
|
-
wp_session?: string | null;
|
|
2756
|
-
} | null;
|
|
2757
|
-
/**
|
|
2758
|
-
* @nullable
|
|
2759
|
-
*/
|
|
2760
|
-
export declare type SitesInfo200Pagespeed = {
|
|
2761
|
-
lastrun?: string;
|
|
2762
|
-
performance?: string;
|
|
2763
|
-
strategy?: string;
|
|
2764
|
-
} | null;
|
|
2765
|
-
/**
|
|
2766
|
-
* Job ids for the site
|
|
2767
|
-
* @nullable
|
|
2768
|
-
*/
|
|
2769
|
-
export declare type SitesInfo200Jobs = {
|
|
2770
|
-
[key: string]: unknown;
|
|
2771
|
-
} | null;
|
|
2772
2758
|
export declare type SitesInfo200 = {
|
|
2773
2759
|
/** @nullable */
|
|
2774
2760
|
account_back_ref?: string | null;
|
|
@@ -2850,6 +2836,71 @@ export declare type SitesInfo200 = {
|
|
|
2850
2836
|
*/
|
|
2851
2837
|
version_ptr?: string | null;
|
|
2852
2838
|
};
|
|
2839
|
+
export declare type SitesInfo200ResourcesStorage = {
|
|
2840
|
+
/** @nullable */
|
|
2841
|
+
available?: number | null;
|
|
2842
|
+
/** @nullable */
|
|
2843
|
+
total?: number | null;
|
|
2844
|
+
unit?: string;
|
|
2845
|
+
/** @nullable */
|
|
2846
|
+
used?: number | null;
|
|
2847
|
+
};
|
|
2848
|
+
export declare type SitesInfo200Resources = {
|
|
2849
|
+
storage?: SitesInfo200ResourcesStorage;
|
|
2850
|
+
/** @nullable */
|
|
2851
|
+
workers?: number | null;
|
|
2852
|
+
};
|
|
2853
|
+
/**
|
|
2854
|
+
* @nullable
|
|
2855
|
+
*/
|
|
2856
|
+
export declare type SitesInfo200PendingUrlData = {
|
|
2857
|
+
/**
|
|
2858
|
+
* The root domain name
|
|
2859
|
+
* @nullable
|
|
2860
|
+
*/
|
|
2861
|
+
base_domain?: string | null;
|
|
2862
|
+
/**
|
|
2863
|
+
* The Fully Qualified Domain Name (FQDN)
|
|
2864
|
+
* @nullable
|
|
2865
|
+
*/
|
|
2866
|
+
domain?: string | null;
|
|
2867
|
+
/**
|
|
2868
|
+
* The current pending_url's HAL Domain ID
|
|
2869
|
+
* @nullable
|
|
2870
|
+
*/
|
|
2871
|
+
domain_id?: number | null;
|
|
2872
|
+
/** @nullable */
|
|
2873
|
+
error?: string | null;
|
|
2874
|
+
/** Flag indicating whether the pending_url is temporary or not */
|
|
2875
|
+
is_temp?: boolean;
|
|
2876
|
+
/**
|
|
2877
|
+
* Flag indicating whether the url_sync job has run out of attempts
|
|
2878
|
+
* @nullable
|
|
2879
|
+
*/
|
|
2880
|
+
job_failed?: boolean | null;
|
|
2881
|
+
/** @nullable */
|
|
2882
|
+
stage?: string | null;
|
|
2883
|
+
/**
|
|
2884
|
+
* Timestamp for when we will update the WP url, regardless of active sessions
|
|
2885
|
+
* @nullable
|
|
2886
|
+
*/
|
|
2887
|
+
wp_session?: string | null;
|
|
2888
|
+
} | null;
|
|
2889
|
+
/**
|
|
2890
|
+
* @nullable
|
|
2891
|
+
*/
|
|
2892
|
+
export declare type SitesInfo200Pagespeed = {
|
|
2893
|
+
lastrun?: string;
|
|
2894
|
+
performance?: string;
|
|
2895
|
+
strategy?: string;
|
|
2896
|
+
} | null;
|
|
2897
|
+
/**
|
|
2898
|
+
* Job ids for the site
|
|
2899
|
+
* @nullable
|
|
2900
|
+
*/
|
|
2901
|
+
export declare type SitesInfo200Jobs = {
|
|
2902
|
+
[key: string]: unknown;
|
|
2903
|
+
} | null;
|
|
2853
2904
|
export declare type HostingVisitors200VisitorsItem = {
|
|
2854
2905
|
bandwidth?: number;
|
|
2855
2906
|
hits?: number;
|
|
@@ -3229,6 +3280,16 @@ export declare type PasswordScoreParams = {
|
|
|
3229
3280
|
export declare type PasswordGenerate200 = {
|
|
3230
3281
|
password?: string;
|
|
3231
3282
|
};
|
|
3283
|
+
export declare type HostingPasswordUpdate200 = {
|
|
3284
|
+
/** Indicates whether the password was successfully updated (1 = updated, 0 = not updated). */
|
|
3285
|
+
updated?: number;
|
|
3286
|
+
};
|
|
3287
|
+
export declare type HostingPasswordUpdateBody = {
|
|
3288
|
+
/** Whether to also change the database password to match the new hosting account password. */
|
|
3289
|
+
change_db_user_pw?: boolean;
|
|
3290
|
+
/** The new password for the hosting account. */
|
|
3291
|
+
new_pw: string;
|
|
3292
|
+
};
|
|
3232
3293
|
export declare type HostingOnboardingDataUpdate200 = {
|
|
3233
3294
|
completed?: boolean;
|
|
3234
3295
|
};
|
|
@@ -3516,7 +3577,6 @@ export declare type HostingFtpUpdateBody = {
|
|
|
3516
3577
|
user_type_set?: HostingFtpUpdateBodyUserTypeSet;
|
|
3517
3578
|
};
|
|
3518
3579
|
export declare type HostingFtpAdd200 = {
|
|
3519
|
-
pass?: string;
|
|
3520
3580
|
user?: string;
|
|
3521
3581
|
};
|
|
3522
3582
|
export declare type HostingFtpAddBody = {
|
|
@@ -4109,6 +4169,12 @@ export declare type HostingEmailFiltersAddBody = {
|
|
|
4109
4169
|
/** list of rules to be applied to the filter */
|
|
4110
4170
|
rules?: HostingEmailFiltersAddBodyRulesItem[];
|
|
4111
4171
|
};
|
|
4172
|
+
export declare type HostingEmailFiltersList200 = {
|
|
4173
|
+
/** The number of filters */
|
|
4174
|
+
count?: number;
|
|
4175
|
+
/** List of filters */
|
|
4176
|
+
filters?: HostingEmailFiltersList200FiltersItem[];
|
|
4177
|
+
};
|
|
4112
4178
|
export declare type HostingEmailFiltersList200FiltersItemRulesItem = {
|
|
4113
4179
|
match?: FilterRuleMatch;
|
|
4114
4180
|
opt?: FilterRuleOpt;
|
|
@@ -4139,12 +4205,6 @@ export declare type HostingEmailFiltersList200FiltersItem = {
|
|
|
4139
4205
|
/** Whether the filter is unescaped */
|
|
4140
4206
|
unescaped?: boolean;
|
|
4141
4207
|
};
|
|
4142
|
-
export declare type HostingEmailFiltersList200 = {
|
|
4143
|
-
/** The number of filters */
|
|
4144
|
-
count?: number;
|
|
4145
|
-
/** List of filters */
|
|
4146
|
-
filters?: HostingEmailFiltersList200FiltersItem[];
|
|
4147
|
-
};
|
|
4148
4208
|
export declare type HostingEmailFiltersListParams = {
|
|
4149
4209
|
/**
|
|
4150
4210
|
* The email account address to query filters by
|
|
@@ -5037,6 +5097,11 @@ export declare type HostingAdvancedServer200 = {
|
|
|
5037
5097
|
export declare type HostingAdvancedImages200ImagesItem = {
|
|
5038
5098
|
/** The image architecture type */
|
|
5039
5099
|
arch_name?: string;
|
|
5100
|
+
/**
|
|
5101
|
+
* Whether this image is the default for cpanel app installations; If this = 1, it is an image that can be used when installing cPanel
|
|
5102
|
+
* @nullable
|
|
5103
|
+
*/
|
|
5104
|
+
cpanel_default?: string | null;
|
|
5040
5105
|
/**
|
|
5041
5106
|
* Whether this is the image currently in use by the hosting addon
|
|
5042
5107
|
* @nullable
|
|
@@ -5045,7 +5110,7 @@ export declare type HostingAdvancedImages200ImagesItem = {
|
|
|
5045
5110
|
/** The date and time the image was added */
|
|
5046
5111
|
date_added?: string;
|
|
5047
5112
|
/**
|
|
5048
|
-
* Whether this image is the default for docker site installations; If this = 1, it is
|
|
5113
|
+
* Whether this image is the default for docker site installations; If this = 1, it is an image that can be used when installing a Docker app
|
|
5049
5114
|
* @nullable
|
|
5050
5115
|
*/
|
|
5051
5116
|
docker_default?: string | null;
|
|
@@ -5168,6 +5233,31 @@ export declare type ActivityLog200 = {
|
|
|
5168
5233
|
export declare type ActivityLogParams = {
|
|
5169
5234
|
days?: number;
|
|
5170
5235
|
};
|
|
5236
|
+
export declare type HostingAccount200ResourcesWorkers = {
|
|
5237
|
+
/** @nullable */
|
|
5238
|
+
available?: number | null;
|
|
5239
|
+
/** @nullable */
|
|
5240
|
+
total?: number | null;
|
|
5241
|
+
/** @nullable */
|
|
5242
|
+
used?: number | null;
|
|
5243
|
+
};
|
|
5244
|
+
export declare type HostingAccount200ResourcesStorage = {
|
|
5245
|
+
/** @nullable */
|
|
5246
|
+
available?: number | null;
|
|
5247
|
+
/** @nullable */
|
|
5248
|
+
total?: number | null;
|
|
5249
|
+
unit?: string;
|
|
5250
|
+
/** @nullable */
|
|
5251
|
+
used?: number | null;
|
|
5252
|
+
};
|
|
5253
|
+
/**
|
|
5254
|
+
* @nullable
|
|
5255
|
+
*/
|
|
5256
|
+
export declare type HostingAccount200Resources = {
|
|
5257
|
+
staging?: HostingAccount200ResourcesStaging;
|
|
5258
|
+
storage?: HostingAccount200ResourcesStorage;
|
|
5259
|
+
workers?: HostingAccount200ResourcesWorkers;
|
|
5260
|
+
} | null;
|
|
5171
5261
|
export declare type HostingAccount200 = {
|
|
5172
5262
|
account_id?: string;
|
|
5173
5263
|
account_limits?: HostingAccount200AccountLimits;
|
|
@@ -5188,23 +5278,6 @@ export declare type HostingAccount200 = {
|
|
|
5188
5278
|
type?: string;
|
|
5189
5279
|
username?: string;
|
|
5190
5280
|
};
|
|
5191
|
-
export declare type HostingAccount200ResourcesWorkers = {
|
|
5192
|
-
/** @nullable */
|
|
5193
|
-
available?: number | null;
|
|
5194
|
-
/** @nullable */
|
|
5195
|
-
total?: number | null;
|
|
5196
|
-
/** @nullable */
|
|
5197
|
-
used?: number | null;
|
|
5198
|
-
};
|
|
5199
|
-
export declare type HostingAccount200ResourcesStorage = {
|
|
5200
|
-
/** @nullable */
|
|
5201
|
-
available?: number | null;
|
|
5202
|
-
/** @nullable */
|
|
5203
|
-
total?: number | null;
|
|
5204
|
-
unit?: string;
|
|
5205
|
-
/** @nullable */
|
|
5206
|
-
used?: number | null;
|
|
5207
|
-
};
|
|
5208
5281
|
export declare type HostingAccount200ResourcesStagingWorkers = {
|
|
5209
5282
|
/** @nullable */
|
|
5210
5283
|
available?: number | null;
|
|
@@ -5226,14 +5299,6 @@ export declare type HostingAccount200ResourcesStaging = {
|
|
|
5226
5299
|
storage?: HostingAccount200ResourcesStagingStorage;
|
|
5227
5300
|
workers?: HostingAccount200ResourcesStagingWorkers;
|
|
5228
5301
|
};
|
|
5229
|
-
/**
|
|
5230
|
-
* @nullable
|
|
5231
|
-
*/
|
|
5232
|
-
export declare type HostingAccount200Resources = {
|
|
5233
|
-
staging?: HostingAccount200ResourcesStaging;
|
|
5234
|
-
storage?: HostingAccount200ResourcesStorage;
|
|
5235
|
-
workers?: HostingAccount200ResourcesWorkers;
|
|
5236
|
-
} | null;
|
|
5237
5302
|
export declare type HostingAccount200Billing = {
|
|
5238
5303
|
prod_code?: string;
|
|
5239
5304
|
product_name?: string;
|
|
@@ -6114,6 +6179,11 @@ export declare type AccountHostingList200AccountsItem = {
|
|
|
6114
6179
|
/** HAL Account ID */
|
|
6115
6180
|
hosting_id?: string;
|
|
6116
6181
|
max_sites?: string;
|
|
6182
|
+
/**
|
|
6183
|
+
* HAL parent_id for atomic accounts, account id for non-atomic accounts
|
|
6184
|
+
* @nullable
|
|
6185
|
+
*/
|
|
6186
|
+
parent_id?: string | null;
|
|
6117
6187
|
platform?: string;
|
|
6118
6188
|
/** HAL Account back_reference */
|
|
6119
6189
|
prod_inst_id?: string;
|
|
@@ -6126,6 +6196,12 @@ export declare type AccountHostingList200AccountsItem = {
|
|
|
6126
6196
|
export declare type AccountHostingList200 = {
|
|
6127
6197
|
accounts?: AccountHostingList200AccountsItem[];
|
|
6128
6198
|
};
|
|
6199
|
+
export declare type AccountHostingListParams = {
|
|
6200
|
+
/**
|
|
6201
|
+
* Flag to exclude atomic site accounts from the response
|
|
6202
|
+
*/
|
|
6203
|
+
exclude_atomic_sites?: boolean;
|
|
6204
|
+
};
|
|
6129
6205
|
/**
|
|
6130
6206
|
* Usage statistics
|
|
6131
6207
|
* @nullable
|