@newfold/huapi-js 2.1792.0 → 2.1799.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 +122 -1
- package/src/index.js +97 -1
- package/src/index.msw.d.ts +9 -1
- package/src/index.msw.js +53 -5
- package/src/index.schemas.d.ts +311 -185
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.1799.0
|
|
7
7
|
*/
|
|
8
8
|
export declare type SshKeyListV4200RowsItem = {
|
|
9
9
|
authorize?: boolean;
|
|
@@ -413,17 +413,6 @@ export declare type SitesDomainsV2200DomainsItem = {
|
|
|
413
413
|
export declare type SitesDomainsV2Params = {
|
|
414
414
|
scan?: boolean;
|
|
415
415
|
};
|
|
416
|
-
export declare type SitesListV2200 = {
|
|
417
|
-
items?: SitesListV2200ItemsItem[];
|
|
418
|
-
/** page size */
|
|
419
|
-
limit?: number;
|
|
420
|
-
/** current page number */
|
|
421
|
-
page?: number;
|
|
422
|
-
/** total number of pages */
|
|
423
|
-
pages?: number;
|
|
424
|
-
/** total number of sites returned */
|
|
425
|
-
total?: number;
|
|
426
|
-
};
|
|
427
416
|
/**
|
|
428
417
|
* @nullable
|
|
429
418
|
*/
|
|
@@ -586,6 +575,17 @@ export declare type SitesListV2200ItemsItem = {
|
|
|
586
575
|
*/
|
|
587
576
|
version_ptr?: string | null;
|
|
588
577
|
};
|
|
578
|
+
export declare type SitesListV2200 = {
|
|
579
|
+
items?: SitesListV2200ItemsItem[];
|
|
580
|
+
/** page size */
|
|
581
|
+
limit?: number;
|
|
582
|
+
/** current page number */
|
|
583
|
+
page?: number;
|
|
584
|
+
/** total number of pages */
|
|
585
|
+
pages?: number;
|
|
586
|
+
/** total number of sites returned */
|
|
587
|
+
total?: number;
|
|
588
|
+
};
|
|
589
589
|
export declare type SshKeyV2200 = {
|
|
590
590
|
deleted?: number;
|
|
591
591
|
key_name?: string;
|
|
@@ -633,6 +633,12 @@ export declare type HostingSiteAddV2200 = {
|
|
|
633
633
|
status?: string;
|
|
634
634
|
url?: string;
|
|
635
635
|
};
|
|
636
|
+
export declare type HostingSiteAddV2BodyWpMultiSite = {
|
|
637
|
+
/** Set canonicalize_aliases as site_meta */
|
|
638
|
+
canonicalize_aliases?: boolean;
|
|
639
|
+
/** Allow create multiple websites under one WP network */
|
|
640
|
+
enable?: boolean;
|
|
641
|
+
};
|
|
636
642
|
/**
|
|
637
643
|
* Datacenter to host site in.
|
|
638
644
|
*/
|
|
@@ -676,6 +682,7 @@ export declare type HostingSiteAddV2Body = {
|
|
|
676
682
|
title?: string;
|
|
677
683
|
/** Number of PHP workers */
|
|
678
684
|
workers?: number;
|
|
685
|
+
wp_multi_site?: HostingSiteAddV2BodyWpMultiSite;
|
|
679
686
|
};
|
|
680
687
|
export declare type HostingSitesV2200UsedSitesDetails = {
|
|
681
688
|
/** Includes all active sites count */
|
|
@@ -689,6 +696,30 @@ export declare type HostingSitesV2200UsedSitesDetails = {
|
|
|
689
696
|
/** Count of staging sites on specified hosting account */
|
|
690
697
|
staging_sites?: number;
|
|
691
698
|
};
|
|
699
|
+
export declare type HostingSitesV2200 = {
|
|
700
|
+
/**
|
|
701
|
+
* Remaining number of sites the customer can create. Max sites - used sites. Null means 'unlimited'.
|
|
702
|
+
* @nullable
|
|
703
|
+
*/
|
|
704
|
+
available_sites?: number | null;
|
|
705
|
+
items?: HostingSitesV2200ItemsItem[];
|
|
706
|
+
/** page size */
|
|
707
|
+
limit?: number;
|
|
708
|
+
/**
|
|
709
|
+
* Maximum number of sites the customer can have. Null means 'unlimited'.
|
|
710
|
+
* @nullable
|
|
711
|
+
*/
|
|
712
|
+
max_sites?: number | null;
|
|
713
|
+
/** current page number */
|
|
714
|
+
page?: number;
|
|
715
|
+
/** total number of pages */
|
|
716
|
+
pages?: number;
|
|
717
|
+
/** total number of sites returned */
|
|
718
|
+
total?: number;
|
|
719
|
+
/** Current number of sites in use by the customer. its normal for this value to be different than the total number of sites in the list. */
|
|
720
|
+
used_sites?: number;
|
|
721
|
+
used_sites_details?: HostingSitesV2200UsedSitesDetails;
|
|
722
|
+
};
|
|
692
723
|
/**
|
|
693
724
|
* @nullable
|
|
694
725
|
*/
|
|
@@ -851,30 +882,6 @@ export declare type HostingSitesV2200ItemsItem = {
|
|
|
851
882
|
*/
|
|
852
883
|
version_ptr?: string | null;
|
|
853
884
|
};
|
|
854
|
-
export declare type HostingSitesV2200 = {
|
|
855
|
-
/**
|
|
856
|
-
* Remaining number of sites the customer can create. Max sites - used sites. Null means 'unlimited'.
|
|
857
|
-
* @nullable
|
|
858
|
-
*/
|
|
859
|
-
available_sites?: number | null;
|
|
860
|
-
items?: HostingSitesV2200ItemsItem[];
|
|
861
|
-
/** page size */
|
|
862
|
-
limit?: number;
|
|
863
|
-
/**
|
|
864
|
-
* Maximum number of sites the customer can have. Null means 'unlimited'.
|
|
865
|
-
* @nullable
|
|
866
|
-
*/
|
|
867
|
-
max_sites?: number | null;
|
|
868
|
-
/** current page number */
|
|
869
|
-
page?: number;
|
|
870
|
-
/** total number of pages */
|
|
871
|
-
pages?: number;
|
|
872
|
-
/** total number of sites returned */
|
|
873
|
-
total?: number;
|
|
874
|
-
/** Current number of sites in use by the customer. its normal for this value to be different than the total number of sites in the list. */
|
|
875
|
-
used_sites?: number;
|
|
876
|
-
used_sites_details?: HostingSitesV2200UsedSitesDetails;
|
|
877
|
-
};
|
|
878
885
|
export declare type HostingSitesV2Params = {
|
|
879
886
|
limit?: number;
|
|
880
887
|
page?: number;
|
|
@@ -1237,10 +1244,6 @@ export declare type UserHostingOverviewParams = {
|
|
|
1237
1244
|
*/
|
|
1238
1245
|
limit?: number;
|
|
1239
1246
|
};
|
|
1240
|
-
export declare type UserHosting200 = {
|
|
1241
|
-
/** Information for the paginated hosting accounts */
|
|
1242
|
-
rows?: UserHosting200RowsItem[];
|
|
1243
|
-
};
|
|
1244
1247
|
/**
|
|
1245
1248
|
* Usage statistics for staging sites
|
|
1246
1249
|
* @nullable
|
|
@@ -1262,6 +1265,70 @@ export declare type UserHosting200RowsItemUsedStage = {
|
|
|
1262
1265
|
*/
|
|
1263
1266
|
workers?: number | null;
|
|
1264
1267
|
} | null;
|
|
1268
|
+
export declare type UserHosting200RowsItem = {
|
|
1269
|
+
/** Additional information about the account */
|
|
1270
|
+
account_info?: UserHosting200RowsItemAccountInfo;
|
|
1271
|
+
/** HAL Account back_reference, used to link to the product instance */
|
|
1272
|
+
back_reference?: string;
|
|
1273
|
+
/**
|
|
1274
|
+
* Information from the billing system about this hosting account
|
|
1275
|
+
* @nullable
|
|
1276
|
+
*/
|
|
1277
|
+
billing?: UserHosting200RowsItemBilling;
|
|
1278
|
+
/**
|
|
1279
|
+
* Capability sites associated with the account
|
|
1280
|
+
* @nullable
|
|
1281
|
+
*/
|
|
1282
|
+
capability_sites?: string | null;
|
|
1283
|
+
/**
|
|
1284
|
+
* Feature set name ex: hosting_40s
|
|
1285
|
+
* @nullable
|
|
1286
|
+
*/
|
|
1287
|
+
feature_set?: string | null;
|
|
1288
|
+
/** Whether the product associated with this hosting account has panel mail (True) or not (False) */
|
|
1289
|
+
has_panel_mail?: boolean;
|
|
1290
|
+
/** Whether the product associated with this hosting account can be upgraded (True) or not (False) */
|
|
1291
|
+
is_upgradeable?: boolean;
|
|
1292
|
+
/**
|
|
1293
|
+
* Account limits
|
|
1294
|
+
* @nullable
|
|
1295
|
+
*/
|
|
1296
|
+
limit?: UserHosting200RowsItemLimit;
|
|
1297
|
+
/**
|
|
1298
|
+
* Remote limits for the account
|
|
1299
|
+
* @nullable
|
|
1300
|
+
*/
|
|
1301
|
+
limit_remote?: UserHosting200RowsItemLimitRemote;
|
|
1302
|
+
/**
|
|
1303
|
+
* Package name
|
|
1304
|
+
* @nullable
|
|
1305
|
+
*/
|
|
1306
|
+
package?: string | null;
|
|
1307
|
+
/**
|
|
1308
|
+
* Control panel type
|
|
1309
|
+
* @nullable
|
|
1310
|
+
*/
|
|
1311
|
+
panel?: string | null;
|
|
1312
|
+
/**
|
|
1313
|
+
* Number of sites
|
|
1314
|
+
* @nullable
|
|
1315
|
+
*/
|
|
1316
|
+
sites?: number | null;
|
|
1317
|
+
/**
|
|
1318
|
+
* Usage statistics for non-staging sites
|
|
1319
|
+
* @nullable
|
|
1320
|
+
*/
|
|
1321
|
+
used?: UserHosting200RowsItemUsed;
|
|
1322
|
+
/**
|
|
1323
|
+
* Usage statistics for staging sites
|
|
1324
|
+
* @nullable
|
|
1325
|
+
*/
|
|
1326
|
+
used_stage?: UserHosting200RowsItemUsedStage;
|
|
1327
|
+
};
|
|
1328
|
+
export declare type UserHosting200 = {
|
|
1329
|
+
/** Information for the paginated hosting accounts */
|
|
1330
|
+
rows?: UserHosting200RowsItem[];
|
|
1331
|
+
};
|
|
1265
1332
|
/**
|
|
1266
1333
|
* Usage statistics for non-staging sites
|
|
1267
1334
|
* @nullable
|
|
@@ -1376,66 +1443,6 @@ export declare type UserHosting200RowsItemBilling = {
|
|
|
1376
1443
|
*/
|
|
1377
1444
|
prod_name?: string | null;
|
|
1378
1445
|
} | null;
|
|
1379
|
-
export declare type UserHosting200RowsItem = {
|
|
1380
|
-
/** Additional information about the account */
|
|
1381
|
-
account_info?: UserHosting200RowsItemAccountInfo;
|
|
1382
|
-
/** HAL Account back_reference, used to link to the product instance */
|
|
1383
|
-
back_reference?: string;
|
|
1384
|
-
/**
|
|
1385
|
-
* Information from the billing system about this hosting account
|
|
1386
|
-
* @nullable
|
|
1387
|
-
*/
|
|
1388
|
-
billing?: UserHosting200RowsItemBilling;
|
|
1389
|
-
/**
|
|
1390
|
-
* Capability sites associated with the account
|
|
1391
|
-
* @nullable
|
|
1392
|
-
*/
|
|
1393
|
-
capability_sites?: string | null;
|
|
1394
|
-
/**
|
|
1395
|
-
* Feature set name ex: hosting_40s
|
|
1396
|
-
* @nullable
|
|
1397
|
-
*/
|
|
1398
|
-
feature_set?: string | null;
|
|
1399
|
-
/** Whether the product associated with this hosting account has panel mail (True) or not (False) */
|
|
1400
|
-
has_panel_mail?: boolean;
|
|
1401
|
-
/** Whether the product associated with this hosting account can be upgraded (True) or not (False) */
|
|
1402
|
-
is_upgradeable?: boolean;
|
|
1403
|
-
/**
|
|
1404
|
-
* Account limits
|
|
1405
|
-
* @nullable
|
|
1406
|
-
*/
|
|
1407
|
-
limit?: UserHosting200RowsItemLimit;
|
|
1408
|
-
/**
|
|
1409
|
-
* Remote limits for the account
|
|
1410
|
-
* @nullable
|
|
1411
|
-
*/
|
|
1412
|
-
limit_remote?: UserHosting200RowsItemLimitRemote;
|
|
1413
|
-
/**
|
|
1414
|
-
* Package name
|
|
1415
|
-
* @nullable
|
|
1416
|
-
*/
|
|
1417
|
-
package?: string | null;
|
|
1418
|
-
/**
|
|
1419
|
-
* Control panel type
|
|
1420
|
-
* @nullable
|
|
1421
|
-
*/
|
|
1422
|
-
panel?: string | null;
|
|
1423
|
-
/**
|
|
1424
|
-
* Number of sites
|
|
1425
|
-
* @nullable
|
|
1426
|
-
*/
|
|
1427
|
-
sites?: number | null;
|
|
1428
|
-
/**
|
|
1429
|
-
* Usage statistics for non-staging sites
|
|
1430
|
-
* @nullable
|
|
1431
|
-
*/
|
|
1432
|
-
used?: UserHosting200RowsItemUsed;
|
|
1433
|
-
/**
|
|
1434
|
-
* Usage statistics for staging sites
|
|
1435
|
-
* @nullable
|
|
1436
|
-
*/
|
|
1437
|
-
used_stage?: UserHosting200RowsItemUsedStage;
|
|
1438
|
-
};
|
|
1439
1446
|
/**
|
|
1440
1447
|
* Region information for the account
|
|
1441
1448
|
* @nullable
|
|
@@ -2150,6 +2157,28 @@ export declare type CreatePhpInfo200 = {
|
|
|
2150
2157
|
/** html file content */
|
|
2151
2158
|
html?: string;
|
|
2152
2159
|
};
|
|
2160
|
+
export declare type SitesPerformanceScansAdd200 = {
|
|
2161
|
+
[key: string]: unknown;
|
|
2162
|
+
};
|
|
2163
|
+
export declare type SitesPerformanceScansAddBody = {
|
|
2164
|
+
scan_now?: boolean;
|
|
2165
|
+
};
|
|
2166
|
+
export declare type SitesPerformanceScans200 = {
|
|
2167
|
+
[key: string]: unknown;
|
|
2168
|
+
};
|
|
2169
|
+
export declare type SitesPerformanceScansList200Meta = {
|
|
2170
|
+
page?: number;
|
|
2171
|
+
per_page?: number;
|
|
2172
|
+
total?: number;
|
|
2173
|
+
};
|
|
2174
|
+
export declare type SitesPerformanceScansList200 = {
|
|
2175
|
+
data?: PerformanceScanResultItemModel[];
|
|
2176
|
+
meta?: SitesPerformanceScansList200Meta;
|
|
2177
|
+
};
|
|
2178
|
+
export declare type SitesPerformanceScansListParams = {
|
|
2179
|
+
page?: number;
|
|
2180
|
+
per_page?: number;
|
|
2181
|
+
};
|
|
2153
2182
|
export declare type SitesPerformanceRedisPurge200 = {
|
|
2154
2183
|
[key: string]: unknown;
|
|
2155
2184
|
};
|
|
@@ -2211,12 +2240,8 @@ export declare type SitesPerformanceCachepurgeBody = {
|
|
|
2211
2240
|
export declare type SitePendingDomainDelete200 = {
|
|
2212
2241
|
[key: string]: unknown;
|
|
2213
2242
|
};
|
|
2214
|
-
export declare type
|
|
2215
|
-
|
|
2216
|
-
date_start?: string;
|
|
2217
|
-
dimensions?: SitesMetricDimensions200Dimensions;
|
|
2218
|
-
elapsed?: number;
|
|
2219
|
-
metric?: string;
|
|
2243
|
+
export declare type SitesOnboardingSteps200 = {
|
|
2244
|
+
steps?: SiteOnboardingStepModel[];
|
|
2220
2245
|
};
|
|
2221
2246
|
export declare type SitesMetricDimensions200DimensionsWpAdminAjaxActionItemDimension = {
|
|
2222
2247
|
[key: string]: number;
|
|
@@ -2225,6 +2250,25 @@ export declare type SitesMetricDimensions200DimensionsWpAdminAjaxActionItem = {
|
|
|
2225
2250
|
dimension?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItemDimension;
|
|
2226
2251
|
timestamp?: number;
|
|
2227
2252
|
};
|
|
2253
|
+
export declare type SitesMetricDimensions200Dimensions = {
|
|
2254
|
+
http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
|
|
2255
|
+
http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
|
|
2256
|
+
http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
|
|
2257
|
+
http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
|
|
2258
|
+
page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
|
|
2259
|
+
page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
|
|
2260
|
+
visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
|
|
2261
|
+
visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
|
|
2262
|
+
visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
|
|
2263
|
+
wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
|
|
2264
|
+
};
|
|
2265
|
+
export declare type SitesMetricDimensions200 = {
|
|
2266
|
+
date_end?: string;
|
|
2267
|
+
date_start?: string;
|
|
2268
|
+
dimensions?: SitesMetricDimensions200Dimensions;
|
|
2269
|
+
elapsed?: number;
|
|
2270
|
+
metric?: string;
|
|
2271
|
+
};
|
|
2228
2272
|
export declare type SitesMetricDimensions200DimensionsVisitorIsCrawlerItemDimension = {
|
|
2229
2273
|
[key: string]: number;
|
|
2230
2274
|
};
|
|
@@ -2246,18 +2290,6 @@ export declare type SitesMetricDimensions200DimensionsVisitorAsnItem = {
|
|
|
2246
2290
|
dimension?: SitesMetricDimensions200DimensionsVisitorAsnItemDimension;
|
|
2247
2291
|
timestamp?: number;
|
|
2248
2292
|
};
|
|
2249
|
-
export declare type SitesMetricDimensions200Dimensions = {
|
|
2250
|
-
http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
|
|
2251
|
-
http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
|
|
2252
|
-
http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
|
|
2253
|
-
http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
|
|
2254
|
-
page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
|
|
2255
|
-
page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
|
|
2256
|
-
visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
|
|
2257
|
-
visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
|
|
2258
|
-
visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
|
|
2259
|
-
wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
|
|
2260
|
-
};
|
|
2261
2293
|
export declare type SitesMetricDimensions200DimensionsPageRendererItemDimension = {
|
|
2262
2294
|
[key: string]: number;
|
|
2263
2295
|
};
|
|
@@ -2763,6 +2795,8 @@ export declare const SiteUpdateBodyVersionPtr: {
|
|
|
2763
2795
|
readonly beta: "beta";
|
|
2764
2796
|
};
|
|
2765
2797
|
export declare type SiteUpdateBody = {
|
|
2798
|
+
/** Whether the user has clicked on the brand protection offer in the UI, used for onboarding purposes */
|
|
2799
|
+
brand_protection_clicked?: boolean;
|
|
2766
2800
|
/** Disk space in GiB */
|
|
2767
2801
|
disk_limit_gib?: number;
|
|
2768
2802
|
/** domain for the site to be added */
|
|
@@ -2771,8 +2805,12 @@ export declare type SiteUpdateBody = {
|
|
|
2771
2805
|
handler_404?: boolean;
|
|
2772
2806
|
/** Status of the site's onboarding */
|
|
2773
2807
|
onboarding?: number;
|
|
2808
|
+
/** Whether the user has clicked on the onboarding call offer in the UI, used for onboarding purposes */
|
|
2809
|
+
onboarding_call_clicked?: boolean;
|
|
2774
2810
|
/** filesystem path that follows the domain in the url */
|
|
2775
2811
|
path?: string;
|
|
2812
|
+
/** Whether the user has clicked on the pro services offer in the UI, used for onboarding purposes */
|
|
2813
|
+
pro_services_clicked?: boolean;
|
|
2776
2814
|
/** Skip FG domain checks for HAL domain */
|
|
2777
2815
|
skip_fg_checks?: boolean;
|
|
2778
2816
|
/** title of the site to be updated */
|
|
@@ -2782,6 +2820,13 @@ export declare type SiteUpdateBody = {
|
|
|
2782
2820
|
/** Number of PHP workers */
|
|
2783
2821
|
workers?: number;
|
|
2784
2822
|
};
|
|
2823
|
+
/**
|
|
2824
|
+
* @nullable
|
|
2825
|
+
*/
|
|
2826
|
+
export declare type SitesInfo200WpMultiSite = {
|
|
2827
|
+
canonicalize_aliases?: boolean;
|
|
2828
|
+
enable?: boolean;
|
|
2829
|
+
} | null;
|
|
2785
2830
|
/**
|
|
2786
2831
|
* @nullable
|
|
2787
2832
|
*/
|
|
@@ -2809,6 +2854,71 @@ export declare type SitesInfo200Staging = {
|
|
|
2809
2854
|
/** A list of staging sites of the current site */
|
|
2810
2855
|
sites?: number[];
|
|
2811
2856
|
} | null;
|
|
2857
|
+
export declare type SitesInfo200ResourcesStorage = {
|
|
2858
|
+
/** @nullable */
|
|
2859
|
+
available?: number | null;
|
|
2860
|
+
/** @nullable */
|
|
2861
|
+
total?: number | null;
|
|
2862
|
+
unit?: string;
|
|
2863
|
+
/** @nullable */
|
|
2864
|
+
used?: number | null;
|
|
2865
|
+
};
|
|
2866
|
+
export declare type SitesInfo200Resources = {
|
|
2867
|
+
storage?: SitesInfo200ResourcesStorage;
|
|
2868
|
+
/** @nullable */
|
|
2869
|
+
workers?: number | null;
|
|
2870
|
+
};
|
|
2871
|
+
/**
|
|
2872
|
+
* @nullable
|
|
2873
|
+
*/
|
|
2874
|
+
export declare type SitesInfo200PendingUrlData = {
|
|
2875
|
+
/**
|
|
2876
|
+
* The root domain name
|
|
2877
|
+
* @nullable
|
|
2878
|
+
*/
|
|
2879
|
+
base_domain?: string | null;
|
|
2880
|
+
/**
|
|
2881
|
+
* The Fully Qualified Domain Name (FQDN)
|
|
2882
|
+
* @nullable
|
|
2883
|
+
*/
|
|
2884
|
+
domain?: string | null;
|
|
2885
|
+
/**
|
|
2886
|
+
* The current pending_url's HAL Domain ID
|
|
2887
|
+
* @nullable
|
|
2888
|
+
*/
|
|
2889
|
+
domain_id?: number | null;
|
|
2890
|
+
/** @nullable */
|
|
2891
|
+
error?: string | null;
|
|
2892
|
+
/** Flag indicating whether the pending_url is temporary or not */
|
|
2893
|
+
is_temp?: boolean;
|
|
2894
|
+
/**
|
|
2895
|
+
* Flag indicating whether the url_sync job has run out of attempts
|
|
2896
|
+
* @nullable
|
|
2897
|
+
*/
|
|
2898
|
+
job_failed?: boolean | null;
|
|
2899
|
+
/** @nullable */
|
|
2900
|
+
stage?: string | null;
|
|
2901
|
+
/**
|
|
2902
|
+
* Timestamp for when we will update the WP url, regardless of active sessions
|
|
2903
|
+
* @nullable
|
|
2904
|
+
*/
|
|
2905
|
+
wp_session?: string | null;
|
|
2906
|
+
} | null;
|
|
2907
|
+
/**
|
|
2908
|
+
* @nullable
|
|
2909
|
+
*/
|
|
2910
|
+
export declare type SitesInfo200Pagespeed = {
|
|
2911
|
+
lastrun?: string;
|
|
2912
|
+
performance?: string;
|
|
2913
|
+
strategy?: string;
|
|
2914
|
+
} | null;
|
|
2915
|
+
/**
|
|
2916
|
+
* Job ids for the site
|
|
2917
|
+
* @nullable
|
|
2918
|
+
*/
|
|
2919
|
+
export declare type SitesInfo200Jobs = {
|
|
2920
|
+
[key: string]: unknown;
|
|
2921
|
+
} | null;
|
|
2812
2922
|
export declare type SitesInfo200 = {
|
|
2813
2923
|
/** @nullable */
|
|
2814
2924
|
account_back_ref?: string | null;
|
|
@@ -2889,72 +2999,9 @@ export declare type SitesInfo200 = {
|
|
|
2889
2999
|
* @nullable
|
|
2890
3000
|
*/
|
|
2891
3001
|
version_ptr?: string | null;
|
|
2892
|
-
};
|
|
2893
|
-
export declare type SitesInfo200ResourcesStorage = {
|
|
2894
3002
|
/** @nullable */
|
|
2895
|
-
|
|
2896
|
-
/** @nullable */
|
|
2897
|
-
total?: number | null;
|
|
2898
|
-
unit?: string;
|
|
2899
|
-
/** @nullable */
|
|
2900
|
-
used?: number | null;
|
|
2901
|
-
};
|
|
2902
|
-
export declare type SitesInfo200Resources = {
|
|
2903
|
-
storage?: SitesInfo200ResourcesStorage;
|
|
2904
|
-
/** @nullable */
|
|
2905
|
-
workers?: number | null;
|
|
3003
|
+
wp_multi_site?: SitesInfo200WpMultiSite;
|
|
2906
3004
|
};
|
|
2907
|
-
/**
|
|
2908
|
-
* @nullable
|
|
2909
|
-
*/
|
|
2910
|
-
export declare type SitesInfo200PendingUrlData = {
|
|
2911
|
-
/**
|
|
2912
|
-
* The root domain name
|
|
2913
|
-
* @nullable
|
|
2914
|
-
*/
|
|
2915
|
-
base_domain?: string | null;
|
|
2916
|
-
/**
|
|
2917
|
-
* The Fully Qualified Domain Name (FQDN)
|
|
2918
|
-
* @nullable
|
|
2919
|
-
*/
|
|
2920
|
-
domain?: string | null;
|
|
2921
|
-
/**
|
|
2922
|
-
* The current pending_url's HAL Domain ID
|
|
2923
|
-
* @nullable
|
|
2924
|
-
*/
|
|
2925
|
-
domain_id?: number | null;
|
|
2926
|
-
/** @nullable */
|
|
2927
|
-
error?: string | null;
|
|
2928
|
-
/** Flag indicating whether the pending_url is temporary or not */
|
|
2929
|
-
is_temp?: boolean;
|
|
2930
|
-
/**
|
|
2931
|
-
* Flag indicating whether the url_sync job has run out of attempts
|
|
2932
|
-
* @nullable
|
|
2933
|
-
*/
|
|
2934
|
-
job_failed?: boolean | null;
|
|
2935
|
-
/** @nullable */
|
|
2936
|
-
stage?: string | null;
|
|
2937
|
-
/**
|
|
2938
|
-
* Timestamp for when we will update the WP url, regardless of active sessions
|
|
2939
|
-
* @nullable
|
|
2940
|
-
*/
|
|
2941
|
-
wp_session?: string | null;
|
|
2942
|
-
} | null;
|
|
2943
|
-
/**
|
|
2944
|
-
* @nullable
|
|
2945
|
-
*/
|
|
2946
|
-
export declare type SitesInfo200Pagespeed = {
|
|
2947
|
-
lastrun?: string;
|
|
2948
|
-
performance?: string;
|
|
2949
|
-
strategy?: string;
|
|
2950
|
-
} | null;
|
|
2951
|
-
/**
|
|
2952
|
-
* Job ids for the site
|
|
2953
|
-
* @nullable
|
|
2954
|
-
*/
|
|
2955
|
-
export declare type SitesInfo200Jobs = {
|
|
2956
|
-
[key: string]: unknown;
|
|
2957
|
-
} | null;
|
|
2958
3005
|
export declare type HostingVisitors200VisitorsItem = {
|
|
2959
3006
|
bandwidth?: number;
|
|
2960
3007
|
hits?: number;
|
|
@@ -3293,9 +3340,6 @@ export declare type HostingRedirects200Item = {
|
|
|
3293
3340
|
url?: string;
|
|
3294
3341
|
wildcard?: boolean;
|
|
3295
3342
|
};
|
|
3296
|
-
export declare type ProductLicenseDetails200 = {
|
|
3297
|
-
wpsolution?: ProductLicenseDetails200Wpsolution;
|
|
3298
|
-
};
|
|
3299
3343
|
export declare type ProductLicenseDetails200WpsolutionCreatorItem = {
|
|
3300
3344
|
expirationDate?: string;
|
|
3301
3345
|
prodInstId?: string;
|
|
@@ -3309,6 +3353,9 @@ export declare type ProductLicenseDetails200Wpsolution = {
|
|
|
3309
3353
|
creator?: ProductLicenseDetails200WpsolutionCreatorItem[];
|
|
3310
3354
|
total?: number;
|
|
3311
3355
|
};
|
|
3356
|
+
export declare type ProductLicenseDetails200 = {
|
|
3357
|
+
wpsolution?: ProductLicenseDetails200Wpsolution;
|
|
3358
|
+
};
|
|
3312
3359
|
export declare type ProductLicenseDetailsProductName = typeof ProductLicenseDetailsProductName[keyof typeof ProductLicenseDetailsProductName];
|
|
3313
3360
|
export declare const ProductLicenseDetailsProductName: {
|
|
3314
3361
|
readonly wpsolution: "wpsolution";
|
|
@@ -5118,6 +5165,8 @@ export declare type HostingAdvancedServerStatusBody = {
|
|
|
5118
5165
|
action?: string;
|
|
5119
5166
|
/** Admin email for the site user */
|
|
5120
5167
|
admin_email?: string;
|
|
5168
|
+
/** The hostname to be set for the server - only applicable for the 'sethostname' action */
|
|
5169
|
+
hostname?: string;
|
|
5121
5170
|
/** ID of the image to rebuild with - only applicable for the 'rebuild' action */
|
|
5122
5171
|
image_id?: string;
|
|
5123
5172
|
/** To skip site installation - DEPRECATED do not use */
|
|
@@ -8789,6 +8838,11 @@ export interface SiteInfoResponseModelV2 {
|
|
|
8789
8838
|
account_status?: string | null;
|
|
8790
8839
|
/** @nullable */
|
|
8791
8840
|
base_domain?: string | null;
|
|
8841
|
+
/**
|
|
8842
|
+
* Whether the user has clicked on the brand protection link in onboarding
|
|
8843
|
+
* @nullable
|
|
8844
|
+
*/
|
|
8845
|
+
brand_protection_clicked?: boolean | null;
|
|
8792
8846
|
/**
|
|
8793
8847
|
* False if site was added by site scanner
|
|
8794
8848
|
* @nullable
|
|
@@ -8834,6 +8888,11 @@ export interface SiteInfoResponseModelV2 {
|
|
|
8834
8888
|
* @nullable
|
|
8835
8889
|
*/
|
|
8836
8890
|
onboarding?: number | null;
|
|
8891
|
+
/**
|
|
8892
|
+
* Whether the user has clicked on the onboarding call link in onboarding
|
|
8893
|
+
* @nullable
|
|
8894
|
+
*/
|
|
8895
|
+
onboarding_call_clicked?: boolean | null;
|
|
8837
8896
|
/** @nullable */
|
|
8838
8897
|
pagespeed?: SiteInfoResponseModelV2Pagespeed;
|
|
8839
8898
|
/**
|
|
@@ -8852,6 +8911,11 @@ export interface SiteInfoResponseModelV2 {
|
|
|
8852
8911
|
* @nullable
|
|
8853
8912
|
*/
|
|
8854
8913
|
php_version?: string | null;
|
|
8914
|
+
/**
|
|
8915
|
+
* Whether the user has clicked on the pro services link in onboarding
|
|
8916
|
+
* @nullable
|
|
8917
|
+
*/
|
|
8918
|
+
pro_services_clicked?: boolean | null;
|
|
8855
8919
|
/** @nullable */
|
|
8856
8920
|
resources?: SiteInfoResponseModelV2Resources;
|
|
8857
8921
|
/** @nullable */
|
|
@@ -8880,6 +8944,68 @@ export interface SitesAutoupdatesResponse {
|
|
|
8880
8944
|
/** @nullable */
|
|
8881
8945
|
themes?: boolean | null;
|
|
8882
8946
|
}
|
|
8947
|
+
export declare type SiteOnboardingStepModelAction = {
|
|
8948
|
+
/**
|
|
8949
|
+
* The CTB to load for this step
|
|
8950
|
+
* @nullable
|
|
8951
|
+
*/
|
|
8952
|
+
ctb?: string | null;
|
|
8953
|
+
/**
|
|
8954
|
+
* The redirect URL for this step
|
|
8955
|
+
* @nullable
|
|
8956
|
+
*/
|
|
8957
|
+
redirect?: string | null;
|
|
8958
|
+
/**
|
|
8959
|
+
* Which app or type of SSO should be used for this step, if type=sso
|
|
8960
|
+
* @nullable
|
|
8961
|
+
*/
|
|
8962
|
+
sso_app?: string | null;
|
|
8963
|
+
/** The text to show on the action control for this step */
|
|
8964
|
+
text?: string;
|
|
8965
|
+
/** The type of response action being returned */
|
|
8966
|
+
type?: string;
|
|
8967
|
+
};
|
|
8968
|
+
export interface SiteOnboardingStepModel {
|
|
8969
|
+
action?: SiteOnboardingStepModelAction;
|
|
8970
|
+
/** Whether this step should be marked completed */
|
|
8971
|
+
completed?: boolean;
|
|
8972
|
+
/** Order in which this step should be displayed relative to the rest of the list (ascending) */
|
|
8973
|
+
order?: number;
|
|
8974
|
+
/** Text to show for this step */
|
|
8975
|
+
text?: string;
|
|
8976
|
+
}
|
|
8977
|
+
export interface PerformanceScanResultItemModel {
|
|
8978
|
+
/** @nullable */
|
|
8979
|
+
accessibility_score?: number | null;
|
|
8980
|
+
/** @nullable */
|
|
8981
|
+
best_practices_score?: number | null;
|
|
8982
|
+
/** @nullable */
|
|
8983
|
+
created_at?: string | null;
|
|
8984
|
+
/** @nullable */
|
|
8985
|
+
cumulative_layout_shift?: number | null;
|
|
8986
|
+
/** @nullable */
|
|
8987
|
+
first_contentful_paint?: number | null;
|
|
8988
|
+
/** @nullable */
|
|
8989
|
+
id?: number | null;
|
|
8990
|
+
/** @nullable */
|
|
8991
|
+
is_active?: boolean | null;
|
|
8992
|
+
/** @nullable */
|
|
8993
|
+
job_id?: string | null;
|
|
8994
|
+
/** @nullable */
|
|
8995
|
+
largest_contentful_paint?: number | null;
|
|
8996
|
+
/** @nullable */
|
|
8997
|
+
last_scan_time?: string | null;
|
|
8998
|
+
/** @nullable */
|
|
8999
|
+
overall_score?: number | null;
|
|
9000
|
+
/** @nullable */
|
|
9001
|
+
performance_score?: number | null;
|
|
9002
|
+
/** @nullable */
|
|
9003
|
+
seo_score?: number | null;
|
|
9004
|
+
/** @nullable */
|
|
9005
|
+
speed_index?: number | null;
|
|
9006
|
+
/** @nullable */
|
|
9007
|
+
updated_at?: string | null;
|
|
9008
|
+
}
|
|
8883
9009
|
export interface SSHUsersV2Response {
|
|
8884
9010
|
installed?: boolean;
|
|
8885
9011
|
is_active?: boolean;
|